/* On-going Projects gallery (embedded in standard site chrome) */

.se-op--embedded {
  padding: 36px 0 56px;
  width: 100%;
  box-sizing: border-box;
}

.se-op__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.55;
  color: #4a4a4a;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.se-op__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  width: 100%;
}

.se-op__card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 40, 20, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.se-op__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26, 40, 20, 0.14);
}

.se-op__card-media {
  display: block;
  background: #f0f2ed;
  width: 100%;
  /* Show the full poster — no cropping */
  aspect-ratio: auto;
  overflow: visible;
}

.se-op__card-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}

.se-op__card-body {
  padding: 14px 16px 16px;
  border-top: 1px solid #eef1ea;
}

.se-op__country {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b6f40;
  margin-bottom: 6px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.se-op__card h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: #1a1a1a;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.se-op__lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 8, 0.88);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.se-op__lightbox.is-open {
  display: flex;
}

.se-op__lightbox img {
  max-width: min(960px, 100%);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.se-op__lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 980px) {
  .se-op__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
}

@media (max-width: 600px) {
  .se-op--embedded {
    padding: 24px 0 40px;
  }

  .se-op__grid {
    grid-template-columns: 1fr;
  }

  .se-op__intro {
    margin-bottom: 22px;
    font-size: 15px;
    padding: 0 4px;
  }
}
