/*
Theme Name: JANHITKARI
Description: Main stylesheet for JANHITKARI Theme
*/

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --ink: #181818;
    --muted: #767676;
    --surface: #ffffff;
    --surface-2: #F7F7F7;
    --surface-3: #EDEDED;
    --line: #E0E0E0;
    --accent: #da251d;
    --accent-deep: #b40309;
    --red: #da251d;
    --red-secondary: #ed1c24;
    --light-grey: #f0efef;
    --grey: #767676;
    --darkgrey: #565656;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #1b1b1b;
    --border-color: #f1f1f1;
    --card-border: #f3f3f3;
    --footer-bg: #181818;
    --font-primary: 'Poppins', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
    --container-width: 1000px;
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --dur-fast: 200ms;
    --dur: 700ms;
    --dur-reveal: 800ms;
    --shadow-1: 0 1px 2px rgba(24,24,24,.04), 0 4px 12px rgba(24,24,24,.06);
    --shadow-2: 0 8px 24px rgba(24,24,24,.10);
    --ring: var(--accent);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1.5;
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
   Typography (Google Fonts preconnected & linked in HTML head)
   ========================================================================== */

h1 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 600;
    color: var(--text-dark);
}

h2, .h1 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--text-dark);
}

.h3 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--text-dark);
}

p {
    font-size: 16px;
    line-height: 24px;
    color: var(--ink);
    margin-bottom: 1rem;
}

a {
    color: var(--black);
    text-decoration: none;
    background-image: none;
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: color var(--dur-fast) var(--ease), background-size var(--dur-fast) var(--ease);
}

a:hover, a:focus {
    color: var(--red);
    background-size: 100% 2px;
}

/* Specific elements where we don't want the red underline */
.header a, .footer a, .nav a, .btn, .social a, .commonList a {
    background-image: none;
}
.header a:hover, .footer a:hover, .nav a:hover, .btn:hover, .social a:hover, .commonList a:hover {
    color: var(--red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 12px;
    position: relative;
    width: 100%;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.leftSection {
    width: 630px;
    float: left;
}

.rightSection {
    width: 328px;
    float: right;
}

.row > .leftSection,
.row > .rightSection {
    float: none;
    width: 100%;
}

@media (min-width: 992px) {
    .row > .col-lg-8.leftSection {
        width: 66.66666667%;
    }
    .row > .col-lg-4.rightSection {
        width: 33.33333333%;
    }
}

.width300 {
    width: 300px;
}

.full-container {
    width: 100%;
}

/* ==========================================================================
   Header - Pixel Accurate InextLive Clone (https://www.inextlive.com/)
   ========================================================================== */
header {
    width: 100%;
    background: #ffffff;
    margin-bottom: 0;
    position: relative;
    z-index: 1000;
}

.header {
    width: 100%;
    background: #ffffff;
    position: relative;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

body.fixedHd .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(24, 24, 24, 0.09);
}

/* Header Top Row */
.container.header-top {
    max-width: var(--container-width);
    height: 52px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Left: Brand Logo & City Selector */
.choose-state {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-1 {
    display: flex;
    align-items: center;
}

.logo-1 a.logonew {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    background: none !important;
    transition: opacity var(--dur-fast) var(--ease);
}
.logo-1 a.logonew:hover {
    opacity: 0.85;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -0.03em;
    font-family: var(--font-primary);
    line-height: 1;
}

.logo-badge {
    background: var(--ink);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.choose-state i.cs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
    margin-left: 4px;
}
.choose-state i.cs-icon:hover {
    opacity: 1;
}

.choose-state span.choose-state1 a {
    font-size: 12px;
    color: #444444;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 4px;
    min-height: 38px;
    transition: color 0.2s;
    background: none !important;
}
.choose-state span.choose-state1 a:hover {
    color: var(--red);
}
.choose-state .arrow-down {
    font-size: 12px;
    color: #888888;
}

/* Right: Top Menu */
.hd-right {
    display: flex;
    align-items: center;
}

.hdr-topmenu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hdr-topmenu li {
    padding: 0 12px;
    border-left: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    height: 20px;
}

.hdr-topmenu li:first-child {
    border-left: none;
}

.hdr-topmenu li a.headerga:not(.login-link) {
    font-size: 12px;
    color: #565656;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
    background: none !important;
}

.hdr-topmenu li a.headerga:not(.login-link):hover {
    color: var(--red);
}

.user-badge-link {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--red) !important;
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--surface-2) !important;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--line);
}
.user-badge-link .user-dot {
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    display: inline-block;
}

.hdr-topmenu li a.headerga.login-link,
.login-link {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    border: 1px solid #dddddd;
    padding: 2px 8px;
    border-radius: 4px;
    background: transparent !important;
    background-image: none !important;
    text-decoration: none !important;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease) !important;
}

.hdr-topmenu li a.headerga.login-link:hover,
.hdr-topmenu li a.headerga.login-link:focus,
.login-link:hover,
.login-link:focus {
    background: var(--red) !important;
    background-color: var(--red) !important;
    color: #ffffff !important;
    border-color: var(--red) !important;
    text-decoration: none !important;
}

.searchicon-1 {
    cursor: pointer;
    color: #565656;
    display: flex;
    align-items: center;
    background: none !important;
    transition: color 0.2s;
    padding: 2px;
}
.searchicon-1:hover {
    color: var(--red);
}

.menuIcon.menu {
    cursor: pointer;
    color: #565656;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    padding: 2px;
}
.menuIcon.menu:hover {
    color: var(--red);
}

/* Row 2: InextLive 4-Color Strip & Category Bar */
.header-menu {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}

.top-strip {
    width: 100%;
    display: flex;
    height: 3px;
    overflow: hidden;
}
.top-strip b {
    display: block;
    height: 3px;
    width: 25%;
    float: left;
}
.top-strip b.red, .top-strip b:nth-child(1) { background: #b40309; }
.top-strip b.orange, .top-strip b:nth-child(2) { background: #f58220; }
.top-strip b.l-orange, .top-strip b:nth-child(3) { background: #fcba12; }
.top-strip b.yellow, .top-strip b:nth-child(4) { background: #fff200; }

.header-menu .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 12px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.MainLMenu {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.MainLMenu::-webkit-scrollbar {
    display: none;
}

.MainLMenu ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.MainLMenu ul li {
    flex-shrink: 0;
}

.MainLMenu ul li a {
    display: block;
    padding: 0 12px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 38px;
    color: #000000;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s var(--ease);
    white-space: nowrap;
    background: none !important;
    position: relative;
}

.MainLMenu ul li:first-child a {
    padding-left: 0;
}

.MainLMenu ul li a:hover,
.MainLMenu ul li.active a {
    color: var(--red);
}

.MainLMenu ul li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--red);
}
.MainLMenu ul li:first-child.active a::after {
    left: 0;
}

.MainRMenu {
    flex-shrink: 0;
    margin-left: 12px;
}

.MainRMenu a {
    background: #ed1c24;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff !important;
    padding: 4px 12px;
    border-radius: 4px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    background-image: none !important;
}
.MainRMenu a:hover {
    background: #b40309;
    color: #ffffff !important;
}
.MainRMenu a i {
    font-style: normal;
    font-size: 12px;
}

/* City Selector Popup (#popup2) */
.city-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 24, 24, 0.7);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.city-popup-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.stateDropdown {
    width: 580px;
    max-width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    margin: auto;
    background: var(--surface-2);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(24, 24, 24, 0.4);
    transform: scale(0.95);
    transition: transform 0.25s var(--ease);
}

.city-popup-modal.is-open .stateDropdown {
    transform: scale(1);
}

.topHd {
    background: #ed1c24;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 16px;
    position: relative;
    text-align: center;
}

.topHd .closeIcon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    background: none !important;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.topHd .closeIcon:hover {
    opacity: 0.8;
    transform: translateY(-50%) scale(1.1);
}

.dropList {
    max-height: 400px;
    overflow-y: auto;
}
.dropList:not(.row) {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0;
    list-style: none;
}

.dropList li a.choosecity {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(24, 24, 24, 0.05);
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
    border: 1px solid #f0f0f0;
    background-image: none !important;
}
.dropList li a.choosecity:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 37, 29, 0.15);
    border-color: var(--red);
}

.city-badge {
    width: 30px;
    height: 30px;
    background: var(--surface-2);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-style: normal;
    margin-bottom: 4px;
}

.dropList li a.choosecity span {
    font-size: 12px;
    font-weight: 600;
    color: #333333;
}
.dropList li a.choosecity:hover span {
    color: var(--red);
}

/* Search Overlay */
.search_popupon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999999991;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.search_popupon.is-open,
.search_popupon.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.search_popupon .close-popup {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #767676;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #767676;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.search_popupon .close-popup:hover {
    color: var(--red);
    border-color: var(--red);
}

.search_popupon .search_col {
    max-width: 650px;
    width: 90%;
    text-align: center;
    margin: auto;
    transform: translateY(-14px);
    transition: transform 0.25s var(--ease);
}

.search_popupon.is-open .search_col {
    transform: translateY(0);
}

.search-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 4px;
}
.search-modal-desc {
    font-size: 14px;
    color: #767676;
    margin-bottom: 24px;
}

.search-modal-form {
    display: flex;
    gap: 12px;
    border-bottom: 3px solid var(--red);
    padding-bottom: 12px;
}
.search-modal-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 20px;
    color: var(--ink);
    background: transparent;
    font-family: var(--font-primary);
}
.search-modal-form input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.search-modal-submit {
    background: var(--red);
    color: #ffffff;
    border: none;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.search-modal-submit:hover {
    background: #b40309;
}

/* Live Search Suggestions Dropdown */
.search-suggestions-box {
    max-height: 360px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 25px rgba(24, 24, 24, 0.12);
}
.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-bottom: 1px solid var(--surface-3);
    text-decoration: none;
    color: #181818;
    transition: background var(--dur-fast) var(--ease);
}
.search-suggestion-item:last-child {
    border-bottom: none;
}
.search-suggestion-item:hover,
.search-suggestion-item:focus {
    background: var(--surface-2);
    color: var(--red, #da251d);
}
.search-suggestion-thumb {
    width: 52px;
    height: 38px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.search-suggestion-title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

/* Floating Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red, #da251d);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(24, 24, 24, 0.25);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #b40309;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 24, 24, 0.3);
}

/* Directory Drawer */
.menuNavigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999999;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.menuNavigation.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}
.drawer-header {
    background: var(--surface-2);
    border-bottom: 1px solid #eaeaea;
    padding: 12px 0;
}
.drawer-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}
.close-drawer {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.close-drawer:hover {
    color: var(--red);
    border-color: var(--red);
}
.drawer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid var(--red);
    padding-bottom: 4px;
    margin-bottom: 12px;
}
.drawer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.drawer-list li {
    margin-bottom: 8px;
}
.drawer-list li a {
    color: #444;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
    background: none !important;
}
.drawer-list li a:hover {
    color: var(--red);
}

@keyframes popFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   News Boxes & Cards
   ========================================================================== */
.newsBox {
    width: 100%;
    padding-bottom: 48px;
    border-bottom: 3px solid var(--light-grey);
    margin-bottom: 48px;
    clear: both;
}

.MainHd {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 5;
}

.MainHd h1, .MainHd h2 {
    font-size: 1.25rem;
    line-height: 38px;
    margin: 0;
    position: relative;
}
.MainHd h1::after, .MainHd h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    pointer-events: none;
}

.aarPadhe {
    padding: 4px 12px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: 4px;
    color: var(--red);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none !important;
    background-image: none !important;
}
.aarPadhe:hover, .aarPadhe:focus {
    background: var(--red);
    color: var(--white) !important;
    border-color: var(--red);
    background-image: none !important;
}

/* ==========================================================================
   Primary Red Outline Theme (Auth Submit Buttons & .view-all-btn)
   Matches "और पढ़ें" (.aarPadhe) design system
   ========================================================================== */
.btn-auth-submit,
.view-all-btn,
.copy-link {
    color: var(--red, #da251d) !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid var(--red, #da251d) !important;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease) !important;
    text-decoration: none !important;
}

.btn-auth-submit:hover,
.btn-auth-submit:focus,
.btn-auth-submit:active,
.view-all-btn:hover,
.view-all-btn:focus,
.view-all-btn:active,
.copy-link:hover,
.copy-link:focus,
.copy-link:active {
    color: #ffffff !important;
    background-color: var(--red, #da251d) !important;
    background: var(--red, #da251d) !important;
    border-color: var(--red, #da251d) !important;
    box-shadow: 0 4px 12px rgba(218, 37, 29, 0.2);
}

.copy-link.copy-success,
.copy-link.border-success {
    background-color: var(--red, #da251d) !important;
    background: var(--red, #da251d) !important;
    border-color: var(--red, #da251d) !important;
    color: #ffffff !important;
}

.copy-link .bi-check2,
.copy-link.copy-success .bi-check2,
.copy-link.border-success .bi-check2 {
    color: #ffffff !important;
}

/* Bootstrap .btn-outline-danger consistency */
.btn-outline-danger {
    --bs-btn-color: var(--red, #da251d);
    --bs-btn-border-color: var(--red, #da251d);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--red, #da251d);
    --bs-btn-hover-border-color: var(--red, #da251d);
    --bs-btn-focus-shadow-rgb: 218, 37, 29;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--red, #da251d);
    --bs-btn-active-border-color: var(--red, #da251d);
    color: var(--red, #da251d);
    border-color: var(--red, #da251d);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    color: #ffffff !important;
    background-color: var(--red, #da251d) !important;
    border-color: var(--red, #da251d) !important;
}

.firstImg:not(.row) {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.firstImg:not(.row) li {
    width: 32.6%;
    margin-bottom: 16px;
}

.firstImg figure {
    position: relative;
    height: 186px;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 4px;
    background: var(--light-grey);
}

.firstImg figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.firstImg figure::before {
    display: none;
}

.firstImg li:hover figure img {
    transform: scale(1.05);
}

.firstImg aside span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 12px;
}
.firstImg aside span a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}
.firstImg aside span small {
    color: var(--grey);
}

.firstImg .h3 {
    font-size: 0.875rem;
    line-height: 1.45;
    min-height: 4.2em;
    overflow: hidden;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.catBadge {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.videoIcon, .photoIcon {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 30px;
    height: 30px;
    background: rgba(24,24,24,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 3;
    font-size: 14px;
    transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.videoIcon:hover, .photoIcon:hover {
    transform: scale(1.1);
    background: var(--accent);
}

/* ==========================================================================
   Common List / Grid
   ========================================================================== */
.commonList:not(.row) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
}

.commonList:not(.row) li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-left: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.commonList li figure {
    height: 112px;
    overflow: hidden;
    margin-bottom: 8px;
    border-radius: 4px;
    background: var(--light-grey);
}
.commonList li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}
.commonList li:hover figure img {
    transform: scale(1.05);
}

.commonList li span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 12px;
}
.commonList li span a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}
.commonList li span small {
    color: var(--grey);
}

.commonList li .h3 {
    font-size: 0.875rem;
    line-height: 1.4;
    min-height: 4em;
    color: var(--darkgrey);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0;
}
.commonList li:hover .h3 {
    color: var(--red);
}

@media (max-width: 575.98px) {
    .firstImg.row .h3 {
        height: auto;
    }
    .commonList.row .commonList-card {
        border-bottom: 1px solid #f3f3f3;
        padding-bottom: 12px;
    }
    .commonList.row > li:last-child .commonList-card {
        border-bottom: none;
        padding-bottom: 0;
    }
    .commonList.row .commonList-thumb figure {
        width: 114px;
        height: 76px;
        margin-bottom: 0;
        margin-right: 12px;
    }
    .commonList.row li .h3 {
        height: auto;
        font-size: 0.875rem;
    }
    .category-item-card {
        border-bottom: 1px solid #f3f3f3;
        padding-bottom: 12px;
    }
    .row > .col:last-child .category-item-card {
        border-bottom: none;
        padding-bottom: 0;
    }
    .category-item-thumb {
        width: 114px;
        margin-right: 12px;
    }
    .category-item-thumb img {
        height: 76px !important;
    }
}

.commonList.categoryp1 {
    flex-wrap: wrap;
    justify-content: flex-start;
}
.commonList.categoryp1 li {
    flex: 0 0 171px;
    margin-bottom: 16px;
    border-left: none;
    border-right: 1px solid #f3f3f3;
}
.commonList.categoryp1 li:nth-child(5n) {
    border-right: none;
}

/* Variants */
.size1 li { flex: 0 0 25%; }
.size2 li { flex: 0 0 33.333%; }
.size3 li { flex: 0 0 50%; }
.size4 li { flex: 0 0 100%; }

/* ==========================================================================
   Trending Section
   ========================================================================== */
.trandingList {
    border-bottom: 3px solid var(--light-grey);
    max-width: var(--container-width);
    margin: 0 auto 4px;
    padding: 8px 0 4px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.tranding-hd {
    font-weight: 600;
    color: var(--red);
    margin-right: 12px;
    line-height: 1.2;
    display: flex;
    align-items: center;
}
.tranding-hd i {
    margin-right: 4px;
}

.trandingList ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.trandingList li {
    padding: 0 12px;
    position: relative;
}
.trandingList .h3 {
    line-height: 1.2;
}
.trandingList li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--grey);
    border-radius: 50%;
}
.trandingList li:last-child::after {
    display: none;
}

.trandingList li a {
    font-size: 0.875rem;
    color: var(--darkgrey);
}
.trandingList li a:hover {
    color: var(--red);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrum {
    width: 100%;
    padding: 12px 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrum li {
    font-size: 12px;
    color: var(--grey);
    display: flex;
    align-items: center;
}

.breadcrum li a {
    color: var(--darkgrey);
}

.breadcrum li a:hover {
    color: var(--red);
}

.breadcrum li::after {
    content: '»';
    margin: 0 8px;
    color: var(--grey);
}
.breadcrum li:last-child::after {
    display: none;
}
.breadcrum li:last-child {
    color: var(--red);
}

/* ==========================================================================
   Single Article
   ========================================================================== */
.single-article {
    background: var(--white);
    padding-bottom: 40px;
}

.article-header {
    margin-bottom: 24px;
}

.article-header h1 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 36px;
}

.article-meta {
    display: flex;
    align-items: center;
    color: var(--grey);
    font-size: 0.875rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.article-meta span {
    margin-right: 12px;
}

.article-featured-image {
    margin-bottom: 32px;
    border-radius: 4px;
    overflow: hidden;
}
.article-featured-image img {
    width: 100%;
    height: auto;
}
.article-featured-image figcaption {
    font-size: 0.75rem;
    color: var(--grey);
    padding: 8px 0;
    text-align: right;
}

.article-content {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-dark);
    max-width: 65ch;
}

.article-content p {
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

.article-content h2, .article-content h3 {
    margin: 2rem 0 1rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.article-content ul {
    list-style: disc;
}
.article-content ol {
    list-style: decimal;
}
.article-content li {
    margin-bottom: 0.5rem;
}
.article-content blockquote {
    border-left: 4px solid var(--red);
    padding-left: 16px;
    margin: 2rem 0;
    font-size: 1.2rem;
    color: var(--darkgrey);
}

.author-box {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--light-grey);
    border-radius: 4px;
    margin: 40px 0;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 16px;
    overflow: hidden;
}
.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--darkgrey);
}

.related-posts {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}
.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.related-grid article .post-thumbnail {
    height: 140px;
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
}
.related-grid article .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-grid article h4 {
    font-size: 0.875rem;
    line-height: 1.4rem;
    font-weight: 500;
}

/* ==========================================================================
   Breaking News Marquee Ticker (Infinite Loop Single Line)
   ========================================================================== */
.breaking-news-bar {
    background: #ffffff;
    border-top: none;
    border-bottom: 2px solid var(--red, #da251d);
    padding: 4px 0;
    font-size: 14px;
    position: relative;
    z-index: 90;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(24, 24, 24, 0.04);
}

.breaking-news-bar .container {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.breaking-label {
    flex-shrink: 0;
    margin-right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.badge-breaking {
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(218, 37, 29, 0.3);
    white-space: nowrap;
    text-decoration: none;
}

.badge-breaking:hover {
    color: #ffffff;
    opacity: 0.95;
}

.breaking-marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
}

.breaking-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: breakingInfiniteMarquee 80s linear infinite;
}

.breaking-marquee-wrapper:hover .breaking-marquee-track,
.breaking-marquee-track:hover {
    animation-play-state: paused;
}

.breaking-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.breaking-item {
    display: inline-flex;
    align-items: center;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 0 16px;
    white-space: nowrap;
    transition: color var(--dur-fast) var(--ease);
    line-height: 1.5;
}

.breaking-item:hover {
    color: var(--red, #da251d);
    text-decoration: underline;
}

.breaking-bullet {
    color: var(--red, #da251d);
    font-weight: 700;
    margin-right: 12px;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}

@keyframes breakingInfiniteMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .breaking-marquee-track {
        animation: none;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .breaking-news-bar {
        padding: 4px 0;
        margin-bottom: 0;
    }
    .badge-breaking {
        font-size: 12px;
        padding: 4px 8px;
    }
    .breaking-item {
        font-size: 12px;
        padding: 0 12px;
    }
    .breaking-marquee-track {
        animation-duration: 70s;
    }
}

/* Legacy Ticker support */
.ticker-wrap {
    background: #f8f8f8;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    margin-bottom: 12px;
}
.ticker-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.ticker-label {
    background: var(--red);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    margin-right: 12px;
}
.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}
.ticker-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: breakingInfiniteMarquee 70s linear infinite;
}
.ticker-scroll a {
    color: var(--text-dark);
    font-size: 0.875rem;
    margin-right: 32px;
    position: relative;
}
.ticker-scroll a::after {
    content: '|';
    position: absolute;
    right: -17px;
    color: var(--grey);
}
.ticker-scroll a:last-child::after {
    display: none;
}
.ticker-scroll a:hover {
    color: var(--red);
}

/* ==========================================================================
   Topic/Category Page
   ========================================================================== */
.topicBox {
    margin-bottom: 40px;
}
.topicList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.topicList li {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}
.topicList li:last-child {
    border-bottom: none;
}
.proimg {
    width: 32%;
    flex: 0 0 32%;
    border-radius: 4px;
    overflow: hidden;
    height: 130px;
}
.proimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}
.topicList li:hover .proimg img {
    transform: scale(1.05);
}
.protxt {
    width: 65%;
    padding-left: 16px;
}
.protxt h2, .protxt h3 {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 12px;
}
.protxt p {
    font-size: 0.875rem;
    line-height: 1.4rem;
    color: var(--darkgrey);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catBox {
    font-size: 0.75rem;
    color: var(--grey);
}
.catBox .cat {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 12px;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    padding-left: 16px;
}
.widget {
    margin-bottom: 24px;
    background: var(--surface-2);
    padding: 16px;
    border: none;
    border-radius: 4px;
}
/* Ensure Bootstrap cards inside sidebar utilize full space with zero outer padding */
.card.widget,
.widget.card {
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    background: transparent;
}
.card.widget ul,
.widget.card ul {
    margin: 0 !important;
    padding: 0 !important;
}
.card.widget ul li,
.widget.card ul li {
    border-bottom: 1px solid rgba(24, 24, 24, 0.08) !important;
}

/* "ज्यादा पढ़ी गई खबरें" Sidebar Widget - Full Space Utilization */
.most-read-card {
    padding: 0 !important;
    background: var(--surface-2);
    border: none !important;
}
.most-read-card .card-header {
    border-radius: 0;
    padding: 0.6rem 0.875rem;
}
.most-read-card .list-group {
    padding: 0 !important;
    margin: 0 !important;
}
.most-read-card .list-group-item {
    padding: 0.6rem 0.75rem !important;
    border-color: #f0f0f0;
    transition: background-color var(--dur-fast) var(--ease);
}
.most-read-card .list-group-item:hover {
    background-color: #fbfbfc;
}
.most-read-card .list-group-item:hover a {
    color: var(--red) !important;
}
.most-read-rank {
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

/* "लेटेस्ट वीडियो" Sidebar Widget - Full Space Utilization */
.video-card {
    padding: 0 !important;
    background: var(--surface-2);
    border: none !important;
}
.video-card .card-header {
    border-radius: 0;
    padding: 0.6rem 0.875rem;
}
.video-card .card-body {
    padding: 0 !important;
}
.video-card .ratio {
    border-radius: 0;
}
.video-card .video-title-wrap {
    padding: 0.6rem 0.875rem;
    background: #ffffff;
}
.video-card .video-title-wrap h6 {
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}
.widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    text-transform: uppercase;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--red);
}
.widget ul {
    list-style: none;
    padding: 0;
}
.widget ul li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}
.widget ul li:last-child {
    border-bottom: none;
}
.widget ul li a {
    color: var(--text-dark);
    font-size: 0.875rem;
    display: block;
}
.widget ul li a:hover {
    color: var(--red);
}

/* ==========================================================================
   Footer - Pixel Accurate InextLive Clone (https://www.inextlive.com/)
   ========================================================================== */
.footer-trending-wrap {
    background: var(--surface-2);
    border-top: 1px solid #eaeaea;
    border-bottom: 2px solid #eaeaea;
    padding: 12px 0;
    margin-top: 40px;
}
.trending-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    margin-right: 12px;
    flex-shrink: 0;
}
.footer-trending-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-trending-list li a {
    font-size: 12px;
    font-weight: 500;
    color: #444444;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 2px 12px;
    border-radius: 12px;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
    display: inline-block;
    background-image: none !important;
}
.footer-trending-list li a:hover {
    color: var(--red);
    border-color: var(--red);
    background: var(--surface-2);
}

/* Dark Footer */
footer {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    background: #181818;
    color: #ffffff;
}

.footer {
    display: flex;
    padding: 40px 12px 24px;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s var(--ease);
    background-image: none !important;
}

.footer .col-left:not([class*="col-"]) {
    width: 28%;
    flex-shrink: 0;
}

.footer .col-right:not([class*="col-"]) {
    width: 72%;
    padding-left: 48px;
}

.footer .logo.footerLogo {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.footer-logo-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -0.03em;
    font-family: var(--font-primary);
    line-height: 1;
}

.footer-logo-badge {
    background: var(--white);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    margin-left: 4px;
    vertical-align: middle;
}

.footerSocial {
    width: 100%;
    margin-bottom: 12px;
}

.footerSocial ul.social {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footerSocial ul.social li a.socialfooter {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.footerSocial ul.social li.fb a:hover { background: #4968ab; transform: translateY(-2px); }
.footerSocial ul.social li.tw a:hover { background: #000000; border: 1px solid #555; transform: translateY(-2px); }
.footerSocial ul.social li.yt a:hover { background: #fe3432; transform: translateY(-2px); }
.footerSocial ul.social li.wa a:hover { background: #25d366; transform: translateY(-2px); }

.footer-copyright-text {
    font-size: 12px;
    color: #888888;
    line-height: 20px;
    margin: 0;
}

.footer .link:not(.row) {
    display: flex;
    justify-content: space-between;
}

.footer .link ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .link:not(.row) ul:nth-child(1) { width: 32%; }
.footer .link:not(.row) ul:nth-child(2) { width: 33%; }
.footer .link:not(.row) ul:nth-child(3) { width: 35%; padding-left: 14px; }

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid var(--red);
    padding-bottom: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer .link ul li {
    font-size: 12px;
    line-height: 24px;
    margin-bottom: 2px;
    display: block;
}

.footer .link ul li a.footerga {
    color: #b5b5b5;
    transition: color 0.2s var(--ease);
}

.footer .link ul li a.footerga:hover {
    color: var(--red);
}

/* DNPA & Grievance Box in Footer */
.dnpa-box {
    background: #2a2a2a;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px !important;
    border-left: 3px solid var(--red);
}
.dnpa-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    display: block;
    margin-bottom: 4px;
}
.dnpa-desc {
    font-size: 12px !important;
    line-height: 16px !important;
    color: #a0a0a0 !important;
    margin: 0 !important;
}

.grievance-box {
    font-size: 12px;
    line-height: 18px;
    color: #a0a0a0;
    margin-bottom: 12px !important;
}
.grievance-label {
    display: block;
    font-weight: 600;
    color: #ffffff;
}
.grievance-email {
    color: var(--red) !important;
    font-size: 12px;
    word-break: break-all;
}
.editorial-notice small {
    font-size: 12px;
    color: #777777;
}

/* Cookie / GDPR Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-2);
    box-shadow: 0 -2px 12px rgba(24, 24, 24, 0.15);
    z-index: 9999999;
    padding: 12px 12px;
    text-align: center;
}
.cookiebox {
    max-width: var(--container-width);
    margin: 0 auto;
    font-size: 12px;
    color: #181818;
    line-height: 20px;
}
.cookiebox a.close-button {
    background: #484647;
    color: #ffffff !important;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
    display: inline-block;
    transition: background 0.2s var(--ease);
}
.cookiebox a.close-button:hover {
    background: var(--red);
}

@media (max-width: 991.98px) {
    .footer {
        padding: 32px 12px;
    }
    .footer .col-left:not([class*="col-"]) {
        width: 100%;
        margin-bottom: 24px;
    }
    .footer .col-right:not([class*="col-"]) {
        width: 100%;
        padding-left: 0;
    }
    .footer .link:not(.row) {
        flex-wrap: wrap;
        gap: 16px;
    }
    .footer .link:not(.row) ul:nth-child(1),
    .footer .link:not(.row) ul:nth-child(2),
    .footer .link:not(.row) ul:nth-child(3) {
        width: 100%;
        padding-left: 0;
    }
}

/* ==========================================================================
   Social Icons
   ========================================================================== */
.social, .socialTop {
    display: flex;
    gap: 8px;
}
.social a, .socialTop a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: transform 0.3s var(--ease);
}
.social a:hover, .socialTop a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.social-fb { background: #4968ab; }
.social-tw { background: #01b0ef; }
.social-yt { background: #fe3432; }
.social-ig { background: #e1306c; }
.social-wa { background: #25d366; }

/* ==========================================================================
   Ads
   ========================================================================== */
.adsBox {
    text-align: center;
    clear: both;
    padding: 12px 0;
    margin: 16px 0;
    background: #f9f9f9;
    border: 1px solid #eee;
}
.adsBox.desktop-ad {
    display: block;
}
.adsBox.mobile-ad {
    display: none;
}

/* ==========================================================================
   Auth Pages
   ========================================================================== */
.auth-page {
    max-width: 450px;
    margin: 64px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(24,24,24,0.05);
    border: 1px solid var(--border-color);
}
.auth-page h2 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.75rem;
}
.auth-form .form-group {
    margin-bottom: 16px;
}
.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.875rem;
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
}
.auth-form input:focus {
    border-color: var(--red);
}
.auth-form input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.auth-form .btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.auth-form .btn-submit:hover {
    background: var(--red-secondary);
}
.auth-links {
    margin-top: 16px;
    text-align: center;
    font-size: 0.875rem;
}
.auth-links a {
    color: var(--red);
    font-weight: 500;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideup {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}
@keyframes tickerScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   Modern Performance & Core Web Vitals (CWV) Optimizations
   ========================================================================== */
.firstImg figure img {
    aspect-ratio: 16 / 9;
}

.commonList figure img {
    aspect-ratio: 16 / 10;
}

.category-item-thumb img {
    aspect-ratio: 16 / 10;
}

.article-featured-image img {
    aspect-ratio: 16 / 9;
}

/* Defer rendering and layout calculations for offscreen content */
.newsBox[class*="index-cat-"] {
    content-visibility: auto;
    contain-intrinsic-size: 1px 320px;
}

footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
}

/* YouTube Video Facade (Saves ~1MB on initial page load) */
.video-facade {
    cursor: pointer;
    overflow: hidden;
    background-color: #000;
}
.video-facade > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.video-facade:hover > img {
    opacity: 1;
    transform: scale(1.02);
}
.video-facade > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 42px;
    background-color: rgba(218, 37, 29, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(24,24,24,0.4);
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
    z-index: 2;
    pointer-events: none;
}
.video-facade:hover .video-play-btn {
    background-color: #da251d;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   Legal & Compliance Pages (Privacy Policy, Terms & Conditions)
   ========================================================================== */
.legal-policy-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-1);
}
@media (min-width: 768px) {
    .legal-policy-card {
        padding: 32px 40px;
    }
}
.legal-header {
    border-bottom: 2px solid #f1f3f5;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.legal-header h1 {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}
@media (min-width: 768px) {
    .legal-header h1 {
        font-size: 30px;
    }
}
.legal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
}
.legal-meta-badge {
    background-color: var(--surface-2);
    color: #da251d;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--line);
}
.legal-highlight-box {
    background: var(--surface-2);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    padding: 16px 16px;
    margin-bottom: 32px;
    box-shadow: 0 1px 4px rgba(24,24,24,0.02);
}
.legal-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--surface-3);
    scroll-margin-top: 96px;
}
.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}
.legal-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.legal-section-title i {
    color: #da251d;
    font-size: 20px;
}
.legal-section-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 16px;
    margin-bottom: 12px;
}
.legal-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 12px;
}
.legal-list {
    padding-left: 16px;
    margin-bottom: 16px;
}
.legal-list li {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 8px;
    list-style-type: disc;
}
.legal-callout {
    background-color: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 16px;
    margin: 16px 0;
}
.legal-callout.warning {
    background-color: #fff3cd;
    border-color: #fff3cd;
    border-left: 4px solid #ffc107;
}
.legal-callout.info {
    background-color: #cff4fc;
    border-color: #cff4fc;
    border-left: 4px solid #0d6efd;
}
.legal-grievance-box {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}
.legal-grievance-box h5 {
    color: #da251d;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
.legal-grievance-item {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--muted);
}
.legal-grievance-item strong {
    color: var(--ink);
    min-width: 130px;
    display: inline-block;
}
.legal-toc-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(24,24,24,0.04);
}
.legal-toc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--surface-3);
    padding: 12px 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.legal-toc-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    max-height: 480px;
    overflow-y: auto;
}
.legal-toc-item {
    padding: 0;
}
.legal-toc-link {
    display: block;
    padding: 8px 16px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
    text-decoration: none;
    transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
    border-left: 3px solid transparent;
}
.legal-toc-link:hover {
    background-color: var(--surface-2);
    color: var(--accent);
    border-left-color: var(--accent);
}

/* ==========================================================================
   Design contract utilities & a11y
   ========================================================================== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:active,
.btn:active {
    transform: scale(0.98);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--ink);
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 6px 0;
}
.skip-link:focus-visible {
    left: 0;
}

.t-xs { font-size: 12px; line-height: 16px; }
.t-sm { font-size: 14px; line-height: 20px; }
.t-base { font-size: 16px; line-height: 24px; }
.tnum { font-variant-numeric: tabular-nums; }

.skeleton {
    background: var(--surface-3);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    min-height: 16px;
}
.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    animation: sk 1.2s infinite;
}
@keyframes sk {
    to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
    .skeleton::after {
        animation: none;
    }
}

html.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(64px);
    filter: blur(8px);
    transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease), filter var(--dur-reveal) var(--ease);
}
html.js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}
@media (prefers-reduced-motion: reduce) {
    html.js-reveal [data-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.pw-wrap { position: relative; display: block; }
.pw-wrap > input[type="password"], .pw-wrap > input[type="text"] { padding-right: 2.75rem; }
.pw-toggle { position: absolute; top: 50%; right: 0.25rem; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #6c757d; cursor: pointer; border-radius: 0.375rem; padding: 0; }
.pw-toggle:hover { color: #212529; }
.pw-toggle:focus-visible { outline: 2px solid #0d6efd; outline-offset: -2px; }
.pw-toggle > i { font-size: 1.1rem; line-height: 1; pointer-events: none; }
