/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: hidden; width: 100%; }

/* ── Layout ───────────────────────────────────────────────── */
.container { width: 100%; overflow-x: hidden; }

.content {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 3rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.content-left  {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 1;
    min-width: 0;   /* KEY: prevents flex/grid blowout */
    overflow: hidden;
}
.content-right {
    height: fit-content;
    order: 2;
    min-width: 0;
    overflow: hidden;
}

/* ── Slider ───────────────────────────────────────────────── */
.slider-section {
    border: none;
    padding: 0.75rem 0;
    background: transparent;
}

.slider-container {
    width: 80%;
    aspect-ratio: 16 / 6;
    height: auto;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f4f6;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
}
.slide.active { display: block; animation: fade 0.8s ease; }

.slide img,
.slide video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    color: #226c2a;
    padding: 0.5rem 0.65rem;
    border: none; cursor: pointer;
    font-size: 1.25rem; z-index: 2;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    transition: background .3s, transform .3s;
}
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.prev { left: 1rem; }
.next { right: 1rem; }

.dots-container {
    position: absolute;
    bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: .4rem; z-index: 2;
    padding: .35rem .55rem;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(6px);
}
.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(34,108,42,.25);
    cursor: pointer; border: none;
    transition: background .3s;
}
.dot.active, .dot:hover { background: #226c2a; }

@keyframes fade { from { opacity: .4; } to { opacity: 1; } }

/* ── News & Updates ───────────────────────────────────────── */
#news-events { scroll-margin-top: 120px; padding: 0; width: 100%; }

.news-section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}
.news-section-header h2 {
    font-size: 2.5rem; font-weight: 700;
    color: #111827; margin: 0 0 .5rem;
    letter-spacing: -.02em;
}

.news-list { display: flex; flex-direction: column; gap: 1rem; }

/* --- news-item: DESKTOP default = horizontal row --- */
.news-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    min-height: 130px;
    cursor: pointer;
    border-radius: 12px;
    transition: box-shadow .3s, border-color .3s;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 0.75rem;
}
.news-item:hover { 
    box-shadow: 0 4px 20px rgba(33,108,42,.15); 
    border-color: #bbf7d0; 
}

.news-item-image {
    position: relative;
    width: 180px;
    min-width: 180px;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 12px;
    border: 3px solid #2e8b3a;
    box-shadow: 0 4px 14px rgba(33,108,42,.18);
    transition: border-color .3s, box-shadow .3s;
}
.news-item:hover .news-item-image {
    border-color: #1a5c24;
    box-shadow: 0 6px 20px rgba(33,108,42,.30);
}
.news-item-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.news-item:hover .news-item-image img { transform: scale(1.05); }

.news-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.3) 0%, transparent 50%);
    opacity: 0; transition: opacity .3s;
}
.news-item:hover .news-item-overlay { opacity: 1; }

.news-item-content {
    flex: 1;
    display: flex; flex-direction: column;
    justify-content: space-between;
    padding: .5rem 0;
    min-width: 0;     /* KEY: prevents text overflow */
    overflow: hidden;
}

.news-item-meta {
    display: flex; align-items: center;
    flex-wrap: wrap; gap: .75rem;
    margin-bottom: .75rem;
}
.news-item-type {
    background: #ecfdf5; color: #216c2a;
    font-size: .75rem; font-weight: 600;
    padding: .35rem .75rem; border-radius: 6px;
    text-transform: uppercase; letter-spacing: .5px;
    white-space: nowrap;
}
.news-item-date { color: #9ca3af; font-size: .85rem; font-weight: 500; }

.news-item-title {
    font-size: 1.25rem; font-weight: 700;
    color: #111827; margin: 0 0 .75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
    word-break: break-word;
}
.news-item:hover .news-item-title { color: #216c2a; }

.news-item-excerpt {
    color: #6b7280; font-size: .95rem;
    line-height: 1.6; margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.news-item-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap; gap: .5rem;
}
.news-item-author {
    color: #9ca3af; font-size: .85rem;
    display: flex; align-items: center; gap: .4rem;
}
.news-item-author i { font-size: .75rem; }
.news-item-read-more {
    color: #216c2a; font-size: .9rem; font-weight: 600;
    display: flex; align-items: center; gap: .4rem;
    transition: gap .3s;
}
.news-item:hover .news-item-read-more { gap: .7rem; }
.news-item-read-more i { font-size: .75rem; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
    display: flex; justify-content: space-between;
    align-items: center; gap: 1rem;
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid #f3f4f6; flex-wrap: wrap;
}
.pagination-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.25rem;
    background: #fff; color: #216c2a;
    text-decoration: none; border: 1px solid #e5e7eb;
    border-radius: 8px; font-weight: 600; font-size: .9rem;
    transition: all .2s;
}
.pagination-btn:hover {
    background: #f0fdf4; border-color: #bbf7d0;
    transform: translateY(-1px);
}

/* ── Sidebar ──────────────────────────────────────────────── */
#standalone { scroll-margin-top: 85px; }
#newsletter { scroll-margin-top: 120px; }
#database   { scroll-margin-top: 60px; }

.resource-card {
    background: #ffffff; border: 1px solid #e5e7eb;
    border-radius: 12px; padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow .3s, transform .2s;
}
.resource-card:hover { box-shadow: 0 4px 12px rgba(33,108,42,.08); }

.resource-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem; padding-bottom: .75rem;
    border-bottom: 2px solid #f3f4f6;
}
.resource-logo { width: 50px; height: 50px; margin-right: .75rem; flex-shrink: 0; }
.resource-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.resource-card-header h3 {
    font-size: 1.1rem; font-weight: 700; color: #111827;
    margin: 0; letter-spacing: .02em;
}
.resource-card-header i { color: #216c2a; font-size: 1.2rem; }
.info-link { color: #6b7280; font-size: 1.1rem; transition: color .2s; text-decoration: none; }
.info-link:hover { color: #216c2a; }

.search-form { display: flex; flex-direction: column; gap: .75rem; }
.search-input-wrapper { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 1rem; color: #9ca3af; font-size: .9rem; }
.search-input {
    width: 100%;
    padding: .75rem 1rem .75rem 2.75rem;
    font-size: .9rem; border: 1px solid #d1d5db;
    border-radius: 8px; outline: none;
    transition: all .2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.search-input::placeholder { color: #9ca3af; }
.search-input:focus { border-color: #216c2a; box-shadow: 0 0 0 3px rgba(33,108,42,.1); }
.search-btn {
    padding: .75rem 1.5rem;
    font-size: .9rem; font-weight: 600;
    color: #fff; background: #216c2a;
    border: none; border-radius: 8px; cursor: pointer;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.search-btn:hover { background: #1a5522; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(33,108,42,.2); }
.search-btn i { font-size: .85rem; }

.resource-card-link { display: block; width: 100%; }
.resource-card-image {
    width: 100%; height: 120px; object-fit: contain; display: block;
    border-radius: 8px; transition: opacity .3s;
}
.resource-card-image:hover { opacity: .85; }

.newsletter-list { display: flex; flex-direction: column; gap: .5rem; }
.newsletter-item {
    display: flex; align-items: center; gap: .75rem;
    padding: .75rem;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 8px; text-decoration: none; color: #374151;
    transition: all .2s;
}
.newsletter-item:hover { background: #f3f4f6; border-color: #216c2a; transform: translateX(4px); }
.newsletter-item i:first-child { color: #216c2a; font-size: 1rem; }
.newsletter-item span { flex: 1; font-size: .9rem; font-weight: 500; color: #111827; }
.newsletter-item i:last-child { color: #9ca3af; font-size: .8rem; }

.journal-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 8px; text-decoration: none; transition: all .2s;
}
.journal-link:hover { background: #f3f4f6; border-color: #216c2a; box-shadow: 0 2px 8px rgba(33,108,42,.1); }
.journal-content { display: flex; align-items: center; gap: 1rem; }
.journal-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.journal-info { display: flex; flex-direction: column; gap: .25rem; }
.journal-title { font-size: .95rem; font-weight: 600; color: #111827; }
.journal-subtitle { font-size: .8rem; color: #6b7280; }
.journal-link i:last-child { color: #9ca3af; font-size: .9rem; }
.journal-link:hover i:last-child { color: #216c2a; }

/* ── Online Databases ─────────────────────────────────────── */
.online-resources {
    background: transparent; padding: 1.5rem 0 0;
    border-radius: 0; margin-top: 1.5rem;
}
.online-resources h2,
.news-section-header h2,
#standalone h2 {
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 700; color: #111827;
    margin-bottom: 1rem; letter-spacing: -.02em;
}
.database-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem; margin-top: 1rem;
}
.database-card {
    display: flex; flex-direction: column;
    background: #ffffff; border: 1px solid #d1d5db;
    border-radius: 8px; padding: 1.25rem;
    text-decoration: none; transition: all .3s;
    min-height: 140px; align-items: center; justify-content: center; gap: 1rem;
}
.database-card:hover { border-color: #216c2a; box-shadow: 0 4px 12px rgba(33,108,42,.12); transform: translateY(-2px); }
.database-logo {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.database-logo img { width: 100%; height: 100%; object-fit: contain; }
.database-name { font-size: .85rem; font-weight: 600; color: #374151; text-align: center; line-height: 1.3; }
.database-card:hover .database-name { color: #216c2a; }

/* ── Messenger Float ──────────────────────────────────────── */
.messenger-float {
    position: fixed; right: 22px; bottom: 88px; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 8px; cursor: pointer; background: transparent;
    border: 1px solid rgba(33,108,42,.2); border-radius: 50%;
    transition: border-color .2s, box-shadow .2s;
}
.messenger-float:hover { border-color: #216c2a; box-shadow: 0 2px 14px rgba(33,108,42,.15); }
.messenger-float img { display: block; width: 60px; height: 60px; object-fit: contain; background: transparent; mix-blend-mode: multiply; }
.messenger-tooltip {
    visibility: hidden; opacity: 0;
    width: 220px; max-width: calc(100vw - 120px);
    background: #fff; color: #6b7280;
    text-align: left; border-radius: 6px; padding: 10px 14px;
    position: absolute; right: 100%; margin-right: 12px; bottom: 50%;
    transform: translateY(50%);
    font-size: .85rem; line-height: 1.45;
    border: 1px solid #e5e7eb; box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: opacity .2s, visibility .2s; pointer-events: none;
}
.messenger-float:hover .messenger-tooltip { visibility: visible; opacity: 1; }

/* ── Modals ───────────────────────────────────────────────── */
.opac-modal {
    display: none; position: fixed; z-index: 99999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    overflow: auto; background: rgba(44,62,80,.45);
}
.opac-modal-content {
    background: #fff; margin: 4% auto; padding: 32px 24px;
    border-radius: 12px; max-width: 720px; width: 92%;
    box-shadow: 0 4px 24px rgba(0,0,0,.18);
    position: relative; text-align: left;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.opac-modal-close {
    position: absolute; top: 18px; right: 24px;
    font-size: 2rem; color: #888; cursor: pointer;
    font-weight: bold; background: none; border: none; transition: color .2s;
}
.opac-modal-close:hover { color: #226c2a; }
.opac-image { width: 100%; max-width: 400px; display: block; margin: 0 auto 18px; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.opac-modal-content h2 { text-align: center; color: #2c3e50; margin-bottom: 12px; font-size: 1.4rem; letter-spacing: 1px; }
.opac-modal-content .description { text-align: justify; color: #444; font-size: 1rem; line-height: 1.7; margin-bottom: 18px; }
.opac-modal-content .credits { text-align: center; font-size: .98rem; color: #888; margin-top: 18px; border-top: 1px solid #e0e0e0; padding-top: 10px; }

.access-modal {
    display: none; position: fixed; z-index: 10000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.6); animation: fadeIn .3s;
}
.access-modal-content {
    background: #fff; margin: 10% auto; padding: 30px;
    border-radius: 12px; width: 90%; max-width: 450px;
    text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.3);
    animation: slideDown .3s; position: relative;
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.access-modal-close {
    color: #aaa; position: absolute; right: 15px; top: 10px;
    font-size: 28px; font-weight: bold; cursor: pointer; line-height: 20px; background: none; border: none;
}
.access-modal-close:hover { color: #000; }
.access-modal-icon { font-size: 4rem; color: #216c2a; margin-bottom: 1rem; }
.access-modal-content h2 { color: #216c2a; margin-bottom: 1rem; font-size: 1.5rem; }
.access-modal-content p { color: #555; font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.6; }
.access-modal-btn { background: #216c2a; color: white; border: none; padding: 12px 40px; font-size: 1rem; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background .3s; }
.access-modal-btn:hover { background: #1a5622; }

/* ── Map ──────────────────────────────────────────────────── */
.map-wrapper { width: 100%; display: flex; justify-content: center; margin-bottom: 0; overflow: hidden; }

/* ── Standalone cards ─────────────────────────────────────── */
.standalone-card {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 1.2rem; background: #fff; border-radius: 12px;
    box-shadow: 0 2px 10px rgba(33,108,42,.08), 0 1.5px 4px rgba(99,99,99,.4);
    padding: 1.2rem 1.5rem; text-decoration: none;
    transition: box-shadow .2s, transform .2s; border: 1px solid #e3f2fd;
}
.standalone-title { font-size: 1.25rem; font-weight: 600; color: #226c2a; letter-spacing: .5px; }

/* ============================================================
   RESPONSIVE — mobile-first overrides
   ============================================================ */

@media screen and (max-width: 1200px) {
    .content { 
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 2rem; 
        padding: 1.5rem; 
    }
    .news-item-image { width: 180px; min-width: 180px; height: 140px; }
    .database-grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 992px) {
    .content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.25rem;
    }
    .content-left  { order: 1; width: 100%; }
    .content-right { order: 2; width: 100%; }
    .slider-container { width: 100%; aspect-ratio: 16 / 7; }
    .news-section-header h2 { font-size: 1.75rem; }
    .database-grid { grid-template-columns: repeat(4, 1fr); gap: .875rem; }
    .news-item-image { width: 200px; min-width: 200px; height: 150px; }
}

/* ── KEY MOBILE FIX: 768px and below ─────────────────────── */
@media screen and (max-width: 768px) {
    .content { padding: 0.75rem; gap: 1.5rem; }

    /* Slider */
    .slider-container { width: 100%; aspect-ratio: 16 / 9; }
    .slider-btn { padding: .45rem .55rem; font-size: 1.05rem; }
    .dot { width: 7px; height: 7px; }

    /* News section header */
    .news-section-header h2 { font-size: 1.5rem; }
    .news-list { gap: 1rem; }

    /* ── The main fix: stack news items vertically ── */
    .news-item {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        min-height: auto !important;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        padding: 0 !important;
        margin-bottom: 0;
    }

    .news-item-image {
        width: 100% !important;
        min-width: 100% !important;
        height: 200px !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 3px solid #2e8b3a !important;
        box-shadow: none !important;
        flex-shrink: 0;
    }

    .news-item-content {
        width: 100% !important;
        min-width: 0 !important;
        padding: 1rem !important;
        flex: unset !important;
    }

    .news-item-title  { font-size: 1.1rem; }
    .news-item-excerpt { font-size: .9rem; }

    .news-item-footer {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    /* Pagination */
    .pagination { flex-direction: column; gap: .75rem; }
    .pagination-btn { width: 100%; justify-content: center; }

    /* Sidebar */
    .resource-card { padding: 1.25rem; margin-bottom: 1.25rem; }
    .resource-card-header h3 { font-size: 1rem; }

    /* Database */
    .database-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
    .database-card { padding: 1rem; min-height: 120px; gap: .75rem; }
    .database-logo { width: 60px; height: 60px; }
    .database-name { font-size: .8rem; }

    /* Messenger */
    .messenger-float { right: 12px; bottom: 72px; padding: 6px; }
    .messenger-float img { width: 48px; height: 48px; }
    .messenger-tooltip { right: 100%; margin-right: 10px; width: 180px; font-size: .8rem; }

    /* Modals */
    .opac-modal-content { padding: 24px 16px; width: 95%; }
    .access-modal-content { margin: 15% auto; padding: 24px; }
    .access-modal-icon { font-size: 3rem; }
    .access-modal-content h2 { font-size: 1.3rem; }
    .access-modal-content p { font-size: 1rem; }

    .journal-logo { width: 40px; height: 40px; }
}

@media screen and (max-width: 640px) {
    .content { padding: .75rem; }
    .news-section-header { margin-bottom: 1.25rem; }
    .news-section-header h2 { font-size: 1.35rem; }
    .news-item-image { height: 180px !important; }
    .news-item-content { padding: .875rem !important; }
    .news-item-title { font-size: 1rem; }
    .news-item-excerpt { font-size: .875rem; }
    .database-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .database-card { padding: .875rem; min-height: 110px; }
    .database-logo { width: 52px; height: 52px; }
    .database-name { font-size: .78rem; }
    .resource-card { padding: 1rem; }
    .resource-card-header { margin-bottom: .75rem; }
    .search-input { padding: .65rem 1rem .65rem 2.5rem; font-size: .85rem; }
    .search-btn { padding: .65rem 1.25rem; font-size: .85rem; }
    .newsletter-item { padding: .65rem; }
    .newsletter-item span { font-size: .85rem; }
    .journal-title { font-size: .9rem; }
    .standalone-card { padding: 1rem; }
    .standalone-title { font-size: 1.1rem; }
}

@media screen and (max-width: 480px) {
    .content { padding: .5rem; }
    .slider-btn { padding: .4rem .5rem; font-size: .95rem; }
    .slider-container { aspect-ratio: 4 / 3; }
    .news-item-image { height: 160px !important; }
    .news-item-content { padding: .75rem !important; }
    .news-item-title { font-size: .95rem; }
    .news-item-meta { gap: .5rem; }
    .news-item-type { font-size: .7rem; padding: .25rem .6rem; }
    .news-item-date { font-size: .8rem; }
    .news-item-read-more { font-size: .85rem; }
    .news-item-author { font-size: .8rem; }
    .database-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .database-card { padding: .75rem; min-height: 100px; }
    .database-logo { width: 44px; height: 44px; }
    .database-name { font-size: .75rem; }
    .pagination-btn { padding: .65rem 1rem; font-size: .85rem; }
    .resource-card { padding: .875rem; margin-bottom: 1rem; }
    .opac-modal-content { padding: 20px 14px; }
    .opac-modal-content h2 { font-size: 1.1rem; }
    .access-modal-content { margin: 20% auto; padding: 20px; }
    .messenger-float { right: 8px; bottom: 60px; }
    .messenger-tooltip { display: none; }
}

@media screen and (max-width: 380px) {
    .slider-section { margin-top: 10px; }
    .slider-container { aspect-ratio: 1 / 1; }
    .news-item-image { height: 140px !important; }
    .news-section-header h2 { font-size: 1.2rem; }
    .database-grid { gap: .5rem; }
    .database-card { padding: .625rem; min-height: 90px; }
    .database-logo { width: 38px; height: 38px; }
    .database-name { font-size: .7rem; }
    .newsletter-item { gap: .5rem; padding: .5rem; }
    .search-input { font-size: .8rem; }
    .search-btn { padding: .6rem 1rem; font-size: .8rem; }
}

/* ── Accessibility ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; transform: none !important; }
}
@media (prefers-contrast: high) {
    .news-item { border: 2px solid #000; }
    .database-card { border: 2px solid #000; }
    .pagination-btn { border: 2px solid #000; }
}
