:root {
  --g-accent: #a85a1a;
  --g-accent-dark: #14271c;
  --g-heading: #14271c;
  --g-ink: #1c241f;
  --g-soft: #f2ebdd;
  --g-line: #e6dcc6;
  --g-footer: #0f1e16;
  --g-font-head: Bitter, serif;
  --g-font-body: Montserrat, sans-serif;
  --g-radius: 4px;
  --g-radius-lg: 6px;
}
/* guide.css — podstrony przewodnika (treść SEO). Kolory i kroje z :root strony. */

.guide {
  /* Neutralizuje układ strony głównej (np. lewy pasek menu Pod Sosnami). */
  height: auto;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--g-ink);
  font-family: var(--g-font-body);
  font-size: 17px;
  line-height: 1.7;
}

body.guide {
  padding-left: 0;
  background-color: #fff;
}

.guide *,
.guide *::before,
.guide *::after {
  box-sizing: border-box;
}

.guide img {
  max-width: 100%;
  height: auto;
}

.guide a {
  color: var(--g-accent-dark);
}

/* Pasek górny */
.guide-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

.guide-logo img {
  display: block;
  width: auto;
  height: 52px;
}

.guide-header-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  font-family: var(--g-font-head);
  font-weight: 700;
}

.guide-header-nav a {
  text-decoration: none;
}

.guide-header-nav a:hover {
  text-decoration: underline;
}

.guide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--g-radius);
  background: var(--g-accent);
  color: #fff !important;
  font-family: var(--g-font-head);
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.guide-cta:hover {
  background: var(--g-accent-dark);
}

/* Nagłówek ze zdjęciem */
.guide-hero {
  position: relative;
  display: grid;
  min-height: min(62vh, 560px);
  align-items: end;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 6vw, 72px);
  background: var(--g-accent-dark) center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.68));
}

.guide-hero h1 {
  max-width: 900px;
  margin: 0 0 12px;
  font-family: var(--g-font-head);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
}

.guide-hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
}

/* Okruszki */
.guide-breadcrumbs {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 14px;
}

.guide-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-breadcrumbs li + li::before {
  content: '›';
  margin-right: 6px;
  opacity: 0.6;
}

/* Treść */
.guide-article {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 20px 40px;
}

.guide-article h2 {
  margin: 48px 0 12px;
  color: var(--g-heading);
  font-family: var(--g-font-head);
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.2;
}

.guide-article h3 {
  margin: 28px 0 8px;
  color: var(--g-heading);
  font-family: var(--g-font-head);
  font-size: 21px;
  line-height: 1.3;
}

.guide-article p,
.guide-article li {
  max-width: 72ch;
}

.guide-lead {
  font-size: 19px;
}

.guide-figure {
  margin: 28px 0;
}

.guide-figure img {
  display: block;
  width: 100%;
  border-radius: var(--g-radius-lg);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.guide-figure figcaption {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.75;
}

.guide-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.guide-facts li {
  padding: 16px 18px;
  border-radius: var(--g-radius-lg);
  background: var(--g-soft);
}

.guide-facts strong {
  display: block;
  color: var(--g-heading);
  font-family: var(--g-font-head);
  font-size: 22px;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.guide-table caption {
  margin-bottom: 8px;
  text-align: left;
  font-weight: 700;
}

.guide-table th,
.guide-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--g-line);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  background: var(--g-soft);
  font-family: var(--g-font-head);
}

.guide-table td:nth-child(n + 2) {
  white-space: nowrap;
}

.guide-note {
  font-size: 14px;
  opacity: 0.75;
}

.guide-box {
  margin: 40px 0;
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--g-radius-lg);
  background: var(--g-accent-dark);
  color: #fff;
}

.guide-box h2 {
  margin-top: 0;
  color: #fff;
}

.guide-box a:not(.guide-cta) {
  color: #fff;
}

.guide-box .guide-cta {
  margin: 8px 10px 0 0;
  background: #fff;
  color: var(--g-accent-dark) !important;
}

.guide-faq details {
  border-bottom: 1px solid var(--g-line);
}

.guide-faq summary {
  padding: 16px 0;
  color: var(--g-heading);
  font-family: var(--g-font-head);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
}

.guide-faq details p {
  margin-top: 0;
}

.guide-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.guide-related a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-lg);
  font-family: var(--g-font-head);
  font-weight: 700;
  text-decoration: none;
}

.guide-related a:hover {
  border-color: var(--g-accent);
}

.guide-related span {
  display: block;
  margin-top: 4px;
  color: var(--g-ink);
  font-family: var(--g-font-body);
  font-size: 15px;
  font-weight: 400;
}

/* Stopka */
.guide-footer {
  padding: 40px clamp(16px, 6vw, 72px);
  background: var(--g-footer);
  color: #fff;
  font-size: 15px;
}

.guide-footer a {
  color: #fff;
}

.guide-footer-inner {
  display: grid;
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.guide-footer h2 {
  margin: 0 0 8px;
  font-family: var(--g-font-head);
  font-size: 18px;
}

.guide-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-footer .cookies-links {
  max-width: 1100px;
  margin: 24px auto 0;
}

@media (max-width: 600px) {
  .guide-header-nav .guide-home-link {
    display: none;
  }

  .guide-logo img {
    height: 42px;
  }

  .guide-cta {
    padding: 9px 14px;
  }
}

/* Style strony głównej (np. nagłówki h3 wersalikami, drobny tekst akapitów) nie dotyczą przewodnika. */
.guide-article p,
.guide-article li {
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
}

.guide-article .guide-lead {
  font-size: 19px;
}

.guide-article h3 {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
}

@media (max-width: 600px) {
  .guide-article p,
  .guide-article li {
    font-size: 16px;
  }
}

/* Mapa okolicy (SVG z danych OpenStreetMap, tools/build_map.py). */
.guide-map {
  margin: 1.5em 0 1em;
}

.guide-map img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius-lg);
}

.guide-map figcaption {
  margin-top: 0.5em;
  color: #5d6b62;
  font-size: 0.85em;
}

.guide-map-links {
  font-size: 0.95em;
}

/* Wersje językowe w stopce podstron. */
.guide-languages {
  margin-top: 1em;
  font-size: 0.95em;
}
