/* Visit Egypt Programs Cards */
.vep-section {
  padding: 64px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto;
}
.vep-section h2 {
  font-family: "Cinzel", serif;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  color: var(--brand-primary-main);
  margin: 0;
  letter-spacing: 0.5px;
}
.vep-section p {
  color: var(--neutral-700);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

.vep-card {
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 320px;
}
.vep-card--feature {
  border: 1px solid var(--neutral-200);
  align-items: stretch;
}
.vep-card__media {
  position: relative;
}
.vep-card--feature .vep-card__media {
  height: 500px;
}
.vep-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vep-card--small .vep-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(7, 35, 35, 0.9) 100%
  );
  pointer-events: none;
}
.vep-card__duration {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(243, 239, 245, 0.7);
  color: var(--brand-primary-main);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.vep-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #0f4038;
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.vep-card__body {
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}
.vep-card__eyebrow {
  font-size: 12px;
  color: var(--brand-secondry-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.vep-card__title {
  font-family: "Cinzel", serif;
  font-size: 26px;
  margin: 0;
  color: var(--brand-primary-main);
  letter-spacing: 0.2px;
  line-height: 1.25;
}
.vep-card__excerpt {
  font-size: 14px;
  color: var(--neutral-700);
  line-height: 1.75;
  margin: 0;
}
.vep-card__chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.vep-chip {
  background: var(--brand-primary-50);
  color: var(--brand-primary-main);
  font-size: 12px;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vep-chip::before {
  content: "\2022";
  color: var(--brand-primary-main);
  opacity: 0.9;
  font-size: 15px;
  line-height: 1;
}
.vep-card__button {
  display: inline-block;
  align-self: flex-start;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--brand-primary-main);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(15, 64, 56, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: auto;
}
.vep-card__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(15, 64, 56, 0.25);
}
.vep-card__button--ghost {
  background: transparent;
  border: 1px solid var(--brand-primary-main);
  color: var(--brand-primary-main);
  box-shadow: none;
}

.vep-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vep-card--small {
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 64, 56, 0.12);
  border: 1px solid var(--neutral-200);
  min-height: 100%;
}
.vep-card--small .vep-card__media {
  height: 400px;
}
.vep-card--small .vep-card__body {
  padding: 1.25rem 1.4rem 1.4rem;
  gap: 0.8rem;
  flex: 1;
}
.vep-card__title--small {
  font-size: 19px;
  line-height: 1.35;
}
.vep-card__excerpt--small {
  font-size: 13px;
  color: var(--neutral-700);
  line-height: 1.65;
}
.vep-card__chips--inline {
  gap: 0.35rem;
}
.vep-chip--small {
  font-size: 12px;
  padding: 0;
  background: transparent;
  color: var(--brand-primary-main);
  position: relative;
  padding-left: 16px;
  border-radius: 0;
  font-weight: 500;
}
.vep-card--small .vep-chip--small::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand-secondry-main);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.6em;
}

/* Divider above button like Figma */
.vep-card--small .vep-card__button--ghost {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  margin-top: 16px;
  border-width: 2px;
}


/* Small card footer/button to match outlined full-width look */
.vep-card--small .vep-card__button--ghost {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem 1.15rem;
  border-radius: 999px;
  margin-top: 16px;
  border: 1.5px solid var(--brand-primary-main);
}


@media (max-width: 1100px) {
  .vep-section {
    padding: 64px 20px 72px;
  }
  .vep-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .vep-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .vep-card__media {
    min-height: 260px;
  }
}

@media (max-width: 780px) {
  .vep-section {
    border-radius: 18px;
    padding: 56px 16px 64px;
  }
  .vep-section h2 {
    font-size: 30px;
  }
  .vep-section p {
    font-size: 14px;
  }
  .vep-list {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .vep-section { padding: 40px 12px 48px; gap: 28px; }
  .vep-card__body { padding: 1rem 1.1rem; }
  .vep-card__title { font-size: 22px; }
  .vep-card__title--small { font-size: 18px; }
  .vep-card__excerpt { font-size: 13px; line-height: 1.6; }
  .vep-card__excerpt--small { font-size: 12.5px; line-height: 1.6; }
  .vep-card__chips { gap: 0.4rem; }
  .vep-card__chips--inline { gap: 0.25rem; }
  .vep-card--small .vep-chip--small::before { top: 50%; transform: translateY(-50%); }
  .vep-card__duration { font-size: 11px; padding: 2px 10px; left: 10px; bottom: 10px; }
  .vep-card__badge { top: 10px; left: 10px; }
  .vep-card--feature .vep-card__media { height: 220px; }
  .vep-card__button { width: 100%; text-align: center; padding: 0.65rem 1rem; }
  .vep-card--small .vep-card__button--ghost { padding: 0.7rem 1rem; margin-top: 12px; }
  .vep-list { grid-template-columns: 1fr; }
}
