@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Raleway:wght@500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 100%;
  --color-header: #091625;
  --color-primary: #13325E;
  --color-secondary: #AF1600;
  --color-primary-hover: #0D2444;
  --color-secondary-hover: #3f0c04;
  --color-tertiary: #E5EDF7;
  --color-footer: #091625;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --padding-sm: 1rem;
  --padding-md: 2rem;
  --padding-lg: 3rem;
  --padding-xl: 4rem;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: #FAFAFA;
  min-height: 100vh;
  position: relative;
}

.tribe-events-pg-template {
  min-height: 80vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.15;
}

a {
  color: inherit;
  transition: all 0.2s ease;
}

p,
span,
li,
a {
  font-weight: 400;
  line-height: 1.6;
  text-decoration: none;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
}
@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}
@media (max-width: 991px) {
  h2 {
    font-size: 1.5rem;
  }
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
@media (max-width: 991px) {
  h3 {
    font-size: 1.25rem;
  }
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 991px) {
  .container {
    padding: 0 1rem;
  }
}
@media (max-width: 575px) {
  .container {
    padding: 0 0.75rem;
  }
}

.flex-title {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 767px) {
  .flex-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Buttons */
.button {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 1rem;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  transition: all 0.2s ease;
}
.button:hover {
  background-color: var(--color-secondary-hover);
}

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

/* Announcement bar */
.announcement-bar {
  background-color: var(--color-tertiary);
  padding: 0.5rem 0;
  text-align: center;
}

.announcement-bar-inner {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-primary);
}

.announcement-bar-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.announcement-bar-link:hover {
  opacity: 0.85;
}

/* Header (fixed, hides on scroll down / shows on scroll up). Announcement bar stays in flow above it and does not reappear on scroll. */
.site-main {
  padding-top: 80px;
}

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: var(--color-header);
  z-index: 10000;
  transition: transform 0.25s ease-out;
}

/* When announcement bar is present, header sits below it (only at top of page) */
.announcement-bar + header.site-header {
  top: 2.5rem;
}

/* Once scrolled past the announcement bar, header goes to top: 0 so there’s no gap */
body.announcement-scrolled-away header.site-header {
  top: 0;
}

body.header-hidden header.site-header {
  transform: translateY(-100%);
}

/* When hidden and still at top (announcement visible), move header fully off-screen */
body.header-hidden:not(.announcement-scrolled-away) .announcement-bar + header.site-header {
  transform: translateY(calc(-100% - 2.5rem));
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  color: var(--color-white);
}

.site-header-left {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.site-header-right {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  height: 100%;
}
@media (max-width: 991px) {
  .site-header-right .button {
    display: none !important;
  }
}

.logo img {
  max-height: 70px !important;
  width: auto;
}

.site-navigation {
  height: 100%;
  /* Chevron for desktop items with submenu */
  /* Desktop dropdown submenus */
}
.site-navigation .nav-menu {
  display: flex;
  gap: 0;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  height: 100%;
  margin: 0;
  padding: 0;
}
.site-navigation .nav-menu li {
  height: 100%;
}
.site-navigation .nav-menu li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.site-navigation .nav-menu li a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background-color: var(--color-secondary);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.site-navigation .nav-menu li a:hover::after {
  opacity: 1;
}
.site-navigation .nav-menu li.current-menu-item a::after {
  opacity: 1;
}
.site-navigation .nav-menu li.menu-item-has-children > a {
  padding-right: 1.5rem;
}
.site-navigation .nav-menu li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -1px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(-50%);
}
.site-navigation .nav-menu li {
  position: relative;
}
.site-navigation .nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background-color: var(--color-header);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}
.site-navigation .nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}
.site-navigation .nav-menu .sub-menu li {
  height: auto;
  border-bottom: none;
}
.site-navigation .nav-menu .sub-menu li:last-child {
  border-bottom: none;
}
.site-navigation .nav-menu .sub-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  height: auto;
}
.site-navigation .nav-menu .sub-menu li a::after {
  display: none;
}
.site-navigation .nav-menu .sub-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.member-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.member-button a {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

/* Mobile menu toggle (hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-toggle .mobile-menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.mobile-menu-toggle[aria-expanded=true] .mobile-menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded=true] .mobile-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded=true] .mobile-menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: relative;
  z-index: 10001;
  background-color: var(--color-header);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  /* Mobile submenu layer */
}
.mobile-menu .mobile-navigation {
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu .mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu .mobile-nav-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu .mobile-nav-menu li:last-child {
  border-bottom: none;
}
.mobile-menu .mobile-nav-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background-color: rgba(0, 0, 0, 0.2);
}
.mobile-menu .mobile-nav-menu li.menu-item-has-children.submenu-open > .sub-menu {
  max-height: 500px;
}
.mobile-menu .mobile-nav-menu li.menu-item-has-children > a {
  padding-right: 2.5rem;
}
.mobile-menu .mobile-nav-menu li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 0.4em;
  height: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}
.mobile-menu .mobile-nav-menu li.menu-item-has-children.submenu-open > a::before {
  transform: translateY(-40%) rotate(-135deg);
}
.mobile-menu .mobile-nav-menu .sub-menu li {
  border-bottom: none;
}
.mobile-menu .mobile-nav-menu .sub-menu li a {
  padding-left: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.9375rem;
}
.mobile-menu .mobile-nav-menu li a {
  display: flex;
  align-items: center;
  padding: 1rem 0.75rem;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: color 0.2s ease;
}
.mobile-menu .mobile-menu-button-wrap {
  padding: 0 1.5rem 1.5rem;
  margin-top: 0.5rem;
}
.mobile-menu .mobile-menu-button-wrap .button {
  width: 100%;
  justify-content: center;
}

/* Show mobile menu when open */
body.mobile-menu-open .mobile-menu {
  display: block;
  max-height: 80vh;
  overflow-y: auto;
}

@media (max-width: 991px) {
  .site-navigation {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  body:not(.mobile-menu-open) .mobile-menu {
    max-height: 0;
  }
  body.mobile-menu-open .mobile-menu {
    max-height: 80vh;
  }
}
/* Hero section */
.hero {
  height: 500px;
  width: 100%;
  position: relative;
}
@media (max-width: 991px) {
  .hero {
    height: 400px;
  }
}
@media (max-width: 575px) {
  .hero {
    height: 320px;
  }
}
.hero .hero-section-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  color: var(--color-white);
}
.hero .hero-section-inner h1 {
  max-width: 670px;
  line-height: 1;
}
.hero .hero-section-inner .hero-description {
  max-width: 670px;
}
@media (max-width: 575px) {
  .hero .hero-section-inner h1 {
    font-size: 1.75rem;
  }
}
.hero .hero-background-image {
  z-index: 0;
  background-color: var(--color-primary);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .hero-background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

/* Quote section */
.quote-section {
  background-color: var(--color-tertiary);
  padding: 4rem 0;
}
@media (max-width: 767px) {
  .quote-section {
    padding: 2.5rem 0;
  }
}
@media (max-width: 575px) {
  .quote-section {
    padding: 2rem 0;
  }
}
.quote-section .quote-section-inner {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  font-size: 1.5rem;
  text-align: center;
}
@media (max-width: 767px) {
  .quote-section .quote-section-inner {
    font-size: 1.25rem;
  }
}
@media (max-width: 575px) {
  .quote-section .quote-section-inner {
    font-size: 1.125rem;
  }
}
.quote-section .quote-section-inner p {
  font-weight: 600;
  color: var(--color-primary);
  max-width: 900px;
  margin: 0 auto;
}

/* Image with text section */
.image-with-text-section {
  padding: 4rem 0;
}
@media (max-width: 767px) {
  .image-with-text-section {
    padding: 2.5rem 0;
  }
}
@media (max-width: 575px) {
  .image-with-text-section {
    padding: 2rem 0;
  }
}
.image-with-text-section .container {
  display: flex;
  gap: 6rem;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 767px) {
  .image-with-text-section .container {
    gap: 3rem;
  }
}
.image-with-text-section .image-with-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 992px) {
  .image-with-text-section .image-with-text {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 575px) {
  .image-with-text-section .image-with-text {
    gap: 2.25rem;
  }
}
.image-with-text-section .image-with-text h2 {
  color: var(--color-primary);
}
@media (max-width: 992px) {
  .image-with-text-section .image-with-text .image-with-text-image {
    order: 0;
  }
  .image-with-text-section .image-with-text .image-with-text-inner {
    order: 1;
  }
}
.image-with-text-section .image-with-text-inner {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
}
.image-with-text-section .image-with-text-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: visible;
}
@media (max-width: 992px) {
  .image-with-text-section .image-with-text-image {
    min-height: 350px;
  }
}
@media (max-width: 575px) {
  .image-with-text-section .image-with-text-image {
    min-height: 280px;
  }
}
.image-with-text-section .image-with-text-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-secondary);
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 64px 100%, 0 calc(100% - 64px));
  -webkit-clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 64px 100%, 0 calc(100% - 64px));
  transform: translate(12px, 12px);
  z-index: 0;
}
@media (max-width: 992px) {
  .image-with-text-section .image-with-text-image::before {
    transform: translate(6px, 6px);
  }
}
.image-with-text-section .image-with-text-image img {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 64px 100%, 0 calc(100% - 64px));
  -webkit-clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 64px 100%, 0 calc(100% - 64px));
}

/* Footer */
.site-footer {
  background-color: var(--color-footer);
  color: var(--color-white);
  padding: var(--padding-lg) 0 var(--padding-md);
}

.footer-top {
  padding-bottom: var(--padding-lg);
}

.footer-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-badges {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0;
}

.footer-bottom {
  padding-top: var(--padding-lg);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-address {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-white);
  opacity: 0.95;
}

.footer-links .footer-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links .footer-nav-menu li a {
  font-size: 0.9375rem;
  color: var(--color-white);
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.footer-links .footer-nav-menu li a:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-white);
  opacity: 0.95;
  text-align: right;
  margin-left: auto;
}

@media (max-width: 767px) {
  .footer-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-badges {
    justify-content: flex-start;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-copyright {
    text-align: left;
    margin-left: 0;
  }
}
/* Useful links section */
.useful-links {
  padding: 4rem 0;
  background-color: var(--color-tertiary);
}
@media (max-width: 767px) {
  .useful-links {
    padding: 2.5rem 0;
  }
}
@media (max-width: 575px) {
  .useful-links {
    padding: 2rem 0;
  }
}
.useful-links .useful-links-list {
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
@media (max-width: 639px) {
  .useful-links .useful-links-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
}
.useful-links .useful-links-list .useful-links-item {
  background-color: var(--color-white);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.useful-links .useful-links-list .useful-links-item .useful-links-item-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}
.useful-links .useful-links-list .useful-links-item .useful-links-item-image {
  height: 250px;
}
@media (max-width: 575px) {
  .useful-links .useful-links-list .useful-links-item .useful-links-item-image {
    height: 200px;
  }
}
.useful-links .useful-links-list .useful-links-item .useful-links-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Members' Area */
.members-section {
  padding: 2rem 0 4rem;
}
.members-section .members-heading {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.members-section .members-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.members-section .members-welcome .members-logout {
  color: var(--color-secondary);
  text-decoration: underline;
}
.members-section .members-welcome .members-logout:hover {
  color: var(--color-secondary-hover);
}
.members-section .members-quick-links {
  padding-top: 2rem;
}
.members-section .members-quick-links h2 {
  margin: 0 0 1rem;
}
.members-section .members-quick-links .quick-links-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.members-section .members-quick-links .quick-links-buttons .button {
  padding: 0.875rem 2.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.members-section .members-columns {
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 639px) {
  .members-section .members-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.members-section .members-column {
  background-color: var(--color-white);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 24rem;
}
.members-section .members-column h2 {
  margin: 0 0 1rem;
}
.members-section .document-scroll {
  overflow-y: auto;
  max-height: 24rem;
  flex: 1;
}
.members-section .document-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.members-section .document-list li {
  border-bottom: 1px solid var(--color-tertiary);
}
.members-section .document-list li:last-child {
  border-bottom: 0;
}
.members-section .document-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  color: var(--color-primary);
}
.members-section .document-list li a:hover {
  background-color: var(--color-tertiary);
}
.members-section .document-list li a:hover .document-title {
  color: var(--color-secondary);
}
.members-section .document-list li .document-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--color-secondary);
}
.members-section .document-list li .document-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}
.members-section .document-list li .document-title {
  font-weight: 600;
}
.members-section .document-list li .document-meta {
  font-size: 0.85rem;
  opacity: 0.7;
}
.members-section .document-list-empty {
  opacity: 0.7;
}
.members-section .document-folder {
  border-bottom: 1px solid var(--color-tertiary);
}
.members-section .document-folder summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  list-style: none;
}
.members-section .document-folder summary::-webkit-details-marker {
  display: none;
}
.members-section .document-folder summary:hover {
  background-color: var(--color-tertiary);
}
.members-section .document-folder summary .document-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--color-secondary);
}
.members-section .document-folder .document-folder-count {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.7;
}
.members-section .document-folder[open] > summary {
  background-color: var(--color-tertiary);
}
.members-section .document-folder .document-list {
  padding-left: 1.25rem;
}
.members-section .entry-content {
  padding-top: 2rem;
}

/* Sticky-footer page layout: every page fills the viewport. */
#page.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#page.site .site-main {
  flex: 1;
}

/* Homepage: logo strip under the quote */
.quote-logos {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.quote-logos img {
  max-height: 80px;
  width: auto;
}
@media (max-width: 639px) {
  .quote-logos img {
    max-height: 56px;
  }
}

/* Master's Welcome: tinted band to set it apart from the sections below */
.masters-welcome-section {
  background-color: var(--color-primary);
}
.masters-welcome-section .image-with-text h2.image-with-text-title,
.masters-welcome-section .image-with-text-description,
.masters-welcome-section .image-with-text-description p {
  color: var(--color-white);
}

/* Footer trust block */
.footer-badges img {
  max-height: 64px;
  width: auto;
}

.footer-secretary a,
.footer-copyright a {
  color: var(--color-white);
  text-decoration: underline;
  opacity: 0.95;
}
.footer-secretary a:hover,
.footer-copyright a:hover {
  opacity: 1;
}

/* Generic pages: title band + editor content typography */
.page-title-band {
  background-color: var(--color-primary);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.page-title-band .title-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.page-title-band .container {
  position: relative;
}
.page-title-band .entry-title {
  color: var(--color-white);
  text-align: center;
}
@media (max-width: 767px) {
  .page-title-band {
    padding: 2rem 0;
  }
}

.entry-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2rem 0 0.75rem;
  color: var(--color-primary);
}
.entry-content p {
  margin-bottom: 1rem;
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 1rem 1.5rem;
}
.entry-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}
.entry-content a:hover {
  color: var(--color-secondary-hover);
}
.entry-content a.button {
  color: var(--color-white);
  text-decoration: none;
}
.entry-content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  cursor: zoom-in;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-tertiary);
}
.entry-content table td,
.entry-content table th {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-tertiary);
  text-align: left;
}
.entry-content table thead td,
.entry-content table th,
.entry-content table tr:first-child td b,
.entry-content table tr:first-child td strong {
  font-weight: 600;
}
.entry-content table thead tr,
.entry-content table tr:first-child:has(b),
.entry-content table tr:first-child:has(strong) {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.entry-content table thead tr td,
.entry-content table thead tr th,
.entry-content table tr:first-child:has(b) td,
.entry-content table tr:first-child:has(b) th,
.entry-content table tr:first-child:has(strong) td,
.entry-content table tr:first-child:has(strong) th {
  border-color: var(--color-primary);
}
.entry-content table tbody tr:nth-child(even) {
  background-color: #F4F7F9;
}
.entry-content table thead + tbody tr:nth-child(odd) {
  background-color: #F4F7F9;
}
.entry-content table thead + tbody tr:nth-child(even) {
  background-color: var(--color-white);
}
@media (max-width: 639px) {
  .entry-content table {
    display: block;
    overflow-x: auto;
  }
}
.entry-content blockquote {
  border-left: 4px solid var(--color-secondary);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}
.entry-content .wp-caption {
  max-width: 100%;
}
.entry-content .wp-caption .wp-caption-text {
  font-size: 0.875rem;
  opacity: 0.7;
  padding-top: 0.25rem;
}
.entry-content iframe,
.entry-content video,
.entry-content embed {
  max-width: 100%;
  margin: 1.5rem 0;
}
.entry-content iframe[src*=youtube],
.entry-content iframe[src*=vimeo] {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}
.entry-content .alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}
.entry-content .alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}
.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 639px) {
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    margin: 1rem 0;
  }
}

/* FAQ accordion (native <details>) */
.faq-list {
  margin: 2rem 0;
}
.faq-list .faq-item {
  border: 1px solid var(--color-tertiary);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background-color: var(--color-white);
}
.faq-list .faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  list-style-position: inside;
}
.faq-list .faq-item summary:hover {
  color: var(--color-secondary);
}
.faq-list .faq-item[open] summary {
  border-bottom: 1px solid var(--color-tertiary);
  color: var(--color-secondary);
}
.faq-list .faq-item .faq-answer {
  padding: 1rem 1.25rem;
}

/* Contact page */
.contact-card {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.contact-card .contact-detail {
  flex: 1;
}
@media (max-width: 767px) {
  .contact-card {
    flex-direction: column;
    gap: 1rem;
  }
}

.contact-detail {
  background-color: var(--color-white);
  border: 1px solid var(--color-tertiary);
  border-radius: 6px;
  padding: 1.5rem;
}
.contact-detail h2 {
  margin: 0 0 0.75rem;
}
.contact-detail .button {
  display: inline-flex;
  margin-top: 0.5rem;
}

.contact-notice {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.contact-notice.contact-notice-success {
  background-color: var(--color-tertiary);
  color: var(--color-primary);
}
.contact-notice.contact-notice-error {
  background-color: #fdecea;
  color: var(--color-secondary-hover);
}

.contact-form p {
  margin-bottom: 1rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-tertiary);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 1px var(--color-secondary);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .button {
  border: 0;
  cursor: pointer;
}

.contact-form-wrap {
  margin: 2rem 0;
}
.contact-form-wrap .contact-form-row {
  display: flex;
  gap: 1rem;
}
.contact-form-wrap .contact-form-row p {
  flex: 1;
}
@media (max-width: 639px) {
  .contact-form-wrap .contact-form-row {
    flex-direction: column;
    gap: 0;
  }
}

.contact-map {
  margin: 2rem 0;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 6px;
  margin: 0;
}

/* Events & News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.news-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-tertiary);
  border-radius: 6px;
  padding: 1.5rem;
}
.news-item .news-title {
  margin: 0 0 0.5rem;
}
.news-item .news-title a {
  color: var(--color-primary);
  text-decoration: none;
}
.news-item .news-title a:hover {
  color: var(--color-secondary);
}
.news-item .news-excerpt p {
  margin-bottom: 0.75rem;
}

.news-date {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.news-more {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}
.news-more:hover {
  color: var(--color-secondary-hover);
}

.entry-content .pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.entry-content .pagination .nav-links .page-numbers {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-tertiary);
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-primary);
}
.entry-content .pagination .nav-links .page-numbers.current {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 404 */
.error-404 {
  background-color: var(--color-white);
  text-align: center;
  padding: 4rem 0;
  min-height: calc(100vh - 220px); /* fill the viewport between header and footer */
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-404 .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.error-404 .error-404-code {
  font-family: "Raleway", "Poppins", sans-serif;
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
}
.error-404 h1 {
  color: var(--color-primary);
}
.error-404 .button {
  display: inline-flex;
  width: max-content;
  margin-top: 1rem;
}

/* Lightbox: content images open full screen on click */
.lodge-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(9, 22, 37, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lodge-lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.5);
}
@media (max-width: 639px) {
  .lodge-lightbox {
    padding: 1rem;
  }
}

body.lightbox-open {
  overflow: hidden;
}

/*# sourceMappingURL=main.css.map */
