/* Widget: hero|case-study */

.cs-hero-wrap {
    background-color: rgba(245, 245, 245, .95);
}

.cs-hero-wrap .cs-hero-title {
    color: #0a0a0a;
    font-weight: 700;
    font-size: clamp(32px, 4.2vw, 48px);
    line-height: 1.05;
    margin: 0 0 32px;
}

.cs-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* --- Media / video --- */
.cs-hero-media {
    position: relative;
    border-radius: var(--cs-radius, 10px);
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 886 / 647;
}

.cs-hero-media .cs-hero-img,
.cs-hero-media iframe,
.cs-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
}

.cs-hero-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 96px;
    height: 96px;
    border: 0;
    border-radius: 50%;
    background: rgba(245, 245, 245, .92);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease;
}

.cs-hero-play:hover {
    transform: scale(1.06);
    background: #fff;
}

.cs-hero-play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent var(--cs-red, #E30613);
    margin-left: 6px;
}

/* --- Spec box --- */
.cs-spec-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.cs-spec {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--cs-border, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.cs-spec-ico {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f8f8f8;
    border: 1px solid var(--cs-border, #e5e7eb);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
.cs-spec-ico::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border: 2px solid var(--cs-red, #E30613);
    border-radius: 4px;
}
*/

.cs-spec-label {
    color: var(--cs-ink, #111827);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

.cs-spec-value {
    color: var(--cs-text, #374151);
    font-size: 16px;
    line-height: 1.5;
}

.cs-spec-note {
    color: var(--cs-muted, #6b7280);
    font-size: 15px;
    line-height: 1.5;
}

.cs-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.cs-chip {
    display: inline-block;
    padding: 4px 12px;
    background: var(--cs-bg-soft, #f5f5f5);
    border-radius: 999px;
    font-size: 14px;
    color: var(--cs-text, #374151);
}

.cs-hero-intro {
    color: var(--cs-muted, #6b7280);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cs-hero-intro p {
    margin: 0 0 12px;
}

@media (max-width: 991px) {
    .cs-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
