.vid-app {
  --vid-ink: #18251f;
  --vid-text: #43534b;
  --vid-muted: #718078;
  --vid-line: #dfe7e1;
  --vid-soft: #f6f8f5;
  --vid-card: #ffffff;
  --vid-forest: #174f38;
  --vid-forest-dark: #0f3426;
  --vid-sage: #5f7f6c;
  --vid-lime: #9abb52;
  --vid-gold: #c99b3d;
  --vid-red: #b84a45;
  --vid-amber: #a66c20;
  --vid-blue: #426b86;
  --vid-shadow: 0 14px 36px rgba(24, 37, 31, .08);
  --vid-shadow-hover: 0 20px 46px rgba(24, 37, 31, .13);
  --vid-radius: 18px;
  --vid-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--vid-soft);
  color: var(--vid-ink);
  font-family: var(--vid-font) !important;
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.vid-app,
.vid-app * {
  box-sizing: border-box;
}

.vid-app a {
  color: inherit;
  text-decoration: none;
}

.vid-app img {
  display: block;
  max-width: 100%;
}


.vid-app h1,
.vid-app h2,
.vid-app h3,
.vid-app p,
.vid-app button,
.vid-app input,
.vid-app select {
  font-family: var(--vid-font) !important;
}

.vid-container {
  width: 100% !important;
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}

#gallery{
  padding: 30px 0px 0px 0px;
}


/* Hero */
.vid-app .vid-hero {
position: relative;
    overflow: hidden;
    padding: 25px 0 70px;
    color: #fff;
    background: linear-gradient(115deg, rgb(13 50 37 / 76%) 0%, rgb(23 79 56 / 77%) 58%, rgb(32 66 52 / 38%) 100%), url(../../../common/img/village_bg.png) center / cover no-repeat !important;
}

.vid-app .vid-hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -190px;
  top: -250px;
  border: 68px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  pointer-events: none;
}

.vid-app .vid-hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -210px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(154, 187, 82, .07);
  pointer-events: none;
}

.vid-app .vid-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 260px;
  padding-right: 500px !important;
}

/* Bharat TriImpact Network logo in the hero */
.vid-app .vid-hero-triimpact {
  display: inline-flex;
  align-items: center;
  width: 160px;
  min-height: 62px;
  margin: 0 0 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(5, 30, 19, .20);
}

.vid-app .vid-hero-triimpact img {
  width: 100%;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.resbanner_new {
  display: none;
}

main {
  padding: 0;
}

.vid-app .vid-eyebrow,
.vid-app .vid-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.vid-app .vid-eyebrow {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #eef6f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.vid-app .vid-eyebrow i {
  color: #b9dc85;
}

.vid-app .vid-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #ffffff !important;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.025em;
}

.vid-app .vid-hero h1 span {
  display: block;
  margin-top: 7px;
  color: #d5e8d9;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.01em;
}

.vid-app .vid-hero-inner > p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.75;
}

.vid-app .vid-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.vid-app .vid-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  transition: background .2s ease, transform .2s ease;
}

.vid-app .vid-hero-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .11);
}

.vid-app .vid-hero-chip i {
  color: #d8ebdb;
}

.vid-app .vid-hero-photo {
  position: absolute;
  top: 50%;
  right: 28px;
  width: 430px;
  height: 250px;
  overflow: hidden;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 20px;
  background: #dfe6e1;
  box-shadow: 0 24px 55px rgba(3, 20, 13, .30);
}

.vid-app .vid-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.03);
}

.vid-app .vid-hero-photo::after {
  content: "";
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(transparent, rgba(6, 25, 17, .88));
}

.vid-app .vid-hero-photo-overlay {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.vid-app .vid-hero-photo-overlay span,
.vid-app .vid-hero-photo-overlay strong {
  display: block;
}

.vid-app .vid-hero-photo-overlay span {
  color: #cfe2d3;
  font-size: 13px;
  font-weight: 500;
}

.vid-app .vid-hero-photo-overlay strong {
  margin-top: 4px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}


/* KPI cards */
.vid-app .vid-kpis {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: -46px;
}

.vid-app .vid-kpi-card {
  position: relative;
  min-width: 0;
  min-height: 176px;
  overflow: hidden;
  padding: 18px 18px 17px;
  border: 1px solid rgba(214, 225, 218, .95);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,250,.96));
  box-shadow:
    0 14px 34px rgba(20, 45, 33, .08),
    0 1px 0 rgba(255,255,255,.9) inset;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.vid-app .vid-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--kpi-accent, var(--vid-forest));
  opacity: .9;
}

.vid-app .vid-kpi-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -48px;
  top: -52px;
  border-radius: 50%;
  background: var(--kpi-glow, rgba(23, 79, 56, .07));
  pointer-events: none;
}

.vid-app .vid-kpi-card:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 211, 201, .98);
  box-shadow:
    0 20px 42px rgba(20, 45, 33, .13),
    0 1px 0 rgba(255,255,255,.95) inset;
}

.vid-app .vid-kpi-card .icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--kpi-icon-border, #dce9e1);
  border-radius: 12px;
  background: var(--kpi-icon-bg, #edf5f0);
  color: var(--kpi-accent, var(--vid-forest));
  font-size: 14px;
  box-shadow: 0 7px 16px rgba(24, 37, 31, .06);
}

.vid-app .tone-brand {
  --kpi-accent: #1f6a4a;
  --kpi-icon-bg: #eaf4ee;
  --kpi-icon-border: #d6e8dc;
  --kpi-glow: rgba(31, 106, 74, .08);
}

.vid-app .tone-blue {
  --kpi-accent: #3f728f;
  --kpi-icon-bg: #edf5f8;
  --kpi-icon-border: #d7e8ee;
  --kpi-glow: rgba(63, 114, 143, .08);
}

.vid-app .tone-slate {
  --kpi-accent: #596b62;
  --kpi-icon-bg: #f0f3f1;
  --kpi-icon-border: #e0e6e2;
  --kpi-glow: rgba(89, 107, 98, .08);
}

.vid-app .tone-amber {
  --kpi-accent: #a6721e;
  --kpi-icon-bg: #fbf3df;
  --kpi-icon-border: #f1dfb5;
  --kpi-glow: rgba(166, 114, 30, .08);
}

.vid-app .tone-red {
  --kpi-accent: #b34a45;
  --kpi-icon-bg: #faeceb;
  --kpi-icon-border: #f0d2d0;
  --kpi-glow: rgba(179, 74, 69, .08);
}

.vid-app .tone-teal {
  --kpi-accent: #1a7f7a;
  --kpi-icon-bg: #e6f5f4;
  --kpi-icon-border: #cbe8e6;
  --kpi-glow: rgba(26, 127, 122, .08);
}

.vid-app .tone-green {
  --kpi-accent: #3f7a58;
  --kpi-icon-bg: #eaf5ee;
  --kpi-icon-border: #d3e9da;
  --kpi-glow: rgba(63, 122, 88, .08);
}

.vid-app .vid-kpi-value {
  position: relative;
  z-index: 1;
  color: var(--vid-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.vid-app .vid-kpi-label {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: #24382d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.vid-app .vid-kpi-note {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: #7a8981;
  font-size: 13px;
  line-height: 1.55;
}


/* Shared sections */
.vid-app .vid-section,
.vid-app .vid-problem-section,
.vid-app .vid-method-section {
  padding: 36px 0;
}

.vid-app .vid-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}


.vid-app .vid-support-band h2 {
  margin: 0 0 7px;
  color: #ffff !important;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.vid-app .vid-section-head h2{
  color: #0b3022;
}

.vid-app .vid-section-head p,
.vid-app .vid-support-band p {
  max-width: 700px;
  margin: 0;
  color: var(--vid-muted);
  font-size: 13px;
  line-height: 1.7;
}

.vid-app .vid-kicker {
  color: var(--vid-forest);
}

/* Controls */
.vid-app .vid-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(150px, .8fr) minmax(210px, 1fr);
  gap: 9px;
  width: min(100%, 650px);
  padding: 8px;
  border: 1px solid var(--vid-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(24, 37, 31, .04);
}

.vid-app .vid-search { position: relative; }
.vid-app .vid-search i {
  position: absolute;
  z-index: 2;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #78877f;
  font-size: 13px;
}

.vid-app .vid-search input,
.vid-app .vid-select,
.vid-app .vid-market-filter input,
.vid-app .vid-market-filter select {
  width: 100% !important;
  max-width: 100% !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #cfdad3 !important;
  border-radius: 10px !important;
  outline: none !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--vid-ink) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 40px !important;
  text-align: left !important;
}

.vid-app .vid-search input { padding-left: 38px !important; }
.vid-app .vid-search input:focus,
.vid-app .vid-select:focus,
.vid-app .vid-market-filter input:focus,
.vid-app .vid-market-filter select:focus {
  border-color: #6f917b !important;
  box-shadow: 0 0 0 3px rgba(23, 79, 56, .10) !important;
}

/* Village auto-select suggestions dropdown — disabled for now, kept for
   future use. Uncomment together with the matching HTML in index.php
   (#villageSuggest) and JS in js/dashboard.js (search "villageSuggest").
.vid-app .vid-search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #cfdad3;
  border-radius: 10px;
  box-shadow: 0 10px 24px -12px rgba(23, 79, 56, .25);
}
.vid-app .vid-search-suggest-item {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid #eef2ef;
  background: #fff;
  color: var(--vid-ink);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.vid-app .vid-search-suggest-item:last-child { border-bottom: 0; }
.vid-app .vid-search-suggest-item:hover,
.vid-app .vid-search-suggest-item.is-active { background: #f2f7f3; }
.vid-app .vid-search-suggest-item small { display: block; color: #78877f; font-size: 11px; margin-top: 2px; }
.vid-app .vid-search-suggest-empty { padding: 10px 14px; color: #78877f; font-size: 12.5px; }
*/

/* Village cards */
.vid-app .vid-villages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.vid-app .vid-village-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vid-line);
  border-radius: var(--vid-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 37, 31, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.vid-app .vid-village-card:hover {
  transform: translateY(-4px);
  border-color: #cbd8d0;
  box-shadow: var(--vid-shadow-hover);
}

.vid-app .vid-village-media {
  position: relative;
  display: block !important;
  width: 100% !important;
  height: 210px !important;
  min-height: 210px !important;
  overflow: hidden;
  background: #dfe7e1;
}

.vid-app .vid-village-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 210px !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform .4s ease;
}

.vid-app .vid-village-media-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(13, 50, 37, .35) 0%, rgba(13, 50, 37, .72) 100%),
    url(../../../common/img/village_bg.png) center / cover no-repeat;
  color: #ffffff;
}

.vid-app .vid-village-media-empty i {
  font-size: 26px;
  color: rgba(255, 255, 255, .85);
}

.vid-app .vid-village-media-empty span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

.vid-app .vid-village-card:hover .vid-village-media img { transform: scale(1.035); }
.vid-app .vid-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 25, 17, .60), transparent 60%);
  pointer-events: none;
}

.vid-app .vid-cover-status {
  position: absolute;
  z-index: 3;
  left: 13px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .13);
}

.vid-app .vid-cover-status.is-critical { background: #fff0ee; color: #a83f39; }
.vid-app .vid-cover-status.is-verified { background: #e9f8ef; color: var(--vid-forest); }

.vid-app .vid-village-content {
  display: flex;
  flex-direction: column;
  min-height: 275px;
  padding: 18px;
}

.vid-app .vid-village-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vid-app .vid-village-title-row h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.vid-app .vid-village-location {
  display: flex;
  gap: 6px;
  margin: 0;
  color: var(--vid-muted);
  font-size: 13px;
  line-height: 1.45;
}

.vid-app .vid-village-location i { margin-top: 3px; color: var(--vid-sage); }
.vid-app .vid-data-pill {
  flex: none;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf3ef;
  color: var(--vid-forest);
  font-size: 13px;
  font-weight: 700;
}

.vid-app .vid-partner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px 12px 16px;
  overflow: hidden;
  border: 1px solid #b9d7c4;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f8f3 0%, #f8fcf9 55%, #eef7f1 100%);
  
}

.vid-app .vid-partner::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 4px;
  border-radius: 0 6px 6px 0;
  background: var(--vid-forest);
}

.vid-app .vid-partner > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #cce2d3;
  border-radius: 10px;
  background: #ffffff;
  color: var(--vid-forest);
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(23, 79, 56, .08);
}

.vid-app .vid-partner > div {
  min-width: 0;
  flex: 1;
}

.vid-app .vid-partner span,
.vid-app .vid-partner strong {
  display: block;
  line-height: 1.4;
}

.vid-app .vid-partner span {
  margin-bottom: 2px;
  color: #738279;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .01em;
}
.vid-app .vid-partner strong {
    color: #174f38 !important;
}

.vid-app .vid-partner strong {
  color: #123d2c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.vid-app .vid-village-summary { margin: 13px 0; color: #58675f; font-size: 13px; line-height: 1.6; font-size: 13px !important;}

.vid-app .vid-village-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  border-top: 1px solid #e7ede9;
  border-bottom: 1px solid #e7ede9;
}

.vid-app .vid-village-stats div { padding: 11px 4px; text-align: center; border-right: 1px solid #e7ede9; }
.vid-app .vid-village-stats div:last-child { border-right: 0; }
.vid-app .vid-village-stats strong,
.vid-app .vid-village-stats span { display: block; font-size: 13px; }
.vid-app .vid-village-stats span { color: #7a887f; text-transform: uppercase; }

.vid-app .vid-village-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 12px;
  color: #6b7a72;
  font-size: 13px;
}

.vid-app .vid-village-footer span { display: inline-flex; align-items: center; gap: 5px; }
.vid-app .vid-village-footer a { margin-left: auto; color: var(--vid-forest); font-weight: 700; }

/* Problems */
.vid-app .vid-problem-section {
  background: #fff;
  border-top: 1px solid var(--vid-line);
  border-bottom: 1px solid var(--vid-line);
}

.vid-app .vid-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 17px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  white-space: nowrap;
}

.vid-app .vid-action-btn-dark { background: var(--vid-forest-dark) !important; color: #fff !important; }
.vid-app .vid-action-btn-primary { background: #fff !important; color: var(--vid-forest-dark) !important; }

.vid-app .vid-market-filter {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr .8fr;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid #d8e2db;
  border-radius: 14px;
  background: #f5f8f5;
}

.vid-app .vid-problem-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 18px;
  color: #627169;
  font-size: 13px;
}

.vid-app .vid-problem-clear-filter {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--vid-forest);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.vid-app .vid-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vid-app .vid-problem-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--vid-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 21px rgba(24, 37, 31, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.vid-app .vid-problem-card:hover {
  transform: translateY(-3px);
  border-color: #cbd8d0;
  box-shadow: var(--vid-shadow-hover);
}

.vid-app .vid-problem-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vid-app .vid-problem-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf3ef;
  color: var(--vid-forest);
  font-size: 15px;
}

.vid-app .vid-problem-icon-water { background: #edf4f6; color: #426b86; }
.vid-app .vid-problem-icon-environment { background: #edf5eb; color: #4f7659; }
.vid-app .vid-problem-icon-waste { background: #e9f3ec; color: #367056; }
.vid-app .vid-problem-icon-health { background: #f8ecea; color: #ad514b; }
.vid-app .vid-problem-icon-transport { background: #f0eef4; color: #665d78; }
.vid-app .vid-problem-icon-energy { background: #faf3df; color: #a87920; }
.vid-app .vid-problem-icon-education { background: #eef1f6; color: #52657a; }

.vid-app .vid-problem-badge {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.vid-app .badge-critical { background: #fff0ee; color: #aa423c; }
.vid-app .badge-high { background: #faf2df; color: #95651f; }
.vid-app .badge-medium { background: #f3f0df; color: #76651f; }
.vid-app .badge-low,
.vid-app .badge-opportunity { background: #eaf5ee; color: #3d704f; }

.vid-app .vid-kind-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vid-app .vid-kind-tag.vid-kind-problem {
  border: 1px solid #f0d2d0;
  background: #fff5f4;
  color: #a5433d;
}

.vid-app .vid-kind-tag.vid-kind-opportunity {
  border: 1px solid #cfe5d8;
  background: #f0f8f3;
  color: #1f6a4a;
}

.vid-app .vid-problem-category {
  margin: 12px 0 5px;
  color: #6b7a72;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vid-app .vid-problem-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vid-app .vid-problem-card > p {
  margin: 0;
  color: #68776f;
  font-size: 13px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.vid-app .vid-problem-stage {
  margin-top: auto;
  padding: 14px 0 12px 10px;
  border-left: 2px solid var(--vid-gold);
}

.vid-app .vid-problem-stage span,
.vid-app .vid-problem-stage strong { display: block; font-size: 13px; }
.vid-app .vid-problem-stage span { color: #7a887f; }
.vid-app .vid-problem-stage strong { color: #2e3f36; }

.vid-app .vid-problem-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid #e7ede9;
  color: #748078;
  font-size: 13px;
}

.vid-app .vid-problem-card-footer span { min-width: 0; overflow-wrap: anywhere; }
.vid-app .vid-problem-card-footer a { margin-left: auto; color: var(--vid-forest); font-weight: 700; white-space: nowrap; }

/* Support */
.vid-app .vid-support-band {
  padding: 40px 0;
  color: #fff;
  background: linear-gradient(125deg, var(--vid-forest-dark), #315c46);
}

.vid-app .vid-support-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.vid-app .vid-support-band h2 { color: #fff; }
.vid-app .vid-support-band p { margin-bottom: 20px; color: rgba(255, 255, 255, .76); }
.vid-app .vid-support-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vid-app .vid-support-type {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}
.vid-app .vid-support-type strong,
.vid-app .vid-support-type span { display: block; font-size: 13px; line-height: 1.5; }
.vid-app .vid-support-type span { color: rgba(255, 255, 255, .68); }

/* Event gallery */
.vid-app .vid-event-section { padding: 36px 0; background: var(--vid-soft); }
.vid-app .vid-event-gallery-frame {
  width: 100%;
  height: 620px;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--vid-line);
  border-radius: 18px;
  background: #13251d;
  box-shadow: var(--vid-shadow);
}
.vid-app .vid-event-gallery-frame iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  border: 0 !important;
}

/* Method */
.vid-app .vid-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vid-app .vid-method-card {
  padding: 21px;
  border: 1px solid var(--vid-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(24, 37, 31, .05);
}
.vid-app .vid-step-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 9px;
  background: #e8f2eb;
  color: var(--vid-forest);
  font-size: 13px;
  font-weight: 700;
}
.vid-app .vid-method-card h3 { margin: 0 0 7px; font-size: 15px; }
.vid-app .vid-method-card p { margin: 0; color: var(--vid-muted); font-size: 13px; line-height: 1.65; }

/* Loading and empty states */
.vid-app .vid-skeleton,
.vid-app .vid-card-skeleton {
  border-radius: 14px;
  background: linear-gradient(90deg, #e8eee9 25%, #f8faf8 37%, #e8eee9 63%);
  background-size: 400% 100%;
  animation: vidShimmer 1.35s ease infinite;
}
.vid-app .vid-card-skeleton { height: 475px; }
@keyframes vidShimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.vid-app .vid-empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed #cad7cf;
  border-radius: 14px;
  background: #fff;
  color: var(--vid-muted);
  font-size: 13px;
}
.vid-app .vid-empty i,
.vid-app .vid-empty strong,
.vid-app .vid-empty span { display: block; }
.vid-app .vid-empty i { margin-bottom: 9px; font-size: 15px; }
.vid-app .vid-empty strong { color: var(--vid-ink); font-size: 15px; }
#problemEmptyState { margin-top: 20px; }

.vid-app .vid-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.vid-app .vid-pagination button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--vid-line);
  border-radius: 9px;
  background: #fff;
  color: #5c6b63;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.vid-app .vid-pagination button:hover,
.vid-app .vid-pagination button.active { border-color: var(--vid-forest); background: var(--vid-forest); color: #fff; }
.vid-app .vid-pagination button:disabled { opacity: .35; cursor: not-allowed; }

/* Lightbox */
.vid-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 8, .96);
}
.vid-lightbox.open { display: flex; }
/*
 * Redesigned: the old version wrapped the photo in a padded, bordered,
 * dark-green "card" (own background, border-radius, box-shadow) sitting
 * inside the dimmed backdrop — a box around a box. The photo now floats
 * directly on the backdrop with its own shadow only, which is what most
 * modern lightboxes (Google Photos, Unsplash, etc.) do; the close/prev/
 * next controls anchor to the fixed viewport corners below instead of
 * the old card's shrinking edges, so they no longer float in an odd spot
 * next to a small image.
 */
.vid-lightbox-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .2s ease, transform .2s ease;
}
.vid-lightbox.open .vid-lightbox-card {
  opacity: 1;
  transform: scale(1);
}
/*
 * Zoom/pan is driven entirely by JS via a CSS transform on the <img>
 * itself (translate for pan, scale for zoom) instead of the old
 * "snap to native pixel size + native scroll" approach — that let
 * zoom jump straight to a huge, unpredictable size on high-res photos
 * with no way to land in between. transform-based zoom is continuous,
 * animated, cursor/pinch-anchored, and capped in JS at the point where
 * it would exceed the source photo's own resolution (see lbMaxZoom in
 * app.js) so it still never fabricates detail that isn't in the file.
 * touch-action: none hands touch gestures to that JS instead of letting
 * the browser's own scroll/pinch fight it.
 */
.vid-lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 74vh;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}
.vid-lightbox-inner.is-zoomed { cursor: grab; }
.vid-lightbox-inner.is-zoomed.is-panning { cursor: grabbing; }
.vid-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 74vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .5);
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform .12s ease-out;
}
/* Killed during an active drag/pinch so movement tracks the pointer
   with no lag; re-enabled for the discrete jumps (buttons, wheel steps,
   click-to-zoom) which is where the animation is actually wanted. */
.vid-lightbox-inner.is-panning img { transition: none; }

.vid-lightbox-cap { margin-bottom: 12px; color: #fff; font-size: 15px; font-weight: 700; text-align: center; }
.vid-lightbox-sub { margin-top: 3px; color: rgba(255, 255, 255, .65); font-size: 13px; text-align: center; }

.vid-lightbox-zoombar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 14px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}
.vid-lightbox-zoombar button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s ease;
}
.vid-lightbox-zoombar button:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.vid-lightbox-zoombar button:disabled { color: rgba(255, 255, 255, .3); cursor: default; }
.vid-lightbox-zoompct { min-width: 44px; text-align: center; color: rgba(255, 255, 255, .8); font-size: 12px; font-weight: 700; }

.vid-lightbox-close,
.vid-lightbox-nav {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: background .15s ease;
}
.vid-lightbox-close:hover,
.vid-lightbox-nav:hover { background: rgba(255, 255, 255, .18); }
.vid-lightbox-close { top: 18px; right: 18px; }
.vid-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.vid-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 620px) {
  .vid-lightbox-close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .vid-lightbox-prev { left: 6px; width: 36px; height: 36px; }
  .vid-lightbox-next { right: 6px; width: 36px; height: 36px; }
  .vid-lightbox-inner { max-width: 94vw; max-height: 64vh; }
  .vid-lightbox img { max-width: 94vw; max-height: 64vh; }
}

/* Responsive */
@media (max-width: 1150px) {
  .vid-app .vid-hero-inner { padding-right: 400px !important; }
  .vid-app .vid-hero-photo { width: 350px; height: 225px; }
  .vid-app .vid-kpis { grid-template-columns: repeat(3, 1fr); }
  .vid-app .vid-villages-grid,
  .vid-app .vid-problem-grid { grid-template-columns: repeat(2, 1fr); }
  .vid-app .vid-toolbar { width: 100%; }
}

@media (max-width: 820px) {
  .vid-app .vid-container { padding: 0 18px !important; }
  .vid-app .vid-hero-inner { min-height: 0; padding-right: 18px !important; }
  .vid-app .vid-hero-photo { position: relative; top: auto; right: auto; width: 100%; height: 260px; margin-top: 26px; transform: none; }
  .vid-app .vid-section-head { align-items: flex-start; flex-direction: column; }
  .vid-app .vid-toolbar,
  .vid-app .vid-market-filter { grid-template-columns: 1fr 1fr; width: 100%; }
  .vid-app .vid-kpis { grid-template-columns: repeat(2, 1fr); }
  .vid-app .vid-support-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .vid-app .vid-event-gallery-frame { height: 500px; min-height: 500px; }
}

@media (max-width: 560px) {
  .vid-app .vid-hero-triimpact {
    width: 145px;
    min-height: 57px;
    margin-bottom: 13px;
    padding: 6px 9px;
    border-radius: 11px;
  }

  .vid-app .vid-hero-triimpact img { max-height: 42px; }

  .vid-app .vid-hero { padding: 34px 0 72px; }
  .vid-app .vid-hero h1 { font-size: 30px; }
  .vid-app .vid-hero h1 span { font-size: 18px; }
  .vid-app .vid-hero-photo { height: 220px; border-radius: 16px; }
  .vid-app .vid-kpis { grid-template-columns: 1fr; margin-top: -38px; }
  .vid-app .vid-toolbar,
  .vid-app .vid-market-filter,
  .vid-app .vid-villages-grid,
  .vid-app .vid-problem-grid,
  .vid-app .vid-support-types,
  .vid-app .vid-method-grid { grid-template-columns: 1fr; }
  .vid-app .vid-village-content { min-height: 0; }
  .vid-app .vid-problem-card-footer,
  .vid-app .vid-village-footer { align-items: flex-start; flex-wrap: wrap; }
  .vid-app .vid-problem-card-footer a,
  .vid-app .vid-village-footer a { width: 100%; margin-left: 0; }
  .vid-app .vid-event-gallery-frame { height: 420px; min-height: 420px; }
}

.vid-problem-app {
  --problem-ink: #18251f;
  --problem-text: #43534b;
  --problem-muted: #718078;
  --problem-line: #dfe7e1;
  --problem-soft: #f6f8f5;
  --problem-card: #ffffff;
  --problem-forest: #174f38;
  --problem-forest-dark: #0f3426;
  --problem-sage: #5f7f6c;
  --problem-lime: #9abb52;
  --problem-gold: #c99b3d;
  --problem-red: #b84a45;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--problem-soft);
  color: var(--problem-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.vid-problem-app,
.vid-problem-app * {
  box-sizing: border-box;
}

.vid-problem-app a {
  color: inherit;
  text-decoration: none;
}

.vid-problem-app img {
  display: block;
  max-width: 100%;
}

.vid-problem-container {
  width: 100% !important;
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}

.vid-problem-hero {
  position: relative;
  overflow: hidden;
  padding: 25px 0 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 10%, rgba(154, 187, 82, .13), transparent 31%),
    linear-gradient(115deg, #0d3225 0%, #174f38 58%, #255f47 100%);
}

.vid-problem-hero::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  right: -190px;
  top: -260px;
  border: 70px solid rgba(255,255,255,.035);
  border-radius: 50%;
}

.vid-problem-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
}

.vid-problem-hero-content {
  min-width: 0;
}

.vid-problem-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.vid-problem-breadcrumb a {
  color: rgba(255,255,255,.88);
}

.vid-problem-breadcrumb a:hover {
  color: #ffffff;
}

.vid-problem-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #156128;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #156128;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vid-problem-eyebrow i {
  color: #156128;
}

.vid-problem-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(30px, 3.8vw, 40px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.vid-problem-hero-statement {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.75;
}

.vid-problem-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.vid-problem-app .vid-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.vid-badge .sev-low{
  color: #000000 !important;
}

.vid-problem-app .sev-critical { background: #fff0ee; color: #a83f39; border-color: #f4d3cf; }
.vid-problem-app .sev-high { background: #faf2df; color: #95651f; border-color: #eeddb6; }
.vid-problem-app .sev-medium { background: #f3f0df; color: #76651f; border-color: #e5dfbd; }
.vid-problem-app .sev-low { background: #eaf5ee; color: #000000 !important; border-color: #d4e8db; }
.vid-problem-app .st-approved,
.vid-problem-app .st-published,
.vid-problem-app .st-closed { background: #eaf5ee; color: #3d704f; border-color: #d4e8db; }
.vid-problem-app .st-pending { background: #f0f3f1; color: #596b62; border-color: #dfe6e2; }

.vid-problem-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.vid-problem-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid transparent;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.vid-problem-btn:hover {
  transform: translateY(-2px);
}

.vid-problem-btn-primary {
  background: #ffffff;
  color: var(--problem-forest-dark) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.vid-problem-btn-outline {
  border-color: rgba(255,255,255,.23);
  background: rgba(255,255,255,.07);
  color: #ffffff !important;
}

.vid-problem-hero-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 55px rgba(3,20,13,.3);
  backdrop-filter: blur(8px);
}

.vid-problem-hero-image {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #dfe6e1;
  border: 20px solid rgb(252, 252, 252);
}

.vid-problem-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vid-problem-hero-image::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(6,25,17,.75));
}

.vid-problem-image-status {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--problem-forest);
  font-size: 13px;
  font-weight: 700;
}

.vid-problem-stage-block {
  padding: 0px 18px 12px;
  background: rgb(252, 252, 252);
}

.vid-problem-stage-block span,
.vid-problem-stage-block strong {
  display: block;
}

.vid-problem-stage-block span {
  color: rgba(11, 11, 11, 0.66);
  font-size: 13px;
}

.vid-problem-stage-block strong {
  margin-top: 3px;
  color: #000000;
  font-size: 15px;
}

.vid-problem-content-section {
  padding: 20px 0 54px;
}

.vid-problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 15px;
  align-items: start;
}

.vid-problem-main-column,
.vid-problem-side {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.vid-problem-card {
  min-width: 0;
  padding: 10px 20px;
  border: 1px solid var(--problem-line);
  border-radius: 18px;
  background: var(--problem-card);
  box-shadow: 0 10px 28px rgba(24,37,31,.06);
}

.vid-problem-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.vid-problem-card-icon {
  width: 40px;
  height: 40px;
  display: grid !important;
  place-items: center;
  flex: none;
  border: 1px solid #d7e7dc;
  border-radius: 11px;
  background: #eaf4ee;
  color: var(--problem-forest);
  font-size: 14px;
}

.vid-problem-card-head span,
.vid-problem-card-head h2 {
  display: block;
}

.vid-problem-card-head > div > span {
  color: var(--problem-sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vid-problem-card-head h2 {
  margin: 2px 0 0;
  color: var(--problem-ink);
  font-size: 15px;
  line-height: 1.35;
}

.vid-problem-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.vid-meta-item {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e2e9e4;
  border-radius: 12px;
  background: #f8faf8;
}

.vid-meta-item .l {
  color: var(--problem-muted);
  font-size: 12px;
}

.vid-meta-item .v {
  margin-top: 4px;
  color: var(--problem-ink);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vid-problem-description-block {
  margin-top: 15px;
  padding-top: 18px;
  border-top: 1px solid #e5ebe7;
}

.vid-problem-description-block h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.vid-problem-description-block p {
  margin: 0;
  color: var(--problem-text);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.vid-problem-side-item {
  padding: 13px 0;
  border-top: 1px solid #e5ebe7;
}

.vid-problem-side-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.vid-problem-side-item span,
.vid-problem-side-item strong {
  display: block;
}

.vid-problem-side-item span {
  color: #156128;
  font-size: 12px;
}

.vid-problem-side-item strong {
  margin-top: 5px;
  color: var(--problem-ink);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.vid-problem-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
}

.vid-problem-images .vid-gitem {
  position: relative;
  height: 120px;
  overflow: hidden;
  border-radius: 11px;
  background: #e7ede9;
  cursor: pointer;
}

.vid-problem-images .vid-gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vid-problem-images .vid-gitem-zoom {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(15,52,38,.8);
  color: #ffffff;
}

.vid-problem-empty {
  padding: 28px 18px;
  text-align: center;
  border: 1px dashed #cad7cf;
  border-radius: 13px;
  background: #f9fbf9;
  color: var(--problem-muted);
}

.vid-problem-empty i,
.vid-problem-empty strong,
.vid-problem-empty span {
  display: block;
}

.vid-problem-empty i {
  margin-bottom: 8px;
  font-size: 18px;
}

.vid-problem-empty strong {
  color: var(--problem-ink);
}

.vid-problem-lifecycle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}

.vid-problem-life-step {
  position: relative;
  padding: 15px;
  border: 1px solid #e0e8e2;
  border-radius: 13px;
  background: #f8faf8;
}

.vid-problem-life-step::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -11px;
  width: 12px;
  height: 2px;
  background: #d9e3dc;
}

.vid-problem-life-step:last-child::after {
  display: none;
}

.vid-problem-life-step i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 9px;
  background: #e8f2eb;
  color: var(--problem-forest);
}

.vid-problem-life-step strong,
.vid-problem-life-step span {
  display: block;
}

.vid-problem-life-step strong {
  font-size: 13px;
}

.vid-problem-life-step span {
  margin-top: 3px;
  color: var(--problem-muted);
  font-size: 12px;
}

.vid-problem-life-step.is-active {
  border-color: #a9c2b0;
  background: #edf6f0;
}

.vid-problem-info-table {
  overflow: hidden;
  border: 1px solid #e0e8e2;
  border-radius: 13px;
}

.vid-problem-info-table > div {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr);
  gap: 14px;
  padding: 12px 14px;
  border-top: 1px solid #e7ede9;
}

.vid-problem-info-table > div:first-child {
  border-top: 0;
}

.vid-problem-info-table span {
  color: var(--problem-muted);
}

.vid-problem-info-table strong {
  color: var(--problem-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vid-problem-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 15px;
}

.vid-problem-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vid-problem-list li {
  position: relative;
  padding: 10px 11px 10px 35px;
  border: 1px solid #e3eae5;
  border-radius: 11px;
  background: #f9fbf9;
  color: var(--problem-text);
  line-height: 1.55;
}

.vid-problem-list li::before {
  content: "\f058";
  position: absolute;
  left: 12px;
  top: 11px;
  color: var(--problem-forest);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.vid-problem-success-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid #cfe0d4;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef7f1, #f8fbf8);
}

.vid-problem-success-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--problem-forest);
  color: #ffffff;
}

.vid-problem-success-card strong {
  color: var(--problem-forest-dark);
  font-size: 15px;
}

.vid-problem-success-card p {
  margin: 5px 0 0;
  color: var(--problem-text);
  line-height: 1.65;
}

.vid-problem-support-card {
  padding: 21px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--problem-forest-dark), #315c46);
  box-shadow: 0 16px 36px rgba(15,52,38,.18);
}

.vid-problem-support-kicker {
  color: #cfe5d3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.vid-problem-support-card h2 {
  margin: 7px 0 8px;
  color: #ffffff !important;
  font-size: 19px;
  line-height: 1.3;
}

.vid-problem-support-card p {
  margin: 0 0 17px;
  color: rgba(255,255,255,.74);
  line-height: 1.3;
}

.vid-problem-btn-light {
  width: 100%;
  background: #ffffff;
  color: var(--problem-forest-dark) !important;
}

.vid-problem-badge,
.vid-badge {
  text-transform: capitalize;
}

.vid-problem-email-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: rgba(255,255,255,.82) !important;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .vid-problem-hero-grid {
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 34px;
  }

  .vid-problem-layout {
    grid-template-columns: minmax(0,1fr) 340px;
  }

  .vid-problem-meta-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 860px) {
  .vid-problem-container {
    padding: 0 18px !important;
  }

  .vid-problem-hero-grid,
  .vid-problem-layout {
    grid-template-columns: 1fr;
  }

  .vid-problem-hero-card {
    max-width: 620px;
  }

  .vid-problem-side {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .vid-problem-support-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .vid-problem-hero {
    padding: 34px 0 70px;
  }

  .vid-problem-hero h1 {
    font-size: 30px;
  }

  .vid-problem-hero-actions {
    flex-direction: column;
  }

  .vid-problem-btn {
    width: 100%;
  }

  .vid-problem-hero-image {
    height: 210px;
  }

  .vid-problem-side,
  .vid-problem-two-col,
  .vid-problem-meta-grid,
  .vid-problem-lifecycle {
    grid-template-columns: 1fr;
  }

  .vid-problem-life-step::after {
    display: none;
  }

  .vid-problem-info-table > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .vid-problem-images {
    grid-template-columns: 1fr;
  }

  .vid-problem-images .vid-gitem {
    height: 190px;
  }
}

/* =========================================================
   Problem hero metadata — labels, not buttons
   ========================================================= */
.vid-problem-app .vid-problem-badges {
  display: flex;
  width: 95%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 10px;

}



#pdEyebrow{
      display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #ffffff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#pdEyebrow i{
  color: #ffff;
}

.vid-problem-app .vid-problem-badges .vid-badge {
  position: relative;
  min-height: auto;
  margin: 0;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #000000 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: capitalize;
}

.vid-problem-app .vid-problem-badges .vid-badge:first-child {
  padding-left: 0;
}

.vid-problem-app .vid-problem-badges .vid-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #d7e8dc;
  vertical-align: 1px;
}

.vid-problem-app .vid-problem-badges .vid-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .20);
  transform: translateY(-50%);
}

.vid-problem-app .vid-problem-badges .vid-badge:last-child::after {
  display: none;
}

.vid-problem-app .vid-problem-badges .sev-critical::before {
  background: #ff9b92;
}

.vid-problem-app .vid-problem-badges .sev-high::before {
  background: #f2be66;
}

.vid-problem-app .vid-problem-badges .sev-medium::before {
  background: #e8ca68;
}

.vid-problem-app .vid-problem-badges .sev-low::before,
.vid-problem-app .vid-problem-badges .st-approved::before,
.vid-problem-app .vid-problem-badges .st-published::before,
.vid-problem-app .vid-problem-badges .st-closed::before {
  background: #8fd0a7;
}

.vid-problem-app .vid-problem-badges .st-pending::before {
  background: #c8d0cb;
}

.vid-problem-app .vid-problem-badges .vid-badge i {
  margin-right: 5px;
  color: inherit;
}

@media (max-width: 560px) {
  .vid-problem-app .vid-problem-badges {
    row-gap: 8px;
  }

  .vid-problem-app .vid-problem-badges .vid-badge {
    padding: 0 10px;
    font-size: 12px;
  }

  .vid-problem-app .vid-problem-badges .vid-badge:first-child {
    padding-left: 0;
  }
}

.vid-village-app {
  --v-ink: #17251f;
  --v-text: #46564e;
  --v-muted: #74827a;
  --v-line: #dfe7e1;
  --v-soft: #f5f8f5;
  --v-card: #ffffff;
  --v-forest: #174f38;
  --v-forest-dark: #0e3425;
  --v-sage: #6f8c79;
  --v-blue: #46738d;
  --v-amber: #a87524;
  --v-red: #b64f49;
  --v-green: #3e7a57;
  --v-shadow: 0 12px 32px rgba(22, 47, 35, .08);
  --v-shadow-hover: 0 18px 42px rgba(22, 47, 35, .13);

  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--v-soft);
  color: var(--v-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.vid-village-app,
.vid-village-app * {
  box-sizing: border-box;
}

.vid-village-app a {
  color: inherit;
  text-decoration: none;
}

.vid-village-app img {
  display: block;
  max-width: 100%;
}

.vid-village-app h1,
.vid-village-app h2,
.vid-village-app h3,
.vid-village-app p,
.vid-village-app input,
.vid-village-app select,
.vid-village-app button {
  font-family: inherit;
}

.vid-village-container {
  width: 100% !important;
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}

/* Hero */

.vid-village-hero {
  position: relative;
  overflow: hidden;
  padding: 25px 0 30px;
  color: #fff;
 background: linear-gradient(115deg, rgb(13 50 37 / 76%) 0%, rgb(23 79 56 / 77%) 58%, rgb(32 66 52 / 38%) 100%), url(../../../common/img/village_bg.png) center / cover no-repeat !important;
}

.vid-village-hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -185px;
  top: -250px;
  border: 68px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  pointer-events: none;
}

.vid-village-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: center;
}

.vid-village-hero-content {
  min-width: 0;
}

.vid-village-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.vid-village-breadcrumb a {
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
}

.vid-village-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #eef6f0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.vid-village-eyebrow i {
  color: #b9dc85;
}

.vid-village-hero h1 {
  margin: 0;
  text-shadow: 2px 2px 4px #474645;
  color:#ffbd00 !important;
  font-size: 70px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.program-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

#assessment-date{
  color: #000000 !important;
}

.assessment-date {
    border-top: 1px solid var(--line);
    padding-top: 2px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.379);
}

.program-badge {
    /* background: var(--gold); */
    color: #ffff;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.vid-village-location {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .78);
}

.vid-village-location span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vid-village-summary {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.75;
  font-size: 15px !important;
  text-align: left !important;
}

.vid-village-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.vid-village-btn,
.vid-village-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.vid-village-btn-primary {
  padding: 9px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--v-forest-dark) !important;
  
}

.vid-village-btn-primary:hover {
  transform: translateY(-2px);
  background: #f1f7f3;
}

.vid-village-support-link {
  padding: 9px 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--v-forest-dark) !important;
   
}
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea{
  font-weight: 400 !important;
  height: 38px !important;
  text-align: left !important;
  color: #474444eb !important;
}

.vid-village-support-link:hover {
  color: #000000 !important;
}

.vid-village-colleges {
  margin-top: 20px;
}

.vid-village-colleges-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.vid-village-college-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vid-village-college-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .82);
}

.vid-village-hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 55px rgba(3, 20, 13, .3);
}

.vid-village-hero-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #dfe6e1;
}

.vid-village-hero-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  /* background: linear-gradient(transparent, rgba(6, 25, 17, .72)); */
}

.vid-village-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 23px solid rgb(252, 252, 252);
  background: #ffff !important;
}


.partner-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  flex-wrap: wrap
}

.partner-strip img {
  height: 60px;
  max-width: 210px;
  object-fit: contain
}

.partner-strip .sep {
  width: 1px;
  height: 54px;
  background: var(--line)
}

.footer {
  background: #0c1728;
  color: #cbd5e1;
  padding: 52px 0 24px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 40px
}

.footer h3 {
  color: white;
  margin-top: 0
}

.footer a {
  display: block;
  margin: 7px 0;
  color: #cbd5e1
}

.footer a:hover {
  color: white
}

.footer .brand img {
  background: white
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #8fa0b5
}

/* Detail pages */
.detail-hero {
  background: linear-gradient(130deg, #0e1a2d, #173548);
  color: white;
  padding: 68px 0
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 38px;
  align-items: center
}

.detail-hero p {
  color: #c9d4df
}

.crumbs {
  font-size: 12px;
  color: #a8b4c4;
  margin-bottom: 18px
}

.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  padding: 20px
}

.hero-card b {
  display: block;
  color: white
}

.hero-card span {
  font-size: 13px;
  color: #c9d4df
}

.detail-section {
  padding: 54px 0
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px
}

.panel h2,
.panel h3 {
  margin-top: 0
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0
}

.list-clean li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px
}

.list-clean li:last-child {
  border-bottom: 0
}

.check {
  color: var(--green);
  font-weight: 900
}

.problem-list .problem-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line)
}

.problem-list .problem-row:last-child {
  border-bottom: 0
}

.mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff5fb;
  display: grid;
  place-items: center
}

.lifecycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px
}

.life-step {
  background: #f0f3f6;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 800
}

.life-step.active {
  background: #e8f8f1;
  color: var(--green);
  border-color: #bfe8d6
}

.life-step.current {
  background: #fff5dc;
  color: #8f5b05;
  border-color: #f1d593
}

.info-table {
  width: 100%;
  border-collapse: collapse
}

.info-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

.info-table td:first-child {
  width: 34%;
  color: var(--muted);
  font-size: 13px
}

.callout {
  border-left: 4px solid var(--green);
  background: #edf8f3;
  padding: 16px;
  border-radius: 0 12px 12px 0
}

.support-card {
  background: linear-gradient(145deg, #0e1b2e, #123d3c);
  color: white;
  border-radius: 20px;
  padding: 25px
}

.support-card p {
  color: #cfe0df
}

.support-card .btn {
  width: 100%;
  margin-top: 10px
}

/* Form */
.form-shell {
  max-width: 850px;
  margin: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: 13px;
  font-weight: 800
}

.field input,
.field select,
.field textarea {
  border: 1px solid #d9e0e7;
  border-radius: 12px;
  padding: 12px;
  background: #fff
}

.field textarea {
  min-height: 130px;
  resize: vertical
}

.notice {
  font-size: 12px;
  color: var(--muted);
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px
}

.form-result {
  display: none;
  background: #edf8f3;
  border: 1px solid #c9eadb;
  padding: 14px;
  border-radius: 12px;
  color: #135f49;
  margin-top: 16px
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 100
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  border-radius: 14px
}

.lightbox button {
  position: absolute;
  right: 22px;
  top: 18px;
  border: 0;
  background: white;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 22px
}

.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 34px;
  background: #f7f9fb;
  border-radius: 14px
}

@media(max-width:980px) {
  .stats {
    grid-template-columns: repeat(3, 1fr)
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .support-grid,
  .detail-grid,
  .two-col {
    grid-template-columns: 1fr
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr
  }

  .method-grid {
    grid-template-columns: 1fr 1fr
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start
  }

  .navbar-light {
    background-color: #ffffff !important;
}

  .nav.open {
    display: flex
  }

  .menu-btn {
    display: block
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .gallery-grid {
    grid-auto-rows: 125px
  }

  .brand-copy {
    display: none
  }
}

@media(max-width:680px) {
  .header-row {
    height: 72px
  }

  .brand img {
    width: 112px
  }

  .nav {
    top: 72px
  }

  .hero-inner {
    padding: 55px 0 95px
  }

  .hero h1 {
    font-size: 42px
  }

  .hero p {
    font-size: 16px
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .stat:last-child {
    grid-column: 1/-1
  }

  .village-grid,
  .problem-grid,
  .method-grid,
  .support-types,
  .form-grid {
    grid-template-columns: 1fr
  }

  .filter-bar {
    grid-template-columns: 1fr
  }

  .section-head {
    display: block
  }

  .section-head .side-note {
    text-align: left;
    margin-top: 12px
  }

  .gallery-grid {
    display: block
  }

  .gallery-item {
    height: 250px;
    margin-bottom: 12px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    display: block
  }

  .detail-grid {
    gap: 20px
  }

  .lifecycle {
    grid-template-columns: 1fr 1fr
  }

  .village-meta {
    grid-template-columns: 1fr
  }

  .village-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .village-meta div:last-child {
    border-bottom: 0
  }

  .problem-list .problem-row {
    grid-template-columns: 44px 1fr
  }

  .problem-list .problem-row .btn {
    grid-column: 1/-1
  }

  .partner-strip .sep {
    display: none
  }
}

.vid-village-image-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--v-forest);
  font-weight: 700;
}

.vid-village-partner-copy {
  padding: 5px 18px 18px;
      background-color: #fff;
}

.vid-village-partner-copy span,
.vid-village-partner-copy strong {
  display: block;
}

.vid-village-partner-copy span {
  color: rgba(0, 0, 0, 0.64);
  font-size: 12px;
}

.vid-village-partner-copy strong {
  margin-top: 4px;
  color: #000000;
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 8px;
}

/* KPI cards */

.vid-village-kpi-wrap {
  position: relative;
  z-index: 4;
}

.vid-village-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: -42px;
}

.vid-village-kpi {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  min-height: 130px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #dbe5de;
  border-radius: 17px;
  background: linear-gradient(180deg, #fff, #fbfcfb);
  box-shadow: var(--v-shadow);
}

.vid-village-kpi::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--tone, var(--v-forest));
}

.vid-village-kpi-icon {
  width: 40px;
  height: 40px;
  display: grid !important;
  place-items: center;
  flex: none;
  border-radius: 11px;
  background: var(--tone-soft, #edf4ef);
  color: var(--tone, var(--v-forest));
  font-size: 14px;
}

.vid-village-kpi > div {
  min-width: 0;
}

.vid-village-kpi strong,
.vid-village-kpi span,
.vid-village-kpi small {
  display: block;
}

.vid-village-kpi strong {
  color: var(--v-ink);
  font-size: 22px;
  line-height: 1.05;
}

.vid-village-kpi span {
  margin-top: 7px;
  color: #25382e;
  font-weight: 700;
}

.vid-village-kpi small {
  margin-top: 4px;
  color: var(--v-muted);
  line-height: 1.45;
}

.vid-village-kpi.tone-blue { --tone: #47748e; --tone-soft: #edf5f8; }
.vid-village-kpi.tone-red { --tone: #b84f49; --tone-soft: #faeceb; }
.vid-village-kpi.tone-green { --tone: #3f7a58; --tone-soft: #eaf5ee; }
.vid-village-kpi.tone-amber { --tone: #a87524; --tone-soft: #faf2df; }
.vid-village-kpi.tone-slate { --tone: #5d6e65; --tone-soft: #eff2f0; }

/* Shared sections */

.vid-village-section {
  padding: 25px 0;
}

.vid-village-profile-section {
  padding-top: 25px;
}

.vid-village-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.vid-village-section-head h2 {
  margin: 4px 0 7px;
  color: var(--v-ink);
  font-size: 20px;
  line-height: 1.35;
}

.vid-village-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--v-muted);
  text-align: left !important;
}

/*
 * .vid-problem-section scoping below is deliberate, not decorative: this page
 * already has a generic .vid-village-filters rule further down (a
 * !important-laden 2-column grid built for a search input + select pair,
 * see the "Filters" block later in this file). Our "Problems &
 * Opportunities" toolbar only ever holds a single select, so we don't
 * want that grid — an ID-scoped selector here reliably outranks the
 * plain-class one regardless of declaration order.
 */
.vid-problem-section .vid-village-filters {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.vid-problem-section .vid-village-filters select {
  width: auto !important;
  min-width: 190px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 36px 0 16px !important;
  border: 1px solid #cfdad3 !important;
  border-radius: 10px !important;
  outline: none !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23596b62' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .05) !important;
  color: #10231a !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.vid-problem-section .vid-village-filters select:focus {
  border-color: #6f917b !important;
  box-shadow: 0 0 0 3px rgba(23, 79, 56, .12) !important;
}

@media screen and (min-device-width: 320px) and (max-device-width: 1120px) {
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), 
    textarea

 {
box-shadow: none !important;
 }}

 @media screen and (min-device-width: 411px) and (max-device-width: 767px) {
    p {
        text-align: left !important;
        margin-bottom: 10px !important;
    }
}

/* Profile panels */

.vid-village-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.vid-village-profile-grid-second {
  margin-top: 18px;
}

.vid-village-panel,
.vid-village-privacy-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--v-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 47, 35, .05);
}

.vid-village-panel-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
}

.vid-village-panel-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  background: #eaf4ee;
  color: var(--v-forest);
}

.vid-village-panel-head small,
.vid-village-panel-head h2 {
  display: block;
}

.vid-village-panel-head small {
  color: var(--v-sage);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vid-village-panel-head h2 {
  margin: 2px 0 0;
  font-size: 15px;
}

.vid-village-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vid-village-meta-item {
  min-width: 0;
  border-radius: 11px;
 
}

.vid-village-meta-item span,
.vid-village-meta-item strong {
  display: block;
}

.vid-village-meta-item span {
  color: var(--v-muted);
  font-size: 12px;
}

.vid-village-meta-item span i {
  margin-right: 6px;
  color: #156128;
}

.vid-village-meta-item strong {
  margin-top: 4px;
  color: var(--v-ink);
  overflow-wrap: anywhere;
}

.vid-village-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vid-village-list li {
  position: relative;
  padding: 10px 11px 10px 35px;
  border: 1px solid #e3eae5;
  border-radius: 10px;
  background: #f9fbf9;
  color: var(--v-text);
}

.vid-village-list li::before {
  content: "\f058";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--v-forest);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.vid-village-privacy-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-color: #cfe0d4;
  background: linear-gradient(135deg, #eef7f1, #f8fbf8);
}

.vid-village-privacy-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--v-forest);
  color: #fff;
}

.vid-village-privacy-card strong {
  color: var(--v-forest-dark);
  font-size: 15px;
}

.vid-village-privacy-card p {
  margin: 5px 0 0;
  color: var(--v-text);
}

/* Filters */

.vid-village-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(150px, .6fr);
  gap: 9px;
  width: min(100%, 500px);
  padding: 8px;
  border: 1px solid var(--v-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(22, 47, 35, .04);
}

.vid-village-search {
  position: relative;
}

.vid-village-search i {
  position: absolute;
  z-index: 2;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #7c8982;
}

.vid-village-search input,
.vid-village-filters select {
  width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid #cfdad3 !important;
  border-radius: 9px !important;
  outline: 0 !important;
  background: #fff !important;
  color: var(--v-ink) !important;
  font-size: 13px !important;
}

.vid-village-search input {
  padding-left: 38px !important;
}

.vid-village-search input:focus,
.vid-village-filters select:focus {
  border-color: #6f917b !important;
  box-shadow: 0 0 0 3px rgba(23, 79, 56, .1) !important;
}

/* Village map heading */
.vid-village-map-heading {
  color: inherit;
  text-decoration: none;
}

.vid-village-map-heading i {
  display: inline-block;
  margin-left: 10px;
  color: #ffff;
  font-size: 18px;
  vertical-align: text-top;
  transition: transform .2s ease;
}

.vid-village-map-heading:hover,
.vid-village-map-heading:focus {
  color: inherit;
  text-decoration: none;
}

.vid-village-map-heading:hover i {
  transform: translate(2px, -2px);
}

.vid-village-map-heading:focus-visible {
  border-radius: 4px;
  outline: 2px solid #0b6b52;
  outline-offset: 5px;
}

/* Gallery */

.vid-village-gallery-section {
  background: #fff;
  border-top: 1px solid var(--v-line);
}

.vid-village-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.vid-village-gallery-card {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 15px;
  background: #dfe7e1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22, 47, 35, .08);
}

.vid-village-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.vid-village-gallery-card:hover img {
  transform: scale(1.045);
}

.vid-village-gallery-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(transparent, rgba(7, 28, 18, .82));
}

.vid-village-gallery-tag,
.vid-village-gallery-expand,
.vid-village-gallery-overlay {
  position: absolute;
  z-index: 2;
}

.vid-village-gallery-tag {
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--v-forest);
  font-size: 12px;
  font-weight: 700;
}

.vid-village-gallery-expand {
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(15, 52, 38, .78);
  color: #fff;
}

.vid-village-gallery-overlay {
  left: 14px;
  right: 14px;
  bottom: 13px;
}

.vid-village-gallery-overlay strong,
.vid-village-gallery-overlay span {
  display: block;
}

.vid-village-gallery-overlay strong {
  color: #fff;
  font-size: 15px;
}

.vid-village-gallery-overlay span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .72);
}

.vid-village-gallery-note {
  margin: 15px 0 0;
  color: var(--v-muted);
}

/* States */

.vid-village-skeleton {
  height: 200px;
  border-radius: 16px;
  background: linear-gradient(90deg, #e8eee9 25%, #f8faf8 37%, #e8eee9 63%);
  background-size: 400% 100%;
  animation: villageShimmer 1.35s ease infinite;
}

@keyframes villageShimmer {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

.vid-village-empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed #cad7cf;
  border-radius: 14px;
  background: #fff;
  color: var(--v-muted);
}

.vid-village-empty i,
.vid-village-empty strong,
.vid-village-empty span {
  display: block;
}

.vid-village-empty i {
  margin-bottom: 9px;
  font-size: 18px;
}

.vid-village-empty strong {
  color: var(--v-ink);
  font-size: 15px;
}

/* Responsive */

@media (max-width: 1120px) {
  .vid-village-hero-grid {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 34px;
  }

  .vid-village-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vid-village-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 840px) {
  .vid-village-container {
    padding: 0 18px !important;
  }

  .vid-village-hero-grid {
    grid-template-columns: 1fr;
  }

  .vid-village-hero-card {
    max-width: 620px;
  }

  .vid-village-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vid-village-profile-grid {
    grid-template-columns: 1fr;
  }

  .vid-village-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .vid-village-filters {
    width: 100%;
  }

  .vid-village-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .vid-village-hero {
    padding: 32px 0 70px;
  }

  .vid-village-hero h1 {
    font-size: 32px;
  }

  .vid-village-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vid-village-btn-primary {
    width: 100%;
  }

  .vid-village-support-link {
    align-self: flex-start;
  }

  .vid-village-hero-image {
    height: 215px;
  }

  .vid-village-kpis,
  .vid-village-meta-grid,
  .vid-village-filters,
  .vid-village-gallery-grid {
    grid-template-columns: 1fr;
  }

  .vid-village-kpis {
    margin-top: -38px;
  }


  .vid-village-gallery-card {
    height: 230px;
  }
}

/* =========================================================
   Modern index problem cards, support pathways and field evidence
   ========================================================= */

/* Problem cards */
.vid-app .vid-problem-grid {
  gap: 15px;
}

.vid-app .vid-problem-card {
  position: relative;
  min-height: 340px;
  padding: 13px 15px;
  overflow: hidden;
  border: 1px solid #dbe5de;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(23, 79, 56, .045), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  box-shadow: 0 12px 30px rgba(24, 37, 31, .065);
}

.vid-app .vid-problem-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--card-accent, #6d8c79);
}

.vid-app .vid-problem-card[data-priority="critical"] {
  --card-accent: #bd514a;
}

.vid-app .vid-problem-card[data-priority="high"] {
  --card-accent: #d08c2d;
}

.vid-app .vid-problem-card[data-priority="medium"] {
  --card-accent: #d4b342;
}

.vid-app .vid-problem-card[data-priority="low"] {
  --card-accent: #4f8b65;
}

.vid-app .vid-problem-card:hover {
  transform: translateY(-5px);
  border-color: #c7d6cd;
  box-shadow: 0 20px 46px rgba(24, 37, 31, .13);
}

.vid-app .vid-problem-card-top {
  align-items: flex-start;
}

.vid-app .vid-problem-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 79, 56, .08);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(24, 37, 31, .07);
}

.vid-app .vid-problem-badge {
  position: relative;
  padding: 5px 9px 5px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vid-app .vid-problem-badge::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.vid-app .badge-critical,
.vid-app .badge-high,
.vid-app .badge-medium,
.vid-app .badge-low,
.vid-app .badge-opportunity {
  background: transparent;
}

.vid-app .vid-problem-category {
  margin-top: 15px;
  color: #597064;
  font-size: 12px;
  letter-spacing: .055em;
}

.vid-app .vid-problem-card h3 {
  margin-bottom: 9px;
  font-size: 16px;
}

.vid-app .vid-problem-card > p {
  line-height: 1.72;
}

.vid-app .vid-problem-stage {
  margin-top: auto;
  padding: 8px 14px;
  border: 1px solid #e2e9e4;
  border-left: 3px solid var(--card-accent, #c99b3d);
  border-radius: 10px;
  background: #f8faf8;
}

.vid-app .vid-problem-card-footer {
  margin-top: 14px;
  padding-top: 13px;
}

.vid-app .vid-problem-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.vid-app .vid-problem-card-footer a i {
  transition: transform .2s ease;
}

.vid-app .vid-problem-card:hover .vid-problem-card-footer a i {
  transform: translateX(3px);
}

/* Support pathway section */
.vid-app .vid-support-band {
  position: relative;
  overflow: hidden;
  padding: 52px 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(154, 187, 82, .15), transparent 30%),
    linear-gradient(120deg, #0b3022 0%, #174f38 58%, #2d674d 100%);
}

.vid-app .vid-support-band::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -180px;
  bottom: -250px;
  border: 60px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
}

.vid-app .vid-support-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: .92fr 1.08fr;
  gap: 54px;
}

.vid-app .vid-support-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #c6e3ce;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vid-app .vid-support-intro h2 {
  max-width: 520px;
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
}

.vid-app .vid-support-intro p {
  max-width: 610px;
  margin-bottom: 15px;
}

.vid-app .vid-support-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .68);
}

.vid-app .vid-support-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vid-app .vid-support-trust i {
  color: #b7d98d;
}

.vid-app .vid-support-types {
  gap: 12px;
}

.vid-app .vid-support-type {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 15px;
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.vid-app .vid-support-type:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .11);
}

.vid-app .vid-support-type-icon {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #d9eddd;
  font-size: 15px;
}

.vid-app .vid-support-type strong {
  margin-bottom: 4px;
  color: #fff;
}

.vid-app .vid-support-arrow {
  color: rgba(255, 255, 255, .38);
  font-size: 12px;
}

/* Field evidence — editorial field-journal layout */
.vid-app .vid-field-evidence {
  padding: 46px 0;
  background:
    radial-gradient(circle at 7% 12%, rgba(154, 187, 82, .09), transparent 28%),
    linear-gradient(180deg, #f7faf7 0%, #eef4ef 100%);
}

.vid-app .vid-evidence-shell {
  overflow: hidden;
  border: 1px solid #d9e4dc;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(24, 37, 31, .09);
}

.vid-app .vid-field-evidence-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr);
  gap: 34px;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 1px solid #e2e9e4;
  background:
    linear-gradient(120deg, #ffffff 0%, #f7faf7 58%, #eef5f0 100%);
}

.vid-app .vid-field-evidence-head::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -75px;
  top: -105px;
  border: 35px solid rgba(23, 79, 56, .035);
  border-radius: 50%;
  pointer-events: none;
}

.vid-app .vid-field-evidence-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vid-forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.vid-app .vid-field-evidence-head h2 {
  max-width: 760px;
  margin: 7px 0 9px;
  color: #102c20;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.025em;
}

.vid-app .vid-field-evidence-head .vid-evidence-copy > p {
  max-width: 950px;
  margin: 0;
  color: #627168;
  font-size: 13px;
  line-height: 1.75;
}

.vid-app .vid-evidence-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.vid-app .vid-evidence-principles span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #dce8df;
  border-radius: 9px;
  background: rgba(255, 255, 255, .82);
  color: #496158;
  font-size: 12px;
  font-weight: 600;
}

.vid-app .vid-evidence-principles i {
  color: #2f7654;
}

.vid-app .vid-evidence-assurance {
  /* position: relative; */
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(42, 102, 72, .18);
  border-radius: 17px;
  background: rgba(233, 244, 236, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.vid-app .vid-evidence-assurance-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: #174f38;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(23, 79, 56, .17);
}

.vid-app .vid-evidence-assurance small,
.vid-app .vid-evidence-assurance strong {
  display: block;
}

.vid-app .vid-evidence-assurance small {
  margin-bottom: 3px;
  color: #6f8177;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vid-app .vid-evidence-assurance strong {
  color: #173d2b;
  font-size: 14px;
  line-height: 1.35;
}

.vid-app .vid-evidence-assurance p {
  margin: 5px 0 0;
  color: #66776d;
  font-size: 12px;
  line-height: 1.55;
}

.vid-app .vid-evidence-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 20px;
  border-bottom: 1px solid #e4ebe6;
  background: #fbfcfb;
}

.vid-app .vid-evidence-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.vid-app .vid-evidence-toolbar-title > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e5dc;
  border-radius: 10px;
  background: #edf4ef;
  color: var(--vid-forest);
}

.vid-app .vid-evidence-toolbar-title strong,
.vid-app .vid-evidence-toolbar-title small {
  display: block;
}

.vid-app .vid-evidence-toolbar-title strong {
  color: #23392d;
  font-size: 13px;
}

.vid-app .vid-evidence-toolbar-title small {
  margin-top: 1px;
  color: #7b8a82;
  font-size: 11px;
  line-height: 1.4;
}

.vid-app .vid-gallery-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 1px 4px;
  scrollbar-width: thin;
}

.vid-app .vid-gtab {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid #d8e3dc;
  border-radius: 10px;
  outline: none;
  background: #ffffff;
  color: #617168;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.vid-app .vid-gtab:hover {
  transform: translateY(-1px);
  border-color: #9eb7a7;
  color: var(--vid-forest);
}

.vid-app .vid-gtab.active {
  border-color: var(--vid-forest);
  background: var(--vid-forest);
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(23, 79, 56, .15);
}

.vid-app .vid-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 155px;
  grid-auto-flow: dense;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
}

.vid-app .vid-gallery-grid.is-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 230px;
}

.vid-app .vid-field-evidence .vid-gitem {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  grid-column: span 1;
  grid-row: span 1;
  border: 1px solid rgba(219, 229, 222, .95);
  border-radius: 15px;
  background: #dfe7e1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(24, 37, 31, .08);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition:
    opacity .45s ease,
    transform .45s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.vid-app .vid-field-evidence .vid-gitem.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vid-app .vid-field-evidence .vid-gitem.is-lead {
  grid-column: span 2;
  grid-row: span 2;
}

.vid-app .vid-field-evidence .vid-gitem.is-tall {
  grid-row: span 2;
}

.vid-app .vid-field-evidence .vid-gitem.is-wide {
  grid-column: span 2;
}

.vid-app .vid-gallery-grid.is-compact .vid-gitem.is-lead {
  grid-column: span 1;
  grid-row: span 1;
}

.vid-app .vid-field-evidence .vid-gitem:hover,
.vid-app .vid-field-evidence .vid-gitem:focus-visible {
  z-index: 2;
  border-color: #b9cbc0;
  box-shadow: 0 16px 34px rgba(24, 37, 31, .16);
  transform: translateY(-3px) scale(1);
  outline: none;
}

.vid-app .vid-field-evidence .vid-gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

.vid-app .vid-field-evidence .vid-gitem:hover img,
.vid-app .vid-field-evidence .vid-gitem:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.02);
}

.vid-app .vid-field-evidence .vid-gitem::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 18, .08) 25%, rgba(7, 26, 18, .84) 100%);
  pointer-events: none;
}

.vid-app .vid-gitem-tag,
.vid-app .vid-gitem-zoom,
.vid-app .vid-gitem-overlay,
.vid-app .vid-gitem-count {
  position: absolute;
  z-index: 2;
}

.vid-app .vid-gitem-tag {
  top: 11px;
  left: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 58px);
  padding: 6px 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  color: #285f43;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.vid-app .vid-gitem-tag i {
  color: #2b7651;
}

.vid-app .vid-gitem-zoom {
  top: 11px;
  right: 11px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  background: rgba(9, 37, 25, .72);
  color: #ffffff;
  font-size: 11px;
  backdrop-filter: blur(7px);
}

.vid-app .vid-gitem-overlay {
  left: 13px;
  right: 13px;
  bottom: 12px;
}

.vid-app .vid-gitem-count {
  right: 13px;
  bottom: 12px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.vid-app .vid-gitem-cap,
.vid-app .vid-gitem-sub {
  display: block;
  max-width: calc(100% - 45px);
}

.vid-app .vid-gitem-cap {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}

.vid-app .vid-gitem.is-lead .vid-gitem-cap {
  font-size: 19px;
}

.vid-app .vid-gitem-sub {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vid-app .vid-field-evidence-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 13px 20px 16px;
  border-top: 1px solid #e4ebe6;
  background: #fbfcfb;
  color: #74837b;
}

.vid-app .vid-field-evidence-note > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 8px;
  background: #edf3ef;
  color: var(--vid-sage);
}

.vid-app .vid-field-evidence-note p {
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .vid-app .vid-field-evidence-head {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
    gap: 22px;
    padding: 25px;
  }

  .vid-app .vid-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vid-app .vid-field-evidence-head {
    grid-template-columns: 1fr;
  }

  .vid-app .vid-evidence-assurance {
    max-width: 620px;
  }

  .vid-app .vid-evidence-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .vid-app .vid-gallery-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .vid-app .vid-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 175px;
  }

  .vid-app .vid-field-evidence .vid-gitem.is-lead {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .vid-app .vid-field-evidence {
    padding: 30px 0;
  }

  .vid-app .vid-evidence-shell {
    border-radius: 18px;
  }

  .vid-app .vid-field-evidence-head {
    padding: 21px 18px;
  }

  .vid-app .vid-field-evidence-head h2 {
    font-size: 23px;
  }

  .vid-app .vid-evidence-principles {
    gap: 6px;
  }

  .vid-app .vid-evidence-principles span {
    width: 100%;
    justify-content: flex-start;
  }

  .vid-app .vid-evidence-toolbar {
    padding: 14px;
  }

  .vid-app .vid-gallery-grid,
  .vid-app .vid-gallery-grid.is-compact {
    grid-template-columns: 1fr;
    grid-auto-rows: 235px;
    padding: 12px;
  }

  .vid-app .vid-field-evidence .vid-gitem,
  .vid-app .vid-field-evidence .vid-gitem.is-lead,
  .vid-app .vid-field-evidence .vid-gitem.is-tall,
  .vid-app .vid-field-evidence .vid-gitem.is-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .vid-app .vid-gitem.is-lead .vid-gitem-cap {
    font-size: 16px;
  }

  .vid-app .vid-field-evidence-note {
    padding: 12px 14px 15px;
  }
}


/* =========================================================
   Open problems section
   6 cards per page: 3 columns × 2 rows on desktop
   ========================================================= */

.vid-app .vid-problem-grid {
  align-items: stretch;
}

.vid-app .vid-problem-card {
  position: relative;
  min-height: 268px;
  padding: 17px 17px 15px;
  border-radius: 18px;
}

.vid-app .vid-problem-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: #718378;
}

.vid-app .vid-problem-card[data-priority="critical"]::before {
  background: #b94b47;
}

.vid-app .vid-problem-card[data-priority="high"]::before {
  background: #bb7934;
}

.vid-app .vid-problem-card[data-priority="medium"]::before {
  background: #a58b36;
}

.vid-app .vid-problem-card[data-priority="low"]::before {
  background: #63806b;
}

.vid-app .vid-problem-card-top {
  min-height: 40px;
}

.vid-app .vid-problem-category {
  margin: 11px 0 5px;
  font-size: 11px;
  letter-spacing: .065em;
}

.vid-app .vid-problem-card h3 {
  display: -webkit-box;
  min-height: 42px;
  margin-bottom: 7px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vid-app .vid-problem-card > p {
  display: -webkit-box;
  min-height: 60px;
  max-height: 60px;
  overflow: hidden;
  color: #66736c;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.vid-app .vid-problem-stage {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 13px;
  padding: 7px 10px;
  border: 1px solid #e1e7e3;
  border-left: 3px solid #9d694d;
  border-radius: 999px;
  background: #faf8f6;
}

.vid-app .vid-problem-stage span {
  display: none;
}

.vid-app .vid-problem-stage strong {
  overflow: hidden;
  color: #4f494b;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vid-app .vid-problem-card-footer {
  margin-top: auto;
  padding-top: 12px;
}

.vid-app .vid-problem-card-footer > span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vid-app .vid-problem-card-footer a {
  flex: none;
}

.vid-app .vid-problem-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.vid-app .vid-problem-pagination[hidden] {
  display: none !important;
}

.vid-app .vid-problem-pagination button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
}

.vid-app .vid-problem-pagination .vid-page-nav {
  width: auto;
  min-width: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.vid-app .vid-pagination-ellipsis {
  min-width: 24px;
  color: #7d8882;
  text-align: center;
}

@media (max-width: 560px) {
  .vid-app .vid-problem-pagination .vid-page-nav {
    min-width: 40px;
  }

  .vid-app .vid-problem-pagination .vid-page-nav span {
    display: none;
  }
}


/* Detail pages */
.detail-hero {
  background: linear-gradient(130deg, #0e1a2d, #173548);
  color: white;
  padding: 68px 0
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 38px;
  align-items: center
}

.detail-hero p {
  color: #c9d4df
}

.crumbs {
  font-size: 12px;
  color: #a8b4c4;
  margin-bottom: 18px
}

.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  padding: 20px
}

.hero-card b {
  display: block;
  color: white
}

.hero-card span {
  font-size: 13px;
  color: #c9d4df
}

.detail-section {
  padding: 54px 0
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px
}

.panel h2,
.panel h3 {
  margin-top: 0
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0
}

.list-clean li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px
}

.list-clean li:last-child {
  border-bottom: 0
}

.check {
  color: var(--green);
  font-weight: 900
}

.problem-list .problem-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line)
}

.problem-list .problem-row:last-child {
  border-bottom: 0
}

.mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff5fb;
  display: grid;
  place-items: center
}

.lifecycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px
}

.life-step {
  background: #f0f3f6;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 800
}

.life-step.active {
  background: #e8f8f1;
  color: var(--green);
  border-color: #bfe8d6
}

.life-step.current {
  background: #fff5dc;
  color: #8f5b05;
  border-color: #f1d593
}

.info-table {
  width: 100%;
  border-collapse: collapse
}

.info-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

.info-table td:first-child {
  width: 34%;
  color: var(--muted);
  font-size: 13px
}

.callout {
  border-left: 4px solid var(--green);
  background: #edf8f3;
  padding: 16px;
  border-radius: 0 12px 12px 0
}

.support-card {
  background: linear-gradient(145deg, #0e1b2e, #123d3c);
  color: white;
  border-radius: 20px;
  padding: 25px
}

.support-card p {
  color: #cfe0df
}

.support-card .btn {
  width: 100%;
  margin-top: 10px
}

/* Form */
.form-shell {
  max-width: 850px;
  margin: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: 13px;
  font-weight: 800
}

.field input,
.field select,
.field textarea {
  border: 1px solid #d9e0e7;
  border-radius: 12px;
  padding: 12px;
  background: #fff
}

.field textarea {
  min-height: 130px;
  resize: vertical
}

.notice {
  font-size: 12px;
  color: var(--muted);
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px
}

.form-result {
  display: none;
  background: #edf8f3;
  border: 1px solid #c9eadb;
  padding: 14px;
  border-radius: 12px;
  color: #135f49;
  margin-top: 16px
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 100
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  border-radius: 14px
}

.lightbox button {
  position: absolute;
  right: 22px;
  top: 18px;
  border: 0;
  background: white;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 22px
}

.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 34px;
  background: #f7f9fb;
  border-radius: 14px
}

@media(max-width:980px) {
  .stats {
    grid-template-columns: repeat(3, 1fr)
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .support-grid,
  .detail-grid,
  .two-col {
    grid-template-columns: 1fr
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr
  }

  .method-grid {
    grid-template-columns: 1fr 1fr
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start
  }

  .nav.open {
    display: flex
  }

  .menu-btn {
    display: block
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .gallery-grid {
    grid-auto-rows: 125px
  }

  .brand-copy {
    display: none
  }
}

@media(max-width:680px) {
  .header-row {
    height: 72px
  }

  .brand img {
    width: 112px
  }

  .nav {
    top: 72px
  }

  .hero-inner {
    padding: 55px 0 95px
  }

  .hero h1 {
    font-size: 42px
  }

  .hero p {
    font-size: 16px
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .stat:last-child {
    grid-column: 1/-1
  }

  .village-grid,
  .problem-grid,
  .method-grid,
  .support-types,
  .form-grid {
    grid-template-columns: 1fr
  }

  .filter-bar {
    grid-template-columns: 1fr
  }

  .section-head {
    display: block
  }

  .section-head .side-note {
    text-align: left;
    margin-top: 12px
  }

  .gallery-grid {
    display: block
  }

  .gallery-item {
    height: 250px;
    margin-bottom: 12px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    display: block
  }

  .detail-grid {
    gap: 20px
  }

  .lifecycle {
    grid-template-columns: 1fr 1fr
  }

  .village-meta {
    grid-template-columns: 1fr
  }

  .village-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .village-meta div:last-child {
    border-bottom: 0
  }

  .problem-list .problem-row {
    grid-template-columns: 44px 1fr
  }

  .problem-list .problem-row .btn {
    grid-column: 1/-1
  }

  .partner-strip .sep {
    display: none
  }
}

/* =========================================================
   VIEW DETAILS POPUP — full-width information flow
   Order: highlighted problem header -> reported location/status ->
   problem statement -> supporting evidence -> support CTA.
   Existing markup/classes are reused; no JS behavior is changed.
   ========================================================= */

/* Highlight the large problem identity block shown inside View Details. */
#problemModalOverlay .vid-modal-problem-hero {
  margin: 16px 18px 0;
  padding: 16px 18px 15px;
  overflow: visible;
  border: 1px solid #dce9e0;
  border-left: 4px solid #2a7a50;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfefc 0%, #f7fbf8 100%);
  box-shadow: 0 7px 20px rgba(23, 79, 56, .05);
}

#problemModalOverlay .vid-modal-problem-hero .vid-problem-eyebrow,
#problemModalOverlay .vid-problem-eyebrow {
  padding: 6px 10px;
  border: 1px solid #2f8057;
  border-radius: 999px;
  background: #ffffff;
  color: #1d6a45;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
}

#problemModalOverlay .vid-modal-problem-hero .vid-problem-eyebrow i,
#problemModalOverlay .vid-problem-eyebrow i {
  color: #1d6a45;
}

#problemModalOverlay .vid-modal-problem-hero h2,
#problemModalOverlay .vid-modal-problem-hero h1 {
  max-width: 100%;
  margin: 10px 0 0;
  color: #111827 !important;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.015em;
}

#problemModalOverlay .vid-modal-problem-hero .vid-problem-badges {
  margin-top: 10px;
  gap: 10px;
}

#problemModalOverlay .vid-modal-problem-hero .vid-badge {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #17231d;
  font-size: 12px;
  font-weight: 600;
}

#problemModalOverlay .vid-modal-problem-body {
  padding: 10px 18px 6px;
}

/* Flatten both columns so cards can be displayed in the requested order. */
#problemModalOverlay .vid-modal-problem-body .vid-problem-layout {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 7px;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-main-column,
#problemModalOverlay .vid-modal-problem-body .vid-problem-side {
  display: contents;
}

/* 1. Reported location / Timeline / Current stage — full width. */
#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child {
  order: 1;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #dfe8e2;
  border-radius: 16px;
  background: #ffffff;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-card-head {
  display: none;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item {
  position: relative;
  min-width: 0;
  padding: 13px 18px 13px 8px;
  border-top: 0;
  border-left: 1px solid #e5ebe7;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item:first-of-type {
  border-left: 0;
}

/*
 * The base rule above is a FIXED 3-column grid (Reported location /
 * Timeline / Current stage for problems; Location / Accessibility /
 * Timeline for opportunities). Since Timeline (both) and Current stage
 * (problems) are commented out in village.js, that grid was left with
 * 2 or 1 empty columns as dead whitespace — these two classes (added
 * to the same card element in village.js) collapse the grid to match
 * however many items actually remain, so the row fills evenly instead.
 */
#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card.vid-problem-side-solo {
  grid-template-columns: 1fr !important;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card.vid-problem-side-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.frame{
  width: 410px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ytSpecIconShapeHost{
  width: 45% !important;
}

.ytmCuedOverlayPlayButton{
  width: 32px !important;
}

.frame01{
 
    border-radius: 9px !important;
}

.frame02{
  
    border-radius: 9px !important;
}

.frame03{
 
   border-radius: 9px !important;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item span {
  color: #24704b;
  font-size: 11.5px;
  font-weight: 500;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item strong {
  margin-top: 5px;
  color: #17231d;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
}

/* 2. Main problem card / Problem Statement — full width. */
#problemModalOverlay .vid-modal-problem-body .vid-problem-main-column > .vid-problem-card {
  order: 2;
  width: 100%;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-description-block p {
  font-size: 13px;
  line-height: 1.8;
}

/* 3. Supporting Evidence — full width. */
#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:last-child {
  order: 3;
  width: 100%;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-images {
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap: 12px;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-images .vid-gitem {
  height: 150px;
}

/* Keep support action visually attached to the popup content. */
#problemModalOverlay .vid-modal-problem-actions {
  padding: 14px 18px 18px;
  border-top: 1px solid #edf1ee;
  background: #ffffff;
}

@media (max-width: 760px){
  #problemModalOverlay .vid-modal-problem-body .vid-problem-images{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }}

@media (max-width: 760px) {
  #problemModalOverlay .vid-modal-problem-hero {
    margin: 12px 12px 0;
    padding: 14px;
  }

  #problemModalOverlay .vid-modal-problem-hero h2,
  #problemModalOverlay .vid-modal-problem-hero h1 {
    font-size: 18px;
  }

  #problemModalOverlay .vid-modal-problem-body {
    padding: 12px;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child {
    grid-template-columns: 1fr;
    padding: 5px 15px;
  }

  /* Without this, the desktop-only !important 2-column override above
     (.vid-problem-side-duo) would win over this plain 1fr rule even on
     mobile, since !important always beats a non-important rule
     regardless of media query — forcing 2 columns on a narrow screen
     where every other state here stacks to 1. */
  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card.vid-problem-side-duo,
  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card.vid-problem-side-solo {
    grid-template-columns: 1fr !important;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item {
    padding: 13px 8px 13px 42px;
    border-left: 0;
    border-top: 1px solid #e5ebe7;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item:first-of-type {
    border-top: 0;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-meta-grid {
    grid-template-columns: 1fr !important;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-images {
    grid-template-columns: 1fr;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-images .vid-gitem {
    height: 100px;
    width: 90px;
  }
}
/* 3. Supporting Evidence — full width. */
#problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:last-child {
  order: 3;
  width: 100%;
}

.card{
  margin-right: 0px !important;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-images {
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap: 12px;
}

#problemModalOverlay .vid-modal-problem-body .vid-problem-images .vid-gitem {
  height: 150px;
}

/* Keep support action visually attached to the popup content. */
#problemModalOverlay .vid-modal-problem-actions {
  padding: 14px 18px 18px;
  border-top: 1px solid #edf1ee;
  background: #ffffff;
}

@media (max-width: 760px){
  #problemModalOverlay .vid-modal-problem-body .vid-problem-images{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }}

@media (max-width: 760px) {
  #problemModalOverlay .vid-modal-problem-hero {
    margin: 12px 12px 0;
    padding: 14px;
  }

  #problemModalOverlay .vid-modal-problem-hero h2,
  #problemModalOverlay .vid-modal-problem-hero h1 {
    font-size: 18px;
  }

  #problemModalOverlay .vid-modal-problem-body {
    padding: 12px;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child {
    grid-template-columns: 1fr;
    padding: 5px 15px;
  }

  /* Without this, the desktop-only !important 2-column override above
     (.vid-problem-side-duo) would win over this plain 1fr rule even on
     mobile, since !important always beats a non-important rule
     regardless of media query — forcing 2 columns on a narrow screen
     where every other state here stacks to 1. */
  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card.vid-problem-side-duo,
  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card.vid-problem-side-solo {
    grid-template-columns: 1fr !important;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item {
    padding: 13px 8px 13px 42px;
    border-left: 0;
    border-top: 1px solid #e5ebe7;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-side > .vid-problem-card:first-child .vid-problem-side-item:first-of-type {
    border-top: 0;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-meta-grid {
    grid-template-columns: 1fr !important;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-images {
    grid-template-columns: 1fr;
  }

  #problemModalOverlay .vid-modal-problem-body .vid-problem-images .vid-gitem {
    height: 100px;
    width: 90px;
  }
}

.vid-hero-con{
  display: inline-flex;
  flex-direction: column;
}