﻿/*bod :root {
    --gold: #c9a84c;
    --gold-light: #e8d08a;
    --gold-dim: #7a6228;
    --gold-glow: rgba(201,168,76,.18);
    --bg: #0e0e0e;
    --bg2: #141414;
    --bg3: #1b1b1b;
    --card: #191919;
    --border: rgba(201,168,76,.15);
    --border-hi: rgba(201,168,76,.55);
    --txt: #e8e4dc;
    --txt2: #9a9080;
}*/

/**, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}*/

body {
    font-family: 'Vazirmatn',sans-serif;
    background: var(--bg);
    color: var(--txt);
    direction: rtl;
    overflow-x: hidden;
    padding-bottom: 72px;
}

a {
    text-decoration: none;
    color: inherit;
}

/*::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 4px;
}*/

/* TOP RIBBON */
.top-ribbon {
    background: linear-gradient(90deg,#0a0a0a,#1a1200,#0a0a0a);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 7px 0;
    font-size: 12.5px;
    color: var(--txt2);
    position: relative;
    overflow: hidden;
}

    .top-ribbon::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 1px;
        background: linear-gradient(90deg,transparent,var(--gold),transparent);
    }

    .top-ribbon em {
        color: var(--gold);
        font-style: normal;
        font-weight: 600;
    }

/* HEADER */
/*header {
    border-bottom: 1px solid var(--border);
    padding: 18px 0 14px;
    position: sticky;
    top: 0;
    z-index: 200;
}

.hdr-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.hdr-nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .hdr-nav.right {
        justify-content: flex-start;
    }

    .hdr-nav.left {
        justify-content: flex-end;
    }

.hdr-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all .22s;
}

.hdr-btn-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg,#1e1e1e,#141414);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--gold);
    transition: all .22s;
}

.hdr-btn:hover .hdr-btn-icon {
    background: linear-gradient(145deg,#2a2010,#1a1408);
    border-color: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow);
    transform: translateY(-2px);
}

.hdr-btn span {
    font-size: 11px;
    color: var(--txt2);
    transition: color .22s;
}

.hdr-btn:hover span {
    color: var(--gold-light);
}

.logo-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,#2e1f05,#0d0900);
    border: 2px solid var(--gold-dim);
    box-shadow: 0 0 0 4px rgba(201,168,76,.07),0 0 30px rgba(201,168,76,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--gold-light);
    text-align: center;
    line-height: 1.6;
    position: relative;
}

    .logo-ring::before {
        content: '';
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px dashed rgba(201,168,76,.2);
        animation: spin 18s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hdr-social {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 12px;
}

.soc-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dim);
    font-size: 14px;
    transition: all .2s;
}

    .soc-btn:hover {
        background: var(--gold);
        color: #000;
        border-color: var(--gold);
        transform: translateY(-2px);
    }*/

/* BREADCRUMB */
.breadcrumb-bar {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--txt2);
}

    .breadcrumb-inner a {
        color: var(--txt2);
        transition: color .2s;
    }

        .breadcrumb-inner a:hover {
            color: var(--gold);
        }

/* MAIN */
.content-section {
    padding: 40px 0 60px;
}

/* ── LEFT: Recent News ── */
.recent-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
}

.recent-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .recent-title i {
        color: var(--gold);
    }

.news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    background-color: black;
    cursor: pointer;
    transition: all .2s;
}

    .news-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .news-item:hover .news-headline {
        color: var(--gold);
    }

.news-thumb {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
    margin: 3px;
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.7);
        transition: filter .2s;
    }

.news-item:hover .news-thumb img {
    filter: brightness(1);
}

.news-body {
    flex: 1;
    min-width: 0;
}

.news-headline {
    font-size: 13px;
    font-weight: 600;
    color: var(--txt);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
}

.news-date {
    font-size: 11px;
    color: var(--txt2);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-cat {
    display: inline-block;
    background: rgba(201,168,76,.1);
    border: 1px solid var(--border);
    color: var(--gold);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    margin-top: 4px;
}

/* ── CENTER: Main Content ── */
.content-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

    .content-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg,transparent,var(--gold),transparent);
    }

.content-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--txt2);
}

.content-cat {
    background: rgba(201,168,76,.12);
    border: 1px solid var(--border-hi);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.content-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .content-meta-item i {
        color: var(--gold-dim);
    }

.content-title {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 14px;
}

.content-lead {
    background: linear-gradient(135deg,#1a1600,#141000);
    border: 1px solid var(--border);
    border-right: 4px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.9;
    color: var(--gold-light);
    margin-bottom: 28px;
}

.content-hero {
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    position: relative;
}

    .content-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

    .content-hero:hover img {
        transform: scale(1.02);
    }

.content-hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,rgba(0,0,0,.85),transparent);
    padding: 30px 20px 16px;
    color: #bbb;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .content-hero-caption i {
        color: var(--gold);
    }

.content-body {
    font-size: 15.5px;
    line-height: 2.1;
    color: #d4cfc7;
}

    .content-body p {
        margin-bottom: 20px;
    }

        .content-body p:last-child {
            margin-bottom: 0;
        }

    .content-body h3 {
        font-size: 18px;
        font-weight: 700;
        color: var(--gold-light);
        margin: 28px 0 12px;
        padding-right: 12px;
        position: relative;
    }

        .content-body h3::before {
            content: '';
            position: absolute;
            right: 0;
            top: 3px;
            bottom: 3px;
            width: 3px;
            border-radius: 3px;
            background: var(--gold);
        }

.content-img-inline {
    border-radius: 14px;
    overflow: hidden;
    margin: 24px 0;
    border: 1px solid var(--border);
}

    .content-img-inline img {
        width: 100%;
        display: block;
    }

.content-quote {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-right: 4px solid var(--gold-dim);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 24px 0;
    font-size: 15px;
    font-style: italic;
    color: var(--txt2);
    line-height: 1.9;
    position: relative;
}

    .content-quote::before {
        content: '\201C';
        font-size: 50px;
        color: var(--gold-dim);
        opacity: .2;
        position: absolute;
        top: -8px;
        right: 10px;
        font-family: serif;
    }

.video-embed {
    border-radius: 14px;
    overflow: hidden;
    margin: 24px 0;
    border: 1px solid var(--border);
    background: #000;
    aspect-ratio: 16/9;
}

    .video-embed iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* TAGS */
.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.tag {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--txt2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    cursor: pointer;
    transition: all .2s;
}

    .tag:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* COMMENTS */
.comments-section {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.comments-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--txt);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .comments-title i {
        color: var(--gold);
    }

.comment-item {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 12px;
    transition: all .2s;
}

    .comment-item:hover {
        border-color: var(--border-hi);
    }

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,#2a2010,#1a1408);
    border: 1px solid var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.comment-info {
    flex: 1;
}

.comment-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--txt);
}

.comment-date {
    font-size: 11px;
    color: var(--txt2);
    margin-top: 2px;
}

.comment-text {
    font-size: 13.5px;
    line-height: 1.8;
    color: #ccc;
}

.comment-likes {
    margin-top: 10px;
    font-size: 12px;
    color: var(--txt2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .comment-likes i {
        color: #e74c3c;
        transition: color .2s;
    }

    .comment-likes:hover i {
        color: var(--gold);
    }

.comment-form {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-top: 20px;
}

.comment-input {
    background: var(--bg3) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--txt) !important;
    font-size: 13.5px;
    padding: 10px 14px;
    font-family: inherit;
    transition: all .2s;
}

    .comment-input:focus {
        border-color: var(--gold) !important;
        box-shadow: 0 0 0 3px var(--gold-glow) !important;
        outline: none;
    }

    .comment-input::placeholder {
        color: #555 !important;
    }

.btn-comment {
    padding: 9px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg,var(--gold),var(--gold-dim));
    border: none;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

    .btn-comment:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(201,168,76,.3);
    }

/* ── RIGHT: Gallery ── */
.gallery-slider {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    margin-bottom: 14px;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.gallery-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.gallery-img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,#000 0%,rgba(0,0,0,.6) 100%);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    background: linear-gradient(to top,rgba(0,0,0,.9),transparent);
}

.gallery-subtitle {
    font-size: 11px;
    color: var(--txt2);
    margin-bottom: 6px;
}

.gallery-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-light);
}

.gallery-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 12px 0;
    background: var(--bg3);
    border-top: 1px solid var(--border);
}

.gdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: all .25s;
}

    .gdot.active {
        background: var(--gold);
        box-shadow: 0 0 8px var(--gold-glow);
        width: 20px;
        border-radius: 4px;
    }

/* PLAYER BAR */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(0deg,#070707,#0f0f0f);
    border-top: 1px solid var(--border);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.player-thumb {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2e1f05,#0d0900);
    border: 1px solid var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
}

.player-ctrls {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #888;
    font-size: 18px;
}

    .player-ctrls i {
        cursor: pointer;
        transition: color .2s;
    }

        .player-ctrls i:hover {
            color: var(--gold);
        }

.player-play {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--gold),var(--gold-dim));
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(201,168,76,.3);
    transition: transform .2s;
}

    .player-play:hover {
        transform: scale(1.08);
    }

.player-prog {
    flex: 1;
}

.player-times {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #555;
    margin-bottom: 4px;
}

.prog-track {
    height: 4px;
    background: #222;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.prog-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg,var(--gold-dim),var(--gold));
    width: 35%;
    position: relative;
}

@media(max-width:991px) {
    .recent-col, .gallery-col {
        display: none !important;
    }

    .hdr-btn span {
        display: none;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
