:root {
  --green-deep: #17352e;
  --green-mid: #315b4a;
  --green-soft: #477565;
  --green-light: #8eaa9d;
  --green-mist: #f4f7f4;
  --gold: #b88a44;
  --gold-light: #dcc9a6;
  --cream: #f4f0e8;
  --white: #fffdf9;
  --text-dark: #17352e;
  --text-mid: #465a52;
  --text-light: #60736a;
  --line: rgba(23,53,46,.13);
  --shadow-sm: 0 10px 30px rgba(23,53,46,.08);
  --shadow-lg: 0 28px 70px rgba(11,34,27,.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: .8rem max(1.25rem, 6vw);
  border-bottom: 1px solid var(--line);
  background: rgba(244,240,232,.94);
  backdrop-filter: blur(14px);
}
.blog-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--green-deep); text-decoration: none; }
.blog-brand img { width: 46px; height: 46px; padding: 2px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); object-fit: contain; }
.blog-brand strong { display: block; max-width: 18rem; font: 600 1.05rem/1.05 'Cormorant Garamond', serif; }
.blog-back { color: var(--green-soft); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.blog-back:hover { color: var(--gold); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 6vw, 5rem); width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.article { min-width: 0; }
.article-kicker { color: var(--gold); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.article h1 { max-width: 900px; margin: .8rem 0 1.2rem; color: var(--text-dark); font: 300 clamp(2.7rem, 6vw, 5.4rem)/.98 'Cormorant Garamond', serif; letter-spacing: -.03em; }
.article-lead { max-width: 760px; margin: 0; color: var(--text-mid); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.8; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.5rem; color: var(--text-light); font-size: .72rem; }
.article figure { margin: 2.5rem 0 3rem; }
.article figure img { display: block; width: 100%; max-height: 540px; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow-lg); }
.article figure figcaption { margin-top: .65rem; color: var(--text-light); font-size: .72rem; }
.article h2 { margin: 2.7rem 0 .75rem; color: var(--text-dark); font: 400 clamp(1.8rem, 3vw, 2.65rem)/1.1 'Cormorant Garamond', serif; }
.article h3 { margin: 2rem 0 .55rem; color: var(--green-mid); font: 500 1.1rem/1.3 'DM Sans', sans-serif; }
.article p { max-width: 780px; margin: 0 0 1.05rem; color: var(--text-mid); font-size: .98rem; }
.article ul, .article ol { max-width: 780px; margin: .7rem 0 1.4rem; padding-left: 1.25rem; color: var(--text-mid); }
.article li { margin: .35rem 0; padding-left: .2rem; }
.article strong { color: var(--text-dark); font-weight: 600; }
.article blockquote { max-width: 780px; margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--gold); background: rgba(255,253,249,.65); color: var(--green-mid); font: italic 1.25rem/1.5 'Cormorant Garamond', serif; }
.article table { width: 100%; max-width: 780px; margin: 1.2rem 0 2rem; border-collapse: collapse; background: var(--white); font-size: .84rem; }
.article th, .article td { padding: .85rem .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: var(--green-deep); color: var(--cream); font-weight: 500; }
.article td { color: var(--text-mid); }
.article-faq { max-width: 780px; margin-top: 1rem; }
.article-faq details { border-top: 1px solid var(--line); padding: .95rem 0; }
.article-faq details:last-child { border-bottom: 1px solid var(--line); }
.article-faq summary { cursor: pointer; color: var(--green-mid); font-weight: 500; }
.article-faq p { margin: .6rem 0 0; }
.article-cta { max-width: 780px; margin-top: 3rem; padding: 1.6rem; border-radius: 14px; background: var(--green-deep); color: var(--cream); box-shadow: var(--shadow-sm); }
.article-cta h2 { margin-top: 0; color: var(--cream); font-size: 2.1rem; }
.article-cta p { color: rgba(250,248,243,.76); }
.article-button { display: inline-flex; align-items: center; min-height: 46px; padding: .7rem 1.2rem; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.article-button:hover { background: var(--gold-light); }
.series-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 780px; margin-top: 1.5rem; }
.series-list .blog-card { display: flex; flex-direction: column; min-height: 100%; padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); }
.series-list .blog-card h2 { margin: .8rem 0 .7rem; color: var(--text-dark); font: 400 1.65rem/1.05 'Cormorant Garamond', serif; }
.series-list .blog-card p { color: var(--text-light); font-size: .86rem; line-height: 1.7; }
.series-list .blog-card .article-button { align-self: flex-start; margin-top: auto; }

.article-sidebar { position: sticky; top: 1.5rem; align-self: start; }
.sidebar-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,249,.7); }
.sidebar-card + .sidebar-card { margin-top: 1rem; }
.sidebar-card h2 { margin: 0 0 .8rem; font: 400 1.45rem/1.1 'Cormorant Garamond', serif; }
.sidebar-card p { margin: 0; color: var(--text-light); font-size: .8rem; line-height: 1.7; }
.sidebar-card ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.sidebar-card li { font-size: .77rem; line-height: 1.4; }
.sidebar-card a { color: var(--green-soft); text-decoration: none; }
.sidebar-card a:hover { color: var(--gold); }

.blog-footer { padding: 2rem 1.25rem; border-top: 1px solid var(--line); color: var(--text-light); text-align: center; font-size: .75rem; }
.blog-footer a { color: var(--green-soft); text-decoration: none; }

@media (max-width: 820px) {
  .article-layout { display: block; }
  .article-sidebar { display: none; }
}
@media (max-width: 560px) {
  .blog-header { min-height: 68px; padding: .65rem 1rem; }
  .blog-brand strong { max-width: 13rem; font-size: .92rem; }
  .blog-brand img { width: 40px; height: 40px; }
  .blog-back { font-size: .62rem; }
  .article-layout { width: min(100% - 2rem, 1120px); padding: 2.5rem 0 4rem; }
  .article h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .article figure { margin: 2rem 0; }
  .article figure img { max-height: 300px; border-radius: 12px; }
  .article p, .article ul, .article ol { font-size: .92rem; }
  .article th, .article td { padding: .65rem .5rem; font-size: .74rem; }
  .series-list { grid-template-columns: 1fr; }
}
