:root {
    --ncb-blue: #14246b;
    --ncb-blue-dark: #0b1544;
    --ncb-red: #e53438;
    --ncb-red-dark: #c62429;
    --ncb-yellow: #f4c542;
    --ncb-ink: #141414;
    --ncb-muted: #646b7a;
    --ncb-soft: #f5f7fb;
    --ncb-line: rgba(20, 20, 20, .09);
    --ncb-white: #fff;
    --ncb-radius-xl: 32px;
    --ncb-radius-lg: 24px;
    --ncb-radius-md: 18px;
    --ncb-shadow-soft: 0 24px 70px rgba(9, 18, 62, .14);
    --ncb-shadow-card: 0 14px 42px rgba(9, 18, 62, .10);
    --ncb-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ncb-white);
    color: var(--ncb-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.nav-open,
body.search-opened { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ncb-red); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; width: 1em; height: 1em; fill: currentColor; }

.site-container {
    width: min(calc(100% - 40px), var(--ncb-container));
    margin-inline: auto;
}
.section { padding: 88px 0; }
.section-soft { background: var(--ncb-soft); }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    background: var(--ncb-white);
    color: var(--ncb-blue);
    border-radius: 10px;
}

.top-alert {
    padding: 9px 20px;
    background: var(--ncb-red);
    color: var(--ncb-white);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}
.topbar { background: var(--ncb-blue-dark); color: rgba(255,255,255,.88); }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-contact { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.topbar-contact a:hover { color: var(--ncb-yellow); }
.topbar-social a { display: grid; place-items: center; width: 28px; height: 28px; }
.topbar-social svg { font-size: 17px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--ncb-line);
    backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.site-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.site-logo-image { width: 184px; height: auto; max-height: 52px; object-fit: contain; }
.primary-navigation { margin-left: auto; }
.primary-menu { display: flex; align-items: center; gap: 27px; margin: 0; padding: 0; list-style: none; }
.primary-menu > li { position: relative; display: flex; align-items: center; gap: 4px; }
.primary-menu > li > a,
.primary-menu > li > .submenu-toggle {
    color: var(--ncb-ink);
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    border: 0;
    padding: 10px 0;
}
.primary-menu > li.current-menu-item > a,
.primary-menu > li > a:hover { color: var(--ncb-red); }
.submenu-toggle:not(.icon-only)::after { content: "⌄"; margin-left: 7px; }
.submenu-toggle.icon-only { width: 28px; display: grid; place-items: center; }
.sub-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 30;
    min-width: 230px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border: 1px solid var(--ncb-line);
    border-radius: 16px;
    background: var(--ncb-white);
    box-shadow: var(--ncb-shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .2s ease;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ncb-ink); font-size: 14px; font-weight: 500; }
.sub-menu a:hover { background: var(--ncb-soft); color: var(--ncb-red); }
.icon-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--ncb-line);
    border-radius: 50%;
    background: var(--ncb-white);
    color: var(--ncb-blue);
}
.icon-button:hover { border-color: var(--ncb-red); color: var(--ncb-red); }
.icon-button svg { font-size: 22px; }
.header-actions-mobile { display: none; margin-left: auto; align-items: center; gap: 8px; }
.nav-toggle { width: 44px; height: 44px; border: 0; background: transparent; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 23px; height: 2px; border-radius: 10px; background: var(--ncb-blue); transition: .2s ease; }

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: start center;
    padding: 10vh 20px 40px;
    background: rgba(4, 9, 34, .78);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay-panel {
    position: relative;
    width: min(100%, 760px);
    padding: 48px;
    border-radius: var(--ncb-radius-xl);
    background: var(--ncb-white);
    box-shadow: var(--ncb-shadow-soft);
    transform: translateY(-14px);
    transition: .22s ease;
}
.search-overlay.is-open .search-overlay-panel { transform: translateY(0); }
.search-overlay-panel h2 { margin: 8px 0 24px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; color: var(--ncb-blue); }
.search-overlay-panel p { margin: 16px 0 0; color: var(--ncb-muted); }
.search-close { position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ncb-soft); color: var(--ncb-blue); font-size: 30px; line-height: 1; }
.site-search-form { display: flex; align-items: stretch; gap: 10px; width: 100%; }
.site-search-form input {
    min-width: 0;
    flex: 1;
    min-height: 54px;
    border: 1px solid rgba(20,36,107,.18);
    border-radius: 14px;
    background: var(--ncb-white);
    color: var(--ncb-ink);
    padding: 0 18px;
    outline: none;
    font-weight: 400;
}
.site-search-form input::placeholder { color: #9298a8; font-weight: 400; }
.site-search-form input:focus { border-color: var(--ncb-blue); box-shadow: 0 0 0 4px rgba(20,36,107,.09); }
.site-search-form button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    padding: 0 21px;
    background: var(--ncb-red);
    color: var(--ncb-white);
    font-weight: 600;
}
.site-search-form button:hover { background: var(--ncb-red-dark); }
.site-search-form button svg { font-size: 19px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ncb-red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 10px; background: currentColor; }
.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
}
.button-primary { background: var(--ncb-red); color: var(--ncb-white); }
.button-primary:hover { background: var(--ncb-red-dark); color: var(--ncb-white); transform: translateY(-1px); }
.button-light { background: var(--ncb-white); color: var(--ncb-blue); }
.button-light:hover { color: var(--ncb-red); transform: translateY(-1px); }
.button-outline { border-color: rgba(20,36,107,.18); background: transparent; color: var(--ncb-blue); }
.button-outline:hover { border-color: var(--ncb-blue); background: var(--ncb-blue); color: var(--ncb-white); }
.text-link { color: var(--ncb-blue); font-size: 14px; font-weight: 600; }
.text-link::after { content: " →"; }

.blog-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(244,197,66,.22), transparent 28%),
        linear-gradient(135deg, var(--ncb-blue) 0%, var(--ncb-blue-dark) 100%);
    color: var(--ncb-white);
}
.blog-hero-inner { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: center; gap: 60px; padding-block: 84px; }
.blog-hero .eyebrow { color: var(--ncb-yellow); }
.blog-hero h1 { max-width: 760px; margin: 12px 0 22px; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.blog-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.82); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-search-card { padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--ncb-radius-lg); background: rgba(255,255,255,.10); backdrop-filter: blur(12px); box-shadow: 0 22px 60px rgba(0,0,0,.16); }
.hero-search-card > span { display: block; margin-bottom: 12px; color: var(--ncb-yellow); font-size: 13px; font-weight: 600; }
.hero-search-card .site-search-form { flex-direction: column; }
.hero-search-card .site-search-form button { width: 100%; }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; }
.popular-searches strong { color: rgba(255,255,255,.7); }
.popular-searches a { padding: 5px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: var(--ncb-white); }
.popular-searches a:hover { background: var(--ncb-white); color: var(--ncb-blue); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading.compact { margin-bottom: 26px; }
.section-heading h2 { margin: 6px 0 0; color: var(--ncb-blue); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, .7fr); gap: 26px; }
.featured-main {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    display: flex;
    align-items: end;
    border-radius: var(--ncb-radius-xl);
    background-color: var(--ncb-blue);
    background-position: center;
    background-size: cover;
    box-shadow: var(--ncb-shadow-soft);
}
.featured-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,9,30,.92) 0%, rgba(5,9,30,.2) 65%, rgba(5,9,30,.08) 100%); }
.featured-main.no-image::after { content: "NEWCASTLE"; position: absolute; top: 30px; right: -26px; color: rgba(255,255,255,.08); font-size: 80px; font-weight: 800; transform: rotate(90deg); }
.featured-main-overlay { position: absolute; inset: 0; z-index: 1; }
.featured-main-content { position: relative; z-index: 2; max-width: 780px; padding: 44px; color: var(--ncb-white); pointer-events: none; }
.featured-main-content a { pointer-events: auto; }
.featured-main-content .post-category { color: var(--ncb-blue-dark); background: var(--ncb-yellow); }
.featured-main-content h2 { margin: 14px 0 13px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.featured-main-content h2 a:hover { color: var(--ncb-yellow); }
.featured-main-content p { max-width: 650px; margin: 0; color: rgba(255,255,255,.83); font-size: 17px; }
.featured-side { display: grid; align-content: start; gap: 14px; }
.post-mini { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 16px; align-items: center; padding: 13px; border: 1px solid var(--ncb-line); border-radius: 18px; background: var(--ncb-white); transition: .2s ease; }
.post-mini:hover { transform: translateY(-2px); box-shadow: var(--ncb-shadow-card); }
.post-mini-media { width: 125px; aspect-ratio: 1.05; border-radius: 13px; background-color: var(--ncb-blue); background-position: center; background-size: cover; }
.post-mini-media.no-image { background: linear-gradient(135deg, var(--ncb-blue), var(--ncb-blue-dark)); }
.post-mini .post-category { margin-bottom: 7px; }
.post-mini h3 { margin: 0 0 8px; color: var(--ncb-blue); font-size: 17px; line-height: 1.22; font-weight: 600; }
.post-mini time { color: var(--ncb-muted); font-size: 12px; }

.content-sidebar-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--ncb-line); border-radius: var(--ncb-radius-lg); background: var(--ncb-white); box-shadow: 0 8px 28px rgba(9,18,62,.06); transition: .22s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--ncb-shadow-card); }
.post-card-media { display: block; aspect-ratio: 16/10; background-color: var(--ncb-blue); background-position: center; background-size: cover; }
.post-card-media.no-image { background: linear-gradient(145deg, var(--ncb-blue), var(--ncb-blue-dark)); }
.post-card-body { padding: 24px; }
.post-category { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; background: rgba(229,52,56,.1); color: var(--ncb-red); font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-card h2 { margin: 13px 0 10px; color: var(--ncb-blue); font-size: 24px; line-height: 1.16; letter-spacing: -.025em; font-weight: 600; }
.post-card h2 a:hover { color: var(--ncb-red); }
.post-card p { margin: 0; color: var(--ncb-muted); font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; color: var(--ncb-muted); font-size: 12px; }
.post-meta span + span::before,
.post-meta time + span::before { content: "•"; margin-right: 14px; color: #b2b6c1; }
.post-meta-light { color: rgba(255,255,255,.7); }
.section-action { margin-top: 34px; text-align: center; }
.home-sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.sidebar-panel,
.sidebar-cta { padding: 28px; border-radius: var(--ncb-radius-lg); }
.sidebar-panel { border: 1px solid var(--ncb-line); background: var(--ncb-white); }
.sidebar-panel h2,
.sidebar-cta h2 { margin: 8px 0 20px; color: var(--ncb-blue); font-size: 29px; line-height: 1.1; }
.category-list { margin: 0; padding: 0; list-style: none; }
.category-list li + li { border-top: 1px solid var(--ncb-line); }
.category-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; color: var(--ncb-ink); font-weight: 500; }
.category-list a:hover span { color: var(--ncb-red); }
.category-list strong { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ncb-soft); color: var(--ncb-blue); font-size: 12px; }
.sidebar-cta { background: linear-gradient(145deg, var(--ncb-blue), var(--ncb-blue-dark)); color: var(--ncb-white); box-shadow: var(--ncb-shadow-card); }
.sidebar-cta .eyebrow { color: var(--ncb-yellow); }
.sidebar-cta h2 { color: var(--ncb-white); }
.sidebar-cta p { margin: 0 0 22px; color: rgba(255,255,255,.78); }

.follow-card { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding: 48px; border-radius: var(--ncb-radius-xl); background: var(--ncb-soft); border: 1px solid var(--ncb-line); }
.follow-card h2 { max-width: 700px; margin: 8px 0 10px; color: var(--ncb-blue); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.follow-card p { max-width: 720px; margin: 0; color: var(--ncb-muted); }
.follow-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }

.archive-hero,
.page-hero { padding: 76px 0; background: var(--ncb-soft); border-bottom: 1px solid var(--ncb-line); }
.archive-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 480px); align-items: end; gap: 50px; }
.archive-hero h1,
.page-hero h1 { margin: 8px 0 10px; color: var(--ncb-blue); font-size: clamp(42px, 6vw, 70px); line-height: 1; letter-spacing: -.045em; }
.archive-hero p,
.archive-description { margin: 0; color: var(--ncb-muted); font-size: 17px; }
.archive-description p { margin: 0; }
.pagination-wrap { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ncb-line); border-radius: 11px; background: var(--ncb-white); color: var(--ncb-blue); font-size: 14px; font-weight: 600; padding: 0 12px; }
.page-numbers.current,
.page-numbers:hover { border-color: var(--ncb-blue); background: var(--ncb-blue); color: var(--ncb-white); }
.empty-state { grid-column: 1 / -1; padding: 60px; text-align: center; border: 1px dashed rgba(20,36,107,.25); border-radius: var(--ncb-radius-lg); background: var(--ncb-white); }
.empty-state h2 { margin: 0 0 8px; color: var(--ncb-blue); }
.empty-state p { margin: 0; color: var(--ncb-muted); }
.empty-state .site-search-form { max-width: 620px; margin: 24px auto; }

.single-header { padding: 80px 0 48px; background: var(--ncb-soft); }
.single-title-wrap { max-width: 980px; margin-inline: auto; text-align: center; }
.single-title-wrap .post-category { margin-inline: auto; }
.single-title-wrap h1 { margin: 18px 0 20px; color: var(--ncb-blue); font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.single-lead { max-width: 800px; margin: 0 auto; color: var(--ncb-muted); font-size: 20px; }
.single-meta { justify-content: center; margin-top: 26px; font-size: 13px; }
.single-featured-wrap { margin-top: 48px; }
.single-featured-image { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--ncb-radius-xl); box-shadow: var(--ncb-shadow-soft); }
.single-layout { display: grid; grid-template-columns: 78px minmax(0, 780px); justify-content: center; gap: 42px; padding-top: 64px; padding-bottom: 60px; }
.share-sidebar { position: sticky; top: 120px; align-self: start; display: grid; justify-items: center; gap: 10px; }
.share-sidebar > span { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 8px; color: var(--ncb-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.share-sidebar a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ncb-line); border-radius: 50%; background: var(--ncb-white); color: var(--ncb-blue); font-size: 13px; font-weight: 700; }
.share-sidebar a:hover { border-color: var(--ncb-red); background: var(--ncb-red); color: var(--ncb-white); }
.entry-content { min-width: 0; color: #272a34; font-size: 18px; line-height: 1.85; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--ncb-blue); line-height: 1.18; letter-spacing: -.02em; }
.entry-content h2 { margin: 2em 0 .75em; font-size: 34px; }
.entry-content h3 { margin: 1.8em 0 .7em; font-size: 27px; }
.entry-content p { margin: 0 0 1.35em; }
.entry-content a { color: var(--ncb-red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 18px; }
.entry-content blockquote { margin: 2em 0; padding: 24px 28px; border-left: 4px solid var(--ncb-red); border-radius: 0 16px 16px 0; background: var(--ncb-soft); color: var(--ncb-blue); font-size: 21px; }
.entry-content ul,
.entry-content ol { padding-left: 1.35em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; }
.entry-content th,
.entry-content td { border: 1px solid var(--ncb-line); padding: 12px 14px; text-align: left; }
.entry-content th { background: var(--ncb-soft); color: var(--ncb-blue); }
.post-author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: center; max-width: 900px; margin-bottom: 60px; padding: 30px; border: 1px solid var(--ncb-line); border-radius: var(--ncb-radius-lg); background: var(--ncb-soft); }
.author-avatar img { border-radius: 50%; }
.post-author-box h2 { margin: 5px 0 6px; color: var(--ncb-blue); }
.post-author-box p { margin: 0; color: var(--ncb-muted); }
.related-section { border-top: 1px solid var(--ncb-line); }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comments-wrap { max-width: 900px; padding-bottom: 80px; }
.comments-area { padding: 32px; border: 1px solid var(--ncb-line); border-radius: var(--ncb-radius-lg); }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--ncb-line); }
.comment-form input,
.comment-form textarea { width: 100%; border: 1px solid var(--ncb-line); border-radius: 12px; padding: 13px 15px; }
.comment-form .submit { width: auto; border: 0; background: var(--ncb-red); color: var(--ncb-white); font-weight: 600; }
.page-content { max-width: 900px; padding-block: 60px 90px; }

.error-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 0; background: var(--ncb-soft); }
.error-page-inner { max-width: 760px; text-align: center; }
.error-code { display: block; color: rgba(20,36,107,.1); font-size: clamp(100px, 22vw, 220px); line-height: .75; font-weight: 800; }
.error-page h1 { margin: 18px 0 12px; color: var(--ncb-blue); font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.error-page p { color: var(--ncb-muted); }
.error-page .site-search-form { max-width: 620px; margin: 28px auto 20px; }

.site-footer { margin-top: 0; background: var(--ncb-blue-dark); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 50px; padding-block: 70px; }
.footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-logo .site-logo-image { width: 190px; max-height: 56px; }
.footer-brand p { max-width: 390px; margin: 0; }
.site-footer h2 { margin: 0 0 17px; color: var(--ncb-white); font-size: 17px; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a:hover,
.footer-contact a:hover { color: var(--ncb-yellow); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-button { margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ncb-red); color: var(--ncb-white) !important; font-size: 13px; font-weight: 600; }
.footer-button:hover { background: var(--ncb-red-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1100px) {
    .primary-menu { gap: 18px; }
    .featured-grid { grid-template-columns: 1.25fr .75fr; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
    .topbar { display: none; }
    .header-inner { min-height: 70px; }
    .site-logo-image { width: 160px; }
    .search-open-desktop { display: none; }
    .header-actions-mobile { display: flex; }
    .nav-toggle { display: flex; }
    .primary-navigation {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        width: min(88vw, 390px);
        overflow-y: auto;
        margin: 0;
        padding: 98px 24px 30px;
        background: var(--ncb-white);
        box-shadow: -20px 0 50px rgba(5,9,30,.18);
        transform: translateX(105%);
        transition: .25s ease;
    }
    .primary-navigation.is-open { transform: translateX(0); }
    body.nav-open::before { content: ""; position: fixed; inset: 0; z-index: 950; background: rgba(4,9,34,.6); }
    .header-actions-mobile { position: relative; z-index: 1050; }
    .primary-menu { display: grid; gap: 0; }
    .primary-menu > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--ncb-line); }
    .primary-menu > li > a,
    .primary-menu > li > .submenu-toggle:not(.icon-only) { flex: 1; padding: 16px 0; font-size: 16px; text-align: left; }
    .submenu-toggle.icon-only { width: 44px; height: 48px; }
    .sub-menu { position: static; width: 100%; min-width: 0; display: none; padding: 0 0 10px 12px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .menu-item-has-children.submenu-open > .sub-menu { display: block; }
    .blog-hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-block: 68px; }
    .blog-hero h1 { max-width: 680px; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-main { min-height: 560px; }
    .featured-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-sidebar-grid { grid-template-columns: 1fr; }
    .home-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .follow-card { align-items: flex-start; flex-direction: column; }
    .archive-hero-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-contact { grid-column: auto; }
}

@media (max-width: 720px) {
    .site-container { width: min(calc(100% - 28px), var(--ncb-container)); }
    .section { padding: 62px 0; }
    .top-alert { font-size: 11px; }
    .site-logo-image { width: 146px; }
    .icon-button { width: 40px; height: 40px; }
    .blog-hero-inner { padding-block: 58px; }
    .blog-hero h1 { font-size: clamp(39px, 13vw, 58px); }
    .blog-hero p { font-size: 17px; }
    .hero-search-card { padding: 22px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .featured-main { min-height: 500px; }
    .featured-main-content { padding: 28px; }
    .featured-main-content h2 { font-size: 36px; }
    .featured-side { grid-template-columns: 1fr; }
    .post-mini { grid-template-columns: 105px minmax(0, 1fr); }
    .post-mini-media { width: 105px; }
    .posts-grid,
    .archive-grid,
    .related-grid { grid-template-columns: 1fr; }
    .home-sidebar { grid-template-columns: 1fr; }
    .follow-card { padding: 30px; }
    .follow-actions { width: 100%; }
    .follow-actions .button { width: 100%; }
    .archive-hero,
    .page-hero { padding: 56px 0; }
    .archive-hero h1,
    .page-hero h1 { font-size: 44px; }
    .site-search-form { flex-direction: column; }
    .site-search-form button { width: 100%; }
    .search-overlay { padding-top: 5vh; }
    .search-overlay-panel { padding: 38px 22px 28px; }
    .single-header { padding: 58px 0 38px; }
    .single-title-wrap h1 { font-size: 43px; }
    .single-lead { font-size: 18px; }
    .single-featured-wrap { margin-top: 28px; }
    .single-featured-image { border-radius: 20px; }
    .single-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 40px; }
    .share-sidebar { position: static; display: flex; justify-content: flex-start; }
    .share-sidebar > span { writing-mode: initial; transform: none; margin: 0 8px 0 0; align-self: center; }
    .entry-content { font-size: 17px; }
    .entry-content h2 { font-size: 29px; }
    .post-author-box { grid-template-columns: 70px minmax(0, 1fr); padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 54px; }
    .footer-bottom-inner { min-height: 90px; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 20px; }
    .empty-state { padding: 38px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* Elementor compatibility: keep imported Elementor post content inside the
   editorial reading column without allowing its old page template to escape
   the Newcastle single-post layout. */
.single-layout .entry-content > .elementor,
.single-layout .entry-content .elementor-section-wrap,
.single-layout .entry-content .elementor > .e-con,
.single-layout .entry-content .elementor-section,
.single-layout .entry-content .elementor-container {
    max-width: 100%;
}
.single-layout .entry-content .elementor-widget-container > :first-child {
    margin-top: 0;
}
.single-layout .entry-content .elementor-widget-container > :last-child {
    margin-bottom: 0;
}

/* =====================================================
   V1.0.2 — SHELL NEWCASTLE, RESPONSIVIDADE E TIPOGRAFIA
===================================================== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-weight: 400;
    line-height: 1.7;
}

main,
section,
header,
footer,
.site-container,
.entry-content,
.elementor,
.e-con,
.elementor-section,
.elementor-container {
    min-width: 0;
    max-width: 100%;
}

/* O blog começa diretamente no menu principal. */
.top-alert,
.topbar {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(20, 20, 20, .07);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.site-logo-image {
    display: block;
    width: 168px;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.main-nav > a,
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #26304b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .35px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s ease;
}

.main-nav > a:hover,
.main-nav > a.is-current,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown-toggle:focus-visible {
    color: var(--ncb-red);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    gap: 5px;
}

.nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 10020;
    min-width: 240px;
    padding: 10px;
    border: 1px solid var(--ncb-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--ncb-shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

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

.nav-dropdown-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 12px;
    color: #26304b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--ncb-soft);
    color: var(--ncb-red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.header-icon-button,
.nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(20, 36, 107, .13);
    border-radius: 14px;
    background: #fff;
    color: var(--ncb-blue);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.header-icon-button:hover,
.header-icon-button:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: rgba(229, 52, 56, .45);
    background: #fff7f7;
    color: var(--ncb-red);
}

.header-icon-button svg {
    width: 21px;
    height: 21px;
}

.nav-toggle {
    display: none;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
}

/* Tipografia editorial mais leve e espaçada. */
.eyebrow,
.post-category,
.share-sidebar > span {
    font-weight: 600;
}

.blog-hero h1,
.section-heading h2,
.follow-card h2,
.archive-hero h1,
.page-hero h1,
.single-title-wrap h1,
.error-page h1 {
    font-weight: 600;
}

.featured-main-content h2,
.post-card h2,
.post-mini h3,
.sidebar-panel h2,
.sidebar-cta h2,
.post-author-box h2,
.comments-area h2,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-weight: 600;
}

.button,
.text-link,
.site-search-form button,
.page-numbers,
.comment-form .submit {
    font-weight: 600;
}

.blog-hero p,
.featured-main-content p,
.post-card p,
.sidebar-cta p,
.follow-card p,
.archive-hero p,
.archive-description,
.single-lead,
.entry-content,
.site-footer,
.site-footer p,
.footer-links,
.post-meta {
    font-weight: 400;
}

.section-heading,
.post-card-body,
.single-title-wrap,
.entry-content {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
}

.post-card-body {
    padding: 26px;
}

.post-card h2 {
    margin-top: 15px;
    margin-bottom: 12px;
    line-height: 1.24;
}

.post-card p {
    line-height: 1.72;
}

.single-header {
    padding-top: 72px;
    padding-bottom: 48px;
}

.single-title-wrap h1 {
    line-height: 1.08;
    letter-spacing: -.035em;
}

.entry-content {
    line-height: 1.82;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure {
    margin-top: 0;
    margin-bottom: 1.55em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    line-height: 1.25;
    margin-top: 1.6em;
    margin-bottom: .65em;
}

/* Rodapé reproduz a organização do site institucional. */
.site-footer {
    color: rgba(255, 255, 255, .72);
    background: #070d2b;
}

.footer-top {
    padding: 70px 0 54px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .9fr .9fr 1.15fr;
    gap: 34px;
    padding-block: 0;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 18px;
}

.footer-logo .site-logo-image {
    width: 178px;
    max-height: none;
}

.footer-brand p {
    max-width: none;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .7px;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.65;
}

.footer-links li + li {
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, .72);
    font-weight: 400;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    color: rgba(255, 255, 255, .8);
}

.footer-social a:hover {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.footer-social svg {
    width: 17px;
    height: 17px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .72);
}

.footer-bottom a:hover {
    color: #fff;
}

.search-overlay {
    z-index: 20000;
    overflow-y: auto;
}

.search-overlay-panel {
    max-width: calc(100vw - 28px);
}

@media (max-width: 1120px) {
    .header-inner {
        min-height: 72px;
        gap: 12px;
    }

    .site-logo-image {
        width: 158px;
    }

    .nav-toggle {
        display: grid;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 10015;
        width: min(88vw, 390px);
        max-width: calc(100vw - 20px);
        height: 100dvh;
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        margin: 0;
        padding: 94px 22px 30px;
        background: #fff;
        box-shadow: -20px 0 50px rgba(5, 9, 30, .18);
        transform: translateX(105%);
        transition: transform .25s ease;
        overscroll-behavior: contain;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    body.nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 10005;
        background: rgba(4, 9, 34, .6);
    }

    .header-actions {
        position: relative;
        z-index: 10025;
        margin-left: auto;
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        width: 100%;
        min-height: 0;
        padding: 16px 0;
        border-bottom: 1px solid var(--ncb-line);
        font-size: 14px;
        font-weight: 500;
        text-align: left;
        white-space: normal;
    }

    .nav-dropdown-toggle {
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        padding: 7px 0 10px 12px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 11px 8px;
        white-space: normal;
    }

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

@media (max-width: 720px) {
    .site-container {
        width: min(calc(100% - 28px), var(--ncb-container));
    }

    .header-inner {
        min-height: 68px;
    }

    .site-logo-image {
        width: 142px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-icon-button,
    .nav-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .header-icon-button svg {
        width: 19px;
        height: 19px;
    }

    .blog-hero-inner {
        padding-block: 52px;
    }

    .blog-hero h1,
    .single-title-wrap h1,
    .archive-hero h1,
    .page-hero h1 {
        letter-spacing: -.025em;
    }

    .single-title-wrap h1 {
        font-size: clamp(34px, 11vw, 46px);
    }

    .featured-main-content h2 {
        font-size: clamp(30px, 9vw, 38px);
    }

    .footer-top {
        padding: 54px 0 42px;
    }

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

    .footer-bottom-inner {
        min-height: 0;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding: 20px 0;
    }

    /* Elementor antigo não pode ultrapassar a largura da tela. */
    .single-layout .entry-content > .elementor,
    .single-layout .entry-content .elementor-section-wrap,
    .single-layout .entry-content .elementor > .e-con,
    .single-layout .entry-content .elementor-section,
    .single-layout .entry-content .elementor-container,
    .single-layout .entry-content .e-con,
    .single-layout .entry-content .e-con-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .entry-content img,
    .entry-content picture,
    .entry-content video,
    .entry-content iframe,
    .entry-content embed,
    .entry-content object,
    .entry-content svg {
        max-width: 100% !important;
    }

    .entry-content iframe,
    .entry-content video {
        width: 100% !important;
    }

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

    .search-overlay {
        padding: 4vh 14px 28px;
    }

    .search-overlay-panel {
        width: 100%;
        padding: 38px 20px 24px;
        border-radius: 22px;
    }
}

/* =====================================================
   V1.0.3 — PERFORMANCE, MENUS E HIERARQUIA TIPOGRÁFICA
===================================================== */

/* Imagens responsivas reais: permitem srcset, lazy-load e evitam que todas as
   miniaturas sejam baixadas como background no primeiro carregamento. */
.featured-main-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-media,
.post-mini-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--ncb-blue), var(--ncb-blue-dark));
}

.post-card-image,
.post-mini-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.post-card:hover .post-card-image,
.post-mini:hover .post-mini-image {
    transform: scale(1.025);
}

.post-card-media.no-image::after,
.post-mini-media.no-image::after {
    content: "Newcastle";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.header-inner {
    position: relative;
}

/* O submenu desktop passa a ser controlado por clique/teclado. Isso elimina
   o estado preso causado pela combinação de hover + focus-within. */
@media (min-width: 1121px) {
    .main-nav .nav-dropdown:not(.is-open) .nav-dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(8px) !important;
    }

    .main-nav .nav-dropdown.is-open .nav-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}

/* Hierarquia desktop mais leve. Pesos altos ficam restritos aos grandes
   títulos; menus, cards e textos auxiliares usam 400/500. */
@media (min-width: 992px) {
    body.newcastle-blog-theme {
        font-weight: 400;
    }

    body.newcastle-blog-theme .main-nav > a,
    body.newcastle-blog-theme .nav-dropdown-toggle {
        font-weight: 500;
        letter-spacing: .08px;
    }

    body.newcastle-blog-theme .nav-dropdown-menu a,
    body.newcastle-blog-theme .footer-links a,
    body.newcastle-blog-theme .category-list a,
    body.newcastle-blog-theme .post-meta,
    body.newcastle-blog-theme .text-link,
    body.newcastle-blog-theme .button,
    body.newcastle-blog-theme .site-search-form button,
    body.newcastle-blog-theme .page-numbers {
        font-weight: 500;
    }

    body.newcastle-blog-theme .blog-hero h1,
    body.newcastle-blog-theme .section-heading h2,
    body.newcastle-blog-theme .single-title-wrap h1,
    body.newcastle-blog-theme .archive-hero h1,
    body.newcastle-blog-theme .page-hero h1,
    body.newcastle-blog-theme .follow-card h2,
    body.newcastle-blog-theme .error-page h1 {
        font-weight: 600;
        letter-spacing: -.025em;
    }

    body.newcastle-blog-theme .featured-main-content h2,
    body.newcastle-blog-theme .post-card h2,
    body.newcastle-blog-theme .post-mini h3,
    body.newcastle-blog-theme .sidebar-panel h2,
    body.newcastle-blog-theme .sidebar-cta h2,
    body.newcastle-blog-theme .post-author-box h2,
    body.newcastle-blog-theme .comments-area h2,
    body.newcastle-blog-theme .entry-content h2,
    body.newcastle-blog-theme .entry-content h3,
    body.newcastle-blog-theme .entry-content h4,
    body.newcastle-blog-theme .entry-content .elementor-heading-title {
        font-weight: 500 !important;
        letter-spacing: -.012em;
    }

    body.newcastle-blog-theme .post-category,
    body.newcastle-blog-theme .eyebrow,
    body.newcastle-blog-theme .share-sidebar > span,
    body.newcastle-blog-theme .site-footer h2,
    body.newcastle-blog-theme .category-list strong {
        font-weight: 500;
    }

    body.newcastle-blog-theme .entry-content,
    body.newcastle-blog-theme .entry-content p,
    body.newcastle-blog-theme .entry-content li,
    body.newcastle-blog-theme .entry-content .elementor-widget-text-editor,
    body.newcastle-blog-theme .post-card p,
    body.newcastle-blog-theme .featured-main-content p,
    body.newcastle-blog-theme .single-lead,
    body.newcastle-blog-theme .site-footer,
    body.newcastle-blog-theme .site-footer p {
        font-weight: 400 !important;
        letter-spacing: normal;
    }
}

/* Categorias sempre aparecem como links claramente clicáveis. */
.sidebar-panel nav,
.category-list {
    width: 100%;
}

.category-list a {
    position: relative;
    border-radius: 12px;
    transition: color .18s ease, background .18s ease, padding .18s ease;
}

.category-list a:hover,
.category-list a:focus-visible {
    padding-inline: 10px;
    background: var(--ncb-soft);
    color: var(--ncb-red);
}

.category-list strong {
    flex: 0 0 auto;
}

/* Menu mobile no padrão do site institucional: painel abaixo do cabeçalho,
   dentro da largura da tela e sem camada azul bloqueando os links. */
@media (max-width: 1120px) {
    body.nav-open,
    body.search-opened.nav-open {
        overflow-x: hidden;
    }

    body.nav-open::before {
        display: none !important;
        content: none !important;
    }

    .nav-toggle {
        display: grid;
        grid-template-rows: repeat(3, 2px);
        align-content: center;
        justify-items: center;
        row-gap: 4px;
    }

    .nav-toggle span {
        width: 21px;
        height: 2px;
        margin: 0 !important;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: 0;
        z-index: 10015;
        width: auto;
        max-width: none;
        height: auto;
        max-height: min(72vh, 620px);
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        margin: 0;
        padding: 12px;
        border: 1px solid var(--ncb-line);
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 22px 55px rgba(5, 9, 30, .18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        padding: 13px 12px;
        border: 0;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
    }

    .main-nav > a:hover,
    .main-nav > a:focus-visible,
    .nav-dropdown-toggle:hover,
    .nav-dropdown-toggle:focus-visible {
        background: var(--ncb-soft);
    }

    .nav-dropdown-menu {
        padding: 4px 8px 8px 18px;
        background: transparent;
    }

    .nav-dropdown-menu a {
        padding: 10px 8px;
        font-size: 14px;
        font-weight: 400;
    }

    .header-actions {
        z-index: 2;
    }
}

@media (max-width: 520px) {
    .site-logo-image {
        width: min(132px, 39vw);
    }

    .header-actions {
        gap: 5px;
    }

    .header-icon-button,
    .nav-toggle {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .main-nav {
        right: -2px;
        left: -2px;
    }
}
/* v1.0.3.3 — mantém o cabeçalho sticky com o menu hambúrguer aberto.
   Não use overflow-x: hidden no body aqui: ele transforma o body em um
   contêiner de rolagem e pode desativar position: sticky em navegadores móveis. */
@media (max-width: 1120px) {
    body.nav-open:not(.search-opened) {
        overflow: visible !important;
    }

    body.nav-open:not(.search-opened) .site-header {
        position: sticky !important;
        top: 0 !important;
    }

    .site-header,
    .header-inner {
        overflow: visible !important;
    }
}

/* =====================================================
   V1.0.4 — LEGIBILIDADE, CONSISTÊNCIA E ACESSIBILIDADE
===================================================== */

body.newcastle-blog-theme {
    font-synthesis: none;
}

body.newcastle-blog-theme .blog-hero h1,
body.newcastle-blog-theme .section-heading h2,
body.newcastle-blog-theme .single-title-wrap h1,
body.newcastle-blog-theme .archive-hero h1,
body.newcastle-blog-theme .page-hero h1,
body.newcastle-blog-theme .follow-card h2,
body.newcastle-blog-theme .error-page h1 {
    font-weight: 500;
    letter-spacing: -.012em;
    text-wrap: balance;
}

body.newcastle-blog-theme .blog-hero h1 {
    line-height: 1.04;
}

body.newcastle-blog-theme .section-heading h2,
body.newcastle-blog-theme .archive-hero h1,
body.newcastle-blog-theme .page-hero h1,
body.newcastle-blog-theme .follow-card h2 {
    line-height: 1.12;
}

body.newcastle-blog-theme .single-title-wrap h1 {
    line-height: 1.08;
}

body.newcastle-blog-theme .featured-main-content h2,
body.newcastle-blog-theme .post-card h2,
body.newcastle-blog-theme .post-mini h3,
body.newcastle-blog-theme .sidebar-panel h2,
body.newcastle-blog-theme .sidebar-cta h2,
body.newcastle-blog-theme .post-author-box h2,
body.newcastle-blog-theme .comments-area h2 {
    font-weight: 500;
    letter-spacing: -.006em;
    text-wrap: balance;
}

body.newcastle-blog-theme .featured-main-content h2 {
    line-height: 1.08;
}

body.newcastle-blog-theme .post-card h2,
body.newcastle-blog-theme .post-mini h3 {
    line-height: 1.26;
}

.featured-main::before {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 9, 30, .10) 0%, rgba(5, 9, 30, .38) 40%, rgba(5, 9, 30, .88) 78%, rgba(5, 9, 30, .97) 100%),
        linear-gradient(90deg, rgba(5, 9, 30, .72) 0%, rgba(5, 9, 30, .34) 72%, rgba(5, 9, 30, .12) 100%);
}

.featured-main-overlay {
    z-index: 2;
}

.featured-main-content {
    z-index: 3;
}

.featured-main-content h2,
.featured-main-content p,
.featured-main-content .post-meta {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .58);
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--ncb-yellow);
    outline-offset: 3px;
}
