/* ============================  DIT RESPONSIVE HEADER - VISUAL OVERRIDE ONLY ========================= */
:root{--dit-navy:#06243b;--dit-red:#e21d2b;--dit-dark:#111820;--dit-green:#008000;--dit-border:#e2e7eb}
.dit-header-shell{background:#fff;border-bottom:1px solid var(--dit-border);position:relative;z-index:1035}
.dit-header-top{background:var(--dit-dark);color:#fff;min-height:34px;font-size:12px}
.dit-header-top-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.dit-live-label{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.dit-live-dot{width:7px;height:7px;border-radius:50%;background:var(--dit-green);display:inline-block}
.dit-header-socials{display:flex;align-items:center;gap:16px}
.dit-header-socials a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.dit-header-socials a:hover{color:#fff;opacity:.8}
.dit-main-header{background:#fff}
.dit-main-header-inner{min-height:88px;display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(300px,470px) auto;align-items:center;gap:20px}
.dit-brand{display:inline-flex;align-items:center;gap:11px;color:var(--dit-navy);text-decoration:none;min-width:0}
.dit-brand-logo{width:66px;height:66px;object-fit:contain;flex:0 0 66px}
.dit-brand-text{min-width:0;line-height:1}
.dit-brand-name{font-size:clamp(23px,2.2vw,31px);font-weight:850;letter-spacing:-.8px;color:var(--dit-navy);white-space:nowrap}
.dit-brand-name span{font-weight:650}
.dit-brand-tagline{display:block;margin-top:5px;font-size:9px;color:#e05b31;font-weight:750;letter-spacing:.35px;text-transform:uppercase}
.dit-header-search{display:flex;align-items:center;min-width:0;height:40px;border:1px solid #d5dbe1;border-radius:5px;overflow:hidden;background:#fff}
.dit-header-search input{border:0;outline:0;width:100%;height:100%;padding:0 14px;font-size:13px;color:#222;background:transparent}
.dit-header-search button{border:0;height:100%;width:48px;background:var(--dit-red);color:#fff;cursor:pointer}
.dit-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;white-space:nowrap}
.dit-join-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 17px;border-radius:4px;background:var(--dit-red);color:#fff;text-decoration:none;font-size:13px;font-weight:700}
.dit-join-btn:hover{background:#c91826;color:#fff}
.dit-login-link{color:#111820;text-decoration:none;font-size:13px;font-weight:650}
.dit-login-link:hover{color:var(--dit-red)}
.dit-mobile-menu-btn{width:42px;height:40px;border:1px solid #d9dde1;border-radius:4px;background:#fff;color:var(--dit-navy);display:none;align-items:center;justify-content:center;font-size:21px}
.dit-category-nav{background:var(--dit-navy);border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(0,0,0,.15)}
.dit-category-nav-inner{min-height:42px;display:flex;align-items:center;overflow-x:auto;scrollbar-width:thin}
.dit-category-nav-inner::-webkit-scrollbar{height:3px}
.dit-category-nav-inner::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35)}
.dit-category-link{display:inline-flex;align-items:center;min-height:42px;padding:0 13px;color:#fff;text-decoration:none;font-size:12px;font-weight:650;white-space:nowrap}
.dit-category-link:first-child{padding-left:0}
.dit-category-link:hover{color:#fff;background:rgba(255,255,255,.09)}
.dit-breaking-header{background:#fff;border-bottom:1px solid #dfe3e7}
.dit-breaking-header-inner{min-height:43px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.dit-breaking-badge{position:relative;display:inline-flex;align-items:center;min-height:27px;padding:0 18px 0 12px;background:var(--dit-red);color:#fff;font-size:10px;font-weight:850;text-transform:uppercase;white-space:nowrap}
.dit-breaking-badge:after{content:"";position:absolute;right:-10px;top:0;border-top:13.5px solid transparent;border-bottom:13.5px solid transparent;border-left:10px solid var(--dit-red)}
.dit-breaking-placeholder{min-width:0;height:22px;display:flex;align-items:center;overflow:hidden}
.dit-breaking-title{width:100%;color:#1a1f24;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dit-breaking-date{color:#6f7881;font-size:11px;white-space:nowrap}
/* Hide only the old visual header. Its PHP/auth/navigation source remains untouched below. */
.dit-legacy-header-source{display:none!important}
body.dit-header-preserve-old .top-social-bar, body.dit-header-preserve-old .site-navbar{display:none!important}
.dit-mobile-panel{background:#fff;border-top:1px solid #e5e8eb;box-shadow:0 10px 24px rgba(0,0,0,.14);position:absolute;left:0;right:0;top:100%;z-index:1040;max-height:calc(100vh - 100%);overflow-y:auto}
.dit-mobile-panel-links{display:flex;flex-direction:column;gap:0;background:#fff}
.dit-mobile-panel-links a{display:flex;align-items:center;min-height:48px;padding:0 18px;border-bottom:1px solid #e9edf0;color:#17202a;text-decoration:none;font-size:14px;font-weight:700}
.dit-mobile-panel-links a:hover{background:#f6f8fa;color:var(--dit-red)}
.dit-mobile-panel-links .mobile-auth{justify-content:center}
.dit-mobile-panel-links .mobile-auth-primary{background:var(--dit-red);color:#fff;border-color:var(--dit-red)}
.dit-mobile-panel-links .mobile-auth-primary:hover{background:#c91826;color:#fff}

@media(max-width:1199px){.dit-main-header-inner{grid-template-columns:auto minmax(100px,1fr) minmax(250px,360px) auto;gap:14px}.dit-brand-name{font-size:25px}.dit-category-link{padding-left:10px;padding-right:10px}}
@media(max-width:991px){.dit-main-header-inner{grid-template-columns:minmax(0,1fr) auto;min-height:78px}.dit-header-search{display:none}.dit-mobile-menu-btn{display:inline-flex}.dit-category-nav{display:none!important}.dit-mobile-panel.collapse:not(.show){display:none}.dit-mobile-panel .container{padding-left:0;padding-right:0}.dit-mobile-panel-links a{width:100%}}
@media(max-width:767px){.dit-header-top-inner{min-height:32px}.dit-header-socials{gap:10px}.dit-header-socials a span{display:none}.dit-main-header-inner{min-height:72px;grid-template-columns:minmax(0,1fr) auto;gap:8px}.dit-brand-logo{width:54px;height:54px;flex-basis:54px}.dit-brand-name{font-size:21px}.dit-brand-tagline{font-size:7px;margin-top:3px}.dit-header-actions .dit-login-link,.dit-header-actions .dit-join-btn{display:none}.dit-breaking-header-inner{grid-template-columns:auto minmax(0,1fr);gap:10px}.dit-breaking-date{display:none}.dit-breaking-badge{padding-left:9px;padding-right:12px;font-size:9px}.dit-breaking-title{font-size:10px}.dit-mobile-menu-btn{width:44px;height:42px;font-size:22px}}
@media(max-width:430px){.dit-brand-logo{width:48px;height:48px;flex-basis:48px}.dit-brand{gap:7px}.dit-brand-name{font-size:19px}.dit-brand-tagline{font-size:6px}.dit-header-socials{gap:8px}.dit-mobile-panel-links a{min-height:46px;padding-left:16px;padding-right:16px;font-size:13px}}
/* ============================ DIT RESPONSIVE HEADER - VISUAL OVERRIDE ONLY End ========================= */

.dit-header-account {
    position: relative;
}

.dit-header-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: #dc3545;
    color: #fff;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.dit-header-account-btn:hover,
.dit-header-account-btn:focus {
    background: #bb2d3b;
    color: #fff;
}

.dit-header-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dit-header-account-dropdown {
    min-width: 235px;
    margin-top: 8px !important;
    z-index: 9999;
}

.dit-header-account-dropdown .dropdown-item {
    padding: 9px 14px;
    font-size: 14px;
}

.dit-header-account-dropdown .dropdown-item i {
    width: 20px;
}
/* =========================================================
   GLOBAL
   ========================================================= */

.dit-home-magazine {
    background: #f5f6f8;
    color: #151515;
    padding-bottom: 70px;
}

.dit-home-container {
    width: min(
        1280px,
        calc(100% - 30px)
    );
    margin: 0 auto;
}


/* =========================================================
   BREAKING NEWS
   ========================================================= */

.dit-breaking-bar {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.dit-breaking-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dit-breaking-label {
    flex: 0 0 auto;
    background: #e21d2b;
    color: #fff;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.dit-breaking-window {
    position: relative;
    height: 24px;
    overflow: hidden;
    flex: 1;
}

.dit-breaking-item {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transform: translateY(100%);

    transition:
        opacity .4s ease,
        transform .4s ease,
        visibility .4s ease;

    line-height: 24px;

    font-size: 14px;
    font-weight: 650;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dit-breaking-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dit-breaking-date {
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.dit-section {
    padding: 28px 0 20px;
}

.dit-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom: 2px solid #171717;

    margin-bottom: 22px;
}

.dit-section-title {
    position: relative;

    margin: 0;

    padding-bottom: 11px;

    font-size: 25px;

    font-weight: 800;
}

.dit-section-title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 62px;
    height: 4px;

    background: #e21d2b;
}

.dit-section-more {
    color: #e21d2b;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    padding-bottom: 10px;
}


/* =========================================================
   5 POST SINGLE CARD SLIDER
   ========================================================= */

.dit-slider-section {
    padding: 28px 0 35px;
}

.dit-single-slider {
    position: relative;

    height: 430px;

    overflow: hidden;

    background: #111;
}

.dit-slide {
    position: absolute;

    inset: 0;

    opacity: 0;
    visibility: hidden;

    transform: translateX(35px);

    transition:
        opacity .5s ease,
        transform .5s ease,
        visibility .5s ease;
}

.dit-slide.active {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);

    z-index: 2;
}

.dit-slide-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.dit-slide-no-image {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #222,
            #666
        );

    color: #888;

    font-size: 70px;
}

.dit-slide::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.90),
            rgba(0,0,0,.05) 75%
        );
}

.dit-slide-content {
    position: absolute;

    left: 0;
    bottom: 0;

    z-index: 3;

    width: min(900px, 100%);

    padding: 35px 45px;

    color: #fff;
}

.dit-slide-category {
    display: inline-block;

    background: #e21d2b;

    color: #fff;

    padding: 6px 10px;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    margin-bottom: 12px;
}

.dit-slide-title {
    margin: 0 0 10px;

    font-size: 36px;

    line-height: 1.18;

    font-weight: 850;
}

.dit-slide-title a {
    color: inherit;
    text-decoration: none;
}

.dit-slide-meta {
    color: rgba(255,255,255,.8);

    font-size: 12px;
}


/* ARROWS */

.dit-slider-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.7);

    background: rgba(0,0,0,.55);

    color: #fff;

    font-size: 27px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;
}

.dit-slider-prev {
    left: 18px;
}

.dit-slider-next {
    right: 18px;
}


/* DOTS */

.dit-slider-dots {
    position: absolute;

    z-index: 10;

    right: 25px;
    bottom: 20px;

    display: flex;

    gap: 8px;
}

.dit-slider-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.5);

    cursor: pointer;
}

.dit-slider-dot.active {
    background: #fff;

    transform: scale(1.3);
}


/* =========================================================
   LATEST NEWS
   ========================================================= */

.dit-feature-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(0, 1fr);

    grid-template-rows:
        250px
        250px;

    gap: 12px;
}

.dit-feature-card {
    position: relative;

    overflow: hidden;

    background: #111;

    color: #fff;

    text-decoration: none;
}

.dit-feature-card-large {
    grid-row: 1 / span 2;
}

.dit-feature-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.dit-feature-card:hover img {
    transform: scale(1.04);
}

.dit-feature-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.9),
            rgba(0,0,0,.05) 78%
        );
}

.dit-feature-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 22px;
}

.dit-feature-card-large
.dit-feature-content {
    padding: 30px;
}

.dit-feature-title {
    margin: 8px 0;

    font-size: 21px;

    line-height: 1.25;

    font-weight: 800;
}

.dit-feature-card-large
.dit-feature-title {
    font-size: 32px;
}

.dit-feature-meta {
    color: rgba(255,255,255,.8);

    font-size: 12px;
}


/* =========================================================
   TRENDING CATEGORY TABS
   ========================================================= */

.dit-trending-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, .9fr);

    gap: 30px;
}

.dit-category-tabs {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 22px;
}

.dit-category-tab {
    border: 1px solid #d8d8d8;

    background: #fff;

    color: #333;

    padding: 8px 14px;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    cursor: pointer;
}

.dit-category-tab:hover,
.dit-category-tab.active {
    background: #e21d2b;

    border-color: #e21d2b;

    color: #fff;
}


/* PANELS */

.dit-trending-panel {
    display: none;
}

.dit-trending-panel.active {
    display: block;
}


/* =========================================================
   TRENDING LEAD
   ========================================================= */

.dit-trending-lead {
    display: grid;

    grid-template-columns:
        minmax(0,1.05fr)
        minmax(0,1fr);

    gap: 20px;

    background: #fff;

    border: 1px solid #e4e4e4;

    padding: 15px;
}

.dit-trending-image {
    width: 100%;
    height: 290px;

    object-fit: cover;
}

.dit-trending-content {
    padding: 8px 5px;
}

.dit-trending-title {
    margin: 8px 0 12px;

    font-size: 27px;

    line-height: 1.2;

    font-weight: 800;
}

.dit-trending-title a {
    color: #151515;
    text-decoration: none;
}

.dit-trending-title a:hover {
    color: #e21d2b;
}

.dit-trending-excerpt {
    color: #666;

    font-size: 14px;

    line-height: 1.7;
}

.dit-meta-row {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    color: #888;

    font-size: 12px;
}


/* =========================================================
   TRENDING LIST
   ========================================================= */

.dit-trending-list {
    display: grid;

    gap: 14px;

    margin-top: 20px;
}

.dit-trending-item {
    display: grid;

    grid-template-columns:
        145px
        minmax(0,1fr);

    gap: 15px;

    background: #fff;

    border: 1px solid #e5e5e5;

    padding: 12px;
}

.dit-small-image {
    height: 100px;

    background: #222;

    overflow: hidden;
}

.dit-small-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.dit-small-title {
    margin: 6px 0;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 750;
}

.dit-small-title a {
    color: #151515;

    text-decoration: none;
}

.dit-small-title a:hover {
    color: #e21d2b;
}

.dit-small-category {
    color: #e21d2b;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;
}

.dit-news-category{
    color: #ffffff;
    text-decoration: none;
}
/* =========================================================
   MOST READ
   ========================================================= */

.dit-sidebar-box {
    background: #fff;

    border: 1px solid #e3e3e3;
}

.dit-sidebar-heading {
    background: #171717;

    color: #fff;

    padding: 15px 18px;

    font-size: 17px;

    font-weight: 800;

    text-transform: uppercase;
}

.dit-most-read {
    list-style: none;

    margin: 0;
    padding: 0;
}

.dit-most-read li {
    border-bottom: 1px solid #eee;
}

.dit-most-read a {
    display: grid;

    grid-template-columns:
        34px
        82px
        minmax(0,1fr);

    gap: 10px;

    align-items: center;

    padding: 13px;

    text-decoration: none;

    color: #151515;
}

.dit-most-number {
    color: #d4d4d4;

    font-size: 25px;

    font-weight: 900;
}

.dit-most-thumb {
    height: 60px;

    background: #222;

    overflow: hidden;
}

.dit-most-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.dit-most-title {
    font-size: 13px;

    line-height: 1.35;

    font-weight: 700;
}

.dit-most-title:hover {
    color: #e21d2b;
}


/* =========================================================
   CATEGORY SECTIONS
   ========================================================= */

.dit-category-section {
    padding: 20px 0 35px;
}
.dit-category-grid {
    display: grid;
    grid-template-columns:
        minmax(0,1.25fr)
        minmax(0,1fr);
    gap: 22px;
    align-items: start;
}

.dit-category-list {
    display: grid;
    gap: 12px;
    align-content: start;
    align-self: start;
}
.dit-category-lead {
    background: #fff;

    border: 1px solid #e5e5e5;
}

.dit-category-lead-image {
    height: 290px;

    background: #222;

    overflow: hidden;
}

.dit-category-lead-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.dit-category-body {
    padding: 17px;
}

.dit-category-title {
    margin: 7px 0 10px;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 800;
}

.dit-category-title a {
    color: #151515;

    text-decoration: none;
}

.dit-category-item {
    display: grid;

    grid-template-columns:
        125px
        minmax(0,1fr);

    gap: 13px;

    background: #fff;

    border: 1px solid #e5e5e5;

    padding: 10px;
}

.dit-category-item-image {
    height: 88px;

    overflow: hidden;

    background: #222;
}

.dit-category-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.dit-category-item-title {
    margin: 4px 0;

    font-size: 15px;

    line-height: 1.35;

    font-weight: 750;
}

.dit-category-item-title a {
    color: #151515;

    text-decoration: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:991px){

    .dit-single-slider {
        height: 390px;
    }

    .dit-slide-title {
        font-size: 30px;
    }

    .dit-trending-layout {
        grid-template-columns: 1fr;
    }

    .dit-category-grid {
        grid-template-columns: 1fr;
    }

}

@media(max-width:767px){

    .dit-home-container {
        width: calc(100% - 20px);
    }

    .dit-breaking-date {
        display: none;
    }

    .dit-single-slider {
        height: 350px;
    }

    .dit-slide-content {
        padding: 25px;
    }

    .dit-slide-title {
        font-size: 25px;
    }

    .dit-feature-grid {
        grid-template-columns: 1fr 1fr;

        grid-template-rows:
            300px
            210px;
    }

    .dit-feature-card-large {
        grid-column: 1 / span 2;

        grid-row: auto;
    }

    .dit-feature-card-large
    .dit-feature-title {
        font-size: 26px;
    }

    .dit-trending-lead {
        grid-template-columns: 1fr;
    }

}

@media(max-width:575px){

    .dit-breaking-inner {
        min-height: 50px;
    }

    .dit-breaking-item {
        font-size: 12px;
    }

    .dit-single-slider {
        height: 310px;
    }

    .dit-slide-title {
        font-size: 22px;
    }

    .dit-slide-content {
        padding: 18px;
    }

    .dit-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .dit-feature-grid {
        display: flex;

        flex-direction: column;
    }

    .dit-feature-card,
    .dit-feature-card-large {
        min-height: 245px;

        height: 245px;
    }

    .dit-feature-card-large {
        min-height: 300px;

        height: 300px;
    }

    .dit-trending-item {
        grid-template-columns:
            105px
            minmax(0,1fr);
    }

    .dit-small-image {
        height: 85px;
    }

    .dit-category-item {
        grid-template-columns:
            95px
            minmax(0,1fr);
    }

    .dit-category-item-image {
        height: 78px;
    }

}

.site-navbar {
    padding: 7px 0;
}

.site-navbar .container {
    min-width: 0;
}

.site-logo-wrap {
    width: 68px;
    height: 68px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.site-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.site-navbar .navbar-toggler {
    width: 50px;
    height: 46px;
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 8px;
    flex: 0 0 auto;
}

.site-navbar .navbar-collapse {
    min-width: 0;
}

.site-navbar .navbar-nav {
    gap: 2px;
}

.site-navbar .nav-link {
    white-space: nowrap;
}

/* Logged-in user profile image */
.user-profile-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 6px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid rgba(255,255,255,.85);
    flex: 0 0 38px;
    vertical-align: middle;
}

.user-profile-nav img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-profile-fallback {
    color: #212529;
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .user-profile-nav {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        margin-right: 8px;
    }
}

@media (max-width: 991.98px) {

    .top-social-inner {
        gap: 8px;
    }

    .top-social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px 10px;
    }

    .site-navbar {
        padding: 6px 0;
    }

    .site-logo-wrap {
        width: 60px;
        height: 60px;
    }

    .site-navbar .navbar-collapse {
        margin-top: 7px;
        padding: 8px 0 10px;
        border-top: 1px solid rgba(255,255,255,.15);
    }

    .site-navbar .navbar-nav {
        width: 100%;
    }

    .site-navbar .nav-link {
        padding: 10px 8px;
    }

    .top-social-links a {
        font-size: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .top-social-links a i {
        font-size: 1.05rem !important;
        line-height: 1;
    }
}

@media (max-width: 575.98px) {

    .top-social-bar {
        padding: 7px 10px !important;
    }

    .top-social-inner {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .top-social-links {
        width: 100%;
        justify-content: center;
        gap: 3px 10px;
    }

    .top-social-links a {
        margin-right: 0 !important;
        width: 30px;
        height: 30px;
    }

    .top-social-links a i {
        font-size: 1rem !important;
    }

    .site-navbar .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-logo-wrap {
        width: 58px;
        height: 58px;
        padding: 3px;
    }

    .site-navbar .navbar-toggler {
        width: 48px;
        height: 44px;
    }

    .site-navbar .navbar-collapse {
        width: 100%;
    }

    .site-navbar .navbar-nav {
        align-items: stretch;
    }

    .site-navbar .nav-link {
        width: 100%;
        padding: 10px 12px;
        border-radius: 6px;
    }

    .site-navbar .nav-link:hover,
    .site-navbar .nav-link:focus {
        background: rgba(255,255,255,.08);
    }
}


/* =====================================================
   PRIVATE PANEL MENU
   ===================================================== */
.private-panel-menu .dropdown-toggle {
    white-space: nowrap;
}

.private-panel-menu .dropdown-menu {
    min-width: 220px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 7px;
}

.private-panel-menu .dropdown-item {
    border-radius: 7px;
    padding: 9px 12px;
    font-weight: 500;
}

.private-panel-menu .dropdown-item.active,
.private-panel-menu .dropdown-item:active {
    background: #dc3545;
    color: #fff;
}

@media (max-width: 991.98px) {
    .private-panel-menu .dropdown-menu {
        width: 100%;
        min-width: 0;
        margin-top: 4px;
    }
}
/*===================================News.php===================================*/
.dit-news-page {
    background: #f7f8fa;
    padding: 54px 0 70px;
    min-height: 600px;
}

.dit-news-heading {
    font-size: 2.65rem;
    line-height: 1.15;
    font-weight: 800;
    color: #252a2f;
    margin: 0 0 24px;
}

.dit-news-layout {
    align-items: flex-start;
}

.dit-news-list-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
    transition: transform .18s ease, box-shadow .18s ease;
}

.dit-news-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
}

.dit-news-card-image-link {
    display: block;
    background: #eef1f5;
    text-decoration: none;
}

.dit-news-card-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.dit-news-card-placeholder {
    width: 100%;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a94a6;
    background: #eef1f5;
    font-size: 3.5rem;
}

.dit-news-card-body {
    padding: 18px 18px 16px;
}

.dit-news-badge {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    border-radius: 5px;
    padding: 4px 9px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.dit-news-title {
    color: #18202a;
    font-size: 1.72rem;
    line-height: 1.28;
    font-weight: 750;
    margin: 0 0 8px;
}

.dit-news-title a {
    color: inherit;
    text-decoration: none;
}

.dit-news-title a:hover {
    color: #dc3545;
}

.dit-news-meta {
    color: #64748b;
    font-size: .94rem;
    margin-bottom: 16px;
}

.dit-news-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dit-news-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #dee2e6;
    background: #f1f3f5;
    vertical-align: middle;
}

.dit-news-author-avatar-fallback {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
}

.dit-news-ad {
    margin-top: 20px;
    background: #fff;
    border-radius: 6px;
    padding: 19px 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
}

.dit-news-ad h2 {
    color: #18202a;
    font-size: 1.25rem;
    font-weight: 750;
    margin: 0 0 18px;
}

.dit-news-ad-label {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

.dit-news-ad-box {
    width: 100%;
    min-height: 280px;
    border: 1px dashed #cbd5e1;
    border-radius: 5px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #94a3b8;
    padding: 5px;
}

.dit-news-ad-box strong {
    display: block;
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 5px;
}

.dit-news-ad-box span {
    font-size: .82rem;
}

.dit-news-excerpt {
    color: #17202a;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.dit-news-engagement {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid #edf0f3;
}

.dit-news-engagement-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4b5563;
    background: #fff;
    border: 1px solid #d9dee5;
    border-radius: 999px;
    padding: 6px 10px;
    text-decoration: none;
    font-size: .86rem;
    line-height: 1;
    transition: .18s ease;
}

.dit-news-engagement-link:hover {
    color: #111827;
    border-color: #9ca3af;
    background: #f8fafc;
}

.dit-news-engagement-link.like:hover {
    color: #dc3545;
    border-color: #dc3545;
}

.dit-news-engagement-link.share:hover {
    color: #0d6efd;
    border-color: #0d6efd;
}

.dit-news-engagement-link.comment:hover {
    color: #212529;
    border-color: #212529;
}

.dit-news-engagement-link.view {
    color: #6b7280;
    cursor: default;
}

.dit-news-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #17202a;
    background: #fff;
    border: 1px solid #343a40;
    border-radius: 5px;
    padding: 7px 11px;
    text-decoration: none;
    font-size: .94rem;
    transition: .18s ease;
}

.dit-news-read:hover {
    color: #fff;
    background: #212529;
}

.dit-news-sidebar {
    background: #fff;
    border-radius: 6px;
    padding: 19px 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
}

.dit-news-sidebar h2 {
    color: #18202a;
    font-size: 1.25rem;
    font-weight: 750;
    margin: 0 0 18px;
}

.dit-news-sidebar p {
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 17px;
}

.dit-news-social {
    display: block;
    width: 100%;
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 9px;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    font-size: .94rem;
}

.dit-news-social.youtube {
    background: #dc3545;
}

.dit-news-social.facebook {
    background: #0d6efd;
}

.dit-news-social.instagram {
    background: #212529;
}

.dit-news-empty,
.dit-news-error {
    background: #fff;
    border-radius: 6px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
}

@media (max-width: 991.98px) {
    .dit-news-heading {
        font-size: 2.25rem;
    }

    .dit-news-sidebar {
        margin-top: 4px;
    }

    .dit-news-ad {
        margin-top: 16px;
    }
}

@media (max-width: 575.98px) {
    .dit-news-page {
        padding-top: 35px;
    }

    .dit-news-heading {
        font-size: 1.95rem;
    }

    .dit-news-title {
        font-size: 1.38rem;
    }

    .dit-news-card-image,
    .dit-news-card-placeholder {
        height: 220px;
    }

    .dit-news-card-body {
        padding: 16px;
    }

    .dit-news-engagement-link {
        padding: 6px 9px;
        font-size: .82rem;
    }
}
/* =========================================
   DIT MEDIA NETWORK - RESPONSIVE ARTICLE TABLE
   ========================================= */

.dit-article-content table {
    width: 100%;
    max-width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #ffffff;
    border: 1px solid #d9e1e8;
    font-size: 16px;
    line-height: 1.5;
}

.dit-article-content table th,
.dit-article-content table td {
    padding: 13px 16px;
    border: 1px solid #d9e1e8;
    text-align: left;
    vertical-align: middle;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
}

.dit-article-content table th {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
}

.dit-article-content table td {
    color: #475569;
    background: #ffffff;
}

.dit-article-content table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.dit-article-content table tbody tr:hover td {
    background: #f1f5f9;
}


/* TABLET */
@media (max-width: 768px) {

    .dit-article-content table {
        width: 100%;
        table-layout: fixed;
        font-size: 14px;
    }

    .dit-article-content table th,
    .dit-article-content table td {
        padding: 10px 9px;
        word-break: normal;
        overflow-wrap: anywhere;
    }
}


/* MOBILE */
@media (max-width: 576px) {

    .dit-article-content table {
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
        table-layout: auto;
        font-size: 13px;
    }

    .dit-article-content table th,
    .dit-article-content table td {
        padding: 9px 7px;
        font-size: 13px;
        line-height: 1.4;
        word-break: normal;
        overflow-wrap: anywhere;
        white-space: normal;
    }
}

.dit-article-content table td:nth-child(2) {
    white-space: nowrap;
}

/* DIT ARTICLE TABLE - FINAL MOBILE FIX */
.dit-article-content table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
}

.dit-article-content table th,
.dit-article-content table td {
    width: auto !important;
    padding: 9px 8px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    vertical-align: middle !important;
}

/* Equal columns for 3-column tables */
.dit-article-content table th:nth-child(1),
.dit-article-content table td:nth-child(1),
.dit-article-content table th:nth-child(2),
.dit-article-content table td:nth-child(2),
.dit-article-content table th:nth-child(3),
.dit-article-content table td:nth-child(3) {
    width: 33.333% !important;
}

/* Don't allow score values to break */
.dit-article-content table th:nth-child(2),
.dit-article-content table td:nth-child(2) {
    white-space: nowrap !important;
}

/* Mobile */
@media (max-width: 576px) {

    .dit-article-content table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    .dit-article-content table th,
    .dit-article-content table td {
        padding: 8px 6px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }
}

/* VERY SMALL MOBILE */
@media (max-width: 380px) {

    .dit-article-content table {
        font-size: 12px;
    }

    .dit-article-content table th,
    .dit-article-content table td {
        padding: 8px 6px;
        font-size: 12px;
    }
}

/*========================================Article.php=========================================*/

.dit-article-page {
    background: #f7f8fa;
    padding: 42px 0 70px;
}

.dit-article-shell {
    max-width: 900px;
    margin: 0 auto;
}

.dit-article-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.dit-article-header {
    padding: 30px 32px 20px;
}

.dit-article-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    font-weight: 800;
    color: #111827;
}

.dit-article-author {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.dit-article-author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #dee2e6;
    background: #f1f3f5;
}
.dit-article-author-avatar-fallback {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    background: #f1f3f5;
    color: #495057;
}
.dit-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: #6b7280;
    font-size: .92rem;
}

.dit-article-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.dit-article-content {
    padding: 30px 32px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #20242a;
}

.dit-article-content p {
    margin-bottom: 1.25rem;
}

.dit-engagement {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 32px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.dit-engagement form {
    margin: 0;
}

.dit-engagement .btn {
    min-width: 105px;
    border-radius: 999px;
}

.dit-comments {
    padding: 28px 32px 34px;
}

.dit-comment-item {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

.dit-comment-item:last-child {
    border-bottom: 0;
}

.dit-comment-author {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
}

.dit-comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 34px;
    border: 1px solid #dee2e6;
    background: #f1f3f5;
}

.dit-comment-avatar-fallback {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
}

.dit-comment-reply {
    margin-left: min(calc(var(--reply-depth, 1) * 38px), 190px);
    padding-left: 18px;
    border-left: 3px solid #e9ecef;
}

.dit-comment-tree .dit-comment-item {
    position: relative;
}

.dit-comment-tree .dit-comment-item + .dit-comment-item {
    margin-top: 2px;
}

.dit-reply-form {
    display: none;
    margin-top: 12px;
}

.dit-reply-form textarea {
    min-height: 90px;
}

.dit-comment-rules {
    font-size: .86rem;
    color: #6b7280;
}

.dit-comment-warning {
    display: none;
    margin-top: 8px;
}

/* ---------------------------------------------------------------
 * NEWS-STYLE ARTICLE SIDEBAR
 * --------------------------------------------------------------- */
.dit-article-layout {
    align-items: flex-start;
}

.dit-article-back {
    margin-bottom: 0;
}

.dit-article-main {
    min-width: 0;
}

.dit-article-sidebar {
    position: sticky;
    top: 24px;
}

.dit-article-connect,
.dit-article-ad {
    background: #fff;
    border-radius: 6px;
    padding: 19px 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
}

.dit-article-connect h2,
.dit-article-ad h2 {
    color: #18202a;
    font-size: 1.25rem;
    font-weight: 750;
    margin: 0 0 18px;
}

.dit-article-connect p {
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 17px;
}

.dit-article-social {
    display: block;
    width: 100%;
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 9px;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    font-size: .94rem;
}

.dit-article-social.youtube {
    background: #dc3545;
}

.dit-article-social.facebook {
    background: #0d6efd;
}

.dit-article-social.instagram {
    background: #212529;
}

.dit-article-ad {
    margin-top: 20px;
}

.dit-article-ad-label {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

.dit-article-ad-box {
    min-height: 280px;
    width: 100%;
    border: 1px dashed #cbd5e1;
    border-radius: 5px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #94a3b8;
    padding: 20px;
}

.dit-article-ad-box strong {
    display: block;
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 5px;
}

.dit-article-ad-box span {
    font-size: .82rem;
}

@media (max-width: 991.98px) {
    .dit-article-sidebar {
        position: static;
    }
}


/* ---------------------------------------------------------------
 * COMMENT TREE: TWO LEVELS VISIBLE + CLICK TO REVEAL CHILDREN
 * --------------------------------------------------------------- */
.dit-comment-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
}


/* ---------------------------------------------------------------
 * TOP-LEVEL COMMENTS: show 1, then reveal next 5.
 * The Read More counter uses the total approved comment/reply count.
 * Reply tree underneath each parent remains unchanged.
 * --------------------------------------------------------------- */
.dit-parent-comment-list > .dit-comment-item {
    display: none;
}

.dit-parent-comment-list > .dit-comment-item.dit-parent-visible {
    display: block;
}

.dit-parent-comments-more {
    margin-top: 18px;
    padding-top: 8px;
    text-align: center;
}

.dit-parent-comments-more .btn {
    min-width: 190px;
}

.dit-comment-children-visible {
    margin-top: 12px;
}

.dit-comment-children-hidden {
    margin-top: 12px;
    padding-left: 14px;
    border-left: 2px solid #e9ecef;
}

.dit-comment-children-hidden[hidden] {
    display: none !important;
}

.js-child-replies-button {
    transition: .18s ease;
}

.js-child-replies-button.is-open {
    background: #212529;
    border-color: #212529;
    color: #fff;
}

@media (max-width: 767px) {
    .dit-comment-actions .btn {
        min-height: 38px;
    }

    .dit-comment-children-hidden {
        padding-left: 9px;
    }
}

@media (max-width: 767px) {
    .dit-comment-reply {
        margin-left: min(calc(var(--reply-depth, 1) * 18px), 110px);
        padding-left: 12px;
    }
}

.dit-share-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dit-gallery {
    position: relative;
    background: #111;
}

.dit-gallery-count {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    background: rgba(0,0,0,.65);
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .82rem;
}

.dit-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: 1.2rem;
}

.dit-gallery-prev { left: 14px; }
.dit-gallery-next { right: 14px; }

@media (max-width: 767px) {
    .dit-article-page {
        padding: 20px 0 45px;
    }

    .dit-article-header,
    .dit-article-content,
    .dit-comments {
        padding-left: 18px;
        padding-right: 18px;
    }

    .dit-engagement {
        padding: 16px 18px;
    }

    .dit-engagement .btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }
}

/* =========================================================
   ADVERTISEMENT BOX
   ========================================================= */

.dit-news-ad-box {
    overflow: hidden;
}

.dit-news-ad-content {
    text-align: center;
    margin-bottom: 18px;
}

.dit-news-ad-content strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.dit-news-ad-content span {
    display: block;
    font-size: 13px;
    color: #8a94a6;
}


/* =========================================================
   AD SLIDER
   ========================================================= */

.dit-news-ad-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0px;
    background: #f5f7fa;
}

.dit-news-ad-slides {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.dit-news-ad-slide {
    flex: 0 0 100%;
    width: 100%;
    display: block;
    text-decoration: none;
}

.dit-news-ad-slide img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 0;
}


/* =========================================================
   SLIDER DOTS
   ========================================================= */

.dit-news-ad-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    z-index: 5;
}

.dit-news-ad-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.65);
    cursor: pointer;
    transition: all .25s ease;
}

.dit-news-ad-dots button.active {
    width: 22px;
    border-radius: 10px;
    background: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .dit-news-ad-slide img {
        height: 210px;
    }

    .dit-news-ad-content strong {
        font-size: 17px;
    }

    .dit-news-ad-content span {
        font-size: 12px;
    }
}