@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Malayalam:wght@400;500;600;700;800;900&display=swap");

:root {
  --blue-soft: #dff4fb;
  --blue-line: #bfe6f2;
  --cream: #f8e0af;
  --cream-light: #fff3d6;
  --ink: #17252a;
  --muted: #5e676b;
  --teal: #12606a;
  --teal-dark: #0d464d;
  --gold: #b76b1d;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(23, 37, 42, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

html[lang="ml"] body,
html[lang="ml"] button,
html[lang="ml"] input,
html[lang="ml"] textarea {
  font-family: "Noto Sans Malayalam", Arial, Helvetica, sans-serif;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

:focus-visible {
  outline: 3px solid rgba(183, 107, 29, 0.72);
  outline-offset: 3px;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(223, 244, 251, 0.96);
  border-bottom: 1px solid var(--blue-line);
  box-shadow: 0 8px 24px rgba(18, 96, 106, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
}

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

.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(18, 96, 106, 0.14);
}

.brand-name {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.language-toggle,
.menu-toggle,
.drawer-close,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 96, 106, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-dark);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.language-toggle {
  min-width: 84px;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 12px;
  font-weight: 800;
}

.menu-toggle {
  width: 48px;
  height: 44px;
  border-radius: var(--radius);
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.language-toggle:hover,
.menu-toggle:hover,
.drawer-close:hover,
.icon-button:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  background: rgba(13, 70, 77, 0.32);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  grid-column: 2;
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--blue-soft), #eefaff);
  box-shadow: -24px 0 52px rgba(13, 70, 77, 0.24);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.menu-backdrop.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  background: rgba(223, 244, 251, 0.94);
  border-bottom: 1px solid var(--blue-line);
  backdrop-filter: blur(14px);
}

.drawer-title {
  color: var(--teal-dark);
  font-weight: 800;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  font-size: 1.6rem;
  line-height: 1;
}

.drawer-menu {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.drawer-link,
.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(18, 96, 106, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  padding: 12px 14px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.drawer-link:hover,
.submenu-toggle:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.submenu-toggle::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
}

.has-submenu.is-open .submenu-toggle::after {
  content: "-";
}

.submenu-list {
  display: none;
  gap: 6px;
  margin: 8px 0 2px;
  padding: 0 0 0 18px;
  list-style: none;
}

.has-submenu.is-open .submenu-list {
  display: grid;
}

.submenu-list a {
  display: block;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.48);
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 700;
}

.submenu-list a:hover {
  color: var(--teal-dark);
  background: var(--white);
}

.hero-slider {
  position: relative;
  min-height: clamp(430px, 72vh, 740px);
  overflow: hidden;
  background: var(--teal-dark);
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition: transform 0.55s ease;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08));
}

.hero-content {
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 72px;
  color: var(--white);
}

.hero-content h2 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(2.1rem, 5.6vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[lang="ml"] .hero-content h2 {
  max-width: 720px;
  font-size: clamp(1.75rem, 3.2vw, 3.25rem);
  line-height: 1.22;
}

.transparent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.transparent-button:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.hero-controls {
  position: absolute;
  right: 22px;
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-controls .icon-button {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 99px;
  background: var(--white);
}

.news-marquee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
  background: var(--teal-dark);
  color: var(--white);
}

.marquee-label {
  align-self: stretch;
  display: grid;
  place-items: center;
  background: var(--gold);
  padding: 12px 20px;
  font-weight: 900;
}

.marquee-window {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-line {
  display: inline-block;
  min-width: 100%;
  padding: 12px 0;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.join-section {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.join-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/gallery/section 3 background image.png");
  background-position: center;
  background-size: cover;
}

.join-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(248, 224, 175, 0.97), rgba(248, 224, 175, 0.84), rgba(248, 224, 175, 0.35));
}

.join-content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.join-content h1,
.section-head h2,
.page-hero h1 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.join-content p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 28px;
  color: #2c3638;
  font-size: 1.08rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--teal);
  padding: 11px 18px;
  font-weight: 900;
}

.primary-button {
  background: var(--teal);
  color: var(--white);
}

.secondary-button {
  background: transparent;
  color: var(--teal-dark);
}

.primary-button:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.secondary-button:hover {
  background: var(--teal);
  color: var(--white);
}

.section-block,
.page-shell {
  background: var(--cream);
}

.section-block {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.message-section {
  width: 100%;
  margin: 0;
  padding: 96px max(18px, calc((100% - 1180px) / 2)) 104px;
  background: #f3ead0;
  border-top: 1px solid rgba(183, 107, 29, 0.18);
  border-bottom: 1px solid rgba(183, 107, 29, 0.18);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.inline-controls {
  display: inline-flex;
  gap: 8px;
}

.announcement-grid,
.event-track,
.all-events-grid,
.message-grid,
.people-grid,
.award-grid,
.content-grid,
.blog-grid,
.district-grid {
  display: grid;
  gap: 18px;
}

.announcement-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.events-section {
  width: 100%;
  max-width: none;
  padding: 76px max(18px, calc((100% - 1180px) / 2)) 84px;
  background:
    linear-gradient(180deg, rgba(255, 250, 238, 0.9), rgba(248, 224, 175, 0.74)),
    var(--cream);
  border-top: 1px solid rgba(183, 107, 29, 0.14);
  border-bottom: 1px solid rgba(183, 107, 29, 0.14);
}

.event-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto 10px;
}

.event-view-all,
.event-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8d4d13;
  font-weight: 900;
}

.event-view-all::after {
  content: "→";
  color: var(--gold);
}

.event-section-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(1180px, 100%);
  margin: 0 auto 32px;
  text-align: center;
}

.event-section-head h2 {
  font-size: clamp(2.35rem, 4.3vw, 4.25rem);
}

.title-mark {
  position: relative;
  display: block;
  width: 108px;
  height: 14px;
  color: #d5a354;
}

.title-mark::before,
.title-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  height: 1px;
  background: currentColor;
}

.title-mark::before {
  left: 0;
}

.title-mark::after {
  right: 0;
}

.title-mark {
  background:
    radial-gradient(circle at center, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at center, transparent 0 6px, currentColor 6px 7px, transparent 8px);
}

.event-slider {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.event-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 66px) / 4);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 10px 24px;
  margin: -10px -10px 0;
  -webkit-overflow-scrolling: touch;
}

.event-track::-webkit-scrollbar {
  display: none;
}

.event-controls {
  display: none;
  position: absolute;
  top: 44%;
  left: 8px;
  right: 8px;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.event-controls .icon-button {
  background: rgba(255, 250, 238, 0.9);
  border-color: rgba(183, 107, 29, 0.32);
  color: var(--teal-dark);
  box-shadow: 0 12px 24px rgba(90, 72, 42, 0.14);
  pointer-events: auto;
}

.all-events-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  scroll-snap-align: start;
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(183, 107, 29, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.94);
  box-shadow: 0 14px 34px rgba(90, 72, 42, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.event-card:hover,
.event-card:focus-within {
  border-color: rgba(183, 107, 29, 0.44);
  box-shadow: 0 18px 42px rgba(90, 72, 42, 0.16);
  transform: translateY(-3px);
}

.event-image-link {
  position: relative;
  display: block;
  min-height: 0;
}

.event-image-link img {
  width: 100%;
  aspect-ratio: 4 / 2.65;
  object-fit: cover;
}

.event-year {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border-radius: var(--radius);
  background: rgba(19, 46, 39, 0.9);
  color: #f8df9b;
  padding: 5px 10px;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.event-year svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-card-body {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 20px 20px 22px;
  text-align: center;
}

.event-card h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(1.04rem, 1.3vw, 1.25rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.event-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.event-read-more {
  justify-self: center;
  margin-top: 4px;
  font-size: 0.95rem;
}

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

.message-section .section-head {
  margin-bottom: 34px;
}

.message-section .section-head h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.message-slider {
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.message-section .message-grid {
  display: flex;
  gap: 0;
  transition: transform 0.42s ease;
  will-change: transform;
}

.report-section {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.report-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 24px rgba(18, 96, 106, 0.2);
}

.report-button:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(18, 96, 106, 0.28);
}

.report-button .icon {
  font-size: 1.4rem;
}

.info-card,
.message-card,
.person-card,
.award-card,
.activity-card,
.blog-card,
.district-card,
.contact-card {
  border: 1px solid rgba(18, 96, 106, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 243, 214, 0.9);
  box-shadow: 0 12px 30px rgba(23, 37, 42, 0.08);
}

.info-card {
  min-height: 156px;
  padding: 22px;
}

.info-card h3,
.message-card h3,
.person-card h3,
.award-card h3,
.activity-card h3,
.blog-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  color: var(--teal-dark);
  line-height: 1.22;
  letter-spacing: 0;
}

.info-card p,
.message-card p,
.person-card p,
.award-card p,
.activity-card p,
.blog-card p,
.contact-card p,
.page-text p,
.placeholder-note {
  margin: 0;
  color: var(--muted);
}

.message-card {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  flex: 0 0 100%;
  gap: 24px;
  min-height: 304px;
  padding: 28px;
  border-color: rgba(183, 107, 29, 0.2);
  background: #fff8e8;
  box-shadow: 0 16px 36px rgba(90, 72, 42, 0.12);
}

.message-card > div {
  display: grid;
}

.message-card h3 {
  font-size: 1.35rem;
  justify-self: end;
  align-self: end;
}

.message-card p {
  font-size: 1.08rem;
  margin: 0 0 22px;
}

.message-card img,
.person-card img,
.award-card img {
  width: 100%;
  object-fit: cover;
}

.message-card img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.page-shell {
  min-height: 60vh;
}

.page-hero {
  background: linear-gradient(135deg, var(--cream), var(--cream-light));
  border-bottom: 1px solid rgba(18, 96, 106, 0.12);
}

.page-hero-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 24px;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero p:empty {
  display: none;
}

.page-content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 78px;
}

.page-text {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.people-grid,
.award-grid,
.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.state-committee-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card,
.award-card,
.blog-card {
  overflow: hidden;
}

.person-card img,
.event-card img,
.blog-card img,
.district-activity-card img {
  content-visibility: auto;
}

.person-card,
.event-card,
.blog-card,
.message-card {
  contain: content;
}

.person-card img,
.award-card img {
  aspect-ratio: 1 / 1;
}

.award-list-shell {
  background:
    linear-gradient(135deg, rgba(13, 70, 77, 0.96), rgba(18, 96, 106, 0.9)),
    radial-gradient(circle at top, rgba(183, 107, 29, 0.24), transparent 52%);
  color: var(--white);
  padding: 54px max(18px, calc((100% - 1120px) / 2)) 70px;
}

.award-list-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 38px;
}

.award-list-tab {
  min-height: 48px;
  border: 1px solid rgba(255, 243, 214, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 243, 214, 0.08);
  color: var(--cream-light);
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.award-list-tab:hover,
.award-list-tab.is-active {
  border-color: var(--gold);
  background: var(--cream-light);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.award-list-panel {
  display: grid;
  border-top: 1px solid rgba(255, 243, 214, 0.18);
  border-bottom: 1px solid rgba(255, 243, 214, 0.18);
}

.award-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(180px, 0.46fr);
  align-items: center;
  gap: 24px;
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 243, 214, 0.16);
  padding: 20px 24px;
}

.award-list-row:last-child {
  border-bottom: 0;
}

.award-list-name {
  color: var(--cream-light);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  font-weight: 900;
  line-height: 1.35;
}

.award-list-divider {
  width: 1px;
  height: 34px;
  background: rgba(183, 107, 29, 0.85);
}

.award-list-recipient {
  color: #f4c879;
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  font-weight: 900;
  line-height: 1.35;
  text-align: right;
}

.person-card div,
.award-card div,
.blog-card div {
  padding: 16px;
}

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

.activity-card {
  padding: 18px;
}

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

.district-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid rgba(183, 107, 29, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7df, #f6dfad);
  color: var(--teal-dark);
  box-shadow: 0 14px 30px rgba(90, 72, 42, 0.12);
  padding: 18px 20px;
  font-weight: 900;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.district-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(183, 107, 29, 0.16), transparent 32%, rgba(18, 96, 106, 0.1));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.district-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold);
  transform: scaleX(0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.district-card span {
  position: relative;
  z-index: 1;
}

.district-card:hover {
  border-color: rgba(18, 96, 106, 0.32);
  color: var(--teal-dark);
  box-shadow: 0 18px 38px rgba(90, 72, 42, 0.18);
  transform: translateY(-3px);
}

.district-card:hover::before {
  opacity: 1;
}

.district-card:hover::after {
  background: var(--teal);
  transform: scaleX(1);
}

.district-profile {
  background: #fbfaf6;
}

.district-hero {
  position: relative;
  min-height: clamp(360px, 45vw, 500px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0, 70, 72, 0.94) 0%, rgba(0, 70, 72, 0.82) 34%, rgba(0, 70, 72, 0.3) 62%, rgba(0, 70, 72, 0.02) 100%),
    var(--district-hero-image);
  background-position: center;
  background-size: cover;
  color: var(--white);
  isolation: isolate;
}

.district-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -42px;
  z-index: 1;
  height: 92px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #fbfaf6;
}

.district-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0 118px;
}

.district-hero .eyebrow {
  color: #f2c66d;
  font-size: 0.94rem;
}

.district-hero h1 {
  max-width: 720px;
  margin: 8px 0 16px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.district-hero-rule {
  display: block;
  width: 92px;
  height: 3px;
  background: #d7a848;
}

.district-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
}

.district-section-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-align: center;
}

.district-section-head h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.district-title-mark {
  display: inline-grid;
  grid-template-columns: 70px 12px 70px;
  align-items: center;
  gap: 12px;
  color: #d8ad5d;
}

.district-title-mark span {
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.district-title-mark b {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
}

.district-section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.district-leader-grid,
.mekhala-grid,
.district-activity-grid {
  display: grid;
  gap: 22px;
}

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

.district-leader-card {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 250px;
  border: 1px solid rgba(18, 96, 106, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px 18px 28px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(23, 37, 42, 0.1);
}

.district-leader-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 86px;
  height: 3px;
  background: var(--teal);
  transform: translateX(-50%);
}

.district-leader-card img {
  width: min(132px, 62%);
  aspect-ratio: 1 / 1;
  border: 2px solid var(--teal);
  border-radius: 50%;
  object-fit: cover;
}

.district-leader-card h3,
.mekhala-card h3,
.district-activity-card h3 {
  margin: 16px 0 0;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: 0;
}

.district-leader-card p {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: var(--teal);
  font-weight: 900;
}

.district-leader-card p span,
.mekhala-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.district-leader-card svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.district-leader-card .district-leader-phone {
  display: flex;
  gap: 6px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.mekhala-section {
  width: 100%;
  max-width: none;
  background: #eaf7f6;
  padding: 58px max(18px, calc((100% - 1120px) / 2)) 64px;
}

.mekhala-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-items: stretch;
}

.mekhala-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  border: 1px solid rgba(18, 96, 106, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  padding: 13px 16px;
  box-shadow: 0 10px 26px rgba(18, 96, 106, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mekhala-card:hover,
.mekhala-card:focus-visible {
  border-color: rgba(18, 96, 106, 0.34);
  box-shadow: 0 16px 34px rgba(18, 96, 106, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.mekhala-card span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.mekhala-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mekhala-card h3 {
  margin: 0;
  font-size: 1rem;
}

.district-activities-section {
  padding-bottom: 74px;
}

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

.district-activity-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(90, 72, 42, 0.1);
}

.district-activity-card img {
  width: 100%;
  aspect-ratio: 4 / 2.65;
  object-fit: cover;
}

.district-activity-card div {
  display: grid;
  gap: 8px;
  padding: 14px 14px 18px;
}

.district-activity-card h3 {
  margin: 0;
  text-align: center;
  font-size: 1rem;
}

.district-activity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}

.subsection-title {
  margin: 44px 0 18px;
  color: var(--teal-dark);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.image-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.image-carousel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-carousel-wrap,
.gallery-carousel-wrap {
  max-width: 540px;
  margin-inline: auto;
}

.news-carousel,
.gallery-carousel {
  margin-bottom: 12px;
}

.news-carousel img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
}

.news-footer,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-footer .carousel-caption,
.news-footer .carousel-controls,
.gallery-footer .carousel-caption,
.gallery-footer .carousel-controls {
  position: static;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  color: var(--teal-dark);
  border-radius: 0;
  max-width: none;
  box-shadow: none;
}

.news-footer .carousel-caption,
.gallery-footer .carousel-caption {
  font-size: 0.95rem;
  font-weight: 700;
}

.news-footer .carousel-controls .icon-button,
.gallery-footer .carousel-controls .icon-button {
  background: var(--teal);
  color: var(--white);
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .news-carousel-wrap,
  .gallery-carousel-wrap {
    max-width: 600px;
  }
  .news-carousel img {
    aspect-ratio: 3 / 4;
  }
}

.gallery-carousel-wrap {
  max-width: none;
}

@media (min-width: 768px) {
  .gallery-carousel-wrap {
    max-width: none;
  }
}

.gallery-main-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.carousel-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  border-radius: var(--radius);
  background: rgba(13, 70, 77, 0.72);
  color: var(--white);
  padding: 10px 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.carousel-controls {
  position: absolute;
  right: 18px;
  top: 18px;
  display: inline-flex;
  gap: 8px;
}

.carousel-controls .icon-button {
  background: rgba(255, 255, 255, 0.82);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.gallery-thumb {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.72;
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.gallery-thumb.is-active {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  opacity: 1;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.contact-card {
  padding: 22px;
}

.map-link {
  display: block;
  min-height: 260px;
  margin-top: 24px;
  border: 1px solid rgba(18, 96, 106, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 96, 106, 0.75), rgba(183, 107, 29, 0.58)),
    url("assets/gallery/academy-gallery-010.jpeg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.map-link span {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 20px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
}

.feature-image {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.event-detail-page {
  background: #fbfaf6;
}

.event-detail-hero {
  position: relative;
  min-height: clamp(420px, 58vw, 640px);
  overflow: hidden;
  background: var(--teal-dark);
  color: var(--white);
  isolation: isolate;
}

.event-detail-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 70, 77, 0.88), rgba(13, 70, 77, 0.58), rgba(13, 70, 77, 0.16));
}

.event-detail-overlay {
  display: grid;
  align-content: end;
  gap: 18px;
  width: min(1120px, calc(100% - 36px));
  min-height: inherit;
  margin: 0 auto;
  padding: 92px 0 72px;
}

.event-detail-year {
  position: static;
  justify-self: start;
  background: rgba(255, 243, 214, 0.94);
  color: var(--teal-dark);
}

.event-detail-overlay h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

html[lang="ml"] .event-detail-overlay h1 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.18;
}

.event-detail-overlay p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  font-weight: 700;
}

.event-detail-content {
  display: grid;
  gap: 44px;
}

.event-detail-content .page-text {
  max-width: 840px;
}

.event-detail-content .page-text p {
  color: #344044;
  font-size: 1.08rem;
  line-height: 1.82;
}

.related-events {
  border-top: 1px solid rgba(183, 107, 29, 0.2);
}

.related-event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thank-you-card {
  display: grid;
  gap: 20px;
  max-width: 720px;
}

.membership-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

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

.form-row label {
  color: var(--teal-dark);
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(18, 96, 106, 0.22);
  border-radius: var(--radius);
  background: var(--cream-light);
  color: var(--ink);
  padding: 13px 14px;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2312606a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-row input {
  background-image: none;
}

.form-row input[type="file"] {
  padding: 10px;
}

.form-row input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-help {
  margin: 0 0 18px;
  color: var(--muted);
}

.hidden-field {
  display: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(18, 96, 106, 0.16);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(183, 107, 29, 0.3);
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(23, 37, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  background: rgba(8, 28, 31, 0.92);
  color: var(--white);
}

.lightbox.is-open {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px;
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
}

.lightbox-image {
  max-width: min(94vw, 1180px);
  max-height: 82vh;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.12s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  max-width: calc(100% - 36px);
  border-radius: var(--radius);
  background: rgba(13, 70, 77, 0.72);
  padding: 8px 12px;
  font-weight: 800;
  transform: translateX(-50%);
}

.lightbox .icon-button {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.lightbox .icon-button:hover {
  background: var(--white);
  color: var(--teal-dark);
}

.site-footer {
  background: var(--blue-soft);
  border-top: 1px solid var(--blue-line);
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 24px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.social-link:hover {
  background: var(--gold);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link .filled-icon {
  fill: currentColor;
  stroke: none;
}

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

.footer-title {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
}

.footer-contact div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 10px;
}

.footer-contact dt {
  color: var(--teal-dark);
  font-weight: 900;
}

.footer-contact dd {
  margin: 0;
}

.copyright {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--blue-line);
  color: var(--muted);
  font-size: 0.92rem;
}

.copyright a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.copyright a:hover {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .announcement-grid,
  .all-events-grid,
  .related-event-grid,
  .message-grid,
  .people-grid,
  .award-grid,
  .blog-grid,
  .district-grid,
  .contact-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content h2 {
    max-width: calc(100% - 58px);
  }

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

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

  .message-card {
    flex-basis: 100%;
    grid-template-columns: 160px minmax(0, 1fr);
    min-height: 260px;
  }

  .event-track {
    grid-auto-columns: calc((100% - 22px) / 2);
  }

  .event-controls {
    left: 8px;
    right: 8px;
  }

  .all-events-grid,
  .related-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .district-leader-grid,
  .mekhala-grid,
  .district-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 20px, 1180px);
    min-height: 68px;
    gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .language-toggle {
    min-width: 62px;
    min-height: 40px;
    padding: 0 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 40px;
  }

  .menu-backdrop {
    grid-template-columns: 1fr;
  }

  .drawer-panel {
    grid-column: 1;
  }

  .hero-slider {
    min-height: 520px;
  }

  .hero-slide::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.74));
  }

  .hero-content {
    align-self: end;
    width: min(100% - 28px, 1060px);
    padding: 150px 0 86px;
  }

  .hero-content h2 {
    max-width: calc(100% - 70px);
    font-size: 1.85rem;
    line-height: 1.15;
  }

  html[lang="ml"] .hero-content h2 {
    font-size: clamp(1.42rem, 6.8vw, 1.78rem);
    line-height: 1.18;
  }

  .transparent-button {
    max-width: calc(100% - 70px);
    text-align: center;
  }

  .hero-controls {
    right: 14px;
  }

  .news-marquee {
    grid-template-columns: 1fr;
  }

  .marquee-label {
    justify-content: start;
    place-items: center start;
  }

  .join-section::after {
    background: rgba(248, 224, 175, 0.9);
  }

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

  .event-section-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-section-head {
    align-items: center;
    justify-items: center;
  }

  .event-track {
    display: grid;
    grid-auto-columns: minmax(260px, 86%);
    scroll-snap-type: x mandatory;
    scroll-padding: 10px;
  }

  .event-controls {
    display: flex;
    position: static;
    justify-content: center;
    margin-top: 8px;
    transform: none;
  }

  .announcement-grid,
  .all-events-grid,
  .related-event-grid,
  .message-grid,
  .people-grid,
  .award-grid,
  .blog-grid,
  .district-grid,
  .district-leader-grid,
  .mekhala-grid,
  .district-activity-grid,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .district-hero {
    min-height: 360px;
    background-image:
      linear-gradient(180deg, rgba(0, 70, 72, 0.94) 0%, rgba(0, 70, 72, 0.76) 54%, rgba(0, 70, 72, 0.36) 100%),
      var(--district-hero-image);
  }

  .district-hero-inner {
    padding: 70px 0 104px;
  }

  .district-hero h1 {
    font-size: 2.75rem;
  }

  .district-section,
  .mekhala-section {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .district-title-mark {
    grid-template-columns: 54px 10px 54px;
    gap: 10px;
  }

  .message-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .message-section {
    padding: 72px 18px 80px;
  }

  .message-section .section-head h2 {
    font-size: 2.55rem;
  }

  .message-card img {
    width: min(100%, 320px);
  }

  .award-list-shell {
    padding: 42px 18px 56px;
  }

  .award-list-tabs {
    justify-content: stretch;
  }

  .award-list-tab {
    flex: 1 1 100%;
  }

  .award-list-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(96px, 0.42fr);
    gap: 10px;
    min-height: 70px;
    padding: 16px 0;
  }

  .award-list-name,
  .award-list-recipient {
    font-size: 0.86rem;
    line-height: 1.34;
  }

  .award-list-divider {
    height: 30px;
  }

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

  .event-detail-hero {
    min-height: 500px;
  }

  .event-detail-hero::after {
    background: linear-gradient(180deg, rgba(13, 70, 77, 0.28), rgba(13, 70, 77, 0.9));
  }

  .event-detail-overlay {
    align-content: end;
    padding: 110px 0 54px;
  }

  .event-detail-overlay h1 {
    font-size: 2.15rem;
    line-height: 1.1;
  }

  html[lang="ml"] .event-detail-overlay h1 {
    font-size: 1.8rem;
  }

  .lightbox-top {
    justify-content: center;
  }

  .lightbox-caption {
    bottom: 10px;
    font-size: 0.86rem;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 6px;
  }

  .language-toggle {
    min-width: 54px;
    font-size: 0.82rem;
  }

  .hero-content h2 {
    max-width: calc(100% - 64px);
    font-size: 1.62rem;
  }

  html[lang="ml"] .hero-content h2 {
    font-size: clamp(1.28rem, 6.4vw, 1.48rem);
    line-height: 1.2;
  }

  .transparent-button {
    max-width: calc(100% - 64px);
    min-height: 42px;
    padding: 10px 14px;
  }

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

  .events-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .event-track {
    grid-auto-columns: minmax(238px, 92%);
  }

  .event-card-body {
    padding: 16px;
  }

  .all-events-grid,
  .related-event-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}
@media (max-width: 768px) {
  body[data-page="home"] .hero-controls,
  body[data-page="home"] .messages-controls,
  body[data-page="home"] .events-controls,
  body[data-page="home"] button[class*="prev"],
  body[data-page="home"] button[class*="next"],
  body[data-page="home"] button[id*="prev"],
  body[data-page="home"] button[id*="next"] {
    display: none !important;
  }
}