/* public/css/site/media-reports.css */

/* ===== Hero ===== */
.reports-hero {
    padding-block: clamp(40px, 14vh, 110px);
    background: radial-gradient(
            900px 320px at 10% -20%,
            rgba(201, 165, 82, 0.16),
            transparent 60%
        ),
        linear-gradient(135deg, #050814, #0b0d10 60%, #020617 100%);
    color: #f9fafb;
    border-bottom: 1px solid rgba(15, 23, 42, 0.7);
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.reports-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin-inline: auto;
}

.reports-hero__title {
    margin: 0;
    font-size: clamp(26px, 5.6vw, 40px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.reports-hero__line {
    display: block;
}

.reports-hero__line--accent {
    background: linear-gradient(
        90deg,
        var(--accent, #c9a552),
        var(--accent-2, #e2c777)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reports-hero__lead {
    margin: 14px 0 0;
    font-weight: 600;
    color: #e5e7eb;
    line-height: 1.9;
}

.reports-hero__lead--soft {
    opacity: 0.9;
}

/* ===== Sections ===== */
.reports-section {
    padding-block: clamp(28px, 9vh, 80px);
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.reports-section--alt {
    background: #f7f7f8;
}

.reports-section__head {
    text-align: center;
    margin-bottom: clamp(16px, 3.5vw, 24px);
}

.reports-section__title {
    margin: 0;
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 900;
    color: var(--black, #0b0f19);
}

.reports-section__title--light {
    color: #f9fafb;
}

.reports-section__subtitle {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted, #6b6f76);
}

/* ===== Intro / محتوى التقارير ===== */
.reports-intro {
    background: #ffffff;
}

.reports-intro__layout {
    max-width: 1300px;
    margin-inline: auto;
}

.reports-intro__content {
    text-align: start;
}

.reports-intro__text {
    margin: 10px 0 18px;
    font-weight: 600;
    color: var(--muted, #6b6f76);
    line-height: 1.9;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.reports-card {
    border-radius: 16px;
    border: 1px solid var(--line, #e5e7eb);
    background: #fcfcfc;
    padding: 14px 14px 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.02);
}

.reports-card__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 900;
    color: var(--black, #0b0f19);
}

.reports-card__body {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted, #6b6f76);
    line-height: 1.9;
}

.reports-card__note {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted, #6b6f76);
}

/* Lists inside cards */
.reports-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.reports-list li {
    position: relative;
    padding-inline-start: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--black, #0b0f19);
}

.reports-list li::before {
    content: "";
    position: absolute;
    inset-block-start: 0.75em;
    inset-inline-start: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(
        circle at 30% 30%,
        var(--accent-2, #e2c777),
        var(--accent, #c9a552)
    );
    transform: translateY(-50%);
}

/* ===== Message block ===== */
.reports-message {
    background: radial-gradient(
            900px 360px at 50% 0,
            rgba(201, 165, 82, 0.18),
            transparent 65%
        ),
        #020617;
    color: #f9fafb;
}

.reports-message__layout {
    max-width: 1000px;
    margin-inline: auto;
}

.reports-message__content {
    text-align: start;
}

.reports-message__text {
    margin: 10px 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
    line-height: 2;
}

/* ===== Reports listing ===== */
.reports-listing {
    background: #f9fafb;
}

.reports-listing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 22px);
}

.reports-item {
    border-radius: 18px;
    border: 1px solid var(--line, #e5e7eb);
    background: #ffffff;
    padding: 14px 14px 16px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reports-item--locked {
    background: #f7f7f8;
}

.reports-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.reports-item__title {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    color: var(--black, #0b0f19);
}

.reports-item__badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(34, 197, 94, 0.08);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.reports-item__badge--locked {
    background: rgba(148, 163, 184, 0.12);
    color: #334155;
    border-color: rgba(148, 163, 184, 0.5);
}

.reports-item__desc {
    margin: 2px 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted, #6b6f76);
    line-height: 1.9;
}

.reports-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted, #6b6f76);
}

.reports-item__year {
    font-weight: 800;
    color: var(--black, #0b0f19);
}

.reports-item__actions {
    margin-top: 6px;
}

.reports-item__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 165, 82, 0.7);
    background: linear-gradient(
        90deg,
        var(--accent, #c9a552),
        var(--accent-2, #e2c777)
    );
    color: #13100a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.reports-item__action:hover,
.reports-item__action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(201, 165, 82, 0.25);
    filter: brightness(1.02);
}

.reports-item__action--locked {
    background: #e5e7eb;
    border-color: #cbd5f5;
    color: #111827;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .reports-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reports-listing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .reports-hero {
        padding-block: clamp(28px, 11vh, 70px);
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .reports-listing__grid {
        grid-template-columns: 1fr;
    }

    .reports-card__title,
    .reports-item__title {
        font-size: 14px;
    }

    .reports-card__body,
    .reports-item__desc {
        font-size: 13px;
    }
}
