/* Programme identity in the global header + master Knowledge Hub mark 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;
}

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

/* =========================================================
   BULGARIA–SERBIA — PROGRAMME HOME / 01
   Dedicated styles; shared header/footer remain in local-hub.css.
   ========================================================= */

.bgrs-page {
  --bgrs-navy: #073b75;
  --bgrs-blue: #2e79b8;
  --bgrs-green: #477b4e;
  --bgrs-green-soft: #789b64;
  --bgrs-gold: #c89c52;
  --bgrs-cream: #fbf6e8;
  --bgrs-paper: #fffdf7;
  --bgrs-line: rgba(116, 127, 101, .22);
  --bgrs-shadow: 0 18px 46px rgba(26, 58, 73, .16);
  background: #f8f5ec;
}


/* PROGRAMME IDENTITY + CANONICAL FOOTER LOGO */
.site-footer .bgrs-master-mark {
  display: block;
  width: 50px;
  height: 44px;
  flex: 0 0 50px;
  object-fit: contain;
}

/* HERO */
.bgrs-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 20px;
  isolation: isolate;
  background: #edf2e7;
}

.bgrs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(251, 247, 236, .99) 0%,
      rgba(251, 247, 236, .96) 34%,
      rgba(251, 247, 236, .73) 48%,
      rgba(251, 247, 236, .18) 70%),
    url("../images/bulgaria-serbia/hero/bgrs-hero-landscape.webp") center right / cover no-repeat;
}

.bgrs-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -180px 23%;
  z-index: -1;
  height: 320px;
  border-radius: 50%;
  background: rgba(238, 244, 226, .78);
  filter: blur(48px);
}

.bgrs-hero-shell {
  width: min(1280px, calc(100% - 48px));
  min-height: 610px;
  margin: 0 auto;
  padding: 20px 20px 28px;
  display: grid;
  grid-template-columns: minmax(500px, 1fr) minmax(390px, .82fr);
  gap: 32px;
  align-items: center;
}

.bgrs-hero-copy {
  max-width: 620px;
  align-self: start;
}

.bgrs-hero-copy .breadcrumbs {
  margin-bottom: 14px;
}

.bgrs-hub-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #244f6d;
  font-size:14px;
  font-weight: 900;
}


.bgrs-hero-copy h1 {
  margin: 0 0 14px;
  color: var(--bgrs-navy);
  
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
}

.bgrs-hero-copy h1 > span {
  display: block;
}

.bgrs-title-programme {
  font-family: Georgia, "Times New Roman", serif;
  font-size:.52em;
  font-weight: 700;
  letter-spacing: -.5px;
}

.bgrs-title-country {
  white-space: nowrap;
}

.bgrs-title-years {
  margin-top: 4px;
  color: var(--bgrs-green);
  font-size:.72em;
  letter-spacing: -.5px;
}

.bgrs-hero-copy h2 {
  max-width: 590px;
  margin: 0 0 14px;
  color: #406e49;
  
  
  font-weight: 700;
  line-height: 1.28;
}

.bgrs-intro {
  max-width: 600px;
  margin: 0;
  color: #143b59;
  font-size:15px;
  line-height: 1.5;
}

.bgrs-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
  margin-top: 20px;
}

.bgrs-btn {
  min-height: 50px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  color: #fff;
  font-size:15px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(27, 66, 85, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bgrs-btn:hover,
.bgrs-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(27, 66, 85, .22);
}

.bgrs-btn-primary {
  background: linear-gradient(135deg, #073b75, #175b91);
}

.bgrs-btn-secondary {
  background: linear-gradient(135deg, #477b4e, #6e9861);
}

.bgrs-btn-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  font-size:19px;
}

.bgrs-official-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: #0a5793;
  font-weight: 900;
}

.bgrs-official-link span {
  font-size:22px;
}

/* FACTS PANEL */
.bgrs-facts-panel {
  position: relative;
  align-self: end;
  width: min(100%, 440px);
  margin: 24px 0 8px auto;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 26px;
  background: rgba(255, 253, 247, .91);
  box-shadow: var(--bgrs-shadow);
  backdrop-filter: blur(10px);
}

.bgrs-facts-heading {
  padding: 0 6px 12px;
  border-bottom: 1px solid rgba(113, 127, 104, .18);
}

.bgrs-facts-kicker {
  display: block;
  margin-bottom: 5px;
  color: #6a875f;
  font-size:12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.bgrs-facts-heading h2 {
  margin: 0;
  color: var(--bgrs-navy);
  
  
  line-height: 1.05;
}

.bgrs-facts-list {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.bgrs-fact-row {
  min-height: 50px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 10px;
  padding: 5px 9px 5px 5px;
  border: 1px solid rgba(158, 143, 103, .12);
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  color: inherit;
}

.bgrs-fact-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.bgrs-fact-row span,
.bgrs-fact-row strong {
  display: block;
}

.bgrs-fact-row span {
  margin-bottom: 3px;
  color: #355f73;
  font-size:14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.bgrs-fact-row strong {
  color: #113d66;
  font-size:14.5px;
  line-height: 1.22;
}


/* SHARED SECTION SHELL */
.bgrs-section-shell {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
}

.bgrs-section-heading span,
.bgrs-quick-heading span {
  display: block;
  margin-bottom: 5px;
  color: #69865e;
  font-size:14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.bgrs-section-heading h2,
.bgrs-quick-heading h2 {
  margin: 0;
  color: var(--bgrs-navy);
  
  
}

.bgrs-section-heading-centered {
  margin-bottom: 26px;
  text-align: center;
}

/* HIGHLIGHTS */
.bgrs-highlights {
  position: relative;
  padding: 44px 0 50px;
  background:
    radial-gradient(circle at 12% 0%, rgba(220, 232, 205, .62), transparent 32rem),
    linear-gradient(180deg, #f8f5ec 0%, #f4f1e8 100%);
}

.bgrs-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bgrs-highlight-card {
  position: relative;
  min-width: 0;
  padding-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(105, 124, 100, .16);
  border-radius: 24px;
  background: rgba(255, 253, 247, .96);
  color: var(--bgrs-navy);
  box-shadow: 0 14px 30px rgba(37, 63, 71, .10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bgrs-highlight-card:hover,
.bgrs-highlight-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(37, 63, 71, .16);
}

.bgrs-highlight-image {
  height: 184px;
  overflow: hidden;
}

.bgrs-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.bgrs-highlight-card:hover .bgrs-highlight-image img {
  transform: scale(1.025);
}

.bgrs-highlight-badge {
  position: relative;
  z-index: 2;
  display: block;
  width: 66px;
  height: 66px;
  margin: -34px auto 8px;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(40, 65, 72, .16));
}

.bgrs-highlight-card strong {
  display: block;
  padding: 0 18px;
  font-size:17px;
  line-height: 1.35;
  text-align: center;
}

.bgrs-highlight-card small {
  display: block;
  margin-top: 5px;
  padding: 0 16px;
  color: #5a6f75;
  font-size:14px;
  line-height: 1.35;
  text-align: center;
}

/* QUICK ACTIONS */
.bgrs-quick-section {
  padding: 0 0 56px;
  background: #f4f1e8;
}

.bgrs-quick-panel {
  padding: 26px 32px 28px;
  border: 1px solid rgba(114, 130, 111, .18);
  border-radius: 26px;
  background: rgba(255, 253, 247, .98);
  box-shadow: 0 18px 42px rgba(37, 63, 71, .11);
}

.bgrs-quick-heading {
  margin-bottom: 17px;
}

.bgrs-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bgrs-quick-item {
  min-height: 92px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 13px;
  padding: 9px 18px;
  border-left: 1px solid rgba(111, 129, 112, .20);
  color: inherit;
}

.bgrs-quick-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.bgrs-quick-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.bgrs-quick-item strong,
.bgrs-quick-item small {
  display: block;
}

.bgrs-quick-item strong {
  color: #113d66;
  font-size:14px;
  line-height: 1.3;
}

.bgrs-quick-item small {
  margin-top: 7px;
  color: #456176;
  font-size:14px;
  line-height: 1.42;
}

.bgrs-quick-item:hover strong,
.bgrs-quick-item:focus-visible strong {
  color: #477b4e;
}

/* RESPONSIVE */
@media (max-width: 1260px) {
  .bgrs-hero-shell {
    grid-template-columns: minmax(520px, 1fr) minmax(430px, .9fr);
    gap: 24px;
  }

  .bgrs-highlight-image {
    height: 180px;
  }

  .bgrs-quick-item {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 1080px) {
  .bgrs-hero::before {
    background:
      linear-gradient(180deg,
        rgba(251, 247, 236, .97) 0%,
        rgba(251, 247, 236, .91) 51%,
        rgba(244, 241, 232, .78) 100%),
      url("../images/bulgaria-serbia/hero/bgrs-hero-landscape.webp") center / cover no-repeat;
  }

  .bgrs-hero-shell {
    width: min(930px, calc(100% - 40px));
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .bgrs-hero-copy {
    max-width: 760px;
  }

  .bgrs-facts-panel {
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
  }

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

  .bgrs-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bgrs-highlight-image {
    height: 230px;
  }

  .bgrs-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bgrs-quick-item {
    border-top: 1px solid rgba(111, 129, 112, .20);
  }

  .bgrs-quick-item:nth-child(odd) {
    border-left: 0;
  }

  .bgrs-quick-item:nth-child(-n+2) {
    border-top: 0;
  }
}

@media (max-width: 700px) {
  .bgrs-hero {
    padding-bottom: 28px;
  }

  .bgrs-hero-shell,
  .bgrs-section-shell {
    width: min(100% - 26px, 640px);
  }

  .bgrs-hero-shell {
    padding-left: 3px;
    padding-right: 3px;
  }

  .bgrs-hub-label {
    font-size:14px;
  }


  .bgrs-hero-copy h1 {
    
    letter-spacing: -1px;
  }

  .bgrs-title-country {
    white-space: normal;
  }

  .bgrs-hero-copy h2 {
    
  }

  .bgrs-intro {
    font-size:15.5px;
  }

  .bgrs-hero-actions,
  .bgrs-facts-list,
  .bgrs-highlight-grid,
  .bgrs-quick-grid {
    grid-template-columns: 1fr;
  }

  .bgrs-facts-panel {
    padding: 20px 16px 18px;
    border-radius: 22px;
  }

  .bgrs-fact-row {
    min-height: 66px;
  }

  .bgrs-highlight-image {
    height: 225px;
  }

  .bgrs-quick-panel {
    padding: 24px 20px;
  }

  .bgrs-quick-item,
  .bgrs-quick-item:first-child {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(111, 129, 112, .20);
  }

  .bgrs-quick-item:first-child {
    border-top: 0;
  }
}
