/* ===================================================
   Struktur Organisasi — Page-Specific Custom Styles

   These styles ONLY cover the content sections unique
   to this page (section heading, leadership timeline).
   All layout, header, sidebar, and base component
   styling is handled by Skote + current.css
   (= custom.css on live).

   INTEGRATION: Merge these rules into your custom.css
   on the live server. All class names are prefixed with
   "struktur-" to avoid conflicts with existing styles.
   =================================================== */


/* ======================================
   SECTION HEADING
====================================== */
.struktur-head__title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.struktur-head__desc {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}


/* ======================================
   STRUKTUR LIST (leadership timeline)
====================================== */
.struktur-list {
    display: flex;
    flex-direction: column;
}

.struktur-row {
    display: grid;
    grid-template-columns: 72px 220px 1fr;
    gap: 36px;
    align-items: stretch;
    padding: 24px 0;
}

/* Index column: big number + connecting vertical line */
.struktur-row__index {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.struktur-row__num {
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.struktur-row__line {
    flex: 1;
    width: 1px;
    background: #e2e5ea;
    margin-top: 16px;
}

/* Hide the connector under the last person */
.struktur-row:last-child .struktur-row__line {
    display: none;
}

/* Photo */
.struktur-row__photo {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f0e7e7;
}

.struktur-row__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Warm tint overlay to match the design */
.struktur-row__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(214, 92, 92, 0.18), rgba(214, 92, 92, 0.04) 55%, transparent);
    pointer-events: none;
}

/* Info column */
.struktur-row__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.struktur-row__role {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #288052;
    margin: 0 0 6px;
}

.struktur-row__name {
    font-size: 42px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin: 0 0 6px;
}

.struktur-row__period {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}


/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 768px) {
    .struktur-row {
        grid-template-columns: 48px 1fr;
        gap: 16px 20px;
    }

    /* Photo and info stack in the second column */
    .struktur-row__photo {
        max-width: 200px;
    }

    .struktur-row__info {
        grid-column: 2;
    }

    .struktur-row__num {
        font-size: 30px;
    }

    .struktur-row__name {
        font-size: 28px;
    }

    .struktur-row__period {
        font-size: 16px;
    }
}
