/* =========================================================
   BULGARIA–SERBIA — 02 / PRACTICAL NAVIGATOR
   Page-specific CSS. Does not modify local-hub.css.
   ========================================================= */

/* Programme identity in header + master Knowledge Hub logo in footer */
.site-header .bgrs-header-programme-logo {
  width: 68px;
  height: 44px;
  flex: 0 0 68px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("../images/programmes/logos/bulgaria-serbia-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 148% auto;
  box-shadow: none;
}

.site-footer .bgrs-footer-master-logo {
  width: 50px;
  height: 44px;
  flex: 0 0 50px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("../images/master-logo-mark-transparent.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
}

.site-header .bgrs-header-programme-logo::before,
.site-footer .bgrs-footer-master-logo::before {
  content: none !important;
  display: none !important;
}

.bgrs-start-page {
  --bgrs-navy: #073b75;
  --bgrs-green: #477b4e;
  --bgrs-paper: #fffdf7;
  --bgrs-cream: #f8f4e9;
  --bgrs-route: #d7d3b7;
  --bgrs-route-edge: rgba(89, 111, 92, .18);
  --bgrs-shadow: 0 14px 30px rgba(31, 65, 75, .12);
  background: #f7f4eb;
}

.bgrs-start {
  position: relative;
  overflow: hidden;
  padding: 24px 0 42px;
  background:
    linear-gradient(180deg, rgba(250, 247, 238, .88) 0%, rgba(244, 244, 231, .70) 100%),
    url("../images/bulgaria-serbia/hero/bgrs-hero-landscape.webp") center / cover fixed;
}

.bgrs-start-shell {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto;
}

.bgrs-start-breadcrumbs {
  margin-bottom: 18px;
}

.bgrs-start-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.bgrs-start-kicker {
  display: block;
  margin-bottom: 5px;
  color: #68835d;
  font-size:11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.bgrs-start-heading h1 {
  margin: 0;
  color: var(--bgrs-navy);
  
  
  line-height: 1.08;
}

.bgrs-start-heading p {
  max-width: 650px;
  margin: 10px 0 0;
  color: #294d63;
  font-size:16px;
  line-height: 1.55;
}

/* ROUTE */
.bgrs-route-navigator {
  position: relative;
  min-height: 760px;
  margin: 0 auto;
  padding: 16px 22px 78px;
  overflow: hidden;
  border: 1px solid rgba(112, 131, 105, .16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .88) 0%, rgba(249, 246, 235, .90) 100%),
    radial-gradient(circle at 50% 14%, rgba(194, 219, 179, .18), transparent 27%),
    radial-gradient(circle at 50% 62%, rgba(219, 208, 170, .14), transparent 31%),
    url("../images/bulgaria-serbia/hero/bgrs-hero-landscape.webp") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(39, 68, 72, .10);
}

.bgrs-route-navigator::before,
.bgrs-route-navigator::after {
  content: none;
  display: none;
}

.bgrs-route-illustration {
  position: absolute;
  z-index: 1;
  top: 28px;
  bottom: 92px;
  left: 50%;
  width: 245px;
  transform: translateX(-50%);
  pointer-events: none;
}

.bgrs-route-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: saturate(.90) contrast(.96);
}

/* CARDS */
.bgrs-route-card {
  position: absolute;
  z-index: 4;
  width: min(330px, 34%);
  min-height: 94px;
  display: grid;
  grid-template-columns: 46px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(111, 129, 105, .18);
  border-radius: 18px;
  background: rgba(255, 253, 247, .96);
  color: inherit;
  box-shadow: var(--bgrs-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bgrs-route-card:hover,
.bgrs-route-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(71, 123, 78, .38);
  box-shadow: 0 19px 36px rgba(31, 65, 75, .17);
}

.bgrs-route-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.bgrs-route-copy strong,
.bgrs-route-copy small {
  display: block;
}

.bgrs-route-copy strong {
  color: #123f6b;
  font-size:14px;
  line-height: 1.24;
}

.bgrs-route-copy small {
  margin-top: 4px;
  color: #526a75;
  font-size:14px;
  line-height: 1.4;
}

.bgrs-route-arrow {
  color: #4b8355;
  font-size:18px;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

.bgrs-route-card:hover .bgrs-route-arrow,
.bgrs-route-card:focus-visible .bgrs-route-arrow {
  opacity: 1;
  transform: translateX(0);
}

.card-1 { top: 4.5%; left: 8.5%; }
.card-2 { top: 15%; right: 8.5%; }
.card-3 { top: 25.5%; left: 8.5%; }
.card-4 { top: 36%; right: 8.5%; }
.card-5 { top: 46.5%; left: 8.5%; }
.card-6 { top: 57%; right: 8.5%; }
.card-7 { top: 67.5%; left: 8.5%; }
.card-8 { top: 73%; right: 8.5%; }

.bgrs-route-finish {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 16px;
  width: min(480px, 64%);
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  padding: 11px 16px;
  border: 1px solid rgba(71, 123, 78, .22);
  border-radius: 18px;
  background: rgba(239, 246, 230, .96);
  color: #113d66;
  box-shadow: 0 12px 28px rgba(31, 65, 75, .10);
}

.bgrs-route-finish:hover,
.bgrs-route-finish:focus-visible {
  background: #e8f1dc;
}

.bgrs-finish-flag {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--bgrs-navy);
  color: #fff;
  font-size:19px;
}

.bgrs-route-finish strong,
.bgrs-route-finish small {
  display: block;
}

.bgrs-route-finish strong {
  font-size:14px;
}

.bgrs-route-finish small {
  margin-top: 3px;
  color: #506970;
  font-size:14px;
}

.bgrs-start-back {
  margin-top: 22px;
  text-align: center;
}

.bgrs-start-back a {
  color: #0a5793;
  font-size:14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .bgrs-route-navigator {
    min-height: auto;
    padding: 28px 18px 28px 68px;
  }

  .bgrs-route-illustration {
    top: 24px;
    bottom: 28px;
    left: 22px;
    width: 46px;
    transform: none;
    opacity: .72;
  }

  .bgrs-route-card,
  .card-1, .card-2, .card-3, .card-4,
  .card-5, .card-6, .card-7, .card-8 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    min-height: 100px;
    margin-bottom: 18px;
  }

  .bgrs-route-finish {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 3px;
    transform: none;
  }
}

@media (max-width: 700px) {
  .site-header .bgrs-header-programme-logo {
    width: 56px;
    height: 38px;
    flex-basis: 56px;
  }

  .bgrs-start {
    padding-top: 18px;
  }

  .bgrs-start-shell {
    width: min(100% - 26px, 620px);
  }

  .bgrs-start-heading h1 {
    
  }

  .bgrs-start-heading p {
    font-size:16px;
  }

  .bgrs-route-navigator {
    padding-left: 54px;
    border-radius: 22px;
  }

  .bgrs-route-illustration {
    left: 15px;
    width: 38px;
  }

  .bgrs-route-card {
    grid-template-columns: 44px 1fr;
    gap: 9px;
    padding: 13px 12px;
    border-radius: 16px;
  }

  .bgrs-route-card img {
    width: 42px;
    height: 42px;
  }

  .bgrs-route-arrow {
    display: none;
  }

  .bgrs-route-copy strong {
    font-size:14px;
  }

  .bgrs-route-copy small {
    font-size:14px;
  }
}