/* =========================================================
   ESG page — dark theme, matches homepage Product Series style
   ========================================================= */
@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap
}
:root{
  --esg-bg:#080809;
  --esg-panel:#0e0e11;
}
body{background:var(--esg-bg)}

.esg-hero h1,.esg-panel h2,.esg-highlights h2,.esg-report h2,.sect-head h2,.news-card h4{
  font-family:"Metropolis","Noto Sans TC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:800;
}

.sect-head h2{color:#fff}
.sect-head .left .dash{margin-top:0;margin-bottom:18px}

.dash{display:block;width:35px;height:3px;background:var(--accent);margin-top:20px}

/* ---------- Hero ---------- */
.esg-hero {
    background: linear-gradient(to bottom, #00000000, #00000000), url(../dayin/images/esg/banner.jpg) no-repeat center center/ cover scroll;
    padding: 160px 0 160px;
    position: relative;
    overflow: hidden
}
.esg-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 60% 60% at 50% 20%,rgba(228,106,88,.14),transparent 70%);pointer-events:none}
.esg-hero-inner{position:relative;z-index:1;text-align:center;max-width:820px;margin:0 auto}
.esg-hero-inner .dash{margin:20px auto 0px}
.esg-hero h1{color:#fff;margin:0;font-size:clamp(30px,4.5vw,48px)}

/* ---------- Intro ---------- */
.esg-intro{background:var(--esg-bg);padding:60px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.esg-intro p{color:#9a9aa2;font-size:16px;line-height:1.9;max-width:760px;margin:0 auto;text-align:center}

/* ---------- Alternating pillar panels ---------- */
.esg-panel{position:relative;min-height:560px;background-color:#111;background-size:cover;background-position:center;background-repeat:no-repeat;border-bottom:1px solid rgba(255,255,255,.08)}
.esg-panel .container{display:flex;min-height:560px;justify-content:flex-end}
.esg-panel.rev .container{justify-content:flex-start}
.esg-panel-content{display:flex;align-items:center;flex:0 0 54%;max-width:54%;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.esg-panel-inner{padding:60px 64px;width:100%}
.esg-en{font-family:"Oswald",sans-serif;font-size:12px;color:var(--accent);letter-spacing:.35em;text-transform:uppercase;margin-bottom:14px;font-weight:600}
.esg-panel h2{color:#fff;font-size:clamp(26px,3vw,36px);margin-bottom:18px}
.esg-panel-inner>p{color:#9a9aa2;font-size:14.5px;line-height:1.9;margin-bottom:26px}
.esg-bullets{list-style:none;padding-left:0;}
.esg-bullets li{position:relative;padding:16px 0 16px 24px;border-top:1px solid rgba(255,255,255,.08);color:#c7c7cc;font-size:13.5px;line-height:1.85}
.esg-bullets li:first-child{border-top:none;padding-top:0}
.esg-bullets li::before{content:"";position:absolute;left:0;top:24px;width:5px;border-radius:100%;height:5px;background:var(--accent)}
.esg-bullets li strong{display:block;color:#fff;font-size:14.5px;font-weight:700;margin-bottom:4px}

/* ---------- Highlights (KPI strip) ---------- */
.esg-highlights{background:var(--esg-panel);padding:110px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.sect-head-center{text-align:center;max-width:760px;margin:0 auto 56px}
.sect-head-center .dash{margin:0 auto 20px}
.sect-head-center h2{color:#fff;margin:0}
.esg-kpi-row{display:grid;grid-template-columns:repeat(3,1fr);max-width:820px;margin:0 auto}
.esg-kpi-row .k{text-align:center;padding:0 24px;border-left:1px solid rgba(255,255,255,.14)}
.esg-kpi-row .k:first-child{border-left:none}
.esg-kpi-row .v{font-family:"Bebas Neue",sans-serif;font-size:clamp(38px,4vw,56px);color:var(--accent);line-height:1}
.esg-kpi-row .v .unit{font-family:"Oswald",sans-serif;font-size:16px;font-weight:600;margin-left:4px}
.esg-kpi-row .l{font-size:13px;color:#c7c7cc;font-weight:700;margin-top:10px}

/* ---------- Report downloads ---------- */
.esg-report{background:var(--esg-bg);padding:110px 0}
.esg-report h2{color:#fff;margin-bottom:18px}
.esg-report p{color:#9a9aa2;font-size:14.5px;line-height:1.9;margin-bottom:12px}
.esg-report p.small{font-size:13px;color:#7a7a80}
.rc-files{display:grid;gap:14px}
.rc-file{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;background:#141417;border:1px solid rgba(255,255,255,.08);transition:all .3s}
.rc-file:hover{border-color:var(--accent);background:#191920}
.rc-file .rf-left{display:flex;align-items:center;gap:20px}
.rc-file .rf-yr{font-family:"Bebas Neue",sans-serif;font-size:34px;color:var(--accent);line-height:1}
.rc-file .rf-info .t{color:#fff;font-size:15px;font-weight:700}
.rc-file .dl{color:var(--accent);font-family:"Oswald",sans-serif;font-size:12px;letter-spacing:.2em;font-weight:700}

/* ---------- Latest News teaser (ported from homepage) ---------- */
.news-teaser{margin-top:-20px;position:relative;z-index:1;padding:110px 0;background:var(--esg-bg);border-top:1px solid rgba(255,255,255,.08)}
.news-teaser .sect-head .right{color:#9a9aa2}
.news-teaser .sect-head .right a{color:var(--accent)}
.news-track{position:relative}
.news-page{display:none}
.news-page.active {
    display: block
}
.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.news-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:14px;transition:all .3s;display:flex;align-items:flex-start;min-height:300px;background-color:#141417;background-size:cover;background-position:center;background-repeat:no-repeat}
.news-card:hover{border-color:var(--accent);box-shadow:0 18px 40px rgba(0,0,0,.5);transform:translateY(-3px)}
.news-card .news-body{position:relative;z-index:1;padding:40px 38px;max-width:78%}
.news-card h4{color:#fff;font-size:26px;font-weight:800;line-height:1.3;margin-bottom:16px}
.news-card p{font-size:14px;color:#c7c7cc;line-height:1.8}
.news-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:44px}
.news-dots{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:100px;padding:10px 14px}
.news-dot{width:8px;height:8px;border-radius:50%;border:none;background:rgba(255,255,255,.25);padding:0;cursor:pointer;transition:all .25s}
.news-dot.active{background:var(--accent);width:22px;border-radius:5px}
.news-play{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.15);background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .25s}
.news-play:hover{border-color:var(--accent);color:var(--accent)}

@media(max-width:960px){
  .news-grid{grid-template-columns:1fr}
  .esg-hero{padding:70px 0 70px}
  .esg-intro{padding:40px 0}
  .esg-panel{min-height:auto}
  .esg-panel .container{min-height:auto;justify-content:flex-start}
  .esg-panel-content{flex-basis:100%;max-width:none;margin-top:60px}
  .esg-panel-inner{padding:20px 10px}
  .esg-highlights{padding:70px 0}
  .esg-kpi-row{grid-template-columns:1fr;gap:28px}
  .esg-kpi-row .k{border-left:none;border-top:1px solid rgba(255,255,255,.14);padding:24px 0 0}
  .esg-kpi-row .k:first-child{border-top:none;padding-top:0}
  .esg-report{padding:70px 0}
  .esg-report-grid .col-md-5{margin-bottom:32px}
    .esg-hero h1, .esg-panel h2, .sect-head h2 {
        font-size: 20px;
    }
}
