/* Colorado College 2025 - Section-Specific Styles */

@import url("/_assets/css/2025/hh-directory-bundled.css");

/* ================================
   PAGE INTRO TEXT STYLES
   ================================ */
.cc-page-intro-text {
    background-color: #ffffff;
    padding: 60px 0;
    position: relative;
}

.cc-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    text-wrap-style: pretty;
}

.cc-intro-paragraph,
.cc-intro-content p {
    font-family: "archer-pro", serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .cc-intro-paragraph {
        font-size: 20px;
    }

    .cc-intro-content {
        max-width: 800px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-page-intro-text {
        padding: 50px 0;
    }

    .cc-intro-paragraph {
        font-size: 19px;
        line-height: 1.5;
    }

    .cc-intro-content {
        max-width: 700px;
    }
}

@media (max-width: 767.98px) {
    .cc-page-intro-text {
        padding: 40px 0;
    }

    .cc-intro-paragraph {
        font-size: 18px;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .cc-intro-content {
        max-width: 100%;
        padding: 0 16px;
    }
}

/* ================================
   TEMP SUBSITE PLACEHOLDERS
   ================================ */
/* .cc-subsite-head,
.cc-subsite-maincol {
    display: none;
}

.cc-subsite-content {
    min-height: 400px;
} */

/* ================================
   BASE PAGE HERO SECTION (For subpages)
   ================================ */
.cc-page-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.cc-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cc-page-hero-content {
    position: relative;
    z-index: var(--cc-z-modal);
    max-width: 45%;
    margin-left: var(--cc-spacing-6xl);
    padding-top: var(--cc-spacing-5xl);
    color: var(--cc-color-white);
}

.cc-page-hero .section-label {
    color: var(--cc-color-border-green); /* Lime green #BAD739 */
}

.cc-page-hero-headline {
    font-family: var(--cc-font-serif), "Georgia", serif;
    font-weight: var(--cc-font-weight-normal);
    font-size: var(--cc-font-size-8xl);
    font-style: italic;
    line-height: 1.1;
    margin-bottom: var(--cc-spacing-3xl);
    color: var(--cc-color-white);
    letter-spacing: -0.02em;
    text-wrap-style: balance;
}

.cc-page-hero-emphasis {
    font-family: var(--cc-font-primary), "Helvetica Neue", sans-serif;
    font-weight: var(--cc-font-weight-bold);
    font-style: normal;
    text-transform: uppercase;
    color: var(--cc-color-white);
}

.cc-page-hero-description {
    font-family: var(--cc-font-primary), "Helvetica Neue", sans-serif;
    font-weight: var(--cc-font-weight-normal);
    font-size: var(--cc-font-size-xl);
    line-height: 1.7;
    margin: 0;
    max-width: 650px;
    color: var(--cc-color-white);
}

@media (max-width: 767.98px) {
    .cc-page-hero {
        min-height: 80vh;
    }

    .cc-page-hero-content {
        margin-left: 24px;
        margin-right: 24px;
        max-width: calc(100% - 48px);
    }

    .cc-page-hero-headline {
        font-size: 44px;
        margin-bottom: 22px;
    }

    .cc-page-hero-description {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-page-hero-content {
        margin-left: 40px;
        margin-right: 40px;
    }

    .cc-page-hero-headline {
        font-size: 60px;
    }

    .cc-page-hero-description {
        font-size: 17px;
    }
}

@media (min-width: 1200px) {
    .cc-page-hero-content {
        margin-left: 120px;
    }

    .cc-page-hero-headline {
        font-size: 80px;
    }
}

/* ================================
   SUBPAGE HERO SECTION (E.G. ABOUT)
   ================================ */
.cc-subpage-hero-container {
    background-color: #000000;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cc-hero-breadcrumbs-section {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 0;
}

.cc-subpage-hero {
    position: relative;
    width: calc(100% - 60px);
    min-height: calc(100vh - 90px);
    margin: 60px 30px 30px 30px;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

.cc-subpage-hero::before,
.cc-subpage-hero .cc-hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.cc-subpage-hero .cc-hero-carousel::before {
    z-index: 1;
}

.cc-hero-breadcrumbs-section .hero-breadcrumbs {
    margin-bottom: 0;
}

.cc-hero-breadcrumbs-section .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-size: 14px;
}

.cc-hero-breadcrumbs-section .breadcrumb-item,
.cc-hero-breadcrumbs-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cc-hero-breadcrumbs-section .breadcrumb-item a:hover {
    color: #EAB337;
    text-decoration: underline;
}

.cc-hero-breadcrumbs-section .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

.cc-hero-breadcrumbs-section .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.8);
    margin: 0 8px;
}

.cc-subpage-hero .cc-page-hero-content {
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Fix: Ensure carousel controls appear above hero content */
.cc-subpage-hero .carousel-control-prev,
.cc-subpage-hero .carousel-control-next {
    z-index: 10 !important; /* Higher than hero content (z-index: 2) */
}

.cc-subpage-hero .section-label {
    justify-content: center;
    margin-bottom: 64px;
}

.cc-subpage-hero .hero-scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto 20px auto;
    min-height: 240px;
    justify-content: flex-start;
    width: fit-content;
}

.cc-subpage-hero .arrow-line {
    width: 2px;
    height: 0px;
    background-color: var(--cc-color-border-green); /* Lime green #BAD739 */
    transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cc-subpage-hero .arrow-head {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid var(--cc-color-border-green); /* Lime green #BAD739 */
    margin-top: -1px;
}

@media (max-width: 767.98px) {
    .cc-subpage-hero-container {
        min-height: 40vh;
    }

    .cc-subpage-hero {
        width: calc(100% - 48px);
        min-height: calc(40vh - 65px);
        margin: 40px 24px 24px 24px;
        background-attachment: scroll;
    }

    .cc-hero-breadcrumbs-section {
        top: 12px;
        padding: 0;
    }

    .cc-hero-breadcrumbs-section .breadcrumb {
        font-size: 12px;
    }

    .cc-subpage-hero .cc-page-hero-content {
        margin: 0 24px;
        max-width: calc(100% - 48px);
    }

    .cc-subpage-hero .section-label {
        margin-bottom: 40px;
    }

    .cc-subpage-hero .hero-scroll-arrow {
        margin: 40px auto 5px auto;
        min-height: 120px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-subpage-hero {
        width: calc(100% - 40px);
        min-height: calc(100vh - 60px);
        margin: 40px 20px 20px 20px;
    }

    .cc-hero-breadcrumbs-section {
        top: 15px;
    }

    .cc-subpage-hero .cc-page-hero-content {
        margin: 0 40px;
        max-width: calc(100% - 80px);
    }

    .cc-subpage-hero .hero-scroll-arrow {
        margin: 50px auto 5px auto;
        min-height: 180px;
    }
}

@media (min-width: 1200px) {
    .cc-subpage-hero {
        width: calc(100% - 60px);
        min-height: calc(100vh - 90px);
        margin: 60px 30px 30px 30px;
    }

    .cc-subpage-hero .cc-page-hero-content {
        max-width: 800px;
    }
}

/* ================================
   NO-PHOTO SUBPAGE HERO VARIANT
   ================================ */
/* No-photo variant with reduced height and no background image */
.cc-subpage-hero-no-photo.cc-subpage-hero-container {
    min-height: 400px;
}

.cc-subpage-hero-no-photo .cc-subpage-hero {
    min-height: calc(400px - 90px);
    background-image: none !important; /* Override any inline background image */
    background-color: transparent;
}

.cc-subpage-hero-no-photo .cc-subpage-hero::before {
    display: none; /* Remove the image overlay since there's no image */
}

.cc-subpage-hero-no-photo .hero-scroll-arrow {
    display: none; /* Hide scroll arrow in no-photo variant */
}

.cc-subpage-hero-no-photo .cc-page-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: var(--cc-spacing-xl);
}
.cc-subpage-hero-no-photo .cc-subpage-hero .section-label {
    margin-bottom: 32px;
}

/* Responsive adjustments for no-photo variant */
@media (max-width: 767.98px) {
    .cc-subpage-hero-no-photo.cc-subpage-hero-container {
        min-height: 270px;
    }
    
    .cc-subpage-hero-no-photo .cc-subpage-hero {
        min-height: calc(270px - 65px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-subpage-hero-no-photo.cc-subpage-hero-container {
        min-height: 300px;
    }
    
    .cc-subpage-hero-no-photo .cc-subpage-hero {
        min-height: calc(300px - 60px);
    }
}

@media (min-width: 1200px) {
    .cc-subpage-hero-no-photo.cc-subpage-hero-container {
        min-height: 300px;
    }
    
    .cc-subpage-hero-no-photo .cc-subpage-hero {
        min-height: calc(300px - 90px);
    }
}

/* ================================
   TEXT & PHOTO SECTION
   ================================ */
.cc-fullwidth-photo-section {
    width: 100%;
    position: relative;
    padding-bottom: 80px;
}

.cc-fullwidth-photo-section .container-fluid {
    max-width: 100%;
    width: 100%;
}

/* Fix for mobile overflow */
.cc-fullwidth-photo-section .text-content-row {
    padding: 80px 0;
}

.cc-fullwidth-photo-section .col-lg-6:first-child,
.cc-fullwidth-photo-section .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cc-fullwidth-photo-section .col-lg-6:last-child .cta-btn {
    margin-top: 16px;
}

.cc-fullwidth-photo-section .photo-row {
    position: relative;
    padding: 50px 50px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1920 / 1100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-fullwidth-photo-section .photo-container {
    position: relative;
    border: 2px solid var(--cc-color-border-green);
    overflow: hidden;
    width: 100%;
}

.cc-fullwidth-photo-section .section-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* Note: Theme variants are handled by global .cc-theme-* classes */

@media (max-width: 767.98px) {
    .cc-fullwidth-photo-section {
        padding-bottom: 40px;
    }

    .cc-fullwidth-photo-section .text-content-row {
        padding: 40px 0;
    }

    .cc-fullwidth-photo-section .photo-row {
        padding: 24px;
    }

    .cc-fullwidth-photo-section .photo-container {
        width: 95%;
        border-width: 2px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-fullwidth-photo-section {
        padding-bottom: 60px;
    }

    .cc-fullwidth-photo-section .text-content-row {
        padding: 60px 0;
    }

    .cc-fullwidth-photo-section .photo-row {
        padding: 40px;
    }

    .cc-fullwidth-photo-section .photo-container {
        width: 95%;
    }
}

/* ================================
   PHOTO ZOOM ANIMATION
   ================================ */
/* Note: Applied to Text & Photo section photo, but could be adapted */
.cc-fullwidth-photo-section .section-photo.photo-zoom-animate {
    transform: scale(1.2);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cc-fullwidth-photo-section .section-photo.photo-zoom-visible {
    transform: scale(1);
}

.cc-fullwidth-photo-section .section-photo.photo-zoom-animate:not(.photo-zoom-visible) {
    transform: scale(1.15);
}

@media (max-width: 767.98px) {
    .cc-fullwidth-photo-section .section-photo.photo-zoom-animate {
        transform: scale(1.15);
        transition-duration: 1s;
    }

    .cc-fullwidth-photo-section .section-photo.photo-zoom-animate:not(.photo-zoom-visible) {
        transform: scale(1.15);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-fullwidth-photo-section .section-photo.photo-zoom-animate {
        transform: scale(1.18);
        transition-duration: 1.1s;
    }

    .cc-fullwidth-photo-section .section-photo.photo-zoom-animate:not(.photo-zoom-visible) {
        transform: scale(1.18);
    }
}

/* ================================
   SPLIT CONTENT SECTION
   ================================ */
.cc-split-content-section {
    width: 100%;
    position: relative;
    padding: 80px 0;
}

.cc-split-content-section .text-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cc-split-content-section .text-content .cta-btn {
    margin-top: 16px;
}

.cc-split-content-section .photo-grid {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    height: 100%;
    min-height: 400px;
}

.cc-split-content-section .photo-item {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
}

.cc-split-content-section .photo-item:nth-child(2)::after,
.cc-split-content-section .photo-item:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--cc-color-border-green);
    pointer-events: none;
    z-index: 1;
}

.cc-split-content-section .grid-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cc-split-content-section .grid-photo:hover {
    transform: scale(1.05);
}

.cc-split-content-section .single-photo {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.cc-split-content-section .single-photo-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cc-split-content-section .single-photo-img:hover {
    transform: scale(1.02);
}

/* Note: Theme variants are handled by global .cc-theme-* classes */

@media (max-width: 767.98px) {
    .cc-split-content-section {
        padding: 40px 0;
    }

    .cc-split-content-section .text-content {
        padding: 20px;
    }

    .cc-split-content-section .photo-grid {
        padding: 20px;
        min-height: 250px;
    }

    .cc-split-content-section .single-photo {
        padding: 20px;
        min-height: 250px;
    }

    .cc-split-content-section .single-photo-img {
        max-height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-split-content-section {
        padding: 60px 0;
    }

    .cc-split-content-section .text-content {
        padding: 30px;
    }

    .cc-split-content-section .photo-grid {
        padding: 30px;
        min-height: 350px;
    }

    .cc-split-content-section .single-photo {
        padding: 30px;
        min-height: 350px;
    }

    .cc-split-content-section .single-photo-img {
        max-height: 400px;
    }
}

/* ================================
   IMAGE OVERLAY SECTION
   ================================ */
.cc-image-overlay-section {
    width: 100%;
    padding: 80px 0;
    background-color: white;
}

.cc-image-overlay-section .row>* {
    padding: 0;
}

.cc-image-overlay-section .background-image-container {
    width: 100%;
    min-height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.cc-image-overlay-section .text-content-overlay {
    background-color: var(--cc-color-bg-overlay-red);
    color: white;
    padding: 80px 60px;
    max-width: 600px;
    margin: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.cc-image-overlay-section .text-content-overlay .cta-btn {
    margin-top: 16px;
    align-self: flex-start;
}

.cc-image-overlay-section .section-label,
.cc-image-overlay-section .section-headline,
.cc-image-overlay-section .section-description {
    color: white;
}

.cc-image-overlay-section .text-content-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background-image: url('/_assets/images/2025/background-pattern.png');
    background-size: 900%;
    background-repeat: repeat-y;
    background-position: left center;
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

.cc-image-overlay-section .text-content-overlay>* {
    position: relative;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .cc-image-overlay-section {
        padding: 0;
    }

    .cc-image-overlay-section .container {
        max-width: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .cc-image-overlay-section .row {
        margin: 0;
        width: 100%;
    }

    .cc-image-overlay-section .col-12 {
        padding: 0;
    }
    
    .cc-mobile-hero-image {
        height: 320px;
        object-fit: cover;
        object-position: center;
        aspect-ratio: 16/9;
    }

    .cc-image-overlay-section .text-content-overlay {
        position: relative;
        margin: 0;
        max-width: 100%;
        width: 100%;
        padding: 48px 24px;
        background-color: var(--cc-color-bg-overlay-red);
        color: white;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .cc-image-overlay-section .text-content-overlay::after {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-image-overlay-section {
        padding: 60px 0;
    }

    .cc-image-overlay-section .background-image-container {
        min-height: 550px;
    }

    .cc-image-overlay-section .text-content-overlay {
        margin: 40px;
        max-width: 500px;
        padding: 60px 40px;
    }

    .cc-image-overlay-section .text-content-overlay::after {
        right: 0;
        width: 60px;
    }
}

/* ================================
   ARCH PHOTO SPLIT CONTENT VARIANT
   ================================ */
/* cc-arch-photo-variant defines only layout/shape, not colors - colors are defined by theme classes */

.cc-arch-photo-container {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
}

.cc-arch-photo {
    width: 100%;
    max-width: 480px;
    height: 480px;
    border-radius: 50% 50% 0 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cc-arch-photo:hover {
    transform: scale(1.02);
}

@media (max-width: 767.98px) {
    .cc-split-content-section.cc-arch-photo-variant {
        padding: 40px 0;
    }

    .cc-arch-photo-container {
        padding: 20px;
        min-height: 300px;
    }

    .cc-arch-photo {
        height: 360px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-split-content-section.cc-arch-photo-variant {
        padding: 60px 0;
    }

    .cc-arch-photo-container {
        padding: 30px;
        min-height: 400px;
    }

    .cc-arch-photo {
        height: 380px;
    }
}

@media (min-width: 1200px) {
    .cc-arch-photo {
        max-width: 520px;
        height: 520px;
    }
}

/* ================================
   CTA SECTION
   ================================ */
.cc-cta-section {
    background-color: var(--cc-color-gold);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cc-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/_assets/images/2025/background-pattern.png');
    background-size: 30%;
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 1;
}

.cc-cta-section .container {
    position: relative;
    background-color: var(--cc-color-gold);
    z-index: 2;
    padding: 80px 40px;
}

.cc-cta-section .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.cc-cta-section .section-label {
    justify-content: center;
    margin-bottom: var(--cc-spacing-lg);
}

.cc-cta-section .cta-description {
    font-family: "archer-thin-pro", serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.6;
    margin: 0 0 60px 0;
    color: #000000;
    font-style: italic;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cc-cta-section .scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0 5px 0;
    min-height: 240px;
    justify-content: flex-start;
}

.cc-cta-section .arrow-line {
    width: 2px;
    height: 0px;
    background-color: #000000;
    transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cc-cta-section .arrow-head {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #000000;
    margin-top: -1px;
}

@media (max-width: 767.98px) {
    .cc-cta-section {
        padding: 60px 0;
    }

    .cc-cta-section::before {
        background-size: 70%;
    }

    .cc-cta-section .container {
        padding: 40px 20px;
    }

    /* Use container padding instead of row margin */
    .cc-cta-section .cta-description {
        font-family: "archer-pro", serif;
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 40px;
    }

    .cc-cta-section .scroll-arrow {
        margin: 40px 0 5px 0;
        min-height: 120px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-cta-section {
        padding: 80px 0;
    }

    .cc-cta-section .container {
        padding: 50px 30px;
    }

    .cc-cta-section .cta-description {
        font-size: 19px;
    }

    .cc-cta-section .scroll-arrow {
        margin: 50px 0 5px 0;
        min-height: 180px;
    }
}


/* ================================
   CARD GRID SECTION
   ================================ */
.cc-card-grid-section {
    width: 100%;
    position: relative;
    padding: var(--cc-spacing-5xl) 0;
}

/* Section label spacing */
.cc-card-grid-section .section-label {
    margin-bottom: var(--cc-spacing-lg);
}

/* Base styles for light theme (default) */
.cc-card-grid-section.cc-theme-light {
    background-color: #ffffff;
}

.cc-card-grid-section.cc-theme-dark {
    background-color: var(--cc-color-black);
}

.cc-card-grid-section.cc-theme-blue {
    background-color: var(--cc-color-bg-blue);
}

.cc-card-grid-section.cc-theme-beige {
    background-color: var(--cc-color-bg-beige);
}

/* Headlines and descriptions */
.cc-card-grid-headline {
    font-family: "proxima-nova", "Helvetica Neue", sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 32px 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-align: left;
}

.cc-theme-light .cc-card-grid-headline {
    color: #000000;
}

.cc-theme-dark .cc-card-grid-headline {
    color: #ffffff;
}

.cc-theme-blue .cc-card-grid-headline {
    color: var(--cc-color-text-blue);
}

.cc-theme-beige .cc-card-grid-headline {
    color: var(--cc-color-black-soft);
}

.cc-card-grid-description {
    font-family: "proxima-nova", "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 40px 0;
    text-align: left;
    max-width: 900px;
}

.cc-theme-light .cc-card-grid-description {
    color: #000000;
}

.cc-theme-dark .cc-card-grid-description {
    color: #ffffff;
}

.cc-theme-blue .cc-card-grid-description {
    color: var(--cc-color-text-blue);
}

.cc-theme-beige .cc-card-grid-description {
    color: var(--cc-color-black-soft);
}

/* Card styles */
.cc-card-grid-card {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Theme-specific card backgrounds */
.cc-theme-light .cc-card-grid-card {
    background-color: #F8F5F0;
}

.cc-theme-dark .cc-card-grid-card {
    background-color: #2a2a2a;
}

.cc-theme-blue .cc-card-grid-card {
    background-color: #e8f4f8;
}

.cc-theme-beige .cc-card-grid-card {
    background-color: #ffffff;
}

.cc-card-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cc-shadow-medium);
}

.cc-card-grid-image-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.cc-card-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.cc-card-grid-card:hover .cc-card-grid-image {
    transform: scale(1.05);
}

.cc-card-grid-content {
    padding: 40px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cc-card-grid-title {
    font-family: "proxima-nova", "Helvetica Neue", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin: 0;
}

/* Theme-specific title colors */
.cc-theme-light .cc-card-grid-title {
    color: #000000;
}

.cc-theme-dark .cc-card-grid-title {
    color: #ffffff;
}

.cc-theme-blue .cc-card-grid-title {
    color: var(--cc-color-text-blue);
}

.cc-theme-beige .cc-card-grid-title {
    color: var(--cc-color-black-soft);
}

.cc-card-grid-text {
    font-family: "proxima-nova", "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Theme-specific text colors */
.cc-theme-light .cc-card-grid-text {
    color: #000000;
}

.cc-theme-dark .cc-card-grid-text {
    color: #ffffff;
}

.cc-theme-blue .cc-card-grid-text {
    color: var(--cc-color-text-blue);
}

.cc-theme-beige .cc-card-grid-text {
    color: var(--cc-color-black-soft);
}

.cc-card-grid-content .cta-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Mobile responsive styles */
@media (max-width: 767.98px) {
    .cc-card-grid-section {
        padding: 60px 0;
    }
    
    .cc-card-grid-headline {
        font-size: 36px;
        margin-bottom: 24px;
    }
    
    .cc-card-grid-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 32px;
    }
    
    .cc-card-grid-image-container {
        height: 200px;
    }
    
    .cc-card-grid-content {
        padding: 24px 20px;
        gap: 16px;
    }
    
    .cc-card-grid-title {
        font-size: 20px;
    }
    
    .cc-card-grid-text {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Tablet responsive styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-card-grid-section {
        padding: 70px 0;
    }
    
    .cc-card-grid-headline {
        font-size: 40px;
        margin-bottom: 28px;
    }
    
    .cc-card-grid-description {
        font-size: 18px;
        margin-bottom: 36px;
    }
    
    .cc-card-grid-image-container {
        height: 240px;
    }
    
    .cc-card-grid-content {
        padding: 32px 24px;
        gap: 18px;
    }
    
    .cc-card-grid-title {
        font-size: 22px;
    }
}

/* Large desktop styles */
@media (min-width: 1200px) {
    .cc-card-grid-image-container {
        height: 300px;
    }
}

/* ================================
   CARD CAROUSEL SECTION
   ================================ */
.cc-card-carousel-section {
    width: 100%;
    position: relative;
    padding: var(--cc-spacing-5xl) 0;
    /* Mountain background image positioned at bottom right */
    background-image: url('/_assets/images/2025/mountain-bg3.jpg');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: scroll;
}

.cc-carousel-content {
    display: flex;
    flex-direction: column;
    gap: var(--cc-spacing-xl);
    padding-right: var(--cc-spacing-2xl);
}

/* Hide old left-side navigation controls */
.cc-carousel-controls {
    display: none;
}

.cc-carousel-prev,
.cc-carousel-next {
    display: none;
}

.cc-carousel-dots {
    display: none;
}

.cc-carousel-dot {
    display: none;
}

.cc-carousel-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

.cc-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.cc-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

.cc-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 480px;
    height: 100%;
    opacity: 0;
    transform: translateX(100px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.cc-carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
    pointer-events: auto;
}

.cc-carousel-slide.next {
    opacity: 0.5;
    transform: translateX(350px) scale(0.8);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

/* Next card hover arrow indicator */
.cc-carousel-slide.next::after {
    content: "\ee71"; /* icon-arrow-left character */
    font-family: "Nucleo";
    font-size: 36px;
    color: var(--cc-color-white);
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.cc-carousel-slide.next:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1.05);
}

.cc-carousel-slide.prev {
    opacity: 0;
    transform: translateX(-100px) scale(0.8);
    z-index: 1;
    pointer-events: none;
}

.cc-carousel-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background-color: var(--cc-color-white);
    transition: var(--cc-transition-base);
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: var(--cc-shadow-light);
}

.cc-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cc-shadow-medium);
}

.cc-carousel-card-image {
    width: calc(100% - var(--cc-spacing-4xl));
    height: 200px;
    margin: var(--cc-spacing-2xl) var(--cc-spacing-2xl) 0 var(--cc-spacing-2xl);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border-radius: 0;
}

.cc-carousel-card-content {
    padding: var(--cc-spacing-lg) var(--cc-spacing-2xl) var(--cc-spacing-2xl) var(--cc-spacing-2xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--cc-spacing-md);
    position: relative;
}

.cc-carousel-card-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    /* background-image: url('/_assets/images/2025/background-pattern.png'); */
    background-size: 30%;
    background-repeat: repeat-x;
    background-position: left bottom;
    opacity: 0.15;
    pointer-events: none;
}

.cc-carousel-card-title {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-2xl);
    line-height: 1.3;
    margin: 0;
}

.cc-carousel-card-text {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-normal);
    font-size: var(--cc-font-size-md);
    line-height: 1.6;
    margin: 0 0 var(--cc-spacing-lg) 0;
    flex: 1;
}

/* Decorative bottom stripe for cards */
.cc-carousel-card-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #EAB337 0%, #EAB337 100%);
    pointer-events: none;
}

/* Bottom navigation controls with prev/next buttons */
.cc-carousel-controls-bottom {
    display: flex;
    gap: var(--cc-spacing-sm);
    align-items: center;
    margin-top: var(--cc-spacing-xl);
    max-width: 200px; /* Constrain width for proper spacing */
}

/* Square navigation buttons */
.cc-carousel-nav-button {
    width: 28px;
    height: 28px;
    background-color: #aaaaaa;
    border: none;
    border-radius: 0; /* Square design */
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.cc-carousel-nav-button:hover {
    background-color: #333333;
    color: #ffffff;
    transform: translateY(-1px);
}

.cc-carousel-nav-button:focus {
    outline: 2px solid var(--cc-color-gold);
    outline-offset: 2px;
}

.cc-carousel-nav-button .icon {
    font-size: 12px;
    line-height: 1;
}

.cc-carousel-dots-container {
    background-color: #000000; /* Black background from Figma */
    padding: 12px 12px; /* Match photo slider padding */
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px; /* Fixed height from Figma */
}

.cc-carousel-controls-bottom .cc-carousel-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.cc-carousel-controls-bottom .cc-carousel-dot {
    display: flex !important; /* Force display - override conflicting styles */
    width: 6px;
    height: 6px;
    border-radius: 40px; /* Fully rounded */
    border: none;
    background-color: #dfdfdf; /* Gray color from Figma to match photo slider */
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 1;
}

.cc-carousel-controls-bottom .cc-carousel-dot.active {
    background-color: #ffffff; /* White for active state */
    width: 36px; /* Elongated pill shape to match photo slider */
    height: 12px;
    border-radius: 30px;
}

.cc-carousel-controls-bottom .cc-carousel-dot:hover {
    opacity: 0.8;
}

/* Desktop: Controls wrapper positioned using CSS Grid */
@media (min-width: 768px) {
    .cc-card-carousel-section .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .cc-card-carousel-section .container > .row {
        grid-column: 1;
        grid-row: 1;
    }
    
    .cc-carousel-controls-wrapper {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: end;
        z-index: 10;
        pointer-events: none;
        margin-left: 5px;
    }
    
    .cc-carousel-controls-wrapper .cc-carousel-controls-bottom {
        pointer-events: all;
        margin-top: 0;
        max-width: 200px;
    }
}

/* Note: Card Carousel theme variants are handled by global .cc-theme-* classes */

@media (max-width: 767.98px) {
    .cc-card-carousel-section {
        padding: var(--cc-spacing-4xl) 0;
        /* Hide mountain background on mobile for performance and cleaner layout */
        background-image: none;
    }

    /* Enable flexbox for the row to create mobile layout order */
    .cc-card-carousel-section .row {
        display: flex !important;
        flex-direction: column;
    }

    /* Content (text only) appears first on mobile */
    .cc-card-carousel-section .col-lg-6:first-child {
        order: 1;
        margin-bottom: var(--cc-spacing-xl);
    }

    /* Carousel appears second on mobile */  
    .cc-card-carousel-section .col-lg-6:last-child {
        order: 2;
        margin-bottom: var(--cc-spacing-xl);
    }

    /* Within the content column, separate controls from content */
    .cc-carousel-content {
        display: flex;
        flex-direction: column;
        padding-right: 0;
        gap: var(--cc-spacing-md);
    }

    /* Move controls outside the natural flow to appear after carousel */
    .cc-carousel-controls-wrapper {
        order: 3; /* Appears after carousel column */
        align-self: center;
        display: flex;
        justify-content: center;
        margin-top: 0;
        width: 100%;
    }

    .cc-carousel-controls {
        display: none; /* Hide old left-side controls */
    }

    .cc-carousel-controls-bottom {
        max-width: 180px; /* Slightly smaller on mobile */
        margin: 0; /* Reset margins since wrapper handles centering */
    }
    
    .cc-carousel-nav-button {
        width: 32px; /* Larger for touch on mobile */
        height: 32px;
    }
    
    .cc-carousel-nav-button .icon {
        font-size: 14px; /* Slightly larger icon on mobile */
    }

    .cc-carousel-dots-container {
        padding: 8px 10px;
        height: 24px;
    }

    .cc-carousel-slide {
        width: 320px;
    }

    .cc-carousel-slide.next {
        transform: translateX(280px) scale(0.75);
    }

    .cc-carousel-wrapper {
        height: 80vh;
    }

    .cc-carousel-card {
        max-width: 320px;
    }

    .cc-carousel-card-image {
        height: 140px;
        width: calc(100% - var(--cc-spacing-2xl));
        margin: var(--cc-spacing-lg) var(--cc-spacing-lg) 0 var(--cc-spacing-lg);
    }

    .cc-carousel-card-content {
        padding: var(--cc-spacing-lg) var(--cc-spacing-lg) var(--cc-spacing-xl) var(--cc-spacing-lg);
    }

    /* Hide hover arrow on mobile for cleaner experience */
    .cc-carousel-slide.next::after {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-card-carousel-section {
        padding: var(--cc-spacing-4xl) 0;
    }

    .cc-carousel-wrapper {
        height: 575px;
    }

    .cc-carousel-slide {
        width: 400px;
    }

    .cc-carousel-slide.next {
        transform: translateX(320px) scale(0.8);
    }

    .cc-carousel-card {
        max-width: 400px;
    }

    .cc-carousel-card-image {
        height: 180px;
    }

    /* Adjust hover arrow size for tablet screens */
    .cc-carousel-slide.next::after {
        font-size: 40px;
        width: 64px;
        height: 64px;
        right: 16px;
    }
}

@media (min-width: 1200px) {
    .cc-card-carousel-section {
        /* Optimize mountain background size for larger screens */
        background-size: 100%;
    }
    
    .cc-carousel-wrapper {
        height: 650px;
    }

    .cc-carousel-slide {
        width: 520px;
    }

    .cc-carousel-slide.next {
        transform: translateX(380px) scale(0.8);
    }

    .cc-carousel-card {
        max-width: 520px;
    }

    .cc-carousel-card-image {
        height: 280px;
    }

    /* Optimize hover arrow for large screens */
    .cc-carousel-slide.next::after {
        font-size: 36px;
        width: 48px;
        height: 48px;
        right: 32px;
    }
}


/* ================================
   CARD DECK SECTION
   ================================ */
.cc-bg-gold-op15 {
    background-color: rgba(234, 179, 55, 0.15);
}

.cc-card-deck .card {
    transition: var(--cc-transition-base);
    box-shadow: var(--cc-shadow-light);
}
.cc-card-deck .card .card-title {
  margin-top: var(--bs-card-title-spacer-y);
}
.cc-card-deck .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cc-shadow-medium);
}


/* ================================
   ACCORDION STYLES
   ================================ */
.accord-sh {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
}    

.accord-sh span {
    text-decoration: underline;
    cursor: pointer;
    font-style: italic;
}        

.accordion .card {
    border: none;
    border-radius: 0;
}   

.accordion .card .card-header {
    padding: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.accordion .card:nth-child(even) .card-header {
    background-color: var(--cc-color-black-soft);
}
.accordion .card:nth-child(even) .card-title .accordion-button {
    color: #fff !important;
}

.accordion .card .card-body {
    border-radius: 0;
}

.accordion .card .card-title .accordion-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none !important;
    text-align: left;
}

.accordion .card .card-title .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion .card .card-title .accordion-button.collapsed::after {
    content: "\f078";
    font-family: 'Font Awesome 5 Pro', 'Nucleo';
    background-image: none;
    width: 32px;
    height: 32px;
    background-color: transparent;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
}

.accordion .card .card-title .accordion-button:not(.collapsed)::after {
    content: "\f077";
    font-family: 'Font Awesome 5 Pro', 'Nucleo';
    background-image: none;
    background-color: var(--cc-color-black);
    color: var(--cc-color-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    transform: translateY(-50%);
}

.accordion .card .card-title .accordion-button::after {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-weight: normal;
    color: inherit;
    background-image: none;
    transition: background-color 0.3s ease;
}

.accordion .card .card-title .accordion-button i {
    margin-right: 8px;    
}

/* Override Bootstrap 5 accordion defaults */
.accordion-button:not(.collapsed) {
    color: inherit;
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-collapse {
    border: none;
}


/* ================================
   PHOTO CAROUSEL SECTION
   ================================ */
.cc-photo-carousel-section {
    width: 100%;
    position: relative;
    padding: var(--cc-spacing-2xl) 0 var(--cc-spacing-5xl) 0;
}

.cc-photo-carousel-section .text-content-row {
    padding: 80px 0;
    margin-bottom: 0;
}

.cc-photo-carousel-section .text-content-row .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 40px;
}

.cc-photo-carousel-section .text-content-row .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 40px;
}

.text-content-row .cta-btn {
    margin-top: 16px;
    align-self: flex-start;
}

.cc-photo-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

.cc-photo-slider-wrapper {
    position: relative;
    width: 100%;
    height: 561px; /* Fixed height from Figma */
}

.cc-photo-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.cc-photo-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 981px; /* Fixed width from Figma */
    max-width: 85%; /* Responsive fallback */
    height: 100%;
    opacity: 0;
    transform: translateX(-50%) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    border-radius: 0; /* No border radius per Figma */
    overflow: hidden;
}

.cc-photo-slide.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    pointer-events: auto;
}

.cc-photo-slide.prev {
    width: 869px; /* Width from Figma */
    max-width: 75%;
    opacity: 0.5; /* 50% opacity from Figma */
    transform: translateX(-120%) scale(0.89); /* Adjusted scale */
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
}

.cc-photo-slide.next {
    width: 881px; /* Width from Figma */
    max-width: 75%;
    opacity: 0.5; /* 50% opacity from Figma */
    transform: translateX(20%) scale(0.9); /* Adjusted scale */
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
}

/* Gradient overlays for side preview images */
.cc-photo-slide.prev::after,
.cc-photo-slide.next::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    pointer-events: none;
    z-index: 3;
}

.cc-photo-slide.prev::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.cc-photo-slide.next::after {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

/* Enhanced hover effects for clickable slides */
.cc-photo-slide.prev:hover,
.cc-photo-slide.next:hover,
.cc-photo-slide.active:hover {
    opacity: 0.95;
}

.cc-photo-slide.prev:hover {
    transform: translateX(-115%) scale(0.92);
}

.cc-photo-slide.next:hover {
    transform: translateX(15%) scale(0.92);
}

/* Enhanced cursor feedback for all clickable slides */
.cc-photo-slide.prev,
.cc-photo-slide.next,
.cc-photo-slide.active {
    cursor: pointer;
}

/* Add subtle visual cue for active slide clickability */
.cc-photo-slide.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    transition: background-color 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.cc-photo-slide.active:hover::before {
    background: rgba(255, 255, 255, 0.05);
}

.cc-photo-slide-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    border-radius: 0; /* Remove border radius since parent has it */
    transition: transform 0.3s ease;
    display: block;
}

.cc-photo-slide.active:hover .cc-photo-slide-image {
    transform: scale(1.05);
}

.cc-photo-slide.next:hover .cc-photo-slide-image,
.cc-photo-slide.prev:hover .cc-photo-slide-image {
    transform: scale(1.02);
}

.cc-photo-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--cc-spacing-xl);
}

.cc-photo-slider-controls-bg {
    padding: 12px 12px; /* Match Figma padding */
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cc-spacing-sm);
    height: 28px; /* Fixed height from Figma */
}

.cc-photo-slider-dots {
    background-color: #000000; /* Black background from Figma */
    display: flex;
    padding: 8px;
    gap: 4px; /* Smaller gap from Figma */
    align-items: center;
}

.cc-photo-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 40px; /* Fully rounded */
    border: none;
    background-color: #dfdfdf; /* Gray color from Figma */
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 1;
}

.cc-photo-slider-dot:hover {
    opacity: 0.8;
}

/* Photo slider navigation buttons */
.cc-photo-slider-nav-button {
    width: 28px;
    height: 28px;
    background-color: #999999;
    border: none;
    border-radius: 0; /* Square design */
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.cc-photo-slider-nav-button:hover {
    background-color: #333333;
    color:#ffffff;
    transform: translateY(-1px);
}

.cc-photo-slider-nav-button:focus {
    outline: 2px solid var(--cc-color-gold);
    outline-offset: 2px;
}

.cc-photo-slider-nav-button .icon {
    font-size: 12px;
    line-height: 1;
}

.cc-photo-slider-dot.active {
    background-color: #ffffff; /* White for active state */
    width: 36px; /* Elongated pill shape */
    height: 12px;
    border-radius: 30px;
}

/* Photo Carousel Arrow Navigation - Now using prev/next buttons in controls */

/* ================================
   PHOTO CAPTION STYLES
   ================================ */
.cc-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    margin: var(--cc-spacing-xl);
    max-width: 70%;
    align-items: stretch;
    background: transparent;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 4;
}

.cc-photo-caption-stripe {
    width: 15px;
    background-color: #008aa2; /* Teal stripe color from Figma */
    flex-shrink: 0;
}

.cc-photo-caption-content {
    flex: 1;
    background: #b9d9eb; /* Light blue background from Figma */
    backdrop-filter: blur(8px);
    padding: var(--cc-spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--cc-spacing-lg);
    /* min-height: 140px;  */
    align-items: flex-start; /* Top-align content to prevent jumping */
    overflow: hidden; /* Handle edge cases with long content */
}

/* Only show caption on active slide */
.cc-photo-slide.active .cc-photo-caption {
    opacity: 1;
    pointer-events: auto;
}

.cc-photo-caption-headline {
    font-family: var(--cc-font-family-heading);
    font-size: 24px; /* From Figma: Display/24 Bold */
    font-weight: 700;
    color: #152b3c; /* Darker text color for better contrast */
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.24px;
}

.cc-photo-caption-text {
    font-family: var(--cc-font-family-body);
    font-size: 16px; /* From Figma: Body/Medium/Regular */
    line-height: 1.5;
    color: #152b3c; /* Match headline color for consistency */
    margin: 0;
    max-width: 641px; /* From Figma specifications */
}

/* Hide captions on prev/next slides */
.cc-photo-slide.prev .cc-photo-caption,
.cc-photo-slide.next .cc-photo-caption {
    opacity: 0;
    /* transform: translateY(20px); */
    pointer-events: none;
}

/* Note: Photo Carousel theme variants are handled by global .cc-theme-* classes */

@media (max-width: 767.98px) {
    .cc-photo-carousel-section {
        padding: var(--cc-spacing-4xl) 0;
    }

    /* Full-width mobile carousel container */
    .cc-photo-slider-container {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        position: relative;
        overflow: hidden;
    }

    .cc-photo-carousel-section .text-content-row {
        padding: 40px 0;
    }

    .cc-photo-carousel-section .text-content-row .col-lg-6:first-child,
    .cc-photo-carousel-section .text-content-row .col-lg-6:last-child {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 24px;
    }

    .cc-photo-carousel-section .text-content-row .col-lg-6:last-child {
        margin-bottom: 0;
    }

    .cc-photo-slider-wrapper {
        height: auto; /* Let height be determined by content */
        width: 100%;
        padding: 0 16px; /* Add horizontal padding for content spacing */
    }

    .cc-photo-slider-track {
        position: relative; /* Provide positioning context for absolute slides */
        width: 100%;
        /* min-height: calc((100vw - 32px) * 209 / 364 + 180px); */
        min-height: 450px;
        display: block; /* Block layout for mobile */
        overflow: hidden; /* Ensure slides don't extend beyond track */
    }

    /* Mobile image styling to match Figma aspect ratio */
    .cc-photo-slide-image {
        width: 100%;
        aspect-ratio: 364 / 209; /* From Figma: 364x209 aspect ratio */
        object-fit: cover;
        object-position: center;
    }

    /* On mobile, use stacked layout with image above caption */
    .cc-photo-slide {
        position: absolute; /* Keep absolute positioning to prevent stacking */
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        transform: translateX(0) scale(1);
        border-radius: 0;
        opacity: 0;
        display: flex;
        flex-direction: column;
        height: auto; /* Let height be determined by content */
        padding: 0; /* Remove any padding on mobile */
    }

    .cc-photo-slide.active {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    /* Hide side preview slides on mobile (active slide click and swipe/touch navigation only) */
    .cc-photo-slide.next,
    .cc-photo-slide.prev {
        opacity: 0;
        transform: translateX(0) scale(1);
        pointer-events: none; /* Disable click on side previews on mobile */
    }
    
    /* Ensure active slide remains clickable on mobile */
    .cc-photo-slide.active {
        cursor: pointer;
        pointer-events: auto;
    }

    /* Hide arrow navigation on mobile */
    .cc-photo-slider-prev,
    .cc-photo-slider-next,
    .cc-photo-slider-nav-button {
        display: none;
    }

    .cc-photo-slider-controls {
        position: relative; /* Ensure proper stacking context */
        margin-top: var(--cc-spacing-2xl); /* Increase margin for better separation */
        gap: var(--cc-spacing-sm);
        z-index: 10; /* Ensure controls stay above slide content */
    }

    .cc-photo-slider-controls-bg {
        position: relative; /* Ensure background has stacking context */
        z-index: 11; /* Higher than controls container */
        justify-content: center; /* Center dots on mobile */
    }

    /* Mobile navigation dots - same styling as desktop */
    .cc-photo-slider-dot {
        width: 6px;
        height: 6px;
    }

    .cc-photo-slider-dot.active {
        width: 24px; /* Elongated active dot */
        height: 6px;
    }

    /* Mobile caption styles - positioned below image in stacked layout */
    .cc-photo-caption {
        position: static; /* Remove absolute positioning */
        margin: 0;
        max-width: 100%;
        opacity: 0; /* Start hidden, fade in with slide */
        transition: opacity 0.3s ease;
        pointer-events: auto;
    }

    /* Show caption on active slide - mobile */
    .cc-photo-slide.active .cc-photo-caption {
        opacity: 1;
    }

    .cc-photo-caption-stripe {
        width: 8px; /* From Figma: w-2 = 8px */
    }

    .cc-photo-caption-content {
        padding: 16px; /* From Figma: uniform 16px padding */
        gap: 4px; /* From Figma: gap-1 = 4px */
        min-height: 120px; /* Fixed height for mobile to prevent jarring transitions */
        align-items: flex-start; /* Top-align content */
        overflow: hidden; /* Handle edge cases */
    }

    .cc-photo-caption-headline {
        font-size: 20px; /* From Figma: Display/20 Bold */
        letter-spacing: -0.2px; /* From Figma: tracking-[-0.2px] */
        line-height: 1.1; /* From Figma */
    }

    .cc-photo-caption-text {
        font-size: 16px; /* From Figma: Body/Medium/Regular */
        line-height: 1.5; /* From Figma */
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-photo-carousel-section {
        padding: var(--cc-spacing-4xl) 0;
    }

    .cc-photo-carousel-section .text-content-row {
        padding: 60px 0;
    }

    .cc-photo-carousel-section .text-content-row .col-lg-6:first-child {
        padding-right: 30px;
    }

    .cc-photo-carousel-section .text-content-row .col-lg-6:last-child {
        padding-left: 30px;
    }

    .cc-photo-slider-wrapper {
        height: 50vh;
        min-height: 300px;
        max-height: 500px;
    }

    /* On tablet, maintain side preview layout with smaller padding */
    .cc-photo-slide {
        padding: 0 15px;
    }

    .cc-photo-slider-controls {
        margin-top: var(--cc-spacing-xl);
    }
    
    .cc-photo-slider-nav-button {
        width: 32px; /* Larger for touch on tablet */
        height: 32px;
    }
    
    .cc-photo-slider-nav-button .icon {
        font-size: 14px; /* Slightly larger icon on tablet */
    }

    /* Tablet caption styles */
    .cc-photo-caption-stripe {
        width: 12px;
    }

    .cc-photo-caption-content {
        padding: var(--cc-spacing-lg) var(--cc-spacing-xl);
        /* min-height: 130px; */ 
        align-items: flex-start; /* Top-align content */
        overflow: hidden; /* Handle edge cases */
    }

    .cc-photo-caption-headline {
        font-size: 22px;
    }

    .cc-photo-caption-text {
        font-size: 15px;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .cc-photo-slider-wrapper {
        height: 70vh;
        min-height: 500px;
        max-height: 700px;
    }

    .cc-subsite-content-sidebarright .cc-photo-slider-wrapper {
        height: 60vh;
        min-height: 450px;
        max-height: 650px;
    }

    .cc-photo-slider-dot {
        width: 12px;
        height: 12px;
    }
}

/* ================================
   LAND ACKNOWLEDGMENT SECTION
   ================================ */
.cc-land-acknowledgment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 96px 60px 256px;
    gap: 32px;
    isolation: isolate;
    width: 100%;
    min-height: 457px;
    background: #B9D9EB;
    position: relative;
    overflow: hidden;
}

.cc-land-acknowledgment::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 375px;
    left: 0;
    bottom: 0;
    background: #B9D9EB url('/_assets/images/2025/pikes-peak-tava-mountain.jpg') center bottom no-repeat;
    background-size: contain;
    z-index: 0;
}

.cc-land-acknowledgment-content {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cc-land-acknowledgment-text {
    font-family: "archer-pro", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 160%;
    text-align: center;
    color: #20445A;
    margin: 0;
    width: 100%;
    max-width: 1160px;
}

/* Mobile responsive styles for land acknowledgment */
@media (max-width: 767.98px) {
    .cc-land-acknowledgment {
        padding: 48px 24px 128px;
        min-height: 300px;
    }

    .cc-land-acknowledgment::before {
        height: 250px;
        bottom: 0;
    }

    .cc-land-acknowledgment-text {
        font-size: 18px;
        line-height: 150%;
    }
}

/* Tablet responsive styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-land-acknowledgment {
        padding: 72px 40px 192px;
        min-height: 380px;
    }

    .cc-land-acknowledgment::before {
        height: 320px;
        bottom: -140px;
    }

    .cc-land-acknowledgment-text {
        font-size: 20px;
    }
}

@media (min-width: 2400px) {
    .cc-land-acknowledgment::before {
        bottom: -100px;
        background-size: cover;
    }
}

/* ================================
   EVENTS SECTION STYLES
   ================================ */

/* Events Section Base Styles */
.cc-content-section.cc-events-section {
    background-color: #ffffff;
}

.cc-events-title {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cc-events-more-link {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.cc-events-more-link:hover {
    color: #EAB337;
    text-decoration: underline;
    transform: translateY(-2px);
}

/* Decorative Border */
.cc-events-border {
    height: 20px;
    background-image: url('/_assets/images/2025/diamond-border.svg');
    background-repeat: repeat-x;
    background-size: auto 20px;
    border-right: 1px solid #EAB337;
    width: 100%;
}

/* Events Grid Layout */
.cc-content-sidebar .cc-events-grid {
    grid-template-columns: auto;
    grid-template-rows: auto;
}
.cc-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr; 
    gap: 10px 10px;
}


/* Event Item Links */
.cc-events-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #F8F8F8;
    transition: transform 0.2s ease;
}

.cc-events-item-link:hover {
    transform: translateY(-2px);
}

.cc-events-item-link:focus {
    outline: 2px solid #EAB337;
    outline-offset: 2px;
}

/* Event Item Cards */
.cc-events-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: none;
}

/* Event Date Box */
.cc-events-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 60px;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #EAB337;
    border-bottom: 4px solid #EAB337;
    flex-shrink: 0;
    padding: 8px 4px;
}

.cc-events-day {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cc-events-date {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

.cc-events-dash {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    margin: 4px 0;
}

/* Event Content */
.cc-events-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cc-events-category {
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.cc-events-title-text {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-events-datetime {
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
    margin: 0;
}

.cc-events-learn-more {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    margin-top: 4px;
}

/* Rotating Brand Colors for Date Box Borders */
.cc-events-item-link:nth-child(1) .cc-events-date-box {
    border-color: #EAB337;
    /* Primary Gold */
}

.cc-events-item-link:nth-child(2) .cc-events-date-box {
    border-color: #288AA1;
    /* Info Blue */
}

.cc-events-item-link:nth-child(3) .cc-events-date-box {
    border-color: #2E6B47;
    /* Success Green */
}

.cc-events-item-link:nth-child(4) .cc-events-date-box {
    border-color: #CEDA42;
    /* Tava */
}

.cc-events-item-link:nth-child(5) .cc-events-date-box {
    border-color: #C84E3C;
    /* Danger Red */
}

.cc-events-item-link:nth-child(6) .cc-events-date-box {
    border-color: #9B7DAE;
    /* Lavender */
}

.cc-events-item-link:nth-child(7) .cc-events-date-box {
    border-color: #EAB337;
    /* Primary Gold */
}

.cc-events-item-link:nth-child(8) .cc-events-date-box {
    border-color: #288AA1;
    /* Info Blue */
}

.cc-events-item-link:nth-child(9) .cc-events-date-box {
    border-color: #2E6B47;
    /* Success Green */
}

/* Mobile Layout */
@media (max-width: 767.98px) {
    .cc-events-title {
        font-size: 32px;
    }

    .cc-events-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .cc-events-item {
        gap: 12px;
    }

    .cc-events-date-box {
        width: 50px;
        min-height: 58px;
        padding: 6px 2px;
    }

    .cc-events-day {
        font-size: 9px;
    }

    .cc-events-date {
        font-size: 14px;
    }

    .cc-events-dash {
        font-size: 12px;
        margin: 2px 0;
    }

    .cc-events-title-text {
        font-size: 15px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }

    .cc-events-category {
        font-size: 10px;
    }

    .cc-events-datetime {
        font-size: 12px;
    }

    .cc-events-learn-more {
        font-size: 12px;
    }
}

/* Tablet Layout */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-events-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 32px 24px;
    }

    .cc-events-title-text {
        font-size: 15px;
    }
}

/* ================================
   NEWS SECTION STYLES
   ================================ */

/* News Section Base Styles */
.cc-content-section.cc-news-section {
    background-color: #ffffff;
}

.cc-news-title {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cc-news-more-link {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.cc-news-more-link:hover {
    color: #EAB337;
    text-decoration: underline;
    transform: translateY(-2px);
}

/* Decorative Border */
.cc-news-border {
    height: 20px;
    background-image: url('/_assets/images/2025/diamond-border.svg');
    background-repeat: repeat-x;
    background-size: auto 20px;
    border-right: 1px solid #EAB337;
    width: 100%;
}

/* News Grid - Desktop Layout (2 rows, 3 columns) */
.cc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px 10px;
}

/* News Grid - Desktop Layout w/sidebar (2 rows, 2 columns) */
.cc-subsite-content-sidebarright .cc-news-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* News Item Link Wrapper */
.cc-news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.cc-news-item-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.cc-news-item-link:focus {
    outline: 2px solid #EAB337;
    outline-offset: 2px;
}

/* News Item Base Styles */
.cc-news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    cursor: pointer;
    background-color: #F5F5F5;
    padding: 20px;
    border-radius: 0;
}

.cc-news-content {
    flex: 1;
    min-width: 0;
}

.cc-news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    margin-top: 10px;
    overflow: hidden;
    border: 2px solid #EAB337;
    /* Default fallback */
    border-bottom: 4px solid #EAB337;
    /* Thicker bottom border */
}

/* make images smaller in sidebar layout */
.cc-content-sidebar .cc-news-image {
    width: 80px;
    height: 80px; 
}

/* News topic-based colors for icons and image borders */

/* Base styles for all news topic icons */
[class*="cc-news-topic-"] .cc-news-topic .icon-tc {
    font-size: 18px;
    transform: translateY(4px);
}

/* News - General news and announcements */
.cc-news-topic-news .cc-news-topic .icon-tc {
    color: #CEDA42;
    /* Tava Yellow-Green */
}
.cc-news-topic-news .cc-news-image {
    border-color: #CEDA42;
    /* Tava Yellow-Green */
}

/* Interdisciplinary - Cross-disciplinary studies and programs */
.cc-news-topic-interdisciplinary .cc-news-topic .icon-tc {
    color: #288AA1;
    /* Info Blue */
}
.cc-news-topic-interdisciplinary .cc-news-image {
    border-color: #288AA1;
    /* Info Blue */
}

/* Academics - Academic programs, research, and studies */
.cc-news-topic-academics .cc-news-topic .icon-tc {
    color: #2E6B47;
    /* Success Green */
}
.cc-news-topic-academics .cc-news-image {
    border-color: #2E6B47;
    /* Success Green */
}

/* Athletics - Sports and athletic achievements */
.cc-news-topic-athletics .cc-news-topic .icon-tc {
    color: #EAB337;
    /* Primary Gold */
}
.cc-news-topic-athletics .cc-news-image {
    border-color: #EAB337;
    /* Primary Gold */
}

/* Sustainability - Environmental and sustainability initiatives */
.cc-news-topic-sustainability .cc-news-topic .icon-tc {
    color: #C84E3C;
    /* Danger Red */
}
.cc-news-topic-sustainability .cc-news-image {
    border-color: #C84E3C;
    /* Danger Red */
}

/* Literature - Literature, arts, and humanities */
.cc-news-topic-literature .cc-news-topic .icon-tc {
    color: #9B7DAE;
    /* Lavender Purple */
}
.cc-news-topic-literature .cc-news-image {
    border-color: #9B7DAE;
    /* Lavender Purple */
}

.cc-news-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* News Item Typography */
.cc-news-topic {
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}


.cc-news-headline {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
    margin: 0 0 12px 0;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-news-read-more {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

/* Hover effect for read more when entire card is hovered */
.cc-news-item-link:hover .cc-news-read-more {
    color: #EAB337;
}

/* Mobile Layout */
@media (max-width: 767.98px) {
    .cc-news-title {
        font-size: 32px;
    }

    .cc-news-more-link {
        font-size: 14px;
    }

    .cc-news-grid {
        display: block;
    }

    .cc-news-item-link {
        margin-bottom: 48px;
    }

    .cc-news-item {
        flex-direction: row;
        margin-bottom: 48px;
        gap: 16px;
        align-items: flex-start;
    }

    .cc-news-item:last-child {
        margin-bottom: 0;
    }

    .cc-news-image {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .cc-news-content {
        flex: 1;
        min-width: 0;
    }

    .cc-news-headline {
        font-size: 16px;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .cc-news-topic {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .cc-news-read-more {
        font-size: 13px;
    }
}

/* Tablet Layout */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-news-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 32px 24px;
    }

    .cc-news-image {
        width: 100px;
        height: 75px;
    }

    .cc-news-headline {
        font-size: 15px;
    }
}

/* ========================================
   ARCHWAY CALLOUT SECTION
   ======================================== */

/* Archway Callout Section */
.cc-archway-callout {
    background-color: #000000;
    color: #ffffff;
    padding: 96px 0 32px 0;
    width: 100%;
    position: relative;
}

.cc-archway-callout .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    margin: 0 auto;
    text-align: center;
}

.cc-archway-callout .callout-headline {
    font-family: "archer-pro", "Georgia", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 52px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
    max-width: 1160px;
}

.cc-archway-callout .headline-emphasis {
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
}

.cc-archway-callout .callout-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 570px;
}

.cc-archway-callout .cta-btn {
    align-self: center;
}

.cc-archway-callout .callout-description {
    font-family: "proxima-nova", "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* Archway Photos */
.cc-archway-callout .archway-photos {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    position: relative;
}

.cc-archway-callout .archway-photo {
    flex: 1;
    max-width: 420px;
    height: 480px;
    border-radius: 50% 50% 0 0;
    position: relative;
    background-size: 1280px;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Position background image for each archway to show different portions */
.cc-archway-callout .archway-photo:nth-child(1) {
    background-position: 0 center;
}

.cc-archway-callout .archway-photo:nth-child(2) {
    background-position: -430px center;
}

.cc-archway-callout .archway-photo:nth-child(3) {
    background-position: -860px center;
}

.cc-archway-callout .archway-photo:hover {
    transform: scale(1.02);
}

/* Mobile responsive styles for archway callout */
@media (max-width: 767.98px) {
    .cc-archway-callout {
        padding: 48px 0 24px 0;
    }

    .cc-archway-callout .content-wrapper {
        gap: 40px;
        padding: 0 20px;
    }

    .cc-archway-callout .callout-headline {
        font-size: 32px;
        line-height: 1.2;
    }

    .cc-archway-callout .callout-content {
        gap: 24px;
    }

    .cc-archway-callout .callout-description {
        font-size: 14px;
    }

    .cc-archway-callout .archway-photos {
        gap: 8px;
        height: 120px;
        max-width: 100%;
        padding: 0;
    }

    .cc-archway-callout .archway-photo {
        max-width: none;
        height: 120px;
        background-size: 385px;
    }

    .cc-archway-callout .archway-photo:nth-child(1) {
        background-position: 0 center;
    }

    .cc-archway-callout .archway-photo:nth-child(2) {
        background-position: -125px center;
    }

    .cc-archway-callout .archway-photo:nth-child(3) {
        background-position: -250px center;
    }
}

/* Tablet responsive styles for archway callout */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-archway-callout {
        padding: 72px 0 28px 0;
    }

    .cc-archway-callout .content-wrapper {
        gap: 50px;
        padding: 0 40px;
    }

    .cc-archway-callout .callout-headline {
        font-size: 42px;
    }

    .cc-archway-callout .callout-content {
        gap: 28px;
    }

    .cc-archway-callout .archway-photos {
        gap: 16px;
        height: 320px;
    }

    .cc-archway-callout .archway-photo {
        max-width: 280px;
        height: 280px;
        background-size: 860px;
    }

    .cc-archway-callout .archway-photo:nth-child(1) {
        background-position: 0 center;
    }

    .cc-archway-callout .archway-photo:nth-child(2) {
        background-position: -290px center;
    }

    .cc-archway-callout .archway-photo:nth-child(3) {
        background-position: -580px center;
    }
}

/* medium small screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .cc-archway-callout .archway-photo {
        height: 370px;
    }
}

/* ================================
   EMERGENCY NOTIFICATION COMPONENT
   ================================ */

.cc-emergency-notification {
    background-color: #D70015;
    color: #FFFFFF;
    width: 100%;
    position: relative;
    z-index: 1000; /* Ensure it appears above other content */
}

.cc-emergency-content {
    display: flex;
    align-items: flex-start;
    gap: var(--cc-spacing-sm);
    padding: var(--cc-spacing-sm) var(--cc-spacing-6xl);
}

.cc-emergency-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px; /* Slight alignment adjustment */
}

.cc-emergency-icon .icon {
    font-size: 32px;
    color: #FEF3F2;
}

.cc-emergency-text {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly */
}

.cc-emergency-headline {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-md);
    margin: 0 0 2px 0;
    color: #FEF3F2;
}

.cc-emergency-body {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-normal);
    font-size: var(--cc-font-size-md);
    line-height: 1.5;
    margin: 0;
    color: #FEF3F2;
}

.cc-emergency-link {
    color: #FEF3F2;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
    font-weight: var(--cc-font-weight-bold);
    transition: var(--cc-transition-color);
    display: block;
    text-align: right;
}

.cc-emergency-link:hover,
.cc-emergency-link:focus {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
    .cc-emergency-content {
        padding: var(--cc-spacing-sm) var(--cc-spacing-xl);
        gap: var(--cc-spacing-xs);
    }
    
    .cc-emergency-icon {
        width: 36px;
        height: 36px;
    }
    
    .cc-emergency-icon .icon {
        font-size: 20px;
    }
    
    .cc-emergency-headline,
    .cc-emergency-body {
        font-size: var(--cc-font-size-base);
    }
}

@media (max-width: 479.98px) {
    .cc-emergency-content {
        padding: var(--cc-spacing-sm) var(--cc-spacing-md);
    }
    
    .cc-emergency-headline,
    .cc-emergency-body {
        font-size: var(--cc-font-size-sm);
    }
}

/* ==========================
   EMERGENCY RSS STYLE
   For .alert style markup
   .cc-emergency-notification-wrap > .alert > .stage > .alert-type + .small a
   ========================== */

.cc-emergency-notification-wrap {
  display: none;
}
.cc-emergency-notification-wrap:has(.alert) {
  display: block;
}

.cc-emergency-notification-wrap .alert {
  background-color: #D70015;
  color: #FFFFFF;
  width: 100%;
  position: relative;
  z-index: 1000;
  border: 0;         /* neutralize Bootstrap alert border */
  border-radius: 0;  /* neutralize Bootstrap rounding */
  margin: 0;         /* keep it flush */
  padding: 0;        /* we’ll pad .stage */
}

.cc-emergency-notification-wrap .alert .stage {
  display: flex;
  flex-wrap: wrap; /* link drops to its own row */
  align-items: flex-start;
  gap: var(--cc-spacing-sm);
  padding: var(--cc-spacing-sm) var(--cc-spacing-6xl);
}

.cc-emergency-notification-wrap .alert .stage .alert-type {
  flex: 1;
  min-width: 0;
}

/* Headline */
.cc-emergency-notification-wrap .alert .stage .alert-type h1 {
  font-family: var(--cc-font-primary);
  font-weight: var(--cc-font-weight-bold);
  font-size: var(--cc-font-size-md);
  margin: 0 0 2px 0;
  color: #FEF3F2;
}

/* Body */
.cc-emergency-notification-wrap .alert .stage .alert-type p {
  font-family: var(--cc-font-primary);
  font-weight: var(--cc-font-weight-normal);
  font-size: var(--cc-font-size-md);
  line-height: 1.5;
  margin: 0;
  color: #FEF3F2;
}

/* Link row */
.cc-emergency-notification-wrap .alert .stage .small {
  flex: 0 0 100%;
}

.cc-emergency-notification-wrap .alert .stage .small a {
  color: #FEF3F2;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  font-weight: var(--cc-font-weight-bold);
  transition: var(--cc-transition-color);
  display: block;
  text-align: right;
}

.cc-emergency-notification-wrap .alert .stage .small a:hover,
.cc-emergency-notification-wrap .alert .stage .small a:focus {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================
   MOBILE TWEAKS for RSS .alert markup
   ========================== */

@media (max-width: 767.98px) {
  .cc-emergency-notification-wrap .alert .stage {
    padding: var(--cc-spacing-sm) var(--cc-spacing-xl);
    gap: var(--cc-spacing-xs);
  }

  .cc-emergency-notification-wrap .alert .stage .alert-type h1,
  .cc-emergency-notification-wrap .alert .stage .alert-type p {
    font-size: var(--cc-font-size-base);
  }
}

@media (max-width: 479.98px) {
  .cc-emergency-notification-wrap .alert .stage {
    padding: var(--cc-spacing-sm) var(--cc-spacing-md);
  }

  .cc-emergency-notification-wrap .alert .stage .alert-type h1,
  .cc-emergency-notification-wrap .alert .stage .alert-type p {
    font-size: var(--cc-font-size-sm);
  }
}


/* ================================
   BUTTONS SECTION COMPONENT
   ================================ */

/* Main container for buttons section */
.cc-buttons-section {
    width: 100%;
    position: relative;
}

/* Custom grid layout for button rows */
.cc-buttons-grid {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

/* Make columns flex containers to stretch buttons to equal heights */
.cc-buttons-grid > [class*="col-"] {
    display: flex;
}

/* Block-level button modifier for grid layout */
.cta-btn-block {
    display: flex;
    width: 100%;
    max-width: 370px;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 86px;
    padding: var(--cc-spacing-md) var(--cc-spacing-xl);
    white-space: normal;
}

/* Desktop alignment */
@media (min-width: 1200px) {
    .cc-buttons-grid {
        justify-content: center;
    }
    
    /* Ensure left button aligns with container edge */
    .cc-buttons-grid .col-xl-4:first-child .cta-btn-block {
        margin-left: 0;
    }
    
    /* Ensure right button aligns with container edge */  
    .cc-buttons-grid .col-xl-4:last-child .cta-btn-block {
        margin-right: 0;
    }
}

/* Tablet and mobile - center alignment */
@media (max-width: 1199.98px) {
    .cc-buttons-grid {
        justify-content: center;
    }
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .cc-buttons-grid {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1.5rem;
    }
    
    .cta-btn-block {
        min-height: 54px;
        padding: var(--cc-spacing-sm) var(--cc-spacing-lg);
        white-space: normal; /* Allow text wrapping on mobile if needed */
        text-align: center;
    }
}

/* Ultra-mobile adjustments */
@media (max-width: 479.98px) {
    .cc-buttons-grid {
        --bs-gutter-y: 1rem;
    }
    
    .cta-btn-block {
        min-height: 48px;
        padding: 10px var(--cc-spacing-md);
    }
}

/* ================================
   VIDEO SECTION COMPONENT
   ================================ */

/* Main container for video section */
.cc-video-section {
    width: 100%;
    position: relative;
}

/* Section headline styling */
.cc-video-headline {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-extrabold);
    font-size: var(--cc-font-size-5xl);
    line-height: 1.1;
    margin: 0 0 var(--cc-spacing-xl) 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Section description styling */
.cc-video-description {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-normal);
    font-size: var(--cc-font-size-lg);
    line-height: 1.6;
    margin: 0 0 var(--cc-spacing-2xl) 0;
    max-width: 900px;
}

/* Individual video item container */
.cc-video-item {
    width: 100%;
    margin-bottom: var(--cc-spacing-xl);
}

/* Video title styling */
.cc-video-title {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-2xl);
    line-height: 1.3;
    margin: 0 0 var(--cc-spacing-md) 0;
    text-align: center;
}

/* Video container with 16:9 aspect ratio */
.cc-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--cc-shadow-medium);
    transition: var(--cc-transition-base);
}

.cc-video-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Video preview background and button */
.cc-video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    transition: var(--cc-transition-base);
}

/* Video overlay for better contrast */
.cc-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--cc-transition-opacity);
}

.cc-video-preview:hover .cc-video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Play button styling */
.cc-video-play-button {
    position: relative;
    z-index: var(--cc-z-overlay);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--cc-transition-transform);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cc-video-play-button i {
    font-size: 2rem;
    color: var(--cc-color-black);
    margin-left: 4px; /* Slight offset for visual centering */
}

.cc-video-preview:hover .cc-video-play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

/* Video caption styling */
.cc-video-caption {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-normal);
    font-size: var(--cc-font-size-md);
    line-height: 1.5;
    margin: var(--cc-spacing-md) 0 0 0;
    text-align: center;
}

/* Theme variations for video section */

/* Light theme */
.cc-video-section.cc-theme-light {
    background-color: var(--cc-color-white);
    color: var(--cc-color-black);
}

.cc-video-section.cc-theme-light .cc-video-headline,
.cc-video-section.cc-theme-light .cc-video-description,
.cc-video-section.cc-theme-light .cc-video-title,
.cc-video-section.cc-theme-light .cc-video-caption {
    color: var(--cc-color-black);
}

/* Dark theme */
.cc-video-section.cc-theme-dark {
    background-color: var(--cc-color-black);
    color: var(--cc-color-white);
}

.cc-video-section.cc-theme-dark .cc-video-headline,
.cc-video-section.cc-theme-dark .cc-video-description,
.cc-video-section.cc-theme-dark .cc-video-title,
.cc-video-section.cc-theme-dark .cc-video-caption {
    color: var(--cc-color-white);
}

/* Blue theme */
.cc-video-section.cc-theme-blue {
    background-color: var(--cc-color-bg-blue);
    color: var(--cc-color-text-blue);
}

.cc-video-section.cc-theme-blue .cc-video-headline,
.cc-video-section.cc-theme-blue .cc-video-description,
.cc-video-section.cc-theme-blue .cc-video-title,
.cc-video-section.cc-theme-blue .cc-video-caption {
    color: var(--cc-color-text-blue);
}

/* Beige theme */
.cc-video-section.cc-theme-beige {
    background-color: var(--cc-color-bg-beige);
    color: var(--cc-color-black-soft);
}

.cc-video-section.cc-theme-beige .cc-video-headline,
.cc-video-section.cc-theme-beige .cc-video-description,
.cc-video-section.cc-theme-beige .cc-video-title,
.cc-video-section.cc-theme-beige .cc-video-caption {
    color: var(--cc-color-black-soft);
}

/* Responsive adjustments for video components */

/* Large tablet (992-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .cc-video-headline {
        font-size: var(--cc-font-size-4xl);
    }
    
    .cc-video-description {
        font-size: 17px;
        max-width: 800px;
    }
    
    .cc-video-title {
        font-size: var(--cc-font-size-xl);
    }
    
    .cc-video-play-button {
        width: 70px;
        height: 70px;
    }
    
    .cc-video-play-button i {
        font-size: 1.75rem;
    }
}

/* Small tablet (768-991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-video-headline {
        font-size: var(--cc-font-size-4xl);
        margin-bottom: var(--cc-spacing-lg);
    }
    
    .cc-video-description {
        font-size: var(--cc-font-size-md);
        margin-bottom: var(--cc-spacing-xl);
        max-width: 700px;
    }
    
    .cc-video-title {
        font-size: var(--cc-font-size-lg);
        margin-bottom: var(--cc-spacing-sm);
    }
    
    .cc-video-play-button {
        width: 65px;
        height: 65px;
    }
    
    .cc-video-play-button i {
        font-size: 1.5rem;
    }
    
    .cc-video-caption {
        font-size: 15px;
    }
}

/* Mobile (≤767px) */
@media (max-width: 767.98px) {
    .cc-video-headline {
        font-size: var(--cc-font-size-3xl);
        margin-bottom: var(--cc-spacing-md);
        line-height: 1.2;
    }
    
    .cc-video-description {
        font-size: var(--cc-font-size-md);
        margin-bottom: var(--cc-spacing-lg);
        line-height: 1.5;
        max-width: 100%;
    }
    
    .cc-video-title {
        font-size: var(--cc-font-size-lg);
        margin-bottom: var(--cc-spacing-sm);
    }
    
    .cc-video-container {
        border-radius: 6px;
    }
    
    .cc-video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .cc-video-play-button i {
        font-size: 1.3rem;
        margin-left: 3px;
    }
    
    .cc-video-caption {
        font-size: var(--cc-font-size-base);
        margin-top: var(--cc-spacing-sm);
    }
    
    .cc-video-item {
        margin-bottom: var(--cc-spacing-lg);
    }
}

/* Ultra-mobile (≤479px) */
@media (max-width: 479.98px) {
    .cc-video-headline {
        font-size: var(--cc-font-size-2xl);
    }
    
    .cc-video-title {
        font-size: var(--cc-font-size-md);
    }
    
    .cc-video-play-button {
        width: 55px;
        height: 55px;
    }
    
    .cc-video-play-button i {
        font-size: 1.1rem;
    }
    
    .cc-video-caption {
        font-size: var(--cc-font-size-sm);
    }
}

/* ================================
   VIDEO MODAL STYLES
   ================================ */

/* Video modal container */
.cc-video-modal {
    --bs-modal-zindex: 1060; /* Higher than default to ensure it appears above other content */
}

/* Modal dialog sizing */
.cc-video-modal .modal-dialog {
    max-width: 90vw;
    width: 100%;
    margin: 1rem auto;
}

.cc-video-modal .modal-xl {
    max-width: 1140px;
}

/* Modal content styling */
.cc-video-modal .modal-content {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Modal header styling */
.cc-video-modal .modal-header {
    padding: 1rem 1.5rem 0.5rem;
    background-color: var(--cc-color-black);
}

.cc-video-modal .modal-title {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-xl);
    color: var(--cc-color-white);
    margin: 0;
}

/* Close button styling */
.cc-video-modal .btn-close {
    opacity: 0.8;
    transition: var(--cc-transition-opacity);
}

.cc-video-modal .btn-close:hover {
    opacity: 1;
}

/* Video iframe container with 16:9 aspect ratio */
.cc-video-iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--cc-color-black);
}

.cc-video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: var(--cc-color-black);
}

/* Modal backdrop styling */
.cc-video-modal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Loading state for iframe container */
.cc-video-iframe-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid rgba(234, 179, 55, 0.3);
    border-top: 4px solid var(--cc-color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.cc-video-iframe-container.loaded::before {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive modal adjustments */
@media (max-width: 991.98px) {
    .cc-video-modal .modal-dialog {
        max-width: 95vw;
        margin: 0.5rem;
    }
    
    .cc-video-modal .modal-header {
        padding: 0.75rem 1rem 0.25rem;
    }
    
    .cc-video-modal .modal-title {
        font-size: var(--cc-font-size-lg);
    }
}

@media (max-width: 767.98px) {
    .cc-video-modal .modal-dialog {
        max-width: 98vw;
        margin: 0.25rem;
    }
    
    .cc-video-modal .modal-header {
        padding: 0.5rem 0.75rem 0.25rem;
    }
    
    .cc-video-modal .modal-title {
        font-size: var(--cc-font-size-md);
        line-height: 1.3;
    }
    
    /* Adjust iframe container for mobile - slightly less padding for more video space */
    .cc-video-iframe-container {
        padding-bottom: 56.25%; /* Maintain 16:9 ratio */
    }
}

@media (max-width: 479.98px) {
    .cc-video-modal .modal-dialog {
        margin: 0.125rem;
    }
    
    .cc-video-modal .modal-header {
        padding: 0.5rem;
    }
    
    .cc-video-modal .modal-title {
        font-size: var(--cc-font-size-base);
    }
}

/* Focus states for accessibility */
.cc-video-modal .btn-close:focus {
    box-shadow: 0 0 0 0.2rem rgba(234, 179, 55, 0.5);
}

/* Ensure modal appears properly on all themes */
.cc-video-modal.show {
    display: block !important;
}

/* Modal animation customization */
.cc-video-modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.9);
}

.cc-video-modal.show .modal-dialog {
    transform: scale(1);
}

/* ================================
   IMAGE CARDS COMPONENT STYLES
   ================================ */

/* Base image card container */
.cc-image-card {
    position: relative;
    background: var(--cc-color-white);
    transition: var(--cc-transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Remove stripe - not used in Figma design */

/* Card link wrapper */
.cc-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: var(--cc-transition-base);
}

.cc-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-3px);
}

.cc-card-link:focus {
    outline: 2px solid var(--cc-color-gold);
    outline-offset: 2px;
}

/* Image container with aspect ratio and gold border */
.cc-card-image {
    position: relative;
    overflow: hidden;
    background-color: var(--cc-color-bg-beige-light);
    border: 1px solid var(--cc-color-gold);
    border-bottom-width: 4px;
}

/* Default aspect ratio for small cards (4-up) */
.cc-card-image {
    aspect-ratio: 275 / 243;
}

/* Medium card aspect ratio (3-up) */
.cc-card-medium .cc-card-image {
    aspect-ratio: 373 / 341;
}

/* Large card aspect ratio (2-up) */
.cc-card-large .cc-card-image {
    aspect-ratio: 16 / 11;
}

.cc-card-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: var(--cc-transition-transform);
}

.cc-card-link:hover .cc-card-image img {
    transform: scale(1.05);
}

/* Topic/category label below image */
.cc-card-label {
    position: static;
    background: none;
    color: var(--cc-color-gray-medium);
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: var(--cc-spacing-sm) 0 var(--cc-spacing-xs) 0;
    padding: 0;
    line-height: 1;
    text-align: left;
}

/* Card title/headline */
.cc-card-title {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-xl);
    line-height: 1.1;
    color: var(--cc-color-black);
    margin: var(--cc-spacing-md) 0 0 0;
    padding: 0;
    flex: 1;
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Medium card title sizing */
.cc-card-medium .cc-card-title {
    font-size: var(--cc-font-size-3xl);
    letter-spacing: -0.024em;
}

/* Large card title sizing */
.cc-card-large .cc-card-title {
    font-size: var(--cc-font-size-4xl);
    letter-spacing: -0.026em;
    margin-top: var(--cc-spacing-lg);
}

/* Title hover state */
.cc-card-link:hover .cc-card-title {
    color: var(--cc-color-black);
}

/* Section container styles */
.cc-image-cards-section {
    position: relative;
}

/* Theme overrides for cards */
.cc-theme-dark .cc-image-card {
    background: var(--cc-color-black);
}

.cc-theme-dark .cc-card-title {
    color: var(--cc-color-white);
}

.cc-theme-dark .cc-card-link:hover .cc-card-title {
    color: var(--cc-color-white);
}

.cc-theme-beige .cc-image-card {
    background: var(--cc-color-bg-beige);
}

.cc-theme-blue .cc-image-card {
    background: var(--cc-color-bg-blue);
}

.cc-theme-blue .cc-card-title {
    color: var(--cc-color-text-blue);
}

.cc-theme-blue .cc-card-link:hover .cc-card-title {
    color: var(--cc-color-text-blue);
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
    .cc-card-title {
        font-size: var(--cc-font-size-lg);
        margin-top: var(--cc-spacing-sm);
        padding: 0;
    }

    .cc-card-medium .cc-card-title {
        font-size: var(--cc-font-size-xl);
    }

    .cc-card-large .cc-card-title {
        font-size: var(--cc-font-size-2xl);
        margin-top: var(--cc-spacing-md);
    }

    .cc-card-label {
        font-size: var(--cc-font-size-xs);
        margin: var(--cc-spacing-xs) 0 var(--cc-spacing-xs) 0;
    }

    /* Reduce hover transform on mobile */
    .cc-card-link:hover {
        transform: translateY(-2px);
    }
}

/* Tablet responsive adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-card-title {
        font-size: var(--cc-font-size-lg);
    }

    .cc-card-medium .cc-card-title {
        font-size: var(--cc-font-size-2xl);
    }

    .cc-card-large .cc-card-title {
        font-size: var(--cc-font-size-3xl);
    }
}

/* Print styles */
@media print {
    .cc-image-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .cc-card-link:hover {
        transform: none;
    }

    .cc-card-link:hover .cc-card-image img {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cc-card-label {
        color: var(--cc-color-black);
        font-weight: var(--cc-font-weight-extrabold);
    }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* IMAGE STYLES */
.cc-subsite-maincol img {
  max-width: 100%;   
  height: auto;
}

.cc-content-sidebar aside {
    padding: var(--cc-spacing-md) 0;
}
.cc-content-sidebar .cc-content-container {
    margin: var(--cc-spacing-md) 0;
}

/* Clive forms */
.clive-section-heading {
    border-bottom: 1px solid #333;
}    
legend.clive-legend,
legend.clive-date-legend {
    font-size: 1em;
}
.clive-field-wrapper .clive-validation-error {
    position: relative !important;
}