:root {
    /* ألوان الجامعة الرئيسية */
    --uod-blue: #3a6bc9;
    --uod-dark-blue: #1e3c8c;
    --uod-gold: rgb(212, 175, 54);
    --uod-light-gold: #FFD700;
    --uod-white: #FFFFFF;
    --uod-off-white: #F5F5F5;
    --uod-light-blue: #e8f0fe;
    --uod-light-gray: #f8fafc;
    --text-dim: rgba(156, 163, 175, 1);
    
    /* ألوان إضافية */
    --primary: #0056A6;
    --secondary: #F2B705;
    --accent: #2E8B57;
    --light: #F8FAFC;
    --dark: #1E3A8A;
    --text: #334155;
    --border: #E2E8F0;
    --font-white: #FFFFFF;
    --after-border: linear-gradient(to left, var(--primary), var(--secondary));
    --after-border-ltr: linear-gradient(to right, var(--primary), var(--secondary));
    --tw-text: rgba(156, 163, 175, 1);
     --navy: #0a1628;
    --deep-blue: rgb(13, 32, 69);
    --gold: #c9a227;
    --gold-light: #e8c547;
    --white: #ffffff;
    --cream: #f5f0e8;

    --gold:       #b8922a;
    --gold-lt:    #d4a93a;
    --gold-dim:   rgba(184,146,42,0.10);
    --gold-line:  rgba(184,146,42,0.28);
    --white:      #ffffff;
    --muted:      #6b7fa3;
    --border-ser:     rgba(11,25,49,0.09);

    --navy:      rgb(11, 25, 49);
    --navy-2:    #0f2040;
    --navy-3:    #162b52;
    --gold:      rgb(201, 162, 39);
    --gold-lt:   #e4bc45;
    --gold-dim:  rgba(201,162,39,0.12);
    --gold-line: rgba(201,162,39,0.30);
    --white:     #ffffff;
    --bg:        #0b1931;
    --bg-2:      #0f2040;
    --bg-3:      #081428;
    --muted:     #7a90b8;
    --border2:    rgba(255,255,255,0.07);
    --text:      #e8edf7;
    --card:      #0f2040;

    /* Journal specialty colors */
    --med-primary:   #1a6fa0;
    --med-light:     rgba(26,111,160,0.08);
    --med-line:      rgba(26,111,160,0.25);

    --sci-primary:   #1a7a4a;
    --sci-light:     rgba(26,122,74,0.08);
    --sci-line:      rgba(26,122,74,0.25);

    --hum-primary:   #6b3fa0;
    --hum-light:     rgba(107,63,160,0.08);
    --hum-line:      rgba(107,63,160,0.25);
}
/* TOAST */
.toast {
    position: fixed; 
    bottom: 28px; 
    left: 50%; 
    transform: translateX(-50%) translateY(16px);
    background: var(--navy); 
    border: 1px solid var(--gold-b); 
    color: var(--gold-light);
    padding: 10px 24px; 
    border-radius: 6px; 
    font-size: 13px; 
    font-weight: 600;
    opacity: 0; 
    transition: all 0.3s; 
    z-index: 500; 
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(13,30,53,0.25);
}
.toast.show { 
    opacity: 1; 
    transform: translateX(-50%) translateY(0); 
}
/* ── BREADCRUMB ── */
.breadcrumb-bar {
    background: var(--navy-2);
    padding: 10px 0 0;
}
.breadcrumb-bar .breadcrumb-inner {
    max-width: 1180px; 
    margin: 0 auto; 
    padding: 12px 56px;
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.breadcrumb-bar a { 
    font-size: 12px; 
    color: rgba(255,255,255,0.5); 
    text-decoration: none; 
    transition: color 0.2s; 
}
.breadcrumb-bar a:hover { 
    color: var(--gold-light); 
}
.breadcrumb-bar .bc-sep { 
    font-size: 11px; 
    color: rgba(255,255,255,0.25); 
}
.breadcrumb-bar .bc-cur { 
    font-size: 12px; 
    color: var(--gold-light); 
    font-weight: 600; 
}


/* ── HERO BANNER ── */
.hero-banner {
    background: var(--navy-2);
    padding: 40px 56px 0;
    position: relative; overflow: hidden;
}
.hero-banner::before {
    content: 'NEWS';
    position: absolute; 
    bottom: -20px; 
    left: 50px;
    font-family: 'Cormorant Garamond', serif; 
    font-size: 160px; 
    font-weight: 700;
    color: rgba(255,255,255,0.02); 
    letter-spacing: 20px; 
    direction: ltr;
    pointer-events: none;
}
.hero-banner .hero-inner {
    max-width: 1180px; 
    margin: 0 auto;
    display: grid; 
    grid-template-columns: 1fr 420px; 
    gap: 48px; 
    align-items: center;
    padding-bottom: 48px;
}
.hero-banner .hero-inner .hero-text { 
    position: relative; 
    z-index: 1; 
}

.hero-banner .hero-inner .hero-text .cat-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    background: rgba(184,145,31,0.15); 
    border: 1px solid rgba(184,145,31,0.35);
    border-radius: 20px; 
    padding: 5px 16px; 
    margin-bottom: 20px;
}
.hero-banner .hero-inner .hero-text .cat-badge .cat-badge-dot {
    width: 6px; 
    height: 6px; 
    border-radius: 50%;
    background: var(--gold-light); 
    animation: pulse 2s infinite;
}
@keyframes pulse { 
    0%,100% { box-shadow: 0 0 0 0 rgba(212,168,42,0.5); } 
    50% { box-shadow: 0 0 0 5px rgba(212,168,42,0); } 
}
.hero-banner .hero-inner .hero-text .cat-badge span { 
    font-size: 12px; 
    color: var(--gold-light); 
    font-weight: 600; 
    letter-spacing: 1px; 
}

.hero-banner .hero-inner .hero-text .hero-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900; 
    color: #fff; 
    line-height: 1.35; 
    margin-bottom: 22px;
}

.hero-banner .hero-inner .hero-text .hero-meta {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    flex-wrap: wrap;
}
.hero-banner .hero-inner .hero-text .hero-meta .meta-item { 
    display: flex; 
    align-items: center; 
    gap: 7px; 
    font-size: 12px; 
    color: rgba(255,255,255,0.5); 
}
.hero-banner .hero-inner .hero-text .hero-meta .meta-item svg { 
    width: 13px; 
    height: 13px; 
    flex-shrink: 0; 
}
.hero-banner .hero-inner .hero-text .hero-meta .meta-views { 
    color: var(--gold-light) !important; 
    font-weight: 600; 
}
/* FEATURED IMAGE */
.hero-banner .hero-inner .hero-image-wrap {
    position: relative; border-radius: 8px 8px 0 0;
    overflow: hidden; box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
    align-self: flex-end;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
}
.hero-banner .hero-inner .hero-image-wrap img {
    width: 100%; 
    display: block;
    aspect-ratio: 4/3; 
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-banner .hero-inner .hero-image-wrap:hover img { 
    transform: scale(1.03); 
}
.hero-banner .hero-inner .hero-image-wrap .img-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(13,30,53,0.5) 0%, transparent 60%);
}

/* ── PAGE BODY ── */
.news-sections {
    position: relative;
    padding: 50px 20px;
}
.news-sections::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(11, 25, 49, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 25, 49, .04) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}
.news-sections .page-layout {
    max-width: 1180px; 
    margin: 0 auto;
    display: grid; 
    grid-template-columns: 1fr 320px;
    gap: 40px; padding: 44px 56px 100px;
    position: relative;
    z-index: 10;
}

/* ── ARTICLE ── */
.news-sections .page-layout .article-wrap { 
    min-width: 0; 
    position: relative;
    z-index: 10;
}

/* content card */
.news-sections .page-layout .article-wrap .content-card {
    background: var(--white);
    border: 10px solid var(--white);
    border-radius: 8px;
    padding: 44px 48px;
    margin-bottom: 24px;
    box-shadow: 0 2px 20px rgba(13,30,53,0.06);
}

.news-sections .page-layout .article-wrap .content-card .article-body {
    font-size: 16.5px; 
    color: var(--bg-3); 
    line-height: 2; 
    margin-bottom: 0;
}
.news-sections .page-layout .article-wrap .content-card .article-body pre { 
    margin-bottom: 20px;
    white-space: pre-line;
}
.news-sections .page-layout .article-wrap .content-card .article-body pre:last-child { 
    margin-bottom: 0; 
}
.news-sections .page-layout .article-wrap .content-card .article-body strong { 
    color: var(--navy); 
    font-weight: 800; 
}

/* section divider */
.news-sections .page-layout .article-wrap .content-card .section-divider {
    display: flex; 
    align-items: center; 
    gap: 14px; 
    margin: 36px 0 28px;
}
.news-sections .page-layout .article-wrap .content-card .section-divider h3 { 
    font-size: 15px; 
    font-weight: 800; 
    color: var(--navy); 
    white-space: nowrap; 
}
.news-sections .page-layout .article-wrap .content-card .section-divider .section-divider-line { 
    flex: 1; 
    height: 1px; 
    background: var(--border); 
}
.news-sections .page-layout .article-wrap .content-card .section-divider .section-divider-icon {
    width: 32px; 
    height: 32px; 
    border-radius: 6px;
    background: var(--gold-dim); 
    border: 1px solid var(--gold-b);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
}
.news-sections .page-layout .article-wrap .content-card .section-divider .section-divider-icon svg { 
    width: 15px; 
    height: 15px; 
}

/* gallery */
.news-sections .page-layout .article-wrap .content-card .gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(3,1fr); 
    gap: 10px; 
    margin-bottom: 36px; 
}
.news-sections .page-layout .article-wrap .content-card .gallery-grid .gallery-item {
    aspect-ratio: 4/3; 
    border-radius: 6px; 
    overflow: hidden;
    border: 1px solid var(--border); 
    background: var(--surface3);
    cursor: pointer; 
    position: relative;
}
.news-sections .page-layout .article-wrap .content-card .gallery-grid .gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s; 
    display: block; 
}
.news-sections .page-layout .article-wrap .content-card .gallery-grid .gallery-item:hover img { 
    transform: scale(1.07); 
}
.news-sections .page-layout .article-wrap .content-card .gallery-grid .gallery-placeholder {
    width: 100%; 
    height: 100%; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    color: var(--text-faint); 
    font-size: 11px;
}

/* share */
.news-sections .page-layout .article-wrap .content-card .share-row {
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex-wrap: wrap;
    padding-top: 28px; 
    border-top: 1px solid var(--border);
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-label { 
    font-size: 12px; 
    color: var(--text-dim); 
    font-weight: 600; 
    letter-spacing: 1px; 
    flex-shrink: 0; 
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns .share-btn {
    display: flex; 
    align-items: center; 
    gap: 7px;
    padding: 8px 18px; 
    border-radius: 6px;
    font-size: 12px; 
    font-weight: 600;
    cursor: pointer; 
    text-decoration: none;
    transition: all 0.2s; 
    border: 1.5px solid transparent;
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns .share-btn-fb  { 
    background: #e8edf8; 
    color: #2d5dbf; 
    border-color: rgba(45,93,191,0.2); 
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns .share-btn-tw  { 
    background: #e6f4fd; 
    color: #1a8cd8; 
    border-color: rgba(26,140,216,0.2); 
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns .share-btn-wa  { 
    background: #e7f8ee; 
    color: #1a8a45; 
    border-color: rgba(26,138,69,0.2); 
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns .share-btn-cp  { 
    background: var(--surface3); 
    color: var(--text-dim); 
    border-color: var(--border); 
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns .share-btn:hover { 
    filter: brightness(0.94); 
    transform: translateY(-1px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}
.news-sections .page-layout .article-wrap .content-card .share-row .share-btns .share-btn svg { 
    width: 15px; 
    height: 15px; 
}

/* article nav */
.news-sections .page-layout .article-wrap .article-nav { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    margin-top: 24px; 
}
.news-sections .page-layout .article-wrap .article-nav .nav-article-btn {
    display: flex; 
    flex-direction: column; 
    gap: 5px;
    background: var(--white); 
    border: 1px solid var(--border2);
    padding: 18px 20px; 
    border-radius: 8px; 
    text-decoration: none;
    transition: all 0.25s; 
    box-shadow: 0 1px 6px rgba(13,30,53,0.05);
}
.news-sections .page-layout .article-wrap .article-nav .nav-article-btn:hover { 
    border-color: var(--gold); 
    box-shadow: 0 4px 16px rgba(184,145,31,0.12); 
    transform: translateY(-2px); 
}
.news-sections .page-layout .article-wrap .article-nav .nav-article-dir { 
    font-size: 10px; 
    letter-spacing: 2px; 
    color: var(--gold); 
    font-weight: 700; 
}
.news-sections .page-layout .article-wrap .article-nav .nav-article-title { 
    font-size: 12.5px; 
    color: var(--text-dim); 
    font-weight: 600; 
    line-height: 1.5; 
}

/* ── SIDEBAR ── */

.news-sections .page-layout .sidebar .sidebar-block {
    background: var(--white); 
    border: 1px solid var(--border);
    border-radius: 8px; 
    margin-bottom: 20px; 
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13,30,53,0.05);
}
.news-sections .page-layout .sidebar .sidebar-block .sidebar-header {
    padding: 14px 18px; 
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex; 
    align-items: center; 
    gap: 10px;
    background: var(--white);
}
.news-sections .page-layout .sidebar .sidebar-block .sidebar-header .sidebar-header-icon {
    width: 28px; 
    height: 28px; 
    border-radius: 6px;
    background: var(--gold-dim); 
    border: 1px solid var(--gold-b);
    display: flex; align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
}
.news-sections .page-layout .sidebar .sidebar-block .sidebar-header .sidebar-header-icon svg { 
    width: 13px; 
    height: 13px; 
}
.news-sections .page-layout .sidebar .sidebar-block .sidebar-header h4 { 
    font-size: 13px; 
    font-weight: 800; 
    color: var(--navy); 
}

/* stats */
.news-sections .page-layout .sidebar .sidebar-block .stats-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
}
.news-sections .page-layout .sidebar .sidebar-block .stats-grid .stat-cell {
    padding: 18px 14px; 
    text-align: center;
    border-left: 1px solid rgba(0,0,0,0.1); 
}
.news-sections .page-layout .sidebar .sidebar-block .stats-grid .stat-cell:nth-child(2n) { 
    border-left: none; 
}
.news-sections .page-layout .sidebar .sidebar-block .stats-grid .stat-cell:nth-child(3),
.news-sections .page-layout .sidebar .sidebar-block .stats-grid .stat-cell:nth-child(4) { 
    border-bottom: none; 
}
.news-sections .page-layout .sidebar .sidebar-block .stats-grid .stat-cell .stat-num { 
    font-size: 22px; 
    font-weight: 900; 
    color: var(--navy); 
    font-family: 'Cormorant Garamond', serif; 
    direction: ltr; 
    line-height: 1;
    margin-bottom: 3px; 
}
.news-sections .page-layout .sidebar .sidebar-block .stats-grid .stat-cell .stat-num span { 
    color: var(--gold); 
}
.news-sections .page-layout .sidebar .sidebar-block .stats-grid .stat-cell .stat-lbl { 
    font-size: 10.5px; 
    color: var(--text-dim); 
}

/* related */
.news-sections .page-layout .sidebar .sidebar-block .related-item {
    display: flex; 
    gap: 13px; 
    padding: 14px 18px;
    border-bottom: 1px solid var(--border2); 
    text-decoration: none; 
    transition: background 0.2s;
}
.news-sections .page-layout .sidebar .sidebar-block .related-item:last-child { 
    border-bottom: none; 
}
.news-sections .page-layout .sidebar .sidebar-block .related-item:hover { 
    background: var(--surface2); 
}
.news-sections .page-layout .sidebar .sidebar-block .related-item .related-thumb {
  width: 60px; 
  height: 50px; 
  border-radius: 5px; 
  flex-shrink: 0;
  overflow: hidden; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.news-sections .page-layout .sidebar .sidebar-block .related-item .related-info { 
    flex: 1; 
    min-width: 0; 
}
.news-sections .page-layout .sidebar .sidebar-block .related-item .related-cat { 
    font-size: 9.5px; 
    color: var(--gold); 
    font-weight: 700; 
    letter-spacing: 1px; 
    margin-bottom: 3px; 
}
.news-sections .page-layout .sidebar .sidebar-block .related-item .related-title { 
    font-size: 12px; 
    color: var(--text-dim); 
    font-weight: 600; 
    line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-date { font-size: 10px; color: var(--text-faint); margin-top: 4px; }

/* tags */
.tags-wrap { padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  background: var(--surface3); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 11px; padding: 4px 12px;
  border-radius: 20px; cursor: pointer; transition: all 0.2s; font-weight: 500;
}
.tag:hover { background: var(--gold-dim); border-color: var(--gold-b); color: var(--gold); }

/* newsletter */
.newsletter-body { padding: 18px; }
.newsletter-body p { font-size: 12px; color: var(--text-dim); line-height: 1.7; margin-bottom: 14px; }
.newsletter-input {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 14px; font-family: 'Tajawal', sans-serif;
  font-size: 13px; color: var(--text); outline: none; margin-bottom: 8px; transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--gold-b); }
.newsletter-btn {
  width: 100%; background: var(--navy); color: #fff; border: none;
  border-radius: 6px; padding: 10px; font-family: 'Tajawal', sans-serif;
  font-size: 13px; font-weight: 800; cursor: pointer; transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--navy2); }

/* BOTTOM */
.bottom-strip {
  background: var(--navy); padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 3px solid var(--gold);
}
.strip-left  { font-size: 13px; color: rgba(255,255,255,0.5); }
.strip-left span { color: var(--gold-light); font-weight: 600; }
.strip-right { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 1px; direction: ltr; }


@media (max-width: 960px) {
    .breadcrumb-bar .breadcrumb-inner { 
        padding: 12px 20px; 
    }
    .news-sections .hero-banner { 
        padding: 0 20px; 
    }
    .hero-banner .hero-inner { 
        grid-template-columns: 1fr; 
        padding-bottom: 0; 
        gap: 28px; 
    }
    .hero-banner .hero-inner .hero-image-wrap { 
        border-radius: 8px; 
        border-bottom: 1px solid rgba(255,255,255,0.08); 
        margin-bottom: 20px;
    }
    .news-sections .page-layout { 
        grid-template-columns: 1fr; 
        padding: 0px; 
    }
    .news-sections .page-layout .article-wrap .content-card { 
        padding: 28px 22px; 
    }
    .news-sections .page-layout .article-wrap .content-card .gallery-grid { 
        grid-template-columns: repeat(2,1fr); 
    }
    .news-sections .page-layout .article-wrap .article-nav { 
        grid-template-columns: 1fr; 
    }
    .bottom-strip { 
        flex-direction: column; 
        gap: 8px; 
        padding: 20px; 
        text-align: center; 
    }
    .news-sections .page-layout .article-wrap .content-card .article-body pre{
        font-size: 12px;
    }
}
