

/* =====================================================================
   Active Wildfire Intelligence page (page ID 5426)
   Moved out of the page's inline <style> when the page was rebuilt with
   core blocks. Only the map iframe remains a Custom HTML block.
   NOTE: Mai Engine forces `.wp-block-group{display:flex;justify-content:center;
   padding:.05px}` on every group, so every selector below is prefixed with
   `.awf-wrap` / `.awf-insights-section` to out-specify it. Keep that prefix
   on any new rule or the layout will collapse into a centered flexbox.
   ===================================================================== */
.awf-wrap{
  --pg-green:#1FB058; --pg-green-deep:#0F7E3F; --pg-green-tint:#EAFAF0; --pg-green-tint-2:#F4FBF7;
  --ink:#0E1726; --ink-soft:#374151; --muted:#6B7280; --muted-2:#9AA4B7;
  --line:#E6E9EF; --line-soft:#EFF1F5; --dark:#0B0F1F; --dark-2:#141C36;
  --radius:14px; --shadow:0 1px 2px rgba(14,23,38,.04),0 8px 24px rgba(14,23,38,.06);
  color:var(--ink); line-height:1.55;
}
.awf-wrap *{box-sizing:border-box;}
.awf-wrap a{color:inherit;}

/* Reset: every awf group is a plain block box unless re-declared below
   (out-specifies Mai's .wp-block-group flex/center/padding) */
.awf-wrap.wp-block-group,
.awf-wrap .wp-block-group,
/* NOTE: do NOT reset padding here — Mai's native Vertical Spacing control renders as
   .has-<size>-padding-top/bottom; a padding:0 reset would cancel that client-editable spacing. */
.awf-insights-section.wp-block-group,
.awf-insights-section .wp-block-group{display:block;justify-content:normal;}
/* This WP/Mai build wraps each group's children in .wp-block-group__inner-container.
   Collapse that wrapper so our grid/flex on the outer group reaches the real children. */
.awf-wrap .wp-block-group__inner-container,
.awf-insights-section .wp-block-group__inner-container{display:contents;}
.awf-wrap .is-layout-flow > *{margin-block-start:0;margin-block-end:0;}

.awf-wrap .awf-container{max-width:1400px;margin:0 auto;padding:0 32px;}
.awf-wrap .awf-container-wide{max-width:1480px;margin:0 auto;padding:0 32px;}
.awf-wrap .awf-arr{margin-left:8px;}
/* Force white text on all green buttons regardless of section text color */
.awf-wrap .wp-block-button__link,
.awf-wrap .wp-block-button__link:visited,
.awf-wrap .wp-block-button__link:hover,
.awf-wrap .wp-block-button__link:focus,
.awf-wrap .wp-block-button__link:active{--button-color:#fff;--button-color-hover:#fff;color:#fff;}

/* Hero is now a native core Cover block (bg image + overlay dim + padding via block settings) */

/* Intro */
.awf-wrap .awf-intro{padding:40px 0 8px;}
.awf-wrap .awf-intro p{font-size:17px;color:var(--ink-soft);max-width:1400px;margin:0;}

/* Map + how-to */
.awf-wrap .awf-map-section{padding:32px 0 56px;}
.awf-wrap .awf-howto-head{margin-bottom:22px;}
.awf-wrap .awf-howto-head h3{font-size:22px;font-weight:700;margin:0;color:var(--ink);line-height:1.3;}
.awf-wrap .awf-howto-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-bottom:30px;}
.awf-wrap .awf-step{display:flex;gap:14px;align-items:flex-start;}
.awf-wrap .awf-step-num{flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:var(--dark);color:#fff;font-size:16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;margin:1px 0 0;}
.awf-wrap .awf-step-body h4{margin:0 0 5px;font-size:17px;font-weight:700;color:var(--ink);}
.awf-wrap .awf-step-body p{margin:0;font-size:16px;color:var(--muted);line-height:1.5;}
.awf-wrap .awf-map-frame{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#eef1f4;height:76vh;min-height:600px;max-height:900px;}
.awf-wrap .awf-map-frame iframe{width:100%;height:100%;border:0;display:block;}
.awf-wrap .awf-map-tip{margin:16px auto 0;font-size:16px;color:var(--muted);max-width:1325px;}
.awf-wrap .awf-map-tip strong{color:var(--pg-green-deep);}
.awf-wrap .awf-map-sources{margin:14px auto 0;padding-top:14px;border-top:1px solid var(--line-soft);font-size:16px;color:var(--muted);line-height:1.5;max-width:1325px;}
.awf-wrap .awf-map-sources p{margin:0 0 4px;}
.awf-wrap .awf-map-sources p:last-child{margin-bottom:0;}
.awf-wrap .awf-map-sources p strong{font-weight:700;color:var(--ink-soft);}

/* Resources */
.awf-wrap .awf-resources{background:#EEF3F6;padding:56px 0;}
.awf-wrap .awf-resources h2{font-size:30px;font-weight:700;margin:0 0 28px;color:var(--ink);}
.awf-wrap .awf-res-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.awf-wrap .awf-res-card{background:#fff;border-radius:var(--radius);padding:26px 24px;box-shadow:var(--shadow);display:flex;flex-direction:column;}
.awf-wrap .awf-res-card h3{font-size:18px;font-weight:700;margin:0 0 12px;color:var(--ink);line-height:1.25;}
.awf-wrap .awf-res-card p{font-size:16px;color:var(--muted);margin:0 0 20px;flex:1;}
.awf-wrap .awf-res-card p.awf-res-link{flex:0 0 auto;margin:0;font-size:16px;font-weight:700;color:var(--pg-green-deep);}
.awf-wrap .awf-res-card p.awf-res-link a{color:var(--pg-green-deep);text-decoration:none;}
.awf-wrap .awf-res-card p.awf-res-link a:hover{text-decoration:underline;text-underline-offset:3px;}

/* Comparison */
.awf-wrap .awf-compare{padding:64px 0 88px;border-top:1px solid var(--line-soft);}
.awf-wrap .awf-compare-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;margin-bottom:14px;}
.awf-wrap .awf-eyebrow{font-size:16px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--pg-green-deep);margin:0 0 14px;}
/* TASK 1: heading + lede full width (was max-width:18ch / 76ch) */
.awf-wrap .awf-compare h2{font-size:38px;line-height:1.12;font-weight:700;letter-spacing:-.01em;margin:0;color:var(--ink);max-width:none;}
.awf-wrap .awf-compare h2 .awf-accent{color:var(--pg-green-deep);}
.awf-wrap .awf-head-cta{display:flex;gap:14px;margin-bottom:0;}
.awf-wrap .awf-compare-lede{font-size:17px;color:var(--ink-soft);max-width:none;margin:8px 0 36px;}

/* Comparison matrix — CSS-grid rebuild of the former <table class="awf-matrix"> */
.awf-wrap .awf-matrix{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#fff;}
.awf-wrap .awf-matrix .awf-mrow{display:grid;grid-template-columns:24% 30% 46%;}
.awf-wrap .awf-matrix .awf-mcell{padding:22px 24px;border-bottom:1px solid var(--line-soft);}
.awf-wrap .awf-matrix .awf-mhead .awf-mcell{background:#fff;border-bottom:1px solid var(--line);display:flex;flex-direction:column;justify-content:flex-end;}
.awf-wrap .awf-matrix .awf-mrow:last-child .awf-mcell{border-bottom:none;}
.awf-wrap .awf-matrix .awf-mrow-alt .awf-mcell{background:#FCFDFE;}
.awf-wrap .awf-matrix .awf-col-pg,
.awf-wrap .awf-matrix .awf-pg-cell{background:var(--pg-green-tint-2)!important;border-left:1px solid var(--line-soft);}
.awf-wrap .awf-col-title{font-size:17px;font-weight:700;color:var(--ink);margin:0;}
.awf-wrap .awf-col-sub{font-size:16px;font-weight:500;color:var(--muted);margin:3px 0 0;}
.awf-wrap .awf-col-pg .awf-col-title{color:var(--pg-green-deep);}
.awf-wrap .awf-vp-name{font-size:16px;font-weight:700;color:var(--ink);margin:0;}
.awf-wrap .awf-vp-desc{font-size:16px;color:var(--ink-soft);font-style:italic;margin:5px 0 0;}
.awf-wrap .awf-feat{display:flex;gap:10px;align-items:flex-start;}
.awf-wrap .awf-feat + .awf-feat{margin-top:13px;}
.awf-wrap .awf-feat-text{font-size:16px;color:var(--ink-soft);margin:0;}
.awf-wrap .awf-feat-text strong{font-weight:600;color:var(--ink);}
/* Check / dash icons are now native Mai Icon blocks (acf/mai-icon); just align them in the row */
.awf-wrap .awf-feat .mai-icon,
.awf-wrap .awf-feat .wp-block-acf-mai-icon,
.awf-wrap .awf-none .mai-icon,
.awf-wrap .awf-none .wp-block-acf-mai-icon{flex:0 0 auto;}
.awf-wrap .awf-feat .mai-icon{margin-top:2px;}
/* TASK 2: "Not available" text readable ink-soft */
.awf-wrap .awf-none{display:flex;align-items:center;gap:9px;color:var(--ink-soft);}
.awf-wrap .awf-none-text{margin:0;font-size:16px;color:var(--ink-soft);}

/* Insights section */
.awf-insights-section{padding:75px 0;}
.awf-insights-section .awf-insights-inner{display:block;max-width:1400px;margin:0 auto;padding:0 32px;}
.awf-insights-section .awf-insights-head{display:block;margin-bottom:40px;}
.awf-insights-section .is-layout-flow > *{margin-block-start:0;margin-block-end:0;}
/* TASK 3: larger headline to match the compare heading; lede full width (was 70ch) */
.awf-insights-section .awf-insights-head h2{font-size:38px;font-weight:700;margin:0 0 14px;color:#0E1726;line-height:1.2;}
.awf-insights-section .awf-accent2{color:#0F7E3F;}
.awf-insights-section .awf-insights-head p{font-size:17px;color:#374151;margin:0;max-width:none;}
.awf-insights-section .entries-wrap{max-width:1400px;margin-left:auto;margin-right:auto;padding:0 32px;box-sizing:border-box;}
.awf-insights-section .entry-title{font-size:18px;line-height:1.3;}
.awf-insights-section .entry-excerpt,
.awf-insights-section .entry-excerpt p,
.awf-insights-section .entry-excerpt *,
.awf-insights-section .entry-meta,
.awf-insights-section .entry-meta *,
.awf-insights-section .entry-more,
.awf-insights-section .entry-more a,
.awf-insights-section .more-link,
.awf-insights-section a.button,
.awf-insights-section .button{font-size:16px;line-height:1.5;}

@media (max-width:980px){
  .awf-wrap .awf-res-grid{grid-template-columns:repeat(2,1fr);}
  .awf-wrap .awf-compare h2{font-size:30px;}
  .awf-insights-section .awf-insights-head h2{font-size:30px;}
}
@media (max-width:760px){
  .awf-wrap .awf-container,.awf-wrap .awf-container-wide{padding:0 18px;}
  .awf-wrap .awf-howto-steps{grid-template-columns:1fr;}
  .awf-wrap .awf-matrix .awf-mrow{grid-template-columns:1fr;border-bottom:1px solid var(--line);padding-bottom:8px;}
  .awf-wrap .awf-matrix .awf-mhead{display:none;}
  .awf-wrap .awf-matrix .awf-mcell{border-bottom:none;padding:6px 20px 16px;}
  .awf-wrap .awf-matrix .awf-mrow:last-child{border-bottom:none;}
  .awf-wrap .awf-matrix .awf-mrow-alt .awf-mcell{background:transparent;}
  .awf-wrap .awf-matrix .awf-vp-cell{padding-top:18px;}
  .awf-wrap .awf-matrix .awf-this-cell::before{content:"This page";display:block;font-weight:700;font-size:16px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:8px;}
  .awf-wrap .awf-matrix .awf-pg-cell{background:transparent!important;border-left:none;}
  .awf-wrap .awf-matrix .awf-pg-cell::before{content:"Full Overwatch";display:block;font-weight:700;font-size:16px;text-transform:uppercase;letter-spacing:.06em;color:var(--pg-green-deep);margin:6px 0 8px;}
  .awf-wrap .awf-compare-head{flex-direction:column;align-items:flex-start;}
  .awf-wrap .awf-res-grid{grid-template-columns:1fr;}
  .awf-insights-section .entries-wrap{padding:0 18px;}
  .awf-insights-section .awf-insights-inner{padding:0 18px;}
}

/* ===== Block editor canvas =====
   awf.css is loaded in the editor (via add_editor_style) for colors/cards/table styling.
   We intentionally do NOT collapse the editor's .block-editor-block-list__layout wrapper:
   blocks render stacked (their natural editor flow) — the real grid/columns layout applies
   on the frontend. Collapsing it here broke the Cover hero's vertical stacking in the editor. */
