/* Pù Luông guides — additions on top of blog.css (same look as the Stories blog) */

/* language switch is a pair of links to the translated URL (hreflang pages) */
.lang-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 8px;
  text-transform: none;
}
.lang-links a.active { color: #fff; text-decoration: underline; text-underline-offset: 4px; pointer-events: none; }

.breadcrumb span { color: #8a8a8a; }

/* table of contents */
.guide .toc {
  background: var(--color-white);
  border: 1px solid #e7e3da;
  border-left: 3px solid var(--color-gold);
  border-radius: 6px;
  padding: 22px 26px;
  margin: 0 0 40px;
}
.guide .toc-title {
  font-size: 12px !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 10px !important;
}
.guide .toc ol { margin: 0; padding-left: 20px; }
.guide .toc li { font-size: 15px; line-height: 1.6; margin: 6px 0; }
.guide .toc a { color: var(--color-primary); text-decoration: none; }
.guide .toc a:hover { text-decoration: underline; }

.guide h2 { scroll-margin-top: 90px; }
.guide-body a { color: var(--color-primary); text-decoration: underline; text-decoration-color: rgba(212, 175, 55, 0.7); text-underline-offset: 3px; }
.guide-body a:hover { color: #1f3f2d; text-decoration-color: var(--color-gold); }

/* FAQ */
.guide .faq { margin-top: 48px; scroll-margin-top: 90px; }
.guide .faq-item { border-top: 1px solid #e2ddd2; padding: 18px 0 4px; }
.guide .faq-item:last-child { border-bottom: 1px solid #e2ddd2; }
.guide .faq-item h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}
.guide .faq-item p { font-size: 16px; margin-bottom: 14px; }

/* CTA second button */
.cta-box a.btn + a.btn { margin-left: 10px; }
.cta-box a.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
@media (max-width: 560px) {
  .cta-box a.btn { display: block; margin: 10px auto 0 !important; max-width: 280px; }
}

.related .all-guides { text-align: center; margin-top: 36px; }
.related .all-guides a, .hub-start a {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  color: var(--color-primary); text-decoration: none; border-bottom: 2px solid var(--color-gold); padding-bottom: 6px;
}

/* hub */
.hub-start { margin-top: 26px !important; }
.hub-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin: 30px auto 0; }
.hub-cats a {
  font-size: 13px; color: var(--color-primary); text-decoration: none; background: var(--color-white);
  border: 1px solid #e2ddd2; border-radius: 40px; padding: 8px 16px; transition: border-color .3s ease;
}
.hub-cats a:hover { border-color: var(--color-gold); }
.hub-section { max-width: 1000px; margin: 0 auto; padding: 48px 28px 8px; scroll-margin-top: 80px; }
.hub-section h2 {
  font-family: var(--font-heading); font-size: 30px; font-weight: 500; color: var(--color-primary);
  letter-spacing: .5px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid #e2ddd2; position: relative;
}
.hub-section h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--color-gold); }

.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 48px; }
@media (min-width: 800px) { .guide-list { grid-template-columns: 1fr 1fr; } }
.guide-list li { border-bottom: 1px solid #ebe7de; }
.guide-list a { display: flex; gap: 18px; align-items: baseline; padding: 18px 4px; text-decoration: none; color: inherit; }
.gl-num { font-family: var(--font-heading); font-size: 20px; color: var(--color-gold); min-width: 28px; font-weight: 500; }
.gl-text { display: flex; flex-direction: column; gap: 6px; }
.gl-text strong {
  font-family: var(--font-heading); font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--color-primary);
  transition: color .25s ease;
}
.gl-text span { font-size: 14px; line-height: 1.65; color: #6f6f6f; }
.guide-list a:hover strong { color: #1f3f2d; text-decoration: underline; text-decoration-color: var(--color-gold); text-underline-offset: 4px; }
.hub-section:last-of-type { padding-bottom: 32px; }

/* photo credit for Creative Commons images (required attribution) */
.photo-credit { font-size: 12px; color: #8a8a8a; text-align: right; margin-top: 8px; letter-spacing: .3px; }
.photo-credit a { color: #6b7d70; text-decoration: underline; text-underline-offset: 2px; }
