/**
 * XPERTREVIEWS Homepage Styles
 * Based on Figma design specifications
 */

/* ============================================
   FONT IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES - COLOR PALETTE
   ============================================ */
:root {
    /* Colors from Figma */
    --color-black: #121213;
    --color-white: #FFFFFF;
    --color-orange: #FFAC33;
    --color-dark-gray: #28282B;
    --color-light-gray: #D9D9D9;
    --color-bg-light: #EDEDF3;
    --color-gray: #797979;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-width: 100%;
    --container-padding: 0;
}

/* ============================================
   RESET & BASE
   ============================================ */
.xpertreviews-homepage {
    font-family: var(--font-family);
    background-color: var(--color-bg-light);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Rimuovi tutti i margini e padding del body e container WordPress */
body.home,
body.home .site-content,
body.home .site-main,
body.home .content-area {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Nascondi TUTTO l'header di GeneratePress sulla homepage */
body.home .site-header,
body.home .top-bar,
body.home .navigation-stick,
body.home .site-branding,
body.home .main-navigation,
body.home .site-header-inner,
body.home .inside-header,
body.home .header-widget,
body.home .header-aligned-center,
body.home .header-aligned-left,
body.home .header-aligned-right,
body.home header[role="banner"],
body.home .generate-page-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Rimuovi tutti i margini e padding sopra l'header */
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home .page,
body.home .site-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Rimuovi anche eventuali elementi prima del body */
body.home::before,
body.home .site-header::before,
body.home .top-bar::before {
    display: none !important;
    content: none !important;
}

/* Nascondi COMPLETAMENTE footer di GeneratePress sulla homepage */
body.home .site-footer,
body.home .footer-widgets-container,
body.home .site-info,
body.home .inside-footer-widgets,
body.home footer[role="contentinfo"],
body.home .site-footer-inner,
body.home .footer-widgets,
body.home .inside-site-info,
body.home .footer-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Assicura che il nostro header sia il primo elemento */
.xpertreviews-homepage {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
}

.xpert-header {
    position: relative;
    z-index: 1000;
    margin-top: 0 !important;
    padding-top: 17px;
    padding-bottom: 17px;
    /* Forza l'header in cima */
    order: -1;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.xpert-header {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-dark-gray); /* Striscia nera */
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1000;
    /* Assicura che sia il primo elemento */
    margin-top: 0 !important;
    padding-top: 17px;
    padding-bottom: 17px;
}

.xpert-header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 94px;
    align-items: center;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 200px;
    height: 73px;
    box-sizing: border-box;
}

/* Logo */
.xpert-logo {
    width: auto;
    height: 32.44px;
    min-width: 96.25px;
}

.xpert-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-family);
}

.header-logo-image {
    max-height: 32.44px;
    width: auto;
    object-fit: contain;
}

.logo-xpert {
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px;
}

.logo-reviews {
    color: var(--color-orange);
    font-weight: 600;
    background-color: var(--color-black);
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 4px;
    font-size: 16px;
    display: inline-block;
}

/* Navigation */
.xpert-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 500; /* Medium */
    line-height: 20px;
    letter-spacing: 0%;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    white-space: nowrap; /* Forza su una sola riga */
}

.nav-link:hover {
    opacity: 0.8;
}

/* Yellow Banner */
.xpert-banner {
    width: 587px;
    height: 20px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700; /* Bold */
    line-height: 19px;
    letter-spacing: 0%;
    color: var(--color-orange);
    text-transform: uppercase;
}

/* Dark Bar è già l'header stesso, rimosso ::before */

/* ============================================
   INTRO SECTION (White/Gray: Text + Categories)
   ============================================ */
.xpert-intro-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.xpert-text-container {
    width: 100%;
    max-width: 1300px;
    height: 103px;
    margin: 0 auto;
    padding: 20px 200px;
    box-sizing: border-box;
}

.xpert-categories-container {
    width: 100%;
    max-width: 1285px;
    height: 122px;
    margin: 0 auto;
    padding: 0 200px 20px 200px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
}

.view-all-link {
    margin-left: auto;
    font-family: var(--font-family);
    color: var(--color-black);
    text-decoration: none;
}

/* ============================================
   DARK BAR SECTIONS (Riutilizzabile per tutte le sezioni)
   ============================================ */
.xpert-category-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-dark-gray);
    box-sizing: border-box;
}

.xpert-category-section-header {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 200px;
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.xpert-category-section-header .category-page-btn {
    position: absolute;
    right: 200px;
}

/* Cards container per tutte le sezioni categoria */
.xpert-category-cards {
    width: 100%;
    padding: 40px 0;
    box-sizing: border-box;
    background-color: var(--color-bg-light);
}

.xpert-category-cards .xpert-top10-container {
    width: 100%;
    max-width: 1688px;
    margin: 0 auto;
    padding: 0 200px;
    box-sizing: border-box;
}

/* Assicura che "NEW PORN SITES OF 2026" sia su una riga */
.section-title {
    white-space: nowrap;
}

.section-title {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 0;
}

.category-page-btn {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 500;
    line-height: 23px;
    color: var(--color-white);
    text-decoration: none;
    padding: 14px 24px;
    background-color: transparent;
    border: 1px solid var(--color-white);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.category-page-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   TOP 10 CARDS SECTION (1688x518.92)
   ============================================ */
.xpert-top10-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 0;
    box-sizing: border-box;
    background-color: var(--color-bg-light);
}

.xpert-top10-container {
    width: 100%;
    max-width: 1688px;
    height: 518.92px;
    margin: 0 auto;
    padding: 0 200px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    box-sizing: border-box;
}

.xpert-top10-card {
    width: 268px;
    height: 518.19px;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Link cliccabile per l'immagine della card */
.card-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.card-image-link:hover {
    opacity: 0.9;
}

.card-image-link:focus {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.card-image-link:hover .card-image {
    transform: scale(1.05);
}

.top10-card-image {
    width: 268px;
    height: 356px;
    object-fit: cover;
    position: relative;
}

.top10-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 112px;
    height: 38px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.top10-badge-text {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-black);
    width: 54px;
    height: 25px;
}

.top10-card-content {
    padding: 20px;
    width: 245px;
    height: 117px;
}

.top10-card-title {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 8px 0;
}

.top10-card-description {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   BEST SITE OF THE MONTH SECTION
   ============================================ */
.xpert-best-site-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 0;
    box-sizing: border-box;
    background-color: var(--color-bg-light);
}

.xpert-best-site-container {
    width: 100%;
    max-width: 1700px;
    height: 534px;
    margin: 0 auto;
    padding: 0 200px;
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.best-site-image {
    width: 100%;
    height: 534px;
    object-fit: cover;
    border-radius: 8px;
}

.best-site-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    box-sizing: border-box;
}

.best-site-rating {
    width: 248.98px;
    height: 34.98px;
    /* Rating styles will be added */
}

.best-site-text-container {
    width: 790.22px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.best-site-title {
    font-family: var(--font-family);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.see-more-btn {
    width: 388.92px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-orange);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.see-more-btn:hover {
    background-color: #e6991f;
}

.best-site-brand {
    width: 248.96px;
    height: 47px;
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    text-align: right;
    align-self: flex-end;
}

/* ============================================
   BEST AI SECTION - RIMOSSA (ora usa xpert-category-section)
   ============================================ */

/* xpert-best-ai-cards rimosso - ora usa xpert-category-cards */

/* ============================================
   CATEGORIES GRID SECTION (Circular Images)
   ============================================ */
.xpert-categories-grid-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--color-bg-light);
}

.xpert-categories-grid-header {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 200px;
    background-color: var(--color-dark-gray);
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.xpert-categories-grid-header .section-title {
    color: var(--color-orange);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.xpert-categories-grid-container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 40px 200px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(189.5px, 1fr));
    gap: 20px;
    justify-items: center;
    box-sizing: border-box;
}

.xpert-categories-grid-button {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 40px 200px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.all-categories-btn {
    background-color: var(--color-orange);
    color: var(--color-black);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 48px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.all-categories-btn:hover {
    background-color: #e6991f;
}

.category-grid-item {
    width: 189.5px;
    height: 248.59px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.category-grid-image {
    width: 189.5px;
    height: 189.5px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.category-grid-name {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    text-align: center;
}

/* ============================================
   CATEGORY TEXT SECTION (H2, H3, H4, Paragraphs)
   ============================================ */
.xpert-category-text-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.xpert-category-text-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 200px;
    box-sizing: border-box;
}

.xpert-category-text-container h2 {
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.xpert-category-text-container h3 {
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-black);
    margin: 32px 0 16px 0;
    line-height: 1.4;
}

.xpert-category-text-container h4 {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    margin: 24px 0 12px 0;
    line-height: 1.4;
}

.xpert-category-text-container p {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.8;
    margin: 0 0 16px 0;
}

.xpert-category-text-container ul,
.xpert-category-text-container ol {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.xpert-category-text-container li {
    margin-bottom: 8px;
}

/* ============================================
   FOOTER SECTION - UNICO FOOTER
   ============================================ */
.xpert-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-dark-gray);
    box-sizing: border-box;
    height: 550px;
    min-height: 550px;
    position: relative;
    z-index: 100;
    overflow: visible;
}

.xpert-footer-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    background-color: var(--color-dark-gray);
    min-height: 550px;
    justify-content: space-between;
}

/* Top Row: Logo + RTA */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 120px;
    position: relative;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo a {
    display: block;
    text-decoration: none;
}

.footer-logo .logo-line1 {
    color: var(--color-white);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
}

/* RTA Box */
.footer-rta {
    flex: 0 0 auto;
}

.rta-box {
    border: 2px solid var(--color-white);
    background-color: var(--color-black);
    padding: 12px 20px;
    text-align: center;
}

.rta-text {
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
}

.rta-subtext {
    font-family: var(--font-family);
    font-size: 10px;
    font-weight: 400;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Disclaimer Text - Centered */

.footer-disclaimer {
    font-family: var(--font-family);
    font-size: 12px;
    color: var(--color-white);
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: -60px auto 0 auto;
    position: relative;
    z-index: 10;
}

.footer-disclaimer p {
    margin: 0 0 12px 0;
}

.footer-sitemap {
    text-align: center;
    margin: -40px 0 10px 0;
}

.sitemap-link {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--color-white);
    text-decoration: underline;
    font-weight: 400;
}

.sitemap-link:hover {
    color: var(--color-orange);
}

/* Navigation Buttons */
.footer-nav-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.footer-nav-btn {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    background-color: var(--color-orange);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-nav-btn:hover {
    opacity: 0.9;
}

/* Last Post Update */
.footer-last-update {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--color-white);
    text-align: center;
    margin: 5px 0;
}

/* Statistics Buttons */
.footer-stats-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer-stat-btn {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    background-color: var(--color-orange);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================ */

/* ============================================
   MOBILE PORTRAIT (320px - 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Header */
    .xpert-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
    .xpert-header-container,
    .xpert-text-container,
    .xpert-categories-container,
    .xpert-category-section-header,
    .xpert-top10-container,
    .xpert-best-site-container,
    .xpert-category-cards .xpert-top10-container,
    .xpert-categories-grid-container,
    .xpert-category-text-container,
    .xpert-footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .xpert-category-text-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .xpert-category-text-container h2 {
        font-size: 24px;
    }
    
    .xpert-category-text-container h3 {
        font-size: 20px;
    }
    
    .xpert-category-text-container h4 {
        font-size: 18px;
    }
    
    .xpert-category-section-header .category-page-btn {
        right: 16px;
    }
    
    .xpert-header-container {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    
    .xpert-logo {
        width: 100%;
        height: auto;
        justify-content: center;
    }
    
    .xpert-nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .xpert-banner {
        width: 100%;
        height: auto;
        font-size: 10px;
        text-align: center;
        padding: 4px 8px;
    }
    
    /* Text Section */
    .xpert-text-container {
        width: 100%;
        height: auto;
        padding: 16px;
    }
    
    /* Categories Section */
    .xpert-categories-container {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 0;
    }
    
    /* New Sites Section */
    
    .section-title {
        font-size: 14px;
    }
    
    .category-page-btn {
        font-size: 11px;
        padding: 8px 16px;
    }
    
    /* Top 10 Cards */
    .xpert-top10-section {
        padding: 20px 16px;
    }
    
    .xpert-top10-container {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .xpert-top10-card {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .top10-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 268 / 356;
    }
    
    .top10-card-content {
        width: 100%;
        height: auto;
        padding: 16px;
    }
    
    /* Best Site Section */
    .xpert-best-site-section {
        padding: 20px 16px;
    }
    
    .xpert-best-site-container {
        width: 100%;
        height: auto;
        flex-direction: column;
    }
    
    .best-site-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1700 / 534;
    }
    
    .best-site-content {
        position: relative;
        padding: 20px;
    }
    
    .best-site-text-container {
        width: 100%;
        height: auto;
    }
    
    .best-site-title {
        font-size: 24px;
    }
    
    .see-more-btn {
        width: 100%;
        max-width: 300px;
        height: 44px;
        font-size: 14px;
    }
    
    /* Category Sections */
    .xpert-category-section-header {
        height: auto;
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
    }
    
    .xpert-category-cards .xpert-top10-container {
        width: 100%;
        grid-template-columns: 1fr;
    }
    
    /* Categories Grid */
    .xpert-categories-grid-header,
    .xpert-categories-grid-container,
    .xpert-categories-grid-button {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .xpert-categories-grid-container {
        padding-top: 20px;
        padding-bottom: 20px;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .xpert-categories-grid-button {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .category-grid-item {
        width: 100%;
        max-width: 150px;
    }
    
    .category-grid-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    /* Footer */
    .xpert-footer {
        padding: 20px 0;
        min-height: 550px;
    }
    
    .xpert-footer-container {
        width: 100%;
        padding: 40px 16px;
        min-height: 550px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   MOBILE LANDSCAPE / SMALL TABLET (481px - 768px)
   ============================================ */
@media (min-width: 481px) and (max-width: 768px) {
    .xpert-header-container,
    .xpert-text-container,
    .xpert-categories-container,
    .xpert-top10-container,
    .xpert-best-site-container,
    .xpert-best-ai-header,
    .xpert-category-cards .xpert-top10-container,
    .xpert-categories-grid-container,
    .xpert-category-text-container,
    .xpert-footer-container {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .xpert-category-text-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .xpert-header-container {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }
    
    .xpert-banner {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .xpert-nav {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .xpert-top10-container {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .xpert-categories-grid-header,
    .xpert-categories-grid-container,
    .xpert-categories-grid-button {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .xpert-categories-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .best-site-title {
        font-size: 32px;
    }
    
    .best-site-text-container {
        width: 100%;
        max-width: 600px;
    }
}

/* ============================================
   TABLET PORTRAIT (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .xpert-header-container,
    .xpert-text-container,
    .xpert-categories-container,
    .xpert-top10-container,
    .xpert-best-site-container,
    .xpert-best-ai-header,
    .xpert-category-cards .xpert-top10-container,
    .xpert-categories-grid-container,
    .xpert-footer-container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .xpert-header-container {
        gap: 40px;
    }
    
    .xpert-top10-container {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .xpert-categories-grid-header,
    .xpert-categories-grid-container,
    .xpert-categories-grid-button {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .xpert-categories-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .best-site-title {
        font-size: 36px;
    }
    
    .best-site-text-container {
        width: 100%;
        max-width: 700px;
    }
}

/* ============================================
   TABLET LANDSCAPE / SMALL DESKTOP (1025px - 1400px)
   ============================================ */
@media (min-width: 1025px) and (max-width: 1400px) {
    .xpert-header-container,
    .xpert-text-container,
    .xpert-categories-container,
    .xpert-top10-container,
    .xpert-best-site-container,
    .xpert-best-ai-header,
    .xpert-category-cards .xpert-top10-container,
    .xpert-categories-grid-container,
    .xpert-footer-container {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .xpert-top10-container {
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
    }
    
    .xpert-categories-grid-header,
    .xpert-categories-grid-container,
    .xpert-categories-grid-button {
        padding-left: 100px;
        padding-right: 100px;
    }
    
    .xpert-categories-grid-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================
   DESKTOP SMALL (1401px - 1800px)
   ============================================ */
@media (min-width: 1401px) and (max-width: 1800px) {
    .xpert-header-container,
    .xpert-text-container,
    .xpert-categories-container,
    .xpert-top10-container,
    .xpert-best-site-container,
    .xpert-best-ai-header,
    .xpert-category-cards .xpert-top10-container,
    .xpert-categories-grid-container,
    .xpert-footer-container {
        padding-left: 100px;
        padding-right: 100px;
    }
    
    .xpert-top10-container {
        grid-template-columns: repeat(5, 1fr);
        width: 100%;
    }
}

/* ============================================
   DESKTOP LARGE (1801px+)
   ============================================ */
@media (min-width: 1801px) {
    .xpert-header-container,
    .xpert-text-container,
    .xpert-categories-container,
    .xpert-top10-container,
    .xpert-best-site-container,
    .xpert-best-ai-header,
    .xpert-category-cards .xpert-top10-container,
    .xpert-categories-grid-header,
    .xpert-categories-grid-container,
    .xpert-categories-grid-button,
    .xpert-footer-container {
        padding-left: 200px;
        padding-right: 200px;
    }
    
    /* All sections use full design specifications */
}
