/*
Theme Name: お炭付き鯛
Theme URI: https://nansei-suisan.jp/osumitsuki
Description: 南勢水産「お炭付き鯛」ブランドサイト用のカスタムテーマ（クラシックテーマ）。
Author: ZeroNext
Author URI: https://zeronext.net
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: osumitsuki
*/

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-invert: #f2f0ea;
  --color-muted: #6b6b6b;
  --color-line: #e5e5e5;
  --container: 1080px;
  --space: 1.5rem;

  --font-base: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

body {
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-base);
  font-weight: 400;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.5;
}

a {
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

/* 固定ヘッダーにアンカー位置が隠れないよう余白 */
#products,
#news,
#features,
#faq,
#company {
  scroll-margin-top: 80px;
}

/* ===== 背景動画（has-bg-video ページのみ） ===== */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: #0a0a0a;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

body.has-bg-video {
  background: transparent;
  color: var(--color-text-invert);
  --color-muted: #c9c6bf;
  --color-line: rgba(255, 255, 255, 0.18);
}

.container {
  width: min(100% - 2 * var(--space), var(--container));
  margin-inline: auto;
  padding-block: 3rem;
}

/* ===== ヘッダー（固定・追従） ===== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  mix-blend-mode: difference;
}

.site-header__inner {
  width: min(100% - 2 * var(--space), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  padding-block: 1rem;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.site-branding__name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.site-nav__list a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}

.site-nav__list a:hover {
  opacity: 0.6;
}

/* ヘッダーの『ご購入』ボタン（枠線＝mix-blend-mode で背景に追従） */
.site-nav__buy a {
  padding: 0.5em 1.5em;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-overlay.is-open {
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #0a0a0a;
  color: var(--color-text-invert);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__close {
  position: absolute;
  inset-block-start: 1.25rem;
  inset-inline-end: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  text-align: center;
}

.nav-drawer__list a {
  text-decoration: none;
  color: inherit;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.nav-drawer__buy {
  margin-block-start: 2.75rem;
  padding: 0.7em 3em;
  background: #b3001b;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ===== フッター ===== */
.site-footer {
  background-color: #0a0a0a;
  color: var(--color-text-invert);
  padding: clamp(3rem, 6vw, 4rem) var(--space) clamp(6rem, 13vw, 8rem);
}

.site-footer__inner {
  width: min(100% - 2 * var(--space), var(--container));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.site-footer__nav {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.site-footer__nav a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.site-footer__nav a:hover {
  opacity: 0.6;
}

.site-footer__copy {
  color: #8f8b83;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ===== 追従『ご購入』ボタン ===== */
.buy-fab {
  position: fixed;
  inset-block-end: clamp(1.5rem, 4vw, 2.5rem);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5em 3.2em;
  background: #b3001b;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.buy-fab:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  filter: brightness(1.08);
}

/* モバイルは横幅ほぼ一杯に */
@media (max-width: 768px) {
  .buy-fab {
    width: calc(100% - 2 * var(--space));
  }
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--space);
  background-image: url(assets/images/osumitsukidai_02.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.3) 35%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero__logo {
  width: min(46vw, 240px);
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.55));
}

.hero__catch {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  color: var(--color-text-invert);
  font-weight: 500;
  font-size: clamp(1.15rem, 3vw, 1.9rem);
  line-height: 1.5;
  letter-spacing: 0.28em;
}

.hero__catch-line {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  padding-block: 0.1em;
  padding-inline: 0.4em;
  margin-block: 0.35em;
}

/* ===== 概要 ===== */
.about {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-text-invert);
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--space);
}

.about__inner {
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-inline: auto;
  max-width: min(100% - 2 * var(--space), 100%);
}

.about__text {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5em;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  line-height: 2;
  letter-spacing: 0.15em;
}

.about__heading {
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.about__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2em;
}

.about__body p {
  margin: 0;
}

.about__figure {
  order: -1;
  margin: 0;
  width: 0;
  min-width: 100%;
}

.about__figure img {
  width: 100%;
  height: auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 960px) {
  .about__inner {
    max-width: min(100% - 2 * var(--space), 480px);
  }

  .about__text {
    writing-mode: horizontal-tb;
    line-height: 1.9;
  }
}

/* ===== 商品紹介 ===== */
.products {
  padding: clamp(4rem, 10vw, 8rem) var(--space);
  background-image: url(assets/images/washi.webp);
  background-size: cover;
  background-position: center;
  color: var(--color-text);
}

.products__inner {
  width: min(100% - 2 * var(--space), var(--container));
  margin-inline: auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.products__heading {
  writing-mode: vertical-rl;
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.35em;
}

.products__list {
  flex: none;
  max-width: 860px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.product {
  flex: 0 1 400px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: #111111;
  color: var(--color-text-invert);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.product__image {
  overflow: hidden;
}

.product__image img {
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
}

.product:hover .product__image img {
  transform: scale(1.04);
}

.product__name {
  margin: 0 0 1.25rem;
  padding: 1.75rem 0 0;
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

.product__desc {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-muted);
  text-align: left;
}

.product__desc p {
  margin: 0;
}

.product__desc p + p {
  margin-top: 1em;
}

/* 購入エリア全体（カード下部に寄せる） */
.product__purchase {
  margin: auto 0 0;
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 独自EC(Shopify)ブロックは明るいパネルにして、バリアント選択・ボタンを判読しやすく */
.product__cart {
  background: var(--color-text-invert);
  padding: 1rem 1.15rem;
  border-radius: 6px;
}

.product__buy {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.buy-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.85em 1em;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.buy-btn:hover {
  opacity: 0.85;
}

.buy-btn--amazon {
  background: #ff9900;
  color: #111111;
}

.buy-btn--rakuten {
  background: #bf0000;
  color: #ffffff;
}

.buy-btn--other {
  background: var(--color-text-invert);
  color: #111111;
}

@media (max-width: 960px) {
  .products__inner {
    flex-direction: column;
    align-items: center;
    max-width: min(100% - 2 * var(--space), 480px);
  }

  .products__heading {
    writing-mode: horizontal-tb;
    margin-bottom: 1.5rem;
  }

  .products__list {
    width: 100%;
    max-width: 100%;
  }

  .product {
    flex-basis: 100%;
  }
}

/* ===== 特徴 ===== */
.features {
  background-color: #0a0a0a;
  color: var(--color-text-invert);
  padding: clamp(4rem, 10vw, 8rem) var(--space);
}

.features__inner {
  width: min(100% - 2 * var(--space), var(--container));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 6rem);
}

.features__heading {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.2em;
  margin: 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.feature:nth-of-type(even) {
  flex-direction: row-reverse;
}

.feature__media {
  flex: 1 1 0;
}

.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature__body {
  flex: 1 1 0;
}

.feature__title {
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

.feature__label {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.15em;
}

.feature__subtitle {
  display: block;
  margin-top: 0.85rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--color-text-invert);
  letter-spacing: 0.08em;
}

.feature__body p {
  margin: 0 0 1em;
  font-size: 1.05rem;
  line-height: 2;
}

.feature__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .feature,
  .feature:nth-of-type(even) {
    flex-direction: column;
  }

  .feature__media {
    width: 100%;
  }
}

/* ===== 認定ブランド受賞 ===== */
.award {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-text-invert);
  padding: clamp(4rem, 10vw, 8rem) var(--space);
}

.award__inner {
  width: min(100% - 2 * var(--space), 900px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.award__badge {
  flex: 0 0 auto;
  width: clamp(140px, 20vw, 220px);
}

.award__badge img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.award__heading {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.award__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2.1;
}

@media (max-width: 768px) {
  .award__inner {
    flex-direction: column;
    text-align: center;
  }

  .award__text {
    text-align: left;
  }
}

/* ===== セクション区切り（全幅画像） ===== */
.section-divider {
  width: 100%;
}

.section-divider img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 460px);
  object-fit: cover;
}

/* ===== お知らせ ===== */
/* section. に限定（記事ページの post_class 'news' と衝突させない） */
section.news {
  background-color: #0a0a0a;
  color: var(--color-text-invert);
  padding: clamp(2.5rem, 6vw, 4rem) var(--space);
}

.news__inner {
  width: min(100% - 2 * var(--space), 760px);
  margin-inline: auto;
}

.news__heading {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.2em;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.news__list {
  list-style: none;
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.news__item {
  border-bottom: 1px solid var(--color-line);
}

.news__item a {
  display: block;
  padding: 0.9rem 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news__item a:hover {
  opacity: 0.6;
}

.news__empty,
.products__empty {
  text-align: center;
}

/* ===== 信頼の養殖技術 ===== */
.tech {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-text-invert);
  padding: clamp(4rem, 10vw, 8rem) var(--space);
  border-top: 1px solid var(--color-line);
}

.tech__inner {
  width: min(100% - 2 * var(--space), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.tech__logo {
  flex: 0 0 auto;
  width: clamp(120px, 22vw, 220px);
}

.tech__logo img {
  width: 100%;
  height: auto;
}

.tech__heading {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: 0.15em;
}

.tech__body p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 2.1;
}

.tech__link {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  padding-bottom: 0.15em;
  border-bottom: 1px solid var(--color-line);
  transition: opacity 0.2s ease;
}

.tech__link:hover {
  opacity: 0.65;
}

@media (max-width: 768px) {
  .tech__inner {
    flex-direction: column;
    text-align: center;
  }

  .tech__body p {
    text-align: left;
  }
}

.marquee {
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-inline: calc(-1 * var(--space));
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}

.marquee__item {
  flex: 0 0 auto;
  width: clamp(360px, 42vw, 620px);
}

.marquee__item img {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  object-fit: cover;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== よくある質問 ===== */
.faq {
  background-color: #0a0a0a;
  color: var(--color-text-invert);
  padding: clamp(4rem, 10vw, 8rem) var(--space);
  border-top: 1px solid var(--color-line);
}

.faq__inner {
  width: min(100% - 2 * var(--space), 760px);
  margin-inline: auto;
}

.faq__heading {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.2em;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.faq__item {
  border-bottom: 1px solid var(--color-line);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-line);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  line-height: 1.7;
  transition: opacity 0.2s ease;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  opacity: 0.7;
}

.faq__q::before {
  content: "Q";
  flex: 0 0 auto;
  width: 1.8em;
  height: 1.8em;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  font-size: 0.85em;
  font-weight: 700;
}

.faq__q::after {
  content: "";
  flex: 0 0 auto;
  margin-left: auto;
  width: 0.55em;
  height: 0.55em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
}

.faq__a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 0.25rem 1.75rem;
}

.faq__a::before {
  content: "A";
  flex: 0 0 auto;
  width: 1.8em;
  height: 1.8em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-text-invert);
  color: #111111;
  font-size: 0.85em;
  font-weight: 700;
}

.faq__a p {
  margin: 0;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-muted);
}

/* ===== 会社概要 ===== */
.company {
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-text-invert);
  padding: clamp(4rem, 10vw, 8rem) var(--space);
}

.company__inner {
  width: min(100% - 2 * var(--space), var(--container));
  margin-inline: auto;
}

.company__heading {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.2em;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.company__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.company__name-label {
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-line);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
}

.company__dl {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 1rem 1.5rem;
  margin: 0;
}

.company__dl dt {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.company__dl dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.company__dl dd a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  word-break: break-all;
}

/* ===== 記事ページ — 白背景でシンプルに ===== */
body:not(.has-bg-video) .site-header {
  mix-blend-mode: normal;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

body:not(.has-bg-video) .site-branding__name,
body:not(.has-bg-video) .site-nav__list a {
  color: var(--color-text);
}

body:not(.has-bg-video) .nav-toggle__bar {
  background: var(--color-text);
}

body:not(.has-bg-video) .site-main {
  padding-top: clamp(4.5rem, 8vw, 6rem);
}

.single .container {
  width: min(100% - 2 * var(--space), 760px);
}

.entry-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.entry-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.entry-thumbnail {
  margin-bottom: 2.5rem;
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

.entry-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.entry-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.entry-content img {
  border-radius: 4px;
}

