﻿:root {
    --ink: #112B20;
    --paper: #f4f1e6;
    --paper-2: #ece6d3;
    --paper-3: #e7f4e6;
    --forest: #1f4d3a;
    --forest-deep: #123526;
    --sage: #7fa78c;
    --sage-light: #c9dcc7;
    --brass: #b6902f;
    --brass-light: #e2c37a;
    --line: rgba(18,38,29,0.14);
    --shadow: 0 10px 30px rgba(18,53,38,0.12);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(1200px 600px at 85% -10%, rgba(31,77,58,0.08), transparent 60%), var(--paper-3);
    color: var(--ink);
    font-family: IRANSansfanum !important, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background-image: radial-gradient(rgba(18,38,29,0.035) 1px, transparent 1px);
        background-size: 3px 3px;
        pointer-events: none;
        z-index: 0;
    }

a {
    color: inherit;
}

hr.style-two {
    border: 0;
    width: 100%;
    margin: 20px auto;
    height: 1px;
    background-image: linear-gradient(to right,rgba(0,0,0,0),#107521,rgba(0,0,0,0));
}

.wrap {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0px 60px;
    background-color: whitesmoke;
}

.NewsContaincer {
    padding-right: 30px;
    padding-left: 30px;
}
/* ===== Header (matches archive) ===== */
header.top {
    background: linear-gradient(160deg, var(--forest-deep), var(--forest) 70%);
    color: var(--paper);
    padding: 34px 25px 30px;
    position: relative;
    overflow: hidden;
}

    header.top::after {
        content: "";
        position: absolute;
        left: -10%;
        bottom: -90%;
        width: 60%;
        aspect-ratio: 1;
        border: 1px solid rgba(244,241,230,0.10);
        border-radius: 50%;
    }

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.seal {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--brass-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: radial-gradient(circle at 35% 30%, rgba(226,195,122,0.18), transparent 65%);
}

    .seal svg {
        width: 22px;
        height: 22px;
    }

.brand a.title {
    font-family: IRANSansfanum !important, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--paper);
}

.title {
    font-family: IRANSansfanum !important, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--paper);
    margin-bottom: 0;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--sage-light);
    text-decoration: none;
    border: 1px solid rgba(244,241,230,0.25);
    padding: 9px 14px 7px 14px;
    border-radius: 10px;
    transition: all .15s ease;
}

    .back-link:hover {
        background: rgba(244,241,230,0.1);
        color: var(--paper);
    }

    .back-link svg {
        width: 15px;
        height: 15px;
    }

/* ===== Breadcrumb ===== */
.breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #5c6d63;
    margin: 22px 0 6px;
}

    .breadcrumb a {
        text-decoration: none;
        color: var(--forest);
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

    .breadcrumb .sep {
        color: var(--sage);
    }

    .breadcrumb .current {
        color: #5c6d63;
    }

/* ===== Article header ===== */
.article-head {
    margin-top: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sage-light);
    color: var(--forest-deep);
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

    .badge::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--brass);
        display: inline-block;
    }

h1.headline {
    font-size: clamp(1.5rem, 4vw, 1.6rem);
    line-height: 1.5;
    margin: 16px 0 14px;
    color: var(--forest-deep);
    font-weight: 800;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #5c6d63;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .meta-chip svg {
        width: 15px;
        height: 15px;
        opacity: 0.7;
    }

.archive-no {
    font-family: IRANSansfanum !important, sans-serif;
    letter-spacing: 1px;
    color: var(--sage);
    margin-inline-start: auto;
}

.NewsNum {
    width: 100%;
    order: 99;
    letter-spacing: 1px;
    color: forestgreen !important;
    font-weight: 400;
}

    .NewsNum::after {
        content: "#";
        margin-right: 2px;
    }

/* ===== Featured image ===== */
.featured-img {
    margin-top: 22px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
}

    .featured-img img {
        width: 100%;
        display: block;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .featured-img .cap {
        background: var(--paper-2);
        padding: 10px 16px;
        font-size: 0.76rem;
        color: #5c6d63;
        border-top: 1px dashed var(--sage);
    }

/* ===== Article body ===== */
.article-body {
    margin-top: 28px;
    font-size: 1rem;
    line-height: 2.15;
    color: #243c30;
}

    .article-body > figure > img {
        max-width: 100% !important;
        margin: 0 auto;
    }

    .article-body p {
        margin: 0 0 20px;
        text-indent: 15px;
    }

        /*.article-body p:first-of-type::first-line {
            font-family: IRANSansfanum !important, sans-serif;
            font-size: 1.2rem;
            color: var(--forest);
            float: right;
            line-height: 1;
            margin-inline-start: 10px;
            margin-top: 6px;
        }*/

.pull-quote {
    margin: 28px 0;
    padding: 20px 22px;
    background: var(--paper-2);
    border-inline-end: 3px solid var(--brass);
    border-radius: 0 12px 12px 0;
    font-size: 1.02rem;
    color: var(--forest-deep);
    font-weight: 600;
    line-height: 1.9;
}

.tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.tag {
    text-align: center;
    min-width: 80px;
    font-size: 0.78rem;
    background: #e7f4e6;
    border: 1px solid var(--line);
    color: #4d5c53;
    padding: 1px 10px;
    border-radius: 999px;
}

/* ===== Share / actions ===== */
.actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 30px;
    padding: 16px 18px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    flex-wrap: wrap;
}

    .actions-row .lbl {
        font-size: 0.82rem;
        color: #5c6d63;
    }

.share-btns {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--forest);
    transition: all .15s ease;
}

    .icon-btn:hover {
        border-color: var(--forest);
        background: var(--sage-light);
    }

    .icon-btn svg {
        width: 17px;
        height: 17px;
    }

/* ===== Related / navigation ===== */
.divider-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 44px 0 18px;
    font-size: 0.85rem;
    color: var(--forest);
    font-weight: 700;
}

    .divider-label::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--line);
    }

.prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pn-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    transition: all .15s ease;
}

    .pn-card:hover {
        border-color: var(--sage);
        background: rgba(127,167,140,0.08);
    }

    .pn-card .dir {
        font-size: 0.72rem;
        color: var(--sage);
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 8px;
    }

        .pn-card .dir svg {
            width: 13px;
            height: 13px;
        }

    .pn-card .pn-title {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--forest-deep);
        line-height: 1.7;
    }

footer.site-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    color: #7a8a80;
}

input[type="radio"][id^="cb"] {
    display: none;
}

.GenLabel {
    font-size: 12px;
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
}

    .GenLabel:before {
        background-color: white;
        color: white;
        content: " ";
        display: block;
        border-radius: 50%;
        border: 1px solid grey;
        position: absolute;
        top: -5px;
        left: -5px;
        width: 25px;
        height: 25px;
        text-align: center;
        line-height: 28px;
        transition-duration: 0.4s;
        transform: scale(0);
    }

    .GenLabel img {
        height: 70px;
        width: 70px;
        transition-duration: 0.2s;
        transform-origin: 50% 50%;
    }

:checked + .GenLabel {
    border-color: #ddd;
}

    :checked + .GenLabel:before {
        content: "✓";
        background-color: #27A427;
        transform: scale(1);
        font-weight: 700;
    }

    :checked + .GenLabel img {
        transform: scale(0.9);
        box-shadow: 0 0 5px #333;
        z-index: -1;
    }

#frmAccountSettings .GenLabel {
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 620px) {
    header.top {
        padding: 26px 0 22px;
    }

    .brand a.title {
        font-size: 1.15rem;
    }

    .back-link span.txt {
        display: none;
    }

    .article-meta {
        gap: 10px;
    }

    .archive-no {
        margin-inline-start: 0;
        width: 100%;
        order: 99;
    }

    .prev-next {
        grid-template-columns: 1fr;
    }

    .actions-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 2px;
}

.GenLabel {
    font-size: 12px;
    border: 1px solid #fff;
    padding: 6px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
}

    .GenLabel img {
        height: 50px;
        width: 50px;
        transition-duration: 0.2s;
        transform-origin: 50% 50%;
    }

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
