/* Fonts */
@font-face {
    font-family: 'Gotham';
    src: url('./mrsn/fonts/book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('./mrsn/fonts/medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('./mrsn/fonts/bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('./mrsn/fonts/black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.ms-faq-item span, .ms-faq-item button{
    color: black !important;
}

/* Franchise / Hero */

.franchise-hero-video-wrapper {
    width: 100%;
    overflow: hidden;
}

.franchise-hero-video-inner {
    position: relative;
    width: 100%;
    height: 50vh;
    margin: 0;
    transition: margin 0.3s ease-out;
}

@media (max-width: 1000px) {
    .franchise-hero-video-inner {
        height: 35vh;
    }
}

.franchise-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.franchise-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.franchise-hero-content h1 {
    color: #fff !important;
    z-index: 100;
    font-size: clamp(3.2rem, 7vw, 8rem);
    letter-spacing: 0.02em;
    font-family: 'Gotham', sans-serif !important;
    font-weight: 900;
}

.franchise-hero-video-inner {
    margin-left: 0;
    margin-right: 0;
}

/* Buttons */
.ms-button {
    display: inline-block;
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    padding: 0.75em 3em;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 192, 70);
    border: 3px solid rgb(255, 192, 70) !important;
}

.ms-button:hover {
    background-color: rgb(255, 192, 70);
    color: #fff !important;
}

.franchise-page p {
    padding: .5rem;
}

.franchise-page h2 {
    margin-bottom: 0;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .franchise-page img {
        max-width: 400px;
    }   
}

@media screen and (max-width: 768px) {
    .franchise-page h3 {
        text-align: center !important;
        margin-bottom: 0;
    }

    .franchise-page p {
        text-align: center !important;
    }
}

/* FAQ Cards */
.ms-faq {
    max-width: 900px;
    margin: 0 auto;
}

.ms-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: .75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.ms-faq-icon {
    font-size: 1.5rem;
    transition: transform 0.25s ease;
}

.ms-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ms-faq-item.is-open .ms-faq-answer {
    max-height: 500px; /* enough for most answers */
}

.ms-faq-item.is-open .ms-faq-icon {
    transform: rotate(45deg);
    color: rgb(255,20,20) !important;
}
