@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --maroon: #7b1d22;
  --maroon2: #9b2a2f;
  --nav: #7b1d22;
  --navDark: #651318;
  --cream: #f5efe6;
  --paper: #fffaf2;
  --ink: #1f2a33;
  --muted: #6b7680;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
  --shadow2: 0 2px 3px rgba(0, 0, 0, 0.1);
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(
    1200px 500px at 50% -80px,
    #fff 0%,
    var(--cream) 60%,
    #f7eee5 100%
  );
  background-blend-mode: multiply;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

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

iframe,
video {
  max-width: 100%;
}

.line {
  height: 2px;
  background-color: var(--line);
  width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul {
  overflow-wrap: break-word;
}

h2,
h3,
h4 {
  font-family: "Great Vibes", cursive;
  padding: 0;
  margin: 0;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* top header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding: 8px 0;
}

.logoMark img {
  width: 100px;
}

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

.brandTextDecor,
.brandTextDecorA {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brandTextDecorA h2 {
  margin: 2px 0 0;
  color: #2b5aa5;
  font-size: 24px;
}

.brandTextDecorA .lineLeft img,
.brandTextDecorA .lineRight img {
  width: 160px;
}

.brandText h1 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: 0.4px;
  font-weight: 700;
  color: var(--maroon);
  font-family: "Caveat", cursive;
  line-height: 1.1;
}

.brandText h2 {
  margin: 2px 0 0;
  color: #2b5aa5;
  font-size: clamp(16px, 2.2vw, 24px);
}

.lineLeft img,
.lineRight img {
  width: 120px;
}

.topbarContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
}

.topRight {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.iconRow {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.iconBtn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition: 0.18s transform;
}

.iconBtn:active {
  transform: scale(0.96);
}

.iconBtn svg {
  width: 17px;
  height: 17px;
  fill: var(--maroon);
}

/* nav */
.navWrap {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='6' numOctaves='10' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.3'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--nav) 0%, var(--navDark) 100%);
  background-blend-mode: overlay;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid #d07b2a;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #f2dbc3;
  text-decoration: none;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.3s ease;
}

nav a:not(:last-child)::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  width: 2px;
  background: #d07b2a;
  opacity: 0.9;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: #d07b2a;
  transition: all 0.2s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 60%;
}

nav a:hover {
  color: #ffd9a8;
}

/* ticker */
.ticker {
  background: linear-gradient(180deg, #1d3f73 0%, #04305d 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tickerInner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.tickerLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffd479;
  box-shadow: 0 0 0 3px rgba(255, 212, 121, 0.18);
}

.marquee {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 180px;
}

.marqueeTrack {
  display: inline-flex;
  gap: 26px;
  white-space: nowrap;
  will-change: transform;
  animation: scroll 18s linear infinite;
  font-weight: 650;
  font-size: 13px;
  opacity: 0.95;
}

.marqueeTrack span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.sep {
  opacity: 0.55;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* main hero area */
main {
  padding: 16px 0 26px;
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1.05fr);
  gap: 16px;
  margin-top: 16px;
  align-items: stretch;
}

.hero {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  min-height: 330px;
}

.heroMedia {
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.1)),
    radial-gradient(
      900px 260px at 30% 30%,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0)
    ),
    url("../images/mock.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 330px;
}

.playBtn {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(15, 28, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: 0.18s transform;
}

.playBtn:hover {
  transform: translateY(-50%) scale(1.02);
}

.playBtn:active {
  transform: translateY(-50%) scale(0.98);
}

.playBtn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 2px;
}

.heroCaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.52) 100%
  );
}

.heroCaption .kicker {
  font-weight: 800;
  letter-spacing: 0.35px;
  font-size: 13px;
  opacity: 0.95;
}

.heroCaption h2 {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 900;
  font-family: "Poppins", sans-serif;
}

.heroCaption p {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.92;
  max-width: 60ch;
}

/* bulletin */
.panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.panelHead {
  padding: 12px 14px;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panelHead h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #1c4c8f;
  font-style: italic;
  letter-spacing: 0.2px;
  font-family: "Poppins", sans-serif;
}

.dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d0d8e6;
  display: inline-block;
}

.dots i.active {
  background: #c46a2a;
}

.bulletin {
  padding: 14px;
  display: grid;
}

.bulletItem {
  display: flex;
  align-items: flex-start;
  padding: 12px 12px;
  border-bottom: 2px solid var(--line);
  background-color: #e7e7e7;
}

.bulletItemText {
  padding: 0 12px;
  min-width: 0;
}

.star {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.star svg {
  width: 20px;
  height: 20px;
  fill: #c46a2a;
}

.bulletItem b {
  display: block;
  font-size: 13px;
}

.bulletItem span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* affiliation */
.aff {
  margin: 18px 0 14px;
  overflow: hidden;
  border-top: 2px solid var(--line);
}

.affTitle {
  text-align: center;
  padding: 10px 10px 6px;
  margin: 0 auto;
  max-width: 100%;
}

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

.affItem {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  min-height: 62px;
}

.affItem:last-child {
  border-right: none;
}

.badge {
  padding: 10px;
  flex: 0 0 auto;
}

.badge img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.affItem p {
  margin: 0;
  font-weight: 800;
  font-size: 12.5px;
  color: #2a3a46;
  line-height: 1.15;
}

.affItem p small {
  display: block;
  font-weight: 700;
  color: var(--muted);
  margin-top: 2px;
  font-size: 11.5px;
}

/* feature cards */
.features {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  background: var(--card);
  box-shadow: var(--shadow2);
  padding: 16px 30px 14px;
  display: grid;
  gap: 10px;
  min-height: 150px;
  text-align: center;
}

.featureIcon {
  padding: 10px;
}

.featureIcon img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin: 0 auto;
}

.feature h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1c4c8f;
  letter-spacing: 0.1px;
  font-family: "Poppins", sans-serif;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* lower grid */
.lower {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
}

.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.widgetHead {
  padding: 11px 14px;
  border-bottom: 2px solid var(--line);
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.widgetHead h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #1c4c8f;
  font-style: italic;
  font-family: "Poppins", sans-serif;
}

.widgetBody {
  padding: 14px;
}

/* calendar mock */
.calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.month {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 10px 12px;
  background: linear-gradient(180deg, #fff 0%, #fbf7f1 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.monthTitle {
  text-align: center;
  font-weight: 900;
  color: #a05a1c;
  margin-bottom: 10px;
  font-size: 13px;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  justify-items: center;
}

.pill {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d8d8d8;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.events {
  display: grid;
  gap: 10px;
}

.event {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 12px;
}

.pin {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: #fff2dd;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pin svg {
  width: 13px;
  height: 13px;
  fill: #c46a2a;
}

.event b {
  display: block;
  font-size: 13px;
}

.event span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* footer */
footer {
  margin-top: 18px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--nav) 0%, var(--navDark) 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -18px 35px rgba(0, 0, 0, 0.12);
}

.footerGrid {
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
}

.footCard {
  border-radius: 3px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.footCard h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-family: "Poppins", sans-serif;
}

.footCard ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footCard a {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.footCard a:hover {
  opacity: 1;
  text-decoration: underline;
}

.contactLine {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: 0.95;
  font-size: 13px;
}

.contactLine svg {
  width: 16px;
  height: 16px;
  fill: #ffd479;
  flex: 0 0 auto;
  margin-top: 2px;
}

.map {
  height: 120px;
  border-radius: 3px;
  background: radial-gradient(
      220px 120px at 65% 45%,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
  position: relative;
  overflow: hidden;
}

.map::after {
  content: "";
  position: absolute;
  inset: -40px;
  background: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0 2px,
      transparent 2px 18px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0 2px,
      transparent 2px 18px
    );
  transform: rotate(8deg);
  opacity: 0.35;
}

.mapPin {
  position: absolute;
  left: 58%;
  top: 42%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ff6b6b;
  box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.18);
  z-index: 2;
}

.footerBottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 0;
  opacity: 0.85;
  font-size: 12px;
}

/* modal */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 50;
}

.modal {
  width: min(860px, 96vw);
  background: #0b1117;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.modalTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  gap: 10px;
}

.modalTop b {
  font-size: 13px;
  font-family: "Poppins", sans-serif;
}

.closeBtn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  border-radius: 12px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 800;
}

.videoMock {
  aspect-ratio: 16/9;
  background: radial-gradient(
      600px 260px at 30% 40%,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(135deg, rgba(123, 29, 34, 0.45), rgba(15, 47, 93, 0.35));
  display: grid;
  place-items: center;
  color: #fff;
  padding: 14px;
}

.videoMock p {
  margin: 0;
  opacity: 0.9;
  font-size: 13px;
  text-align: center;
  max-width: 60ch;
}

.content {
  margin: 30px 0;
}

.content p {
  padding: 5px 5%;
  text-align: center;
  line-height: 1.8;
}

.contentText {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.contentText h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 28px);
  padding: 0 10px;
  letter-spacing: 0.4px;
  font-weight: 600;
  color: var(--maroon);
  font-family: "Great Vibes", cursive;
}

.contentText h2 {
  margin: 2px 0 0;
  color: #2b5aa5;
  font-size: clamp(20px, 2.6vw, 22px);
  padding: 0 10px;
}

.listing {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.listing img {
  width: 100%;
  margin-top: 25px;
  border-radius: 4px;
}

.aimList {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

/* responsiveness */
@media (max-width: 1024px) {
  .topbar {
    min-height: unset;
    padding: 12px 0;
  }

  .topbarContainer {
    padding: 0 10px;
  }

  .logoMark img {
    width: 84px;
  }

  .brandTextDecorA .lineLeft img,
  .brandTextDecorA .lineRight img {
    width: 120px;
  }

  .feature {
    padding-inline: 18px;
  }
}

@media (max-width: 920px) {
  .heroGrid,
  .lower,
  .features,
  .footerGrid,
  .affRow,
  .calendar,
  .listing {
    grid-template-columns: 1fr;
  }

  .panel,
  .hero,
  .heroMedia {
    min-height: auto;
  }

  .heroMedia {
    min-height: 280px;
  }

  .affItem {
    border-right: none;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
    text-align: left;
  }

  .affItem:first-child {
    border-top: none;
  }

  .listing img {
    margin-top: 20px;
    padding: 15px;
  }
}

@media (max-width: 820px) {
  .topbarContainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .topRight {
    justify-content: center;
  }

  .brandTextDecor,
  .brandTextDecorA {
    gap: 10px;
  }

  .lineLeft img,
  .lineRight img,
  .brandTextDecorA .lineLeft img,
  .brandTextDecorA .lineRight img {
    width: 90px;
  }

  .affTitle {
    margin: 0;
    padding: 10px 10px 6px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1100px);
  }

  .content {
    margin: 22px 0;
  }

  .content p {
    padding-inline: 0;
  }

  .tickerInner {
    padding-inline: 10px;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  nav a {
    flex: 0 0 auto;
    padding: 12px 14px;
    font-size: 13px;
  }

  nav a:not(:last-child)::before {
    height: 14px;
  }

  nav a::after {
    bottom: 6px;
  }

  .marqueeTrack {
    animation-duration: 24s;
  }
}

@media (max-width: 520px) {
  .logoMark img {
    width: 72px;
  }

  .lineLeft img,
  .lineRight img,
  .brandTextDecorA .lineLeft img,
  .brandTextDecorA .lineRight img {
    width: 70px;
  }

  .heroMedia {
    min-height: 220px;
  }

  .playBtn {
    width: 48px;
    height: 48px;
    left: 12px;
  }

  .heroCaption {
    padding: 12px;
  }

  .heroCaption h2 {
    font-size: 18px;
  }

  .feature,
  .footCard,
  .month,
  .widgetBody,
  .bulletin,
  .cardBox,
  .pageHead,
  .levels {
    padding-left: 12px;
    padding-right: 12px;
  }

  .modalOverlay {
    padding: 12px;
  }

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

@media (max-width: 380px) {
  .brandTextDecor,
  .brandTextDecorA {
    gap: 6px;
  }

  .lineLeft img,
  .lineRight img,
  .brandTextDecorA .lineLeft img,
  .brandTextDecorA .lineRight img {
    width: 52px;
  }

  .topbarContainer {
    gap: 12px;
  }

  .iconBtn {
    width: 32px;
    height: 32px;
  }
}

/* mobile navigation */
.navHeader {
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0;
  float: right;
}

.menuToggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 5px 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 3px;
}

.menuToggle .bars {
  display: inline-grid;
  gap: 4px;
}

.menuToggle .bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menuToggle[aria-expanded="true"] .bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menuToggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}

.menuToggle[aria-expanded="true"] .bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navWrap .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .navHeader {
    display: flex;
  }

  .menuToggle {
    display: inline-flex;
  }

  nav.siteNav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 8px;
    padding-top: 8px;
    overflow-x: visible;
  }

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

  nav.siteNav a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 10px;
  }

  nav.siteNav a:not(:last-child)::before {
    display: none;
  }

  nav.siteNav a::after {
    left: 10px;
    transform: none;
    bottom: 6px;
  }
}

/* left-side mobile drawer override */
.navOverlay {
  display: none;
}

@media (max-width: 768px) {
  .navHeader {
    justify-content: flex-start;
  }

  .navOverlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 899;
  }

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

  nav.siteNav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 82vw);
    height: 100vh;
    background: linear-gradient(180deg, var(--nav) 0%, var(--navDark) 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 76px 16px 20px;
    margin-top: 0;
    border-top: none;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 900;
    overflow-y: auto;
  }

  nav.siteNav.is-open {
    transform: translateX(0);
  }

  nav.siteNav a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  nav.siteNav a:last-child {
    border-bottom: none;
  }

  nav.siteNav a::after,
  nav.siteNav a:not(:last-child)::before {
    display: none;
  }

  .menuToggle {
    position: relative;
    z-index: 901;
  }

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

/* blog */
.blogGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.blogCard {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.blogThumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14)),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(135deg, #f9efe2, #f4dcc4);
}

.blogBody {
  padding: 16px;
}

.blogMeta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.blogCard h3,
.blogDetails h1,
.blogSidebar h3 {
  font-family: "Poppins", sans-serif;
}

.blogCard h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #1c4c8f;
  line-height: 1.3;
}

.blogCard p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.readMoreBtn {
  display: inline-flex;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--maroon);
  color: #fff;
  font-weight: 800;
}

.blogWrap {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.blogDetails,
.blogSidebar {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  padding: 18px;
}

.blogHero {
  aspect-ratio: 16 / 8;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.14)),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(135deg, #f9efe2, #f4dcc4);
  margin: 14px 0 18px;
}
.blogHero img {
  width: 100%;
  padding: 10px;
}

.blogDetails h1 {
  margin: 0 0 8px;
  color: var(--maroon);
  font-size: 30px;
  line-height: 1.2;
}

.blogDetails p,
.blogDetails li {
  color: #37424d;
  font-size: 14px;
  line-height: 1.9;
}

.blogDetails ul {
  padding-left: 18px;
}

.sidebarPosts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sidebarPosts a {
  text-decoration: none;
  color: #1c4c8f;
  font-weight: 700;
}

.breadcrumbMini {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

@media (max-width: 920px) {
  .blogGrid,
  .blogWrap {
    grid-template-columns: 1fr;
  }
}


/* preloader */
body.preloading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloaderBox {
  text-align: center;
  padding: 20px;
}

.preloaderLogo {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.preloaderLogo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.preloaderTitle {
  margin: 0;
  color: var(--maroon);
  font-family: "Caveat", cursive;
  font-size: 30px;
  line-height: 1.1;
}

.preloaderText {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.preloaderDots {
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
}

.preloaderDots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--maroon);
  animation: preloader-bounce 0.8s infinite ease-in-out;
}

.preloaderDots span:nth-child(2) {
  animation-delay: 0.12s;
}

.preloaderDots span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes preloader-bounce {
  0%, 80%, 100% {
    transform: scale(0.55);
    opacity: 0.55;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
