/* ==========================================================================
   ETB — Sitewide Stylesheet (legacy-markup compatible)
   These pages are plain HTML tables with NO class/id hooks, so every rule
   below targets real tags (table, td, h3, p, a, img) with hardcoded colors
   and !important so it wins over inline bgcolor/font attributes already
   on the page. Header, nav and footer table structure are left alone —
   only typography/spacing in the main content area is modernized.
   ========================================================================== */

/* ---------- 1. Global reset / base typography ---------- */
body{
  background:#ffffff !important;
  color:#1a1a1a !important;
  font-family:'Inter', Arial, Helvetica, sans-serif !important;
  font-size:15px !important;
  line-height:1.65 !important;
  -webkit-font-smoothing:antialiased;
}

/* Kill legacy inline font tags' default look where possible */
font{
  font-family:'Inter', Arial, Helvetica, sans-serif !important;
  color:inherit !important;
}

a{
  color:#4f9aa0 !important;
  text-decoration:none !important;
  transition:color .15s ease;
}
a:hover{
  color:#12242a !important;
  text-decoration:underline !important;
}

img{
  max-width:100%;
  border:0;
}

/* ---------- 2. Headings (page/article titles like "Campaigns") ---------- */
h1,h2,h3,h4,h5,h6{
  font-family:'Inter', Arial, Helvetica, sans-serif !important;
  color:#12242a !important;
  font-weight:800 !important;
  margin:0 0 14px !important;
  line-height:1.25 !important;
}

h3{
  font-size:26px !important;
  padding-bottom:12px !important;
  border-bottom:3px solid #99cccc !important;
  margin-bottom:20px !important;
  display:inline-block;
}

/* ---------- 3. Body copy paragraphs ---------- */
p{
  color:#5b6a6d !important;
  font-size:15px !important;
  line-height:1.7 !important;
  margin:0 0 16px !important;
  max-width:640px;
}

p:first-of-type{
  font-size:16.5px !important;
  color:#33474b !important;
}

/* ---------- 4. Main content cell modernization ---------- */
/* The content sits in the wide (580px) middle table cell. We can't add a
   class to it, so we style td elements that directly contain a heading —
   this reaches the content column without touching header/nav/footer
   cells (which contain images, not headings). */
td:has(h3){
  background:#f3fafa !important;
  border-radius:14px !important;
  padding:28px !important;
  border:1px solid #e1eeee !important;
}

td:has(h3) p{
  color:#5b6a6d !important;
}

/* Fallback for browsers without :has() support: soften any td that is
   NOT an image/background cell by targeting the known content column
   width used across pages (580). Safe no-op on cells it doesn't match. */
td[width="580"]{
  vertical-align:top;
}

/* ---------- 5. Sidebar banner links (campaign icons: cpe/wise/yeb/seas) ---------- */
td a img{
  border-radius:8px !important;
  transition:transform .18s ease, box-shadow .18s ease;
}
td a:hover img{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(18,36,42,0.18);
}

/* ---------- 6. Tables used for pure layout: strip default borders ---------- */
table{
  border-collapse:collapse;
}

/* ---------- 7. Footer link ("Privacy Policy") ---------- */
a[href*="pp.asp"]{
  color:#4f9aa0 !important;
  font-size:12.5px !important;
}

/* ---------- 8. Utility: accent divider for any hr on the page ---------- */
hr{
  border:none !important;
  border-top:1px solid #e1eeee !important;
  margin:20px 0 !important;
}

/* ---------- 9. Responsive tweak for narrow viewports ---------- */
@media (max-width:768px){
  table{width:100% !important;}
  td[width="180"], td[width="160"], td[width="10"]{
    display:block !important;
    width:100% !important;
  }
  td:has(h3){padding:18px !important;}
  h3{font-size:21px !important;}
}
