* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #e6d7cf;
  --bg-light: #f3ebe6;
  --text-main: #4d4947;
  --rose: #c2697c;
  --rose-dark: #ae5568;
  --green: #277a52;
  --white: #ffffff;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.7;
}

main, .page-wrapper {
    overflow-x: hidden;
    width: 100%;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h3 {
  font-size: 2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 235, 230, 0.75);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.section-body-smaller {
  margin-top: -1rem;
  padding-bottom: 1rem;
  margin-left: 3rem;
  margin-right: 3rem;
}

span a {
  text-decoration: none;
  color: #ae5568;
}

span a:hover {
  text-decoration: none;
  color: #4d4947;
}

/* DROPDOWN - MAIN */

.dropdown {
  position: relative;
}

.dropdown-btn {

  background: none;
  border: none;

  font: inherit;

  cursor: pointer;

  color: var(--text-main);

  font-weight: 600;

  display: flex;
  align-items: center;
  gap: .4rem;
}

.dropdown-menu {

  position: absolute;

  top: 120%;
  left: 0;

  min-width: 170px;

  background: white;

  border-radius: 12px;

  box-shadow: 0 15px 30px rgba(0, 0, 0, .12);

  opacity: 0;

  visibility: hidden;

  transform: translateY(8px);

  transition: .25s ease;

  overflow: hidden;
}

.dropdown-menu a {

  display: block;

  padding: .9rem 1.25rem;

  text-decoration: none;

  color: var(--text-main);
}

.dropdown-menu a:hover {

  background: #f6efeb;
}

.dropdown:hover .dropdown-menu {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  width: 70px;
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-main);
}

/* DROPDOWN - MOBILE */

.mobile-nav {

  display: none;
  flex-direction: column;

  background: var(--bg-light);

  padding: .5rem .2rem .2rem;

  border-top: 1px solid rgba(0, 0, 0, .08);

}

.show-mobile-nav {
  display: flex;
}

.mobile-nav-group {
  margin-top: .75rem;
}

#mobile-nav-first {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#mobile-nav-last {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-nav-list-header {

  color: var(--green);

  font-size: 1rem;

  padding-left: 1rem;

  text-transform: uppercase;

  letter-spacing: 2px;

  text-decoration: none;

  margin-bottom: .75rem;

  font-weight: 700;

}

.mobile-nav-list-item {

  display: block;

  padding-left: 2rem;

  color: var(--text-main);

  text-decoration: none;

  font-weight: 500;

}

.mobile-nav a:hover {

  color: var(--rose);

}

.hero {
  position: relative;

  min-height: 52vh;

  display: flex;
  align-items: center;

  background:
    linear-gradient(rgba(44, 30, 24, 0.25),
      rgba(44, 30, 24, 0)),
    url('../../images/sptormainbanner.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  color: white;
}

.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.35);

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.hero-subtext {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.15rem;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-map {
  text-align: center;
}

.btn-primary {
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: white;
  color: var(--text-main);
}

.btn-primary:hover {
  background: var(--rose-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  color: white;
  background: var(--green);
}

.btn-secondary:hover {
  background: white;
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-secondary-dark {
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: var(--rose-dark);
  background: white;
}

.btn-secondary-dark:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: white;
  background: var(--rose-dark);
}

.featured-event,
.story-section {
  padding: 7rem 0;
}

.events-section,
.ourteam-section {
  padding-top: 8rem;
}

.get-involved {
  padding-top: 8rem;
}

.contacts-section {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding-top: 3rem;
}

.newsletter-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* ==========================================
   SOCIAL SECTION
========================================== */

.social-section {

  padding: 5rem 0;

  background: #f8f2ee;

}


.age-section {

  margin-left: -20vw;
  margin-right: -20vw;
  padding-right: 20vw;
  padding-left: 20vw;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #f8f2ee;

}

.social-links {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));

  gap: 1.5rem;

  margin-top: 3rem;

}

.social-card {

  display: flex;

  align-items: center;

  gap: 1rem;

  padding: 1.5rem;

  background: white;

  border-radius: 16px;

  text-decoration: none;

  color: inherit;

  border: 1px solid rgba(0, 0, 0, .06);

  transition: .25s ease;

}

.social-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

}

.social-card i {

  font-size: 2rem;

  color: var(--rose);

  width: 45px;

  text-align: center;

}

.social-card h3 {

  margin: 0 0 .25rem;

  font-size: 1.1rem;

}

.social-card span {

  color: #777;

  font-size: .9rem;

}

@media(max-width:768px) {

  .social-links {

    grid-template-columns: 1fr;

  }

}

.featured-ribbon {
  position: relative;
  margin-top: -2vh;
  margin-bottom: -1vh;
  z-index: 20;
}

.featured-ribbon-card {

  width: min(1100px, 92%);
  margin: 0 auto;

  background: #f8f2ee;

  border-radius: 18px;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, .08);

  display: grid;
  grid-template-columns: 70px 1fr auto;

  align-items: center;

  gap: 1.5rem;

  padding: 1.25rem 2rem;
}

.featured-ribbon-image img {

  width: 14vh;
  height: auto;

  object-fit: contain;

  padding-right: 5vh;
}

.featured-ribbon-content h3 {

  margin: 0 0 1vh 0;

  font-size: 1.8rem;
}

.featured-ribbon-content p {

  margin: 0;

  color: #666;
}

.featured-label {

  display: block;

  font-size: .8rem;

  font-weight: 700;

  color: var(--green);

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: .3rem;
}

.featured-ribbon-action {

  display: flex;
  justify-content: flex-end;
}

.get-involved {
  background: var(--bg-main);
  margin-top: -10vh;
  margin-bottom: -10vh;
}

.story-section {
  background: var(--bg-light);
}

.featured-grid,
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-image img,
.story-grid img {
  border-radius: 20px;
}

.event-date {
  color: var(--green);
  font-weight: 700;
  margin: 1rem 0;
}

.card-grid,
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.events-grid {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.event-card {
  background: white;
  max-width: 65vw;
  justify-self: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
  margin-bottom: 1.5rem;
}

.news-card {
  background: white;
  max-width: 90vw;
  justify-self: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
  margin-bottom: 1.5rem;
}

.info-card:hover,
.event-card:hover,
.news-card:hover {
  transform: translateY(-5px);
}

.info-card img,
.event-card img {
  min-height: 175px;
  max-height: 400px;
  object-fit: cover;
}

.card-content,
.event-content,
.news-content {
  padding: 2rem;
}

.image-desc-box {
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
}

.important-text {
  color: #ae5568;
  font-weight: bold;
}

.event-content a,
.news-content a {
  color: var(--rose);
  font-weight: 700;
  text-decoration: none;
}

.newsletter-box {
  background: var(--bg-light);
  padding: 4rem;
  border-radius: 24px;
  text-align: center;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.newsletter-form input {
  width: 340px;
  padding: 1rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

/* ==========================================
   OUR TEAM
========================================== */

.team-directory {

  margin: 5rem 0;

}

.directory-list {

  margin-top: 2rem;

  background: #fff;

  border-radius: 16px;

  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, .08);

}

.directory-row {

  display: grid;

  grid-template-columns: 2fr 1fr;

  align-items: center;

  gap: 2rem;

  padding: 1.1rem 1.5rem;

  border-bottom: 1px solid rgba(0, 0, 0, .06);

  transition: background .2s ease;

}

.directory-row:last-child {

  border-bottom: none;

}

.directory-row:hover {

  background: #f8f2ee;

}

.position {

  font-weight: 600;

  color: var(--text-main);

}

.name {

  text-align: right;

  color: var(--green);

  font-weight: 700;

}

li {
  width: 2.5em;
  height: 2.5em;
}

@media (max-width:768px) {

  .directory-row {

    grid-template-columns: 1fr;

    gap: .35rem;

    text-align: left;

  }

  .name {

    text-align: left;

  }

}

.site-footer {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
  background: #d8c6bc;
}

.footer-logo {
  width: 90px;
  margin: 0 auto 1rem;
}

/* MOBILE VIEW */
@media screen and (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .featured-grid,
  .story-grid,
  .card-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 52vh;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .featured-ribbon-card {

    width: min(1100px, 92%);
    margin: 0 auto;

    background: #f8f2ee;

    border-radius: 18px;

    box-shadow:
      0 12px 30px rgba(0, 0, 0, .08);

    display: grid;
    grid-template-columns: 70px 1fr auto;

    align-items: center;

    gap: 1.5rem;

    padding: .75rem 1.25rem;
  }

  .featured-ribbon-content h3 {

    margin: 0 0 .25vh 0;

    font-size: 1.1rem;
  }

  .featured-ribbon-action {

    max-width: 60px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-secondary-dark {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-box {
    padding: 2.5rem;
  }

  @media (max-width: 900px) {

    .desktop-nav {
      display: none;
    }

    .mobile-toggle {
      display: block;
    }

  }
}