/*
Theme Name: Matador Giriş
Theme URI: https://tr.matadorbett.com/
Author: Matadorbett Editorial
Description: Matadorbet güncel giriş ve erişim içerikleri için hızlı, erişilebilir özel tema.
Version: 1.2.2
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: matador-rehber
*/

:root {
  --ink: #17130f;
  --ink-soft: #5f574f;
  --paper: #fffaf2;
  --paper-strong: #ffffff;
  --line: rgba(59, 45, 32, 0.14);
  --brand: #d94f24;
  --brand-dark: #a83216;
  --brand-soft: #fff0e7;
  --night: #15100d;
  --night-soft: #251914;
  --gold: #f2b84b;
  --success: #237a52;
  --shadow: 0 22px 60px rgba(38, 23, 13, 0.11);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --content: 1180px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 8% 4%, rgba(217, 79, 36, 0.08), transparent 27rem);
}

a {
  color: var(--brand-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(217, 79, 36, 0.45);
  outline-offset: 4px;
}

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

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  color: var(--ink);
  background: var(--paper-strong);
  border-radius: 8px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(45, 30, 19, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  background: var(--brand);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(217, 79, 36, 0.2);
  transition: background-color 180ms ease, transform 150ms var(--ease-out), box-shadow 180ms ease;
}

.header-entry-button:hover {
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(168, 50, 22, 0.25);
}

.header-entry-button:active {
  transform: scale(0.97);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(144px, 15vw, 166px);
  height: auto;
}

.brand-tag {
  padding: 3px 7px 4px;
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--brand-soft);
  border-radius: 7px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(169, 49, 21, 0.22);
  transform: rotate(-4deg);
}

.brand-mark::before {
  content: "M";
  font-size: 19px;
  font-weight: 900;
  transform: rotate(4deg);
}

.brand em {
  color: var(--brand);
  font-style: normal;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 720;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 99px;
  transition: transform 160ms var(--ease-out), opacity 160ms var(--ease-out);
}

.menu-toggle span {
  margin-block: 4px;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 11vw, 144px) 0 clamp(70px, 9vw, 112px);
  color: #fffaf2;
  background:
    radial-gradient(circle at 84% 22%, rgba(242, 184, 75, 0.25), transparent 17rem),
    radial-gradient(circle at 70% 100%, rgba(217, 79, 36, 0.3), transparent 28rem),
    linear-gradient(135deg, var(--night), var(--night-soft));
}

.hero::after {
  position: absolute;
  top: 18%;
  right: -8%;
  width: clamp(250px, 38vw, 520px);
  aspect-ratio: 1;
  content: "M";
  color: rgba(255, 255, 255, 0.025);
  font-family: Georgia, serif;
  font-size: clamp(16rem, 34vw, 34rem);
  font-weight: 900;
  line-height: 0.7;
  transform: rotate(-9deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  align-items: end;
  gap: clamp(48px, 8vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--gold);
}

.hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 250, 242, 0.74);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button-entry span,
.entry-card-link span,
.text-action span,
.footer-entry-link span {
  transition: transform 160ms var(--ease-out);
}

.button-entry:hover span,
.entry-card-link:hover span,
.text-action:hover span,
.footer-entry-link:hover span {
  transform: translateX(4px);
}

.entry-disclosure {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 250, 242, 0.55);
  font-size: 0.76rem;
  line-height: 1.55;
}

.button,
.wp-element-button,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 13px;
  box-shadow: 0 9px 25px rgba(217, 79, 36, 0.2);
  transition: transform 150ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.wp-element-button:hover,
button[type="submit"]:hover {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 12px 30px rgba(168, 50, 22, 0.25);
}

.button:active,
.wp-element-button:active,
button[type="submit"]:active {
  transform: scale(0.97);
}

.button-ghost {
  color: #fffaf2;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.signal-card {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.signal-card::before {
  position: absolute;
  top: -1px;
  left: 26px;
  width: 64px;
  height: 3px;
  content: "";
  background: var(--gold);
  border-radius: 0 0 8px 8px;
}

.signal-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.79rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-dot {
  width: 9px;
  height: 9px;
  background: #4fd49a;
  border: 2px solid rgba(79, 212, 154, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79, 212, 154, 0.08);
}

.signal-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.2;
}

.signal-card p {
  margin: 0;
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.93rem;
}

.entry-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 17px;
  margin-top: 22px;
  color: var(--night);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
  background: var(--gold);
  border-radius: 12px;
  transition: background-color 180ms ease, transform 150ms var(--ease-out);
}

.entry-card-link:hover {
  color: var(--night);
  background: #ffd06f;
}

.entry-card-link:active {
  transform: scale(0.985);
}

.signal-list {
  display: grid;
  gap: 11px;
  padding: 20px 0 0;
  margin: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 250, 242, 0.58);
  font-size: 0.83rem;
}

.signal-list b {
  color: #fffaf2;
  font-weight: 720;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  color: var(--ink);
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 96px;
  padding: 20px 34px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-number {
  font-family: Georgia, serif;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.trust-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.section {
  padding: clamp(70px, 9vw, 118px) 0;
}

.section-tight {
  padding: clamp(50px, 7vw, 82px) 0;
}

.section-dark {
  color: #fffaf2;
  background: var(--night);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.55fr);
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 44px;
}

.section-head h2,
.content-heading {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-head > p {
  margin: 0;
  color: var(--ink-soft);
}

.section-dark .section-head > p {
  color: rgba(255, 250, 242, 0.64);
}

.section-label {
  display: block;
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 820;
}

.section-dark .section-label {
  color: var(--gold);
}

.prose-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(46px, 9vw, 130px);
  align-items: start;
}

.prose-split h2,
.issue-copy h2,
.faq-layout h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.8vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.prose-stack {
  max-width: 72ch;
}

.prose-stack p {
  margin: 0;
  color: #443d37;
}

.prose-stack p + p {
  margin-top: 1.25em;
}

.entry-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.entry-step-list li {
  min-height: 300px;
  padding: 30px;
  background: #201713;
}

.entry-step-list li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 74px;
  color: var(--night);
  font-family: Georgia, serif;
  font-weight: 850;
  background: var(--gold);
  border-radius: 12px;
}

.entry-step-list h3 {
  margin: 0 0 11px;
  color: #fffaf2;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.15;
}

.entry-step-list p {
  margin: 0;
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.91rem;
}

.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: clamp(50px, 9vw, 118px);
  align-items: center;
}

.issue-copy > p:not(.section-label) {
  max-width: 68ch;
  color: #443d37;
}

.issue-copy h2 + p {
  margin-top: 25px;
}

.issue-checklist {
  padding: clamp(28px, 4vw, 46px);
  background: var(--paper-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.issue-checklist h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 820;
  text-decoration: none;
}

.post-grid-six .post-card {
  min-height: 350px;
}

.faq-section {
  background: #f6eee3;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.faq-intro {
  max-width: 48ch;
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid rgba(59, 45, 32, 0.2);
}

.faq-list details {
  border-bottom: 1px solid rgba(59, 45, 32, 0.2);
}

.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 2px;
  content: "+";
  color: var(--brand-dark);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  transition: transform 180ms var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 68ch;
  padding: 0 48px 23px 0;
  margin: -4px 0 0;
  color: var(--ink-soft);
}

.cta-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 820;
}

.guide-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.topic-card {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  color: #fffaf2;
  text-decoration: none;
  background: var(--night);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.topic-card picture,
.topic-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.topic-card img {
  min-height: 280px;
  object-fit: cover;
  transition: transform 240ms var(--ease-out), filter 240ms ease;
}

.topic-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 34%, rgba(21, 16, 13, 0.92) 100%);
}

.topic-overlay {
  position: absolute;
  right: 28px;
  bottom: 25px;
  left: 28px;
  z-index: 1;
  display: grid;
  gap: 3px;
}

.topic-overlay strong {
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.topic-overlay span {
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.84rem;
  font-weight: 680;
}

.topic-card:active {
  transform: scale(0.985);
}

.guide-card,
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 rgba(38, 23, 13, 0);
  transition: transform 210ms var(--ease-out), box-shadow 210ms var(--ease-out), border-color 210ms ease;
}

.guide-card::after,
.post-card::after {
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  content: "";
  background: radial-gradient(circle, rgba(217, 79, 36, 0.12), transparent 67%);
  border-radius: 50%;
}

.guide-index {
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
}

.guide-card h3,
.post-card h2,
.post-card h3 {
  margin: auto 0 12px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.guide-card p,
.post-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-link::after {
  content: "→";
  transition: transform 160ms var(--ease-out);
}

.guide-card:hover .card-link::after,
.post-card:hover .card-link::after {
  transform: translateX(4px);
}

.editorial-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.editorial-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(242, 184, 75, 0.45), transparent 8rem),
    linear-gradient(145deg, var(--brand-dark), #3b1810 55%, var(--night));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.editorial-visual::before {
  position: absolute;
  inset: 30px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius-lg) - 12px);
}

.editorial-monogram {
  position: absolute;
  right: 8%;
  bottom: -13%;
  color: rgba(255, 255, 255, 0.11);
  font-family: Georgia, serif;
  font-size: clamp(15rem, 27vw, 25rem);
  font-weight: 900;
  line-height: 1;
}

.editorial-stamp {
  position: absolute;
  top: 52px;
  left: 52px;
  max-width: 210px;
  color: #fffaf2;
}

.editorial-stamp small {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-stamp strong {
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1.12;
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  top: 0.4em;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  content: "✓";
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  background: var(--success);
  border-radius: 50%;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: clamp(36px, 6vw, 64px);
  overflow: hidden;
  color: #fffaf2;
  background:
    radial-gradient(circle at 90% 20%, rgba(242, 184, 75, 0.2), transparent 13rem),
    linear-gradient(135deg, var(--night), #311712);
  border-radius: var(--radius-lg);
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cta-panel p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 250, 242, 0.68);
}

.page-hero {
  padding: clamp(70px, 9vw, 120px) 0 60px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.page-deck {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.page-entry-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-entry-action-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.page-entry-action-copy strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.2;
}

.page-entry-action-copy span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.page-entry-action .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.breadcrumb {
  padding-top: 24px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: inherit;
}

.breadcrumb span {
  margin-inline: 8px;
  color: rgba(95, 87, 79, 0.45);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
  padding-bottom: clamp(80px, 10vw, 130px);
}

.entry-content {
  min-width: 0;
}

.entry-content > * {
  max-width: 760px;
}

.entry-content > .alignwide {
  max-width: 980px;
}

.entry-content h2,
.entry-content h3 {
  margin: 2.15em 0 0.65em;
  font-family: Georgia, serif;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.entry-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.entry-content h3 {
  font-size: 1.45rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  color: #443d37;
}

.entry-content li + li {
  margin-top: 0.55em;
}

.entry-content blockquote,
.notice {
  padding: 22px 24px;
  margin: 32px 0;
  color: var(--ink);
  background: var(--brand-soft);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(217, 79, 36, 0.18);
}

.entry-content blockquote p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.content-media {
  margin: 30px 0 38px;
  overflow: hidden;
  background: var(--paper-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.content-media picture,
.content-media img {
  display: block;
  width: 100%;
}

.content-media img {
  height: auto;
  aspect-ratio: 711 / 411;
  object-fit: cover;
}

.content-media figcaption {
  padding: 12px 16px 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.step-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  padding: 20px 22px 20px 66px;
  margin: 0;
  color: var(--ink-soft);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  counter-increment: steps;
}

.step-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  content: counter(steps);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 850;
  background: var(--brand);
  border-radius: 10px;
}

.info-table {
  width: 100%;
  margin: 28px 0;
  overflow: hidden;
  border-collapse: collapse;
  background: var(--paper-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--line);
}

.info-table th,
.info-table td {
  padding: 15px 17px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table th {
  width: 34%;
  color: var(--ink);
  font-size: 0.86rem;
}

.info-table td {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-aside {
  position: sticky;
  top: 110px;
  padding: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.article-aside strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.article-aside p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.article-aside .button {
  width: 100%;
}

.aside-text-link {
  display: block;
  margin-top: 13px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 750;
  text-align: center;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.post-card {
  min-height: 330px;
}

.post-card .post-meta {
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  color: rgba(255, 250, 242, 0.66);
  background: var(--night);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(160px, 0.5fr));
  gap: 50px;
  padding: 72px 0 48px;
}

.footer-brand .brand {
  color: #fffaf2;
}

.footer-brand p {
  max-width: 450px;
  margin: 20px 0 0;
  font-size: 0.9rem;
}

.footer-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 820;
  text-decoration: none;
}

.footer-entry-link:hover {
  color: #ffd06f;
}

.footer-column h2 {
  margin: 0 0 18px;
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a {
  color: rgba(255, 250, 242, 0.64);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fffaf2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 34px;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.empty-state,
.not-found {
  padding: 80px 0 120px;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(5rem, 20vw, 12rem);
  line-height: 0.9;
  color: var(--brand);
}

.not-found h2 {
  margin: 18px 0 10px;
  font-family: Georgia, serif;
  font-size: 2rem;
}

@media (hover: hover) and (pointer: fine) {
  .guide-card:hover,
  .post-card:hover {
    color: var(--ink);
    border-color: rgba(217, 79, 36, 0.32);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
  }

  .topic-card:hover {
    color: #fffaf2;
    box-shadow: 0 28px 70px rgba(38, 23, 13, 0.18);
    transform: translateY(-4px);
  }

  .topic-card:hover img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.025);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .header-actions {
    gap: 10px;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .primary-nav ul {
    display: grid;
    gap: 4px;
  }

  .primary-nav a {
    display: block;
    padding: 11px 10px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-grid,
  .editorial-panel,
  .section-head,
  .content-layout,
  .prose-split,
  .issue-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .signal-card {
    max-width: 560px;
  }

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

  .entry-step-list {
    grid-template-columns: 1fr;
  }

  .entry-step-list li {
    min-height: 0;
  }

  .entry-step-list li > span {
    margin-bottom: 34px;
  }

  .article-aside {
    position: static;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .page-entry-action {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-top: 26px;
    padding: 18px;
  }

  .page-entry-action .button {
    width: 100%;
    white-space: normal;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 126px;
  }

  .brand-tag {
    display: none;
  }

  .header-entry-button {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.75rem;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.04em;
  }

  .trust-grid,
  .guide-grid,
  .post-grid,
  .topic-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 76px;
    padding: 18px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .guide-card,
  .post-card {
    min-height: 260px;
  }

  .entry-step-list li {
    padding: 25px;
  }

  .faq-list summary {
    font-size: 1.08rem;
  }

  .editorial-visual {
    min-height: 360px;
  }

  .footer-main {
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .info-table td {
    padding-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
