
:root {
    --journal-navy: #142d50;
    --journal-blue: #20568b;
    --journal-gold: #c7a45b;
    --journal-bg: #f4f7fb;
    --journal-text: #243247;
    --journal-muted: #718096;
    --journal-border: #e4eaf2;
    --journal-white: #fff;
    --journal-radius: 18px;
    --journal-shadow: 0 8px 28px rgba(20, 45, 80, .07);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    background: var(--journal-bg);
    color: var(--journal-text);
    line-height: 1.9;
}

a {
    color: var(--journal-blue);
    text-decoration: none;
}

a:hover {
    color: var(--journal-navy);
}

.journal-header {
    color: white;
    background: linear-gradient(120deg, #102442, #20568b);
    border-bottom: 4px solid var(--journal-gold);
    box-shadow: 0 4px 18px rgba(15, 36, 66, .12);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 13px;
    color: white;
    min-width: 0;
}

.brand-link:hover {
    color: white;
}

.brand-link strong,
.brand-link small {
    display: block;
}

.brand-link strong {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.7;
}

.brand-link small {
    color: #dce7f5;
    font-size: .78rem;
}

.brand-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border: 1px solid #ffffff70;
    border-radius: 14px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    background: #ffffff12;
}

.header-link {
    flex-shrink: 0;
    color: #fff;
    border: 1px solid #ffffff50;
    border-radius: 10px;
    padding: 7px 15px;
    font-size: .9rem;
}

.header-link:hover {
    background: #ffffff15;
    color: #fff;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(25px, 5vw, 52px);
    color: white;
    background: linear-gradient(125deg, #132b4d, #20568b);
    border-radius: 24px;
    box-shadow: var(--journal-shadow);
}

.hero-panel::after {
    content: "";
    position: absolute;
    left: -55px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border: 1px solid #ffffff20;
    border-radius: 50%;
    box-shadow: 0 0 0 35px #ffffff08, 0 0 0 70px #ffffff05;
    pointer-events: none;
}

.hero-kicker {
    color: #e9d39e;
    font-size: .9rem;
    font-weight: 700;
}

.hero-panel h1 {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 12px 0;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.65;
}

.hero-panel p {
    max-width: 760px;
    color: #e2eaf4;
    margin-bottom: 22px;
}

.btn-journal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    color: #fff;
    background: var(--journal-gold);
    border: 1px solid var(--journal-gold);
    border-radius: 10px;
    font-weight: 700;
}

.btn-journal:hover {
    color: var(--journal-navy);
    background: #e2c985;
}

.btn-outline-journal {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid var(--journal-border);
    border-radius: 10px;
    background: #fff;
    color: var(--journal-navy);
    font-weight: 700;
}

.section-title {
    color: var(--journal-navy);
    font-weight: 800;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.section-subtitle {
    color: var(--journal-muted);
    font-size: .92rem;
}

.journal-card,
.issue-card,
.article-detail,
.content-panel {
    height: 100%;
    background: var(--journal-white);
    border: 1px solid var(--journal-border);
    border-radius: var(--journal-radius);
    box-shadow: var(--journal-shadow);
}

.journal-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: transform .2s ease, border-color .2s ease;
}

.journal-card:hover {
    transform: translateY(-4px);
    border-color: var(--journal-gold);
}

.journal-card h3 {
    margin-top: 16px;
    color: var(--journal-navy);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.8;
}

.journal-card .english-title {
    color: var(--journal-muted);
    font-size: .83rem;
    direction: ltr;
    text-align: right;
    line-height: 1.7;
}

.journal-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #8e6c2e;
    background: #f8f0dd;
    border-radius: 14px;
    font-size: 1.35rem;
}

.journal-card .card-link {
    margin-top: auto;
    padding-top: 15px;
    font-weight: 800;
}

.archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--journal-border);
    border-radius: 14px;
}

.archive-toolbar label {
    font-weight: 700;
    color: var(--journal-navy);
}

.archive-toolbar select {
    min-width: 220px;
    max-width: 100%;
}

.issue-card {
    display: flex;
    gap: 17px;
    padding: 20px;
    transition: transform .2s ease;
}

.issue-card:hover {
    transform: translateY(-3px);
}

.issue-number {
    flex: 0 0 70px;
    height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--journal-navy);
    border-bottom: 4px solid var(--journal-gold);
    border-radius: 12px;
    line-height: 1.45;
}

.issue-number span {
    color: #e7d5a6;
    font-size: .78rem;
}

.issue-number strong {
    font-size: 1.8rem;
}

.issue-card h3 {
    margin: 5px 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.8;
}

.text-muted-custom {
    color: var(--journal-muted);
    font-size: .88rem;
}

.article-row {
    display: flex;
    gap: 15px;
    padding: 22px;
    background: #fff;
    border-bottom: 1px solid var(--journal-border);
}

.article-row:last-child {
    border-bottom: 0;
}

.article-index {
    flex: 0 0 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--journal-blue);
    background: #edf3fa;
    border-radius: 12px;
    font-weight: 800;
}

.article-row h3 {
    margin: 0 0 7px;
    color: var(--journal-navy);
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.9;
}

.article-excerpt {
    color: #5e6b7d;
    font-size: .91rem;
}

.article-detail {
    padding: clamp(20px, 4vw, 45px);
}

.article-detail h1 {
    color: var(--journal-navy);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
    margin-top: 20px;
    border-block: 1px solid var(--journal-border);
    color: var(--journal-muted);
    font-size: .9rem;
}

.abstract-box {
    margin-top: 28px;
    padding: 22px;
    background: #f8fafc;
    border-right: 4px solid var(--journal-gold);
    border-radius: 12px;
}

.abstract-box h2,
.fulltext-box h2 {
    color: var(--journal-navy);
    font-size: 1.25rem;
    font-weight: 800;
}

.abstract-box p {
    margin-bottom: 0;
    line-height: 2.2;
}

.fulltext-box {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--journal-border);
    border-radius: 12px;
}

.breadcrumb {
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--journal-border);
    border-radius: 12px;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: .5rem;
    padding-right: 0;
}

.empty-state {
    padding: 30px;
    text-align: center;
    color: var(--journal-muted);
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--journal-border);
    border-radius: 9px;
}

.journal-footer {
    margin-top: 30px;
    color: #dce5f2;
    background: #0c203e;
}

.journal-footer a {
    color: #fff;
}

.footer-bottom {
    padding: 14px 0;
    border-top: 1px solid #ffffff20;
    font-size: .85rem;
}

@media (max-width: 767.98px) {
    .brand-link strong { font-size: .88rem; }
    .brand-link small { font-size: .72rem; }
    .brand-symbol { flex-basis: 40px; height: 40px; }
    .header-link { padding: 7px 9px; font-size: .8rem; }
    .hero-panel { border-radius: 16px; }
    .issue-card { padding: 15px; gap: 12px; }
    .issue-number { flex-basis: 58px; height: 76px; }
    .article-row { padding: 16px; }
    .archive-toolbar { align-items: stretch; }
    .archive-toolbar select { min-width: 0; width: 100%; }
}

@media print {
    .journal-header,
    .journal-footer,
    .breadcrumb,
    .no-print { display: none !important; }

    body { background: #fff; }
    .article-detail { box-shadow: none; border: 0; }
}




/* هوية المجلات العلمية */
:root {
    --journal-navy: #102b50;
    --journal-blue: #1765c0;
    --journal-gold: #c6a45c;
    --journal-green: #17845d;
    --journal-bg: #f3f6fa;
    --journal-border: #e4eaf2;
}

body {
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    background: var(--journal-bg);
    color: #27364b;
}

.journal-header {
    background: #fff;
    border-bottom: 1px solid var(--journal-border);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--journal-navy);
    text-decoration: none;
}

.brand-link small {
    display: block;
    color: #748197;
    font-size: .78rem;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: #fff;
    background: var(--journal-navy);
    border-bottom: 4px solid var(--journal-gold);
    border-radius: 12px;
    font-size: 1.7rem;
    font-weight: 800;
}

.header-link {
    padding: 9px 16px;
    color: var(--journal-navy);
    border: 1px solid var(--journal-border);
    border-radius: 10px;
    text-decoration: none;
}

.header-link:hover {
    color: #fff;
    background: var(--journal-navy);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 54px);
    color: #fff;
    background: linear-gradient(125deg, #102b50, #1a548d);
    border-radius: 24px;
    box-shadow: 0 15px 40px #102b5018;
}

.hero::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: -90px;
    bottom: -130px;
    border: 35px solid #ffffff0c;
    border-radius: 50%;
    pointer-events: none;
}

.issue-grid,
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.issue-card-v2 {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--journal-border);
    border-radius: 18px;
    box-shadow: 0 7px 24px #102b5009;
    transition: transform .2s ease, box-shadow .2s ease;
}

.issue-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #102b5018;
}

.issue-cover {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin: 12px 12px 0;
    background: #edf3f9;
    border-radius: 12px;
}

.issue-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform .3s ease;
}

.issue-card-v2:hover .issue-cover img {
    transform: scale(1.035);
}

.cover-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(145deg, #102b50, #246ba7);
}

.cover-placeholder span {
    color: #e7d6a7;
    font-size: .8rem;
}

.cover-placeholder strong {
    font-size: 1.2rem;
    line-height: 1.8;
}

.cover-placeholder small {
    color: #e1eaf5;
}

.issue-card-body {
    padding: 20px;
}

.issue-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--journal-green);
    font-size: .78rem;
    font-weight: 800;
}

.issue-card-body h2 {
    min-height: 3.3em;
    margin: 0 0 12px;
    color: var(--journal-navy);
    font-size: 1.06rem;
    line-height: 1.8;
}

.issue-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.issue-card-body h2 a:hover {
    color: var(--journal-blue);
}

.issue-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #718096;
    font-size: .86rem;
}

.issue-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 17px;
    padding: 11px 15px;
    color: #fff;
    background: var(--journal-blue);
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.issue-button:hover {
    color: #fff;
    background: var(--journal-navy);
}

.article-detail {
    background: #fff;
    border: 1px solid var(--journal-border);
    border-radius: 20px;
    box-shadow: 0 8px 28px #102b5009;
}

.article-detail h1 {
    color: var(--journal-navy);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.abstract-box {
    padding: 22px;
    background: #f7f9fc;
    border-right: 4px solid var(--journal-gold);
    border-radius: 12px;
}

.abstract-box p {
    line-height: 2.15;
}

@media (max-width: 991.98px) {
    .issue-grid,
    .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .issue-grid,
    .journal-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        border-radius: 16px;
    }

    .issue-card-body h2 {
        min-height: auto;
    }

    .brand-link strong {
        font-size: .9rem;
    }

    .header-link {
        padding: 7px 10px;
        font-size: .82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}




:root {
    --journal-navy: #0b3158;
    --journal-blue: #1768c5;
    --journal-gold: #c6a45c;
    --journal-green: #16845c;
    --journal-bg: #f2f5f9;
    --journal-border: #e1e7ef;
}

body {
    background: var(--journal-bg);
    color: #26364a;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.9;
}

a {
    text-underline-offset: 4px;
}

.journal-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--journal-navy);
    text-decoration: none;
}

.journal-brand img {
    width: 82px;
    height: 68px;
    object-fit: contain;
}

.journal-brand-title {
    font-weight: 800;
    line-height: 1.7;
}

.journal-brand-subtitle {
    display: block;
    color: #6e7e91;
    font-size: .8rem;
}

.article-detail,
.journal-sidebar {
    background: #fff;
    border: 1px solid var(--journal-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgb(11 49 88 / 5%);
}

.article-detail h1 {
    color: var(--journal-navy);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.article-metadata th {
    width: 30%;
    color: var(--journal-navy);
    background: #f5f7fa;
    font-weight: 700;
}

.article-metadata td,
.article-metadata th {
    padding: 12px 14px;
}

.abstract-box {
    padding: 22px;
    background: #f6f8fb;
    border-right: 4px solid var(--journal-gold);
    border-radius: 12px;
}

.database-card {
    height: 100%;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    color: var(--journal-navy);
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--journal-border);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgb(11 49 88 / 4%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.database-card:hover {
    color: var(--journal-blue);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgb(11 49 88 / 10%);
}

.database-logo {
    height: 85px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.database-logo img {
    display: block;
    max-width: 100%;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.database-open {
    color: var(--journal-blue);
    font-size: .82rem;
    font-weight: 700;
}

.section-eyebrow {
    color: var(--journal-green);
    font-weight: 700;
    font-size: .85rem;
}

.database-mini-list {
    display: grid;
    gap: 8px;
}

.database-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    color: var(--journal-navy);
    background: #f6f8fb;
    border: 1px solid var(--journal-border);
    border-radius: 10px;
    text-decoration: none;
}

.database-mini:hover {
    color: var(--journal-blue);
    border-color: var(--journal-blue);
}

.journal-footer {
    margin-top: 60px;
    color: #e7eef8;
    background: var(--journal-navy);
    border-top: 5px solid var(--journal-gold);
}

.journal-footer h2 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.journal-footer a {
    color: #d5e3f5;
    text-decoration: none;
}

.journal-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-link-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-bottom {
    padding: 16px 0;
    border-top: 1px solid rgb(255 255 255 / 18%);
    color: #c4d5e9;
    font-size: .85rem;
}

@media (max-width: 575.98px) {
    .article-detail {
        padding: 18px !important;
    }

    .article-metadata th {
        width: 36%;
    }

    .article-metadata td,
    .article-metadata th {
        padding: 9px;
        font-size: .9rem;
    }

    .journal-brand img {
        width: 60px;
        height: 55px;
    }
}
