/*
Theme Name: NOUNGuide Focus
Theme URI: https://nounguide.com/
Author: NOUNGuide
Author URI: https://nounguide.com/about-us/
Description: A fast, image-light, student-focused WordPress theme designed for NOUNGuide.com. Built for admissions, courses, fees, student guides and university news.
Version: 1.6.4
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: nounguide-focus
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, education, news, one-column, two-columns, custom-menu, editor-style, accessibility-ready, translation-ready
*/

:root {
  --ng-bg: #fff;
  --ng-surface: #f7f9f8;
  --ng-surface-2: #f1f5f2;
  --ng-text: #111714;
  --ng-muted: #5d6661;
  --ng-line: #dde5df;
  --ng-line-dark: #c9d4cc;
  --ng-accent: #08783f;
  --ng-accent-dark: #055d30;
  --ng-accent-soft: #edf8f1;
  --ng-radius: 8px;
  --ng-radius-lg: 12px;
  --ng-shadow: 0 18px 50px rgba(16, 35, 24, .08);
  --ng-container: 1180px;
  --ng-reading: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ng-bg);
  color: var(--ng-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ng-accent); text-decoration-line: underline; text-decoration-style: dotted; text-decoration-thickness: .5px; text-underline-offset: .18em; }
a:hover { color: var(--ng-accent-dark); }
button, input, textarea, select { font: inherit; }
button, [type="button"], [type="submit"] { cursor: pointer; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
svg { display: block; }

.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 !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 10px;
  padding: 12px 16px;
  top: 10px;
  width: auto;
  z-index: 100000;
  background: #fff;
  color: #111;
  border: 2px solid var(--ng-accent);
  border-radius: 6px;
}
:focus-visible { outline: 3px solid rgba(8, 120, 63, .3); outline-offset: 3px; }

.ng-container { width: min(calc(100% - 40px), var(--ng-container)); margin-inline: auto; }
.ng-reading { width: min(100%, var(--ng-reading)); }
.site-main { min-height: 48vh; }

.admin-bar .site-header { top: 32px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--ng-line);
  box-shadow: 0 1px 0 rgba(17, 23, 20, .02);
}
.site-header__inner {
  min-height: 90px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.site-branding { min-width: 0; }
.site-title { margin: 0; font-size: 1.55rem; line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.site-title a { color: var(--ng-accent); text-decoration: none; }


.primary-navigation { min-width: 0; }
.primary-navigation ul { list-style: none; padding: 0; margin: 0; }
.primary-navigation .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.primary-navigation .menu > li { position: relative; }
.primary-navigation .menu > li > a {
  min-height: 90px;
  display: flex;
  align-items: center;
  color: var(--ng-text);
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.primary-navigation .menu > li.current-menu-item > a,
.primary-navigation .menu > li.current-menu-ancestor > a,
.primary-navigation .menu > li > a:hover { color: var(--ng-accent); }
.primary-navigation .menu > li.current-menu-item > a::before,
.primary-navigation .menu > li.current-menu-ancestor > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--ng-accent);
}
.primary-navigation .sub-menu {
  position: absolute;
  top: calc(100% - 14px);
  left: -18px;
  z-index: 50;
  min-width: 230px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
  box-shadow: var(--ng-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-navigation .sub-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--ng-text);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  border-radius: 6px;
}
.primary-navigation .sub-menu a:hover { color: var(--ng-accent); background: var(--ng-accent-soft); }
.mobile-menu-head,
.mobile-menu-legal,
.ng-mobile-menu-state,
.ng-submenu-state,
.ng-submenu-toggle { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-search-toggle,
.menu-toggle,
.menu-close,
.header-search-close {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--ng-accent);
  background: transparent;
  border: 0;
  border-radius: 50%;
}
.header-search-toggle:hover,
.menu-toggle:hover,
.menu-close:hover,
.header-search-close:hover { background: var(--ng-accent-soft); }
.header-search-toggle svg,
.menu-toggle svg,
.menu-close svg,
.header-search-close svg { width: 25px; height: 25px; }
.menu-toggle { display: none; }
.ng-menu-icon { display: grid; place-items: center; }
.ng-menu-icon--close { display: none; }
@media (min-width: 1081px) {
  .primary-navigation .ng-submenu-state,
  .primary-navigation .ng-submenu-toggle { display: none !important; }
}
.menu-backdrop { display: none; }

.header-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--ng-line);
  box-shadow: 0 16px 30px rgba(16, 35, 24, .08);
}
.header-search-panel[hidden] { display: none; }
.header-search-panel__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-search-panel .search-form { flex: 1; }

.search-form {
  display: flex;
  align-items: stretch;
  min-width: 0;
}
.search-field {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--ng-text);
  background: #fff;
  border: 1px solid var(--ng-line-dark);
  border-right: 0;
  border-radius: var(--ng-radius) 0 0 var(--ng-radius);
}
.search-field:focus { border-color: var(--ng-accent); outline: 0; box-shadow: inset 0 0 0 1px var(--ng-accent); }
.search-submit {
  width: 52px;
  min-height: 48px;
  color: #fff;
  background: var(--ng-accent);
  border: 1px solid var(--ng-accent);
  border-radius: 0 var(--ng-radius) var(--ng-radius) 0;
}
.search-submit:hover { background: var(--ng-accent-dark); }

/* Hero */
.ng-hero {
  background:
    radial-gradient(circle at 16% 22%, rgba(8, 120, 63, .045), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbfcfb 100%);
  border-bottom: 1px solid #edf1ee;
}
.ng-hero__grid {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: 64px;
  padding-block: 58px;
}
.ng-hero__copy { max-width: 590px; }
.ng-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.057em;
  font-weight: 820;
}
.ng-hero h1 span { display: block; }
.ng-hero__accent { color: var(--ng-accent); }
.ng-hero__copy > p {
  max-width: 560px;
  margin: 26px 0 24px;
  color: #303a34;
  font-size: 1rem;
  line-height: 1.72;
}
.ng-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}
.ng-button svg { width: 18px; height: 18px; }
.ng-button:hover { transform: translateY(-1px); }
.ng-button--primary { color: #fff; background: var(--ng-accent); }
.ng-button--primary:hover { color: #fff; background: var(--ng-accent-dark); }
.ng-button--secondary { color: var(--ng-text); background: #fff; border-color: var(--ng-line-dark); }

.ng-hero-links {
  border-left: 1px solid var(--ng-line);
  padding-left: 42px;
}
.ng-hero-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 15px 0;
  color: var(--ng-text);
  text-decoration: none;
  border-bottom: 1px solid var(--ng-line);
}
.ng-hero-link:first-child { border-top: 1px solid var(--ng-line); }
.ng-hero-link:hover { color: var(--ng-accent); }
.ng-hero-link__icon { color: var(--ng-accent); }
.ng-hero-link__icon svg { width: 30px; height: 30px; }
.ng-hero-link__content { min-width: 0; }
.ng-hero-link__content strong { display: block; color: var(--ng-text); font-size: 1rem; line-height: 1.25; }
.ng-hero-link__content small { display: block; margin-top: 5px; color: var(--ng-muted); font-size: .84rem; line-height: 1.45; }
.ng-hero-link__arrow { opacity: 0; transform: translateX(-4px); transition: opacity .18s ease, transform .18s ease; }
.ng-hero-link__arrow svg { width: 18px; height: 18px; }
.ng-hero-link:hover .ng-hero-link__arrow { opacity: 1; transform: translateX(0); }

/* Homepage sections */
.ng-home-section { padding: 36px 0; }
.ng-home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.ng-home-heading h2 { margin: 0; font-size: 1.42rem; line-height: 1.2; letter-spacing: -.025em; }
.ng-home-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ng-accent);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.ng-home-heading > a svg { width: 17px; height: 17px; }

.ng-key-topics { padding-top: 32px; }
.ng-topic-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.ng-topic-card {
  min-height: 192px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 18px 36px;
  color: var(--ng-text);
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--ng-line);
  border-radius: var(--ng-radius);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.ng-topic-card:hover {
  color: var(--ng-text);
  border-color: rgba(8, 120, 63, .45);
  box-shadow: 0 12px 28px rgba(13, 51, 30, .07);
  transform: translateY(-2px);
}
.ng-topic-card__icon { color: var(--ng-accent); margin-bottom: 13px; }
.ng-topic-card__icon svg { width: 34px; height: 34px; }
.ng-topic-card strong { font-size: .95rem; line-height: 1.25; }
.ng-topic-card small { margin-top: 9px; color: var(--ng-muted); font-size: .77rem; line-height: 1.45; }
.ng-topic-card__arrow { position: absolute; right: 13px; bottom: 12px; color: var(--ng-accent); }
.ng-topic-card__arrow svg { width: 17px; height: 17px; }

.ng-guide-rows { border-top: 1px solid var(--ng-line); }
.ng-guide-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--ng-line);
}
.ng-guide-row:hover { background: #fbfdfb; }
.ng-guide-row__lead { color: var(--ng-accent); }
.ng-guide-row__lead svg { width: 16px; height: 16px; }
.ng-guide-row h3 { margin: 0; font-size: .94rem; line-height: 1.3; }
.ng-guide-row h3 a { color: var(--ng-text); text-decoration: none; }
.ng-guide-row h3 a:hover { color: var(--ng-accent); }
.ng-guide-row p { margin: 4px 0 0; color: var(--ng-muted); font-size: .78rem; line-height: 1.4; }
.ng-guide-row__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ng-accent);
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.ng-guide-row__more svg { width: 16px; height: 16px; }

.ng-updates { padding-bottom: 46px; }
.ng-update-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ng-line); }
.ng-update-card { min-width: 0; padding: 20px 20px 4px; border-left: 1px solid var(--ng-line); }
.ng-update-card:first-child { border-left: 0; padding-left: 12px; }
.ng-update-card time { color: var(--ng-accent); font-size: .74rem; font-weight: 760; }
.ng-update-card h3 { margin: 8px 0 9px; font-size: 1rem; line-height: 1.34; letter-spacing: -.012em; }
.ng-update-card h3 a { color: var(--ng-text); text-decoration: none; }
.ng-update-card h3 a:hover { color: var(--ng-accent); }
.ng-update-card p { margin: 0; color: var(--ng-muted); font-size: .79rem; line-height: 1.52; }
.ng-update-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--ng-accent);
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
}
.ng-update-card__more svg { width: 16px; height: 16px; }

/* Footer */
.site-footer { background: #fafbfa; border-top: 1px solid var(--ng-line); }
.site-footer__main {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(0, .82fr));
  gap: 38px;
  padding-block: 40px 34px;
}
.site-footer__brand { color: var(--ng-accent); font-size: 1.18rem; font-weight: 820; letter-spacing: -.025em; }
.site-footer__about p { max-width: 250px; margin: 12px 0 18px; color: var(--ng-muted); font-size: .8rem; line-height: 1.55; }
.site-footer h2 { margin: 0 0 12px; font-size: .83rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 5px; }
.site-footer li a { color: #27302b; font-size: .78rem; text-decoration: none; }
.site-footer li a:hover { color: var(--ng-accent); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 9px; }
.site-footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ng-accent);
  border: 1px solid var(--ng-line-dark);
  border-radius: 5px;
}
.site-footer__social a:hover { color: #fff; background: var(--ng-accent); border-color: var(--ng-accent); }
.site-footer__social svg { width: 18px; height: 18px; }
.footer-toggle { display: none; }
.site-footer__bottom { border-top: 1px solid var(--ng-line); }
.site-footer__bottom .ng-container { min-height: 54px; display: flex; align-items: center; justify-content: center; color: var(--ng-muted); font-size: .74rem; }

/* Archive and cards */
.ng-page-header { padding: 28px 0 34px; background: var(--ng-surface); border-bottom: 1px solid var(--ng-line); }
.ng-page-header h1 { max-width: 850px; margin: 0; font-size: clamp(1.85rem, 4vw, 2.85rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 720; }
.ng-page-header p,
.ng-page-header .archive-description { max-width: 680px; margin: 13px 0 0; color: var(--ng-muted); }
.ng-content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 42px; padding-block: 46px 72px; }
.ng-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ng-post-card { padding: 24px; background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); }
.ng-post-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--ng-muted); font-size: .72rem; }
.ng-post-card h2 { margin: 12px 0 10px; font-size: 1.28rem; line-height: 1.3; letter-spacing: -.025em; }
.ng-post-card h2 a { color: var(--ng-text); text-decoration: none; }
.ng-post-card h2 a:hover { color: var(--ng-accent); }
.ng-post-card p { margin: 0; color: var(--ng-muted); font-size: .9rem; }
.ng-post-card__more { display: inline-flex; margin-top: 16px; font-weight: 700; text-decoration: none; }

/* Numbered category/archive list, matching the homepage Top Student Guides pattern. */
.ng-archive-list { overflow: hidden; background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); }
.ng-archive-row { min-height: 92px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--ng-line); }
.ng-archive-row:last-child { border-bottom: 0; }
.ng-archive-row__number { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ng-accent); background: var(--ng-accent-soft); border: 1px solid rgba(8, 120, 63, .2); border-radius: 50%; font-size: .72rem; font-weight: 750; }
.ng-archive-row__content { min-width: 0; }
.ng-archive-row h2 { margin: 0; font-size: 1rem; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; }
.ng-archive-row h2 a { color: var(--ng-text); text-decoration: none; }
.ng-archive-row h2 a:hover { color: var(--ng-accent); }
.ng-archive-row p { margin: 4px 0 0; color: var(--ng-muted); font-size: .82rem; line-height: 1.45; }
.ng-archive-row__more { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 4px 7px 12px; font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ng-archive-row__more svg { width: 18px; height: 18px; }
.ng-load-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.ng-load-more { min-height: 50px; padding: 10px 24px; color: #fff; background: var(--ng-accent); border: 0; border-radius: 6px; font-weight: 700; }
.ng-load-more:hover { background: var(--ng-accent-dark); }
.ng-load-more:disabled { opacity: .65; cursor: default; }
.navigation.pagination { margin-top: 30px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 7px 12px; color: var(--ng-text); background: #fff; border: 1px solid var(--ng-line); border-radius: 6px; text-decoration: none; }
.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover { color: #fff; background: var(--ng-accent); border-color: var(--ng-accent); }

/* Sidebar */
.ng-sidebar { position: sticky; top: 20px; display: grid; gap: 18px; }
.ng-sidebar-box { padding: 22px; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); background: #fff; }
.ng-sidebar-box h2 { margin: 0 0 15px; font-size: 1rem; }
.ng-sidebar-box ul { list-style: none; margin: 0; padding: 0; }
.ng-sidebar-box li { padding: 9px 0; border-bottom: 1px solid var(--ng-line); }
.ng-sidebar-box li:last-child { border-bottom: 0; }
.ng-sidebar-box li a { color: var(--ng-text); font-size: .86rem; font-weight: 650; text-decoration: none; }
.ng-sidebar-box li a:hover { color: var(--ng-accent); }

/* Single content */
.ng-single { padding: 18px 0 76px; background: #fafcfb; }
.ng-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; }
.ng-single article { min-width: 0; }
.ng-article-card { --ng-article-pad: clamp(26px, 3vw, 40px); padding: var(--ng-article-pad); background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); box-shadow: 0 10px 34px rgba(16, 35, 24, .055); }
.entry-header { margin-bottom: 30px; }
.entry-header h1 { margin: 0; font-size: clamp(1.72rem, 3vw, 2.35rem); line-height: 1.18; letter-spacing: -.026em; font-weight: 700; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin-top: 17px; padding-top: 15px; color: var(--ng-muted); border-top: 1px solid var(--ng-line); font-size: .78rem; }
.entry-meta__item { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: inherit; text-decoration: none; }
.entry-meta__item svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--ng-accent); }
.entry-meta__category:hover { color: var(--ng-accent); }
.entry-content { color: #222b26; font-size: .96rem; line-height: 1.7; content-visibility: visible; opacity: 1; transform: none; animation: none; }
.entry-content > :first-child,
.entry-content > p:first-of-type,
.entry-content > .wp-block-paragraph:first-of-type {
  display: block !important;
  content-visibility: visible !important;
  contain: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
}
.entry-content > * { max-width: 100%; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 1.75em; margin-bottom: .62em; color: var(--ng-text); line-height: 1.3; letter-spacing: -.014em; }
.entry-content h2 { font-size: 1.36rem; font-weight: 450; }
.entry-content h3 { font-size: 1.16rem; font-weight: 425; }
.entry-content h4 { font-size: 1.02rem; font-weight: 400; }
.entry-content p,
.entry-content ul,
.entry-content ol { margin-top: 0; margin-bottom: 1.25em; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content .wp-block-table,
.entry-content .ng-table-scroll { width: 100%; margin: 1.45em 0; overflow-x: auto; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); -webkit-overflow-scrolling: touch; }
.entry-content table { width: 100%; margin: 0; border-collapse: collapse; display: table; table-layout: auto; background: #fff; }
.entry-content table.ng-wide-table { min-width: 640px; }
.entry-content caption { padding: 10px 12px; color: var(--ng-muted); font-size: .82rem; text-align: left; }
.entry-content th,
.entry-content td { min-width: 0; padding: 12px 13px; text-align: left; vertical-align: top; overflow-wrap: anywhere; border: 0; border-right: 1px solid var(--ng-line); border-bottom: 1px solid var(--ng-line); }
.entry-content tr > :last-child { border-right: 0; }
.entry-content tbody tr:last-child > * { border-bottom: 0; }
.entry-content thead th,
.entry-content tr:first-child th { color: var(--ng-text); background: var(--ng-surface); border-bottom: 2px solid #26332b; font-weight: 680; }
.entry-content tbody tr:nth-child(even) { background: #fbfcfb; }
.entry-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--ng-accent); background: var(--ng-accent-soft); }

/* Lightweight core-block replacements, allowing the public block library CSS to stay disabled. */
.entry-content .wp-block-image { margin: 1.5em 0; }
.entry-content .wp-block-image img { display: block; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4em 0; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; color: #fff; background: var(--ng-accent); border-radius: 6px; text-decoration: none; }
.entry-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin: 1.5em 0; }
.entry-content .wp-block-column { min-width: 0; flex: 1 1 240px; }
.entry-content .alignwide { width: 100%; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-right { text-align: right; }

.entry-content h2[id],
.entry-content h3[id],
.entry-content h4[id] { scroll-margin-top: 112px; }

/* Server-rendered table of contents. */
.ng-toc { margin: 1.75rem 0 2rem; overflow: hidden; background: var(--ng-surface); border: 1px solid var(--ng-line); border-radius: var(--ng-radius); }
.ng-toc summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; color: var(--ng-text); cursor: pointer; list-style: none; font-weight: 620; }
.ng-toc summary::-webkit-details-marker { display: none; }
.ng-toc summary::after { content: "+"; width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; color: var(--ng-accent); background: #fff; border: 1px solid var(--ng-line); border-radius: 50%; font-size: 1rem; line-height: 1; }
.ng-toc[open] summary { border-bottom: 1px solid var(--ng-line); }
.ng-toc[open] summary::after { content: "−"; }
.ng-toc__title { font-size: .92rem; }
.ng-toc__hint { margin-left: auto; color: var(--ng-muted); font-size: .7rem; font-weight: 500; }
.ng-toc__list { margin: 0; padding: 14px 18px 16px 36px; columns: 2; column-gap: 34px; }
.ng-toc__item { margin: 0 0 8px; break-inside: avoid; color: var(--ng-muted); font-size: .82rem; line-height: 1.45; }
.ng-toc__item a { color: #2e3b34; text-decoration: none; }
.ng-toc__item a:hover { color: var(--ng-accent); }

/* Lightweight inline related-content cards. */
.ng-inline-related { position: relative; margin: 2.75rem 0; padding: 38px 48px 15px 18px; background: var(--ng-accent-soft); border: 1px solid rgba(8, 120, 63, .18); border-left: 3px solid var(--ng-accent); border-radius: var(--ng-radius); }
.ng-inline-related::before { content: "Related NOUN Guide"; position: absolute; top: 14px; left: 18px; color: var(--ng-accent-dark); font-size: .68rem; font-weight: 690; letter-spacing: .055em; line-height: 1.3; text-transform: uppercase; }
.ng-inline-related::after { content: "→"; position: absolute; top: 50%; right: 18px; color: var(--ng-accent); font-size: 1.15rem; line-height: 1; transform: translateY(-10%); }
.ng-inline-related__link { display: block; color: var(--ng-text); font-size: .94rem; font-weight: 590; line-height: 1.42; text-decoration: none; }
.ng-inline-related__link:hover { color: var(--ng-accent); }

/* SEO-plugin-aware breadcrumbs. */
.ng-breadcrumb-bar { position: static; padding: 6px 0; background: #fff; border-bottom: 1px solid var(--ng-line); }
.ng-breadcrumbs { min-height: 30px; display: flex; align-items: center; gap: 8px; padding: 2px 0; overflow: hidden; color: var(--ng-muted); background: transparent; border: 0; border-radius: 0; box-shadow: none; font-size: .73rem; line-height: 1.4; }
.ng-breadcrumbs__icon { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; color: var(--ng-accent); background: var(--ng-accent-soft); border-radius: 50%; }
.ng-breadcrumbs__icon svg { width: 13px; height: 13px; }
.ng-breadcrumbs__trail { min-width: 0; overflow: hidden; }
.ng-breadcrumbs a { color: #405048; text-decoration: none; }
.ng-breadcrumbs a:hover { color: var(--ng-accent); }
.ng-breadcrumbs p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ng-breadcrumbs .separator { margin-inline: 7px; color: #8a958f; }
.ng-breadcrumbs__fallback { min-width: 0; overflow: hidden; }
.ng-breadcrumbs__fallback ol { min-width: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; }
.ng-breadcrumbs__fallback li { min-width: 0; display: inline-flex; align-items: center; }
.ng-breadcrumbs__fallback li:last-child { overflow: hidden; }
.ng-breadcrumbs__fallback li:last-child span { display: block; overflow: hidden; text-overflow: ellipsis; }
.ng-breadcrumbs__fallback li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #8a958f; }
.rank-math-breadcrumb,
.yoast-breadcrumbs,
.aioseo-breadcrumbs { min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Full-width WordPress pages and related page recommendations. */
.ng-page-layout { width: min(calc(100% - 40px), 980px); margin-inline: auto; }
.ng-page-layout article { min-width: 0; }
.ng-page-card { width: 100%; }
.ng-page-recommendations { margin-top: 22px; padding: 22px; background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); }
.ng-page-recommendations__head { margin-bottom: 13px; }
.ng-page-recommendations__head h2 { margin: 0; font-size: 1.12rem; font-weight: 600; }
.ng-page-recommendations__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ng-page-link-card { min-height: 82px; display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 13px 14px; color: var(--ng-text); background: var(--ng-surface); border: 1px solid var(--ng-line); border-radius: var(--ng-radius); text-decoration: none; }
.ng-page-link-card:hover { color: var(--ng-accent); border-color: rgba(8, 120, 63, .28); background: var(--ng-accent-soft); }
.ng-page-link-card strong { display: block; font-size: .9rem; line-height: 1.3; font-weight: 650; }
.ng-page-link-card small { display: block; margin-top: 4px; color: var(--ng-muted); font-size: .73rem; line-height: 1.4; }
.ng-page-link-card svg { width: 18px; height: 18px; }
.ng-empty-state { margin: 0; padding: 22px; color: var(--ng-muted); }

/* Article sharing, optional channels and related guides. */
.ng-share { margin-top: 40px; margin-inline: calc(10px - var(--ng-article-pad)); overflow: hidden; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); background: #fff; }
.ng-share__header { padding: 13px 16px; color: var(--ng-text); background: var(--ng-surface); border-bottom: 1px solid var(--ng-line); font-size: .9rem; font-weight: 690; }
.ng-share__buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.ng-share__btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 10px; color: #fff; border: 0; border-radius: 6px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.ng-share__btn:hover { color: #fff; filter: brightness(.94); }
.ng-share__icon { width: 18px; height: 18px; }
.ng-share__btn--whatsapp { background: #0f7a3b; }
.ng-share__btn--x { background: #101214; }
.ng-share__btn--facebook { background: #1967c9; }
.ng-share__btn--copy { background: #58635d; }
.ng-share__btn.is-copied { background: var(--ng-accent); }
.ng-join-channels { margin-top: 20px; padding: 18px; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); background: #fff; }
.ng-join-channels h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 680; }
.ng-join-channels__links { display: flex; flex-wrap: wrap; gap: 10px; }
.ng-channel { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; color: #fff; border-radius: 6px; font-size: .82rem; font-weight: 700; text-decoration: none; }
.ng-channel:hover { color: #fff; filter: brightness(.94); }
.ng-channel svg { width: 18px; height: 18px; }
.ng-channel--telegram { background: #168bd2; }
.ng-channel--whatsapp { background: #0f7a3b; }
.ng-related { margin-top: 28px; }
.ng-related__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ng-related__head h2 { margin: 0; font-size: 1.2rem; font-weight: 680; }
.ng-related__list { overflow: hidden; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); background: #fff; }
.ng-related__item { min-height: 76px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 13px; padding: 12px 14px; border-bottom: 1px solid var(--ng-line); }
.ng-related__item:last-child { border-bottom: 0; }
.ng-related__number { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ng-accent); background: var(--ng-accent-soft); border-radius: 50%; font-size: .68rem; font-weight: 750; }
.ng-related__item h3 { margin: 0; font-size: .92rem; line-height: 1.3; font-weight: 680; }
.ng-related__item h3 a { color: var(--ng-text); text-decoration: none; }
.ng-related__item h3 a:hover { color: var(--ng-accent); }
.ng-related__item p { margin: 3px 0 0; color: var(--ng-muted); font-size: .76rem; line-height: 1.4; }
.ng-related__arrow { width: 28px; height: 38px; display: grid; place-items: center; }
.ng-related__arrow svg { width: 18px; height: 18px; }
.ng-author-box { margin-top: 22px; padding: 22px; background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); }
.ng-author-box h2 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 680; }
.ng-author-box p { margin: 0; color: var(--ng-muted); font-size: .9rem; }
.ng-post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 16px; }
.ng-post-nav__link { min-height: 112px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px 18px; color: var(--ng-text); background: #fff; border: 1px solid var(--ng-line); border-radius: var(--ng-radius-lg); text-decoration: none; }
.ng-post-nav__link:hover { color: var(--ng-text); background: var(--ng-accent-soft); border-color: rgba(8, 120, 63, .35); box-shadow: 0 8px 24px rgba(16, 35, 24, .06); }
.ng-post-nav__label { color: var(--ng-accent); font-size: .7rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.ng-post-nav__title { display: flex; align-items: center; gap: 9px; line-height: 1.35; }
.ng-post-nav__title strong { font-size: .88rem; font-weight: 660; }
.ng-post-nav__title svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--ng-accent); }
.ng-post-nav__link--previous .ng-post-nav__title svg { transform: rotate(180deg); }
.ng-post-nav__link--next { align-items: flex-end; text-align: right; }

/* Comments */
.comments-area { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--ng-line); }
.comments-title,
.comment-reply-title { font-size: 1.35rem; }
.comment-list { padding-left: 22px; }
.comment-list li { margin-bottom: 20px; }
.comment-meta { font-size: .8rem; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.comment-form input:not([type="checkbox"]),
.comment-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--ng-line-dark); border-radius: 6px; }
.comment-form textarea { min-height: 150px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; }
.form-submit input { min-height: 48px; padding: 10px 20px; color: #fff; background: var(--ng-accent); border: 0; border-radius: 6px; font-weight: 750; }

/* 404 */
.ng-404 { max-width: 760px; padding-block: 100px; text-align: center; }
.ng-404__code { margin: 0; color: var(--ng-accent); font-size: 5rem; font-weight: 850; line-height: 1; }
.ng-404 h1 { margin: 16px 0 10px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
.ng-404 > p:not(.ng-404__code) { color: var(--ng-muted); }
.ng-404 .ng-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* WordPress helpers */
.alignwide { width: min(100vw - 40px, 1080px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--ng-muted); font-size: .8rem; }
.sticky { border-color: rgba(8, 120, 63, .5); }
.bypostauthor { display: block; }
.gallery { display: grid; gap: 10px; }

@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: 230px minmax(0, 1fr) auto; gap: 18px; }
  .primary-navigation .menu { gap: 20px; }
  .ng-topic-cards { gap: 12px; }
  .ng-topic-card { padding-inline: 13px; }
}

@media (max-width: 1080px) {
  .site-header__inner { min-height: 78px; grid-template-columns: minmax(0, 1fr) auto; }
  .menu-toggle { display: inline-grid; cursor: pointer; }

  .ng-mobile-menu-state {
    position: fixed;
    top: 0;
    right: 0;
    z-index: -1;
    width: 1px;
    height: 1px;
    display: block;
    opacity: 0;
    pointer-events: none;
  }
  body:has(.ng-mobile-menu-state:checked) { overflow: hidden; }
  .ng-mobile-menu-state:checked ~ .site-header .ng-menu-icon--open { display: none; }
  .ng-mobile-menu-state:checked ~ .site-header .ng-menu-icon--close { display: grid; }
  .ng-mobile-menu-state:checked ~ .site-header .menu-toggle { background: var(--ng-accent-soft); }
  .ng-mobile-menu-state:checked ~ .site-header .header-search-panel { display: none; }

  .primary-navigation {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 1095;
    width: 100%;
    height: calc(100dvh - 78px);
    display: block;
    padding: 14px 20px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--ng-text);
    background: #fff;
    border-top: 1px solid var(--ng-line);
    box-shadow: 0 18px 34px rgba(16, 35, 24, .09);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .ng-mobile-menu-state:checked ~ .site-header .primary-navigation {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-menu-head { display: none !important; }

  .mobile-primary-menu-wrap { max-width: 720px; margin-inline: auto; }
  .primary-navigation ul { list-style: none; margin: 0; padding: 0; }
  .primary-navigation .menu { display: grid; gap: 8px; }
  .primary-navigation .menu > li {
    position: relative;
    overflow: hidden;
    background: var(--ng-surface);
    border: 1px solid var(--ng-line);
    border-radius: 10px;
  }
  .primary-navigation .menu > li > a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 10px 52px 10px 15px;
    color: var(--ng-text);
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
  }
  .primary-navigation .menu > li.current-menu-item,
  .primary-navigation .menu > li.current-menu-ancestor { border-color: rgba(8, 120, 63, .3); background: var(--ng-accent-soft); }
  .primary-navigation .menu > li.current-menu-item > a,
  .primary-navigation .menu > li.current-menu-ancestor > a,
  .primary-navigation a:hover { color: var(--ng-accent); }
  .primary-navigation .sub-menu {
    position: static;
    min-width: 0;
    display: none;
    padding: 5px 10px 10px;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--ng-line);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .primary-navigation .sub-menu li + li { border-top: 1px solid rgba(201, 212, 204, .65); }
  .primary-navigation .sub-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: #334039;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    border-radius: 6px;
  }
  .primary-navigation .sub-menu a:hover { background: #fff; }
  .ng-submenu-state {
    position: absolute;
    display: block;
    top: 5px;
    right: 5px;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
  .ng-submenu-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--ng-accent);
    background: rgba(255,255,255,.74);
    border-radius: 8px;
    pointer-events: none;
  }
  .ng-submenu-state:focus-visible + .ng-submenu-toggle { outline: 3px solid rgba(8, 120, 63, .3); outline-offset: 2px; }
  .ng-submenu-toggle svg { width: 20px; height: 20px; transition: transform .18s ease; }
  .ng-submenu-state:checked + .ng-submenu-toggle svg { transform: rotate(180deg); }
  .ng-submenu-state:checked ~ .sub-menu { display: block; }


  .ng-hero__grid { grid-template-columns: 1fr 390px; gap: 40px; }
  .ng-hero h1 { font-size: clamp(2.8rem, 6vw, 4.1rem); }
  .ng-topic-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ng-update-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-update-card:nth-child(3) { border-left: 0; }
  .ng-update-card:nth-child(n+3) { border-top: 1px solid var(--ng-line); }
  .ng-content-wrap { grid-template-columns: minmax(0, 1fr) 285px; gap: 30px; }
  .ng-single__layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 22px; }
  .site-footer__main { grid-template-columns: 1.15fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .ng-content-wrap,
  .ng-single__layout { grid-template-columns: 1fr; }
  .ng-sidebar { display: none !important; }
}

@media (max-width: 820px) {
  .ng-container { width: min(calc(100% - 32px), var(--ng-container)); }
  .site-title { font-size: 1.35rem; }
  .header-actions { gap: 0; }

  .ng-hero__grid { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding-block: 34px 30px; }
  .ng-hero__copy { max-width: 620px; }
  .ng-hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); line-height: 1.02; }
  .ng-hero__copy > p { margin: 20px 0 18px; font-size: .95rem; }
  .ng-hero-links { padding-left: 0; border-left: 0; border: 1px solid var(--ng-line); border-radius: var(--ng-radius); overflow: hidden; }
  .ng-hero-link { min-height: 74px; padding: 12px 15px; border-top: 0; }
  .ng-hero-link:first-child { border-top: 0; }
  .ng-hero-link:last-child { border-bottom: 0; }
  .ng-hero-link__arrow { opacity: 1; transform: none; }

  .ng-home-section { padding: 28px 0; }
  .ng-topic-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ng-topic-card { min-height: 132px; padding: 17px 10px 28px; }
  .ng-topic-card small { display: none; }
  .ng-topic-card__icon { margin-bottom: 8px; }
  .ng-topic-card__icon svg { width: 30px; height: 30px; }
  .ng-guide-row { grid-template-columns: 18px minmax(0, 1fr) auto; padding-inline: 8px; }
  .ng-guide-row__more { font-size: 0; }
  .ng-guide-row__more svg { width: 18px; height: 18px; }
  .ng-update-cards { grid-template-columns: 1fr; border-top: 0; gap: 10px; }
  .ng-update-card,
  .ng-update-card:first-child,
  .ng-update-card:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 14px;
    padding: 14px;
    border: 1px solid var(--ng-line);
    border-radius: var(--ng-radius);
  }
  .ng-update-card:nth-child(n+3) { border-top: 1px solid var(--ng-line); }
  .ng-update-card time { display: none; }
  .ng-update-card h3 { grid-column: 1; margin: 0; }
  .ng-update-card p { grid-column: 1; }
  .ng-update-card__more { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; font-size: 0; }
  .ng-update-card__more svg { width: 19px; height: 19px; }

  .ng-post-grid { grid-template-columns: 1fr; }

  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer__about { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .site-footer__about p { max-width: 360px; margin-inline: auto; }
  .site-footer__social { justify-content: center; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .ng-container { width: min(calc(100% - 28px), var(--ng-container)); }
  .site-header__inner { min-height: 66px; gap: 8px; }
  .site-title { font-size: 1.25rem; }
  .header-search-toggle,
  .menu-toggle { width: 42px; height: 42px; }
  .header-search-toggle svg,
  .menu-toggle svg { width: 24px; height: 24px; }
  .primary-navigation { top: 66px; height: calc(100dvh - 66px); padding: 12px 14px 28px; }

  .ng-hero h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .ng-hero__copy > p { line-height: 1.58; }
  .ng-button { min-height: 48px; width: auto; }
  .ng-hero-link { grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 10px; }
  .ng-hero-link__icon svg { width: 27px; height: 27px; }
  .ng-hero-link__content strong { font-size: .94rem; }
  .ng-hero-link__content small { font-size: .76rem; }

  .ng-home-heading { align-items: baseline; }
  .ng-home-heading h2 { font-size: 1.18rem; }
  .ng-home-heading > a { font-size: .73rem; }
  .ng-topic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ng-topic-card { min-height: 122px; }
  .ng-topic-card strong { font-size: .86rem; }
  .ng-guide-row { min-height: 74px; gap: 10px; }
  .ng-guide-row h3 { font-size: .86rem; }
  .ng-guide-row p { font-size: .72rem; }
  .ng-update-card,
  .ng-update-card:first-child,
  .ng-update-card:nth-child(3) {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 7px 10px;
    padding: 12px 10px;
  }
  .ng-update-card h3 { font-size: .85rem; }
  .ng-update-card p { font-size: .71rem; }

  .ng-page-header { padding: 24px 0 28px; }
  .ng-single { padding: 14px 0 52px; }
  .ng-article-card { --ng-article-pad: 16px; padding: 20px var(--ng-article-pad); border-radius: 10px; }
  .entry-header h1 { font-size: 1.58rem; }
  .entry-meta { gap: 8px 14px; font-size: .73rem; }
  .entry-content { font-size: .93rem; line-height: 1.68; }
  .ng-toc { margin: 1.45rem 0 1.7rem; }
  .ng-toc__hint { display: none; }
  .ng-toc__list { columns: 1; padding: 13px 15px 15px 32px; }
  .ng-inline-related { margin: 2.35rem 0; padding: 36px 42px 14px 14px; }
  .ng-inline-related::before { top: 12px; left: 14px; }
  .ng-inline-related::after { right: 14px; }
  .ng-inline-related__link { font-size: .88rem; }
  .ng-breadcrumb-bar { padding: 4px 0; }
  .ng-breadcrumbs { min-height: 28px; padding: 1px 0; font-size: .69rem; }
  .ng-breadcrumbs__icon { width: 21px; height: 21px; }
  .ng-post-nav { grid-template-columns: 1fr; }
  .ng-post-nav__link--next { align-items: flex-start; text-align: left; }
  .ng-archive-row { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 10px; padding: 13px 11px; }
  .ng-archive-row__number { width: 30px; height: 30px; font-size: .68rem; }
  .ng-archive-row h2 { font-size: .9rem; }
  .ng-archive-row p { font-size: .74rem; }
  .ng-archive-row__more { min-width: 22px; padding: 7px 0; }
  .ng-archive-row__more span { display: none; }
  .ng-share__buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ng-related__item { grid-template-columns: 30px minmax(0, 1fr) 24px; gap: 10px; padding-inline: 10px; }
  .ng-related__item p { display: none; }
  .entry-content table.ng-wide-table { min-width: 560px; }
  .ng-page-layout { width: min(calc(100% - 28px), 980px); }
  .ng-page-recommendations { padding: 16px; }
  .ng-page-recommendations__grid { grid-template-columns: 1fr; }
  .ng-page-link-card small { display: none; }

  .site-footer__main { display: block; padding-block: 34px 24px; }
  .site-footer__about { display: flex; flex-direction: column; align-items: center; padding-bottom: 24px; text-align: center; }
  .site-footer__about p { max-width: 310px; margin: 12px auto 18px; }
  .site-footer__social { justify-content: center; }
  .site-footer__links { border-top: 1px solid var(--ng-line); }
  .site-footer__links > h2 { display: none; }
  .footer-toggle {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    color: var(--ng-text);
    background: transparent;
    border: 0;
    font-weight: 780;
    text-align: left;
  }
  .footer-toggle svg { width: 19px; height: 19px; transition: transform .18s ease; }
  .footer-open .footer-toggle svg { transform: rotate(180deg); }
  .footer-links__body { padding: 0 0 18px; }
  .js .site-footer__links .footer-links__body { display: none; }
  .js .site-footer__links.footer-open .footer-links__body { display: block; }
  .site-footer li a { min-height: 38px; display: inline-flex; align-items: center; font-size: .82rem; }
  .site-footer__bottom .ng-container { min-height: 58px; text-align: center; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .primary-navigation { top: 124px; height: calc(100dvh - 124px); }
}

@media (max-width: 620px) {
  .admin-bar .primary-navigation { top: 112px; height: calc(100dvh - 112px); }
}
