.page-standard .site-header {
  background: rgba(255, 255, 255, 0.97);
}

.page-standard .header-play-button {
  min-width: max-content;
}

.page-standard .footer-top {
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(145px, 1fr));
}

.content-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background:
    linear-gradient(90deg, rgba(248, 212, 91, 0.2), transparent 48%),
    var(--surface);
}

[dir="rtl"] .content-hero {
  background:
    linear-gradient(270deg, rgba(248, 212, 91, 0.2), transparent 48%),
    var(--surface);
}

.content-hero::after {
  position: absolute;
  inset: auto 4vw -48px auto;
  width: 180px;
  height: 180px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, var(--ink) 48% 52%, transparent 52%),
    linear-gradient(transparent 48%, var(--ink) 48% 52%, transparent 52%);
  content: "";
  opacity: 0.05;
}

[dir="rtl"] .content-hero::after {
  inset: auto auto -48px 4vw;
}

.content-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 310px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem);
}

.content-hero-copy {
  max-width: 870px;
}

.content-hero .section-kicker {
  margin: 0 0 0.8rem;
  color: var(--navy);
}

.content-title {
  max-width: 900px;
  margin: 0;
  font-family: "Arial Black", Impact, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.65rem, 6.5vw, 6.2rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

[dir="rtl"] .content-title {
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(2.45rem, 6vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.content-lead {
  max-width: 780px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 650;
  line-height: 1.65;
}

.article-byline {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.content-meta {
  display: grid;
  min-width: 190px;
  gap: 0.25rem;
  padding: 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--gold-soft);
  box-shadow: var(--shadow);
  font-size: 0.76rem;
}

.content-meta strong {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 850px);
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.8rem, 6vw, 6rem);
}

.content-nav {
  align-self: start;
  position: sticky;
  top: 104px;
  padding: 1.1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-nav-title {
  margin: 0 0 0.75rem;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.content-nav ol,
.content-nav ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-nav a {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.content-nav a:hover {
  color: var(--ink);
  background: var(--gold-soft);
}

.prose {
  min-width: 0;
}

.prose > :first-child {
  margin-top: 0;
}

.prose section {
  scroll-margin-top: 110px;
}

.prose section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line-soft);
}

.prose h2 {
  margin: 0 0 1rem;
  font-family: "Arial Black", Impact, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.prose h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

[dir="rtl"] .prose h2,
[dir="rtl"] .prose h3 {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.prose p,
.prose li {
  color: #343633;
  line-height: 1.78;
}

.prose p {
  margin: 0.8rem 0;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.35rem;
}

.prose li + li {
  margin-top: 0.42rem;
}

.prose a {
  color: #164f9d;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--purple);
}

.prose-note {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border: 2px solid var(--line);
  border-inline-start-width: 8px;
  border-radius: var(--radius-small);
  background: var(--gold-soft);
  box-shadow: var(--shadow);
}

.prose-note--blue {
  background: var(--blue);
}

.prose-note--green {
  background: var(--green-soft);
}

.prose-note p {
  margin: 0;
  color: var(--ink);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.info-card {
  padding: 1.15rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 0.7rem;
}

.info-card h3 {
  margin: 0;
}

.info-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.rule-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 2px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
}

.rule-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
}

.rule-table th,
.rule-table td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: start;
  vertical-align: top;
}

.rule-table th {
  background: var(--gold-soft);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[dir="rtl"] .rule-table th {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.rule-table tr:last-child td {
  border-bottom: 0;
}

.card-rank-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.rank-chip {
  display: inline-grid;
  min-width: 46px;
  min-height: 46px;
  place-items: center;
  padding: 0.3rem;
  border: 2px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.15);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1rem;
}

.breadcrumbs {
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding-block: 0.72rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  list-style: none;
}

.breadcrumb-list li + li::before {
  margin-inline-end: 0.4rem;
  color: #989994;
  content: "/";
}

.breadcrumb-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-hub-layout {
  display: block;
  max-width: 1120px;
}

.guide-hub-intro {
  max-width: 820px;
  margin-bottom: 2rem;
}

.guide-hub-intro h2 {
  margin: 0 0 0.75rem;
  font-family: "Arial Black", Impact, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

[dir="rtl"] .guide-hub-intro h2 {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.guide-hub-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.guide-hub-grid,
.related-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.guide-hub-card,
.related-guide-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.2rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guide-hub-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 0.8rem;
}

.guide-hub-card h2,
.guide-hub-card h3,
.related-guide-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.guide-hub-card p,
.related-guide-card p {
  margin: 0.65rem 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.guide-hub-card a,
.related-guide-card a {
  margin-top: auto;
  color: #164f9d;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-hub-card--featured {
  background: var(--gold-soft);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.fact-tile {
  padding: 0.9rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
}

.fact-tile strong,
.fact-tile span {
  display: block;
}

.fact-tile strong {
  margin-bottom: 0.25rem;
  font-family: "Arial Black", Impact, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
}

[dir="rtl"] .fact-tile strong {
  font-family: Tahoma, Arial, sans-serif;
}

.fact-tile span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.45;
}

.formula-block {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border: 2px solid var(--line);
  border-radius: var(--radius-small);
  background: #f1f0eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.7;
  white-space: pre-wrap;
}

.source-list {
  padding-inline-start: 1.2rem;
}

.source-list li {
  font-size: 0.88rem;
}

.related-guides {
  margin-top: 3.2rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--line);
}

.related-guides > h2 {
  margin-bottom: 1.1rem;
}

.guide-updated {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.contact-layout {
  grid-template-columns: minmax(0, 760px) minmax(230px, 330px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 0.78rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--surface);
  outline: 3px solid #3578e5;
  outline-offset: 2px;
}

.form-help {
  margin: -0.45rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.form-message {
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.form-message--success {
  background: var(--green-soft);
}

.form-message--error {
  background: #ffe0e1;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[dir="rtl"] .honeypot-field {
  right: -9999px;
  left: auto;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.15rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.contact-card a {
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.simple-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  padding: 1rem 0;
  border-top: 1px solid #313131;
}

.simple-footer-links a {
  color: #d8d8d8;
  font-size: 0.78rem;
  font-weight: 750;
}

.simple-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .page-standard .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-nav {
    position: static;
  }

  .content-nav ol,
  .content-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .content-hero-inner {
    min-height: 270px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.3rem;
  }

  .content-meta {
    width: fit-content;
    min-width: 0;
  }

  .content-nav ol,
  .content-nav ul,
  .info-grid,
  .fact-strip,
  .form-grid,
  .contact-aside {
    grid-template-columns: 1fr;
  }

  .content-layout {
    padding-block: 2.5rem 4rem;
  }

  .prose section + section {
    margin-top: 2.2rem;
    padding-top: 2.2rem;
  }
}

@media (max-width: 520px) {
  .page-standard .footer-top {
    grid-template-columns: 1fr;
  }

  .content-title {
    font-size: clamp(2.2rem, 13vw, 3.2rem);
  }

  [dir="rtl"] .content-title {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

  .content-lead {
    font-size: 1rem;
  }

  .content-nav ol,
  .content-nav ul,
  .guide-hub-grid,
  .related-guide-grid {
    grid-template-columns: 1fr;
  }

  .rank-chip {
    min-width: 40px;
    min-height: 40px;
  }
}
