/* RuseBulgaria theme stylesheet. Light only. */
:root {
  --green: #2F7F3E; /* 05.10.2026: was #3E9B4F, too light for white text (contrast 3.5 → 5.0) */
  --green-dark: #26683A;
  --mint: #F1F8F2;
  --slate: #243040;
  --body: #3A4552;
  --meta: #5F6873;
  --line: #E3E8E4;
  --star: #F5C542;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1200px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--slate); margin: 0; line-height: 1.15; font-weight: 700; }
h2 { font-size: 30px; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
img { display: block; max-width: 100%; height: auto; background: var(--mint); }
svg { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
.sr-only, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; color: #fff; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }

.section { padding: 56px 0; }
.section.mint { background: var(--mint); }
@media (max-width: 767px) { .section { padding: 40px 0; } }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 24px; }
.section-head h2, .section-head h1 { order: 1; }
.section-head .see-all { order: 2; }
.section-head .lead { order: 3; width: 100%; margin: 0; }
.badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  vertical-align: middle;
  position: relative;
  top: -4px;
}
.lead { color: var(--meta); font-size: 17px; }
.see-all { margin-left: auto; font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) {
  h2 { font-size: 25px; }
  .see-all { margin-left: 0; order: 4 !important; width: 100%; }
  .section-head { margin-bottom: 20px; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 2px 10px rgba(36, 48, 64, .08); }
.header-in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}
.logo { display: block; line-height: 1.05; }
.logo:hover { text-decoration: none; }
.logo img { background: none; max-height: 44px; width: auto; }
.logo-name { font-size: 22px; font-weight: 700; color: var(--slate); letter-spacing: -.01em; }
.logo-name span { color: var(--green); }
.logo-tag { display: block; font-size: 13px; color: var(--meta); font-weight: 400; margin-top: 1px; }

.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav a {
  display: block;
  padding: 8px 8px;
  color: var(--body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav a:hover { color: var(--green-dark); background: var(--mint); text-decoration: none; }
.nav .nav-search, .nav a.nav-biz, .nav a.nav-bg, .nav a.nav-bridge { display: none; }

/* bridge pill */
.bridge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 12px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--slate);
  font-size: 13.5px; font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
}
.bridge:hover { text-decoration: none; border-color: var(--green); color: var(--green-dark); }
.bridge svg, .nav-bridge svg { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; }
.bridge-short { display: none; }
@media (max-width: 1100px) { .bridge-long { display: none; } .bridge-short { display: inline; } }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-weight: 700; font-size: 14.5px;
  white-space: nowrap;
  background: #fff;
}
.btn-outline:hover { background: var(--mint); color: var(--green-dark); border-color: var(--green-dark); text-decoration: none; }

.lang { display: flex; align-items: center; }
.lang .flag { display: inline-flex; padding: 6px 4px; border-radius: 6px; line-height: 0; }
.lang .flag svg { display: block; width: 26px; height: 17px; }
.lang .flag:hover, .lang .flag:focus-visible { background: var(--mint); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--slate);
  align-items: center; justify-content: center;
}
.burger svg { width: 22px; height: 22px; }
.burger .ico-close { display: none; }
.burger[aria-expanded="true"] .ico-open { display: none; }
.burger[aria-expanded="true"] .ico-close { display: block; }

.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(36, 48, 64, .25);
  z-index: 45;
}
body.menu-open .nav-backdrop { display: block; }

@media (max-width: 1023px) {
  .header-in { gap: 12px; height: 62px; }
  .bridge, .biz-desktop { display: none; }
  .header-right { gap: 10px; }
  .nav {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 62px;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(36, 48, 64, .18);
  }
  body.admin-bar .nav { top: 108px; max-height: calc(100vh - 108px); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; }
  .nav .nav-search {
    display: flex; gap: 6px;
    margin: 0 0 10px;
  }
  .nav-search input {
    flex: 1 1 auto; min-width: 0;
    height: 44px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 10px;
    font: inherit; font-size: 16px; color: var(--slate); background: #fff;
  }
  .nav-search input::placeholder { color: var(--meta); }
  .nav-search button {
    flex: 0 0 44px; width: 44px; height: 44px;
    border: 0; border-radius: 10px;
    background: var(--green); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .nav-search button:hover { background: var(--green-dark); }
  .nav-search button svg { width: 20px; height: 20px; }
  .nav a.nav-bridge {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 600; color: var(--slate);
    padding: 10px 10px 12px;
  }
  .nav a.nav-biz {
    display: flex;
    height: 44px; margin: 14px 0 4px;
    padding: 0 16px;
    border: 1.5px solid var(--green);
    border-radius: 999px;
    color: var(--green); font-weight: 700; font-size: 16px;
    align-items: center; justify-content: center;
  }
  .nav a.nav-biz:hover { background: var(--mint); }
  .nav a.nav-bg {
    display: block;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    color: var(--meta); font-weight: 400; font-size: 16px;
  }
  .burger { display: inline-flex; }
  .logo-name { font-size: 20px; }
  .logo-tag { font-size: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--mint);
}
.hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top, #fff 0%, rgba(255,255,255,.55) 35%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 24px;
}
.hero-text {
  display: inline-block;
  align-self: flex-start;
  color: #fff;
  padding: 22px 26px 22px;
  margin-left: -26px;
  border-radius: 16px;
  background: radial-gradient(ellipse at 30% 50%, rgba(20, 28, 38, .48) 0%, rgba(20, 28, 38, .34) 55%, rgba(20, 28, 38, 0) 100%);
}
.hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.015em;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.hero-sub {
  font-size: 21px;
  font-weight: 400;
  margin-top: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  max-width: 640px;
}

.search {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  max-width: 860px;
  margin-top: 24px;
  box-shadow: 0 6px 24px rgba(36, 48, 64, .18);
}
.search-input { position: relative; flex: 1 1 auto; }
.search-input svg {
  position: absolute; left: 14px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  color: var(--meta);
  pointer-events: none;
}
.search input, .search select {
  width: 100%;
  height: 50px;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 10px;
  font: inherit;
  font-size: 17px;
  color: var(--slate);
}
.search input { padding: 0 14px 0 44px; }
.search input::placeholder { color: var(--meta); }
.search input:hover, .search select:hover { background: #f7faf7; }
.search select {
  flex: 0 0 210px;
  width: 210px;
  padding: 0 40px 0 14px;
  appearance: none;
  -webkit-appearance: none;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7580' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  border: 0;
  border-radius: 10px;
  white-space: nowrap;
  transition: background .15s;
}
.btn:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn.ghost { background: #fff; color: var(--green); border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--mint); color: var(--green-dark); }
.btn.small { height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- The four answers (hero on desktop, under the photo on phones) ---------- */
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; max-width: 980px; }
.act {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--slate);
  box-shadow: 0 4px 16px rgba(36, 48, 64, .16);
  transition: transform .15s, box-shadow .15s;
  min-width: 0;
}
.act:hover { text-decoration: none; color: var(--slate); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(36, 48, 64, .22); }
.act .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--mint); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.act .ic svg { width: 24px; height: 24px; }
.act b { display: block; font-weight: 700; font-size: 16px; line-height: 1.2; }
.act small { display: block; font-size: 13px; color: var(--meta); line-height: 1.25; margin-top: 2px; }
.acts-mobile { display: none; }
@media (max-width: 1023px) {
  .hero h1 { font-size: 40px; }
  .acts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero { height: 300px; }
  .hero > img { object-position: 60% 40%; }
  .hero-in { justify-content: center; padding-top: 0; }
  .hero-text { padding: 14px 16px; margin-left: -16px; border-radius: 12px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; margin-top: 6px; }
  .acts { display: none; }
  .acts-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px var(--gutter) 4px; }
  .acts-mobile .act { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; box-shadow: none; border: 1px solid var(--line); }
  .acts-mobile .act b { font-size: 15px; }
}

/* ---------- Travel notice (bridge status from the Podul page) ---------- */
.notice { background: #FFF7E0; border-bottom: 1px solid #F1E2B0; }
.notice.notice-info { background: var(--mint); border-bottom-color: #dbe6dd; }
.notice.notice-info .ic { color: var(--green); }
.notice.notice-info b { color: var(--green-dark); }
.notice-in { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; }
.notice .ic { width: 40px; height: 40px; border-radius: 10px; background: #fff; color: #A8760A; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.notice .ic svg { width: 22px; height: 22px; }
.notice b { display: block; font-size: 15px; color: #7A5406; }
.notice p { margin: 2px 0 4px; font-size: 17px; color: var(--slate); }
.notice small { font-size: 13.5px; color: var(--meta); }

/* ---------- First time in Ruse: three steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px 22px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; font-size: 17px;
  margin-bottom: 12px;
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--body); margin-bottom: 12px; }
.step a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.step a svg { width: 16px; height: 16px; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; gap: 12px; } .step { padding: 18px; } }

.cats-title { font-size: 22px; margin-bottom: 18px; }

/* ---------- Podul / Vinieta pages ---------- */
.stare { display: flex; gap: 14px; align-items: flex-start; background: #FFF7E0; border: 1px solid #F1E2B0; border-radius: var(--radius); padding: 18px 20px; margin: 20px 0 8px; }
.stare.stare-empty { background: var(--mint); border-color: #dbe6dd; }
.stare .ic { width: 40px; height: 40px; border-radius: 10px; background: #fff; color: #A8760A; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.stare.stare-empty .ic { color: var(--green); }
.stare .ic svg { width: 22px; height: 22px; }
.stare h2 { font-size: 20px; margin-bottom: 4px; }
.stare p { margin: 0 0 4px; font-size: 17px; }
.stare small { font-size: 13.5px; color: var(--meta); }
.stare.avert { background: #FDF3F1; border-color: #F0D3CC; margin: 24px 0 4px; }
.rozabg { display: flex; align-items: center; gap: 18px; margin: 28px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); background: var(--white); }
.rozabg b { display: block; font-size: 19px; color: var(--slate); }
.rozabg p { margin: 4px 0 0; color: var(--meta); font-size: 15.5px; }
.rozabg .btn { margin-left: auto; flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 767px) { .rozabg { flex-wrap: wrap; padding: 16px; gap: 12px; } .rozabg .btn { margin-left: 0; width: 100%; justify-content: center; } }

.acasa-cta {
  display: flex; align-items: center; gap: 16px; margin: 24px 0 0;
  background: var(--green); color: #fff; border-radius: var(--radius); padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(62, 155, 79, .22);
}
.acasa-cta:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.acasa-cta .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.acasa-cta .ic svg { width: 26px; height: 26px; }
.acasa-cta .tx { display: block; }
.acasa-cta b { display: block; font-size: 20px; line-height: 1.2; }
.acasa-cta small { display: block; font-size: 14.5px; opacity: .92; margin-top: 3px; }
.acasa-cta .go { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; border: 2px solid rgba(255,255,255,.7); border-radius: 999px; padding: 9px 16px; white-space: nowrap; }
.acasa-cta .go svg { width: 17px; height: 17px; }
@media (max-width: 767px) {
  .acasa-cta { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .acasa-cta b { font-size: 18px; }
  .acasa-cta .tx { flex: 1 1 60%; }
  .acasa-cta .go { margin-left: 0; width: 100%; justify-content: center; }
}
.preturi-scurt { background: var(--mint); border: 1px solid #dbe6dd; border-radius: var(--radius); padding: 20px 22px; margin: 24px 0 4px; }
.preturi-scurt h2 { font-size: 20px; margin-bottom: 10px; }
.preturi-scurt .note { margin: 10px 0 0; font-size: 14.5px; color: var(--meta); }
.preturi-scurt .note a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.preturi-scurt .note svg { width: 16px; height: 16px; }
@media (max-width: 767px) { .preturi-scurt { padding: 16px; } }
.stare.avert .ic { color: #B0442B; }
.stare ul { margin: 0; padding-left: 20px; list-style: disc; }
.stare ul li::marker { color: var(--green); }
.stare ul li { margin: 0 0 6px; font-size: 16.5px; line-height: 1.45; }
.stare ul li:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .stare.avert { padding: 16px; gap: 10px; } .stare ul li { font-size: 15.5px; } }
.note { color: var(--meta); font-size: 14.5px; }
.surse { margin: 28px 0; }
.surse h2, .dupa h2, .answer h2 { font-size: 24px; margin-bottom: 12px; }
.surse ul { list-style: none; margin: 0; padding: 0; }
.surse li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 6px 20px; align-items: baseline; }
.surse li a { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.surse li a svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--green); }
.surse li span { color: var(--meta); font-size: 15px; }
@media (max-width: 767px) { .surse li { grid-template-columns: 1fr; gap: 2px; } }
.dupa { margin: 28px 0; }
.dupa-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dupa-in > div { background: var(--mint); border-radius: var(--radius); padding: 18px 20px; }
.dupa-in h3 { font-size: 18px; margin-bottom: 6px; }
.dupa-in p { margin-bottom: 10px; }
.dupa-in a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.dupa-in a svg { width: 16px; height: 16px; }
.dupa .note { margin-top: 12px; }
@media (max-width: 767px) { .dupa-in { grid-template-columns: 1fr; } }
.answer { margin: 20px 0 8px; }
.answer .big { font-size: 19px; line-height: 1.5; max-width: 72ch; margin-bottom: 8px; }
.answer .note { max-width: 72ch; }
.ok-box { display: flex; gap: 12px; align-items: flex-start; max-width: 72ch; background: var(--mint); border-left: 4px solid var(--green); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 17px; font-weight: 600; color: var(--slate); }
.ok-box .ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ok-box .ic svg { width: 16px; height: 16px; }
.tarife { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.tarife th, .tarife td { text-align: left; padding: 8px 0; border-bottom: 1px solid #dbe6dd; font-size: 16px; }
.tarife th { font-weight: 600; }
.tarife th small { display: block; font-weight: 400; font-size: 13px; color: var(--meta); }
.tarife td { text-align: right; font-weight: 700; white-space: nowrap; }
.box h2 + h2, .box p + h2 { margin-top: 18px; }
.box .btn.small { margin: 4px 8px 4px 0; }

/* ---------- Cât costă în Ruse ---------- */
.preturi { width: 100%; max-width: 720px; border-collapse: collapse; }
.preturi th, .preturi td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; vertical-align: top; }
.preturi th { font-weight: 600; }
.preturi th small { display: block; font-weight: 400; font-size: 13.5px; color: var(--meta); margin-top: 2px; }
.preturi td { text-align: right; font-weight: 700; white-space: nowrap; color: var(--slate); }

/* ---------- Where to take the photo ---------- */
.foto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1023px) { .foto-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 599px) { .foto-grid { grid-template-columns: 1fr; } }
.foto-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.foto-media { display: block; aspect-ratio: 4 / 3; background: var(--mint); overflow: hidden; }
.foto-media img, .foto-media svg { width: 100%; height: 100%; object-fit: cover; }
.foto-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.foto-body h3 { font-size: 18px; line-height: 1.25; }
.foto-body h3 a { color: var(--slate); }
.foto-body p { color: var(--body); font-size: 15.5px; }
.foto-harta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.foto-harta svg { width: 16px; height: 16px; }

/* ---------- Bridge cameras ---------- */
.camere { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 8px; padding: 14px; background: #141a22; border-radius: 16px; }
.camera { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #1c2430; color: #fff; aspect-ratio: 16 / 9; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.camere .camera:first-child { grid-row: 1 / span 3; }
.camere .camera:not(:first-child) { aspect-ratio: auto; min-height: 0; }
.camere .camera:not(:first-child) video { position: absolute; inset: 0; }
.camere .camera:first-child .camera-label b { font-size: 20px; }
.camere .camera:first-child .camera-label small { font-size: 14px; }
.camere .camera:first-child .camera-label { padding: 40px 16px 14px; }
.camere .camera:not(:first-child) .camera-label small { display: none; }
.camere .camera:not(:first-child) .camera-full { padding: 5px 9px; font-size: 12px; }
.surse + .surse { margin-top: 36px; }
.camera video { display: block; width: 100%; height: 100%; object-fit: cover; }
.camera:hover { text-decoration: none; color: #fff; }
.camera-live { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.camera-live i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); animation: rb-pulse 1.6s infinite; }
.camera-live time { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .85; }
.camera-live time:empty { display: none; }
@keyframes rb-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); } 70% { box-shadow: 0 0 0 7px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.camera-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 28px 12px 10px; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); }
.camera-label b { display: block; font-size: 15px; line-height: 1.25; }
.camera-label small { display: block; font-size: 12.5px; opacity: .85; line-height: 1.3; margin-top: 2px; }
.camera-full { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .92); color: var(--slate); font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.camera-full svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .camera-live i { animation: none; } }
@media (max-width: 767px) {
  .surse .camere { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; margin: 14px calc(-1 * var(--gutter)) 10px; padding: 16px var(--gutter) 18px; background: #141a22; border-radius: 0; }
  .camere .camera:first-child { grid-row: auto; }
  .camere .camera:not(:first-child) { aspect-ratio: 16 / 9; }
  .camere .camera:first-child .camera-label b { font-size: 17px; }
  .camere .camera:first-child .camera-label small { font-size: 13px; }
  .camere .camera:first-child .camera-label { padding: 34px 14px 12px; }
  .camere .camera:not(:first-child) .camera-label small { display: block; }
  .camere .camera:not(:first-child) .camera-full { padding: 8px 12px; font-size: 13px; }
  .camera { border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
  .camera-label { padding: 34px 14px 12px; }
  .camera-label b { font-size: 17px; }
  .camera-label small { font-size: 13px; }
  .camera-full { padding: 8px 12px; font-size: 13px; }
}

/* ---------- Traffic now (Google Routes): one tick per direction ---------- */
.trafic-carduri { display: grid; gap: 14px; margin: 6px 0 12px; }
@media (min-width: 768px) { .trafic-carduri { grid-template-columns: 1fr 1fr; } }
.trafic-card { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--radius); padding: 18px 20px; background: var(--mint); border: 1px solid #dbe6dd; }
.trafic-in { flex: 1 1 auto; min-width: 0; }
.trafic-in h3 { font-size: 20px; line-height: 1.2; }
.trafic-in i { display: block; font-style: normal; font-size: 13.5px; color: var(--meta); margin-top: 2px; }
.trafic-in p { margin-top: 8px; color: var(--body); }
.trafic-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: #fff; }
.trafic-icon svg { width: 28px; height: 28px; }
/* yellow when it is slow, red when there is a queue */
.trafic-lent { background: #FFF7E0; border-color: #F1E2B0; }
.trafic-lent .trafic-icon { background: #E8A317; }
.trafic-coada { background: #FDECEA; border-color: #F5C6C0; }
.trafic-coada .trafic-icon { background: #D62612; }
.trafic-coada h3, .trafic-coada p { color: #8A1A0C; }

.trafic-bara { background: #fff; border-bottom: 1px solid var(--line); }
.trafic-strip { display: grid; gap: 10px 22px; padding: 14px 0; color: var(--slate); align-items: center; }
@media (min-width: 768px) { .trafic-strip { grid-template-columns: 1fr 1fr auto; } }
.trafic-strip:hover { text-decoration: none; color: var(--slate); }
.trafic-dir { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trafic-strip .trafic-icon { width: 40px; height: 40px; }
.trafic-strip .trafic-icon svg { width: 23px; height: 23px; }
.trafic-dir.trafic-lent .trafic-icon { background: #E8A317; }
.trafic-dir.trafic-coada .trafic-icon { background: #D62612; }
.trafic-text { min-width: 0; }
.trafic-text b { display: block; font-size: 16px; line-height: 1.2; }
.trafic-text span { display: block; font-size: 14px; color: var(--meta); line-height: 1.35; }
.trafic-dir.trafic-coada .trafic-text span { color: #8A1A0C; font-weight: 600; }
.trafic-ora { font-size: 13.5px; color: var(--meta); }
@media (max-width: 767px) { .trafic-ora { display: none; } }

/* ---------- Traffic map (Waze embed) ---------- */
.harta-trafic { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mint); aspect-ratio: 16 / 8; margin: 14px 0 12px; box-shadow: 0 4px 16px rgba(36, 48, 64, .12); }
.harta-trafic { --wz-cut: 0px; }
.harta-trafic iframe { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + var(--wz-cut)); border: 0; }
.harta-linkuri { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) { .harta-trafic { aspect-ratio: 4 / 5; border-radius: 14px; } .harta-linkuri .btn { flex: 1 1 auto; } }

/* ---------- Category icon grid (once, under the hero) ---------- */
.cats { background: var(--mint); padding: 28px 0; }
.cats-in {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.cat {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  color: var(--slate);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  min-width: 0;
}
.cat:hover { text-decoration: none; color: var(--green-dark); }
.cat .circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(36, 48, 64, .08);
  transition: transform .15s, box-shadow .15s;
}
.cat:hover .circle { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(36, 48, 64, .14); }
.cat .circle svg { width: 30px; height: 30px; }
@media (max-width: 1023px) {
  .cats-in { grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
  .cat .circle { width: 64px; height: 64px; }
  .cat .circle svg { width: 27px; height: 27px; }
}
@media (max-width: 599px) {
  .cats { padding: 22px 0; }
  .cats-in { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .cat {
    flex-direction: row; justify-content: flex-start; text-align: left;
    gap: 12px;
    background: #fff; border-radius: var(--radius);
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(36, 48, 64, .06);
  }
  .cat .circle { width: 44px; height: 44px; background: var(--mint); box-shadow: none; flex: 0 0 auto; }
  .cat .circle svg { width: 22px; height: 22px; }
  .cat:hover .circle { transform: none; box-shadow: none; }
}

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-in {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 26px 0;
}
.stat { display: flex; align-items: flex-start; gap: 12px; }
.stat svg { width: 26px; height: 26px; color: var(--green); flex: 0 0 auto; margin-top: 4px; }
.stat b { display: block; font-size: 26px; font-weight: 700; color: var(--slate); line-height: 1.1; }
.stat span { display: block; font-size: 14px; color: var(--meta); line-height: 1.3; margin-top: 3px; }
@media (max-width: 1023px) { .stats-in { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .stats-in { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; padding: 22px 0; }
  .stat b { font-size: 23px; }
}

/* ---------- Tabs (rendered as links) ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: block;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 16px;
  color: var(--meta);
  white-space: nowrap;
}
.tab:hover { color: var(--slate); text-decoration: none; }
.tab[aria-current="true"], .tab.on { color: var(--green); border-bottom-color: var(--green); }

/* ---------- Cards ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1023px) { .grid4 { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 479px) {
  .grid4 { grid-template-columns: 1fr; gap: 12px; }
  .grid4 .card { display: grid; grid-template-columns: 38% 1fr; }
  .grid4 .card-media { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .grid4 .ph svg { width: 30px; height: 30px; }
  .grid4 .ph span { font-size: 12px; }
  .grid4 .card-body { padding: 12px 14px 14px; gap: 6px; }
  .grid4 .card h3 { font-size: 17px; }
  .grid4 .card p { font-size: 14px; }
  .grid4 .card-top { flex-direction: column; gap: 2px; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .15s, border-color .15s;
}
.card:hover { box-shadow: 0 6px 18px rgba(36, 48, 64, .1); border-color: #d3dbd5; }
.card-media { aspect-ratio: 4 / 3; background: var(--mint); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media a { display: block; height: 100%; }
.ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: var(--green);
  background: var(--mint);
}
.ph svg { width: 40px; height: 40px; opacity: .85; }
.ph span { font-size: 14px; color: var(--meta); font-weight: 600; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card h3 a { color: var(--slate); }
.card h3 a:hover { color: var(--green-dark); text-decoration: none; }
.card p { color: var(--body); font-size: 15px; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.chip {
  display: inline-block;
  background: #F3F5F4;
  color: var(--meta);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1.2;
}
a.chip:hover { color: var(--green-dark); text-decoration: none; background: var(--mint); }
.chip.hot { background: #FFF3D6; border-color: #F0DCA8; color: #8A5B00; font-weight: 700; }
.entry-content .hot-txt { background: #FFF3D6; color: #8A5B00; font-weight: 700; padding: 1px 9px; border-radius: 999px; font-size: 14.5px; white-space: nowrap; }
.mint .card { border-color: #dfe9e1; }
.mint .chip { background: var(--mint); }

/* parking card details */
.pk { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.pk b { font-size: 19px; color: var(--slate); font-weight: 700; }
.pk span { font-size: 14px; color: var(--meta); }
.pk-btn { margin-top: auto; padding-top: 6px; }
.pk-btn .btn { height: 40px; padding: 0 16px; font-size: 15px; width: 100%; }
.pk-btn.two { display: flex; gap: 8px; }
.pk-btn.two .btn { width: auto; flex: 1 1 0; padding: 0 10px; white-space: nowrap; }

/* ---------- Timeline ---------- */
.day { position: relative; margin-top: 34px; }
.day-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  list-style: none; margin: 0; padding: 0;
}
.day-track::before {
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%;
  top: 38px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  opacity: .55;
}
.stop { display: flex; flex-direction: column; align-items: center; text-align: left; position: relative; }
.stop time {
  font-weight: 700;
  color: var(--green);
  font-size: 18px;
  height: 28px;
  line-height: 28px;
}
.stop .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
  margin: 2px 0 20px;
  position: relative;
  z-index: 1;
}
.stop .card { width: 100%; }
.stop .card-media { aspect-ratio: 4 / 3; }
.stop h3 { font-size: 18px; }
.day-more { margin-top: 22px; font-size: 16px; color: var(--meta); }
@media (max-width: 767px) {
  .day { margin-top: 22px; }
  .day-track { grid-template-columns: 1fr; gap: 18px; padding-left: 34px; }
  .day-track::before { left: 8px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .stop { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .stop time { order: 2; height: auto; line-height: 1.2; margin-bottom: 8px; margin-left: 0; width: 100%; }
  .stop .dot { position: absolute; left: -34px; top: 2px; margin: 0; }
  .stop .card { order: 3; }
  .stop .card-media { aspect-ratio: 16 / 9; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .stop .card { display: grid; grid-template-columns: 42% 1fr; }
  .stop .card-media { aspect-ratio: auto; height: 100%; min-height: 130px; }
}

/* ---------- Evening ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1023px) { .grid3 { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 599px) { .grid3 { grid-template-columns: 1fr; } }
.wide .card-media { aspect-ratio: 16 / 10; }
.wide .card-body { padding: 16px 18px 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 4px; }
.card-link svg { width: 16px; height: 16px; }

/* ---------- Events ---------- */
.events { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.event {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.event:hover { text-decoration: none; background: #fafcfa; color: inherit; }
.date {
  flex: 0 0 62px;
  width: 62px; height: 62px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1;
}
.date b { font-size: 26px; font-weight: 700; }
.date span { font-size: 13px; font-weight: 600; margin-top: 2px; }
.event-thumb { flex: 0 0 96px; width: 96px; height: 66px; border-radius: 8px; overflow: hidden; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-text { flex: 1 1 auto; min-width: 0; }
.event-text h3 { font-size: 18px; }
.event-text p { color: var(--meta); font-size: 15px; margin-top: 3px; }
.event .arrow { color: var(--meta); flex: 0 0 auto; }
.event .arrow svg { width: 20px; height: 20px; }
@media (max-width: 599px) {
  .event { gap: 12px; padding: 14px 0; }
  .event-thumb { display: none; }
  .date { flex-basis: 54px; width: 54px; height: 54px; }
  .date b { font-size: 22px; }
  .event .arrow { display: none; }
}

/* ---------- Business band ---------- */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 767px) { .biz { grid-template-columns: 1fr; } }
.biz.biz-single { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.biz-card h2 { font-size: 24px; }
.biz-card p { max-width: 46ch; }
.biz-card .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 767px) { .biz-card { padding: 22px 20px 24px; } }

/* ---------- Popular lists ---------- */
.lists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lists h3 { font-size: 17px; margin-bottom: 12px; }
.lists li { margin: 0 0 8px; }
.lists a { color: var(--body); font-size: 15.5px; }
.lists a:hover { color: var(--green-dark); }
@media (max-width: 767px) { .lists { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; } }

/* ---------- Footer ---------- */
.footer { background: var(--mint); color: var(--slate); padding: 36px 0 28px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px; }
.footer .logo-tag { color: var(--body); }
.footer .logo-tag a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: var(--slate); font-weight: 600; font-size: 15px; }
.footer-links a:hover { color: var(--green-dark); }
.footer-note { width: 100%; margin-top: 10px; font-size: 13.5px; color: var(--meta); border-top: 1px solid #dbe6dd; padding-top: 14px; }
.footer-note a { color: var(--meta); text-decoration: underline; }

/* ---------- Archive listing + filters ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 34px; }
.page-head .lead { margin-top: 8px; }
@media (max-width: 767px) { .page-head { padding: 28px 0 4px; } .page-head h1 { font-size: 27px; } }
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 14px 16px;
  margin: 20px 0 24px;
  background: var(--mint);
  border-radius: var(--radius);
}
.filters label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--slate); }
.filters select {
  height: 40px; padding: 0 34px 0 12px;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 15px; color: var(--slate); background: #fff;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7580' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
}
.filters input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.filters .btn { height: 40px; padding: 0 18px; font-size: 15px; margin-left: auto; }
@media (max-width: 767px) {
  .filters { gap: 10px 14px; padding: 12px; }
  .filters .f-zona, .filters .f-sort { width: 100%; }
  .filters .f-zona select, .filters .f-sort select { flex: 1; }
  .filters .btn { margin-left: 0; width: 100%; }
}
.empty { padding: 40px 20px; text-align: center; color: var(--meta); background: var(--mint); border-radius: var(--radius); }
.listing { padding-bottom: 56px; }
.pagination { display: flex; justify-content: center; margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--slate); font-weight: 600;
}
.pagination .page-numbers:hover { background: var(--mint); text-decoration: none; }
.pagination .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination .page-numbers.dots { border: 0; }

/* ---------- Single local ---------- */
.single-hero { margin-top: 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; background: var(--mint); }
.single-hero img { width: 100%; height: 100%; object-fit: cover; }
.single-hero .ph svg { width: 56px; height: 56px; }
@media (max-width: 767px) { .single-hero { aspect-ratio: 4 / 3; margin-top: 12px; border-radius: 10px; } }
.single-head { padding: 26px 0 8px; }
.single-head h1 { font-size: 36px; }
.single-head .chips { margin-top: 12px; }
@media (max-width: 767px) { .single-head h1 { font-size: 27px; } }
.single-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 16px 0 56px; }
@media (max-width: 1023px) { .single-grid { grid-template-columns: 1fr; gap: 24px; } }
.info-list { display: grid; gap: 12px; padding: 20px; background: var(--mint); border-radius: var(--radius); }
.info-list div { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.info-list b { display: block; font-size: 13.5px; color: var(--meta); font-weight: 600; }
.info-list span { display: block; color: var(--slate); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn-row .btn { height: 44px; padding: 0 18px; font-size: 16px; flex: 1 1 auto; }
.aside { display: flex; flex-direction: column; gap: 16px; }
.entry-content { max-width: 72ch; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content blockquote, .entry-content figure { margin: 0 0 1.2em; }
.entry-content ul { list-style: disc; padding-left: 1.3em; }
.entry-content ol { list-style: decimal; padding-left: 1.3em; }
.entry-content h2 { font-size: 26px; margin: 1.4em 0 .6em; }
.entry-content h3 { font-size: 20px; margin: 1.2em 0 .5em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content a { text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--green); padding-left: 16px; color: var(--meta); }
.entry-content table { border-collapse: collapse; width: 100%; margin-bottom: 1.2em; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
/* Comparison table (price pages): wider first column, prices kept on one line. */
.entry-content table.cmp { table-layout: fixed; width: 100%; }
.entry-content table.cmp th, .entry-content table.cmp td { padding: 10px 12px; vertical-align: middle; hyphens: none; }
.entry-content table.cmp th:first-child, .entry-content table.cmp td:first-child { width: 42%; }
.entry-content table.cmp small { display: block; font-size: 13px; color: var(--meta); margin-top: 2px; }
.entry-content table.cmp th:nth-child(2), .entry-content table.cmp td:nth-child(2),
.entry-content table.cmp th:nth-child(3), .entry-content table.cmp td:nth-child(3) { width: 29%; }
@media (max-width: 767px) {
  .entry-content table.cmp { font-size: 14px; }
  .entry-content table.cmp th, .entry-content table.cmp td { padding: 8px 7px; }
  .entry-content table.cmp th:first-child, .entry-content table.cmp td:first-child { width: 44%; }
  .entry-content table.cmp small { font-size: 12px; }
  .entry-content table.cmp th:nth-child(2), .entry-content table.cmp td:nth-child(2),
  .entry-content table.cmp th:nth-child(3), .entry-content table.cmp td:nth-child(3) { width: 28%; }
}
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text, .entry-content figcaption { font-size: 14px; color: var(--meta); margin-top: 6px; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.related { padding: 8px 0 56px; }
.related h2 { font-size: 24px; margin-bottom: 20px; }

/* ---------- Single event ---------- */
.event-head { display: flex; gap: 20px; align-items: flex-start; padding: 32px 0 16px; }
.event-head .date { flex-basis: 76px; width: 76px; height: 76px; }
.event-head .date b { font-size: 32px; }
.event-head h1 { font-size: 34px; }
.event-head p { color: var(--meta); margin-top: 6px; font-size: 16px; }
@media (max-width: 767px) { .event-head h1 { font-size: 26px; } .event-head { padding: 22px 0 10px; } }
.event-hero { border-radius: var(--radius); overflow: hidden; margin: 8px 0 24px; }
.event-hero img { width: 100%; height: auto; }

/* ---------- Page (podul, generic) ---------- */
.page-body { padding: 8px 0 56px; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 32px; }
@media (max-width: 767px) { .boxes { grid-template-columns: 1fr; } }
.box { background: var(--mint); border-radius: var(--radius); padding: 22px 24px; }
.box h2 { font-size: 22px; margin-bottom: 8px; }
.box p { margin-bottom: 8px; }
.box ul { margin-top: 10px; }
.box li { padding: 8px 0; border-bottom: 1px solid #dbe6dd; }
.box li:last-child { border-bottom: 0; }
.box li a { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.box li a svg { width: 16px; height: 16px; flex: 0 0 auto; }
.box .toll { font-size: 28px; font-weight: 700; color: var(--slate); }
.news { margin: 8px 0 24px; }
.news h2 { font-size: 24px; margin-bottom: 4px; }
.news .note { color: var(--meta); font-size: 14.5px; margin-bottom: 12px; }
.news li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.news li a { font-weight: 600; color: var(--slate); }
.news li a:hover { color: var(--green-dark); }
.news li time { display: block; font-size: 13.5px; color: var(--meta); margin-top: 2px; }

/* ---------- Blog / search ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1023px) { .posts { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 599px) { .posts { grid-template-columns: 1fr; } }
.post-meta { font-size: 14px; color: var(--meta); }
.results { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.result { padding: 16px 0; border-bottom: 1px solid var(--line); }
.result h3 { font-size: 19px; }
.result p { color: var(--meta); font-size: 15px; margin-top: 4px; }
.result .kind { font-size: 13px; font-weight: 600; color: var(--green); }
.post-hero { border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.post-hero img { width: 100%; height: auto; }
.search-again { max-width: 640px; margin: 24px 0; }
.search-again .search { box-shadow: none; border: 1px solid var(--line); margin-top: 0; }

/* Product icons for the price comparison table. */
.entry-content .food { display: flex; align-items: center; gap: 11px; }
.entry-content .food .ic { width: 36px; height: 36px; flex: 0 0 auto; background-repeat: no-repeat; background-position: center; background-size: contain; background-color: #fff; border-radius: 8px; }
@media (max-width: 767px) { .entry-content .food { gap: 8px; } .entry-content .food .ic { width: 26px; height: 26px; } }
.entry-content .ic-bread { background-image: url("../img/ikoni/bread.webp"); }
.entry-content .ic-milk { background-image: url("../img/ikoni/milk.webp"); }
.entry-content .ic-cheese { background-image: url("../img/ikoni/cheese.webp"); }
.entry-content .ic-oil { background-image: url("../img/ikoni/oil.webp"); }
.entry-content .ic-cola { background-image: url("../img/ikoni/cola.webp"); }
.entry-content .ic-beer { background-image: url("../img/ikoni/beer.webp"); }

.preturi .ic-petrol, .entry-content .ic-petrol { background-image: url("../img/ikoni/petrol.webp"); }
.preturi .ic-diesel, .entry-content .ic-diesel { background-image: url("../img/ikoni/diesel.webp"); }
.preturi .ic-cigs, .entry-content .ic-cigs { background-image: url("../img/ikoni/cigs.webp"); }
.preturi .food { display: flex; align-items: center; gap: 11px; }
.preturi .food .ic { width: 36px; height: 36px; flex: 0 0 auto; background-repeat: no-repeat; background-position: center; background-size: contain; background-color: #fff; border-radius: 8px; }
.preturi .food small { display: block; }
@media (max-width: 767px) { .preturi .food { gap: 8px; } .preturi .food .ic { width: 25px; height: 25px; } }

/* ---------- Bridge picture on the Podul page: the share photo + navy panel with both directions ---------- */
.podh { --navy: #071E34; --cream: #F6F0E4; --gold: #E3A43A; position: relative; margin: 8px 0 12px; border-radius: 14px; overflow: hidden; background: var(--navy); aspect-ratio: 1730 / 909; }
.podh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
.podh-panel { position: absolute; inset: 0; background: var(--navy); clip-path: polygon(68.4% 0, 100% 0, 100% 100%, 48.4% 100%); }
.podh-dirs { position: absolute; top: 50%; right: 4%; width: 31%; transform: translateY(-50%); display: grid; gap: clamp(14px, 2.4vw, 30px); }
.podh-dir { --go: #3E9B4F; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; color: var(--cream); }
.podh-s-lent { --go: #E8A317; }
.podh-s-coada { --go: #D62612; }
.podh-ar { position: relative; grid-row: span 2; width: clamp(38px, 4.4vw, 54px); height: clamp(38px, 4.4vw, 54px); border-radius: 50%; background: var(--go); display: grid; place-items: center; }
.podh-ar svg { width: 58%; height: 58%; }
.podh-giurgiu .podh-ar svg { transform: scaleX(-1); }
.podh-to { font-size: clamp(13px, 1.25vw, 16px); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.podh-big { font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-size: clamp(30px, 4.2vw, 54px); line-height: 1; white-space: nowrap; }
.podh-big small { font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: .36em; font-weight: 600; margin-left: 4px; }
.podh-tax { font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: .36em; font-weight: 700; color: var(--gold); margin-left: 12px; }
.podh-big-tax { color: var(--gold); }
.podh-alert { grid-column: 2; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--cream); opacity: .9; }
.podh-rule { width: 56px; height: 2px; background: var(--gold); margin-left: calc(clamp(38px, 4.4vw, 54px) + 14px); }
/* One quiet motion: a soft ring spreads from each circle in turn. Slow traffic: less often. Queue: none. */
.podh-ar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--go); opacity: 0; animation: podh-ring 7s ease-out infinite; }
.podh-giurgiu .podh-ar::after { animation-delay: 3.5s; }
.podh-s-lent .podh-ar::after { animation-duration: 12s; }
.podh-s-coada .podh-ar::after, .podh-s-none .podh-ar::after { animation: none; }
@keyframes podh-ring { 0% { transform: scale(1); opacity: .9; } 22%, 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .podh-ar::after { animation: none; } }
@media (max-width: 760px) {
  /* Edge to edge on the phone, photo short enough that both directions fit on the first screen. */
  .podh { aspect-ratio: auto; display: flex; flex-direction: column; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .podh picture { display: block; }
  .podh img { position: static; width: 100%; height: auto; aspect-ratio: 830 / 519; }
  .podh-panel { display: none; }
  .podh-dirs { position: relative; top: auto; right: auto; width: auto; transform: none; background: var(--navy); margin-top: -26px; padding: 40px 22px 22px; clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); gap: 14px; }
  .podh-ar { width: 44px; height: 44px; }
  .podh-big { font-size: 38px; }
  .podh-rule { margin-left: 58px; }
}

/* ---------- Front page hero: the bridge at sunset, headline and the four answers on it, minutes on a sign ---------- */
.hero-pod { height: 600px; background: #071E34; }
.hero-pod > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-pod::after { top: 0; height: auto; background: linear-gradient(180deg, rgba(7,30,52,0) 30%, rgba(7,30,52,.5) 62%, rgba(7,30,52,.9) 100%); }
.hero-pod .hero-in { justify-content: flex-end; padding-top: 0; padding-bottom: 28px; }
.hero-pod .hero-text { background: none; padding: 0; margin-left: 0; }
.hero-pod h1 { font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; max-width: 780px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-pod .hero-sub { color: #F6F0E4; }
/* Bridge sign on the front page (05.10.2026, variant A): a blue motorway information sign, so people read it as travel time. */
.rbs { display: block; text-decoration: none; color: #fff; background: linear-gradient(160deg, #0f58b3 0%, #0B4EA2 45%, #083d82 100%); border-radius: 12px; padding: 6px; box-shadow: 0 14px 34px rgba(0,0,0,.45); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; transition: transform .15s ease; }
.rbs:hover { text-decoration: none; color: #fff; transform: translateY(-2px); }
.rbs:focus-visible { outline: 3px solid #FFD54A; outline-offset: 4px; }
.rbs-in { display: block; border: 4px solid #fff; border-radius: 8px; padding: 14px 16px 12px; }
.rbs-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid #fff; }
.rbs-ico { flex: 0 0 auto; width: 64px; height: 40px; }
.rbs-head strong { font-weight: 700; font-size: 27px; line-height: 1.05; }
.rbs-row { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 6px; align-items: center; padding: 12px 0; }
.rbs-row + .rbs-row { border-top: 2px solid rgba(255,255,255,.35); }
.rbs-route { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 26px; line-height: 1; white-space: nowrap; }
.rbs-route svg { width: 26px; height: 18px; flex: 0 0 auto; }
.rbs-led { grid-row: 1 / span 2; grid-column: 2; background: #0a1420; border-radius: 4px; padding: 6px 12px 4px; min-width: 128px; text-align: right; box-shadow: inset 0 2px 6px rgba(0,0,0,.7), 0 0 0 2px rgba(255,255,255,.18); }
.rbs-led b { font-weight: 700; font-size: 52px; line-height: .95; color: #FFB020; font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(255,176,32,.55); }
.rbs-led span { font-weight: 600; font-size: 22px; color: #FFB020; margin-left: 4px; }
.rbs-plate { justify-self: start; display: inline-flex; background: #f7f7f2; color: #111820; border: 2px solid #111820; outline: 2px solid #f7f7f2; border-radius: 3px; padding: 2px 8px 1px; font-weight: 600; font-size: 18px; line-height: 1.1; margin-left: 2px; }
.rbs-plate.rbs-free { background: #e6f4e9; color: #135c22; border-color: #135c22; outline-color: #e6f4e9; }
.rbs-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 10px; border-top: 3px solid #fff; font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: 14px; color: #dbe7f7; }
.rbs-foot em { font-style: normal; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rbs-dot { display: inline-block; flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; background: #9AA7B5; box-shadow: 0 0 0 2px rgba(255,255,255,.85); margin-right: 2px; }
.rbs-s-ok .rbs-dot { background: #36C25A; }
.rbs-s-lent .rbs-dot { background: #F5C524; }
.rbs-s-coada .rbs-dot { background: #EF3B2D; }
.rbs-note { grid-column: 1 / -1; font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.35; color: #fff; }
.rbs-leg { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 10px 0 12px; border-top: 2px solid rgba(255,255,255,.35); font-weight: 600; font-size: 20px; line-height: 1; color: #fff; }
.rbs-leg > span { display: inline-flex; align-items: center; gap: 6px; }
.rbs-leg .rbs-dot { width: 15px; height: 15px; }
/* Bridge page (05.10.2026, variant A): schematic map with moving cars + one road sign per direction */
.rbh { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: start; margin: 8px 0 12px; }
.rbh-map { border-radius: 6px; overflow: hidden; background: #B9D3EA; border: 1px solid #cfd9e3; }
.rbh-map svg { display: block; width: 100%; height: auto; }
.rbh-map text { font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; paint-order: stroke; stroke-linejoin: round; }
.rbh-lbl { font-size: 17px; font-weight: 600; fill: #071E34; stroke: #fff; stroke-width: 5px; }
.rbh-map .rbh-city { font-family: "DM Serif Display", Georgia, serif; font-size: 34px; fill: #071E34; stroke: #E4EADF; stroke-width: 6px; }
.rbh-country { font-size: 13px; fill: #6D8296; letter-spacing: .04em; }
.rbh-map .rbh-river { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 22px; fill: #3E6E9A; }
.rbh-blbl { font-size: 14px; font-weight: 600; fill: #071E34; stroke: #B9D3EA; stroke-width: 4px; }
.rbh-case { fill: none; stroke: #071E34; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.rbh-line { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.rbh-under { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 10px; font-size: 15px; color: #4A5D70; }
.rbs-leg.rbh-leg { border: 0; padding: 0; color: #071E34; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
.rbh-leg .rbs-dot { box-shadow: 0 0 0 2px rgba(7,30,52,.15); }
.rbh-signs { display: grid; gap: 16px; }
.rbh-sign { background: linear-gradient(160deg, #0f58b3 0%, #0B4EA2 45%, #083d82 100%); color: #fff; border-radius: 10px; padding: 5px; box-shadow: 0 6px 18px rgba(7,30,52,.25); }
.rbh-in { border: 3px solid #fff; border-radius: 6px; padding: 14px 16px 12px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head led" "foot foot" "alert alert"; gap: 4px 12px; align-items: center; }
.rbh-head { grid-area: head; }
.rbh-head p { margin: 0; }
.rbh-dir { font: 700 26px/1.1 "Barlow Condensed", "Arial Narrow", sans-serif; }
.rbh-head .rbh-from { margin-top: 3px; font-size: 15px; opacity: .88; }
.rbh-led { grid-area: led; background: #0a1420; border-radius: 4px; padding: 6px 12px 4px; display: flex; align-items: baseline; gap: 5px; box-shadow: inset 0 2px 6px rgba(0,0,0,.7), 0 0 0 2px rgba(255,255,255,.18); }
.rbh-led b { font: 700 60px/1 "Barlow Condensed", "Arial Narrow", sans-serif; color: #FFB020; text-shadow: 0 0 10px rgba(255,176,32,.5); font-variant-numeric: tabular-nums; }
.rbh-led span { font: 600 20px/1 "Barlow Condensed", "Arial Narrow", sans-serif; color: #FFB020; }
.rbh-foot { grid-area: foot; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 2px solid rgba(255,255,255,.35); margin-top: 10px; padding-top: 10px; font: 600 19px/1.1 "Barlow Condensed", "Arial Narrow", sans-serif; }
.rbh-st { display: inline-flex; align-items: center; gap: 7px; }
.rbh-alert { grid-area: alert; margin: 6px 0 0; font-size: 15px; line-height: 1.35; }
@media (max-width: 760px) {
  .rbh { grid-template-columns: 1fr; gap: 14px; }
  .rbh-dir { font-size: 22px; }
  .rbh-led b { font-size: 48px; }
  .rbh-in { padding: 12px 12px 10px; }
}
/* Bridge page: the same sign over the sunset photo */
.podh .rbs-pod { position: absolute; top: 50%; right: 3%; transform: translateY(-50%); width: min(420px, 42%); }
@media (max-width: 760px) { .podh .rbs-pod { position: relative; top: auto; right: auto; transform: none; width: auto; margin: -18px 12px 0; } }
@media (min-width: 768px) { .hero-pod h1 { max-width: min(780px, calc(100% - 440px)); } }
.podh-sign-desk { position: absolute; z-index: 3; top: 26px; right: max(16px, calc((100% - 1200px) / 2 + 16px)); width: 404px; }
.podh-sign-mob { display: none; }
@media (prefers-reduced-motion: reduce) { .rbs { transition: none; } .rbs:hover { transform: none; } }
@media (max-width: 767px) {
  .hero-pod { height: 340px; }
  .hero-pod > picture > img { object-position: 50% 30%; }
  .hero-pod .hero-in { padding-bottom: 18px; }
  .hero-pod h1 { font-size: 32px; }
  .podh-sign-desk { display: none; }
  .podh-sign-mob { display: block; margin: 12px 12px 0; }
  .rbs .rbs-head strong { font-size: 23px; }
  .rbs .rbs-ico { width: 52px; height: 32px; }
  .rbs .rbs-route { font-size: 22px; }
  .rbs .rbs-led { min-width: 108px; }
  .rbs .rbs-led b { font-size: 44px; }
  .rbs-leg { flex-wrap: nowrap; gap: 6px 14px; font-size: 17px; white-space: nowrap; }
  .rbs-leg .rbs-dot { width: 13px; height: 13px; }
}
@media (max-width: 380px) {
  .rbs-in { padding: 12px 10px 10px; }
  .rbs .rbs-route { font-size: 19px; gap: 6px; }
  .rbs .rbs-led { min-width: 86px; padding: 5px 8px 3px; }
  .rbs .rbs-led b { font-size: 36px; }
  .rbs-led span { font-size: 18px; }
  .rbs-plate { font-size: 16px; }
  .rbs-leg { font-size: 15px; gap: 6px 10px; }
}

/* ---------- Guide pages (fuel, cigarettes, Ruse – Bucharest), 30.09.2026: light cards with the product icons ---------- */
.rbp { --mint: #F1F8F2; --line2: #E3EEE6; --g: #3E9B4F; --gd: #2F7F3E; --ink: #243040; --tx: #3A4552; --mt: #6B7580; color: var(--tx); }
.rbp h2 { font-size: clamp(22px, 3vw, 28px); margin: 34px 0 12px; color: var(--ink); }
.rbp h3 { margin: 0; color: var(--ink); }
.rbp p { margin: 8px 0; }
.rbp a { color: var(--gd); }
.rbp-box { background: #fff; border: 1px solid #E3E8E4; border-radius: 18px; padding: 22px clamp(16px, 3vw, 28px); box-shadow: 0 6px 24px rgba(36, 48, 64, .06); margin: 18px 0; }
.rbp-mint { background: var(--mint); border-radius: 18px; padding: 18px clamp(16px, 3vw, 26px); margin: 18px 0; }
.rbp-amber { background: #FFF7E6; border: 1px solid #F3E0B5; border-radius: 14px; padding: 12px 16px; color: #5A4410; margin: 14px 0; }
.rbp-note { font-size: 14px; color: var(--mt); }
.rbp-src { font-size: 13.5px; color: var(--mt); border-top: 1px solid #E3E8E4; padding-top: 12px; margin-top: 30px; }
.rbp-src a { color: var(--mt); }
.rbp-pill { display: inline-block; background: var(--mint); color: var(--gd); font-weight: 700; font-size: 13.5px; border-radius: 99px; padding: 4px 12px; }
.rbp-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin: 0 auto; }
.rbp-ico svg { width: 34px; height: 34px; }

/* the four fuel cards */
.rbp-cards { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 14px 0 6px; }
@media (min-width: 760px) { .rbp-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .rbp-cards { grid-template-columns: 1fr; } }
.rbp-card { background: #fff; border: 1px solid #E3E8E4; border-radius: 18px; padding: 16px 14px 18px; text-align: center; box-shadow: 0 6px 20px rgba(36, 48, 64, .06); cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s; }
.rbp-card:hover { transform: translateY(-2px); }
.rbp-card:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; }
.rbp-card[aria-pressed="true"] { border-color: var(--g); box-shadow: 0 0 0 3px var(--g) inset, 0 10px 26px rgba(62, 155, 79, .18); }
.rbp-cards.filtering .rbp-card[aria-pressed="false"] { opacity: .5; }
.rbp-card img { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0 auto; background: none; }
.rbp-card .rbp-ico { width: 96px; height: 96px; }
.rbp-card h3 { font-size: 17px; margin-top: 8px; }
.rbp-card .w { font-size: 13px; color: var(--mt); margin: 2px 0 0; }
.rbp-card .pr { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.1; margin-top: 6px; }
.rbp-card .pr small { display: block; font-size: 13px; font-weight: 400; color: var(--mt); }
.rbp-card .ro { font-size: 14px; margin: 8px 0 10px; }
.rbp-hint { font-size: 13.5px; color: var(--mt); margin: 4px 0 0; }
.rbp-strip { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--mint); border-radius: 14px; padding: 12px 18px; margin: 14px 0; }
.rbp-strip b.big { font-size: 26px; color: var(--gd); }

/* the road list: fuel stations and chargers in the order you meet them */
.rbp-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--mt); margin: 4px 0; }
.rbp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rbp-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--mint); border-radius: 12px; padding: 8px 12px; margin: 10px 0 0; color: var(--ink); font-weight: 600; }
.rbp-filter[hidden] { display: none; }
.rbp-filter button { font: inherit; font-size: 14px; color: var(--gd); background: #fff; border: 1px solid #CFE5D4; border-radius: 99px; padding: 4px 12px; cursor: pointer; }
.rbp-rt { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.rbp-rt::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: #DCEBDF; }
.rbp-rt li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 12px 0; }
.rbp-rt li[hidden] { display: none; }
.rbp-rt .ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid #CFE5D4; display: grid; place-items: center; position: relative; z-index: 1; }
.rbp-rt li.ev .ic { background: var(--mint); border-color: #9FD0A9; }
.rbp-rt b { color: var(--ink); font-size: 17px; }
.rbp-rt .tag { display: inline-block; margin-left: 8px; background: var(--mint); color: var(--gd); border-radius: 99px; padding: 1px 10px; font-size: 12.5px; font-weight: 700; vertical-align: 2px; }
.rbp-rt p { margin: 2px 0 8px; font-size: 15.5px; }
.rbp-rt figure { margin: 4px 0 10px; max-width: 520px; }
.rbp-rt figure img { width: 100%; height: auto; border-radius: 12px; display: block; background: var(--mint); aspect-ratio: 640 / 400; object-fit: cover; }
.rbp-rt figcaption { font-size: 12px; color: var(--mt); margin-top: 4px; }
.rbp-go { display: flex; gap: 8px; flex-wrap: wrap; }
.rbp-go a { display: inline-flex; align-items: center; border: 1px solid #CFE5D4; background: #fff; color: var(--gd); font-weight: 600; font-size: 13.5px; border-radius: 99px; padding: 5px 12px; text-decoration: none; }
.rbp-go a:hover { background: var(--mint); text-decoration: none; }

/* short answers */
.rbp-ans { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rbp-ans { grid-template-columns: 1fr 1fr; } }
.rbp-ans > div { background: #fff; border: 1px solid #E3E8E4; border-radius: 16px; padding: 16px 18px; }
.rbp-ans h3 { font-size: 18px; margin-bottom: 4px; }

/* tables */
.rbp-tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.rbp-tbl th { text-align: left; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--mt); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid #E3E8E4; }
.rbp-tbl td { padding: 9px 10px; border-bottom: 1px solid #EEF2EF; vertical-align: top; }
.rbp-tbl td.n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rbp-scroll { overflow-x: auto; }
.rbp-evrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; background: #F7FBF8; border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.rbp-evrow small { display: block; color: var(--mt); font-size: 13.5px; }
.rbp-evrow .p { font-weight: 700; color: var(--gd); white-space: nowrap; text-align: right; }
@media (max-width: 640px) { .rbp-evrow { grid-template-columns: 1fr; } .rbp-evrow .p { text-align: left; } }

/* cigarettes: the big number */
.rbp-hero { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.rbp-hero img { width: 120px; height: 120px; object-fit: contain; background: none; }
.rbp-hero .big { font-size: clamp(34px, 6vw, 54px); font-weight: 700; color: var(--ink); line-height: 1; }
.rbp-hero .big small { font-size: .4em; color: var(--gd); font-weight: 700; margin-left: 6px; }
@media (max-width: 480px) { .rbp-hero { grid-template-columns: 1fr; text-align: center; } .rbp-hero img { margin: 0 auto; } }
.rbp-check { list-style: none; padding: 0; margin: 8px 0; }
.rbp-check li { position: relative; padding: 4px 0 4px 30px; }
.rbp-check li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 16px; height: 9px; border-left: 3px solid var(--g); border-bottom: 3px solid var(--g); transform: rotate(-45deg); }

/* Ruse – Bucharest */
.rbp-modes { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 14px 0; }
@media (min-width: 760px) { .rbp-modes { grid-template-columns: repeat(3, 1fr); } }
.rbp-mode { background: #fff; border: 1px solid #E3E8E4; border-radius: 18px; padding: 18px; text-align: center; box-shadow: 0 6px 20px rgba(36, 48, 64, .06); }
.rbp-mode h3 { font-size: 18px; margin-top: 10px; }
.rbp-mode p { font-size: 14.5px; }
.rbp-dirs { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rbp-dirs { grid-template-columns: 1fr 1fr; } }
.rbp-dir { background: var(--mint); border-radius: 16px; padding: 14px 18px; }
.rbp-dir .t { font-size: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.rbp-dir .t span { color: var(--gd); margin: 0 6px; }
.rbp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.rbp-chips span { background: var(--mint); border-radius: 8px; padding: 3px 9px; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); }
.rbp-op { background: #fff; border: 1px solid #E3E8E4; border-radius: 16px; padding: 16px 18px; margin: 12px 0; }
.rbp-op h3 { font-size: 19px; }
.rbp-op .lbl { font-size: 13px; color: var(--mt); margin-top: 8px; }

/* guide pages use the full width; plain paragraphs stay readable */
.entry-content:has(> .rbp) { max-width: none; }
.rbp > p, .rbp > section > p, .rbp-rt p, .rbp-box > p, .rbp-mint > p, .rbp-amber > p { max-width: 80ch; }

/* the three guides (front page, under each guide) */
.ghiduri-h { font-size: 20px; margin: 30px 0 12px; }
.ghiduri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ghiduri .act { box-shadow: none; border: 1px solid var(--line); }
.ghiduri .act:hover { box-shadow: 0 8px 22px rgba(36, 48, 64, .12); }
@media (max-width: 767px) { .ghiduri { grid-template-columns: 1fr; } }

/* fuel: first in the menu on desktop, a green pill in the bar on phones */
.nav a.nav-fuel { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; font-weight: 700; white-space: nowrap; border-radius: 999px; padding: 6px 14px 6px 11px; }
.nav a.nav-fuel:hover { background: var(--green-dark); color: #fff; }
.nav a.nav-fuel svg { width: 18px; height: 18px; flex: 0 0 auto; }
@media (max-width: 1023px) { .nav a.nav-fuel { align-self: flex-start; margin: 4px 0; } }
.fuel-pill { display: none; }
@media (max-width: 1023px) {
  .fuel-pill { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .fuel-pill:hover { color: #fff; text-decoration: none; background: var(--green-dark); }
  .fuel-pill svg { width: 18px; height: 18px; flex: 0 0 auto; }
}
@media (max-width: 400px) { .fuel-pill .fp-w { display: none; } .fuel-pill { padding: 0 10px 0 8px; } }
@media (max-width: 1499px) { .bridge-long { display: none; } .bridge-short { display: inline; } }
@media (min-width: 1024px) and (max-width: 1279px) { .nav a { padding: 8px 6px; font-size: 14.5px; } .nav a.nav-fuel { padding: 6px 12px 6px 9px; } .nav a.nav-fuel .fp-w { display: none; } .header-right { gap: 10px; } .header-in { gap: 10px; } }
@media (min-width: 1024px) and (max-width: 1099px) { .bridge { display: none; } }
.preturi .pret-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 14.5px; font-weight: 600; }
.preturi .pret-link svg { width: 15px; height: 15px; }
/* narrow phones: the search form must not push the page sideways */
.search, .search-input { min-width: 0; }
@media (max-width: 400px) { .search .btn { padding-left: 14px; padding-right: 14px; } .search input { font-size: 16px; padding-left: 40px; } }
/* Bulgarian labels are longer */
@media (min-width: 1024px) and (max-width: 1499px) { html[lang^="bg"] .nav a { padding: 8px 6px; font-size: 14.5px; } html[lang^="bg"] .header-in, html[lang^="bg"] .header-right { gap: 10px; } }
@media (min-width: 1024px) and (max-width: 1399px) { html[lang^="bg"] .nav a.nav-fuel .fp-w { display: none; } html[lang^="bg"] .nav a.nav-fuel { padding: 6px 12px 6px 9px; } }
@media (min-width: 1024px) and (max-width: 1199px) { html[lang^="bg"] .bridge { display: none; } }
/* Cumpărături: the whole price row opens the fuel or cigarettes page */
.preturi tr.pret-row { position: relative; cursor: pointer; }
.preturi tr.pret-row:hover { background: rgba(62, 155, 79, .07); }
.preturi .pret-a { color: inherit; }
.preturi .pret-a::after { content: ""; position: absolute; inset: 0; }
.preturi tr.pret-row:hover .pret-a { color: var(--green-dark); text-decoration: underline; }
.preturi .pret-go { display: inline-flex; vertical-align: -3px; margin-left: 6px; color: var(--green); }
.preturi .pret-go svg { width: 18px; height: 18px; }
/* the three guides, more visible (30.09.2026) */
.ghiduri-h { font-size: 26px; margin: 40px 0 14px; }
.ghiduri { gap: 16px; }
.ghiduri .gh { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #CFE5D4; border-radius: 18px; padding: 18px 18px 18px 16px; color: var(--slate); box-shadow: 0 8px 24px rgba(36, 48, 64, .10); transition: transform .15s, box-shadow .15s, border-color .15s; min-width: 0; }
.ghiduri .gh:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--green); box-shadow: 0 14px 30px rgba(62, 155, 79, .20); color: var(--slate); }
.gh-ic { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 16px; background: var(--mint); display: grid; place-items: center; }
.gh-ic img { width: 60px; height: 60px; object-fit: contain; background: none; }
.gh-svg { color: var(--green); display: grid; } .gh-svg svg { width: 36px; height: 36px; }
.gh-t { flex: 1 1 auto; min-width: 0; }
.gh-t b { display: block; font-size: 19px; line-height: 1.2; color: var(--slate); }
.gh-t small { display: block; font-size: 14px; color: var(--meta); margin-top: 3px; line-height: 1.3; }
.gh-chip { display: inline-block; margin-top: 8px; background: var(--green); color: #fff; font-weight: 700; font-size: 13.5px; border-radius: 999px; padding: 3px 11px; }
.gh-go { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; transition: background .15s, color .15s; }
.gh-go svg { width: 18px; height: 18px; }
.ghiduri .gh:hover .gh-go { background: var(--green); color: #fff; }
@media (max-width: 1023px) and (min-width: 768px) { .ghiduri .gh { flex-direction: column; align-items: flex-start; } .gh-go { display: none; } }

/* Front page, variant 2 (21.10.2026): the prices after the first four fold under "Toate prețurile" */
.preturi-mai { max-width: 720px; margin-top: 4px; }
.preturi-mai summary { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; font-weight: 600; color: var(--green-dark); cursor: pointer; }
.preturi-mai summary:hover { text-decoration: underline; }
.preturi-mai[open] summary { margin-bottom: 4px; }

/* Tablet 768-1023 px (ChatGPT, 21.10.2026): the bridge sign leaves the photo and sits under it, centred, so it no longer covers the title */
@media (min-width: 768px) and (max-width: 1023px) {
  .podh-sign-desk { display: none; }
  .podh-sign-mob { display: block; width: calc(100% - 32px); max-width: 600px; margin: 16px auto 0; }
}
