/**
 * article-hub.css — FULL UPDATED VERSION
 * Layout-only CSS for the Articles Hub archive (archive-articles.php).
 * Hero, headings, grid background reused from article-category.css.
 * Card design is global in article-card.css.
 */

/* ==========================================================================
   CATEGORY TILES
   ========================================================================== */

.ah-categories-section {
    background: #ffffff;
    padding: 56px 0;
}

.ah-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ah-category-tile {
    display: block;
    background: #F2F8FF;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(0, 8, 20, 0.08);
    border-top: 4px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ah-category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 8, 20, 0.14);
}

.ah-category-tile.ah-accent-1 { border-top-color: #0066ff; }
.ah-category-tile.ah-accent-2 { border-top-color: #b02a37; }
.ah-category-tile.ah-accent-3 { border-top-color: #006b6b; }
.ah-category-tile.ah-accent-4 { border-top-color: #fcc50a; }

.ah-category-tile h3 {
    color: #0A0A0A !important;
    text-shadow: none !important;
    border-left: none !important;
    padding-left: 0 !important;
    font-size: 19px !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.ah-category-tile p {
    color: #6B7179;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ah-category-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #053A81;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ==========================================================================
   FEATURED SECTION — updated
   ========================================================================== */

.ah-featured-section {
    padding-bottom: 16px;
}

.ah-featured-section .ac-grid.ah-featured-grid {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991px) {
    .ah-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {
    .ah-categories-section {
        padding: 36px 0;
    }

    .ah-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
