@import "../../fonts/Cairo/stylesheet.css";

@import "../../fonts/transfonter/stylesheet.css";



* {
    font-family: Cairo,sans-serif;
}




:root {
    --navy-900: #0a1a3a;
    --navy-800: #11254d;
    --navy-700: #1a3160;
    --navy-600: #25406e;
    --accent-red: #d72638;
    --accent-red-dark: #b21e2d;
    --gold: #c9a14a;
    --soft-blue: #c9d6e8;
    --paper: #f5f3ee;
    --ink: #1a1a1a;
    --muted: #6b7280;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-weight: 400;
    line-height: 1.7;
}

.display-arabic { font-family: 'Amiri', serif; }

/* ===== TOP UTILITY BAR ===== */
.top-bar {
    background: var(--navy-900);
    color: #c9d6e8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar .date-time { font-weight: 500; }
.top-bar .socials a {
    color: #c9d6e8;
    margin-inline-start: 14px;
    transition: color .2s, transform .2s;
    display: inline-block;
}
.top-bar .socials a:hover { color: var(--accent-red); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.main-nav {
    background: var(--navy-800);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 20px rgba(10,26,58,.25);
}
.navbar-brand img { height: 60px; }
.navbar-brand .brand-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-inline-start: 12px;
}
.navbar-brand .brand-text small {
    color: var(--soft-blue);
    font-weight: 400;
    font-size: .8rem;
}
.main-nav .nav-link {
    color: #e7ecf5;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px !important;
    position: relative;
    transition: color .2s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: #fff; }
.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px 2px 0 0;
}
.main-nav .dropdown-menu {
    background: var(--navy-700);
    border: 0;
    border-radius: 6px;
    margin-top: 0 !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
    min-width: 220px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transform-origin: top center;
    transition: opacity .3s ease, transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility .3s;
    pointer-events: none;
    padding: 8px 0;
    overflow: hidden;
}
/* Show on hover (desktop) */
@media (min-width: 992px) {
    .main-nav .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    /* Hide default Bootstrap arrow rotation behavior */
    .main-nav .dropdown-toggle::after {
        transition: transform .3s ease;
    }
    .main-nav .nav-item.dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    /* Add invisible bridge to prevent menu disappearing when moving cursor */
    .main-nav .nav-item.dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 10px;
    }
    /* Stagger animation for dropdown items */
    .main-nav .dropdown-menu .dropdown-item {
        opacity: 0;
        transform: translateX(15px);
        transition: opacity .35s ease, transform .35s ease, background .2s, color .2s, border-color .2s;
    }
    .main-nav .nav-item.dropdown:hover .dropdown-item {
        opacity: 1;
        transform: translateX(0);
    }
    .main-nav .nav-item.dropdown:hover .dropdown-item:nth-child(1) { transition-delay: .05s; }
    .main-nav .nav-item.dropdown:hover .dropdown-item:nth-child(2) { transition-delay: .12s; }
    .main-nav .nav-item.dropdown:hover .dropdown-item:nth-child(3) { transition-delay: .19s; }
    .main-nav .nav-item.dropdown:hover .dropdown-item:nth-child(4) { transition-delay: .26s; }
    .main-nav .nav-item.dropdown:hover .dropdown-item:nth-child(5) { transition-delay: .33s; }
}
/* Mobile: revert to click behavior */
@media (max-width: 991px) {
    .main-nav .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        background: rgba(0,0,0,.15);
        margin-top: 4px !important;
    }
    .main-nav .dropdown-menu.show {
        display: block;
        animation: slideDownMobile .3s ease;
    }
    @keyframes slideDownMobile {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
.main-nav .dropdown-item {
    color: #e7ecf5;
    padding: 9px 18px;
    font-size: 14px;
    border-inline-end: 3px solid transparent;
    transition: all .2s;
}
.main-nav .dropdown-item:hover {
    background: var(--navy-600);
    color: #fff;
    border-inline-end-color: var(--accent-red);
}
.navbar-toggler {
    border-color: rgba(255,255,255,.2);
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(215,38,56,.4); }
.navbar-toggler-icon {
    filter: invert(1);
}
.search-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all .2s;
}
.search-toggle:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

/* ===== BREAKING NEWS TICKER ===== */
.breaking-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.breaking-label {
    background: var(--accent-red);
    color: #fff;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    white-space: nowrap;
    margin-inline-end: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.breaking-label .dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: .35; }
}
.ticker {
    overflow: hidden;
    flex: 1;
    direction: rtl;
}
.ticker-track {
    display: inline-flex;
    gap: 50px;
    animation: ticker-rtl 30s linear infinite;
    white-space: nowrap;
    padding-inline-start: 100%;
}
.ticker:hover .ticker-track {
    animation-play-state: paused;
}
.ticker-track a {
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    cursor: pointer;
    transition: color .2s;
    text-decoration:none;
}
.ticker-track a:hover { color: var(--accent-red); }
.ticker-track a::before {
    content: '◆';
    color: var(--accent-red);
    margin-inline-end: 10px;
    font-size: 10px;
}
/* In RTL: text scrolls from right to left visually (which means from start to end) */
@keyframes ticker-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 0;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(215,38,56,.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201,161,74,.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    min-height: 520px;
}
@media (max-width: 991px) {
    .hero-grid { grid-template-columns: 1fr; }
}
.hero-main {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 520px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,26,58,.98) 0%, rgba(10,26,58,.5) 50%, rgba(10,26,58,.2) 100%);
    z-index: 1;
    transition: background .4s;
}
.hero-main:hover::before {
    background: linear-gradient(to top, rgba(10,26,58,.95) 0%, rgba(10,26,58,.4) 50%, rgba(215,38,56,.15) 100%);
}
.hero-main-img {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1529107386315-e1a2ed48a620?w=1400&q=80') center/cover;
    opacity: .55;
    transition: transform .8s ease, opacity .4s;
}
.hero-main:hover .hero-main-img {
    transform: scale(1.05);
    opacity: .65;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
}
.hero-content h1 {
    transition: color .3s;
}
.hero-main:hover .hero-content h1 {
    color: #fff;
}
.hero-tag {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 3px;
    margin-bottom: 18px;
    letter-spacing: .5px;
}
.hero-content h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,.85);
    margin-bottom: 18px;
    line-height: 1.7;
}
.hero-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,.7);
}
.hero-meta i { color: var(--accent-red); margin-inline-end: 5px; }

.hero-side {
    background: var(--navy-800);
    display: flex;
    flex-direction: column;
    border-inline-start: 1px solid rgba(255,255,255,.06);
}
.hero-side-item {
    position: relative;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
    transition: background .25s;
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
}
.hero-side-item:last-child { border-bottom: 0; }
.hero-side-item:hover {
    background: var(--navy-700);
    color: #fff;
}
.hero-side-item .side-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255,255,255,.08);
    transition: border-color .3s, transform .3s;
}
.hero-side-item:hover .side-thumb {
    border-color: var(--accent-red);
    transform: scale(1.04);
}
.hero-side-item .side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.hero-side-item:hover .side-thumb img {
    transform: scale(1.15);
}
.hero-side-item .side-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(215,38,56,.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.hero-side-item:hover .side-thumb::after { opacity: 1; }
.hero-side-item .side-content {
    flex: 1;
    min-width: 0;
}
.hero-side-item .cat {
    display: inline-block;
    color: var(--accent-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.hero-side-item h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
    color: #fff;
    transition: color .25s;
}
.hero-side-item:hover h3 {
    color: #fff;
}
.hero-side-item .time {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    display: block;
}
.hero-side-item .time i { color: var(--accent-red); margin-inline-end: 4px; }

/* ===== SECTION HEADINGS ===== */
.section { padding: 60px 0; }
.section-alt { background: #fff; }
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.section-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
    position: relative;
    padding-inline-start: 18px;
}
.section-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    background: var(--accent-red);
    border-radius: 3px;
}
.section-link {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.section-link:hover { gap: 12px; color: var(--accent-red-dark); }

/* ===== NEWS CARDS ===== */
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10,26,58,.06), 0 4px 16px rgba(10,26,58,.03);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef0f4;
    text-decoration: none;
    color: inherit;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(10,26,58,.12);
    color: inherit;
    text-decoration: none;
}
.news-card .thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--navy-800);
}
.news-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .cat-tag {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: var(--accent-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: .3px;
    z-index: 2;
}
.news-card .cat-tag.cat-blue { background: var(--navy-700); }
.news-card .cat-tag.cat-gold { background: var(--gold); color: var(--navy-900); }
.news-card .body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--navy-900);
    margin: 0 0 10px;
    transition: color .2s;
}
.news-card:hover h4 { color: var(--accent-red); }
.news-card .excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 14px;
    flex: 1;
}
.news-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid #eef0f4;
    padding-top: 12px;
}
.news-card .meta i { color: var(--accent-red); margin-inline-end: 4px; }

/* ===== HORIZONTAL LIST CARDS ===== */
.list-card {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #eef0f4;
}
.list-card:last-child { border-bottom: 0; }
.list-card .thumb {
    flex: 0 0 110px;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--navy-800);
}
.list-card .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.list-card:hover .thumb img { transform: scale(1.08); }
.list-card .content { flex: 1; min-width: 0; }
.list-card .cat {
    color: var(--accent-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.list-card h5 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--navy-900);
    margin: 0 0 6px;
}
.list-card h5 a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.list-card h5 a:hover { color: var(--accent-red); }
.list-card .time {
    font-size: 12px;
    color: var(--muted);
}

/* ===== CATEGORY STRIP ===== */
.categories-strip {
    background: var(--navy-900);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.categories-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(215,38,56,.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201,161,74,.08) 0%, transparent 40%);
}
.cat-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    transition: all .25s;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.cat-pill:hover {
    background: rgba(215,38,56,.15);
    border-color: var(--accent-red);
    transform: translateY(-3px);
    color: #fff;
}
.cat-pill .img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 2px solid rgba(255,255,255,.15);
    transition: border-color .3s, transform .3s;
}
.cat-pill:hover .img-wrap {
    border-color: var(--accent-red);
    transform: scale(1.05);
}
.cat-pill .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.cat-pill:hover .img-wrap img {
    transform: scale(1.15);
}
.cat-pill .img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(215,38,56,.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.cat-pill:hover .img-wrap::after { opacity: 1; }
.cat-pill .label {
    font-size: 16px;
    font-weight: 700;
    display: block;
}
.cat-pill .count {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    display: block;
    margin-top: 2px;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.about-preview::before {
    content: '٦١٣';
    position: absolute;
    top: 50%;
    inset-inline-start: -50px;
    transform: translateY(-50%);
    font-family: 'Amiri', serif;
    font-size: 22rem;
    font-weight: 700;
    color: rgba(255,255,255,.03);
    line-height: 1;
    pointer-events: none;
}
.about-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.about-logo img {
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(215,38,56,.25));
}
.about-preview h2 {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.about-preview .tagline {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 24px;
    font-style: italic;
}
.about-preview p {
    font-size: 16px;
    color: rgba(255,255,255,.85);
    line-height: 1.9;
    margin-bottom: 28px;
}
.btn-primary-custom {
    background: var(--accent-red);
    color: #fff;
    border: 0;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-custom:hover {
    background: var(--accent-red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215,38,56,.35);
}

/* ===== RELIGION SECTION ===== */
.religion-section {
    background:
        linear-gradient(rgba(245,243,238,.97), rgba(245,243,238,.97)),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><path d='M30 0l5 25 25 5-25 5-5 25-5-25-25-5 25-5z' fill='%230a1a3a' opacity='.04'/></svg>");
}
.quote-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 35px;
    box-shadow: 0 4px 30px rgba(10,26,58,.08);
    position: relative;
    border-top: 4px solid var(--gold);
}
.quote-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    inset-inline-end: 30px;
    font-family: 'Amiri', serif;
    font-size: 6rem;
    color: var(--gold);
    opacity: .2;
    line-height: 1;
}
.quote-card .arabic-quote {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    line-height: 2;
    color: var(--navy-900);
    margin-bottom: 18px;
    font-weight: 700;
}
.quote-card .source {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 14px;
}

/* ===== FOOTER ===== */
footer {
    background: #06112b;
    color: #c9d6e8;
    padding: 60px 0 0;
}
footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-red);
}
footer .footer-logo {
     margin-bottom: 18px;
    max-width: 75px;
}
footer p { color: #95a3bf; font-size: 14px; line-height: 1.8; }
footer ul { list-style: none; padding: 0; }
footer ul li {
    margin-bottom: 10px;
}
footer ul a {
    color: #95a3bf;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s, padding .2s;
    display: inline-block;
}
footer ul a::before {
    content: '‹';
    margin-inline-end: 6px;
    color: var(--accent-red);
}
footer ul a:hover {
    color: #fff;
    padding-inline-start: 4px;
}
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    align-items: center;
    justify-content: center;
}
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #c9d6e8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .25s;
}
.footer-socials a:hover {
    background: var(--accent-red);
    color: #fff;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #6c7c98;
}
.footer-bottom strong { color: #fff; }

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeUp .8s ease both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .section-title { font-size: 1.5rem; }
    .hero-main { padding: 40px 25px; min-height: 380px; }
    .hero-content h1 { font-size: 1.5rem; }
    .about-preview h2 { font-size: 1.8rem; }
    .about-preview::before { font-size: 12rem; }
    .quote-card .arabic-quote { font-size: 1.2rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }

/*------------------------------news page -----------------*/


/* ===== NEWS PAGE STYLES ===== */
.news-page {
    background: var(--paper, #f5f3ee);
    padding: 30px 0 60px;
}

/* Breadcrumb */
.news-breadcrumb {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(10,26,58,.06);
}
.news-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}
.news-breadcrumb .breadcrumb-item a {
    color: var(--navy-800, #11254d);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color .2s;
}
.news-breadcrumb .breadcrumb-item a:hover { color: var(--accent-red, #d72638); }
.news-breadcrumb .breadcrumb-item.active {
    color: var(--accent-red, #d72638);
    font-weight: 700;
    font-size: 14px;
}
.news-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '‹';
    color: var(--muted, #6b7280);
    font-weight: 700;
}

/* Page Title */
.page-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 2px solid #eef0f4;
}
.page-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900, #0a1a3a);
    margin: 0;
    position: relative;
    padding-inline-start: 18px;
}
.page-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    background: var(--accent-red, #d72638);
    border-radius: 3px;
}
.page-count {
    font-size: 13px;
    color: var(--muted, #6b7280);
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #eef0f4;
}

/* Featured Big Card */
.featured-news {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    background: var(--navy-900, #0a1a3a);
    box-shadow: 0 4px 20px rgba(10,26,58,.1);
    transition: transform .3s, box-shadow .3s;
}
.featured-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(10,26,58,.18);
}
.featured-news .featured-img {
    height: 450px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform .6s;
}
.featured-news:hover .featured-img { transform: scale(1.03); }

.featured-news .featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
    rgba(10,26,58,.95) 0%,
    rgba(10,26,58,.6) 40%,
    rgba(10,26,58,.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 35px;
}
.featured-news .featured-tag {
    display: inline-block;
    background: var(--accent-red, #d72638);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 3px;
    margin-bottom: 14px;
    width: fit-content;
    letter-spacing: .5px;
}
.featured-news .featured-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.featured-news .featured-excerpt {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-news .featured-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 14px;
}
.featured-news .featured-meta i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 6px;
}

/* News Grid Cards */
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10,26,58,.06), 0 4px 16px rgba(10,26,58,.03);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef0f4;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(10,26,58,.12);
    color: inherit;
    text-decoration: none;
}
.news-card .card-img-top {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: transform .5s;
}
.news-card:hover .card-img-top { transform: scale(1.05); }
.news-card .card-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card .news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--navy-900, #0a1a3a);
    margin: 0 0 10px;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .news-title { color: var(--accent-red, #d72638); }
.news-card .card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted, #6b7280);
    border-top: 1px solid #eef0f4;
    padding-top: 12px;
    margin-top: auto;
}
.news-card .card-meta i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 4px;
}

/* Sidebar */
.sidebar-section {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(10,26,58,.06);
    border: 1px solid #eef0f4;
    margin-bottom: 25px;
    position: sticky;
    top: 80px;
}
.sidebar-title {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900, #0a1a3a);
    margin: 0 0 22px;
    position: relative;
    padding-inline-start: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef0f4;
}
.sidebar-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    bottom: 18px;
    width: 4px;
    background: var(--accent-red, #d72638);
    border-radius: 3px;
}
.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #eef0f4;
    transition: transform .2s;
}
.sidebar-news-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.sidebar-news-item:first-child { padding-top: 0; }
.sidebar-news-item:hover {
    color: inherit;
    text-decoration: none;
}
.sidebar-news-item .sb-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 75px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s;
}
.sidebar-news-item:hover .sb-thumb { transform: scale(1.04); }
.sidebar-news-item .sb-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(215,38,56,.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.sidebar-news-item:hover .sb-thumb::after { opacity: 1; }
.sidebar-news-item .sb-content {
    flex: 1;
    min-width: 0;
}
.sidebar-news-item .sb-rank {
    display: inline-block;
    background: var(--navy-800, #11254d);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    margin-inline-end: 6px;
}
.sidebar-news-item .sb-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900, #0a1a3a);
    line-height: 1.5;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.sidebar-news-item:hover .sb-title { color: var(--accent-red, #d72638); }
.sidebar-news-item .sb-meta {
    font-size: 11px;
    color: var(--muted, #6b7280);
}
.sidebar-news-item .sb-meta i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 3px;
}

/* Load More Button */
.load-more-wrap {
    text-align: center;
    margin-top: 35px;
}
.btn-load-more {
    background: var(--navy-800, #11254d);
    color: #fff;
    border: 0;
    padding: 12px 36px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-load-more:hover {
    background: var(--accent-red, #d72638);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215,38,56,.3);
}
.btn-load-more:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading */
.loadingItem {
    display: none;
    text-align: center;
    padding: 30px 0;
}
.loadingItem img {
    max-width: 60px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef0f4;
}
.empty-state i {
    font-size: 3rem;
    color: var(--muted, #6b7280);
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title { font-size: 1.5rem; }
    .featured-news .featured-img { height: 280px; }
    .featured-news .featured-overlay { padding: 20px; }
    .featured-news .featured-title { font-size: 1.2rem; }
    .featured-news .featured-excerpt { font-size: 13px; }
    .news-card .card-img-top { height: 180px; }
    .sidebar-section { position: static; }
}



/* ===== NEWS DETAILS PAGE ===== */
.news-details-page {
    background: var(--paper, #f5f3ee);
    padding: 30px 0 60px;
}

/* Breadcrumb */
.news-breadcrumb {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(10,26,58,.06);
}
.news-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}
.news-breadcrumb .breadcrumb-item a {
    color: var(--navy-800, #11254d);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color .2s;
}
.news-breadcrumb .breadcrumb-item a:hover { color: var(--accent-red, #d72638); }
.news-breadcrumb .breadcrumb-item.active {
    color: var(--accent-red, #d72638);
    font-weight: 700;
    font-size: 14px;
}
.news-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '‹';
    color: var(--muted, #6b7280);
    font-weight: 700;
}

/* Main Article Card */
.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10,26,58,.06);
    border: 1px solid #eef0f4;
    margin-bottom: 25px;
}
.article-card .article-inner {
    padding: 30px 35px 35px;
}

/* Title */
.article-title {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy-900, #0a1a3a);
    margin-bottom: 18px;
}

/* Article Meta */
.article-meta-top {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eef0f4;
    font-size: 14px;
    color: var(--muted, #6b7280);
}
.article-meta-top span {
    display: inline-flex;
    align-items: center;
}
.article-meta-top i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 6px;
    font-size: 15px;
}
.article-meta-top .category-badge {
    background: var(--accent-red, #d72638);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .5px;
}
.article-meta-top .category-badge i { color: #fff; }

/* Poster */
.article-poster {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    background: var(--navy-900, #0a1a3a);
}
.article-poster img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 550px;
    object-fit: cover;
}

/* Share Bar */
.share-bar {
    background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
    border: 1px solid #eef0f4;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.share-bar .share-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-900, #0a1a3a);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.share-bar .share-label i { color: var(--accent-red, #d72638); }
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.share-buttons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    transition: transform .2s, box-shadow .2s;
}
.share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
    color: #fff;
}
.share-buttons .sh-facebook { background: #1877f2; }
.share-buttons .sh-twitter   { background: #000; }
.share-buttons .sh-telegram  { background: #0088cc; }
.share-buttons .sh-whatsapp  { background: #25d366; }
.share-buttons .sh-copy {
    background: var(--navy-800, #11254d);
    cursor: pointer;
    border: 0;
}

/* Article Content */
.article-content {
    line-height: 2.2;
    color: #374151;
    font-size: 17px;
    text-align: justify;
}
.article-content p { margin-bottom: 18px; }
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Amiri', serif;
    color: var(--navy-900, #0a1a3a);
    margin: 30px 0 15px;
    font-weight: 700;
}
.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.4rem; }
.article-content h4 { font-size: 1.2rem; }
.article-content img {
    max-width: 100% !important;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}
.article-content video,
.article-content iframe {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
}
.article-content blockquote {
    border-inline-start: 4px solid var(--accent-red, #d72638);
    background: #f8f9fc;
    padding: 18px 25px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--navy-900, #0a1a3a);
}
.article-content a {
    color: var(--accent-red, #d72638);
    text-decoration: underline;
    transition: color .2s;
}
.article-content a:hover { color: var(--accent-red-dark, #b21e2d); }

/* Gallery Section */
.gallery-section {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid #eef0f4;
}
.gallery-title {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-900, #0a1a3a);
    margin-bottom: 20px;
    position: relative;
    padding-inline-start: 16px;
}
.gallery-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--accent-red, #d72638);
    border-radius: 3px;
}

.media-item {
    border-radius: 10px;
    overflow: hidden;
    background: var(--navy-900, #0a1a3a);
    box-shadow: 0 2px 10px rgba(10,26,58,.08);
    position: relative;
    transition: transform .3s, box-shadow .3s;
}
.media-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10,26,58,.15);
}
.media-item .imgnews {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    position: relative;
    transition: transform .5s;
}
.media-item:hover .imgnews { transform: scale(1.05); }
.media-item .imgnews::after {
    content: '\f00e'; /* FontAwesome: magnifying-glass-plus */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.9);
    color: var(--accent-red, #d72638);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all .3s;
}
.media-item:hover .imgnews::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.media-item video {
    width: 100%;
    height: 250px;
    background-color: #000;
    display: block;
}

/* Full file (single image) */
.fullFile .media-item .imgnews { height: 500px; }
.fullFile .media-item video {
    width: 100%;
    height: auto;
}
@media (max-width: 767px) {
    .fullFile .media-item .imgnews { height: 300px; }
}
@media (max-width: 460px) {
    .fullFile .media-item .imgnews { height: 250px; }
}

/* Sidebar */
.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(10,26,58,.06);
    border: 1px solid #eef0f4;
    margin-bottom: 25px;
    position: sticky;
    top: 80px;
}
.sidebar-title {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900, #0a1a3a);
    margin: 0 0 22px;
    position: relative;
    padding-inline-start: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef0f4;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    bottom: 18px;
    width: 4px;
    background: var(--accent-red, #d72638);
    border-radius: 3px;
}
.sidebar-title .fire-icon { color: var(--accent-red, #d72638); }

.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #eef0f4;
    transition: transform .2s;
}
.sidebar-news-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.sidebar-news-item:first-child { padding-top: 0; }
.sidebar-news-item:hover {
    color: inherit;
    text-decoration: none;
}
.sidebar-news-item .sb-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 75px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s;
}
.sidebar-news-item:hover .sb-thumb { transform: scale(1.04); }
.sidebar-news-item .sb-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(215,38,56,.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.sidebar-news-item:hover .sb-thumb::after { opacity: 1; }
.sidebar-news-item .sb-content { flex: 1; min-width: 0; }
.sidebar-news-item .sb-rank {
    display: inline-block;
    background: var(--navy-800, #11254d);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    margin-inline-end: 6px;
}
.sidebar-news-item .sb-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900, #0a1a3a);
    line-height: 1.5;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.sidebar-news-item:hover .sb-title { color: var(--accent-red, #d72638); }
.sidebar-news-item .sb-meta {
    font-size: 11px;
    color: var(--muted, #6b7280);
}
.sidebar-news-item .sb-meta i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 3px;
}

/* Toast for copy link */
.copy-toast {
    position: fixed;
    bottom: 30px;
    inset-inline-start: 30px;
    background: var(--navy-900, #0a1a3a);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    box-shadow: 0 6px 25px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 9999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.copy-toast i { color: #4ade80; }

/* Responsive */
@media (max-width: 768px) {
    .article-card .article-inner { padding: 22px 20px 25px; }
    .article-title { font-size: 1.5rem; }
    .article-content { font-size: 15px; line-height: 2; }
    .article-meta-top { gap: 14px; font-size: 13px; }
    .media-item .imgnews,
    .media-item video { height: 200px; }
    .sidebar-section { position: static; }
}

/*----------------end news page-----------------*/

/* ===== DIN PAGE ===== */
.din-page {
    background: var(--paper, #f5f3ee);
    padding: 30px 0 60px;
}

/* Breadcrumb */
.din-breadcrumb {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(10,26,58,.06);
}
.din-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}
.din-breadcrumb .breadcrumb-item a {
    color: var(--navy-800, #11254d);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color .2s;
}
.din-breadcrumb .breadcrumb-item a:hover { color: var(--accent-red, #d72638); }
.din-breadcrumb .breadcrumb-item.active {
    color: var(--accent-red, #d72638);
    font-weight: 700;
    font-size: 14px;
}
.din-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '‹';
    color: var(--muted, #6b7280);
    font-weight: 700;
}

/* Page Title */
.page-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 2px solid #eef0f4;
}
.page-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900, #0a1a3a);
    margin: 0;
    position: relative;
    padding-inline-start: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    background: var(--accent-red, #d72638);
    border-radius: 3px;
}
.page-title .title-icon {
    color: var(--accent-red, #d72638);
    font-size: 1.6rem;
}

/* Card */
.CardSite {
    text-decoration: none;
    background: #fff;
    border: 1px solid #eef0f4;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10,26,58,.06), 0 4px 16px rgba(10,26,58,.03);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    color: inherit;
}
.CardSite:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(10,26,58,.12);
    color: inherit;
    text-decoration: none;
}
.CardSite .imgCard {
    height: 230px;
    background-color: #f3f2f2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    transition: transform .5s;
}
.CardSite:hover .imgCard { transform: scale(1.05); }

.CardSite .imgCard::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(215,38,56,.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.CardSite:hover .imgCard::after { opacity: 1; }

.CardSite .card-body-wrap {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.CardSite .titleCard {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--navy-900, #0a1a3a);
    height: auto;
    min-height: 56px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.CardSite:hover .titleCard { color: var(--accent-red, #d72638); }

.CardSite .dataCard {
    margin-bottom: 0;
    color: var(--muted, #6b7280);
    font-size: 13px;
    border-top: 1px solid #eef0f4;
    padding-top: 12px;
    margin-top: auto;
}
.CardSite .dataCard i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 4px;
}

/* Pagination */
.pagination-wrap {
    margin-top: 40px;
}
.blade-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.blade-pagination li {
    list-style: none;
}
.blade-pagination li a,
.blade-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    color: var(--navy-900, #0a1a3a);
    border: 1px solid #eef0f4;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all .25s;
    cursor: pointer;
}
.blade-pagination li a:hover,
.blade-pagination li span:hover {
    background: var(--accent-red, #d72638);
    color: #fff;
    border-color: var(--accent-red, #d72638);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(215,38,56,.25);
}
.blade-pagination li.active a,
.blade-pagination li.active span {
    background: var(--accent-red, #d72638);
    color: #fff;
    border-color: var(--accent-red, #d72638);
}
.blade-pagination li.disabled a,
.blade-pagination li.disabled span {
    background: #f8f9fc;
    color: #cbd5e1;
    cursor: not-allowed;
    pointer-events: none;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef0f4;
}
.empty-state i {
    font-size: 3rem;
    color: var(--muted, #6b7280);
    margin-bottom: 15px;
    display: block;
}
.empty-state h5 {
    color: var(--navy-900, #0a1a3a);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title { font-size: 1.5rem; }
    .CardSite .imgCard { height: 200px; }
    .CardSite .titleCard { font-size: 16px; min-height: auto; }
}


.din-details-page {
    background: var(--paper, #f5f3ee);
    padding: 30px 0 60px;
}

/* Breadcrumb */
.din-breadcrumb {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(10,26,58,.06);
}
.din-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}
.din-breadcrumb .breadcrumb-item a {
    color: var(--navy-800, #11254d);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color .2s;
}
.din-breadcrumb .breadcrumb-item a:hover { color: var(--accent-red, #d72638); }
.din-breadcrumb .breadcrumb-item.active {
    color: var(--accent-red, #d72638);
    font-weight: 700;
    font-size: 14px;
}
.din-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '‹';
    color: var(--muted, #6b7280);
    font-weight: 700;
}

/* Main Article Card */
.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10,26,58,.06);
    border: 1px solid #eef0f4;
    margin-bottom: 25px;
}
.article-card .article-inner {
    padding: 30px 35px 35px;
}

/* Title */
.article-title {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy-900, #0a1a3a);
    margin-bottom: 18px;
}

/* Article Meta */
.article-meta-top {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eef0f4;
    font-size: 14px;
    color: var(--muted, #6b7280);
}
.article-meta-top span {
    display: inline-flex;
    align-items: center;
}
.article-meta-top i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 6px;
    font-size: 15px;
}

/* Poster */
.article-poster {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    background: var(--navy-900, #0a1a3a);
}
.article-poster img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 550px;
    object-fit: cover;
}

/* Share Bar */
.share-bar {
    background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
    border: 1px solid #eef0f4;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.share-bar .share-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy-900, #0a1a3a);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.share-bar .share-label i { color: var(--accent-red, #d72638); }
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.share-buttons a,
.share-buttons button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    transition: transform .2s, box-shadow .2s;
    border: 0;
    cursor: pointer;
}
.share-buttons a:hover,
.share-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
    color: #fff;
}
.share-buttons .sh-facebook { background: #1877f2; }
.share-buttons .sh-twitter   { background: #000; }
.share-buttons .sh-telegram  { background: #0088cc; }
.share-buttons .sh-whatsapp  { background: #25d366; }
.share-buttons .sh-copy      { background: var(--navy-800, #11254d); }

/* Article Content */
.article-content {
    line-height: 2.2;
    color: #374151;
    font-size: 17px;
    text-align: justify;
}
.article-content p { margin-bottom: 18px; }
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Amiri', serif;
    color: var(--navy-900, #0a1a3a);
    margin: 30px 0 15px;
    font-weight: 700;
}
.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.4rem; }
.article-content h4 { font-size: 1.2rem; }
.article-content img {
    max-width: 100% !important;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}
.article-content video,
.article-content iframe {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
}
.article-content blockquote {
    border-inline-start: 4px solid var(--accent-red, #d72638);
    background: #f8f9fc;
    padding: 18px 25px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--navy-900, #0a1a3a);
}
.article-content a {
    color: var(--accent-red, #d72638);
    text-decoration: underline;
    transition: color .2s;
}
.article-content a:hover { color: var(--accent-red-dark, #b21e2d); }

/* File Attachment */
.file-attachment {
    margin: 25px 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
    border: 1px solid #eef0f4;
    border-radius: 10px;
    border-inline-start: 4px solid var(--accent-red, #d72638);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.file-attachment .file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900, #0a1a3a);
    font-weight: 700;
}
.file-attachment .file-info i {
    color: var(--accent-red, #d72638);
    font-size: 24px;
}
.file-attachment .btn-download {
    background: var(--navy-800, #11254d);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.file-attachment .btn-download:hover {
    background: var(--accent-red, #d72638);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215,38,56,.3);
}

/* Gallery Section */
.gallery-section {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid #eef0f4;
}
.gallery-title {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-900, #0a1a3a);
    margin-bottom: 20px;
    position: relative;
    padding-inline-start: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gallery-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--accent-red, #d72638);
    border-radius: 3px;
}
.gallery-title i { color: var(--accent-red, #d72638); }

.media-item {
    border-radius: 10px;
    overflow: hidden;
    background: var(--navy-900, #0a1a3a);
    box-shadow: 0 2px 10px rgba(10,26,58,.08);
    position: relative;
    transition: transform .3s, box-shadow .3s;
}
.media-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10,26,58,.15);
}
.media-item .imgdin {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    position: relative;
    transition: transform .5s;
}
.media-item:hover .imgdin { transform: scale(1.05); }
.media-item .imgdin::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.9);
    color: var(--accent-red, #d72638);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all .3s;
}
.media-item:hover .imgdin::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.media-item video {
    width: 100%;
    height: 250px;
    background-color: #000;
    display: block;
}

/* Full file (single image) */
.fullFile .media-item .imgdin { height: 500px; }
.fullFile .media-item video {
    width: 100%;
    height: auto;
}
@media (max-width: 767px) {
    .fullFile .media-item .imgdin { height: 300px; }
}
@media (max-width: 460px) {
    .fullFile .media-item .imgdin { height: 250px; }
}

/* Sidebar */
.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(10,26,58,.06);
    border: 1px solid #eef0f4;
    margin-bottom: 25px;
    position: sticky;
    top: 80px;
}
.sidebar-title {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900, #0a1a3a);
    margin: 0 0 22px;
    position: relative;
    padding-inline-start: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef0f4;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    bottom: 18px;
    width: 4px;
    background: var(--accent-red, #d72638);
    border-radius: 3px;
}
.sidebar-title i { color: var(--accent-red, #d72638); }

.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #eef0f4;
    transition: transform .2s;
}
.sidebar-news-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.sidebar-news-item:first-child { padding-top: 0; }
.sidebar-news-item:hover {
    color: inherit;
    text-decoration: none;
}
.sidebar-news-item .sb-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 75px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s;
}
.sidebar-news-item:hover .sb-thumb { transform: scale(1.04); }
.sidebar-news-item .sb-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(215,38,56,.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}
.sidebar-news-item:hover .sb-thumb::after { opacity: 1; }
.sidebar-news-item .sb-content { flex: 1; min-width: 0; }
.sidebar-news-item .sb-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900, #0a1a3a);
    line-height: 1.5;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.sidebar-news-item:hover .sb-title { color: var(--accent-red, #d72638); }
.sidebar-news-item .sb-meta {
    font-size: 11px;
    color: var(--muted, #6b7280);
}
.sidebar-news-item .sb-meta i {
    color: var(--accent-red, #d72638);
    margin-inline-end: 3px;
}

/* Toast for copy link */
.copy-toast {
    position: fixed;
    bottom: 30px;
    inset-inline-start: 30px;
    background: var(--navy-900, #0a1a3a);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    box-shadow: 0 6px 25px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 9999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.copy-toast i { color: #4ade80; }

/* Responsive */
@media (max-width: 768px) {
    .article-card .article-inner { padding: 22px 20px 25px; }
    .article-title { font-size: 1.5rem; }
    .article-content { font-size: 15px; line-height: 2; }
    .article-meta-top { gap: 14px; font-size: 13px; }
    .media-item .imgdin,
    .media-item video { height: 200px; }
    .sidebar-section { position: static; }
}
/*---------------------------------*/
