/* Minimal campaign accents. The original 21 Oaks surfaces, image treatments and
   typography remain in charge of the page. */
:root {
  --campaign-blue: #0e38a3;
  --campaign-magenta: #b20ab5;
  --campaign-magenta-hover: #760080;
  --campaign-gold: #ffea68;
  --campaign-ink: #171826;
  --campaign-blue-soft: #d8e1f8;
  --campaign-blue-soft-strong: #c8d5f5;
  --campaign-magenta-soft: #efd8ee;
  --campaign-magenta-soft-strong: #e5c5e4;
  --campaign-gold-soft: #fff2a8;
}

html {
  scroll-padding-top: 112px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--campaign-gold);
  outline-offset: 4px;
}

/* Preserve the original navbar composition and its small, split controls.
   Menu surfaces use the template's original lavender family so the header
   feels exactly like the source site; Ekiti accents stay on the page. */
.header {
  font-size: 1vw;
  line-height: 1;
  overflow: visible !important;
}

.header .menu {
  background: rgba(0, 0, 0, 0.11) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--campaign-ink);
}

.header .menu_txt {
  color: #fff;
}

.header .menu_link {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: inherit;
  padding: 0;
  text-align: left;
}

.header .line_one,
.header .line_two {
  background-color: var(--campaign-ink);
  display: block;
}

.header .header_button,
.header .header_cta .text_box,
.header .header_cta .icon_box {
  background: #e8ceff !important;
  color: var(--campaign-ink) !important;
}

.header .header_button:hover,
.header .header_cta:hover .text_box,
.header .header_cta:hover .icon_box {
  background: #d5beeb !important;
}

.header .header_cta .arrow-icon path {
  fill: var(--campaign-ink);
}

.header .menu_fs[hidden] {
  display: none !important;
}

.header .menu_fs {
  background: #e8ceff;
  border-color: rgba(23, 24, 38, 0.2);
  color: var(--campaign-ink);
  box-shadow: 0 18px 48px rgba(23, 24, 38, 0.16);
}

.header .menu_fs:not([hidden]) {
  display: block !important;
  position: fixed;
  z-index: 201;
  top: 7.25rem;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(23em, calc(100vw - 32px));
  margin: 0;
  transform: translateX(-50%);
}

.menu-extra-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 24, 38, 0.2);
}

.menu-extra-links a {
  color: var(--campaign-ink);
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}

.header .mobile_link,
.header .contact_button {
  color: var(--campaign-ink);
}

.header .contact_button {
  background: #fff;
}

.header .contact_button:hover {
  background: var(--campaign-ink);
  color: #e8ceff;
}

/* A restrained poster-colour wash behind Event lineup. Cards and photography
   stay neutral and fully legible above it. */
body .apartments {
  background-color: #f5f6ff;
  background-image: linear-gradient(
      135deg,
      rgba(14, 56, 163, 0.14) 0%,
      rgba(14, 56, 163, 0) 58%
    ),
    linear-gradient(
      225deg,
      rgba(178, 10, 181, 0.13) 0%,
      rgba(178, 10, 181, 0) 64%
    );
}

.apartments .apartments_bg_gradient {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0) 30%
  ) !important;
  opacity: 1 !important;
}

/* Faded campaign tints replace the template lavender on page controls. */
.button:not(.header_cta) .text_box,
.button:not(.header_cta) .icon_box,
.splide__arrow,
.event-button {
  background-color: var(--campaign-blue-soft) !important;
  color: var(--campaign-ink) !important;
  border-radius: 5px !important;
}

.button:not(.header_cta):hover .text_box,
.button:not(.header_cta):hover .icon_box,
.splide__arrow:hover,
.event-button:hover {
  background-color: var(--campaign-blue-soft-strong) !important;
  color: var(--campaign-ink) !important;
}

.button:not(.header_cta) .text_box,
.button:not(.header_cta) .icon_box,
.header .header_button,
.header .header_cta .text_box,
.header .header_cta .icon_box,
.splide__arrow {
  border-radius: 5px !important;
}

/* Supporting-page calls to action use the same compact split treatment as the
   original template, including the separate square arrow segment. */
.event-button {
  position: relative;
  z-index: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 24px !important;
  min-height: 44px !important;
  padding: 0 0 0 22px !important;
  background: transparent !important;
  overflow: visible;
}

.event-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 48px 0 0;
  border-radius: 5px;
  background: var(--campaign-blue-soft);
  transition: background-color 180ms ease;
}

.event-button > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background: var(--campaign-blue-soft);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.event-button:hover {
  background: transparent !important;
}

.event-button:hover::before,
.event-button:hover > span {
  background: var(--campaign-blue-soft-strong);
}

.event-button:hover > span {
  transform: rotate(-8deg);
}

/* Use the supplied hand-drawn marks as masks so their colour comes directly
   from the convention palette instead of the template's stock lavender. */
[data-scribble="1"]::after {
  background-color: var(--campaign-magenta-soft-strong);
  background-image: none !important;
  -webkit-mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f24399e38c6cb2a48593ee_scribble-1.svg")
    no-repeat left bottom / 100% 100%;
  mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f24399e38c6cb2a48593ee_scribble-1.svg")
    no-repeat left bottom / 100% 100%;
}

[data-scribble="2"]::after {
  background-color: var(--campaign-blue-soft-strong);
  background-image: none !important;
  -webkit-mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f2582761028a19bce7354f_scribble-2.svg")
    no-repeat left bottom / 100% 100%;
  mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f2582761028a19bce7354f_scribble-2.svg")
    no-repeat left bottom / 100% 100%;
}

[data-scribble="3"]::after {
  background-color: var(--campaign-magenta-soft);
  background-image: none !important;
  -webkit-mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f2824a8a8185078f641873_scribble-3.svg")
    no-repeat left bottom / 100% 100%;
  mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f2824a8a8185078f641873_scribble-3.svg")
    no-repeat left bottom / 100% 100%;
}

[data-scribble="hero"]::after {
  background-color: var(--campaign-magenta-soft-strong);
  background-image: none !important;
  -webkit-mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f22e29852ebaeee90e1715_hero-svg.svg")
    no-repeat left bottom / 100% 100%;
  mask: url("/assets/webflow/69f216b8ea891f70c9adbd5c/69f22e29852ebaeee90e1715_hero-svg.svg")
    no-repeat left bottom / 100% 100%;
}

body .heading_apartments [data-scribble="4"].scribble-wrap {
  --scribble-line-color: var(--campaign-magenta-soft-strong);
}

/* This is new content, but it uses the template's ink rather than recolouring
   any of the existing sections around it. */
.campaign-posters {
  background: var(--campaign-ink);
  color: #fff;
  padding: 64px 4vw;
}

.campaign-posters-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.campaign-posters h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin: 0;
}

.campaign-posters-heading a {
  color: #fff;
  font-size: 18px;
}
.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.campaign-posters .poster-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.poster-card {
  color: #fff;
  display: block;
  text-decoration: none;
}
.poster-card img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}
.poster-card h3 {
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
  margin: 16px 0 6px;
}
.poster-card p {
  color: #c8c9d1;
  font-size: 16px;
  margin: 0;
}
.poster-card:hover h3 {
  color: var(--campaign-gold);
}

/* Supporting page layouts only. Their original dark theme stays untouched. */
.event-main {
  padding-top: 136px;
}
.official-poster {
  margin: 56px 0 0;
}
.official-poster summary {
  cursor: pointer;
  padding: 16px 0;
}
.official-poster img {
  display: block;
  height: auto;
  margin: 24px auto;
  width: min(100%, 900px);
}
.committee-grid {
  display: grid;
  gap: 32px 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}
.committee-grid figure {
  margin: 0;
}
.committee-grid img {
  height: auto;
  object-fit: contain;
  width: 100%;
}
.committee-grid figcaption {
  font-size: 16px;
  line-height: 1.4;
}
.committee-grid figcaption span {
  color: #b9baca;
  display: block;
  font-size: 14px;
  margin-top: 6px;
}
.event-masthead {
  display: block;
  height: auto;
  margin: 0 0 40px;
  width: min(100%, 560px);
}

@media (min-width: 768px) and (max-width: 991px) {
  .poster-grid,
  .campaign-posters .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .header .menu_fs:not([hidden]) {
    top: auto;
    right: 16px;
    bottom: 5.3rem;
    left: 16px;
    width: auto;
    transform: none;
  }

  .campaign-posters {
    padding: 48px 20px;
  }
  .poster-grid,
  .campaign-posters .poster-grid,
  .committee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .campaign-posters-heading {
    display: block;
  }
  .campaign-posters-heading a {
    display: inline-block;
    margin-top: 16px;
  }
  .poster-card h3 {
    font-size: 18px;
  }
  .event-main {
    padding-top: 116px;
  }

  .button:not(.header_cta) {
    width: fit-content !important;
    height: 44px !important;
    min-height: 44px !important;
    gap: 4px !important;
  }

  .button:not(.header_cta) .text_box {
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
  }

  .button:not(.header_cta) .icon_box.is-right {
    width: 44px !important;
    height: 44px !important;
  }

  .header .menu_link,
  .header .header_button,
  .header .header_cta {
    min-height: 44px;
  }
}

@media (max-width: 479px) {
  .menu-extra-links {
    grid-template-columns: 1fr;
  }
}
