/* RESPONSE project story — page-specific styles only. local-hub.css stays untouched. */

.response-story-page .response-story-hero .project-story-detail-hero-image {
  background-image: url("../images/bulgaria-serbia/projects/response/response-hero.webp");
  background-position: center 46%;
  background-size: cover;
}

.response-story-page .response-story-hero .project-story-detail-hero-wash {
  background: linear-gradient(90deg,
    rgba(250, 252, 248, 0.99) 0%,
    rgba(250, 252, 248, 0.95) 34%,
    rgba(250, 252, 248, 0.70) 57%,
    rgba(250, 252, 248, 0.12) 100%);
}

.response-story-page .project-story-detail-copy {
  max-width: 760px;
}

.response-story-page .project-story-detail-copy h1 {
  
  letter-spacing: -0.045em;
}

.response-hero-subtitle {
  max-width: 720px;
}

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

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

.response-risk-icon::before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  margin: 12px auto 0;
  border: 3px solid #0d7b75;
  border-radius: 50% 50% 46% 46%;
  box-shadow: inset 0 -6px 0 rgba(13, 123, 117, 0.14);
}

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

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

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

.response-project-numbers span {
  margin-top: 3px;
  color: #577487;
  font-size: 0.87rem;
}

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

.response-evidence,
.response-lessons,
.response-sources {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid rgba(155, 199, 196, 0.48);
  border-radius: 26px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 18px 40px rgba(20, 71, 91, 0.07);
}

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

.response-evidence-heading > p:last-child,
.response-sources > div > p:last-child {
  max-width: 900px;
  color: #587588;
}

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

.response-evidence figure {
  margin: 0;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(182, 211, 207, 0.65);
  border-radius: 20px;
  background: #f7fbfa;
}

.response-evidence img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  display: block;
  background: linear-gradient(135deg, #eff7f5, #fbfaf3);
}

.response-evidence figcaption {
  padding: 12px 14px 14px;
  color: #4e6d80;
  font-size: 0.86rem;
  line-height: 1.45;
}

.response-evidence figcaption a {
  display: block;
  margin-top: 4px;
  color: #007a70;
  font-weight: 800;
  text-decoration: none;
}

.response-lessons {
  background: linear-gradient(135deg, rgba(240,249,245,0.94), rgba(255,250,232,0.82));
}

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

.response-lessons-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(163, 202, 192, 0.46);
}

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

.response-lessons-grid span {
  color: #567486;
  line-height: 1.55;
}

.response-sources {
  background: linear-gradient(135deg, rgba(237,248,247,0.95), rgba(255,255,255,0.94));
}

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

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

.response-source-links a:hover {
  border-color: #007a70;
}

.response-sources small {
  display: block;
  color: #66808e;
  line-height: 1.55;
}

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

  .response-lessons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .response-story-page .response-story-hero .project-story-detail-hero-wash {
    background: linear-gradient(180deg, rgba(250,252,248,0.92), rgba(250,252,248,0.98));
  }

  .response-project-numbers {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }

  .response-evidence-grid {
    grid-template-columns: 1fr;
  }

  .response-evidence,
  .response-lessons,
  .response-sources {
    padding: 20px;
  }
}

/* =========================================================
   RESPONSE — watercolor micro-visuals
   Replaces the generic CSS-drawn placeholder icons on this page only.
   ========================================================= */
.response-story-page .project-story-fact-icon,
.response-story-page .story-card-icon {
  background-color: rgba(232, 246, 241, 0.86);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 88% auto;
  overflow: hidden;
}

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

/* Hero fact cards */
.response-story-page .response-risk-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/topic-resilience.webp");
}

.response-story-page .partner-meta-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/partners.webp");
}

.response-story-page .programme-meta-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/programme.webp");
}

.response-story-page .link-meta-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/official-link.webp");
}

/* Story section cards */
.response-story-page .intro-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/intro.webp");
}

.response-story-page .bg-partner-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/bulgarian-participation.webp");
}

.response-story-page .activity-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/activities.webp");
}

.response-story-page .results-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/results.webp");
}

.response-story-page .value-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/value.webp");
}

.response-story-page .tags-icon {
  background-image: url("../images/bulgaria-serbia/projects/response/icons/related-topics.webp");
}

/* The generated emblems have detail right up to their outer watercolor strokes.
   A little extra breathing room keeps them legible at 50–70px. */
.response-story-page .project-story-fact-icon {
  background-size: 82% auto;
}

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

@media (max-width: 760px) {
  .response-story-page .project-story-fact-icon,
  .response-story-page .story-card-icon {
    background-size: 82% auto;
  }
}
