/* Theme shell today; fullbleed-ready (FAQ/Price/Contact contract). */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #f4f2ee;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #f4f2ee;
  color: #1a1916;
}

.bagmutskiy-terms .entry-header,
.bagmutskiy-terms-main .entry-header {
  display: none;
}

body.bagmutskiy-terms,
body.bagmutskiy-terms #page,
body.bagmutskiy-terms #content,
body.bagmutskiy-terms #primary,
body.bagmutskiy-terms .site-main,
body.bagmutskiy-terms .ast-container {
  background: #f4f2ee;
}

html:has(body.bagmutskiy-terms) {
  overflow-x: visible;
}

body.bagmutskiy-terms {
  overflow-x: visible;
}

body.bagmutskiy-terms footer,
body.bagmutskiy-terms #colophon {
  overflow-x: clip;
}

.bagmutskiy-terms #primary,
.bagmutskiy-terms-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.awards {
  --paper: #f4f2ee;
  --paper-2: #ece9e3;
  --ink: #1a1916;
  --muted: #5c5a55;
  --line: #d9d4cb;
  --accent: #1a3a32;
  /* Synced by landing.js from #gs-header (incl. admin-bar shift). */
  --header-offset: 7.5rem;
  --measure: 38.5rem;
  --wide: 72rem;
  --photo: 78rem;
  background: var(--paper);
  color: var(--ink);
  font-family: "Graphik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.62;
  /* FAQ/P6a pattern: deliberate top air below sticky GS (theme wrappers used to supply this). */
  padding: 1.75rem 0 4.5rem;
  overflow-wrap: break-word;
}

.awards :where(h1, h2, h3, p, ul, ol, figure, blockquote) {
  margin: 0;
}

.awards a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(26, 25, 22, 0.28);
}

.awards a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.awards a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.awards img {
  display: block;
  max-width: 100%;
  height: auto;
}

.awards-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.awards h1,
.awards h2 {
  font-family: "Graphik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.awards h1 {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  max-width: 18ch;
}

.awards [id] {
  scroll-margin-top: calc(var(--header-offset) + 0.6rem);
}

.awards-hero {
  max-width: var(--wide);
  margin: 0 auto;
  /* Root .awards carries the GS gap; keep hero inset modest to avoid double air. */
  padding: 0.25rem 1.25rem 1.75rem;
}

.awards-lead {
  max-width: 36rem;
  margin-top: 1.05rem;
  font-size: 1.14rem;
  color: var(--ink);
}

.awards-selected {
  max-width: var(--photo);
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
}

.awards-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.92fr);
  gap: clamp(1.25rem, 3.5vw, 3rem);
  align-items: start;
  margin-bottom: 4.25rem;
}

.awards-feature--wide {
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-bottom: 4.5rem;
}

.awards-feature--wide .awards-meta {
  max-width: 40rem;
}

.awards-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-bottom: 4.25rem;
}

.awards-pair .awards-feature {
  display: block;
  margin: 0;
}

.awards-pair .awards-meta {
  margin-top: 1rem;
}

.awards-photo img {
  width: 100%;
  height: auto;
  background: var(--paper-2);
}

.awards-meta-line {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.awards-status {
  font-family: "Graphik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0.4rem 0 0.7rem;
}

.awards-title {
  font-size: 1.05rem;
  margin: 0.2rem 0 0;
}

.awards-note {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
  margin-top: 0.55rem;
}

.awards-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin-top: 1.05rem;
}

.awards-evidence a,
.awards-archive a {
  font-size: 0.9rem;
  color: var(--muted);
}

.awards-evidence__secondary {
  color: var(--muted);
}

.awards-rank {
  max-width: var(--wide);
  margin: 0 auto 3.5rem;
  padding: 1.75rem 1.25rem;
  background: var(--paper-2);
}

.awards-rank__inner {
  max-width: 40rem;
}

.awards-rank .awards-status {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.awards-archive {
  max-width: var(--wide);
  margin: 0 auto 1rem;
  padding: 0 1.25rem 2rem;
}

.awards-archive h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 1.35rem;
}

.awards-archive ol {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.awards-archive li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.awards-archive .year {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 0.95rem;
}

.awards-archive .result {
  font-size: 1.02rem;
}

.awards-archive .result span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.awards-next {
  max-width: var(--wide);
  margin: 2.5rem auto 0;
  padding: 2.5rem 1.25rem 0;
  border-top: 1px solid var(--line);
}

.awards-next h2 {
  font-size: 1.15rem;
  margin-bottom: 1.15rem;
}

.awards-next ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
}

.awards-next a {
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .awards-feature,
  .awards-pair {
    grid-template-columns: 1fr;
  }

  .awards-feature {
    gap: 1.1rem;
    margin-bottom: 3.25rem;
  }

  .awards-archive li {
    grid-template-columns: 3.5rem 1fr;
  }

  .awards-archive li a {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .awards {
    font-size: 1.0625rem;
  }

  .awards-hero {
    padding-top: 0.15rem;
    padding-bottom: 1.25rem;
  }

  .awards-status {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awards * {
    animation: none !important;
    transition: none !important;
  }
}
