:root {
  --ink: #123044;
  --muted: #536875;
  --cream: #fffaf2;
  --paper: #ffffff;
  --accent: #c7623c;
  --line: #e7ddd0;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.blog-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(18, 48, 68, 0.1);
}

.blog-header__inner {
  width: min(1280px, calc(100% - 3rem));
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.blog-logo img {
  display: block;
  width: 230px;
  max-width: 42vw;
  height: auto;
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-nav a {
  text-decoration: none;
}

.blog-nav a:hover,
.blog-nav a[aria-current="page"] {
  color: var(--accent);
}

.blog-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-header-button {
  padding: 0.62rem 1rem;
  border-radius: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.blog-header-button--secondary {
  color: var(--ink);
  border: 1px solid rgba(18, 48, 68, 0.22);
  background: transparent;
}

.blog-header-button--primary {
  color: white;
  border: 1px solid #c22626;
  background: #c22626;
}

.blog-hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--ink);
  color: white;
}

.blog-eyebrow {
  margin: 0 0 0.8rem;
  color: #e8b59f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-hero h1,
.article-title {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.blog-hero p:last-child {
  max-width: 700px;
  margin: 1.4rem 0 0;
  color: #d8e0e5;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.blog-main {
  min-height: 45vh;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.post-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 14px 36px rgba(18, 48, 68, 0.08);
}

.post-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eee7dc;
}

.post-card__body {
  padding: 1.5rem;
}

.post-meta {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.post-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.2;
}

.post-card h2 a {
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--accent);
}

.post-card__summary {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.blog-empty {
  max-width: 680px;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.article-header {
  padding: clamp(4rem, 8vw, 7rem) 0 2.5rem;
}

.article-title {
  font-size: clamp(2.5rem, 6vw, 4.9rem);
}

.article-description {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.article-image {
  display: block;
  width: min(1120px, calc(100% - 2.5rem));
  max-height: 650px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 0.8rem;
}

.article-body {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.article-body h2,
.article-body h3 {
  margin-top: 2.2em;
  line-height: 1.2;
}

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

.article-body a,
.back-link {
  color: var(--accent);
}

.blog-footer {
  padding: 2.5rem 0;
  background: var(--ink);
  color: #d8e0e5;
  font-size: 0.9rem;
}

.blog-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .blog-header-actions {
    display: none;
  }
}

@media (max-width: 860px) {
  .blog-header__inner {
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-nav {
    width: 100%;
    padding-bottom: 0.5rem;
    overflow-x: auto;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-footer__inner {
    flex-direction: column;
  }
}
