body.gost-browser-site-shell {
  margin: 0;
  color: var(--gbh-text);
  background: var(--gbh-page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.gost-browser-site-shell * { box-sizing: border-box; }
body.gost-browser-site-shell a { text-underline-offset: 0.16em; }
body.gost-browser-site-shell :focus-visible {
  outline: 3px solid #0b2547;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #ffd36a;
}

.gbh-content-main { padding: 22px 0 58px; }

.gbh-breadcrumbs {
  display: flex;
  min-height: 34px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #526a86;
  font-size: 12px;
}

.gbh-breadcrumbs a {
  color: #245f9f;
  font-weight: 650;
  text-decoration: none;
}

.gbh-breadcrumbs span[aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.gbh-article {
  min-width: 0;
  padding: clamp(26px, 4vw, 58px);
  border: 1px solid #e4edf8;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--gbh-shadow);
}

.gbh-article-header {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--gbh-line);
}

.gbh-article-header.has-content-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.gbh-article-kicker,
.gbh-sidebar-kicker,
.gbh-related-heading > p,
.gbh-result-card > p {
  margin: 0 0 8px;
  color: var(--gbh-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gbh-article-header h1,
.gbh-entry-content h1 {
  max-width: 980px;
  margin: 0;
  color: var(--gbh-ink);
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.gbh-entry-content h1 {
  margin-bottom: 28px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--gbh-line);
}

.gbh-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  color: #566b86;
  font-size: 12px;
}

.gbh-entry-content {
  color: #344b69;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.gbh-entry-content > *:first-child { margin-top: 0; }
.gbh-entry-content > *:last-child { margin-bottom: 0; }

.gbh-entry-content h2,
.gbh-entry-content h3,
.gbh-entry-content h4 {
  color: var(--gbh-ink);
  font-weight: 750;
  letter-spacing: -0.025em;
  scroll-margin-top: 24px;
}

.gbh-entry-content h2 {
  margin: 42px 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

.gbh-entry-content h3 {
  margin: 30px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.gbh-entry-content h4 { margin: 24px 0 10px; font-size: 18px; }
.gbh-entry-content p { margin: 0 0 18px; }
.gbh-entry-content ul,
.gbh-entry-content ol { margin: 0 0 22px; padding-left: 1.35em; }
.gbh-entry-content li + li { margin-top: 7px; }
.gbh-entry-content a { color: #086ddf; font-weight: 650; }
.gbh-entry-content a:hover { color: #0758b2; }

.gbh-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.gbh-entry-content figure { max-width: 100%; margin: 24px 0; }
.gbh-entry-content figcaption { margin-top: 8px; color: #536a86; font-size: 12px; text-align: center; }

.gbh-entry-content blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--gbh-blue);
  border-radius: 0 12px 12px 0;
  color: #314f75;
  background: #eff7ff;
}

.gbh-entry-content pre {
  max-width: 100%;
  overflow: auto;
  padding: 18px;
  border-radius: 13px;
  color: #eef7ff;
  background: #102849;
  font-size: 13px;
  line-height: 1.55;
}

.gbh-entry-content code {
  padding: 0.12em 0.34em;
  border-radius: 5px;
  color: #174675;
  background: #edf4fc;
  font-size: 0.9em;
}

.gbh-entry-content pre code { padding: 0; color: inherit; background: transparent; }

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

.gbh-entry-content table {
  display: table;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
}

.gbh-entry-content th,
.gbh-entry-content td { min-width: 120px; padding: 11px 13px; border: 1px solid #dce7f5; text-align: left; }
.gbh-entry-content th { color: var(--gbh-ink); background: #eff6ff; }

.gbh-entry-content .wp-block-columns { gap: 16px; }
.gbh-entry-content .wp-block-group { max-width: 100%; }
.gbh-entry-content .wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 11px;
  color: #fff;
  background: var(--gbh-blue);
  box-shadow: 0 8px 18px rgba(20, 120, 255, 0.18);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.gbh-entry-content .wp-block-button__link:hover { color: #fff; background: var(--gbh-blue-dark); }
.gbh-entry-content iframe { max-width: 100%; }

.gbh-page-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.gbh-page-links .post-page-numbers { display: grid; min-width: 38px; min-height: 38px; place-items: center; border-radius: 9px; background: #edf5ff; text-decoration: none; }

.gbh-entry-content .post-password-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid #d5e3f4;
  border-radius: 14px;
  background: #f3f8ff;
}

.gbh-entry-content .post-password-form label { color: var(--gbh-ink); font-weight: 700; }
.gbh-entry-content .post-password-form input[type="password"] { min-height: 44px; padding: 9px 11px; border: 1px solid #7b92ad; border-radius: 9px; background: #fff; }
.gbh-entry-content .post-password-form input[type="submit"] { min-height: 44px; padding: 9px 16px; border: 0; border-radius: 9px; color: #fff; background: var(--gbh-blue); font-weight: 800; cursor: pointer; }

.gbh-content-sidebar {
  display: grid;
  position: sticky;
  top: 20px;
  gap: 15px;
}

.gbh-sidebar-card {
  padding: 20px;
  border: 1px solid #e4edf8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(49, 91, 143, 0.07);
}

.gbh-sidebar-card h2 {
  margin: 0 0 15px;
  color: var(--gbh-ink);
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.gbh-sidebar-links { display: grid; gap: 8px; }
.gbh-sidebar-links a {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 1px 10px;
  padding: 11px;
  border: 1px solid #edf2f8;
  border-radius: 13px;
  color: var(--gbh-text);
  background: #f7f9fd;
  text-decoration: none;
}

.gbh-sidebar-links a:hover { border-color: #bdd8fb; background: #fff; }
.gbh-sidebar-links span { grid-row: span 2; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--gbh-blue); background: #e7f2ff; font-size: 10px; font-weight: 800; }
.gbh-sidebar-links strong { color: var(--gbh-ink); font-size: 12px; line-height: 1.3; }
.gbh-sidebar-links small { color: #596f8a; font-size: 10px; line-height: 1.35; }

.gbh-sidebar-cta { color: #dbeaff; background: linear-gradient(145deg, #143a70, #0b6cdc); }
.gbh-sidebar-cta .gbh-sidebar-kicker { color: #9dcbff; }
.gbh-sidebar-cta h2 { color: #fff; }
.gbh-sidebar-cta p:not(.gbh-sidebar-kicker) { margin: 0 0 16px; color: #d4e6fb; font-size: 13px; }
.gbh-sidebar-cta > a { display: flex; min-height: 43px; align-items: center; justify-content: center; border-radius: 11px; color: #0c4d98; background: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.gbh-sidebar-cta > small { display: block; margin-top: 10px; color: #fff; font-size: 9px; line-height: 1.4; }

.gbh-sidebar-neutral > p:not(.gbh-sidebar-kicker) { margin: 0 0 14px; color: #526a86; font-size: 12px; }
.gbh-sidebar-neutral nav { display: grid; gap: 7px; }
.gbh-sidebar-neutral nav a { padding: 9px 10px; border-radius: 9px; color: #35679f; background: #f0f6fd; font-size: 11px; font-weight: 700; text-decoration: none; }
.gbh-sidebar-neutral nav a:hover { color: var(--gbh-blue); background: #e5f1ff; }

.gbh-sidebar-disclosure { margin: 0; padding: 0 6px; color: #566b86; font-size: 10px; line-height: 1.5; }

.gbh-related { padding-top: 28px; }
.gbh-related-heading { margin-bottom: 13px; }
.gbh-related-heading h2 { margin: 0; color: var(--gbh-ink); font-size: 26px; letter-spacing: -0.035em; }
.gbh-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.gbh-related-grid a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 3px 12px;
  min-height: 116px;
  padding: 17px;
  border: 1px solid #e5edf8;
  border-radius: 17px;
  color: var(--gbh-text);
  background: #fff;
  box-shadow: 0 7px 22px rgba(49, 91, 143, 0.06);
  text-decoration: none;
}

.gbh-related-grid a > span { grid-row: span 2; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--gbh-blue); background: #e7f2ff; font-size: 20px; }
.gbh-related-grid strong { align-self: end; color: var(--gbh-ink); font-size: 14px; }
.gbh-related-grid small { color: #5b708a; font-size: 11px; line-height: 1.45; }

.gbh-listing-intro { max-width: 760px; margin: 14px 0 0; color: #526a86; font-size: 16px; }
.gbh-result-list { display: grid; gap: 12px; }
.gbh-result-card { padding: 19px; border: 1px solid #e4edf8; border-radius: 16px; background: #f9fbfe; }
.gbh-result-card h2 { margin: 0 0 8px; color: var(--gbh-ink); font-size: 23px; line-height: 1.25; }
.gbh-result-card h2 a { color: inherit; text-decoration: none; }
.gbh-result-card > div { color: #526a86; font-size: 14px; }
.gbh-result-more { display: inline-flex; margin-top: 12px; color: var(--gbh-blue); font-size: 12px; font-weight: 800; text-decoration: none; }

.gbh-listing .navigation.pagination { margin-top: 22px; }
.gbh-listing .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.gbh-listing .page-numbers { display: grid; min-width: 39px; min-height: 39px; place-items: center; padding: 0 10px; border-radius: 9px; color: #44668f; background: #edf5ff; text-decoration: none; }
.gbh-listing .page-numbers.current { color: #fff; background: var(--gbh-blue); }

.gbh-large-search { display: grid; gap: 8px; padding: 20px; border-radius: 16px; background: #f1f7ff; }
.gbh-large-search label { color: var(--gbh-ink); font-size: 14px; font-weight: 750; }
.gbh-large-search span { display: flex; gap: 8px; }
.gbh-large-search input { min-width: 0; min-height: 46px; flex: 1; padding: 10px 13px; border: 1px solid #7b92ad; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; }
.gbh-large-search button { min-height: 46px; padding: 0 20px; border: 0; border-radius: 10px; color: #fff; background: var(--gbh-blue); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }

.gbh-empty-state { padding: 26px; border-radius: 16px; background: #f2f7fd; text-align: center; }
.gbh-empty-state h2 { margin: 0 0 8px; color: var(--gbh-ink); }
.gbh-empty-state p { margin: 0 0 14px; color: #526a86; }
.gbh-empty-link { display: inline-flex; margin-top: 16px; color: var(--gbh-blue); font-weight: 800; }

.gbh-programs-intro {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
}

.gbh-programs-lead,
.gbh-programs-notice { margin: 0; }

.gbh-programs-notice {
  padding: 16px 18px;
  border: 1px solid #c9def8;
  border-radius: 14px;
  color: #274b78;
  background: #f1f7ff;
  font-size: 14px;
}

.gbh-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 30px;
}

.gbh-program-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #dce9f8;
  border-top: 5px solid #1478ff;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(49, 91, 143, 0.08);
  scroll-margin-top: 22px;
}

.gbh-program-card.is-violet { border-top-color: #7257d9; }
.gbh-program-card.is-green { border-top-color: #2a966c; }
.gbh-program-card.is-amber { border-top-color: #d48a18; }

.gbh-program-eyebrow {
  margin: 0 0 8px;
  color: #526f91;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gbh-entry-content .gbh-program-card h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.18;
}

.gbh-program-copy {
  margin: 0 0 18px;
  color: #405975;
  font-size: 14px;
  line-height: 1.58;
}

.gbh-entry-content .gbh-program-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 11px;
  color: #fff;
  background: #126fdf;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.gbh-entry-content .gbh-program-button:hover { color: #fff; background: #0b58b3; }

.gbh-program-ad-label {
  margin: 13px 0 0;
  color: #5b6f87;
  font-size: 10px;
  line-height: 1.45;
}

.gbh-program-ad-label span { white-space: nowrap; }

.gbh-programs-rules {
  padding: 21px;
  border: 1px solid #e1eaf5;
  border-radius: 16px;
  background: #f8fafd;
}

.gbh-entry-content .gbh-programs-rules h2 { margin: 0 0 12px; font-size: 24px; }
.gbh-entry-content .gbh-programs-rules ul { margin-bottom: 0; }

@media (max-width: 1100px) {
  .gbh-content-layout { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 980px) {
  .gbh-content-layout { grid-template-columns: 1fr; }
  .gbh-content-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gbh-sidebar-disclosure { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .gbh-article { padding: 25px 20px; border-radius: 19px; }
  .gbh-entry-content { font-size: 16px; }
  .gbh-content-sidebar { grid-template-columns: 1fr; }
  .gbh-sidebar-disclosure { grid-column: auto; }
  .gbh-related-grid { grid-template-columns: 1fr; }
  .gbh-program-grid { grid-template-columns: 1fr; }
  .gbh-program-card { min-height: 0; }
}

@media (max-width: 520px) {
  .gbh-breadcrumbs span[aria-current="page"] { white-space: normal; }
  .gbh-article-header h1,
  .gbh-entry-content h1 { font-size: 32px; }
  .gbh-entry-content h2 { font-size: 26px; }
  .gbh-entry-content .wp-block-columns { display: grid; grid-template-columns: 1fr; }
  .gbh-large-search span { align-items: stretch; flex-direction: column; }
}
