/* ============================================================
   MMA Template Styles
   ============================================================ */

/* ---- Gradient spanning header + hero ---- */
/* WordPress adds .page-template-mma-template to <body> automatically */
.page-template-mma-template {
    background: linear-gradient(180deg, rgba(20, 149, 255, 0.08) 0%, rgba(20, 149, 255, 0) 100%) no-repeat top center;
    background-size: 100% 960px;
}

/* Make header transparent at top so the body gradient shows through */
.page-template-mma-template .site-header,
.page-template-mma-template .sticky-header {
    background-color: transparent !important;
    transition: background-color 0.3s ease;
}

/* Restore white background once user scrolls */
.page-template-mma-template .sticky-header.mma-header-scrolled,
.page-template-mma-template .sticky-header.mma-header-scrolled .site-header {
    background-color: #ffffff !important;
}

/* ---- Hero Section ---- */
.mma-hero {
    background: transparent;
    padding: var(--section-padding-desktop);
    position: relative;
}

/* Override any ::before SVG pattern from shared campaign styles */
.mma-hero::before {
    display: none;
}

.mma-hero .container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.mma-hero .campaign-hero-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mma-hero .campaign-hero-content h1 {
    font-family: "TiemposHeadline-Regular", sans-serif;
    font-size: var(--primary-desktop-h1);
    line-height: 1.2;
    color: var(--darker-blue);
    letter-spacing: 0px;
}

.mma-hero .campaign-hero-content p {
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--primary-gray);
}

.mma-hero .hero-buttons-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.mma-btn-outline {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.mma-btn-outline:hover {
    border: 1px solid var(--dark-blue);
    color: var(--dark-blue);
    cursor: pointer;
    background-color: rgba(142, 117, 83, 0.1);
}

.mma-hero .campaign-hero-image {
    width: 50%;
    flex-shrink: 0;
}

.mma-hero .campaign-hero-image img {
    width: 100%;
    display: block;
}

/* ---- Shared FDIC Note ---- */
.mma-fdic-note {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #60678A;
    letter-spacing: 0;
}

/* ---- Shared Section Label ---- */
.mma-section-label {
    font-family: "Geist-Medium", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-yellow);
    margin-bottom: 0;
}

/* ---- High Yield Section ---- */
.campaign-high-yield {
    background: #EDECE8;
    padding: 100px 0;
    position: relative;
}

.campaign-high-yield::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background-image: url('../images/lending-banking-benefits-bg.svg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.campaign-high-yield .container {
    position: relative;
    z-index: 1;
}

.high-yield-header {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.high-yield-header-left {
    flex: 1;
}

.high-yield-header-left h2 {
    font-family: "TiemposHeadline-Regular", sans-serif;
    color: var(--darker-blue);
    font-size: var(--primary-desktop-h2);
    line-height: 1.2;
    letter-spacing: 0px;
    font-weight: 400;
}

.high-yield-header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.high-yield-header-right p {
    font-size: var(--primary-desktop-text);
    line-height: 1.3;
    color: var(--blue-900);
    letter-spacing: 0px;
    word-break: normal;
}

/* Three-column cards */
.high-yield-cards {
    display: flex;
    gap: 32px;
    margin-bottom: 60px;
    align-items: stretch;
}

.high-yield-card {
    flex: 1;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.high-yield-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.high-yield-card-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.high-yield-card h3 {
    font-family: "Geist-Medium", sans-serif;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--darker-blue);
    font-weight: 600;
}

.high-yield-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.high-yield-card ul li {
    padding-left: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Small tan filled square bullet */
.high-yield-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-yellow);
    border-radius: 2.67px;
    flex-shrink: 0;
}

.high-yield-card ul li strong {
    font-family: "Geist-Medium", sans-serif;
    font-size: 23px;
    font-weight: 300;
    color: var(--yellow-300);
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.high-yield-card ul li span {
    font-size: 18px;
    line-height: 1.3;
    color: var(--blue-900);
    letter-spacing: -0.2px;
    word-break: normal;
}

/* CTA at bottom */
.high-yield-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.high-yield-cta .btn-icon-blue {
    width: max-content;
    background-color: var(--primary-yellow);
}

.high-yield-cta .btn-icon-blue:hover {
    background-color: rgb(127 112 80);
    cursor: pointer;
}

.high-yield-cta .mma-fdic-note {
    text-align: center;
    max-width: 640px;
    margin-top: 15px;
}

/* ---- Open Account (Steps) Section ---- */
.campaign-open-account {
    padding: 100px 0;
    background: #FFFFFF;
}

.open-account-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.open-account-left {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.open-account-left h2 {
    font-family: "TiemposHeadline-Regular", sans-serif;
    font-size: var(--primary-desktop-h2);
    line-height: 1.2;
    color: var(--darker-blue);
    font-weight: 400;
}

.open-account-left .btn-icon-blue {
    width: max-content;
    margin-top: 10px;
}

.open-account-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Numbered Steps */
.mma-step {
    display: flex;
    gap: 24px;
    align-items: stretch;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.mma-step.step-visible {
    opacity: 1;
    transform: translateY(0);
}

.mma-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.mma-step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    background-color: var(--primary-yellow);
    color: #FFFFFF;
    font-family: "Geist-Medium", sans-serif;
    font-size: 19px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mma-step-line {
    width: 2px;
    flex: 1;
    min-height: 48px;
    background-color: var(--primary-yellow);
    margin: 10px 0;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.6s ease;
}

.mma-step-line.line-visible {
    transform: scaleY(1);
}

.mma-step-content {
    padding-bottom: 80px;
}

.mma-step-last .mma-step-content {
    padding-bottom: 0;
}

.mma-step-content h3 {
    font-family: "Geist-Medium", sans-serif;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--darker-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.mma-step-content p {
    font-size: var(--primary-desktop-text);
    line-height: 1.3;
    color: var(--primary-gray);
    letter-spacing: -0.3px;
}

/* ---- Testimonials ---- */
.mma-testimonial {
    background-color: #EDF3FD;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.campaign-clients-testimonial.mma-testimonial::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background-image: url('../images/lending-banking-users-bg.svg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.mma-testimonial .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mma-testimonial-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.mma-testimonial-header .mma-section-label {
    color: #4789EB;
    margin-bottom: 0;
}

.mma-testimonial h2 {
    font-family: "TiemposHeadline-Regular", sans-serif;
    color: var(--darker-blue);
    font-size: var(--primary-desktop-h2);
    line-height: 1.05;
    letter-spacing: -1.2px;
    font-weight: 400;
    margin: 0;
}

/* Two-column side-by-side cards */
.mma-testimonial .testimonial-cards-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.mma-testimonial .testimonial-card {
    flex: 1;
    border-radius: 12px;
    padding: 28px 32px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mma-testimonial .testimonial-logo {
    object-fit: contain;
    object-position: left center;
}

.mma-testimonial .testimonial-card.left .testimonial-logo {
    width: 190px;
    height: 28px;
    margin-top: 24px;
}

.mma-testimonial .testimonial-card.right .testimonial-logo {
    width: 178px;
    height: 64px;
}

.mma-testimonial .testimonial-text {
    font-family: "Geist-Light", sans-serif;
    font-size: 18px;
    color: var(---blue-900);
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.mma-testimonial .testimonial-card.left .testimonial-text {
    margin-top: 13px;
}

.mma-testimonial .testimonial-name {
    font-family: "Geist-Medium", sans-serif;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--darker-blue);
    margin-bottom: 4px;
    font-weight: 300;
}

.mma-testimonial .testimonial-role {
    font-family: "Geist-Medium", sans-serif;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-yellow);
}

/* ---- Q&A Section ---- */
.campaign-qa {
    padding: 80px 0;
    background: #FFFFFF;
}

.qa-wrap {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.qa-left {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qa-left h2 {
    font-family: "TiemposHeadline-Regular", sans-serif;
    font-size: var(--primary-desktop-h2);
    line-height: 1.2;
    letter-spacing: 0px;
    color: var(--darker-blue);
    font-weight: 400;
}

.qa-left p {
    font-size: var(--primary-desktop-text);
    line-height: 1.5;
    color: var(--primary-gray);
    letter-spacing: -0.015em;
}

.qa-left .btn-icon-blue {
    width: max-content;
}

.qa-right {
    flex: 1;
}

/* Accordion */
.mma-accordion {
    width: 100%;
}

.mma-accordion-item {
    border-bottom: 1px solid #9FA3B9;
}

.mma-accordion-item:last-child {
    border-bottom: none;
}

.mma-accordion-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.mma-accordion-question span:first-child {
    font-family: "Geist-Medium", sans-serif;
    font-size: var(--primary-desktop-text);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.0075em;
    color: #1A1B23;
}

.mma-accordion-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mma-accordion-item.mma-accordion-open .mma-accordion-icon {
    transform: rotate(180deg);
}

.mma-accordion-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    padding: 0;
}

.mma-accordion-item.mma-accordion-open .mma-accordion-answer {
    padding: 0 0 24px 0;
}

.mma-accordion-answer p {
    font-size: var(--primary-desktop-text);
    line-height: 1.3;
    letter-spacing: -0.0075em;
    color: var(--blue-900);
    margin-bottom: 14px;
}

.mma-accordion-answer p:last-child {
    margin-bottom: 0;
}

.mma-accordion-answer p strong {
    font-family: "Geist-Medium", sans-serif;
    font-weight: 300;
}

.mma-accordion-answer ul {
    list-style: disc;
    padding-left: 20px;
    margin: 8px 0 12px 0;
}

.mma-accordion-answer ul li {
    font-size: var(--primary-desktop-text);
    line-height: 1.5;
    letter-spacing: -0.0075em;
    color: var(--blue-900);
    margin-bottom: 4px;
}

.mma-accordion-answer a {
    text-decoration: underline;
    font-weight: bold;
    color: var(--blue-900);
}

/* ---- APY Section (Bottom CTA) ---- */
.campaign-apy {
    padding: 100px 0;
    background: #EDF3FD;
    position: relative;
    overflow: hidden;
}

.apy-wrap {
    display: flex;
    gap: 60px;
    align-items: center;
}

.apy-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.apy-content h2 {
    font-family: "TiemposHeadline-Regular", sans-serif;
    font-size: var(--primary-desktop-h2);
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: var(--darker-blue);
    font-weight: 400;
}

.apy-content > p {
    font-size: var(--primary-desktop-text);
    line-height: 1.5;
    color: var(--primary-gray);
    letter-spacing: -0.015em;
}

.apy-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mma-btn-outline-tan {
    color: #061A37;
    background-color: white;
    border: 1px solid white;
}

.mma-btn-outline-tan:hover {
    background-color: rgba(142, 117, 83, 0.1);
    border: 1px solid rgba(142, 117, 83, 0.1);
    color: #061A37;
}

.apy-image {
    width: 45%;
    flex-shrink: 0;
}

.apy-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.apy-buttons .btn-icon-blue {
    background-color: var(--primary-yellow);
}

.apy-buttons .btn-icon-blue:hover {
    background-color: rgb(127 112 80);
}

.mma-hero .container,
.featured-section .container,
.campaign-high-yield .container,
.campaign-open-account .container,
.mma-testimonial .container,
.campaign-qa .container,
.campaign-apy .container {
    max-width: 1300px;
}



/* ============================================================
   Responsive – Tablet (max 992px)
   ============================================================ */
@media (max-width: 992px) {
    .mma-hero .campaign-hero-content h1 {
        font-size: 48px;
    }

    .mma-hero .campaign-hero-content p {
        font-size: 21px;
    }
    .high-yield-header-left h2,
    .open-account-left h2,
    .mma-testimonial h2,
    .qa-left h2,
    .apy-content h2 {
        font-size: 42px;
    }

    .high-yield-card h3 {
        font-size: 23px;
    }
    .high-yield-card ul li strong {
        font-size: 21px;
    }

    .high-yield-header-right p,
    .mma-step-content p,
    .qa-left p,
    .mma-accordion-answer p,
    .mma-accordion-answer p strong,
    .mma-accordion-question span:first-child,
    .apy-content > p {
        font-size: 18px;
    }

    .high-yield-header {
        gap: 40px;
    }

    .open-account-wrap {
        gap: 48px;
    }

    .qa-wrap {
        gap: 48px;
    }

    .qa-left {
        width: 300px;
    }
}

/* ============================================================
   Responsive – Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
    .mma-testimonial .testimonial-cards-container {
        flex-direction: column;
    }

    .mma-testimonial .testimonial-card {
        padding: 32px;
    }

    .mma-testimonial .testimonial-text {
        font-size: 18px;
        margin-bottom: 24px;
    }
    .mma-hero .container {
        flex-direction: column;
        gap: 60px;
    }

    .mma-hero .campaign-hero-content,
    .mma-hero .campaign-hero-image {
        width: 100%;
    }

    .mma-hero .campaign-hero-content h1 {
        font-size: 40px;
    }

    .mma-hero .campaign-hero-content p {
        font-size: 19px;
    }

    .high-yield-header {
        flex-direction: column;
        gap: 16px;
    }

    .high-yield-cards {
        flex-direction: column;
    }

    .open-account-wrap {
        flex-direction: column;
        gap: 60px;
    }

    .open-account-left {
        width: 100%;
    }

    .qa-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .qa-left {
        width: 100%;
    }

    .apy-wrap {
        flex-direction: column;
        gap: 60px;
    }

    .apy-image {
        width: 100%;
    }

    .high-yield-header-left h2,
    .open-account-left h2,
    .mma-testimonial h2,
    .qa-left h2,
    .apy-content h2 {
        font-size: 36px;
    }
}

/* ============================================================
   Responsive – Small Mobile (max 480px)
   ============================================================ */
@media (max-width: 480px) {
    .mma-testimonial .testimonial-card {
        padding: 24px;
    }

    .mma-testimonial .testimonial-text {
        font-size: 16px;
    }

    .mma-testimonial .testimonial-name {
        font-size: 17px;
    }

    .mma-testimonial h2,
    .high-yield-header-left h2,
    .open-account-left h2,
    .mma-testimonial h2,
    .qa-left h2,
    .apy-content h2 {
        font-size: var(--primary-mobile-h2);
    }
    .mma-hero,
    .campaign-high-yield,
    .campaign-open-account,
    .campaign-qa,
    .campaign-apy,
    .mma-testimonial {
        padding: var(--section-padding-mobile);
    }

    .mma-hero .campaign-hero-content h1 {
        font-size: var(--primary-mobile-h1);
    }

    .mma-hero .campaign-hero-content p {
        font-size: 16px;
    }
    .high-yield-header-right p,
    .mma-step-content p,
    .qa-left p,
    .mma-accordion-answer p,
    .mma-accordion-answer p strong,
    .mma-accordion-question span:first-child,
    .apy-content > p,
    .high-yield-card ul li span {
        font-size: var(--primary-mobile-text);
    }

    .high-yield-card h3 {
        font-size: 19px;
    }

    .high-yield-card ul li {
        font-size: 15px;
    }

    .high-yield-header-left h2,
    .open-account-left h2,
    .mma-testimonial h2,
    .qa-left h2,
    .apy-content h2 {
        font-size: var(--primary-mobile-h2);
    }

    .mma-step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }

    .mma-step-content h3 {
        font-size: 21px;
    }

    .mma-step-content p {
        font-size: var(--primary-mobile-text);
    }

    .high-yield-card ul li strong {
        font-size: 17px;
    }

    .hero-buttons-container {
        flex-direction: column;
    }

    .hero-buttons-container .btn-icon-blue,
    .hero-buttons-container .btn-icon-outline {
        width: 100%;
        justify-content: center;
    }

    .apy-buttons {
        flex-direction: column;
    }

    .apy-buttons .btn-icon-blue,
    .apy-buttons .btn-icon-outline {
        width: 100%;
        justify-content: center;
    }

    .mma-accordion-question span:first-child,
    .mma-accordion-answer p,
    .mma-accordion-answer ul li,
    .mma-accordion-answer a {
        font-size: var(--primary-mobile-text);
    }
    .high-yield-header {
        margin-bottom: 30px;
    }
    .high-yield-card,
    .mma-testimonial .testimonial-card,
    .qa-wrap,
    .qa-left {
        gap: 20px;
    }
    .high-yield-card ul,
    .open-account-left {
        gap: 15px;
    }
    .high-yield-card-icon {
        width: 46px;
        height: 46px;
    }
    .high-yield-cta .mma-fdic-note {
        font-size: 14px;
        margin-top: 10px;
    }
    .mma-section-label,
    .mma-fdic-note {
        font-size: 14px;
    }
    .open-account-wrap {
        gap: 40px;
    }
    .mma-testimonial-header {
        margin-bottom: 32px;
    }
    .mma-accordion-question {
        padding: 15px 0px;
    }
    .mma-testimonial .testimonial-card.left .testimonial-logo {
        width: 142px;
        height: 21px;
    }
    .mma-testimonial .testimonial-card.right .testimonial-logo {
        width: 134px;
        height: 48px;
    }
    .mma-testimonial .testimonial-text {
        margin-top: 13px;
    }
}
