:root {
  --blog-wine: #923b39;
  --blog-wine-dark: #742f2d;
  --blog-brown: #78350f;
  --blog-ink: #1f2937;
  --blog-muted: #667085;
  --blog-line: #e7e5e4;
  --blog-surface: #ffffff;
  --blog-background: #f7f7f6;
}

.BlogArchive,
.BlogSingle {
  background: var(--blog-background);
  color: var(--blog-ink);
  padding-bottom: 80px;
}

.BlogBreadcrumbs {
  align-items: center;
  color: var(--blog-muted);
  display: flex;
  flex-wrap: nowrap;
  font-size: 12px;
  gap: 10px;
  min-height: 64px;
  overflow: hidden;
  white-space: nowrap;
}

.BlogBreadcrumbs a,
.BlogBreadcrumbs span {
  color: inherit;
  flex: 0 0 auto;
  text-decoration: none;
}

.BlogBreadcrumbs a:hover {
  color: var(--blog-wine);
}

.BlogBreadcrumbs [aria-current="page"] {
  color: var(--blog-brown);
  overflow: hidden;
  text-overflow: ellipsis;
}

.BlogArchive__header {
  max-width: 760px;
  padding: 42px 0 34px;
}

.BlogEyebrow {
  color: var(--blog-wine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.BlogArchive__header h1,
.BlogSingle__header h1 {
  color: var(--blog-brown);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.BlogArchive__description {
  color: var(--blog-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 680px;
}

.BlogArchive__description p {
  margin: 0;
}

.BlogCategories {
  border-bottom: 1px solid var(--blog-line);
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  overflow-x: auto;
  padding: 0 0 22px;
  scrollbar-width: thin;
}

.BlogCategories__item {
  align-items: center;
  background: var(--blog-surface);
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  color: var(--blog-ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  min-height: 38px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.BlogCategories__item:hover,
.BlogCategories__item:focus-visible,
.BlogCategories__item.is-active {
  background: var(--blog-wine);
  border-color: var(--blog-wine);
  color: #ffffff;
}

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

.BlogCard,
.BlogCard__link {
  min-width: 0;
}

.BlogCard__link {
  color: var(--blog-ink);
  display: block;
  text-decoration: none;
}

.BlogCard__media {
  aspect-ratio: 16 / 10;
  background: #ece9e6;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  margin: 0 0 16px;
  overflow: hidden;
}

.BlogCard__image {
  box-sizing: border-box;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
  width: 100%;
}

.BlogCard__media--contain {
  background: #f5f4f2;
}

.BlogCard__media--contain .BlogCard__image {
  object-fit: contain;
  padding: 16px;
}

.BlogCard__placeholder {
  align-items: center;
  background: linear-gradient(135deg, #ebe5df, #ded5cc);
  color: var(--blog-brown);
  display: flex;
  font-size: 18px;
  font-weight: 600;
  height: 100%;
  justify-content: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 100%;
}

.BlogCard__title {
  color: var(--blog-ink);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  margin: 0;
  transition: color 180ms ease;
}

.BlogCard__link:hover .BlogCard__image {
  transform: scale(1.025);
}

.BlogCard__link:hover .BlogCard__title,
.BlogCard__link:focus-visible .BlogCard__title {
  color: var(--blog-wine);
}

.BlogCard__link:focus-visible {
  border-radius: 16px;
  outline: 3px solid rgba(146, 59, 57, 0.28);
  outline-offset: 5px;
}

.navigation.pagination {
  margin-top: 52px;
}

.navigation.pagination .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.navigation.pagination .page-numbers {
  align-items: center;
  background: var(--blog-surface);
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  color: var(--blog-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 7px;
  height: 40px;
  justify-content: center;
  min-width: 40px;
  padding: 0 13px;
  text-decoration: none;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible {
  background: var(--blog-wine);
  border-color: var(--blog-wine);
  color: #ffffff;
}

.BlogEmpty {
  background: var(--blog-surface);
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  padding: 36px;
}

.BlogEmpty h2 {
  color: var(--blog-brown);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 10px;
}

.BlogEmpty p {
  color: var(--blog-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.BlogEmpty a {
  color: var(--blog-wine);
  font-weight: 600;
}

.BlogSingle__header {
  margin: 48px auto 32px;
  max-width: 920px;
  text-align: center;
}

.BlogSingle__category {
  color: var(--blog-wine);
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.BlogSingle__header h1 {
  margin: 0 auto;
  max-width: 920px;
}

.BlogSingle__meta {
  align-items: center;
  color: var(--blog-muted);
  display: flex;
  font-size: 13px;
  gap: 9px;
  justify-content: center;
  margin-top: 22px;
}

.BlogSingle__featured {
  aspect-ratio: 16 / 8.6;
  border-radius: 20px;
  margin: 40px 0 0;
  overflow: hidden;
}

.BlogSingle__featuredImage {
  box-sizing: border-box;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.BlogSingle__featured--contain {
  background: #f5f4f2;
}

.BlogSingle__featured--contain .BlogSingle__featuredImage {
  object-fit: contain;
  padding: clamp(24px, 4vw, 56px);
}

.BlogSingle__content {
  color: #344054;
  font-size: 17px;
  line-height: 1.78;
  margin: 0 auto;
  max-width: 800px;
  padding: 58px 20px 0;
}

.BlogSingle__content > p:first-child {
  color: var(--blog-ink);
  font-size: 20px;
  line-height: 1.65;
}

.BlogSingle__content p {
  margin: 0 0 24px;
}

.BlogSingle__content h2,
.BlogSingle__content h3 {
  color: var(--blog-brown);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.BlogSingle__content h2 {
  font-size: 29px;
  line-height: 1.25;
  margin: 50px 0 18px;
}

.BlogSingle__content h3 {
  font-size: 21px;
  line-height: 1.35;
  margin: 34px 0 12px;
}

.BlogSingle__content ul,
.BlogSingle__content ol {
  margin: 0 0 28px;
  padding-left: 24px;
}

.BlogSingle__content li {
  margin-bottom: 10px;
}

.BlogSingle__content ul li {
  list-style: disc;
}

.BlogSingle__content ol li {
  list-style: decimal;
}

.BlogSingle__content li::marker {
  color: var(--blog-wine);
}

.BlogSingle__content strong {
  color: var(--blog-ink);
  font-weight: 600;
}

.BlogSingle__content a {
  color: var(--blog-wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.BlogSingle__content blockquote {
  border-left: 3px solid var(--blog-wine);
  color: var(--blog-ink);
  font-size: 20px;
  line-height: 1.6;
  margin: 38px 0;
  padding: 6px 0 6px 24px;
}

.BlogHighlight,
.BlogLocalBox,
.BlogProductLinks {
  background: var(--blog-surface);
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  margin: 36px 0;
  padding: 26px;
}

.BlogHighlight {
  border-left: 4px solid var(--blog-wine);
}

.BlogHighlight h2,
.BlogHighlight h3,
.BlogLocalBox h2,
.BlogLocalBox h3,
.BlogProductLinks h2,
.BlogProductLinks h3 {
  font-size: 22px;
  margin: 0 0 12px;
}

.BlogHighlight p:last-child,
.BlogLocalBox p:last-child,
.BlogProductLinks p:last-child {
  margin-bottom: 0;
}

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

.BlogProductLinks__item {
  align-items: center;
  background: #f7f3f0;
  border: 1px solid #eadfd8;
  border-radius: 12px;
  color: var(--blog-brown) !important;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: space-between;
  line-height: 1.45;
  min-height: 64px;
  padding: 13px 15px;
  text-decoration: none !important;
  transition: border-color 180ms ease, transform 180ms ease;
}

.BlogProductLinks__item::after {
  content: "→";
  flex: 0 0 auto;
  margin-left: 12px;
}

.BlogProductLinks__item:hover,
.BlogProductLinks__item:focus-visible {
  border-color: var(--blog-wine);
  transform: translateY(-1px);
}

.BlogLocalBox {
  background: linear-gradient(135deg, #f4eeea, #ffffff);
}

.BlogInlineCta {
  align-items: center;
  background: var(--blog-wine);
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 40px 0;
  padding: 26px;
}

.BlogInlineCta h2,
.BlogInlineCta h3,
.BlogInlineCta p,
.BlogInlineCta strong {
  color: #ffffff;
}

.BlogInlineCta h2,
.BlogInlineCta h3 {
  font-size: 23px;
  margin: 0 0 7px;
}

.BlogInlineCta p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.BlogInlineCta > p:last-child {
  flex: 0 0 auto;
  margin: 0;
}

.BlogInlineCta > a,
.BlogInlineCta > p:last-child a {
  background: #ffffff;
  border-radius: 999px;
  color: var(--blog-wine);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
}

.BlogSingle__content img {
  border-radius: 14px;
  height: auto;
  max-width: 100%;
}

.BlogSingle__taxonomy {
  align-items: center;
  border-top: 1px solid var(--blog-line);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin-top: 50px;
  padding-top: 24px;
}

.BlogSingle__taxonomy span {
  color: var(--blog-muted);
}

.BlogSingle__taxonomy a {
  background: #f0eae6;
  border-radius: 999px;
  color: var(--blog-brown);
  font-weight: 500;
  padding: 5px 10px;
  text-decoration: none;
}

.BlogCta {
  background: linear-gradient(135deg, #f4eeea, #ece2dc);
  border: 1px solid #e4d7ce;
  border-radius: 18px;
  margin-top: 56px;
  padding: 34px;
}

.BlogCta .BlogEyebrow {
  margin-bottom: 10px;
}

.BlogCta h2 {
  font-size: 27px;
  margin: 0 0 12px;
}

.BlogCta p:not(.BlogEyebrow) {
  color: #5f5149;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 600px;
}

.BlogCta > a {
  align-items: center;
  background: var(--blog-wine);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.BlogCta > a:hover,
.BlogCta > a:focus-visible {
  background: var(--blog-wine-dark);
}

@media (max-width: 991px) {
  .BlogArchive,
  .BlogSingle {
    padding-bottom: 56px;
  }

  .BlogArchive__header {
    padding: 28px 0;
  }

  .BlogGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .BlogSingle__header {
    margin-top: 32px;
  }

  .BlogSingle__featured {
    border-radius: 16px;
    margin-top: 30px;
  }
}

@media (max-width: 639px) {
  .BlogBreadcrumbs {
    min-height: 54px;
  }

  .BlogArchive__header h1,
  .BlogSingle__header h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .BlogArchive__description {
    font-size: 15px;
  }

  .BlogCategories {
    margin-right: -4vw;
    padding-right: 4vw;
  }

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

  .BlogCard__media {
    border-radius: 14px;
    margin-bottom: 14px;
  }

  .BlogCard__title {
    font-size: 18px;
  }

  .navigation.pagination .prev span:not([aria-hidden]),
  .navigation.pagination .next span:not([aria-hidden]) {
    display: none;
  }

  .BlogSingle__header {
    text-align: left;
  }

  .BlogSingle__meta {
    justify-content: flex-start;
  }

  .BlogSingle__featured {
    aspect-ratio: 16 / 10;
  }

  .BlogSingle__content {
    font-size: 16px;
    line-height: 1.72;
    padding-top: 38px;
  }

  .BlogSingle__content > p:first-child {
    font-size: 18px;
  }

  .BlogSingle__content h2 {
    font-size: 25px;
    margin-top: 42px;
  }

  .BlogSingle__content h3 {
    font-size: 20px;
  }

  .BlogHighlight,
  .BlogLocalBox,
  .BlogProductLinks,
  .BlogInlineCta {
    border-radius: 14px;
    padding: 22px 18px;
  }

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

  .BlogInlineCta {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .BlogCta {
    padding: 26px 22px;
  }

  .BlogCta h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .BlogCard__image,
  .BlogCategories__item,
  .BlogCta > a {
    transition: none;
  }
}
