/*
 Theme Name:   CCSA Divi Child
 Theme URI:    https://childrenschorussanantonio.org
 Description:  Child theme for Children's Chorus of San Antonio — built on Divi 5
 Author:       Your Agency Name
 Author URI:   https://youragency.com
 Template:     Divi
 Version:      1.0.0
 Text Domain:  ccsa-divi-child
*/

/* =============================================================
   IMPORT PARENT THEME STYLES
   ============================================================= */
@import url("../Divi/style.css");

/* =============================================================
   CCSA BRAND VARIABLES
   ============================================================= */
:root {
    --ccsa-teal: #1a9ed9;
    --ccsa-purple: #2642aa;
    --ccsa-pink: #d20f8c;
    --ccsa-navy: #0d1b3e;
    --ccsa-light-blue: #c8e6f0;
    --ccsa-white: #ffffff;

    --ccsa-font-heading: "Montserrat", sans-serif;
    --ccsa-font-body: "Open Sans", sans-serif;
}

/* =============================================================
   CCSA EVENTS CAROUSEL
   ============================================================= */

/* Card colors cycle: purple, teal, dark blue, pink
   (also the letterbox fill behind contained artwork/logo) */
.ccsa-events-carousel .splide__slide:nth-child(4n + 1) .ccsa-card-image-wrap {
    background-color: #7b5ea7;
}
.ccsa-events-carousel .splide__slide:nth-child(4n + 2) .ccsa-card-image-wrap {
    background-color: #00a0b9;
}
.ccsa-events-carousel .splide__slide:nth-child(4n + 3) .ccsa-card-image-wrap {
    background-color: #2642aa;
}
.ccsa-events-carousel .splide__slide:nth-child(4n + 4) .ccsa-card-image-wrap {
    background-color: #c2006a;
}

.ccsa-event-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--ccsa-white);
    box-shadow: none;
    border: none;
}

.ccsa-card-image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
}

.ccsa-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.ccsa-card-image-wrap:hover img {
    transform: scale(1.04);
}

/* No featured image — logo fallback gets breathing room instead of
   bleeding to the card edges like full-bleed concert artwork does,
   and a neutral gray instead of the cycling brand color so it reads
   as "no artwork yet" rather than a fifth accent color */
.ccsa-card-image-wrap--fallback img {
    padding: 12%;
    box-sizing: border-box;
}

.ccsa-card-image-wrap--fallback {
    background-color: #e0e0e0 !important;
}

.ccsa-card-meta {
    padding: 0.85rem 0 0.5rem;
    background: transparent;
}

/* Title now sits in normal flow, directly above the date */
.ccsa-event-title {
    margin: 0 0 0.4rem;
    font-family: "Quicksand", var(--ccsa-font-heading), sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.ccsa-event-title a {
    color: var(--ccsa-navy);
    text-decoration: none;
}

.ccsa-event-title a:hover {
    color: var(--ccsa-purple);
    text-decoration: underline;
}

.ccsa-event-date,
.ccsa-event-venue {
    font-family: "Open Sans", sans-serif;
    font-size: 0.875rem;
    color: #464646;
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.ccsa-learn-more {
    display: inline-block;
    margin-top: 0.4rem;
    color: var(--ccsa-pink);
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ccsa-learn-more:hover {
    color: var(--ccsa-purple);
    text-decoration: underline;
}

/* =============================================================
   SPLIDE CAROUSEL — ARROW REPOSITIONED TO BOTTOM LEFT
   ============================================================= */
.ccsa-events-carousel {
    position: relative;
    padding-bottom: 3.5rem;
}

.ccsa-events-carousel .splide__arrows {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 0.5rem;
}

.ccsa-events-carousel .splide__arrow {
    position: static;
    transform: none;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    cursor: pointer;
}

.ccsa-events-carousel .splide__arrow svg {
    fill: var(--ccsa-purple);
    width: 1.25rem;
    height: 1.25rem;
    transition: fill 0.2s ease;
}

.ccsa-events-carousel .splide__arrow:hover svg {
    fill: var(--ccsa-pink);
}

.ccsa-events-carousel .splide__arrow--prev { order: 1; }
.ccsa-events-carousel .splide__arrow--next { order: 2; }

/* =============================================================
   SVG PHOTO MASKS (Blob / Organic Shapes)
   ============================================================= */
.photo-mask {
    overflow: hidden;
}

.photo-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-mask.mask-shape-1 { clip-path: url(#ccsa-mask-1); }
.photo-mask.mask-shape-2 { clip-path: url(#ccsa-mask-2); }
.photo-mask.mask-shape-3 { clip-path: url(#ccsa-mask-3); }
.photo-mask.mask-shape-4 { clip-path: url(#ccsa-mask-4); }
.photo-mask.mask-shape-5 { clip-path: url(#ccsa-mask-5); }

/* Shape 6 — Music Notes */
.photo-mask.mask-shape-6 {
    position: relative;
}

.photo-mask.mask-shape-6 .et_pb_image_wrap {
    clip-path: url(#ccsa-mask-6);
    display: block;
}

.photo-mask.mask-shape-6::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/05/photo-shape-6-notes-only.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* Shape 7 — Single Music Notes */
.photo-mask.mask-shape-7 {
    position: relative;
}

.photo-mask.mask-shape-7 .et_pb_image_wrap {
    clip-path: url(#ccsa-mask-7);
    display: block;
}

.photo-mask.mask-shape-7::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/05/photo-shape-7-notes-only.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* Shape 8 — Gradient overlay strokes */
.photo-mask.mask-shape-8 {
    position: relative;
}

.photo-mask.mask-shape-8 .et_pb_image_wrap {
    clip-path: url(#ccsa-mask-8);
    display: block;
}

.photo-mask.mask-shape-8::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/05/photo-shape-8-overlay.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

/* === Wave Divider === */
.ccsa-wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -66px;
}

.ccsa-wave-img {
    display: block;
    width: 100%;
    height: auto;
    min-width: 1366px;
}

/* Wave between events and testimonials — flip vertically */
.ccsa-wave-section.wave-flip .ccsa-wave-wrap svg {
    transform: scaleY(-1);
}

/* =============================================================
   MAIN NAV ITEMS — HEADER ONLY
   ============================================================= */

#menu-main-menu > li > a {
    color: #000000 !important;
    font-family: "Quicksand", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4em !important;
    background: transparent !important;
    text-decoration: none !important;
}

#menu-main-menu > li > a:hover {
    color: #2642aa !important;
    background: transparent !important;
}

#menu-main-menu > li.current-menu-item > a,
#menu-main-menu > li.current-menu-ancestor > a,
#menu-main-menu > li.current_page_item > a {
    color: #2642aa !important;
    font-weight: 700 !important;
    background: transparent !important;
}

#menu-main-menu > li > a::after,
#menu-main-menu > li > a::before {
    display: none !important;
}

/* =============================================================
   DROPDOWN — HEADER ONLY
   ============================================================= */

#menu-main-menu li ul.sub-menu {
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16) !important;
    padding: 12px 0 !important;
    min-width: 220px !important;
}

#menu-main-menu li ul.sub-menu li a {
    color: #000000 !important;
    font-family: "Quicksand", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 8px 10px !important;
    border: none !important;
    background: transparent !important;
    display: block !important;
    line-height: 1.4em !important;
}

#menu-main-menu li ul.sub-menu li a:hover {
    color: #2642aa !important;
    background: transparent !important;
    text-decoration: underline !important;
}

#menu-main-menu li ul.sub-menu li.current-menu-item > a,
#menu-main-menu li ul.sub-menu li.current_page_item > a {
    color: #2642aa !important;
    font-weight: 700 !important;
    background: transparent !important;
}

/* =============================================================
   HISTORY CAROUSEL
   ============================================================= */

/* Card image — clean rounded rectangle */
.ccsa-history-section .et_pb_image_wrap {
    border-radius: 12px !important;
    overflow: hidden !important;
    display: block !important;
    aspect-ratio: 4/3 !important;
}

.ccsa-history-section .et_pb_image_wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Year heading */
.ccsa-history-section .et_pb_module_header {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    color: #2642AA !important;
    margin-top: 16px !important;
    padding-bottom: 6px !important;
}

/* Description */
.ccsa-history-section .et_pb_text .et_pb_text_inner {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    color: #464646 !important;
    line-height: 1.6 !important;
}

/* =============================================================
   HISTORY CAROUSEL — ARROWS BOTTOM CENTER
   ============================================================= */

.ccsa-history-section .et_pb_group_carousel_arrow_prev,
.ccsa-history-section .et_pb_group_carousel_arrow_next {
    position: absolute !important;
    top: unset !important;
    bottom: 16px !important;
    transform: none !important;
}

.ccsa-history-section .et_pb_group_carousel_arrow_prev {
    left: calc(50% - 24px) !important;
    right: auto !important;
}

.ccsa-history-section .et_pb_group_carousel_arrow_next {
    left: calc(50% + 8px) !important;
    right: auto !important;
}

.ccsa-history-section .et_pb_group_carousel_arrow .et-pb-icon {
    color: #D4007A !important;
    font-size: 24px !important;
}

.ccsa-history-section .et_pb_group_carousel_arrow:hover .et-pb-icon {
    color: #5B37B7 !important;
}


@media all and (max-width: 1165px) {
    .et_pb_menu .et-menu>li{
        padding-left: 5px;
        padding-right: 5px;
    }
}


/* Hide Divi's default +/- icon */
.et_pb_accordion_item .et_pb_toggle_title::after {
  display: none !important;
}

/* Inject custom icon */
.et_pb_accordion_item .et_pb_toggle_title {
  position: relative;
  padding-right: 40px;
}

.et_pb_accordion_item .et_pb_toggle_title .accordion-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.2s ease;
}



/* =============================================================
   QA FIXES — CLIENT LOG (2026-08-12)
   ============================================================= */

/* QA #1 — Home: 15px padding above "Explore K-12 Programs" button */
.home .et_pb_button_0_wrapper {
    padding-top: 15px;
}

/* QA #2 — Home: widen "CCSA is Made Possible..." row so "Sponsors" doesn't wrap alone */
.home .et_pb_heading_9 {
    max-width: 1300px !important;
}

.home .et_pb_heading_9 h2 {
    text-wrap: balance;
}

/* QA #3 — Footer: tighten spacing on the copyright line + remove gap after first line */
.et_pb_text_1_tb_footer .et_pb_text_inner p:first-child {
    padding-bottom: 0;
}

.et_pb_text_1_tb_footer .et_pb_text_inner p:last-child {
    word-spacing: -2px;
}

/* QA #6 — Infants & Toddlers: vertically center the "Music Together Con Español" row */
.page-id-148 .et_pb_accordion_0 {
    padding-top: 90px !important;
    padding-bottom: 20px;
}

/* QA #7 — Registration page: 20px border-radius on the tuition table */
.ccsa-tbl-wrap {
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* QA #8 — Hire the Choir: 20px border-radius on past-performances player embeds */
iframe[src*="bandcamp.com"] {
    border-radius: 20px !important;
}

/* QA #9 — Mission & History: increase line-height on "Our Mission" section text */
.page-id-158 .et_pb_group_0 .et_pb_text_inner p {
    line-height: 30px !important;
}

/* QA #10 — Founders Award: keep the year on the same line as "Honoree(s)" in each entry heading */
.page-id-166 .preset--module--divi-heading--re23gvxm3f h3 {
    text-wrap: balance;
}

/* QA #12 — Mobile Home: center "Upcoming Concerts" icon/text, "Want to Support" headline, and "Dedicated to Enriching" text/button */
@media (max-width: 767px) {
    .home .et_pb_column_5,
    .home .et_pb_column_16,
    .home .et_pb_column_17 {
        align-items: center;
        text-align: center;
    }

    .home .et_pb_column_5 .et_pb_text_inner,
    .home .et_pb_column_16 .et_pb_text_inner,
    .home .et_pb_column_17 .et_pb_text_inner {
        text-align: center !important;
    }
}

/* QA #13 — Mobile Footer: reduce top padding above the logo to match bottom spacing */
@media (max-width: 767px) {
    .et_pb_section_3_tb_footer {
        padding-top: 140px !important;
    }
}

/* =============================================================
   ROUND 2 — CLIENT LOG (2026-08-13)
   ============================================================= */

/* Interior page hero titles (first heading module in the page header row)
   overflow/get cut off on mobile. Global fix — same module pattern on
   every interior page. */
@media (max-width: 767px) {
    .et_pb_row_0 {
        width: 100% !important;
        max-width: 100vw !important;
    }

    .et_pb_heading_0,
    .et_pb_heading_0 .et_pb_heading_container {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        min-width: 0 !important;
    }

    .et_pb_row_0,
    .et_pb_row_0 > * {
        min-width: 0 !important;
    }

    .et_pb_row_0 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    .et_pb_row_0 .et_pb_text_inner,
    .et_pb_row_0 .et_pb_text_inner p {
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .et_pb_heading_0 .et_pb_heading_container h1.et_pb_module_header,
    .et_pb_heading_0 .et_pb_heading_container h2.et_pb_module_header,
    .et_pb_heading_0 .et_pb_heading_container h3.et_pb_module_header,
    h2.et_pb_module_header,
    h3.et_pb_module_header {
        font-size: 35px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        max-width: 100% !important;
        display: block !important;
    }

}

/* Leadership & Staff / Board of Directors: team member entries are hand-built
   (not a shared template), so photo-to-name spacing varies per person.
   Force a consistent gap. */
.page-id-160 .et_pb_group .et_pb_heading_container,
.page-id-162 .et_pb_group .et_pb_heading_container {
    margin-top: 20px !important;
}

@media (max-width: 767px) {
    .preset--module--divi-heading--vy307xyb0j .et_pb_heading_container h1,
    .preset--module--divi-heading--vy307xyb0j .et_pb_heading_container h2,
    .preset--module--divi-heading--vy307xyb0j .et_pb_heading_container h3 {
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
}

/* Footer: widen to match the header nav row's custom 1450px max-width
   (footer rows were falling back to the site default 1080px). */
.et-l--footer .et_pb_row:not(.et_pb_row_nested) {
    max-width: 1450px !important;
}

/* Mobile Footer: reduce top padding above "Join Our Email List" so the
   block sits centered in its section instead of pushed toward the bottom. */
@media (max-width: 767px) {
    .et_pb_section_1_tb_footer {
        padding-top: 25px !important;
    }
}

/* Mobile Home: "Want to Support..." headline overflows (large text styled
   as a heading via a <p>, not an actual heading tag). */
@media (max-width: 767px) {
    .home .et_pb_column_16 .et_pb_text_inner p {
        font-size: 22px !important;
        overflow-wrap: break-word !important;
    }

    .home .et_pb_column_17 .et_pb_text_inner p {
        overflow-wrap: break-word !important;
    }

    .home .et_pb_heading_9 h2 {

    }

    .home .et_pb_row_15,
    .home .et_pb_row_15 > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .home .et_pb_heading_10 h3 {
        font-size: 20px !important;
        white-space: normal !important;
    }
}

/* Mobile Home: reduce top/bottom padding on "Impact this Year" section
   (already correct on desktop). */
@media (max-width: 767px) {
    .home .et_pb_section_6 {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }
}

/* Summer Music Camps: bold the "Campers/Singers will enjoy:" lead-in,
   indent the bullet list below it, and tighten spacing. */
.page-id-144 .et_pb_text_1 .et_pb_text_inner p:has(+ ul),
.page-id-144 .et_pb_text_2 .et_pb_text_inner p:has(+ ul) {
    font-weight: 700;
    margin-bottom: 4px;
}

.page-id-144 .et_pb_text_1 .et_pb_text_inner ul,
.page-id-144 .et_pb_text_2 .et_pb_text_inner ul {
    padding-left: 24px !important;
    margin-bottom: 8px;
}

.page-id-144 .et_pb_text_1 .et_pb_text_inner li,
.page-id-144 .et_pb_text_2 .et_pb_text_inner li {
    list-style: disc;
    padding-bottom: 2px;
}

.page-id-144 .et_pb_text_1 .et_pb_text_inner p,
.page-id-144 .et_pb_text_2 .et_pb_text_inner p {
    padding-bottom: 0.5em;
}

/* 20px border-radius on the countdown timer */
.page-id-144 .et_pb_countdown_timer_0 {
    border-radius: 20px;
    overflow: hidden;
}

/* Careers: header photo shows mostly heads — shift crop down and ensure
   it scales to cover the section (same missing background-size issue). */
.page-id-168 .et_pb_section_0 {
    background-size: cover !important;
    background-position: center 30% !important;
}

/* Infants & Toddlers: center the "Early Childhood Music" headline and text */
.page-id-148 .et_pb_column_2 {
    text-align: center;
}

.page-id-148 .et_pb_column_2 .et_pb_text_inner {
    text-align: center !important;
}

/* CCSA Voices Rising: center the "About CCSA Voices Rising" button and
   keep it from wrapping oddly */
.page-id-142 .et_pb_button_0_wrapper {
    text-align: center !important;
    justify-content: center !important;
}

/* Registration page: add spacing before "Refund Deadline" so it doesn't
   crowd "Payment Options" text above it */
.page-id-154 .et_pb_heading_5 {
    margin-top: 20px;
}

/* Registration page: match "Available Discounts" column height to its
   "Tuition Assistance" sibling */
.page-id-154 .et_pb_row_6 {
    align-items: stretch !important;
}

/* Registration page: Refund Policy email link — white instead of blue
   (blue is hard to read on the section background); tighten bottom
   padding on the section (too much empty space below the text) */
.page-id-154 .et_pb_text_11 a[href^="mailto:"] {
    color: #ffffff !important;
}

.page-id-154 .et_pb_section_5 {
    padding-bottom: 40px !important;
}

/* Registration page: balance top/bottom padding on the Ensemble Schedule
   section */
.page-id-154 .et_pb_section_4 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* Sing with Us 6-12: vertically center the shorter "Interested in Singing"
   column against its taller sibling text column (same pattern as the
   Infants & Toddlers Español fix). */
.page-id-152 .et_pb_column_3 {
    padding-top: 60px;
}

/* Center the "2026 Summer Camp Info & FAQ" button */
.page-id-144 .et_pb_button_2_wrapper {
    text-align: center !important;
    justify-content: center !important;
}

/* Mobile: reduce top padding on Grades 2-6 / 7-9 sections for vertical centering */
@media (max-width: 767px) {
    .page-id-144 .et_pb_row_3,
    .page-id-144 .et_pb_row_5 {
        padding-top: 20px !important;
    }
}

/* "Are You an Educator? Connect with Us" CTA — background photo has no
   background-size set, so it doesn't cover the section and gets cut off
   at the bottom. Same bug, different photo, on each page — not a single
   shared module, so fixed per page. */
.page-id-142 .et_pb_section_4,
.page-id-146 .et_pb_section_4,
.page-id-150 .et_pb_section_5,
.page-id-266 .et_pb_section_9 {
    background-size: cover !important;
    background-position: center !important;
}

/* =============================================================
   MUSIC NOTE LIST
   ============================================================= */
.ccsa-music-list ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.ccsa-music-list ul li {
    position: relative !important;
    padding-left: 1.75rem !important;
    margin-bottom: 1rem !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.ccsa-music-list ul li::before {
    content: '♩' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
}

.ccsa-music-list ul li a {
    color: inherit !important;
    text-decoration: none !important;
}

.ccsa-music-list ul li a:hover {
    text-decoration: underline !important;
}

/* =============================================================
   MOBILE MENU — ACCORDION SUBMENUS
   Submenus are hidden by default and toggled open by JS (see
   ccsa_mobile_menu_accordion in functions.php) instead of all
   rendering open at once.
   ============================================================= */
@media (max-width: 980px) {
    .et_mobile_menu li.menu-item-has-children > a {
        position: relative;
        display: block;
        padding-right: 40px !important;
    }

    .et_mobile_menu li.menu-item-has-children > a::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        line-height: 1;
        font-weight: 700;
    }

    .et_mobile_menu li.menu-item-has-children.ccsa-submenu-open > a::after {
        content: '\2212';
    }

    .et_mobile_menu li.menu-item-has-children > ul.sub-menu {
        display: none !important;
    }

    .et_mobile_menu li.menu-item-has-children.ccsa-submenu-open > ul.sub-menu {
        display: block !important;
    }
}

/* =============================================================
   SINGLE EVENT TEMPLATE (The Events Calendar)
   Hide the plugin's automatic event title — the custom Divi
   header already pulls in the event title, so the plugin's own
   <h1> would just repeat it. Purchase Tickets button (added via
   the tribe_events_single_event_before_the_meta hook in
   functions.php) is styled here.
   ============================================================= */
.tribe-events-single-event-title {
    display: none;
}

.ccsa-event-purchase-tickets {
    margin: 1.5rem 0;
}

.ccsa-purchase-tickets-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--ccsa-pink);
    color: #ffffff;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.2s ease;
}

.ccsa-purchase-tickets-btn:hover {
    background-color: var(--ccsa-purple);
    color: #ffffff;
}

/* =============================================================
   STAFF BIO LIGHTBOX (Leadership & Staff page)
   ============================================================= */
.ccsa-bio-content {
    display: none;
}

.ccsa-bio-wrap {
    margin-top: 0.5rem;
    text-align: center;
}

.ccsa-bio-trigger {
    display: inline-block;
    padding: 8px 22px;
    background-color: transparent;
    border: 2px solid var(--ccsa-pink);
    color: var(--ccsa-pink);
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ccsa-bio-trigger:hover {
    background-color: var(--ccsa-pink);
    color: #ffffff;
}

.ccsa-bio-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 62, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ccsa-bio-modal-overlay.is-open {
    display: flex;
}

.ccsa-bio-modal {
    position: relative;
    background: #ffffff;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 2.5rem;
}

.ccsa-bio-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--ccsa-navy);
    cursor: pointer;
}

.ccsa-bio-modal-close:hover {
    color: var(--ccsa-pink);
}

.ccsa-bio-name {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ccsa-navy);
    margin-bottom: 1rem;
}

.ccsa-bio-text p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #464646;
    margin: 0 0 1rem;
}

.ccsa-bio-text p:last-child {
    margin-bottom: 0;
}

body.ccsa-bio-modal-active {
    overflow: hidden;
}