/**
 * Text Layout Styles
 * Dynamic color matching with menu selection
 */

.ga26-text {
    width: 100%;
}

/* Two-Column Layout */
.ga26-text--two-column .ga26-text__columns {
    display: flex;
    width: 100%;
    min-height: 400px;
}

.ga26-text--two-column .ga26-text__left {
    flex: 0 0 40%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.ga26-text--two-column .ga26-text__right {
    flex: 0 0 60%;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right column background - Default Grey/Black */
.ga26-text--two-column .ga26-text__right {
    background-color: #636466;
}

/* Dynamic color backgrounds based on menu selection - DARK values */
.ga26-flexible-content[data-menu-color="blue"] .ga26-text--two-column .ga26-text__right {
    background-color: #0060af;
}

.ga26-flexible-content[data-menu-color="purple"] .ga26-text--two-column .ga26-text__right {
    background-color: #5c2e91;
}

.ga26-flexible-content[data-menu-color="red"] .ga26-text--two-column .ga26-text__right {
    background-color: #a92b31;
}

.ga26-flexible-content[data-menu-color="yellow"] .ga26-text--two-column .ga26-text__right {
    background-color: #dd5828;
}

.ga26-flexible-content[data-menu-color="green"] .ga26-text--two-column .ga26-text__right {
    background-color: #006b6b;
}

/* Headline background colors - MEDIUM values - Two-Column Layout Only */
.ga26-text--two-column .ga26-text__headline {
    background-color: #636466; /* Default Grey/Black Medium */
}

.ga26-flexible-content[data-menu-color="blue"] .ga26-text--two-column .ga26-text__headline {
    background-color: #0089d0;
}

.ga26-flexible-content[data-menu-color="purple"] .ga26-text--two-column .ga26-text__headline {
    background-color: #92278f;
}

.ga26-flexible-content[data-menu-color="red"] .ga26-text--two-column .ga26-text__headline {
    background-color: #ed1c24;
}

.ga26-flexible-content[data-menu-color="yellow"] .ga26-text--two-column .ga26-text__headline {
    background-color: #f47920;
}

.ga26-flexible-content[data-menu-color="green"] .ga26-text--two-column .ga26-text__headline {
    background-color: #01a490;
}

.ga26-text__headline {
    font-family: 'Grack', sans-serif !important;
    font-style: normal;
    font-weight: 500;
    font-size: 36px !important;
    letter-spacing: -.15px;
    line-height: 1.2em !important;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    color: #fff !important;
    margin: 0;
}

.ga26-text__centered .ga26-text__headline {
    font-size: 52px !important;
}

.ga26-text__body {
    font-family: 'Noto Serif', serif;
    margin: 0px !important;
    color: #fff !important;
    max-width: 750px;
}

.ga26-text__body p {
    font-family: 'Noto Serif', serif !important;
    margin: 0;
    color: #fff !important;
}

.ga26-text__body a {
    color: #fff !important;
    text-decoration: underline;
}

.ga26-text__body ul {
    margin-top: 20px;
}

.ga26-text__subhead p {
    font-family: 'Noto Serif' !important;
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: -.15px;
    line-height: 1.2em;
    margin: 0 0 20px 0;
}

.ga26-text__subhead {
    max-width: 800px;
}

/* White color for subhead in two-column right side */
.ga26-text--two-column .ga26-text__subhead p {
    color: #fff !important;
}

/* White color for subhead in centered layout */
.ga26-text--centered .ga26-text__subhead p {
    color: #fff !important;
}

/* CTA Button - Default Black/Grey Light */
.ga26-text__cta {
    display: inline-block;
    padding: 15px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Cachet Pro';
    font-weight: 400;
    font-size: 26px;
    letter-spacing: -.5px;
    color: #ffffff;
    background-color: #d0d0d0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    align-self: flex-start;
    transition: background-color 0.2s ease;
    margin-top: 30px;
}

.ga26-text__cta:hover {
    background-color: rgba(208, 208, 208, 0.8);
}

/* Dynamic CTA button backgrounds - LIGHT values */
.ga26-flexible-content[data-menu-color="blue"] .ga26-text__cta {
    background-color: #00aeef;
    color: #ffffff;
}

.ga26-flexible-content[data-menu-color="blue"] .ga26-text__cta:hover {
    background-color: rgba(0, 174, 239, 0.8);
}

.ga26-flexible-content[data-menu-color="purple"] .ga26-text__cta {
    background-color: #c6168d;
    color: #fff;
}

.ga26-flexible-content[data-menu-color="purple"] .ga26-text__cta:hover {
    background-color: rgba(198, 22, 141, 0.8);
}

.ga26-flexible-content[data-menu-color="red"] .ga26-text__cta {
    background-color: #f15922;
    color: #fff;
}

.ga26-flexible-content[data-menu-color="red"] .ga26-text__cta:hover {
    background-color: rgba(241, 89, 34, 0.8);
}

.ga26-flexible-content[data-menu-color="yellow"] .ga26-text__cta {
    background-color: #fcaf17;
    color: #ffffff;
}

.ga26-flexible-content[data-menu-color="yellow"] .ga26-text__cta:hover {
    background-color: rgba(252, 175, 23, 0.8);
}

.ga26-flexible-content[data-menu-color="green"] .ga26-text__cta {
    background-color: #20bdbe;
    color: #ffffff;
}

.ga26-flexible-content[data-menu-color="green"] .ga26-text__cta:hover {
    background-color: rgba(32, 189, 190, 0.8);
}

/* Centered Layout */
/* .ga26-text--centered .ga26-text__centered {
    width: 100%;
    text-align: center;
    padding: 60px 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #d0d0d0;
    background-image: none !important;
} */

/* Centered Layout */
.ga26-text--centered .ga26-text__centered {
    width: 95%;
    min-height: 400px;
    position: relative;
    background-color: #000000; /* Default Light Grey */
}

/* Dynamic centered button hover colors - MEDIUM values */
.ga26-text__cta:hover {
    background-color: #636466;
}

.ga26-flexible-content[data-menu-color="blue"] .ga26-text__cta:hover {
    background-color: #0089d0;
}

.ga26-flexible-content[data-menu-color="purple"] .ga26-text__cta:hover {
    background-color: #92278f;
}

.ga26-flexible-content[data-menu-color="red"] .ga26-text__cta:hover {
    background-color: #ed1c24;
}

.ga26-flexible-content[data-menu-color="yellow"] .ga26-text__cta:hover {
    background-color: #f47920;
}

.ga26-flexible-content[data-menu-color="green"] .ga26-text__cta:hover {
    background-color: #01a490;
}

/* Background image overlay with opacity */
.ga26-text__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

/* Background image overlay with opacity */
.ga26-text__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

/* Override opacity for images with 2026GA_ prefix */
.ga26-text__bg-overlay.no-opacity {
    opacity: 1;
}

/* Image-only mode: remove color overlay and show full image */
.ga26-text--centered .ga26-text__centered.image-only {
    background-color: transparent;
}

.ga26-text--centered .ga26-text__centered.image-only .ga26-text__bg-overlay {
    opacity: 1;
}

/* Override dynamic colors for image-only mode */
.ga26-flexible-content[data-menu-color] .ga26-text--centered .ga26-text__centered.image-only {
    background-color: transparent;
}

/* Content wrapper */
.ga26-text__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.ga26-text__centered {
    margin: 2.5% auto;
}

/* Dynamic background colors - DARK values */
.ga26-flexible-content[data-menu-color="blue"] .ga26-text--centered .ga26-text__centered {
    background-color: #0060af;
}

.ga26-flexible-content[data-menu-color="purple"] .ga26-text--centered .ga26-text__centered {
    background-color: #5c2e91;
}

.ga26-flexible-content[data-menu-color="red"] .ga26-text--centered .ga26-text__centered {
    background-color: #a92b31;
}

.ga26-flexible-content[data-menu-color="yellow"] .ga26-text--centered .ga26-text__centered {
    background-color: #dd5828;
}

.ga26-flexible-content[data-menu-color="green"] .ga26-text--centered .ga26-text__centered {
    background-color: #006b6b;
}

.ga26-flexible-content[data-menu-color="black"] .ga26-text--centered .ga26-text__centered {
    background-color: #000;
}

.ga26-text--centered .ga26-text__headline {
    margin: 0;
    color: #fff !important;
    max-width: 800px;
}

.ga26-text--centered .ga26-text__body {
    max-width: 800px;
    margin: auto;
    color: #fff !important;
}

.ga26-text--centered .ga26-text__body p {
    color: #fff !important;
}

/* Center the button in centered layout */
.ga26-text--centered .ga26-text__cta {
    align-self: center;
}

/* Responsive */
@media (max-width: 768px) {
    .ga26-text--two-column .ga26-text__columns {
        flex-direction: column;
    }
    
    .ga26-text--two-column .ga26-text__left,
    .ga26-text--two-column .ga26-text__right {
        flex: 1 1 100%;
        padding: 10%;
        min-height: 250px;
    }
    
    .ga26-text--centered .ga26-text__centered {
        padding: 7%;
        min-height: 300px;
    }

    .ga26-text__headline {
        font-size: 24px !important;
    }

    .ga26-text__centered .ga26-text__headline {
        font-size: 24px !important;
    }

    .ga26-text__content {
        padding: 0px;
        text-align: left;
        min-height: 400px;
    }

    /* Centered Layout */
    .ga26-text--centered .ga26-text__centered {
        width: 90%;
        min-height: 400px;
        position: relative;
        background-color: #000000; /* Default Light Grey */
    }

    .ga26-text__centered {
        margin: 5% auto;
    }

    .ga26-text--centered .ga26-text__cta {
      align-self: flex-start;
    }

    .ga26-text__subhead p {
        font-size: 22px !important;
        text-align: center;
    }

    .ga26-text__cta {
        padding: 10px 15px;
        font-size: 22px;
    }
}