/* Colorado College 2025 - Section-Specific Styles */

/* ================================
   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: center;
}

.cc-intro-paragraph {
    font-family: "archer-pro", serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.6;
    color: #000000;
    font-style: italic;
    margin: 0;
    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-white);
}

.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;
}

.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: 48px;
        margin-bottom: 24px;
    }

    .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-hero-black-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 {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    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;
}

.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: #ffffff;
    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 #ffffff;
    margin-top: -1px;
}

@media (max-width: 767.98px) {
    .cc-hero-black-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: 700px;
    }
}

/* ================================
   TEXT & PHOTO SECTION
   ================================ */
.cc-text-photo-section {
    width: 100%;
    position: relative;
    padding-bottom: 80px;
}

.cc-text-photo-section .container-fluid {
    max-width: 100%;
    width: 100%;
}

/* Fix for mobile overflow */
.cc-text-photo-section .text-content-row {
    padding: 80px 0;
}

.cc-text-photo-section .col-lg-6:first-child,
.cc-text-photo-section .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cc-text-photo-section .col-lg-6:last-child .cta-btn-gold,
.cc-text-photo-section .col-lg-6:last-child .cta-btn-black {
    margin-top: 16px;
}

.cc-text-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-text-photo-section .photo-container {
    position: relative;
    border: 2px solid var(--cc-color-border-green);
    overflow: hidden;
    width: 100%;
}

.cc-text-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-text-photo-section {
        padding-bottom: 40px;
    }

    .cc-text-photo-section .text-content-row {
        padding: 40px 0;
    }

    .cc-text-photo-section .photo-row {
        padding: 24px;
    }

    .cc-text-photo-section .photo-container {
        width: 95%;
        border-width: 2px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-text-photo-section {
        padding-bottom: 60px;
    }

    .cc-text-photo-section .text-content-row {
        padding: 60px 0;
    }

    .cc-text-photo-section .photo-row {
        padding: 40px;
    }

    .cc-text-photo-section .photo-container {
        width: 95%;
    }
}

/* ================================
   PHOTO ZOOM ANIMATION
   ================================ */
/* Note: Applied to Text & Photo section photo, but could be adapted */
.cc-text-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-text-photo-section .section-photo.photo-zoom-visible {
    transform: scale(1);
}

.cc-text-photo-section .section-photo.photo-zoom-animate:not(.photo-zoom-visible) {
    transform: scale(1.15);
}

@media (max-width: 767.98px) {
    .cc-text-photo-section .section-photo.photo-zoom-animate {
        transform: scale(1.15);
        transition-duration: 1s;
    }

    .cc-text-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-text-photo-section .section-photo.photo-zoom-animate {
        transform: scale(1.18);
        transition-duration: 1.1s;
    }

    .cc-text-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-gold,
.cc-split-content-section .text-content .cta-btn-black {
    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-gold,
.cc-image-overlay-section .text-content-overlay .cta-btn-black {
    margin-top: 16px;
}

.cc-image-overlay-section .section-label,
.cc-image-overlay-section .section-headline,
.cc-image-overlay-section .section-description {
    color: white;
}

.cc-image-overlay-section .cta-btn-black {
    align-self: flex-start;
}

.cc-image-overlay-section .text-content-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background-image: url('../img/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-split-content-section.cc-arch-photo-variant {
    background-color: #000000;
    color: #ffffff;
}

.cc-split-content-section.cc-arch-photo-variant .section-label,
.cc-split-content-section.cc-arch-photo-variant .section-headline,
.cc-split-content-section.cc-arch-photo-variant .section-description {
    color: #ffffff;
}

.cc-split-content-section.cc-arch-photo-variant .section-label .icon,
.cc-split-content-section.cc-arch-photo-variant .section-label .icon-tc {
    color: #EAB337;
}

.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 {
        max-width: 280px;
        height: 280px;
    }
}

@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 {
        max-width: 380px;
        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('../img/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;
}

.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;
}

/* 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-black,
.cc-card-grid-content .cta-btn-gold,
.cc-card-grid-content .cta-btn-white {
    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('../img/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;
}

.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-xl) 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('../img/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;
}

.cc-carousel-card-link {
    font-family: var(--cc-font-primary);
    font-weight: var(--cc-font-weight-bold);
    font-size: var(--cc-font-size-base);
    color: #000000;
    text-decoration: none;
    transition: var(--cc-transition-color);
    align-self: flex-start;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.cc-carousel-card-link:hover {
    text-decoration: underline;
}

/* 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 */
.cc-carousel-controls-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--cc-spacing-xl);
}

/* Arrow buttons removed from bottom controls - they are positioned absolutely on carousel sides */

.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;
}

/* 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;
    }

    .cc-carousel-content {
        padding-right: 0;
        gap: var(--cc-spacing-md);
        margin-bottom: var(--cc-spacing-2xl);
    }

    .cc-carousel-controls {
        display: none; /* Hide old left-side controls */
    }

    .cc-carousel-controls-bottom {
        margin-top: var(--cc-spacing-xl);
    }

    .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: 525px;
    }

    .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);
    }
}

@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;
    }
}

@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;
    }
}


/* ================================
   PHOTO CAROUSEL SECTION
   ================================ */
.cc-photo-carousel-section {
    width: 100%;
    position: relative;
    padding: 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;
}

.cc-photo-carousel-section .text-content-row .cta-btn-gold {
    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%;
    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 {
    background-color: #000000; /* Black background from Figma */
    padding: 12px 12px; /* Match Figma padding */
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px; /* Fixed height from Figma */
}

.cc-photo-slider-dots {
    display: flex;
    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;
}

.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 - Hidden (using click-to-advance instead) */
.cc-photo-slider-prev,
.cc-photo-slider-next {
    display: none;
}

/* ================================
   PHOTO CAPTION STYLES
   ================================ */
.cc-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    margin: var(--cc-spacing-2xl);
    max-width: 65%;
    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; /* Fixed height to prevent jarring transitions */
    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%;
        /* Calculate height based on image aspect ratio + generous caption height */
        min-height: calc((100vw - 32px) * 209 / 364 + 180px); /* Image height + more generous caption height */
        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 {
        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 */
    }

    /* 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);
    }

    /* 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; /* Fixed height for tablet to prevent jarring transitions */
        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: 1200px) {
    .cc-photo-slider-wrapper {
        height: 65vh;
        min-height: 500px;
        max-height: 700px;
    }

    .cc-photo-slider-dot {
        width: 12px;
        height: 12px;
    }
}