/* Blog pages: uses the site tokens from style.css (--bg, --gold, --text…). */
.blog-page { background: var(--bg); color: var(--text); }

.blog-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  max-width: 1100px; margin: 0 auto; padding: 14px 16px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.blog-nav .logo { text-decoration: none; }
.blog-nav nav { display: flex; align-items: center; gap: 14px; }
.blog-nav nav a { color: var(--text-mid); text-decoration: none; font-size: 14px; }
.blog-nav .blog-nav-cta { color: #111; background: var(--gold); padding: 8px 14px; border-radius: 999px; font-weight: 600; }

.blog-tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 3px 10px;
}
.blog-meta { color: var(--text-dim); font-size: 13px; }

/* Index */
.blog-home { max-width: 1100px; margin: 0 auto; padding: 32px 16px 64px; }
.blog-hero { text-align: center; padding: 24px 0 8px; }
.blog-hero h1 { font-family: "Playfair Display", serif; font-size: clamp(32px, 7vw, 52px); margin: 0 0 10px; }
.blog-hero p { color: var(--text-mid); max-width: 620px; margin: 0 auto 18px; line-height: 1.6; }
.blog-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.blog-chips a { color: var(--text); text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.blog-section { margin-top: 44px; }
.blog-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.blog-section-head h2 { font-family: "Playfair Display", serif; font-size: 26px; margin: 0; }
.blog-section-head a { color: var(--gold); text-decoration: none; font-size: 14px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.blog-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.blog-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.blog-card-img img { display: block; width: 100%; height: 170px; object-fit: cover; }
.blog-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-body h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.blog-card-body p { color: var(--text-mid); font-size: 14px; line-height: 1.5; margin: 0; flex: 1; }

/* Post */
.post { max-width: 780px; margin: 0 auto; padding: 20px 16px 64px; }
.post-crumbs { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; }
.post-crumbs a { color: var(--text-mid); text-decoration: none; }
.post-head h1 { font-family: "Playfair Display", serif; font-size: clamp(28px, 6vw, 42px); line-height: 1.2; margin: 12px 0; }
.post-lead { font-size: 18px; line-height: 1.6; color: var(--text-mid); margin: 0 0 10px; }
.post-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin: 22px 0 8px; }
.post-body { line-height: 1.75; font-size: 16px; }
.post-body h2 { font-family: "Playfair Display", serif; font-size: 24px; color: var(--gold); margin: 36px 0 12px; }
.post-body p, .post-body li { color: var(--text-mid); }
.post-body strong { color: var(--text); }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { margin: 6px 0; }

.post-body table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14.5px; background: var(--bg2); border-radius: 12px; overflow: hidden; }
.post-body th, .post-body td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-mid); }
.post-body th { color: var(--text); background: var(--bg3); font-weight: 600; }
.post-body tr:last-child td { border-bottom: 0; }

.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.post-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; }
.post-card strong { display: block; margin: 6px 0 4px; }
.post-card p { font-size: 13.5px; line-height: 1.45; margin: 0; }

/* Face-shape icons drawn in CSS. */
.post-shape { display: block; margin: 0 auto; width: 44px; height: 56px; border: 2.5px solid var(--gold); background: rgba(201, 168, 76, .08); }
.shape-oval { border-radius: 50% / 45%; }
.shape-round { width: 52px; height: 52px; border-radius: 50%; }
.shape-square { width: 50px; height: 52px; border-radius: 10px; }
.shape-long { width: 38px; height: 62px; border-radius: 18px; }
.shape-heart { border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; }

.post-steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.post-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px dashed var(--border); }
.post-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 9px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #111;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}

.post-checklist { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 20px; }
.post-checklist label { display: flex; gap: 12px; align-items: flex-start; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--text-mid); }
.post-checklist span { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(201, 168, 76, .15); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 13px; }

.post-tip { margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--bg2); border-radius: 0 12px 12px 0; color: var(--text-mid); }

.post-faq details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin: 10px 0; background: var(--bg2); }
.post-faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.post-faq details p { margin: 10px 0 0; }

.post-cta { margin: 40px 0; padding: 24px; border-radius: 18px; border: 1px solid var(--gold); background: var(--bg2); text-align: center; }
.post-cta h2 { font-family: "Playfair Display", serif; margin: 0 0 8px; }
.post-cta p { color: var(--text-mid); margin: 0 0 16px; line-height: 1.6; }
.post-cta .btn-primary { display: inline-flex; text-decoration: none; justify-content: center; }
.post-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.post-cities a { font-size: 13px; color: var(--text-mid); text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }
.post-related h2 { font-family: "Playfair Display", serif; font-size: 24px; }

@media (max-width: 640px) {
  .blog-nav nav a:not(.blog-nav-cta) { display: none; }
  .post-body table, .post-body thead, .post-body tbody, .post-body tr, .post-body th, .post-body td { display: block; }
  .post-body thead { display: none; }
  .post-body tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  .post-body td { border: 0; padding: 3px 12px; }
  .post-body td:first-child { color: var(--text); font-weight: 600; padding-top: 8px; }
}
.blog-card-body .blog-tag { align-self: flex-start; }
