.page-renewable {
  --ren-green: #6ab96f;
}

/* ---------- Hero ---------- */
.ren-hero {
  position: relative;
  height: 480px;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px 0;
  background: var(--gulf-navy);
}
.ren-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ren-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 28, 0.35) 0%, rgba(4, 17, 28, 0.18) 45%, rgba(4, 17, 28, 0.5) 100%);
}
.ren-hero-inner {
  position: relative;
  text-align: center;
}
.ren-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5.6vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
/* ---------- Breadcrumb ---------- */
.ren-crumb {
  background: var(--bg-soft);
}
.ren-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  font-size: 14px;
  color: var(--soft);
}
.ren-crumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}
.ren-crumb a {
  color: var(--soft);
  text-decoration: none;
}
.ren-crumb a:hover { color: var(--blue); }
.ren-crumb [aria-current] { color: var(--gulf-navy); }

/* ---------- Overview ---------- */
.ren-intro {
  padding: 72px 0 56px;
  background: #fff;
  text-align: center;
}
.ren-intro h2 {
  margin: 0 auto;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #202124;
}
/* Desktop: exactly 2 title lines; ≤576px flows continuously */
.ren-intro-line {
  display: block;
}
@media (min-width: 1100px) {
  .ren-intro-line {
    white-space: nowrap;
  }
}
@media (max-width: 576px) {
  .ren-intro-line {
    display: inline;
    white-space: normal;
  }
  .ren-intro-line + .ren-intro-line::before {
    content: " ";
  }
}
.ren-accent {
  color: var(--ren-green);
}
.ren-intro-copy p {
  margin: 18px auto 0;
  max-width: 46rem;
  font-size: 16px;
  line-height: 1.6;
  color: #5f6368;
}
.ren-intro-copy p:last-child { margin-bottom: 0; }
.ren-intro > .ren-intro-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  margin: 0 auto;
}
.ren-group {
  padding: 64px 0 72px;
  background: #fff;
}
.ren-group:nth-child(even) { background: var(--bg-soft); }
.ren-group--last { padding-bottom: 88px; }
.ren-card,
.ren-card--flip {
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
  grid-template-areas:
    "banner banner"
    "stats copy"
    "more more";
  gap: 64px 36px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.ren-card-copy { display: contents; }
.ren-card h2 {
  grid-area: banner;
  z-index: 1;
  align-self: center;
  justify-self: start;
  max-width: 14em;
  margin: 0;
  padding: 40px 48px;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
}
.ren-card-project {
  display: block;
  margin-top: 12px;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ren-card-text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.ren-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 0px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  background: #ffffff00;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.ren-card-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 24px 12px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  color: var(--ink);
}
.ren-card-list li:only-child { grid-column: 1 / -1; }
.ren-card-copy > .ren-card-text {
  grid-area: copy;
  align-self: center;
  margin: 0 48px 0 0;
}
.ren-card-copy > .ren-card-list {
  grid-area: stats;
  align-self: center;
  margin: 0 0 0 48px;
  padding: 8px;
  background: #e6f4ea;
  border-radius: 20px;
  border: 0px solid var(--line);
}
.ren-card-copy > .ren-card-list li {
  background: transparent;
}
.ren-card-copy > .ren-card-list li .ren-card-icon i,
.ren-card-copy > .ren-card-list li .ren-card-label,
.ren-card-copy > .ren-card-list li .ren-card-unit,
.ren-card-copy > .ren-card-list li .ren-stat-value {
  color: var(--gulf-navy);
}
.ren-card-icon i {
  font-size: 32px;
  line-height: 1;
  color: var(--gulf-navy);
}
.ren-card-label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 2.6em;
  margin-top: 0px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.ren-card-unit {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gulf-navy);
}
html[lang="th"] .ren-card-unit,
html[data-lang-folder="th"] .ren-card-unit {
  line-height: 1.45;
}
.ren-card-list .ren-stat-value {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gulf-navy);
}
.ren-card > .ren-card-media {
  grid-area: banner;
  position: relative;
  z-index: 0;
  margin: 0;
  align-self: stretch;
  border-radius: 32px 32px;
  overflow: hidden;
  min-height: 280px;
  aspect-ratio: 2.4 / 1;
}
.ren-card > .ren-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 42, 74, 0.78) 0%, rgba(11, 42, 74, 0.42) 38%, rgba(11, 42, 74, 0.08) 68%);
  pointer-events: none;
}
.ren-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ren-card-more {
  grid-area: more;
  grid-column: 1 / -1;
  display: grid;
  gap: 80px;
  padding: 8px 0px 0;
}
.ren-sub {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(243px, 0.99fr);
  gap: 28px 40px;
  align-items: center;
}
.ren-sub--flip { direction: rtl; }
.ren-sub--flip > * { direction: ltr; }
.ren-sub-media {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 240px;
}
.ren-sub-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ren-sub-copy > .ren-ext {
  align-self: flex-start;
  margin: 20px 0 0;
}
.ren-sub h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ren-sub p {
  margin: 0;
  max-width: 52rem;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.ren-sub .ren-card-list { margin-top: 16px; }
.ren-sub .ren-card-list li {
  background: transparent;
  /* border: 1px solid var(--line); */
}
.ren-intro-visual {
  margin: 56px 0 0;
  border-radius: 16px;
  overflow: hidden;
}
.ren-intro-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Stats ---------- */
.ren-stats {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background: var(--bg-soft);
}
.ren-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: clamp(48px, 10vw, 120px);
}
.ren-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ren-stat-icon i {
  font-size: 40px;
  line-height: 1;
  color: var(--gulf-navy);
}
.ren-stat p {
  margin: 20px 0 0;
  max-width: 16em;
  min-height: 2.6em;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.ren-stat-value {
  display: block;
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gulf-navy);
}
.ren-stat-unit {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gulf-navy);
}
.ren-stats-curve {
  /* position: absolute; */
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 90px;
  /* background: var(--bg); */
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
}

/* ---------- Projects accordion ---------- */
.ren-info {
  padding: 72px 0 88px;
  background: var(--bg);
}
.ren-info h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ren-acc { border-top: 1px solid var(--line); }
.ren-acc-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.35s ease;
}
.ren-acc-item.is-open { border-bottom-color: var(--blue); }
.ren-acc-item h3 { margin: 0; }
.ren-acc-head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-shadow: 0 0 0 transparent;
  cursor: pointer;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
.ren-acc-head:hover,
.ren-acc-item.is-open .ren-acc-head {
  color: var(--gulf-navy);
  text-shadow: 0.28px 0 0 var(--gulf-navy), -0.28px 0 0 var(--gulf-navy);
}
.ren-acc-sign {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}
.ren-acc-sign::before,
.ren-acc-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.ren-acc-sign::after { transform: translateY(-50%) rotate(90deg); }
.ren-acc-item.is-open .ren-acc-sign::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}
.ren-acc { overflow-anchor: none; }
.ren-acc-panel {
  overflow: hidden;
  overflow-anchor: none;
  height: 0;
  transition: height 0.32s ease;
}
.ren-acc-body { padding: 0 4px 36px; }
.ren-acc-body--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.ren-acc-body--split .ren-acc-media { order: -1; }
.ren-acc-panel .ren-acc-body--split:nth-child(even of .ren-acc-body--split) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.ren-acc-panel .ren-acc-body--split:nth-child(even of .ren-acc-body--split) .ren-acc-media { order: 0; }
.ren-acc-copy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.ren-cap {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ren-acc-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}
.ren-acc-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Map ---------- */
.ren-projects {
  padding: 24px 0 96px;
  background: var(--bg);
}
.ren-projects h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ren-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.ren-tab {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--text);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.ren-tab.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.ren-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 48px;
  align-items: start;
}
.ren-map-stage {
  position: relative;
  width: min(680px, 100%);
  margin: 0 auto;
}
.ren-map-img {
  width: 100%;
  height: auto;
  display: block;
}
.ren-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ren-pin-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gulf-navy);
}
.ren-pin-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(26, 115, 232, 0.18);
  opacity: 0;
  transform: scale(0.4);
}
.ren-pin:hover .ren-pin-wave,
.ren-pin.is-active .ren-pin-wave {
  opacity: 1;
  transform: scale(1);
}
.ren-pin:hover .ren-pin-dot,
.ren-pin.is-active .ren-pin-dot {
  transform: translate(-50%, -50%) scale(1.25);
  background: var(--blue);
}
.ren-map-hint {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: none;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft);
}
.ren-map-hint-dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gulf-navy);
}
.ren-map-card h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ren-map-label {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.ren-map-value {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1;
  color: var(--gulf-navy);
}
.ren-map-unit {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gulf-navy);
}
.ren-map-count {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
}
.ren-map-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ren-map-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}
.ren-map-list li + li { margin-top: 12px; }
.ren-map-list strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.ren-map-list span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}
.ren-map-back {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--text);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  cursor: pointer;
}
.ren-map-back:hover { text-decoration: underline; }
.ren-country[hidden] { display: none; }

@media (max-width: 980px) {
  .ren-group { padding: 40px 0 48px; }
  .ren-group--last { padding-bottom: 56px; }
  .ren-intro-grid,
  .ren-stats-grid,
  .ren-acc-body--split,
  .ren-map-layout,
  .ren-card,
  .ren-card-list,
  .ren-sub {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ren-card,
  .ren-card--flip {
    grid-template-columns: 1fr;
    grid-template-areas:
      "banner"
      "stats"
      "copy"
      "more";
    padding: 0;
  }
  .ren-card,
  .ren-card--flip,
  .ren-sub,
  .ren-sub--flip { direction: ltr; }
  .ren-card h2 { padding: 24px 20px; }
  .ren-card-copy > .ren-card-list,
  .ren-card-copy > .ren-card-text { margin-left: 20px; margin-right: 20px; }
  .ren-card-more {padding: 0 0px;}
  .ren-card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .ren-card-list .ren-stat-value { font-size: 26px; }
  .ren-card-label { font-size: 14px; }
  .ren-card > .ren-card-media {
    order: 0;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    border-radius: 28px 28px 0 0;
  }
  .ren-sub-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .ren-stat p { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ren-acc-panel { transition: none; }
}

.ren-card-more .ren-sub + .ren-sub { margin-top: 0; }
.ren-sub h3 {margin: 0 0 12px;font-family: var(--display);font-size: clamp(20px, 3vw, 32px);font-weight: 500;letter-spacing: -0.02em;color: var(--ink);line-height: 1.25;}

@media (max-width: 479px) {
  .ren-hero h1,
  .ren-intro h2,
  .ren-card h2,
  .ren-card-project,
  .ren-info h2,
  .ren-projects h2 {
    font-size: 36px;
  }
  .ren-sub h3 {
    font-size: 24px;
  }
}

.ren-acc-copy h4 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ren-acc-body + .ren-acc-body {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
