/* World Green — Dedicated Projects Pages v13
   Self-contained classes; no changes to existing homepage components. */
.wgpp-main {
    --wgpp-ink: #103248;
    --wgpp-green: #098e76;
    --wgpp-blue: #10699c;
    background: #f5f8fa;
    color: var(--wgpp-ink);
    min-height: 75vh;
}
.wgpp-main *,.wgpp-main *::before,.wgpp-main *::after { box-sizing: border-box; }
.wgpp-container { width: min(1250px, calc(100% - 48px)); margin-inline: auto; }
.wgpp-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wgpp-main a { color: inherit; text-decoration: none; }
.wgpp-main a:focus-visible,.wgpp-main button:focus-visible,.wgpp-main input:focus-visible { outline: 3px solid #47d7ac; outline-offset: 4px; }
.wgpp-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(188px, 15vw, 260px) 0 clamp(76px, 7vw, 115px);
    background: linear-gradient(127deg,#092334,#103d4d 53%,#075952 100%);
    color: white;
}
.wgpp-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    opacity: .36;
    background: repeating-linear-gradient(125deg, transparent 0 89px, rgba(150,239,215,.085) 90px 91px, transparent 92px 178px);
}
.wgpp-hero__glow { position: absolute; z-index: -1; border: 1px solid rgba(108,238,184,.18); border-radius: 50%; width: 820px; height: 820px; right: -330px; top: -440px; box-shadow: 0 0 0 90px rgba(45,177,148,.055),0 0 0 180px rgba(63,181,148,.025); pointer-events: none; }
.wgpp-hero__inner { position: relative; }
.wgpp-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; color: #b5d5dc; font-size: 13px; margin-bottom: clamp(32px, 4vw, 56px); }
.wgpp-breadcrumb a { transition: color .2s ease; }
.wgpp-breadcrumb a:hover { color: #86f5cd; }
.wgpp-breadcrumb [aria-current] { color: #fff; }
.wgpp-eyebrow { display: inline-block; color: #9cf1cc; font-weight: 800; letter-spacing: .22em; font-size: 11px; text-transform: uppercase; }
.wgpp-eyebrow--dark { color: var(--wgpp-green); }
.wgpp-hero h1 { font-size: clamp(43px, 6.35vw, 92px); line-height: 1.07; letter-spacing: -.058em; font-weight: 820; max-width: 960px; margin: 18px 0 24px; overflow-wrap: anywhere; color: #fff; }
.wgpp-dot { color: #68eab2; }
.wgpp-hero p { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.75; max-width: 750px; color: #c5e0e6; margin: 0; }
.wgpp-hero__rule { width: 85px; height: 4px; margin-top: 40px; border-radius: 5px; background: linear-gradient(90deg,#4ad961,#39b5e1); }
.wgpp-listing,.wgpp-detail { padding: clamp(64px, 7vw, 108px) 0 clamp(86px, 9vw, 140px); }
.wgpp-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.wgpp-section-head h2 { font-size: clamp(33px, 4vw, 54px); line-height: 1.13; letter-spacing: -.046em; margin: 12px 0 0; font-weight: 790; }
.wgpp-back-link { font-size: 13px; font-weight: 700; color: var(--wgpp-green) !important; white-space: nowrap; }
.wgpp-back-link:hover { text-decoration: underline; }
.wgpp-toolbar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.wgpp-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.wgpp-tabs a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 13px; font-weight: 750; color: #416072; background: #fff; border: 1px solid #e0e9ed; border-radius: 999px; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.wgpp-tabs a span { font-size: 11px; color: inherit; opacity: .7; }
.wgpp-tabs a:hover { transform: translateY(-2px); border-color: #70cbb9; color: #087c68; }
.wgpp-tabs a.is-current { color: #fff; background: linear-gradient(120deg,#087e70,#099a7d); border-color: transparent; box-shadow: 0 8px 22px rgba(0,126,103,.15); }
.wgpp-search { min-height: 50px; display: flex; align-items: center; gap: 9px; padding-left: 16px; border-radius: 999px; border: 1px solid #d9e5e8; background: #fff; box-shadow: 0 9px 26px rgba(16,62,80,.04); }
.wgpp-search svg { fill: none; stroke: #7995a4; stroke-width: 1.8; stroke-linecap: round; }
.wgpp-search input { width: clamp(130px, 17vw, 230px); flex: 1; border: none; outline: none; background: transparent; font: inherit; font-size: 13px; color: #123348; }
.wgpp-search button { align-self: stretch; padding: 0 21px; border: none; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 780; cursor: pointer; color: white; background: #0c7d71; }
.wgpp-search button:hover { background: #09685d; }
.wgpp-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.wgpp-card { isolation: isolate; position: relative; display: flex; overflow: hidden; min-height: 355px; border-radius: 24px; color: #fff; background: linear-gradient(125deg,#0e2d42,#095b53); box-shadow: 0 12px 38px rgba(12,54,70,.09); transition: transform .3s ease, box-shadow .3s ease; }
.wgpp-card:nth-child(3n+2) { background: linear-gradient(130deg,#153452,#0a635d); }
.wgpp-card:nth-child(3n+3) { background: linear-gradient(125deg,#0d3847,#0b7470); }
.wgpp-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(12,54,70,.2); }
.wgpp-card__visual { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.wgpp-card__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(1,19,30,.34),transparent); }
.wgpp-card__arc { position: absolute; width: 360px; height: 360px; border: 1px solid rgba(157,248,215,.2); border-radius: 50%; right: -110px; top: -160px; box-shadow: 0 0 0 55px rgba(145,240,213,.035),0 0 0 110px rgba(145,240,213,.028); }
.wgpp-card__beam { position: absolute; width: 620px; height: 2px; top: 42%; left: -120px; transform: rotate(-32deg); background: linear-gradient(90deg,transparent,rgba(164,251,218,.24),transparent); }
.wgpp-card__beam--second { top: 70%; }
.wgpp-card__content { display: flex; flex-direction: column; width: 100%; padding: clamp(25px,3vw,37px); position: relative; }
.wgpp-card__topline { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.wgpp-card__sector { color: #a1dfd0; letter-spacing: .14em; font-size: 10px; font-weight: 800; line-height: 1.5; }
.wgpp-status { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; font-size: 11px; font-weight: 750; padding: 7px 12px; white-space: nowrap; color: #effffb; background: rgba(255,255,255,.1); }
.wgpp-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #78ebc0; }
.wgpp-status--completed::before { background: #a9c8fa; }
.wgpp-card h3 { font-size: clamp(24px,2.7vw,36px); line-height: 1.17; letter-spacing: -.035em; margin: 35px 0 15px; overflow-wrap: anywhere; color: #fff; }
.wgpp-card h3 a:hover { color: #aaf8dc; }
.wgpp-card__summary { color: #c3e3e5; font-size: 13px; line-height: 1.65; margin: 0 0 22px; }
.wgpp-card__bottom { margin-top: auto; border-top: 1px solid rgba(255,255,255,.19); padding-top: 17px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.wgpp-card__bottom div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wgpp-card__bottom span { font-size: 10px; letter-spacing: .14em; color: #a5d6d3; font-weight: 780; }
.wgpp-card__bottom strong { color: #fff; font-size: 14px; overflow-wrap: anywhere; }
.wgpp-card__arrow { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 20px; transition: background .2s ease, transform .2s ease; }
.wgpp-card__arrow:hover { background: #0b9880; transform: rotate(45deg); }
.wgpp-no-results { text-align: center; border: 1px solid #ddebed; background: #fff; padding: 60px 24px; border-radius: 22px; }
.wgpp-no-results h3 { margin: 0 0 8px; font-size: 28px; }
.wgpp-no-results p { margin: 0 0 22px; color: #6a8491; }
.wgpp-no-results a { color: #087e6c; font-weight: 750; text-decoration: underline; }
.wgpp-detail__cover { width: 100%; margin: 0 0 35px; border-radius: 20px; overflow: hidden; border: 1px solid #d7e7e8; background: #ecf2f2; }
.wgpp-detail__cover img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
/* Detail page */
.wgpp-hero--detail { padding-bottom: clamp(75px,7vw,115px); }
.wgpp-hero--detail h1 { max-width: 1160px; font-size: clamp(42px,5.6vw,76px); }
.wgpp-detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; color: #b9d9d7; margin-top: 28px; }
.wgpp-detail-meta > span:first-child { font-size: 11px; letter-spacing: .12em; font-weight: 750; }
.wgpp-detail-meta strong { display: block; font-size: clamp(16px,2vw,22px); letter-spacing: 0; color: white; padding-top: 8px; }
.wgpp-detail__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(285px,340px); align-items: start; gap: clamp(38px,5vw,80px); }
.wgpp-detail__body h2 { font-size: clamp(33px,3.5vw,50px); letter-spacing: -.045em; line-height: 1.15; margin: 12px 0 25px; }
.wgpp-detail__description { font-size: 16px; line-height: 1.95; color: #3f5c6a; white-space: pre-line; overflow-wrap: anywhere; }
.wgpp-detail__empty { color: #758b97; line-height: 1.7; }
.wgpp-detail__aside { background: #fff; border: 1px solid #e0e9ec; border-radius: 23px; padding: 30px; box-shadow: 0 18px 45px rgba(16,54,72,.055); }
.wgpp-detail__aside h3 { font-size: 24px; letter-spacing: -.03em; margin: 13px 0 25px; }
.wgpp-detail__aside dl { margin: 0 0 24px; }
.wgpp-detail__aside dl div { padding: 14px 0; border-top: 1px solid #e8eef0; }
.wgpp-detail__aside dt { font-size: 10px; font-weight: 780; letter-spacing: .13em; color: #7c97a2; margin-bottom: 7px; text-transform: uppercase; }
.wgpp-detail__aside dd { margin: 0; font-weight: 650; font-size: 15px; color: #11374a; overflow-wrap: anywhere; }
.wgpp-detail__back { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #0b8d75; color: #087d69 !important; border-radius: 12px; font-size: 13px; font-weight: 790; transition: color .2s ease, background .2s ease; }
.wgpp-detail__back:hover { color: #fff !important; background: #087d69; }
.wgpp-gallery { margin-top: 52px; }
.wgpp-gallery h3 { font-size: 24px; }
.wgpp-gallery__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.wgpp-gallery figure { margin: 0; overflow: hidden; background: #fff; border-radius: 15px; border: 1px solid #e1e9ed; }
.wgpp-gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wgpp-gallery figcaption { padding: 11px 14px; font-size: 12px; color: #607884; }
/* homepage project carousel link injected by optional installer integration */
.wgpp-home-view { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin-top: 13px; color: #a9f9dd !important; font-size: 12px; font-weight: 800; text-decoration: none !important; }
.wgpp-home-view:hover { color: #fff !important; text-decoration: underline !important; }
.wgpp-home-all { display: block; width: max-content; margin: -6px 0 18px auto; color: #087f6b !important; font-size: 13px; font-weight: 800; text-decoration: none !important; }
.wgpp-home-all:hover { text-decoration: underline !important; }
.wgpp-footer { color: #d8eeef; background: #0a2b3b; padding: 33px 0; }
.wgpp-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.wgpp-footer__inner > div { display: flex; flex-direction: column; gap: 3px; }
.wgpp-footer__inner strong { color: #fff; font-size: 24px; }
.wgpp-footer__inner strong span { color: #62df9e; }
.wgpp-footer__inner small { font-size: 11px; letter-spacing: .07em; }
.wgpp-footer__inner > a { color: #abf4d5; font-size: 13px; font-weight: 750; }
.wgpp-footer__inner > a:hover { text-decoration: underline; }
@media(max-width:920px) {
    .wgpp-grid { grid-template-columns: 1fr 1fr; }
    .wgpp-detail__grid { grid-template-columns: 1fr; }
    .wgpp-detail__aside { max-width: 560px; }
}
@media(max-width:700px) {
    .wgpp-container { width: min(100% - 30px,1250px); }
    .wgpp-hero { padding: 170px 0 72px; }
    .wgpp-breadcrumb { margin-bottom: 40px; }
    .wgpp-hero h1 { font-size: clamp(38px,9vw,64px); }
    .wgpp-section-head { flex-direction: column; align-items: start; gap: 14px; }
    .wgpp-toolbar { align-items: stretch; }
    .wgpp-tabs { gap: 6px; }
    .wgpp-tabs a { padding: 11px 13px; font-size: 12px; }
    .wgpp-search { width: 100%; }
    .wgpp-search input { min-width: 0; }
    .wgpp-grid { grid-template-columns: 1fr; }
    .wgpp-card { min-height: 330px; }
    .wgpp-card h3 { font-size: clamp(24px,6.3vw,34px); }
    .wgpp-detail__aside { padding: 23px; }
    .wgpp-footer__inner { flex-direction: column; text-align: center; }
}
@media(prefers-reduced-motion:reduce) {
    .wgpp-main *, .wgpp-main *::before, .wgpp-main *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
