/* Bulgaria–Serbia project stories — shared layer.
   Used together with assets/css/local-hub.css. */

.bgrs-story-page .project-story-facts a {
  color: inherit;
  text-decoration: none;
}

.bgrs-story-page .project-story-facts a:hover { color: #007a70; }

.bgrs-story-page .bgrs-project-numbers {
  max-width: 1280px;
  margin: 0 auto 26px;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bgrs-story-page .bgrs-project-numbers article {
  min-height: 92px;
  padding: 18px 20px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(155,199,196,.52);
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 12px 28px rgba(20,71,91,.07);
}

.bgrs-story-page .bgrs-project-numbers strong {
  color: #0a477a;
  font-size: 1.2rem;
}

.bgrs-story-page .bgrs-project-numbers span {
  margin-top: 3px;
  color: #577487;
  font-size: .87rem;
}

.bgrs-story-page .project-story-detail-card p strong,
.bgrs-story-page .project-story-feature-card p strong { color: #0b5377; }

/* Reusable watercolor icon system */
.bgrs-story-page .project-story-fact-icon,
.bgrs-story-page .story-card-icon {
  background-color: rgba(232,246,241,.86);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 86% auto;
  overflow: hidden;
}

.bgrs-story-page .project-story-fact-icon::before,
.bgrs-story-page .project-story-fact-icon::after,
.bgrs-story-page .story-card-icon::before,
.bgrs-story-page .story-card-icon::after {
  display: none !important;
  content: none !important;
}

.bgrs-story-page .icon-shield { background-image: url("../images/bulgaria-serbia/projects/response/icons/topic-resilience.webp"); }
.bgrs-story-page .icon-partnership { background-image: url("../images/bulgaria-serbia/projects/response/icons/partners.webp"); }
.bgrs-story-page .icon-cross-border { background-image: url("../images/bulgaria-serbia/projects/response/icons/programme.webp"); }
.bgrs-story-page .icon-external-link { background-image: url("../images/bulgaria-serbia/projects/response/icons/official-link.webp"); }
.bgrs-story-page .icon-compass { background-image: url("../images/bulgaria-serbia/projects/response/icons/intro.webp"); }
.bgrs-story-page .icon-eu-funding { background-image: url("../images/bulgaria-serbia/projects/response/icons/bulgarian-participation.webp"); }
.bgrs-story-page .icon-calendar { background-image: url("../images/bulgaria-serbia/projects/response/icons/activities.webp"); }
.bgrs-story-page .icon-finance { background-image: url("../images/bulgaria-serbia/projects/response/icons/value.webp"); }
.bgrs-story-page .icon-network { background-image: url("../images/bulgaria-serbia/projects/response/icons/related-topics.webp"); }
.bgrs-story-page .icon-results { background-image: url("../images/bulgaria-serbia/projects/response/icons/results.webp"); }

.bgrs-story-page .project-story-fact-icon { background-size: 82% auto; }
.bgrs-story-page .project-story-feature-card .story-card-icon,
.bgrs-story-page .project-story-detail-card .story-card-icon { background-size: 84% auto; }

/* Public execution traces / milestones */
.bgrs-story-page .bgrs-evidence,
.bgrs-story-page .bgrs-lessons,
.bgrs-story-page .bgrs-sources {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid rgba(155,199,196,.48);
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 40px rgba(20,71,91,.07);
}

.bgrs-story-page .bgrs-evidence h2,
.bgrs-story-page .bgrs-lessons h2,
.bgrs-story-page .bgrs-sources h2 {
  margin: 2px 0 8px;
  color: #073d6c;
  
  
}

.bgrs-story-page .bgrs-evidence-heading > p:last-child,
.bgrs-story-page .bgrs-sources > div > p:last-child {
  max-width: 920px;
  color: #587588;
}

.bgrs-story-page .bgrs-milestone-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-top: 18px;
}

.bgrs-story-page .bgrs-milestone {
  min-height: 190px;
  padding: 22px;
  display: grid;
  grid-template-columns: 62px minmax(0,1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(182,211,207,.65);
  border-radius: 20px;
  background: linear-gradient(145deg,#f7fbfa,#fffaf1);
}

.bgrs-story-page .bgrs-milestone .story-card-icon {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 18px;
}

.bgrs-story-page .bgrs-milestone time {
  display: inline-block;
  margin-bottom: 5px;
  color: #0a7a70;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bgrs-story-page .bgrs-milestone h3 {
  margin: 0 0 8px;
  color: #073466;
  font-size: 1.08rem;
}

.bgrs-story-page .bgrs-milestone p {
  margin: 0;
  color: #567486;
  font-size: .91rem;
  line-height: 1.5;
}

.bgrs-story-page .bgrs-milestone a {
  display: inline-flex;
  margin-top: 10px;
  color: #007a70;
  font-size: .86rem;
  font-weight: 850;
}

.bgrs-story-page .bgrs-lessons {
  background: linear-gradient(135deg,rgba(240,249,245,.94),rgba(255,250,232,.82));
}

.bgrs-story-page .bgrs-lessons-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.bgrs-story-page .bgrs-lessons-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(163,202,192,.46);
}

.bgrs-story-page .bgrs-lessons-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #075b55;
}

.bgrs-story-page .bgrs-lessons-grid span {
  color: #567486;
  line-height: 1.55;
}

.bgrs-story-page .bgrs-sources {
  background: linear-gradient(135deg,rgba(237,248,247,.95),rgba(255,255,255,.94));
}

.bgrs-story-page .bgrs-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 12px;
}

.bgrs-story-page .bgrs-source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(0,122,112,.26);
  border-radius: 999px;
  color: #006c64;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.bgrs-story-page .bgrs-source-links a:hover { border-color: #007a70; }
.bgrs-story-page .bgrs-sources small { display:block; color:#66808e; line-height:1.55; }

@media (max-width:1000px) {
  .bgrs-story-page .bgrs-project-numbers { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bgrs-story-page .bgrs-lessons-grid { grid-template-columns:1fr; }
}

@media (max-width:760px) {
  .bgrs-story-page .bgrs-project-numbers { padding:0 20px; grid-template-columns:1fr; }
  .bgrs-story-page .bgrs-milestone-grid { grid-template-columns:1fr; }
  .bgrs-story-page .bgrs-milestone { grid-template-columns:1fr; }
  .bgrs-story-page .bgrs-evidence,
  .bgrs-story-page .bgrs-lessons,
  .bgrs-story-page .bgrs-sources { padding:20px; }
}
