/* ==========================================================================
   TOWMCL - WASTE TO ENERGY PAGE  (page-specific styles only)
   ========================================================================== */
:root {
    --we-gold:  #fdc10e;
    --we-ink:   #0b0b0b;
    --we-text:  #66758c;
    --we-bg:    #f8f9fa;
    --we-line:  #e7ebee;
}

body { margin: 0; }

.wte {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    color: var(--we-text);
}
.wte *, .wte *::before, .wte *::after { box-sizing: border-box; }
.wte h1, .wte h2, .wte p, .wte figure { margin: 0; padding: 0; }

/* ---------- Banner ---------- */
.wte-banner {
    display: flex;
    align-items: center;
    justify-content: center;
   /* min-height: 200px;*/
    padding: 40px 20px;
  /*  background: linear-gradient(115deg, #06583c 0%, #07472f 45%, #0a3526 100%);*/
}
.wte-banner h1 {
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    /*color: var(--we-gold);*/
    color:black;
}

/* ---------- Cards ---------- */
.wte-body { background: var(--we-bg); padding: 38px 0 90px; }
.wte-wrap { width: min(1424px, calc(100% - 32px)); margin: 0 auto; }
.wte-stack { display: grid; gap: 25px; }

.wte-row {
    display: grid;
    grid-template-columns: 462px minmax(0, 1fr);
    align-items: start;                 /* text stays at the top beside the images */
    gap: 33px;
    padding: 28px 33px;
    background: #fff;
    border: 1px solid var(--we-line);
    border-radius: 20px;
}

/* images stacked with a small gap */
.wte-row__media { display: grid; gap: 9px; }
.wte-row__media figure { overflow: hidden; border-radius: 12px; background: #e9ecef; }
.wte-row__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.wte-row__text h2 {
    margin: 6px 0 4px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--we-ink);
}
.wte-row__text p { font-size: 16px; line-height: 30px; color: var(--we-text); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .wte-banner { min-height: 150px; padding: 30px 16px; }
    .wte-body { padding: 26px 0 60px; }
    .wte-row { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
    .wte-row__media img { height: auto; aspect-ratio: 16 / 10; }
    .wte-row__text p { font-size: 15.5px; line-height: 1.85; }
}















/* ==========================================================================
   BANNER (narrow strip)
   ========================================================================== */

.wtcc-banner {
    display: flex;
    align-items: stretch;
    min-height: 92px;
    overflow: hidden;
    color: black;
    background:
        radial-gradient(700px 260px at 50% 0%, rgba(255, 255, 255, .7), transparent 70%),
        linear-gradient(180deg, #e3e5e8 0%, #cbd0d5 100%);
    border-bottom: 3px solid #fdc10e;
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.wtcc-banner__title {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 20px clamp(16px, 4vw, 64px);
}

.wtcc-banner h1 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 3px;
    text-align: left;
    color: black;
}

/* angled gold tail on the right holds the breadcrumb */
.wtcc-banner__tail {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 clamp(20px, 4vw, 64px) 0 clamp(56px, 6vw, 90px);
    background: #fdc10e;
    clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%);
    font-size: 15px;
    font-weight: 600;
    color: #0b0b0b;
    animation: wtcc-slide .7s cubic-bezier(.2, .8, .2, 1) .2s both;
}

.wtcc-banner__tail a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.wtcc-banner__tail a:hover,
.wtcc-banner__tail a:focus-visible {
    border-bottom-color: #0b0b0b;
}

@keyframes wtcc-slide {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@media (max-width: 575px) {
    .wtcc-banner { min-height: 72px; }
    .wtcc-banner__title { padding: 16px; }
    .wtcc-banner h1 { letter-spacing: 1.5px; gap: 12px; }
    .wtcc-banner__tail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .wtcc-banner__tail { animation: none; }
}
