:root {
  --primary: #063b4c;
  --primary-light: #0c6174;
  --secondary: #b8892c;
  --secondary-light: #e6c879;
  --background: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #edf3f4;
  --text: #1d2b31;
  --text-muted: #63747b;
  --border: #d9e3e6;
  --shadow: 0 14px 40px rgba(5, 48, 62, 0.12);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(230, 200, 121, 0.18),
      transparent 30%
    ),
    var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

/*
========================================
HEADER
========================================
*/

.site-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
}

.header-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 10px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 96px;
  gap: 20px;
  align-items: center;
}

.header-center {
  min-width: 0;
  text-align: center;
}

.header-logo {
  width: 98px;
  height: 98px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(5, 48, 62, 0.12);
}

.header-logo:last-child {
  justify-self: end;
}

.header-banner {
  width: 100%;
  max-height: 135px;
  margin: 0 auto;
  object-fit: contain;
}

.charity-status {
  margin-top: 4px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.charity-status span {
  color: var(--secondary);
}

/*
========================================
NAVIGATION
========================================
*/

.main-navigation {
  position: relative;
  z-index: 1001;
  width: 100%;
  background: var(--primary);
  box-shadow: 0 5px 18px rgba(5, 48, 62, 0.18);
}

.navigation-inner {
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.main-menu {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
}

.main-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.main-menu > li > a,
.submenu-button {
  min-height: 52px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.main-menu > li > a:hover,
.main-menu > li > a:focus,
.submenu-button:hover,
.submenu-button:focus,
.main-menu > li > a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--secondary-light);
  outline: none;
}

.menu-arrow {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.has-submenu:hover .menu-arrow,
.has-submenu.open .menu-arrow {
  transform: rotate(180deg);
}

.submenu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  width: 225px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-top: 3px solid var(--secondary-light);
  border-radius: 0 0 12px 12px;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(5, 48, 62, 0.2);
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.open > .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.submenu li {
  width: 100%;
}

.submenu a {
  padding: 11px 18px;
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
}

.submenu a:hover,
.submenu a:focus,
.submenu a.active {
  padding-left: 23px;
  background: var(--surface-soft);
  color: var(--secondary);
  outline: none;
}

.menu-highlight {
  margin-left: 12px;
  align-items: center !important;
}

.main-menu .menu-highlight a {
  min-height: 38px;
  margin: 7px 0;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--secondary-light);
  color: #19333b;
}

.main-menu .menu-highlight a:hover {
  background: #ffffff;
  color: var(--primary);
}

/*
========================================
MOBILE MENU BUTTON
========================================
*/

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  margin: 5px auto;
  display: block;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*
========================================
PAGE HERO
========================================
*/

.page-hero {
  overflow: hidden;
  position: relative;
  padding: 90px 0 80px;
  background:
    linear-gradient(
      110deg,
      rgba(4, 46, 59, 0.98),
      rgba(10, 91, 108, 0.94)
    );
  color: #ffffff;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -220px;
  right: -90px;
  border: 1px solid rgba(230, 200, 121, 0.35);
  border-radius: 50%;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  bottom: -140px;
  left: -80px;
  border-radius: 50%;
  background: rgba(230, 200, 121, 0.08);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.page-label {
  margin-bottom: 14px;
  color: var(--secondary-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/*
========================================
ABOUT PAGE
========================================
*/

main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: start;
}

.about-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 25px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.about-card p {
  margin: 0 0 21px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.side-column {
  display: grid;
  gap: 24px;
}

.info-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(5, 48, 62, 0.08);
}

.info-number {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.info-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/*
========================================
VALUES
========================================
*/

.values-section {
  margin-top: 75px;
}

.values-heading {
  max-width: 750px;
  margin-bottom: 30px;
}

.values-heading h2 {
  margin: 0 0 12px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.values-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(5, 48, 62, 0.07);
}

.value-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.15rem;
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/*
========================================
CONTACT CALLOUT
========================================
*/

.community-callout {
  margin-top: 75px;
  padding: clamp(34px, 6vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(
      110deg,
      var(--primary),
      var(--primary-light)
    );
  color: #ffffff;
  box-shadow: var(--shadow);
}

.community-callout h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.community-callout p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.callout-button {
  min-height: 48px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--secondary-light);
  color: #19333b;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.callout-button:hover {
  transform: translateY(-2px);
}

/*
========================================
FOOTER
========================================
*/

.site-footer {
  padding: 42px 20px;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.footer-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
}

.site-footer p {
  margin: 5px 0;
}

.site-footer a {
  color: var(--secondary-light);
}

/*
========================================
TABLET AND MOBILE
========================================
*/

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    gap: 10px;
  }

  .header-logo {
    width: 64px;
    height: 64px;
  }

  .header-banner {
    max-height: 85px;
  }

  .charity-status {
    font-size: 0.8rem;
  }

  .navigation-inner {
    min-height: 50px;
    justify-content: flex-end;
  }

  .menu-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: var(--primary);
    box-shadow: 0 14px 28px rgba(5, 48, 62, 0.24);
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu > li {
    width: 100%;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-menu > li > a,
  .submenu-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    justify-content: space-between;
    text-align: left;
  }

  .submenu {
    display: none;
    visibility: visible;
    opacity: 1;
    position: static;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.14);
    box-shadow: none;
    transform: none;
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    display: none;
  }

  .has-submenu.open > .submenu {
    display: block;
  }

  .submenu a {
    padding: 12px 20px 12px 38px;
    color: rgba(255, 255, 255, 0.9);
  }

  .menu-highlight {
    margin-left: 0;
    padding: 8px 18px 14px;
  }

  .main-menu .menu-highlight a {
    min-height: 42px;
    margin: 0;
    justify-content: center;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .community-callout {
    grid-template-columns: 1fr;
  }

  .callout-button {
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .header-inner {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0 8px;
  }

  .header-logo {
    width: 52px;
    height: 52px;
  }

  .header-logo:last-child {
    display: none;
  }

  .header-banner {
    max-height: 70px;
  }

  .charity-status {
    margin-top: 2px;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .page-hero {
    padding: 65px 0 58px;
  }

  main {
    width: min(var(--max-width), calc(100% - 24px));
    padding: 58px 0;
  }

  .about-card,
  .info-card,
  .value-card {
    padding: 25px;
  }

  .community-callout {
    padding: 32px 25px;
  }

  .callout-button {
    width: 100%;
  }
}

/*
========================================
EXECUTIVE BOARD PAGE
========================================
*/

.leadership-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 65px 0 90px;
}

.leadership-heading {
  max-width: 820px;
  margin: 0 auto 55px;
  text-align: center;
}

.leadership-heading h1 {
  margin: 0;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.1;
}

.leadership-heading > p:last-child {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.heading-line {
  width: 105px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--secondary);
}

/*
----------------------------------------
GROUP SECTIONS
----------------------------------------
*/

.leadership-group {
  width: 100%;
  margin-bottom: 62px;
}

.group-heading {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  gap: 20px;
  align-items: center;
}

.group-heading span {
  height: 1px;
  background: var(--border);
}

.group-heading h2 {
  margin: 0;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  text-align: center;
}

/*
----------------------------------------
DESKTOP LAYOUT: 4 + 4 + 2
----------------------------------------
*/

.leadership-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 190px));
  gap: 38px 28px;
  justify-content: space-between;
  align-items: start;
}

.leadership-grid-two {
  grid-template-columns: repeat(2, minmax(150px, 190px));
  justify-content: center;
  column-gap: 90px;
}

/*
----------------------------------------
MEMBER CARD
----------------------------------------
*/

.leadership-card {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.leadership-role {
  min-height: 26px;
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.leadership-photo-frame {
  overflow: hidden;
  width: 100%;
  max-width: 170px;
  height: 205px;
  margin: 0 auto;
  border: 1px solid #cbd6d9;
  border-radius: 7px;
  background: #eef2f3;
  box-shadow: 0 6px 18px rgba(5, 48, 62, 0.13);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.leadership-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.leadership-card:hover .leadership-photo-frame {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(5, 48, 62, 0.18);
}

.leadership-card h3 {
  margin: 11px 0 0;
  color: #202a2e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

/*
----------------------------------------
TABLET: TWO COLUMNS
Four columns remain until 760px.
----------------------------------------
*/

@media (max-width: 760px) {
  .leadership-grid,
  .leadership-grid-two {
    grid-template-columns: repeat(2, minmax(145px, 180px));
    justify-content: center;
    gap: 34px 28px;
  }

  .leadership-photo-frame {
    max-width: 160px;
    height: 192px;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 430px) {
  .leadership-main {
    width: calc(100% - 24px);
    padding: 48px 0 65px;
  }

  .leadership-heading {
    margin-bottom: 42px;
  }

  .leadership-group {
    margin-bottom: 50px;
  }

  .group-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .group-heading span {
    display: none;
  }

  .leadership-grid,
  .leadership-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
  }

  .leadership-photo-frame {
    width: 135px;
    max-width: 100%;
    height: 165px;
  }

  .leadership-role {
    min-height: 38px;
    font-size: 0.84rem;
  }

  .leadership-card h3 {
    font-size: 0.92rem;
  }
}

@media (max-width: 340px) {
  .leadership-grid,
  .leadership-grid-two {
    grid-template-columns: 1fr;
  }

  .leadership-card {
    max-width: 190px;
    margin: 0 auto;
  }

  .leadership-photo-frame {
    width: 160px;
    height: 195px;
  }
}
/*
========================================
EVENTS PAGE
========================================
*/

.events-main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 75px 0 90px;
}

.events-introduction {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.events-introduction .section-description {
  max-width: 700px;
  margin: 0 auto;
}

/*
----------------------------------------
EVENT LIST
----------------------------------------
*/

.events-page-list {
  display: grid;
  gap: 36px;
}

.events-page-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(5, 48, 62, 0.09);
}

.events-page-card-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.events-page-content {
  padding: clamp(30px, 5vw, 55px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-page-date {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.events-page-content h2 {
  margin: 0 0 8px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.events-page-location {
  margin: 0 0 20px !important;
  color: var(--primary-light) !important;
  font-size: 0.95rem;
  font-weight: 700;
}

.events-page-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.events-page-content p:last-child {
  margin-bottom: 0;
}

/*
----------------------------------------
EVENT IMAGES
----------------------------------------
*/

.events-page-images {
  min-height: 390px;
  display: grid;
  background: var(--surface-soft);
}

.events-page-images-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: var(--border);
}

.events-page-images img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

/*
----------------------------------------
ORLANDO GALLERY
----------------------------------------
*/

.events-page-card-gallery {
  display: block;
}

.events-page-card-gallery .events-page-content {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.events-gallery-grid {
  padding: 0 28px 28px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.events-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 13px;
}

.events-gallery-grid img:nth-child(1),
.events-gallery-grid img:nth-child(4),
.events-gallery-grid img:nth-child(5) {
  grid-column: span 7;
}

.events-gallery-grid img:nth-child(2),
.events-gallery-grid img:nth-child(3) {
  grid-column: span 5;
}

/*
----------------------------------------
YEAR PLACEHOLDER
----------------------------------------
*/

.events-page-placeholder {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-light)
    );
}

.events-page-placeholder span {
  color: var(--secondary-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 700;
  opacity: 0.9;
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 900px) {
  .events-page-card,
  .events-page-card-reverse {
    grid-template-columns: 1fr;
  }

  .events-page-card-reverse .events-page-content {
    order: 2;
  }

  .events-page-card-reverse .events-page-images,
  .events-page-card-reverse .events-page-placeholder {
    order: 1;
  }

  .events-gallery-grid img,
  .events-gallery-grid img:nth-child(1),
  .events-gallery-grid img:nth-child(2),
  .events-gallery-grid img:nth-child(3),
  .events-gallery-grid img:nth-child(4),
  .events-gallery-grid img:nth-child(5) {
    grid-column: span 6;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .events-main {
    width: calc(100% - 24px);
    padding: 55px 0 70px;
  }

  .events-page-list {
    gap: 26px;
  }

  .events-page-content {
    padding: 28px 24px;
  }

  .events-page-images-two {
    grid-template-columns: 1fr;
  }

  .events-page-images,
  .events-page-images img,
  .events-page-placeholder {
    min-height: 280px;
  }

  .events-gallery-grid {
    padding: 0 16px 16px;
    grid-template-columns: 1fr;
  }

  .events-gallery-grid img,
  .events-gallery-grid img:nth-child(1),
  .events-gallery-grid img:nth-child(2),
  .events-gallery-grid img:nth-child(3),
  .events-gallery-grid img:nth-child(4),
  .events-gallery-grid img:nth-child(5) {
    height: 240px;
    grid-column: 1 / -1;
  }
}
/*
========================================
ANNOUNCEMENTS PAGE
========================================
*/

.announcements-main {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 75px 0 90px;
}

.announcements-introduction {
  max-width: 780px;
  margin: 0 auto 45px;
  text-align: center;
}

.announcements-introduction .section-description {
  max-width: 680px;
  margin: 0 auto;
}

/*
----------------------------------------
ANNOUNCEMENT LIST
----------------------------------------
*/

.announcements-list {
  display: grid;
  gap: 26px;
}

.announcement-item {
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(5, 48, 62, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.announcement-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.announcement-featured {
  border-top: 5px solid var(--secondary-light);
}

.announcement-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--secondary-light);
  color: #263a41;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-item-content {
  padding: clamp(28px, 5vw, 46px);
}

.announcement-meta {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-item h2 {
  margin: 0 0 10px;
  padding-right: 90px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.announcement-item:not(.announcement-featured) h2 {
  padding-right: 0;
}

.announcement-location {
  margin: 0 0 18px !important;
  color: var(--primary-light) !important;
  font-weight: 700;
}

.announcement-item p {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.announcement-item p:last-of-type {
  margin-bottom: 0;
}

/*
----------------------------------------
FEES
----------------------------------------
*/

.announcement-fees {
  margin: 20px 0 0;
  padding: 20px 24px 20px 44px;
  border-left: 4px solid var(--secondary-light);
  border-radius: 0 12px 12px 0;
  background: var(--surface-soft);
  color: var(--text-muted);
}

.announcement-fees li {
  margin-bottom: 10px;
}

.announcement-fees li:last-child {
  margin-bottom: 0;
}

.announcement-fees strong {
  color: var(--primary);
}

/*
----------------------------------------
BUTTONS
----------------------------------------
*/

.announcement-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement-button {
  min-height: 44px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.announcement-button:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .announcements-main {
    width: calc(100% - 24px);
    padding: 55px 0 70px;
  }

  .announcement-item-content {
    padding: 28px 23px;
  }

  .announcement-label {
    position: static;
    width: max-content;
    margin: 20px 23px -8px;
  }

  .announcement-item h2 {
    padding-right: 0;
  }

  .announcement-meta {
    display: grid;
    gap: 4px;
  }

  .announcement-button {
    width: 100%;
  }

  .announcement-fees {
    padding: 18px 18px 18px 38px;
  }
}
/*
========================================
LEGACY FORM PAGES
========================================
*/

.page-content{
    width:min(1100px, calc(100% - 30px));
    margin:50px auto 80px;
}

.page-content table{
    max-width:100%;
}

.page-content img{
    max-width:100%;
    height:auto;
}
/*
========================================
CONTACT PAGE
========================================
*/

.contact-main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 75px 0 90px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 38px;
  align-items: start;
}

.contact-introduction {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--text-muted);
  font-size: 1.04rem;
}

/*
----------------------------------------
CONTACT INFORMATION CARDS
----------------------------------------
*/

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 24px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(5, 48, 62, 0.07);
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.contact-card p,
.contact-card address {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.65;
}

.contact-card a {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/*
----------------------------------------
CONTACT FORM
----------------------------------------
*/

.contact-form-card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.contact-form-note {
  margin: 0 0 28px;
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field label span {
  color: #b34a3c;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd7da;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(12, 97, 116, 0.13);
}

.contact-form-actions {
  padding-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-submit-button,
.contact-reset-button {
  min-height: 46px;
  padding: 11px 23px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.contact-submit-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.contact-reset-button {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary);
}

.contact-submit-button:hover,
.contact-reset-button:hover {
  transform: translateY(-2px);
}

.contact-submit-button:hover {
  background: var(--primary-light);
}

.contact-reset-button:hover {
  background: #ffffff;
}

/*
----------------------------------------
HELP SECTION
----------------------------------------
*/

.contact-help-section {
  margin-top: 75px;
}

.contact-help-heading {
  max-width: 750px;
  margin-bottom: 30px;
}

.contact-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.contact-help-grid article {
  padding: 27px 24px;
  border-top: 4px solid var(--secondary-light);
  border-radius: 10px 10px 18px 18px;
  background: var(--surface);
  box-shadow: 0 9px 25px rgba(5, 48, 62, 0.07);
}

.contact-help-grid h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.contact-help-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .contact-main {
    width: calc(100% - 24px);
    padding: 55px 0 70px;
  }

  .contact-form-card {
    padding: 27px 23px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 21px;
  }

  .contact-card-icon {
    width: 46px;
    height: 46px;
    font-size: 0.9rem;
  }

  .contact-help-section {
    margin-top: 60px;
  }

  .contact-help-grid {
    grid-template-columns: 1fr;
  }

  .contact-submit-button,
  .contact-reset-button {
    width: 100%;
  }
}
/*
========================================
PHOTO GALLERY PAGE
========================================
*/

.gallery-main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 75px 0 90px;
}

.gallery-introduction {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.gallery-introduction .section-description {
  margin: 0 auto;
}

/*
----------------------------------------
GALLERY SECTIONS
----------------------------------------
*/

.gallery-section {
  margin-bottom: 75px;
}

.gallery-section-heading {
  margin-bottom: 26px;
  padding-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.gallery-section-heading h2 {
  margin: 0 0 5px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.gallery-section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.gallery-event-date {
  margin-bottom: 5px !important;
  color: var(--secondary) !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/*
----------------------------------------
GALLERY GRIDS
----------------------------------------
*/

.gallery-grid {
  display: grid;
  gap: 15px;
}

.gallery-grid-one {
  grid-template-columns: 1fr;
}

.gallery-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid-masonry {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
}

.gallery-grid-masonry .gallery-photo {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-grid-masonry .gallery-photo-large {
  grid-column: span 7;
}

.gallery-grid-masonry .gallery-photo-tall {
  grid-column: span 5;
  grid-row: span 3;
}

/*
----------------------------------------
GALLERY PHOTO
----------------------------------------
*/

.gallery-photo {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 265px;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 15px;
  background: var(--surface-soft);
  box-shadow: 0 8px 24px rgba(5, 48, 62, 0.1);
  cursor: pointer;
}

.gallery-photo-wide {
  height: 500px;
}

.gallery-grid-masonry .gallery-photo {
  height: auto;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.gallery-photo-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 35px 16px 14px;
  background:
    linear-gradient(
      to top,
      rgba(4, 46, 59, 0.82),
      transparent
    );
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.gallery-photo:hover img,
.gallery-photo:focus img {
  transform: scale(1.045);
}

.gallery-photo:hover .gallery-photo-overlay,
.gallery-photo:focus .gallery-photo-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-photo:focus {
  outline: 3px solid var(--secondary-light);
  outline-offset: 3px;
}

/*
========================================
LIGHTBOX
========================================
*/

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  z-index: 5000;
  padding: 35px 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 20, 27, 0.94);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.gallery-lightbox.open {
  visibility: visible;
  opacity: 1;
}

.gallery-lightbox-content {
  max-width: 1100px;
  max-height: 90vh;
  text-align: center;
}

.gallery-lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-content p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 70px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  font-size: 2rem;
  transform: translateY(-50%);
}

.gallery-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-previous {
  left: 18px;
}

.gallery-lightbox-next {
  right: 18px;
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 900px) {
  .gallery-grid-four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .gallery-grid-masonry .gallery-photo,
  .gallery-grid-masonry .gallery-photo-large,
  .gallery-grid-masonry .gallery-photo-tall {
    height: 280px;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-photo-wide {
    height: 400px;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .gallery-main {
    width: calc(100% - 24px);
    padding: 55px 0 70px;
  }

  .gallery-section {
    margin-bottom: 55px;
  }

  .gallery-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .gallery-grid-two,
  .gallery-grid-four,
  .gallery-grid-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-photo,
  .gallery-photo-wide,
  .gallery-grid-masonry .gallery-photo,
  .gallery-grid-masonry .gallery-photo-large,
  .gallery-grid-masonry .gallery-photo-tall {
    height: 180px;
  }

  .gallery-photo-overlay {
    display: none;
  }

  .gallery-lightbox {
    padding: 60px 15px 25px;
  }

  .gallery-lightbox-content img {
    max-height: 72vh;
  }

  .gallery-lightbox-arrow {
    top: auto;
    bottom: 15px;
    width: 50px;
    height: 50px;
    transform: none;
  }

  .gallery-lightbox-previous {
    left: calc(50% - 62px);
  }

  .gallery-lightbox-next {
    right: calc(50% - 62px);
  }
}

@media (max-width: 380px) {
  .gallery-grid-two,
  .gallery-grid-four,
  .gallery-grid-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-photo,
  .gallery-photo-wide,
  .gallery-grid-masonry .gallery-photo,
  .gallery-grid-masonry .gallery-photo-large,
  .gallery-grid-masonry .gallery-photo-tall {
    height: 235px;
  }
}
/*
========================================
SPANDANA PAGE
========================================
*/

.spandana-main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 75px 0 90px;
}

/*
----------------------------------------
INTRODUCTION
----------------------------------------
*/

.spandana-introduction {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 35px;
  align-items: stretch;
}

.spandana-introduction-content {
  padding: clamp(30px, 5vw, 55px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spandana-introduction-content p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.spandana-introduction-content p:last-child {
  margin-bottom: 0;
}

.spandana-lead {
  color: var(--primary) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem) !important;
  line-height: 1.55;
}

.spandana-feature-card {
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-light)
    );
  color: #ffffff;
  box-shadow: var(--shadow);
}

.spandana-feature-year {
  margin-bottom: 12px;
  color: var(--secondary-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 5.3rem);
  font-weight: 700;
  line-height: 1;
}

.spandana-feature-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.spandana-feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/*
----------------------------------------
GENERAL SECTIONS
----------------------------------------
*/

.spandana-section {
  margin-top: 80px;
}

.spandana-section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

/*
----------------------------------------
CONTRIBUTIONS
----------------------------------------
*/

.spandana-contribution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.spandana-contribution-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(5, 48, 62, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.spandana-contribution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.spandana-card-number {
  width: 48px;
  height: 48px;
  margin-bottom: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.spandana-contribution-card h3 {
  margin: 0 0 12px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.25;
}

.spandana-contribution-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/*
----------------------------------------
SUBMISSION INFORMATION
----------------------------------------
*/

.spandana-submission-section {
  margin-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 35px;
  align-items: stretch;
}

.spandana-submission-content {
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spandana-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.spandana-requirement {
  padding: 22px;
  border-left: 4px solid var(--secondary-light);
  border-radius: 0 12px 12px 0;
  background: var(--surface-soft);
}

.spandana-requirement h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.05rem;
}

.spandana-requirement p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.spandana-requirement a {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
}

.spandana-deadline-card {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-light)
    );
  color: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.spandana-deadline-label {
  margin: 0 0 10px;
  color: var(--secondary-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spandana-deadline-date {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.spandana-deadline-year {
  margin: 8px 0 20px;
  color: var(--secondary-light);
  font-size: 1.4rem;
  font-weight: 700;
}

.spandana-deadline-card > p:last-of-type {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
}

/*
----------------------------------------
COMMUNITY DIRECTORY
----------------------------------------
*/

.spandana-directory-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spandana-directory-content {
  padding: clamp(32px, 5vw, 55px);
}

.spandana-directory-content p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.spandana-primary-button {
  min-height: 46px;
  margin-top: 8px;
  padding: 11px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.spandana-primary-button:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
}

.spandana-directory-symbol {
  min-height: 310px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-light)
    );
  color: #ffffff;
  text-align: center;
}

.spandana-directory-symbol span {
  color: var(--secondary-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.spandana-directory-symbol strong {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
}

/*
----------------------------------------
PRICING
----------------------------------------
*/

.spandana-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.spandana-price-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(5, 48, 62, 0.08);
  text-align: center;
}

.spandana-price-featured {
  border-top: 5px solid var(--secondary-light);
  transform: translateY(-8px);
}

.spandana-price-type {
  margin: 0 0 10px;
  color: var(--secondary);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.spandana-price-card h3 {
  margin: 0 0 15px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.spandana-price {
  margin-bottom: 16px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 700;
}

.spandana-price-card p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/*
----------------------------------------
PAYMENT
----------------------------------------
*/

.spandana-payment-card {
  margin-top: 80px;
  padding: clamp(34px, 6vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(
      110deg,
      var(--primary),
      var(--primary-light)
    );
  color: #ffffff;
  box-shadow: var(--shadow);
}

.spandana-payment-card .section-kicker {
  color: var(--secondary-light);
}

.spandana-payment-card h2 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.spandana-payment-card p {
  max-width: 730px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
}

.spandana-payment-card address {
  color: #ffffff;
  font-style: normal;
  line-height: 1.65;
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 900px) {
  .spandana-introduction,
  .spandana-submission-section,
  .spandana-directory-card {
    grid-template-columns: 1fr;
  }

  .spandana-contribution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spandana-pricing-grid {
    grid-template-columns: 1fr;
  }

  .spandana-price-featured {
    transform: none;
  }

  .spandana-payment-card {
    grid-template-columns: 1fr;
  }

  .spandana-payment-card .callout-button {
    justify-self: start;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .spandana-main {
    width: calc(100% - 24px);
    padding: 55px 0 70px;
  }

  .spandana-section,
  .spandana-submission-section,
  .spandana-payment-card {
    margin-top: 60px;
  }

  .spandana-introduction-content,
  .spandana-feature-card,
  .spandana-submission-content,
  .spandana-deadline-card,
  .spandana-directory-content,
  .spandana-price-card {
    padding: 26px 23px;
  }

  .spandana-contribution-grid,
  .spandana-requirements {
    grid-template-columns: 1fr;
  }

  .spandana-directory-symbol {
    min-height: 230px;
  }

  .spandana-payment-card {
    padding: 32px 25px;
  }

  .spandana-payment-card .callout-button,
  .spandana-primary-button {
    width: 100%;
  }
}
/*
========================================
LOGIN PAGE
========================================
*/

.login-page-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.login-main {
  width: min(520px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.login-card {
  padding: clamp(30px, 6vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-card-heading {
  margin-bottom: 30px;
  text-align: center;
}

.login-card-heading h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.login-card-heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/*
----------------------------------------
LOGIN ALERT
----------------------------------------
*/

.login-alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #e4afa7;
  border-radius: 10px;
  background: #fff3f1;
  color: #922f25;
  font-size: 0.94rem;
  font-weight: 600;
}

/*
----------------------------------------
LOGIN FORM
----------------------------------------
*/

.login-form {
  display: grid;
  gap: 22px;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.login-field label {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.login-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9d5d8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.login-field input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(12, 97, 116, 0.13);
}

.login-field input.input-error {
  border-color: #bb493d;
}

.login-field input.input-error:focus {
  box-shadow: 0 0 0 3px rgba(187, 73, 61, 0.13);
}

.login-field-error {
  color: #a5372d;
  font-size: 0.84rem;
}

/*
----------------------------------------
PASSWORD BUTTON
----------------------------------------
*/

.password-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-light);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.password-toggle:hover,
.password-toggle:focus {
  color: var(--secondary);
  text-decoration: underline;
  outline: none;
}

/*
----------------------------------------
SUBMIT BUTTON
----------------------------------------
*/

.login-submit-button {
  width: 100%;
  min-height: 49px;
  margin-top: 2px;
  padding: 12px 22px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.login-submit-button:hover,
.login-submit-button:focus {
  transform: translateY(-2px);
  background: var(--primary-light);
  box-shadow: 0 8px 20px rgba(5, 48, 62, 0.18);
  outline: none;
}

/*
----------------------------------------
REGISTRATION
----------------------------------------
*/

.login-registration {
  margin-top: 26px;
  padding-top: 23px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.login-registration p {
  margin: 0;
  color: var(--text-muted);
}

.login-registration a {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
}

.login-registration a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .login-page-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .login-main {
    width: calc(100% - 24px);
    padding: 50px 0 70px;
  }

  .login-card {
    padding: 28px 23px;
  }
}
/*
========================================
MEMBER PROFILE PAGE
========================================
*/

.member-page-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.member-main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

/*
----------------------------------------
STATUS MESSAGE
----------------------------------------
*/

.member-message {
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 15px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

.member-message-success {
  border: 1px solid #9bc7ad;
  background: #edf8f1;
  color: #25633e;
}

.member-message-error {
  border: 1px solid #e1aaa3;
  background: #fff2f0;
  color: #933329;
}

/*
----------------------------------------
PROFILE LAYOUT
----------------------------------------
*/

.member-profile-grid {
  display: grid;
  grid-template-columns:
    minmax(230px, 0.75fr)
    minmax(320px, 1fr)
    minmax(300px, 1.15fr);
  gap: 26px;
  align-items: stretch;
}

.member-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(5, 48, 62, 0.08);
}

.member-panel h2 {
  margin: 0 0 22px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/*
----------------------------------------
PHOTOGRAPHS
----------------------------------------
*/

.member-image-frame {
  overflow: hidden;
  width: 100%;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.member-profile-image {
  height: 280px;
}

.member-family-image {
  height: 280px;
}

.member-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/*
----------------------------------------
UPLOAD FORM
----------------------------------------
*/

.member-upload-form {
  display: grid;
  gap: 12px;
}

.member-upload-form label {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.member-upload-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccd7da;
  border-radius: 9px;
  background: #ffffff;
  font-size: 0.88rem;
}

.member-primary-button,
.member-secondary-button {
  min-height: 44px;
  padding: 10px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.member-primary-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.member-secondary-button {
  margin-top: 10px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.member-primary-button:hover,
.member-secondary-button:hover {
  transform: translateY(-2px);
}

.member-primary-button:hover {
  background: var(--primary-light);
}

.member-secondary-button:hover {
  background: var(--primary);
  color: #ffffff;
}

/*
----------------------------------------
MEMBER DETAILS
----------------------------------------
*/

.member-details-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.member-details-list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.member-details-list > div:first-child {
  padding-top: 0;
}

.member-details-list > div:last-child {
  border-bottom: 0;
}

.member-details-list dt {
  margin-bottom: 5px;
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.member-details-list dd {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

/*
----------------------------------------
MEMBER LINKS
----------------------------------------
*/

.member-links-section {
  margin-top: 35px;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 9px 25px rgba(5, 48, 62, 0.07);
}

.member-links-section a {
  min-height: 42px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.member-links-section a:hover {
  background: var(--primary);
  color: #ffffff;
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 1000px) {
  .member-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-family-panel {
    grid-column: 1 / -1;
  }

  .member-family-image {
    max-width: 700px;
    height: 380px;
    margin-right: auto;
    margin-left: auto;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 650px) {
  .member-page-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .member-main {
    width: calc(100% - 24px);
    padding: 50px 0 70px;
  }

  .member-profile-grid {
    grid-template-columns: 1fr;
  }

  .member-family-panel {
    grid-column: auto;
  }

  .member-panel {
    padding: 24px 21px;
  }

  .member-profile-image,
  .member-family-image {
    max-width: none;
    height: 280px;
  }

  .member-primary-button,
  .member-secondary-button {
    width: 100%;
  }

  .member-links-section {
    display: grid;
    grid-template-columns: 1fr;
  }
}/*
========================================
UPDATE MEMBER INFORMATION PAGE
========================================
*/

.update-info-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.update-info-main {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.update-info-card {
  padding: clamp(30px, 6vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.update-info-heading {
  margin-bottom: 30px;
  text-align: center;
}

.update-info-heading h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
}

.update-info-heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
}

.update-info-heading strong {
  color: var(--primary);
}

/*
----------------------------------------
MESSAGES
----------------------------------------
*/

.update-info-message {
  margin-bottom: 24px;
  padding: 15px 17px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
}

.update-info-success {
  border: 1px solid #9cc9ae;
  background: #edf8f1;
  color: #25633e;
}

.update-info-error {
  border: 1px solid #e2aaa3;
  background: #fff2f0;
  color: #96352a;
}

/*
----------------------------------------
FORM
----------------------------------------
*/

.update-info-form {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 21px 20px;
}

.update-form-field {
  display: grid;
  gap: 8px;
}

.update-form-field-full {
  grid-column: 1 / -1;
}

.update-form-field label {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.update-form-field label span {
  color: #b74135;
}

.update-form-field input,
.update-form-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9d5d8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.update-form-field input:focus,
.update-form-field select:focus {
  border-color: var(--primary-light);
  box-shadow:
    0 0 0 3px
    rgba(12, 97, 116, 0.13);
}

.update-form-field input[readonly] {
  background: var(--surface-soft);
  color: var(--text-muted);
  cursor: not-allowed;
}

.update-form-field small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/*
----------------------------------------
BUTTONS
----------------------------------------
*/

.update-form-actions {
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.update-save-button,
.update-cancel-button {
  min-width: 150px;
  min-height: 47px;
  padding: 11px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.update-save-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.update-cancel-button {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary);
}

.update-save-button:hover,
.update-cancel-button:hover {
  transform: translateY(-2px);
}

.update-save-button:hover {
  background: var(--primary-light);
}

.update-cancel-button:hover {
  border-color: var(--primary);
  background: #ffffff;
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .update-info-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .update-info-main {
    width: calc(100% - 24px);
    padding: 50px 0 70px;
  }

  .update-info-card {
    padding: 28px 23px;
  }

  .update-info-form {
    grid-template-columns: 1fr;
  }

  .update-form-field-full {
    grid-column: auto;
  }

  .update-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .update-save-button,
  .update-cancel-button {
    width: 100%;
  }
}
/*
========================================
MEMBER DIRECTORY PAGE
========================================
*/

.member-directory-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.directory-main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 55px 0 90px;
}

/*
----------------------------------------
MEMBER ACCOUNT MENU
----------------------------------------
*/

.member-account-menu {
  margin-bottom: 52px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(5, 48, 62, 0.07);
}

.member-account-menu a {
  min-height: 40px;
  padding: 8px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.member-account-menu a:hover,
.member-account-menu a.active {
  background: var(--primary);
  color: #ffffff;
}

/*
----------------------------------------
DIRECTORY HEADING
----------------------------------------
*/

.directory-heading {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
}

.directory-heading .section-description {
  max-width: 680px;
  margin: 0 auto;
}

/*
----------------------------------------
SEARCH TOOLBAR
----------------------------------------
*/

.directory-toolbar {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(5, 48, 62, 0.07);
}

.directory-search-form {
  display: grid;
  grid-template-columns:
    minmax(240px, 1.4fr)
    minmax(200px, 0.8fr)
    auto;
  gap: 16px;
  align-items: end;
}

.directory-search-field,
.directory-filter-field {
  display: grid;
  gap: 8px;
}

.directory-search-field label,
.directory-filter-field label {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.directory-search-field input,
.directory-filter-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #c9d5d8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.96rem;
  outline: none;
}

.directory-search-field input:focus,
.directory-filter-field select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(12, 97, 116, 0.13);
}

.directory-toolbar-actions {
  display: flex;
  gap: 10px;
}

.directory-search-button,
.directory-clear-button {
  min-height: 46px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.directory-search-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
}

.directory-clear-button {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary);
}

.directory-search-button:hover {
  background: var(--primary-light);
}

.directory-clear-button:hover {
  border-color: var(--primary);
  background: #ffffff;
}

.directory-result-count {
  margin: 17px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: right;
}

/*
----------------------------------------
DIRECTORY TABLE
----------------------------------------
*/

.directory-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.directory-table {
  width: 100%;
  border-collapse: collapse;
}

.directory-table th,
.directory-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.directory-table th {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.directory-table th a {
  color: #ffffff;
  text-decoration: none;
}

.directory-table th a:hover {
  color: var(--secondary-light);
}

.directory-table tbody tr:last-child td {
  border-bottom: 0;
}

.directory-table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.directory-table tbody tr:hover {
  background: var(--surface-soft);
}

.directory-member-cell {
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.directory-member-cell img {
  width: 46px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-soft);
}

.directory-member-name {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.directory-member-name:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.directory-phone-link {
  color: var(--primary-light);
  text-decoration: none;
  white-space: nowrap;
}

.directory-phone-link:hover {
  color: var(--secondary);
}

.directory-view-button {
  min-height: 37px;
  padding: 7px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.directory-view-button:hover {
  background: var(--primary-light);
}

/*
----------------------------------------
MOBILE MEMBER CARDS
----------------------------------------
*/

.directory-card-grid {
  display: none;
}

.directory-member-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(5, 48, 62, 0.08);
}

.directory-card-photo {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-soft);
}

.directory-card-content {
  padding: 22px;
}

.directory-card-content h3 {
  margin: 0 0 13px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.directory-card-content p {
  margin: 0 0 9px;
  color: var(--text-muted);
}

.directory-card-content strong {
  color: var(--primary);
}

.directory-card-content a:not(.directory-view-button) {
  color: var(--primary-light);
  text-decoration: none;
}

/*
----------------------------------------
MESSAGES
----------------------------------------
*/

.directory-message,
.directory-empty-state {
  padding: 40px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 9px 26px rgba(5, 48, 62, 0.07);
  text-align: center;
}

.directory-error {
  border-color: #e0aaa4;
  background: #fff2f0;
  color: #923329;
}

.directory-empty-state h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.directory-empty-state p {
  margin: 0 0 22px;
  color: var(--text-muted);
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 900px) {
  .directory-search-form {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .directory-toolbar-actions {
    grid-column: 1 / -1;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 650px) {
  .member-directory-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .directory-main {
    width: calc(100% - 24px);
    padding: 45px 0 70px;
  }

  .member-account-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-search-form {
    grid-template-columns: 1fr;
  }

  .directory-toolbar-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-result-count {
    text-align: center;
  }

  .directory-table-wrapper {
    display: none;
  }

  .directory-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .directory-card-photo {
    height: 180px;
  }

  .directory-card-content {
    padding: 18px;
  }

  .directory-card-content h3 {
    font-size: 1.15rem;
  }

  .directory-view-button {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 430px) {
  .member-account-menu,
  .directory-card-grid {
    grid-template-columns: 1fr;
  }

  .directory-card-photo {
    height: 250px;
  }
}
/*
========================================
MEMBER DETAILS PAGE
========================================
*/

.member-detail-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.member-detail-main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 55px 0 90px;
}

/*
----------------------------------------
MEMBER DETAIL LAYOUT
----------------------------------------
*/

.member-detail-layout {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.7fr)
    minmax(320px, 1fr)
    minmax(300px, 1.15fr);
  gap: 26px;
  align-items: stretch;
}

.member-detail-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(5, 48, 62, 0.08);
}

.member-detail-panel h2 {
  margin: 0 0 22px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

/*
----------------------------------------
PROFILE PHOTOGRAPH
----------------------------------------
*/

.member-detail-profile-photo {
  overflow: hidden;
  width: 100%;
  height: 300px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-soft);
}

.member-detail-profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/*
----------------------------------------
FAMILY PHOTOGRAPH
----------------------------------------
*/

.member-detail-family-photo {
  overflow: hidden;
  width: 100%;
  height: 300px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-soft);
}

.member-detail-family-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/*
----------------------------------------
DETAIL LIST
----------------------------------------
*/

.member-detail-list {
  margin: 0;
  display: grid;
}

.member-detail-list > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.member-detail-list > div:first-child {
  padding-top: 0;
}

.member-detail-list > div:last-child {
  border-bottom: 0;
}

.member-detail-list dt {
  margin-bottom: 5px;
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.member-detail-list dd {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.member-detail-list dd a {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
}

.member-detail-list dd a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/*
----------------------------------------
BUTTON
----------------------------------------
*/

.member-detail-actions {
  margin-top: 25px;
}

.member-detail-primary-button {
  min-height: 44px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.member-detail-primary-button:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
}

/*
----------------------------------------
ERROR PANEL
----------------------------------------
*/

.member-detail-error {
  max-width: 700px;
  margin: 0 auto;
  padding: 45px 30px;
  border: 1px solid #e2aaa3;
  border-radius: var(--radius);
  background: #fff2f0;
  box-shadow: var(--shadow);
  text-align: center;
}

.member-detail-error h2 {
  margin: 0 0 12px;
  color: #923329;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.member-detail-error p {
  margin: 0 0 24px;
  color: #763b34;
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 1000px) {
  .member-detail-layout {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .member-detail-family-panel {
    grid-column: 1 / -1;
  }

  .member-detail-family-photo {
    max-width: 720px;
    height: 420px;
    margin: 0 auto;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 650px) {
  .member-detail-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .member-detail-main {
    width: calc(100% - 24px);
    padding: 45px 0 70px;
  }

  .member-detail-layout {
    grid-template-columns: 1fr;
  }

  .member-detail-family-panel {
    grid-column: auto;
  }

  .member-detail-panel {
    padding: 24px 21px;
  }

  .member-detail-profile-photo,
  .member-detail-family-photo {
    max-width: none;
    height: 300px;
  }

  .member-detail-primary-button {
    width: 100%;
  }
}
/*
========================================
RESET PASSWORD PAGE
========================================
*/

.reset-password-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.reset-password-main {
  width: min(540px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.reset-password-card {
  padding: clamp(30px, 6vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.reset-password-heading {
  margin-bottom: 30px;
  text-align: center;
}

.reset-password-heading h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.reset-password-heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/*
----------------------------------------
ALERT
----------------------------------------
*/

.reset-password-alert {
  margin-bottom: 23px;
  padding: 14px 16px;
  border: 1px solid #e2aaa3;
  border-radius: 10px;
  background: #fff2f0;
  color: #923329;
  font-size: 0.94rem;
  font-weight: 600;
}

/*
----------------------------------------
FORM
----------------------------------------
*/

.reset-password-form {
  display: grid;
  gap: 22px;
}

.reset-password-field {
  display: grid;
  gap: 8px;
}

.reset-password-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.reset-password-field label {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.reset-password-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9d5d8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.reset-password-field input:focus {
  border-color: var(--primary-light);
  box-shadow:
    0 0 0 3px
    rgba(12, 97, 116, 0.13);
}

.reset-password-field input.input-error {
  border-color: #b84439;
}

.reset-password-error {
  color: #a5372d;
  font-size: 0.84rem;
}

/*
----------------------------------------
SHOW / HIDE BUTTON
----------------------------------------
*/

.reset-password-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-light);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.reset-password-toggle:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/*
----------------------------------------
FORM ACTIONS
----------------------------------------
*/

.reset-password-actions {
  padding-top: 4px;
  display: flex;
  justify-content: center;
  gap: 13px;
}

.reset-password-submit,
.reset-password-cancel {
  min-width: 150px;
  min-height: 47px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.reset-password-submit {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.reset-password-cancel {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary);
}

.reset-password-submit:hover,
.reset-password-cancel:hover {
  transform: translateY(-2px);
}

.reset-password-submit:hover {
  background: var(--primary-light);
}

.reset-password-cancel:hover {
  border-color: var(--primary);
  background: #ffffff;
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .reset-password-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .reset-password-main {
    width: calc(100% - 24px);
    padding: 50px 0 70px;
  }

  .reset-password-card {
    padding: 28px 23px;
  }

  .reset-password-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .reset-password-submit,
  .reset-password-cancel {
    width: 100%;
  }
}
/*
========================================
MEMBER REGISTRATION PAGE
========================================
*/

.registration-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.registration-main {
  width: min(570px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.registration-card {
  padding: clamp(30px, 6vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.registration-heading {
  margin-bottom: 30px;
  text-align: center;
}

.registration-heading h2 {
  margin: 0 0 11px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.registration-heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/*
----------------------------------------
ALERT
----------------------------------------
*/

.registration-alert {
  margin-bottom: 23px;
  padding: 14px 16px;
  border: 1px solid #e2aaa3;
  border-radius: 10px;
  background: #fff2f0;
  color: #923329;
  font-size: 0.94rem;
  font-weight: 600;
}

/*
----------------------------------------
FORM
----------------------------------------
*/

.registration-form {
  display: grid;
  gap: 21px;
}

.registration-field {
  display: grid;
  gap: 8px;
}

.registration-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.registration-field label {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.registration-field label span {
  color: #b74135;
}

.registration-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9d5d8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.registration-field input:focus {
  border-color: var(--primary-light);
  box-shadow:
    0 0 0 3px
    rgba(12, 97, 116, 0.13);
}

.registration-field input.input-error {
  border-color: #b84439;
}

.registration-field small {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.registration-error {
  color: #a5372d;
  font-size: 0.84rem;
}

/*
----------------------------------------
PASSWORD TOGGLE
----------------------------------------
*/

.registration-password-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-light);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.registration-password-toggle:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/*
----------------------------------------
ACTIONS
----------------------------------------
*/

.registration-actions {
  padding-top: 4px;
  display: flex;
  justify-content: center;
  gap: 13px;
}

.registration-submit-button,
.registration-reset-button {
  min-width: 155px;
  min-height: 47px;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.registration-submit-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.registration-reset-button {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary);
}

.registration-submit-button:hover,
.registration-reset-button:hover {
  transform: translateY(-2px);
}

.registration-submit-button:hover {
  background: var(--primary-light);
}

.registration-reset-button:hover {
  border-color: var(--primary);
  background: #ffffff;
}

/*
----------------------------------------
LOGIN LINK
----------------------------------------
*/

.registration-login-link {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.registration-login-link p {
  margin: 0;
  color: var(--text-muted);
}

.registration-login-link a {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
}

.registration-login-link a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .registration-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .registration-main {
    width: calc(100% - 24px);
    padding: 50px 0 70px;
  }

  .registration-card {
    padding: 28px 23px;
  }

  .registration-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .registration-submit-button,
  .registration-reset-button {
    width: 100%;
  }
}
/*
========================================
SPANDANA FAMILY INFORMATION FORM
========================================
*/

.family-form-hero {
  padding-top: 70px;
  padding-bottom: 65px;
}

.family-form-main {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

/*
----------------------------------------
INTRODUCTION
----------------------------------------
*/

.family-form-introduction {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.8fr);
  gap: 25px;
  align-items: stretch;
}

.family-form-introduction > div,
.family-form-notice {
  padding: clamp(27px, 5vw, 42px);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(5, 48, 62, 0.08);
}

.family-form-introduction > div {
  border: 1px solid var(--border);
  background: var(--surface);
}

.family-form-introduction > div p {
  margin: 0 0 15px;
  color: var(--text-muted);
}

.family-form-introduction > div p:last-child {
  margin-bottom: 0;
}

.family-form-notice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-light)
    );
  color: #ffffff;
}

.family-form-notice h3 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.family-form-notice p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.83);
}

.family-form-notice a {
  color: var(--secondary-light);
  font-weight: 700;
  text-decoration: none;
}

/*
----------------------------------------
FORM CARDS
----------------------------------------
*/

.family-information-form {
  display: grid;
  gap: 28px;
}

.family-form-card {
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.family-form-section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.family-form-section-heading h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.family-form-section-heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
}

/*
----------------------------------------
FORM GRID
----------------------------------------
*/

.family-form-grid,
.children-fields {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 21px 20px;
}

.children-fields {
  margin-top: 21px;
}

.family-form-field {
  display: grid;
  gap: 8px;
}

.family-form-field-full {
  grid-column: 1 / -1;
}

.family-form-field[hidden] {
  display: none;
}

.family-form-field label {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.family-form-field label span {
  color: #b74135;
}

.family-form-field input,
.family-form-field select,
.family-form-field textarea,
.family-upload-field input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9d5d8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.family-form-field input,
.family-form-field select {
  min-height: 48px;
}

.family-form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.family-form-field input:focus,
.family-form-field select:focus,
.family-form-field textarea:focus,
.family-upload-field input[type="file"]:focus {
  border-color: var(--primary-light);
  box-shadow:
    0 0 0 3px
    rgba(12, 97, 116, 0.13);
}

.character-count {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: right;
}

/*
----------------------------------------
FAMILY PHOTO
----------------------------------------
*/

.family-photo-layout {
  display: grid;
  grid-template-columns:
    minmax(260px, 0.8fr)
    minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.family-photo-preview {
  overflow: hidden;
  width: 100%;
  height: 260px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-soft);
}

.family-photo-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.family-upload-field {
  display: grid;
  gap: 12px;
}

.family-upload-field label {
  color: var(--primary);
  font-weight: 700;
}

.family-upload-field small {
  color: var(--text-muted);
  line-height: 1.55;
}

/*
----------------------------------------
GREETING NOTE
----------------------------------------
*/

.family-greeting-note {
  margin-top: 26px;
  padding: 24px;
  border-left: 4px solid var(--secondary-light);
  border-radius: 0 14px 14px 0;
  background: var(--surface-soft);
}

.family-greeting-note h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.family-greeting-note p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.family-greeting-note address {
  color: var(--primary);
  font-style: normal;
  line-height: 1.65;
}

/*
----------------------------------------
FORM ACTIONS
----------------------------------------
*/

.family-form-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.family-form-submit,
.family-form-reset {
  min-width: 170px;
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.family-form-submit {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.family-form-reset {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--primary);
}

.family-form-submit:hover,
.family-form-reset:hover {
  transform: translateY(-2px);
}

.family-form-submit:hover {
  background: var(--primary-light);
}

.family-form-reset:hover {
  border-color: var(--primary);
  background: #ffffff;
}

/*
----------------------------------------
TABLET
----------------------------------------
*/

@media (max-width: 800px) {
  .family-form-introduction,
  .family-photo-layout {
    grid-template-columns: 1fr;
  }

  .family-photo-preview {
    max-width: 650px;
    height: 340px;
    margin: 0 auto;
  }
}

/*
----------------------------------------
MOBILE
----------------------------------------
*/

@media (max-width: 600px) {
  .family-form-hero {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .family-form-main {
    width: calc(100% - 24px);
    padding: 50px 0 70px;
  }

  .family-form-card,
  .family-form-introduction > div,
  .family-form-notice {
    padding: 26px 22px;
  }

  .family-form-grid,
  .children-fields {
    grid-template-columns: 1fr;
  }

  .family-form-field-full {
    grid-column: auto;
  }

  .family-photo-preview {
    height: 260px;
  }

  .family-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .family-form-submit,
  .family-form-reset {
    width: 100%;
  }
}