:root {
  --ink: #163f54;
  --ink-deep: #071f2b;
  --paper: #fffdf9;
  --ivory: #f3eadc;
  --gold: #b9975b;
  --gold-light: #d7bd86;
  --text: #263036;
  --muted: #687074;
  --line: rgba(22, 63, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p {
  line-height: 1.78;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(215, 189, 134, 0.25);
  background: rgba(7, 31, 43, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.brand-logo {
  width: 62px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: #fff9ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.brand-text small {
  margin-top: 7px;
  color: var(--gold-light);
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.site-header nav a {
  padding: 12px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--gold-light);
}

.header-button,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: linear-gradient(135deg, #e5cf9d, var(--gold));
  color: var(--ink-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0 20px;
}

.article-hero,
.listing-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(215, 189, 134, 0.3);
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 189, 134, 0.16), transparent 32%),
    linear-gradient(135deg, var(--ink-deep), #0f4355);
  color: #fff;
}

.article-hero::after,
.listing-hero::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(215, 189, 134, 0.18);
  content: "";
  pointer-events: none;
}

.article-hero .container,
.listing-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 78px;
  padding-bottom: 76px;
}

.breadcrumb {
  margin-bottom: 28px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: #fff;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.article-hero h1,
.listing-hero h1 {
  max-width: 960px;
  margin: 0 0 26px;
  color: #fff9ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6.5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.article-hero .lead,
.listing-hero .lead {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.content-shell {
  padding: 76px 0 104px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
  gap: 78px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-intro {
  margin: 0 0 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.56;
}

.article-body section {
  margin: 0 0 48px;
}

.article-body h2 {
  margin: 0 0 22px;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.article-body p {
  margin: 0 0 18px;
  color: #465158;
  font-size: 1.01rem;
}

.article-body ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.article-body li {
  position: relative;
  padding: 15px 18px 15px 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  line-height: 1.58;
}

.article-body li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--gold);
  content: "◆";
  font-size: 0.55rem;
}

.reflection-box {
  margin: 34px 0;
  padding: 28px 30px;
  border-left: 4px solid var(--gold);
  background: var(--ivory);
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.55;
}

.article-disclaimer {
  margin-top: 50px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: #f8f4ed;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.author-mini {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.author-mini img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.author-mini h3 {
  margin: 0 0 7px;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.author-mini p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-aside {
  position: sticky;
  top: 110px;
  padding: 34px 30px;
  border: 1px solid rgba(215, 189, 134, 0.35);
  background: linear-gradient(145deg, var(--ink-deep), #103d4d);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 55px rgba(7, 31, 43, 0.16);
}

.article-aside b {
  display: block;
  margin-bottom: 15px;
  color: #fff9ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.article-aside p {
  margin: 0 0 24px;
  font-size: 0.88rem;
}

.related {
  margin-top: 62px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.related h2 {
  margin-bottom: 24px;
}

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

.related-links a {
  display: flex;
  min-height: 104px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.35;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-links a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.listing-hero .container {
  padding-top: 92px;
  padding-bottom: 92px;
}

.article-listing {
  padding: 80px 0 108px;
}

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

.article-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(22, 63, 84, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  border-color: rgba(185, 151, 91, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(22, 63, 84, 0.11);
}

.article-card .card-category {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 28px 0 16px;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.article-card p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.site-footer {
  padding: 64px 0 26px;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 58px;
  padding-bottom: 46px;
}

.footer-grid p {
  max-width: 390px;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 0.82rem;
}

.footer-links b {
  margin-bottom: 6px;
  color: var(--gold-light);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 24px;
  border-top: 1px solid rgba(215, 189, 134, 0.18);
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 43px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.76rem;
  }

  .brand-text small {
    margin-top: 5px;
    font-size: 0.38rem;
    letter-spacing: 0.12em;
  }

  .header-button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.68rem;
  }

  .site-header nav {
    justify-content: flex-start;
    gap: 23px;
    font-size: 0.95rem;
  }

  .article-hero .container,
  .listing-hero .container {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .article-hero::after,
  .listing-hero::after {
    inset: 9px;
  }

  .article-hero h1,
  .listing-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .content-shell,
  .article-listing {
    padding: 58px 0 78px;
  }

  .article-intro {
    font-size: 1.22rem;
  }

  .reflection-box {
    padding: 23px 22px;
  }

  .author-mini {
    grid-template-columns: 68px 1fr;
  }

  .author-mini img {
    width: 68px;
    height: 68px;
  }

  .related-links,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 430px) {
  .header-button {
    display: none;
  }

  .site-header nav {
    font-size: 0.9rem;
  }
}
