:root {
  --wine: #6f1d2b;
  --wine-dark: #42131d;
  --wine-soft: #8f3546;
  --gold: #c19a52;
  --gold-soft: #ead9b5;
  --ink: #2e2926;
  --muted: #6c625c;
  --paper: #fffdf9;
  --cream: #f6f0e6;
  --stone: #e5ddd2;
  --white: #fff;
  --shadow: 0 22px 55px rgba(67, 31, 27, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(193, 154, 82, .14), transparent 24rem),
    linear-gradient(180deg, #f8f4ed 0, #fdfcf9 36rem, #f4eee5 100%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.72;
}

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

a {
  color: var(--wine);
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

a:hover { color: #9b6f25; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--wine-dark);
  border-radius: 7px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  overflow: hidden;
  padding: 24px 0 78px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(66, 19, 29, .98), rgba(111, 29, 43, .94) 58%, rgba(118, 65, 41, .9)),
    var(--wine-dark);
  border-bottom: 5px solid var(--gold);
}

.site-header::after {
  position: absolute;
  right: -9rem;
  bottom: -15rem;
  width: 35rem;
  height: 35rem;
  content: "";
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.02);
}

.brand,
.breadcrumbs,
.hero-grid { position: relative; z-index: 1; }

.brand { margin-bottom: 30px; }

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

.brand-link:hover { color: var(--white); }

.brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.74);
  border-radius: 17px;
  box-shadow: 0 9px 25px rgba(0,0,0,.28);
}

.brand strong { display: block; font-size: 1.08rem; letter-spacing: .015em; }
.brand small { display: block; margin-top: 2px; color: #f1dfe2; font: .78rem/1.4 Arial, sans-serif; }

.breadcrumbs { margin-bottom: 32px; font: .86rem/1.45 Arial, sans-serif; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: 8px; color: var(--gold-soft); content: "›"; }
.breadcrumbs a { color: #f8e8e9; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #a06e24;
  font: 700 .76rem/1.4 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow { color: #f0d69e; }

h1, h2 { text-wrap: balance; }

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.45rem, 6.5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #f5e9e9;
  font-size: 1.09rem;
  line-height: 1.65;
}

.hero-image {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 23px;
  box-shadow: 0 24px 48px rgba(20, 8, 10, .32);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-image figcaption {
  padding: 9px 14px;
  color: #5a4b46;
  background: #fffaf2;
  font: .72rem/1.4 Arial, sans-serif;
  text-align: right;
}

.page-main {
  position: relative;
  z-index: 2;
  margin-top: -38px;
  padding-bottom: 70px;
}

.article-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(30px, 6vw, 72px);
  background: var(--paper);
  border: 1px solid rgba(111, 29, 43, .1);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.article-card p { margin: 0 0 1.28rem; }

.opening {
  color: var(--wine);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  line-height: 1.48;
}

.opening::first-letter {
  float: left;
  margin: .06em .12em 0 0;
  color: var(--wine);
  font-size: 3.2em;
  font-weight: 600;
  line-height: .82;
}

.article-card h2,
.channels h2,
.related h2 {
  margin: 2.5rem 0 .85rem;
  color: var(--wine);
  font-size: clamp(1.55rem, 3.5vw, 2.05rem);
  font-weight: 500;
  line-height: 1.23;
}

blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 24px 28px 22px 34px;
  color: #4d282f;
  background: linear-gradient(135deg, #fbf3e5, #fffaf1);
  border-left: 5px solid var(--gold);
  border-radius: 4px 16px 16px 4px;
}

blockquote::before {
  position: absolute;
  top: 4px;
  left: 10px;
  color: rgba(111, 29, 43, .18);
  content: "“";
  font-size: 4rem;
  line-height: 1;
}

blockquote p { position: relative; margin-bottom: .45rem !important; font-size: 1.08rem; }
blockquote cite { color: var(--muted); font: .82rem/1.45 Arial, sans-serif; }

.historical-note {
  margin: 2rem 0;
  padding: 20px 22px;
  color: #57483f;
  background: var(--cream);
  border: 1px solid #e4d0aa;
  border-radius: 14px;
  font-size: .94rem;
}

.historical-note strong { color: var(--wine); }
.historical-note p { margin: 5px 0 0; }

.article-author {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 3rem;
  padding-top: 1.25rem;
  color: var(--muted);
  border-top: 1px solid var(--stone);
  font: .88rem/1.5 Arial, sans-serif;
}

.article-author strong { color: var(--wine); }

.share,
.channels,
.related {
  max-width: 1040px;
  margin: 34px auto 0;
  border-radius: 22px;
}

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 34px;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 253, 249, .9);
  border: 1px solid var(--stone);
  box-shadow: 0 12px 32px rgba(67, 31, 27, .08);
}

.share h2 { margin: 0; color: var(--wine); font-size: clamp(1.45rem, 3vw, 1.85rem); font-weight: 500; line-height: 1.2; }

.share-links { display: flex; flex-wrap: wrap; gap: 10px; }

.share-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 0 rgba(35, 24, 22, .25);
  font: 700 .8rem/1 Arial, sans-serif;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.share-links a:hover { color: var(--white); filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 5px 0 rgba(35, 24, 22, .25); }
.share-links a:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(35, 24, 22, .25); }
.share-links svg { width: 21px; height: 21px; fill: currentColor; }
.share-whatsapp { background: #128c4a; }
.share-facebook { background: #1877f2; }
.share-x { background: #161616; }
.share-telegram { background: #2389c8; }

.channels {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background: linear-gradient(125deg, var(--wine-dark), var(--wine));
  box-shadow: var(--shadow);
}

.channels .eyebrow { color: #f0d69e; }
.channels h2 { margin: 0 0 5px; color: var(--white); }
.channels p:not(.eyebrow) { margin: 0; color: #f5e9e9; }

.channel-logo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 2px solid var(--gold-soft);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .26);
}

.button {
  display: inline-block;
  padding: 12px 19px;
  color: var(--wine-dark);
  background: linear-gradient(180deg, #f5e4bd, #d8b66c);
  border: 1px solid #f6dfa8;
  border-radius: 10px;
  box-shadow: 0 4px 0 #8b642b;
  font: 700 .86rem/1.35 Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.button:hover { color: var(--wine-dark); transform: translateY(-1px); box-shadow: 0 5px 0 #8b642b; }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 #8b642b; }

.related {
  padding: clamp(26px, 5vw, 44px);
  background: rgba(255, 253, 249, .83);
  border: 1px solid var(--stone);
}

.related h2 { margin: 0 0 20px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.related-grid a {
  display: block;
  min-height: 150px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(67, 31, 27, .07);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}

.related-grid a:hover { transform: translateY(-3px); border-color: var(--gold); }
.related-grid strong { display: block; margin-bottom: 8px; color: var(--wine); font-size: 1.05rem; }
.related-grid span { color: var(--muted); font: .86rem/1.5 Arial, sans-serif; }

.site-footer {
  color: #f0e4e4;
  background: var(--wine-dark);
  border-top: 4px solid var(--gold);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  align-items: center;
  padding-block: 28px;
  font: .82rem/1.5 Arial, sans-serif;
}

.site-footer a { color: #fff; }
.footer-home { font-family: Georgia, "Times New Roman", serif; font-size: .95rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }

:focus-visible { outline: 3px solid #f2c96f; outline-offset: 4px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { width: min(100%, 650px); }
  .share { align-items: flex-start; }
  .channels { grid-template-columns: auto 1fr; }
  .channels .button { grid-column: 1 / -1; justify-self: start; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid a { min-height: 0; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .shell { width: min(100% - 20px, 1120px); }
  .site-header { padding-top: 16px; padding-bottom: 62px; }
  .brand { margin-bottom: 24px; }
  .brand img { width: 58px; height: 58px; border-radius: 13px; }
  .brand strong { font-size: .96rem; }
  .breadcrumbs { margin-bottom: 24px; }
  .hero-grid { gap: 27px; }
  h1 { font-size: 2.55rem; }
  .lead { font-size: 1rem; }
  .hero-image { border-radius: 16px; }
  .page-main { margin-top: -28px; }
  .article-card { padding: 28px 20px; border-radius: 17px; }
  blockquote { margin-inline: 0; padding: 21px 18px 19px 27px; }
  .share { border-radius: 17px; }
  .share-links { width: 100%; }
  .share-links a { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .channels { grid-template-columns: 1fr; gap: 15px; border-radius: 17px; }
  .channel-logo { width: 58px; height: 58px; }
  .related { border-radius: 17px; }
  .footer-inner { display: block; text-align: center; }
  .site-footer nav { justify-content: center; margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  body { color: #000; background: #fff; font-size: 11pt; }
  .skip-link, .brand img, .breadcrumbs, .share, .channels, .related, .site-footer, .hero-image figcaption { display: none; }
  .site-header { padding: 15px 0; color: #000; background: #fff; border-bottom: 2px solid #777; }
  .brand-link, .brand small, .hero-copy .eyebrow, .lead { color: #000; }
  .hero-grid { display: block; }
  h1 { font-size: 28pt; }
  .hero-image { max-width: 430px; margin-top: 20px; box-shadow: none; }
  .page-main { margin-top: 0; }
  .article-card { max-width: none; padding: 0; border: 0; box-shadow: none; }
}
