/* public/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Scheherazade+New:wght@400;700&family=UnifrakturMaguntia&family=Aref+Ruqaa:wght@400;700&family=Rakkas&family=Lalezar&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* EXCEPTION: Allow text selection in preview modal ONLY */
.preview-modal-overlay.active *,
.preview-modal-overlay.active {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    cursor: text !important;
}

.preview-modal-overlay.active button,
.preview-modal-overlay.active .btn-validate-preview,
.preview-modal-overlay.active .btn-close-preview {
    cursor: pointer !important;
}

body {
    background-color: #2b323f;
    font-family: 'Amiri', serif;
    padding: 20px 0;
    position: relative;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="ltr"] body {
    direction: ltr;
}

html[dir="ltr"] .intro-paragraph,
html[dir="ltr"] .about-paragraph,
html[dir="ltr"] .acknowledgments-text,
html[dir="ltr"] .column p,
html[dir="ltr"] .column {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    font-size: 14pt !important;
    font-family: 'Times New Roman', serif !important;
    font-style: normal !important;
}

html[dir="ltr"] .newspaper-title {
    font-family: 'UnifrakturMaguntia', 'Old English Text MT', 'Blackletter', serif;
    letter-spacing: 3px;
}

html[dir="ltr"] .header-main-title {
    font-family: 'Times New Roman', serif;
}

html[dir="ltr"] .side-menu {
    left: auto;
    right: -300px;
}

html[dir="ltr"] .side-menu.active {
    right: 0;
    left: auto;
}

html[dir="ltr"] .download-buttons {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* Bouton fضاء المقالات */
.btn-articles-space {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #302504;
    color: white;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: 'Amiri', serif;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.15);
    white-space: nowrap;
}

.btn-articles-space:hover {
    background: #4a3806;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* Language switcher fixed */
.lang-switcher-fixed {
    position: fixed;
    top: 62px;
    left: 20px;
    z-index: 1001;
    display: flex;
    gap: 4px;
}

html[dir="ltr"] .lang-switcher-fixed {
    left: auto;
    right: 20px;
}

.lang-btn-fixed {
    background: white;
    color: #333;
    border: 2px solid #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Amiri', serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.lang-btn-fixed:hover {
    background: #f0f0f0;
}

.lang-btn-fixed.active {
    background: #302504;
    color: white;
    border-color: #302504;
}

/* Bouton كل الاعداد */
.btn-issues-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    font-family: 'Amiri', serif;
}

.btn-issues-main {
    background: #302504;
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 20px;
    font-family: 'Amiri', serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-issues-main:hover {
    background: #4a3806;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.btn-issues-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    min-width: 140px;
    border: 1px solid #ddd;
    flex-direction: column;
}

.btn-issues-dropdown.open {
    display: flex;
}

.btn-issues-option {
    display: block;
    padding: 12px 20px;
    color: #302504;
    text-decoration: none;
    font-family: 'Amiri', serif;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.btn-issues-option:last-child {
    border-bottom: none;
}

.btn-issues-option:hover {
    background: #f9f4ec;
    color: #4a3806;
}

html[dir="ltr"] .btn-issues-wrapper {
    right: auto;
    left: 20px;
}

html[dir="ltr"] .btn-issues-dropdown {
    right: auto;
    left: 0;
}

html[dir="ltr"] .btn-issues-option {
    text-align: left;
}

.btn-articles-icon {
    font-size: 18px;
    line-height: 1;
}

.btn-articles-text {
    letter-spacing: 0.5px;
}

html[dir="ltr"] .btn-articles-space {
    font-family: 'Times New Roman', serif;
}

@media screen and (max-width: 900px) {
    .btn-articles-space {
        bottom: 15px;
        font-size: 13px;
        padding: 8px 16px;
    }
}

.btn-download {
    background: #302504;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-download:hover {
    background: #4a3806;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

html[dir="ltr"] .menu-item {
    text-align: left;
}

html[dir="ltr"] .article-author-info {
    border-right: none;
    border-left: 3px solid #333;
}

html[dir="ltr"] .article-author-name {
    text-align: left;
}

html[dir="ltr"] .article-author-name::before {
    margin-left: 0;
    margin-right: 5px;
}

.menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    min-width: 65px;
    height: 32px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    z-index: 1001;
    transition: all 0.3s ease;
    border: 2px solid #333;
}

html[dir="ltr"] .menu-button {
    left: auto;
    right: 20px;
}

.menu-button:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: #f5f5f5;
}

.menu-text {
    font-family: 'Amiri', serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

html[dir="ltr"] .menu-text::before {
    content: 'Menu';
}

html[dir="rtl"] .menu-text::before {
    content: 'القائمة';
}

html[dir="ltr"] .menu-text,
html[dir="rtl"] .menu-text {
    font-size: 0;
}

html[dir="ltr"] .menu-text::before,
html[dir="rtl"] .menu-text::before {
    font-size: 20px;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 50px 20px 20px 20px;
    overflow-y: auto;
    overflow-x: visible;
}

.side-menu.active {
    left: 0;
}

.side-menu::-webkit-scrollbar {
    width: 8px;
}

.side-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.side-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.side-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.menu-header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.lang-button {
    flex: 1;
    padding: 10px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Amiri', serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 600;
}

.lang-button:hover {
    background: #e0e0e0;
    border-color: #999;
}

.lang-button.active {
    background: #333;
    color: white;
    border-color: #333;
}

.menu-item {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border: none;
    border-radius: 5px;
    font-family: 'Amiri', serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    color: #333;
}

.menu-item:hover {
    background: #e0e0e0;
    transform: translateX(-5px);
}

.menu-item.active {
    background: #333;
    color: white;
    font-weight: 700;
}

.newspaper-container {
    max-width: 210mm;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    body {
        padding: 0 !important;
        margin: 0 !important;
    }

    .newspaper-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .page {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        padding: 12px 10px 12px 10px !important;
        margin: 0 0 10px 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .column {
        height: auto !important;
        overflow: visible !important;
    }

    .columns {
        overflow: visible !important;
    }

    .cover-page {
        padding: 0 !important;
        aspect-ratio: 210 / 297;
        height: auto !important;
        overflow: hidden !important;
    }

    .cover-image {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .cover-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        top: 0;
        left: 0;
    }

    .columns {
        grid-template-columns: 1fr !important;
        height: auto !important;
        gap: 10px !important;
        margin-top: 6px !important;
    }

    .columns-full {
        height: auto !important;
    }

    .column {
        overflow: visible !important;
        font-size: 13pt !important;
    }

    .column p {
        font-size: 13pt !important;
    }

    .article-title {
        font-size: 14pt !important;
    }

    .page-footnotes-bar {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 12px;
    }

    .page-number {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        text-align: center;
        display: block;
        margin-top: 8px;
        padding-top: 6px;
        border-top: 1px solid #ccc;
    }

    .page::after {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        display: block;
        text-align: center;
        margin-top: 8px;
        font-size: 9pt;
        white-space: normal;
    }

    .page-logo-header {
        font-size: 8pt;
        gap: 6px;
    }

    .page-logo-header img {
        height: 20px;
    }

    .menu-button {
        top: 8px !important;
        left: 8px !important;
    }

    html[dir="ltr"] .menu-button {
        left: auto !important;
        right: 8px !important;
    }

    .btn-issues-wrapper {
        top: 8px !important;
        right: 8px !important;
    }

    html[dir="ltr"] .btn-issues-wrapper {
        right: auto !important;
        left: 8px !important;
    }

    .lang-switcher-fixed {
        top: 50px !important;
        left: 8px !important;
    }

    html[dir="ltr"] .lang-switcher-fixed {
        left: auto !important;
        right: 8px !important;
    }

    .introduction-page,
    .about-page,
    .acknowledgments-page,
    .copyright-page {
        padding: 12px 10px !important;
    }
}

.page {
    width: 210mm;
    min-height: 297mm;
    height: auto;
    background: #ffffff;
    padding: 25mm;
    padding-top: 8mm;
    padding-bottom: 20mm;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Logo in top margin of every non-cover page */
.page:not(.cover-page)::before {
    content: none;
}

.page-logo-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 0.5px solid #3a3636;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    font-size: 10pt;
    font-family: 'Times New Roman', 'Amiri', serif;
}

html[dir="ltr"] .page-logo-header {
    flex-direction: row;
    justify-content: flex-start;
}


.page-logo-header img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    margin-right: 14px;
    margin-left: 0;
}

html[dir="ltr"] .page-logo-header img {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="ltr"] .page-logo-header img {
    margin-left: 14px;
    margin-right: 0px;
}

/* Watermark disabled */
.page.has-watermark::before {
    content: none;
}

html[dir="ltr"] .page.has-watermark::before {
    content: none;
}

.newspaper-header {
    text-align: center;
    padding: 4px 0 8px 0;
    border-bottom: 2px solid #000;
    flex-shrink: 0;
    margin: 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
    display: block;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.header-decoration {
    font-size: 20px;
    color: #000;
    font-weight: bold;
    flex-shrink: 0;
    white-space: nowrap;
}

.newspaper-title {
    display: none;
}

.header-subtitle {
    display: none;
}

.header-main-title {
    font-size: 16pt;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 4px 0;
    padding: 4px 0;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #000;
    text-align: center;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
    border-bottom: 2px solid #000;
}

.header-line {
    width: 100%;
    height: 4px;
    background: #000;
    margin: 0;
}

.columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    column-gap: 20px;
    text-align: justify;
    flex: 0 0 auto;
    overflow: visible;
    margin-top: 10px;
    min-height: 0;
    position: relative;
    z-index: 10;
    /* height controlled by JS but content never clipped */
}

.columns-full {
    margin-top: 5mm;
    height: auto;
    min-height: 0;
}

.column {
    font-size: 14pt;
    line-height: 1.15;
    color: #111;
    font-family: 'Times New Roman', 'Amiri', serif;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    height: 100%;
}

.article-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin: 8px 0;
    display: block;
    break-inside: avoid;
}


.column p {
    margin: 0 0 0.3em 0;
    line-height: 1.15;
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    text-align: justify;
}

.column strong,
.column b {
    font-weight: 700;
    color: inherit;
}

.column span[style*="color"] {
    /* preserve color from inline style */
}
.column font[color] {
    /* preserve color from font tag */
}

.column span[style*="background"],
.column span[style*="background-color"] {
    padding: 2px 4px;
    border-radius: 2px;
}

.column p:first-child {
    margin-top: 0;
}

.article-title {
    font-size: 16pt;
    font-weight: 700;
    color: #000;
    font-family: 'Times New Roman', 'Amiri', serif;
    margin-bottom: 8px;
    margin-top: 12px;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
    position: relative;
    z-index: 15;
    background: white;
}

.column .article-title:first-child {
    margin-top: 0;
}

.article-image {
    width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-subtitle {
    font-size: 14pt;
    font-weight: 700;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #333;
    margin: 6px 0;
    text-align: justify;
    line-height: 1.15;
    font-style: normal;
}

.article-author-info {
    margin: 15px 0;
    padding: 12px;
    background: #f9f9f9;
    border-right: 3px solid #333;
    border-radius: 3px;
    font-family: 'Times New Roman', 'Amiri', serif !important;
}

.author-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    margin: 0 auto 6px auto;
    border: 1px solid #ddd;
}

.article-author-name {
    font-size: 14pt !important;
    font-weight: 700 !important;
    font-family: 'Times New Roman', 'Amiri', serif !important;
    color: #000;
    margin-bottom: 4px;
    text-align: right;
}

.article-author-name::before {
    content: '🖋️ ';
    margin-left: 5px;
}

.article-author-bio {
    font-size: 14pt !important;
    color: #555;
    font-family: 'Times New Roman', serif !important;
    line-height: 1.15 !important;
    text-align: justify;
    font-style: normal !important;
    margin-top: 4px;
    padding: 0 8px;
}

.article-author-info.author-before {
    margin-bottom: 15px;
    margin-top: 10px;
}

.article-author-info.author-after {
    margin-top: 15px;
    margin-bottom: 10px;
    border-right: 3px solid #666;
    background: #f5f5f5;
}

.article-description {
    font-size: 14pt !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.15 !important;
    color: #111;
    font-family: 'Times New Roman', serif !important;
    background: #ffffff;
    border: none;
    border-radius: 0;
    padding: 4px 0;
    margin: 4px 0 6px 0;
    text-align: justify;
    box-shadow: none;
    display: block;
    width: 100%;
}

html[dir="ltr"] .article-description {
    border: none;
    border-radius: 0;
    font-style: normal;
}

/* Full-width article header: title + author + date + abstract */
.article-fullwidth-header {
    width: 100%;
    background: #fff;
    border: none;
    padding: 4px 0 6px 0;
    margin: 0 0 8px 0;
    box-sizing: border-box;
    display: block;
    /* No hard cap — JS measures real height and adjusts columns accordingly */
    overflow: visible;
}

.fwh-title {
    font-size: 15pt !important;
    font-weight: 700 !important;
    font-family: 'Times New Roman', 'Amiri', serif !important;
    text-align: right;
    border: none !important;
    padding-bottom: 3px;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

.fwh-author-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
    font-family: 'Times New Roman', 'Amiri', serif;
}

.fwh-author-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

.fwh-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fwh-author-name {
    font-size: 14pt;
    font-weight: 700;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #000;
}

.fwh-author-bio {
    font-size: 11pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #444;
    font-style: italic;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fwh-meta-top {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
}

.fwh-date {
    font-size: 10pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #555;
    line-height: 1.2;
}

.fwh-doi {
    font-size: 10pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #111;
    line-height: 1.2;
}

.fwh-doi a {
    color: #111;
    text-decoration: underline;
}

.fwh-title {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}

.fwh-author-row {
    margin-top: 6px;
}

/* Abstract block inside fullwidth header */
.article-abstract-block {
    width: 100%;
    background: #fff;
    border-top: none;
    border-bottom: none;
    padding: 10px 0 6px 0;
    margin: 10px 0 6px 0;
    display: block;
    box-sizing: border-box;
    overflow: visible;
}

.article-abstract-block .article-abstract-text {
    margin-bottom: 8px !important;
}

.article-abstract-text {
    font-size: 13.5pt !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.55 !important;
    color: #111 !important;
    font-family: 'Times New Roman', serif !important;
    text-align: justify !important;
    margin: 0 0 8px 0 !important;
    display: block !important;
    overflow: visible !important;
}

.article-abstract-text strong {
    font-weight: 700 !important;
    font-style: normal !important;
}

.article-keywords-text {
    font-size: 12pt !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.5 !important;
    color: #333 !important;
    font-family: 'Times New Roman', serif !important;
    text-align: justify !important;
    margin: 6px 0 0 0 !important;
    display: block !important;
    overflow: visible !important;
}

.article-keywords-text strong {
    font-weight: 700 !important;
    color: #111 !important;
    font-size: 12pt !important;
    font-family: 'Times New Roman', serif !important;
}

.article-keywords-line {
    font-size: 10.5pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #222;
    margin-top: 4px;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.article-keywords-line strong {
    font-weight: 700;
    margin-left: 4px;
    flex-shrink: 0;
}

.kw-chip {
    display: inline-block;
    background: #f0ebe0;
    border: 1px solid #c9b99a;
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 10pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #302504;
    white-space: nowrap;
}

/* Keywords/hashtags line under abstract (legacy, kept for detail page) */
.article-keywords {
    font-size: 10pt !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.4 !important;
    color: #111;
    font-family: 'Times New Roman', serif !important;
    background: transparent;
    border: none;
    padding: 2px 0 6px 0;
    margin: 0 0 8px 0;
    text-align: justify;
    display: block;
    width: 100%;
    border-bottom: 1px solid #ccc;
}

.sources-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

.sources-header h2 {
    font-family: 'UnifrakturMaguntia', 'Old English Text MT', serif;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.sources-column {
    padding: 20px;
}

.sources-article-title {
    font-family: 'Amiri', serif;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.sources-content {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    line-height: 1.4;
    color: #333;
    text-align: justify;
    padding-right: 0;
}

.sources-content p,
.sources-content div {
    text-indent: 0;
    padding-right: 2em;
    margin-bottom: 0.5em;
    font-size: 14pt;
    line-height: 1.4;
}

.back-to-articles-btn {
    position: fixed;
    top: 20px;
    left: 120px;
    z-index: 9999;
    background: #302504;
    color: #c9a84c;
    border: 1.5px solid #c9a84c;
    border-radius: 20px;
    padding: 6px 18px;
    font-family: 'Amiri', serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    direction: rtl;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.back-to-articles-btn:hover {
    background: #c9a84c;
    color: #302504;
}
@media print {
    .back-to-articles-btn {
        display: none !important;
    }
}
@media print {
    body {
        background: #2b323f;
        padding: 0;
    }
    
    .page {
        box-shadow: none;
        margin: 0;
        page-break-after: always;
    }
}

.cover-page {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.cover-image .cover-ar,
.cover-image .cover-en {
    opacity: 1;
}

.cover-error {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    text-align: center;
    padding: 40px;
    font-family: 'Amiri', serif;
}

/* Page Header Image */
.page-header-image-wrapper {
    width: 100%;
    margin: 0 0 18px 0;
    line-height: 0;
}

.page-header-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #302504;
}

.page-footnotes-bar {
    position: absolute;
    bottom: 25mm;
    left: 25mm;
    right: 25mm;
    border-top: 0.8px solid #333;
    padding-top: 3px;
    font-size: 11pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.5;
    color: #111;
    z-index: 20;
    background: white;
    direction: rtl;
    text-align: right;
}

.page-footnotes-bar div {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 1px;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.page-number {
    position: absolute;
    bottom: 10mm;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12pt;
    color: #333;
    font-family: 'Times New Roman', 'Amiri', serif;
    font-weight: 600;
    z-index: 10;
}

.toc-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

.toc-header h2 {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 16pt;
    font-weight: 700;
    color: #333;
    margin: 0;
}

html[dir="rtl"] .toc-header h2 {
    font-family: 'Rakkas', 'Amiri', serif;
}

.toc-column {
    padding: 20px;
    overflow: visible;
}

.toc-content {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    position: relative;
    z-index: 2;
    background: white;
}

.toc-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
    position: relative;
    min-height: 35px;
    padding: 8px 0;
}

.toc-title {
    flex: 1;
    font-size: 14pt;
    font-weight: 400;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #333;
    padding-right: 12px;
    background: white;
    position: relative;
    z-index: 2;
    line-height: 1.15;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.toc-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #999;
    margin: 0 10px;
    position: relative;
    bottom: 3px;
    min-width: 30px;
    z-index: 1;
}

/* Istihlal Page */
.istihlal-page {
    background: #fdf8f0;
}

.istihlal-content {
    width: 100%;
    text-align: right;
    direction: rtl;
    flex: 1;
}

.istihlal-title {
    font-family: 'Rakkas', serif;
    font-size: 42px;
    color: #302504;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.istihlal-divider {
    width: 60%;
    margin: 0 auto 30px auto;
    border-bottom: 3px double #302504;
}

.istihlal-text p {
    font-family: 'Amiri', serif;
    font-size: 15px;
    line-height: 2.2;
    color: #222;
    text-align: justify;
    margin-bottom: 24px;
    text-indent: 2em;
}

/* End Istihlal Page */

.toc-page {
    flex-shrink: 0;
    font-size: 14pt;
    font-weight: 700;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #000;
    padding-left: 12px;
    background: white;
    position: relative;
    z-index: 2;
    min-width: 40px;
    text-align: center;
}

.toc-title, .toc-page {
    z-index: 10; /* plutôt que 2 */
    position: relative;
}

.toc-content {
    z-index: 20;
    position: relative;
}

.toc-column {
    overflow: visible; /* c'est bon */
}

/* 📑 Fahras : titre à droite, numéro à gauche */
html[dir="rtl"] .toc-item {
    display: flex;
    flex-direction: row; /* on garde l'ordre normal */
    align-items: baseline;
}

html[dir="rtl"] .toc-title {
    text-align: right;
    padding-left: 12px;
    padding-right: 0;
}

html[dir="rtl"] .toc-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #999;
    margin: 0 10px;
}

html[dir="rtl"] .toc-page {
    text-align: left;
    padding-right: 12px;
    padding-left: 0;
}


.introduction-page .intro-header,
.introduction-page .intro-text,
.introduction-page .intro-image-frame,
.introduction-page .quote-box,
.introduction-page .section-header,
.introduction-page .sections-container,
.introduction-page .team-container,
.introduction-page .closing-signature,
.introduction-page .copyright-content {
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 900px) {
    body {
        padding: 8px 0;
    }

    .newspaper-container {
        padding: 0 4px;
        gap: 0;
    }

    .page {
        width: 100%;
        height: auto !important;
        min-height: unset;
        padding: 14px 12px 14px 12px;
        margin: 0 auto 12px auto;
        box-sizing: border-box;
        overflow: visible !important;
    }

    .column {
        height: auto !important;
        overflow: visible !important;
    }

    .columns {
        overflow: visible !important;
    }

    .cover-page {
        padding: 0;
        width: 100%;
        aspect-ratio: 210 / 297;
        height: auto;
    }

    .cover-image {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .cover-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .columns {
        grid-template-columns: 1fr;
        height: auto;
        margin-top: 6px;
    }

    .columns-full {
        height: auto;
    }

    .newspaper-title {
        font-size: 36px;
    }

    /* Buttons: place them ON the pages, not fixed floating */
    .menu-button {
        position: fixed;
        top: 8px;
        left: 8px;
        z-index: 1001;
    }

    html[dir="ltr"] .menu-button {
        left: auto;
        right: 8px;
    }

    .btn-issues-wrapper {
        position: fixed;
        top: 8px;
        right: 8px;
        z-index: 1001;
    }

    html[dir="ltr"] .btn-issues-wrapper {
        right: auto;
        left: 8px;
    }

    .lang-switcher-fixed {
        position: fixed;
        top: 50px;
        left: 8px;
        z-index: 1001;
    }

    html[dir="ltr"] .lang-switcher-fixed {
        left: auto;
        right: 8px;
    }

    .btn-articles-space {
        bottom: 10px;
        font-size: 12px;
        padding: 7px 14px;
    }

    .page-logo-header {
        font-size: 8pt;
        gap: 6px;
        padding-bottom: 3px;
        margin-bottom: 3px;
    }

    .page-logo-header img {
        height: 22px;
    }

    .article-title {
        font-size: 13pt;
    }

    .column {
        font-size: 12pt;
    }

    .column p {
        font-size: 12pt !important;
    }

    .page-footnotes-bar {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 10px;
    }

    .page-number {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        text-align: center;
        display: block;
        margin-top: 8px;
        padding-top: 4px;
        border-top: 1px solid #ccc;
    }

    .page::after {
        position: relative;
        bottom: auto;
        right: auto;
        display: block;
        text-align: center;
        margin-top: 6px;
        font-size: 9pt;
        white-space: normal;
    }
}

/* Email footer disabled */
.page::after {
    content: none;
}

/* public/introduction-styles.css */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Aref+Ruqaa:wght@400;700&family=Rakkas&display=swap');

/* ===== GLOBAL TIMES NEW ROMAN OVERRIDE ===== */
* {
    font-family: 'Times New Roman', 'Amiri', serif !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-y: auto;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #2b323f;
    border-left: 1px solid #1a1f2e;
}

body::-webkit-scrollbar-thumb {
    background: #8b7355;
    border-radius: 6px;
    border: 2px solid #2b323f;
}

body::-webkit-scrollbar-thumb:hover {
    background: #6d5940;
}

body {
    background-color: #2b323f;
    font-family: 'Amiri', serif;
    padding: 20px;
    direction: rtl;
}

.page {
    width: 210mm;
    height: 297mm;
    background: #ffffff;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    page-break-after: always;
}

.page::before {
    content: none;
}

.introduction-page {
    padding: 18mm 20mm;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.page-no-header .intro-header-simple {
    display: none;
}

.page-no-header {
    padding-top: 10mm;
}

/* Header Styles */
.intro-header {
    text-align: center;
    margin-bottom: 10mm;
    padding-bottom: 4mm;
}

.intro-header-simple {
    text-align: center;
    margin-bottom: 8mm;
    padding-bottom: 3mm;
    border-bottom: 2px solid #8b7355;
}

.ornament-line {
    width: 60mm;
    height: 2px;
    background: linear-gradient(to right, transparent, #8b7355, transparent);
    margin: 5mm auto;
}

.intro-title {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 16pt;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 2mm 0;
}

.intro-title-small {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Image Frame */
.intro-image-frame {
    width: 100%;
    margin: 0 auto 6mm auto;
    padding: 4mm;
    background: linear-gradient(145deg, #faf8f3, #f5f0e8);
    border: 2px solid #8b7355;
    box-shadow: inset 0 0 15px rgba(139, 115, 85, 0.08), 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.intro-image-frame::before {
    content: '';
    position: absolute;
    top: 2mm;
    left: 2mm;
    right: 2mm;
    bottom: 2mm;
    border: 1px solid rgba(139, 115, 85, 0.3);
    pointer-events: none;
}

.intro-image {
    width: 100%;
    height: 55mm;
    object-fit: cover;
    display: block;
    border: 1px solid #8b7355;
    filter: sepia(10%) contrast(1.05);
}

.image-caption {
    text-align: center;
    font-size: 10px;
    color: #666;
    margin-top: 2mm;
    font-style: italic;
    font-family: 'Aref Ruqaa', serif;
}

/* Text Content */
.intro-text {
    flex: 1;
}

.intro-paragraph {
    font-size: 14pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
    color: #2c3e50;
    text-align: justify;
    margin-bottom: 3mm;
    text-indent: 0;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}


/* Quote Box */
.quote-box {
    background: linear-gradient(135deg, #faf8f3 0%, #f5f0e8 100%);
    border-right: 3px solid #8b7355;
    border-left: 3px solid #8b7355;
    padding: 4mm 6mm;
    margin: 4mm 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(139, 115, 85, 0.1);
}

.quote-mark-right {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 40px;
    color: #8b7355;
    opacity: 0.3;
}

.quote-mark-left {
    position: absolute;
    bottom: -15px;
    left: 10px;
    font-size: 40px;
    color: #8b7355;
    opacity: 0.3;
}

.quote-text {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    line-height: 1.15;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
    margin: 0;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4mm;
    margin: 2mm 0 1.5mm 0;
}

.intro-text .section-header:has(+ .sections-container) {
    page-break-after: avoid;
    break-after: avoid;
}

.header-ornament {
    color: #8b7355;
    font-size: 18px;
}

.section-title {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    color: #2c3e50;
    font-weight: 700;
    text-align: center;
}

/* Sections List */
.sections-container {
    background: linear-gradient(145deg, #faf8f3, #f8f5ef);
    border: 2px solid #8b7355;
    padding: 2mm;
    margin: 2mm 0;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.08);
    page-break-inside: avoid;
    break-inside: avoid;
}

.sections-no-break {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.section-header-break-before {
    page-break-before: always !important;
    break-before: page !important;
}

/* About Page Styles */
.about-page {
    padding: 14mm 18mm;
    display: flex;
    flex-direction: column;
}

.about-header {
    text-align: center;
    margin-bottom: 8mm;
}

.about-ornament-top {
    color: #8b7355;
    font-size: 16px;
    letter-spacing: 6px;
    margin-bottom: 3mm;
}

.about-title {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 16pt;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 2mm 0 4mm 0;
}

.about-ornament-line {
    width: 80mm;
    height: 1.5px;
    background: linear-gradient(to right, transparent, #8b7355, transparent);
    margin: 0 auto;
}

.about-paragraph {
    font-size: 14pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
    color: #111 !important;
    text-align: justify;
    margin-bottom: 3mm;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.about-quote {
    display: flex;
    align-items: flex-start;
    gap: 3mm;
    margin: 4mm 0;
    padding: 4mm 6mm;
    border-right: 2px solid #8b7355;
    background: linear-gradient(135deg, #faf8f3, #f5f0e8);
}

.about-quote-mark {
    font-size: 28px;
    color: #8b7355;
    opacity: 0.5;
    line-height: 1;
    flex-shrink: 0;
}

.about-quote-text {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    line-height: 1.15;
    color: #2c3e50;
    font-style: italic;
    margin: 0;
    flex: 1;
    text-align: justify;
}

.about-section {
    margin-bottom: 4mm;
    padding-bottom: 3mm;
    border-bottom: 1px solid rgba(139,115,85,0.2);
}

.about-section:last-of-type {
    border-bottom: none;
}

.about-section-title {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 2mm;
    display: block;
    text-align: right;
    background: none;
    border: none;
    padding: 0;
}

.about-section-icon {
    color: #8b7355;
    font-size: 13px;
}

.about-axes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4mm;
    flex-wrap: wrap;
    margin-top: 2mm;
}

.about-axis {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 12pt;
    color: #2c3e50;
    background: linear-gradient(135deg, #faf8f3, #f0ebe0);
    border: 1px solid #c4a882;
    padding: 1.5mm 5mm;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.about-axis-sep {
    color: #8b7355;
    font-size: 10px;
    opacity: 0.6;
}

/* Copyright / Publication Rules Page Styles */
.copyright-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.copyright-content {
    margin-top: 3mm;
}

.copyright-subtitle {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    color: #8b7355;
    text-align: center;
    margin-bottom: 4mm;
    font-weight: 700;
}

.copyright-box {
    background: linear-gradient(135deg, #faf8f3 0%, #f5f0e8 100%);
    border: 2px solid #8b7355;
    padding: 3mm 4mm;
    margin: 4mm 0 2mm 0;
    text-align: center;
}

.copyright-notice {
    font-size: 12pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
    color: #2c3e50;
    margin: 0;
}

.copyright-notice strong {
    color: #8b5b55;
    font-size: 10px;
}

.pub-rules-section {
    margin-top: 2mm;
}

.pub-rule-block {
    margin-bottom: 1.5mm;
    border: 1px solid #d4c4a8;
    border-radius: 3px;
    overflow: hidden;
}

.pub-rule-title {
    background: linear-gradient(135deg, #8b7355, #6d5940);
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    padding: 1.5mm 1.5mm;
    letter-spacing: 0.5px;
}

.pub-rule-list {
    background: linear-gradient(145deg, #faf8f3, #f8f5ef);
    padding: 1.5mm 2mm;
}

.pub-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 2mm;
    padding: 0.8mm 1mm;
    font-size: 12pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
    color: #2c3e50;
    border-bottom: 1px dotted #e0d5c5;
}

.pub-rule-item.no-border {
    border-bottom: none;
}

.pub-rule-item:last-child {
    border-bottom: none;
}

.pub-rule-item strong {
    color: #6d5940;
    font-weight: 700;
}

.pub-dot {
    color: #8b7355;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1.7;
}

.section-row {
    display: flex;
    align-items: flex-start;
    gap: 1mm;
    margin-bottom: 1mm;
    padding: 0.5mm;
    background: rgba(255, 255, 255, 0.6);
    border-right: 2px solid #d4c4a8;
    transition: background 0.2s;
}

.section-row:last-child {
    margin-bottom: 0;
}

.section-dot {
    color: #8b7355;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.section-content {
    font-size: 12pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
    color: #2c3e50;
    text-align: justify;
}

.section-content strong {
    color: #8b7355;
    font-weight: 700;
}

/* Team Section */
.team-container {
    background: linear-gradient(135deg, #faf8f3 0%, #f5f0e8 100%);
    border: 2px solid #8b7355;
    padding: 2mm;
    margin: 4mm 0;
}

.team-item {
    font-size: 14pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
    color: #2c3e50;
    text-align: center;
    padding: 1mm 0;
}

.team-item strong {
    color: #8b7355;
    font-weight: 700;
}

/* Signature */
.closing-signature {
    text-align: center;
    margin-top: 1mm;
    padding-top: 1mm;
    border-top: 2px solid #8b7355;  /* ← CETTE LIGNE */
}

.signature-ornament {
    color: #8b7355;
    font-size: 20px;
    margin-bottom: 0mm;
}

.signature-name {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 14pt;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0mm;
}

.signature-title {
    font-size: 12pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #666;
    font-style: italic;
    margin-bottom: 0mm;
}

.contact-box {
    background: #faf8f3;
    border: 1px solid #8b7355;
    padding: 2mm;
    margin-top: 3mm;
}

.contact-line {
    font-size: 12pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    color: #666;
    text-align: center;
    margin: 1mm 0;
    direction: ltr;
}

.small-text {
    font-size: 12pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
}

@media print {
    body {
        background: #2b323f;
        padding: 0;
    }
    
    .page {
        box-shadow: none;
        margin: 0;
        page-break-after: always;
    }
}

@media screen and (max-width: 900px) {
    .page {
        width: 100%;
        height: auto;
        min-height: unset;
    }

    .introduction-page,
    .about-page,
    .acknowledgments-page,
    .copyright-page {
        padding: 14px 12px;
    }
}
.keep-together {
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Acknowledgments Page Styles */
.acknowledgments-page {
    padding: 18mm 20mm;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.acknowledgments-header {
    text-align: center;
    margin-bottom: 8mm;
    padding-bottom: 4mm;
    border-bottom: 3px double #8b7355;
}

.acknowledgments-title {
    font-family: 'Times New Roman', 'Amiri', serif;
    font-size: 16pt;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 2mm 0;
}

.acknowledgments-content {
    flex: 1;
}

.acknowledgments-text {
    font-size: 14pt;
    font-family: 'Times New Roman', 'Amiri', serif;
    line-height: 1.15;
    color: #2c3e50;
    text-align: justify;
    margin-bottom: 3mm;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.acknowledgments-signature {
    text-align: center;
    margin-top: 8mm;
    padding-top: 4mm;
    border-top: 2px solid #8b7355;
}

.acknowledgments-signature .signature-name {
    font-family: 'Aref Ruqaa', 'Amiri', serif;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 2mm;
}

.acknowledgments-signature .signature-title {
    font-size: 12px;
    color: #666;
    font-style: italic;
}
