/* Homepage-specific styles for Colorado College 2025 */

/* ================================
   MULTI-PANEL HERO SECTION
   ================================ */

/* 1. Main container creates the scroll track with scroll snap.
   Height is 100vh per panel, creating space for the scroll effect. */
.cc-multi-panel-hero {
	position: relative;
	height: 400vh; /* 4 panels * 100vh each */
	/* Enable smooth scroll snap behavior */
	scroll-snap-type: y proximity;
}

/* Add smooth scrolling behavior to the document */
html {
	scroll-behavior: smooth;
}

/* Ensure the body allows for smooth scroll snap */
body {
	scroll-snap-type: y proximity;
}

/* 2. The background image sticks to the top of the viewport during the scroll. */
.cc-hero-fixed-background {
	position: sticky;
	top: 0;
	height: 100vh;
	width: 100%;
	z-index: -1; /* Ensures it stays behind all content */
}

.cc-hero-background-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* 3. Each panel is also sticky, stacking on top of the previous one as you scroll. */
.cc-hero-panel {
	position: sticky;
	top: 0;
	height: 100vh;
	width: 100%;
	/* Negative margin collapses the panels on top of each other vertically */
	margin-top: -100vh;
	/* Snap alignment for each panel */
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.cc-hero-panel:first-of-type {
	margin-top: 0; /* The first panel does not need a negative margin */
}

/* 4. Panel Overlay for text readability, similar to the original hero's ::before element. */
.cc-hero-panel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* 5. Content containers need a z-index to appear above the overlay. */
.cc-hero-panel-content, .cc-hero-images-container {
    position: relative;
    z-index: 10;
}

/* 6. Content Styling - Reusing your site's styles for consistency */
.cc-hero-panel-content {
	color: var(--cc-color-white);
    /* Set opacity to 0 by default for fade-in effect */
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
}
.cc-hero-panel-content.is-visible {
	opacity: 1; /* This class is added by JavaScript to make content visible */
}

/* Hero content styling to match Figma design */
.cc-hero-panel-content {
    padding: 80px 32px;
    gap: 32px;
}

/* Section label (eyebrow) styling - matches Figma specs */
.cc-hero-panel-content .section-label {
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 13px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #EDEDED;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-hero-panel-content .section-label .icon-tc {
    font-size: 24px;
    color: #EAB337;
}

/* Main headline styling - matches Figma typography */
.cc-hero-panel-headline,
.cc-hero-panel-italic {
    font-family: "archer-pro", serif;
    font-weight: 500;
    font-style: italic;
    font-size: 54px;
    line-height: 1.1;
    letter-spacing: -0.64px;
    color: #FFFFFF;
    margin: 0 0 32px 0;
}

/* Headline emphasis text - matches Figma specs */
.cc-hero-panel-emphasis {
    font-family: "proxima-nova-wide", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.96px;
    text-transform: uppercase;
    color: #FFFFFF;
}

/* Description text - matches Figma specs with responsive sizing */
.cc-hero-panel-description {
    font-family: "proxima-nova", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 0 0 64px 0;
    max-width: 650px;
    transition: font-size 0.3s ease;
}

/* Smaller description text for subsequent panels */
.cc-hero-panel:not(:first-child) .cc-hero-panel-description {
    font-size: 16px;
}

/* CTA button styling for hero panels */
.cc-hero-panel .cta-btn-gold {
    background-color: #EAB337;
    color: #000000;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    padding: 12px 24px 12px 24px;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cc-hero-panel .cta-btn-gold:hover {
    background-color: #d4a02f;
    transform: translateY(-2px);
}

.cc-hero-scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 10;
}
.cc-hero-scroll-arrow.is-visible {
    opacity: 1;
}

/* 7. Stacked Images Styling */
.cc-hero-images-container {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cc-hero-stacked-image {
	position: absolute;
    width: 90vw;
    height: 90vh;
	max-width: 500px; 
	max-height: 500px; 
	opacity: 0;
	transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
	/* transform: translate(-50%, -50%); Base transform for centering */
}
.cc-hero-stacked-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.cc-hero-stacked-image.is-visible {
	opacity: 1;
}

/* Individual image transforms for the stacking/scaling effect */
.cc-hero-stacked-image[data-image="1"] {
	z-index: 1;
}
.cc-hero-stacked-image[data-image="2"] {
	z-index: 2;
	/* transform: translate(-50%, -50%) scale(0.95) rotate(-2deg); */
}
.cc-hero-stacked-image[data-image="3"] {
	z-index: 3;
	/* transform: translate(-50%, -50%) scale(0.9) rotate(3deg); */
}

/* Responsive typography to match Figma breakpoints */
@media (max-width: 767.98px) {
    .cc-hero-panel-content {
        padding: 32px 24px;
        gap: 16px;
    }
    
    /* Mobile-specific positioning for hero images container */
    .cc-hero-images-container {
        z-index: 15;
        position: relative;
        overflow: visible;
    }
    
    /* Ensure proper spacing between multi-panel hero and following sections on mobile */
    .cc-multi-panel-hero + #content {
        position: relative;
        z-index: 1;
    }
    
    .cc-multi-panel-hero + #content .cc-text-photo-section:first-child {
        margin-top: 0;
        position: relative;
        z-index: 1;
    }
    
    .cc-hero-panel-content .section-label {
        font-size: 11px;
        line-height: 11px;
        letter-spacing: 1.1px;
        margin-bottom: 16px;
    }
    
    .cc-hero-panel-content .section-label .icon-tc {
        font-size: 20px;
    }
    
    .cc-hero-panel-headline,
    .cc-hero-panel-italic {
        font-size: 32px;
        letter-spacing: -0.32px;
        margin-bottom: 16px;
    }
    
    .cc-hero-panel-emphasis {
        font-size: 28px;
        letter-spacing: -0.56px;
    }
    
    .cc-hero-panel-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .cc-hero-panel:not(:first-child) .cc-hero-panel-description {
        font-size: 14px;
    }
    
    .cc-hero-panel .cta-btn-gold {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-hero-panel-content {
        padding: 64px 40px;
        gap: 28px;
    }
    
    .cc-hero-panel-content .section-label {
        font-size: 12px;
        line-height: 12px;
        letter-spacing: 1.2px;
        margin-bottom: 28px;
    }
    
    .cc-hero-panel-content .section-label .icon-tc {
        font-size: 22px;
    }
    
    .cc-hero-panel-headline {
        font-size: 52px;
        letter-spacing: -0.52px;
        margin-bottom: 28px;
    }
    
    .cc-hero-panel-emphasis {
        font-size: 48px;
        letter-spacing: -0.72px;
    }
    
    .cc-hero-panel-description {
        font-size: 17px;
        margin-bottom: 50px;
    }
    
    .cc-hero-panel:not(:first-child) .cc-hero-panel-description {
        font-size: 15px;
    }
    
    .cc-hero-panel .cta-btn-gold {
        font-size: 15px;
        padding: 11px 22px;
    }
}

@media (min-width: 1200px) {
    .cc-hero-panel-content {
        padding: 80px 60px;
    }
    
    .cc-hero-panel-headline {
        font-size: 54px;
    }
    
    .cc-hero-panel-emphasis {
        font-size: 54px;
    }
}

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

/* Featured Callout Section */
.cc-featured-callout {
    background-color: #000000;
    color: #ffffff;
    padding: 96px 0 32px 0;
    width: 100%;
    position: relative;
}

.cc-featured-callout .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    margin: 0 auto;
    text-align: center;
}

.cc-featured-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-featured-callout .headline-emphasis {
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
}

.cc-featured-callout .callout-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 570px;
}

.cc-featured-callout .cta-btn-gold,
.cc-featured-callout .cta-btn-black {
    align-self: center;
}

.cc-featured-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-featured-callout .archway-photos {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    position: relative;
}

.cc-featured-callout .archway-photo {
    flex: 1;
    max-width: 420px;
    height: 480px;
    border-radius: 50% 50% 0 0;
    position: relative;
    background-size: 1280px 480px;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Position background image for each archway to show different portions */
.cc-featured-callout .archway-photo:nth-child(1) {
    background-position: 0 center;
}

.cc-featured-callout .archway-photo:nth-child(2) {
    background-position: -430px center;
}

.cc-featured-callout .archway-photo:nth-child(3) {
    background-position: -860px center;
}

.cc-featured-callout .archway-photo:hover {
    transform: scale(1.02);
}

/* Mobile responsive styles for featured callout */
@media (max-width: 767.98px) {
    .cc-featured-callout {
        padding: 48px 0 24px 0;
    }
    
    .cc-featured-callout .content-wrapper {
        gap: 40px;
        padding: 0 20px;
    }
    
    .cc-featured-callout .callout-headline {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .cc-featured-callout .callout-content {
        gap: 24px;
    }
    
    .cc-featured-callout .callout-description {
        font-size: 14px;
    }
    
    .cc-featured-callout .archway-photos {
        gap: 8px;
        height: 120px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .cc-featured-callout .archway-photo {
        max-width: none;
        height: 120px;
        background-size: 375px 120px;
    }
    
    .cc-featured-callout .archway-photo:nth-child(1) {
        background-position: 0 center;
    }
    
    .cc-featured-callout .archway-photo:nth-child(2) {
        background-position: -125px center;
    }
    
    .cc-featured-callout .archway-photo:nth-child(3) {
        background-position: -250px center;
    }
}

/* Tablet responsive styles for featured callout */
@media (min-width: 768px) and (max-width: 991.98px) {
    .cc-featured-callout {
        padding: 72px 0 28px 0;
    }
    
    .cc-featured-callout .content-wrapper {
        gap: 50px;
        padding: 0 40px;
    }
    
    .cc-featured-callout .callout-headline {
        font-size: 42px;
    }
    
    .cc-featured-callout .callout-content {
        gap: 28px;
    }
    
    .cc-featured-callout .archway-photos {
        gap: 16px;
        height: 320px;
    }
    
    .cc-featured-callout .archway-photo {
        max-width: 280px;
        height: 320px;
        background-size: 860px 320px;
    }
    
    .cc-featured-callout .archway-photo:nth-child(1) {
        background-position: 0 center;
    }
    
    .cc-featured-callout .archway-photo:nth-child(2) {
        background-position: -290px center;
    }
    
    .cc-featured-callout .archway-photo:nth-child(3) {
        background-position: -580px center;
    }
}

/* ================================
   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('../img/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: 40px 32px;
}

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

.cc-news-content {
    flex: 1;
    min-width: 0;
}

.cc-news-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 2px solid #EAB337; /* Default fallback */
    border-bottom: 4px solid #EAB337; /* Thicker bottom border */
}

/* Individual news item border colors using CC brand colors */
.cc-news-item-link:nth-child(1) .cc-news-image {
    border-color: #EAB337; /* Primary Gold */
}

.cc-news-item-link:nth-child(2) .cc-news-image {
    border-color: #288AA1; /* Info Blue */
}

.cc-news-item-link:nth-child(3) .cc-news-image {
    border-color: #2E6B47; /* Success Green */
}

.cc-news-item-link:nth-child(4) .cc-news-image {
    border-color: #CEDA42; /* Tava Yellow-Green */
}

.cc-news-item-link:nth-child(5) .cc-news-image {
    border-color: #C84E3C; /* Danger Red */
}

.cc-news-item-link:nth-child(6) .cc-news-image {
    border-color: #9B7DAE; /* Lavender Purple */
}

.cc-news-image img {
    width: 100%;
    height: 100%;
    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;
    -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;
        -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;
    }
}

/* ================================
   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('../img/diamond-border.svg');
    background-repeat: repeat-x;
    background-size: auto 20px;
    border-right: 1px solid #EAB337;
    width: 100%;
}

/* Events Grid Layout */
.cc-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 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;
    -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;
        -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;
    }
}