@import url("https://use.typekit.net/edz7vfe.css");

/* Global Styles */
:root {
  --primary: #0c608a;
  --secondary: #6c757d;
  --success: #198754;
  --info: #0dcaf0;
  --warning: #ffc107;
  --danger: #ff2e00;
  --light: #f8f9fa;
  --dark: #212529;
  --white: #ffffff;
  --yellow-accent: #ffc107;

  /* Custom brand colors */
  --hobson-blue: #0c608a;
  --hobson-yellow: #ffc107;
  --hobson-light-bg: #f8f9fa;
  --hobson-dark-text: #212529;
  --form-check-color: #0a5880;
  --form-check-size: 1.35rem;
  --form-check-gutter: 0.5rem;
}

/* Bootstrap Default Overrides */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #094c6e !important;
  border-color: #094c6e !important;
}

/* Universal checkbox + radio colour + size */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--form-check-color);
  width: var(--form-check-size);
  height: var(--form-check-size);
  min-width: var(--form-check-size);
  min-height: var(--form-check-size);
  vertical-align: middle;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--form-check-gutter);
  min-height: var(--form-check-size);
  padding-left: 0;
}

.form-check-input {
  float: none;
  width: var(--form-check-size);
  height: var(--form-check-size);
  margin-top: 0;
  margin-left: 0;
  flex-shrink: 0;
  border-color: var(--form-check-color);
}

.form-check-label {
  line-height: var(--form-check-size);
  margin-bottom: 0;
}

.form-check-input:checked {
  background-color: var(--form-check-color);
  border-color: var(--form-check-color);
}

.form-check-input:focus {
  border-color: var(--form-check-color);
  box-shadow: 0 0 0 0.25rem rgba(10, 88, 128, 0.25);
}

.custom-control {
  min-height: var(--form-check-size);
  /* padding-left: calc(var(--form-check-size) + var(--form-check-gutter)); */
}

.custom-control-label {
  line-height: var(--form-check-size);
  padding-top: 0;
  margin-bottom: 0;
  vertical-align: middle;
}

.custom-control-label::before,
.custom-control-label::after {
  top: 0;
  left: calc(-1 * (var(--form-check-size) + var(--form-check-gutter)));
  width: var(--form-check-size);
  height: var(--form-check-size);
  background-size: 60% 60%;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--form-check-color) !important;
  border-color: var(--form-check-color) !important;
}

.custom-control-input:focus ~ .custom-control-label::before,
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  border-color: var(--form-check-color);
  box-shadow: 0 0 0 0.2rem rgba(10, 88, 128, 0.25);
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  background-color: var(--form-check-color);
  border-color: var(--form-check-color);
}

.custom-checkbox
  .custom-control-input:indeterminate
  ~ .custom-control-label::before {
  background-color: var(--form-check-color);
  border-color: var(--form-check-color);
}

.btn-warning {
  background-color: var(--warning);
  border-color: var(--warning);
  color: var(--dark);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background-color: #e6ad00 !important;
  border-color: #e6ad00 !important;
  color: var(--dark) !important;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

.btn-link {
  color: var(--primary);
}

.btn-link:hover,
.btn-link:focus {
  color: #094c6e;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-warning {
  background-color: var(--warning) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.border-warning {
  border-color: var(--warning) !important;
}

.border-white {
  border-color: var(--yellow-accent) !important;
}

/* Custom Utility Classes */
.bg-hobson-blue {
  background-color: var(--hobson-blue);
}

.bg-hobson-yellow {
  background-color: var(--hobson-yellow);
}

.text-hobson-blue {
  color: var(--hobson-blue);
}

.text-hobson-yellow {
  color: var(--hobson-yellow);
}

.border-hobson-blue {
  border-color: var(--hobson-blue);
}

.border-hobson-yellow {
  border-color: var(--hobson-yellow);
}

/* Reusable Components */
.section-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title-bar::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: var(--yellow-accent);
}

.yellow-left-border-subpage::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 85%;
  width: 100px;
  background-color: var(--yellow-accent);
}

.yellow-left-border-petition {
  position: relative;
  overflow: visible;
}

.yellow-left-border-petition::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 72%;
  width: 40px;
  background-color: var(--yellow-accent);
  z-index: 1;
  display: block;
  pointer-events: none;
}

.yellow-left-border {
  position: relative;
}

.yellow-left-border::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 50%;
  width: 100px;
  background-color: var(--yellow-accent);
  z-index: -1;
}

.yellow-left-border-hero {
}

.yellow-left-border-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 283px;
  width: 100px;
  background-color: var(--yellow-accent);
  opacity: 0.5;
}

.circle-image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.circle-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s ease;
}

.icon-button:hover {
  background-color: var(--primary);
  color: var(--white);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.overlay-container {
  position: relative;
  overflow: hidden;
}

.overlay-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 8%);
  display: flex;
  align-items: center;
  padding: 3.125rem;
  background: linear-gradient(
    180deg,
    rgba(0, 31, 80, 0.8) 10%,
    rgba(2, 18, 26, 0) 40%
  );
}

/* Base Styles */
body {
  font-family: "proxima-nova", "Segoe UI", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  color: var(--dark-text);
}

.script-font {
  font-family: "Brush Script MT", cursive;
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--hobson-blue) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

body.no-hero .navbar {
  background-color: var(--hobson-blue) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Navbar text color changes */
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand,
.navbar-light .btn-outline-warning {
  color: var(--white) !important;
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.navbar-light.scrolled .navbar-nav .nav-link,
.navbar-light.scrolled .navbar-brand,
.navbar-light.scrolled .btn-outline-warning {
  color: var(--light) !important;
}

body.no-hero .navbar-light .navbar-nav .nav-link,
body.no-hero .navbar-light .navbar-brand,
body.no-hero .navbar-light .btn-outline-warning {
  color: var(--light) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light.scrolled .navbar-nav .nav-link:hover,
.navbar-light.scrolled .navbar-nav .nav-link:focus,
.navbar-light.scrolled .navbar-nav .nav-link.active,
.navbar-light.scrolled .navbar-nav .show > .nav-link {
  color: #fec210 !important;
  text-decoration-color: #fec210;
}

/* Outline warning button in navbar */
.navbar .btn-outline-warning {
  border-width: 2px;
  padding: 0.375rem 1rem;
  transition: all 0.3s ease;
}

/* Keep Contact us arrow as text, not emoji */
.navbar .contact-us-arrow {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-variant-emoji: text;
  font-feature-settings: "liga" 0;
}

.navbar .btn-outline-warning:hover {
  background-color: var(--warning);
  color: var(--white) !important;
}

.navbar.scrolled .btn-outline-warning:hover {
  color: var(--dark) !important;
}

/* Keep active link with emphasis */
.navbar-light .navbar-nav .nav-link.active {
  font-weight: 600;
}

/* Make the toggle button white for better visibility */
.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Revert toggler to dark when scrolled */
.navbar-light.scrolled .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.3);
}

.navbar-light.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand img {
  height: 70px;
  width: auto;
}

.navbar-brand .navbar-logo-mobile {
  height: 50px;
}

@media (min-width: 992px) {
  .navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 2rem;
  }

  .navbar-collapse {
    justify-content: center !important;
  }

  .navbar-collapse .navbar-nav {
    margin-left: 0 !important;
    justify-content: center;
    width: 100%;
  }

  .navbar-collapse .navbar-nav .nav-link {
    padding: 1rem 1.25rem;
  }
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  background-image: url("../img/hero-beach.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background-position: center bottom;
}

/* Used when no hero_image attachment is uploaded */
.hero.hero-fallback,
.hero.hero-no-image {
  background-image: none;
  background-color: var(--primary);
}

.hero img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.hero-heading-img-sub {
  max-width: 550px;
  margin: 0 auto;
  display: block;
  object-fit: contain !important;
}

.hero-heading-img {
  max-width: 850px;
  margin: 0 auto;
  display: block;
  object-fit: contain !important;
}

.hero-text {
  max-width: 570px;
  font-size: 22px;
  line-height: 1.7rem;
  text-shadow: 4px 2px 3px #00000042;
}

.hero h1,
.hero h2 {
  font-weight: 300;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 0;
}

.hero h2 {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.hero .btn-warning {
  background-color: var(--warning);
  border-color: var(--warning);
  color: var(--dark-text);
}

/* About Section */
.about-section h3 {
  position: relative;
}

.about-section p strong {
  color: var(--primary);
  font-weight: 600;
}

.out-objective {
  padding: 120px 0 !important;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../img/our-objectiv.jpg);
}

.out-objective h1 {
  font-weight: 600 !important;
}

.latest-campaigns {
  padding: 120px 0;
}

/* 1) Campaign wrapper + hover movement */
.latest-campaigns .campaign-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.latest-campaigns .campaign-image:hover {
  transform: translateY(-50px) scale(1) !important;
}

/* 2) Image + grayscale filter — crop any rectangle- image to a square circle */
.latest-campaigns .campaign-image > .card-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.latest-campaigns .campaign-image:hover > .card-img {
  filter: grayscale(0);
}

/* 3) Semi-transparent overlay */
.latest-campaigns .campaign-image::after {
  content: "";
  position: absolute;
  inset: 0;
  /* shorthand for top/right/bottom/left = 0 */
  background-color: rgba(0, 121, 181, 0.5);
  /* #0079b5 @ 50% */
  pointer-events: none;
  /* allow pointer to pass through */
  transition: opacity 0.3s ease;
}

.latest-campaigns .campaign-image:hover::after {
  opacity: 0;
}

/* 4) Overlayed text + arrow */
.latest-campaigns .campaign-image .card-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  color: #fff;
  text-align: center;
}

.latest-campaigns .campaign-image .card-img-overlay h3 {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "proxima-nova",
    sans-serif;
  font-weight: 600;
  line-height: 1.2;
  transition: font-size 0.3s ease;
}

/* (optional) bump the heading on hover */
.latest-campaigns .campaign-image:hover .card-img-overlay h3 {
}

/* 5) Arrow icon */
.latest-campaigns .campaign-image .arrow {
  position: absolute;
  bottom: 40px;
  left: 26%;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
}

.latest-campaigns .campaign-image:hover .arrow {
  transform: translateX(-100%) translateY(20%) scale(2);
}

/* 6) If you had a "read more" link/button under each card: */
.latest-campaigns .campaign-image .btn-link {
  margin-top: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.latest-campaigns .campaign-image .btn-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* One People Section */
.one-people {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.one-people:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background-color: var(--yellow-accent);
  opacity: 0.5;
}

.one-people .overlay {
  background: #000000;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(237, 221, 83, 0) 100%
  );
}

.one-people img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.7);
}

.one-people h1 {
  /* Prefer fonts with Māori macron glyphs so ā/ē/ī/ō/ū match surrounding letters */
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "proxima-nova",
    sans-serif;
  font-weight: 400;
  line-height: 1;
  font-size: 5.5rem;
}

/* Donation Section */
.dotation-section::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100px;
  background-color: var(--yellow-accent);
  z-index: 1;
}

.dotation-section .selected {
  background-color: var(--warning) !important;
  color: #000 !important;
  border-color: #e6ad00 !important;
  font-weight: 600;
}

.donation-slider {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.slider-controls .btn-link {
  color: var(--dark-text);
  padding: 0;
  margin: 0 0.25rem;
}

.slider-controls .btn-link.active {
  color: var(--primary);
}

.donation-slider h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.donation-slider .btn-warning {
  background-color: var(--warning);
  border-color: var(--warning);
  color: var(--dark-text);
}

.donation-slider .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.donation-slider .btn-outline-primary {
  color: #000;
  border-color: #fec210;
}

.donation-slider .btn-link {
  color: var(--primary);
}

.campaign {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  border: 0;
  border-radius: 0 15px 0 40px;
  transition:
    border-radius 0.3s ease,
    transform 0.3s ease;
}

.campaign:hover {
  border-radius: 0 40px 0 0;
  transform: translateX(20px);
}

/* 1) Image styling + initial filter */
.campaign .card-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(1) contrast(0.8);
  transition: filter 0.3s ease;
}

/* 3) Overlay pseudo-element */
.campaign .card-img-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #0081c1;
  opacity: 0.5;
  z-index: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* fade overlay & reset image filter */
.campaign:hover .card-img-overlay::before {
  opacity: 1;
  background: #000000;
  background: linear-gradient(
    260deg,
    rgba(0, 0, 0, 1) 0%,
    rgb(0 0 0 / 0%) 100%
  );
}

.campaign:hover .card-img {
  filter: grayscale(0) contrast(1);
}

/* smooth font-size on your heading */
.campaign .card-img-overlay h1 {
  max-width: 330px;
  display: inline-block;
  padding-left: 35px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "proxima-nova",
    sans-serif;
  transition: font-size 0.3s ease;
}

.campaign:hover .card-img-overlay h1 {
  /* font-size: 2.6rem;                */
}

/* Title + blurb row: keep description bottom-aligned to the heading */
.campaign .card-img-overlay > .d-flex {
  align-items: flex-end;
  width: 100%;
}

/* paragraph fade-in */
.campaign .card-img-overlay p {
  position: relative;
  z-index: 2;
  max-width: 250px;
  margin-left: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.campaign:hover .card-img-overlay p {
  opacity: 1;
  visibility: visible;
}

/* 4) Arrow/image in overlay – add transitions here */
.campaign .card-img-overlay img {
  position: relative;
  z-index: 2;
  height: 60px;
  margin-bottom: -10px;
  transition:
    height 0.3s ease,
    margin-bottom 0.3s ease,
    margin-left 0.3s ease;
  /* <-- add this */
}

.campaign:hover .card-img-overlay img {
  height: 80px;
  margin-bottom: -25px;
  margin-left: -25px;
}

.flash-share {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 2rem));
  margin: 0;
  padding: 2rem;
  border: 0;
  border-radius: 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(248, 249, 250, 0.98) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  box-shadow: 0 24px 60px rgba(0, 31, 80, 0.24);
  color: var(--dark);
  z-index: 9999;
}

/* Flash / notice alerts as centered popups */
.flash-popup-wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 18, 26, 0.5);
}

.flash-popup {
  position: relative;
  width: min(520px, 100%);
  margin: 0;
  padding: 2rem 2.75rem 2rem 2rem;
  border: 0;
  border-radius: 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(248, 249, 250, 0.98) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  box-shadow: 0 24px 60px rgba(0, 31, 80, 0.24);
  color: var(--dark);
  text-align: center;
}

.flash-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 8px solid #fec210;
  border-radius: 1.25rem;
  pointer-events: none;
}

.flash-popup .flash-message {
  color: var(--primary);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.flash-popup-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.25rem 0.5rem;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.7;
  cursor: pointer;
}

.flash-popup-close:hover,
.flash-popup-close:focus {
  opacity: 1;
  color: var(--primary);
}

.flash-popup.alert-notice,
.flash-popup.alert-success,
.flash-popup.alert-info {
  color: var(--dark);
}

.flash-popup.alert-warning {
  background: linear-gradient(180deg, #fff9e6 0%, #ffffff 100%);
}

.flash-popup.alert-warning::before {
  border-left-color: #fec210;
}

.flash-popup.alert-danger,
.flash-popup.alert-error {
  background: linear-gradient(180deg, #fff5f3 0%, #ffffff 100%);
}

.flash-popup.alert-danger::before,
.flash-popup.alert-error::before {
  border-left-color: var(--danger);
}

.flash-popup.alert-danger .flash-message,
.flash-popup.alert-error .flash-message {
  color: var(--danger);
}

@media (max-width: 575.98px) {
  .flash-popup {
    padding: 1.75rem 2.5rem 1.75rem 1.5rem;
    text-align: left;
  }
}

.flash-share::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 8px solid #fec210;
  border-radius: 1.5rem;
  pointer-events: none;
}

.flash-share .alert-heading {
  color: var(--primary);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}

.flash-share p {
  color: rgba(33, 37, 41, 0.82);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.flash-share .share-btns .btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flash-share .btn-info,
.flash-share .btn-facebook,
.flash-share .btn-twitter,
.flash-share .btn-whatsapp {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.flash-share .share-btns .btn:hover,
.flash-share .share-btns .btn:focus {
  background-color: #fec210;
  border-color: #fec210;
  color: var(--primary);
}

.flash-share hr {
  margin: 1.5rem 0 1rem;
  border-color: rgba(12, 96, 138, 0.12);
}

.flash-share .flash-close {
  color: var(--primary) !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #fec210;
  text-underline-offset: 0.2rem;
}

body:has(.flash-share.show)::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 26, 0.5);
  z-index: 9998;
}

#stream {
  margin-top: 2rem !important;
}

#stream .card {
  padding-left: 0px !important;
  margin-top:0px !important;
  border: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: none;
  background-color: transparent; 
}

#stream .card .card{
  color: #6f6f6f;
  font-style: italic;
} 

#stream .card-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-bottom: 0;
}

#stream .card-header h3,
#stream .card-header .h5 {
  color: var(--white);
  font-weight: 700;
}

#stream .card-header a {
  color: #fec210;
}

#stream .card-body {
  padding: 1.75rem 1.5rem 2rem;
}

#stream .reaction-wrap .form-errors:not(:empty) {
  margin-bottom: 1rem;
}

#stream .reaction-wrap .form-group {
  margin-bottom: 1.25rem;
}

#stream .reaction-wrap .form-control,
#stream .reaction-wrap textarea.form-control {
  min-height: 150px;
}
#user_session_email{
    min-height: auto !important;
}
#stream .reaction-wrap .form-control,
#stream .reaction-wrap textarea.form-control {
  padding: 0.95rem 1.1rem;
  border-radius: 0.75rem;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
  line-height: 1.5;
  resize: vertical;
}

#stream .reaction-wrap .form-control:focus,
#stream .reaction-wrap textarea.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(12, 96, 138, 0.12);
}

#stream .reaction-wrap .comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-top: 0.25rem;
}

#stream .reaction-wrap .submit-button,
#stream .reaction-wrap .comment-submit {
  background-color: #fec210;
  border-color: #fec210;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  margin: 0;
  white-space: nowrap;
}

#stream .reaction-wrap .review-rules a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #fec210;
  text-underline-offset: 0.2rem;
}

#stream .reaction-wrap .user-session-form-container {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(12, 96, 138, 0.1);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.blog-read-more-text {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.2rem;
}

.blog-read-more-arrow {
  text-decoration: none;
}

.create-account-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.create-account-link-text {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.2rem;
}

.create-account-link-arrow {
  text-decoration: none;
}

.create-account-link:hover,
.create-account-link:focus {
  color: var(--primary);
}

.create-account-link:hover .create-account-link-text,
.create-account-link:focus .create-account-link-text {
  text-decoration-color: currentColor;
}

@media (max-width: 767.98px) {
  #stream .card-body {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  #stream .reaction-wrap .comment-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #stream .reaction-wrap .submit-button,
  #stream .reaction-wrap .comment-submit {
    width: 100%;
  }

  #stream .reaction-wrap .review-rules {
    text-align: center;
    margin-top: 0.25rem;
  }
}

/* Keep comment post visible when logged in (NB auth JS may set display:none) */
body.user-logged-in .reaction-wrap .comment-submit,
body.user-logged-in .reaction-wrap .submit-button {
  display: inline-block !important;
}

body:not(.user-logged-in) .reaction-wrap .comment-submit.hide {
    display: none !important;
}

/* NationBuilder dialog / flag modal */
#dialog_box.modal,
.modal#dialog_box {
    --bs-modal-border-radius: 1.25rem;
}

#dialog_box .modal-dialog {
    max-width: 600px;
    margin: 1.25rem auto;
}

#dialog_box .modal-content {
    position: relative;
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 31, 80, 0.28);
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.98) 0%, #ffffff 100%);
}

#dialog_box .modal-content::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: #fec210;
    pointer-events: none;
    z-index: 1;
}

#dialog_box .modal-header {
    position: relative;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.75rem 0.75rem 1.75rem;
    border-bottom: 0;
}

#dialog_box .modal-title {
    margin: 0;
    padding-right: 2rem;
    color: var(--primary);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
}

#dialog_box .modal-header .close,
#dialog_box .modal-header .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0.25rem 0.5rem;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.7;
    cursor: pointer;
    pointer-events: auto;
}

#dialog_box .modal-header .close:hover,
#dialog_box .modal-header .close:focus,
#dialog_box .modal-header .btn-close:hover,
#dialog_box .modal-header .btn-close:focus {
    opacity: 1;
    color: var(--primary);
}

#dialog_box .modal-body {
    padding: 0.5rem 1.75rem 2rem;
}

/* Share modal */
#dialog_box .share-container {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#dialog_box .share-container .share-intro {
    margin: 0 0 1.25rem;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.45;
}

#dialog_box .share-container .share-intro a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #fec210;
    text-underline-offset: 0.2rem;
}

#dialog_box .share-container .share-url-wrap {
    margin-bottom: 1.5rem;
}

#dialog_box .share-container .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

#dialog_box .share-container .share-url,
#dialog_box .share-container .form-control {
    padding: 0.9rem 1rem;
    border-radius: 5px;
    border: 2px solid #0a5880;
    background: transparent;
    color: var(--dark);
}

#dialog_box .share-container .share-url:focus,
#dialog_box .share-container .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(12, 96, 138, 0.15);
}

#dialog_box .share-container .share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 0.85rem;
    margin-top: 0.25rem;
    padding-bottom: 0.25rem;
}

#dialog_box .share-container .share-actions .btn {
    margin: 0;
    padding: 0.75rem 1.15rem;
    white-space: nowrap;
}

#dialog_box .share-container .share-actions .btn-primary {
    background-color: #fec210;
    border-color: #fec210;
    color: var(--primary);
}

#dialog_box .share-container .share-actions .btn-outline-primary {
    border-width: 2px;
}

#dialog_box .flag-form .form-label,
#dialog_box .flag-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

#dialog_box .flag-form .form-control,
#dialog_box .flag-form select.form-control,
#dialog_box .flag-form textarea.form-control {
    padding: 0.85rem 1rem;
    border-radius: 5px;
    border: 2px solid #0a5880;
    background: transparent;
    color: var(--dark);
}

#dialog_box .flag-form textarea.form-control {
    min-height: 6.5rem;
    resize: vertical;
}

#dialog_box .flag-form .form-control:focus,
#dialog_box .flag-form select.form-control:focus,
#dialog_box .flag-form textarea.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(12, 96, 138, 0.15);
}

#dialog_box .flag-form-actions {
    margin-top: 0.25rem;
}

#dialog_box .flag-form .submit-button,
#dialog_box .flag-form .btn-primary {
    background-color: #fec210;
    border-color: #fec210;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.75rem 1.35rem;
}

#dialog_box .flag-form .submit-button:hover,
#dialog_box .flag-form .btn-primary:hover {
    background-color: #f0b400;
    border-color: #f0b400;
    color: var(--primary);
}

#dialog_box .flag-form-divider {
    margin: 1.75rem 0 1.25rem;
    border: 0;
    border-top: 2px solid rgba(12, 96, 138, 0.12);
}

#dialog_box .flag-form-meta {
    color: rgba(33, 37, 41, 0.8);
    font-size: 0.95rem;
}

#dialog_box .flag-form-meta a {
    color: var(--primary);
    font-weight: 600;
}

#dialog_box .flag-comment-preview {
    padding: 1rem 1.15rem;
    border-radius: 0.85rem;
    background: var(--light);
    color: var(--dark);
    line-height: 1.5;
}

.modal-backdrop.show {
    opacity: 0.5;
    background: rgba(2, 18, 26, 0.55);
}

@media (max-width: 575.98px) {
    #dialog_box .modal-header,
    #dialog_box .modal-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    #dialog_box .modal-body {
        padding-bottom: 1.5rem;
    }

    #dialog_box .flag-form .submit-button,
    #dialog_box .flag-form .btn-primary,
    #dialog_box .share-container .share-actions .btn {
        width: 100%;
        text-align: center;
    }

    #dialog_box .share-container .share-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

#stream #reactions {
  background: var(--light) !important;
  border-top: 1px solid rgba(12, 96, 138, 0.08) !important;
}

#stream .activity {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(12, 96, 138, 0.08);
}

#stream .activity:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#stream .activity:first-child {
  padding-top: 0;
}

#stream .activities .media-body a {
  color: var(--primary);
}

#stream .pagination {
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

#stream .page-link {
  color: var(--primary);
  border-color: rgba(12, 96, 138, 0.2);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
}

#stream .page-item.active .page-link,
#stream .page-link:hover,
#stream .page-link:focus {
  background-color: #fec210;
  border-color: #fec210;
  color: var(--primary);
  box-shadow: none;
}

.header-padding {
  padding-top: 150px;
}

/* Account / auth pages (no hero) — clear fixed nav */
.content-users-accounts-new-wide,
.content-users-accounts-new,
.content-users-password-resets-new-wide,
.content-users-password-resets-new,
.content-users-passwords-new-wide,
.content-users-activations-new-wide,
.content-signups-edit {
  padding-top: 150px;
  padding-bottom: 3rem;
}

.account-create-form {
  max-width: 640px;
}

.account-create-form > .bg-light {
  padding: 2.5rem 2rem !important;
}

.account-create-form .headline {
  margin-bottom: 1.75rem;
  line-height: 1.15;
}

.account-create-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.account-create-form .form-control {
  padding: 0.85rem 1rem;
  border-radius: 5px;
  border: 2px solid #0a5880;
  background: transparent;
  margin-bottom: 0;
}

.account-create-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(12, 96, 138, 0.15);
}

.account-create-form .mb-3 {
  margin-bottom: 1.75rem !important;
}

.account-create-form .form-errors:not(:empty) {
  margin-bottom: 1.25rem;
}

.account-create-form .account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1.25rem;
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}

.account-create-form .account-actions .submit-button,
.account-create-form .account-actions .btn {
  margin: 0;
  white-space: nowrap;
  padding: 0.75rem 1.35rem;
}

.account-activation-form {
  max-width: 720px;
}

.account-signup-edit-form {
  max-width: 820px;
}

.account-signup-edit-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.account-form-legend {
  float: none;
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
}

.account-form-divider {
  margin: 2.5rem 0;
  border: 0;
  border-top: 2px solid rgba(12, 96, 138, 0.12);
}

.account-signup-edit-form .account-amount-field {
  max-width: 160px;
}

.account-activation-form .row .form-control,
.account-signup-edit-form .row .form-control {
  margin-bottom: 0;
}

.account-activation-form .form-check,
.account-signup-edit-form .form-check {
  display: flex;
  align-items: center;
  gap: var(--form-check-gutter);
  min-height: auto;
  padding-left: 0;
  margin: 0;
}

.account-activation-form .form-check-input,
.account-signup-edit-form .form-check-input {
  float: none;
  margin: 0;
}

.account-activation-form .form-check-label,
.account-signup-edit-form .form-check-label {
  margin: 0;
  color: var(--dark);
}

@media (max-width: 575.98px) {
  .account-create-form > .bg-light {
    padding: 1.75rem 1.25rem !important;
  }

  .account-create-form .account-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .account-create-form .account-actions .btn {
    width: 100%;
    text-align: center;
  }
}

.petition-page {
}

.petition-page .progress {
  height: 3rem !important;
  margin-top: 5rem;
}

.petition-page form input:not([type="checkbox"]):not([type="radio"]) {
  border-radius: 5px;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
}

.petition-page form textarea {
  border-radius: 5px;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
  min-height: 210px;
}

.petition-page form select {
  border-radius: 5px;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
}

.petition-page form .custom-control,
.petition-page form .custom-checkbox {
  display: flex;
  align-items: center;
  min-height: var(--form-check-size);
  padding-left: 0;
  margin-bottom: 1rem;
}

.petition-page form .custom-control-input {
  position: static;
  opacity: 1;
  z-index: auto;
  margin: 0;
  margin-right: var(--form-check-gutter);
  flex-shrink: 0;
  width: var(--form-check-size);
  height: var(--form-check-size);
}

.petition-page form .custom-control-label,
.petition-page form .custom-control-label.checkbox {
  font-weight: 600;
  display: flex;
  align-items: center;
  line-height: 1.35;
  margin-left: 0;
  margin-bottom: 0 !important;
  padding-top: 0;
  vertical-align: middle;
}

.petition-page form .custom-control-label::before,
.petition-page form .custom-control-label::after {
  display: none;
}

.petition-page label {
}

.content-column {
  padding: 75px 40px;
}

.petition-form-column {
  padding: 75px 40px;
}

.petition-page-with-sidebar .petition-main-shell {
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.petition-page-with-sidebar .petition-main-content,
.petition-page-with-sidebar .petition-form-panel {
  padding: 3rem;
}

.petition-page-with-sidebar .petition-form-panel {
  background: var(--light);
}

.signup-page .custom-control {
  margin-bottom: 0.5rem;
}

/* Equal-height columns; content stays top-aligned inside each */
.signup-page.row {
  align-items: stretch;
}

.signup-page .content-column,
.signup-page .petition-form-column {
  display: flex;
  flex-direction: column;
  padding-top: 75px;
  padding-bottom: 75px;
}

.signup-page .petition-form-column .form {
  flex: 1 1 auto;
}

.signup-page .content-column > :first-child,
.signup-page .petition-form-column > :first-child,
.signup-page .intro > :first-child,
.signup-page .form > :first-child,
.signup-page .form > form,
.signup-page .form > form > :first-child {
  margin-top: 0;
}

.signup-page .intro p:first-child,
.signup-page .intro h1:first-child,
.signup-page .intro h2:first-child,
.signup-page .intro h3:first-child,
.signup-page .intro h4:first-child {
  margin-top: 0;
}

/* Empty excerpt still carried mb-4 and collapsed 24px above the form */
.signup-page .form p:empty {
  display: none;
  margin: 0;
}

.content-pages-show-signup {
  padding-top: 150px;
}

.content-pages-show-signup-wide {
  padding-top: 0;
}

body.no-hero .content-pages-show-signup-wide {
  padding-top: 150px;
}

.content-pages-show-basic-wide {
  padding-top: 0;
}

body.no-hero .content-pages-show-basic-wide {
  padding-top: 150px;
}

.content-pages-show-feedback-wide,
.content-pages-show-feedback,
.content-pages-show-volunteer-signup-wide,
.content-pages-show-volunteer-signup,
.content-pages-show-endorsement-wide,
.content-pages-show-endorsement,
.content-pages-show-event-wide,
.content-pages-show-event,
.content-pages-show-survey-wide,
.content-pages-show-survey,
.content-pages-show-calendar-wide,
.content-pages-show-calendar,
.content-pages-show-vote-pledge-wide,
.content-pages-show-vote-pledge,
.content-pages-show-suggestion-box-wide,
.content-pages-show-suggestion-box,
.content-pages-show-suggestion-wide,
.content-pages-show-suggestion,
.content-pages-show-faq-wide,
.content-pages-show-faq,
.content-pages-show-question-wide,
.content-pages-show-question,
.content-pages-show-press-release-wide,
.content-pages-show-press-release,
.content-pages-show-recruiting-wide,
.content-pages-show-recruiting,
.content-pages-show-basic,
.content-pages-show-blog-post-wide,
.content-pages-show-blog-post {
  padding-top: 0;
}

body.no-hero .content-pages-show-feedback-wide,
body.no-hero .content-pages-show-feedback,
body.no-hero .content-pages-show-volunteer-signup-wide,
body.no-hero .content-pages-show-endorsement-wide,
body.no-hero .content-pages-show-event-wide,
body.no-hero .content-pages-show-survey-wide,
body.no-hero .content-pages-show-calendar-wide,
body.no-hero .content-pages-show-vote-pledge-wide,
body.no-hero .content-pages-show-suggestion-box-wide,
body.no-hero .content-pages-show-faq-wide,
body.no-hero .content-pages-show-question-wide,
body.no-hero .content-pages-show-press-release-wide,
body.no-hero .content-pages-show-recruiting-wide,
body.no-hero .content-pages-show-blog-post-wide,
body.no-hero .content-pages-show-blog-post {
  padding-top: 150px;
}

.event-page .event-detail .subtext a {
  color: var(--primary);
  font-weight: 600;
}

.content-pages-show-blog-wide {
  padding-top: 0;
}

body.no-hero .content-pages-show-blog-wide {
  padding-top: 150px;
}

.donation-v2-page {
  /* padding-top: 140px; */
  /* padding-bottom: 3rem; */
  position: relative;
  /* Clip the form-column ::after bleed without a page scrollbar */
  overflow-x: clip;
}

/* Fallback for browsers that still expand the document from the bleed */
body:has(.donation-v2-page) {
  overflow-x: hidden;
}

.donation-v2-shell {
  max-width: 1320px;
}

.donation-v2-main-panel {
  overflow: visible;
}

.donation-v2-inner {
  padding: 0rem !important;
}

.donation-v2-inner hr {
  color: #0a5880 !important;
  border-top: solid 1.5px #0a5880 !important;
  opacity: 1 !important;
}

.donation-v2-content-column {
  /* background: var(--light); */
}

.donation-v2-form-column {
  background-color: var(--light) !important;
  min-width: 0;
  position: relative;
}

.donation-v2-form-column::after {
  background-color: var(--light) !important;
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  z-index: 1;
}

.donation-v2-main-panel > [class*="col-"] {
  min-width: 0;
}

.donation-v2-inner,
.donation-v2-page .form,
.donation-v2-page fieldset,
.donation-v2-payment-status,
.donation-v2-payment-panel {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.donation-v2-page .form-group {
  margin-bottom: 20px;
}

.donation-v2-page .form-control,
.donation-v2-page select,
.donation-v2-page .StripeElement {
  border-radius: 0.3rem;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
}

.donation-v2-page fieldset {
}

.donation-v2-page legend {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.donation-v2-page .card {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(12, 96, 138, 0.06);
}

.donation-v2-page .btn-primary,
.donation-v2-page .submit-button {
  background-color: #fec210;
  border-color: #fec210;
  color: var(--primary) !important;
  font-weight: 700;
  text-transform: uppercase;
}

.donation-v2-page .btn-primary:hover,
.donation-v2-page .submit-button:hover,
.donation-v2-page .btn-primary:focus,
.donation-v2-page .submit-button:focus {
  background-color: #e6ad00;
  border-color: #e6ad00;
  color: var(--primary) !important;
}

.donation-v2-page .donation-v2-amount {
  color: var(--primary) !important;
}

.donation-v2-page .text-secondary,
.donation-v2-page small {
  color: rgba(33, 37, 41, 0.72) !important;
}

.donation-v2-page .progress {
  height: 3rem !important;
  margin-top: 3rem;
}

.donation-v2-page .donation-v2-amounts,
.donation-v2-page .donation-v2-options {
  margin-top: 1rem;
}

.donation-v2-page .donation-v2-occurence-radio .custom-control,
.donation-v2-page .donation-v2-occurence-radio .radio,
.donation-v2-page .donation-v2-occurence-radio > label {
  display: flex;
  align-items: center;
  gap: var(--form-check-gutter);
  margin-bottom: 10px;
  padding-left: 0;
}

.donation-v2-page .donation-v2-occurence-radio label {
  display: inline-flex;
  align-items: center;
  gap: var(--form-check-gutter);
  line-height: 1.25;
  margin-bottom: 0;
  vertical-align: middle;
}

.donation-v2-page .donation-v2-occurence-radio .custom-control > label,
.donation-v2-page .donation-v2-occurence-radio .radio > label {
  margin-bottom: 0;
  margin-left: 0;
}

.donation-v2-page .donation-v2-occurence-radio input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
  position: relative;
  top: 0;
  vertical-align: middle;
}

.donation-v2-page .donation-v2-occurence-radio .custom-control-label {
  line-height: var(--form-check-size);
  display: flex;
  align-items: center;
  padding-left: 0;
}

.donation-v2-page .donation-v2-occurence-radio .custom-control-label::before,
.donation-v2-page .donation-v2-occurence-radio .custom-control-label::after {
  display: none;
}

.donation-v2-page .donation-v2-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.donation-v2-page .donation-v2-amounts .custom-control {
  margin: 0;
  padding-left: 0;
  min-height: 0;
  width: 100%;
}

.donation-v2-page .donation-v2-amounts .custom-control-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donation-v2-page .donation-v2-amounts .custom-control-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-left: 0;
  padding: 0.8rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 0.6rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700 !important;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.donation-v2-page .donation-v2-amounts .custom-control-label::before,
.donation-v2-page .donation-v2-amounts .custom-control-label::after {
  display: none !important;
}

.donation-v2-page
  .donation-v2-amounts
  .custom-control-input:checked
  + .custom-control-label,
.donation-v2-page .donation-v2-amounts .custom-control-label:hover,
.donation-v2-page .donation-v2-amounts .custom-control-label:focus {
  background: #fec210;
  border-color: #fec210;
  color: var(--primary);
  text-decoration: none;
}

.donation-v2-page .donation-v2-amounts .custom-control-label:active {
  transform: translateY(1px);
}

@media (max-width: 767px) {
  .donation-v2-page .donation-v2-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.donation-v2-payment-status,
.donation-v2-payment-panel {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.donation-v2-payment-status > div,
.donation-v2-payment-panel > div {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.donation-v2-payment-panel .form-group {
  width: 100%;
  margin-bottom: 0;
}

.donation-v2-payment-status p {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  white-space: normal;
}

.donation-v2-payment-status .change-submitted-payment-method {
  display: inline;
  white-space: normal;
  padding: 0;
}

.donation-v2-page fieldset > .form-row.flex-column {
  width: 100%;
}

.donation-v2-page fieldset > .form-row.flex-column > .form-group {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.donation-v2-amount-other-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 1rem;
}

.donation-v2-amount-other-group,
.donation-v2-frequency-note {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.donation-v2-amount-other-group input[type="text"],
.donation-v2-amount-other-group input[type="number"],
.donation-v2-amount-other-group input[type="tel"] {
  display: block;
  width: 100%;
  max-width: 320px;
}

.donation-v2-page .input-group.donation-other-input-container {
  min-height: 52px;
  border: 2px solid #fec210;
  border-radius: 0.6rem;
  overflow: hidden;
  max-width: 181px;
}

.donation-v2-page .input-group.donation-other-input-container .form-control,
.donation-v2-page .input-group.donation-other-input-container .input-group-text,
.donation-v2-page
  .input-group.donation-other-input-container
  .input-group-addon {
  min-height: 52px;
  border: 0;
  box-shadow: none;
}

.donation-v2-page
  .input-group.donation-other-input-container
  .form-control:focus {
  box-shadow: none;
  border-color: transparent;
}

.donation-v2-page
  .form-control.text.nb_donation_v2_amount.donation-amount__input--no-stepper {
  max-width: 144px;
}

.donation-v2-page #donation_amount_other_input.is-locked,
.donation-v2-page #donation_amount_other_input[readonly] {
  background-color: rgba(10, 88, 128, 0.06);
  cursor: pointer;
  caret-color: transparent;
}

.donation-v2-frequency-note {
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .donation-v2-amount-other-group input[type="text"],
  .donation-v2-amount-other-group input[type="number"],
  .donation-v2-amount-other-group input[type="tel"] {
    max-width: 100%;
  }
}

.basic-page-shell {
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(12, 96, 138, 0.06);
}

.basic-page-body {
  color: var(--dark);
  font-size: 1.05rem;
  line-height: 1.8;
}

.basic-page-body h2,
.basic-page-body h3,
.basic-page-body h4 {
  color: var(--primary);
  margin-top: 2rem;
}

.basic-page-body a {
  color: var(--primary);
}

.basic-page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.basic-page-body blockquote {
  border-left: 4px solid #fec210;
  padding-left: 1.25rem;
  color: rgba(33, 37, 41, 0.8);
}

.blog-page .content-column {
  padding-right: 2rem;
}

@media (min-width: 992px) {
  .page-pages-show-blog-wide .blog-page .content-column {
    position: sticky;
    top: 9.5rem;
    align-self: flex-start;
  }
}

.blog-composer {
  border-radius: 1.5rem;
}

.blog-page .form-control,
.blog-page .textarea-tinymce,
.blog-page .user-session-form-container .form-control {
  border-radius: 5px;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
}

.blog-feed-panel {
  padding: 75px 40px;
}

.blog-feed-item {
  padding: 2rem 0;
}

.blog-feed-item:first-child {
  padding-top: 0;
}

.blog-feed-item:last-child {
  padding-bottom: 0;
}

.blog-author-meta {
  gap: 0.75rem;
}

.blog-author-avatar {
  display: inline-flex;
  line-height: 0;
}

.blog-author-avatar img {
  object-fit: cover;
  border: 2px solid #FEC210 !important;
  background: var(--light);
}

.blog-post-card h3 a:hover,
.blog-post-card h3 a:focus {
  color: #fec210 !important;
}

.blog-post-body {
  color: var(--dark);
}

.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.blog-post-page {
  margin-top: 2rem;
}

.blog-post-hero .overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 31, 80, 0.35) 0%,
    rgba(2, 18, 26, 0.72) 100%
  );
}

.blog-post-hero-content {
  max-width: 860px;
  padding-bottom: 3rem;
}

.blog-post-hero-byline .byline,
.blog-post-meta .byline {
  color: rgba(255, 255, 255, 0.85) !important;
}

.blog-post-hero-byline .badge,
.blog-post-meta .badge {
  background-color: #fec210;
  color: var(--primary);
}

.blog-post-shell {
  padding: 3rem;
  border-radius: 1.5rem;
}

.blog-post-header {
  max-width: 860px;
}

.blog-post-meta .byline {
  color: rgba(33, 37, 41, 0.7) !important;
}

.blog-post-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
  color: var(--primary);
  margin-top: 2rem;
}

.blog-post-body a {
  color: var(--primary);
}

.blog-post-body blockquote {
  border-left: 4px solid #fec210;
  padding-left: 1.25rem;
  color: rgba(33, 37, 41, 0.8);
}

.pagination {
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination .page-link {
  color: var(--primary);
  border-color: rgba(12, 96, 138, 0.2);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background-color: transparent;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover,
.pagination .page-link:focus {
  background-color: #fec210;
  border-color: #fec210;
  color: var(--primary);
  box-shadow: none;
}

.pagination .page-item.disabled .page-link {
  color: rgba(33, 37, 41, 0.45);
  background-color: rgba(248, 249, 250, 0.9);
  border-color: rgba(12, 96, 138, 0.12);
}

.blog-post-with-sidebar {
  margin-bottom: 2rem;
}

.blog-post-inline-hero {
  min-height: 420px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 2rem;
  border-radius: 0;
}

.theme-sidebar .card {
  border: 0;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(12, 96, 138, 0.08);
  overflow: hidden;
}

.theme-sidebar .card-body,
.theme-sidebar .card-footer {
  padding: 1.5rem;
}

.theme-sidebar .card-footer {
  background: rgba(12, 96, 138, 0.04);
  border-top-color: rgba(12, 96, 138, 0.08);
}

.theme-sidebar .btn-outline-primary {
  border-width: 2px;
}

.theme-sidebar .sidebar-greeting {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--dark);
}

.theme-sidebar .sidebar-greeting a {
  color: var(--primary);
  font-weight: 600;
}

.theme-sidebar .sidebar-auth-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}

.theme-sidebar .sidebar-auth-actions .sidebar-auth-btn,
.theme-sidebar .sidebar-auth-actions .btn {
  flex: 1 1 0;
  margin: 0;
  min-width: 0;
  padding: 0.55rem 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  text-align: center;
}

.theme-sidebar .sidebar-auth-actions .btn-outline-primary {
  color: var(--primary);
}

.theme-sidebar .sidebar-auth-actions .btn-warning {
  color: var(--primary);
}

.theme-sidebar .sidebar-create-account {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.35rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}

.theme-sidebar .sidebar-create-account-text {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 0.2rem;
}

.theme-sidebar .sidebar-create-account-arrow {
  text-decoration: none;
}

.theme-sidebar .sidebar-create-account:hover,
.theme-sidebar .sidebar-create-account:focus {
  color: var(--primary);
}

.theme-sidebar .sidebar-create-account:hover .sidebar-create-account-text,
.theme-sidebar .sidebar-create-account:focus .sidebar-create-account-text {
  text-decoration-color: currentColor;
}

.theme-sidebar .sidebar-auth-or {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.theme-sidebar .input-group .form-control {
  border-color: rgba(12, 96, 138, 0.2);
  font-size: 0.95rem;
}

.theme-sidebar .input-group .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.theme-sidebar .card-footer,
.theme-sidebar .card-footer a {
  font-size: 0.875rem;
}

.theme-sidebar .supporter-site-buttons .list-group-item {
  font-size: 0.95rem;
  font-weight: 600;
}

.page-pages-show-blog-post .theme-sidebar .list-group-item,
.page-pages-show-blog-post-wide .theme-sidebar .list-group-item {
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  border: 0;
}

.blog-pagination .pagination {
  gap: 0.5rem;
  align-items: center;
}

.blog-pagination .page-item {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
}

.blog-pagination .page-item .page-link,
.blog-pagination .page-link {
  color: var(--primary);
  border-color: rgba(12, 96, 138, 0.2);
  box-sizing: border-box;
  width: 2.5rem !important;
  height: 2.5rem !important;
  min-width: 2.5rem !important;
  max-width: 2.5rem !important;
  padding: 0 !important;
  margin: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  line-height: 1 !important;
  font-size: 1rem;
  font-weight: 600;
  aspect-ratio: 1 / 1;
}

.blog-pagination .page-item:first-child .page-link,
.blog-pagination .page-item:last-child .page-link {
  font-size: 0;
  color: transparent;
  position: relative;
}

.blog-pagination .page-item:first-child .page-link::before,
.blog-pagination .page-item:last-child .page-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-top: 2.5px solid var(--primary);
  border-right: 2.5px solid var(--primary);
  box-sizing: border-box;
}

.blog-pagination .page-item:first-child .page-link::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.blog-pagination .page-item:last-child .page-link::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.blog-pagination .page-item:first-child .page-link:hover::before,
.blog-pagination .page-item:first-child .page-link:focus::before,
.blog-pagination .page-item:last-child .page-link:hover::before,
.blog-pagination .page-item:last-child .page-link:focus::before {
  border-color: var(--primary);
}

.blog-pagination .page-item.disabled:first-child .page-link::before,
.blog-pagination .page-item.disabled:last-child .page-link::before {
  border-color: rgba(33, 37, 41, 0.45);
}

.blog-pagination .page-item.active .page-link,
.blog-pagination .page-link:hover,
.blog-pagination .page-link:focus {
  background-color: #0c608a;
  border-color: #0c608a;
  color: #ffffff;
  box-shadow: none;
}

.activity-content:empty {
  display: none;
}

.utility-page-shell,
.network-page-shell {
  padding: 3rem;
  border-radius: 1.5rem;
}

.utility-page-intro,
.network-page-intro {
  color: var(--dark);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.utility-page-intro p:last-child,
.network-page-intro p:last-child {
  margin-bottom: 0;
}

.network-page-count {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.network-page-empty {
  color: var(--primary);
  font-size: 1.05rem;
}

.network-page-meta,
.network-login-panel p {
  color: rgba(33, 37, 41, 0.76);
}

.network-list {
  margin: 0;
}

.network-list-item {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(12, 96, 138, 0.12);
}

.network-list-item:last-child {
  border-bottom: 1px solid rgba(12, 96, 138, 0.12);
}

.network-page .user-session-form-container,
.utility-page .user-session-form-container {
  margin-top: 1rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 96, 138, 0.1);
}

.network-page .user-session-form-container .form-control,
.utility-page .user-session-form-container .form-control,
.utility-form-page .form-control,
.utility-form-page select {
  border-radius: 0.75rem;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
}

.network-page .user-session-form-container h4,
.utility-page .user-session-form-container h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.utility-form-page .form-errors:not(:empty),
.network-page .form-errors:not(:empty) {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(165, 30, 42, 0.08);
  color: #8b1f2c;
}

.utility-form-page .form-group,
.utility-form-page .form-row,
.network-page .form-group,
.network-page .form-row {
  margin-bottom: 1rem;
}

.utility-form-page label {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.utility-form-page .btn-primary,
.utility-form-page .btn-success,
.network-page .btn-primary,
.network-page .submit-button,
.utility-page .submit-button {
  background-color: #fec210;
  border-color: #fec210;
  color: var(--primary) !important;
  font-weight: 700;
  text-transform: uppercase;
}

.utility-form-page .btn-primary:hover,
.utility-form-page .btn-success:hover,
.network-page .btn-primary:hover,
.network-page .submit-button:hover,
.utility-page .submit-button:hover,
.utility-form-page .btn-primary:focus,
.utility-form-page .btn-success:focus {
  background-color: #e6ad00;
  border-color: #e6ad00;
  color: var(--primary) !important;
}

.utility-form-page .custom-control,
.network-page .custom-control {
  min-height: auto;
  padding-left: 0;
}

.utility-form-page .custom-control-input,
.network-page .custom-control-input {
  position: absolute;
  opacity: 0;
}

.utility-form-page .custom-control-label,
.network-page .custom-control-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-left: 2rem;
  color: var(--dark);
  font-weight: 400;
}

.utility-form-page .custom-control-label::before,
.network-page .custom-control-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid var(--primary);
  background: #fff;
  transform: translateY(-50%);
}

.utility-form-page .custom-control-input:checked + .custom-control-label::before,
.network-page .custom-control-input:checked + .custom-control-label::before {
  background: #fec210;
  border-color: #fec210;
  box-shadow: inset 0 0 0 3px #fff;
}

.utility-page .iframe-wrapper,
.utility-iframe-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(12, 96, 138, 0.1);
  padding: 1rem;
}

.utility-page .iframe-wrapper iframe,
.utility-iframe-wrap iframe {
  display: block;
  border-radius: 1rem;
  background: #fff;
}

.leaderboard-list-item .badge {
  background-color: #fec210;
  color: var(--primary);
}

.invoices table {
  border-color: rgba(12, 96, 138, 0.12);
}

.invoices .table thead th {
  color: var(--primary);
  background: rgba(12, 96, 138, 0.04);
  border-bottom-color: rgba(12, 96, 138, 0.12);
}

.invoices .table tfoot td {
  color: var(--primary);
  font-weight: 700;
  background: rgba(12, 96, 138, 0.03);
}

.invoices .expand.card {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 96, 138, 0.08);
}

.invoices .expand .card-header {
  background: rgba(12, 96, 138, 0.04);
  cursor: pointer;
}

.payments-page .page-tags,
.voter-registration-page .page-tags,
.leaderboard-page .like-page {
  margin-top: 2rem;
}

.supporter-nav .list-group-item,
.subnav .list-group-item,
.list-group.list-group-flush .list-group-item {
  border-color: rgba(12, 96, 138, 0.08);
}

.supporter-nav .list-group-item.active,
.subnav .list-group-item.active,
.list-group.list-group-flush .list-group-item.active {
  background-color: #fec210;
  border-color: #fec210;
  color: var(--primary);
  font-weight: 700;
}

.share-container,
.share {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid rgba(12, 96, 138, 0.08);
}

.share-container .share-intro,
.share-container > p {
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-weight: 500;
}

.share-container .share-url-wrap,
.share-container .form-group {
  margin-bottom: 1.5rem;
}

.share-container .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.share-container .share-url,
.share .share_url {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border-color: #0a5880;
  border-width: 2px;
  background: transparent;
}

.share-container .share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
}

.share-container .share-actions .btn,
.share-container .btn {
  font-weight: 700;
  margin: 0;
}

.utility-table-wrap {
  border-radius: 1.25rem;
  border: 1px solid rgba(12, 96, 138, 0.1);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.utility-table-wrap .table {
  margin-bottom: 0;
}

.utility-table-wrap .table thead th,
.utility-table-wrap .table thead td {
  padding: 1rem 1.1rem;
  color: var(--primary);
  font-weight: 700;
  background: rgba(12, 96, 138, 0.05);
  border-bottom-color: rgba(12, 96, 138, 0.1);
}

.utility-table-wrap .table td,
.utility-table-wrap .table th {
  vertical-align: middle;
  border-color: rgba(12, 96, 138, 0.08);
}

.political-capital-grid {
  margin-bottom: 2rem;
}

.political-capital-card {
  border: 0;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(12, 96, 138, 0.06) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 12px 28px rgba(12, 96, 138, 0.08);
}

.political-capital-card .card-body {
  padding: 1.5rem;
}

.political-capital-card h4 {
  color: var(--primary);
}

.nations-page .utility-page-shell {
  max-width: 980px;
  margin: 0 auto;
}

.nations-table .tnationname a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(254, 194, 16, 0.7);
  text-underline-offset: 0.2rem;
}

.nations-page .input-group-text {
  border-width: 2px;
  border-left: 0;
  border-color: #0a5880;
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(12, 96, 138, 0.06);
  color: var(--primary);
  font-weight: 700;
}

.nations-page .input-group .form-control {
  border-radius: 0.75rem 0 0 0.75rem;
}

.nations-page .headline {
  color: var(--primary);
  margin-bottom: 1rem;
}

.supporter-nav-card {
  border: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(12, 96, 138, 0.08);
}

.supporter-nav-card .card-header,
.supporter-nav-card .card-body,
.supporter-nav-card .card-footer {
  border-color: rgba(12, 96, 138, 0.08);
}

.supporter-nav-card .card-header {
  background: rgba(12, 96, 138, 0.04);
}

.supporter-point-person .byline {
  color: var(--primary) !important;
  font-weight: 700;
}

.supporter-point-person a {
  color: var(--primary);
  margin-right: 0.4rem;
}

.supporter-point-person a:hover {
  color: #e6ad00;
}

.supporter-site-buttons .list-group-item {
  font-weight: 700;
  color: var(--primary);
  background: rgba(254, 194, 16, 0.18);
}

.supporter-site-buttons .list-group-item:hover,
.supporter-site-buttons .list-group-item:focus {
  background: #fec210;
  color: var(--primary);
}

.supporter-fb-page {
  width: 100%;
}

.signup-show-card {
  width: 100%;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(12, 96, 138, 0.12);
}

.signup-show-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.signup-capital-badge {
  background: #fec210;
  color: var(--primary);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.signup-social-links a {
  color: var(--primary);
}

.signup-social-links a:hover {
  color: #e6ad00;
}

.follow-action-btn {
  min-width: 8rem;
  border-radius: 999px;
  font-weight: 700;
}

.share .form-errors:not(:empty) {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgba(165, 30, 42, 0.08);
  color: #8b1f2c;
}

.share .custom-control {
  min-height: auto;
  padding-left: 0;
}

.share .custom-control-label {
  position: relative;
  padding-left: 2rem;
  color: var(--dark);
}

.share .custom-control-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid var(--primary);
  background: #fff;
  transform: translateY(-50%);
}

.share .custom-control-input:checked + .custom-control-label::before {
  background: #fec210;
  border-color: #fec210;
  box-shadow: inset 0 0 0 3px #fff;
}

#stream .activities .media {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

#stream .activities .media > .mr-3 {
  margin-right: 0 !important;
  flex-shrink: 0;
}

#stream .activities .media-body {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .utility-page-shell,
  .network-page-shell {
    padding: 1.5rem;
    border-radius: 1.1rem;
  }

  .nations-page .input-group {
    flex-wrap: nowrap;
  }

  .signup-show-card {
    display: block !important;
  }

  .signup-show-card > .me-3 {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }
}

.like-page {
  border-top-color: rgba(12, 96, 138, 0.12) !important;
}

.like-page strong {
  color: var(--primary);
}

.network-list article,
.leaderboard-list article {
  width: 100%;
}

/* Footer */
footer {
  background-color: var(--primary) !important;
}

footer h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

footer a {
  text-decoration: none !important;
  color: var(--yellow-accent) !important;
}

.footer-logo {
  max-width: 200px;
  height: auto;
}

/* Yellow Left Border Elements */
.about-section h3::before,
.donation-section h3::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: var(--yellow-accent);
}

/* Left Yellow Bar for Specific Sections */
.about-section .col-md-4,
.donation-section .col-md-4 {
  position: relative;
}

.about-section .col-md-4::before,
.donation-section .col-md-4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: var(--yellow-accent);
}

.social-share {
  padding: 100px 0;
}

.social-share-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.social-share-icons .social-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-share-icons .social-share-link:hover,
.social-share-icons .social-share-link:focus {
  opacity: 0.75;
  transform: translateY(-1px);
}

.social-share-icons .social-share-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .yellow-left-border-subpage .social-share-icons {
    justify-content: flex-start;
  }
}

@media (min-width: 992px) {
  .petition-form-column .social-share-icons {
    justify-content: flex-start;
  }
}

.image-highlight {
  background-image: url("../img/image-hifghlight.jpg");
  background-size: cover;
  background-position: center center;
  height: 400px;
  min-height: 400px;
  background-attachment: fixed;
}

.h-60 {
  height: 60vh;
}

.h-80 {
  height: 80vh;
}

.content-block-sub {
  max-width: 500px;
}

.highlight-text {
  font-weight: 300;
  max-width: 300px;
  /* margin-left: -150px; */
  position: sticky;
  /* Clear fixed-top navbar (~70px logo + py-3) */
  top: 9.5rem;
  z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .overlay-container .overlay {
    padding: 2rem;
  }

  .hero-heading-img {
    max-width: 700px;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .campaign-image {
  }

  .circle-image-container {
    width: 150px;
    height: 150px;
  }

  /* Tablet: keep desktop heights; only fix parallax attachment */
  .hero.parallax,
  .hero.overlay-container {
    overflow: visible;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }

  .hero.overlay-container,
  .overlay-container.hero {
    overflow: visible;
  }

  .hero.overlay-container .overlay {
    position: relative;
    height: auto;
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: 7rem 1.25rem 3rem;
    background: linear-gradient(
      180deg,
      rgb(0 31 80 / 18%) 0%,
      rgba(2, 18, 26, 0.62) 100%
    );
    box-sizing: border-box;
  }

  .hero .container.h-100 {
    height: auto !important;
  }

  .hero img,
  .hero-heading-img,
  .hero-heading-img-sub {
    height: auto !important;
    max-width: 100%;
    width: 100%;
  }

  .hero-heading-img {
    max-width: 550px;
    margin-bottom: 1.5rem;
  }

  .hero-text {
    font-size: 18px;
    max-width: 100%;
    line-height: 1.55;
  }

  .yellow-left-border::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
  }

  .yellow-left-border-hero::after {
    height: 120px;
    width: 80px;
  }

  .one-people h1 {
    font-size: 3.5rem;
    line-height: 1.05;
  }

  .out-objective h1.display-1 {
    font-size: 3.5rem;
    line-height: 1.05;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-wrap: nowrap;
  }

  .content-pages-show-blog-wide {
    padding: 0;
  }

  body.no-hero .content-pages-show-blog-wide {
    padding-top: 120px;
  }

  .yellow-left-border-subpage::after {
    width: 40px;
  }

  .yellow-left-border-subpage .subpage-cta-buttons {
    width: 100%;
    flex-wrap: nowrap;
  }

  .yellow-left-border-subpage .subpage-cta-buttons .btn {
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar-brand img {
    height: 50px;
  }

  /* Mobile only: homepage 100vh, other heroes 50vh */
  .hero,
  .hero.parallax,
  .hero.overlay-container,
  .hero.h-60,
  .hero.h-80 {
    height: 50vh !important;
    height: 50dvh !important;
    min-height: 280px !important;
  }

  body.homepage .hero,
  body.homepage .hero.parallax,
  body.homepage .hero.overlay-container {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }

  .hero.overlay-container .overlay {
    min-height: 50vh;
    min-height: 50dvh;
  }

  body.homepage .hero.overlay-container .overlay {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .one-people {
    height: auto;
    min-height: 300px;
  }

  .one-people h1 {
    font-size: 2.75rem;
    line-height: 1.05;
  }

  .out-objective h1.display-1 {
    font-size: 2.75rem;
    line-height: 1.05;
  }

  .hero-heading-img {
    max-width: 100%;
  }

  .hero-text {
    font-size: 16px;
    max-width: 100%;
  }

  .hero.overlay-container .overlay {
    padding: 6.5rem 1rem 2.5rem;
  }

  .hero .d-flex.align-items-center.gap-2 {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero .d-flex.align-items-center.gap-2 .btn {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
  }

  .yellow-left-border-hero {
    padding-left: 70px;
    /* Keep absolute ::after anchored to the hero overlay (bottom-left), like desktop */
    position: static;
  }

  .yellow-left-border::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
  }

  .mobile-padding-60 {
    padding-left: 60px;
  }

  .dotation-section::after {
    display: none !important;
    content: none !important;
  }

  .one-people:after,
  .one-people::after {
    display: none !important;
    content: none !important;
  }

  .yellow-left-border-hero::after {
    left: 0;
    bottom: 0;
    height: 56%;
    width: 60px;
  }

  .d-flex.align-items-start.yellow-left-border-hero {
    flex-direction: column;
  }

  .d-flex.align-items-start.yellow-left-border-hero .ms-auto {
    margin-left: 0 !important;
    margin-top: 1.5rem;
    width: 100%;
  }

  .campaign-image {
    margin-bottom: 30px;
  }

  .card-img-overlay .arrow {
    width: 60px;
    bottom: 20px;
    left: 40px;
  }

  .about-images-container {
    margin-left: 0 !important;
    overflow: visible;
    padding-bottom: 1rem !important;
  }

  .about-images-container::-webkit-scrollbar {
    display: none;
  }

  .about-images-container img {
    min-height: 160px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 40px;
  }

  .hero {
    height: 50vh;
    height: 50dvh;
    min-height: 260px;
  }

  body.homepage .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .one-people {
    min-height: 250px;
  }

  .one-people h1 {
    font-size: 3.25rem;
    line-height: 1.05;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero.overlay-container .overlay {
    min-height: 50vh;
    min-height: 50dvh;
    padding: 6rem 0.85rem 2rem;
  }

  body.homepage .hero.overlay-container .overlay {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .campaign-image {
  }

  .campaign-image .card-img-overlay h3 {
    font-size: 1.5rem;
  }

  .out-objective h1.display-1 {
    font-size: 3.25rem;
    line-height: 1.05;
  }

  .out-objective h4 {
    font-size: 1.1rem;
  }

  .about-images-container img {
    min-height: 140px;
  }

  .donation-slider {
    padding: 1.5rem;
  }

  .donation-slider .row > div {
    padding-left: 5px;
    padding-right: 5px;
  }

  footer h5 {
    font-size: 0.8rem;
  }

  .petition-page .content-column {
    padding: 1.5rem 1rem 1.5rem 70px;
  }

  .petition-page .petition-form-column,
  .petition-form-column {
    padding: 1.5rem 1rem;
    z-index: 1;
  }

  /* Donation v2 mobile only: content clears yellow strip; form uses full width */
  .page-pages-show-donation-v2-wide .donation-v2-page,
  .donation-v2-page {
    padding-top: 10px !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-content-column,
  .donation-v2-page .donation-v2-content-column {
    padding: 1.25rem 1rem 1.25rem 70px !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-form-column,
  .donation-v2-page .donation-v2-form-column {
    padding: 1.25rem 1rem !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-form-column::after,
  .donation-v2-page .donation-v2-form-column::after {
    display: none;
  }

  .page-pages-show-donation-v2-wide .donation-v2-inner,
  .donation-v2-page .donation-v2-inner {
    padding: 0 !important;
  }

  .signup-page .content-column,
  .signup-page .petition-form-column,
  .content-pages-show-signup-wide .content-column,
  .content-pages-show-signup .content-column,
  .content-pages-show-signup .petition-form-column {
    padding: 1.5rem 1rem;
  }

  .content-pages-show-signup-wide .petition-form-column {
    padding-left: 1rem;
  }

  .volunteer-signup-page .content-column,
  .volunteer-signup-page .petition-form-column,
  .endorsement-page .content-column,
  .endorsement-page .petition-form-column,
  .event-page .content-column,
  .event-page .petition-form-column,
  .survey-page .content-column,
  .survey-page .petition-form-column,
  .feedback-page .content-column,
  .vote-pledge-page .content-column,
  .vote-pledge-page .petition-form-column,
  .suggestion-box-page .content-column,
  .suggestion-box-page .petition-form-column,
  .suggestion-page .content-column,
  .faq-page .content-column,
  .faq-page .petition-form-column,
  .question-page .content-column,
  .question-page .petition-form-column,
  .press-release-page .content-column,
  .recruiting-page .content-column,
  .recruiting-page .petition-form-column,
  .calendar-page .content-column {
    padding-left: 70px !important;
  }

  .feedback-page .petition-form-column {
    padding-left: 0;
  }

  .blog-page .content-column,
  .content-pages-show-blog-wide .content-column {
    padding-left: 70px;
  }

  .blog-page .blog-feed-panel,
  .content-pages-show-blog-wide .blog-feed-panel {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Blog post: no yellow strip on mobile — reset content inset */
  .page-pages-show-blog-post .yellow-left-border-petition::before,
  .page-pages-show-blog-post-wide .yellow-left-border-petition::before,
  .content-pages-show-blog-post.yellow-left-border-petition::before,
  .content-pages-show-blog-post-wide.yellow-left-border-petition::before {
    display: none;
  }

  body.page-pages-show-blog-post main#content::before,
  body.page-pages-show-blog-post-wide main#content::before {
    display: none;
  }

  .page-pages-show-blog-post .blog-post-shell,
  .page-pages-show-blog-post .blog-post-page,
  .page-pages-show-blog-post .blog-post-with-sidebar,
  .page-pages-show-blog-post-wide .blog-post-shell,
  .page-pages-show-blog-post-wide .blog-post-page,
  .page-pages-show-blog-post-wide .blog-post-with-sidebar,
  .content-pages-show-blog-post .blog-post-shell,
  .content-pages-show-blog-post-wide .blog-post-page {
    padding-left: 0;
  }

  .petition-page h1.display-1 {
    font-size: 2.25rem;
  }

  .progress.bg-danger > span,
  .progress.bg-danger + small {
    font-size: 0.75rem !important;
  }

  .petition-page form .custom-control,
  .petition-page form .custom-checkbox {
    align-items: flex-start;
  }

  .petition-page form .custom-control-input {
    margin-top: 0.15rem;
  }
}

/* Fix for navbar toggler on mobile */
@media (max-width: 991px) {
  #mainNav {
    z-index: 1300;
  }

  .navbar .container {
    position: relative;
    align-items: center;
  }

  .navbar-toggler {
    margin-left: auto;
    position: relative;
    z-index: 1302;
    pointer-events: auto;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 360px);
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding: 6.75rem 1.5rem 2rem;
    background-color: #0a5880;
    box-shadow: 18px 0 48px rgba(2, 18, 26, 0.35);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-102%);
    transition:
      transform 0.35s ease,
      visibility 0.35s ease;
    z-index: 1301;
  }

  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .navbar-collapse.collapsing {
    height: auto !important;
    transition:
      transform 0.35s ease,
      visibility 0.35s ease;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 18, 26, 0.45);
    z-index: 1290;
    pointer-events: auto;
  }

  .navbar-collapse .navbar-nav {
    width: 100%;
    gap: 0.35rem;
    align-items: stretch !important;
  }

  .navbar-collapse .navbar-nav .nav-link {
    color: #fff !important;
    display: block;
    padding: 0.9rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .navbar-collapse .navbar-nav .nav-link:hover,
  .navbar-collapse .navbar-nav .nav-link:focus,
  .navbar-collapse .navbar-nav .nav-link.active,
  .navbar-collapse .navbar-nav .show > .nav-link {
    color: #fec210 !important;
    text-decoration-color: #fec210;
  }

  .navbar-collapse .dropdown-menu {
    position: static;
    float: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.5rem;
    margin: 0;
    background: transparent;
  }

  .navbar-collapse .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
  }

  .navbar-collapse .dropdown-item {
    padding: 0.5rem 0 0.5rem 1rem;
    color: #fff;
  }

  .navbar-collapse .dropdown-item:hover,
  .navbar-collapse .dropdown-item:focus,
  .navbar-collapse .dropdown-item.active {
    color: #fec210;
    background-color: transparent;
    text-decoration: underline;
    text-decoration-color: #fec210;
  }

  .navbar-collapse .btn-outline-warning {
    margin-left: 0;
    margin-top: 1rem;
    display: inline-block;
    color: #fff !important;
    border-color: #fec210 !important;
  }

  .navbar-collapse .btn-outline-warning:hover {
    background-color: #fec210;
    color: #0a5880 !important;
  }

  /* Keep hamburger light on the blue bar (including scrolled) */
  .navbar-light .navbar-toggler,
  .navbar-light.scrolled .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
  }

  .navbar-light .navbar-toggler-icon,
  .navbar-light.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

@media (max-width: 991px) {
  .blog-page .content-column {
    padding-right: 40px;
  }

  .blog-composer {
    margin-bottom: 2rem;
  }

  .blog-post-shell {
    padding: 2rem 1.5rem;
  }

  .blog-post-hero-content {
    padding-bottom: 2rem;
  }

  .blog-post-inline-hero {
    min-height: 320px;
  }

  .content-pages-show-signup {
    padding-top: 120px;
  }

  .content-users-accounts-new-wide,
  .content-users-accounts-new,
  .content-users-password-resets-new-wide,
  .content-users-password-resets-new,
  .content-users-passwords-new-wide,
  .content-users-activations-new-wide,
  .content-signups-edit {
    padding-top: 120px;
  }

  .content-pages-show-signup-wide {
    padding-top: 0;
  }

  body.no-hero .content-pages-show-signup-wide {
    padding-top: 120px;
  }

  /* Clear space for the 40px yellow strip on mobile */
  .signup-page .content-column,
  .signup-page .petition-form-column,
  .content-pages-show-signup-wide .content-column,
  .content-pages-show-signup .content-column,
  .content-pages-show-signup .petition-form-column {
    padding: 1.5rem 1rem;
  }

  .content-pages-show-signup-wide .petition-form-column {
    padding-left: 1rem;
  }

  .volunteer-signup-page .content-column,
  .volunteer-signup-page .petition-form-column,
  .endorsement-page .content-column,
  .endorsement-page .petition-form-column,
  .event-page .content-column,
  .event-page .petition-form-column,
  .survey-page .content-column,
  .survey-page .petition-form-column,
  .feedback-page .content-column,
  .vote-pledge-page .content-column,
  .vote-pledge-page .petition-form-column,
  .suggestion-box-page .content-column,
  .suggestion-box-page .petition-form-column,
  .suggestion-page .content-column,
  .faq-page .content-column,
  .faq-page .petition-form-column,
  .question-page .content-column,
  .question-page .petition-form-column,
  .press-release-page .content-column,
  .recruiting-page .content-column,
  .recruiting-page .petition-form-column,
  .calendar-page .content-column {
    padding-left: 70px !important;
  }

  .feedback-page .petition-form-column {
    padding-left: 0;
  }

  .blog-page .content-column,
  .content-pages-show-blog-wide .content-column {
    padding-left: 70px;
  }

  .blog-page .blog-feed-panel,
  .content-pages-show-blog-wide .blog-feed-panel {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Blog post: no yellow strip on mobile — reset content inset */
  .page-pages-show-blog-post .yellow-left-border-petition::before,
  .page-pages-show-blog-post-wide .yellow-left-border-petition::before,
  .content-pages-show-blog-post.yellow-left-border-petition::before,
  .content-pages-show-blog-post-wide.yellow-left-border-petition::before {
    display: none;
  }

  body.page-pages-show-blog-post main#content::before,
  body.page-pages-show-blog-post-wide main#content::before {
    display: none;
  }

  .page-pages-show-blog-post .blog-post-shell,
  .page-pages-show-blog-post .blog-post-page,
  .page-pages-show-blog-post .blog-post-with-sidebar,
  .page-pages-show-blog-post-wide .blog-post-shell,
  .page-pages-show-blog-post-wide .blog-post-page,
  .page-pages-show-blog-post-wide .blog-post-with-sidebar,
  .content-pages-show-blog-post .blog-post-shell,
  .content-pages-show-blog-post-wide .blog-post-page {
    padding-left: 0;
  }

  .content-pages-show-basic-wide {
    padding-top: 0;
  }

  body.no-hero .content-pages-show-basic-wide {
    padding-top: 120px;
  }

  .content-pages-show-feedback-wide,
  .content-pages-show-feedback,
  .content-pages-show-volunteer-signup-wide,
  .content-pages-show-endorsement-wide,
  .content-pages-show-event-wide,
  .content-pages-show-survey-wide,
  .content-pages-show-calendar-wide,
  .content-pages-show-vote-pledge-wide,
  .content-pages-show-suggestion-box-wide,
  .content-pages-show-faq-wide,
  .content-pages-show-question-wide,
  .content-pages-show-press-release-wide,
  .content-pages-show-recruiting-wide,
  .content-pages-show-blog-post-wide {
    padding-top: 0;
  }

  body.no-hero .content-pages-show-feedback-wide,
  body.no-hero .content-pages-show-volunteer-signup-wide,
  body.no-hero .content-pages-show-endorsement-wide,
  body.no-hero .content-pages-show-event-wide,
  body.no-hero .content-pages-show-survey-wide,
  body.no-hero .content-pages-show-calendar-wide,
  body.no-hero .content-pages-show-vote-pledge-wide,
  body.no-hero .content-pages-show-suggestion-box-wide,
  body.no-hero .content-pages-show-faq-wide,
  body.no-hero .content-pages-show-question-wide,
  body.no-hero .content-pages-show-press-release-wide,
  body.no-hero .content-pages-show-recruiting-wide {
    padding-top: 120px;
  }

  .content-pages-show-blog-wide {
    padding: 0;
  }

  body.no-hero .content-pages-show-blog-wide {
    padding-top: 120px;
  }

  /* Donation v2 wide mobile only */
  .page-pages-show-donation-v2-wide .donation-v2-page,
  .donation-v2-page {
    padding-top: 10px !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-content-column,
  .donation-v2-page .donation-v2-content-column {
    padding: 1.25rem 1rem 1.25rem 70px !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-form-column,
  .donation-v2-page .donation-v2-form-column {
    padding: 1.25rem 1rem !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-form-column::after,
  .donation-v2-page .donation-v2-form-column::after {
    display: none;
  }

  .page-pages-show-donation-v2-wide .donation-v2-inner,
  .donation-v2-page .donation-v2-inner {
    padding: 0 !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-shell,
  .donation-v2-page .col-12.donation-v2-shell,
  .donation-v2-page .donation-v2-shell {
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-pages-show-donation-v2-wide .donation-v2-amounts .custom-control-label,
  .donation-v2-page .donation-v2-amounts .custom-control-label {
    padding: 0.7rem 0.5rem;
    font-size: 0.95rem;
  }

  .page-pages-show-donation-v2-wide .donation-v2-amount-other-group input[type="text"],
  .page-pages-show-donation-v2-wide .donation-v2-amount-other-group input[type="number"],
  .page-pages-show-donation-v2-wide .donation-v2-amount-other-group input[type="tel"],
  .page-pages-show-donation-v2-wide .input-group.donation-other-input-container,
  .donation-v2-page .donation-v2-amount-other-group input[type="text"],
  .donation-v2-page .donation-v2-amount-other-group input[type="number"],
  .donation-v2-page .donation-v2-amount-other-group input[type="tel"],
  .donation-v2-page .input-group.donation-other-input-container {
    max-width: 100%;
  }

  .page-pages-show-donation-v2-wide
    .form-control.text.nb_donation_v2_amount.donation-amount__input--no-stepper,
  .donation-v2-page
    .form-control.text.nb_donation_v2_amount.donation-amount__input--no-stepper {
    max-width: 100%;
  }

  .basic-page-shell {
    padding: 2rem 1.5rem;
  }

  .content-pages-show-petition-wide,
  .content-pages-show-petition {
    padding: 0;
  }

  .petition-page .content-column {
    padding: 2rem 1.25rem 2rem 70px;
  }

  .petition-page .petition-form-column,
  .petition-form-column {
    padding: 2rem 1.25rem;
    z-index: 1;
  }

  /* Below tablet: yellow strip is 40px, keep clear space for content */
  @media (max-width: 767px) {
    .petition-page .content-column {
      padding-left: 70px;
    }
  }

  /* Tablet: yellow strip sits outside content (right: 100%),
       so extra left padding is not needed */
  @media (min-width: 768px) {
    .petition-page .content-column {
      padding-left: 1.25rem;
    }
  }

  .petition-page h1.display-1 {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    margin-bottom: 1.5rem !important;
  }

  .petition-page .progress {
    margin-top: 2rem;
    height: 2.25rem !important;
  }

  .progress.bg-danger > span,
  .progress.bg-danger + small {
    font-size: 0.875rem !important;
    line-height: 1.2;
    white-space: nowrap;
  }

  .petition-page .intro,
  .petition-page #petition-content {
    font-size: 1rem;
    line-height: 1.55;
  }

  .petition-page form textarea {
    min-height: 160px;
  }

  .petition-page .submit-button {
    width: 100%;
    white-space: normal;
  }
}

/* Utility Classes */
.about-images-container {
  overflow: visible;
}

.about-images-container img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

/* First image spans full left column, bleeding to the section edge */
.about-images-container .about-image-lead {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 220px;
}

@media (min-width: 768px) {
  .about-images-container .about-image-lead {
    /* Pull left across container gutter + yellow accent strip */
    width: calc(100% + 100px + 1.5rem);
    margin-left: calc(-100px - 1.5rem);
  }
}

.max-width-378 {
  max-width: 378px;
}

.height-200 {
  height: 200px;
}

.height-40 {
  height: 40px;
}

.object-fit-cover {
  object-fit: cover;
}

/* Responsive Typography */
.h1-md {
  font-size: 1.75rem;
}

@media (min-width: 768px) {
  .h1-md {
    font-size: 2.5rem;
  }
}

/* Homepage latest-campaigns: keep cards circular on mobile */
@media (max-width: 767px) {
  .latest-campaigns .campaign-image.rounded-circle {
    border-radius: 50% !important;
    aspect-ratio: 1 / 1;
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .latest-campaigns .campaign-image.rounded-circle .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .latest-campaigns .campaign-image.rounded-circle .card-img-overlay h3 {
    font-size: 1.35rem;
  }

  .latest-campaigns .campaign-image.rounded-circle .arrow {
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 48px;
  }

  .latest-campaigns .campaign-image.rounded-circle .arrow img {
    width: 100%;
    height: auto;
  }
}

/* Parallax Backgrounds */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero.parallax {
}

.one-people.parallax {
  background-image: url("../img/one-people.jpg");
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

/* =========================
   Responsive Breakpoints
   ========================= */
/* Extra small devices (portrait phones, less than 576px)
   No media query since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* ... existing code ... */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Hide container strip — align to main#content left edge instead */
  .yellow-left-border-petition::before {
    display: none;
  }

  main#content {
    position: relative;
  }

  main#content:has(.yellow-left-border-petition)::before,
  main#content:has(.content-pages-show-blog-post-wide)::before,
  main#content:has(.content-pages-show-blog-post)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 72%;
    width: 100px;
    background-color: var(--yellow-accent);
    z-index: 0;
    display: block;
    pointer-events: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* ... existing code ... */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* ... existing code ... */
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  /* ... existing code ... */
}

/* =========================
   End Responsive Breakpoints
   ========================= */
