/* =========================================================
   HOMEPAGE HERO
   ========================================================= */
#cp-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: var(--cp-navy);
}

#cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0d206073;
  z-index: 1;
  pointer-events: none;
}

.cp-hero-bg {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center 60%;
  opacity: 1;
  z-index: 0;
}

.cp-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

#cp-hero > .container {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.cp-hero-content {
  position: absolute;
  top: 25%;
  left: 48px;
  right: 48px;
  z-index: 2;
  max-width: 680px;
}

.cp-hero-content h1 {
  color: #fff;
  font-size: clamp(2.125rem, 1.45rem + 2.4vw, 3.5rem);
  font-weight: 600;
  margin-bottom: clamp(20px, 2.6vw, 30px);
  line-height: 1.18;
}

.cp-hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 0.84rem + 0.8vw, 1.25rem);
  font-weight: 600;
  margin-bottom: clamp(28px, 3vw, 40px);
  line-height: 1.6;
}

.cp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cp-hero-actions > a:first-child:hover {
  background: #7acff9;
  border-color: #7acff9;
  color: #002461;
}

.cp-hero-actions > a:nth-child(2):hover {
  background: #b9d54b;
  border-color: #b9d54b;
  color: #002461;
}
.cp-hero-actions > a:nth-child(3):hover {
  background: #ed9621;
  border-color: #ed9621;
  color: #002461;
}
@media (max-width: 991px) {
  #cp-hero {
    height: 100vh;
  }

  .cp-hero-bg {
    height: 100%;
  }

  .cp-hero-content {
    top: 30%;
    left: 20px;
    right: 20px;
    max-width: 32rem;
  }
}

@media (max-width: 575px) {
  .cp-hero-content h1 {
    font-size: clamp(2rem, 1.4rem + 2vw, 2.6rem);
    line-height: 1.12;
  }

  .cp-hero-content p {
    font-size: clamp(1rem, 0.9rem + 0.45vw, 1.125rem);
    line-height: 1.55;
  }
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
#cp-how {
  padding: 96px 0;
  background: var(--cp-white);
}

.cp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (min-width: 992px) {
  .cp-steps {
    justify-items: center;
  }
}

/* WRAPPER (div) */
.cp-step-card {
  position: relative;
  border: 2px solid var(--step-color, var(--cp-orange));
  border-radius: var(--cp-radius-lg);
  background: #fff;
  box-shadow: var(--cp-shadow);
  transition:
    transform var(--cp-ease),
    box-shadow var(--cp-ease);
  margin-top: 22px;
  height: 267px;
}

@media (min-width: 992px) {
  .cp-step-card {
    width: 247px;
  }
}

/* make link fill the card */
.cp-step-card > a {
  display: block;
  padding: 2rem;
  color: var(--cp-navy);
  background-color: var(--cp-white);
  text-decoration: none;
  height: 100%;
  border-radius: var(--cp-radius-lg);
  position: relative;
  z-index: 1;
}

/* hover only on enabled */
.cp-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cp-shadow-lg);
}

.cp-step-card.is-disabled {
  cursor: default;
}

.cp-step-card.is-disabled:hover {
  transform: none;
  box-shadow: var(--cp-shadow);
}

/* Conic-gradient ring */
.cp-step-num {
  position: absolute;
  top: -32px;
  left: -38px;
  width: 77px;
  height: 79px;
}

/* Inner circle */
.cp-step-num-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--cp-navy);
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
}

/* Glow (NOW on div, dynamic color) */
.cp-step-card::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 50%;
  pointer-events: none;
  background: var(--step-color, var(--cp-orange));
}

/* Text */
.cp-step-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--cp-navy);
  margin-top: 28px;
  line-height: 1.4;
}

/* Icon */
.cp-step-icon {
  width: 76px;
  height: 73px;
}

.cp-step-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--cp-navy);
  fill: none;
  stroke-width: 1.5;
}

/* =========================================================
   THEMATIC SECTIONS (OpenStreetMap)
   ========================================================= */
#cp-thematic {
  padding: 96px 0;
  background: var(--cp-white);
}

.cp-thematic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--cp-shadow);
  min-height: 520px;
  background: var(--cp-navy);
}

#cp-osm-map {
  width: 100%;
  min-height: 520px;
  z-index: 1;
}

@media (min-width: 992px) {
  #cp-osm-map {
    border-radius: 0 50px 50px 0;
  }
}

.cp-thematic-cats {
  background: var(--cp-navy);
  padding: 40px 72px 40px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 28px 20px;
  align-content: start;
  position: relative;
}

.cp-thematic-cats::after {
  content: "";
  grid-column: 2;
  /* min-height: 120px; */
}

.cp-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition:
    transform var(--cp-ease),
    color var(--cp-ease);
  max-width: 167px;
}

.cp-cat-item:hover {
  color: var(--cat-color, #fff);
}

.cp-cat-icon {
  width: 87px;
  height: 81px;
  position: relative;
}

.cp-cat-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
  right: -32px;
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--cp-ease);
}

.cp-cat-item:hover .cp-cat-icon::after {
  opacity: 1;
}

.cp-cat-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity var(--cp-ease);
}

.cp-cat-icon-default {
  opacity: 1;
}

.cp-cat-icon-hover {
  opacity: 0;
}

.cp-cat-item:hover .cp-cat-icon-default {
  opacity: 0;
}

.cp-cat-item:hover .cp-cat-icon-hover {
  opacity: 1;
}

.cp-cat-item span {
  font-size: 1.125rem;
  font-weight: 700;
  color: inherit;
  line-height: 1.3;
}

.cp-thematic-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  bottom: 0;
  right: -72px;
  width: 319px;
  height: 155px;
}

.cp-explore-btn {
  background: #fff;
  color: var(--cp-navy);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 50px 29px;
  border-radius: 50px 0px 0px 0px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background-color var(--cp-ease),
    color var(--cp-ease);
  width: 100%;
  height: 100%;
}

.cp-explore-btn svg {
  transition: transform var(--cp-ease);
  width: 29px;
  height: 18px;
}

.cp-explore-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--cp-navy);
}

.cp-explore-btn:hover svg {
  transform: translateX(6px);
}

/* =========================================================
   STATISTICS
   ========================================================= */
#cp-stats {
  padding: 80px 0;
  background: var(--cp-white);
}

.cp-stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 105px;
  row-gap: 50px;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}

.cp-stat-number {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--cp-navy);
  line-height: 1;
}

.cp-stat-label {
  font-size: 18px;
  font-weight: 700;
  color: #002461;
  margin-top: 8px;
}

/* =========================================================
   RECENT ACTIONS
   ========================================================= */
#cp-recent {
  padding: 80px 0;
  background: var(--cp-white);
  position: relative;
  overflow: hidden;
}

#cp-recent::before,
#cp-recent::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

#cp-recent::before {
  width: 320px;
  height: 320px;
  background: var(--cp-orange);
  top: -60px;
  left: -80px;
}

#cp-recent::after {
  width: 260px;
  height: 260px;
  background: var(--cp-cyan);
  top: 0;
  right: -60px;
}

.cp-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* =========================================================
   ACTION CARD (used in archive + recent)
   ========================================================= */
.cp-action-card {
  background: #fff;
  border-radius: var(--cp-radius-md);
  padding: 24px;
  border: 2px solid var(--cp-orange);
  box-shadow: var(--cp-shadow);
  transition:
    transform var(--cp-ease),
    box-shadow var(--cp-ease);
}

.cp-action-card.cp-fade {
  opacity: 1;
  animation: none;
}

.cp-action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cp-shadow-lg);
}

.cp-action-card:nth-child(3n + 2) {
  border-color: var(--cp-green);
}

.cp-action-card:nth-child(3n + 3) {
  border-color: var(--cp-cyan);
}

.cp-action-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--cp-navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

.cp-action-card h3 a {
  color: inherit;
}

.cp-action-card h3 a:hover {
  color: var(--cp-navy-mid);
}

.cp-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cp-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--cp-text-muted);
  font-weight: 600;
}

.cp-meta-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* =========================================================
   FILTER BAR (Δράσεις archive)
   ========================================================= */
.cp-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--cp-radius-md);
  box-shadow: var(--cp-shadow);
}

.cp-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cp-filter-icon {
  font-size: 0.85rem;
  color: var(--cp-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.cp-filter-select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230d2060' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1.5px solid var(--cp-border);
  border-radius: var(--cp-radius-full);
  padding: 8px 32px 8px 14px;
  font-family: var(--cp-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cp-navy);
  cursor: pointer;
  transition: border-color var(--cp-ease);
}

.cp-filter-select:focus {
  outline: none;
  border-color: var(--cp-navy);
}

.cp-sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cp-sort-label {
  font-size: 0.82rem;
  color: var(--cp-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================================
   CTA BANNER (split)
   ========================================================= */
#cp-cta-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cp-cta-left {
  background: var(--cp-navy);
  padding: 64px;
}

.cp-cta-right {
  background: var(--cp-purple);
  padding: 64px;
}

.cp-cta-left h2,
.cp-cta-right h2 {
  color: #fff;
  font-size: 1.875rem;
  margin-bottom: 20px;
}

.cp-cta-left p,
.cp-cta-right p {
  color: rgba(255, 255, 255, 1);
  font-size: 0.938rem;
  margin-bottom: 28px;
}

.cp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  transition: color var(--cp-ease);
}

.cp-cta-link svg {
  transition: transform var(--cp-ease);
}

.cp-cta-link:hover {
  color: #7acff9;
}

.cp-cta-link:hover svg {
  transform: translateX(6px);
}

.cp-cta-link:hover svg path {
  fill: #7acff9;
}

/* =========================================================
   LATEST POSTS
   ========================================================= */
#pnai-latest-posts {
  padding: 96px 0;
  background: var(--cp-white);
}

#pnai-latest-posts .section-title {
  margin-bottom: 0px;
}

.pnai-latest-posts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.pnai-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
}

.pnai-post-item-wrap {
  position: relative;
}

.pnai-post-item-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-30%, -30%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.pnai-post-item-wrap:nth-child(1)::before {
  background: #f29420;
}

.pnai-post-item-wrap:nth-child(2)::before {
  background: #b9d54b;
}

.pnai-post-item-wrap:nth-child(3)::before {
  background: #7acff9;
}

.pnai-post-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--cp-radius-lg, 16px);
  box-shadow: 0px 3px 6px #00000029;
  overflow: hidden;
  transition:
    transform var(--cp-ease),
    box-shadow var(--cp-ease);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
}

.pnai-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cp-shadow-lg);
}

.pnai-post-thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.pnai-post-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--cp-ease);
}

.pnai-post-card:hover .pnai-post-thumb-img {
  transform: scale(1.04);
}

.pnai-post-thumb-default {
  width: 100%;
  height: 100%;
  background: #002461;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pnai-post-thumb-logo {
  width: 60%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.pnai-post-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.pnai-post-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cp-navy);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.pnai-post-card:hover .pnai-post-title {
  color: var(--cp-navy-mid, #1a3a7a);
}

.pnai-post-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cp-text-muted, #6b7280);
}

.pnai-posts-btn {
  display: flex;
  justify-content: center;
}

.pnai-btn-news {
  display: inline-block;
  background: #002461;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background var(--cp-ease),
    color var(--cp-ease);
}

.pnai-btn-news:hover {
  background: #0c3c8d;
  color: #fff;
}

@media (max-width: 991px) {
  .pnai-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .pnai-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Section Αιτήματα (homepage) ── */
.cp-sec-ath-header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}

.cp-sec-aithmata {
  padding: 3rem 0;
  background: #fff;
  position: relative;
  isolation: isolate;
}

.cp-sec-aithmata::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-145%, -7%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #f29420;
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.cp-sec-aithmata::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(140%, -35%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #b9d54b;
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

@media screen and (max-width: 780px) {
  .cp-sec-aithmata::before {
    display: none;
  }
  .cp-sec-aithmata .cp-aithima-row {
    margin: 1rem 1rem !important;
    min-height: 300px !important;
  }
}

.cp-sec-ath-header {
  max-width: 640px;
}

.cp-sec-ath-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cp-navy);
  margin: 0 0 12px;
  line-height: 1.25;
  text-align: center;
}

.cp-sec-ath-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cp-text-muted);
  margin: 0;
  text-align: center;
}

.cp-sec-ath-body {
  display: flex;
  align-items: center;
  gap: 0;
}

.cp-sec-ath-slider-outer {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.cp-sec-ath-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 2px solid var(--cp-navy);
  border-radius: 50%;
  background: #fff;
  color: var(--cp-navy);
  font-size: 1rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.cp-sec-ath-btn:hover {
  background: var(--cp-navy);
  color: #fff;
}

@media (max-width: 640px) {
  .cp-sec-ath-body {
    gap: 0;
  }

  .cp-sec-ath-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}
[id] {
  scroll-margin-top: 10rem;
}
.espa-banner {
  position: absolute;
  bottom: 0;
}
