/* Lubi blog — shared styles for blog/index.html and every post.
   Nav, footer and brand tokens copied from index.html so the blog matches the main site. */

/* ─── BRAND TOKENS ─────────────────────────────── */
:root {
  --amber:    #E1A13F;
  --amber-lt: #EDC987;
  --onyx:     #232323;
  --obsidian: #3D261A;
  --beige:    #FFF5EB;
  --white:    #FFFFFF;
}

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.75;
  color: var(--onyx);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Baloo 2', sans-serif; line-height: 1.2; }

.container       { max-width: 720px;  margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV (as index.html) ───────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(61,38,26,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(225,161,63,0.18);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); margin: 5px 0;
}

/* ─── SHARED LABELS ─────────────────────────────── */
.section-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}

/* ─── BLOG LIST PAGE ────────────────────────────── */
.blog-head {
  background: var(--obsidian);
  padding: 140px 0 72px;
  color: var(--white);
}
.blog-head h1 {
  font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700;
  margin-bottom: 12px;
}
.blog-head .strap {
  font-family: 'Gochi Hand', cursive;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--amber);
}
.post-list { background: var(--beige); padding: 64px 0 88px; }
.post-card {
  display: grid; grid-template-columns: 2fr 3fr;
  background: var(--white); border-radius: 6px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(61,38,26,0.08);
  margin-bottom: 28px; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover { box-shadow: 0 6px 24px rgba(61,38,26,0.16); transform: translateY(-2px); }
.post-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.post-card-body { padding: 28px 32px; }
.post-card-date {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 6px;
}
.post-card h2 { font-size: 1.6rem; color: var(--obsidian); margin-bottom: 10px; }
.post-card p { font-size: 0.96rem; line-height: 1.75; color: #4a3f38; margin-bottom: 14px; }
.post-card .read-more {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--obsidian);
}

/* ─── POST PAGE ─────────────────────────────────── */
.post-hero { position: relative; margin-top: 62px; }
.post-hero img { width: 100%; height: clamp(260px, 46vw, 560px); object-fit: cover; }
.post-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(61,38,26,0) 40%, rgba(61,38,26,0.85));
}
.post-hero-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  max-width: 720px; margin: 0 auto; padding: 0 24px 32px; color: var(--white);
}
.post-hero-text .strap {
  font-family: 'Gochi Hand', cursive; font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--amber);
}
.post-hero-text h1 { font-size: clamp(2.1rem, 5.5vw, 2.9rem); font-weight: 700; }

.post { padding: 40px 0 72px; }
.post .meta { font-size: 0.85rem; color: #7a6e66; margin-bottom: 32px; }
.post p, .post li {
  font-size: clamp(1rem, 1.6vw, 1.06rem);
  line-height: 1.85; color: #3d3530;
}
.post p { margin-bottom: 1.3em; }
.post h2 {
  font-size: 1.6rem; color: var(--obsidian);
  margin: 2.2em 0 0.7em; padding-bottom: 6px;
  border-bottom: 3px solid var(--amber);
}
.post ul { padding-left: 22px; margin-bottom: 1.3em; }
.post li { margin-bottom: 0.9em; }
.post li::marker { color: var(--amber); }
.post strong { color: var(--obsidian); }
.post figure { margin: 28px 0; }
.post figure img { width: 100%; border-radius: 6px; }
.post figcaption { font-size: 0.85rem; line-height: 1.5; color: #7a6e66; margin-top: 8px; }
.post .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.post .pair figure { margin: 0; }
.post .pair img { height: 300px; object-fit: cover; }
.post .pair.tall img { height: 380px; }
.post .float-r { float: right; width: 42%; margin: 6px 0 14px 24px; }
.post .clear { clear: both; }
.post .signoff {
  font-family: 'Gochi Hand', cursive; font-size: 1.6rem; line-height: 1.4;
  color: var(--obsidian); margin-top: 36px;
}
.post-nav {
  border-top: 1px solid rgba(61,38,26,0.12); margin-top: 48px; padding-top: 24px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.post-nav a { color: var(--obsidian); }
.post-nav a:hover { color: var(--amber); }

/* ─── FOOTER (as index.html) ────────────────────── */
footer {
  background: var(--obsidian);
  padding: 60px 24px 36px; text-align: center;
}
.footer-logo { height: 40px; width: auto; margin: 0 auto 10px; }
.footer-links {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 24px;
  list-style: none; margin-bottom: 28px;
}
.footer-links a {
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-rule {
  width: 36px; height: 1px;
  background: rgba(225,161,63,0.25);
  margin: 0 auto 24px;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); line-height: 1.7; }
.footer-copy a { color: rgba(255,255,255,0.2); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 700px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card img { height: 220px; }
  .post-card-body { padding: 22px 22px 26px; }
  .post .pair { grid-template-columns: 1fr; }
  .post .pair img, .post .pair.tall img { height: auto; max-height: 460px; }
  .post .float-r { float: none; width: 100%; margin: 28px 0; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 62px; left: 0; right: 0;
    background: rgba(61,38,26,0.98);
    padding: 20px 24px; gap: 18px;
    border-top: 1px solid rgba(225,161,63,0.15);
  }
  .nav-toggle { display: block; }
}
