/* =========================================================
   JARYAN — MAIN STYLE
   Responsive: Mobile + Windows/Desktop
   ========================================================= */


/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background: #111315;
    color: #f2f0eb;
    direction: rtl;
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================
   VARIABLES
   ========================= */

:root {
    --bg: #111315;
    --bg-soft: #17191b;
    --bg-card: #1c1e20;

    --white: #f2f0eb;
    --muted: #9c9a95;

    --brown: #5f5a52;
    --brown-light: #777066;

    --mint: #72e6c1;
    --red: #ff5c5c;

    --border: rgba(242, 240, 235, 0.10);

    --radius: 18px;
    --radius-small: 12px;

    --max-width: 1240px;
}


/* =========================
   GENERAL
   ========================= */

body::selection {
    background: var(--mint);
    color: #111315;
}

main {
    width: 100%;
}

.section {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 110px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.section-kicker {
    display: block;
    color: var(--mint);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.3;
    font-weight: 700;
}

.section-number {
    font-size: 14px;
    color: var(--muted);
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(17, 19, 21, 0.88);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    width: min(var(--max-width), calc(100% - 40px));
    height: 82px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* BRAND */

.brand {
    display: flex;
    align-items: baseline;
    gap: 13px;
}

.brand-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-slogan {
    color: var(--muted);
    font-size: 11px;
}


/* NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.desktop-nav a {
    color: #b9b7b2;
    font-size: 14px;
    transition: 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--white);
}


/* MOBILE MENU BUTTON */

.mobile-menu-button {
    display: none;

    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);

    width: 44px;
    height: 44px;

    border-radius: 12px;

    font-size: 20px;
}


/* MOBILE NAV */

.mobile-nav {
    display: none;
    padding: 10px 20px 20px;
    border-top: 1px solid var(--border);
}

.mobile-nav a {
    display: block;
    padding: 13px 5px;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}


/* =========================
   HERO
   ========================= */

.hero {
    width: min(var(--max-width), calc(100% - 40px));
    min-height: 700px;

    margin: auto;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;

    gap: 80px;
}


/* HERO CONTENT */

.hero-content {
    padding: 70px 0;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--mint);

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 30px;
}

.live-indicator span {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--mint);

    box-shadow: 0 0 15px rgba(114, 230, 193, 0.6);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1 {
    font-size: clamp(46px, 7vw, 86px);
    line-height: 1.18;
    letter-spacing: -3px;
    font-weight: 400;
}

.hero h1 strong {
    font-weight: 800;
}

.hero-content > p {
    color: var(--muted);
    font-size: 18px;
    margin-top: 30px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 23px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    border: 1px solid transparent;

    transition: 0.25s ease;
}

.btn-primary {
    background: var(--white);
    color: #111315;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--mint);
}

.btn-secondary {
    border-color: var(--border);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--bg-soft);
}


/* HERO CASE */

.hero-case {
    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(95, 90, 82, 0.35),
            rgba(28, 30, 32, 0.9)
        );

    border: 1px solid rgba(95, 90, 82, 0.45);

    border-radius: 26px;

    padding: 38px;

    min-height: 330px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;
}

.hero-case::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(114, 230, 193, 0.04);

    top: -90px;
    left: -80px;
}

.case-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 30px;

    font-size: 12px;
}

.case-label {
    color: var(--mint);
    font-weight: 700;
}

.case-time {
    color: var(--muted);
}

.hero-case h2 {
    font-size: 30px;
    line-height: 1.5;

    margin-bottom: 15px;
}

.hero-case p {
    color: var(--muted);
    font-size: 14px;
}

.case-link {
    display: inline-block;

    margin-top: 28px;

    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.case-link:hover {
    color: var(--mint);
}


/* =========================
   TEASER
   ========================= */

.teaser-card {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 380px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    overflow: hidden;

    background: var(--bg-soft);
}

.teaser-image {
    min-height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #242321,
            #5f5a52
        );

    position: relative;
}

.teaser-image::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    border: 1px solid rgba(242, 240, 235, 0.18);

    transform: rotate(45deg);
}

.teaser-image span {
    position: relative;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;

    color: rgba(242, 240, 235, 0.8);
}

.teaser-content {
    padding: 55px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-badge {
    width: fit-content;

    padding: 5px 12px;

    border-radius: 30px;

    background: rgba(114, 230, 193, 0.08);
    color: var(--mint);

    font-size: 11px;
    font-weight: 700;

    margin-bottom: 20px;
}

.teaser-content h3 {
    font-size: 34px;
    line-height: 1.4;

    margin-bottom: 15px;
}

.teaser-content p {
    color: var(--muted);
    font-size: 14px;
}

.teaser-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 45px;
    padding-top: 18px;

    border-top: 1px solid var(--border);

    color: var(--muted);
    font-size: 12px;
}


/* =========================
   CASES
   ========================= */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.case-card {
    min-height: 290px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--bg-soft);

    display: flex;
    flex-direction: column;

    transition: 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(114, 230, 193, 0.25);
}

.case-card-top {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--muted);
    font-size: 12px;
}

.live-dot {
    width: 7px;
    height: 7px;

    background: var(--mint);
    border-radius: 50%;
}

.case-card h3 {
    font-size: 23px;
    margin-top: 35px;
}

.case-card p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
}

.case-card-bottom {
    margin-top: auto;
    padding-top: 25px;

    display: flex;
    justify-content: space-between;

    color: var(--muted);
    font-size: 12px;
}

.case-card-bottom a {
    color: var(--white);
    font-weight: 700;
}

.case-card-bottom a:hover {
    color: var(--mint);
}

.special-case {
    background:
        linear-gradient(
            145deg,
            rgba(95, 90, 82, 0.25),
            var(--bg-soft)
        );
}

.special-icon {
    color: #c9bfae;
}


/* =========================
   LATEST
   ========================= */

.latest-section {
    border-top: 1px solid var(--border);
}

.latest-list {
    border-top: 1px solid var(--border);
}

.latest-item {
    display: grid;
    grid-template-columns: 60px 1fr 80px;
    align-items: center;

    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}

.latest-number {
    color: var(--brown-light);
    font-size: 13px;
}

.latest-content > span {
    color: var(--mint);
    font-size: 11px;
}

.latest-content h3 {
    font-size: 20px;
    margin: 5px 0;
}

.latest-content p {
    color: var(--muted);
    font-size: 13px;
}

.latest-item time {
    color: var(--muted);
    font-size: 12px;
    text-align: left;
}


/* =========================
   SPECIAL PANEL
   ========================= */

.special-panel {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto 110px;

    min-height: 440px;

    border-radius: 28px;

    padding: 70px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #3c3934,
            #191b1d 70%
        );

    border: 1px solid rgba(95, 90, 82, 0.55);

    display: flex;
    align-items: center;
}

.special-panel::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border: 1px solid rgba(242, 240, 235, 0.06);

    left: -170px;
    top: -100px;
}

.special-panel-content {
    position: relative;
    z-index: 2;
}

.special-panel h2 {
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.2;

    margin-bottom: 20px;
}

.special-panel p {
    color: #bdbab4;
    font-size: 15px;
}

.notify-button {
    margin-top: 30px;

    padding: 13px 20px;

    border-radius: 12px;

    border: 1px solid rgba(242, 240, 235, 0.16);

    background: rgba(17, 19, 21, 0.4);

    color: var(--white);

    font-size: 13px;

    transition: 0.25s ease;
}

.notify-button:hover {
    background: var(--mint);
    color: #111315;
}

.special-panel-number {
    position: absolute;

    left: 70px;
    bottom: 45px;

    color: rgba(242, 240, 235, 0.25);

    font-size: 14px;
}


/* =========================
   WITNESS
   ========================= */

.witness-box {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 50px;

    padding: 50px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--bg-soft);
}

.witness-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.witness-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(95, 90, 82, 0.25);

    font-size: 24px;

    margin-bottom: 25px;
}

.witness-info h3 {
    font-size: 27px;
}

.witness-info p {
    color: var(--muted);
    font-size: 14px;

    margin-top: 12px;
}

.witness-info small {
    display: block;

    color: #77756f;
    font-size: 11px;

    margin-top: 25px;
}


/* FORM */

.witness-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.witness-form label {
    display: flex;
    flex-direction: column;

    gap: 7px;

    color: #bdbab4;

    font-size: 12px;
}

.witness-form input,
.witness-form textarea,
.witness-form select {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #121416;

    color: var(--white);

    padding: 13px 15px;

    outline: none;

    font-size: 13px;

    transition: 0.2s ease;
}

.witness-form input:focus,
.witness-form textarea:focus,
.witness-form select:focus {
    border-color: rgba(114, 230, 193, 0.45);
}

.witness-form textarea {
    resize: vertical;
}

.full-width {
    width: 100%;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    width: min(var(--max-width), calc(100% - 40px));

    margin: auto;

    padding: 55px 0 40px;

    border-top: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-size: 24px;
}

.footer-brand span {
    color: var(--muted);
    font-size: 11px;
}

.site-footer p {
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 11px;
}

.footer-links a:hover {
    color: var(--white);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 70px 0;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero-case {
        max-width: 650px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .witness-box {
        grid-template-columns: 1fr;
    }

    .witness-info {
        max-width: 650px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .section {
        width: min(100% - 28px, var(--max-width));
        padding: 75px 0;
    }

    .header-inner {
        width: calc(100% - 28px);
        height: 70px;
    }

    .brand-name {
        font-size: 24px;
    }

    .brand-slogan {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-nav.open {
        display: block;
    }


    /* HERO */

    .hero {
        width: calc(100% - 28px);
        min-height: auto;

        padding: 55px 0 30px;

        display: block;
    }

    .hero-content {
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 62px);
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 15px;
        margin-top: 22px;
    }

    .hero-buttons {
        margin-top: 28px;
    }

    .btn {
        min-height: 48px;
        padding: 0 17px;
        font-size: 13px;
    }

    .hero-case {
        margin-top: 45px;
        padding: 27px;
        min-height: 300px;
        border-radius: 20px;
    }

    .case-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .hero-case h2 {
        font-size: 24px;
    }


    /* SECTION */

    .section-heading {
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-number {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }


    /* TEASER */

    .teaser-card {
        grid-template-columns: 1fr;
    }

    .teaser-image {
        min-height: 220px;
    }

    .teaser-content {
        padding: 28px;
    }

    .teaser-content h3 {
        font-size: 26px;
    }


    /* CASES */

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        min-height: 260px;
    }


    /* LATEST */

    .latest-item {
        grid-template-columns: 35px 1fr;
        gap: 15px;
    }

    .latest-item time {
        grid-column: 2;
        text-align: right;
    }

    .latest-content h3 {
        font-size: 17px;
    }


    /* SPECIAL */

    .special-panel {
        width: calc(100% - 28px);

        min-height: 400px;

        padding: 38px 28px;

        border-radius: 22px;

        margin-bottom: 75px;
    }

    .special-panel h2 {
        font-size: 42px;
    }

    .special-panel-number {
        left: 28px;
        bottom: 28px;
    }


    /* WITNESS */

    .witness-box {
        padding: 28px 22px;
        gap: 40px;
    }

    .witness-info h3 {
        font-size: 24px;
    }


    /* FOOTER */

    .site-footer {
        width: calc(100% - 28px);

        flex-direction: column;
        align-items: flex-start;

        padding: 40px 0 30px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .special-panel h2 {
        font-size: 36px;
    }

}
/* =========================================================
   LIVE CASE PAGE
   ========================================================= */

.case-page {
    width: min(1000px, calc(100% - 40px));
    margin: auto;
}


/* CASE HERO */

.case-hero {
    padding: 100px 0 90px;
    border-bottom: 1px solid var(--border);
}

.case-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--mint);
    font-size: 13px;
    font-weight: 700;
}

.case-meta {
    display: flex;
    justify-content: space-between;

    margin-top: 25px;

    color: var(--muted);
    font-size: 12px;
}

.case-hero h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.25;

    margin-top: 35px;

    letter-spacing: -2px;
}

.case-lead {
    max-width: 720px;

    color: var(--muted);
    font-size: 16px;

    margin-top: 25px;
}

.case-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;

    margin-top: 35px;
}


/* CASE SECTIONS */

.case-section {
    padding: 85px 0;

    border-bottom: 1px solid var(--border);
}

.case-section-title {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 35px;
}

.case-section-title > span {
    color: var(--brown-light);
    font-size: 13px;
}

.case-section-title small {
    display: block;

    color: var(--mint);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 5px;
}

.case-section-title h2 {
    font-size: 30px;
}


/* SUMMARY */

.summary-box {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    padding: 35px;

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            rgba(95, 90, 82, 0.28),
            var(--bg-soft)
        );

    border: 1px solid rgba(95, 90, 82, 0.4);
}

.summary-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(114, 230, 193, 0.08);

    font-size: 23px;
}

.summary-box h3 {
    font-size: 21px;
}

.summary-box p {
    color: var(--muted);

    font-size: 14px;

    margin-top: 8px;
}


/* TIMELINE */

.timeline {
    position: relative;

    padding-right: 30px;
}

.timeline::before {
    content: "";

    position: absolute;

    right: 12px;
    top: 10px;
    bottom: 10px;

    width: 1px;

    background: var(--border);
}

.timeline-item {
    position: relative;

    display: flex;

    gap: 25px;

    padding-bottom: 45px;
}

.timeline-marker {
    position: relative;
    z-index: 2;

    width: 26px;
    height: 26px;

    margin-right: -31px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--bg);
    border: 1px solid var(--brown-light);

    color: var(--muted);

    font-size: 10px;
}

.timeline-item.active .timeline-marker {
    background: var(--mint);

    color: #111315;

    border-color: var(--mint);

    box-shadow:
        0 0 0 7px rgba(114, 230, 193, 0.07);
}

.timeline-content {
    padding-right: 30px;
}

.timeline-content time {
    color: var(--mint);
    font-size: 11px;
}

.timeline-content h3 {
    font-size: 19px;
    margin-top: 5px;
}

.timeline-content p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}


/* KNOWN / UNKNOWN */

.knowledge-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.knowledge-box {
    padding: 32px;

    border-radius: var(--radius);

    background: var(--bg-soft);

    border: 1px solid var(--border);
}

.knowledge-header {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;
}

.knowledge-header span {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-weight: 700;
}

.known .knowledge-header span {
    background: rgba(114, 230, 193, 0.10);
    color: var(--mint);
}

.unknown .knowledge-header span {
    background: rgba(255, 92, 92, 0.08);
    color: var(--red);
}

.knowledge-header h2 {
    font-size: 21px;
}

.knowledge-box ul {
    list-style: none;
}

.knowledge-box li {
    color: var(--muted);

    font-size: 13px;

    padding: 12px 0;

    border-bottom: 1px solid var(--border);
}

.knowledge-box li:last-child {
    border-bottom: 0;
}


/* UPDATE */

.update-box {
    display: flex;
    gap: 25px;

    padding: 32px;

    border-radius: var(--radius);

    background: var(--bg-soft);

    border-right: 3px solid var(--mint);
}

.update-time {
    color: var(--mint);

    font-size: 12px;

    white-space: nowrap;
}

.update-box h3 {
    font-size: 20px;

    margin-top: 5px;
}

.update-box p {
    color: var(--muted);

    font-size: 13px;

    margin-top: 10px;
}


/* VOICE */

.voice-box {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 25px 30px;

    border-radius: var(--radius);

    background: var(--bg-soft);

    border: 1px solid var(--border);
}

.voice-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--mint);

    color: #111315;
}

.voice-info {
    flex: 1;
}

.voice-info > span {
    color: var(--mint);
    font-size: 11px;
}

.voice-info h3 {
    font-size: 18px;
}

.voice-info p {
    color: var(--muted);
    font-size: 12px;
}

.voice-play {
    padding: 10px 18px;

    border-radius: 10px;

    background: transparent;

    color: var(--white);

    border: 1px solid var(--border);
}

.voice-play:hover {
    background: var(--mint);
    color: #111315;
}


/* EVIDENCE */

.evidence-box {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 35px;

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            rgba(95, 90, 82, 0.25),
            var(--bg-soft)
        );

    border: 1px solid rgba(95, 90, 82, 0.35);
}

.evidence-count {
    font-size: 48px;
    font-weight: 800;

    color: var(--brown-light);
}

.evidence-box h3 {
    font-size: 20px;
}

.evidence-box p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}


/* SOURCES */

.sources-list {
    border-top: 1px solid var(--border);
}

.source-item {
    display: grid;

    grid-template-columns: 50px 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 22px 0;

    border-bottom: 1px solid var(--border);
}

.source-item > span:first-child {
    color: var(--brown-light);
    font-size: 12px;
}

.source-item strong {
    display: block;
    font-size: 14px;
}

.source-item small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.verified {
    color: var(--mint);
    font-size: 11px;
}

.checking {
    color: #c9bfae;
    font-size: 11px;
}


/* FOLLOW */

.case-follow {
    text-align: center;

    padding: 100px 0;
}

.case-follow > span {
    color: var(--mint);
    font-size: 12px;
}

.case-follow h2 {
    font-size: clamp(35px, 6vw, 60px);

    margin: 12px 0 28px;
}


/* =========================
   CASE MOBILE
   ========================= */

@media (max-width: 700px) {

    .case-page {
        width: calc(100% - 28px);
    }

    .case-hero {
        padding: 65px 0;
    }

    .case-meta {
        flex-direction: column;
        gap: 5px;
    }

    .case-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .case-lead {
        font-size: 14px;
    }

    .case-section {
        padding: 60px 0;
    }

    .case-section-title h2 {
        font-size: 25px;
    }

    .summary-box {
        padding: 25px;
        flex-direction: column;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .update-box {
        flex-direction: column;
        gap: 10px;
    }

    .voice-box {
        padding: 20px;
    }

    .voice-play {
        padding: 9px 14px;
    }

    .evidence-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .source-item {
        grid-template-columns: 35px 1fr;
    }

    .source-item > span:last-child {
        grid-column: 2;
    }

}
/* =========================================================
   JARYAN — ADMIN / EDITORIAL PANEL
   ========================================================= */

.dashboard-body {
    background: var(--bg);
    min-height: 100vh;
}

/* ---------- Header ---------- */

.admin-header {
    height: 72px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(17, 19, 21, 0.94);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-brand strong {
    font-size: 22px;
    color: var(--white);
}

.admin-brand span {
    color: var(--muted);
    font-size: 13px;
    border-right: 1px solid var(--border);
    padding-right: 14px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user strong {
    display: block;
    font-size: 14px;
}

.user-status {
    display: block;
    color: var(--mint);
    font-size: 11px;
    margin-top: 3px;
}

.admin-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brown);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--white);
}

/* ---------- Main Layout ---------- */

.admin-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: calc(100vh - 72px);
}

.admin-sidebar {
    border-left: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    color: var(--muted);
    font-size: 11px;
    margin: 0 10px 12px;
    letter-spacing: 0.5px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-nav-link {
    min-height: 46px;
    padding: 0 13px;
    border-radius: 11px;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.2s ease;
    font-size: 14px;
}

.admin-nav-link:hover {
    background: rgba(242, 240, 235, 0.05);
    color: var(--white);
}

.admin-nav-link.active {
    background: rgba(95, 90, 82, 0.28);
    color: var(--white);
}

.admin-nav-link .nav-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-nav-link .nav-icon {
    width: 23px;
    text-align: center;
    opacity: 0.85;
}

.admin-nav-link .badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 20px;
    background: var(--red);
    color: white;
    font-size: 10px;
    display: grid;
    place-items: center;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sidebar-role {
    padding: 13px;
    border-radius: 12px;
    background: rgba(242, 240, 235, 0.035);
    margin-bottom: 10px;
}

.sidebar-role small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 5px;
}

.sidebar-role strong {
    font-size: 13px;
}

/* ---------- Main ---------- */

.admin-main {
    min-width: 0;
    padding: 34px;
    max-width: 1500px;
}

.admin-page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-page-title h1 {
    margin: 0;
    font-size: clamp(25px, 3vw, 34px);
}

.admin-page-title p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-primary-button {
    border: 0;
    border-radius: 11px;
    padding: 12px 18px;
    background: var(--white);
    color: var(--bg);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.admin-primary-button:hover {
    transform: translateY(-2px);
}

/* ---------- Stats ---------- */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    left: -30px;
    bottom: -40px;
    border-radius: 50%;
    background: rgba(95, 90, 82, 0.10);
}

.stat-card small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 10px;
}

.stat-card strong {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
}

.stat-card.warning {
    border-color: rgba(255, 92, 92, 0.25);
}

.stat-card.warning strong {
    color: var(--red);
}

.stat-card.special {
    border-color: rgba(114, 230, 193, 0.18);
}

.stat-card.special strong {
    color: var(--mint);
}

/* ---------- Sections ---------- */

.admin-section {
    margin-bottom: 30px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.admin-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.admin-section-heading h2 {
    margin: 0;
    font-size: 18px;
}

.admin-section-heading p {
    color: var(--muted);
    font-size: 12px;
    margin: 5px 0 0;
}

.text-button {
    border: 0;
    background: transparent;
    color: var(--mint);
    font-family: inherit;
    cursor: pointer;
    font-size: 12px;
}

/* ---------- Publication Queue ---------- */

.publication-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.publication-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(242, 240, 235, 0.018);
}

.publication-level {
    width: 44px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
}

.level-one {
    background: rgba(114, 230, 193, 0.12);
    color: var(--mint);
}

.level-two {
    background: rgba(242, 240, 235, 0.10);
    color: var(--white);
}

.level-three {
    background: rgba(255, 92, 92, 0.12);
    color: var(--red);
}

.publication-content {
    min-width: 0;
}

.publication-content strong {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.publication-content span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
}

.publication-status {
    padding: 6px 9px;
    border-radius: 20px;
    font-size: 10px;
    white-space: nowrap;
}

.publication-status.ready {
    color: var(--mint);
    background: rgba(114, 230, 193, 0.08);
}

.publication-status.review {
    color: var(--white);
    background: rgba(242, 240, 235, 0.08);
}

.publication-status.locked {
    color: var(--red);
    background: rgba(255, 92, 92, 0.08);
}

.review-button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    border-radius: 9px;
    padding: 8px 11px;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
}

/* ---------- Cases ---------- */

.admin-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.admin-case-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(242, 240, 235, 0.018);
}

.admin-case-card.special {
    border-color: rgba(114, 230, 193, 0.22);
}

.admin-case-card .case-small-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--mint);
    font-size: 10px;
    margin-bottom: 14px;
}

.admin-case-card .case-small-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.admin-case-card h3 {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 8px;
}

.admin-case-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    margin: 0;
}

.admin-case-card .case-admin-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

/* ---------- Evidence ---------- */

.evidence-admin-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.evidence-admin-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.evidence-type {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(95, 90, 82, 0.25);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.evidence-admin-item strong {
    display: block;
    font-size: 13px;
}

.evidence-admin-item span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 4px;
}

.evidence-state {
    font-size: 10px;
    padding: 6px 9px;
    border-radius: 20px;
}

.evidence-state.pending {
    color: #e7c987;
    background: rgba(231, 201, 135, 0.08);
}

.evidence-state.checking {
    color: var(--mint);
    background: rgba(114, 230, 193, 0.08);
}

/* ---------- Teaser ---------- */

.teaser-admin-card {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;
}

.teaser-preview {
    min-height: 145px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background:
        linear-gradient(
            145deg,
            rgba(95, 90, 82, 0.35),
            rgba(17, 19, 21, 0.95)
        );
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.teaser-preview strong {
    font-size: 17px;
    line-height: 1.6;
}

.teaser-admin-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.teaser-admin-info h3 {
    margin: 0 0 7px;
    font-size: 17px;
}

.teaser-admin-info p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.teaser-admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.teaser-admin-actions button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    border-radius: 9px;
    padding: 8px 13px;
    font-family: inherit;
    cursor: pointer;
    font-size: 11px;
}

.teaser-admin-actions .danger-button {
    color: var(--red);
    border-color: rgba(255, 92, 92, 0.2);
}

/* ---------- Decoration ---------- */

.decoration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.decoration-card {
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(242, 240, 235, 0.018);
}

.decoration-card label {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 8px;
}

.decoration-card input,
.decoration-card textarea,
.decoration-card select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    border-radius: 9px;
    padding: 11px 12px;
    font-family: inherit;
    outline: none;
}

.decoration-card textarea {
    min-height: 90px;
    resize: vertical;
}

.decoration-card input:focus,
.decoration-card textarea:focus,
.decoration-card select:focus {
    border-color: var(--brown-light);
}

.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
}

.switch-row span {
    font-size: 12px;
}

.switch {
    width: 43px;
    height: 23px;
    border-radius: 20px;
    background: var(--brown);
    position: relative;
    cursor: pointer;
}

.switch::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    top: 3px;
    right: 3px;
    border-radius: 50%;
    background: var(--white);
}

.switch.active {
    background: var(--mint);
}

.switch.active::after {
    right: 23px;
    background: var(--bg);
}

.decoration-preview {
    grid-column: 1 / -1;
    min-height: 100px;
    border: 1px dashed var(--border);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12px;
}

/* ---------- Media ---------- */

.media-placeholder {
    min-height: 150px;
    border: 1px dashed var(--border);
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-align: center;
}

.media-placeholder strong {
    color: var(--white);
    margin-bottom: 7px;
}

.media-placeholder span {
    font-size: 11px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-case-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 950px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        top: 72px;
        right: 0;
        bottom: 0;
        width: 270px;
        z-index: 90;
        transform: translateX(105%);
        transition: transform 0.3s ease;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        padding: 25px 20px;
    }

    .admin-mobile-toggle {
        display: flex !important;
    }

    .admin-layout::before {
        content: "";
        display: none;
        position: fixed;
        inset: 72px 0 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 80;
    }

    .admin-layout.sidebar-open::before {
        display: block;
    }
}

.admin-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}

@media (max-width: 700px) {

    .admin-header {
        height: 64px;
        padding: 0 15px;
    }

    .admin-brand span,
    .admin-user > div {
        display: none;
    }

    .admin-brand strong {
        font-size: 20px;
    }

    .admin-avatar {
        width: 34px;
        height: 34px;
    }

    .admin-sidebar {
        top: 64px;
    }

    .admin-main {
        padding: 22px 14px;
    }

    .admin-page-title {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .admin-primary-button {
        width: 100%;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card strong {
        font-size: 25px;
    }

    .admin-section {
        padding: 15px;
        border-radius: 14px;
    }

    .admin-section-heading h2 {
        font-size: 16px;
    }

    .publication-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
    }

    .publication-status,
    .review-button {
        grid-column: 2;
        justify-self: start;
    }

    .admin-case-grid {
        grid-template-columns: 1fr;
    }

    .evidence-admin-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .evidence-state {
        grid-column: 2;
        justify-self: start;
    }

    .teaser-admin-card {
        grid-template-columns: 1fr;
    }

    .teaser-preview {
        min-height: 180px;
    }

    .decoration-grid {
        grid-template-columns: 1fr;
    }

    .decoration-preview {
        grid-column: auto;
    }
}

@media (max-width: 430px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-page-title h1 {
        font-size: 25px;
    }

    .admin-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================================
   JARYAN — ADVANCED EDITORIAL CMS
   ========================================================= */

/* ---------- Editor Base ---------- */

.editor-panel,
.news-admin-editor {
    min-width: 0;
}

.editor-panel h3 {
    margin: 0 0 18px;
    font-size: 15px;
}

.editor-help {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    margin: -8px 0 18px;
}

.editor-panel label,
.news-admin-editor label,
.editor-relations label {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin: 15px 0 7px;
}

.editor-panel input,
.editor-panel textarea,
.editor-panel select,
.news-admin-editor input,
.news-admin-editor textarea,
.news-admin-editor select,
.editor-relations input,
.editor-relations select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    border-radius: 10px;
    padding: 12px;
    font-family: inherit;
    outline: none;
}

.editor-panel textarea,
.news-admin-editor textarea {
    min-height: 105px;
    resize: vertical;
    line-height: 1.9;
}

.editor-panel input:focus,
.editor-panel textarea:focus,
.editor-panel select:focus,
.news-admin-editor input:focus,
.news-admin-editor textarea:focus,
.news-admin-editor select:focus,
.editor-relations select:focus {
    border-color: var(--brown-light);
}

.admin-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.editor-panel {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(242, 240, 235, 0.018);
}

.editor-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


/* ---------- Fixed Media Slots ---------- */

.media-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}

.media-slot > div {
    min-width: 0;
}

.media-slot strong {
    display: block;
    font-size: 12px;
}

.media-slot span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px;
    line-height: 1.6;
}

.media-slot button,
.news-cover-slot button,
.news-voice-slot button,
.block-media-placeholder button {
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: rgba(242, 240, 235, 0.04);
    color: var(--white);
    border-radius: 8px;
    padding: 8px 11px;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

.media-slot button:hover,
.news-cover-slot button:hover,
.news-voice-slot button:hover,
.block-media-placeholder button:hover {
    background: rgba(242, 240, 235, 0.09);
}


/* ---------- Editor Actions ---------- */

.editor-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.secondary-editor-button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    border-radius: 10px;
    padding: 11px 15px;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s ease;
}

.secondary-editor-button:hover {
    background: rgba(242, 240, 235, 0.06);
}


/* ---------- Update List ---------- */

.update-admin-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.update-admin-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(242, 240, 235, 0.018);
}

.update-number {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(95, 90, 82, 0.25);
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
}

.update-admin-item strong {
    display: block;
    font-size: 13px;
}

.update-admin-item span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px;
}

.update-actions {
    display: flex;
    gap: 7px;
}

.update-actions button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}


/* ---------- Block Editor ---------- */

.block-editor-section {
    overflow: hidden;
}

.editor-relations {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.7fr;
    gap: 12px;
    margin-bottom: 22px;
}

.editor-relations label {
    margin-top: 0;
}

.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content-block {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(242, 240, 235, 0.018);
    padding: 10px;
}

.block-handle {
    width: 34px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: grab;
    font-size: 15px;
    letter-spacing: -3px;
}

.block-body {
    min-width: 0;
    padding: 4px 4px 4px 0;
}

.block-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.block-top span {
    font-size: 12px;
    font-weight: 700;
}

.block-top button {
    border: 0;
    background: transparent;
    color: var(--red);
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.block-body textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 100px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    border-radius: 9px;
    padding: 11px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    line-height: 1.9;
}

.block-body input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    border-radius: 9px;
    padding: 10px;
    font-family: inherit;
    outline: none;
}

.block-media-placeholder {
    min-height: 110px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    color: var(--muted);
}

.block-media-placeholder strong {
    color: var(--white);
    font-size: 11px;
}


/* ---------- Add Block ---------- */

.add-block-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
    padding: 13px;
    border: 1px dashed var(--border);
    border-radius: 11px;
}

.add-block-menu > span {
    color: var(--muted);
    font-size: 10px;
    margin-left: 5px;
}

.add-block-menu button {
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    border-radius: 8px;
    padding: 7px 10px;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

.add-block-menu button:hover {
    border-color: var(--brown-light);
    transform: translateY(-1px);
}


/* ---------- Publication Workflow ---------- */

.publication-workflow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 17px;
    border-radius: 12px;
    background: rgba(95, 90, 82, 0.10);
    border: 1px solid rgba(95, 90, 82, 0.22);
}

.publication-workflow strong {
    display: block;
    font-size: 12px;
}

.publication-workflow p {
    color: var(--muted);
    font-size: 10px;
    margin: 5px 0 0;
}

.workflow-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}


/* ---------- Sources ---------- */

.source-admin-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.source-admin-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 11px;
}

.source-admin-item strong {
    font-size: 12px;
}

.source-admin-item span {
    color: var(--muted);
    font-size: 10px;
}

.source-admin-item button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    border-radius: 8px;
    padding: 7px 10px;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}


/* ---------- News Editor ---------- */

.news-admin-editor {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(242, 240, 235, 0.018);
}

.news-admin-editor > label:first-child {
    margin-top: 0;
}

.news-cover-slot,
.news-voice-slot {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    margin-top: 14px;
    border-radius: 12px;
    border: 1px dashed var(--border);
    background: var(--bg);
}

.news-cover-slot strong,
.news-voice-slot strong {
    font-size: 12px;
}

.news-cover-slot span,
.news-voice-slot span {
    flex: 1;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}


/* ---------- Case Editor Special ---------- */

.case-editor-section {
    border-color: rgba(95, 90, 82, 0.30);
}

.case-editor-section .admin-section-heading {
    border-bottom: 1px solid var(--border);
    padding-bottom: 17px;
}


/* ---------- Media Hierarchy ---------- */

.media-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.media-hierarchy-item {
    padding: 11px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE — ADVANCED CMS
   ========================================================= */

@media (max-width: 1050px) {

    .admin-editor-grid {
        grid-template-columns: 1fr;
    }

    .editor-relations {
        grid-template-columns: 1fr 1fr;
    }

    .editor-relations > div:last-child {
        grid-column: 1 / -1;
    }

}


@media (max-width: 700px) {

    .editor-two-columns {
        grid-template-columns: 1fr;
    }

    .editor-relations {
        grid-template-columns: 1fr;
    }

    .editor-relations > div:last-child {
        grid-column: auto;
    }

    .media-slot {
        align-items: flex-start;
        flex-direction: column;
    }

    .media-slot button {
        width: 100%;
    }

    .update-admin-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .update-actions {
        grid-column: 2;
    }

    .update-actions button {
        flex: 1;
    }

    .publication-workflow {
        align-items: stretch;
        flex-direction: column;
    }

    .workflow-actions {
        width: 100%;
        flex-direction: column;
    }

    .workflow-actions button {
        width: 100%;
    }

    .source-admin-item {
        grid-template-columns: 1fr auto;
    }

    .source-admin-item span {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .source-admin-item button {
        grid-column: 2;
        grid-row: 1;
    }

    .news-cover-slot,
    .news-voice-slot {
        align-items: stretch;
        flex-direction: column;
    }

    .news-cover-slot button,
    .news-voice-slot button {
        width: 100%;
    }

    .editor-actions {
        flex-direction: column;
    }

    .editor-actions button {
        width: 100%;
    }

}


@media (max-width: 430px) {

    .editor-panel,
    .news-admin-editor {
        padding: 14px;
    }

    .content-block {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 7px;
    }

    .block-handle {
        width: 27px;
        font-size: 12px;
    }

    .add-block-menu {
        align-items: stretch;
        flex-direction: column;
    }

    .add-block-menu button {
        width: 100%;
    }

}