/* CSC ACF Content Blocks */
.csc-content-blocks { width: 100%; }
.csc-content-blocks--spotlight { margin-bottom: 48px; }
.csc-content-blocks--flexible { margin-bottom: 48px; }
.csc-block { margin: 0 0 48px; box-sizing: border-box; }
.csc-block:last-child { margin-bottom: 0; }
.csc-block__heading { margin: 0 0 24px; }

.csc-btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
}
.csc-btn:focus,
.csc-card__link:focus {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Full-width Feature */
.csc-block--feature {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #fff;
}
.csc-block__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.42);
}
.csc-block__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    box-sizing: border-box;
    display: flex;
}
.csc-block--feature-left .csc-block__inner { justify-content: flex-start; text-align: left; }
.csc-block--feature-center .csc-block__inner { justify-content: center; text-align: center; }
.csc-block--feature-right .csc-block__inner { justify-content: flex-end; text-align: right; }
.csc-block--feature .csc-block__content { max-width: 650px; }
.csc-block--feature h2 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 56px); line-height: 1.08; }
.csc-block--feature p { margin: 0 0 24px; font-size: 18px; line-height: 1.6; }

/* Split */
.csc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 380px;
}
.csc-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
    box-sizing: border-box;
}
.csc-split__content h2 { margin: 0 0 18px; font-size: 38px; line-height: 1.15; }
.csc-split__image { min-height: 380px; }
.csc-split__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.csc-block--split-left .csc-split__content { order: 2; }
.csc-block--split-left .csc-split__image { order: 1; }

/* Statistic */
.csc-statistic {
    text-align: center;
    padding: 60px 24px;
    background: #f5f5f5;
}
.csc-statistic__number {
    font-size: clamp(52px, 8vw, 96px);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 18px;
}
.csc-statistic h2 { margin: 0 0 12px; font-size: 30px; }
.csc-statistic p { max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* Cards */
.csc-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.csc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    height: 100%;
}
.csc-card__image { aspect-ratio: 4 / 3; overflow: hidden; }
.csc-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.csc-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.csc-card__body h3 { margin: 0 0 12px; font-size: 23px; }
.csc-card__body p { margin: 0 0 18px; line-height: 1.55; }
.csc-card__link { margin-top: auto; font-weight: 700; }

/* Video */
.csc-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.csc-video iframe,
.csc-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.csc-video__caption { margin: 16px 0 0; font-weight: 600; }
.csc-video__description { margin-top: 10px; }

/* Free text */
.csc-block--free-text { max-width: 900px; }
.csc-block--free-text h2 { margin: 0 0 18px; }
.csc-richtext { line-height: 1.7; }
.csc-richtext > *:first-child { margin-top: 0; }

/* Responsive */
@media (max-width: 991px) {
    .csc-cards { grid-template-columns: repeat(2, 1fr); }
    .csc-split { grid-template-columns: 1fr; }
    .csc-block--split-left .csc-split__content,
    .csc-block--split-left .csc-split__image { order: initial; }
    .csc-split__image { min-height: 300px; }
}
@media (max-width: 640px) {
    .csc-cards { grid-template-columns: 1fr; }
    .csc-block--feature { min-height: 360px; }
    .csc-block__inner { padding: 40px 20px; }
    .csc-split__content { padding: 35px 20px; }
    .csc-split__image { min-height: 240px; }
    .csc-block { margin-bottom: 32px; }
}
