:root {
  --bds-blue: #005295;
  --bds-white: #fff;
  --bds-text: #111;
  --bds-muted: #6d6d6d;
  --bds-soft: #f2efec;
  --bds-line: #e7e7e7;
  --bds-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bds-text);
  background: var(--bds-white);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--bds-blue); text-decoration: none; }
a:hover { color: var(--bds-blue); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.wrap, .elementor-container { width: min(calc(100% - 10%), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 9999; padding: 8px 12px; background: #fff; color: #000; border: 1px solid var(--bds-line); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 3px solid var(--bds-blue); }
.header-inner {
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
  padding: 0;
}
.brand { display: flex; align-items: center; color: #000; }
.brand-mark {
  color: var(--bds-blue);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.3px;
  line-height: 1;
}
.primary-nav { margin-left: auto; }
.primary-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.primary-nav li { position: relative; }
.primary-nav a {
  display: block;
  color: #000;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  padding: 0;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--bds-blue); }
.primary-nav .has-children > a::after { content: "▾"; margin-left: 6px; font-size: 14px; }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 0; background: #fff; box-shadow: var(--bds-shadow); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 14px 18px; color: #111; background: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu a.active { background: var(--bds-soft); color: #000; }
.language-switcher { position: relative; flex: 0 0 auto; }
.language-current {
  border: 0;
  background: transparent;
  color: #000;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
}
.language-menu { display: none; position: absolute; right: 0; top: calc(100% + 20px); width: 150px; background: #fff; box-shadow: var(--bds-shadow); }
.language-switcher.open .language-menu { display: block; }
.language-menu a { display: block; padding: 12px 16px; color: #000; font-size: 15px; font-weight: 500; }
.language-menu a:hover, .language-menu a.active { background: var(--bds-soft); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 6px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: #000; margin: 5px 0; }
.menu-toggle b { display: none; }

main { background: #fff; }
.elementor-section { background: #fff; }
.elementor-home-hero { margin-top: 5%; padding: 0 3%; }
.hero-container { display: flex; align-items: stretch; gap: 0; }
.elementor-column { display: flex; flex-direction: column; }
.hero-copy { width: 45%; justify-content: center; gap: 15px; padding-right: 5%; }
.hero-copy h1 { margin: 0; color: var(--bds-blue); font-size: clamp(48px, 7vw, 80px); font-weight: 600; line-height: 1.05; letter-spacing: -1.5px; }
.hero-copy p { margin: 0; color: var(--bds-text); font-size: 16px; font-weight: 400; }
.hero-media { width: 55%; justify-content: center; }
.hero-media img { width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; object-position: center; }
.button-row { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; padding: 16px 35px; border: 2px solid var(--bds-blue); border-radius: 0; color: #fff; background: var(--bds-blue); font-size: 15px; font-weight: 600; line-height: 1; text-align: center; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { background: transparent; color: var(--bds-blue); box-shadow: inset 0 0 0 1px var(--bds-blue); }
.button-small { padding: 10px 25px; }

.debt-section { margin-top: 50px; padding: 25px; border-top: 5px solid var(--bds-blue); border-bottom: 0; }
.debt-container { display: flex; align-items: stretch; gap: 0; }
.debt-copy { width: 50%; padding-right: 20%; display: flex; flex-direction: column; gap: 20px; }
.debt-copy h2 { margin: 0; color: var(--bds-blue); font-size: 30px; font-weight: 600; line-height: 1.2; }
.debt-copy p { margin: 0; color: var(--bds-blue); font-size: 16px; }
.debt-note { color: var(--bds-text) !important; font-size: 14px !important; }
.debt-source { color: var(--bds-muted) !important; font-size: 13px !important; }
.debt-counter { width: 50%; min-height: 45px; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; background: var(--bds-blue); color: #fff; }
.debt-counter span, .debt-counter em { font-size: 13px; font-style: normal; opacity: .9; }
.debt-counter strong { font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.2; }
#debt-per-second { margin-top: 6px; font-size: 18px; font-weight: 600; opacity: 1; }

.debt-context-strip {
  overflow: hidden;
  background: #ececec;
  color: #444;
}
.debt-context-track {
  display: flex;
  width: max-content;
  padding: 11px 0;
  animation: debt-context-scroll 38s linear infinite;
  will-change: transform;
}
.debt-context-group {
  display: flex;
  flex: 0 0 auto;
}
.debt-context-track span {
  flex: 0 0 auto;
  padding-right: 90px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .01em;
}
.debt-context-strip:hover .debt-context-track { animation-play-state: paused; }
.debt-context-spacer { height: 30px; background: #fff; }
.debt-section-divider { height: 5px; background: var(--bds-blue); }

@keyframes debt-context-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .debt-context-strip { overflow-x: auto; }
  .debt-context-track { animation: none; will-change: auto; }
}

.news-title-section { margin-top: 50px; padding: 0 3%; text-align: center; }
.news-title-section h2 { margin: 0; color: var(--bds-blue); font-size: clamp(48px, 7vw, 80px); font-weight: 600; line-height: 1; }
.news-grid-section { padding: 50px 3% 0; }
.masonry-grid { columns: 3 300px; column-gap: 30px; }
.post-card { display: inline-block; width: 100%; margin: 0 0 35px; background: #fff; box-shadow: var(--bds-shadow); break-inside: avoid; overflow: hidden; }
.post-image { display: block; width: 100%; background: #f7f7f7; }
.post-image img { width: 100%; height: 230px; object-fit: cover; object-position: center; }
.article-image { width: 100%; height: clamp(260px, 42vw, 460px); margin: 18px 0 32px; object-fit: cover; object-position: center; }
.post-content { padding: 20px; }
.post-meta { margin-bottom: 12px; color: var(--bds-blue); font-size: 13px; font-weight: 600; }
.post-card h3 { margin: 0 0 12px; color: var(--bds-blue); font-size: 23px; font-weight: 600; line-height: 1.2; }
.post-card h3 a { color: inherit; }
.post-card p { margin: 0 0 14px; color: var(--bds-text); font-size: 15px; }
.read-more { color: var(--bds-blue); font-size: 15px; font-weight: 600; text-transform: none; }
.archive-link { margin-top: 10px; text-align: center; }

.page-hero { padding: 34px 3% 16px; background: #fff; }
.page-hero h1 { margin: 0; color: var(--bds-blue); font-size: clamp(42px, 6vw, 70px); font-weight: 600; line-height: 1.05; }
.page-hero p { max-width: 900px; margin: 6px 0 0; color: #111; font-size: 18px; }
.page-hero + .section { padding-top: 22px; }
.section { padding: 45px 3%; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.entry-content h2, .campaign-content h2, .form-card h2 { margin: 28px 0 12px; color: var(--bds-blue); font-size: 30px; font-weight: 600; line-height: 1.2; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { color: var(--bds-blue); font-size: 22px; font-weight: 600; }
.entry-content p, .entry-content li { font-size: 16px; }
.lead { font-size: 20px; }
.notice, .sidebar-widget, .form-card, .membership-card, .person-card, .campaign { border: 0; background: #fff; box-shadow: var(--bds-shadow); }
.notice { padding: 18px; }
.sidebar-widget { margin-bottom: 25px; padding: 20px; }
.sidebar-widget h2 { margin: 0 0 12px; color: var(--bds-blue); font-size: 24px; font-weight: 600; }
.sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar-widget a { display: block; padding: 9px 0; color: var(--bds-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sidebar-widget li a::after { content: " →"; font-weight: 600; }
.sidebar-widget a:hover, .sidebar-widget a.active { color: #000; background: var(--bds-soft); }
.sidebar-widget a.button { display: inline-flex; width: auto; margin-top: 8px; padding: 14px 28px; color: #fff; }
.sidebar-widget a.button:hover { color: var(--bds-blue); }
.people-grid, .membership-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.membership-options { grid-template-columns: repeat(3, 1fr); margin-bottom: 30px; }
.person-card, .membership-card, .form-card { padding: 22px; }
.person-card { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.person-avatar { width: 76px; height: 90px; display: grid; place-items: center; background: var(--bds-blue); color: #fff; font-weight: 600; }
.price { display: block; color: var(--bds-blue); font-size: 30px; font-weight: 600; }
.campaign-list { display: grid; gap: 30px; }
.campaign { display: grid; grid-template-columns: 260px 1fr; overflow: hidden; }
.campaign-visual { min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: var(--bds-blue); color: #fff; }
.campaign-visual strong { font-size: 28px; line-height: 1.1; }
.campaign-content { padding: 25px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--bds-blue); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--bds-line); background: #fff; }
.form-field input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: .25em 8px 0 0; padding: 0; }
.choice-list > span { display: flex; align-items: flex-start; gap: 0; color: var(--bds-text); font-weight: 400; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-message { display: none; margin-top: 14px; padding: 12px; background: var(--bds-soft); }
.form-message.show { display: block; }

.site-footer { margin-top: 50px; color: var(--bds-blue); background: #fff; border-top: 5px solid var(--bds-blue); }
.footer-top { padding: 25px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-logo { color: var(--bds-blue); font-size: 30px; font-weight: 600; }
.site-footer h2 { margin: 0 0 12px; color: var(--bds-blue); font-size: 30px; font-weight: 600; }
.site-footer p, .site-footer address { margin: 0 0 12px; color: var(--bds-blue); font-size: 16px; font-style: normal; }
.site-footer a { color: var(--bds-blue); }
.footer-button { display: inline-block; padding: 10px 25px; border: 2px solid var(--bds-blue); color: #fff !important; background: var(--bds-blue); font-weight: 600; }
.footer-button:hover { color: var(--bds-blue) !important; background: transparent; }
.footer-bottom { padding: 13px 25px; border-top: 1px solid var(--bds-line); font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom nav { display: flex; gap: 16px; }
.empty-state { padding: 24px; background: var(--bds-soft); }

@media (max-width: 1024px) {
  .wrap, .elementor-container { width: min(100%, 1024px); }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: block; order: 3; }
  .language-switcher { order: 2; margin-left: auto; }
  .primary-nav { display: none; order: 4; width: 100%; margin: 29px 0 0; }
  .primary-nav.open { display: block; }
  .primary-nav > ul { display: block; }
  .primary-nav a {
    padding: 20px 0;
    font-size: 18px;
  }
  .primary-nav .sub-menu { display: block; position: static; box-shadow: none; }
  .hero-container, .debt-container { flex-direction: column; }
  .hero-copy, .hero-media { width: 100%; }
  .hero-copy { padding-right: 35%; }
  .hero-media { margin-top: 10%; }
  .debt-copy, .debt-counter { width: 100%; }
  .debt-copy { padding-right: 35%; margin-top: 8%; }
  .debt-counter { margin-top: 30px; }
  .content-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .wrap, .elementor-container { width: min(100%, 767px); }
  .header-inner { padding: 0 5%; }
  .brand { max-width: 70%; }
  .brand-mark { font-size: 22px; }
  .primary-nav { margin-top: 16px; }
  .hero-copy { padding-right: 0; text-align: center; }
  .hero-copy h1, .news-title-section h2 { font-size: 46px; }
  .button-row { justify-content: center; }
  .elementor-home-hero { margin-top: 8%; padding: 0 5%; }
  .hero-media { margin-top: 15%; }
  .hero-media img { height: 260px; }
  .post-image img { height: 210px; }
  .debt-section { padding: 20% 5%; }
  .debt-copy { padding-right: 0; margin-top: 0; }
  .debt-counter { padding: 20px 5%; }
  .news-title-section { margin-top: 25%; padding: 0 5%; }
  .news-grid-section, .section, .page-hero { padding-left: 5%; padding-right: 5%; }
  .masonry-grid { columns: 1; }
  .footer-grid, .people-grid, .membership-options, .form-grid, .campaign { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; }
}


/* Article pages */
.article-section { padding-top: 18px; }
.article-wrap { max-width: 980px; }
.article-entry { max-width: 820px; margin: 0 auto; }
.article-entry .article-image { width: 100%; height: auto; max-height: 500px; margin: 0 0 34px; object-fit: cover; }
.article-entry p { margin: 0 0 19px; font-size: 18px; line-height: 1.68; }
.article-entry .lead { margin-bottom: 26px; font-size: 21px; line-height: 1.58; }
.article-entry h2 { margin: 38px 0 13px; font-size: 30px; line-height: 1.2; }
.article-entry ul { margin: 0 0 22px; padding-left: 24px; }
.article-entry li { margin-bottom: 8px; font-size: 18px; line-height: 1.6; }
.article-entry .article-source { margin-top: 34px; font-size: 16px; line-height: 1.55; }
.article-entry .article-source a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .article-section { padding-top: 10px; }
  .article-entry p, .article-entry li { font-size: 17px; }
  .article-entry .lead { font-size: 19px; }
  .article-entry h2 { margin-top: 30px; font-size: 27px; }
}
