/* ==============================================
   Datacenters Page Styles
   Extracted from inline <style> in index.php
   ============================================== */

/* ============================================================
   DATA CENTER MAP - REDESIGN 2026 (CONSOLIDATED)
   ============================================================ */
.ec-dcm {
    --dcm-bg: #ffffff;
    --dcm-surface: #f8fafc;
    --dcm-surface-hover: #f1f5f9;
    --dcm-border: #e2e8f0;
    --dcm-text: #1e293b;
    --dcm-text-dim: #64748b;
    --dcm-accent: #0E9F6E;
    --dcm-accent-glow: rgba(14,159,110,0.15);
    --dcm-green: #0E9F6E;
    --dcm-orange: #ea580c;
    --dcm-red: #dc2626;
    --dcm-purple: #7c3aed;
    --dcm-blue: #3b82f6;
    --dcm-amber: #f59e0b;
    --dcm-radius: 12px;
    --dcm-radius-sm: 8px;
    --dcm-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --dcm-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.ec-dcm {
    font-family: var(--dcm-font);
    background: var(--dcm-bg);
    color: var(--dcm-text);
    min-height: 100vh;
    overflow-x: hidden;
}
.ec-dcm h2 { padding-bottom: 0 !important; }
.ec-dcm a { color: var(--dcm-accent); text-decoration: none; }
.ec-dcm a:hover { text-decoration: underline; }

/* Scroll Reveal */
.dcm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.dcm-reveal.dcm-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Breadcrumb */
.ec-dcm > .ec-breadcrumbs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 24px 6px;
    background: #fff;
    position: relative;
    z-index: 1;
}

/* ---- HERO (Dark) ---- */
.ec-dcm-hero {
    background: linear-gradient(180deg, #080d19 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    padding: 64px 24px 56px;
}
.ec-dcm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.ec-dcm-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.ec-dcm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14,159,110,0.1);
    border: 1px solid rgba(14,159,110,0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #34d399;
    margin-bottom: 20px;
}
.ec-dcm-hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--ec-accent);
    border-radius: 50%;
    animation: dcm-pulse 2s infinite;
}
@keyframes dcm-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.ec-dcm-hero h1 {
    font-family: var(--dcm-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.ec-dcm-hero-sub {
    font-size: 16px;
    color: #94a3b8;
    margin: 12px 0 0;
    line-height: 1.6;
    max-width: 640px;
}
.ec-dcm-hero .ec-byline,
.ec-dcm-hero .ec-byline a,
.ec-dcm-hero .ec-byline span { color: #94a3b8 !important; }
.ec-dcm-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.ec-dcm-hero-stat {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--dcm-radius);
    padding: 20px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ec-dcm-hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.ec-dcm-hero-stat:nth-child(1)::before { background: var(--dcm-green); }
.ec-dcm-hero-stat:nth-child(2)::before { background: var(--dcm-blue); }
.ec-dcm-hero-stat:nth-child(3)::before { background: var(--dcm-amber); }
.ec-dcm-hero-stat:nth-child(4)::before { background: var(--dcm-purple); }
.ec-dcm-hero-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}
.ec-dcm-hero-stat-label {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ---- Sticky Section Nav ---- */
.ec-dcm-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--dcm-border);
    transition: box-shadow 0.2s;
}
.ec-dcm-nav.stuck {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ec-dcm-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ec-dcm-nav-inner::-webkit-scrollbar { display: none; }
.ec-dcm-nav-pill {
    flex-shrink: 0;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dcm-text-dim);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.ec-dcm-nav-pill:hover { color: var(--dcm-text); text-decoration: none; }
.ec-dcm-nav-pill.active {
    color: var(--dcm-accent);
    border-bottom-color: var(--dcm-accent);
}

/* ---- Sections ---- */
.ec-dcm-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 24px 0;
    position: relative;
}
.ec-dcm-section-alt {
    background: var(--dcm-surface);
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.ec-dcm-section-alt > .ec-dcm-section {
    padding-top: 0;
}
.ec-dcm-section-heading {
    position: relative;
    padding-left: 0;
}
.ec-dcm-section-heading::before {
    content: attr(data-num);
    position: absolute;
    top: -16px;
    left: -4px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(14,159,110,0.06);
    line-height: 1;
    pointer-events: none;
    font-family: var(--dcm-heading);
}
.ec-dcm-section h2 {
    font-family: var(--dcm-heading);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--dcm-text);
    margin: 0 0 6px;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}
.ec-dcm-section-desc {
    color: var(--dcm-text-dim);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: none;
}
.ec-dcm-section-desc a { color: var(--dcm-accent); font-weight: 600; text-decoration: none; }
.ec-dcm-section-desc a:hover { text-decoration: underline; }

/* ---- D3 Map ---- */
.ec-dcm-map-container {
    background: #fff;
    border: 1px solid var(--dcm-border);
    border-radius: var(--dcm-radius);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ec-dcm-map-toggle {
    display: inline-flex;
    background: var(--dcm-surface);
    border: 1px solid var(--dcm-border);
    border-radius: 100px;
    padding: 3px;
    margin-bottom: 16px;
}
.ec-dcm-map-toggle button {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--dcm-font);
    border: none;
    border-radius: 100px;
    background: transparent;
    color: var(--dcm-text-dim);
    cursor: pointer;
    transition: all 0.2s;
}
.ec-dcm-map-toggle button.active {
    background: var(--dcm-accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(14,159,110,0.3);
}
.ec-dcm-map-svg {
    width: 100%;
    height: auto;
    display: block;
}
.ec-dcm-map-svg path {
    stroke: #fff;
    stroke-width: 0.5;
    transition: fill 0.4s ease;
    cursor: pointer;
}
.ec-dcm-map-svg path:hover {
    stroke: #1e293b;
    stroke-width: 1.5;
    filter: brightness(0.9);
}
.ec-dcm-map-svg path.dcm-map-highlight {
    stroke: #1e293b;
    stroke-width: 2;
    filter: brightness(1.15);
}
.ec-dcm-map-tooltip {
    position: absolute;
    pointer-events: none;
    background: #0f172a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.15s;
    max-width: 240px;
}
.ec-dcm-map-tooltip.visible { opacity: 1; }
.ec-dcm-map-tooltip strong { font-weight: 700; }
.ec-dcm-map-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--dcm-text-dim);
}
.ec-dcm-map-legend-bar {
    flex: 1;
    max-width: 300px;
    height: 8px;
    border-radius: 4px;
}

/* ---- Map + Leaderboard Layout ---- */
.ec-dcm-map-layout {
    display: block;
}
.ec-dcm-leaderboard {
    margin-top: 24px;
}
.ec-dcm-leaderboard-title {
    font-family: var(--dcm-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--dcm-text);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ec-dcm-lb-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    align-items: center;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--dcm-radius-sm);
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 2px;
}
.ec-dcm-lb-row:hover,
.ec-dcm-lb-row.dcm-lb-highlight {
    background: var(--dcm-surface-hover);
}
.ec-dcm-lb-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dcm-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ec-dcm-lb-row:nth-child(1) .ec-dcm-lb-rank { background: var(--ec-accent); }
.ec-dcm-lb-row:nth-child(2) .ec-dcm-lb-rank { background: #0C8C60; }
.ec-dcm-lb-row:nth-child(3) .ec-dcm-lb-rank { background: #0A7A54; }
.ec-dcm-lb-row:nth-child(n+4) .ec-dcm-lb-rank { background: #059669; }
.ec-dcm-lb-row:nth-child(n+7) .ec-dcm-lb-rank { background: #047857; }
.ec-dcm-lb-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.ec-dcm-lb-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dcm-text);
    white-space: nowrap;
    min-width: 80px;
}
.ec-dcm-lb-bar-track {
    flex: 1;
    height: 8px;
    background: var(--dcm-border);
    border-radius: 4px;
    overflow: hidden;
    min-width: 40px;
}
.ec-dcm-lb-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--dcm-accent);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.ec-dcm-lb-value {
    font-size: 12px;
    font-weight: 800;
    color: var(--dcm-text-dim);
    white-space: nowrap;
    min-width: 50px;
    text-align: right;
}

/* Toggle buttons (desktop) */
.ec-dcm-toggle {
    display: inline-flex;
    background: var(--dcm-surface);
    border: 1px solid var(--dcm-border);
    border-radius: 100px;
    padding: 3px;
}
.ec-dcm-toggle button {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--dcm-font);
    border: none;
    border-radius: 100px;
    background: transparent;
    color: var(--dcm-text-dim);
    cursor: pointer;
    transition: all 0.2s;
}
.ec-dcm-toggle button.active {
    background: var(--dcm-accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(14,159,110,0.3);
}

/* Toggle Dropdown (mobile) */
.ec-dcm-toggle-dropdown { display: none; position: relative; }
.ec-dcm-toggle-dropdown-btn {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--dcm-accent); border: 1px solid var(--dcm-accent);
    border-radius: var(--dcm-radius-sm); padding: 12px 16px;
    font-family: var(--dcm-font); font-size: 13px; font-weight: 600;
    color: #fff; cursor: pointer; transition: all 0.2s; margin-bottom: 1rem;
}
.ec-dcm-toggle-dropdown-btn:hover { background: #0C8C60; border-color: #0C8C60; }
.ec-dcm-toggle-dropdown-btn .fa-chevron-down,
.ec-dcm-toggle-dropdown-btn i { margin-left: 1rem; transition: transform 0.2s; color: #fff; font-size: 12px; }
.ec-dcm-toggle-dropdown-btn.active i { transform: rotate(180deg); }

/* ---- Data Table ---- */
.ec-dcm-table-controls { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ec-dcm-table-search { flex: 1; min-width: 200px; }
.ec-dcm-table-search input {
    width: 100%; background: #fff; border: 1px solid var(--dcm-border); color: var(--dcm-text);
    padding: 10px 14px; border-radius: var(--dcm-radius-sm); font-size: 14px;
    font-family: var(--dcm-font); transition: border-color 0.2s;
}
.ec-dcm-table-search input:focus { outline: none; border-color: var(--dcm-accent); }
.ec-dcm-table-search input::placeholder { color: var(--dcm-text-dim); }
.ec-dcm-table-wrap { overflow-x: auto; border: 1px solid var(--dcm-border); border-radius: var(--dcm-radius); }
.ec-dcm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ec-dcm-table thead { position: sticky; top: 0; z-index: 2; }
.ec-dcm-table th {
    background: var(--ec-surface); color: var(--dcm-text-dim); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--dcm-border); cursor: pointer; user-select: none;
    transition: color 0.2s; white-space: nowrap;
}
.ec-dcm-table th:hover { color: var(--dcm-accent); }
.ec-dcm-table th .sort-arrow { margin-left: 4px; opacity: 0.5; }
.ec-dcm-table th.sorted .sort-arrow { opacity: 1; color: var(--dcm-accent); }
.ec-dcm-table td { padding: 10px 16px; border-bottom: 1px solid var(--dcm-border); color: var(--dcm-text); }
.ec-dcm-table tbody tr { transition: background 0.15s, border-left 0.15s; cursor: pointer; border-left: 3px solid transparent; }
.ec-dcm-table tbody tr:nth-child(even) { background: var(--dcm-surface); }
.ec-dcm-table tbody tr:hover { background: var(--dcm-surface-hover); border-left-color: var(--dcm-accent); }
.ec-dcm-table-state-link { color: var(--dcm-text); text-decoration: none; }
.ec-dcm-table-state-link:hover { color: var(--dcm-accent); text-decoration: underline; }
.ec-dcm-table .cell-bar { display: inline-flex; align-items: center; gap: 8px; }
.ec-dcm-table .cell-bar-track { width: 80px; height: 6px; background: var(--dcm-border); border-radius: 3px; overflow: hidden; }
.ec-dcm-table .cell-bar-fill { height: 100%; border-radius: 3px; }
.ec-dcm-table-showmore {
    display: flex; justify-content: center; margin-top: 16px;
}
.ec-dcm-table-showmore button {
    background: var(--dcm-surface); border: 1px solid var(--dcm-border);
    border-radius: 100px; padding: 10px 24px; font-family: var(--dcm-font);
    font-size: 13px; font-weight: 600; color: var(--dcm-text-dim);
    cursor: pointer; transition: all 0.2s;
}
.ec-dcm-table-showmore button:hover {
    background: var(--dcm-accent); color: #fff; border-color: var(--dcm-accent);
}

/* ---- Projects ---- */
.ec-dcm-project-group { margin-bottom: 3.5rem; }
.ec-dcm-project-group:last-child { margin-bottom: 0; }
.ec-dcm-project-group-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--dcm-border);
}
.ec-dcm-project-group-badge {
    font-size: 12px; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.4px;
}
.ec-dcm-project-group-badge.construction { background: rgba(234,88,12,0.1); color: var(--dcm-orange); }
.ec-dcm-project-group-badge.announced { background: rgba(124,58,237,0.1); color: var(--dcm-purple); }
.ec-dcm-project-group-badge.planned { background: rgba(14,159,110,0.1); color: var(--dcm-accent); }
.ec-dcm-project-group-badge.operational { background: rgba(14,159,110,0.1); color: var(--dcm-green); }
.ec-dcm-project-group-count { font-size: 0.875rem; color: var(--dcm-text-dim); font-weight: 600; }
.ec-dcm-project-group-year { font-size: 0.875rem; color: var(--dcm-text-dim); font-weight: 600; white-space: nowrap; }
.ec-dcm-projects-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.ec-dcm-project-card {
    background: #fff; border: 1px solid var(--dcm-border);
    border-radius: var(--dcm-radius); padding: 20px; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: relative;
}
.ec-dcm-project-card:hover { transform: translateY(-2px); border-color: var(--dcm-accent); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.ec-dcm-project-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 12px; }
.ec-dcm-project-company { font-size: 1.05rem; font-weight: 700; color: var(--dcm-text); }
.ec-dcm-project-invest-badge {
    font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 12px;
    background: rgba(14,159,110,0.08); color: var(--dcm-accent); white-space: nowrap;
}
.ec-dcm-project-status {
    font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 12px;
    text-transform: uppercase; letter-spacing: 0.3px;
}
.ec-dcm-project-status.operational { background: rgba(14,159,110,0.1); color: var(--dcm-green); }
.ec-dcm-project-status.construction { background: rgba(234,88,12,0.1); color: var(--dcm-orange); }
.ec-dcm-project-status.announced { background: rgba(124,58,237,0.1); color: var(--dcm-purple); }
.ec-dcm-project-status.planned { background: rgba(14,159,110,0.1); color: var(--dcm-accent); }
.ec-dcm-project-location { font-size: 14px; color: var(--dcm-text-dim); margin-bottom: 12px; }
.ec-dcm-project-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.875rem; }
.ec-dcm-project-meta span { color: var(--dcm-text-dim); }
.ec-dcm-project-meta strong { color: var(--dcm-text); font-weight: 600; }

/* ---- Growth Chart (D3 SVG) ---- */
.ec-dcm-growth-wrap {
    position: relative; background: #fff; border: 1px solid var(--dcm-border);
    border-radius: var(--dcm-radius); padding: 28px 16px 16px; overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ec-dcm-growth-label {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--dcm-text-dim); margin-bottom: 8px; padding-left: 4px;
}
.ec-dcm-growth-chart { position: relative; }
.ec-dcm-growth-chart svg { width: 100%; display: block; }
.ec-dcm-growth-tooltip {
    position: absolute; pointer-events: none; background: #0f172a; color: #fff;
    padding: 8px 12px; border-radius: 6px; font-size: 12px; line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.15s;
    white-space: nowrap; z-index: 10;
}
.ec-dcm-growth-tooltip.visible { opacity: 1; }
.ec-dcm-growth-source { font-size: 0.75rem; color: var(--dcm-text-dim); margin-top: 12px; text-align: center; }

/* ---- Impact / Rates (Full Bleed Dark) ---- */
.ec-dcm-impact-section {
    background: #0a0f1e;
    padding: 4rem 0;
    margin-top: 3rem;
}
.ec-dcm-impact-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.ec-dcm-impact-section h2 {
    font-family: var(--dcm-heading);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}
.ec-dcm-impact-section .ec-dcm-section-desc {
    color: #94a3b8;
}
.ec-dcm-impact-section .ec-dcm-section-desc a { color: #34d399; }
.ec-dcm-callout h3 {
    font-family: var(--dcm-heading); font-size: 22px; font-weight: 800;
    margin: 0 0 16px; color: #ffffff;
}
.ec-dcm-callout p {
    font-size: 16px; line-height: 1.8; color: #94a3b8; margin: 0 0 14px;
}
.ec-dcm-callout p:last-child { margin-bottom: 0; }
.ec-dcm-callout strong { color: #e2e8f0; font-weight: 700; }
.ec-dcm-callout a { color: #34d399; }
.ec-dcm-callout a:hover { text-decoration: underline; }
.ec-dcm-callout-stats {
    display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px;
}
.ec-dcm-callout-stat {
    background: rgba(15,23,42,0.8); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--dcm-radius); padding: 32px 20px; text-align: center;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ec-dcm-callout-stat:nth-child(1) .ec-dcm-callout-stat-value { color: #38bdf8; }
.ec-dcm-callout-stat:nth-child(2) .ec-dcm-callout-stat-value { color: #34d399; }
.ec-dcm-callout-stat:nth-child(3) .ec-dcm-callout-stat-value { color: #fbbf24; }
.ec-dcm-callout-stat:nth-child(4) .ec-dcm-callout-stat-value { color: #a78bfa; }
.ec-dcm-callout-stat-value {
    font-family: var(--dcm-heading); font-size: 42px; font-weight: 800; line-height: 1.1; margin-bottom: 12px;
}
.ec-dcm-callout-stat-label { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* ---- Water Claims ---- */
.ec-dcm-water-claims { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ec-dcm-claim {
    background: #fff; border: 1px solid var(--dcm-border); border-radius: var(--dcm-radius);
    padding: 36px 28px 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: relative;
}
.ec-dcm-claim-quote {
    font-family: var(--dcm-heading); font-size: 20px; font-weight: 700;
    color: var(--dcm-text); line-height: 1.45; margin: 0 0 16px;
    padding-left: 20px; border-left: 3px solid var(--dcm-border);
}
.ec-dcm-claim-verdict {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--dcm-heading); font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.8px;
    padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.ec-dcm-claim-verdict--misleading { background: #fef3c7; color: #92400e; }
.ec-dcm-claim-verdict--mostly-false { background: #fee2e2; color: #991b1b; }
.ec-dcm-claim-verdict--true { background: #d1fae5; color: #065f46; }
.ec-dcm-claim-verdict--false { background: #fee2e2; color: #991b1b; }
.ec-dcm-claim-verdict--depends { background: #e0e7ff; color: #3730a3; }
.ec-dcm-claim-verdict-icon { font-size: 14px; line-height: 1; }
.ec-dcm-claim-body { font-size: 15px; color: var(--dcm-text-dim); line-height: 1.75; margin: 0 0 16px; }
.ec-dcm-claim-body strong { color: var(--dcm-text); font-weight: 600; }
.ec-dcm-claim-body a { color: var(--dcm-accent); }
.ec-dcm-claim-body a:hover { text-decoration: underline; }
.ec-dcm-claim-sources { font-size: 12px; color: var(--dcm-text-dim); line-height: 1.6; padding-top: 14px; border-top: 1px solid var(--dcm-border); }
.ec-dcm-claim-sources strong { font-weight: 700; color: var(--dcm-text-dim); }
.ec-dcm-claim-sources a { color: var(--dcm-accent); }
.ec-dcm-claim-sources a:hover { text-decoration: underline; }

/* ---- FAQ ---- */
.ec-dcm .ec-faq { margin: 32px 0; }
.ec-dcm .ec-faq details { border-bottom: 1px solid var(--ec-border); }
.ec-dcm .ec-faq details:first-child { border-top: 1px solid var(--ec-border); }
.ec-dcm .ec-faq details:last-child { border-bottom: none; }
.ec-dcm .ec-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 1.2rem; font-weight: 600; color: #1f1f1f; cursor: pointer; list-style: none; transition: color 0.2s ease; font-family: var(--dcm-font); }
.ec-dcm .ec-faq summary::-webkit-details-marker { display: none; }
.ec-dcm .ec-faq summary::marker { display: none; content: ''; }
.ec-dcm .ec-faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--ec-text-muted); flex-shrink: 0; width: 28px; text-align: center; transition: color 0.2s ease, transform 0.2s ease; }
.ec-dcm .ec-faq summary:hover { color: #047857; }
.ec-dcm .ec-faq details[open] summary { color: #047857; }
.ec-dcm .ec-faq details[open] summary::after { content: '\2212'; color: #047857; }
.ec-dcm .ec-faq .ec-faq-answer { padding: 0 4px 24px; font-size: 1rem; line-height: 1.8; color: var(--ec-text-secondary); font-family: var(--dcm-font); }
.ec-dcm .ec-faq .ec-faq-answer p { margin: 0 0 12px; }
.ec-dcm .ec-faq .ec-faq-answer p:last-child { margin-bottom: 0; }

/* ---- Related ---- */
.ec-dcm-related { max-width: 1280px; margin: 0 auto; padding: 2.5rem 24px 0; }
.ec-dcm-related-title { font-family: var(--dcm-heading); font-size: 1.1rem !important; font-weight: 700; color: var(--dcm-text); margin: 0 0 12px; padding: 0 !important; }
.ec-dcm-related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.ec-dcm-related-list li { font-size: 14px; color: var(--dcm-text-dim); line-height: 1.6; }
.ec-dcm-related-list a { color: var(--dcm-accent); font-weight: 600; text-decoration: none; }
.ec-dcm-related-list a:hover { text-decoration: underline; }

/* ---- Sources ---- */
.ec-dcm-sources { max-width: 1280px; margin: 2rem auto 0; padding: 24px 24px 48px; border-top: 1px solid var(--dcm-border); }
.ec-dcm-sources p { font-size: 13px; color: var(--dcm-text-dim); line-height: 1.7; margin: 0; }
.ec-dcm-sources a { color: var(--dcm-accent); font-weight: 600; }

/* ---- Static figure ---- */
.ec-dcm-static-figure { margin: 24px 0 0; text-align: center; }
.ec-dcm-static-figure img { max-width: 100%; height: auto; border-radius: var(--dcm-radius); border: 1px solid var(--dcm-border); padding: 16px; box-sizing: border-box; background: #fff; }
.ec-dcm-static-figure figcaption { font-size: 12px; color: var(--dcm-text-dim); margin-top: 8px; }

/* ---- Tip CTA ---- */
.ec-dcm-tip-cta { max-width: 1280px; margin: 2rem auto 0; padding: 0 24px; }
.ec-dcm-tip-cta-inner {
    background: linear-gradient(135deg, #0A2540 0%, #0f3460 100%);
    border-radius: var(--dcm-radius); padding: 28px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.ec-dcm-tip-cta-text h3 { color: #fff; font-family: var(--dcm-heading); font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.ec-dcm-tip-cta-text p { color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.5; }
.ec-dcm-tip-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--dcm-accent); color: #fff; font-family: var(--dcm-font);
    font-size: 14px; font-weight: 700; padding: 10px 22px; border-radius: var(--dcm-radius-sm);
    border: none; cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.ec-dcm-tip-btn:hover { background: #0C8C60; }
.ec-dcm-tip-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ---- Modal ---- */
.ec-dcm-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(10,37,64,0.6);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 9999; align-items: center; justify-content: center; padding: 20px;
}
.ec-dcm-modal-overlay.active { display: flex; }
.ec-dcm-modal {
    background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
    max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: dcm-modal-in 0.2s ease-out;
}
@keyframes dcm-modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.ec-dcm-modal-head { padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.ec-dcm-modal-head h3 { font-family: var(--dcm-heading); font-size: 18px; font-weight: 800; color: var(--dcm-text); margin: 0; }
.ec-dcm-modal-close { background: none; border: none; font-size: 22px; color: #94a3b8; cursor: pointer; padding: 4px; line-height: 1; }
.ec-dcm-modal-close:hover { color: var(--dcm-text); }
.ec-dcm-modal-body { padding: 16px 24px 24px; }
.ec-dcm-modal-body .field { margin-bottom: 14px; }
.ec-dcm-modal-body label { display: block; font-size: 13px; font-weight: 600; color: var(--ec-text-body); margin-bottom: 3px; }
.ec-dcm-modal-body input,
.ec-dcm-modal-body select,
.ec-dcm-modal-body textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 14px; font-family: var(--dcm-font); background: #fff; transition: border-color 0.15s;
}
.ec-dcm-modal-body input:focus,
.ec-dcm-modal-body select:focus,
.ec-dcm-modal-body textarea:focus { outline: none; border-color: var(--dcm-accent); box-shadow: 0 0 0 3px rgba(14,159,110,0.1); }
.ec-dcm-modal-body textarea { resize: vertical; min-height: 60px; }
.ec-dcm-modal-body .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ec-dcm-modal-body .hint { font-size: 11px; color: var(--ec-text-muted); margin-top: 2px; }
.ec-dcm-modal-submit {
    width: 100%; padding: 11px; background: var(--dcm-accent); color: #fff;
    font-family: var(--dcm-font); font-size: 15px; font-weight: 700;
    border: none; border-radius: 8px; cursor: pointer; transition: background 0.15s; margin-top: 4px;
}
.ec-dcm-modal-submit:hover { background: #0C8C60; }
.ec-dcm-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.ec-dcm-modal-msg { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; display: none; }
.ec-dcm-modal-msg.success { display: block; background: #ecfdf5; color: #047857; }
.ec-dcm-modal-msg.error { display: block; background: #fef2f2; color: #b91c1c; }

/* ---- Bottom Sheet ---- */
.ec-dcm-bottom-sheet {
    position: fixed; bottom: 0; left: 0; right: 0; background: #fff;
    border-radius: 20px 20px 0 0; box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    z-index: 10000; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh; overflow-y: auto;
}
.ec-dcm-bottom-sheet.open { transform: translateY(0); }
.ec-dcm-bottom-sheet-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 9999; opacity: 0;
    pointer-events: none; transition: opacity 0.3s;
}
.ec-dcm-bottom-sheet-overlay.active { opacity: 1; pointer-events: auto; }
.ec-dcm-bottom-sheet-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 16px; border-bottom: 1px solid var(--dcm-border);
    position: sticky; top: 0; background: #fff; z-index: 1;
}
.ec-dcm-bottom-sheet-title { font-family: var(--dcm-heading); font-size: 18px; font-weight: 700; color: var(--dcm-text); margin: 0; }
.ec-dcm-bottom-sheet-close {
    background: transparent; border: none; font-size: 24px; color: var(--dcm-text-dim);
    cursor: pointer; padding: 0; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: all 0.2s;
}
.ec-dcm-bottom-sheet-close:hover { background: var(--dcm-surface-hover); color: var(--dcm-text); }
.ec-dcm-bottom-sheet-options { padding: 8px; }
.ec-dcm-bottom-sheet-option {
    display: flex; align-items: center; width: 100%; background: transparent;
    border: none; padding: 14px 16px; font-family: var(--dcm-font); font-size: 15px;
    font-weight: 600; color: var(--dcm-text); text-align: left; cursor: pointer;
    border-radius: var(--dcm-radius-sm); transition: all 0.2s; margin-bottom: 4px;
}
.ec-dcm-bottom-sheet-option:hover { background: var(--dcm-surface-hover); }
.ec-dcm-bottom-sheet-option.active { background: rgba(14,159,110,0.1); color: var(--dcm-accent); }
.ec-dcm-bottom-sheet-option.active::after { content: '✓'; margin-left: auto; color: var(--dcm-accent); font-weight: 700; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .ec-dcm-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .ec-dcm-related-list { grid-template-columns: 1fr; }
    .ec-dcm-hero { padding: 48px 20px 40px; }
}
@media (min-width: 410px) {
    .ec-dcm-callout-stats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 440px) {
    .ec-dcm-growth-wrap { padding: 32px 28px 20px; }
}
@media (min-width: 768px) {
    .ec-dcm-map-layout {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 24px;
        align-items: start;
    }
    .ec-dcm-leaderboard { margin-top: 0; }
    .ec-dcm-projects-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
    .ec-dcm-callout-stats { grid-template-columns: repeat(4, 1fr); }
    .ec-dcm-water-claims { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .ec-dcm-claim { padding: 24px 20px 20px; }
    .ec-dcm-claim-quote { font-size: 17px; }
}
