/* =============================================
   CASE STUDY — Single & Archive
   Paste into Kadence > Customise > Additional CSS
   ============================================= */

/* --- Shared --------------------------------- */

.cs-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* --- Hero ----------------------------------- */

.cs-hero {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.cs-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-hero__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.25rem;
    background: linear-gradient( to top, rgba(0,0,0,0.6) 0%, transparent 100% );
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.cs-hero__client {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.cs-hero__sector {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 400;
}

/* --- Header --------------------------------- */

.cs-header {
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid #e8e8e4;
    margin-bottom: 3rem;
}

.cs-header__name {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
}

.cs-header__meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.cs-meta-item {
    font-size: 0.875rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.cs-meta-divider {
    color: #ccc;
    font-size: 0.875rem;
}

.cs-header__summary {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
    font-weight: 400;
}

/* --- Story sections ------------------------- */

.cs-story {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    margin-bottom: 3.5rem;
}

.cs-story__section {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0 2rem;
    align-items: start;
}

.cs-story__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2d7a4f; /* swap for your brand colour */
    padding-top: 0.3rem;
    line-height: 1.4;
}

.cs-story__text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.cs-story__text p {
    margin: 0 0 1em;
}

.cs-story__text p:last-child {
    margin-bottom: 0;
}

/* --- Pull quote ----------------------------- */

.cs-quote {
    margin: 0 0 3.5rem;
    padding: 1.75rem 2rem;
    border-left: 4px solid #2d7a4f; /* swap for your brand colour */
    background: #f7f9f7;
    border-radius: 0 6px 6px 0;
}

.cs-quote__text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #222;
    font-style: italic;
    margin: 0 0 0.75rem;
}

.cs-quote__attribution {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    font-style: normal;
}

/* --- Tangible results ----------------------- */

.cs-tangibles {
    margin-bottom: 3.5rem;
}

.cs-tangibles__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 0.75rem;
}

.cs-tangibles__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cs-tangibles__pill {
    background: #eef5f1;
    color: #2d7a4f; /* swap for your brand colour */
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    border: 1px solid #c8dfd2;
}

/* --- CTA ------------------------------------ */

.cs-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: #1a1a1a;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.cs-cta__text {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 1.25rem;
    font-weight: 400;
    line-height: 1.5;
}

.cs-cta__button {
    display: inline-block;
    background: #2d7a4f; /* swap for your brand colour */
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cs-cta__button:hover {
    background: #245f3e;
    transform: translateY(-1px);
}

/* --- Back link ------------------------------ */

.cs-back {
    text-align: center;
}

.cs-back a {
    font-size: 0.875rem;
    color: #888;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.cs-back a:hover {
    color: #2d7a4f;
}

/* --- Responsive ----------------------------- */

@media ( max-width: 600px ) {

    .cs-story__section {
        grid-template-columns: 1fr;
        gap: 0.4rem 0;
    }

    .cs-story__label {
        padding-top: 0;
    }

    .cs-hero {
        max-height: 280px;
    }

    .cs-quote {
        padding: 1.25rem 1.25rem;
    }

    .cs-cta {
        padding: 2rem 1.25rem;
    }
}


/* =============================================
   CASE STUDY — Archive
   (styles added here after archive template)
   ============================================= */
