/* Travel Guide — Yoldaş Rent a Car */
:root {
  --guide-ink: #1a1a1a;
  --guide-muted: #5c5c5c;
  --guide-surface: #faf7f5;
  --guide-card: #ffffff;
  --guide-line: rgba(26, 26, 26, 0.08);
  --guide-accent: var(--red, #e4002b);
  --guide-accent-dark: var(--red-dark, #b80022);
  --guide-wash: linear-gradient(165deg, #fff5f6 0%, #f7f3ef 42%, #eef2f4 100%);
}

.guides-page {
  background: var(--guide-wash);
  min-height: 50vh;
  color: var(--guide-ink);
  font-family: var(--font, "Montserrat", "Segoe UI", system-ui, sans-serif);
}

.guides-hero {
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--guide-line);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(228, 0, 43, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(26, 26, 26, 0.04), transparent 50%);
}

.guides-hero__inner { max-width: 920px; }

.guides-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--guide-ink);
}

.guides-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--guide-muted);
  max-width: 42rem;
}

.guides-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--guide-muted);
}

.guides-breadcrumb a {
  color: var(--guide-muted);
  text-decoration: none;
}

.guides-breadcrumb a:hover { color: var(--guide-accent); }

.guides-breadcrumb__sep {
  opacity: 0.45;
  font-weight: 400;
  user-select: none;
}

.guides-breadcrumb [aria-current="page"] {
  color: var(--guide-ink);
}

.guides-layout {
  padding: 1.75rem 0 3.5rem;
}

.guides-layout__inner {
  display: grid;
  gap: 2rem;
}

.guide-article {
  max-width: 780px;
}

.guide-article__intro {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--guide-ink);
  margin: 0 0 1.5rem;
}

.guide-article h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.guide-section {
  margin: 0 0 1.65rem;
}

.guide-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--guide-ink);
  border-left: 3px solid var(--guide-accent);
  padding-left: 0.65rem;
}

.guide-section p,
.guide-section li {
  line-height: 1.65;
  color: #333;
}

.guide-section p { margin: 0 0 0.85rem; }

.guide-section ul,
.guide-section ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.guide-section a { font-weight: 600; }

.guide-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.92rem;
  background: var(--guide-card);
  border: 1px solid var(--guide-line);
}

.guide-section th,
.guide-section td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--guide-line);
  vertical-align: top;
}

.guide-section th {
  background: rgba(228, 0, 43, 0.06);
  font-weight: 700;
  width: 38%;
}

/* Route facts */
.route-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.route-facts__item {
  background: var(--guide-card);
  border: 1px solid var(--guide-line);
  padding: 0.75rem 0.85rem;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.04);
}

.route-facts__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--guide-accent-dark);
  margin-bottom: 0.25rem;
}

.route-facts__value {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--guide-ink);
}

/* Hub category cards */
.guides-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
}

.guide-section__body {
  margin: 0;
}

.guide-lang {
  display: none;
}
.guide-lang.is-active,
.guide-lang:not([hidden]) {
  display: block;
}
.guide-lang[hidden] {
  display: none !important;
}

.guides-cat-card {
  display: block;
  background: var(--guide-card);
  border: 1px solid var(--guide-line);
  padding: 1.15rem 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.04);
}

.guides-cat-card:hover {
  border-color: rgba(228, 0, 43, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.08);
  text-decoration: none;
  color: inherit;
}

.guides-cat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
  background: rgba(228, 0, 43, 0.08);
  color: var(--guide-accent-dark);
  font-weight: 800;
}

.guides-cat-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--guide-ink);
}

.guides-cat-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--guide-muted);
}

.guides-hub-block {
  margin: 0 0 2.75rem;
}

.guides-hub-block h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--guide-ink);
}

.guides-hub-block__blurb {
  margin: 0 0 1rem;
  color: var(--guide-muted);
  font-size: 0.95rem;
}

.guides-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.guides-article-list a {
  display: block;
  background: var(--guide-card);
  border: 1px solid var(--guide-line);
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.guides-article-list a:hover {
  border-color: rgba(228, 0, 43, 0.4);
  text-decoration: none;
}

.guides-article-list strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--guide-ink);
  margin-bottom: 0.2rem;
}

.guides-article-list span {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--guide-muted);
}

/* Related */
.guide-related {
  margin: 2rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--guide-line);
}

.guide-related h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 750;
}

.guide-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.guide-related a {
  font-weight: 600;
  text-decoration: none;
}

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

/* Cars CTA */
.guide-cars-cta {
  margin: 2rem 0;
  padding: 1.35rem 1.25rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(228, 0, 43, 0.06), rgba(255, 255, 255, 0.9)),
    var(--guide-card);
  border: 1px solid var(--guide-line);
  border-top: 3px solid var(--guide-accent);
}

.guide-cars-cta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.guide-cars-cta__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--guide-muted);
}

.guide-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-car-card {
  display: block;
  background: #fff;
  border: 1px solid var(--guide-line);
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.guide-car-card:hover {
  border-color: var(--guide-accent);
  box-shadow: 0 6px 16px rgba(228, 0, 43, 0.1);
  text-decoration: none;
  color: inherit;
}

.guide-car-card__name {
  display: block;
  font-weight: 750;
  color: var(--guide-accent-dark);
  margin-bottom: 0.35rem;
}

.guide-car-card__reason {
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--guide-muted);
}

.guide-wa-cta {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.15rem;
  background: #0b3d2e;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.guide-wa-cta p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  flex: 1 1 200px;
}

.guide-wa-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25d366;
  color: #0b1f14;
  font-weight: 750;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  white-space: nowrap;
}

.guide-wa-cta a:hover {
  filter: brightness(1.05);
  text-decoration: none;
  color: #0b1f14;
}

.main-nav a.is-active-guides {
  color: var(--guide-accent);
}

@media (max-width: 640px) {
  .guides-hero { padding: 1.5rem 0 1.15rem; }
  .guides-hub-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .route-facts { grid-template-columns: 1fr 1fr; }
  .guide-cars-cta { padding: 1.1rem; }
  .guide-wa-cta { padding: 1rem; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .guides-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
