/**
 * We Root To Rise ? global front typography & text colors
 */

@font-face {
    font-family: "Tan Songbird";
    src: url("../fonts/wrtr/TAN-SONGBIRD.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cinzel";
    src: url("../fonts/wrtr/Cinzel-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("../fonts/wrtr/Gabarito-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --wrtr-font-display: "Tan Songbird", Georgia, serif;
    --wrtr-font-heading: "Cinzel", "Times New Roman", serif;
    --wrtr-font-body: "Gabarito", "Century Gothic", sans-serif;
    --wrtr-primary: #2D3F26;
    --wrtr-secondary: #C66A4E;
    --wrtr-tertiary: #C0AC87;
    --wrtr-off-white: #F2EEE4;
    --wrtr-grey: #888888;
    --wrtr-text: #777777;
}

/* Body & base text */
body {
    font-family: var(--wrtr-font-body) !important;
    color: var(--text, var(--wrtr-text)) !important;
}

p,
li,
span,
input,
textarea,
select,
label,
.list-box,
.mhq-content p,
.client-info,
.rating-reviews {
    font-family: var(--wrtr-font-body);
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.section-title h2,
.mhq-courses-content h3,
.mhq-courses-content h3 a,
.mhq-category-box-items .mhq-content h3 {
    font-family: var(--wrtr-font-heading) !important;
    color: var(--header, var(--wrtr-primary));
}

/* Eyebrow / section labels */
.section-title h6,
.services-eyebrow,
.philosophy-eyebrow,
.testimonials-eyebrow {
    font-family: var(--wrtr-font-display) !important;
    color: var(--theme-3, var(--wrtr-tertiary)) !important;
    background: transparent !important;
    letter-spacing: -0.02em;
}

.section-title h6.style-2 {
    font-family: var(--wrtr-font-display) !important;
}

/* Buttons */
.theme-btn,
.wrtr-btn,
.btn {
    font-family: var(--wrtr-font-body) !important;
}

/* Header nav ? uses --header-text so site --header stays dark for page content */
.header-main .main-menu ul li a,
.header-1,
.mean-container .mean-nav ul li a {
    font-family: var(--wrtr-font-body) !important;
    color: var(--header-text, var(--wrtr-primary));
}

.header-main .main-menu ul li a:hover,
.header-main .main-menu ul li:hover > a {
    color: var(--theme, var(--wrtr-primary)) !important;
}

/* Footer */
.footer-widget,
.footer-widget p,
.footer-widget a,
.footer-bottom,
.footer-bottom a {
    font-family: var(--wrtr-font-body);
}

.footer-widget h3,
.footer-widget h4,
.footer-widget .widget-title {
    font-family: var(--wrtr-font-heading) !important;
}

/* Header / footer logos ? readable wordmark, scales on mobile */
.header-1 .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: min(280px, 42vw);
}

.header-1 .logo a {
    line-height: 0;
}

.mhq-widget-head .footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    max-width: 100%;
}

/* Footer brand logo ? larger & readable on dark footer */
.footer .footer-logo img,
a.footer-logo img {
    width: auto !important;
    height: 130px !important;
    max-width: 280px !important;
    max-height: 150px !important;
    object-fit: contain !important;
}

@media (max-width: 991px) {
    .footer .footer-logo img,
    a.footer-logo img {
        height: 110px !important;
        max-width: 240px !important;
    }
}

@media (max-width: 575px) {
    .footer .footer-logo img,
    a.footer-logo img {
        height: 96px !important;
        max-width: 220px !important;
    }
}

.mhq-footer-bottom .mhq-footer-bottom-wrapper {
    gap: 16px;
    justify-content: center !important;
}

.mhq-footer-bottom.style-2,
.mhq-footer-bottom.footer-bg-2 {
    background-color: #ffffff !important;
    padding: 20px 0 18px !important;
}

.mhq-footer-bottom .mhq-footer-bottom-wrapper p,
.mhq-footer-bottom .text-color-2 {
    flex: 0 1 auto;
    width: 100%;
    margin: 0 !important;
    text-align: center !important;
    color: #2D3F26 !important;
    font-size: 16px;
}

@media (max-width: 991px) {
    .mhq-footer-bottom.style-2,
    .mhq-footer-bottom.footer-bg-2 {
        padding: 18px 0 28px !important;
    }

    .mhq-footer-bottom .mhq-footer-bottom-wrapper p {
        flex: 1 1 100%;
        text-align: center !important;
        font-size: 14px;
    }
}

/* Course / card body text */
.mhq-courses-content p,
.mhq-category-box-items .mhq-content p,
.star span {
    color: var(--wrtr-text);
    font-family: var(--wrtr-font-body);
}

.client-info,
.mhq-courses-box-items .mhq-courses-content .client-info-area .client-info {
    color: var(--header, var(--wrtr-primary)) !important;
    font-family: var(--wrtr-font-body) !important;
    font-weight: 600;
}

.mhq-courses-content h3 a:hover {
    color: var(--theme-2, var(--wrtr-secondary)) !important;
}

/* Sidebar widget titles */
.wid-title h5,
.courses-sidebar-items .wid-title h5 {
    color: var(--header, var(--wrtr-primary)) !important;
    font-family: var(--wrtr-font-heading) !important;
}

/* Prices / accents */
.mhq-courses-content .text-primary,
.client-info-area h2,
.mhq-courses-content h2 {
    color: var(--theme-2, var(--wrtr-secondary)) !important;
    font-family: var(--wrtr-font-heading) !important;
}

/* Breadcrumb / misc front text */
.breadcrumb-wrapper,
.breadcrumb-items,
.page-banner {
    font-family: var(--wrtr-font-body);
}

/* =========================================================
   Mobile header menu ? colors + active tab (always loaded)
   ========================================================= */
#site-header.header {
    background-color: #C66A4E;
}

#site-header .header-mobile-list,
#site-header .header-mobile-list > li > a,
#site-header .header-mobile-link,
#site-header .header-mobile-submenu-toggle {
    color: #F2EEE4 !important;
    font-family: var(--wrtr-font-body), "Gabarito", sans-serif;
}

#site-header .header-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 8px;
    margin: 0;
    list-style: none;
}

#site-header .header-mobile-list > li {
    list-style: none;
    margin: 0;
}

#site-header .header-mobile-list > li > a,
#site-header .header-mobile-link {
    display: block;
    padding: 12px 10px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

#site-header .header-mobile-list > li > a:hover,
#site-header .header-mobile-link:hover {
    background-color: rgba(242, 238, 228, 0.12);
    opacity: 1;
}

/* Active tab ? clear highlight */
#site-header .header-mobile-list > li > a.is-active,
#site-header .header-mobile-list > li > a[aria-current="page"],
#site-header .header-mobile-link.is-active,
#site-header .header-mobile-link[aria-current="page"],
#site-header .header-mobile-item.has-dropdown.is-active > .header-mobile-row > .header-mobile-link {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    background-color: rgba(45, 63, 38, 0.28) !important;
    box-shadow: inset 3px 0 0 0 #F2EEE4;
    text-decoration: none !important;
}

#site-header .header-mobile-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

#site-header .header-mobile-row .header-mobile-link {
    flex: 1;
}

#site-header .header-mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

#site-header .header-mobile-submenu-toggle:hover {
    background-color: rgba(242, 238, 228, 0.12);
}

#site-header .header-mobile-submenu-toggle svg {
    transition: transform 0.2s ease;
}

#site-header .header-mobile-submenu-toggle.is-open svg {
    transform: rotate(180deg);
}

#site-header .header-mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 10px 8px;
    padding: 4px 0 4px 12px;
    border-left: 2px solid rgba(242, 238, 228, 0.35);
    list-style: none;
}

#site-header .header-mobile-submenu[hidden] {
    display: none !important;
}

#site-header .header-mobile-submenu a {
    display: block;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(242, 238, 228, 0.88) !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#site-header .header-mobile-submenu a:hover {
    color: #FFFFFF !important;
    background-color: rgba(242, 238, 228, 0.12);
}

#site-header .header-mobile-submenu a.is-active,
#site-header .header-mobile-submenu a[aria-current="page"] {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    background-color: rgba(45, 63, 38, 0.28) !important;
    box-shadow: inset 3px 0 0 0 #F2EEE4;
}

/* Desktop nav active */
#site-header .header-nav-list > li > a.is-active,
#site-header .header-nav-link.is-active {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

#site-header .header-dropdown a.is-active,
#site-header .header-dropdown a[aria-current="page"] {
    color: #C66A4E !important;
    background-color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* Course instructor social icons ? white glyph on green hover fill */
.mhq-courses-details-area .instructors-box-items .social-icon a:hover,
.mhq-courses-details-area .instructors-box-items .social-icon a:focus,
.mhq-courses-details-area .instructors-box-items .social-icon a:hover i,
.mhq-courses-details-area .instructors-box-items .social-icon a:focus i {
    color: #ffffff !important;
}

/* Already Enrolled ? theme terracotta CTA (not Bootstrap success green) */
.mhq-courses-details-area .details-list-area .theme-btn.already-enrolled-btn {
    background-color: var(--theme-2, #C66A4E) !important;
    color: var(--header, #2D3F26) !important;
    pointer-events: none;
    cursor: default;
}
.mhq-courses-details-area .details-list-area .theme-btn.already-enrolled-btn i {
    background-color: var(--theme, #2D3F26) !important;
    color: #ffffff !important;
}
.mhq-courses-details-area .details-list-area .theme-btn.already-enrolled-btn:hover {
    color: #ffffff !important;
}
.mhq-courses-details-area .details-list-area .theme-btn.already-enrolled-btn:hover::before {
    background-color: var(--theme, #2D3F26);
}

/*
 * Custom curriculum accordion (no Bootstrap collapse ? avoids flash/hide in tabs)
 */
.curriculum-accordion .curriculum-topic {
    border: 1px solid var(--border, #49515b4d);
    border-radius: 7px;
    margin-bottom: 15px;
    background: #fff;
    overflow: hidden;
}
.curriculum-accordion .curriculum-topic.mb-0 {
    margin-bottom: 0;
}
.curriculum-accordion .curriculum-topic-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 30px;
    border: 0;
    background: transparent;
    color: var(--header, #2D3F26) !important;
    font-size: 18px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    line-height: 1.3;
}
.curriculum-accordion .curriculum-topic-toggle.is-open {
    border-bottom: 1px solid var(--border, #49515b4d);
}
.curriculum-accordion .curriculum-topic-chevron {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--header, #2D3F26);
    transition: transform 0.25s ease;
}
.curriculum-accordion .curriculum-topic-toggle.is-open .curriculum-topic-chevron {
    transform: rotate(90deg);
}
.curriculum-accordion .curriculum-topic-panel[hidden] {
    display: none !important;
}
.curriculum-accordion .curriculum-topic-panel:not([hidden]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}
.curriculum-accordion .curriculum-topic-desc {
    margin: 0;
    padding: 16px 30px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text, #777777) !important;
}
.curriculum-accordion .curriculum-lesson-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.curriculum-accordion .curriculum-lesson-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 30px;
    border-bottom: 1px solid var(--border, #49515b4d);
    color: var(--text, #777777) !important;
}
.curriculum-accordion .curriculum-lesson-list li:last-child {
    border-bottom: 0;
}
.curriculum-accordion .curriculum-lesson-name,
.curriculum-accordion .curriculum-lesson-meta {
    color: var(--text, #777777) !important;
    font-size: 16px;
}
.curriculum-accordion .curriculum-lesson-name i {
    margin-right: 10px;
    color: var(--theme, #2D3F26);
}
.curriculum-accordion .curriculum-access-link {
    color: var(--theme, #2D3F26) !important;
    text-decoration: none;
    font-weight: 500;
}
.curriculum-accordion .curriculum-access-link:hover {
    color: var(--theme-2, #C66A4E) !important;
}
@media (max-width: 1199px) {
    .curriculum-accordion .curriculum-lesson-list li {
        flex-wrap: wrap;
        gap: 12px;
    }
}
@media (max-width: 575px) {
    .curriculum-accordion .curriculum-topic-toggle {
        font-size: 16px;
        padding: 16px 18px;
    }
    .curriculum-accordion .curriculum-lesson-list li {
        padding: 14px 18px;
    }
}

/* Course page CTAs ? clean pill, no theme-btn icon circle */
.course-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 48px;
    padding: 12px 28px !important;
    border: none !important;
    border-radius: 30px !important;
    background: var(--theme, #2D3F26) !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
    position: relative;
    overflow: visible !important;
    transition: background-color 0.25s ease;
}

.course-action-btn::before,
.course-action-btn::after {
    display: none !important;
    content: none !important;
}

.course-action-btn i,
.course-action-btn span {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    line-height: 1 !important;
    position: relative;
    z-index: 1;
}

.course-action-btn i {
    font-size: 16px !important;
}

.course-action-btn:hover,
.course-action-btn:focus {
    background: var(--theme-2, #C66A4E) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.course-action-btn:hover i,
.course-action-btn:hover span,
.course-action-btn:focus i,
.course-action-btn:focus span {
    color: #ffffff !important;
    background: transparent !important;
}

.course-action-btn--block {
    width: 100%;
}

/* Courses page: category eyebrow sits above the card, not on the image */
.mhq-courses-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
}

.mhq-courses-card .mhq-courses-box-items {
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
}

/* Keep course cards aligned; show full image without cropping */
.mhq-courses-box-items .mhq-courses-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #f3f1ec;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mhq-courses-box-items .mhq-courses-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 18px 18px 0 0;
}

.mhq-courses-box-items .mhq-courses-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Equal-height cards in Bootstrap rows */
.mhq-courses-section .row > [class*="col-"],
.courses-section .row > [class*="col-"],
.wrtr-courses-section .row > [class*="col-"] {
    display: flex;
}

.mhq-courses-section .row > [class*="col-"] > .mhq-courses-card,
.mhq-courses-section .row > [class*="col-"] > .mhq-courses-box-items,
.courses-section .row > [class*="col-"] > .mhq-courses-card,
.courses-section .row > [class*="col-"] > .mhq-courses-box-items,
.wrtr-courses-section .row > [class*="col-"] > .mhq-courses-card,
.wrtr-courses-section .row > [class*="col-"] > .mhq-courses-box-items {
    width: 100%;
}

.mhq-courses-card-eyebrow {
    position: static !important;
    display: inline-flex;
    align-items: center;
    border-radius: 30px;
    background: var(--theme-2, #C66A4E);
    padding: 10px 18px;
    color: #ffffff !important;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
}

.mhq-courses-content .course-instructor-avatar {
    overflow: hidden;
    padding: 0;
    line-height: 0;
}

.mhq-courses-content .course-instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.mhq-courses-content .course-pricing-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.mhq-courses-content .course-pricing-tag.is-free {
    background: rgba(45, 90, 61, 0.12);
    color: #2d5a3d;
}

.mhq-courses-content .course-pricing-tag.is-paid {
    background: rgba(198, 106, 78, 0.14);
    color: #C66A4E;
}

.mhq-courses-content .course-pricing-tag.is-upcoming {
    background: rgba(196, 163, 90, 0.18);
    color: #8a6d2f;
}

/* Always show Enroll Now (never hover-only); pin to bottom of equal-height cards */
.mhq-courses-box-items .mhq-courses-content .theme-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: auto !important;
    padding-top: 20px;
}

.mhq-courses-box-items .mhq-courses-content .client-info-area,
.mhq-courses-box-items:hover .mhq-courses-content .client-info-area {
    display: none !important;
}

/* Mentoring packages — above course content, under hero image */
.mentoring-packages-section {
    position: relative;
    z-index: 5;
    margin: 24px 0 10px;
}

.mhq-courses-details-area > .mentoring-packages-section .mentoring-package-grid {
    margin-top: 0;
}

/* Push course sidebar card down so it doesn't overlap mentoring packages */
.mhq-courses-details-area:has(.mentoring-packages-section) .details-list-area {
    margin-top: 0 !important;
}

.mentoring-banner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.mentoring-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 40, 30, 0.15), rgba(20, 40, 30, 0.78));
}

.mentoring-banner-content {
    position: relative;
    z-index: 1;
    padding: 28px 32px;
    color: #fff;
    max-width: 720px;
}

.mentoring-banner-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.mentoring-banner-title {
    font-family: var(--wrtr-font-heading, Georgia, serif);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    margin-bottom: 8px;
}

.mentoring-banner-text {
    margin: 0;
    opacity: 0.95;
}

.mentoring-package-grid {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.mentoring-package-grid--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mentoring-package-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
}

.mentoring-package-grid--count-1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
}

@media (max-width: 991px) {
    .mentoring-package-grid,
    .mentoring-package-grid--count-3,
    .mentoring-package-grid--count-2,
    .mentoring-package-grid--count-1 {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

.mentoring-package-card {
    background: #f8f3ea;
    border: 1px solid rgba(45, 90, 61, 0.12);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mentoring-package-card.is-selected {
    border-color: var(--theme-2, #C66A4E);
    box-shadow: 0 0 0 2px rgba(198, 106, 78, 0.2);
}

.mentoring-package-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--theme-2, #C66A4E);
    margin: 0;
}

.mentoring-package-title {
    font-family: var(--wrtr-font-heading, Georgia, serif);
    font-size: 1.25rem;
    color: var(--header, #1f3d2f);
    margin: 0;
}

.mentoring-package-desc {
    color: #4d5c54;
    margin: 0;
    flex: 1;
}

.mentoring-package-price {
    font-family: var(--wrtr-font-heading, Georgia, serif);
    font-size: 1.6rem;
    color: var(--theme-2, #C66A4E);
    margin: 4px 0 8px;
}

.mentoring-selected-label {
    color: #2d5a3d;
    font-weight: 700;
    margin: 0;
}

.mentoring-checkout-bar {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #1f3d2f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mentoring-checkout-bar .mentoring-total {
    opacity: 0.9;
    margin-top: 4px;
}

/* Mentoring package popup: fit every screen, keep footer visible */
.mentoring-modal .mentoring-modal-dialog {
    margin: 0.75rem auto;
    max-width: min(800px, calc(100vw - 1.5rem));
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
}

.mentoring-modal .modal-content {
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mentoring-modal .modal-header,
.mentoring-modal .modal-footer {
    flex-shrink: 0;
}

.mentoring-modal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    flex: 1 1 auto;
}

.mentoring-modal .modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.mentoring-modal .modal-footer .btn,
.mentoring-modal .modal-footer .course-action-btn {
    margin: 0;
}

.mentoring-modal-desc {
    margin-bottom: 0.75rem;
}

.mentoring-terms-box {
    background: #fff;
    border: 1px solid #e6e0d6;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 16px 0;
    max-height: min(320px, 42vh);
    max-height: min(320px, 42dvh);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    .mentoring-modal .mentoring-modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .mentoring-modal .modal-content {
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
        border-radius: 12px;
    }

    .mentoring-modal .modal-header {
        padding: 0.85rem 1rem;
    }

    .mentoring-modal .modal-body {
        padding: 0.9rem 1rem;
    }

    .mentoring-modal .modal-footer {
        padding: 0.75rem 1rem;
        justify-content: stretch;
    }

    .mentoring-modal .modal-footer .btn,
    .mentoring-modal .modal-footer .course-action-btn {
        flex: 1 1 calc(50% - 4px);
        min-width: 120px;
        justify-content: center;
        text-align: center;
    }

    .mentoring-modal-price {
        font-size: 1.2rem;
    }

    .mentoring-terms-box {
        max-height: min(220px, 32vh);
        max-height: min(220px, 32dvh);
        padding: 12px 14px;
        margin: 12px 0;
    }

    .mentoring-terms-check {
        font-size: 12.5px;
    }
}

@media (max-width: 419.98px) {
    .mentoring-modal .modal-footer .btn,
    .mentoring-modal .modal-footer .course-action-btn {
        flex: 1 1 100%;
    }

    .mentoring-terms-box {
        max-height: min(180px, 28dvh);
    }
}

.mentoring-terms-box > h6 {
    margin: 0 0 12px;
    font-family: var(--wrtr-font-heading, Georgia, serif);
    color: var(--header, #1f3d2f);
}

.mentoring-agreement-doc {
    color: #222;
    font-size: 13.5px;
    line-height: 1.55;
    font-family: "Times New Roman", Times, Georgia, serif;
}

.mentoring-agreement-doc .agr-h {
    font-weight: 700;
    font-size: 14.5px;
    margin: 16px 0 8px;
    color: #111;
    line-height: 1.35;
}

.mentoring-agreement-doc .agr-h:first-child {
    margin-top: 0;
    font-size: 16px;
    text-align: center;
}

.mentoring-agreement-doc .agr-p {
    margin: 0 0 10px;
    text-align: justify;
}

.mentoring-agreement-doc .agr-spacer {
    margin: 0 0 8px;
    min-height: 8px;
}

.mentoring-agreement-doc .agr-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 16px;
    font-size: 13px;
}

.mentoring-agreement-doc .agr-table th,
.mentoring-agreement-doc .agr-table td {
    border: 1px solid #444;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
}

.mentoring-agreement-doc .agr-table th {
    background: #f3f0ea;
    font-weight: 700;
}

.mentoring-terms-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.45;
}

.mentoring-terms-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

.mentoring-modal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--theme-2, #C66A4E);
}

/* Footer: Land Acknowledgement as plain text, not a button */
.footer-land-ack {
    display: inline-block;
    margin: 0;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

/* Mentor coaching page — intro video above CTA pull-quote */
.mentor-coaching-video {
    max-width: 920px;
    margin: 0 auto;
}

.mentor-coaching-video-player {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #1a1a1a;
    box-shadow: 0 12px 40px rgba(31, 61, 47, 0.12);
}

/* Courses listing — video inside the page hero banner */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background: #1a1a1a;
}

/* Course detail — video after hero banner (per-course banner video) */
.courses-banner-video-section {
    padding-top: 40px;
    padding-bottom: 24px;
}

.courses-banner-video {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 12px 40px rgba(31, 61, 47, 0.12);
}

.courses-banner-video-player {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: #1a1a1a;
    object-fit: contain;
}
