/* ==================================================
   HOME PAGE — VMAX Elite Layout (home-2030.css)
   ================================================== */

/* --- Page Offsets (Prevent overlap with fixed header) --- */
body.hz-has-fixed-header.home .hz-main-wrapper,
body.hz-has-fixed-header.blog .hz-main-wrapper,
body.hz-has-fixed-header.front-page .hz-main-wrapper {
    padding-top: 100px;
    padding-bottom: 60px;
}
@media (min-width: 768px) {
    body.hz-has-fixed-header.home .hz-main-wrapper,
    body.hz-has-fixed-header.blog .hz-main-wrapper,
    body.hz-has-fixed-header.front-page .hz-main-wrapper {
        padding-top: 120px;
    }
}

/* --- Hero Section Background Glow (Premium feel) --- */
.hz-home-hero-wrap {
    position: relative;
    margin-bottom: 48px;
    z-index: 1;
}
.hz-home-hero-wrap::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -10vw;
    width: min(720px, 50vw);
    height: 50vh;
    background: radial-gradient(circle, var(--hz-primary-light) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}
.hz-home-hero {
    display: grid;
    gap: 24px;
}
@media (min-width: 1100px) {
    .hz-home-hero {
        grid-template-columns: minmax(0, 1.55fr) minmax(280px, .95fr);
        align-items: stretch;
    }
}
.hz-home-hero-side {
    display: grid;
    gap: 20px;
    align-content: start;
}

/* --- Section Headers (Stronger Visual Hierarchy) --- */
.hz-home-section {
    margin-bottom: 48px;
}
.hz-home-section:last-child {
    margin-bottom: 0;
}
.hz-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--hz-bg-poll);
}
.hz-section-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--hz-text-main);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.hz-section-title .material-symbols-outlined {
    color: var(--hz-primary);
    font-size: 28px;
}
.hz-section-more {
    flex-shrink: 0;
    color: var(--hz-primary);
    font-size: 13px;
    font-weight: 900;
}

/* --- Home Grids --- */
.hz-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) {
    .hz-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Specific Club Themes (Optional hooks for plugin later) --- */
.hz-home-section--hilal .hz-section-title .material-symbols-outlined { color: #2563eb; }
.hz-home-section--nassr .hz-section-title .material-symbols-outlined { color: #ca8a04; }
.hz-home-section--ahli .hz-section-title .material-symbols-outlined { color: #059669; }
.hz-home-section--ittihad .hz-section-title .material-symbols-outlined { color: #ea580c; }

/* --- Pagination Styling (Professional UI) --- */
.hz-pagination {
    margin-top: 48px;
    margin-bottom: 24px;
}
.hz-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hz-pagination li a,
.hz-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: var(--hz-radius-sm);
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    color: var(--hz-text-main);
    font-weight: 900;
    font-size: 14px;
    font-family: var(--hz-font-display);
    transition: var(--hz-transition);
}
.hz-pagination li a:hover {
    border-color: var(--hz-primary);
    color: var(--hz-primary);
    transform: translateY(-2px);
    box-shadow: var(--hz-shadow-sm);
}
.hz-pagination li span.current {
    background: var(--hz-primary);
    color: #fff;
    border-color: var(--hz-primary);
}

@media (max-width: 767px) {
    .hz-home-hero-wrap {
        margin-bottom: 36px;
    }
    .hz-home-section {
        margin-bottom: 36px;
    }
    .hz-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
