/* ===== Typography ===== */
body {
  font-family: 'Noto Serif JP', 'Georgia', 'Yu Mincho', '游明朝', serif;
  color: #2c2c2c;
  background-color: #fdf9f5;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

/* ===== Header Hero ===== */
header {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

header h1 {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Yu Mincho', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
  line-height: 1.5;
}

header h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  opacity: 0.88;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
}

/* hero inner div: gradient overlay */
header > div:first-child {
  flex: 1;
  background: linear-gradient(
    160deg,
    rgba(15, 10, 5, 0.30) 0%,
    rgba(15, 10, 5, 0.55) 60%,
    rgba(15, 10, 5, 0.72) 100%
  ) !important;
}

/* header without image: elegant dark gradient */
header:not([style]) > div:first-child,
header[style=""] > div:first-child {
  background: linear-gradient(
    135deg,
    #1a1008 0%,
    #2d1f10 40%,
    #1a130a 100%
  ) !important;
}

/* ===== Navigation ===== */
nav {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav a, nav span {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.7;
}

/* ===== Body / Content ===== */
.bg-near-white {
  background-color: #fdf9f5;
}

article.cf {
  max-width: 740px;
  padding: 3rem 2rem 4rem;
}

article h1 {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.04em;
  color: #4a3728;
  border-bottom: 1px solid #e0d2c4;
  padding-bottom: 0.7rem;
  margin-bottom: 1.6rem;
  margin-top: 0;
}

article h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #5a3e2b;
  letter-spacing: 0.06em;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  padding-left: 0.75rem;
  border-left: 3px solid #c9a96e;
}

article h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #5a4535;
  letter-spacing: 0.05em;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

article p {
  font-size: 0.97rem;
  line-height: 2.1;
  color: #363030;
  margin-bottom: 1.4rem;
}

article ul {
  padding-left: 1.2em;
}

article ul li {
  line-height: 2.1;
  color: #363030;
  margin-bottom: 0.3rem;
}

article ul li::marker {
  color: #c9a96e;
}

article strong {
  color: #4a3728;
  font-weight: 700;
}

/* ===== Links ===== */
.nested-links a {
  color: #7a4f2d;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.5);
  transition: color 0.2s, border-color 0.2s;
}

.nested-links a:hover {
  color: #c9a96e;
  border-bottom-color: #c9a96e;
}

/* ===== "Read more" button ===== */
a.bg-light-gray.link {
  background: transparent !important;
  border: 1px solid #c9a96e !important;
  color: #8b5e3c !important;
  border-radius: 2px !important;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  padding: 0.45rem 1.2rem !important;
  font-family: 'Noto Serif JP', serif;
  transition: background 0.2s, color 0.2s;
}

a.bg-light-gray.link:hover {
  background: #c9a96e !important;
  color: #fff !important;
  border-color: #c9a96e !important;
}

/* ===== Article cards (recent posts) ===== */
.w-100.mb4.relative {
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(60,40,20,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid #f0e6db;
}

.w-100.mb4.relative:hover {
  box-shadow: 0 6px 28px rgba(60,40,20,0.12);
  transform: translateY(-3px);
}

.w-100.mb4.relative a {
  color: #2c2c2c;
  text-decoration: none;
}

.w-100.mb4.relative a:hover {
  color: #8b5e3c;
}

/* ===== Footer ===== */
footer {
  background-color: #1e1510 !important;
  color: #b8a898 !important;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 2.5rem 1.5rem !important;
}

footer a {
  color: #c9a96e !important;
  border-bottom: 1px solid rgba(201,169,110,0.3) !important;
  text-decoration: none;
}

footer a:hover {
  color: #e8c98e !important;
}

/* ===== Gold divider accent ===== */
main::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, #c9a96e, #e8c9a0, #c9a96e);
  margin: 2.5rem auto 0;
}

/* ===== Images ===== */
article img {
  border-radius: 3px;
  box-shadow: 0 4px 24px rgba(60,40,20,0.13);
  max-width: 100%;
  height: auto;
}

/* ===== Horizontal rules ===== */
article hr {
  border: none;
  border-top: 1px solid #e8ddd4;
  margin: 2rem 0;
}
