:root {
  --ink: #211818;
  --muted: #665d57;
  --paper: #fffaf0;
  --cream: #f8edd1;
  --red: #c92f22;
  --green: #138a7d;
  --gold: #f2b63f;
  --black: #171313;
  --white: #ffffff;
  --line: rgba(33, 24, 24, 0.16);
  --shadow: 0 24px 70px rgba(33, 24, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: linear-gradient(90deg, var(--red) 0 12%, transparent 12% 24%, var(--gold) 24% 36%, transparent 36%);
  z-index: -1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 8px 20px rgba(33, 24, 24, 0.16);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  max-width: 260px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--red);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-switch button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  place-items: center;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 76vh;
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 72px) 40px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.76)),
    repeating-linear-gradient(0deg, rgba(201, 47, 34, 0.14) 0 34px, rgba(255, 255, 255, 0.2) 34px 68px);
}

.hero-media {
  position: absolute;
  right: 4vw;
  top: 50%;
  width: min(46vw, 560px);
  transform: translateY(-50%);
  opacity: 0.2;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 830px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.04;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions,
.membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(201, 47, 34, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
  border-left: 6px solid var(--gold);
  background: var(--paper);
}

.hero-panel div:nth-child(2) {
  border-left-color: var(--green);
}

.hero-panel div:nth-child(3) {
  border-left-color: var(--red);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 1.18rem;
}

.hero-panel span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-copy {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.intro-grid,
.president-profile,
.program-list,
.gallery-grid,
.calendar-layout,
.contact-grid,
.split,
.membership {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.intro-grid article,
.program-list article,
.photo-card,
.calendar-list article,
.event-stack article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.intro-grid article {
  padding: 26px;
}

.intro-grid p,
.president-copy p,
.program-list p,
.split p,
.membership p,
.contact-card p,
.contact-card li {
  color: var(--muted);
  line-height: 1.7;
}

.president-section {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.94), rgba(248, 237, 209, 0.86)),
    repeating-linear-gradient(90deg, rgba(19, 138, 125, 0.12) 0 24px, transparent 24px 48px);
}

.president-profile {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.president-photo {
  overflow: hidden;
  border-radius: 8px;
  background: var(--black);
  border: 8px solid var(--white);
  box-shadow: 0 20px 45px rgba(33, 24, 24, 0.16);
}

.president-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.president-copy {
  max-width: 720px;
}

.president-copy h2 {
  margin-bottom: 18px;
}

.president-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.president-details div {
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.president-details span,
.president-details strong {
  display: block;
}

.president-details span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.president-details strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.board-section {
  background: var(--paper);
}

.board-section,
.news-section {
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

.leadership-president,
.organs-grid,
.action-plan-list,
.finance-grid,
.partners-grid,
.photo-submit-layout {
  max-width: 1180px;
  margin: 0 auto;
}

.leadership-president {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(33, 24, 24, 0.1);
}

.leadership-president-photo {
  min-height: 360px;
  background: var(--black);
}

.leadership-president-photo img,
.leadership-president-photo .member-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
  object-fit: cover;
}

.leadership-president-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 54px);
  border-left: 8px solid var(--gold);
}

.leadership-president-copy > span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.leadership-president-copy h3 {
  margin: 10px 0 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.leadership-president-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.75;
}

.leadership-president-copy dl {
  margin: 20px 0 0;
}

.leadership-president-copy dl div {
  display: flex;
  gap: 12px;
}

.leadership-president-copy dt {
  color: var(--muted);
  font-weight: 700;
}

.leadership-president-copy dd {
  margin: 0;
  font-weight: 800;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.board-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(33, 24, 24, 0.08);
}

.board-card img,
.member-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
}

.board-card img {
  object-fit: cover;
  object-position: top;
}

.member-placeholder {
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 138, 125, 0.95), rgba(201, 47, 34, 0.9)),
    var(--green);
  font-size: 2.8rem;
  font-weight: 800;
}

.board-card div {
  padding: 22px;
}

.board-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-card p,
.news-card p {
  color: var(--muted);
  line-height: 1.7;
}

.news-section {
  background: #f3ead9;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.news-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.news-meta time {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.news-meta span {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--black);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.organs-section {
  background: #f3ead9;
}

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

.organ-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.organ-panel-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.organ-panel-head h3 {
  font-size: 1.45rem;
}

.organ-panel-head p {
  color: var(--muted);
  line-height: 1.7;
}

.organ-members {
  display: grid;
}

.organ-member {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}

.organ-member:last-child {
  border-bottom: 0;
}

.organ-member img,
.organ-member-initials {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.organ-member-initials {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.organ-member strong,
.organ-member span {
  display: block;
}

.organ-member span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.action-plan-section {
  color: var(--white);
  background: var(--black);
}

.action-plan-section .eyebrow {
  color: var(--gold);
}

.action-plan-section .section-copy {
  color: rgba(255, 255, 255, 0.68);
}

.action-plan-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

.action-plan-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(170px, 0.35fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: #211818;
}

.action-plan-index {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
}

.action-plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
}

.action-plan-meta span {
  padding: 5px 8px;
  color: var(--black);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.action-plan-meta span:last-child {
  background: var(--green);
  color: var(--white);
}

.action-plan-main p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.action-plan-owner span,
.action-plan-owner strong {
  display: block;
}

.action-plan-owner span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.finance-section {
  background: var(--paper);
}

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

.finance-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.finance-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.finance-card-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.finance-card-head h3 {
  margin-top: 5px;
  font-size: 1.45rem;
}

.finance-card-head > strong {
  padding: 5px 9px;
  color: var(--green);
  background: rgba(19, 138, 125, 0.1);
  border-radius: 999px;
  font-size: 0.76rem;
}

.finance-card > p {
  color: var(--muted);
  line-height: 1.65;
}

.finance-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.finance-values div {
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.finance-values dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.finance-values dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.finance-report-link,
.finance-report-pending {
  display: inline-flex;
  font-weight: 800;
}

.finance-report-link {
  color: var(--red);
}

.finance-report-pending {
  color: var(--muted);
  font-size: 0.88rem;
}

.partners-section {
  background: #f3ead9;
}

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

.partner-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.partner-card img,
.partner-placeholder {
  width: 110px;
  height: 90px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
}

.partner-placeholder {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 800;
}

.partner-card span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-card h3 {
  margin-top: 7px;
}

.partner-card p {
  color: var(--muted);
  line-height: 1.6;
}

.photo-submit-section {
  background: var(--green);
  color: var(--white);
}

.photo-submit-section .eyebrow {
  color: var(--gold);
}

.photo-submit-section .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.photo-submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.photo-submit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-submit-form label:nth-child(3),
.photo-file-field,
.photo-submit-preview,
.consent-field,
.photo-submit-form .button,
.form-status {
  grid-column: 1 / -1;
}

.photo-file-field {
  padding: 16px;
  border: 1px dashed rgba(33, 24, 24, 0.3);
  border-radius: 8px;
  background: var(--paper);
}

.photo-submit-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.photo-submit-preview:empty {
  display: none;
}

.photo-submit-preview img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.consent-field input {
  width: 18px;
  margin-top: 2px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-subheading {
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.programs {
  color: var(--white);
  background: var(--black);
}

.programs .eyebrow {
  color: var(--gold);
}

.program-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.program-list article {
  min-height: 260px;
  padding: 26px;
  background: #211818;
  border: 0;
}

.program-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--black);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 800;
}

.program-list p {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.photo-card {
  overflow: hidden;
}

.featured-photo {
  grid-row: span 2;
  display: grid;
  align-content: end;
  min-height: 520px;
  color: var(--white);
  background: var(--black);
}

.featured-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.featured-photo div {
  padding: 24px;
  background: linear-gradient(0deg, rgba(23, 19, 19, 0.96), rgba(23, 19, 19, 0.76));
}

.featured-photo p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.empty-photo {
  min-height: 252px;
  padding: 18px;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin-bottom: 18px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(242, 182, 63, 0.24), rgba(19, 138, 125, 0.16)),
    var(--cream);
  border: 1px dashed rgba(33, 24, 24, 0.28);
  border-radius: 8px;
  font-weight: 800;
}

.empty-photo p,
.calendar-list p {
  color: var(--muted);
  line-height: 1.7;
}

.calendar-section {
  background: #f3ead9;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: start;
}

.calendar-month {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(33, 24, 24, 0.1);
}

.calendar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-title strong {
  display: block;
  font-size: 1.35rem;
}

.calendar-title span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.calendar-controls {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calendar-controls button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calendar-controls button:hover {
  background: var(--white);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.calendar-days button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0;
  border: 1px solid rgba(33, 24, 24, 0.08);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calendar-days button:hover {
  border-color: rgba(201, 47, 34, 0.38);
  background: #fff5dc;
}

.calendar-days .muted-day {
  color: rgba(102, 93, 87, 0.42);
}

.calendar-days .today {
  outline: 3px solid rgba(19, 138, 125, 0.24);
  outline-offset: -3px;
}

.calendar-days .selected-day {
  color: var(--white);
  background: var(--green);
}

.calendar-days .has-event:not(.selected-day) {
  color: var(--white);
  background: var(--red);
}

.calendar-days .has-meeting:not(.selected-day) {
  color: var(--black);
  background: var(--gold);
}

.calendar-days .event-dot {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.calendar-list {
  display: grid;
  gap: 14px;
}

.calendar-list article {
  padding: 22px;
  background: var(--white);
}

.calendar-list time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 800;
}

.calendar-list .event-type {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--black);
  background: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
}

.calendar-list .empty-events {
  padding: 24px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed rgba(33, 24, 24, 0.26);
  border-radius: 8px;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: start;
}

.event-stack {
  display: grid;
  gap: 14px;
}

.event-stack article {
  padding: 24px;
}

.event-stack time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 800;
}

.membership {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(19, 138, 125, 0.96), rgba(33, 24, 24, 0.9)),
    linear-gradient(135deg, var(--green), var(--black));
  border-radius: 8px;
}

.membership .eyebrow {
  color: var(--gold);
}

.membership-copy {
  max-width: 720px;
}

.membership p {
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-card {
  padding: 26px;
}

.contact-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--cream);
}

.contact-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer {
  color: #473f3a;
  background: #fff7e8;
  border-top: 1px solid rgba(33, 24, 24, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.9)),
    var(--white);
  border: 1px solid rgba(33, 24, 24, 0.12);
  border-top: 6px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(33, 24, 24, 0.1);
}

.footer-cta span {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.06;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(160px, 0.55fr) minmax(240px, 0.75fr);
  gap: clamp(24px, 5vw, 56px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(18px, 5vw, 72px) clamp(34px, 6vw, 60px);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 10px 26px rgba(33, 24, 24, 0.12);
}

.footer-brand h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-brand p,
.footer-column p {
  max-width: 560px;
  line-height: 1.7;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-actions .button {
  min-height: 44px;
  box-shadow: none;
}

.footer-actions .button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.94rem;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
  font-weight: 700;
}

.footer-column a:hover {
  color: var(--red);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(18px, 5vw, 72px) 24px;
  color: var(--muted);
  border-top: 1px solid rgba(33, 24, 24, 0.1);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-page {
  background: #f3ead9;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(33, 24, 24, 0.96), rgba(19, 138, 125, 0.9)),
    var(--black);
}

.admin-header h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.admin-header p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.admin-shell {
  padding: clamp(22px, 5vw, 56px) clamp(18px, 5vw, 72px);
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.admin-section {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(33, 24, 24, 0.08);
}

.admin-section h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.admin-repeat {
  display: grid;
  gap: 14px;
}

.repeat-heading,
.repeat-card-head,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.repeat-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.repeat-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.repeat-card-head button {
  border: 0;
  color: var(--red);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.upload-control {
  display: block;
  margin-top: 8px;
}

.upload-control input {
  padding: 10px;
  background: var(--white);
}

.upload-preview {
  width: 96px;
  height: 96px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.admin-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(16px);
}

.admin-actions span {
  color: var(--green);
  font-weight: 800;
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.admin-help {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.admin-subheading {
  margin-top: 14px;
  font-size: 1.15rem;
  color: var(--green);
}

/* ── Admin Login Overlay ─────────────────────────────── */

.admin-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(33, 24, 24, 0.92), rgba(19, 138, 125, 0.88)),
    var(--black);
  backdrop-filter: blur(24px);
}

.admin-login-form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 420px;
  padding: clamp(28px, 5vw, 44px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.admin-login-brand {
  text-align: center;
  margin-bottom: 8px;
}

.admin-login-brand img {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 10px 30px rgba(33, 24, 24, 0.2);
}

.admin-login-brand h1 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.admin-login-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.admin-login-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.admin-login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 1rem;
}

.admin-login-form input:focus {
  outline: 2px solid var(--green);
  outline-offset: -1px;
  border-color: var(--green);
}

.admin-login-form .button {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  margin-top: 6px;
}

.admin-login-error {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 10px;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .language-switch {
    flex: 0 0 auto;
  }

  .hero,
  .president-profile,
  .leadership-president,
  .photo-submit-layout,
  .split,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .leadership-president-photo,
  .leadership-president-photo img,
  .leadership-president-photo .member-placeholder {
    min-height: 320px;
    max-height: 520px;
  }

  .leadership-president-copy {
    border-top: 8px solid var(--gold);
    border-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    right: -18vw;
    width: 86vw;
  }

  .intro-grid,
  .program-list,
  .board-grid,
  .news-grid,
  .finance-grid,
  .partners-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .featured-photo {
    grid-column: 1 / -1;
    min-height: auto;
  }

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

  .membership {
    align-items: flex-start;
    flex-direction: column;
  }

  .president-details {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-grid,
  .repeat-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .language-switch {
    order: 2;
  }

  .nav-toggle {
    order: 3;
  }

  .hero {
    padding-top: 42px;
  }

  .intro-grid,
  .program-list,
  .board-grid,
  .news-grid,
  .finance-grid,
  .partners-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .action-plan-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .action-plan-owner {
    grid-column: 2;
  }

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

  .partner-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .partner-card img,
  .partner-placeholder {
    width: 82px;
    height: 72px;
  }

  .photo-submit-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .photo-submit-form label,
  .photo-submit-form .button,
  .photo-submit-preview,
  .consent-field,
  .form-status {
    grid-column: 1;
  }

  .photo-submit-preview {
    grid-template-columns: repeat(3, 1fr);
  }

  .calendar-month {
    padding: 14px;
  }

  .calendar-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 5px;
  }

  .calendar-days button {
    min-height: 42px;
    font-size: 0.88rem;
  }

  .hero-actions,
  .membership-actions,
  .button {
    width: 100%;
  }

  .footer-actions,
  .footer-actions .button {
    width: 100%;
  }
}
