/* ==========================================================================
   MODULE 1: HERO CANVAS CORE STYLES
   ========================================================================== */
:root {
    --hero-font-display: 'Roboto', system-ui, -apple-system, sans-serif;
    --hero-text-pure: #ffffff;
    --hero-text-muted: rgba(255, 255, 255, 0.85);
    --hero-gradient-overlay: linear-gradient(135deg, rgba(10, 11, 15, 0.85) 0%, rgba(16, 18, 27, 0.85) 100%);
    --hero-accent-gold: #D4AF37; /* Clean secondary color depth */
}

.icc-hero-canvas-wrapper {
    position: relative;
    width: 100%;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(10, 11, 15, 0.1);
    font-family: var(--hero-font-display);
}

/* Background Cinematic Video Layering */
.icc-video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.icc-hero-ambient-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icc-video-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient-overlay);
    z-index: 2;
}

/* Content Composition Mesh */
.icc-hero-content-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.icc-hero-text-aligner {
    text-align: center;
    max-width: 850px;
}

/* Premium Component Styling */
.icc-hero-badge-wrapper {
    margin-bottom: 24px;
}

.icc-hero-premium-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--hero-accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
}

.icc-hero-display-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--hero-text-pure);
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.icc-hero-display-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.65;
    color: var(--hero-text-muted);
    font-weight: 400;
    margin-bottom: 40px;
}

/* Dynamic Action Buttons Group */
.icc-hero-btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.icc-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.icc-btn-primary {
    background-color: var(--hero-text-pure);
    color: #0a0b0f;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.icc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.icc-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--hero-text-pure);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.icc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Bottom Curve Shape Divider */
.icc-hero-bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 4;
}

.icc-hero-bottom-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.icc-hero-bottom-divider .shape-fill {
    fill: #0a0b0f; /* Seamless transition color to next block */
}

/* Responsive Scaling Queries */
@media(max-width: 768px) {
    .icc-hero-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .icc-hero-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   MODULE 2: FEATURED SERMON CORE STYLES
   ========================================================================== */
.icc-featured-sermon-section {
    padding: 100px 24px;
    background-color: #eaeaec; /* Seamless styling from hero */
    color: #3c3737;
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
}

.icc-featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Header Typography */
.icc-featured-header-block {
    margin-bottom: 50px;
}

.icc-featured-super-title {
    color: #D4AF37; /* Premium accent color depth */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.icc-featured-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
}

.icc-title-decorative-line {
    width: 60px;
    height: 4px;
    background-color: #D4AF37;
    border-radius: 2px;
}

/* Asymmetric Premium Layout Canvas */
.icc-featured-grid-canvas {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    background: rgba(62, 60, 60, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

/* Left Workspace: Media Engine Thumbnail frame */
.icc-featured-media-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.icc-featured-img-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.icc-featured-media-frame:hover .icc-featured-img-asset {
    transform: scale(1.03);
}

.icc-media-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(86, 87, 88, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.icc-featured-media-frame:hover .icc-media-play-overlay {
    background: rgba(10, 11, 15, 0.5);
}

.icc-circular-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.icc-play-icon {
    color: #0a0b0f;
    font-size: 24px;
    margin-left: 4px; /* Offset alignment fix */
}

.icc-circular-play-btn:hover {
    transform: scale(1.1);
    background-color: #D4AF37;
}

/* Right Workspace: Contextual Content Panel */
.icc-featured-content-panel {
    display: flex;
    flex-direction: column;
}

.icc-meta-tags-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.icc-meta-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #c69a09;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.date-badge {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(60, 49, 49, 0.8);
}

.icc-featured-message-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px 0;
    color: #143c85;
}

/* Theological Information Matrix */
.icc-theology-meta-table {
    display: flex;
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    margin-bottom: 24px;
}

.icc-meta-table-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.icc-meta-table-label {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(58, 50, 50, 0.4);
    letter-spacing: 1px;
    font-weight: 700;
}

.icc-meta-table-value {
    font-size: 14px;
    font-weight: 600;
    color: rgba(54, 47, 47, 0.95);
}

.italic-scripture {
    font-style: italic;
    color: #D4AF37;
}

.icc-featured-excerpt-p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(58, 51, 51, 0.75);
    margin: 0 0 32px 0;
}

/* Strategic Multi-Format Action Matrix Buttons */
.icc-featured-action-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.icc-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
}

.primary-watch {
    grid-column: 1 / -1; /* Spans across full width of the action tray */
    background-color: #4588da;
    color: #0a0b0f;
}

.primary-watch:hover {
    background-color: #D4AF37;
    color: #0a0b0f;
}

.secondary-listen {
    background: rgba(255, 255, 255, 0.65);
    color: #332e2e;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.secondary-listen:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.tertiary-download {
    background: rgba(255, 255, 255, 0.05);
    color: #f0e5e5;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tertiary-download:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .icc-featured-grid-canvas {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .icc-featured-action-matrix {
        grid-template-columns: 1fr;
    }
    .primary-watch {
        grid-column: span 1;
    }
    .icc-theology-meta-table {
        flex-direction: column;
        gap: 16px;
    }
}


/* ==========================================================================
   MODULE 3: UNIFIED SERMON LIBRARY STYLES
   ========================================================================== */
.icc-library-section {
    padding: 80px 24px;
    background-color: #222b54; /* Distinct, slightly lighter canvas separation layer */
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.icc-library-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Contextual Layout */
.icc-library-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.icc-library-badge {
    color: #D4AF37;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.icc-library-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.icc-library-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* Taxonomy Filter Form Grid Canvas */
.icc-filter-control-panel {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 48px;
}

.icc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icc-filter-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.icc-input-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icc-filter-input, .icc-filter-select {
    width: 100%;
    background-color: #0a0b0f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.icc-filter-input {
    padding-right: 40px; /* Leave space for search icon placeholder */
}

.icc-search-inside-icon {
    position: absolute;
    right: 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    pointer-events: none;
}

.icc-filter-input:focus, .icc-filter-select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Media Cards Output Framework Grid */
.icc-sermons-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Individual Sermon Grid Element Card Styling */
.icc-sermon-card-item {
    background: #0a0b0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.icc-sermon-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.icc-card-thumbnail-container {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background-color: #1a1c23;
}

.icc-card-img-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icc-card-duration-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(10, 11, 15, 0.85);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
}

.icc-card-body-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.icc-card-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.icc-card-meta-topic { color: #D4AF37; }
.icc-card-meta-date { color: rgba(255, 255, 255, 0.4); }

.icc-card-message-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.icc-card-speaker-line {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.icc-card-scripture-line {
    font-size: 12px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

/* Action Control Row Inside Card Footer */
.icc-card-actions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto; /* Locks button tray cleanly to bottom boundary */
}

.icc-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: all 0.2s ease;
}

.icc-card-btn.btn-watch {
    background-color: #ffffff;
    color: #0a0b0f;
}
.icc-card-btn.btn-watch:hover { background-color: #D4AF37; }

.icc-card-btn.btn-listen {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.icc-card-btn.btn-listen:hover { background: rgba(255, 255, 255, 0.1); }

.icc-card-btn.btn-notes {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.icc-card-btn.btn-notes:hover { background: rgba(255, 255, 255, 0.1); }

/* Global Pagination Interface Link Items */
.icc-library-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.icc-pagination-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icc-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icc-pagination-link:hover, .icc-pagination-link.item-active {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #0a0b0f;
}

.icc-pagination-link.item-disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

/* Responsive Media Breakdown Matrix */
@media (max-width: 1024px) {
    .icc-filter-control-panel {
        grid-template-columns: 1fr 1fr;
    }
    .search-box-wide {
        grid-column: span 2;
    }
    .icc-sermons-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .icc-filter-control-panel {
        grid-template-columns: 1fr;
    }
    .search-box-wide {
        grid-column: span 1;
    }
    .icc-sermons-cards-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   MODULE 6: STAGGERED PHOTO GALLERY CORE STYLES
   ========================================================================== */
.icc-gallery-section {
    padding: 95px 24px;
    background-color: #f0f2f5; /* Premium Light Gray canvas */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.icc-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Contextual Layout */
.icc-gallery-header {
    text-align: center;
    margin-bottom: 36px;
}

.icc-gallery-super-tag {
    color: #D4AF37; /* Accent Gold Identity */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.icc-gallery-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a2a6c; /* Primary Brand Blue */
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
}

.icc-gallery-brand-divider {
    width: 50px;
    height: 4px;
    background-color: #D4AF37;
    margin: 0 auto;
    border-radius: 2px;
}

/* Filter Tab Navigation Controls */
.icc-gallery-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.icc-gallery-tab-btn {
    background-color: #ffffff;
    border: 1px solid rgba(26, 42, 108, 0.1);
    color: #1a2a6c; /* Primary Blue Text */
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.icc-gallery-tab-btn:hover, .icc-gallery-tab-btn.active {
    background-color: #1a2a6c; /* Swaps to Brand Blue on active */
    color: #ffffff;
    border-color: #1a2a6c;
    box-shadow: 0 4px 12px rgba(26, 42, 108, 0.15);
}

/* 
 * The Advanced Staggered Mosaic Canvas 
 * Uses a fixed 4-column framework to build an unpredictable but neat mosaic layout
 */
.icc-gallery-grid-mesh {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

/* Individual Picture Wrapper Node Frame */
.icc-gallery-card-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

/* Staggering Sizing Rules (Creates the organic editorial grid feel) */
.icc-gallery-card-item.size-wide {
    grid-column: span 2;
}
.icc-gallery-card-item.size-tall {
    grid-row: span 2;
}
.icc-gallery-card-item.size-large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Custom Asset Image Controls */
.icc-gallery-img-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* High-End Glassmorphic Hover Sheet Overlay */
.icc-gallery-overlay-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 42, 108, 0.1) 0%, rgba(26, 42, 108, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Transformations */
.icc-gallery-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(26, 42, 108, 0.15);
}

.icc-gallery-card-item:hover .icc-gallery-img-asset {
    transform: scale(1.06);
}

.icc-gallery-card-item:hover .icc-gallery-overlay-pane {
    opacity: 1;
}

/* Typography elements deep inside individual cards */
.icc-gallery-img-caption {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    transform: translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.icc-gallery-img-tag {
    color: #D4AF37; /* Accent Gold text label */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.icc-gallery-card-item:hover .icc-gallery-img-caption,
.icc-gallery-card-item:hover .icc-gallery-img-tag {
    transform: translateY(0);
}

/* Responsive Media Scaler System */
@media (max-width: 1024px) {
    .icc-gallery-grid-mesh {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }
    /* Neutralize large layouts on tablet screens to maintain balance */
    .icc-gallery-card-item.size-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .icc-gallery-grid-mesh {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .icc-gallery-card-item.size-wide,
    .icc-gallery-card-item.size-tall,
    .icc-gallery-card-item.size-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    .icc-gallery-heading {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    .icc-gallery-grid-mesh {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .icc-gallery-card-item.size-wide,
    .icc-gallery-card-item.size-tall,
    .icc-gallery-card-item.size-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}


/* ==========================================================================
   MODULE 7: CALL-TO-ACTION & SOCIAL ICON MATRIX STYLES
   ========================================================================= */
.icc-cta-section {
    padding: 100px 24px 80px 24px;
    background-color: #f8f9fa; /* Clean Smoke White baseline background */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.icc-cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Two-Column Split Architecture */
.icc-cta-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: flex-start;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(26, 42, 108, 0.1); /* Subtle Primary Blue split line */
}

/* Column A: Left Invitation Styling Elements */
.icc-cta-super-tag {
    color: #D4AF37; /* Accent Gold */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.icc-cta-main-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2a6c; /* Primary Brand Blue */
    letter-spacing: -0.5px;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.icc-cta-body-prose {
    font-size: 16px;
    line-height: 1.65;
    color: #4a5568; /* Readable slate gray */
    margin: 0 0 36px 0;
}

/* Interactive Layout Buttons */
.icc-cta-button-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.icc-btn-primary-brand {
    background-color: #1a2a6c; /* Primary Blue Button */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.icc-btn-primary-brand:hover {
    background-color: #121e4e;
    transform: translateY(-2px);
}

.icc-btn-secondary-outline {
    background-color: transparent;
    color: #1a2a6c;
    border: 2px solid #1a2a6c;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.icc-btn-secondary-outline:hover {
    background-color: rgba(26, 42, 108, 0.05);
    transform: translateY(-2px);
}

/* Column B: Right Service Schedule Card Interface */
.icc-cta-schedule-card {
    background-color: #ffffff; /* Pops crisp white off the smoke grey background */
    border: 1px solid rgba(26, 42, 108, 0.08);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

.icc-schedule-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2a6c;
    margin: 0 0 8px 0;
}

.icc-schedule-subtext {
    font-size: 14px;
    line-height: 1.5;
    color: #5a6578;
    margin: 0 0 28px 0;
}

/* Schedule Timeline Elements Layout */
.icc-schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.icc-schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #D4AF37; /* Branded accent line tag */
}

.icc-schedule-badge {
    background-color: #1a2a6c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    min-width: 32px;
    text-align: center;
}

.icc-schedule-details {
    flex-grow: 1;
}

.icc-schedule-time-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a2a6c;
    margin: 0 0 2px 0;
}

.icc-schedule-time-meta {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   CUSTOM SOCIAL MEDIA INTERFACE ALIGNMENT 
   ========================================================================== */
.icc-social-gateway-row {
    padding-top: 60px;
    text-align: center;
}

.icc-social-row-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #718096;
    margin: 0 0 28px 0;
}

.icc-social-icon-matrix {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px; /* Generous layout gaps */
    flex-wrap: wrap;
}

.icc-social-icon-link {
    display: inline-block;
    width: 44px;
    height: 44px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.icc-social-img-token {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(15%) opacity(90%); 
    transition: filter 0.2s ease;
}

/* Micro-Interaction Hover Triggers */
.icc-social-icon-link:hover {
    transform: translateY(-5px) scale(1.08);
}

.icc-social-icon-link:hover .icc-social-img-token {
    filter: grayscale(0%) opacity(100%);
}

/* Responsive Structural Controls */
@media (max-width: 992px) {
    .icc-cta-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .icc-cta-main-heading {
        font-size: 2rem;
    }
    .icc-social-icon-matrix {
        gap: 20px;
    }
    .icc-social-icon-link {
        width: 38px;
        height: 38px;
    }
}