/* Content pages: guides, blog, FAQ, legal, team, careers, media kit, contact.
   Builds on site.css; only what those pages need on top. */

.page-head .crumbs + h1,
.page-head .crumbs + .kicker { margin-top: 18px; }
.page-head .crumbs + .kicker + h1 { margin-top: 10px; }
.article-kicker { display: block; }

.empty-state h2 { font-size: 1.4rem; }
.empty-state p { margin-top: 10px; color: var(--ink-2); max-width: 40em; }
.empty-state .actions { margin-top: 20px; }
.read-more { margin-top: 12px; font-weight: 600; }
.read-more a { text-decoration: none; }
.read-more a::after { content: " →"; }
.optional { font-weight: 400; color: var(--ink-3); }
.list-title { font-size: 1.45rem; margin-bottom: 16px; }
.language-note { margin-bottom: 24px; font-size: 0.94rem; }
.section-head-left { margin-left: 0; text-align: left; }
.section-head-left h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.grid-2 > .panel + .panel { margin-top: 0; }
.form > .hint { font-size: 0.88rem; color: var(--ink-3); }
input[type="file"] { width: 100%; max-width: 100%; font: 0.95rem/1.4 var(--font); }
.apply-panel .form, .contact-form .form, .request-forms .form { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 600px) { .apply-panel, .contact-form, .request-forms .panel { padding: 22px 18px; } }

/* Guide and blog lists */
.feature {
  display: grid;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-l);
}
.feature-image img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-body { padding: 28px 28px 32px; align-self: center; }
.feature-body h2 { margin-top: 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-body h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.feature-body h2 a:hover, .post-card h3 a:hover { color: var(--forest); text-decoration: underline; }
.feature-body > p { margin-top: 14px; color: var(--ink-2); }
.feature-body .meta { margin-top: 16px; }
.feature-text { background: var(--mint); }
.feature-text .feature-body { padding: 36px 36px 40px; max-width: 760px; }
@media (min-width: 900px) {
  .feature:not(.feature-text) { grid-template-columns: 1.1fr 0.9fr; }
  .feature:not(.feature-text) .feature-body { padding: 40px 44px; }
}

.post-grid { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card .card-body h3 { margin-top: 6px; }
.post-card-text { background: var(--mint); }
.post-card .card-body .meta { margin-top: auto; padding-top: 16px; }
.section-switch { margin-top: 32px; color: var(--ink-2); }

/* Article */
.article-head { padding-bottom: 28px; }
.article-head .wrap > div { max-width: 860px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.article-meta > span + span::before { content: "·"; margin: 0 10px; color: var(--line); }
.article-tags { display: none; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 24px; }
.article-main { min-width: 0; }
.article-figure { margin: 0 0 32px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); }
.article-figure figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--ink-3); }
.article-body { max-width: 44em; }
.article-body h2, .article-body h3 { scroll-margin-top: 24px; }
.article-body a { word-break: break-word; }
.prose .callout { background: #f7e3d4; color: #4d2a12; }
.prose figure { margin: 0; }
.prose figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--ink-3); }
.prose table { display: block; overflow-x: auto; }

.toc {
  padding: 20px 22px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 0.94rem;
}
.toc-title { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.toc ol { margin: 10px 0 0; padding: 0; list-style: none; }
.toc li { padding: 5px 0; line-height: 1.4; }
.toc li + li { border-top: 1px solid var(--line); }
.toc .toc-l3 { padding-left: 14px; font-size: 0.9rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--forest); text-decoration: underline; }
.aside-cta { display: none; }

@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; }
  .article-aside { grid-column: 2; grid-row: 1; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
  .article-main { grid-column: 1; grid-row: 1; }
  .aside-cta {
    display: block;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.94rem;
  }
  .aside-cta p + p { margin-top: 6px; color: var(--ink-2); }
  .aside-cta .btn { margin-top: 14px; }
}

.article-faq { max-width: none; margin: 1.2em 0 0; }
.article-faq summary { font-size: 1.02rem; }
.faq-answer { padding: 0 0 20px; color: var(--ink-2); }
.faq-answer > * + * { margin-top: 0.8em; }
.faq .faq-answer p { padding: 0; }
.faq-answer ul, .faq-answer ol { padding-left: 1.3em; }

.content-cta {
  display: grid;
  gap: 8px 40px;
  align-items: center;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.content-cta .kicker { display: none; }
.content-cta h2 { margin-top: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.content-cta p { margin-top: 10px; color: var(--ink-2); max-width: 36em; }
.content-cta .actions { margin-top: 16px; }
@media (min-width: 900px) {
  .content-cta:not(.content-cta-inline) { grid-template-columns: 1fr auto; padding: 40px 44px; }
  .content-cta:not(.content-cta-inline) .actions { margin-top: 0; }
}
.content-cta-inline { margin-top: 44px; }

.author-box { margin-top: 28px; padding: 0; background: none; }
.author-box .kicker { display: none; }
.author-box h2 { margin-top: 6px; font-size: 1.35rem; }
.author-role { margin-top: 4px; color: var(--ink-2); font-size: 0.96rem; }
.author-bio { margin-top: 12px; font-size: 0.98rem; color: var(--ink-2); }

.related { padding-top: 32px; }
.related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.related-head h2 { font-size: 1.7rem; }
.related-head a { font-weight: 600; text-decoration: none; }

.vgwort { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* FAQ page */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.faq-jump a {
  padding: 6px 12px;
  background: var(--surface);
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
}
.faq-jump a:hover { background: var(--mint); }
.faq-group { max-width: 820px; margin: 0 0 40px; scroll-margin-top: 20px; }
.faq-group .faq { max-width: none; }
.faq-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 8px; }
.faq-group-head h2 { font-size: 1.5rem; }
.faq-group-head a { font-size: 0.94rem; font-weight: 600; text-decoration: none; }
.faq-more { max-width: 820px; margin: 16px 0 0; }
.faq-more p { margin-top: 10px; color: var(--ink-2); }
.faq-more .actions { margin-top: 20px; }

/* Legal */
.legal { max-width: 820px; }
.legal .prose { max-width: none; padding: 32px 36px 40px; background: var(--surface); border-radius: var(--radius-l); }
.legal .prose h2:first-child { margin-top: 0; }
.legal-updated { margin-top: 12px; }
@media (max-width: 600px) { .legal .prose { padding: 24px 20px 28px; } }

/* Team */
.team-card img { aspect-ratio: 5 / 6; object-position: 50% 25%; }
.team-name { display: flex; align-items: center; gap: 14px; }
.team-name h2 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
.team-card .team-role { margin-top: 4px; color: var(--forest); font-size: 0.92rem; font-weight: 600; }
.initials {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest-deep);
  font-weight: 650;
  font-size: 1.1rem;
}
.team-bio { margin-top: 14px; color: var(--ink-2); font-size: 0.98rem; }
.team-bio > * + * { margin-top: 0.7em; }
.team-links { margin-top: 32px; }
.team-links p { margin-top: 8px; color: var(--ink-2); }
.team-links .read-more { color: inherit; }

/* Careers */
.openings h3 { font-size: 1.2rem; }
.openings h3 a { color: var(--ink); }
.openings h3 a:hover { color: var(--forest); }
.openings .meta { margin-top: 4px; }
.openings li > p:not(.meta):not(.read-more) { margin-top: 8px; }
.careers-note { margin-top: 16px; }
.role-location { margin-top: 12px; }
.role-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.role-main { min-width: 0; }
.role-main .prose { max-width: 44em; }
.back-link { margin-top: 28px; }
.apply-panel h2 { font-size: 1.4rem; }
.apply-intro { margin: 8px 0 18px; color: var(--ink-2); font-size: 0.96rem; }
.apply-panel .notice-box { margin-bottom: 16px; }
.apply-panel input[type="file"] { min-height: 0; padding: 10px; }
@media (min-width: 1000px) {
  .role-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .apply-panel { position: sticky; top: 20px; }
}

/* Media kit */
.media-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.asset-group { margin: 24px 0 10px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.asset-group:first-of-type { margin-top: 0; }
.assets li { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.asset-text { flex: 1 1 260px; }
.asset-text .meta { display: block; margin-top: 4px; }
.media-aside h2 { font-size: 1.35rem; }
.boilerplate { margin-top: 12px; font-size: 0.98rem; color: var(--ink-2); }
.media-aside .meta { margin-top: 10px; }
.facts { margin: 20px 0 0; padding: 0; font-size: 0.94rem; }
.facts > div { padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 2px 0 0; color: var(--ink-2); }
@media (min-width: 1000px) {
  .media-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
}

/* Contact */
.contact-intro > * + * { margin-top: 0.6em; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.facts-list { margin: 0; }
.facts-list > div { padding: 18px 24px; border-top: 1px solid var(--line); }
.facts-list > div:first-child { border-top: 0; }
.facts-list dt { font-weight: 650; }
.facts-list dd { margin: 4px 0 0; color: var(--ink-2); font-size: 0.97rem; }
.facts-list dd a { font-weight: 600; }
.contact-facts .actions { margin-top: 20px; }
.contact-form h2 { font-size: 1.45rem; margin-bottom: 18px; }
.contact-form .notice-box, .request-forms .notice-box { margin-bottom: 16px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
}
.request-forms h3 { font-size: 1.3rem; }
.panel-intro { margin: 8px 0 18px; color: var(--ink-2); font-size: 0.96rem; }
.request-forms { align-items: start; }
.form .hint a { color: inherit; }

/* Guides index: per-game appeal guides */
.game-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.game-guides a { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: 0.94rem; text-decoration: none; }
.game-guides a:hover { border-color: var(--go); }
.game-guides img, .game-guides-code { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.game-guides-code { display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--hue, 150) 70% 46%), hsl(calc(var(--hue, 150) + 40) 75% 36%)); color: #fff; font-size: 0.7rem; font-weight: 800; }

/* Editorial article: serif reading text with a comfortable measure, plain asides */
.article-head h1 { max-width: 22em; font-size: clamp(2rem, 4.2vw, 3rem); }
.article-head .lead { max-width: 38em; font-family: var(--font-letter); font-size: 1.18rem; line-height: 1.6; color: var(--ink-2); }
.article-head .article-kicker { display: none; }
.article-body { max-width: 38em; font-family: var(--font-letter); font-size: 1.12rem; line-height: 1.72; color: #1d2925; }
.article-body h2 { margin-top: 2.2em; font-family: var(--font); font-size: 1.55rem; }
.article-body h3 { margin-top: 1.8em; font-family: var(--font); font-size: 1.2rem; }
.article-body li { padding-left: 2px; }
.article-body li + li { margin-top: 0.5em; }
.article-body li strong, .article-body p > strong:first-child { font-weight: 600; }
.article-body blockquote { margin: 1.4em 0; padding: 0 0 0 20px; background: none; border-left: 3px solid var(--go); border-radius: 0; font-style: italic; }
.prose .callout, .article-body .callout, .article-body .disclaimer, .article-body .note { padding: 0 0 0 18px; background: none; border-left: 3px solid var(--cta); border-radius: 0; color: var(--ink-2); }
.article-figure img { border-radius: 6px; }
.toc { padding: 0 0 0 16px; background: none; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; }
.toc-title { font-size: 0.85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.toc li + li { border-top: 0; }
.article-related { max-width: 38em; margin-top: 2.4em; padding-top: 18px; border-top: 1px solid var(--line); }
.article-related h2 { font-size: 1.15rem; }
.article-related ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.article-related li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.article-related .badge { font-size: 0.75rem; }

/* Guides index: a reading list, not a card wall */
.feature { border-radius: 8px; box-shadow: none; border: 1px solid var(--line); }
.feature-body .kicker, .post-card .kicker { display: none; }
