/* =========================================================
   BULGARIA–SERBIA — 03 / PROGRAMME OVERVIEW
   Dedicated page styles. Does not modify local-hub.css.
   ========================================================= */

.site-header .bgrs-header-programme-logo {
  width: 68px;
  height: 44px;
  flex: 0 0 68px;
  border: 0;
  border-radius: 0;
  background: transparent url("../images/programmes/logos/bulgaria-serbia-logo.png") center / 148% auto no-repeat;
  box-shadow: none;
}

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

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

.bgrs-overview-page {
  --bgrs-navy: #073b75;
  --bgrs-green: #477b4e;
  --bgrs-cream: #fbf7ec;
  --bgrs-paper: rgba(255, 253, 247, .94);
  --bgrs-line: rgba(103, 125, 105, .18);
  background: #f7f4eb;
}

.bgrs-overview {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 48px;
  background:
    linear-gradient(90deg, rgba(251,247,236,.98) 0%, rgba(251,247,236,.92) 42%, rgba(251,247,236,.58) 64%, rgba(251,247,236,.16) 100%) 0 0 / 100% 330px no-repeat,
    url("../images/bulgaria-serbia/hero/bgrs-hero-landscape.webp") right top / auto 330px no-repeat,
    linear-gradient(180deg, #fbf7ec 0%, #f5f3e9 58%, #eef5ef 100%);
}

.bgrs-overview-shell {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
}

.bgrs-overview-breadcrumbs {
  margin-bottom: 20px;
}

.bgrs-overview-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 32px;
  align-items: end;
  min-height: 185px;
  margin-bottom: 26px;
}

.bgrs-overview-copy {
  max-width: 720px;
}

.bgrs-overview-kicker,
.bgrs-section-heading > span {
  display: block;
  margin-bottom: 6px;
  color: #64825a;
  font-size:11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.bgrs-overview-copy h1 {
  margin: 0 0 12px;
  color: var(--bgrs-navy);
  
  
  line-height: 1.05;
  letter-spacing: -1px;
}

.bgrs-overview-copy p {
  max-width: 680px;
  margin: 0;
  color: #294d63;
  font-size:16px;
  line-height: 1.58;
}

.bgrs-overview-message {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 16px 18px;
  border: 1px solid rgba(112, 133, 105, .20);
  border-radius: 22px;
  background: rgba(255, 253, 247, .90);
  box-shadow: 0 14px 30px rgba(32, 61, 72, .11);
  backdrop-filter: blur(8px);
}

.bgrs-overview-message img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.bgrs-overview-message strong,
.bgrs-overview-message span {
  display: block;
}

.bgrs-overview-message strong {
  margin-bottom: 4px;
  color: #123f69;
  font-size:16px;
  line-height: 1.25;
}

.bgrs-overview-message span {
  color: #486577;
  font-size:14px;
  line-height: 1.42;
}

/* STATS */
.bgrs-overview-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.bgrs-stat-card {
  min-width: 0;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border: 1px solid var(--bgrs-line);
  border-radius: 20px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 12px 26px rgba(37, 63, 71, .09);
  text-align: center;
  text-decoration: none;
}

.bgrs-stat-link {
  position: relative;
  color: inherit;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bgrs-stat-link:hover,
.bgrs-stat-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(71, 123, 78, .38);
  box-shadow: 0 18px 32px rgba(37, 63, 71, .14);
}

.bgrs-stat-arrow {
  position: absolute;
  top: 12px;
  right: 13px;
  margin: 0 !important;
  color: #477b4e !important;
  font-size:17px !important;
  font-weight: 900;
  line-height: 1;
}

.bgrs-stat-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  object-fit: contain;
}

.bgrs-stat-card strong,
.bgrs-stat-card span {
  display: block;
}

.bgrs-stat-card strong {
  color: var(--bgrs-navy);
  font-size:20px;
  line-height: 1.1;
}

.bgrs-stat-card .bgrs-stat-word {
  font-size:19px;
}

.bgrs-stat-card span {
  margin-top: 5px;
  color: #526a72;
  font-size:14px;
  line-height: 1.3;
}

/* PRACTICAL GUIDANCE */
.bgrs-guidance-copy h2 {
  margin: 0;
  color: var(--bgrs-navy);
  
  
  line-height: 1.1;
}

.bgrs-overview-guidance {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 240px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(108, 126, 103, .17);
  border-radius: 24px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 16px 34px rgba(37, 63, 71, .09);
}

.bgrs-guidance-visual {
  overflow: hidden;
}

.bgrs-guidance-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bgrs-guidance-copy {
  align-self: center;
  padding: 24px 30px;
}

.bgrs-guidance-copy ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #34536a;
  font-size:14px;
  line-height: 1.42;
}

.bgrs-guidance-copy li::marker {
  color: #5f895d;
}

/* OFFICIAL NOTE */
.bgrs-official-note {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(88, 126, 91, .20);
  border-radius: 20px;
  background: #edf4e8;
}

.bgrs-official-note > img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.bgrs-official-note strong,
.bgrs-official-note span {
  display: block;
}

.bgrs-official-note strong {
  margin-bottom: 3px;
  color: #123f69;
  font-size:14px;
  line-height: 1.3;
}

.bgrs-official-note span {
  color: #456176;
  font-size:14px;
  line-height: 1.4;
}

.bgrs-official-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.bgrs-official-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #0b4e86;
  border-radius: 999px;
  background: #0b4e86;
  color: #fff;
  font-size:14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.bgrs-official-actions a:hover,
.bgrs-official-actions a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 78, 134, .16);
}

.bgrs-official-actions .bgrs-official-secondary {
  background: #fffdf7;
  color: #0b4e86;
}

.bgrs-overview-back {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 22px;
}

.bgrs-overview-back a {
  color: #0b5b91;
  font-size:14px;
  font-weight: 900;
  text-decoration: none;
}

.bgrs-overview-back a:hover {
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .bgrs-overview-intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bgrs-overview-message {
    max-width: 700px;
  }

  .bgrs-overview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

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

  .bgrs-overview {
    padding: 20px 14px 40px;
    background:
      linear-gradient(180deg, rgba(251,247,236,.92), rgba(251,247,236,.98)) 0 0 / 100% 300px no-repeat,
      url("../images/bulgaria-serbia/hero/bgrs-hero-landscape.webp") center top / auto 300px no-repeat,
      linear-gradient(180deg, #fbf7ec 0%, #eef5ef 100%);
  }

  .bgrs-overview-shell {
    width: 100%;
  }

  .bgrs-overview-copy h1 {
    
  }

  .bgrs-overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bgrs-stat-card {
    min-height: 132px;
  }


  .bgrs-overview-guidance {
    grid-template-columns: 1fr;
  }

  .bgrs-guidance-visual {
    height: 180px;
  }

  .bgrs-official-note {
    grid-template-columns: 44px 1fr;
  }

  .bgrs-official-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .bgrs-overview-back {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}