
/* ==========================================
   DIGIHAUZAR PREMIUM HOMEPAGE
   Complete Redesigned CSS
========================================== */

.dhg-home {
    --dhg-orange: #ff5b0a;
    --dhg-hover: #e84e00;
    --dhg-ink: #17191f;
    --dhg-text: #353944;
    --dhg-muted: #69707b;
    --dhg-line: #e7e9ee;
    --dhg-soft: #f7f8fa;
    --dhg-width: 1280px;
    --dhg-radius: 12px;

    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--dhg-text);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.dhg-home *,
.dhg-home *::before,
.dhg-home *::after {
    box-sizing: border-box;
}

.dhg-home a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.dhg-home a:hover {
    color: var(--dhg-orange);
}

.dhg-home img {
    max-width: 100%;
}

.dhg-home button {
    font-family: inherit;
    cursor: pointer;
}

.dhg-home h1,
.dhg-home h2,
.dhg-home h3,
.dhg-home h4,
.dhg-home h5 {
    margin-top: 0;
    color: var(--dhg-ink);
    font-family: inherit;
    font-weight: 650;
    letter-spacing: -.35px;
}

.dhg-home p {
    color: var(--dhg-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.dhg-container {
    width: min(
        var(--dhg-width),
        calc(100% - 64px)
    );
    margin-left: auto;
    margin-right: auto;
}

.dhg-section {
    padding: 24px 0;
}

/* ==========================================
   SECTION HEADINGS
========================================== */

.dhg-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 30px;
}

.dhg-section-heading h2 {
    margin: 0;
    color: var(--dhg-ink);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.6px;
}

.dhg-section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 500;
}

.dhg-section-heading > a:hover {
    color: var(--dhg-orange);
}

/* ==========================================
   COMMON ELEMENTS
========================================== */

.dhg-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--dhg-orange);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

.dhg-small-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.dhg-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: linear-gradient(
        135deg,
        #21242c,
        #515864
    );
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

/* ==========================================
   1. HERO SLIDER
========================================== */

.dhg-hero-section {
    position: relative;
    width: 100%;
    background: #15171c;
}

.dhg-hero-slider {
    position: relative;
    width: 100%;
    height: clamp(580px, 43vw, 750px);
    overflow: hidden;
    isolation: isolate;
}

.dhg-hero-slides {
    position: absolute;
    inset: 0;
}

.dhg-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .65s ease,
        visibility .65s ease;
}

.dhg-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dhg-hero-background,
.dhg-hero-overlay {
    position: absolute;
    inset: 0;
}

.dhg-hero-background img,
.dhg-hero-background .dhg-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dhg-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.03) 0%,
        rgba(0,0,0,.17) 40%,
        rgba(0,0,0,.58) 70%,
        rgba(0,0,0,.84) 100%
    );
    pointer-events: none;
}

.dhg-hero-content {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 112px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .9fr);
    align-items: end;
    gap: 75px;
    transform: translateX(-50%);
    color: #ffffff;
}

.dhg-hero-left,
.dhg-hero-right {
    min-width: 0;
}

.dhg-hero-left .dhg-category {
    padding: 7px 14px;
    border-radius: 5px;
    background: var(--dhg-orange);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

.dhg-hero-left h2 {
    margin: 19px 0 0;
    color: #ffffff;
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.dhg-hero-left h2 a,
.dhg-hero-left h2 a:hover {
    color: #ffffff;
}

.dhg-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 16px;
    color: #f3f3f3;
    font-size: 16px;
    font-weight: 500;
}

.dhg-hero-right p {
    margin: 0;
    color: #f5f5f5;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
}

.dhg-hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(0,0,0,.18);
    color: #ffffff;
    font-size: 18px;
    box-shadow: none;
    transition:
        background .25s ease,
        border-color .25s ease;
}

.dhg-hero-arrow:hover {
    background: var(--dhg-orange);
    border-color: var(--dhg-orange);
    color: #ffffff;
}

.dhg-hero-prev { left: 25px; }
.dhg-hero-next { right: 25px; }

.dhg-hero-pagination {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 40px;
    display: flex;
    gap: 10px;
    width: min(660px, 70%);
    transform: translateX(-50%);
}

.dhg-hero-dot {
    flex: 1;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.dhg-hero-dot::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.35);
}

.dhg-hero-dot span {
    position: relative;
    top: -3px;
    display: block;
    width: 0;
    height: 3px;
    background: #ffffff;
}

.dhg-hero-dot.is-complete span {
    width: 100%;
}

.dhg-hero-dot.is-active span {
    animation: dhg-progress 5s linear forwards;
}

@keyframes dhg-progress {
    from { width: 0; }
    to { width: 100%; }
}

.dhg-hero-empty {
    padding: 120px 25px;
    color: #ffffff;
    text-align: center;
}

/* ==========================================
   2. TOP SEARCHES
========================================== */

.dhg-top-searches {
    background: #ffffff;
}

.dhg-top-search-inner {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 27px 0;
    border-bottom: 1px solid var(--dhg-line);
}

.dhg-top-search-inner > strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: var(--dhg-ink);
    font-size: 14px;
    font-weight: 650;
}

.dhg-top-search-inner > strong span {
    color: var(--dhg-orange);
    font-size: 18px;
}

.dhg-search-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px 19px;
}

.dhg-search-tags a,
.dhg-search-tags > span {
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
}

/* ==========================================
   3. POPULAR CATEGORIES
========================================== */

.dhg-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.dhg-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 166px;
    padding: 25px 12px;
    border: 1px solid #eceef2;
    border-radius: 12px;
    background: #f8f8f9;
    color: var(--dhg-ink);
    text-align: center;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.dhg-category-card:nth-child(5n) {
    background: #ffffff;
}

.dhg-category-card:hover {
    transform: translateY(-5px);
    border-color: #ffd1b9;
    box-shadow: 0 12px 30px rgba(25,25,30,.07);
}

.dhg-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    font-size: 32px;
}

.dhg-category-card strong {
    color: #24272e;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.dhg-category-card small {
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
}

/* ==========================================
   4. EDITOR'S CHOICE
========================================== */

.dhg-editors-section {
    padding-top: 25px;
    padding-bottom: 20px;
}

.dhg-editors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.dhg-editor-card {
    min-width: 0;
}

.dhg-editor-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f2f4;
}

.dhg-editor-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.dhg-editor-image:hover img {
    transform: scale(1.04);
}

.dhg-editor-content {
    padding-top: 17px;
}

.dhg-editor-content h3 {
    margin: 10px 0 12px;
    color: var(--dhg-ink);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.2px;
}

.dhg-editor-content h3 a {
    color: inherit;
}

/* ==========================================
   5. WHAT'S NEW / TOP GAMES
========================================== */

.dhg-news-section {
    padding-top: 70px;
    padding-bottom: 85px;
}

.dhg-news-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(320px, .85fr);
    gap: 34px;
    align-items: start;
}

.dhg-news-feature {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 12px;
    background: #22252b;
}

.dhg-news-feature-image {
    position: absolute;
    inset: 0;
    display: block;
}

.dhg-news-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dhg-news-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.88),
        rgba(0,0,0,.05) 77%
    );
    pointer-events: none;
}

.dhg-news-feature-overlay {
    position: absolute;
    z-index: 2;
    bottom: 35px;
    left: 35px;
    right: 35px;
}

.dhg-news-feature-overlay .dhg-category {
    padding: 7px 12px;
    border-radius: 5px;
    background: var(--dhg-orange);
    color: #ffffff;
    font-size: 13px;
}

.dhg-news-feature-overlay h3 {
    max-width: 550px;
    margin: 15px 0 12px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 650;
    line-height: 1.3;
}

.dhg-news-feature-overlay h3 a,
.dhg-news-feature-overlay h3 a:hover {
    color: #ffffff;
}

.dhg-news-feature-overlay > span {
    color: #eeeeee;
    font-size: 14px;
    font-weight: 400;
}

.dhg-news-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 26px;
}

.dhg-news-mini {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.dhg-news-mini-image {
    display: block;
    width: 118px;
    height: 103px;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
}

.dhg-news-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dhg-news-mini h3 {
    margin: 6px 0 7px;
    color: var(--dhg-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.dhg-news-mini h3 a {
    color: inherit;
}

.dhg-news-mini span {
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
}

/* Ranking sidebar */

.dhg-ranking-box {
    overflow: hidden;
    padding: 12px;
    border: 1px solid #eeeeef;
    border-radius: 12px;
    background: #fafafa;
}

.dhg-ranking-feature {
    position: relative;
    height: 235px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 9px;
}

.dhg-ranking-feature > a {
    position: absolute;
    inset: 0;
}

.dhg-ranking-feature img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dhg-ranking-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.88),
        transparent 75%
    );
    pointer-events: none;
}

.dhg-ranking-feature > div {
    position: absolute;
    z-index: 2;
    left: 21px;
    right: 21px;
    bottom: 22px;
}

.dhg-rank-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--dhg-orange);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.dhg-ranking-feature h3 {
    margin: 12px 0 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.4;
}

.dhg-ranking-feature h3 a {
    color: #ffffff;
}

.dhg-ranking-row {
    display: grid;
    grid-template-columns: 39px 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px 10px;
    border-bottom: 1px solid #e7e8eb;
}

.dhg-ranking-row:last-child {
    border-bottom: 0;
}

.dhg-rank-number {
    color: #c5c7cd;
    font-size: 31px;
    font-weight: 600;
    line-height: 1;
}

.dhg-ranking-row h3 {
    margin: 0 0 8px;
    color: var(--dhg-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.dhg-ranking-row h3 a {
    color: inherit;
}

.dhg-ranking-row small {
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
}

/* ==========================================
   6. ADVERTISEMENT
========================================== */

.dhg-ad-section {
    padding: 45px 0;
    border-top: 1px solid var(--dhg-line);
}

.dhg-ad-section .dhg-container {
    text-align: center;
}

.dhg-ad-section img {
    display: block;
    max-width: min(100%, 970px);
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

/* ==========================================
   7. LATEST GAMES SLIDER
========================================== */

.dhg-latest-section {
    padding: 78px 0 85px;
    background: #f7f7f8;
}

.dhg-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dhg-slider-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e3e4e8;
    border-radius: 50%;
    background: #ffffff;
    color: #282c34;
    box-shadow: none;
}

.dhg-slider-controls button:hover {
    background: var(--dhg-orange);
    border-color: var(--dhg-orange);
    color: #ffffff;
}

.dhg-card-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.dhg-card-slider::-webkit-scrollbar {
    display: none;
}

.dhg-game-card {
    position: relative;
    height: 410px;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #25272c;
    scroll-snap-align: start;
}

.dhg-game-image {
    position: absolute;
    inset: 0;
    display: block;
}

.dhg-game-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.dhg-game-image:hover img {
    transform: scale(1.035);
}

.dhg-game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.9),
        rgba(0,0,0,.08) 76%
    );
    pointer-events: none;
}

.dhg-game-content {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 25px;
    right: 25px;
}

.dhg-game-content .dhg-category {
    padding: 6px 11px;
    border-radius: 5px;
    background: var(--dhg-orange);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.dhg-game-content h3 {
    margin: 15px 0 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.35;
}

.dhg-game-content h3 a {
    color: #ffffff;
}

.dhg-game-content > span {
    color: #e8e8e8;
    font-size: 14px;
    font-weight: 400;
}

/* ==========================================
   8. DISCOVERY SECTION
========================================== */

.dhg-discovery-section {
    padding-top: 85px;
    padding-bottom: 85px;
}

.dhg-discovery-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.4fr)
        minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.dhg-discovery-column {
    min-width: 0;
}

.dhg-discovery-column .dhg-section-heading h2 {
    font-size: 23px;
}

.dhg-compact-post {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--dhg-line);
}

.dhg-compact-post:first-of-type {
    padding-top: 0;
}

.dhg-compact-post > a {
    display: block;
    height: 88px;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f5;
}

.dhg-compact-post img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dhg-compact-post h3 {
    margin: 0 0 9px;
    color: var(--dhg-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.dhg-compact-post h3 a {
    color: inherit;
}

.dhg-compact-post small {
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
}

.dhg-watch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.dhg-watch-card {
    min-width: 0;
}

.dhg-watch-card:first-child {
    grid-column: 1 / -1;
}

.dhg-watch-image {
    position: relative;
    display: block;
    height: 168px;
    overflow: hidden;
    border-radius: 10px;
    background: #25272b;
}

.dhg-watch-card:first-child .dhg-watch-image {
    height: 280px;
}

.dhg-watch-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dhg-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--dhg-orange);
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 5px 25px rgba(0,0,0,.25);
}

.dhg-watch-card h3 {
    margin: 13px 0 0;
    color: var(--dhg-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.dhg-watch-card h3 a {
    color: inherit;
}

/* ==========================================
   9. REVIEWS + SIDEBAR
========================================== */

.dhg-reviews-section {
    padding-top: 85px;
    padding-bottom: 100px;
    border-top: 1px solid var(--dhg-line);
}

.dhg-reviews-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(310px, .85fr);
    align-items: start;
    gap: 60px;
}

.dhg-review-row {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid var(--dhg-line);
}

.dhg-review-row:first-of-type {
    padding-top: 0;
}

.dhg-review-image {
    display: block;
    height: 157px;
    overflow: hidden;
    border-radius: 9px;
    background: #f2f3f5;
}

.dhg-review-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dhg-review-row h3 {
    margin: 9px 0 10px;
    color: var(--dhg-ink);
    font-size: 21px;
    font-weight: 650;
    line-height: 1.4;
}

.dhg-review-row h3 a {
    color: inherit;
}

.dhg-review-row p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 10px;
    color: var(--dhg-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dhg-review-row small {
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
}

/* Sidebar */

.dhg-reviews-sidebar {
    display: grid;
    gap: 42px;
    align-content: start;
}

.dhg-reviews-sidebar .dhg-section-heading h2 {
    font-size: 23px;
}

.dhg-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.dhg-social-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 11px 12px;
    border: 1px solid var(--dhg-line);
    border-radius: 7px;
    background: #ffffff;
    color: #3a3d45;
    font-size: 14px;
    font-weight: 500;
}

.dhg-social-grid a:hover {
    border-color: var(--dhg-orange);
    background: var(--dhg-orange);
    color: #ffffff;
}

.dhg-side-category-list {
    display: grid;
}

.dhg-side-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--dhg-line);
    color: #3a3e47;
    font-size: 16px;
    font-weight: 500;
}

.dhg-side-category-list a:hover {
    color: var(--dhg-orange);
}

.dhg-side-category-list small {
    color: var(--dhg-muted);
    font-size: 14px;
    font-weight: 400;
}

/* ==========================================
   UNIVERSAL IMAGE & LINK POLISH
========================================== */

.dhg-editor-image,
.dhg-news-mini-image,
.dhg-compact-post > a,
.dhg-review-image {
    backface-visibility: hidden;
}

.dhg-home a:focus-visible,
.dhg-home button:focus-visible {
    outline: 2px solid var(--dhg-orange);
    outline-offset: 3px;
}

/* ==========================================
   SMALL DESKTOP
========================================== */

@media (max-width: 1199px) {

    .dhg-container {
        width: calc(100% - 52px);
    }

    .dhg-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dhg-news-layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
        gap: 27px;
    }

    .dhg-news-mini-grid {
        grid-template-columns: 1fr;
    }

    .dhg-discovery-grid {
        grid-template-columns: 1fr 1.3fr;
    }

    .dhg-discovery-column:last-child {
        grid-column: 1 / -1;
    }

    .dhg-compact-post {
        grid-template-columns: 110px minmax(0, 1fr);
    }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .dhg-section {
        padding: 58px 0;
    }

    .dhg-editors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dhg-hero-content {
        gap: 30px;
    }

    .dhg-hero-left h2 {
        font-size: 39px;
    }

    .dhg-news-layout,
    .dhg-reviews-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .dhg-news-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dhg-reviews-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dhg-card-slider {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .dhg-container {
        width: calc(100% - 32px);
    }

    .dhg-section {
        padding: 48px 0;
    }

    .dhg-section-heading {
        margin-bottom: 24px;
    }

    .dhg-section-heading h2 {
        font-size: 24px;
    }

    .dhg-home p {
        font-size: 16px;
    }

    /* Hero */

    .dhg-hero-slider {
        height: 620px;
        max-height: 90dvh;
        min-height: 520px;
    }

    .dhg-hero-content {
        bottom: 93px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dhg-hero-left h2 {
        margin-top: 13px;
        font-size: clamp(29px, 7vw, 38px);
        line-height: 1.24;
    }

    .dhg-hero-right p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 16px;
        line-height: 1.65;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .dhg-hero-meta {
        font-size: 14px;
        margin-bottom: 9px;
    }

    .dhg-hero-arrow {
        top: 37%;
        width: 38px;
        height: 38px;
    }

    .dhg-hero-prev { left: 10px; }
    .dhg-hero-next { right: 10px; }

    .dhg-hero-pagination {
        bottom: 23px;
        width: calc(100% - 48px);
    }

    /* Searches */

    .dhg-top-search-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 22px 0;
    }

    .dhg-search-tags {
        gap: 10px 15px;
    }

    /* Categories */

    .dhg-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 11px;
    }

    .dhg-category-card {
        min-height: 145px;
        padding: 17px 8px;
    }

    .dhg-category-card strong {
        font-size: 15px;
    }

    /* Editors */

    .dhg-editors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 15px;
    }

    .dhg-editor-content h3 {
        font-size: 17px;
    }

    /* News */

    .dhg-news-feature {
        height: 370px;
    }

    .dhg-news-feature-overlay {
        left: 22px;
        right: 22px;
        bottom: 25px;
    }

    .dhg-news-feature-overlay h3 {
        font-size: 24px;
    }

    .dhg-news-mini-grid {
        grid-template-columns: 1fr;
    }

    /* Games */

    .dhg-card-slider {
        grid-auto-columns: 82%;
        gap: 16px;
    }

    .dhg-game-card {
        height: 380px;
    }

    /* Discovery */

    .dhg-discovery-grid {
        grid-template-columns: 1fr;
        gap: 43px;
    }

    .dhg-discovery-column:last-child {
        grid-column: auto;
    }

    .dhg-watch-card:first-child .dhg-watch-image {
        height: 240px;
    }

    .dhg-compact-post h3 {
        font-size: 17px;
    }

    /* Reviews */

    .dhg-review-row {
        grid-template-columns: 135px minmax(0, 1fr);
        gap: 16px;
    }

    .dhg-review-image {
        height: 115px;
    }

    .dhg-review-row h3 {
        font-size: 18px;
    }

    .dhg-review-row p {
        -webkit-line-clamp: 2;
    }

    .dhg-reviews-sidebar {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .dhg-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dhg-editors-grid {
        grid-template-columns: 1fr;
    }

    .dhg-editor-image {
        aspect-ratio: 1.8 / 1;
    }

    .dhg-editor-content h3 {
        font-size: 20px;
    }

    .dhg-review-row {
        grid-template-columns: 1fr;
    }

    .dhg-review-image {
        height: auto;
        aspect-ratio: 1.8 / 1;
    }

    .dhg-review-row h3 {
        font-size: 20px;
    }

    .dhg-review-row p {
        display: block;
    }

    .dhg-game-card {
        height: 360px;
    }

    .dhg-news-mini {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .dhg-news-mini-image {
        width: 110px;
        height: 95px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .dhg-home *,
    .dhg-home *::before,
    .dhg-home *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .dhg-hero-dot.is-active span {
        width: 100%;
    }
}

/* DigiHauzar Brand Typography */

.dhg-home {
    font-family: 'Outfit', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Section headings */
.dhg-home h1,
.dhg-home h2,
.dhg-home h3,
.dhg-home h4 {
    font-family: 'Outfit', Arial, sans-serif;
    letter-spacing: -0.4px;
}

/* Article titles */
.dhg-editor-content h3,
.dhg-news-mini h3,
.dhg-compact-post h3,
.dhg-review-row h3,
.dhg-ranking-row h3 {
    font-weight: 600;
}

/* Paragraph */
.dhg-home p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

/* Meta */
.dhg-small-meta,
.dhg-news-mini span,
.dhg-compact-post small,
.dhg-review-row small,
.dhg-ranking-row small,
.dhg-hero-meta {
    font-size: 14px;
    font-weight: 400;
}
