:root {
    --primary: #c5161d;
    --primary-dark: #9f1118;
    --primary-soft: rgba(197, 22, 29, 0.08);

    --secondary: #151515;
    --secondary-soft: #262626;

    --accent: #f4b400;

    --bg: #f5f5f2;
    --card: #ffffff;
    --card-soft: #f8fafc;

    --text: #3f3f3f;
    --heading: #161616;
    --muted: #6f6f6f;
    --border: #dedbd2;
    --white: #ffffff;

    --green: #16803c;
    --blue: #2563eb;
    --purple: #7c3aed;
    --dark-red: #991b1b;

    --container: 1180px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 8px;
    --radius-xl: 8px;

    --shadow-sm: 0 2px 8px rgba(22, 22, 22, 0.05);
    --shadow-md: 0 8px 20px rgba(22, 22, 22, 0.10);
    --shadow-lg: 0 16px 36px rgba(22, 22, 22, 0.16);

    --transition: all 0.25s ease;
}

body.dark {
    --bg: #0b1120;
    --card: #111827;
    --card-soft: #172033;
    --text: #cbd5e1;
    --heading: #f8fafc;
    --muted: #94a3b8;
    --border: #263244;
    --secondary: #020617;
    --secondary-soft: #0f172a;
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.36);
    --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.48);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans Oriya", Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.72;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: var(--container);
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

/* Common Icon Alignment */

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: normal;
    flex-shrink: 0;
}

/* Toast */

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(80px);
    background: var(--secondary);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Image Placeholder */

.image-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d71920, #111827);
}

.image-box::before {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    z-index: 1;
    color: var(--white);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    background:
        linear-gradient(135deg, rgba(197, 22, 29, 0.94), rgba(21, 21, 21, 0.96)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.07) 0 8px, transparent 8px 16px);
}

.image-box.has-image::before {
    display: none;
}

.image-box img {
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: var(--transition);
}

.image-box.has-image img {
    opacity: 1;
}

/* Top Bar */

.top-bar {
    background: var(--secondary);
    color: var(--white);
    font-size: 13px;
    border-bottom: 3px solid var(--primary);
}

.top-bar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.top-meta,
.top-links {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.live-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.top-links a {
    color: #e5e7eb;
    font-weight: 700;
}

.top-links a:hover {
    color: var(--accent);
}

.top-pill-btn,
.top-search-btn {
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.top-search-btn {
    min-height: 28px;
    padding: 0 12px;
    display: none;
}

/* Header */

.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex: 0 0 auto;
}

.brand-logo {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.brand-text h1 {
    color: var(--primary);
    font-family: "Noto Serif Oriya", serif;
    font-size: 31px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
}

.brand-text p {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-top: 4px;
}

.header-ad {
    height: 78px;
    border-radius: var(--radius-md);
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 22px;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Navigation */

.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 600;
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu a {
    min-height: 52px;
    width: 100%;
    color: var(--white);
    padding: 0 6px;
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    white-space: nowrap;
}

.nav-menu li {
    flex: 0 0 auto;
    display: flex;
    min-width: 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(0,0,0,0.14);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    height: 3px;
    left: 10px;
    right: 10px;
    bottom: 8px;
    background: rgba(255,255,255,0.38);
    border-radius: 20px;
    transform: scaleX(1);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    background: rgba(255,255,255,0.70);
}

.nav-menu a.active::after {
    background: var(--accent);
}





.nav-search {
    display: flex;
    align-items: center;
    width: 52px;
    min-width: 52px;
    flex-shrink: 0;
}

.visually-hidden-search {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.nav-search button {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--secondary);
    color: var(--white);
    padding: 0;
    border-radius: var(--radius-sm);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/* Breaking */

.breaking-section {
    margin-top: var(--space-5);
}

.breaking-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.breaking-label {
    height: 52px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 0 18px;
    font-weight: 900;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.breaking-ticker {
    height: 52px;
    overflow: hidden;
    padding: 0 var(--space-5);
}

.breaking-ticker ul {
    transition: transform 0.35s ease;
}

.breaking-ticker li {
    height: 52px;
    display: flex;
    align-items: center;
}

.breaking-ticker a {
    color: var(--heading);
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.breaking-ticker a:hover {
    color: var(--primary);
}

.ticker-controls {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 var(--space-3);
}

.ticker-icon-btn,
.ticker-pause-btn {
    border: 1px solid var(--border);
    background: var(--card-soft);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.ticker-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 20px;
}

.ticker-pause-btn {
    height: 34px;
    padding: 0 13px;
    font-size: 13px;
}

.ticker-icon-btn:hover,
.ticker-pause-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Layout */

.main-area {
    padding: var(--space-5) 0 32px;
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: var(--space-6);
    align-items: start;
}

.content-column,
.sidebar-column {
    min-width: 0;
}

.sidebar-column {
    position: sticky;
    top: 68px;
    align-self: start;
}

/* Common Cards */

.news-card-shell,
.section-card,
.sidebar-card,
.live-update {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* Hero */

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.84fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    align-items: stretch;
}

.hero-main {
    overflow: hidden;
}

.hero-image {
    height: 316px;
    display: block;
}

.hero-content {
    padding: var(--space-5);
}

.hero-content h2 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 29px;
    font-weight: 900;
    line-height: 1.34;
    margin: 10px 0 8px;
    letter-spacing: 0;
}

.hero-content h2 a:hover {
    color: var(--primary);
}

.hero-content p {
    color: var(--muted);
    font-size: 15px;
}

.hero-side-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
}

.side-news {
    overflow: hidden;
}

.side-image {
    height: 152px;
    display: block;
}

.side-content {
    padding: var(--space-4);
}

.side-content h3 {
    color: var(--heading);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.5;
    margin: 9px 0 8px;
}

.side-content h3 a:hover {
    color: var(--primary);
}

/* Badges */

.category-badge {
    color: var(--white);
    border-radius: 4px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-red {
    background: var(--primary);
}

.badge-green {
    background: var(--green);
}

.badge-blue {
    background: var(--blue);
}

.badge-purple {
    background: var(--purple);
}

.badge-dark-red {
    background: var(--dark-red);
}

/* Buttons */

.primary-btn,
.secondary-btn,
.text-btn,
.circle-btn,
.section-link {
    transition: var(--transition);
}

.primary-btn {
    min-height: 38px;
    border: none;
    background: var(--primary);
    color: var(--white);
    padding: 0 15px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.primary-btn:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-2px);
}

.primary-btn:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.secondary-btn {
    min-height: 38px;
    border: 1px solid var(--border);
    background: var(--card-soft);
    color: var(--text);
    padding: 0 15px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.secondary-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.text-btn {
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
}

.text-btn:hover {
    color: var(--accent);
}

.circle-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--card-soft);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.circle-btn.small {
    width: 30px;
    height: 30px;
    font-size: 15px;
}

.card-like-btn {
    width: auto;
    min-width: 38px;
    gap: 5px;
    padding: 0 10px;
    font-size: 14px;
}

.card-like-btn.small {
    width: auto;
    min-width: 34px;
    padding: 0 8px;
    font-size: 13px;
}

.card-like-btn strong {
    font-size: 12px;
    line-height: 1;
}

.circle-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.circle-btn:hover,
.circle-btn.saved,
.circle-btn.copied {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--secondary);
}

.card-share-btn:hover,
.card-share-btn.copied {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.card-like-btn:hover,
.card-like-btn.liked {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.card-action-row,
.modal-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

.archive-actions {
    margin-top: 12px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

/* Live Update */

.live-update {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    margin-bottom: var(--space-6);
}

.live-label {
    min-height: 48px;
    background: var(--primary);
    color: var(--white);
    padding: 0 var(--space-4);
    font-weight: 900;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.live-track-wrap {
    height: 48px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.live-track {
    display: flex;
    align-items: center;
    gap: 42px;
    white-space: nowrap;
    color: var(--heading);
    font-size: 14px;
    font-weight: 900;
    animation: liveScroll 48s linear infinite both;
}

.live-track > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-track strong {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 6px 14px rgba(197, 22, 29, 0.22);
    flex: 0 0 auto;
}

.live-track:hover {
    animation-play-state: paused;
}

/* Sections */

.section-card {
    padding: var(--space-5);
    margin-bottom: var(--space-6);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-5);
}

.section-kicker {
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
    display: block;
    margin-bottom: 7px;
}

.section-heading h2 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    position: relative;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -17px;
    width: 56px;
    height: 3px;
    background: var(--primary);
    border-radius: 20px;
}

.section-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.section-link:hover {
    color: var(--accent);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.filter-btn {
    min-height: 36px;
    border: 1px solid var(--border);
    background: var(--card-soft);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    font-size: 13px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Latest Grid */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
}

.latest-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.latest-image {
    height: 190px;
    display: block;
}

.latest-content {
    padding: var(--space-4);
}

.latest-content h3 {
    color: var(--heading);
    font-size: 17.5px;
    font-weight: 900;
    line-height: 1.52;
    margin: 9px 0 8px;
}

.latest-content h3 a:hover {
    color: var(--primary);
}

.latest-content p {
    color: var(--muted);
    font-size: 13.5px;
}

.load-more-wrap {
    text-align: center;
    margin-top: var(--space-6);
}

/* Horizontal */

.horizontal-list {
    display: grid;
    gap: var(--space-4);
}

.horizontal-card {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: var(--space-4);
    padding: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    transition: var(--transition);
}

.horizontal-image {
    height: 148px;
    border-radius: var(--radius-sm);
    display: block;
}

.horizontal-content h3 {
    color: var(--heading);
    font-size: 18.5px;
    font-weight: 900;
    line-height: 1.5;
    margin: 9px 0 8px;
}

.horizontal-content h3 a:hover {
    color: var(--primary);
}

.horizontal-content p {
    color: var(--muted);
    font-size: 13.5px;
}

/* Mini Grid */

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
}

.compact-section {
    margin-bottom: 0;
}

.compact-heading {
    margin-bottom: var(--space-4);
}

.compact-list li {
    border-bottom: 1px solid var(--border);
}

.compact-list li:last-child {
    border-bottom: none;
}

.compact-list a {
    display: block;
    color: var(--heading);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
    padding: 11px 0;
}

.compact-list a:hover {
    color: var(--primary);
    padding-left: 6px;
}

/* Sidebar */

.sidebar-card {
    padding: var(--space-5);
    margin-bottom: var(--space-6);
}

.sidebar-card h3 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.sidebar-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 46px;
    height: 3px;
    background: var(--primary);
    border-radius: 20px;
}

.weather-box {
    background: linear-gradient(135deg, var(--primary), #243b2f);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.weather-box strong {
    display: block;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.weather-box span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
}

.weather-icon {
    font-size: 42px;
    flex: 0 0 auto;
}

.sidebar-note {
    color: var(--muted);
    font-size: 13px;
    margin-top: var(--space-3);
    line-height: 1.55;
}

/* Sidebar Tabs */

.sidebar-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
    padding: 5px;
    background: var(--card-soft);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-4);
}

.sidebar-tab {
    min-height: 38px;
    border: none;
    background: transparent;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.sidebar-tab.active {
    background: var(--primary);
    color: var(--white);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.rank-list {
    display: grid;
    gap: var(--space-4);
}

.rank-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    gap: var(--space-3);
    align-items: start;
}

.rank-list .rank-number {
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-list a {
    color: var(--heading);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.38;
}

.rank-list a:hover {
    color: var(--primary);
}

.rank-list .card-share-btn {
    margin-top: 2px;
}

/* Sidebar Other */

.ad-card {
    min-height: 250px;
    padding: 0;
}

.mobile-nav-search {
    display: none;
}

@media (min-width: 992px) {
    .top-search-btn {
        display: inline-flex;
    }

    .nav-menu {
        width: 100%;
        flex: 1 1 100%;
        justify-content: space-between;
        overflow-x: visible;
    }

    .nav-menu li {
        flex: 0 0 auto;
    }

    .nav-menu a {
        width: auto;
        padding: 0 8px;
    }
}

.ad-card img {
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.dummy-ad {
    min-height: 250px;
    padding: 24px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(197, 22, 29, 0.96), rgba(21, 21, 21, 0.92)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 8px, transparent 8px 16px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.dummy-ad span {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
}

.dummy-ad strong {
    font-family: "Noto Serif Oriya", serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
}

.dummy-ad p {
    max-width: 230px;
    color: rgba(255,255,255,0.86);
    font-size: 14px;
}

.dummy-ad a {
    margin-top: 8px;
    padding: 9px 12px;
    color: var(--secondary);
    background: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 800;
}

.category-list li {
    border-bottom: 1px solid var(--border);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--heading);
    font-size: 14px;
    font-weight: 900;
    padding: 11px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-list a:hover {
    color: var(--primary);
}

.category-list span {
    background: var(--card-soft);
    color: var(--muted);
    padding: 2px 10px;
    border-radius: 4px;
}

.newsletter-card p {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: var(--space-3);
}

.newsletter-card input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--border);
    background: var(--card-soft);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0 var(--space-3);
    outline: none;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.newsletter-card input:focus {
    border-color: var(--primary);
}

.newsletter-card button {
    width: 100%;
    height: 42px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/* Footer */

.site-footer {
    background: linear-gradient(180deg, #171717 0%, #111111 100%);
    color: var(--white);
    margin-top: 32px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    padding: 48px 0 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 1.15fr) minmax(220px, 1.2fr) repeat(3, minmax(0, 0.85fr));
    column-gap: clamp(20px, 2.4vw, 36px);
    row-gap: 32px;
    align-items: start;
}

.footer-logo {
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 0 18px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--white);
    padding: 4px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.20);
}

.footer-block h3 {
    font-family: "Noto Serif Oriya", serif;
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 18px;
    padding-bottom: 11px;
    position: relative;
}

.footer-block h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
}

.footer-block p {
    max-width: 260px;
    color: #d6d9de;
    font-size: 13.5px;
    line-height: 1.85;
}

.footer-block ul {
    display: grid;
    gap: 10px;
}

.footer-block li {
    margin-bottom: 0;
}

.footer-block a {
    color: #d6d9de;
    font-size: 13.5px;
    line-height: 1.45;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

.footer-block a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact address {
    display: grid;
    gap: 8px;
    max-width: 320px;
    color: #d6d9de;
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.55;
}

.footer-contact strong {
    color: var(--white);
    font-weight: 900;
    line-height: 1.35;
}

.footer-contact a {
    align-items: flex-start;
    min-height: auto;
    color: var(--accent);
}

.footer-map {
    width: 100%;
    max-width: 300px;
    height: 136px;
    margin-top: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.15) contrast(0.95);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 18px 0;
    color: #d6d9de;
    font-size: 13.5px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    color: #d6d9de;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
}

.social-links a:hover {
    color: var(--accent);
    border-color: rgba(255, 199, 0, 0.45);
    background: rgba(255,255,255,0.04);
}

/* Modal */

.preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0,0,0,0.68);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
}

.preview-modal.show {
    display: flex;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1510;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
}

.search-modal.show {
    display: flex;
}

.preview-box {
    width: 560px;
    max-width: 100%;
    background: var(--card);
    color: var(--text);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-7);
    position: relative;
}

.search-box {
    width: 520px;
    max-width: 100%;
    background: var(--card);
    color: var(--text);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    position: relative;
    border: 1px solid rgba(197, 22, 29, 0.16);
    text-align: center;
}

.search-box h2 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 29px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    padding-right: 42px;
    padding-left: 42px;
}

.search-modal-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

.search-field-wrap {
    min-height: 54px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card-soft);
    overflow: hidden;
}

.search-field-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.search-modal-form input {
    width: 100%;
    min-height: 52px;
    border: none;
    background: transparent;
    color: var(--text);
    padding: 0 var(--space-4);
    font: inherit;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.search-modal-form .primary-btn {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    border-radius: var(--radius-md);
}

.modal-close {
    position: absolute;
    right: var(--space-4);
    top: var(--space-4);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--card-soft);
    color: var(--text);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.preview-box h2 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.28;
    margin: var(--space-4) 0 var(--space-3);
}

.preview-box p {
    color: var(--muted);
}

/* Inner Templates */

.template-hero {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-bottom: 24px;
}

.template-kicker {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 6px;
}

.template-hero h1 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 10px;
}

.template-hero p,
.template-copy p {
    color: var(--muted);
}

.archive-list {
    display: grid;
    gap: 18px;
}

.archive-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.archive-card img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
}

.archive-card-content {
    padding: 18px 18px 18px 0;
}

.archive-card h2,
.archive-card h3 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.34;
    margin: 9px 0;
}

.archive-meta,
.article-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.article-top-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.template-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.template-pagination a,
.template-pagination span {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text);
    font-weight: 900;
}

.template-pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.article-shell,
.template-copy,
.contact-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.article-shell h1 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.25;
    margin: 12px 0;
}

.article-featured {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.article-body {
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
}

.article-body p + p,
.template-copy p + p {
    margin-top: 16px;
}

.article-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.article-like-btn,
.article-comment-link {
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-soft);
    color: var(--text);
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 900;
    transition: var(--transition);
}

.article-like-btn:focus-visible,
.article-comment-link:focus-visible,
.article-share a:focus-visible,
.article-share button:focus-visible,
.aajira-comment-form .submit:focus-visible {
    outline: 3px solid rgba(255, 204, 0, 0.55);
    outline-offset: 3px;
}

.article-like-btn:hover,
.article-like-btn.liked,
.article-comment-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.article-like-btn:disabled {
    cursor: wait;
    opacity: 0.72;
}

.article-share {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.article-share-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.article-share a,
.article-share button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-soft);
    color: var(--heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    transition: var(--transition);
}

.article-share .share-btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.article-share .share-btn svg {
    position: relative;
    z-index: 1;
    width: 17px;
    height: 17px;
    fill: currentColor;
    display: block;
}

.article-share .share-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(100%);
    transition: transform 0.22s ease;
}

.article-share .share-btn span {
    position: relative;
    z-index: 1;
}

.article-share a:hover,
.article-share button:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.14);
}

.article-share .share-btn:hover::after,
.article-share .share-btn.copied::after {
    transform: translateY(0);
}

.article-share .share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.article-share .share-x:hover {
    background: #111111;
    border-color: #111111;
}

.article-share .share-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.article-share .share-telegram:hover {
    background: #229ed9;
    border-color: #229ed9;
}

.article-share .share-copy.copied {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.article-comments {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    scroll-margin-top: 96px;
}

.comment-respond {
    scroll-margin-top: 96px;
}

.comments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.comments-heading h2,
.comment-reply-title {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
}

.comments-heading span {
    min-width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.comment-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.comment-list .comment {
    list-style: none;
}

.comment-body {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card-soft);
    padding: 16px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
    font-weight: 900;
}

.comment-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.comment-metadata,
.comment-awaiting-moderation {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}

.comment-content {
    margin-top: 10px;
}

.reply {
    margin-top: 10px;
}

.reply a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.aajira-comment-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.aajira-comment-form p {
    display: grid;
    gap: 7px;
}

.aajira-comment-form .logged-in-as {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.aajira-comment-form .logged-in-as a {
    color: var(--primary);
    font-weight: 900;
}

.aajira-comment-form label {
    color: var(--heading);
    font-weight: 900;
}

.aajira-comment-form input:not([type="checkbox"]):not([type="submit"]),
.aajira-comment-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-soft);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    outline: none;
}

.aajira-comment-form textarea {
    min-height: 145px;
    resize: vertical;
}

.aajira-comment-form .form-submit {
    display: block;
}

.aajira-comment-form input.submit {
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    padding: 0 18px;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.aajira-comment-form input.submit:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.template-copy h2,
.contact-panel h2 {
    color: var(--heading);
    font-family: "Noto Serif Oriya", serif;
    font-size: 25px;
    margin: 22px 0 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 22px;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.contact-list span,
.contact-list a {
    color: var(--text);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-soft);
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    outline: none;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.map-embed {
    width: 100%;
    height: 320px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 22px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Back Top */

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 21px;
    font-weight: 900;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.back-top.show {
    display: flex;
}

/* Visual refinement pass */

body {
    line-height: 1.68;
}

.brand-logo {
    background: var(--white);
}

.brand-logo img {
    object-fit: contain;
    padding: 5px;
}

.brand-text h1,
.hero-content h2,
.section-heading h2,
.sidebar-card h3,
.footer-block h3,
.preview-box h2 {
    font-weight: 800;
}

.side-content h3,
.latest-content h3,
.horizontal-content h3,
.compact-list a,
.rank-list a,
.category-list a {
    font-weight: 700;
}

.top-pill-btn,
.top-search-btn,
.nav-menu a,
.nav-search button,
.breaking-label,
.breaking-ticker a,
.ticker-icon-btn,
.ticker-pause-btn,
.category-badge,
.primary-btn,
.secondary-btn,
.text-btn,
.section-link,
.filter-btn,
.live-label,
.live-track,
.sidebar-tab,
.newsletter-card button {
    font-weight: 800;
}

.hero-content p,
.latest-content p,
.horizontal-content p,
.footer-block p,
.footer-block a,
.newsletter-card p,
.sidebar-note {
    font-weight: 400;
}

.news-meta {
    font-weight: 600;
}

.page-grid {
    gap: 22px;
}

.hero-grid,
.latest-grid,
.mini-grid {
    gap: 18px;
}

.hero-grid,
.live-update,
.section-card,
.sidebar-card {
    margin-bottom: 22px;
}

.section-card,
.sidebar-card {
    padding: 18px;
}

.section-heading {
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.filter-tabs {
    gap: 8px;
    margin-bottom: 18px;
}

.latest-content,
.side-content,
.hero-content {
    padding: 16px;
}

.card-action-row,
.modal-actions {
    margin-top: 14px;
}

.compact-list a,
.category-list a {
    padding: 10px 0;
}

.section-heading {
    align-items: center;
    position: relative;
    border-bottom: 0;
    padding-bottom: 18px;
}

.section-heading::after,
.section-heading::before {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    border-radius: 0;
}

.section-heading::after {
    left: 70px;
    right: 0;
    background: var(--border);
}

.section-heading::before {
    left: 0;
    z-index: 1;
    width: 56px;
    background: var(--primary);
}

.section-heading h2::after {
    display: none;
}

.section-link {
    min-height: auto;
    align-self: center;
    line-height: 1.2;
    transform: none;
    margin-bottom: 0;
}

.content-column > .hero-grid,
.content-column > .live-update,
.content-column > .section-card,
.content-column > .mini-grid {
    margin-bottom: 34px;
}

.content-column > .mini-grid {
    gap: 22px;
}

.content-column > .mini-grid .section-card {
    margin-bottom: 0;
}

/* Consistent layout rhythm */

.page-grid {
    gap: 24px;
}

.content-column {
    display: grid;
    gap: 32px;
}

.content-column > .hero-grid,
.content-column > .live-update,
.content-column > .section-card,
.content-column > .mini-grid {
    margin-bottom: 0;
}

.hero-grid,
.hero-side-grid,
.latest-grid,
.mini-grid,
.horizontal-list {
    gap: 24px;
}

.sidebar-column {
    display: grid;
    gap: 24px;
}

.section-card,
.sidebar-card,
.live-update,
.news-card-shell,
.latest-card,
.horizontal-card {
    margin-bottom: 0;
}

.section-card,
.sidebar-card {
    padding: 20px;
}

.section-heading,
.compact-heading {
    padding-bottom: 18px;
    margin-bottom: 20px;
}

.filter-tabs {
    margin-bottom: 20px;
}

.latest-content,
.side-content,
.hero-content {
    padding: 18px;
}

.card-action-row,
.modal-actions {
    margin-top: 16px;
}

/* Header proportion tuning */

.header-inner {
    min-height: 116px;
}

.brand-logo {
    width: 88px;
    height: 88px;
}

.brand-text h1 {
    font-size: 34px;
}

.header-ad {
    flex: 0 1 760px;
    max-width: 760px;
    height: 92px;
}

.header-inner {
    min-height: 132px;
    gap: 32px;
}

.brand {
    min-height: 112px;
    gap: 16px;
}

.brand-logo {
    width: 104px;
    height: 104px;
}

.brand-logo img {
    padding: 4px;
}

.brand-text h1 {
    font-size: 36px;
}

.header-ad {
    flex: 0 1 720px;
    max-width: 720px;
    height: 112px;
}

.header-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Exact header brand/banner sizing */

.header-inner {
    --header-media-height: 124px;
    min-height: 148px;
    display: grid;
    grid-template-columns: max-content minmax(0, 760px);
    align-items: center;
    justify-content: center;
    column-gap: 32px;
}

.brand {
    min-height: var(--header-media-height);
    display: grid;
    grid-template-columns: var(--header-media-height) max-content;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: var(--header-media-height);
    height: var(--header-media-height);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
}

.header-ad {
    width: 100%;
    max-width: none;
    height: var(--header-media-height);
}

.header-ad img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

@media (min-width: 992px) {
    .header-inner {
        --header-media-height: 140px;
        min-height: 164px;
        display: grid;
        grid-template-columns: var(--header-media-height) max-content minmax(0, 1fr);
        align-items: center;
        justify-content: stretch;
        column-gap: 28px;
    }

    .brand {
        display: contents;
    }

    .brand-logo {
        width: var(--header-media-height);
        height: var(--header-media-height);
        grid-column: 1;
    }

    .brand-text {
        grid-column: 2;
        min-width: max-content;
    }

    .brand-text h1 {
        font-size: 38px;
    }

.header-ad {
    grid-column: 3;
    width: 100%;
    max-width: none;
    height: var(--header-media-height);
    padding: 0;
    border-radius: var(--radius-md);
}

.header-ad::before {
    display: none;
}

.header-ad img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    opacity: 1;
}
}
