/* Travel Guides / blog index — scoped under #page */

#page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#page .blog-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(108px, 16vh, 160px) 24px clamp(36px, 5vh, 56px);
  text-align: left;
}

#page .blog-breadcrumbs {
  margin: 0 0 22px;
}

#page .blog-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--site-font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--fg-muted);
}

#page .blog-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#page .blog-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--fg-dim);
}

#page .blog-breadcrumbs a {
  color: var(--fg-muted);
  text-decoration: none;
}

#page .blog-breadcrumbs a:hover,
#page .blog-breadcrumbs a:focus-visible {
  color: var(--accent);
}

#page .blog-breadcrumbs a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

#page .blog-breadcrumbs a[aria-current="page"] {
  color: var(--fg);
}

#page .blog-hero .eyebrow {
  display: block;
  margin-bottom: 12px;
}

#page .blog-hero h1 {
  font-family: var(--site-font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--fg);
  max-width: 16ch;
}

#page .blog-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--fg-muted);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
}

#page .blog-guides {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px clamp(64px, 10vh, 120px);
  overflow-x: clip;
}

#page .blog-widget-frame {
  min-height: 420px;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: clamp(16px, 3vw, 28px);
  box-sizing: border-box;
  overflow-x: auto;
}

#page #soro-blog {
  width: 100%;
  max-width: 100%;
  min-height: 360px;
}

#page #soro-blog iframe,
#page #soro-blog img,
#page #soro-blog video {
  max-width: 100%;
}

#page .blog-noscript {
  margin: 24px 0 0;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--fg-muted);
  line-height: 1.6;
}

#page .blog-noscript a {
  color: var(--accent);
}

@media (max-width: 520px) {
  #page .blog-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  #page .blog-guides {
    padding-left: 18px;
    padding-right: 18px;
  }

  #page .blog-widget-frame {
    min-height: 320px;
    padding: 14px;
    border-radius: 12px;
  }

  #page #soro-blog {
    min-height: 280px;
  }
}

/* Dark-mode Soro widget contrast — inspected vendor colours are light-theme only.
   Site dark selector: html[data-theme="dark"] (set by js/app.js). */
html[data-theme="dark"] #soro-blog .soro-blog {
  color: #f3ecd9;
  background: transparent;
}

html[data-theme="dark"] #soro-blog .soro-blog a {
  color: inherit;
}

html[data-theme="dark"] #soro-blog .soro-blog a.soro-blog-back {
  color: rgba(243, 236, 217, 0.82);
  border-color: rgba(243, 236, 217, 0.22);
  background: transparent;
}

html[data-theme="dark"] #soro-blog .soro-blog a.soro-blog-back:hover {
  color: #f3ecd9;
  background: rgba(243, 236, 217, 0.06);
  border-color: rgba(212, 163, 58, 0.45);
}

html[data-theme="dark"] #soro-blog .soro-blog a.soro-blog-back:focus-visible {
  color: #f3ecd9;
  outline: 2px solid #d4a33a;
  outline-offset: 3px;
  border-color: #d4a33a;
}

html[data-theme="dark"] #soro-blog .soro-blog a.soro-blog-back svg {
  color: inherit;
  stroke: currentColor;
}

html[data-theme="dark"] #soro-blog .soro-blog-card {
  color: #f3ecd9;
  background: #1a211c;
  border-color: rgba(243, 236, 217, 0.18);
}

html[data-theme="dark"] #soro-blog .soro-blog-card:hover {
  border-color: rgba(212, 163, 58, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] #soro-blog .soro-blog-card:focus-visible {
  outline: 2px solid #d4a33a;
  outline-offset: 3px;
  border-color: #d4a33a;
}

html[data-theme="dark"] #soro-blog .soro-blog-card-title {
  color: #f3ecd9;
}

html[data-theme="dark"] #soro-blog .soro-blog-card-excerpt {
  color: rgba(243, 236, 217, 0.78);
}

html[data-theme="dark"] #soro-blog .soro-blog-card-date,
html[data-theme="dark"] #soro-blog .soro-blog-article-date {
  color: rgba(243, 236, 217, 0.72);
}

html[data-theme="dark"] #soro-blog .soro-blog-article-title,
html[data-theme="dark"] #soro-blog .soro-blog-article-content,
html[data-theme="dark"] #soro-blog .soro-blog-article-content h1,
html[data-theme="dark"] #soro-blog .soro-blog-article-content h2,
html[data-theme="dark"] #soro-blog .soro-blog-article-content h3,
html[data-theme="dark"] #soro-blog .soro-blog-article-content h4,
html[data-theme="dark"] #soro-blog .soro-blog-article-content h5,
html[data-theme="dark"] #soro-blog .soro-blog-article-content h6 {
  color: #f3ecd9;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content p,
html[data-theme="dark"] #soro-blog .soro-blog-article-content li,
html[data-theme="dark"] #soro-blog .soro-blog-article-content td,
html[data-theme="dark"] #soro-blog .soro-blog-article-content th,
html[data-theme="dark"] #soro-blog .soro-blog-article-content figcaption,
html[data-theme="dark"] #soro-blog .soro-blog-article-content caption {
  color: rgba(243, 236, 217, 0.88);
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content a {
  color: #d4a33a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content a:hover,
html[data-theme="dark"] #soro-blog .soro-blog-article-content a:focus-visible {
  color: #e6c069;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content a:focus-visible {
  outline: 2px solid #d4a33a;
  outline-offset: 3px;
  border-radius: 2px;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content blockquote {
  color: rgba(243, 236, 217, 0.82);
  border-left: 3px solid rgba(212, 163, 58, 0.55);
  background: rgba(243, 236, 217, 0.04);
  padding: 12px 16px;
  margin: 20px 0;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content table {
  border-collapse: collapse;
  width: 100%;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content th,
html[data-theme="dark"] #soro-blog .soro-blog-article-content td {
  border: 1px solid rgba(243, 236, 217, 0.18);
  padding: 8px 10px;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content th {
  background: rgba(243, 236, 217, 0.06);
  color: #f3ecd9;
}

html[data-theme="dark"] #soro-blog .soro-blog-article-content hr {
  border: 0;
  border-top: 1px solid rgba(243, 236, 217, 0.18);
}

html[data-theme="dark"] #soro-blog .soro-blog-empty,
html[data-theme="dark"] #soro-blog .soro-blog-loading {
  color: rgba(243, 236, 217, 0.78);
}

html[data-theme="dark"] #soro-blog .soro-blog-spinner {
  border-color: #f3ecd9 rgba(243, 236, 217, 0.22) rgba(243, 236, 217, 0.22);
}
