/*
|--------------------------------------------------------------------------
| Modern Bangla Newspaper Theme
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);
    font-family: var(--font-english);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body.theme-modern {
    --mbd-red: var(--primary, #d71920);
    --mbd-red-dark: var(--primary-dark, #a80f15);
    --mbd-black: #111111;
    --mbd-text: #1f2933;
    --mbd-muted: #667085;
    --mbd-line: #e5e7eb;
    --mbd-soft: #f8fafc;
    --mbd-card: #ffffff;
    background: #ffffff;
}

:lang(bn),
.bn-text,
.bangla-content {
    font-family: var(--font-bangla) !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

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

main,
section,
article,
aside,
header,
footer,
.mbd-container,
.news-card,
.banner-card {
    min-width: 0;
}

.mbd-container,
.container {
    width: min(1180px, calc(100% - 32px));
    max-width: 100%;
    margin: 0 auto;
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.mbd-header {
    background: #ffffff;
    border-bottom: 1px solid var(--mbd-line);
    position: relative;
    z-index: 100;
}

.mbd-header-top {
    border-bottom: 1px solid #edf0f4;
    background: #ffffff;
    color: #4b5563;
    font-size: 13px;
}

.mbd-header-top-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mbd-date {
    white-space: nowrap;
    font-weight: 700;
}

.mbd-top-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    font-weight: 700;
}

.mbd-top-links a:hover {
    color: var(--mbd-red);
}

.mbd-logo-row {
    min-height: 82px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    background: #fff;
}

.mbd-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -.8px;
    color: var(--mbd-black);
}

.mbd-brand img {
    max-width: 210px;
    max-height: 58px;
    object-fit: contain;
}

.mbd-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mbd-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.mbd-header-stories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.mbd-header-story {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding-right: 12px;
    border-right: 1px solid #edf0f4;
}

.mbd-header-story:last-child {
    border-right: 0;
}

.mbd-header-story img {
    width: 56px;
    height: 44px;
    object-fit: cover;
    border-radius: 3px;
    background: #eef2f7;
}

.mbd-header-story span {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    color: #222;
}

.mbd-header-story:hover span {
    color: var(--mbd-red);
}

.mbd-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.mbd-icon-btn,
.mbd-menu-btn,
.mbd-login-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.mbd-icon-btn:hover,
.mbd-menu-btn:hover,
.mbd-login-btn:hover {
    background: #f9fafb;
    color: var(--mbd-red);
}

.mbd-menu-btn {
    display: none;
    font-size: 20px;
}

.mbd-nav-shell {
    background: #fff;
    border-top: 1px solid var(--mbd-line);
    border-bottom: 1px solid var(--mbd-line);
    position: sticky;
    top: 0;
    z-index: 99;
}

.mbd-nav-inner {
    min-height: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
}

.mbd-main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
    min-width: 0;
}

.mbd-main-nav > a,
.mbd-nav-item > a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    color: #111827;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.mbd-main-nav > a:hover,
.mbd-nav-item > a:hover,
.mbd-main-nav > a.active,
.mbd-nav-item > a.active {
    color: var(--mbd-red);
    background: #fff5f5;
    border-color: #fde2e2;
}

.mbd-nav-item {
    position: relative;
}

.mbd-nav-item em {
    font-style: normal;
    font-size: 10px;
    opacity: .75;
}

.mbd-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: #fff;
    border: 1px solid var(--mbd-line);
    box-shadow: 0 20px 55px rgba(15, 23, 42, .13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .16s ease;
    z-index: 1000;
    padding: 8px;
}

.mbd-nav-item:hover .mbd-dropdown,
.mbd-nav-item:focus-within .mbd-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mbd-dropdown a {
    display: block;
    padding: 10px 11px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid #f1f5f9;
}

.mbd-dropdown a:last-child {
    border-bottom: 0;
}

.mbd-dropdown a:hover {
    color: var(--mbd-red);
    background: #fff5f5;
}

.mbd-nav-tools {
    display: flex;
    align-items: center;
    border-left: 1px solid var(--mbd-line);
}

.mbd-nav-tools button,
.mbd-nav-tools span {
    min-height: 48px;
    border: 0;
    border-right: 1px solid var(--mbd-line);
    background: #fff;
    padding: 0 13px;
    color: #111827;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.mbd-nav-tools button:hover {
    color: var(--mbd-red);
}

.mbd-search-panel {
    display: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--mbd-line);
    background: #ffffff;
}

.mbd-search-panel.open {
    display: block;
}

.mbd-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
}

.mbd-search-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--mbd-line);
    border-radius: 0;
    padding: 10px 13px;
    outline: none;
    font-size: 15px;
}

.mbd-search-form input:focus {
    border-color: var(--mbd-red);
}

.mbd-search-form button {
    border: 0;
    background: var(--mbd-red);
    color: #fff;
    padding: 0 18px;
    font-weight: 900;
    cursor: pointer;
}

.mbd-search-form .mbd-search-close {
    width: 44px;
    padding: 0;
    background: #111827;
    font-size: 22px;
}

.mbd-header-ad-area {
    padding: 18px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-header-ad-banner,
.header-ad-banner {
    height: 90px;
    border-radius: 0 !important;
    margin: 0 !important;
}

.mbd-header-ad-banner .banner-overlay,
.header-ad-banner .banner-overlay {
    display: none !important;
}

.mbd-breaking {
    background: #ffffff;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-breaking-inner {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.mbd-breaking strong {
    color: var(--mbd-red);
    font-size: 14px;
    white-space: nowrap;
}

.mbd-breaking-track {
    overflow: hidden;
    white-space: nowrap;
}

.mbd-breaking-track div {
    display: inline-flex;
    gap: 28px;
    animation: mbdTicker 36s linear infinite;
}

.mbd-breaking-track a {
    color: #1f2937;
    font-size: 14px;
    font-weight: 760;
}

.mbd-breaking-track a::before {
    content: "●";
    color: var(--mbd-red);
    margin-right: 8px;
    font-size: 9px;
}

.mbd-breaking-track a:hover {
    color: var(--mbd-red);
}

@keyframes mbdTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/*
|--------------------------------------------------------------------------
| Mobile Menu
|--------------------------------------------------------------------------
*/

.mbd-mobile-panel {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .62);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}

.mbd-mobile-panel.open {
    opacity: 1;
    visibility: visible;
}

.mbd-mobile-card {
    width: min(100%, 420px);
    height: 100%;
    margin-left: auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: .22s ease;
    overflow-y: auto;
}

.mbd-mobile-panel.open .mbd-mobile-card {
    transform: translateX(0);
}

.mbd-mobile-head {
    min-height: 72px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--mbd-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mbd-mobile-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.mbd-mobile-logo img {
    max-width: 185px;
    max-height: 48px;
    object-fit: contain;
}

.mbd-mobile-head button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--mbd-line);
    background: #fff;
    font-size: 26px;
    cursor: pointer;
}

.mbd-mobile-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-mobile-search input {
    min-height: 42px;
    border: 1px solid var(--mbd-line);
    padding: 10px 12px;
    outline: none;
}

.mbd-mobile-search button {
    border: 0;
    background: var(--mbd-red);
    color: #fff;
    padding: 0 14px;
    font-weight: 900;
}

.mbd-mobile-nav {
    display: grid;
    padding: 10px 16px;
}

.mbd-mobile-nav > a,
.mbd-mobile-row > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    border-bottom: 1px solid #f1f5f9;
}

.mbd-mobile-nav a.active {
    color: var(--mbd-red);
}

.mbd-mobile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.mbd-mobile-row button {
    width: 38px;
    height: 38px;
    margin-top: 3px;
    border: 1px solid var(--mbd-line);
    background: #fff;
    font-size: 20px;
    cursor: pointer;
}

.mbd-mobile-submenu {
    display: none;
    padding: 6px 0 8px 14px;
}

.mbd-mobile-submenu.open {
    display: grid;
}

.mbd-mobile-submenu a {
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #4b5563;
    font-size: 14px;
    font-weight: 800;
}

.mbd-mobile-footer {
    margin-top: auto;
    padding: 16px;
    background: #f8fafc;
    border-top: 1px solid var(--mbd-line);
}

.mbd-mobile-footer p {
    margin: 6px 0 0;
    color: var(--mbd-muted);
    font-size: 13px;
    line-height: 1.6;
}

.mbd-mobile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mbd-mobile-social a {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid var(--mbd-line);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
}

/*
|--------------------------------------------------------------------------
| Common Components
|--------------------------------------------------------------------------
*/

.section {
    padding: 28px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    border-bottom: 2px solid #111827;
    padding-bottom: 8px;
}

.section-title {
    margin: 0;
    color: #111827;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.4px;
    font-weight: 900;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--mbd-red);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.view-all {
    color: var(--mbd-red);
    font-size: 14px;
    font-weight: 900;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--mbd-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
    margin-bottom: 8px;
}

.category-pill {
    color: var(--mbd-red);
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: 900;
}

.news-card {
    background: #fff;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: .16s ease;
}

.news-card:hover {
    transform: none;
    box-shadow: none;
}

.news-thumb {
    display: block;
    background: #e5e7eb;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .25s ease;
}

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

.news-body {
    padding: 10px 0 0;
}

.news-title {
    margin: 0;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.25px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.news-title a:hover {
    color: var(--mbd-red);
}

.news-summary {
    margin: 7px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| Banner / Ads
|--------------------------------------------------------------------------
*/

.ad-unit-wrap {
    margin-bottom: 18px;
}

.ad-label {
    display: inline-flex;
    margin-bottom: 6px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.ad-code-box {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mbd-line);
}

.ad-code-box iframe,
.ad-code-box ins,
.ad-code-box div,
.ad-code-box img {
    max-width: 100%;
}

.banner-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: #f2f4f7;
    border: 1px solid var(--mbd-line);
    box-shadow: none;
}

.banner-card picture,
.banner-card picture img,
.banner-card img {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-card img {
    object-fit: cover;
}

.banner-wide {
    height: 210px;
    margin-bottom: 20px;
}

.banner-hero {
    height: 360px;
    margin-bottom: 22px;
}

.banner-sidebar {
    height: 260px;
    margin-bottom: 18px;
}

.banner-strip {
    margin-bottom: 20px;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .65));
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
}

.banner-title {
    margin: 0;
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: -.5px;
}

.banner-subtitle {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .88);
    max-width: 680px;
    font-size: 14px;
}

.banner-button {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 0;
    background: var(--mbd-red);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}

.banner-device-mobile {
    display: none;
}

/*
|--------------------------------------------------------------------------
| Poll Widget
|--------------------------------------------------------------------------
*/

.frontend-poll-widget {
    background: #fff;
    border: 1px solid var(--mbd-line);
    border-radius: 0;
    padding: 16px;
    box-shadow: none;
    margin-bottom: 18px;
}

.frontend-poll-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.frontend-poll-head span {
    color: var(--mbd-red);
    font-size: 12px;
    font-weight: 900;
}

.frontend-poll-head em {
    color: #166534;
    background: #ecfdf5;
    padding: 3px 8px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.frontend-poll-widget h3 {
    margin: 0;
    color: #111827;
    font-size: 19px;
    line-height: 1.35;
}

.frontend-poll-description {
    margin: 8px 0 0;
    color: var(--mbd-muted);
    font-size: 14px;
}

.frontend-poll-alert {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
}

.frontend-poll-alert.success {
    background: #ecfdf5;
    color: #047857;
}

.frontend-poll-alert.error {
    background: #fef2f2;
    color: #b91c1c;
}

.frontend-poll-form {
    margin-top: 14px;
}

.frontend-poll-options {
    display: grid;
    gap: 8px;
}

.frontend-poll-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid var(--mbd-line);
    background: #f8fafc;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.frontend-poll-option input {
    accent-color: var(--mbd-red);
}

.frontend-poll-submit {
    width: 100%;
    margin-top: 11px;
    border: 0;
    background: var(--mbd-red);
    color: #fff;
    padding: 11px 14px;
    font-weight: 900;
    cursor: pointer;
}

.frontend-poll-results {
    display: grid;
    gap: 11px;
    margin-top: 14px;
}

.frontend-poll-result-item {
    padding: 11px;
    border: 1px solid var(--mbd-line);
    background: #f8fafc;
}

.frontend-poll-result-item.selected {
    background: #fff5f5;
    border-color: #fecaca;
}

.frontend-poll-result-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.frontend-poll-result-top strong {
    color: #111827;
    font-size: 14px;
}

.frontend-poll-result-top strong small {
    margin-left: 5px;
    padding: 2px 6px;
    background: var(--mbd-red);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.frontend-poll-result-top span {
    color: var(--mbd-red);
    font-size: 13px;
    font-weight: 900;
}

.frontend-poll-progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #e5e7eb;
}

.frontend-poll-progress div {
    height: 100%;
    background: var(--mbd-red);
}

.frontend-poll-votes,
.frontend-poll-footer {
    color: var(--mbd-muted);
    font-size: 12px;
    font-weight: 800;
}

.frontend-poll-votes {
    margin-top: 6px;
}

.frontend-poll-footer {
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.pagination-wrap {
    margin-top: 26px;
}

.custom-pagination {
    display: grid;
    justify-items: center;
    gap: 13px;
    width: 100%;
}

.custom-pagination-info {
    color: var(--mbd-muted);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.custom-pagination-info strong {
    color: #111827;
    font-weight: 900;
}

.custom-pagination-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.custom-page-btn,
.custom-page-dots {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.custom-page-btn {
    border: 1px solid var(--mbd-line);
    background: #ffffff;
    color: #374151;
}

a.custom-page-btn:hover {
    background: #fff5f5;
    border-color: #fecaca;
    color: var(--mbd-red);
}

.custom-page-btn.active {
    background: var(--mbd-red);
    border-color: var(--mbd-red);
    color: #ffffff;
}

.custom-page-btn.disabled {
    opacity: .45;
    cursor: not-allowed;
    background: #f8fafc;
}

.custom-page-dots {
    color: #9ca3af;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.mbd-footer {
    margin-top: 38px;
    padding: 32px 0 18px;
    background: #ffffff;
    border-top: 4px solid #111827;
    color: #1f2937;
}

.mbd-footer-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: #111827;
}

.mbd-footer-brand img {
    max-width: 210px;
    max-height: 58px;
    object-fit: contain;
}

.mbd-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mbd-footer-social a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--mbd-line);
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.mbd-footer-social a:hover {
    color: var(--mbd-red);
    border-color: #fecaca;
}

.mbd-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(160px, .7fr) minmax(160px, .7fr) minmax(250px, .85fr);
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-footer-about p {
    margin: 0;
    color: #4b5563;
    line-height: 1.75;
}

.mbd-footer-contact {
    display: grid;
    gap: 7px;
    margin-top: 14px;
}

.mbd-footer-contact a,
.mbd-footer-contact span {
    color: #4b5563;
    font-size: 14px;
    font-weight: 760;
}

.mbd-footer-col h3,
.mbd-footer-newsletter h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.mbd-footer-links {
    display: grid;
    gap: 8px;
}

.mbd-footer-links a,
.mbd-footer-links span {
    color: #4b5563;
    font-size: 14px;
    font-weight: 760;
}

.mbd-footer-links a:hover {
    color: var(--mbd-red);
}

.mbd-footer-newsletter {
    padding: 16px;
    border: 1px solid var(--mbd-line);
    background: #f8fafc;
}

.mbd-footer-newsletter p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.mbd-newsletter-form {
    display: grid;
    gap: 8px;
}

.mbd-newsletter-form input {
    min-height: 42px;
    border: 1px solid var(--mbd-line);
    background: #fff;
    padding: 10px 12px;
    outline: none;
}

.mbd-newsletter-form button {
    min-height: 42px;
    border: 0;
    background: var(--mbd-red);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.footer-newsletter-message {
    display: none;
    margin-top: 10px;
    padding: 9px 11px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.footer-newsletter-message.success {
    display: block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.footer-newsletter-message.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.mbd-footer-bottom {
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: #667085;
    font-size: 13px;
    font-weight: 760;
}

.mbd-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mbd-footer-bottom-links a:hover {
    color: var(--mbd-red);
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {
    .mbd-logo-row {
        grid-template-columns: 210px minmax(0, 1fr) auto;
        gap: 16px;
    }

    .mbd-header-stories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mbd-header-story:nth-child(3) {
        display: none;
    }

    .mbd-main-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .mbd-main-nav::-webkit-scrollbar {
        display: none;
    }

    .mbd-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .mbd-container,
    .container {
        width: min(100% - 24px, 1180px);
    }

    .mbd-header-top-inner {
        justify-content: center;
    }

    .mbd-date {
        font-size: 12px;
    }

    .mbd-top-links {
        display: none;
    }

    .mbd-logo-row {
        min-height: 70px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .mbd-brand img {
        max-width: 170px;
        max-height: 46px;
    }

    .mbd-brand {
        font-size: 21px;
    }

    .mbd-header-stories {
        display: none;
    }

    .mbd-login-btn {
        display: none;
    }

    .mbd-menu-btn {
        display: inline-flex;
    }

    .mbd-nav-shell {
        display: none;
    }

    .mbd-header-ad-area {
        padding: 12px 0;
    }

    .mbd-header-ad-banner,
    .header-ad-banner {
        height: 72px;
    }

    .mbd-breaking-inner {
        min-height: 40px;
    }

    .mbd-breaking strong,
    .mbd-breaking-track a {
        font-size: 13px;
    }

    .section {
        padding: 22px 0;
    }

    .section-heading {
        align-items: center;
        gap: 10px;
    }

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

    .banner-device-desktop {
        display: none !important;
    }

    .banner-device-mobile {
        display: block;
    }

    .banner-wide,
    .banner-hero {
        height: 220px;
    }

    .banner-sidebar {
        height: 230px;
    }

    .banner-title {
        font-size: 21px;
        line-height: 1.2;
    }

    .banner-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .banner-button {
        font-size: 12px;
        padding: 8px 11px;
    }

    .mbd-footer-brand-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .mbd-footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .mbd-footer-bottom {
        text-align: center;
        justify-content: center;
    }

    .mbd-footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .mbd-container,
    .container {
        width: min(100% - 18px, 1180px);
    }

    .mbd-icon-btn,
    .mbd-menu-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 0;
    }

    .banner-wide,
    .banner-hero {
        height: 200px;
    }

    .banner-sidebar {
        height: 210px;
    }

    .custom-pagination-links {
        gap: 6px;
    }

    .custom-page-btn,
    .custom-page-dots {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }
}
/*
|--------------------------------------------------------------------------
| Modern Homepage
|--------------------------------------------------------------------------
*/

.mbd-ad-section {
    padding: 18px 0 0;
    background: #ffffff;
}

.mbd-home {
    padding: 24px 0 0;
    background: #ffffff;
}

.mbd-home-hero-ads {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.mbd-home-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}

.mbd-lead-area {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.mbd-lead-news {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .82fr);
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-lead-image {
    display: block;
    min-height: 355px;
    background: #e5e7eb;
    overflow: hidden;
}

.mbd-lead-image img {
    width: 100%;
    height: 100%;
    min-height: 355px;
    object-fit: cover;
    transition: .28s ease;
}

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

.mbd-lead-content {
    align-self: center;
    min-width: 0;
}

.mbd-lead-title {
    margin: 0;
    color: #111827;
    font-size: 36px;
    line-height: 1.16;
    letter-spacing: -.9px;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.mbd-lead-title a:hover {
    color: var(--mbd-red);
}

.mbd-lead-summary {
    margin: 13px 0 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
}

.mbd-side-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mbd-mini-feature {
    min-width: 0;
    padding-right: 16px;
    border-right: 1px solid var(--mbd-line);
}

.mbd-mini-feature:last-child {
    border-right: 0;
    padding-right: 0;
}

.mbd-mini-feature-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 10px;
}

.mbd-mini-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .24s ease;
}

.mbd-mini-feature:hover .mbd-mini-feature-image img {
    transform: scale(1.03);
}

.mbd-mini-feature h2 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 920;
    letter-spacing: -.25px;
    overflow-wrap: anywhere;
}

.mbd-mini-feature h2 a:hover {
    color: var(--mbd-red);
}

.mbd-time {
    display: inline-flex;
    margin-top: 7px;
    color: #667085;
    font-size: 12px;
    font-weight: 760;
}

.mbd-home-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 70px;
    min-width: 0;
}

.mbd-sidebar-tabs {
    border: 1px solid var(--mbd-line);
    background: #fff;
}

.mbd-sidebar-tabs-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-sidebar-tabs-head span {
    padding: 11px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    color: #344054;
    background: #f8fafc;
}

.mbd-sidebar-tabs-head span.active {
    background: #ffffff;
    color: var(--mbd-red);
    border-top: 3px solid var(--mbd-red);
    padding-top: 8px;
}

.mbd-ranked-list {
    display: grid;
}

.mbd-ranked-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 14px;
    border-bottom: 1px solid #eef2f7;
}

.mbd-ranked-item:last-child {
    border-bottom: 0;
}

.mbd-rank-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff5f5;
    color: var(--mbd-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
}

.mbd-ranked-item h3 {
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.48;
    font-weight: 880;
    overflow-wrap: anywhere;
}

.mbd-ranked-item h3 a:hover {
    color: var(--mbd-red);
}

.mbd-muted-text {
    padding: 14px;
    color: #667085;
    font-size: 14px;
}

.mbd-latest-section,
.mbd-trending-strip,
.mbd-category-section {
    margin-top: 34px;
}

.mbd-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mbd-latest-card {
    min-width: 0;
    border-bottom: 1px solid var(--mbd-line);
    padding-bottom: 14px;
}

.mbd-latest-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 10px;
}

.mbd-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .24s ease;
}

.mbd-latest-card:hover .mbd-latest-image img {
    transform: scale(1.03);
}

.mbd-latest-card h3 {
    margin: 0;
    color: #111827;
    font-size: 17px;
    line-height: 1.38;
    font-weight: 920;
    overflow-wrap: anywhere;
}

.mbd-latest-card h3 a:hover {
    color: var(--mbd-red);
}

.mbd-latest-card p {
    margin: 8px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.62;
}

.mbd-trending-strip {
    padding: 20px;
    background: #f8fafc;
    border-top: 3px solid #111827;
    border-bottom: 1px solid var(--mbd-line);
}

.mbd-trending-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mbd-trending-card {
    min-width: 0;
}

.mbd-trending-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 10px;
}

.mbd-trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbd-trending-card h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.38;
    font-weight: 920;
    overflow-wrap: anywhere;
}

.mbd-trending-card h3 a:hover {
    color: var(--mbd-red);
}

.mbd-category-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 22px;
}

.mbd-category-main {
    min-width: 0;
}

.mbd-category-main-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 12px;
}

.mbd-category-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbd-category-main h3 {
    margin: 0;
    color: #111827;
    font-size: 25px;
    line-height: 1.28;
    font-weight: 950;
    letter-spacing: -.45px;
    overflow-wrap: anywhere;
}

.mbd-category-main h3 a:hover {
    color: var(--mbd-red);
}

.mbd-category-main p {
    margin: 10px 0 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.72;
}

.mbd-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.mbd-category-list-item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--mbd-line);
    min-width: 0;
}

.mbd-category-list-image {
    width: 118px;
    height: 82px;
    background: #e5e7eb;
    overflow: hidden;
}

.mbd-category-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbd-category-list-item h3 {
    margin: 0;
    color: #111827;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.mbd-category-list-item h3 a:hover {
    color: var(--mbd-red);
}

.mbd-category-list-item span {
    display: inline-flex;
    margin-top: 6px;
    color: #667085;
    font-size: 12px;
    font-weight: 760;
}

.mbd-empty-state {
    padding: 28px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #667085;
    font-size: 14px;
    text-align: center;
}

/*
|--------------------------------------------------------------------------
| Modern Homepage Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {
    .mbd-home-top-grid {
        grid-template-columns: 1fr;
    }

    .mbd-home-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

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

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

@media (max-width: 820px) {
    .mbd-lead-news {
        grid-template-columns: 1fr;
    }

    .mbd-lead-image,
    .mbd-lead-image img {
        min-height: 300px;
    }

    .mbd-lead-title {
        font-size: 30px;
    }

    .mbd-side-feature-grid {
        grid-template-columns: 1fr;
    }

    .mbd-mini-feature {
        display: grid;
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 12px;
        padding-right: 0;
        border-right: 0;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--mbd-line);
    }

    .mbd-mini-feature-image {
        margin-bottom: 0;
        height: 92px;
        aspect-ratio: auto;
    }

    .mbd-home-sidebar {
        grid-template-columns: 1fr;
    }

    .mbd-latest-grid,
    .mbd-trending-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 560px) {
    .mbd-home {
        padding-top: 18px;
    }

    .mbd-home-top-grid {
        gap: 22px;
    }

    .mbd-lead-image,
    .mbd-lead-image img {
        min-height: 230px;
    }

    .mbd-lead-title {
        font-size: 25px;
        letter-spacing: -.55px;
    }

    .mbd-lead-summary {
        font-size: 15px;
    }

    .mbd-mini-feature {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .mbd-mini-feature-image {
        height: 76px;
    }

    .mbd-mini-feature h2 {
        font-size: 15px;
    }

    .mbd-latest-grid,
    .mbd-trending-grid {
        grid-template-columns: 1fr;
    }

    .mbd-trending-strip {
        padding: 16px;
    }

    .mbd-category-main h3 {
        font-size: 22px;
    }

    .mbd-category-list-item {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .mbd-category-list-image {
        width: 96px;
        height: 68px;
    }

    .mbd-category-list-item h3 {
        font-size: 14px;
    }
}
/*
|--------------------------------------------------------------------------
| Home Page Refinement Patch
|--------------------------------------------------------------------------
*/

.mbd-sidebar-tabs-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #eef2f7;
}

.mbd-sidebar-tabs-head button {
    border: 0;
    background: #f8fafc;
    color: #374151;
    min-height: 48px;
    padding: 12px 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    border-top: 3px solid transparent;
}

.mbd-sidebar-tabs-head button.active {
    background: #fff;
    color: var(--primary);
    border-top-color: var(--primary);
}

.mbd-tab-panel {
    display: none;
}

.mbd-tab-panel.active {
    display: block;
}

.mbd-sidebar-fallback {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    margin-top: 18px;
    overflow: hidden;
}

.mbd-sidebar-fallback-title {
    padding: 13px 16px;
    border-top: 3px solid var(--primary);
    border-bottom: 1px solid #eef2f7;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.mbd-sidebar-pick-list {
    display: grid;
}

.mbd-sidebar-pick-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid #eef2f7;
}

.mbd-sidebar-pick-item:last-child {
    border-bottom: 0;
}

.mbd-sidebar-pick-thumb {
    display: block;
    height: 64px;
    background: #e5e7eb;
    overflow: hidden;
}

.mbd-sidebar-pick-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbd-sidebar-pick-item h3 {
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.42;
    font-weight: 900;
}

.mbd-sidebar-pick-item h3 a:hover {
    color: var(--primary);
}

.mbd-sidebar-pick-item span {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

/*/*
|--------------------------------------------------------------------------
| Latest News Polished Grid
|--------------------------------------------------------------------------
*/

.mbd-latest-grid-polished {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
    grid-auto-flow: row;
}

.mbd-latest-grid-polished .mbd-latest-card {
    position: relative;
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
    background: #fff;
    overflow: hidden;
}

.mbd-latest-grid-polished .mbd-latest-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    background: #e5e7eb;
    overflow: hidden;
    margin: 0 0 11px;
    flex: 0 0 auto;
}

.mbd-latest-grid-polished .mbd-latest-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
    transition: .24s ease;
}

.mbd-latest-grid-polished .mbd-latest-card:hover .mbd-latest-image img {
    transform: scale(1.03);
}

.mbd-latest-grid-polished .mbd-latest-body {
    min-width: 0;
    flex: 1 1 auto;
}

.mbd-latest-grid-polished .mbd-latest-card h3 {
    margin: 0;
    color: #111827;
    font-size: 17px;
    line-height: 1.38;
    font-weight: 920;
    overflow-wrap: anywhere;
}

.mbd-latest-grid-polished .mbd-latest-card h3 a:hover {
    color: var(--mbd-red);
}

.mbd-latest-grid-polished .mbd-latest-card p {
    margin: 8px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.62;
}

.mbd-latest-grid-polished .mbd-latest-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 18px;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    padding: 14px;
    background: #fff;
}

.mbd-latest-grid-polished .mbd-latest-card-featured .mbd-latest-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto;
    margin: 0;
}

.mbd-latest-grid-polished .mbd-latest-card-featured .mbd-latest-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.mbd-latest-grid-polished .mbd-latest-card-featured h3 {
    font-size: 25px;
    line-height: 1.24;
}

.mbd-latest-grid-polished .mbd-latest-card-featured p {
    font-size: 15px;
    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Latest News Responsive Fix
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {
    .mbd-latest-grid-polished {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mbd-latest-grid-polished .mbd-latest-card-featured {
        grid-column: span 3;
    }
}

@media (max-width: 820px) {
    .mbd-latest-grid-polished {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mbd-latest-grid-polished .mbd-latest-card-featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .mbd-latest-grid-polished .mbd-latest-card-featured .mbd-latest-image {
        min-height: 260px;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 560px) {
    .mbd-latest-grid-polished {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mbd-latest-grid-polished .mbd-latest-card-featured {
        grid-column: span 1;
        padding: 0 0 16px;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        grid-template-columns: 1fr;
    }

    .mbd-latest-grid-polished .mbd-latest-card-featured .mbd-latest-image {
        min-height: 0;
        aspect-ratio: 16 / 10;
        margin-bottom: 11px;
    }

    .mbd-latest-grid-polished .mbd-latest-card-featured h3 {
        font-size: 20px;
        line-height: 1.32;
    }

    .mbd-latest-grid-polished .mbd-latest-card-featured .mbd-latest-body {
        display: block;
    }
}
/*
|--------------------------------------------------------------------------
| Trending Strip Polished
|--------------------------------------------------------------------------
*/

.mbd-trending-grid-polished {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mbd-trending-grid-polished .mbd-trending-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: .18s ease;
}

.mbd-trending-grid-polished .mbd-trending-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.mbd-trending-grid-polished .mbd-trending-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    overflow: hidden;
}

.mbd-trending-grid-polished .mbd-trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbd-trending-body {
    padding: 13px;
}

.mbd-trending-body h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.42;
    font-weight: 900;
}

.mbd-trending-body h3 a:hover {
    color: var(--primary);
}

/*
|--------------------------------------------------------------------------
| Category Block Variations
|--------------------------------------------------------------------------
*/

.mbd-category-section-classic .mbd-category-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.mbd-category-section-alt .mbd-category-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.mbd-category-section-alt .mbd-category-main {
    order: 2;
}

.mbd-category-section-alt .mbd-category-list {
    order: 1;
}

.mbd-category-section-alt {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px;
    margin-left: -24px;
    margin-right: -24px;
}

.mbd-category-section-alt .mbd-category-list-item,
.mbd-category-section-alt .mbd-category-main {
    background: #fff;
}

/*
|--------------------------------------------------------------------------
| Image Placeholder Safety
|--------------------------------------------------------------------------
*/

.mbd-lead-image,
.mbd-mini-feature-image,
.mbd-latest-image,
.mbd-trending-image,
.mbd-category-main-image,
.mbd-category-list-image {
    background: #e5e7eb;
}

.mbd-lead-image:empty,
.mbd-mini-feature-image:empty,
.mbd-latest-image:empty,
.mbd-trending-image:empty,
.mbd-category-main-image:empty,
.mbd-category-list-image:empty {
    background:
        linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

/*
|--------------------------------------------------------------------------
| Responsive Home Patch
|--------------------------------------------------------------------------
*/



    .mbd-trending-grid-polished {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mbd-category-section-alt {
        margin-left: 0;
        margin-right: 0;
        padding: 20px;
    }

    .mbd-category-section-alt .mbd-category-main,
    .mbd-category-section-alt .mbd-category-list {
        order: initial;
    
}

@media (max-width: 767px) {
    .mbd-trending-grid-polished {
        grid-template-columns: 1fr;
    }

  

  

    .mbd-sidebar-pick-item {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .mbd-sidebar-pick-thumb {
        height: 60px;
    }
}
/*
|--------------------------------------------------------------------------
| Header Banner Clean Patch
|--------------------------------------------------------------------------
*/

.mbd-logo-row {
    grid-template-columns: 230px minmax(0, 1fr) auto;
}

.mbd-header-banner-slot {
    min-width: 0;
    width: 100%;
}

.mbd-header-banner-slot .ad-unit-wrap {
    margin-bottom: 0;
}

.mbd-header-banner-slot .ad-label {
    display: none;
}

.mbd-header-ad-banner {
    width: 100%;
    height: 90px;
    margin: 0 !important;
    border-radius: 0 !important;
}

.mbd-header-ad-banner .banner-overlay {
    display: none !important;
}

.mbd-header-ad-placeholder {
    width: 100%;
    height: 90px;
    background: transparent;
}

.mbd-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mbd-nav-tools {
    display: flex;
    align-items: center;
    border-left: 1px solid var(--mbd-line);
}

.mbd-nav-tools button {
    min-height: 48px;
    border: 0;
    border-right: 1px solid var(--mbd-line);
    background: #fff;
    padding: 0 14px;
    color: #111827;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.mbd-nav-tools button:hover {
    color: var(--mbd-red);
}

@media (max-width: 767px) {
    .mbd-logo-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .mbd-header-banner-slot {
        display: none;
    }

    .mbd-header-actions {
        display: flex;
    }
}
/*
|--------------------------------------------------------------------------
| Modern Footer Final Newspaper Patch
|--------------------------------------------------------------------------
*/

.mbd-footer {
    margin-top: 42px;
    padding: 0;
    background: #ffffff;
    border-top: 4px solid #111827;
    color: #1f2937;
}

.mbd-footer-top {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(210px, .9fr) minmax(210px, .9fr) minmax(220px, .85fr);
    gap: 34px;
    padding: 34px 0 30px;
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
}

.mbd-footer-brand-block,
.mbd-footer-column,
.mbd-footer-contact-column {
    min-width: 0;
}

.mbd-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -.7px;
    margin-bottom: 14px;
}

.mbd-footer-brand img {
    max-width: 230px;
    max-height: 70px;
    object-fit: contain;
}

.mbd-footer-description {
    margin: 0;
    max-width: 430px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.mbd-footer-column h3,
.mbd-footer-social-wrap h3,
.mbd-footer-newsletter-compact h3 {
    position: relative;
    display: inline-block;
    margin: 0 0 18px;
    padding-bottom: 9px;
    color: #111827;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -.35px;
}

.mbd-footer-column h3::after,
.mbd-footer-social-wrap h3::after,
.mbd-footer-newsletter-compact h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 3px;
    background: var(--mbd-red, #d71920);
}

.mbd-footer-link-grid {
    display: grid;
    gap: 13px 30px;
}

.mbd-footer-link-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mbd-footer-link-grid a,
.mbd-footer-link-grid span {
    color: #374151;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 760;
}

.mbd-footer-link-grid a:hover {
    color: var(--mbd-red, #d71920);
}

.mbd-footer-contact {
    display: grid;
    gap: 12px;
}

.mbd-footer-contact a,
.mbd-footer-contact div {
    display: grid;
    gap: 3px;
    color: #374151;
    font-size: 14px;
    line-height: 1.55;
}

.mbd-footer-contact strong {
    color: #111827;
    font-size: 13px;
    font-weight: 950;
}

.mbd-footer-contact span {
    color: #4b5563;
    overflow-wrap: anywhere;
}

.mbd-footer-contact a:hover span {
    color: var(--mbd-red, #d71920);
}

.mbd-footer-social-wrap {
    margin-top: 24px;
}

.mbd-footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.mbd-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    font-weight: 950;
    transition: .16s ease;
}

.mbd-footer-social a:hover {
    color: #ffffff;
    background: var(--mbd-red, #d71920);
    border-color: var(--mbd-red, #d71920);
    transform: translateY(-2px);
}

.mbd-footer-middle {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.mbd-footer-newsletter-compact {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(280px, 1fr);
    gap: 18px;
    align-items: center;
    max-width: 780px;
}

.mbd-footer-newsletter-compact h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.mbd-footer-newsletter-compact h3::after {
    width: 56px;
}

.mbd-footer-newsletter-compact p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.mbd-newsletter-form-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.mbd-newsletter-form-compact input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #111827;
    padding: 9px 12px;
    outline: none;
    font-size: 14px;
}

.mbd-newsletter-form-compact input:focus {
    border-color: var(--mbd-red, #d71920);
}

.mbd-newsletter-form-compact button {
    min-height: 42px;
    border: 0;
    background: var(--mbd-red, #d71920);
    color: #ffffff;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    white-space: nowrap;
}

.mbd-newsletter-form-compact button:hover {
    background: var(--mbd-red-dark, #a80f15);
}

.footer-newsletter-message {
    display: none;
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.footer-newsletter-message.success {
    display: block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.footer-newsletter-message.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.mbd-footer-bottom {
    padding: 18px 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: #667085;
    font-size: 14px;
    font-weight: 760;
}

.mbd-footer-copyright {
    color: #667085;
}

.mbd-footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.mbd-footer-bottom-links a {
    color: #4b5563;
    font-weight: 850;
}

.mbd-footer-bottom-links a:hover {
    color: var(--mbd-red, #d71920);
}

@media (max-width: 1100px) {
    .mbd-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .mbd-footer-newsletter-compact {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .mbd-footer {
        margin-top: 34px;
    }

    .mbd-footer-top {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 0 26px;
    }

    .mbd-footer-brand {
        font-size: 23px;
    }

    .mbd-footer-brand img {
        max-width: 210px;
        max-height: 64px;
    }

    .mbd-footer-description {
        max-width: 100%;
        font-size: 14px;
    }

    .mbd-footer-link-grid.two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mbd-footer-column h3,
    .mbd-footer-social-wrap h3 {
        font-size: 20px;
    }

    .mbd-footer-middle {
        padding: 18px 0;
    }

    .mbd-footer-newsletter-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mbd-newsletter-form-compact {
        grid-template-columns: 1fr;
    }

    .mbd-newsletter-form-compact button {
        width: 100%;
    }

    .mbd-footer-bottom {
        justify-content: center;
        text-align: center;
        padding-bottom: 26px;
    }

    .mbd-footer-bottom-links {
        justify-content: center;
        gap: 14px 18px;
    }
}

@media (max-width: 420px) {
    .mbd-footer-link-grid.two-col {
        grid-template-columns: 1fr 1fr;
        gap: 12px 22px;
    }

    .mbd-footer-link-grid a,
    .mbd-footer-link-grid span {
        font-size: 14px;
    }

    .mbd-footer-column h3,
    .mbd-footer-social-wrap h3 {
        font-size: 19px;
    }

    .mbd-footer-social a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}