MediaWiki:Common.css: відмінності між версіями

Матеріал з Київський національний лінгвістичний університет
Перейти до навігації Перейти до пошуку
Немає опису редагування
Немає опису редагування
Рядок 1: Рядок 1:
/* Адаптивный заголовок страницы */
/* ── Заголовок сторінки ── */
#firstHeading {
#firstHeading {
     font-size: clamp(28px, 4vw, 48px);
     font-size: clamp(28px, 4vw, 48px);
}
}


/* Увеличить текст в боковом меню */
/* ── Бокове меню ── */
#mw-panel {
#mw-panel {
     font-size: clamp(14px, 1.2vw, 18px);
     font-size: clamp(14px, 1.2vw, 18px);
}
}


/* Обгортка для центрування та відступів */
/* ── Прибираємо обмеження Vector ── */
body.skin-vector-2022 .mw-page-container-inner,
body.skin-vector .mw-content-container,
body.skin-vector .vector-body,
body.skin-vector #bodyContent {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
 
body.skin-vector-2022 .mw-body,
body.skin-vector-2022 .mw-body-content {
    max-width: none !important;
    margin: 0 !important;
}
 
/* ════════════════════════════════════
  ПРИВІТАННЯ + СТАТИСТИКА
═══════════════════════════════════════ */
.welcome-wrapper {
.welcome-wrapper {
    width: 100%;
    padding: 40px 5vw 40px;
    background: none;
    box-sizing: border-box;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: space-between;
     justify-content: space-between;
     gap: 40px;
     gap: 40px;
    padding: 40px 5vw 40px;
    box-sizing: border-box;
    width: 100%;
}
}


Рядок 24: Рядок 41:
     flex: 1;
     flex: 1;
     text-align: center;
     text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
}


.welcome-subtitle {
.welcome-subtitle {
     font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     font-size: 1.45rem;
     font-size: 1.45rem;
     font-weight: 400;
     font-weight: 400;
Рядок 41: Рядок 54:


.welcome-title {
.welcome-title {
     font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     font-size: 2.45rem;
     font-size: 2.45rem;
     font-weight: 700;
     font-weight: 700;
Рядок 50: Рядок 63:
}
}


.welcome-title .highlight {
/* ── Панель статистики (справа від привітання) ── */
     color: #ffd700;
.stats-panel {
    width: 260px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,61,130,0.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    overflow: hidden;
}
 
.stats-panel-header {
    background: rgba(210, 230, 255, 0.35);
    color: #003d82;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0,61,130,0.1);
}
 
.stats-panel-list {
    padding: 4px 0;
}
 
.stats-panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(0,61,130,0.05);
    transition: background 0.2s;
}
 
.stats-panel-item:last-child {
    border-bottom: none;
}
 
.stats-panel-item:hover {
    background: rgba(210, 230, 255, 0.2);
}
 
.stats-panel-label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
     color: #555;
}
 
.stats-panel-number {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
     font-weight: 800;
     font-weight: 800;
    color: #003d82;
}
}


/* Заголовок "Категорії" */
/* ════════════════════════════════════
  ЗАГОЛОВОК КАТЕГОРІЙ
═══════════════════════════════════════ */
.section-categories {
.section-categories {
     font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     font-size: 2.1rem;
     font-size: 2.1rem;
     font-weight: 700;
     font-weight: 700;
Рядок 77: Рядок 142:
}
}


/* ── ГОЛОВНИЙ КОНТЕЙНЕР: категорії + випадкові статті ── */
/* ════════════════════════════════════
  ОСНОВНИЙ LAYOUT: категорії + права колонка
═══════════════════════════════════════ */
.main-content-layout {
.main-content-layout {
     display: flex;
     display: flex;
     gap: 24px;
     gap: 24px;
     align-items: flex-start;
     align-items: flex-start;
    padding: 0 5vw;
     margin: 0 0 70px;
     margin: 0 0 70px;
    padding: 0 5vw;
     box-sizing: border-box;
     box-sizing: border-box;
     width: 100%;
     width: 100%;
    overflow: hidden;
}
}


Рядок 94: Рядок 160:
     grid-template-columns: repeat(3, 1fr);
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
     gap: 20px;
    flex: 1;
    min-width: 0;
}
}


/* Перебиваємо обмеження Vector 2022 */
/* ── Права колонка ── */
body.skin-vector-2022 .mw-page-container-inner,
.right-column {
body.skin-vector .mw-content-container,
    width: 360px;
body.skin-vector .vector-body,
    min-width: 360px;
body.skin-vector #bodyContent {
    flex-shrink: 0;
     max-width: none !important;
    display: flex;
     padding-left: 0 !important;
     flex-direction: column;
     padding-right: 0 !important;
     gap: 20px;
     align-self: flex-start;
}
}


body.skin-vector-2022 .mw-body,
/* ════════════════════════════════════
body.skin-vector-2022 .mw-body-content {
  КАРТКИ КАТЕГОРІЙ
    max-width: none !important;
═══════════════════════════════════════ */
    margin: 0 !important;
    padding-right: 0 !important;
}
 
/* Картка */
.category-card {
.category-card {
     background: white;
     background: white;
Рядок 153: Рядок 217:
}
}


/* Назва категорії */
.card-title {
.card-title {
     font-size: 15px;
     font-size: 15px;
Рядок 180: Рядок 243:
}
}


/* ── ПАНЕЛЬ ВИПАДКОВИХ СТАТЕЙ ── */
/* ════════════════════════════════════
  ВИПАДКОВІ СТАТТІ
═══════════════════════════════════════ */
.random-articles-panel {
.random-articles-panel {
     background: white;
     background: white;
Рядок 198: Рядок 263:
     font-weight: 700;
     font-weight: 700;
     padding: 14px 18px;
     padding: 14px 18px;
    letter-spacing: 0.3px;
     border-bottom: 1px solid rgba(0,61,130,0.1);
    display: flex;
    align-items: center;
     border-bottom: 1px solid rgba(0, 61, 130, 0.1);
}
 
.random-articles-header::before {
    content: '';
}
}


Рядок 213: Рядок 271:
     flex-direction: column;
     flex-direction: column;
     gap: 12px;
     gap: 12px;
    flex: 1;
}
}


/* Картка статті */
.random-article-card {
.random-article-card {
     display: flex;
     display: flex;
Рядок 272: Рядок 328:
     overflow: hidden;
     overflow: hidden;
     display: -webkit-box;
     display: -webkit-box;
     -webkit-line-clamp: 4;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     -webkit-box-orient: vertical;
}
}
Рядок 283: Рядок 339:
     overflow: hidden;
     overflow: hidden;
     display: -webkit-box;
     display: -webkit-box;
     -webkit-line-clamp: 4;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     -webkit-box-orient: vertical;
}
}
Рядок 295: Рядок 351:
}
}


/* Кнопка оновити — прихована */
.random-articles-refresh {
.random-articles-refresh {
     display: none;
     display: none;
}
}


/* Адаптивність */
/* ════════════════════════════════════
@media (max-width: 1100px) {
  РЕСУРСИ ТА ПОСИЛАННЯ
    .main-content-layout {
═══════════════════════════════════════ */
        flex-direction: column;
    }
    .random-articles-panel {
        width: 100%;
        position: static;
    }
    .category-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
 
@media (max-width: 820px) {
    .category-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 520px) {
    .category-grid-container {
        grid-template-columns: 1fr;
    }
    .welcome-wrapper { padding: 40px 6vw 50px; }
    .welcome-subtitle { font-size: 1.25rem; }
    .welcome-title { font-size: 2rem; }
    .section-categories { font-size: 1.8rem; }
}
 
/* ── Ресурси та контакти ── */
.resources-and-contacts {
.resources-and-contacts {
     display: flex;
     display: flex;
Рядок 347: Рядок 374:
     border-radius: 14px;
     border-radius: 14px;
     padding: 28px 32px;
     padding: 28px 32px;
     box-shadow: 0 4px 12px rgba(0, 61, 130, 0.06);
     box-shadow: 0 4px 12px rgba(0,61,130,0.06);
     box-sizing: border-box;
     box-sizing: border-box;
     display: flex;
     display: flex;
Рядок 361: Рядок 388:
}
}


/* Заголовок — без верхньої смуги MediaWiki, по центру між верхом блоку і списком */
.resource-block h2,
.resource-block h2,
.contacts-block h2 {
.contacts-block h2 {
Рядок 368: Рядок 394:
     color: #003d82 !important;
     color: #003d82 !important;
     margin: 0 0 20px 0 !important;
     margin: 0 0 20px 0 !important;
     padding: 0 0 14px 0 !important;   /* відступ тільки знизу — від смуги до списку */
     padding: 0 0 14px 0 !important;
     border: none !important;
     border: none !important;
     border-bottom: 2px solid rgba(0, 61, 130, 0.12) !important; /* тонка лінія під заголовком */
     border-bottom: 2px solid rgba(0,61,130,0.12) !important;
     line-height: 1.3 !important;
     line-height: 1.3 !important;
}
}
Рядок 384: Рядок 410:
}
}


/* Маленька крапка перед кожним посиланням */
.resource-block li::before,
.resource-block li::before,
.contacts-block li::before {
.contacts-block li::before {
Рядок 408: Рядок 433:
}
}


@media (max-width: 900px) {
/* ════════════════════════════════════
     .resources-and-contacts {
  АДАПТИВНІСТЬ
═══════════════════════════════════════ */
@media (max-width: 1100px) {
     .welcome-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .stats-panel {
        width: 100%;
        max-width: 400px;
    }
    .main-content-layout {
         flex-direction: column;
         flex-direction: column;
        gap: 20px;
     }
     }
}
/* ── Правий стовпець: статистика + випадкові статті ── */
.main-content-layout > .random-articles-panel,
.main-content-layout > .stats-panel {
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
}
/* Обгортка правого стовпця — вертикальний flex */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
    align-self: flex-start;
}
/* ── Панель статистики ── */
.stats-panel {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,61,130,0.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    width: 260px;
    flex-shrink: 0;
}
.stats-panel-header {
    background: rgba(210, 230, 255, 0.35);
    color: #003d82;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 18px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(0, 61, 130, 0.1);
}
.stats-panel-list {
    padding: 8px 0;
}
.stats-panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(0, 61, 130, 0.05);
    transition: background 0.2s;
}
.stats-panel-item:last-child {
    border-bottom: none;
}
.stats-panel-item:hover {
    background: rgba(210, 230, 255, 0.15);
}
.stats-panel-label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #555;
}
.stats-panel-number {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #003d82;
}
@media (max-width: 1100px) {
     .right-column {
     .right-column {
         width: 100%;
         width: 100%;
Рядок 497: Рядок 454:
         flex-wrap: wrap;
         flex-wrap: wrap;
     }
     }
     .stats-panel,
     .category-grid-container {
    .random-articles-panel {
         grid-template-columns: repeat(3, 1fr);
         flex: 1;
        min-width: 280px;
     }
     }
}
}


/* ── Колонка категорій з заголовком ── */
@media (max-width: 820px) {
.category-column {
    .category-grid-container {
    flex: 1;
        grid-template-columns: repeat(2, 1fr);
    min-width: 0;
     }
    display: flex;
     flex-direction: column;
}
}


.category-column .section-categories {
@media (max-width: 520px) {
    text-align: center;
    .category-grid-container {
        grid-template-columns: 1fr;
    }
    .welcome-title { font-size: 2rem; }
    .welcome-subtitle { font-size: 1.25rem; }
    .section-categories { font-size: 1.8rem; }
}
}


.category-column .category-grid-container {
@media (max-width: 900px) {
    padding: 0;
    .resources-and-contacts {
    margin: 0;
        flex-direction: column;
        gap: 20px;
    }
}
}

Версія за 16:33, 15 лютого 2026

/* ── Заголовок сторінки ── */
#firstHeading {
    font-size: clamp(28px, 4vw, 48px);
}

/* ── Бокове меню ── */
#mw-panel {
    font-size: clamp(14px, 1.2vw, 18px);
}

/* ── Прибираємо обмеження Vector ── */
body.skin-vector-2022 .mw-page-container-inner,
body.skin-vector .mw-content-container,
body.skin-vector .vector-body,
body.skin-vector #bodyContent {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.skin-vector-2022 .mw-body,
body.skin-vector-2022 .mw-body-content {
    max-width: none !important;
    margin: 0 !important;
}

/* ════════════════════════════════════
   ПРИВІТАННЯ + СТАТИСТИКА
═══════════════════════════════════════ */
.welcome-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 5vw 40px;
    box-sizing: border-box;
    width: 100%;
}

.welcome-text {
    flex: 1;
    text-align: center;
}

.welcome-subtitle {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.45rem;
    font-weight: 400;
    color: #444;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
    opacity: 0.92;
}

.welcome-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.45rem;
    font-weight: 700;
    line-height: 1.18;
    color: #003d82;
    letter-spacing: -0.3px;
    margin: 0;
}

/* ── Панель статистики (справа від привітання) ── */
.stats-panel {
    width: 260px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,61,130,0.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    overflow: hidden;
}

.stats-panel-header {
    background: rgba(210, 230, 255, 0.35);
    color: #003d82;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0,61,130,0.1);
}

.stats-panel-list {
    padding: 4px 0;
}

.stats-panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(0,61,130,0.05);
    transition: background 0.2s;
}

.stats-panel-item:last-child {
    border-bottom: none;
}

.stats-panel-item:hover {
    background: rgba(210, 230, 255, 0.2);
}

.stats-panel-label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #555;
}

.stats-panel-number {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #003d82;
}

/* ════════════════════════════════════
   ЗАГОЛОВОК КАТЕГОРІЙ
═══════════════════════════════════════ */
.section-categories {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #003d82;
    text-align: center;
    margin: 0 0 40px;
    padding: 0;
    background: transparent;
}

.section-categories::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background: #ffd700;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ════════════════════════════════════
   ОСНОВНИЙ LAYOUT: категорії + права колонка
═══════════════════════════════════════ */
.main-content-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 0 5vw;
    margin: 0 0 70px;
    box-sizing: border-box;
    width: 100%;
}

/* ── Сітка карток — 3 в ряд ── */
.category-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
    min-width: 0;
}

/* ── Права колонка ── */
.right-column {
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
}

/* ════════════════════════════════════
   КАРТКИ КАТЕГОРІЙ
═══════════════════════════════════════ */
.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid rgba(0,61,130,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,61,130,0.18);
    border-color: rgba(0,61,130,0.15);
}

.card-image {
    padding: 28px 0 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.card-image img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.category-card:hover .card-image img {
    transform: scale(1.12);
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #003d82;
    text-align: center;
    padding: 8px 12px 12px;
    line-height: 1.4;
    flex-grow: 0;
    background: rgba(210, 230, 255, 0.15);
    border-radius: 10px;
    margin: 0 10px 14px;
}

.card-title pre {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    white-space: normal !important;
}

/* ════════════════════════════════════
   ВИПАДКОВІ СТАТТІ
═══════════════════════════════════════ */
.random-articles-panel {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,61,130,0.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.random-articles-header {
    background: rgba(210, 230, 255, 0.35);
    color: #003d82;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0,61,130,0.1);
}

#random-articles-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.random-article-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(210, 230, 255, 0.12);
    border: 1px solid rgba(0,61,130,0.07);
    text-decoration: none;
    color: inherit;
    transition: all 0.22s ease;
    align-items: flex-start;
}

.random-article-card:hover {
    background: rgba(210, 230, 255, 0.35);
    border-color: rgba(0,61,130,0.18);
    transform: translateX(3px);
    text-decoration: none;
}

.random-article-thumb {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eef2f8;
}

.random-article-thumb-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8eef7, #c8d8ee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.random-article-info {
    flex: 1;
    min-width: 0;
}

.random-article-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #003d82;
    margin-bottom: 6px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.random-article-excerpt {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.random-articles-loading {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 13px;
    font-family: system-ui, sans-serif;
}

.random-articles-refresh {
    display: none;
}

/* ════════════════════════════════════
   РЕСУРСИ ТА ПОСИЛАННЯ
═══════════════════════════════════════ */
.resources-and-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 30px 0 50px;
    align-items: stretch;
}

.resource-block,
.contacts-block {
    flex: 1;
    min-width: 300px;
    background: rgba(220, 235, 255, 0.18);
    border: 1px solid rgba(180, 210, 240, 0.5);
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 4px 12px rgba(0,61,130,0.06);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.resource-block ul,
.contacts-block ul {
    flex: 1;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.resource-block h2,
.contacts-block h2 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #003d82 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 0 14px 0 !important;
    border: none !important;
    border-bottom: 2px solid rgba(0,61,130,0.12) !important;
    line-height: 1.3 !important;
}

.resource-block li,
.contacts-block li {
    margin-bottom: 11px;
    line-height: 1.6;
    font-size: 1rem;
    color: #444;
    padding-left: 14px;
    position: relative;
}

.resource-block li::before,
.contacts-block li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #003d82;
    font-weight: 700;
    opacity: 0.5;
}

.resource-block li a,
.contacts-block li a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.2s;
}

.resource-block li a:hover,
.contacts-block li a:hover {
    color: #003d82;
    text-decoration: underline;
}

/* ════════════════════════════════════
   АДАПТИВНІСТЬ
═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .welcome-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .stats-panel {
        width: 100%;
        max-width: 400px;
    }
    .main-content-layout {
        flex-direction: column;
    }
    .right-column {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .category-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .category-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .category-grid-container {
        grid-template-columns: 1fr;
    }
    .welcome-title { font-size: 2rem; }
    .welcome-subtitle { font-size: 1.25rem; }
    .section-categories { font-size: 1.8rem; }
}

@media (max-width: 900px) {
    .resources-and-contacts {
        flex-direction: column;
        gap: 20px;
    }
}