/* ==========================================================================
   Sri Chembai Memorial Trust — homepage recreation
   Fonts: Bitter (body) / Roboto Condensed (headings)
   Palette: maroon #8e241c, deep maroon #5d1712, orange #fa7f4b, dark #333
   ========================================================================== */

:root {
  --maroon: #8e241c;
  --maroon-dark: #5d1712;
  --maroon-btn: #922020;
  --orange: #fa7f4b;
  --dark: #333333;
  --darker: #212121;
  --body: #666666;
  --heading: #333333;
  --white: #ffffff;
  --font-body: "Bitter", serif;
  --font-head: "Roboto Condensed", sans-serif;
  --container: 1190px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 25px;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--heading);
  margin: 0;
}
p {
  margin: 0 0 15px;
  margin-bottom: 2rem;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}
.center {
  text-align: center;
}

/* ---------- shared buttons / headings ---------- */
.btn-maroon {
  display: inline-block;
  background: var(--maroon-btn);
  color: #fff;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 16px;
}
.btn-maroon--sm {
  background: #b01c1c;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: 15px;
  line-height: 15px;
}
.btn-maroon:hover {
  background: var(--maroon-dark);
}
.btn-volunteer {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 25px;
  text-transform: uppercase;
  padding: 16px 44px;
  border-radius: 35px;
}
.btn-volunteer:hover {
  background: white;
  color: var(--orange);
}
.section-heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 48.7px;
  text-transform: uppercase;
  text-align: center;
  color: var(--heading);
  margin-bottom: 14px;
}
.section-sub {
  max-width: 570px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 18px;
  line-height: 29px;
}

/* ---------- about page ---------- */
.about-page {
  background: #fff;
}
.about-banner {
  position: relative;
  padding: 62px 0 62px;
  background:
    linear-gradient(180deg, rgba(2, 3, 10, 0.408), rgba(2, 3, 10, 0.425)),
    url("../images/bg.jpg") center/cover no-repeat;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}
.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 198, 0, 0.14),
      transparent 22%
    ),
    radial-gradient(circle at 20% 25%, rgba(255, 198, 0, 0.1), transparent 14%),
    radial-gradient(circle at 60% 80%, rgba(255, 198, 0, 0.08), transparent 12%);
}

.about-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.about-banner__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 20px;
}
.about-banner__breadcrumb a {
  color: #fff;
}
.about-banner__breadcrumb a:hover {
  color: var(--orange);
}
.about-banner h1 {
  font-size: 50px;
  line-height: 60px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.about-banner p {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.94);
}
.about-page__intro {
  padding: 35px 0 80px;
}
.about-page__intro h2 {
  font-size: 44px;
  line-height: 52px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 32px;
}
.about-page__content h3 {
  font-size: 23px;
  line-height: 34px;
  font-weight: 700;
  color: #666666;
  margin: 28px 0 16px;
}
.about-page__content p {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 25px;
  color: #666666;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--dark);
  color: #fff;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.topbar__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  line-height: 25px;
}
.topbar__info a {
  color: #fff;
}
.topbar__info a:hover {
  color: var(--orange);
}
.info-item {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.info-item i {
  color: var(--orange);
  font-size: 16px;
}
.btn-donate {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  background: var(--maroon);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 16px;
  line-height: 24px;
  padding: 19px 30px 17px;
  border-radius: 0;
}
.btn-donate:hover {
  background: var(--maroon-dark);
}

/* ---------- header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 60;
}
.site-header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.4s ease;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 97px;
}
.logo img {
  height: 60px;
  width: auto;
}
.menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.menu > li {
  position: relative;
  padding: 0 15px;
}
.menu > li > a {
  display: block;
  padding: 36px 0;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0;
  color: var(--dark);
  text-transform: capitalize;
}
.menu > li > a i {
  font-size: 13px;
  margin-left: 6px;
}
.menu > li.active > a,
.menu > li:hover > a {
  color: var(--maroon);
}
.menu-donate a {
  background: var(--maroon-dark);
  color: #fff !important;
  font-family: var(--font-head);
  text-transform: uppercase;
  padding: 12px 26px !important;
  border-radius: 3px;
}
.menu-donate a:hover {
  background: var(--maroon);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 192px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  padding: 0;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s ease;
  z-index: 70;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 5px 15px;
  font-size: 16px;
  line-height: 25px;
  color: var(--dark);
}
.dropdown-menu a:hover {
  color: var(--maroon);
  background: #f7f7f7;
}
.dropdown-toggle {
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.bar-menu-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--maroon);
}
.nav-close {
  display: none;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.nav-backdrop.is-visible {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 669px;
  overflow: hidden;
}
.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
}
.hero__slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  transform: scale(1.04);
}
.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 8s linear forwards;
}
@keyframes kenburns {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.12);
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  max-width: 805px;
  margin: 0 auto;
}
.hero__subtitle {
  font-family: var(--font-head);
  font-size: 65px;
  line-height: 80px;
  font-weight: 700;
  text-transform: capitalize;
  color: #fff;
  margin-bottom: 32px;
  max-width: 765px;
  letter-spacing: 0;
}
.hero__desc {
  max-width: 765px;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  margin-bottom: 27px;
}
.hero__btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  font-size: 16px;
  line-height: 27px;
  padding: 11px 33px;
  border-radius: 3px;
}
.hero__btn:hover {
  background: white;
  color: var(--orange);
}
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__nav:hover {
  background: var(--orange);
}
.hero__nav--prev {
  left: 25px;
}
.hero__nav--next {
  right: 25px;
}
.hero__dots {
  display: none;
}

/* ---------- audio ---------- */
.audio-section {
  padding: 18px 0 14px;
  background: #fff;
}
.audio-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.audio-section audio {
  width: 300px;
  height: 54px;
  display: block;
  margin: 0 auto;
}

/* ---------- latest updates ---------- */
.latest {
  padding: 10px 0;
}
.latest__row {
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
}
.latest__row--second {
  display: none;
}
.latest__label {
  flex: 0 0 246px;
  background: var(--maroon);
  color: #fff;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  height: 45px;
}
.latest__marquee {
  flex: 1 1 auto;
  background: var(--orange);
  color: #fff;
  height: 45px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.marquee-track {
  white-space: nowrap;
  padding-left: 100%;
  font-size: 18px;
  line-height: 25px;
  color: #fff;
  animation: marquee 22s linear infinite;
}
.latest__marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ---------- feature cards ---------- */
.features {
  margin-top: 14px;
  padding: 50px 0 60px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature {
  position: relative;
  height: 250px;
  border-radius: 3px;
  overflow: hidden;
  display: block;
}
.feature--orange {
  background: #e1903b;
}
.feature--cyan {
  background: #19becb;
}
.feature--green {
  background: #7bbd80;
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
}
.feature__content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 182px;
  padding: 0 40px;
  transition: transform 0.4s ease;
}
.feature:hover .feature__content {
  transform: translateY(-150px);
}
.feature__title {
  font-size: 28px;
  line-height: 33.6px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 30px;
  position: relative;
}
.feature__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 57px;
  height: 2px;
  background: #fff;
}
.feature__title a {
  color: #fff;
}
.feature__title a:hover {
  color: #333333;
}
.feature__desc {
  color: #fff;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 18px;
}
.feature__btn {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 18px;
  padding: 12px 27px 11px;
}
.feature__btn:hover {
  border-color: #333333;
  background: #333333;
  color: white;
}

/* ---------- recent campaigns ---------- */
.campaigns {
  padding: 10px 0 20px;
  text-align: center;
}
.campaigns__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.campaigns__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.campaigns__logo img {
  max-width: 334px;
}
.campaigns__text {
  max-width: 100%;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 16px;
  line-height: 25px;
  margin-bottom: 2rem;
}

/* ---------- upcoming events ---------- */
.upcoming {
  padding: 0px 0 90px;
  background: #fff;
  text-align: center;
}
.upcoming__title {
  font-size: 28px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #666666;
}
.upcoming__guest {
  font-size: 28px;
  line-height: 1;
  font-family:
    Roboto Condensed,
    sans-serif;
  font-weight: 600;
  padding: 0;
  margin: 0;
  color: black;
}
.upcoming__guest span {
  color: var(--maroon);
}
.upcoming__meta {
  font-size: 18px;
  line-height: 29px;
  margin-bottom: 28px;
}
.upcoming__meta strong {
  font-weight: 700;
}
.upcoming__poster {
  max-width: 508px;
  margin: 0 auto 20px;
  background: #fff;
  padding: 4px;
  margin-top: 20px;
}
.upcoming__poster img {
  width: 100%;
  aspect-ratio: 500 / 800;
  object-fit: cover;
}

/* ---------- counters ---------- */
.counters {
  position: relative;
  padding: 85px 0 78px;
  background: url("../images/bg.jpg") center/cover no-repeat fixed;
}
.counters::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.counters__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.counter {
  padding: 0 10px;
}
.counter__icon {
  font-size: 50px;
  line-height: 50px;
  color: var(--orange);
  margin-bottom: 38px;
  display: block;
}
.counter__number {
  font-family: var(--font-head);
  font-size: 55px;
  line-height: 66px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}
.counter__label {
  font-size: 18px;
  line-height: 25px;
  color: #fff;
}

/* ---------- gallery ---------- */
.gallery {
  padding: 81px 0 114px;
}
/* The live homepage shows only the Gallery heading + intro text; the photo grid
   and its caption block live on the Photo Gallery page. */
.gallery__caption,
.gallery__grid {
  display: none;
}
.gallery .section-sub {
  margin-bottom: 0;
}
.gallery__caption h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.gallery__caption a {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  padding: 11px 34px;
  border-radius: 35px;
  font-size: 15px;
}
.gallery__caption a:hover {
  background: var(--maroon);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  display: block;
  background: #eee;
}
.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery__item:hover img {
  transform: scale(1.08);
}
.gallery__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142, 36, 28, 0.65);
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery__item:hover .gallery__zoom {
  opacity: 1;
}

/* ---------- puraskaram ---------- */
.puraskaram {
  padding: 10px 0;
  text-align: center;
}
.puraskaram__title {
  font-size: 28px;
  line-height: 28px;
  font-weight: 600;
  text-transform: none;
  color: var(--heading);
  margin-bottom: 57px;
}
.puraskaram__subtitle {
  color: var(--maroon);
  font-size: 19px;
  line-height: 21px;
  font-weight: 600;
  margin-bottom: 48px;
}
.puraskaram__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}
.puraskaram__grid a {
  display: block;
  padding: 0 10px;
}
.puraskaram__grid img {
  width: auto;
  max-width: 100%;
  max-height: 330px;
  margin: 0 auto;
}
.puraskaram__grid a:hover img {
  opacity: 0.9;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 115px 0 126px;
  text-align: center;
  background: url("../images/SRI-CHEMBAI-MEMORIAL-TRUST-1.jpg") center/cover
    no-repeat;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 66%);
}
.cta .container {
  position: relative;
  z-index: 2;
}
.cta__title {
  font-size: 45px;
  line-height: 54.8px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 9px;
}
.cta__text {
  max-width: 570px;
  margin: 0 auto 36px;
  color: #fff;
  font-size: 18px;
  line-height: 29px;
}

/* ---------- events ---------- */
.events {
  padding: 80px 0 120px;
}
.events .section-sub {
  max-width: 585px;
  margin-bottom: 60px;
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.event-card {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  overflow: hidden;
  background-color: #000;
}
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: 1s;
  z-index: 0;
}
.event-card:hover::before {
  transform: scale(1.1, 1.1);
}
.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.event-card__inner {
  position: relative;
  z-index: 2;
  padding: 0 74px;
  text-align: center;
  width: 100%;
}
.event-card__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  margin-bottom: 19px;
}
.event-card__title a {
  color: #fff;
}
.event-card__title a:hover {
  color: var(--orange);
}
.event-card__cat {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  line-height: 26px;
  padding: 2px 20px 3px;
}
.event-card__cat:hover {
  background: #f36b16;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--dark);
  color: #f8f1f1;
  padding: 67px 0 0;
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.footer__col {
  padding: 0 10px;
}
.footer__title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 29px;
  position: relative;
  padding-bottom: 0;
}
.footer__contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
  line-height: 25px;
  font-size: 15px;
}
.footer__contact i {
  color: var(--orange);
  margin-top: 5px;
}
.footer__links li {
  margin-bottom: 14px;
}
.footer__links a {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 24px;
}
.site-footer a:hover {
  color: var(--orange);
}
.footer__posts li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.footer__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}
.footer__posts h5 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 24px;
  margin-bottom: 4px;
}
.footer__posts time {
  font-size: 14px;
  line-height: 25px;
  color: #a5a5a5;
}
.footer__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.footer__gallery img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}
.footer__gallery a:hover img {
  opacity: 0.75;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.facebook {
  background: blue;
  color: #fff !important;
}
.youtube {
  background: red;
  color: #fff !important;
}
.facebook:hover {
  background: rgba(0, 0, 255, 0.723);
  color: #fff !important;
}
.youtube:hover {
  background: rgba(255, 0, 0, 0.707);
  color: #fff !important;
}
.footer__bottom {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 3px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 15px;
}
.footer__bottom p {
  font-family: sans-serif;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #999999;
}
.footer__powered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer__powered img {
  height: 30px;
  width: 100%;
}

/* ---------- back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 26px;
  height: 26px;
  border-radius: 10%;
  background: #363636;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--maroon-dark);
}

/* ---------- promo popup ---------- */
.promo {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.69);
}
.promo__box {
  position: relative;
  max-width: 520px;
  width: 400px;
  height: 598px;
}
.promo__box img {
  width: 100%;
}
.promo__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 26px;
  color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    height: 620px;
  }
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__subtitle {
    font-size: 46px;
    line-height: 56px;
  }
  .features__grid,
  .events__grid,
  .puraskaram__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .counters__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .section-heading,
  .cta__title {
    font-size: 35px;
    line-height: 42.6px;
  }
  .about-hero__title {
    font-size: 44px;
    line-height: 50px;
  }
  .feature {
    height: auto;
    min-height: 250px;
  }
  .feature__content {
    position: relative;
    top: 0;
    padding: 40px;
    transform: none;
  }
  .feature:hover .feature__content {
    transform: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    padding: 30px 24px;
  }

  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85%;
    background: #fff;
    z-index: 1000;
    padding: 70px 25px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 22px;
    color: var(--maroon);
    z-index: 1001;
  }
  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .menu > li {
    border-bottom: 1px solid #eee;
    padding: 0;
  }
  .menu > li > a {
    padding: 14px 0;
  }
  .menu > li > a i {
    display: none;
  }
  .dropdown-toggle {
    display: block;
    position: absolute;
    top: 8px;
    right: 0;
    padding: 8px 10px;
    color: var(--dark);
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 0 0 8px 14px;
    min-width: 0;
  }
  .dropdown.is-open .dropdown-menu {
    display: block;
  }
  .menu-donate a {
    display: inline-block;
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
  .topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0;
  }
  .topbar__info {
    justify-content: center;
    gap: 14px;
    padding: 4px 0 10px;
    text-align: center;
  }
  .btn-donate {
    justify-content: center;
    padding: 16px 30px;
  }
  .hero {
    height: 600px;
  }
  .hero__subtitle {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 20px;
  }
  .hero__desc {
    font-size: 20px;
    line-height: 30px;
  }
  .hero__nav {
    display: none;
  }
  .latest__label {
    flex: 0 0 auto;
    padding: 10px 14px;
    height: 45px;
  }
  .header__inner {
    min-height: 114px;
  }
  .topbar__info {
    padding: 4px 0;
  }
  .features__grid,
  .events__grid,
  .puraskaram__grid,
  .counters__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .features {
    padding: 40px 0;
  }
  .feature {
    min-height: 0;
  }
  .feature__content {
    padding: 30px 20px;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading {
    font-size: 40px;
    line-height: 48.7px;
  }
  .cta__title {
    font-size: 35px;
    line-height: 42.6px;
  }
  .puraskaram__title {
    font-size: 28px;
  }
  .campaigns__text {
    text-align: center;
  }
  .cta {
    padding: 115px 0 126px;
  }
  .event-card__inner {
    padding: 0 20px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

[hidden] {
  display: none !important;
}

/*
 * Design system definition.
 *
 * The @theme inline block maps CSS custom properties to Tailwind utility
 * classes (e.g. --color-primary -> bg-primary, text-primary).
 *
 * The :root and .dark blocks define the actual color values using oklch.
 * All colors MUST use oklch format.
 *
 * To add a new semantic color:
 * 1. Add the variable to :root (light value) and .dark (dark value)
 * 2. Register it in @theme inline as --color-<name>: var(--<name>)
 */

:root {
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.129 0.042 264.695);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.129 0.042 264.695);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.129 0.042 264.695);
  --primary: oklch(0.208 0.042 265.755);
  --primary-foreground: oklch(0.984 0.003 247.858);
  --secondary: oklch(0.968 0.007 247.896);
  --secondary-foreground: oklch(0.208 0.042 265.755);
  --muted: oklch(0.968 0.007 247.896);
  --muted-foreground: oklch(0.554 0.046 257.417);
  --accent: oklch(0.968 0.007 247.896);
  --accent-foreground: oklch(0.208 0.042 265.755);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.984 0.003 247.858);
  --border: oklch(0.929 0.013 255.508);
  --input: oklch(0.929 0.013 255.508);
  --ring: oklch(0.704 0.04 256.788);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --sidebar: oklch(0.984 0.003 247.858);
  --sidebar-foreground: oklch(0.129 0.042 264.695);
  --sidebar-primary: oklch(0.208 0.042 265.755);
  --sidebar-primary-foreground: oklch(0.984 0.003 247.858);
  --sidebar-accent: oklch(0.968 0.007 247.896);
  --sidebar-accent-foreground: oklch(0.208 0.042 265.755);
  --sidebar-border: oklch(0.929 0.013 255.508);
  --sidebar-ring: oklch(0.704 0.04 256.788);
}

.dark {
  --background: oklch(0.129 0.042 264.695);
  --foreground: oklch(0.984 0.003 247.858);
  --card: oklch(0.208 0.042 265.755);
  --card-foreground: oklch(0.984 0.003 247.858);
  --popover: oklch(0.208 0.042 265.755);
  --popover-foreground: oklch(0.984 0.003 247.858);
  --primary: oklch(0.929 0.013 255.508);
  --primary-foreground: oklch(0.208 0.042 265.755);
  --secondary: oklch(0.279 0.041 260.031);
  --secondary-foreground: oklch(0.984 0.003 247.858);
  --muted: oklch(0.279 0.041 260.031);
  --muted-foreground: oklch(0.704 0.04 256.788);
  --accent: oklch(0.279 0.041 260.031);
  --accent-foreground: oklch(0.984 0.003 247.858);
  --destructive: oklch(0.704 0.191 22.216);
  --destructive-foreground: oklch(0.984 0.003 247.858);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.551 0.027 264.364);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.208 0.042 265.755);
  --sidebar-foreground: oklch(0.984 0.003 247.858);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.984 0.003 247.858);
  --sidebar-accent: oklch(0.279 0.041 260.031);
  --sidebar-accent-foreground: oklch(0.984 0.003 247.858);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.551 0.027 264.364);
}

@layer base {
  * {
    border-color: var(--color-border);
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
  }
}

/* ==========================================================================
   INNER PAGES — all-events, upcoming-events, photo-gallery, contact,
   single event posts, chembai puraskaram. Built on the homepage design
   system (same tokens, banner, buttons, cards).
   ========================================================================== */
.inner-page {
  background: #fff;
}

/* ---------- all events ---------- */
.inner-events {
  padding: 80px 0 100px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 16px;
  background: #f2f2f2;
  color: var(--heading);
}
.archive-pagination {
  justify-content: flex-start;
  margin-top: 34px;
  gap: 12px;
  width: calc(100% - 360px);
}
.archive-pagination .pagination__item {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
}
.pagination__item.is-active {
  background: var(--maroon-btn);
  color: #fff;
}
.all-events__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
}

/* ---------- upcoming events page ---------- */
.upcoming--page {
  padding: 70px 0 90px;
}
.upcoming--page .upcoming__title {
  font-size: 34px;
  line-height: 42px;
  text-transform: uppercase;
}
.upcoming--page .upcoming__poster {
  cursor: zoom-in;
}

/* ---------- photo gallery albums ---------- */
.albums {
  padding: 80px 0 110px;
}
.albums__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.album {
  text-align: center;
  border: 1px solid rgba(150, 150, 150, 0.3);
  padding: 10px;
  box-shadow: 0 0 4px 2px rgba(150, 150, 150, 0.1);
}
.album__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eee;
  border-radius: 3px;
}
.album__thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* .album__thumb:hover img {
  transform: scale(1.08);
} */
/* .album__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142, 36, 28, 0.65);
  color: #fff;
  font-size: 26px;
  opacity: 0;
  transition: opacity 0.3s ease;
} */
/* .album__thumb:hover .album__zoom {
  opacity: 1;
} */
.album__title {
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 1.4px;
  margin: 18px 0 6px;
}
.album__title a:hover {
  color: blue;
}
.album__count {
  margin: 0;
  font-size: 15px;
  color: var(--body);
}
.album__count strong {
  color: var(--maroon);
}

/* ---------- contact page (matched to live site) ---------- */
.contact-page .about-banner {
  padding: 70px 0;
  margin-bottom: 20px;
}
.contact-page .about-banner h1 {
  font-size: 50px;
  line-height: 63.64px;
  padding: 0 0 14px;
  margin: 0;
}
.contact-page .about-banner__breadcrumb {
  margin-bottom: 0;
  gap: 4px;
  font-size: 16px;
  line-height: 25px;
}
.contact {
  padding: 11px 0 60px;
}
.contact .section-heading {
  margin-bottom: 55px;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  align-items: start;
}
.contact__info,
.contact__form-wrap {
  padding: 0 10px;
}
.contact__title {
  margin: 0 0 29px;
  font-size: 25px;
  line-height: 25px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--heading);
}
.contact-info {
  margin: 0 0 20px;
}
.contact-info .icon {
  display: inline;
  margin-right: 19px;
  color: var(--body);
}
.contact-info .icon i {
  display: inline-block;
  font-size: 18px;
  line-height: 16px;
}
.contact-info .sub-title {
  display: inline;
  margin: 0;
  font-size: 17px;
  line-height: 29px;
  color: var(--body);
}
.contact-info a.sub-title:hover {
  color: var(--maroon);
}
.contact__social {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}
.contact__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  border-radius: 50%;
  background: #e5e5e5;
  color: var(--body);
  font-size: 16px;
}
.contact__social a:hover {
  background: var(--orange);
  color: #fff;
}
.contact-form {
  background: #fff;
  padding: 55px 50px 80px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.contact-form__row {
  display: flex;
  flex-wrap: wrap;
}
.contact-form__field {
  width: 50%;
  padding-right: 10px;
  margin-bottom: 20px;
}
.contact-form__field--full {
  width: 100%;
  padding-right: 0;
  margin-bottom: 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--body);
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  padding: 15px 20px 14px;
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--body);
  opacity: 1;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}
.contact-form textarea {
  display: block;
  height: 135px;
  padding: 14px 20px 20px;
  resize: vertical;
}
.contact-form__submit {
  display: inline-block;
  margin-top: 37px;
  padding: 14px 50px 13px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 3px;
  cursor: pointer;
}
.contact-form__submit:hover {
  background: #fff;
  color: var(--orange);
}
.contact-form__status {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--maroon);
  min-height: 22px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* ---------- documents grid (puraskaram) ---------- */
.docs {
  padding: 75px 0 100px;
}
.docs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.docs__item {
  display: block;
  text-align: center;
  border: 1px solid #eee;
  padding: 14px;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}
.docs__item:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.docs__item img {
  width: 100%;
  object-fit: cover;
}
.docs__item span {
  display: block;
  margin-top: 14px;
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--maroon);
}

/* ---------- single event post ---------- */
.post {
  padding: 70px 0 100px;
}
.post__article {
  max-width: 900px;
  margin: 0 auto;
}
.post__media {
  position: relative;
  margin-bottom: 28px;
}
.post__media img {
  width: 100%;
  /* max-height: 520px; */
  object-fit: cover;
  border-radius: 3px;
}
.post__date {
  position: absolute;
  left: 20px;
  top: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--maroon-btn);
  color: #fff;
  font-family: var(--font-head);
  padding: 10px 16px;
  border-radius: 3px;
  line-height: 1.1;
  text-transform: uppercase;
}
.post__date strong {
  font-size: 24px;
}
.post__title {
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  margin-bottom: 14px;
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--body);
  padding-bottom: 22px;
  border-bottom: 1px solid #eee;
  margin-bottom: 26px;
}
.post__meta a:hover {
  color: var(--maroon);
}
.post__content p {
  margin-bottom: 20px;
}
.post__list {
  list-style: decimal;
  padding-left: 22px;
  margin: 0 0 24px;
}
.post__list li {
  margin-bottom: 8px;
}
.post__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 10px;
}
.post__gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
  transition: opacity 0.3s ease;
}
.post__gallery a:hover img {
  opacity: 0.85;
}

/* ---------- inner pages: tablet ---------- */
@media (max-width: 1024px) {
  .albums__grid,
  .docs__grid,
  .post__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 40px 30px 50px;
  }
  .post__title {
    font-size: 27px;
    line-height: 36px;
  }
  .contact-map iframe {
    height: 380px;
  }
}

/* ---------- inner pages: mobile ---------- */
@media (max-width: 767px) {
  .inner-events,
  .albums,
  .docs,
  .post,
  .upcoming--page {
    padding: 45px 0 60px;
  }
  .albums__grid,
  .docs__grid {
    grid-template-columns: 1fr;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__info {
    margin-bottom: 40px;
  }
  .contact-form__field {
    width: 100%;
    padding-right: 0;
  }
  .contact-form {
    padding: 30px 20px 40px;
  }
  .contact-page .about-banner h1 {
    font-size: 34px;
    line-height: 42px;
  }
  .post__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .post__gallery img {
    height: 170px;
  }
  .upcoming--page .upcoming__title {
    font-size: 26px;
    line-height: 34px;
  }
  .post__title {
    font-size: 23px;
    line-height: 32px;
  }
  .contact-map iframe {
    height: 300px;
  }
  .event-card__inner {
    padding: 0 24px;
  }
}

/* ---------- single event post: 2-column layout + sidebar ---------- */
.post--single .post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: start;
}
.post--single .post__article {
  max-width: 100%;
  margin: 0;
}
.post__winners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0 0 30px;
}
.post__winners figure {
  margin: 0;
  text-align: center;
}
.post__winners img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 3px;
}
.post__winners figcaption {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 15px;
}
.post__content .center {
  text-align: center;
}

/* comment form */
.post__comments {
  margin-top: 50px;
  padding-top: 34px;
  border-top: 1px solid #eee;
}
.post__comments-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.post__comments-note {
  font-size: 14px;
  margin-bottom: 22px;
}
.comment-form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.comment-form__field {
  margin-bottom: 18px;
}
.comment-form__row .comment-form__field {
  margin-bottom: 0;
}
.comment-form__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-family: var(--font-head);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  background: #fafafa;
  padding: 12px 14px;
  font: inherit;
  border-radius: 3px;
  outline: none;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--maroon);
}
.comment-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin: 4px 0 22px;
}
.comment-form__submit {
  background: var(--maroon-btn);
  color: #fff;
  border: 0;
  padding: 13px 30px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.comment-form__submit:hover {
  opacity: 0.88;
}

/* sidebar widgets */
.widget {
  margin-bottom: 42px;
}
.widget__title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 18px;
}
.widget__search {
  display: flex;
  gap: 8px;
}
.widget__search input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d8d8d8;
  padding: 10px 12px;
  font: inherit;
  border-radius: 3px;
  outline: none;
}
.widget__search input:focus {
  border-color: var(--maroon);
}
.widget__search button {
  background: #3f3f3f;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  font-family: var(--font-head);
  border-radius: 3px;
  cursor: pointer;
}
.widget__search button:hover {
  background: var(--maroon-btn);
}
.widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget__list li {
  margin-bottom: 8px;
  line-height: 1.55;
}
.widget__list a:hover {
  color: var(--maroon);
}
.latest-news .widget__title {
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid #e5e5e5;
}
.latest-news__list li {
  margin-bottom: 20px;
}
.latest-news__item a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.latest-news__item img {
  width: 112px;
  height: 96px;
  flex: 0 0 112px;
  object-fit: cover;
  border-radius: 3px;
}
.latest-news__item span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.latest-news__item strong {
  color: #666;
  display: block;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.5;
  text-overflow: ellipsis;
}
.latest-news__item small {
  display: block;
  margin-top: 4px;
  color: var(--maroon);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
}
.widget__empty {
  margin: 0;
}

@media (max-width: 1024px) {
  .archive-pagination {
    width: 100%;
  }
  .all-events__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .post--single .post__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .post__sidebar {
    position: static;
  }
  .post__winners {
    grid-template-columns: repeat(3, 1fr);
  }
  .comment-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .post__winners {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Archive listings (month / year / category)
   ========================================================================== */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.archive-list .event-card {
  display: block;
  background: #fff;
  border: 1px solid #ece7dd;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
}

.archive-list .event-card::before,
.archive-list .event-card::after {
  content: none;
}

.archive-list .event-card__media {
  position: relative;
  display: block;
}

.archive-list .event-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.archive-list .event-card__body {
  padding: 22px 24px 26px;
}

.archive-list .event-card__title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.archive-list .event-card__text {
  margin: 12px 0 18px;
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.7;
}

.archive-list .event-card__more {
  display: inline-block;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: white;
  background-color: rgb(148, 1, 1);
  padding: 8px 16px;
}

.archive-list .event-card__more:hover {
  background-color: rgba(149, 0, 0, 0.656);
}

.widget__count {
  color: #9a9a9a;
  font-size: 13px;
}

.post__figure {
  margin: 22px 0;
}

.post__figure img {
  max-width: 100%;
  height: auto;
}

.post__content iframe {
  max-width: 100%;
}

.archive-list .event-card__title a {
  color: #1c1c1c;
}

.archive-list .event-card__title a:hover {
  color: var(--orange);
}

.archive-list .event-card .post__meta span,
.archive-list .event-card .post__meta {
  color: #7a7a7a;
}

.archive-list .event-card__media img {
  max-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.archive-list .event-card__media .post__date {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.post__content img {
  max-width: 100%;
  height: auto;
}

.post__content p img,
.post__content figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 18px auto;
  border-radius: 4px;
}

/* ---------- photo gallery: album detail ---------- */
.album-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 28px;
}
.album-detail__title {
  font-family: "Bitter", serif;
  font-size: 26px;
  margin: 0;
}
.album-detail__count {
  margin: 0;
  color: #777;
  font-size: 14px;
}
.album-detail__count strong {
  color: #b8860b;
}
.album-detail__back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #b8860b;
}
.album-detail__back:hover {
  text-decoration: underline;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.gallery__item {
  margin: 0;
}
.gallery__item a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #e7e7e7;
  background: #fff;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item a:hover img {
  transform: scale(1.06);
}
.gallery__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery__item a:hover .gallery__zoom {
  opacity: 1;
}

@media (max-width: 991px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item img {
    height: 160px;
  }
  .album-detail__back {
    margin-left: 0;
  }
}
@media (max-width: 479px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .gallery__item img {
    height: 220px;
  }
}

/* Contact form: honeypot must stay invisible but reachable to bots only */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__status--ok {
  color: #1a7f37;
  font-weight: 600;
}
.contact-form__status--error {
  color: #b01c1c;
  font-weight: 600;
}


.is-invalid {
  border-color: #b01c1c !important;
}
.invalid-feedback {
  color: #b01c1c;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
