:root {
  --teal-dark: #114e58;
  --teal-dark-2: #0d4751;
  --gold: #f5c518;
  --gold-deep: #e9b800;
  --cyan: #1ea7b6;
  --cyan-light: #2bb6c4;
  --ink: #1c1c1c;
  --ink-soft: #2a2a2a;
  --white: #ffffff;
  --page-max: 1040px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

a { text-decoration: none; color: inherit; }

.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ HEADER / NAV ============ */
.site-header {
  background: var(--teal-dark);
  border-bottom: 1px solid #ececec;
}
@media(min-width:990px){
	.site-header {
  		background: var(--white);
	}
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 28px;
  max-width: var(--page-max);
  margin: 0 auto;
  position: relative;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1 1 auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav a.navlink {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--teal-dark);
  text-transform: uppercase;
  border-bottom: 2.5px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.15s ease;
}
.nav a.navlink:hover { color: var(--cyan); }
.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: transform 0.15s ease, background 0.15s ease;
}
.social:hover { transform: translateY(-2px); background: var(--cyan-light); }
.social svg { width: 21px; height: 21px; fill: var(--white); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--teal-dark);
  overflow-y:visible;
	padding-bottom: 6em;
}
.hero-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 8px 28px 0;
  display: grid;
  grid-template-columns: 1fr minmax(0, 350px);
  align-items: start;
	position:relative;
}
.hero-copy { padding: 46px 0 0; position: relative; z-index: 3; }
.hero-eyebrow {
  color: var(--gold);
  font-size: 38px;
  font-weight: 400;
  margin: 0 0 2px;
  letter-spacing: 0.01em;
}
.hero-name {
  color: var(--white);
  font-size: 92px;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero-ward {
  color: var(--gold);
  font-size: 38px;
  font-weight: 400;
  margin: 0;
}
.hero-photo {
  position: relative;
  z-index: 2;
  align-self: end;
}
.hero-photo image-slot {
  width: 100%;
  height: 560px;
  display: block;
}

.hero-after{
	max-width: var(--page-max);
	margin: auto;
	position:relative;
	 margin-top: 3em;
}

@media(min-width:990px){
	.hero {
		padding-top:6em;	
	}
}

#dijital-share{
	background-color: #fff;
	text-align:center;
}

#dijital-share img{
	width: 100%;
    max-width: 600px;
    display: inline-block;
}

#headshot{
	position: absolute;
    width: 100%;
    max-width: 1000px;
    right: 0;
    bottom: -120px;
}

/* decorative swoosh */
.swoosh {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    width: 75%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.donate-row {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 28px 46px;
  position: relative;
  z-index: 4;
}
.btn-donate {
  display: inline-block;
  background: var(--gold);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 30px;
  margin-top:1em;
  padding: 16px 42px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.15s ease, background 0.15s ease;
  position: relative;
    top: -30px;
    left: 25px;	
}
.btn-donate:hover { background: var(--gold-deep); transform: translateY(-2px); }

.donate-help-wrap{
	padding-top:2em;
	max-width: var(--page-max);
	margin: auto;
}
    

@media(min-width:990px){
	.btn-donate {
		position: relative;
		top: 30px;
	}
}

/* ============ ABOUT ============ */
.section { padding: 32px 0; }

@media(min-width:990px){
	.section { padding: 64px 0; }
}

.h2 {
  color: var(--teal-dark);
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
}
.lede p {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 940px;
}
.lede strong { font-weight: 800; }

.priorities {
  margin-top: 40px;
  border: 4px solid var(--gold);
  border-radius: 26px;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.priorities image-slot {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
}
.pri-list { display: flex; flex-direction: column; gap: 26px; padding: 25px 26px; }

@media(min-width:990px){
	.pri-list { padding: 50px 26px; }
	.priorities{
		gap: 40px;
	}
}
.pri {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.pri-check {
  width: 34px;
  height: 34px;
  color: var(--teal-dark);
}
.pri h3 {
  margin: 4px 0 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}
.pri p {
  margin: 0;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============ JOIN ============ */
.join {
  background: var(--gold);
  padding: 58px 0;
}
.join .h2 { color: var(--teal-dark); margin-bottom: 14px; }
.join-sub {
  color: var(--teal-dark);
  font-size: 19px;
  max-width: 860px;
  margin: 0 0 32px;
  font-weight: 500;
}
.join-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: stretch;
}
.join-form input {
  background: var(--white);
  border: 2.5px solid var(--cyan);
  border-radius: 6px;
  padding: 16px 18px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 700;
  color: var(--teal-dark);
  width: 100%;
}
.join-form input::placeholder { color: var(--cyan); font-weight: 700; opacity: 1; }
.join-form input:focus { outline: 3px solid rgba(17,78,88,0.25); border-color: var(--teal-dark); }
.btn-join {
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 800;
  padding: 0 40px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-join:hover { background: var(--teal-dark-2); transform: translateY(-2px); }



#mc_embed_signup form {
    display: flex;
    gap: 18px;
    align-items: stretch;
    flex-wrap: wrap;
}
#mc_embed_signup form input {
  background: var(--white);
  border: 2.5px solid var(--cyan);
  border-radius: 6px;
  padding: 16px 18px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 700;
  color: var(--teal-dark);
  width: 100%;
}
#mc_embed_signup form input::placeholder { color: var(--cyan); font-weight: 700; opacity: 1; }
#mc_embed_signup form input:focus { outline: 3px solid rgba(17,78,88,0.25); border-color: var(--teal-dark); }
#mc-embedded-subscribe {
  background: var(--teal-dark) !important;
  color: var(--white) !important;
  border: none !important;
  font-family:"Helvetica Neue", Helvetica, Arial, sans-serif !important;
  border-radius: 8px;
  font-size: 22px !important;
  font-weight: 800 !important;
  padding: 0 40px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
#mc-embedded-subscribe:hover { background: var(--teal-dark-2) !important; transform: translateY(-2px); }

.campaign-btn-container{
    display: flex;
    justify-content:center;
    flex-wrap:wrap;
    padding-top:2em;
}

@media(min-width:990px){
	.campaign-btn-container{
		justify-content:flex-start;
	}
}

.campaign-btn {
    display: block;

    text-align: center;
    width: 100%;
    background: var(--teal-dark) !important;
    color: var(--white) !important;
    border: none !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    border-radius: 8px;
    font-size: 22px !important;
    font-weight: 800 !important;
    padding: 16px 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
	margin: 1em 1em;
}
.campaign-btn:hover { background: var(--teal-dark-2) !important; transform: translateY(-2px); }

.mc-field-group {
    width: 100%;
}

.mc-submit-group{
    width: 100%; 
}

.desktop-only{
	display: none;
}

.mobile-only{
	display: block;
}

@media(min-width:990px){
    #mc_embed_signup form {
        flex-wrap: nowrap;
    }
	.mc-field-group {
		max-width: 375px;
	}

	.mc-submit-group{
		max-width: 215px;    
	}
	.campaign-btn {
    	max-width: 215px;		
		margin: 0 4.25em;
	}
	.desktop-only{
		display: block;
	}

	.mobile-only{
		display: none;
	}	
}

/* ============ NEWS ============ */
.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.news-head .h2 { margin: 0; }
.news-arrows { display: flex; gap: 12px; }
.arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--white);
  color: var(--cyan);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 22px;
  transition: background 0.15s ease, color 0.15s ease;
}
.arrow:hover { background: var(--cyan); color: var(--white); }
.news-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border: 2px solid var(--cyan);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.news-card:hover { box-shadow: 0 10px 28px rgba(30,167,182,0.18); transform: translateY(-3px); }
.news-card image-slot { width: 100%; height: 190px; display: block; }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.news-tag {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-card h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--teal-dark); line-height: 1.25; }
.news-card p { margin: 0; font-size: 15px; color: #4a4a4a; }
.news-more {
  margin-top: auto;
  padding-top: 12px;
  color: var(--cyan);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.article-container{
    max-width:1040px;
    width:100%;
    margin: auto;
}

.excerpt-photo{
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.all-posts-row{
    display: block;
    width: 100%;
    max-width: 1040px;
    color: var(--teal-dark);
    font-size: 1.5em;
    font-weight: bold;
    margin: 1.5em auto;
    text-align:right;
}

img.blog-post-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.blog-content{
    margin: 2em 0;
}

.blog-content p{
    font-size: 1.5em;
}

.blog-archive-container h1{
    padding: 0 15px;
    margin: 1em 0;
}

.blog-post h1{
    margin: 1em 0;
}

.contactpage h1 {
    font-size: 4em;
}

.contactpage p{
    font-size: 1.25em;
    margin-bottom: 2em;
}

.post-here{
    display:none;
}

.contact-container .wpcf7-submit{
    color: #114e58;
    background-color: #f5c518;
    padding: 0.25em 2em;
    font-size: 2em;
    font-weight: 800;
    border: 0;
    border-radius: 35px;
    transition: transform 0.15s ease, background 0.15s ease;
}
.contact-container .wpcf7-submit:hover{
    background: var(--gold-deep);
    transform: translateY(-2px);
}

.contact-container h1{
    color: var(--teal-dark);
    font-size: 42px;
    font-weight: 800;
    margin: 1em 0;
	margin-bottom:0.5em;
    letter-spacing: -0.01em;
}

#event-calendar{
    margin: auto;
    border: 0;
    display: block;
    width: 100%;
    max-width: 1000px;
}

div#mce-success-response {
    font-size: 2em;
    font-weight: bold;
    color: #1c7b8b;
    padding-top: 0.5em;
    text-align: center;
}



/* ============ FOOTER ============ */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
  margin-top: 64px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { font-weight: 800; font-size: 18px; color: var(--white); letter-spacing: 0.02em; }
.footer-inner .socials .social { background: rgba(255,255,255,0.12); }
.footer-inner .socials .social:hover { background: var(--cyan); }
.footer-note { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .nav { gap: 18px 22px; }
  .hero-inner { grid-template-columns: 1fr; position:relative; }
  .hero-copy { padding-top: 32px; }
  .hero-name { font-size: 62px; }
  .hero-eyebrow, .hero-ward { font-size: 30px; }
  .hero-photo { max-width: 320px; margin: 0 auto;  }
  .hero-photo image-slot { height: 420px; }
  .swoosh { display: none; }
  .donate-row { padding-top: 30px; text-align: center; }
  .priorities { grid-template-columns: 1fr; }
  .priorities image-slot { min-height: 340px; }
  .join-form { grid-template-columns: 1fr; }
  #mc_embed_signup form {grid-template-columns: 1fr; }
  .news-track { grid-template-columns: 1fr; }
  .h2 { font-size: 34px; }
}
/* ---- Mobile: collapse nav into a slide-down hamburger menu ---- */
@media (max-width: 700px) {
  .nav { justify-content: flex-end; gap: 0; }
  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-top: 1px solid #ececec;
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.34s ease, opacity 0.22s ease;
    z-index: 50;
  }
  .nav.open .nav-menu { max-height: 80vh; opacity: 1; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.navlink {
    border-bottom: 1px solid #eee;
    padding: 16px 28px;
    font-size: 16px;
  }
  .nav a.navlink:hover { color: var(--cyan); background: #f6fbfc; }

  .socials {
    margin-left: 0;
    justify-content: center;
    gap: 18px;
    padding: 20px 28px 24px;
    background: var(--teal-dark);
  }

  /* hamburger morphs into an X when open */
  .nav.open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .wrap, .nav, .hero-inner, .donate-row { padding-left: 18px; padding-right: 18px; }
  .hero-name { font-size: 48px; }
  .btn-donate { font-size: 24px; padding: 14px 32px; }
}

/* Modal styles */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: 999;
  transition: all 0.3s ease;
  color:#fff;


  .modal-backdrop {
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: unset !important;
  }

  .modal-content {
    background-color:var(--teal-dark);
    border-radius: 5px;
    max-width: 600px;
    position: fixed;
    top: -100%;
    transition: all 0.6s ease;
    z-index: 1000;
  }

  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;

    .close-modal {
      font-size: 2rem;
      padding: 0;
      margin: 0;
      height: 30px;
      width: 30px;
      text-align: center;
        line-height: 30px;
        background-color: unset;
        color:#fff;
        border: 0;      

      &:hover {
        color: #000;
        cursor:pointer;
      }
    }
  }
  
    h2.modal-title {
        margin: 0;
    }  

  .modal-body {
    padding: 1.5rem;
    padding-top: 0;
  }
  
    .modal-body p {
        margin: 0;
    }  

  .modal-footer {
    border-top: 1px solid #ccc;
    padding: 1rem;
    text-align: right;
  }

  &.visible {
    opacity: 1;
    visibility: visible;
    background-color: #ffffff61;
    backdrop-filter: blur(10px);

    .modal-content {
      top: 25%;
    }
  }
}

#copyright {
    padding-top: 1em;
    text-align: center;
    font-size: 1.25em;
}


