/* How It Works page-specific styles */

.page-how-it-works .page-header {
    background: linear-gradient(rgba(41,81,76,0.55), rgba(41,81,76,0.55)), url('/wp-content/themes/briotheme/assets/images/hero_bg.jpg') center/cover no-repeat;
    color: #ffffff;
}

.page-how-it-works .page-title,
.page-how-it-works .page-subtitle {
    color: #ffffff;
}

/* Full-width video on How It Works page */
.page-how-it-works .demo-video {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2rem 0;
}

.page-how-it-works .demo-video h2 {
    text-align: center;
    color: #29514c;
    margin-bottom: 1rem;
}

.page-how-it-works .demo-video .video-container {
    max-width: none !important;
    margin: 0;
    width: 100%;
}

.page-how-it-works .demo-video .video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.page-how-it-works .demo-video .video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Tees section layout and styles */
.page-how-it-works .tees-section {
    padding: 4rem 0;
}

.page-how-it-works .tees-info {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-how-it-works .tees-info h2,
.page-how-it-works .stop-searching-content h2,
.how-it-works-faq h2,
.process-section h2 {
    color: #29514c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    text-align: center;
}
.process-cta {
    text-align: center;
}
.process-section .section-intro {
    text-align: center;
    padding-bottom: 1rem;
}
.how-it-works-faq {
    margin-top: 1rem;
    text-align: center;
}
.page-how-it-works .tees-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
}

.page-how-it-works .tees-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem auto 2rem;
    max-width: 900px;
}

.page-how-it-works .tee-feature {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-how-it-works .tee-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.page-how-it-works .tee-feature .feature-icon {
    font-size: 1.5rem;
    color: #29514c;
}

.page-how-it-works .tees-info .btn {
    margin-top: 0.5rem;
}
