:root {
  --red: #c8102e;
  --red-dark: #8f0b21;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #f4f4f4;
  --text: #222;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

a { color: var(--red); }

header {
  background: var(--black);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
header .brand span { color: var(--red); }
nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}
nav a:hover { color: var(--red); }

.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}
.hero h1 { margin: 0 0 0.5rem; font-size: 2.1rem; }
.hero h1 mark { background: none; color: var(--black); font-weight: 900; }
.hero h1 .year { opacity: 0.85; font-weight: 400; }
.hero p { margin: 0 auto; max-width: 640px; }
/* Inline links sat at --red on the --red hero gradient (1:1 contrast, effectively invisible). WCAG 2.1 AA. */
.hero a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.hero a:hover { color: var(--black); }

main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }

.jumplabel { font-weight: 700; margin-bottom: 0.75rem; }

.section-title {
  font-size: 1.5rem;
  border-left: 6px solid var(--red);
  padding-left: 0.75rem;
  margin: 2.5rem 0 1.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  background: var(--white);
}
.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray);
  margin-bottom: 0.75rem;
}
.card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card h3, .card .card-name { font-size: 1rem; font-weight: 700; margin: 0 0 0.4rem; }
.card .price { margin: 0; font-weight: 700; color: var(--red-dark); }
.card .cal { font-weight: 400; color: #666; font-size: 0.85rem; }
.badge {
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
}

.jumpnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.jumpnav a {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
}
.jumpnav a:hover { background: var(--red-dark); }

.subnote { color: #555; font-size: 0.9rem; margin: -0.5rem 0 1rem; }

.mlist { border-top: 1px solid #e5e5e5; }
.mrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.mrow .mimg {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray);
}
.mrow .mimg img { width: 100%; height: 100%; object-fit: cover; }
.mrow > span:not(.mimg):not(.sizes) { flex: 1 1 auto; }
.mrow .sizes { color: var(--red-dark); font-weight: 600; text-align: right; white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 560px) {
  .mrow { flex-wrap: wrap; }
  .mrow .sizes { flex-basis: 100%; text-align: left; white-space: normal; padding-left: calc(44px + 0.85rem); }
}

.faq details {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.85rem 0;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 0.6rem 0 0; color: #444; }

.disclaimer {
  background: var(--gray);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: #555;
  margin-top: 2.5rem;
}

footer {
  background: var(--black);
  color: #ccc;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}
footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}
footer .footer-guides {
  flex-basis: 100%;
  line-height: 2;
}
footer a { color: #ddd; text-decoration: none; margin-right: 1rem; }
footer a:hover { color: var(--red); }
footer .copy { width: 100%; margin-top: 1rem; color: #888; }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.page h1 { border-left: 6px solid var(--red); padding-left: 0.75rem; }

.answer-box {
  background: var(--gray);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 1.05rem;
}

.blog-fig { text-align: center; margin: 1.5rem 0; }
.blog-fig img { max-width: 100%; height: auto; border-radius: 10px; }
.blog-fig figcaption { font-size: 0.8rem; color: #666; margin-top: 0.5rem; }
.blog-fig-full img { display: block; width: 100%; margin: 0 auto; }

.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
.blog-table th, .blog-table td {
  border: 1px solid #e5e5e5;
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.blog-table th { background: var(--black); color: var(--white); }
.blog-table tr:nth-child(even) td { background: var(--gray); }
/* Wide tables scroll inside their own box on phones instead of widening the page. */
@media (max-width: 660px) {
  .blog-table { display: block; overflow-x: auto; font-size: 0.875rem; }
}

.blog-list { padding: 0 0 1rem; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.post-card .post-img { display: block; aspect-ratio: 16 / 9; background: var(--gray); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .post-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.post-card h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--red); }
.post-card p { font-size: 0.9rem; color: #444; margin: 0 0 0.9rem; }
.post-card .read-link { margin-top: auto; font-weight: 600; }

.blog-related { border-top: 1px solid #e5e5e5; margin-top: 2rem; padding-top: 1rem; }
.blog-related a { margin-right: 1rem; line-height: 2; }

/* Stack the nav under the brand once the one-row header no longer fits (~620px). */
@media (max-width: 660px) {
  header { flex-wrap: wrap; }
  header nav { width: 100%; margin-top: 0.6rem; }
}
@media (max-width: 480px) {
  nav a { margin-left: 0.75rem; font-size: 0.85rem; }
  .hero h1 { font-size: 1.6rem; }
}

.verified {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin: 1rem 0 0.5rem;
}

.header-disclaimer {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: #ccc;
}

.byline {
  font-size: 0.9rem;
  color: #555;
  border-left: 3px solid var(--red);
  padding-left: 0.75rem;
  margin: 1rem 0 1.5rem;
}

/* Header "Menu" dropdown (T10-040) */
header { position: relative; }
/* Header nav is a real flex row: <details> is block-level by default and must not rely on inline flow. */
header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
header nav a { margin-left: 0; }
.nav-menu { position: relative; display: inline-block; }
.nav-menu-btn { list-style: none; }
.nav-menu-btn::-webkit-details-marker { display: none; }
.nav-menu-btn::marker { content: ""; }
.nav-menu-btn {
  display: inline-flex;   /* not list-item: no marker box is generated at all */
  align-items: center;
  gap: 0.3em;             /* flex trims the space in ::after's " \25BE" */
  background: none;
  border: 0;
  padding: 0;
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.nav-menu-btn::after { content: " \25BE"; }
.nav-menu-btn:hover, .nav-menu[open] > .nav-menu-btn { color: var(--red); }
.nav-menu-btn:focus-visible, .nav-menu-list a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.nav-menu-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 13rem;
  margin: 0;
  padding: 0.75rem 0 0.5rem;
  list-style: none;
  background: var(--black);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.nav-menu-list a { display: block; margin: 0; padding: 0.4rem 1rem; font-size: 0.9rem; }
@media (max-width: 480px) {
  /* Dropdown drops as a full-width panel under the header instead of a narrow flyout. */
  .nav-menu { position: static; }
  .nav-menu-list { left: 0; right: 0; min-width: 0; border-radius: 0; padding: 0.5rem 1.5rem 0.75rem;
                   display: grid; grid-template-columns: 1fr 1fr; }
  header nav { gap: 0.35rem 0.75rem; }
  .nav-menu-btn { font-size: 0.85rem; }
  .nav-menu-list a { padding: 0.35rem 0; font-size: 0.85rem; }
}
