/* ── Google Fonts: Fraunces (lectura) + Mulish (UI) ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Mulish:wght@400;500;600;700;800&display=swap');

/* ── Navbar (PHP pages) ───────────────────────────────────── */
.pnav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,250,245,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(176,86,58,.12);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  font-family: var(--font-ui, 'Mulish', system-ui, sans-serif);
}
.pnav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px;
}
.pnav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1.12rem; color: #B0563A;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}

/* Hamburguesa — oculta en desktop, visible en mobile (CSS puro) */
.pnav-toggle { display: none; }
.pnav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 9px; border-radius: 10px;
  cursor: pointer; flex-shrink: 0; transition: background .18s;
}
.pnav-burger span {
  display: block; width: 100%; height: 2px; border-radius: 2px;
  background: #B0563A; transition: transform .25s ease, opacity .2s ease;
}
.pnav-burger:hover { background: #EFE7D8; }

.pnav-links {
  display: flex; align-items: center; gap: 2px;
  flex-wrap: wrap; justify-content: flex-end;
}
.pnav-link {
  padding: 8px 13px; border-radius: 8px; font-size: .9rem; font-weight: 500;
  color: #374151; text-decoration: none; transition: all .18s; white-space: nowrap;
}
.pnav-link:hover, .pnav-link.on { background: #EFE7D8; color: #B0563A; }

/* Dropdown 38 flores */
.pnav-drop { position: relative; }
.pnav-drop-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 8px; font-size: .9rem; font-weight: 500;
  color: #374151; cursor: pointer; text-decoration: none; transition: all .18s;
  background: none; border: none; font-family: inherit; white-space: nowrap;
}
.pnav-drop-btn:hover { background: #EFE7D8; color: #B0563A; }
.pnav-drop-btn svg { transition: transform .2s; }
.pnav-drop:hover .pnav-drop-btn svg,
.pnav-drop:focus-within .pnav-drop-btn svg { transform: rotate(180deg); }
.pnav-drop-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,.16);
  border: 1px solid rgba(176,86,58,.12);
  padding: 18px; min-width: 660px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 300;
}
.pnav-drop:hover .pnav-drop-menu,
.pnav-drop:focus-within .pnav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.pnav-drop-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  max-height: 380px; overflow-y: auto;
}
.pnav-flor-link {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 11px; border-radius: 8px; font-size: .82rem; font-weight: 500;
  color: #374151; text-decoration: none; transition: background .15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pnav-flor-link:hover { background: #EFE7D8; color: #B0563A; }
.pnav-drop-footer {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid #E7DECE;
  text-align: center;
}
.pnav-drop-footer a {
  font-size: .85rem; color: #B0563A; font-weight: 600; text-decoration: none;
}
.pnav-drop-footer a:hover { text-decoration: underline; }

/* ── Navbar móvil: panel desplegable con hamburguesa ── */
@media (max-width: 960px) {
  .pnav-burger { display: flex; }
  .pnav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; flex-wrap: nowrap;
    background: #FBF6EE; border-bottom: 1px solid rgba(176,86,58,.15);
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    padding: 12px 16px 20px; max-height: calc(100vh - 64px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .pnav-toggle:checked ~ .pnav-links {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
  }
  .pnav-link, .pnav-drop-btn { width: 100%; font-size: .98rem; padding: 12px 14px; }
  .pnav-drop { width: 100%; }
  .pnav-drop-btn { justify-content: space-between; }
  .pnav-drop-menu {
    position: static; transform: none; opacity: 1; right: auto;
    min-width: 0; width: 100%; box-shadow: none; border: none;
    border-radius: 0; padding: 0; visibility: hidden;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .pnav-drop:focus-within .pnav-drop-menu {
    visibility: visible; max-height: 65vh; overflow-y: auto; padding: 4px 0 8px;
  }
  .pnav-drop-grid { grid-template-columns: repeat(2, 1fr); max-height: none; }
  .pnav-toggle:checked ~ .pnav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pnav-toggle:checked ~ .pnav-burger span:nth-child(2) { opacity: 0; }
  .pnav-toggle:checked ~ .pnav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) {
  .pnav-inner { padding: 0 16px; }
  .pnav-logo { font-size: 1.02rem; }
}

/* ── Shared post/blog/flor styles ─────────────────────────── */
:root {
  --g: #B0563A; --gl: #8AA992; --gp: #EFE7D8;
  --tx: #33291E; --mg: #8A8275; --bd: #E7DECE;
  --r: 10px;
  --font-read: 'Fraunces', Georgia, serif;
  --font-ui:   'Mulish', system-ui, sans-serif;
}

/* ── Layout ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  align-items: start;
}
.post-main  { min-width: 0; }
.post-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 72px; }

/* ── Breadcrumb ── */
.post-bc { display: flex; gap: 5px; align-items: center; font-size: .75rem; color: var(--mg); margin-bottom: 16px; flex-wrap: wrap; }
.post-bc a { color: var(--g); text-decoration: none; }
.post-bc a:hover { text-decoration: underline; }
.post-bc span { color: #D1D5DB; }

/* ── Article header ── */
.post-header { margin-bottom: 24px; }
.post-meta-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.post-cat { padding: 3px 12px; border-radius: 20px; font-size: .72rem; font-weight: 700; text-decoration: none; }
.post-read, .post-views { font-size: .75rem; color: var(--mg); }
.post-title { font-size: 2rem; font-weight: 800; line-height: 1.25; color: var(--tx); margin-bottom: 12px; }
.post-intro { font-size: 1.05rem; color: #374151; line-height: 1.65; margin-bottom: 16px; border-left: 3px solid var(--gl); padding-left: 14px; }
.post-author-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bd); }
.post-author-avatar { font-size: 1.4rem; }
.post-author-name { font-weight: 600; font-size: .85rem; }
.post-author-date { font-size: .72rem; color: var(--mg); }

/* ── Content — tipografía Fraunces para lectura ── */
.post-content {
  font-family: var(--font-read);
  line-height: 1.9;
  font-size: 1.08rem;
  color: #3A322A;
  letter-spacing: .01em;
}
.post-content h1 { font-family: var(--font-ui); font-size: 1.7rem; font-weight: 800; margin: 32px 0 14px; color: var(--g); letter-spacing: -.01em; }
.post-content h2 {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: #33291E;
  padding: 10px 0 10px 14px;
  border-left: 4px solid var(--gl);
  background: linear-gradient(90deg, var(--gp) 0%, transparent 100%);
  border-radius: 0 4px 4px 0;
}
.post-content h3 { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; color: #374151; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 26px; margin-bottom: 18px; }
.post-content li { margin-bottom: 8px; line-height: 1.7; }
.post-content strong { font-weight: 600; color: #111827; }
.post-content em { font-style: italic; color: #374151; }
.post-content blockquote {
  border-left: 4px solid var(--gl);
  background: var(--gp);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: #374151;
}
.post-content blockquote::before { content: '"'; font-size: 2.5rem; color: var(--gl); line-height: 0; vertical-align: -0.5em; margin-right: 6px; }
.post-content a.content-link { color: var(--g); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; font-weight: 500; }
.post-content a.content-link:hover { background: var(--gp); border-radius: 3px; padding: 0 2px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; font-family: var(--font-ui); }
.post-content th { background: var(--gp); padding: 10px 14px; text-align: left; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.post-content td { padding: 10px 14px; border-bottom: 1px solid #F3F4F6; }
.post-content tr:hover td { background: #FAFAFA; }
/* FAQ especial */
.post-content p strong:first-child { color: var(--g); }

/* Post header usa Mulish */
.post-title { font-family: var(--font-ui); }
.post-intro  { font-family: var(--font-read); }

/* ── Gallery ── */
.post-gallery { margin-top: 24px; }
.post-gallery h3 { font-size: .9rem; font-weight: 700; margin-bottom: 10px; color: var(--mg); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.gallery-item { border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }

/* ── Flores mencionadas ── */
.post-flores-box { background: var(--gp); border: 1.5px solid #A7F3D0; border-radius: 12px; padding: 18px; margin-top: 28px; }
.post-flores-title { font-size: .85rem; font-weight: 700; color: var(--g); margin-bottom: 12px; }
.post-flores-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.post-flor-chip { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: .78rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.post-flor-chip:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.post-flor-chip small { font-size: .65rem; opacity: .7; }

/* ── Share ── */
.post-share { display: flex; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--bd); flex-wrap: wrap; font-size: .82rem; color: var(--mg); }
.share-btn { padding: 6px 14px; border-radius: 6px; font-size: .78rem; font-weight: 600; cursor: pointer; border: none; text-decoration: none; }
.share-wa { background: #25D366; color: #fff; }
.share-fb { background: #1877F2; color: #fff; }
.share-copy { background: #F3F4F6; color: #374151; }

/* ── Sidebar cards ── */
.sidebar-card { background: #fff; border-radius: var(--r); padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.07); border: 1px solid var(--bd); }
.sidebar-card-title { font-size: .82rem; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #F3F4F6; color: var(--tx); }
.sidebar-flores { background: var(--gp); border-color: #A7F3D0; }
.sidebar-cta { background: linear-gradient(135deg, var(--g), #1B4332); color: #fff; border-radius: var(--r); padding: 20px; text-align: center; }
.sidebar-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 8px 6px; border-radius: 6px; text-decoration: none; color: inherit; font-size: .82rem; transition: background .15s; }
.sidebar-item:hover { background: #F9FAFB; }
.sidebar-item-title { flex: 1; font-weight: 500; line-height: 1.35; }
.sidebar-item-meta { font-size: .68rem; color: var(--mg); white-space: nowrap; }
.sidebar-cat-item { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; margin-bottom: 4px; border-radius: 0 6px 6px 0; text-decoration: none; font-size: .82rem; color: inherit; background: #FAFAFA; transition: background .15s; }
.sidebar-cat-item:hover { background: #F3F4F6; }
.sidebar-cat-count { background: #E7DECE; color: #8A8275; padding: 2px 8px; border-radius: 12px; font-size: .68rem; font-weight: 700; }
.flor-sidebar-chip { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; margin-bottom: 5px; text-decoration: none; color: inherit; border: 1.5px solid transparent; font-size: .8rem; transition: all .15s; }
.flor-sidebar-chip:hover { transform: translateX(3px); }
.flor-sidebar-chip span { font-weight: 500; }

/* ── Blog hero ── */
.blog-hero { background: linear-gradient(135deg, #1B2438, #B0563A); padding: 56px 24px; text-align: center; }
.blog-hero-inner { max-width: 600px; margin: 0 auto; }
.blog-hero h1 { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.blog-hero p { color: rgba(255,255,255,.75); margin-bottom: 20px; font-size: 1rem; }
.blog-search-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.blog-search-form input { flex: 1; padding: 10px 14px; border-radius: 8px; border: none; font-size: .9rem; }
.blog-search-form button { padding: 10px 18px; background: var(--gl); color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: .9rem; }

/* ── Blog layout ── */
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; max-width: 1100px; margin: 0 auto; padding: 28px 24px; align-items: start; }
.blog-main { min-width: 0; }
.blog-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 72px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.filter-chip { padding: 5px 14px; border-radius: 20px; border: 1.5px solid var(--bd); font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--mg); background: #fff; transition: all .2s; }
.filter-chip:hover, .filter-chip.on { background: var(--g); color: #fff; border-color: var(--g); }
.filter-count { font-size: .65rem; background: rgba(0,0,0,.12); padding: 1px 5px; border-radius: 10px; margin-left: 2px; }
.blog-results-info { font-size: .8rem; color: var(--mg); margin-bottom: 14px; }
.blog-results-info a { color: var(--g); }

/* ── Blog grid ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.07); border: 1px solid var(--bd); display: flex; flex-direction: column; transition: all .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.blog-card-featured { grid-column: 1/-1; display: grid; grid-template-columns: 1.4fr 1fr; }
.blog-card-img-wrap { display: block; overflow: hidden; height: 190px; background: var(--gp); position: relative; }
.blog-card-featured .blog-card-img-wrap { height: 100%; min-height: 220px; }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.04); }
.blog-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--gp); }
.blog-card-featured-badge { position: absolute; top: 10px; left: 10px; background: var(--yw, #F59E0B); color: #fff; padding: 3px 10px; border-radius: 12px; font-size: .68rem; font-weight: 700; }
.blog-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; font-size: .72rem; }
.blog-card-cat { font-weight: 700; text-decoration: none; }
.blog-card-date, .blog-card-rt { color: var(--mg); }
.blog-card-title { font-size: .97rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--g); }
.blog-card-excerpt { font-size: .82rem; color: #5C5346; line-height: 1.55; flex: 1; margin-bottom: 12px; }
.blog-card-link { font-size: .78rem; font-weight: 700; color: var(--g); margin-top: auto; text-decoration: none; }
.blog-card-link:hover { text-decoration: underline; }
.blog-empty { text-align: center; padding: 56px 20px; color: var(--mg); }
.blog-empty div { font-size: 3rem; margin-bottom: 12px; }

/* ── Blog lista (reemplaza grid de cards) ── */
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-list-item {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 0;
  border-bottom: 1px solid #F3F4F6;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.blog-list-item:first-child { border-radius: 12px 12px 0 0; }
.blog-list-item:last-child  { border-radius: 0 0 12px 12px; border-bottom: none; }
.blog-list-item:hover { background: #FAFAFA; }

/* Primer artículo destacado */
.blog-list-featured {
  flex-direction: column;
  border-radius: 12px 12px 0 0 !important;
  border-bottom: 2px solid var(--gl) !important;
}
.blog-list-featured .bli-img-wrap { height: 320px; }
.blog-list-featured .bli-body { padding: 24px; }
.blog-list-featured .bli-title a { font-size: 1.4rem; }
.blog-list-featured .bli-excerpt { font-size: .95rem; -webkit-line-clamp: 4; }

.bli-img-wrap {
  width: 220px;
  min-height: 160px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: var(--gp);
}
.bli-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-list-item:hover .bli-img-wrap img { transform: scale(1.04); }
.bli-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--gp); }
.bli-badge { position: absolute; top: 10px; left: 10px; background: #F59E0B; color: #fff; padding: 3px 10px; border-radius: 12px; font-size: .65rem; font-weight: 700; font-family: var(--font-ui); }

.bli-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bli-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 10px; }
.bli-cat { padding: 2px 10px; border-radius: 20px; font-family: var(--font-ui); font-size: .68rem; font-weight: 700; text-decoration: none; }
.bli-tipo { font-family: var(--font-ui); font-size: .68rem; color: var(--mg); }
.bli-date, .bli-rt { font-family: var(--font-ui); font-size: .7rem; color: var(--mg); }
.bli-title { margin: 0 0 10px; line-height: 1.3; }
.bli-title a { font-family: var(--font-ui); font-size: 1.08rem; font-weight: 700; color: var(--tx); text-decoration: none; }
.bli-title a:hover { color: var(--g); }
.bli-excerpt {
  font-family: var(--font-read);
  font-size: .88rem;
  color: #5C5346;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bli-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bli-autor { font-family: var(--font-ui); font-size: .7rem; color: var(--mg); }
.bli-link { font-family: var(--font-ui); font-size: .78rem; font-weight: 700; color: var(--g); text-decoration: none; white-space: nowrap; }
.bli-link:hover { text-decoration: underline; }

/* ── Pagination ── */
.blog-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-btn { padding: 7px 14px; border-radius: 6px; background: #fff; border: 1.5px solid var(--bd); font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--mg); transition: all .15s; }
.page-btn:hover, .page-btn.on { background: var(--g); color: #fff; border-color: var(--g); }

/* ── Consejo del día ── */
.consejo-dia {
  background: linear-gradient(135deg, #1B2438 0%, #B0563A 100%);
  border-radius: 14px;
  padding: 22px 20px;
  color: #fff;
}
.consejo-label {
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #B4C9BB;
  margin-bottom: 14px;
}
.consejo-quote {
  font-family: var(--font-read);
  font-size: .95rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  margin: 0 0 14px;
  padding: 0;
  border: none;
  background: none;
}
.consejo-quote::before { content: '"'; font-size: 2.2rem; color: #8AA992; line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.consejo-autor {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 600;
  color: #B4C9BB;
  text-align: right;
}

/* ── Sidebar button full ── */
.btn-sidebar-full {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 8px;
  background: var(--g);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-sidebar-full:hover { background: #8F4329; }

/* ── Related articles — lista horizontal ── */
.post-related { background: #F9FAFB; padding: 48px 0; }
.related-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.related-title { font-family: var(--font-ui); font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; color: var(--tx); }
.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-list-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit;
  border: 1px solid var(--bd); transition: all .2s;
  padding: 0;
}
.related-list-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateX(4px); }
.rli-img { width: 140px; min-height: 110px; flex-shrink: 0; overflow: hidden; }
.rli-img img { width: 100%; height: 100%; object-fit: cover; }
.rli-placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: var(--gp); }
.rli-body { padding: 16px 16px 16px 0; flex: 1; }
.rli-cat { font-family: var(--font-ui); font-size: .68rem; font-weight: 700; }
.rli-title { font-family: var(--font-ui); font-size: .97rem; font-weight: 700; line-height: 1.35; margin: 4px 0 6px; color: var(--tx); }
.rli-excerpt { font-family: var(--font-read); font-size: .82rem; color: var(--mg); line-height: 1.55; margin-bottom: 10px; }
.rli-link { font-family: var(--font-ui); font-size: .75rem; font-weight: 700; color: var(--g); }

/* ── Site footer ── */
.site-footer { background: #1B2438; color: rgba(255,255,255,.75); padding: 40px 24px; text-align: center; }
.footer-container { max-width: 800px; margin: 0 auto; }
.footer-logo { font-size: 1.2rem; font-weight: 800; color: #B4C9BB; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; }
.footer-links a:hover { color: #B4C9BB; }

/* ── Responsive ── */
@media(max-width: 860px) {
  .post-layout, .blog-layout { grid-template-columns: 1fr; }
  .post-sidebar, .blog-sidebar { position: static; }
  .post-title { font-size: 1.5rem; }
  .blog-hero h1 { font-size: 1.6rem; }
  .blog-card-featured { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media(max-width: 540px) {
  .post-layout, .blog-layout { padding: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
}
