/**
 * ACF Flexible Content Layout Styles
 * 
 * Styles for all Third Level Page Content Modules
 * 
 * Design Tokens (hardcoded, no CSS variables):
 * - Tan background: #F8F3E8
 * - Light blue: #BEDAE8
 * - Maroon: #AE2262
 * - Gold: #EEAF20
 * - Green: #0F6336
 * - Black: #000000
 * - White: #FFFFFF
 * 
 * Fonts:
 * - Headings (display): 'Cormorant Garamond', serif
 * - Body: 'EB Garamond', serif
 * - UI/Buttons: proxima-nova, sans-serif
 * 
 * Breakpoint: 767px (mobile)
 * 
 * @package MOTCP Theme
 * @since 1.0.0
 */

/* ==========================================================================
   BASE / SHARED STYLES
   ========================================================================== */

.motcp-layout {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.motcp-layout *,
.motcp-layout *::before,
.motcp-layout *::after {
    box-sizing: border-box;
}

.motcp-layout img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Full-width layouts (hero, featured CTA) */
.motcp-layout--full-width {
    max-width: none;
    padding: 0;
}

/* Section spacing */
/*.motcp-layout-section {
    margin-bottom: 5vw;
}

@media (max-width: 767px) {
    .motcp-layout-section {
        margin-bottom: 5vw;
    }
} */

/* ==========================================================================
   LAYOUT SPACING LOGIC
   - White + White = gap between
   - Color + Color = no gap (seamless)
   - White after Color = gap
   - Color after White = no gap
   ========================================================================== */

/* White background layouts get top margin by default */
.motcp-hero-image,
.motcp-image-grid-1,
.motcp-image-grid-2,
.motcp-image-grid-3-left,
.motcp-image-grid-3-right,
.motcp-text,
.motcp-link-buttons,
.motcp-video,
.motcp-content-listing,
.motcp-download {
    margin-top: 5vw;
}

/* Remove top margin when white layout is first on page */
.motcp-layout-section:first-child {
    margin-top: 0;
}

.motcp-hero-image:last-child,
.motcp-image-grid-1:last-child,
.motcp-image-grid-2:last-child,
.motcp-image-grid-3-left:last-child,
.motcp-image-grid-3-right:last-child,
.motcp-text:last-child,
.motcp-link-buttons:last-child,
.motcp-video:last-child,
.motcp-content-listing:last-child,
.motcp-download:last-child  {
    margin-bottom: 5vw;
}

/* White layout follows a color layout */
.motcp-image-headline + .motcp-hero-image,
.motcp-image-headline + .motcp-image-grid-1,
.motcp-image-headline + .motcp-image-grid-2,
.motcp-image-headline + .motcp-image-grid-3-left,
.motcp-image-headline + .motcp-image-grid-3-right,
.motcp-image-headline + .motcp-text,
.motcp-image-headline + .motcp-link-buttons,
.motcp-image-headline + .motcp-video,
.motcp-image-headline + .motcp-content-listing,
.motcp-image-headline + .motcp-image-caption,
.motcp-image-caption + .motcp-hero-image,
.motcp-image-caption + .motcp-image-grid-1,
.motcp-image-caption + .motcp-image-grid-2,
.motcp-image-caption + .motcp-image-grid-3-left,
.motcp-image-caption + .motcp-image-grid-3-right,
.motcp-image-caption + .motcp-text,
.motcp-image-caption + .motcp-link-buttons,
.motcp-image-caption + .motcp-video,
.motcp-image-caption + .motcp-content-listing,
.motcp-image-collage + .motcp-image-grid-1,
.motcp-image-collage + .motcp-image-grid-2,
.motcp-image-collage + .motcp-image-grid-3-left,
.motcp-image-collage + .motcp-image-grid-3-right,
.motcp-image-collage + .motcp-text,
.motcp-image-collage + .motcp-link-buttons,
.motcp-image-collage + .motcp-video,
.motcp-image-collage + .motcp-content-listing,
.motcp-featured-cta + .motcp-hero-image,
.motcp-featured-cta + .motcp-image-grid-1,
.motcp-featured-cta + .motcp-image-grid-2,
.motcp-featured-cta + .motcp-image-grid-3-left,
.motcp-featured-cta + .motcp-image-grid-3-right,
.motcp-featured-cta + .motcp-text,
.motcp-featured-cta + .motcp-link-buttons,
.motcp-featured-cta + .motcp-video,
.motcp-featured-cta + .motcp-content-listing,
.motcp-download + .motcp-hero-image,
.motcp-download + .motcp-image-grid-1,
.motcp-download + .motcp-image-grid-2,
.motcp-download + .motcp-image-grid-3-left,
.motcp-download + .motcp-image-grid-3-right,
.motcp-download + .motcp-text,
.motcp-download + .motcp-link-buttons,
.motcp-download + .motcp-video,
.motcp-download + .motcp-content-listing,
.motcp-download + .motcp-featured-cta,
.motcp-hero-syllabary + .motcp-hero-image,
.motcp-hero-syllabary + .motcp-image-grid-1,
.motcp-hero-syllabary + .motcp-image-grid-2,
.motcp-hero-syllabary + .motcp-image-grid-3-left,
.motcp-hero-syllabary + .motcp-image-grid-3-right,
.motcp-hero-syllabary + .motcp-text,
.motcp-hero-syllabary + .motcp-link-buttons,
.motcp-hero-syllabary + .motcp-video,
.motcp-hero-syllabary + .motcp-content-listing,
.motcp-hero-syllabary + .motcp-image-caption,
.motcp-image-grid-1 + .motcp-image-headline,
.motcp-image-grid-1 + .motcp-text,
.motcp-image-grid-1 + .motcp-video,
.motcp-image-grid-1 + .motcp-hero-syllabary,
.motcp-link-buttons + .motcp-text,
.motcp-link-buttons + .motcp-hero-syllabary,
.motcp-link-buttons + .motcp-featured-cta,
.motcp-image-grid-3-left + .motcp-image-caption,
.motcp-image-grid-3-right + .motcp-image-caption,
.motcp-image-grid-3-left + .motcp-image-headline,
.motcp-image-grid-3-right + .motcp-image-headline,
.motcp-image-grid-3-left + .motcp-hero-syllabary,
.motcp-image-grid-3-right + .motcp-hero-syllabary,
.motcp-image-grid-3-left + .motcp-video,
.motcp-image-grid-3-right + .motcp-video,
.motcp-image-grid-3-left + .motcp-image-collage,
.motcp-image-grid-3-right + .motcp-image-collage,
.motcp-text + .motcp-video,
.motcp-text + .motcp-featured-cta,
.motcp-text + .motcp-image-headline,
.motcp-text + .motcp-hero-syllabary,
.motcp-text + .motcp-image-caption,
.motcp-text + .motcp-image-collage,
.motcp-video + .motcp-image-collage,
.motcp-image-grid-2 + .motcp-hero-syllabary,
.motcp-image-grid-2 + .motcp-featured-cta,
.motcp-image-grid-2 + .motcp-video,
.motcp-download + .motcp-hero-syllabary,
.motcp-content-listing+ .motcp-image-collage {
    margin-top: 5vw;
}

.motcp-image-collage + .motcp-hero-image {
    margin-top: 0;
}

@media (max-width: 767px) {
    .motcp-image-headline + .motcp-image-caption {
        margin-top: 0;
    }
}


/* ==========================================================================
   TYPOGRAPHY WITHIN LAYOUTS
   ========================================================================== */

.motcp-layout h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: normal;
    font-size: 46px;
    letter-spacing: -0.2px;
    line-height: 1.2em;
    margin: 0 0 20px 0;
    padding: 0;
    color: #0F6336 !important;
}

.motcp-layout h3 {
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 32px;
    line-height: 1.3em;
    margin: 0 0 15px 0;
    padding: 0;
    color: #0F6336 !important;
}

.motcp-layout h4 {
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 1.4em;
    margin: 0 0 15px 0;
    padding: 0;
    color: #EEAF20;
}

.motcp-layout p {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.6em;
    margin: 0 0 1em 0;
    color: #000000;
}

.motcp-layout p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .motcp-layout h2 {
        font-size: 32px;
        margin: 0;
    }
    
    .motcp-layout h3 {
        font-size: 24px;
    }
    
    .motcp-layout p {
        font-size: 16px;
    }
}

/* ==========================================================================
   BUTTON STYLES
   ========================================================================== */

.motcp-btn {
    display: inline-block;
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Primary button - Gold background, green text */
.motcp-btn--primary {
    background-color: #EEAF20;
    color: #0F6336;
    border: 2px solid #EEAF20;
}

.motcp-btn--primary:hover {
    background-color: #ae2262;
    color: #EEAF20;
    border-color: #ae2262;
}

/* Secondary button - Green background, white text */
.motcp-btn--secondary {
    background-color: #0F6336;
    color: #FFFFFF;
    border: 2px solid #0F6336;
    font-size: 20px !important;
}

.motcp-btn--secondary:hover {
    background-color: #ae2262;
    color: #EEAF20;
    border-color: #ae2262;
}

/* Outline button - Transparent with border */
.motcp-btn--outline {
    background-color: transparent;
    color: #AE2262;
    border: 2px solid #AE2262;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 20px;
}

.motcp-btn--outline:hover {
    background-color: #AE2262;
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .motcp-btn {
        font-size: 16px !important;
        padding: 6px 15px;
    }
}

/* ==========================================================================
   LAYOUT: TEXT (Flexible nested content)
   ========================================================================== */

.motcp-text {
    max-width: 750px;
}

.motcp-text__headline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 46px;
    line-height: 1.2em;
    color: #000000;
    margin-bottom: 20px !important;
}

.motcp-text__subhead {
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4em;
    color: #EEAF20;
    margin-bottom: 20px;
}

.motcp-text__body {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    line-height: 1.6em;
    color: #000000;
}

.motcp-text__body p {
    margin-bottom: 20px !important;
}

.motcp-text__body a {
  color: #a8cde4;
}

.motcp-text__body blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 30px;
    line-height: 1.4em;
    color: #AE2262;
    padding-left: 0;
    border-left: none;
    margin: 30px 0;
}

@media (max-width: 1285px) {
    .motcp-image-caption {
        width: 90%;
    }
}

@media (max-width: 900px) {
    .motcp-text {
        width: 80%;
    }
}

@media (max-width: 767px) {
    .motcp-text__headline {
        font-size: 32px;
    }
    
    .motcp-text__subhead {
        font-size: 18px;
    }
    
    .motcp-text__body blockquote {
        font-size: 24px;
    }

    .motcp-text {
        width: 90%;
    }
}

/* ==========================================================================
   LAYOUT: HERO IMAGE
   ========================================================================== */

.motcp-hero-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.motcp-hero-image__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   LAYOUT: IMAGE + HEADLINE
   ========================================================================== */

.motcp-image-headline {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    align-items: stretch;
    background-color: #F8F3E8;
    padding: 5vw 0px;
}

.motcp-image-headline__image-wrap {
    position: relative;
    overflow: hidden;
}

.motcp-image-headline__image-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 650px;
}

.motcp-image-headline__image-wrap {
    position: relative;
    overflow: hidden;
}

.motcp-image-headline__image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(76deg, rgba(255,255,255,0) 24%, #a8cde4 65vw);
    pointer-events: none;
}

.motcp-image-headline__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0px 50px 0px;
    background-color: #F8F3E8;
}

.motcp-image-headline__headline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 76px !important;
    line-height: 1.2em;
    color: #0F6336;
    margin: 0;
    letter-spacing: -2px !important;
    background-color: none !important;
    position: relative !important;
    left: -80px !important;
}

@media (max-width: 767px) {
    .motcp-image-headline {
        grid-template-columns: 1fr;
        padding: 5vw 0 0 0;
    }
    
    .motcp-image-headline__content {
        padding: 0px 5vw;
    }
    
    .motcp-image-headline__headline {
        font-size: 32px !important;
        left: 0px !important;
        top: -25px;
        letter-spacing: -.5px !important;
    }

    .motcp-image-headline__image-wrap img {
        width: auto;
        min-height: 350px;
        padding-right: 5vw;
    }

    .motcp-image-headline__image-wrap::after {
        /* max-height: 350px; */
        margin-right: 5vw;
        background-image: linear-gradient(186deg, rgba(255,255,255,0) 16%, #a8cde4 95vw);
    }
}

/* ==========================================================================
   LAYOUT: IMAGE GRID - 1 (Single full-width image)
   ========================================================================== */

.motcp-image-grid-1 {
    width: 90%;
}

.motcp-image-grid-1 img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT: IMAGE GRID - 2 (Two equal columns)
   ========================================================================== */

.motcp-image-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    width: 90%;
}

.motcp-image-grid-2__item img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 400px;
}

@media (max-width: 767px) {
    .motcp-image-grid-2 {
        /* grid-template-columns: 1fr; */
        gap: 5vw;
    }

    .motcp-image-grid-2__item img {
    height: 200px;
    }
}

/* ==========================================================================
   LAYOUT: IMAGE GRID - 3 LARGE LEFT
   ========================================================================== */

.motcp-image-grid-3-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5vw;
    width: 90%;
}

.motcp-image-grid-3-left__large {
    grid-row: span 2;
}

.motcp-image-grid-3-left__large img,
.motcp-image-grid-3-left__small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .motcp-image-grid-3-left {
        /* grid-template-columns: 1fr;
        grid-template-rows: auto; */
        gap: 20px;
    }
    
    /* .motcp-image-grid-3-left__large {
        grid-row: span 1;
    } */
}

/* ==========================================================================
   LAYOUT: IMAGE GRID - 3 LARGE RIGHT
   ========================================================================== */

.motcp-image-grid-3-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5vw;
    width: 90%;
}

.motcp-image-grid-3-right__large {
    grid-row: span 2;
    grid-column: 2;
}

.motcp-image-grid-3-right__small-top {
    grid-row: 1;
    grid-column: 1;
}

.motcp-image-grid-3-right__small-bottom {
    grid-row: 2;
    grid-column: 1;
}

.motcp-image-grid-3-right__large img,
.motcp-image-grid-3-right__small-top img,
.motcp-image-grid-3-right__small-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .motcp-image-grid-3-right {
        /* grid-template-columns: 1fr;
        grid-template-rows: auto; */
        gap: 20px;
    }
    
    /* .motcp-image-grid-3-right__large {
        grid-row: auto;
        grid-column: auto;
    }
    
    .motcp-image-grid-3-right__small-top,
    .motcp-image-grid-3-right__small-bottom {
        grid-row: auto;
        grid-column: auto;
    } */
}

/* ==========================================================================
   LAYOUT: IMAGE COLLAGE - 3 (with decorative overlays)
   ========================================================================== */

.motcp-image-collage {
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 5vw;
    padding: 10vw 0 0 0;
    background-color: #F8F3E8;
}

.motcp-image-collage__left {
    position: relative;
    z-index: 2;
}

.motcp-image-collage__left img {
    width: auto;
    height: 100%;
    display: block;
    object-fit: cover;
}

.motcp-image-collage__right {
    display: block;
    /* flex-direction: column;
    gap: 5vw; */
}

.motcp-image-collage__right-top,
.motcp-image-collage__right-bottom {
    position: relative;
    z-index: 2;
    right: 10%;
}

.motcp-image-collage__right-top img,
.motcp-image-collage__right-bottom img {
    width: 100%;
    height: auto;
    display: block;
}

.motcp-image-collage__right-top {
    right: 10vw !important;
    top: -5vw;
    box-shadow: 0px 12px 20px -2px rgba(0,0,0,0.36);
}

.motcp-image-collage__right-bottom {
    padding-left: 5vw;
    padding-bottom: 5vw;
}

/* Decorative overlay - yellow graphic ON TOP of images */
.motcp-image-collage__overlay-top {
    position: absolute;
    width: 900px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    bottom: 2.5vw;
    right: 5vw;
}

/* Decorative overlay - yellow sun/circle BEHIND images */
.motcp-image-collage__overlay-bottom {
    position: absolute;
    bottom: 20vw;
    right: -5vw;
    width: 800px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 767px) {    
    .motcp-image-collage__overlay-bottom {
        width: 200px;
    }

    .motcp-image-collage__overlay-top {
        width: 280px;
    }

    .motcp-image-collage__right-top {
        box-shadow: 0px 8px 12px -2px rgba(0,0,0,0.36);
    }
}

/* ==========================================================================
   LAYOUT: IMAGE + CAPTION (Quote style with icon)
   ========================================================================== */

.motcp-image-caption {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    align-items: stretch;
    max-width: 1150px;
}

.motcp-image-caption__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5vw;
    background-color: #F8F3E8;
    text-align: center;
    max-height: 750px;
}

.motcp-image-caption__icon {
    width: 100px;
    height: auto;
    margin-bottom: 30px;
}

.motcp-image-caption__text {
    font-family: proxima-nova,sans-serif !important;
    font-weight: 700 !important;
    font-style: normal;
    font-size: 20px !important;
    line-height: 1.4em;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    color: #AE2262 !important;
}

.motcp-image-caption__image-wrap {
    position: relative;
    overflow: hidden;
    max-height: 750px;
}

.motcp-image-caption__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1120px) {
    .motcp-image-caption__text {
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
    .motcp-image-caption {
        grid-template-columns: 1fr;
    }

    .motcp-image-caption__icon {
        width: 60px;
        margin-bottom: 5vw;
    }
    
    .motcp-image-caption__content {
        padding: 5vw 10vw;
        order: 2;
    }
    
    .motcp-image-caption__image-wrap {
        order: 1;
    }
}

/* ==========================================================================
   LAYOUT: IMAGE + CONTENT LISTING GRID - 3 WIDE (Staff/People grid)
   ========================================================================== */

.motcp-content-listing {
    padding: 0 5vw;
    width: 100%;
}

.motcp-content-listing__title {
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-size: 46px;
    color: #0F6336;
    text-align: center;
    margin-bottom: 50px;
}

.motcp-content-listing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;
}

.motcp-content-listing__item {
    text-align: center;
}

.motcp-content-listing__image-wrap {
    width: 350px;
    height: 350px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #cccccc;
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.21);
}

.motcp-content-listing__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.motcp-content-listing__name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 32px;
    color: #000000;
    margin: 0 0 5px 0;
    line-height: 1.2em;
}

.motcp-content-listing__descriptor {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-style: italic !important;
    font-size: 18px;
    color: #0F6336 !important;
    margin: 0 0 10px 0;
}

.motcp-content-listing__subtitle {
    font-family: proxima-nova, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px;
    color: #0F6336 !important;
    margin: 0 0 20px 0;
}

.motcp-content-listing__copy {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    line-height: 1.6em;
    color: #000000;
    text-align: justify;
}

.motcp-content-listing__copy a {
    color: #a8cde4;
}

@media (max-width: 1024px) {
    .motcp-content-listing__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .motcp-content-listing {
        padding: 10vw 5vw;
        width: 100%;
    }

    .motcp-content-listing__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .motcp-content-listing__title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .motcp-content-listing__image-wrap {
        width: 200px;
        height: 200px;
    }
    
    .motcp-content-listing__name {
        font-size: 28px;
    }
}

/* ==========================================================================
   LAYOUT: FEATURED CALL TO ACTION
   ========================================================================== */

.motcp-featured-cta {
    position: relative;
    background-color: #EEAF20;
    background-image: url('https://motcp.org/wp-content/uploads/2023/06/MCP_CTA_bkgd_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
}

/* Disable on mobile - fixed attachment causes issues on iOS */
@media (max-width: 767px) {
    .motcp-featured-cta {
        background-attachment: scroll;
    }
}

.motcp-featured-cta__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.motcp-featured-cta__subhead {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 42px;
    line-height: 1.3em;
    color: #0F6336;
    margin: 0 0 30px 0 !important;
}

.motcp-featured-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 767px) {
    .motcp-featured-cta {
        padding: 50px 20px;
    }
    
    .motcp-featured-cta__subhead {
        font-size: 28px;
    }
    
    .motcp-featured-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   LAYOUT: LINK BUTTONS
   ========================================================================== */

.motcp-link-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 40px 5vw;
}

@media (max-width: 767px) {
    .motcp-link-buttons {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }
}

/* ==========================================================================
   LAYOUT: DOWNLOAD
   ========================================================================== */

.motcp-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0px;
    border-bottom: 1px solid #EEAF20;
    max-width: 850px;
}

.motcp-download__text {
    font-family: proxima-nova, sans-serif !important;
    font-weight: 600 !important;
    font-size: 26px !important;
    color: #AE2262 !important;
    line-height: 1.2em !important;
    margin: 0 !important;
}

.motcp-download__link {
    font-family: proxima-nova, sans-serif !important;
    font-size: 20px;
    color: #AE2262 !important;
    letter-spacing: 2px;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    background-color: #EEAF20 !important;
    padding: 10px 20px 8px 20px;
}

.motcp-download__link:hover {
    color: #AE2262;
}

.motcp-download__link::after {
    content: '\2193';
    font-size: 16px;
}

@media (max-width: 767px) {
    .motcp-download {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 90%;
    }

    .motcp-download__text {
        font-size: 20px !important;
    }

    .motcp-download__link {
    font-size: 16px;
    letter-spacing: 1px;
    padding: 7px 15px 6px 15px;
    }
}

/* ==========================================================================
   LAYOUT: VIDEO (with deferred loading styles)
   ========================================================================== */

.motcp-video {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

.motcp-video__wrapper {
    position: relative;
    width: 100%;
    background-color: #000000;
    overflow: hidden;
}

.motcp-video__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* YouTube deferred placeholder styles */
.youtube-deferred {
    background-color: #000000;
}

.youtube-deferred img {
    transition: opacity 0.2s ease;
}

.youtube-deferred:hover img {
    opacity: 0.85;
}

.youtube-deferred:focus {
    outline: 3px solid #EEAF20;
    outline-offset: 2px;
}

/* ==========================================================================
   LAYOUT: HERO IMAGE + SYLLABARY
   ========================================================================== */

.motcp-hero-syllabary {
    position: relative;
    width: 100%;
    /* background-color: #BEDAE8; */
}

.motcp-hero-syllabary__image-wrap {
    position: relative;
    overflow: hidden;
    max-height: 100vh;
}

/* .page-id-266 .motcp-layouts-container > .motcp-layout:first-child .motcp-hero-syllabary__image-wrap {
    max-height: 100vh;
} */

.motcp-hero-syllabary__image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(184deg, rgba(255,255,255,0) 17%, #0f6336 96%);
    pointer-events: none;
}

.motcp-hero-syllabary__image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.motcp-hero-syllabary__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    /* max-width: 800px; */
    text-align: center;
    padding: 5vw;
}

.motcp-hero-syllabary__syllabary {
    font-family: phoreuscherokee,serif !important;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase !important;
    font-size: 150px !important;
    color: #ffffff !important;
    letter-spacing: -0.2px !important;
    line-height: 0.85em !important;
    padding-bottom: 0px !important;
    margin-bottom: 2.5vw !important;
}

.motcp-hero-syllabary__english {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 156px;
    line-height: 1.1em;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.motcp-hero-syllabary__subhead {
    text-transform: uppercase !important;
    font-size: 28px !important;
    color: #EEAF20 !important;
    letter-spacing: 5px !important;
    line-height: 1.2em !important;
    font-family: proxima-nova,sans-serif !important;
    font-weight: 700;
    font-style: normal;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 1024px) {
    /* .motcp-hero-syllabary__content {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: none;
        padding: 40px 30px;
        text-align: center;
    } */
    
    .motcp-hero-syllabary__syllabary {
        font-size: 66px !important;
        letter-spacing: -1px !important;
    }
    
    .motcp-hero-syllabary__english {
        font-size: 40px !important;
    }
}

@media (max-width: 767px) {
    .motcp-hero-syllabary__syllabary {
        font-size: 32px !important;
        font-weight: 600 !important;
        letter-spacing: -1px !important;
    }
    
    .motcp-hero-syllabary__english {
        font-size: 32px !important;
    }
    
    .motcp-hero-syllabary__subhead {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Clearfix */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}
