/* ========================================
   Blog Category Hub – CSS
   ======================================== */
/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --color-primary: #0F172A;
    --color-accent: #2563EB;
    --color-accent-hover: #1D4ED8;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-border: #E5E7EB;
    --color-text: #334155;
    --color-text-light: #64748B;
    --color-text-muted: #94A3B8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --radius-lg: 12px;
}
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease;
}
img {
    max-width: 100%;
    display: block;
}
/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.navbar__left {
    display: flex;
    align-items: center;
    gap: 32px;
}
.navbar__logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}
.navbar__logo span {
    color: var(--color-accent);
}
.navbar__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.navbar__link:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}
.navbar__link--active {
    color: var(--color-accent);
    background: rgba(37, 99, 235, 0.06);
}
.navbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.navbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--color-text-light);
    transition: background 0.15s ease, color 0.15s ease;
}
.navbar__icon:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}
.navbar__link--updates {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    padding: 6px 14px;
    border: 1px solid var(--color-accent);
    border-radius: 6px;
}
.navbar__link--updates:hover {
    background: var(--color-accent);
    color: #fff;
}
.navbar__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 4px;
}
/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb-bar {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.breadcrumb a {
    color: var(--color-text-light);
}
.breadcrumb a:hover {
    color: var(--color-accent);
}
.breadcrumb__sep {
    color: var(--color-border);
}
.breadcrumb__current {
    color: var(--color-primary);
    font-weight: 500;
}
/* ========================================
   Hero
   ======================================== */
.hero {
    padding: 64px 0 56px;
    background: var(--color-bg);
}
.hero__content {
    max-width: 680px;
    margin-bottom: 40px;
}
.hero__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    background: rgba(37, 99, 235, 0.06);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.hero__description {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.7;
}
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stat-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}
.stat-card__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.stat-card__label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}
/* ========================================
   Sections
   ======================================== */
.section {
    padding: 56px 0;
}
.section--alt {
    background: var(--color-bg-alt);
}
.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.section__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}
.section__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
}
.section__link:hover {
    color: var(--color-accent-hover);
}
/* ========================================
   Featured Guides
   ======================================== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.featured-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.featured-card:hover {
    box-shadow: var(--shadow-lg);
}
.featured-card__image {
    position: relative;
    height: 180px;
    background: var(--color-bg-alt);
}
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-bg-alt);
}
.image-placeholder--sm {
    height: 100%;
}
.featured-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    background: var(--color-bg);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}
.featured-card__body {
    padding: 20px 24px 24px;
}
.featured-card__date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.featured-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 8px;
}
.featured-card__title a {
    color: inherit;
}
.featured-card__title a:hover {
    color: var(--color-accent);
}
.featured-card__excerpt {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}
/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.btn--primary {
    background: var(--color-accent);
    color: #fff;
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
}
/* ========================================
   Articles Grid
   ======================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.article-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.article-card:hover {
    box-shadow: var(--shadow-lg);
}
.article-card__image {
    height: 140px;
    background: #F1F5F9;
}
.article-card__body {
    padding: 16px 20px 20px;
}
.article-card__date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}
.article-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 8px;
}
.article-card__title a {
    color: inherit;
}
.article-card__title a:hover {
    color: var(--color-accent);
}
.article-card__excerpt {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}
.article-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
}
.article-card__link:hover {
    color: var(--color-accent-hover);
}
/* ========================================
   Trending
   ======================================== */
.trending-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.trending-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.trending-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #D1D5DB;
}
.trending-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 8px;
    flex-shrink: 0;
}
.trending-card__content {
    flex: 1;
    min-width: 0;
}
.trending-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2px;
}
.trending-card__meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.trending-card__arrow {
    color: var(--color-text-muted);
    flex-shrink: 0;
}
/* ========================================
   Topics
   ======================================== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.topic-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.topic-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.topic-card__label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
}
/* ========================================
   Restaurants
   ======================================== */
.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.restaurant-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 16px 24px;
    text-align: center;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.restaurant-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: #D1D5DB;
}
.restaurant-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}
.restaurant-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.35;
}
.restaurant-card__arrow {
    color: var(--color-text-muted);
}
/* ========================================
   Insight
   ======================================== */
.insight {
    max-width: 800px;
    margin: 0 auto;
}
.insight__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.insight__content p {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.75;
    margin-bottom: 16px;
}
.insight__content p:last-child {
    margin-bottom: 0;
}
/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.pagination__btn:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}
.pagination__btn--disabled {
    opacity: 0.4;
    pointer-events: none;
}
.pagination__pages {
    display: flex;
    gap: 4px;
}
.pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.pagination__page:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}
.pagination__page--active {
    background: var(--color-accent);
    color: #fff;
}
.pagination__page--active:hover {
    background: var(--color-accent-hover);
    color: #fff;
}
/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-primary);
    padding: 64px 0 32px;
    margin-top: 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
.footer__heading {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.footer__list {
    list-style: none;
}
.footer__list li {
    margin-bottom: 10px;
}
.footer__list a {
    font-size: 0.8125rem;
    color: #94A3B8;
    transition: color 0.15s ease;
}
.footer__list a:hover {
    color: #fff;
}
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}
.footer__bottom p {
    font-size: 0.8125rem;
    color: #64748B;
}
/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .restaurants-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .navbar__nav,
    .navbar__right {
        display: none;
    }
    .navbar__toggle {
        display: flex;
    }
    .hero__title {
        font-size: 1.75rem;
    }
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .restaurants-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section {
        padding: 40px 0;
    }
    .hero {
        padding: 40px 0 32px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero__title {
        font-size: 1.5rem;
    }
    .topics-grid {
        grid-template-columns: 1fr;
    }
    .restaurants-grid {
        grid-template-columns: 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr;
    }
    .pagination__btn {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }
}