:root {
  --blog-ink: #272326;
  --blog-muted: #6f696d;
  --blog-pink: #d95b8a;
  --blog-pink-deep: #ab4169;
  --blog-blush: #f8e1e9;
  --blog-line: #e7dfe2;
  --blog-paper: #fffdfd;
}

.blog-body {
  background: var(--blog-paper);
  color: var(--blog-ink);
}

.blog-page { overflow: clip; }
.blog-shell { width: min(82vw, 1650px); margin-inline: auto; }

.blog-hero {
  padding: 58px 0 0;
  text-align: center;
  border-bottom: 1px solid #f0e9ec;
}

.blog-hero h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 70px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 750;
}

.blog-hero h1 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.blog-hero h1 span::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -.05em;
  right: -.08em;
  bottom: -.08em;
  height: .38em;
  background: var(--blog-blush);
}

.blog-hero > .blog-shell > p {
  margin: 20px auto 34px;
  color: var(--blog-muted);
  font-size: 16px;
}

.blog-filters {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.blog-filters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  border-top: 1px solid #e5dfe2;
  transform: translateX(-50%);
}

.blog-filters button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #4c464a;
  padding: 10px 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.blog-filters button:hover {
  color: var(--blog-pink-deep);
  border-color: #efc4d4;
  transform: translateY(-1px);
}

.blog-filters button[aria-pressed="true"] {
  background: var(--blog-blush);
  color: var(--blog-pink-deep);
}

.blog-content { padding: 50px 0 72px; }

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: auto;
  aspect-ratio: 4.28 / 1;
  min-height: 0;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.blog-featured figure { height: 100%; min-height: 0; margin: 0; overflow: hidden; }
.blog-featured figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured > div { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; padding: 26px 30px; }

.blog-category {
  color: var(--blog-pink-deep);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .09em;
  font-weight: 800;
}

.blog-featured h2 {
  max-width: 650px;
  margin: 14px 0 16px;
  font-size: clamp(28px, 1.9vw, 38px);
  line-height: 1.04;
  letter-spacing: -.035em;
  transition: color .2s ease;
}

.blog-featured:hover h2 { color: var(--blog-pink); }

.blog-featured p {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--blog-muted);
  font-size: 15px;
  line-height: 1.65;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  color: #8a8287;
  font-size: 10px;
}

.blog-featured .blog-meta { margin-top: auto; }

.blog-meta span:not(:first-child)::before {
  content: '·';
  margin-right: 16px;
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--blog-ink);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.blog-read span { color: var(--blog-pink); transition: transform .2s ease; }
.blog-read:hover span { transform: translateX(4px); }

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

.blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 15px;
  background: #fff;
}

.blog-card[hidden] { display: none; }
.blog-card-image { display: block; aspect-ratio: 1.48 / 1; overflow: hidden; background: #f2eeef; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 21px 18px; }

.blog-card h2 {
  margin: 10px 0 10px;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.blog-card h2 a { color: inherit; text-decoration: none; transition: color .2s ease; }
.blog-card:hover h2 a { color: var(--blog-pink); }
.blog-card p { margin: 0 0 20px; color: var(--blog-muted); font-size: 13px; line-height: 1.5; }
.blog-card .blog-meta { margin-top: auto; padding-top: 2px; font-size: 9px; }

.blog-empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--blog-muted);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 42px;
}

.blog-pagination button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--blog-line);
  border-radius: 50%;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.blog-pagination button:hover:not(:disabled), .blog-pagination button.is-active {
  border-color: var(--blog-ink);
  background: var(--blog-ink);
  color: #fff;
}

.blog-pagination button:disabled { opacity: .28; cursor: default; }
.blog-page-count { margin: 10px 0 0; text-align: center; color: #8a8287; font-size: 10px; }

@media (min-width: 801px) {
  .blog-body .site-header > nav a:first-child { background: transparent; color: inherit; padding: 0 4px; }
  .blog-body .site-header > nav a:nth-child(4) { background: var(--blog-pink); color: #fff; padding: 0 20px; border-radius: 999px; }
  .blog-body .site-header > nav a:nth-child(4)::after { display: none; }
}

@media (max-width: 1000px) {
  .blog-shell { width: min(92%, 880px); }
  .blog-featured { height: auto; aspect-ratio: auto; grid-template-columns: 1fr; }
  .blog-featured figure { min-height: 0; aspect-ratio: 1.7 / 1; }
  .blog-featured > div { padding: 34px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .blog-shell { width: calc(100% - 32px); }
  .blog-hero { padding: 48px 0 0; }
  .blog-hero h1 { font-size: 44px; }
  .blog-hero > .blog-shell > p { margin: 16px auto 22px; font-size: 14px; line-height: 1.5; }
  .blog-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 20px 0; scrollbar-width: none; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-filters button { flex: 0 0 auto; }
  .blog-content { padding: 30px 0 54px; }
  .blog-featured { margin-bottom: 18px; border-radius: 14px; }
  .blog-featured figure { aspect-ratio: 1.15 / 1; }
  .blog-featured > div { padding: 26px 22px; }
  .blog-featured h2 { font-size: 29px; }
  .blog-featured p { font-size: 14px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card-image { aspect-ratio: 1.35 / 1; }
  .blog-card h2 { font-size: 22px; }
  .blog-meta { gap: 5px 9px; }
  .blog-meta span:not(:first-child)::before { margin-right: 9px; }
}
