/*
Theme Name: MumbaiNewz SEO News
Theme URI: https://mumbainewz.com/
Author: MumbaiNewz
Description: Premium responsive English news portal theme for MumbaiNewz.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mumbainewz
*/

:root {
    --mn-navy: #102F50;
    --mn-navy-dark: #081F38;
    --mn-red: #D71935;
    --mn-white: #ffffff;
    --mn-ink: #101820;
    --mn-muted: #647386;
    --mn-line: #e2e7ec;
    --mn-soft: #f3f5f7;
    --mn-width: 1280px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
    background: #f7f8fa;
    color: var(--mn-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--mn-navy);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--mn-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

img, video, iframe, embed, object {
    max-width: 100%;
}

img {
    height: auto;
}

button, input, textarea, select {
    font: inherit;
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid #1671c5;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: #fff;
    color: #000;
    z-index: 9999;
    border: 2px solid #111;
}

/* HEADER */

.site-header {
    position: relative;
    z-index: 40;
    background: var(--mn-white);
    border-bottom: 1px solid #e5e9ee;
    box-shadow: 0 3px 14px rgba(16,47,80,.07);
}

.header-inner {
    width: 100%;
    max-width: var(--mn-width);
    min-height: 82px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.site-branding {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin: 0 auto 0 0;
    text-align: left;
}

.site-title {
    margin: 0;
    font-size: 31px;
    line-height: 1;
    font-weight: 900;
}

.site-title a {
    color: var(--mn-navy);
}

.text-logo {
    display: inline-flex;
    align-items: baseline;
    padding: 0;
    background: transparent;
    color: var(--mn-navy) !important;
    font-size: 31px;
    font-weight: 900;
    letter-spacing: -1.1px;
    text-transform: none;
    border-radius: 0;
    white-space: nowrap;
}

.text-logo span {
    color: var(--mn-navy);
}

.text-logo b {
    color: var(--mn-red);
}

.custom-logo-wrap {
    max-width: 100%;
}

.custom-logo-wrap img {
    display: block;
    width: auto;
    max-width: min(100%, 280px);
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
}

.site-description {
    margin: 3px 0 0;
    color: var(--mn-muted);
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .2px;
}

.mn-header-controls {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.menu-toggle,
.search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #dce2e8;
    border-radius: 5px;
    background: #fff;
    color: var(--mn-navy);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.menu-toggle:hover,
.search-toggle:hover {
    background: var(--mn-navy);
    color: #fff;
    border-color: var(--mn-navy);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid #dce2e8;
    border-radius: 4px;
    color: var(--mn-navy);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.language-btn.is-active {
    background: var(--mn-navy);
    border-color: var(--mn-navy);
    color: #fff;
}

.menu-toggle {
    display: inline-flex;
}

/* SEARCH PANEL */

.mn-search-panel {
    position: absolute;
    right: max(20px, calc((100vw - var(--mn-width))/2 + 20px));
    top: calc(100% - 1px);
    z-index: 60;
    width: min(440px, calc(100vw - 28px));
    padding: 14px;
    background: #fff;
    border: 1px solid #e0e5ea;
    box-shadow: 0 12px 30px rgba(16,47,80,.18);
}

.mn-search-panel[hidden],
.mn-menu-backdrop[hidden] {
    display: none !important;
}

.mn-search-panel .search-form {
    display: flex;
    gap: 8px;
}

.mn-search-panel .search-field {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    border: 1px solid #cbd4dd;
    border-radius: 4px;
}

.mn-search-panel .search-submit {
    background: var(--mn-red);
    border-color: var(--mn-red);
    font-weight: 700;
}

/* TOP BAR */

.mn-topbar {
    background: var(--mn-navy);
    color: #fff;
    font-size: 13px;
}

.mn-topbar-inner {
    max-width: var(--mn-width);
    min-height: 34px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mn-topbar-date {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-size: 11px;
    white-space: nowrap;
}

.mn-topbar-date time {
    color: #dce6f0;
}

.mn-weather-mark {
    font-size: 18px;
    color: #ffd23f;
}

.mn-top-divider {
    opacity: .55;
}

.mn-utility-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    flex: 1;
    min-width: 0;
}

.mn-utility-nav a,
.mn-social-nav a {
    color: #eaf0f6;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.mn-utility-nav a:hover,
.mn-social-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.mn-social-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mn-social-nav a {
    font-weight: 800;
    font-size: 12px;
}

/* CATEGORY NAVIGATION */

.mn-category-nav {
    position: relative;
    z-index: 30;
    background: var(--mn-navy);
}

.mn-category-nav-inner {
    max-width: var(--mn-width);
    margin: 0 auto;
    padding: 0 20px;
}

.mn-category-nav ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mn-category-nav li {
    position: relative;
    margin: 0;
}

.mn-category-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 13px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mn-category-nav a:hover,
.mn-category-nav .current-menu-item > a,
.mn-category-nav .current-cat > a {
    background: #1c456c;
    color: #fff;
}

.mn-category-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(0,0,0,.16);
    z-index: 80;
    flex-direction: column;
}

.mn-category-nav li:hover > .sub-menu,
.mn-category-nav li:focus-within > .sub-menu {
    display: flex;
}

.mn-category-nav .sub-menu a {
    min-height: 40px;
    color: var(--mn-navy);
    border-bottom: 1px solid #edf0f3;
}

.mn-category-nav .sub-menu a:hover {
    background: #f2f5f8;
}

/* MOBILE DRAWER */

.mn-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7,19,32,.55);
    z-index: 1000;
}

.mn-menu-drawer {
    position: fixed;
    z-index: 1001;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(360px, 88vw);
    padding: 20px;
    background: #fff;
    box-shadow: 10px 0 35px rgba(0,0,0,.2);
    overflow-y: auto;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
}

.mn-menu-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mn-drawer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--mn-red);
    color: var(--mn-navy);
    font-size: 19px;
}

.mn-drawer-close {
    width: 36px;
    height: 36px;
    padding: 0;
    background: #f1f3f5;
    color: var(--mn-navy);
    border: 0;
    border-radius: 50%;
    font-size: 25px;
    line-height: 1;
}

.mn-drawer-categories {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.mn-drawer-categories li {
    border-bottom: 1px solid #e8edf1;
}

.mn-drawer-categories a {
    display: block;
    padding: 12px 4px;
    color: var(--mn-navy);
    font-weight: 700;
    text-decoration: none;
}

.mn-drawer-categories a:hover {
    color: var(--mn-red);
    padding-left: 9px;
}

body.mn-drawer-open {
    overflow: hidden;
}

/* BREAKING NEWS */

.breaking-strip {
    background: #fff;
    border-bottom: 1px solid #e7eaee;
}

.breaking-inner {
    max-width: var(--mn-width);
    min-height: 44px;
    margin: 0 auto;
    padding: 7px 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    overflow: hidden;
}

.breaking-label {
    flex: 0 0 auto;
    background: var(--mn-red);
    color: #fff;
    padding: 7px 11px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
}

.breaking-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.breaking-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: mn-ticker 34s linear infinite;
}

.breaking-track a {
    color: var(--mn-navy);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.breaking-track a:before {
    content: "•";
    color: var(--mn-red);
    margin-right: 10px;
}

.breaking-track:hover {
    animation-play-state: paused;
}

@keyframes mn-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* MAIN CONTENT */

.site-main {
    width: 100%;
    max-width: var(--mn-width);
    min-width: 0;
    min-height: 45vh;
    margin: 0 auto 38px;
    padding: 0 20px;
}

.homepage-main {
    padding-top: 4px;
    margin-top: 20px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 28px;
    align-items: start;
}

.content-primary,
.sidebar,
.widget-area {
    min-width: 0;
}

.page-heading {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--mn-red);
    font-size: 28px;
    line-height: 1.25;
    color: #171717;
    overflow-wrap: anywhere;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 13px;
    padding: 0 0 9px;
    border-bottom: 2px solid var(--mn-navy);
}

.section-heading {
    margin: 0;
    color: var(--mn-navy);
    font-size: 23px;
    font-weight: 850;
    line-height: 1.25;
}

.section-kicker {
    color: #687482;
    font-size: 13px;
    font-weight: 700;
}

.section-more {
    color: var(--mn-red);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

/* HOMEPAGE TOP STORIES */

.mn-home-grid {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(260px,1fr) minmax(220px,.82fr);
    gap: 20px;
    align-items: start;
    width: 100%;
}

.mn-lead-column,
.top-story-list,
.mn-home-sidebar {
    min-width: 0;
}

.mn-lead-column .lead-story {
    height: 100%;
}

.lead-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e6eb;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,40,65,.06);
}

.lead-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #e7ebef;
    overflow: hidden;
}

.lead-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lead-copy {
    padding: 15px 17px 17px;
}

.lead-copy h2 {
    margin: 7px 0 6px;
    font-size: clamp(22px,2.2vw,32px);
    line-height: 1.22;
    font-weight: 850;
    letter-spacing: -.4px;
}

.lead-copy h2 a {
    color: #111;
}

.lead-copy p {
    margin: 7px 0 0;
    color: #5d6670;
    font-size: 14px;
    line-height: 1.5;
}

.post-meta {
    font-size: 12px;
    color: #6b7480;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.post-meta a {
    color: var(--mn-red);
    font-weight: 700;
}

.top-story-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-story-item {
    display: grid;
    grid-template-columns: minmax(100px,42%) minmax(0,1fr);
    gap: 12px;
    align-items: start;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--mn-line);
    min-width: 0;
}

.top-story-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e8edf2;
    border-radius: 2px;
}

.top-story-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-story-item > div {
    min-width: 0;
}

.top-story-item h3 {
    margin: 4px 0 5px;
    font-size: clamp(15px,1.35vw,19px);
    line-height: 1.28;
    font-weight: 800;
}

.top-story-item h3 a {
    color: #111;
}

.mn-story-category {
    font-size: 11px;
    color: var(--mn-red);
}

.mn-story-category a {
    color: var(--mn-red);
}

/* SIDEBAR */

.mn-home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mn-sidebar-panel {
    padding: 15px;
    border: 1px solid #e5e9ee;
    background: #fff;
    margin-bottom: 14px;
}

.mn-sidebar-heading {
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--mn-red);
    color: var(--mn-navy);
    font-size: 17px;
}

.mn-popular-item {
    display: grid;
    grid-template-columns: 22px 58px minmax(0,1fr);
    gap: 8px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f3;
}

.mn-popular-item:last-child {
    border-bottom: 0;
}

.mn-rank {
    font-size: 17px;
    font-weight: 900;
    color: var(--mn-red);
    text-align: center;
}

.mn-popular-thumb {
    display: block;
    width: 58px;
    height: 44px;
    overflow: hidden;
    background: #f0f2f4;
}

.mn-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mn-popular-item h3 {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.mn-popular-item h3 a {
    color: #182b3d;
}

.mn-special-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mn-special-panel li {
    padding: 7px 0;
    border-bottom: 1px solid #edf0f3;
}

.mn-special-panel li:last-child {
    border-bottom: 0;
}

.mn-special-panel a {
    color: var(--mn-navy);
    font-size: 13px;
    font-weight: 700;
}

.mn-special-panel a span {
    color: var(--mn-red);
    margin-right: 8px;
}

/* HOME SECTIONS AND NEWS CARDS */

.home-section,
.latest-news-section,
.top-stories {
    margin-top: 28px;
    margin-bottom: 28px;
}

.category-section {
    padding-top: 5px;
    width: 100%;
    max-width: 100%;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 17px;
    align-items: stretch;
}

.news-grid-4 {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.news-grid-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 7px rgba(10,35,60,.045);
}

.news-card:hover {
    border-color: #d4dce4;
}

.news-card-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e8edf2;
}

.news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.025);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 11px 12px 13px;
    overflow-wrap: anywhere;
}

.news-card h2,
.news-card-title {
    margin: 5px 0 7px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
}

.news-card h2 a,
.news-card-title a {
    color: #171c22;
}

.news-card .excerpt {
    margin: 0 0 8px;
    color: #66717c;
    font-size: 13px;
    line-height: 1.45;
}

.news-card .read-more {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 2px;
    color: var(--mn-red);
    font-size: 12px;
    font-weight: 800;
    border-bottom: 1px solid var(--mn-red);
}

/* CATEGORY SECTION FOUR CARDS */

.homepage-main .home-section.category-section,
.homepage-main .home-section.category-section .news-grid-4 {
    width: 100%;
    max-width: 100%;
}

.homepage-main .home-section.category-section .news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
    align-items: stretch;
}

.homepage-main .home-section.category-section .news-grid-4 > .news-card {
    width: 100%;
    min-width: 0;
    max-width: none;
}

/* GENERAL NEWS GRID */

.news-card-image img,
.lead-image img,
.top-story-thumb img {
    object-position: center;
}

.pagination {
    margin: 28px 0;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-block;
    padding: 7px 11px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.page-numbers.current {
    background: var(--mn-red);
    color: #fff;
    border-color: var(--mn-red);
}

/* CONTENT AND ARTICLES */

.entry-title {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin: 0 0 18px;
    color: #666;
    font-size: 13px;
}

.entry-meta a {
    font-weight: 700;
}

.entry-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

.entry-categories a {
    display: inline-block;
    color: var(--mn-red);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 15px;
    color: #777;
    font-size: 12px;
}

.breadcrumbs a {
    color: #555;
}

.entry-featured-image {
    margin: 0 0 22px;
}

.entry-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-featured-image figcaption {
    margin-top: 7px;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.entry-content {
    min-width: 0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    font-size: 17px;
    line-height: 1.8;
    color: #252525;
}

.entry-content p {
    margin: 0 0 1.2em;
}

.entry-content h2,
.entry-content h3 {
    line-height: 1.3;
    margin: 1.5em 0 .6em;
}

.entry-content h2 {
    font-size: 25px;
}

.entry-content h3 {
    font-size: 21px;
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content figure {
    max-width: 100%;
    margin: 20px 0;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
    max-width: 100%;
    height: auto;
}

.entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.entry-content pre {
    max-width: 100%;
    overflow: auto;
}

.entry-content blockquote {
    margin: 22px 0;
    padding: 12px 18px;
    border-left: 4px solid var(--mn-red);
    background: var(--mn-soft);
    color: #444;
}

.entry-content ul,
.entry-content ol {
    padding-left: 24px;
}

.entry-tags {
    margin: 22px 0;
    padding-top: 14px;
    border-top: 1px solid var(--mn-border);
    font-size: 13px;
}

.entry-tags a {
    display: inline-block;
    margin: 3px 4px;
    color: #555;
}

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
    padding: 14px 0;
    border-top: 1px solid var(--mn-line);
    border-bottom: 1px solid var(--mn-line);
    font-size: 13px;
}

.article-share strong {
    margin-right: 5px;
}

.article-share a {
    padding: 6px 10px;
    border: 1px solid var(--mn-line);
    border-radius: 3px;
    font-weight: 700;
}

.article-share a:hover {
    background: var(--mn-soft);
    text-decoration: none;
}

.related-stories {
    margin: 30px 0;
}

.related-stories .section-heading {
    font-size: 21px;
}

.archive-description {
    color: #555;
    margin-bottom: 20px;
}

.author-header {
    margin-bottom: 20px;
}

.author-bio {
    max-width: 760px;
    color: #555;
}

/* SIDEBAR AND WIDGETS */

.sidebar,
.widget-area {
    width: 100%;
}

.widget {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--mn-line);
    padding: 16px;
    margin-bottom: 20px;
}

.widget-title,
.sidebar-widget h2 {
    font-size: 18px;
    margin: 0 0 12px;
}

.sidebar-widget {
    padding: 16px;
    border: 1px solid var(--mn-line);
    margin-bottom: 20px;
    background: #fff;
}

.sidebar-widget ul {
    padding-left: 18px;
    margin: 0;
}

.sidebar-widget li {
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

/* SEARCH AND FORMS */

.search-form {
    display: flex;
    gap: 8px;
    max-width: 100%;
}

.search-field {
    min-width: 0;
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.search-submit,
button,
input[type=submit] {
    background: var(--mn-red);
    color: #fff;
    border: 1px solid var(--mn-red);
    border-radius: 3px;
    padding: 10px 14px;
    cursor: pointer;
}

.search-submit:hover,
button:hover,
input[type=submit]:hover {
    background: #a50d25;
    border-color: #a50d25;
}

.comment-respond input:not([type=checkbox]),
.comment-respond textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.comment-respond textarea {
    min-height: 130px;
}

.comments-area {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--mn-line);
}

.comments-title {
    font-size: 21px;
}

.comment-list {
    padding-left: 22px;
}

.comment-form-cookies-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* POST NAVIGATION */

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0;
    min-width: 0;
}

.post-navigation > div {
    min-width: 0;
    max-width: 50%;
    overflow-wrap: anywhere;
}

.no-results {
    background: var(--mn-soft);
    padding: 24px;
    border: 1px solid var(--mn-line);
}

/* AD PLACEMENTS */

.mn-ad-placement {
    margin: 22px 0;
    min-width: 0;
}

.mn-ad-slot {
    margin: 0;
    padding: 12px;
    border: 1px dashed #cbd4dd;
    background: #fafbfc;
    min-width: 0;
}

.mn-ad-slot:empty {
    display: none;
}

/* FOOTER */

.site-footer {
    margin-top: 44px;
    background: var(--mn-navy-dark);
    color: #eaf0f6;
    border-top: 4px solid var(--mn-red);
}

.footer-inner {
    max-width: var(--mn-width);
    margin: 0 auto;
    padding: 30px 20px 20px;
}

.footer-brand {
    display: inline-block;
    color: #fff;
    font-weight: 900;
    font-size: 25px;
    letter-spacing: .2px;
    text-transform: uppercase;
    border-left: 4px solid var(--mn-red);
    padding-left: 10px;
}

.footer-tagline {
    color: #c6d2df;
    margin: 5px 0 18px;
    font-size: 13px;
}

.footer-nav ul {
    display: flex;
    gap: 8px 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 14px 0 20px;
}

.footer-nav li {
    min-width: 0;
}

.footer-nav a {
    color: #d5dfeb;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copy {
    border-top: 1px solid #383838;
    padding-top: 15px;
    margin: 0;
    color: #d5dfeb;
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* SCREEN READER */

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* TABLET */

@media (max-width: 1100px) {
    .site-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mn-home-grid {
        grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
    }

    .mn-home-sidebar {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .news-grid-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .homepage-main .home-section.category-section .news-grid-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .mn-category-nav a {
        padding: 0 9px;
        font-size: 12px;
    }

    .mn-topbar-inner {
        gap: 10px;
    }

    .mn-utility-nav {
        gap: 8px;
    }
}

/* MEDIUM TABLET */

@media (max-width: 900px) {
    .mn-topbar-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mn-utility-nav a {
        font-size: 11px;
    }

    .header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mn-category-nav-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mn-category-nav ul {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .site-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .breaking-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    .mn-topbar-inner {
        padding: 6px 14px;
        min-height: 32px;
        justify-content: space-between;
    }

    .mn-topbar-date {
        font-size: 10px;
        gap: 7px;
    }

    .mn-utility-nav,
    .mn-social-nav {
        display: none;
    }

    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        min-height: 68px;
        padding: 8px 12px;
        gap: 8px;
    }

    .site-branding {
        display: flex !important;
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 150px) !important;
        min-width: 0 !important;
        margin: 0 auto 0 0 !important;
        order: 1 !important;
    }

    .site-header .mn-header-controls {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: max-content !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        order: 2 !important;
        gap: 5px;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .site-header .search-toggle,
    .site-header .menu-toggle {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0;
        font-size: 19px;
    }

    .site-header .language-switcher {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: max-content !important;
        align-items: center !important;
        gap: 3px !important;
    }

    .site-header .language-btn {
        display: inline-flex !important;
        visibility: visible !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        padding: 5px 5px !important;
        min-height: 32px !important;
        font-size: 10px !important;
    }

    .site-header .custom-logo-wrap img {
        max-width: clamp(92px,34vw,160px);
        max-height: 43px;
    }

    .site-header .text-logo {
        font-size: clamp(19px,5.5vw,25px);
        letter-spacing: -.6px;
        white-space: nowrap;
    }

    .site-header .site-description {
        font-size: 9px;
        line-height: 1.15;
        max-width: 190px;
    }

    .mn-category-nav {
        display: none;
    }

    .mn-search-panel {
        right: 10px;
        width: calc(100vw - 20px);
    }

    .breaking-inner {
        padding: 7px 12px;
        gap: 8px;
    }

    .breaking-label {
        font-size: 9px;
        padding: 6px 7px;
    }

    .breaking-track {
        gap: 20px;
        animation-duration: 26s;
    }

    .breaking-track a {
        font-size: 11px;
    }

    .site-main {
        padding: 0 12px;
        margin-bottom: 25px;
    }

    .homepage-main {
        margin-top: 16px;
    }

    .section-title-row {
        margin-bottom: 10px;
        gap: 8px;
    }

    .section-heading {
        font-size: 20px;
    }

    .section-kicker {
        font-size: 11px;
    }

    .mn-home-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 13px;
    }

    .lead-copy {
        padding: 11px 12px 13px;
    }

    .lead-copy h2 {
        font-size: 22px;
    }

    .lead-copy p {
        font-size: 13px;
    }

    .top-story-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .top-story-item {
        grid-template-columns: 112px minmax(0,1fr);
        gap: 10px;
        padding: 9px 0;
    }

    .top-story-item h3 {
        font-size: 15px;
    }

    .mn-home-sidebar {
        grid-column: auto;
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap: 10px;
    }

    .mn-sidebar-heading {
        font-size: 16px;
    }

    .mn-popular-item {
        grid-template-columns: 22px 70px minmax(0,1fr);
    }

    .mn-popular-item h3 {
        font-size: 13px;
    }

    .home-section,
    .latest-news-section {
        margin-top: 22px;
    }

    .news-grid,
    .news-grid-3,
    .news-grid-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .homepage-main .home-section.category-section .news-grid-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .news-card-body {
        padding: 9px;
    }

    .news-card h2,
    .news-card-title {
        font-size: 14px;
        line-height: 1.28;
    }

    .news-card .excerpt {
        display: none;
    }

    .news-card .read-more {
        font-size: 11px;
    }

    .entry-title {
        font-size: 27px;
    }

    .entry-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .entry-content h2 {
        font-size: 22px;
    }

    .entry-content h3 {
        font-size: 19px;
    }

    .footer-inner {
        padding: 24px 14px;
    }

    .footer-nav ul {
        gap: 10px 14px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .header-inner {
        padding-left: 8px;
        padding-right: 8px;
        gap: 5px;
    }

    .site-branding {
        max-width: calc(100% - 142px) !important;
    }

    .site-header .mn-header-controls {
        gap: 3px !important;
    }

    .site-header .search-toggle,
    .site-header .menu-toggle {
        flex-basis: 30px !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 32px !important;
    }

    .site-header .language-btn {
        padding: 4px 4px !important;
        font-size: 9px !important;
    }

    .site-header .custom-logo-wrap img {
        max-width: 100% !important;
    }

    .site-header .text-logo {
        font-size: 18px;
    }

    .site-header .site-description {
        display: none;
    }

    .mn-topbar-date {
        font-size: 9px;
    }

    .mn-weather-mark {
        font-size: 15px;
    }

    .breaking-label {
        font-size: 10px;
        padding: 6px 8px;
    }

    .section-heading {
        font-size: 19px;
    }

    .top-story-thumb {
        width: 100%;
    }

    .top-story-item {
        grid-template-columns: 88px minmax(0,1fr);
    }

    .top-story-item h3 {
        font-size: 14px;
    }

    .lead-copy h2 {
        font-size: 20px;
    }

    .news-grid,
    .news-grid-3,
    .news-grid-4,
    .homepage-main .home-section.category-section .news-grid-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
    }

    .news-card {
        display: flex;
        flex-direction: column;
    }

    .news-card-image {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
        min-height: 0;
    }

    .news-card-body {
        padding: 8px;
    }

    .news-card h2,
    .news-card-title {
        font-size: 13px;
    }

    .entry-title {
        font-size: 24px;
    }

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

/* ADMIN BAR */

@media (max-width: 600px) {
    body.admin-bar #wpadminbar {
        position: fixed;
    }

    html {
        scroll-padding-top: 46px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .breaking-track {
        animation: none;
    }

    .news-card-image img {
        transition: none;
    }
}

/* ==================================================
   MUMBAINEWZ - RESPONSIVE LAYOUT FIX
   Desktop + Tablet + Mobile
   ================================================== */

/* GLOBAL OVERFLOW FIX */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.site-main,
.homepage-main,
.home-section,
.category-section,
.latest-news-section,
.top-stories {
    width: 100%;
    max-width: 1280px;
    min-width: 0;
}

/* DESKTOP TOP STORIES */
@media (min-width: 1101px) {
    .homepage-main .mn-home-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) !important;
        gap: 22px !important;
        align-items: start !important;
        width: 100% !important;
    }

    .homepage-main .mn-lead-column,
    .homepage-main .top-story-list {
        width: 100%;
        min-width: 0;
    }

    .homepage-main .mn-home-sidebar {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both;
        margin-top: 25px !important;
    }

    .homepage-main .mn-home-sidebar .mn-sidebar-panel {
        width: 100%;
        max-width: 100%;
    }

    .homepage-main .top-story-item {
        grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
        gap: 12px;
    }

    .homepage-main .top-story-item h3 {
        font-size: 17px;
    }
}

/* LARGE TABLET */
@media (min-width: 761px) and (max-width: 1100px) {
    .site-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .homepage-main .mn-home-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
        gap: 16px !important;
        align-items: start;
    }

    .homepage-main .mn-home-sidebar {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        width: 100%;
        margin-top: 20px !important;
    }

    .homepage-main .mn-sidebar-panel {
        min-width: 0;
        margin-bottom: 0;
    }

    .homepage-main .top-story-item {
        grid-template-columns: minmax(90px, 38%) minmax(0, 1fr);
        gap: 9px;
    }

    .homepage-main .top-story-item h3 {
        font-size: 15px;
    }

    .homepage-main .lead-copy h2 {
        font-size: 25px;
    }

    .homepage-main .news-grid-4,
    .homepage-main .home-section.category-section .news-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .mn-category-nav a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }
}

/* TABLET / SMALL SCREEN */
@media (min-width: 761px) and (max-width: 900px) {
    .header-inner {
        gap: 10px;
    }

    .site-title,
    .text-logo {
        font-size: 26px;
    }

    .mn-utility-nav {
        gap: 7px;
    }

    .mn-utility-nav a {
        font-size: 10px;
    }
}

/* MOBILE */
@media (max-width: 760px) {
    .site-main,
    .homepage-main {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .homepage-main .mn-home-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 13px !important;
        width: 100%;
    }

    .homepage-main .mn-lead-column,
    .homepage-main .top-story-list {
        width: 100%;
        min-width: 0;
    }

    .homepage-main .lead-image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .homepage-main .lead-copy {
        padding: 11px 12px 13px;
    }

    .homepage-main .lead-copy h2 {
        font-size: 22px;
        line-height: 1.25;
    }

    .homepage-main .top-story-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .homepage-main .top-story-item {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 0;
    }

    .homepage-main .top-story-item h3 {
        font-size: 15px;
        line-height: 1.3;
    }

    .homepage-main .mn-home-sidebar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
        width: 100%;
        margin-top: 15px !important;
    }

    .homepage-main .mn-sidebar-panel {
        width: 100%;
        margin-bottom: 0;
    }

    .section-title-row {
        gap: 8px;
    }

    .section-heading {
        font-size: 20px;
    }

    .section-kicker {
        font-size: 11px;
    }

    .homepage-main .news-grid,
    .homepage-main .news-grid-3,
    .homepage-main .news-grid-4,
    .homepage-main .home-section.category-section .news-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .homepage-main .news-card {
        width: 100%;
        min-width: 0;
    }

    .homepage-main .news-card-body {
        padding: 9px;
    }

    .homepage-main .news-card h2,
    .homepage-main .news-card-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .homepage-main .news-card .excerpt {
        display: none;
    }

    .homepage-main .mn-popular-item {
        grid-template-columns: 22px 65px minmax(0, 1fr);
    }

    .homepage-main .mn-popular-item h3 {
        font-size: 13px;
    }
}

/* SMALL MOBILE */
@media (max-width: 380px) {
    .site-main,
    .homepage-main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .homepage-main .top-story-item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 8px;
    }

    .homepage-main .top-story-item h3 {
        font-size: 14px;
    }

    .homepage-main .lead-copy h2 {
        font-size: 20px;
    }

    .homepage-main .news-grid,
    .homepage-main .news-grid-3,
    .homepage-main .news-grid-4,
    .homepage-main .home-section.category-section .news-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .homepage-main .news-card h2,
    .homepage-main .news-card-title {
        font-size: 13px;
    }
}

/* IMAGE RESPONSIVENESS */
.homepage-main img {
    max-width: 100%;
}

.homepage-main .news-card-image img,
.homepage-main .lead-image img,
.homepage-main .top-story-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PREVENT GRID OVERFLOW */
.homepage-main .mn-home-grid > *,
.homepage-main .news-grid > *,
.homepage-main .mn-home-sidebar > * {
    min-width: 0;
    max-width: 100%;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .homepage-main *,
    .homepage-main *::before,
    .homepage-main *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* SINGLE POST FULL WIDTH - FINAL FIX */

body.single-post .content-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-post .content-primary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
}

body.single-post .page-article {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.single-post .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 1100px) {
    body.single-post .content-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 760px) {
    body.single-post .content-layout {
        display: block !important;
        width: 100% !important;
    }

    body.single-post .content-primary,
    body.single-post .page-article {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* CATEGORY, ARCHIVE & NORMAL PAGES FULL WIDTH FIX */

body.category .content-layout,
body.archive .content-layout,
body.page .content-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
}

body.category .content-primary,
body.archive .content-primary,
body.page .content-primary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1 !important;
}

body.category .sidebar,
body.archive .sidebar,
body.page .sidebar {
    width: 100% !important;
    max-width: 100% !important;
}

body.category .content-primary > *,
body.archive .content-primary > *,
body.page .content-primary > * {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    body.category .content-layout,
    body.archive .content-layout,
    body.page .content-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 760px) {
    body.category .content-layout,
    body.archive .content-layout,
    body.page .content-layout {
        display: block !important;
        width: 100% !important;
    }

    body.category .content-primary,
    body.archive .content-primary,
    body.page .content-primary {
        width: 100% !important;
        max-width: 100% !important;
    }
}
