.ahc-guide main {
  --line: #bfb09c;
  background: var(--cream, #f2e8db);
  color: var(--ink, #151311);
}

:root[data-theme="dark"] .ahc-guide main {
  --line: #3a2f28;
}

.ahc-guide .ahc-shell {
  max-width: 1120px;
  padding-block: 32px 40px;
}

.ahc-guide .ahc-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  min-height: clamp(540px, 48vw, 680px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 6px;
  background: #1d1511;
  color: #fffdf9;
}

.ahc-guide .ahc-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(
      180deg,
      rgb(21 17 14 / 6%) 0%,
      rgb(21 17 14 / 18%) 34%,
      rgb(21 17 14 / 76%) 70%,
      rgb(21 17 14 / 92%) 100%
    ),
    radial-gradient(
      ellipse 76% 66% at 20% 82%,
      rgb(21 17 14 / 58%) 0%,
      transparent 74%
    );
  pointer-events: none;
}

.ahc-guide .ahc-hero-image {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 0 !important;
  background: #2b231d;
}

.ahc-guide .ahc-hero-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: 50% 24%;
}

.ahc-guide .ahc-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  width: 100%;
  max-width: 780px;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 4.5vw, 56px) clamp(32px, 4vw, 48px);
  border-radius: 0 !important;
}

.ahc-guide .ahc-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #fffdf9;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  overflow-wrap: normal;
}

.ahc-guide .ahc-title-court,
.ahc-guide .ahc-title-exam {
  display: block;
  font-family: inherit;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.ahc-guide .ahc-hero-small {
  margin: 0;
  color: rgb(255 253 249 / 88%);
  max-width: 52ch;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.ahc-guide .ahc-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  width: auto;
  margin: 0;
  padding: 0;
  color: rgb(255 253 249 / 76%);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.ahc-guide .ahc-stats span + span::before {
  content: "·";
  margin-right: 12px;
  color: rgb(255 253 249 / 48%);
  font-weight: 400;
}

.ahc-guide .ahc-stats strong {
  display: inline;
  color: #fffdf9;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: inherit;
}

.ahc-guide .ahc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 0;
}

.ahc-guide .ahc-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ahc-guide .ahc-actions .ahc-primary {
  background: #fffdf9;
  color: #151311;
}

.ahc-guide .ahc-actions .ahc-primary:hover {
  background: #f5ede2;
}

.ahc-guide .ahc-secondary {
  border: 1px solid rgb(255 253 249 / 42%);
  background: rgb(21 17 14 / 42%);
  color: #fffdf9;
}

.ahc-guide .ahc-secondary:hover {
  border-color: #fffdf9;
  background: rgb(21 17 14 / 68%);
}

.ahc-guide .ahc-layout {
  max-width: 1120px;
  margin: 40px auto 0;
}

.ahc-guide .ahc-article {
  min-width: 0;
}

.ahc-guide .ahc-section {
  scroll-margin-top: 32px;
  padding: 0;
  margin-bottom: 32px;
  border: 1px solid var(--line, #dcd2c4);
  border-radius: 6px;
  background: var(--paper, #fff);
  overflow: hidden;
}

.ahc-guide .ahc-section h2,
.ahc-guide .ahc-sources h2,
.ahc-guide .ahc-rules h2,
.ahc-guide .ahc-faq h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 2.8vw, 2.5rem);
  line-height: 1.12;
  color: var(--ink, #151311);
}

.ahc-guide .ahc-section > h2 {
  margin: 0;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line, #dcd2c4);
  border-radius: 0 !important;
}

.ahc-guide .ahc-section-intro {
  max-width: none;
  margin: 0;
  padding: 24px 32px 0;
  border-radius: 0 !important;
  color: var(--ink-soft, #5b514b);
  line-height: 1.65;
}

.ahc-guide .ahc-prose {
  padding: 24px 32px;
  border-radius: 0 !important;
}

.ahc-guide .ahc-prose p,
.ahc-guide .ahc-sources p {
  max-width: none;
  margin: 0 0 16px;
  line-height: 1.72;
}

.ahc-guide .ahc-prose p:last-child,
.ahc-guide .ahc-sources p:last-child {
  margin-bottom: 0;
}

.ahc-guide .ahc-list {
  max-width: none;
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  line-height: 1.65;
}

.ahc-guide .ahc-start-steps {
  counter-reset: start-step;
  list-style: none;
  margin: 0;
  padding: 8px 32px 0;
}

.ahc-guide .ahc-start {
  margin-bottom: 16px;
}

.ahc-guide .ahc-start-steps li {
  counter-increment: start-step;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-start-steps li::before {
  content: counter(start-step, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--orange-dark, #954833);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.ahc-guide .ahc-start-steps h3 {
  margin: 0 0 6px;
  color: var(--ink, #151311);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.ahc-guide .ahc-start-steps p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft, #5b514b);
  line-height: 1.6;
}

.ahc-guide .ahc-start-target {
  grid-column: 2;
  margin-top: 10px;
  color: var(--orange-dark, #954833);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.ahc-guide .ahc-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 32px 16px;
  border-radius: 0 !important;
}

.ahc-guide .ahc-syllabus-grid + .ahc-section-actions {
  padding: 20px 32px 24px;
  border-top: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-section-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line, #dcd2c4);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.ahc-guide .ahc-article .ahc-section-actions .ahc-section-primary {
  border-color: var(--accent, #ad553e);
  background: var(--accent, #ad553e);
  color: var(--on-accent, #fffdf9);
}

.ahc-guide .ahc-article .ahc-section-actions .ahc-section-primary:hover {
  border-color: var(--accent-dark, #954833);
  background: var(--accent-dark, #954833);
}

.ahc-guide .ahc-article .ahc-section-actions .ahc-section-secondary {
  color: var(--ink, #151311);
}

.ahc-guide .ahc-section-actions a:hover {
  border-color: var(--orange-dark, #954833);
}

.ahc-guide .ahc-section-actions a:focus-visible {
  outline: 2px solid var(--orange-dark, #954833);
  outline-offset: 3px;
}

.ahc-guide .ahc-overview {
  padding: 0;
  border: 1px solid var(--line, #dcd2c4);
  border-radius: 6px;
  background: var(--paper, #fff);
}

.ahc-guide .ahc-overview h2 {
  margin: 0;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line, #dcd2c4);
  border-radius: 0 !important;
}

.ahc-guide .ahc-glance-grid {
  display: block;
  border-radius: 0 !important;
}

.ahc-guide .ahc-overview .ahc-glance-grid p {
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  max-width: none;
  margin: 0;
  border-bottom: 1px solid var(--line, #dcd2c4);
  border-radius: 0 !important;
  line-height: 1.6;
}

.ahc-guide .ahc-overview .ahc-glance-grid p > :is(strong, span) {
  padding: 16px 32px;
  border-radius: 0 !important;
}

.ahc-guide .ahc-overview .ahc-glance-label {
  border-right: 1px solid var(--line, #dcd2c4);
  color: var(--orange-dark, #954833);
  font-size: 0.875rem;
  line-height: 1.4;
}

.ahc-guide .ahc-overview .ahc-glance-grid p:last-child {
  border-bottom: 0;
}

.ahc-guide .ahc-post-grid,
.ahc-guide .ahc-route-grid,
.ahc-guide .ahc-syllabus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--line, #dcd2c4);
  border-radius: 0 !important;
}

.ahc-guide .ahc-syllabus-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ahc-guide .ahc-card-stat {
  display: block;
  margin: 0 0 8px;
  color: var(--orange-dark, #954833);
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.ahc-guide .ahc-compare .ahc-table-scroll {
  margin-top: 24px;
}

.ahc-guide .ahc-section > h2 + :is(.ahc-post-grid, .ahc-route-grid, .ahc-syllabus-grid, .ahc-table-scroll) {
  margin-top: 0;
  border-top: 0;
}

.ahc-guide .ahc-post,
.ahc-guide .ahc-stage,
.ahc-guide .ahc-syllabus-card {
  padding: 24px 32px;
  border-radius: 0 !important;
}

.ahc-guide .ahc-post + .ahc-post,
.ahc-guide .ahc-stage + .ahc-stage,
.ahc-guide .ahc-syllabus-card + .ahc-syllabus-card {
  border-left: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-syllabus-grid--two > .ahc-syllabus-card + .ahc-syllabus-card {
  border-left: 0;
}

.ahc-guide .ahc-syllabus-grid--two > .ahc-syllabus-card:nth-child(2n) {
  border-left: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-syllabus-grid--two > .ahc-syllabus-card:nth-child(n+3) {
  border-top: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-post h3,
.ahc-guide .ahc-stage h3,
.ahc-guide .ahc-syllabus-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.18;
  color: var(--ink, #151311);
}

.ahc-guide .ahc-post p {
  margin: 0 0 8px;
  line-height: 1.5;
}

.ahc-guide .ahc-post p:last-child {
  margin-bottom: 0;
}

.ahc-guide .ahc-post p strong {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.ahc-guide .ahc-section-note {
  max-width: none;
  margin: 0;
  padding: 16px 32px;
  border-top: 1px solid var(--line, #dcd2c4);
  border-radius: 0 !important;
  color: var(--ink-soft, #5b514b);
  font-size: 0.875rem;
  line-height: 1.55;
}

.ahc-guide .ahc-start .ahc-section-note {
  padding: 10px 32px;
}

.ahc-guide .ahc-stage-label {
  margin: 0 0 8px;
  color: var(--orange-dark, #954833);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ahc-guide .ahc-stage-marks {
  display: block;
  margin-bottom: 12px;
  color: var(--ink, #151311);
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
}

.ahc-guide .ahc-stage p:last-child,
.ahc-guide .ahc-syllabus-card p:last-child {
  margin: 0;
  max-width: none;
  color: var(--ink-soft, #5b514b);
  line-height: 1.6;
}

.ahc-guide .ahc-rules {
  margin-bottom: 32px;
  border: 1px solid var(--line, #dcd2c4);
  border-radius: 6px;
  background: var(--paper, #fff);
  overflow: hidden;
}

.ahc-guide .ahc-rules-heading {
  padding: 24px 32px 20px;
  border-radius: 0 !important;
}

.ahc-guide .ahc-rules-heading h2 {
  margin: 0 0 8px;
}

.ahc-guide .ahc-rules-heading > p:last-child {
  max-width: none;
  margin: 0;
  color: var(--ink-soft, #5b514b);
  line-height: 1.55;
}

.ahc-guide .ahc-rules .ahc-table-scroll,
.ahc-guide .ahc-compare .ahc-table-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--line, #dcd2c4);
  border-radius: 0 !important;
}

.ahc-guide .ahc-rules table,
.ahc-guide .ahc-compare table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-radius: 0 !important;
  text-align: left;
}

.ahc-guide .ahc-rules :is(thead, tbody, tr, th, td),
.ahc-guide .ahc-compare :is(thead, tbody, tr, th, td) {
  border-radius: 0 !important;
}

.ahc-guide .ahc-rules thead,
.ahc-guide .ahc-compare thead,
.ahc-guide .ahc-rules thead th,
.ahc-guide .ahc-compare thead th {
  background: transparent;
  color: var(--ink, #151311);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-rules th,
.ahc-guide .ahc-rules td,
.ahc-guide .ahc-compare th,
.ahc-guide .ahc-compare td {
  padding: 16px 32px;
  vertical-align: top;
  line-height: 1.55;
}

.ahc-guide .ahc-rules thead th + th,
.ahc-guide .ahc-compare thead th + th {
  border-left: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-rules tbody th,
.ahc-guide .ahc-compare tbody th,
.ahc-guide .ahc-compare tbody th + td,
.ahc-guide .ahc-compare tbody td + td {
  border-left: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-rules tbody th {
  width: 35%;
  border-left: 0;
  border-right: 1px solid var(--line, #dcd2c4);
  color: var(--orange-dark, #954833);
  font-weight: 700;
}

.ahc-guide .ahc-compare tbody th {
  width: 24%;
  border-left: 0;
  color: var(--orange-dark, #954833);
  font-weight: 700;
}

.ahc-guide .ahc-compare tbody td {
  width: 38%;
}

.ahc-guide .ahc-rules tbody tr:not(:last-child) :is(th, td),
.ahc-guide .ahc-compare tbody tr:not(:last-child) :is(th, td) {
  border-bottom: 1px solid var(--line, #dcd2c4);
}

.ahc-guide .ahc-rules tbody tr:last-child :is(th, td),
.ahc-guide .ahc-compare tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

.ahc-guide .ahc-rules tbody tr:nth-child(even),
.ahc-guide .ahc-compare tbody tr:nth-child(even) {
  background: var(--cream, #f2e8db);
}

.ahc-guide .ahc-faq {
  margin: 0 0 32px;
  border: 1px solid var(--line, #dcd2c4);
  border-radius: 6px;
  background: var(--paper, #fff);
  overflow: hidden;
}

.ahc-guide .ahc-faq > h2 {
  margin: 0;
  padding: 24px 32px;
  border-radius: 0 !important;
}

.ahc-guide .ahc-faq .disclosure {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line, #dcd2c4);
  border-radius: 0 !important;
  background: transparent;
}

.ahc-guide .ahc-faq summary {
  display: block;
  position: relative;
  min-height: 44px;
  padding: 9px 56px 9px 32px;
  border-radius: 0 !important;
  cursor: pointer;
  list-style: none;
}

.ahc-guide .ahc-faq .disclosure[open] summary {
  min-height: 44px;
  margin-bottom: 0;
  padding-bottom: 2px;
  border-bottom: 0;
}

.ahc-guide .ahc-faq summary::-webkit-details-marker {
  display: none;
}

.ahc-guide .ahc-faq summary::after {
  content: "+";
  position: absolute;
  right: 32px;
  top: 12px;
  color: var(--orange-dark, #954833);
  font-size: 1.5rem;
}

.ahc-guide .ahc-faq details[open] summary::after {
  content: "−";
}

.ahc-guide .ahc-faq h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.ahc-guide .ahc-faq .disclosure-body {
  max-width: none;
  padding: 0 32px 4px;
  border-radius: 0 !important;
  color: var(--ink-soft, #5b514b);
  line-height: 1.65;
}

.ahc-guide .ahc-faq .disclosure-body p {
  margin: 0;
}

.ahc-guide .ahc-faq summary:focus-visible {
  outline: 2px solid var(--orange-dark, #954833);
  outline-offset: -2px;
}

.ahc-guide .ahc-sources {
  padding: 24px 32px;
  border: 1px solid var(--line, #dcd2c4);
  border-radius: 6px;
  background: var(--paper, #fff);
}

.ahc-guide #official-sources .facts-source {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
}

.ahc-guide .ahc-article a {
  color: var(--orange-dark, #954833);
}

.ahc-guide .related-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 0;
}

.ahc-guide--hartron {
  --compare-official-label: "HARTRON notice: ";
}

.ahc-guide--psssb {
  --compare-official-label: "PSSSB notice: ";
}

.ahc-guide--psssb .ahc-hero-image img {
  object-position: 50% 34%;
}

.ahc-guide .article-disclaimer {
  margin: 24px 0 0;
  border: 1px solid var(--line, #dcd2c4);
  border-left: 3px solid var(--orange, var(--accent));
  font-size: 0.8125rem;
}

@media (max-width: 1100px) {
  .ahc-guide .ahc-hero { min-height: clamp(480px, 56vw, 580px); }
  .ahc-guide .ahc-hero-copy { padding: 48px 32px 36px; }
  .ahc-guide .ahc-hero h1 { font-size: clamp(2.125rem, 5vw, 3.25rem); }
}

@media (max-width: 900px) {
  .ahc-guide .ahc-post-grid,
  .ahc-guide .ahc-route-grid,
  .ahc-guide .ahc-syllabus-grid { grid-template-columns: 1fr; }
  .ahc-guide .ahc-post + .ahc-post,
  .ahc-guide .ahc-stage + .ahc-stage,
  .ahc-guide .ahc-syllabus-card + .ahc-syllabus-card,
  .ahc-guide .ahc-syllabus-grid--two > .ahc-syllabus-card:nth-child(2n) {
    border-left: 0;
    border-top: 1px solid var(--line, #dcd2c4);
  }
}

@media (max-width: 700px) {
  .ahc-guide .ahc-hero { min-height: 520px; }
  .ahc-guide .ahc-hero::after {
    background: linear-gradient(
      180deg,
      rgb(21 17 14 / 6%) 0%,
      rgb(21 17 14 / 18%) 26%,
      rgb(21 17 14 / 74%) 46%,
      rgb(21 17 14 / 90%) 74%,
      rgb(21 17 14 / 96%) 100%
    );
  }
  .ahc-guide .ahc-hero-image img { object-position: 50% 22%; }
  .ahc-guide .ahc-hero-copy { gap: 12px; padding: 176px 16px 24px; }
  .ahc-guide .ahc-hero h1 { max-width: 100%; font-size: clamp(1.5rem, 7.2vw, 2.75rem); }
  .ahc-guide .ahc-hero-small { font-size: 0.9375rem; }
  .ahc-guide .ahc-layout { margin-top: 32px; }
  .ahc-guide .ahc-stats { gap: 4px 10px; font-size: 0.8125rem; }
  .ahc-guide .ahc-stats span + span::before { margin-right: 10px; }
  .ahc-guide .ahc-stats strong { font-size: 0.875rem; }
  .ahc-guide .ahc-overview h2,
  .ahc-guide .ahc-section > h2,
  .ahc-guide .ahc-faq > h2 { padding: 20px 16px; }
  .ahc-guide .ahc-section-intro { padding: 16px 16px 0; }
  .ahc-guide .ahc-prose,
  .ahc-guide .ahc-post,
  .ahc-guide .ahc-stage,
  .ahc-guide .ahc-syllabus-card,
  .ahc-guide .ahc-sources { padding: 16px; }
  .ahc-guide .ahc-section-note { padding: 12px 16px; }
  .ahc-guide .ahc-start-steps { padding: 4px 16px 0; }
  .ahc-guide .ahc-start-steps li { column-gap: 12px; padding: 16px 0; }
  .ahc-guide .ahc-section-actions { padding: 8px 16px 12px; }
  .ahc-guide .ahc-syllabus-grid + .ahc-section-actions { padding: 16px; }
  .ahc-guide .ahc-start .ahc-section-note { padding: 8px 16px; }
  .ahc-guide .ahc-section-actions a { width: 100%; }
  .ahc-guide .ahc-overview .ahc-glance-grid p { grid-template-columns: 1fr; }
  .ahc-guide .ahc-overview .ahc-glance-label { border-right: 0; }
  .ahc-guide .ahc-overview .ahc-glance-grid p > strong { padding: 12px 16px 0; }
  .ahc-guide .ahc-overview .ahc-glance-grid p > span { padding: 0 16px 12px; }
  .ahc-guide .ahc-rules-heading { padding: 20px 16px; }
  .ahc-guide .ahc-rules th, .ahc-guide .ahc-rules td { padding: 12px 16px; }
  .ahc-guide .ahc-compare table,
  .ahc-guide .ahc-compare tbody { display: block; width: 100%; }
  .ahc-guide .ahc-compare thead { display: none; }
  .ahc-guide .ahc-compare tr { display: block; padding: 14px 16px; }
  .ahc-guide .ahc-compare tbody tr:not(:last-child) { border-bottom: 1px solid var(--line, #dcd2c4); }
  .ahc-guide .ahc-compare tbody :is(th, td),
  .ahc-guide .ahc-compare tbody :is(th + td, td + td),
  .ahc-guide .ahc-compare tbody tr:not(:last-child) :is(th, td) {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }
  .ahc-guide .ahc-compare tbody th { margin-bottom: 6px; }
  .ahc-guide .ahc-compare tbody td + td { margin-top: 6px; }
  .ahc-guide .ahc-compare tbody td:nth-of-type(1)::before { content: var(--compare-official-label, "High Court notice: "); font-weight: 700; color: var(--ink, #151311); }
  .ahc-guide .ahc-compare tbody td:nth-of-type(2)::before { content: "Practice test: "; font-weight: 700; color: var(--ink, #151311); }
  .ahc-guide .ahc-faq summary { padding: 9px 48px 9px 16px; }
  .ahc-guide .ahc-faq .disclosure[open] summary { padding-bottom: 2px; }
  .ahc-guide .ahc-faq summary::after { right: 16px; }
  .ahc-guide .ahc-faq .disclosure-body { padding: 0 16px 4px; }
  .ahc-guide .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .ahc-guide .ahc-title-kind { display: block; }
}

@media (max-width: 400px) {
  .ahc-guide .ahc-stats { gap: 4px 12px; }
  .ahc-guide .ahc-stats span + span::before { display: none; }
}

@media (max-width: 380px) {
  .ahc-guide .related-links { grid-template-columns: 1fr; }
}
