/**
 * Hero Franchising block — styles from EverSmith-HTML-PAGE franchising.html
 * Sections: .franchising-hero, .franchising-video (scoped under .hero-franchising-block).
 */

.hero-franchising-block {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* ----- franchising-hero (node 310:798) ----- */
.hero-franchising-block .franchising-hero {
    padding: 48px 80px 16px;
    width: 100%;
    background: #fff;
}

.hero-franchising-block .franchising-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.hero-franchising-block .franchising-hero .es-hero-title {
    line-height: 1;
}

/* ----- franchising-video (node 310:801) ----- */
.hero-franchising-block .franchising-video {
    position: relative;
    padding: 60px 80px 100px;
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.hero-franchising-block .franchising-video-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 64px;
    align-items: center;
    justify-content: center;
}

.hero-franchising-block .franchising-video-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-franchising-block .franchising-video-text p {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--smith-grey, #404a50);
    margin: 0;
}

.hero-franchising-block .franchising-video-cta {
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

/* CTA as link: same look as static italic line, optional href from ACF */
.hero-franchising-block a.franchising-video-cta--link {
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.hero-franchising-block a.franchising-video-cta--link:hover {
    color: var(--smith-grey, #404a50);
}

.hero-franchising-block .franchising-video-cta-arrow {
    width: 40px;
    height: 22.5px;
    display: inline-block;
    flex-shrink: 0;
}

.hero-franchising-block .franchising-video-player {
    position: relative;
    width: 730px;
    height: 434px;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-franchising-block .video-embed-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.hero-franchising-block .video-embed-wrapper .franchising-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-franchising-block .franchising-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-franchising-block .franchising-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 120px;
    height: 120px;
}

.hero-franchising-block .franchising-video-play svg {
    width: 100%;
    height: 100%;
}

.hero-franchising-block .youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-franchising-block .youtube-play-btn svg {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.hero-franchising-block .youtube-play-btn:hover svg {
    filter: brightness(1.1);
}

.hero-franchising-block .youtube-play-btn:active svg {
    filter: brightness(0.95);
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-franchising-block .franchising-hero {
        padding: 40px 40px 16px;
    }

    .hero-franchising-block .franchising-video {
        padding: 40px 40px 80px;
    }

    .hero-franchising-block .franchising-video-inner {
        flex-direction: column;
        gap: 40px;
    }

    .hero-franchising-block .franchising-video-player {
        width: 100%;
        max-width: 600px;
        height: 340px;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    .hero-franchising-block .franchising-hero {
        padding: 32px 24px 16px;
    }

    .hero-franchising-block .franchising-video {
        padding: 32px 24px 60px;
    }

    .hero-franchising-block .franchising-video-player {
        height: 240px;
    }

    .hero-franchising-block .franchising-video-play {
        width: 80px;
        height: 80px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
}
