/* ==================================================
   V-MAX Elite — Arena Design System (Final)
   ================================================== */

:root {
    --hz-bg-body: #f3f4f6;
    --hz-bg-card: #ffffff;
    --hz-bg-card-hover: #f8fafc;
    --hz-bg-poll: #f8fafc;

    --hz-text-main: #0f172a;
    --hz-text-muted: #64748b;
    --hz-border-color: #e2e8f0;

    --hz-primary: #059669;
    --hz-primary-light: rgba(5, 150, 105, 0.1);
    --hz-primary-hover: #047857;
    --hz-danger: #dc2626;

    --hz-font-family: 'Almarai', sans-serif;
    --hz-font-display: 'Lexend', sans-serif;

    --hz-radius-sm: 8px;
    --hz-radius-md: 12px;
    --hz-radius-lg: 16px;
    --hz-radius-xl: 24px;
    --hz-radius-full: 9999px;

    --hz-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --hz-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --hz-shadow-hover: 0 10px 25px rgba(5, 150, 105, 0.15);

    --hz-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hz-header-height-mobile: 72px;
    --hz-header-height-desktop: 84px;
}

html.dark-mode,
html.dark,
html[data-theme="dark"],
body.dark-mode,
body.v-dark-mode {
    --hz-bg-body: #06090f;
    --hz-bg-card: #0d131f;
    --hz-bg-card-hover: #151e2e;
    --hz-bg-poll: #111827;

    --hz-text-main: #f1f5f9;
    --hz-text-muted: #94a3b8;
    --hz-border-color: #1e293b;

    --hz-primary: #10b981;
    --hz-primary-light: rgba(16, 185, 129, 0.15);
    --hz-primary-hover: #34d399;

    --hz-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --hz-shadow-hover: 0 8px 24px rgba(16, 185, 129, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--hz-bg-body);
    color: var(--hz-text-main);
    font-family: var(--hz-font-family);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--hz-transition), border-color var(--hz-transition), background var(--hz-transition), transform var(--hz-transition), box-shadow var(--hz-transition);
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.page {
    min-height: calc(100vh - var(--hz-header-height-mobile));
}

.hz-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-inline: 16px;
}

.hz-main-wrapper {
    padding-top: 90px;
    padding-bottom: 40px;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .hz-main-wrapper {
        padding-top: 110px;
        padding-bottom: 56px;
    }
}

.hz-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

@media (min-width: 1024px) {
    .hz-layout-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 32px;
    }
}

.hz-content-col,
.hz-sidebar,
.hz-article-main,
.hz-widget,
.hz-post-card,
.hz-hero-card {
    min-width: 0;
}

.hz-card {
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    border-radius: var(--hz-radius-lg);
    box-shadow: var(--hz-shadow-sm);
}

.hz-card.interactive:hover {
    transform: translateY(-4px);
    box-shadow: var(--hz-shadow-hover);
    border-color: var(--hz-primary-light);
}

.hz-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 900;
    color: var(--hz-text-main);
}

.hz-empty-state {
    color: var(--hz-text-muted);
    font-weight: 800;
}

/* Header */
.hz-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    height: var(--hz-header-height-mobile);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hz-border-color);
}

html.dark-mode .hz-header,
html.dark .hz-header,
html[data-theme="dark"] .hz-header {
    background: rgba(6, 9, 15, 0.84);
}

@media (min-width: 768px) {
    .hz-header {
        height: var(--hz-header-height-desktop);
    }
}

.hz-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hz-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hz-logo-img {
    max-height: 44px;
    width: auto;
}

.hz-logo-text {
    font-family: var(--hz-font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--hz-primary);
}

.hz-nav-desktop {
    display: none;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.hz-nav-desktop a {
    padding: 12px 14px;
    border-radius: var(--hz-radius-full);
    font-size: 14px;
    font-weight: 900;
    color: var(--hz-text-main);
}

.hz-nav-desktop a:hover,
.hz-nav-desktop a.on {
    color: var(--hz-primary);
    background: var(--hz-primary-light);
}

@media (min-width: 992px) {
    .hz-nav-desktop { display: flex; }
}

.hz-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hz-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--hz-border-color);
    background: var(--hz-bg-card);
    color: var(--hz-text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--hz-shadow-sm);
}

.hz-icon-btn:hover {
    color: var(--hz-primary);
    border-color: var(--hz-primary-light);
    transform: translateY(-1px);
}

.hz-mobile-menu {
    position: fixed;
    inset: var(--hz-header-height-mobile) 16px auto 16px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    border-radius: 20px;
    box-shadow: var(--hz-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

.hz-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.hz-mobile-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
}

.hz-mobile-menu a:hover,
.hz-mobile-menu a.on {
    background: var(--hz-primary-light);
    color: var(--hz-primary);
}

@media (min-width: 992px) {
    .hz-menu-btn,
    .hz-mobile-menu {
        display: none;
    }
}

@media (min-width: 768px) {
    .hz-mobile-menu {
        inset: var(--hz-header-height-desktop) 24px auto auto;
        width: min(340px, calc(100vw - 48px));
    }
}

/* Search overlay */
.hz-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 110px 16px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.hz-search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.hz-search-box {
    width: 100%;
    max-width: 720px;
    position: relative;
}

.hz-search-box form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    border-radius: 18px;
    box-shadow: var(--hz-shadow-md);
    padding: 10px;
}

.hz-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--hz-text-main);
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
}

.hz-search-submit,
.hz-search-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--hz-border-color);
    background: var(--hz-bg-poll);
    color: var(--hz-text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hz-search-close {
    position: absolute;
    inset-inline-start: 0;
    top: calc(100% + 12px);
}

/* Breadcrumb */
.hz-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--hz-text-muted);
    font-size: 13px;
    font-weight: 800;
}

.hz-breadcrumb a:hover {
    color: var(--hz-primary);
}

.hz-breadcrumb-sep,
.hz-breadcrumb .material-symbols-outlined {
    font-size: 16px;
}

/* Home */
.hz-home-hero {
    position: relative;
    margin-bottom: 40px;
    z-index: 1;
}

.hz-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .hz-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hz-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hz-pagination {
    margin-top: 48px;
    margin-bottom: 24px;
}

.hz-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hz-pagination li a,
.hz-pagination li span {
    display: 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);
}

.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);
}

/* Cards */
.hz-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
    transition: var(--hz-transition);
}

.hz-post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.hz-post-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--hz-bg-poll);
}

.hz-post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.hz-post-card:hover .hz-post-card-media img {
    transform: scale(1.05);
}

.hz-post-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hz-post-card-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--hz-text-main);
}

.hz-post-card:hover .hz-post-card-title {
    color: var(--hz-primary);
}

.hz-post-card-date {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--hz-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hz-post-card-date .material-symbols-outlined {
    font-size: 14px;
}


.hz-post-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hz-bg-poll);
    color: var(--hz-border-color);
    font-size: 40px;
}

.hz-post-card-placeholder .material-symbols-outlined {
    font-size: 40px;
}

.hz-hero-card {
    overflow: hidden;
}

.hz-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .hz-hero-grid {
        grid-template-columns: 1.35fr 1fr;
    }
}

.hz-hero-media {
    min-height: 260px;
    background: var(--hz-bg-poll);
}

.hz-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hz-hero-content {
    padding: clamp(22px, 4vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.hz-hero-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: var(--hz-radius-full);
    background: var(--hz-primary-light);
    color: var(--hz-primary);
    font-size: 12px;
    font-weight: 900;
}

.hz-hero-title {
    margin: 0;
    font-size: clamp(22px, 4vw, 32px);
    line-height: 1.45;
    font-weight: 900;
}

.hz-hero-excerpt {
    margin: 0;
    font-size: 14px;
    color: var(--hz-text-muted);
    line-height: 1.8;
}

.hz-hero-link {
    color: var(--hz-primary);
    font-size: 14px;
    font-weight: 900;
}

/* Article */
.hz-article-main {
    padding: clamp(20px, 4vw, 40px);
    margin-bottom: 32px;
}

.hz-article-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.45;
    color: var(--hz-text-main);
}

.hz-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hz-border-color);
    font-size: 13px;
    color: var(--hz-text-muted);
    font-weight: 700;
}

.hz-meta-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hz-meta-author {
    color: var(--hz-primary);
    font-weight: 900;
}

.hz-share-btn-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hz-border-color);
    border-radius: 50%;
    background: var(--hz-bg-poll);
    color: var(--hz-text-main);
    font-size: 18px;
    font-weight: 900;
}

.hz-share-btn-x:hover {
    color: var(--hz-primary);
    border-color: var(--hz-primary-light);
}

.hz-article-thumb {
    margin: 0 0 32px;
    overflow: hidden;
    border-radius: var(--hz-radius-md);
    background: #000;
    text-align: center;
}

.hz-article-thumb img {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    margin: 0 auto;
}

.hz-entry-content {
    font-size: clamp(16px, 3.5vw, 19px);
    line-height: 1.95;
    font-weight: 500;
    color: var(--hz-text-main);
}


.hz-entry-content h2,
.hz-entry-content h3,
.hz-entry-content h4 {
    margin: 32px 0 16px;
    font-weight: 900;
    line-height: 1.5;
}

.hz-entry-content ul,
.hz-entry-content ol {
    margin: 0 0 20px;
    padding-inline-start: 24px;
}

.hz-entry-content blockquote {
    margin: 28px 0;
    padding: 18px 20px;
    border-inline-start: 4px solid var(--hz-primary);
    background: var(--hz-bg-poll);
    border-radius: 14px;
}

.hz-entry-content a {
    color: var(--hz-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}



.hz-gnews-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 28px;
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    border-radius: var(--hz-radius-lg);
    box-shadow: var(--hz-shadow-sm);
}

.hz-gnews-banner:hover {
    border-color: var(--hz-primary-light);
}

.hz-gnews-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.hz-gnews-arrow {
    font-size: 18px;
    color: var(--hz-text-muted);
}

/* Sidebar */
.hz-sidebar-sticky {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hz-spl-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--hz-bg-poll);
}

.hz-spl-icon {
    font-size: 32px;
    color: var(--hz-primary);
}

.hz-spl-text strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 900;
    color: var(--hz-text-main);
}

.hz-spl-text span {
    font-size: 12px;
    color: var(--hz-text-muted);
}

.hz-widget {
    padding: 24px;
}

.hz-widget-title {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hz-border-color);
    font-size: 16px;
    font-weight: 900;
    color: var(--hz-text-main);
}

.hz-news-list {
    display: flex;
    flex-direction: column;
}

.hz-news-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hz-border-color);
}

.hz-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hz-news-num {
    font-size: 24px;
    font-weight: 900;
    font-family: var(--hz-font-display);
    color: var(--hz-border-color);
    min-width: 32px;
    text-align: center;
}

.hz-news-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--hz-text-main);
}

.hz-poll-q {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    color: var(--hz-text-main);
}

.hz-poll-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: var(--hz-bg-poll);
    border: 1px solid var(--hz-border-color);
    border-radius: 14px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 900;
}

.hz-poll-bar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--p, 0%);
    background: linear-gradient(90deg, var(--hz-primary-light), rgba(16, 185, 129, 0.18));
}

.hz-poll-bar > span {
    position: relative;
    z-index: 1;
}

.hz-author-article {
    display: block;
    padding: 14px 0;
    border-top: 1px solid var(--hz-border-color);
}

.hz-author-article:first-of-type {
    border-top: none;
    padding-top: 0;
}

.hz-aa-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.65;
}

.hz-aa-author {
    font-size: 12px;
    color: var(--hz-text-muted);
    font-weight: 800;
}

/* Comments */
.hz-comments-area {
    padding: 24px;
}

.hz-comments-area .comment-list,
.hz-comments-area .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hz-comments-area .comment-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.hz-comments-area .comment-body {
    background: var(--hz-bg-poll);
    border: 1px solid var(--hz-border-color);
    border-radius: 16px;
    padding: 16px;
}

.hz-comments-area .comment-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--hz-text-muted);
}

.hz-comments-area .comment-author {
    font-weight: 900;
    color: var(--hz-text-main);
}

.hz-comments-area .comment-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

.hz-comments-area .comment-respond {
    margin-top: 24px;
}

.hz-comments-area input[type="text"],
.hz-comments-area input[type="email"],
.hz-comments-area input[type="url"],
.hz-comments-area textarea {
    width: 100%;
    border: 1px solid var(--hz-border-color);
    background: var(--hz-bg-poll);
    color: var(--hz-text-main);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
}

.hz-comments-area textarea {
    min-height: 140px;
    resize: vertical;
}

.hz-comments-area input:focus,
.hz-comments-area textarea:focus {
    border-color: var(--hz-primary);
}

.hz-comments-area .submit {
    border: none;
    border-radius: var(--hz-radius-full);
    background: var(--hz-primary);
    color: #fff;
    padding: 12px 18px;
    font-weight: 900;
}

/* ═══ Footer ═══ */
.hz-footer{margin-top:auto;background:var(--hz-bg-card);border-top:1px solid var(--hz-border-color)}
.hz-footer-top{display:none}
@media(min-width:1024px){.hz-footer-top{display:block;padding:48px 0}}
.hz-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
.hz-footer-brand{display:flex;flex-direction:column;gap:14px}
.hz-footer-site-name{margin:0;font-size:24px;font-weight:900;font-family:var(--hz-font-display);color:var(--hz-primary)}
.hz-footer-logo{max-height:40px;width:auto}
.hz-footer-about{margin:0;font-size:13px;color:var(--hz-text-muted);line-height:1.8;max-width:280px}
.hz-footer-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.hz-footer-socials a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--hz-bg-poll);font-size:14px;font-weight:900;font-family:var(--hz-font-display);transition:.2s;text-decoration:none;color:var(--hz-text-main)}
.hz-footer-socials a:hover{background:var(--hz-primary);color:#fff}
.hz-footer-col h4{font-size:14px;font-weight:900;margin:0 0 14px;color:var(--hz-text-main)}
.hz-footer-col ul{list-style:none;margin:0;padding:0}
.hz-footer-col li{margin-bottom:8px}
.hz-footer-col a{font-size:13px;font-weight:700;color:var(--hz-text-muted);text-decoration:none;transition:.15s}
.hz-footer-col a:hover{color:var(--hz-primary)}
.hz-footer-copy{text-align:center;padding:16px;font-size:12px;font-weight:800;color:var(--hz-text-muted);border-top:1px solid var(--hz-border-color);background:var(--hz-bg-poll)}


/* --- Additions after production review --- */
.no-sb {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.no-sb::-webkit-scrollbar { display: none; }

.hz-main-content { padding-top: 90px; padding-bottom: 40px; }
@media (min-width: 768px) { .hz-main-content { padding-top: 110px; padding-bottom: 56px; } }

.hz-notif-wrap {
    position: relative;
}

.hz-notif-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hz-danger);
    border: 2px solid var(--hz-bg-card);
}

.hz-notif-drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: min(320px, 92vw);
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    border-radius: 18px;
    box-shadow: var(--hz-shadow-md);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
    z-index: 1010;
}

.hz-notif-drop.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hz-notif-item {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hz-border-color);
}
.hz-notif-item:last-child { border-bottom: none; }
.hz-notif-item:hover { background: var(--hz-bg-card-hover); }
.hz-notif-item p {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}
.hz-notif-item span,
.hz-notif-empty {
    font-size: 12px;
    color: var(--hz-text-muted);
    font-weight: 700;
}
.hz-notif-empty { padding: 16px; display: block; }

.hz-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.hz-section-head--compact { margin-bottom: 14px; }
.hz-section-more {
    flex-shrink: 0;
    color: var(--hz-primary);
    font-size: 13px;
    font-weight: 900;
}
.hz-home-section { margin-bottom: 36px; }
.hz-home-section:last-child { margin-bottom: 0; }

.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;
}

.hz-ticker {
    margin-bottom: 28px;
}
.hz-ticker-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.hz-ticker-card {
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    border-radius: 18px;
    box-shadow: var(--hz-shadow-sm);
    padding: 14px;
}
.hz-ticker-card.is-live { border-color: rgba(220, 38, 38, .24); }
.hz-ticker-top,
.hz-ticker-body,
.hz-ticker-team {
    display: flex;
    align-items: center;
}
.hz-ticker-top {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.hz-ticker-body {
    justify-content: space-between;
    gap: 12px;
}
.hz-ticker-team {
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.hz-ticker-team span:last-child {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hz-ticker-league,
.hz-ticker-date,
.hz-ticker-live {
    font-size: 12px;
    font-weight: 800;
    color: var(--hz-text-muted);
}
.hz-ticker-live {
    color: var(--hz-danger);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hz-ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.hz-ticker-logo {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--hz-bg-poll);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.hz-ticker-logo img { width: 100%; height: 100%; object-fit: cover; }
.hz-ticker-score,
.hz-ticker-time {
    flex-shrink: 0;
    font-family: var(--hz-font-display);
    font-weight: 900;
}

.hz-standings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hz-standings-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 36px 44px;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--hz-border-color);
}
.hz-standings-row:first-child { border-top: none; padding-top: 0; }
.hz-standings-rank,
.hz-standings-meta,
.hz-standings-points {
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}
.hz-standings-points { color: var(--hz-primary); }
.hz-standings-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.hz-standings-team img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}
.hz-standings-team span {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hz-side-icon {
    color: var(--hz-primary);
    font-size: 22px;
}

.hz-side-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: var(--hz-radius-full);
    border: 1px solid var(--hz-border-color);
    background: var(--hz-bg-poll);
    color: var(--hz-text-main);
    font-size: 13px;
    font-weight: 900;
}
.hz-side-cta--solid,
.hz-side-cta:hover {
    background: var(--hz-primary);
    border-color: var(--hz-primary);
    color: #fff;
}

.hz-national-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
}
.hz-national-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 900;
}
.hz-national-card span:last-child {
    font-size: 13px;
    color: var(--hz-text-muted);
}
.hz-national-flag {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hz-primary-light);
    color: var(--hz-primary);
}

.hz-page-header {
    margin-bottom: 24px;
}
.hz-page-header h1 {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.35;
    font-weight: 900;
}
.hz-page-header p {
    margin: 0;
    color: var(--hz-text-muted);
    font-weight: 700;
    line-height: 1.8;
}
.hz-page-narrow {
    max-width: 920px;
    margin: 0 auto;
}
.hz-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.hz-empty-screen {
    min-height: calc(100vh - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
}
.hz-empty-screen-code {
    font-size: clamp(64px, 12vw, 104px);
    font-family: var(--hz-font-display);
    font-weight: 900;
    color: var(--hz-primary);
    line-height: 1;
}
.hz-empty-screen p {
    max-width: 560px;
    color: var(--hz-text-muted);
    font-weight: 700;
}
.hz-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--hz-radius-full);
    background: var(--hz-primary-light);
    color: var(--hz-primary);
    font-size: 11px;
    font-weight: 900;
}
.hz-video-frame-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--hz-shadow-md);
}
.hz-video-frame {
    position: absolute;
    inset: 0;
}
.hz-video-frame iframe,
.hz-video-frame video,
.hz-video-frame embed,
.hz-video-frame object {
    width: 100%;
    height: 100%;
    border: 0;
}
.hz-video-empty {
    margin-bottom: 24px;
    padding: 60px 20px;
    border-radius: 16px;
    background: var(--hz-bg-poll);
    border: 1px solid var(--hz-border-color);
    text-align: center;
    color: var(--hz-text-muted);
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 1023px) {
    .hz-sidebar {
        display: none !important;
    }
    .hz-layout-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .hz-sidebar-sticky { top: auto; position: static; }
}

@media (max-width: 767px) {
    .hz-notif-drop { left: -70px; }
}

.hz-widget-title--no-line { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.hz-share-actions{display:flex;align-items:center;gap:8px;}


/* Single article extras */
.hz-share-btn-x{cursor:pointer}
.hz-trend-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.hz-chip--club{background:rgba(59,130,246,.12);color:#2563eb}
.hz-chip--competition{background:rgba(16,185,129,.12);color:#059669}
.hz-chip--player{background:rgba(217,119,6,.12);color:#d97706}
.hz-chip--national_team{background:rgba(5,150,105,.14);color:#047857}
.hz-chip--post_tag,.hz-chip--category{background:var(--hz-bg-poll);color:var(--hz-text-main);border:1px solid var(--hz-border-color)}
.hz-comments-inner .comment-reply-title,
.hz-comments-inner .comments-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
}
.hz-comments-inner .comment-respond{
    border-top: 1px solid var(--hz-border-color);
    padding-top: 20px;
}
.hz-comments-inner .form-submit{margin-top:14px}
.hz-comments-closed,.hz-comment-note{color:var(--hz-text-muted);font-size:13px;font-weight:700;margin-bottom:14px}
.hz-comments-area .comment-body .reply{margin-top:12px}
.hz-comments-area .comment-body .reply a{font-size:12px;font-weight:900;color:var(--hz-primary)}
.hz-comments-area .commentmetadata a{font-size:12px;color:var(--hz-text-muted)}

/* Home builder layout variations */
.hz-home-section--hilal .hz-section-title,
.hz-home-section--hilal .hz-section-more{color:#2563eb}
.hz-home-section--hilal .hz-post-card{border-top:3px solid rgba(37,99,235,.35)}
.hz-home-section--nassr .hz-section-title,
.hz-home-section--nassr .hz-section-more{color:#ca8a04}
.hz-home-section--nassr .hz-post-card{border-top:3px solid rgba(202,138,4,.35)}
.hz-home-section--ahli .hz-section-title,
.hz-home-section--ahli .hz-section-more{color:#059669}
.hz-home-section--ahli .hz-post-card{border-top:3px solid rgba(5,150,105,.35)}
.hz-home-section--ittihad .hz-section-title,
.hz-home-section--ittihad .hz-section-more{color:#ea580c}
.hz-home-section--ittihad .hz-post-card{border-top:3px solid rgba(234,88,12,.35)}
.hz-home-section--video .hz-post-card-media{aspect-ratio:16 / 9}
.hz-home-section--video .hz-post-card-media::after{
    content:'play_circle';
    font-family:'Material Symbols Outlined';
    position:absolute;
    inset-inline-start:12px;
    bottom:12px;
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(15,23,42,.72);
    color:#fff;
    font-size:22px;
}

.hz-footer-app:hover{background:var(--hz-primary);border-color:var(--hz-primary);color:#fff}

/* Gemini visual sync — integrated with real theme logic */
.hz-hero-placeholder,
.hz-sidebar-featured-media .hz-post-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hz-bg-poll);
    color: var(--hz-border-color);
}
.hz-hero-placeholder .material-symbols-outlined {
    font-size: 54px;
}
.hz-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hz-hero-link .material-symbols-outlined {
    font-size: 18px;
}
.hz-sidebar-featured {
    display: block;
}
.hz-sidebar-featured-media {
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hz-bg-poll);
    margin-bottom: 14px;
}
.hz-sidebar-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hz-sidebar-featured-title {
    display: block;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.7;
}
.hz-sidebar-featured:hover .hz-sidebar-featured-title {
    color: var(--hz-primary);
}
.hz-comments-inner .comment-list {
    margin-bottom: 24px;
}
.hz-comments-inner .comment-reply-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hz-comments-inner .comment-form-author,
.hz-comments-inner .comment-form-email {
    width: calc(50% - 8px);
    display: inline-block;
    vertical-align: top;
}
.hz-comments-inner .comment-form-author {
    margin-inline-end: 16px;
}
.hz-comments-inner .comment-form-url,
.hz-comments-inner .comment-form-comment,
.hz-comments-inner .comment-form-cookies-consent,
.hz-comments-inner .logged-in-as {
    width: 100%;
}
.hz-comments-inner .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
    font-size: 13px;
    color: var(--hz-text-muted);
    font-weight: 700;
}
.hz-comments-inner .comment-awaiting-moderation {
    display: inline-flex;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--hz-primary-light);
    color: var(--hz-primary);
    font-size: 12px;
    font-weight: 800;
}
.hz-comments-inner .commentmetadata,
.hz-comments-inner .commentmetadata a,
.hz-comments-inner .logged-in-as a,
.hz-comments-inner .comment-reply-login {
    color: var(--hz-text-muted);
}
.hz-comments-inner .logged-in-as a:hover,
.hz-comments-inner .comment-reply-login:hover {
    color: var(--hz-primary);
}
#cancel-comment-reply-link {
    display: inline-flex;
    margin-inline-start: 10px;
    font-size: 12px;
    color: var(--hz-danger);
    font-weight: 900;
}
@media (max-width: 767px) {
    .hz-comments-inner .comment-form-author,
    .hz-comments-inner .comment-form-email {
        width: 100%;
        margin-inline-end: 0;
    }
}

/* ═══ Fixed header body offset (non-home pages) ═══ */
body.hz-has-fixed-header .hz-main-wrapper,
body.hz-has-fixed-header .hz-main-content {
    padding-top: var(--hz-header-height-mobile, 76px);
}
@media (min-width: 768px) {
    body.hz-has-fixed-header .hz-main-wrapper,
    body.hz-has-fixed-header .hz-main-content {
        padding-top: var(--hz-header-height-desktop, 100px);
    }
}
body.hz-no-fixed-header .hz-main-wrapper,
body.hz-no-fixed-header .hz-main-content {
    padding-top: 16px;
}


/* ==================================================
   Final production polish — article / comments / header / footer
   ================================================== */

@media (max-width: 1023px) {
    .hz-breadcrumb {
        display: none;
    }
}

.hz-article-main {
    padding: clamp(20px, 3vw, 34px);
    border-radius: 28px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}

.hz-article-title {
    font-size: clamp(28px, 4.2vw, 44px);
    line-height: 1.32;
    letter-spacing: -0.02em;
}

.hz-article-meta {
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hz-border-color);
}

.hz-meta-info {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 800;
    color: var(--hz-text-muted);
}

.hz-meta-author {
    color: var(--hz-text-muted);
    font-size: 13px;
    font-weight: 800;
}

.hz-meta-author:hover {
    color: var(--hz-primary);
}

.hz-share-actions {
    gap: 10px;
}

.hz-share-btn-x {
    width: 44px;
    height: 44px;
    background: var(--hz-bg-card);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.hz-article-thumb {
    border-radius: 24px;
    margin: 0 0 30px;
    background: #0b1120;
}

.hz-article-thumb img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.hz-entry-content {
    font-size: clamp(18px, 2vw, 21px);
    line-height: 2.05;
}


.hz-gnews-banner {
    border-radius: 22px;
}

@media (max-width: 767px) {
    .hz-layout-grid {
        gap: 20px;
    }

    .hz-article-main {
        border-radius: 22px;
        padding: 18px;
    }

    .hz-article-title {
        font-size: clamp(25px, 8vw, 33px);
    }

    .hz-entry-content {
        font-size: 18px;
        line-height: 1.95;
    }
}

.hz-sidebar-sticky {
    gap: 18px;
}

.hz-spl-btn,
.hz-widget {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, var(--hz-bg-card) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

html.dark-mode .hz-spl-btn,
html.dark-mode .hz-widget,
html.dark .hz-spl-btn,
html.dark .hz-widget,
html[data-theme="dark"] .hz-spl-btn,
html[data-theme="dark"] .hz-widget {
    background: linear-gradient(180deg, rgba(15,23,42,0.96) 0%, rgba(13,19,31,0.96) 100%);
}

.hz-widget {
    padding: 22px;
}

.hz-widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    font-size: 17px;
}

.hz-news-list {
    gap: 2px;
}

.hz-news-item {
    align-items: flex-start;
    padding: 12px 0;
}

.hz-news-item:hover .hz-news-title {
    color: var(--hz-primary);
}

.hz-news-num {
    min-width: 36px;
    font-size: 20px;
    color: color-mix(in srgb, var(--hz-primary) 24%, var(--hz-text-muted));
}

.hz-news-title {
    font-size: 14px;
    line-height: 1.8;
}

.hz-sidebar-featured-media {
    height: 210px;
    border-radius: 20px;
}

.hz-aa-title {
    font-size: 15px;
    line-height: 1.8;
}

.hz-aa-author {
    font-size: 12px;
    color: var(--hz-text-muted);
}

.hz-trend-list {
    gap: 8px;
}

.hz-chip {
    border-radius: 999px;
    font-weight: 900;
    padding: 10px 12px;
}

@media (max-width: 1023px) {
    .hz-sidebar {
        display: none !important;
    }
}

/* ==================================================
   مقالات ذات صلة (تصميم إخباري متطور - تمرير في الموبايل)
   ================================================== */
.hz-home-section { margin-bottom: 48px; }
.hz-section-head { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; }
.hz-section-title { font-size: 20px; font-weight: 900; color: var(--hz-text-main); display: flex; align-items: center; gap: 8px; }

.hz-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1199px) {
    .hz-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hz-home-section {
        overflow: hidden;
    }

    .hz-related-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        padding: 0 4px 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hz-related-grid::-webkit-scrollbar {
        display: none;
    }

    .hz-related-grid > .hz-post-card {
        flex: 0 0 82%;
        min-width: 82%;
        scroll-snap-align: center;
    }
}

.hz-related-grid .hz-post-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    display: flex;
    flex-direction: column;
}

.hz-related-grid .hz-post-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--hz-bg-poll);
    border-radius: 16px 16px 0 0;
}

.hz-related-grid .hz-post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hz-related-grid .hz-post-card-body {
    padding: 16px;
}

.hz-related-grid .hz-post-card-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.65;
    margin: 0;
    color: var(--hz-text-main);
}

.hz-comments-shell {
    padding: 0;
    overflow: hidden;
}

.hz-comments-area {
    padding: clamp(24px, 4vw, 40px);
    border-radius: 24px;
    background: var(--hz-bg-card);
    border: 1px solid transparent;
    box-shadow: none;
    margin-top: 0;
}

.hz-comments-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--hz-bg-poll);
}

.hz-comments-title,
.hz-comments-reply-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 900;
    color: var(--hz-text-main);
}

.hz-comments-title .material-symbols-outlined,
.hz-comments-reply-title .material-symbols-outlined {
    color: var(--hz-primary);
    font-size: 28px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.hz-comment-item {
    margin-bottom: 24px;
}

.hz-comment-item:last-child {
    margin-bottom: 0;
}

.comment-list .children {
    list-style: none;
    margin-top: 16px;
    margin-bottom: 0;
    padding-inline-start: 32px;
    border-inline-start: 2px solid var(--hz-border-color);
}

@media (max-width: 767px) {
    .comment-list .children {
        padding-inline-start: 12px;
        border-inline-start-color: var(--hz-primary-light);
    }
}

.comment-body {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: var(--hz-bg-poll);
    border: 1px solid transparent;
    transition: var(--hz-transition);
}

.comment-body:hover {
    background: var(--hz-bg-card);
    border-color: var(--hz-primary-light);
    box-shadow: var(--hz-shadow-sm);
}

.comment-body.is-author {
    border-color: var(--hz-primary-light);
    background: rgba(5, 150, 105, 0.03);
}

.comment-avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--hz-bg-card);
    box-shadow: var(--hz-shadow-sm);
}

.comment-content-wrap {
    flex: 1;
    min-width: 0;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author,
.comment-author .fn {
    font-size: 15px;
    font-weight: 900;
    color: var(--hz-text-main);
    font-style: normal;
}

.hz-author-badge {
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--hz-primary);
    color: #fff;
}

.comment-metadata,
.comment-metadata a {
    font-size: 12px;
    font-weight: 700;
    color: var(--hz-text-muted);
}

.comment-metadata a:hover {
    color: var(--hz-primary);
}

.comment-awaiting-moderation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.comment-awaiting-moderation .material-symbols-outlined {
    font-size: 16px;
}

.comment-content {
    font-size: 15px;
    line-height: 1.9;
    font-weight: 500;
    color: var(--hz-text-main);
}

.comment-content p {
    margin: 0 0 12px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 14px;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--hz-bg-card);
    border: 1px solid var(--hz-border-color);
    color: var(--hz-text-main);
    font-size: 12px;
    font-weight: 900;
}

.reply a:hover {
    background: var(--hz-primary);
    color: #fff;
    border-color: var(--hz-primary);
}

.reply a .material-symbols-outlined {
    font-size: 16px;
}

.hz-comments-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hz-comments-pagination a,
.hz-comments-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--hz-bg-poll);
    border: 1px solid var(--hz-border-color);
    color: var(--hz-text-main);
    font-size: 13px;
    font-weight: 900;
}

.hz-comments-pagination a:hover {
    background: var(--hz-primary);
    color: #fff;
    border-color: var(--hz-primary);
}

.hz-comments-closed {
    text-align: center;
    padding: 32px 20px;
    background: var(--hz-bg-poll);
    border-radius: 16px;
    border: 1px dashed var(--hz-border-color);
    color: var(--hz-text-muted);
    margin-top: 32px;
}

.hz-comments-closed .material-symbols-outlined {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.hz-comments-closed p {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

#respond {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--hz-border-color);
}

.hz-comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.hz-comment-form > * {
    grid-column: 1 / -1;
    margin: 0;
}

.hz-comment-form .hz-form-author {
    grid-column: 1 / 2;
}

.hz-comment-form .hz-form-email {
    grid-column: 2 / 3;
}

.hz-form-group input,
.hz-form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--hz-border-color);
    background: var(--hz-bg-poll);
    color: var(--hz-text-main);
    font-family: var(--hz-font-family);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: var(--hz-transition);
}

.hz-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.hz-form-group input:focus,
.hz-form-group textarea:focus {
    border-color: var(--hz-primary);
    background: var(--hz-bg-card);
    box-shadow: 0 0 0 4px var(--hz-primary-light);
}

.form-submit {
    margin-top: 8px;
}

.hz-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 16px;
    background: var(--hz-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    font-family: var(--hz-font-family);
    border: none;
    cursor: pointer;
    transition: var(--hz-transition);
}

.hz-submit-btn:hover {
    background: var(--hz-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--hz-shadow-hover);
}

.hz-comment-note {
    font-size: 14px;
    color: var(--hz-text-muted);
    font-weight: 700;
    margin-bottom: 16px;
}

.logout-link {
    color: var(--hz-danger);
    margin-inline-start: 8px;
}

#cancel-comment-reply-link {
    display: inline-flex;
    align-items: center;
    margin-inline-start: 12px;
    font-size: 13px;
    font-weight: 900;
    color: var(--hz-danger);
    padding: 4px 12px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 999px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .comment-body {
        gap: 12px;
        padding: 16px;
    }

    .comment-avatar img {
        width: 44px;
        height: 44px;
    }

    .hz-comment-form .hz-form-author,
    .hz-comment-form .hz-form-email {
        grid-column: 1 / -1;
    }

    .hz-submit-btn {
        width: 100%;
    }
}

.hz-header {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

html.dark-mode .hz-header,
html.dark .hz-header,
html[data-theme="dark"] .hz-header {
    background: rgba(6, 9, 15, 0.92);
}

.hz-header-inner {
    gap: 12px;
}

.hz-logo-img {
    max-height: 48px;
}

.hz-menu-btn {
    width: 46px;
    height: 46px;
    border-radius: 16px;
}

.hz-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
    z-index: 998;
}

.hz-mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.hz-mobile-menu {
    inset: 0 auto 0 0;
    width: min(380px, 92vw);
    height: 100dvh;
    border-radius: 0 26px 26px 0;
    padding: 18px;
    gap: 16px;
    transform: translateX(-100%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
}

.hz-mobile-menu[hidden] {
    display: flex !important;
}

.hz-mobile-menu.is-open {
    transform: translateX(0);
}

.hz-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hz-border-color);
}

.hz-mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hz-mobile-menu-brand .material-symbols-outlined {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hz-primary-light);
    color: var(--hz-primary);
}

.hz-mobile-menu-brand strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
}

.hz-mobile-menu-brand span:last-child {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--hz-text-muted);
    font-weight: 700;
}

.hz-mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--hz-border-color);
    border-radius: 14px;
    background: var(--hz-bg-poll);
    color: var(--hz-text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hz-mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hz-mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--hz-bg-poll);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 900;
}

.hz-mobile-menu a .material-symbols-outlined {
    font-size: 18px;
    color: var(--hz-text-muted);
}

.hz-mobile-menu a:hover,
.hz-mobile-menu a.on {
    background: var(--hz-primary-light);
    color: var(--hz-primary);
    border-color: rgba(5, 150, 105, 0.16);
}

body.hz-mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hz-mobile-menu {
        width: min(420px, 70vw);
    }
}

.hz-entry-content > * {
    margin-bottom: 24px;
}
.hz-entry-content p {
    margin-bottom: 24px;
}
.hz-entry-content > *:last-child,
.hz-entry-content p:last-child {
    margin-bottom: 0;
}

/* ==================================================
   2) الصور، الكابتشن، والمحاذاة (توافق المحرر الكلاسيكي)
   ================================================== */
.hz-entry-content figure,
.hz-entry-content .wp-block-image,
.hz-entry-content .wp-caption {
    max-width: 100%;
    margin: 0 auto 24px auto;
    display: block;
    clear: both;
}
.hz-entry-content img,
.hz-entry-content figure img,
.hz-entry-content .wp-caption img,
.hz-entry-content .size-full,
.hz-entry-content .size-large {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
}
.hz-entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.hz-entry-content .alignnone {
    margin-left: 0;
    margin-right: 0;
}
.hz-entry-content .wp-caption-text,
.hz-entry-content figcaption {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--hz-text-muted);
    margin-top: 8px;
    margin-bottom: 0;
}

/* ==================================================
   3) الفيديو واليوتيوب (استجابة ذكية بدون تشويه)
   ================================================== */

/* يوتيوب والروابط الخارجية (تحتاج إجبار على أبعاد 16:9) */
.hz-entry-content iframe,
.hz-entry-content embed,
.hz-entry-content object {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0 auto 24px auto;
    border-radius: 12px;
    border: none;
    clear: both;
}

/* مشغل فيديو ووردبريس الافتراضي (حماية المشغل ومنع التشوه) */
.hz-entry-content video,
.hz-entry-content .wp-video,
.hz-entry-content .wp-video-shortcode,
.hz-entry-content .mejs-container {
    max-width: 100% !important;
    width: 100% !important; /* يتجاوز العرض الثابت الذي يضيفه ووردبريس */
    margin: 0 auto 24px auto !important;
    border-radius: 12px;
    clear: both;
}

/* تنظيف الطبقات الداخلية للمشغل (MEJS) من أي تدخلات سابقة */
.hz-entry-content .mejs-container video,
.hz-entry-content .mejs-inner,
.hz-entry-content .mejs-mediaelement,
.hz-entry-content .mejs-layer,
.hz-entry-content .mejs-overlay {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* ==================================================
   4) حل مشكلة الفراغات الكبيرة في أسفل الصفحة
   ================================================== */
.hz-section-head {
    margin-bottom: 16px !important;
}
.hz-home-section {
    margin-bottom: 24px !important;
}
.hz-comments-area {
    margin-top: 0 !important;
}
/* ═══ Video Archive Grid ═══ */
.hz-vid-archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
@media(max-width:600px){.hz-vid-archive-grid{grid-template-columns:1fr}}
.hz-vid-card{background:var(--hz-bg-card);border:1px solid var(--hz-border-color);border-radius:var(--hz-radius-md);overflow:hidden;text-decoration:none;transition:.25s}
.hz-vid-card:hover{transform:translateY(-3px);box-shadow:var(--hz-shadow-hover)}
.hz-vid-card-img{aspect-ratio:16/9;position:relative;overflow:hidden;background:#0f172a}
.hz-vid-card-img img{width:100%;height:100%;object-fit:cover}
.hz-vid-play{position:absolute;bottom:10px;left:10px;width:36px;height:36px;background:rgba(0,0,0,.7);backdrop-filter:blur(4px);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px}
.hz-vid-card h4{padding:12px 14px;font-size:14px;font-weight:800;line-height:1.5;margin:0;color:var(--hz-text-main)}

/* ═══ Author Label ═══ */
.hz-author-label{font-size:16px;font-weight:700;color:var(--hz-text-muted)}

/* ═══ Archive card meta icon ═══ */
.hz-arc-card-meta{display:flex;align-items:center;gap:4px}
.hz-arc-card-meta .material-symbols-outlined{font-size:14px}
