/* PPCaDI site: base type, header and footer, as in the approved designs (site/design). Page sections
   are styled by ppcadi-pages.css, which tools/build_pages.py writes. */

body {
  margin: 0;
  background: #FFFFFF;
  color: #1F1F1F;
  font-family: 'Source Sans 3', 'Myriad Pro', 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
.elementor a { color: #B84A40; }
.elementor a:hover { color: #8F3830; }
.pp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Header */
.pp-header { position: relative; z-index: 20; background: #FFFFFF; border-bottom: 1px solid #EFE4E2; }
.pp-header a { text-decoration: none; }
.pp-utility { border-bottom: 1px solid #F4ECEA; font-size: 14px; color: #5E5654; }
.pp-utility .pp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 22px; padding-top: 6px; padding-bottom: 6px; }
.pp-utility-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 600; }
.pp-header .pp-utility-links a { color: #3D3735; }
.pp-header .pp-utility-links a:hover { color: #B84A40; }
.pp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.pp-logo { display: flex; padding: 12px 0; }
.pp-logo img { height: 50px; width: auto; display: block; }
.pp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 30px; font-size: 17px; font-weight: 700; }
.pp-nav .pp-top { display: block; color: #1F1F1F; padding: 26px 0; border-bottom: 3px solid transparent; }
.pp-nav .pp-top:hover, .pp-nav .pp-item.is-current > .pp-top { color: #B84A40; border-bottom-color: #B84A40; }
.pp-caret { font-size: 12px; }
.pp-nav .pp-cta { display: block; color: #FFFFFF; background: #B84A40; padding: 12px 22px; border-radius: 999px; }
.pp-nav .pp-cta:hover { background: #8F3830; color: #FFFFFF; }
.pp-mobile-only, .pp-header .pp-menu-toggle { display: none; }

/* Resources pages: a row of links under the header */
.pp-subnav { border-top: 1px solid #EFE4E2; }
.pp-subnav .pp-wrap { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 15px; font-weight: 700; }
.pp-header .pp-subnav a { color: #1F1F1F; padding: 8px 14px; border-radius: 999px; }
.pp-header .pp-subnav a:hover { color: #B84A40; }
.pp-header .pp-subnav a[aria-current] { background: #FBE3E0; color: #1F1F1F; }

/* Dropdown panels, full width right under the main menu row, over the Resources links when those show */
.pp-main { position: relative; }
.pp-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #FFFFFF; border-top: 1px solid #EFE4E2; box-shadow: 0 18px 40px rgba(31, 31, 31, 0.12); font-size: 18px; }
.pp-has-panel:hover > .pp-panel, .pp-has-panel:focus-within > .pp-panel { display: block; }
.pp-panel-grid { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.pp-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pp-header .pp-col a { color: #1F1F1F; font-weight: 600; }
.pp-header .pp-col a:hover, .pp-header .pp-col a[aria-current] { color: #B84A40; }
.pp-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #1F5F5A; }
.pp-header .pp-feature { color: #1F1F1F; background: #FBE3E0; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pp-feature .pp-kicker { color: #8F3830; }
.pp-feature strong { font-size: 20px; }
.pp-feature-cta { color: #B84A40; font-weight: 700; }
.pp-feature:hover strong { color: #8F3830; }

/* Footer */
.pp-footer { background: #F7F1F0; color: #3D3735; }
.pp-footer-grid { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.pp-footer-brand { display: flex; flex-direction: column; gap: 14px; flex: 1 1 260px; min-width: 0; }
.pp-footer-brand img { height: 50px; width: auto; align-self: flex-start; }
.pp-footer-brand p { margin: 0; font-size: 15px; }
.pp-footer-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.pp-footer-col { display: flex; flex-direction: column; gap: 8px; }
.pp-footer-col strong { color: #1F1F1F; }
.pp-footer .pp-footer-col a { color: #3D3735; text-decoration: underline; }
.pp-footer .pp-footer-col a:hover { color: #B84A40; }
.pp-footer-bar { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.pp-footer-bar img { display: block; height: 46px; width: auto; }
.pp-footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 600; }
.pp-footer .pp-footer-links a { color: #3D3735; text-decoration: underline; }
.pp-footer .pp-footer-links a:hover { color: #B84A40; }

/* Phones and small tablets: the menu opens from a button */
@media (max-width: 960px) {
  .pp-utility { display: none; }
  .pp-logo img { height: 40px; }
  .pp-header .pp-menu-toggle { display: flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; color: #1F1F1F; background: none; border: 0; padding: 12px 0; cursor: pointer; }
  .pp-burger, .pp-burger::before, .pp-burger::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
  .pp-burger::before, .pp-burger::after { content: ""; position: absolute; left: 0; }
  .pp-burger::before { top: -7px; }
  .pp-burger::after { top: 7px; }
  .pp-nav { display: none; flex: 1 0 100%; padding-bottom: 16px; }
  .pp-header.is-open .pp-nav { display: block; }
  .pp-nav ul { display: block; }
  .pp-nav .pp-item { border-bottom: 1px solid #F4ECEA; }
  .pp-nav .pp-top { padding: 14px 0; border-bottom: 0; }
  .pp-nav .pp-top:hover, .pp-nav .pp-item.is-current > .pp-top { border-bottom: 0; }
  .pp-caret { display: none; }
  .pp-panel, .pp-has-panel:hover > .pp-panel { display: block; position: static; box-shadow: none; border: 0; }
  .pp-panel-grid { display: flex; flex-direction: column; gap: 14px; padding: 0 0 14px 14px; }
  .pp-panel .pp-feature { display: none; }
  .pp-col { gap: 6px; }
  .pp-mobile-only { display: block; }
  .pp-nav .pp-item:has(.pp-cta) { border-bottom: 0; order: 9; }
  .pp-nav .pp-cta { margin-top: 12px; text-align: center; }
  .pp-footer-bar, .pp-footer-grid { padding-top: 40px; padding-bottom: 40px; }
}
.pp-header .pp-menu-toggle:hover, .pp-header .pp-menu-toggle:focus { background: none; color: #1F1F1F; }
