html {
    scroll-behavior: smooth;
}

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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d64545;
    --accent-color: #e8a87c;
    --dark-text: #2a2a2a;
    --light-text: #8a8a8a;
    --border-color: #f0f0f0;
    --light-bg: #fafafa;
    --white: #ffffff;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-serif: 'Georgia', 'Garamond', serif;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============ HEADER ============ */
header {
    background-color: var(--white);
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    padding: 1.5rem 0;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    width: 320px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 1.2px;
}

.header-search {
    display: flex;
    gap: 0.5rem;
}

.header-search input {
    padding: 0.65rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    font-size: 0.9rem;
    font-family: var(--font-family);
    background-color: #fafafa;
    transition: all 0.2s ease;
    width: 300px;
}

.header-search input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--white);
}

.header-search button {
    padding: 0.65rem 1.2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover {
    background-color: #c23d3d;
    transform: translateY(-1px);
}

/* ============ NAVIGATION DESKTOP ============ */
.main-nav-desktop {
    background-color: var(--white);
    border-bottom: 1px solid #f0f0f0;
}

.main-nav-desktop .nav-menu {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: center;
}

.main-nav-desktop .nav-menu li {
    position: relative;
}

.main-nav-desktop .nav-menu a {
    display: block;
    padding: 0.9rem 1.3rem;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.main-nav-desktop .nav-menu a:hover {
    color: #c23d3d;
    border-bottom-color: #c23d3d;
}

.main-nav-desktop .nav-menu a.active {
    color: #c23d3d;
    border-bottom-color: #c23d3d;
}

/* ============ NAVIGATION MOBILE ============ */
.header-mobile {
    display: none;
    background-color: var(--white);
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.2rem;
}

.mobile-logo img {
    width: 200px;
    height: auto;
}

.nav-toggle-mobile {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-icon-mobile {
    width: 24px;
    height: 2px;
    background-color: var(--dark-text);
    display: block;
    transition: all 0.3s ease;
    position: relative;
    margin: 8px 0;
}

.hamburger-icon-mobile::before,
.hamburger-icon-mobile::after {
    content: '';
    width: 24px;
    height: 2px;
    background-color: var(--dark-text);
    display: block;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger-icon-mobile::before {
    top: -8px;
}

.hamburger-icon-mobile::after {
    bottom: -8px;
}

.nav-toggle-mobile[aria-expanded="true"] .hamburger-icon-mobile {
    background-color: transparent;
}

.nav-toggle-mobile[aria-expanded="true"] .hamburger-icon-mobile::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle-mobile[aria-expanded="true"] .hamburger-icon-mobile::after {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: var(--white);
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

.mobile-nav.active {
    max-height: calc(100vh - 65px);
    overflow-y: auto;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background-color: #fafafa;
    color: var(--secondary-color);
}

/* ============ MAIN CONTENT ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ RESPONSIVE TABLES ============ */
.table-responsive {
    overflow-x: auto;
    display: block;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    width: 100%;
}

@media (max-width: 768px) {
    .table-responsive {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ============ SEARCH TOGGLE BUTTON ============ */
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.9rem 1.3rem;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.search-toggle:hover {
    color: #c23d3d;
    border-bottom-color: #c23d3d;
}

.search-toggle[aria-expanded="true"] {
    color: #c23d3d;
}

/* ============ NAV SOCIAL LINK ============ */
.main-nav-desktop .nav-menu .nav-social-link {
    display: flex;
    align-items: center;
    padding: 0.9rem 0.6rem;
    color: var(--dark-text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}
.main-nav-desktop .nav-menu .nav-social-link:hover {
    color: #1877F2;
    border-bottom-color: #1877F2;
}

/* ============ SEARCH OVERLAY ============ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.25s ease;
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: all;
    background: rgba(0, 0, 0, 0.6);
}

.search-overlay-inner {
    padding: 1rem 1.5rem;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.search-overlay-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.search-overlay-icon {
    color: #999;
    flex-shrink: 0;
}

.search-overlay-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--dark-text);
    font-family: var(--font-family);
    background: transparent;
}

.search-overlay-input::placeholder {
    color: #bbb;
}

.search-overlay-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.search-overlay-close:hover {
    color: var(--dark-text);
}

.search-overlay-hint {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-align: center;
}

.search-overlay-results {
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #fafafa;
}

.search-result-thumb {
    width: 72px;
    height: 54px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f0f0;
}

.search-result-body {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.2rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    font-size: 0.75rem;
    color: #999;
}

.search-no-results {
    padding: 1.2rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Mobile search button */
.mobile-search-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-family);
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
}

.mobile-search-btn:hover {
    background-color: #fafafa;
    color: var(--secondary-color);
}

/* ============ FEATURED ARTICLE ============ */
.featured-section {
    margin: 2.5rem 0;
}

.featured-article {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: flex-end;
    color: var(--white);
}

.featured-article-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
}

.featured-article-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
}

.featured-article-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.featured-article h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.featured-article-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============ LATEST NEWS SECTION ============ */
.section-header {
    display: flex;
    align-items: center;
    margin: 3rem 0 2rem 0;
    gap: 1rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
    position: relative;
    padding-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.view-all {
    margin-left: auto;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.view-all:hover {
    color: #c23d3d;
}

/* ============ ARTICLES GRID ============ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.article-card {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    cursor: pointer;
    user-select: none;
}

.article-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #e5e5e5;
    transform: translateY(-2px);
}

.article-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.35rem 0.7rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    width: fit-content;
    letter-spacing: 0.4px;
}

.article-category.astuces {
    background-color: #EDB32C;
}

.article-category.equipements {
    background-color: #15D083;
}

.article-category.saviez-vous {
    background-color: #4338E9;
}

.article-category.recettes {
    background-color: #ED4C83;
}

.article-card h3 {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 0.6rem;
    line-height: 1.35;
    font-weight: 600;
}

.article-excerpt {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    flex: 1;
}

.article-meta {
    font-size: 0.75rem;
    color: var(--light-text);
    border-top: 1px solid #f5f5f5;
    padding-top: 0.8rem;
}

.article-date {
    display: inline-block;
    margin-right: 1rem;
}

.article-author {
    display: inline-block;
}

/* ============ TWO COLUMN SECTIONS ============ */
.two-column-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: stretch;
}

.large-article {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    cursor: pointer;
    user-select: none;
}

.large-article:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #e5e5e5;
}

.large-article-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.15);
}

.large-article-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.65) 100%);
    color: var(--white);
}

.large-article h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    line-height: 1.35;
    font-weight: 600;
}

.large-article p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.large-article .article-category {
    display: inline-block;
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-article {
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 1.2rem;
    display: flex;
    gap: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.sidebar-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-article:hover {
    transform: translateX(3px);
}

.sidebar-article-image {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.sidebar-article-content {
    flex: 1;
}

.sidebar-article h4 {
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    font-weight: 600;
}

.sidebar-article-meta {
    font-size: 0.75rem;
    color: var(--light-text);
}

/* ============ TOP ARTICLES MAGAZINE LAYOUT ============ */
.latest-articles {
    margin-top: 2.5rem;
}

.top-articles-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.featured-large {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.featured-large:hover {
    transform: translateY(-2px);
}

.featured-large:hover .featured-large-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
}

.featured-large-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.featured-large-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.8rem;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.65) 100%);
    transition: background 0.25s ease;
}

.featured-large h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    font-weight: 600;
}

.featured-large .article-category {
    display: inline-block;
}

.featured-large .article-meta {
    color: #d0d0d0;
    border: none;
    padding: 0;
    font-size: 0.75rem;
}

.featured-small-group {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.featured-small {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.featured-small:hover {
    transform: translateY(-2px);
}

.featured-small:hover .featured-small-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

.featured-small-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.featured-small-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.3rem;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
    transition: background 0.25s ease;
}

.featured-small h3 {
    font-size: 0.95rem;
    margin: 0.3rem 0 0 0;
    line-height: 1.3;
    font-weight: 600;
}

.featured-small .article-category {
    display: inline-block;
    font-size: 0.6rem;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 1.3rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top a:hover {
    background-color: #c23d3d;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 3px;
    color: var(--dark-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-link:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pagination-link.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    cursor: default;
}

.pagination-link.active:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.pagination-prev,
.pagination-next {
    min-width: auto;
    padding: 0 1rem;
}

.pagination-dots {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* ============ FOOTER ============ */
footer {
    background-color: #1f1f1f;
    color: #9a9a9a;
    padding: 1.54rem 1.5rem;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.95rem;
}

footer p {
    margin: 0;
}

footer a {
    color: #9a9a9a;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--white);
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {

    /* Cacher header desktop, afficher header mobile */
    .header-desktop {
        display: none;
    }

    .main-nav-desktop {
        display: none;
    }

    .header-mobile {
        display: block;
        box-shadow: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .latest-articles {
        margin-top: 1rem;
    }

    .featured-article {
        height: 250px;
    }

    .featured-article-content {
        padding: 1.5rem;
    }

    .featured-article h2 {
        font-size: 1.5rem;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .top-articles-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-large {
        min-height: 300px;
    }

    .featured-large h3 {
        font-size: 1.4rem;
    }

    .featured-small-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .featured-small {
        min-height: 150px;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 1rem 0.5rem;
    }

    .header-top {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .header-main {
        padding: 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo img {
        width: 200px;
    }

    .header-search {
        display: none;
    }

    .nav-toggle {
        right: 1rem;
    }

    .featured-article {
        height: 200px;
    }

    .featured-article-content {
        padding: 1rem;
    }

    .featured-article h2 {
        font-size: 1.2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}
