/* =============================================
   Michael for Brookline — Campaign Website
   Matching original Webflow layout exactly
   Color Palette:
     Green:     #089556
     Blue:      #3A75B4
     Dark Navy: #070355
     Gold:      #FDD35C
     Copper:    #C47A40
     Black:     #000000
     Light Blue:#A2B6D0
     Teal:      #159F7D
   ============================================= */

/* --- Thicccboi Font (matching original Webflow site) --- */
@font-face {
  font-family: 'Thicccboi';
  src: url('/fonts/THICCCBOI-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('/fonts/THICCCBOI-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('/fonts/THICCCBOI-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Thicccboi';
  src: url('/fonts/THICCCBOI-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Thicccboi', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #717379;
  line-height: 1.6;
  background: #fff;
}

a {
  color: #3A75B4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #070355;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: #070355;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation (Blue bar: logo left, links next to it, Donate far right) --- */
/* Original: header padding 28px 20px, logo 20px from left, donate 20px from right */
.site-nav {
  background: #3A75B4;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 28px 20px;
}
.site-nav .container {
  display: flex;
  align-items: center;
  max-width: none;
  padding: 0;
  gap: 0;
}
.nav-brand {
  flex-shrink: 0;
  margin-right: 32px;
}
.nav-brand img {
  height: 62px;
  width: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  margin-right: auto;
}
.nav-links li a {
  display: block;
  padding: 0;
  color: #fff;
  font-size: 16.2px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  opacity: 0.85;
  color: #fff;
}
.nav-cta {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
  margin-left: 24px;
  flex-shrink: 0;
}
.nav-cta .donate a {
  display: inline-block;
  padding: 14px 30px;
  background: #089556;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #070355;
  border-radius: 8px;
  line-height: 18px;
  white-space: nowrap;
  text-align: center;
  transition: background 0.2s;
}
.nav-cta .donate a:hover {
  background: #067a45;
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

/* --- Hero Section (Homepage) --- */
/* Two-column: blue text panel left, large photo right, white border around */
.hero {
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.hero-wrapper {
  display: flex;
  padding: 20px;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-text {
  flex: 0 0 38%;
  background: #3A75B4;
  color: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text h1 {
  font-size: 63px;
  line-height: 63px;
  letter-spacing: 5.04px;
  margin-bottom: 8px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}
.hero-text h2 {
  font-size: 34.2px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #fff;
}
.hero-text p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #fff;
}
.hero-image {
  flex: 1;
  min-height: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover {
  opacity: 0.9;
}
.btn-primary {
  background: #089556;
  color: #fff;
  border-radius: 4px;
}
.btn-primary:hover {
  background: #067a45;
  color: #fff;
}
.btn-secondary {
  background: #FDD35C;
  color: #070355;
  border-radius: 4px;
}
.btn-secondary:hover {
  background: #f5c833;
  color: #070355;
}
/* Endorsers section white buttons (no border, 8px radius) */
.btn-white {
  background: #fff;
  color: #0e121e;
  border: none;
  border-radius: 8px;
  padding: 24px 36px;
  font-size: 18px;
  font-weight: 700;
}
.btn-white:hover {
  background: #f0f0f0;
  color: #0e121e;
}
/* Outline button with gray border (More Voices) */
.btn-outline-gray {
  background: #fff;
  color: #717379;
  border: 4px solid #717379;
  border-radius: 14px;
  padding: 24px 36px;
  font-size: 18px;
  font-weight: 700;
}
.btn-outline-gray:hover {
  background: #f5f5f5;
  color: #555;
}
/* White outline button (My Story — on blue background) */
.btn-outline-white {
  background: #3A75B4;
  color: #fff;
  border: 4px solid #fff;
  border-radius: 14px;
  padding: 24px 36px;
  font-size: 18px;
  font-weight: 700;
}
.btn-outline-white:hover {
  background: #2e6499;
  color: #fff;
}
/* Green button with navy border (Facing Challenges — on green background) */
.btn-green-navy {
  background: #089556;
  color: #070355;
  border: 4px solid #070355;
  border-radius: 14px;
  padding: 24px 36px;
  font-size: 18px;
  font-weight: 700;
}
.btn-green-navy:hover {
  background: #067a45;
  color: #070355;
}

/* --- Section Styles --- */
.section {
  padding: 60px 0;
}
.section-alt {
  background: #f4f6fa;
}
.section-light-blue {
  background: #A2B6D0;
}
.section-dark {
  background: #070355;
  color: #fff;
}
.section-green {
  background: #089556;
  color: #fff;
}
.section-header {
  text-align: left;
  margin-bottom: 18px;
}
.section-header h2 {
  font-size: 2rem;
  color: #070355;
  margin-bottom: 12px;
}
.section-light-blue .section-header h2 {
  color: #070355;
}
.section-green .section-header h2 {
  color: #fff;
}
.section-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}
.section-green .section-header p {
  color: rgba(255,255,255,0.85);
}

/* --- Home Endorsers Section (light blue bg, 2-col: image + list) --- */
.endorsers-home {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding: 20px;
}
.endorsers-home-image {
  flex: 0 0 47%;
}
.endorsers-home-image img {
  width: 100%;
  display: block;
}
.endorsers-home-content {
  flex: 1;
  padding-left: 20px;
}
.endorsers-home-content h2 {
  font-size: 18px;
  color: #070355;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.endorsers-home-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 24px;
  color: #070355;
}
.endorsers-home-list li {
  padding: 4px 0;
  font-size: 18px;
  font-weight: 500;
}
.endorsers-home-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Testimonial Cards (full-text, vertical stack on white bg) --- */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 36px;
  box-shadow: 0 5px 14px rgba(14, 18, 30, 0.04);
}
.testimonial-card .endorser {
  font-weight: 700;
  color: #0e121e;
  font-size: 18px;
  margin-bottom: 0;
}
.testimonial-card .endorser a {
  color: #0e121e;
  text-decoration: none;
}
.testimonial-card .endorser a:hover {
  color: #3A75B4;
}
.testimonial-card .endorser-title {
  font-size: 18px;
  font-weight: 500;
  color: #717379;
  margin-bottom: 0;
}
.testimonial-card blockquote {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #717379;
}

/* --- Endorsement Highlights (grid cards, used on sub-pages) --- */
.endorsement-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.endorsement-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-left: 4px solid #089556;
}
.endorsement-card blockquote {
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #717379;
}
.endorsement-card .endorser {
  font-weight: 700;
  color: #0e121e;
}
.endorsement-card .endorser-title {
  font-size: 0.9rem;
  color: #717379;
}

/* --- Endorsements Page --- */
.endorsement-banner {
  background: #A2B6D0;
  padding: 60px 18px;
  text-align: center;
}
.endorsement-title {
  font-size: 56px;
  font-weight: 700;
  color: #070355;
  margin-bottom: 24px;
}
.endorsement-intro-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}
.endorsement-intro-inner p {
  font-size: 18px;
  font-weight: 500;
  color: #070355;
  line-height: 1.6;
  margin-bottom: 12px;
}
.btn-endorse {
  display: inline-block;
  margin-top: 16px;
  background: #089556;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
}
.btn-endorse:hover {
  background: #067a47;
  color: #fff;
}
.endorsement-body {
  background: #fff;
  padding: 36px 18px;
}
.endorsement-row {
  display: flex;
  gap: 0;
  margin-bottom: 0;
}
.endorsement-col {
  flex: 1;
  min-width: 0;
}
.endorsement-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.endorsement-category-title {
  font-size: 24px;
  font-weight: 700;
  color: #070355;
  margin-bottom: 16px;
}
.section-2-title {
  margin-top: 36px;
  margin-bottom: 16px;
}
.endorser-list {
  list-style: disc;
  padding-left: 40px;
  margin: 0 0 10px;
}
.endorser-list li {
  padding: 0 0 0 12px;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #070355;
  line-height: 28.8px;
}

/* --- You Decide Page --- */
.yd-section {
  background: #fff;
  padding: 36px 18px;
}
.yd-header {
  font-size: 38px;
  font-weight: 700;
  color: #070355;
  margin-bottom: 16px;
  text-align: left;
  margin-top: -130px;
  padding-top: 130px;
}
.yd-video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
}
.yd-video-item {
  width: 300px;
}
.yd-video-embed {
  width: 100%;
  height: 370px;
}
.yd-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* Row 2 videos are landscape orientation */
.yd-video-row-landscape .yd-video-item:first-child {
  width: 289px;
}
.yd-video-row-landscape .yd-video-item:first-child .yd-video-embed {
  height: 163px;
}
.yd-video-row-landscape .yd-video-item:last-child {
  width: 250px;
}
.yd-video-row-landscape .yd-video-item:last-child .yd-video-embed {
  height: 141px;
}
.yd-video-label {
  font-size: 18px;
  font-weight: 700;
  color: #0e121e;
  margin-top: 8px;
  margin-bottom: 0;
}
.yd-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 36px;
  border: 1px solid #F2F2F4;
  box-shadow: 0 5px 14px rgba(14, 18, 30, 0.04);
  margin-bottom: 36px;
}
.yd-quote {
  color: #717379;
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  line-height: 28.8px;
  margin: 18px 0;
  padding-left: 36px;
}
.yd-name {
  color: #0e121e;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}
.yd-name a {
  color: #0e121e;
  text-decoration: none;
}
.yd-name a:hover {
  color: #3A75B4;
}
.yd-role {
  color: #717379;
  font-size: 18px;
  font-weight: 500;
}

/* --- Issue Subpages & Voting Page --- */
.issue-page-section {
  background: #fff;
  padding: 0 0 60px;
  color: #070355;
  font-size: 18px;
}
.issue-banner {
  background: #070355;
  text-align: left;
  flex-flow: column;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: flex;
}
.issue-link {
  background: #070355;
  color: #fff;
  padding: 10px 20px;
  display: inline;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.issue-link:hover {
  color: #ccc;
}
.issue-page-title {
  background: #070355;
  color: #fff;
  text-align: center;
  padding-bottom: 32px;
  font-size: 2.3em;
  font-weight: 700;
}
.issue-page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 20px 0;
  text-align: left;
}
.issue-page-inner h2 {
  font-size: 38px;
  font-weight: 700;
  color: #070355;
  margin-top: 40px;
  margin-bottom: 16px;
}
.issue-page-inner h3 {
  font-size: 24px;
  font-weight: 700;
  color: #070355;
  margin-top: 28px;
  margin-bottom: 12px;
}
.issue-page-inner p {
  font-size: 18px;
  font-weight: 500;
  color: #070355;
  line-height: 1.6;
  margin-bottom: 18px;
}
.issue-page-inner ul {
  padding-left: 24px;
  margin-bottom: 18px;
}
.issue-page-inner ul li {
  font-size: 18px;
  font-weight: 500;
  color: #070355;
  line-height: 1.6;
  margin-bottom: 8px;
}
.issue-page-inner a {
  color: #3A75B4;
}
.issue-page-inner a:hover {
  color: #070355;
}
.issue-page-inner hr {
  border: none;
  border-top: 1px solid #E0E2E7;
  margin: 32px 0;
}
.voting-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 24px auto;
}

/* --- Issues Page --- */
.issues-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  font-weight: 500;
  color: #26385E;
}
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.issue-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 4px solid #089556;
  transition: transform 0.2s, box-shadow 0.2s;
}
.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.issue-card h3 {
  color: #26385E;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
}
.issue-card p {
  color: #26385E;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.issue-card p a.issue-more-link {
  color: #3A75B4;
  font-weight: 700;
  text-decoration: none;
}
.issue-card p a.issue-more-link:hover {
  color: #089556;
  text-decoration: underline;
}

/* --- About Page --- */
.about-banner {
  background: #070355;
  padding: 50px 0 0;
  text-align: center;
  overflow: visible;
}
.about-banner h2 {
  color: #fff;
  font-size: 41.4px;
  font-weight: 700;
  text-align: center;
  padding: 32px 0 24px;
  margin: 0;
}
.about-banner-image {
  display: flex;
  justify-content: center;
}
.about-banner-image img {
  width: 480px;
  height: 540px;
  object-fit: cover;
  display: block;
}
.about-badges {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: nowrap;
  padding: 36px 20px;
}
.about-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  color: #070355;
}
.checkmark-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #3A75B4;
  border-radius: 100%;
}
.checkmark-icon::after {
  content: '';
  display: block;
  width: 8px;
  height: 14px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.about-float-image {
  float: left;
  width: 405px;
  margin: 0 24px 16px 0;
}
.about-float-image img {
  width: 100%;
  height: auto;
  display: block;
}
.about-content {
  background: #fff;
  padding: 0 0 60px;
}
.about-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.about-inner h2 {
  font-size: 38px;
  font-weight: 700;
  color: #070355;
  margin-top: 40px;
  margin-bottom: 16px;
}
.about-inner p {
  font-size: 18px;
  font-weight: 500;
  color: #070355;
  line-height: 1.6;
  margin-bottom: 18px;
}
.about-inner ul {
  padding-left: 24px;
  margin-bottom: 18px;
}
.about-inner ul li {
  font-size: 18px;
  font-weight: 500;
  color: #070355;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* --- Join / Get Involved Form --- */
.form-section {
  max-width: 640px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0e121e;
  color: #0e121e;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #A2B6D0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: #3A75B4;
}
.checkbox-group {
  margin-bottom: 20px;
}
.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  color: #0e121e;
  font-weight: 400;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: #089556;
}
.form-note {
  font-size: 12.6px;
  color: #717379;
  margin-top: 8px;
}
.form-message {
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
}
.form-message.success {
  display: block;
  background: #e6f7ed;
  color: #089556;
  border: 1px solid #089556;
}
.form-message.error {
  display: block;
  background: #ffeaea;
  color: #c33;
  border: 1px solid #c33;
}

/* --- Footer (white bg, centered social icons, centered text) --- */
.site-footer {
  background: #fff;
  color: #666;
  padding: 32px 0;
  border-top: 1px solid #E0E2E7;
}
.footer-content {
  text-align: center;
}
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}
.social-links a img {
  width: 40px;
  height: 40px;
}
.footer-legal {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}
.footer-legal a {
  color: #070355;
  font-weight: 600;
}
.footer-legal a:hover {
  color: #3A75B4;
}

/* --- Responsive: mobile --- */
@media (max-width: 960px) {
  .site-nav .container {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
    order: 2;
  }
  .nav-brand {
    order: 1;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 3;
  }
  .nav-cta {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 4;
  }
  .nav-links.open,
  .nav-cta.open {
    display: flex;
  }
  .nav-links li a {
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.95rem;
  }
  .nav-cta .donate a {
    display: block;
    text-align: center;
    border-radius: 0;
    padding: 14px 20px;
  }

  .hero-wrapper {
    flex-direction: column;
    padding: 10px;
  }
  .hero-text {
    flex: none;
    padding: 32px 24px;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .hero-image {
    flex: none;
  }

  .endorsers-home {
    flex-direction: column;
  }
  .endorsers-home-image {
    flex: none;
    width: 100%;
  }

  .about-badges {
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-float-image {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
  .about-banner-image img {
    width: 100%;
    height: auto;
  }

  .endorsement-row {
    flex-direction: column;
  }
  .endorsement-col {
    flex: none;
    width: 100%;
  }
  .endorsement-title {
    font-size: 36px;
  }
  .yd-video-item {
    width: 100% !important;
    max-width: 400px;
  }
  .yd-card {
    padding: 16px 20px;
  }
}
