/*
Theme Name: NewsForge
Author: Akash Mishra
Description: A fast, responsive, accessible WordPress news and magazine theme with configurable homepage sections, breaking-news ticker, multiple menus, widget areas, dark mode, and modern block-editor support.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsforge
Tags: news, blog, magazine, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, translation-ready, block-styles, wide-blocks
*/

:root {
  --nf-primary: #c1121f;
  --nf-primary-dark: #8f0d16;
  --nf-accent: #f4b400;
  --nf-bg: #f5f6f8;
  --nf-surface: #ffffff;
  --nf-text: #16181d;
  --nf-muted: #69707d;
  --nf-border: #e2e5ea;
  --nf-header-bg: #ffffff;
  --nf-header-text: #16181d;
  --nf-footer-bg: #11141a;
  --nf-footer-text: #dce1e8;
  --nf-radius: 10px;
  --nf-shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
  --nf-container: 1240px;
  --nf-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nf-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--nf-text);
  background: var(--nf-bg);
  font-family: var(--nf-font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nf-boxed .site { max-width: 1440px; margin: 0 auto; background: var(--nf-bg); box-shadow: 0 0 50px rgba(0,0,0,.08); }
body.nf-dark {
  --nf-bg: #0e1116;
  --nf-surface: #171b22;
  --nf-text: #f2f4f7;
  --nf-muted: #aab1bc;
  --nf-border: #2c323d;
  --nf-header-bg: #151920;
  --nf-header-text: #f7f8fa;
  --nf-shadow: 0 8px 30px rgba(0,0,0,.22);

  background: var(--nf-bg);
  color: var(--nf-text);
}
body.nf-dark.custom-background { background-color: var(--nf-bg); background-image: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
figure { margin: 0; }
a { color: var(--nf-primary); text-decoration-thickness: .08em; text-underline-offset: .14em; }
a:hover { color: var(--nf-primary-dark); }
button, input, select, textarea { font: inherit; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 3px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 14px;
  font-weight: 700; height: auto; left: 8px; line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; top: 8px; width: auto; z-index: 100000;
}

.nf-container { width: min(calc(100% - 32px), var(--nf-container)); margin-inline: auto; }
.site-main { min-width: 0; }
.nf-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.nf-content-grid.nf-no-sidebar { grid-template-columns: minmax(0, 1fr); }
.nf-section { padding: 28px 0; }
.nf-card { background: var(--nf-surface); border: 1px solid var(--nf-border); border-radius: var(--nf-radius); box-shadow: var(--nf-shadow); overflow: hidden; }

/* Top bar */
.nf-topbar { background: #11141a; color: #dfe3e8; font-size: 13px; }
.nf-topbar a { color: #fff; text-decoration: none; }
.nf-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.nf-topbar-left, .nf-topbar-right { display: flex; align-items: center; gap: 16px; }
.nf-topbar-menu ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.nf-topbar-menu li { margin: 0; }
.nf-date { white-space: nowrap; }
.nf-social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.nf-social-links a:hover { color: var(--nf-accent); }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--nf-header-bg); color: var(--nf-header-text); border-bottom: 1px solid var(--nf-border); }
.nf-branding-background { background-position: center; background-repeat: no-repeat; background-size: cover; }
body.nf-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.nf-sticky-header .site-header { top: 32px; }
.nf-branding-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; min-height: 104px; padding-block: 18px; }
.site-branding { display: flex; align-items: center; gap: 14px; min-width: 0; }
.custom-logo-link { display: inline-flex; flex: 0 0 auto; }
.custom-logo { max-height: 64px; width: auto; }
.site-title { margin: 0; font-family: var(--nf-font-heading); font-size: clamp(1.75rem, 4vw, 2.65rem); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.site-title a { color: var(--nf-header-text); text-decoration: none; }
.site-description { margin: 8px 0 0; color: var(--nf-muted); font-size: 14px; }
.nf-header-actions { display: flex; align-items: center; gap: 10px; }
.nf-icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--nf-border); border-radius: 50%; background: var(--nf-surface); color: var(--nf-text); }
.nf-icon-button:hover { border-color: var(--nf-primary); color: var(--nf-primary); }
.nf-header-widget { min-width: 280px; text-align: right; }

/* Navigation */
.nf-nav-wrap { background: var(--nf-primary); color: #fff; }
.nf-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 50px; }
.main-navigation { flex: 1; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation .menu { display: flex; align-items: stretch; flex-wrap: wrap; }
.main-navigation li { position: relative; }
.main-navigation a { display: flex; align-items: center; min-height: 50px; padding: 0 16px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a { background: rgba(0,0,0,.16); }
.main-navigation ul ul { position: absolute; top: 100%; left: 0; z-index: 100; min-width: 220px; background: var(--nf-surface); border: 1px solid var(--nf-border); box-shadow: var(--nf-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.main-navigation ul ul a { min-height: 44px; color: var(--nf-text); border-bottom: 1px solid var(--nf-border); }
.main-navigation ul ul ul { left: 100%; top: 0; }
.main-navigation li:hover > ul, .main-navigation li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.nf-menu-toggle { display: none; border: 0; background: transparent; color: #fff; font-weight: 800; min-height: 50px; padding: 0 4px; }
.nf-search-toggle { border: 0; border-left: 1px solid rgba(255,255,255,.25); border-radius: 0; background: transparent; color: #fff; width: 50px; height: 50px; }
.nf-search-icon { position: relative; display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; }
.nf-search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; right: -6px; bottom: -3px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.nf-search-panel { display: none; background: var(--nf-surface); border-bottom: 1px solid var(--nf-border); padding: 18px 0; }
.nf-search-panel.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--nf-border); border-radius: 6px; background: var(--nf-surface); color: var(--nf-text); }
.search-submit { min-height: 46px; border: 0; border-radius: 6px; padding: 0 20px; background: var(--nf-primary); color: #fff; font-weight: 800; }

/* Breaking news */
.nf-breaking { background: var(--nf-surface); border-bottom: 1px solid var(--nf-border); }
.nf-breaking-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; min-height: 46px; overflow: hidden; }
.nf-breaking-label { align-self: stretch; display: flex; align-items: center; padding: 0 18px; margin-left: -18px; background: #11141a; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.nf-breaking-track { overflow: hidden; white-space: nowrap; }
.nf-breaking-items { display: inline-flex; gap: 40px; padding-left: 24px; animation: nfTicker 30s linear infinite; }
.nf-breaking:hover .nf-breaking-items, .nf-breaking:focus-within .nf-breaking-items { animation-play-state: paused; }
.nf-breaking-item { color: var(--nf-text); text-decoration: none; font-weight: 700; font-size: 14px; }
.nf-breaking-item::after { content: "•"; margin-left: 40px; color: var(--nf-primary); }
@keyframes nfTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nf-breaking-items { animation: none; } html { scroll-behavior: auto; } }

/* Homepage hero */
.nf-hero { padding: 28px 0 12px; }
.nf-hero-grid { display: grid; grid-template-columns: 1.45fr .9fr; grid-template-rows: repeat(2, minmax(210px, 1fr)); gap: 16px; }
.nf-hero-card { position: relative; min-height: 210px; overflow: hidden; border-radius: var(--nf-radius); background: #222; }
.nf-hero-card:first-child { grid-row: 1 / 3; }
.nf-hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nf-hero-card:hover img { transform: scale(1.035); }
.nf-hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 24%, rgba(0,0,0,.82) 100%); }
.nf-hero-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; }
.nf-hero-card:not(:first-child) .nf-hero-content { padding: 18px; }
.nf-hero-title { margin: 8px 0 0; font-family: var(--nf-font-heading); font-size: clamp(1.15rem, 2.5vw, 2.2rem); line-height: 1.14; letter-spacing: -.025em; }
.nf-hero-card:not(:first-child) .nf-hero-title { font-size: clamp(1rem, 1.8vw, 1.35rem); }
.nf-hero-title a { color: #fff; text-decoration: none; }
.nf-placeholder { width: 100%; height: 100%; min-height: inherit; background: linear-gradient(135deg, #30343b, #13161b); }

/* Content components */
.nf-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; border-bottom: 2px solid var(--nf-border); }
.nf-section-title { position: relative; margin: 0; padding: 0 0 10px; font-family: var(--nf-font-heading); font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.2; }
.nf-section-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 3px; background: var(--nf-primary); }
.nf-view-all { font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.nf-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.nf-post-grid.nf-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.nf-post-card { min-width: 0; }
.nf-post-thumbnail { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #d8dce3; }
.nf-post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.nf-post-card:hover .nf-post-thumbnail img { transform: scale(1.04); }
.nf-post-body { padding: 18px; }
.nf-post-title { margin: 8px 0 10px; font-family: var(--nf-font-heading); font-size: 1.2rem; line-height: 1.28; letter-spacing: -.018em; }
.nf-post-title a { color: var(--nf-text); text-decoration: none; }
.nf-post-title a:hover { color: var(--nf-primary); }
.nf-post-excerpt { margin: 10px 0 0; color: var(--nf-muted); font-size: 14px; }
.nf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--nf-muted); font-size: 12px; }
.nf-meta a { color: inherit; text-decoration: none; }
.nf-category { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 9px; border-radius: 999px; background: var(--nf-primary); color: #fff !important; font-size: 11px; font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: .035em; text-decoration: none; }
.nf-list-post { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 20px; padding: 20px; }
.nf-list-post + .nf-list-post { border-top: 1px solid var(--nf-border); }
.nf-list-post .nf-post-thumbnail { border-radius: 8px; }
.nf-list-post .nf-post-body { padding: 0; }
.nf-list-post .nf-post-title { font-size: 1.35rem; }

/* Page headers and breadcrumbs */
.nf-page-header { padding: 32px 0 18px; }
.nf-page-title { margin: 0; font-family: var(--nf-font-heading); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -.04em; }
.nf-archive-description { max-width: 780px; color: var(--nf-muted); }
.nf-breadcrumbs { margin-bottom: 12px; color: var(--nf-muted); font-size: 13px; }
.nf-breadcrumbs a { color: inherit; text-decoration: none; }

/* Single */
.nf-single { background: var(--nf-surface); border: 1px solid var(--nf-border); border-radius: var(--nf-radius); overflow: hidden; }
.nf-single-header { padding: clamp(24px, 5vw, 52px); padding-bottom: 28px; }
.nf-single-title { margin: 12px 0 18px; font-family: var(--nf-font-heading); font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.06; letter-spacing: -.045em; }
.nf-single-deck { margin: 0 0 20px; color: var(--nf-muted); font-size: 1.18rem; line-height: 1.55; }
.nf-single-image { width: 100%; max-height: 690px; object-fit: cover; }
.nf-entry-content { padding: clamp(24px, 5vw, 52px); padding-top: 36px; font-size: 1.075rem; }
.nf-entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.nf-entry-content > .alignwide { max-width: 1040px; }
.nf-entry-content > .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.nf-entry-content h2, .nf-entry-content h3, .nf-entry-content h4 { font-family: var(--nf-font-heading); line-height: 1.22; letter-spacing: -.025em; }
.nf-entry-content h2 { margin-top: 2.25em; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.nf-entry-content h3 { margin-top: 1.8em; font-size: 1.45rem; }
.nf-entry-content blockquote { border-left: 5px solid var(--nf-primary); padding: 10px 0 10px 24px; font-size: 1.3rem; font-weight: 700; }
.nf-entry-content table { width: 100%; border-collapse: collapse; }
.nf-entry-content th, .nf-entry-content td { padding: 12px; border: 1px solid var(--nf-border); text-align: left; }
.nf-entry-content pre { overflow-x: auto; padding: 20px; background: #11141a; color: #f7f7f7; border-radius: 8px; }
.nf-entry-footer { padding: 0 clamp(24px, 5vw, 52px) 40px; }
.nf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-tags a { padding: 5px 10px; border: 1px solid var(--nf-border); border-radius: 999px; color: var(--nf-muted); font-size: 12px; text-decoration: none; }
.nf-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.nf-share a { padding: 8px 12px; border-radius: 5px; background: #20242b; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.nf-author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; margin-top: 30px; padding: 22px; background: var(--nf-bg); border-radius: 8px; }
.nf-author-box img { border-radius: 50%; }
.nf-author-box h3 { margin: 0 0 6px; }
.nf-author-box p { margin: 0; color: var(--nf-muted); }
.post-navigation { margin-top: 24px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.post-navigation a { display: block; padding: 18px; background: var(--nf-surface); border: 1px solid var(--nf-border); border-radius: 8px; color: var(--nf-text); text-decoration: none; font-weight: 800; }
.nav-next { text-align: right; }

/* Sidebar and widgets */
.widget-area { display: grid; gap: 22px; }
.widget { padding: 22px; background: var(--nf-surface); border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.widget-title { margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--nf-border); font-family: var(--nf-font-heading); font-size: 1.12rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--nf-border); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--nf-text); text-decoration: none; }
.widget a:hover { color: var(--nf-primary); }
.tagcloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tagcloud a { padding: 5px 9px; border: 1px solid var(--nf-border); border-radius: 4px; font-size: 12px !important; }

/* Comments */
.comments-area { margin-top: 28px; padding: clamp(24px, 4vw, 36px); background: var(--nf-surface); border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.comments-title, .comment-reply-title { margin-top: 0; font-family: var(--nf-font-heading); }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--nf-border); }
.comment-meta { font-size: 13px; }
.comment-author img { border-radius: 50%; margin-right: 8px; }
.comment-content { margin-left: 48px; }
.comment-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--nf-border); border-radius: 5px; background: var(--nf-surface); color: var(--nf-text); }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.form-submit input { border: 0; padding: 12px 18px; border-radius: 5px; background: var(--nf-primary); color: #fff; font-weight: 800; }

/* Pagination */
.navigation.pagination { margin: 28px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 6px; border: 1px solid var(--nf-border); border-radius: 5px; background: var(--nf-surface); color: var(--nf-text); text-decoration: none; }
.page-numbers.current, a.page-numbers:hover { background: var(--nf-primary); border-color: var(--nf-primary); color: #fff; }

/* Footer */
.site-footer { margin-top: 46px; background: var(--nf-footer-bg); color: var(--nf-footer-text); }
.site-footer a { color: #fff; text-decoration: none; }
.nf-footer-widgets { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; padding: 54px 0 38px; }
.site-footer .widget { padding: 0; background: transparent; border: 0; }
.site-footer .widget-title { color: #fff; border-color: rgba(255,255,255,.16); }
.site-footer .widget li { border-color: rgba(255,255,255,.12); }
.site-footer .widget a { color: var(--nf-footer-text); }
.nf-footer-bottom { border-top: 1px solid rgba(255,255,255,.13); }
.nf-footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 72px; font-size: 13px; }
.nf-footer-menu ul { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.nf-footer-menu a { color: var(--nf-footer-text); }
.nf-back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--nf-primary); color: #fff; box-shadow: var(--nf-shadow); }
.nf-back-to-top.is-visible { display: grid; place-items: center; }

/* Utility and special states */
.sticky { border-top: 4px solid var(--nf-primary); }
.bypostauthor { outline: 0; }
.gallery-caption, .wp-caption-text { color: var(--nf-muted); font-size: 13px; }
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.nf-empty { padding: 36px; background: var(--nf-surface); border: 1px solid var(--nf-border); border-radius: var(--nf-radius); }
.nf-404 { text-align: center; padding: 70px 0; }
.nf-404-code { margin: 0; font-size: clamp(5rem, 18vw, 12rem); line-height: .9; color: var(--nf-primary); }

@media (max-width: 1024px) {
  .nf-content-grid { grid-template-columns: minmax(0,1fr) 290px; gap: 24px; }
  .nf-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nf-footer-widgets { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 782px) {
  .admin-bar.nf-sticky-header .site-header { top: 46px; }
  .nf-topbar-inner, .nf-branding-row { grid-template-columns: 1fr; }
  .nf-topbar-inner { padding: 8px 0; flex-wrap: wrap; }
  .nf-header-widget { display: none; }
  .nf-branding-row { min-height: 84px; }
  .nf-menu-toggle { display: block; }
  .nf-nav-inner { flex-wrap: wrap; }
  .main-navigation { order: 3; flex-basis: 100%; display: none; }
  .main-navigation.is-open { display: block; }
  .main-navigation .menu { display: block; }
  .main-navigation a { justify-content: space-between; }
  .main-navigation ul ul { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: rgba(0,0,0,.12); border: 0; box-shadow: none; }
  .main-navigation li:hover > ul, .main-navigation li:focus-within > ul { display: block; }
  .main-navigation ul ul a { color: #fff; padding-left: 28px; border-color: rgba(255,255,255,.15); }
  .nf-content-grid { grid-template-columns: 1fr; }
  .nf-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 220px; }
  .nf-hero-card:first-child { grid-column: 1 / 3; grid-row: auto; }
  .nf-list-post { grid-template-columns: 170px minmax(0,1fr); }
}

@media (max-width: 600px) {
  .nf-container { width: min(calc(100% - 22px), var(--nf-container)); }
  .nf-topbar-right { display: none; }
  .site-description { display: none; }
  .nf-branding-row { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .site-title { font-size: 1.65rem; }
  .custom-logo { max-height: 48px; }
  .nf-icon-button { width: 38px; height: 38px; }
  .nf-breaking-inner { grid-template-columns: auto minmax(0,1fr); }
  .nf-breaking-label { padding: 0 10px; margin-left: -11px; font-size: 10px; }
  .nf-hero-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
  .nf-hero-card, .nf-hero-card:first-child { grid-column: auto; min-height: 250px; }
  .nf-post-grid, .nf-post-grid.nf-grid-2 { grid-template-columns: 1fr; }
  .nf-list-post { grid-template-columns: 1fr; }
  .nf-list-post .nf-post-thumbnail { aspect-ratio: 16/9; }
  .nf-single-title { font-size: 2.1rem; }
  .nf-entry-content { font-size: 1rem; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .nav-next { text-align: left; }
  .nf-footer-widgets { grid-template-columns: 1fr; }
  .nf-footer-bottom-inner { align-items: flex-start; flex-direction: column; padding: 22px 0; }
}
