/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:nth-child(1) {
  background-image: url("/images/hero/hero1.webp");
}

.hero-slide:nth-child(2) {
  background-image: url("/images/hero/hero2.webp");
}

.hero-slide:nth-child(3) {
  background-image: url("/images/hero/hero3.webp");
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.56) 0%,
    rgba(0,0,0,.28) 45%,
    rgba(0,0,0,.08) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  min-height: 420px;
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  opacity: .9;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 760px;
  color: #ffffff;
  font-size: 52px;
  line-height: 1.05;
}

.hero-text {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 22px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.hero-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  padding: 18px 22px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.hero-link-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.28);
}

.hero-link-card span {
  font-size: 28px;
}

.hero-link-card strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

/* =========================================================
   INNER PAGE HERO - общо за всички вътрешни страници
========================================================= */

.page-hero-top {
  padding: 22px 0;
  background: #B0001D;
  color: #ffffff;
}

.breadcrumbs {
  font-size: 14px;
}

.breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero-bottom {
  padding: 20px 0 20px;
  /*background: linear-gradient(to bottom, #ece7e3 0%, #f5f3f1 100%);*/
  /*border-bottom: 1px solid #ddd4cf;*/
    background: #ece8e8;
}

.page-hero-bottom h1 {
  margin: 0;
  color: #24324a;
  font-size: 30px;
  line-height: 1.1;
}

/* =========================================================
   INNER PAGE LAYOUT - общо съдържание + дясна колона
========================================================= */

.inner-page {
  background: #ece8e8;
  padding:0px 0 80px;
}

.content-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  background: #ffffff;
  padding: 46px 42px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  margin-top: 0px;
  position: relative;
  z-index: 5;
}

.main-content {
  min-width: 0;
}

.page-title {
  margin: 0 0 40px;
  color: #24324a;
}

.page-intro {
  margin: 0 0 35px;
  color: #6b7280;
  line-height: 1.7;
}

/* =========================================================
   PAGE SIDEBAR - обща дясна колона
========================================================= */

.page-side {
  min-width: 0;
}

.page-side h3 {
  margin: 10px 0 22px;
  font-size: 25px;
  line-height: 1.1;
  color: #24324a;
color: #26452b;
}

.documents-box{
    background: linear-gradient(135deg, #5f7d45, #6f8d53);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 10px;
    color: #fff;
}

.documents-box h2{
    color:#fff;
    margin:0 0 10px;
}

.documents-box .document-mini{
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.15);
}

.documents-box .document-mini h4,
.documents-box .document-mini span,
.documents-box .document-mini-download{
    color:#fff;
}

.page-side nav {
  background: #486b3f;
  padding: 24px 28px;
  border-radius: 4px;
}

.page-side nav a {
  display: block;
  padding: 9px 0;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}

.page-side nav a::before {
  content: "›";
  margin-right: 9px;
  color: #ffd76a;
}

.page-side nav a:hover {
  color: #ffd76a;
}

/* =========================================================
   NEWS LIST
========================================================= */

.news-list {
  display: flex;
  flex-direction: column;
}

.news-row {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid #e7e2e2;
}

.news-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-thumb {
  display: block;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.news-thumb img,
.news-thumb-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  background: transparent;
}

.news-row-content h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.news-row-content h2 a {
  color: #24324a;
  text-decoration: none;
  transition: .2s ease;
}

.news-row-content h2 a:hover {
  color: var(--primary);
}

.news-date {
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.news-row-content p {
  margin: 0;
  color: #5d6778;
  line-height: 1.7;
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid #e1dddd;
  border-radius: 6px;
  color: #24324a;
  text-decoration: none;
  font-weight: 700;
}

.pagination a:hover,
.pagination a.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* =========================================================
   SINGLE NEWS
========================================================= */

.single-news-content {
  min-width: 0;
}

.single-news-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
}

.single-news-date {
  margin-bottom: 22px;
  color: var(--primary);
  font-weight: 700;
}

.single-news-text {
  color: #24324a;
  font-size: 17px;
  line-height: 1.8;
}

.single-news-text p {
  margin: 0 0 18px;
}

.single-news-text img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   HOME NEWS
========================================================= */

.home-news-section {
  padding: 70px 0;
  background: #f3f1f1;
}

.home-news-wrapper {
  background: #ffffff;
  padding: 35px;
  border-radius: 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.home-news-head h2 {
  margin: 0;
  font-size: 34px;
  color: #24324a;
}

.home-news-head a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-news-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: .25s ease;
}

.home-news-card:hover {
  transform: translateY(-4px);
}

.home-news-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.home-news-content {
  padding: 22px;
}

.home-news-content span {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.home-news-content h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.home-news-content h3 a {
  color: #24324a;
  text-decoration: none;
}

.home-news-content p {
  margin: 0;
  color: #5f6674;
  line-height: 1.6;
}


.news-external-link {
  display: inline-block;
  padding: 12px 20px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: .2s ease;
}

.news-external-link:hover {
  background: #8f0017;
}

/* =========================================================
   BOARD / УПРАВИТЕЛЕН СЪВЕТ
========================================================= */

.board-stat {
  background: #f7f9fb;
  padding: 18px 24px;
  border-radius: 14px;
  margin-bottom: 25px;
}

.board-summary {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.board-summary div {
  background: #f7f9fb;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.board-member {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 18px;
  padding: 0px;
  margin-bottom: 25px;
}

.board-sector {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  border-radius: 14px;
  min-height: 140px;
  padding: 20px;
}

.board-sector.public {
  background: #e0f2fe;
  color: #0369a1;
}

.board-sector.ngo {
  background: #dcfce7;
  color: #166534;
}

.board-sector.business {
  background: #fff7ed;
  color: #c2410c;
}

.board-info h3 {
  margin: 0 0 10px;
  padding-top: 10px;
  color: #24324a;
}

.board-info p {
  margin: 0 0 5px;
  line-height: 1.3;
}

/* =========================================================
   DOCUMENTS
========================================================= */

.documents-title {
  margin: 0 0 22px;
}

.documents-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 34px;
}

.document-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: #24324a;
  transition: .2s;
}

.document-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.document-icon {
  font-size: 30px;
  flex-shrink: 0;
}

.document-info {
  flex: 1;
}

.document-info h4 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.35;
}

.document-info span {
  color: #6b7280;
  font-size: 14px;
}

.document-download {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}


.document-mini{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:14px;

    padding:10px 10px;
    margin-bottom:14px;

    background:#fff;
    border:1px solid #edf0f4;
    border-radius:14px;

    text-decoration:none;
    color:#24324a;
    transition:.2s;
}

.document-mini:hover{
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transform:translateY(-2px);
}

.document-mini-content h4{
    margin:0 0 4px;
    font-size:16px;
    line-height:1.3;
    font-weight:700;
}

.document-mini-content span{
    color:#6b7280;
    font-size:13px;
}

.document-mini-download{
    color:var(--primary);
    font-weight:700;
    white-space:nowrap;
}


/* =========================================================
   ASSEMBLY / ОБЩО СЪБРАНИЕ
========================================================= */

.assembly-extra-summary{
    margin-top:-15px;
}

.assembly-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 25px;
}

.assembly-toolbar button{
    border:0;
    border-radius:999px;
    padding:10px 16px;
    background:#f7f9fb;
    color:#24324a;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

.assembly-toolbar button:hover,
.assembly-toolbar button.is-active{
    background:#486b3f;
    color:#fff;
}

.assembly-list{
    display:flex;
    flex-direction:column;
}

.assembly-member{
    margin-bottom:18px;
}

.no-documents{
    margin:0;
    color:rgba(255,255,255,.85);
    line-height:1.5;
}


/* =========================================================
   STRATEGY / СТРАТЕГУЯ
========================================================= */


.strategy-intro {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    margin-bottom: 30px;
}

.strategy-intro p {
    margin: 0 0 18px;
    line-height: 1.8;
    color: #607280;
    font-size: 16px;
}

.strategy-stat {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.strategy-stat span {
    background: #f5f8f3;
    border: 1px solid #e3eadf;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    color: #355e3b;
    font-weight: 700;
}

.strategy-stat strong {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
    color: #27492d;
}

@media (max-width: 768px) {
    .strategy-stat {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   TEAM / CONTACT PAGE
========================================================= */

.contact-info-box {
  background: #f7f9fb;
  border: 1px solid #edf0f4;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 35px;
}

.contact-info-box h2 {
  margin: 0 0 24px;
  color: #24324a;
  font-size: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  color: #2f5233;
}

.contact-item span,
.contact-item a {
  color: #5d6778;
  line-height: 1.55;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-member .board-sector {
  min-height: 120px;
}

.map-box {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #edf0f4;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.side-contact p {
  margin: 0 0 16px;
  color: #ffffff;
  line-height: 1.55;
}

.side-contact a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.side-contact span {
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.no-documents {
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   MEASURE PAGE
========================================================= */

.measure-layout {
  align-items: start;
}

.measure-head {
  margin-bottom: 28px;
}

.measure-head span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.measure-head h2 {
  margin: 0;
  color: #24324a;
  font-size: 34px;
  line-height: 1.2;
}

.measure-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 36px;
}

.measure-details-grid div {
  background: #f7f9fb;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  padding: 20px;
}

.measure-details-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #2f5233;
}

.measure-details-grid span {
  color: #5d6778;
  line-height: 1.5;
}

.measure-text {
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  padding: 24px;
  color: #24324a;
  line-height: 1.7;
}

.measure-timeline-box {
  background: linear-gradient(135deg, #5f7d45, #6f8d53);
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  margin-bottom: 18px;
}

.measure-timeline-box h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 25px;
}

.measure-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  position: relative;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 15px;
}

.timeline-item.is-active {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.35);
}

.timeline-date {
  margin-bottom: 8px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}

.timeline-item h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
}

.timeline-item p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.88);
  line-height: 1.45;
  font-size: 14px;
}

.timeline-item a {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.timeline-item span {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 20px;
  background: rgba(0,0,0,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.timeline-item.is-history {
  opacity: .82;
}

@media (max-width: 900px) {
  .measure-details-grid {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .hero-inner {
    min-height: auto;
  }

  .hero h1 {
    font-size: 40px;
  }

  .content-panel,
  .news-row {
    grid-template-columns: 1fr;
  }

  .page-side {
    order: -1;
  }

  .board-summary {
    grid-template-columns: 1fr;
  }

  .board-member {
    grid-template-columns: 1fr;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {

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

  .hero-text {
    font-size: 17px;
  }

  .page-hero-bottom h1 {
    font-size: 34px;
  }

  .content-panel {
    padding: 26px 20px;
  }

  .home-news-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
