@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500&display=swap");
body {
  --bs-body-font-family: 'Quicksand', sans-serif; }

.text-dark {
  color: #34495E; }

a {
  --bs-link-color: #004e79; }

.h6 .small, h6 .small {
  font-size: .6rem; }

.rounded {
  --bs-border-radius: 15px ; }

.text-justify {
  text-align: justify; }

.pt-6 {
  padding-top: 6.5rem !important; }

.input-group-text {
  width: 46px; }

.mb250 {
  height: 250px; }

a {
  color: #3483de;
  transition: color 0.3s;
  /* Add a smooth color transition effect */ }

/* Change the color when <a> elements are hovered */
a:hover {
  color: #5DADE2;
  /* You can choose a lighter color for the hover effect */ }

.search-container {
  min-height: 800px; }

.input-group-text {
  height: 56px; }

.search-container .input-group-text {
  --bs-tertiary-bg: White;
  border-radius: 26px; }

.index-button {
  transition: box-shadow 0.1s ease-in-out;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  /* Larger shadow */
  cursor: pointer;
  /* Add pointer cursor to indicate it's clickable */
  margin: 10px;
  /* Add margin for spacing    */ }

.index-button:hover {
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  /* Smaller shadow */ }

.docReproSearch-item {
  text-decoration: underline;
  cursor: pointer; }

.docReproSearch-item:hover {
  background-color: #f0f0f0;
  /* Add a background color on hover if desired */ }

input[type="number"] {
  width: 60px;
  padding: 5px;
  /* Adjust padding for better visibility */ }

.navbar {
  background-color: #f3e0bf;
  --bs-navbar-nav-link-padding-x: 1rem;
  --bs-navbar-brand-color: #34495E;
  --bs-navbar-brand-font-size: 1.4rem; }

.nav-link {
  --bs-nav-link-font-size: 1.1rem;
  --bs-nav-link-color: #34495E;
  text-decoration: underline; }

.offcanvas {
  --bs-offcanvas-bg: #004e79;
  --bs-offcanvas-color: white; }

.offcanvas-body {
  /* unvisited link */
  /* visited link */
  /* mouse over link */
  /* selected link */ }
  .offcanvas-body a:link {
    color: white;
    text-decoration: none; }
  .offcanvas-body a:visited {
    color: white;
    text-decoration: none; }
  .offcanvas-body a:hover {
    color: black;
    text-decoration: underline; }
  .offcanvas-body a:active {
    color: blue; }
  .offcanvas-body .nav-item {
    padding: 10px; }

@media (max-width: 575px) {
  .header {
    height: 70px; } }
/*
Footer styles
*/
.footer {
  background: #212121; }
  .footer a {
    color: rgba(255, 255, 255, 0.8);
    font-size: .9rem;
    text-decoration: none; }
    .footer a:hover {
      color: #fff; }

.filterDiv {
  display: none; }

.show {
  display: block; }

.newscard {
  margin-bottom: 1rem !important; }

@media (min-width: 320px) {
  .card {
    margin-right: auto;
    margin-left: auto; } }
@media (min-width: 576px) {
  .newscard {
    width: 100%; }

  .card {
    margin-right: auto;
    margin-left: auto; } }
@media (min-width: 768px) {
  .newscard {
    margin-right: 1rem !important;
    width: 33%;
    margin-left: 0; } }
@media (min-width: 992px) {
  .newscard {
    margin-right: 1rem !important;
    width: 25%; } }
/*
Timeline
*/
.page-timeline {
  margin: 30px auto 0 auto;
  position: relative;
  max-width: 1000px; }

.edit-button {
  position: fixed;
  left: 200px;
  top: 120px;
  z-index: 10; }

.page-timeline:before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 303px;
  right: auto;
  height: 100%;
  width: 3px;
  background: #34495E;
  z-index: 0; }

.page-timeline:after {
  position: absolute;
  content: '';
  width: 3px;
  height: 40px;
  background: #34495E;
  background: -webkit-linear-gradient(top, #34495E, rgba(52, 152, 219, 0));
  background: linear-gradient(to bottom, #34495E, rgba(52, 152, 219, 0));
  top: 100%;
  left: 303px; }

.vtimeline-content {
  margin-left: 350px;
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 35px 20px;
  border-radius: 3px;
  text-align: left; }

.vtimeline-content h2 {
  font-size: 1.5em;
  font-weight: 600;
  display: inline-block;
  margin: 0; }

.vtimeline-content h3 {
  font-size: 1.2em;
  font-weight: 600;
  display: inline-block;
  margin: 0; }

.vtimeline-content p {
  font-size: 0.9em;
  margin: 0; }

.vtimeline-point {
  position: relative;
  display: block;
  vertical-align: top;
  margin-bottom: 30px; }

.vtimeline-icon {
  position: relative;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  float: left;
  text-align: center;
  line-height: 50px;
  z-index: 99;
  margin-left: 280px;
  background: #34495E; }

.vtimeline-icon i {
  display: block;
  font-size: 1.5em;
  line-height: 50px; }

.vtimeline-date {
  width: 260px;
  text-align: right;
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: 400;
  color: #374054; }

.vtimeline-month {
  padding: 0 0 50px 50px;
  color: #34495E; }

@media (max-width: 900px) {
  .vtimeline-content {
    margin-left: 0px; }

  .vtimeline-date {
    display: none; }

  .vtimeline-month {
    padding: 0 0 25px 5px;
    font-width: bold;
    font-size: x-large; }

  .btn {
    margin-bottom: 10px; }

  .vtimeline-icon {
    display: none; }

  .page-timeline::before {
    display: none; }

  .page-timeline:after {
    display: none; } }
.hidden-search {
  display: none !important; }

li[data-parent].closed {
  display: none !important; }

li[data-parent].open:not(.hidden-search) {
  display: block !important; }

.vsb-menu {
  cursor: pointer;
  z-index: 1000;
  display: block;
  visibility: hidden;
  position: absolute;
  /*Don't change*/
  border: 1px solid #B2B2B2;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  border-radius: 4px;
  font-size: 11px;
  padding-top: 20px; }

.vsb-js-search-zone {
  position: absolute;
  /*Don't change*/
  z-index: 1001;
  width: 80%;
  min-height: 1.8em;
  padding: 2px;
  background-color: #fff;
  top: 5px; }

.vsb-js-search-zone input {
  border: 1px solid grey;
  font-size: 20px;
  margin-left: 2px;
  width: 96%;
  border-radius: 4px;
  height: 45px !important; }

.vsb-main {
  position: relative;
  /*Don't change*/
  display: inline-block;
  vertical-align: middle;
  text-align: left; }

li.short {
  margin-top: 4px; }

.vsb-menu li:hover {
  background: linear-gradient(#f5f5f5, #e8e8e8); }

.vsb-menu ul {
  user-select: none;
  list-style: none;
  white-space: nowrap;
  margin: 0px;
  margin-top: 4px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 3px;
  color: #333;
  cursor: pointer;
  overflow-y: auto; }

li.disabled {
  cursor: not-allowed;
  opacity: 0.3;
  background-color: #999; }

li.overflow {
  cursor: not-allowed;
  opacity: 0.3;
  background-color: #999; }

li.short {
  overflow: hidden;
  text-overflow: ellipsis; }

.vsb-main button {
  min-width: 120px;
  border-radius: 0;
  width: 100%;
  text-align: left;
  z-index: 1;
  color: #333;
  background: white !important;
  border: 1px solid #999 !important;
  line-height: 20px;
  font-size: 14px;
  padding: 6px 12px; }

.vsb-main button.disabled {
  cursor: not-allowed;
  opacity: 0.65; }

.vsb-main .title {
  margin-right: 6px;
  user-select: none; }

.vsb-main li:hover {
  background: linear-gradient(#f5f5f5, #e8e8e8); }

.vsb-main ul {
  white-space: nowrap; }

.vsb-menu li {
  font-size: 18px;
  background-color: #fff;
  min-height: 1.4em;
  padding: 0.2em 2em 0.2em 1em; }

.vsb-menu li.grouped-option b {
  display: inline-block;
  font-size: 15px;
  margin-left: 10px;
  transform: translate(-18px); }

.vsb-menu li.grouped-option.open span {
  display: inline-block;
  font-size: inherit;
  margin-top: -2px;
  height: 8px;
  width: 8px;
  transform: translate(-38px) rotate(45deg);
  border-bottom: 3px solid black;
  border-right: 3px solid black;
  border-radius: 2px; }

.vsb-menu li.grouped-option.closed span {
  display: inline-block;
  font-size: inherit;
  height: 8px;
  width: 8px;
  transform: translate(-38px) rotate(-45deg);
  border-bottom: 3px solid black;
  border-right: 3px solid black;
  border-radius: 2px; }

.vsb-menu li.grouped-option i {
  display: inline-block;
  font-size: inherit;
  float: left;
  font-weight: bold;
  margin-left: 22px;
  margin-right: 2px;
  height: 11px;
  width: 8px;
  border: 1px solid;
  border-radius: 3px;
  padding: 1px 3px 2px 3px;
  margin-top: 0px;
  color: black; }

.vsb-menu li.grouped-option.checked i::after {
  content: "";
  display: inline-block;
  font-size: inherit;
  color: #333;
  float: left;
  margin-left: 0px;
  display: inline-block;
  transform: rotate(45deg);
  height: 8px;
  width: 5px;
  border-bottom: 3px solid black;
  border-right: 3px solid black; }

.vsb-menu :not(.multi) li.active {
  margin-left: 7px; }

.vsb-menu :not(.multi) li.active::before {
  content: "";
  display: inline-block;
  font-size: inherit;
  margin-left: -3px;
  transform: rotate(45deg);
  height: 15px;
  width: 7px;
  border-bottom: 3px solid #2042c8;
  border-right: 2px solid #202bc6;
  border-radius: 0;
  margin-right: 6px; }

.vsb-menu .multi li {
  font-size: 16px;
  background-color: #fff;
  min-height: 1.4em;
  padding: 0.2em 2em 0.2em 26px; }

.vsb-menu .multi li.grouped-option {
  font-size: 1rem;
  padding-left: 5px; }

.vsb-menu .multi li.grouped-option:hover {
  font-weight: bold;
  text-decoration: underline;
  color: #341f70; }

.vsb-menu .multi li:not(.grouped-option)::before {
  content: "";
  display: inline-block;
  font-size: inherit;
  float: left;
  font-weight: bold;
  border: 1px solid;
  border-radius: 3px;
  padding: 9px;
  margin: 1px 8px 0 -22px;
  color: #d0c8c8;
  background-color: #3483de; }

.vsb-menu .multi li:not(.grouped-option).active::after {
  content: "";
  display: inline-block;
  font-size: inherit;
  color: #333;
  float: left;
  margin-left: -21px;
  display: inline-block;
  transform: rotate(45deg);
  margin-top: 4px;
  height: 12px;
  width: 6px;
  border-bottom: 3px solid white;
  border-right: 3px solid white; }

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent; }

li[data-parent] {
  padding-left: 50px !important; }

.subs-numbers {
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }

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

/* Modern GMS visual system ------------------------------------------------ */
:root {
  --gms-ink: #102f32;
  --gms-ink-deep: #092326;
  --gms-gold: #c99e58;
  --gms-gold-light: #e5c892;
  --gms-brand-red: #8d2118;
  --gms-brand-red-soft: #b85d50;
  --gms-ivory: #f7f3ea;
  --gms-paper: #fffdf8;
  --gms-sage: #dce4dd;
  --gms-text: #24383a;
  --gms-muted: #6c7775;
  --gms-border: rgba(16, 47, 50, .16);
  --gms-serif: Georgia, 'Times New Roman', serif;
  --gms-sans: Inter, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--gms-paper);
  color: var(--gms-text);
  font-family: var(--gms-sans);
  font-size: 1.1rem;
  line-height: 1.75;
  padding-top: 92px;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, .site-brand__name, .site-footer__brand {
  color: var(--gms-ink);
  font-family: var(--gms-serif);
  font-weight: 400;
  letter-spacing: -.025em;
}
a { color: var(--gms-ink); }
a:hover { color: var(--gms-brand-red); }
.container { max-width: 1240px; }
.skip-link { position: fixed; z-index: 1100; top: 8px; left: 8px; padding: .7rem 1rem; background: white; color: var(--gms-ink); }
.section-space { padding: clamp(5rem, 9vw, 9rem) 0; }
.section-space-sm { padding: clamp(3rem, 5vw, 5rem) 0; }
.eyebrow {
  margin-bottom: 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.text-gold { color: var(--gms-brand-red) !important; }
.display-heading { font-size: clamp(2.65rem, 3vw, 5rem); line-height: .98; }
.display-heading em { color: var(--gms-brand-red); font-weight: 400; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.65; }
.text-link { display: inline-flex; gap: .75rem; align-items: center; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.text-link i, .pathway-card__link i, .initiatives__bar i { transition: transform .25s ease; }
.text-link:hover i, .pathway-card:hover .pathway-card__link i, .initiatives__bar a:hover i { transform: translateX(5px); }

/* Navigation */
.site-nav { min-height: 92px; background: rgba(255, 253, 248, .96); border-bottom: 1px solid var(--gms-border); backdrop-filter: blur(14px); }
.site-nav__inner { padding: .8rem clamp(1.25rem, 3vw, 3.5rem); }
.site-brand { display: flex; gap: .85rem; align-items: center; padding: 0; text-decoration: none; }
.site-brand__mark { display: block; width: 85px; height: 85px; overflow: hidden; border: 2px solid var(--gms-gold); border-radius: 50%; background: var(--gms-ivory); box-shadow: 0 3px 16px rgba(4, 24, 26, .2); }
.site-brand__mark img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.site-brand__name { color: var(--gms-ink); font-size: 1rem; line-height: 1.06; }
.site-nav .nav-link { position: relative; padding: .9rem .7rem !important; color: var(--gms-ink); font-size: .9rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.site-nav .nav-link::after { position: absolute; right: .7rem; bottom: .55rem; left: .7rem; height: 1px; background: var(--gms-brand-red); content: ''; opacity: 0; transform: scaleX(0); transition: .2s ease; }
.site-nav .dropdown-toggle::after { position: static; display: inline-block; width: 0; height: 0; margin-left: .4rem; border: .3em solid transparent; border-top-color: currentColor; background: none; opacity: 1; transform: translateY(.2em); }
.site-nav .nav-link:hover::after { opacity: 1; transform: scaleX(1); }
.site-nav .dropdown-menu { padding: .75rem; border: 1px solid var(--gms-border); border-radius: 0; box-shadow: 0 18px 45px rgba(8, 35, 38, .12); }
.site-nav .dropdown-item { padding: .6rem .8rem; color: var(--gms-ink); font-size: .88rem; }
.site-nav__account { margin-left: 1rem; }
.account-button { display: inline-flex; gap: .55rem; align-items: center; padding: .65rem 1rem; border: 1px solid var(--gms-ink); border-radius: 0; color: var(--gms-ink); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.account-button:hover { background: var(--gms-ink); color: white; }
.navbar-toggler { border: 0; box-shadow: none !important; }
.offcanvas { --bs-offcanvas-bg: var(--gms-ink); --bs-offcanvas-color: white; }
.offcanvas-title { color: white; }

/* Hero */
.home-page { padding-top: 0; }
.home-page .site-nav { background: rgba(9, 35, 38, .9); border-bottom-color: rgba(255,255,255,.16); }
.home-page .site-brand__name, .home-page .site-brand__mark, .home-page .site-nav .nav-link { color: white; }
.home-page .site-brand__mark { border-color: var(--gms-gold-light); }
.home-page .navbar-toggler { filter: invert(1); }
.home-page .account-button { border-color: rgba(255,255,255,.7); color: white; }
.home-page .account-button:hover { background: white; color: var(--gms-ink); }
.home-hero { position: relative; display: flex; min-height: 790px; align-items: center; overflow: hidden; color: white; }
.home-hero__images, .home-hero__image { position: absolute; inset: 0; }
.home-hero__images { overflow: hidden; background: var(--gms-ink-deep); }
.home-hero__image { display: block; opacity: 0; background-position: center; background-repeat: no-repeat; background-size: cover; transform: scale(1.025); animation: home-hero-fade 28s linear infinite; will-change: opacity, transform; }
.home-hero__image:nth-child(2) { animation-delay: -21s; }
.home-hero__image:nth-child(3) { animation-delay: -14s; }
.home-hero__image:nth-child(4) { animation-delay: -7s; }
.home-hero__image--guild { background-image: url('../images/home_img.jpg'); }
.home-hero__image--goldsmiths { background-image: url('../images/hero-goldsmiths-hall.avif'); }
.home-hero__image--guildhall-interior { background-image: url('../images/hero-guildhall.webp'); background-position: center 43%; }
.home-hero__image--guildhall-exterior { background-image: url('../images/hero-guildhall-exterior.jpg'); background-position: center 55%; }
@keyframes home-hero-fade {
  0%, 21% { opacity: 1; transform: scale(1.025); }
  25%, 96% { opacity: 0; transform: scale(1.065); }
  100% { opacity: 1; transform: scale(1.025); }
}
.home-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,31,34,.96) 0%, rgba(5,31,34,.83) 42%, rgba(5,31,34,.18) 76%), linear-gradient(0deg, rgba(5,31,34,.42), transparent 50%); }
.home-hero__content { position: relative; z-index: 1; padding-top: 8rem; padding-bottom: 5rem; }
.home-hero__copy { max-width: 760px; }
.home-hero h1 { max-width: 730px; margin-bottom: 1.75rem; color: white; font-size: clamp(3rem, 5vw, 5.1rem); line-height: 1.06; }
.home-hero__lead { max-width: 660px; color: rgba(255,255,255,.84); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.65; }
.home-hero .eyebrow::before { display: inline-block; width: 24px; height: 2px; margin: 0 .75rem .2rem 0; background: var(--gms-brand-red); content: ''; }
.home-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.btn-gold, .btn-ink, .btn-ivory, .btn-ghost { padding: .9rem 1.5rem; border-radius: 0; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.btn-gold { background: var(--gms-gold); border-color: var(--gms-gold); color: var(--gms-ink-deep); }
.btn-gold:hover { background: var(--gms-gold-light); border-color: var(--gms-gold-light); color: var(--gms-ink-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: white; }
.btn-ghost:hover { background: white; border-color: white; color: var(--gms-ink); }
.btn-ink { background: var(--gms-ink); border-color: var(--gms-ink); color: white; }
.btn-ink:hover { background: var(--gms-ink-deep); color: white; }
.btn-ivory { background: var(--gms-ivory); border-color: var(--gms-ivory); color: var(--gms-ink); }

/* Public-site actions
   Keep legacy Bootstrap buttons consistent with the main site without changing
   the admin interface or the bespoke hero/account controls. */
body:not(.admin-area) .btn:not(.btn-close):not(.account-button):not(.btn-gold):not(.btn-ink):not(.btn-ivory):not(.btn-ghost) {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.1rem;
  border-radius: 0;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
body:not(.admin-area) .btn-outline-primary,
body:not(.admin-area) .btn-outline-info {
  border-color: var(--gms-ink);
  background: transparent;
  color: var(--gms-ink);
}
body:not(.admin-area) .btn-outline-primary:hover,
body:not(.admin-area) .btn-outline-primary:focus,
body:not(.admin-area) .btn-outline-info:hover,
body:not(.admin-area) .btn-outline-info:focus {
  border-color: var(--gms-ink);
  background: var(--gms-ink);
  color: white;
}
body:not(.admin-area) .btn-primary,
body:not(.admin-area) .btn-success,
body:not(.admin-area) .btn-outline-success {
  border-color: var(--gms-gold);
  background: var(--gms-gold);
  color: var(--gms-ink-deep);
}
body:not(.admin-area) .btn-primary:hover,
body:not(.admin-area) .btn-primary:focus,
body:not(.admin-area) .btn-success:hover,
body:not(.admin-area) .btn-success:focus,
body:not(.admin-area) .btn-outline-success:hover,
body:not(.admin-area) .btn-outline-success:focus {
  border-color: var(--gms-gold-light);
  background: var(--gms-gold-light);
  color: var(--gms-ink-deep);
}
body:not(.admin-area) .btn-secondary,
body:not(.admin-area) .btn-outline-secondary {
  border-color: var(--gms-border);
  background: var(--gms-sage);
  color: var(--gms-muted);
}
body:not(.admin-area) .btn:disabled,
body:not(.admin-area) .btn.disabled {
  border-color: var(--gms-border);
  background: #ece9e1;
  color: var(--gms-muted);
  opacity: .7;
}

.home-hero__scroll { position: absolute; z-index: 2; right: 3rem; bottom: 2rem; display: flex; gap: .8rem; align-items: center; color: white; font-size: .7rem; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; writing-mode: vertical-rl; }
.home-hero__scroll:hover { color: var(--gms-gold-light); }

/* Homepage sections */
.home-intro { background: var(--gms-paper); }
.home-intro__copy p:not(.lead) { color: var(--gms-muted); }
.section-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.section-heading > p { max-width: 500px; margin: 0; color: var(--gms-muted); }
.section-heading--compact { align-items: center; }
.pathways { background: #eee9df; }
.pathway-card { display: flex; min-height: 390px; flex-direction: column; justify-content: space-between; padding: 2rem; border: 1px solid rgba(16,47,50,.18); background: var(--gms-paper); color: var(--gms-ink); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.pathway-card:hover { color: var(--gms-ink); transform: translateY(-7px); box-shadow: 0 24px 50px rgba(16,47,50,.12); }
.pathway-card--image { background: linear-gradient(rgba(8,39,42,.78), rgba(8,39,42,.93)), url('../images/montage.jpg') center / cover; color: white; }
.pathway-card--image h3, .pathway-card--image:hover { color: white; }
.pathway-card--gold { background: var(--gms-gold); border-color: var(--gms-gold); }
.pathway-card--events { background: linear-gradient(180deg, rgba(255,253,248,.38) 0%, rgba(255,253,248,.9) 52%, rgba(255,253,248,.98) 100%), url('../images/customs.jpg') center / cover; }
.pathway-card--library { background: linear-gradient(180deg, rgba(190,145,76,.36) 0%, rgba(190,145,76,.88) 54%, rgba(190,145,76,.98) 100%), url('../images/mercers.jpg') center / cover; }
.pathway-card__number { font-family: var(--gms-serif); font-size: 1rem; }
.pathway-card h3 { font-size: 2.1rem; }
.pathway-card p { opacity: .78; }
.pathway-card__link { display: flex; justify-content: space-between; padding-top: 1.25rem; border-top: 1px solid currentColor; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.purpose { background: var(--gms-paper); }
.purpose__panel { overflow: hidden; background: var(--gms-ink); }
.purpose__panel > .row { min-height: 560px; }
.purpose__image {
  min-height: 560px;
  background-color: #f1e8d7;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.72), rgba(241,232,215,.25) 62%), url('../images/logo.jpg');
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% auto;
}
.purpose__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.25rem, 3.5vw, 3.25rem); color: rgba(255,255,255,.76); }
.purpose__content h2 { margin-bottom: 1rem; color: white; font-size: clamp(2.25rem, 3vw, 3.25rem); line-height: 1; }
.purpose__list { margin: 1.5rem 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.purpose__list li { display: flex; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.purpose__list span { color: var(--gms-gold-light); font-size: .75rem; }
.membership { background: var(--gms-sage); }
.membership p:not(.eyebrow) { max-width: 760px; }
.membership__quote { position: relative; padding: 3rem 2.5rem; background: var(--gms-paper); border-top: 4px solid var(--gms-gold); }
.membership__quote-mark { color: var(--gms-gold); font-family: var(--gms-serif); font-size: 5rem; line-height: .5; }
.membership__quote p { margin: 1rem 0; color: var(--gms-ink); font-family: var(--gms-serif); font-size: 1.55rem; line-height: 1.4; }
.membership__quote > span:last-child { color: var(--gms-muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.initiatives { background: var(--gms-paper); }
.initiatives__bar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gms-border); border-bottom: 1px solid var(--gms-border); }
.initiatives__bar a { position: relative; display: grid; gap: .2rem; padding: 2rem; color: var(--gms-ink); font-family: var(--gms-serif); font-size: 1.45rem; text-decoration: none; }
.initiatives__bar a + a { border-left: 1px solid var(--gms-border); }
.initiatives__bar a span { color: #95703a; font-family: var(--gms-sans); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.initiatives__bar i { position: absolute; right: 2rem; bottom: 2.2rem; font-size: .9rem; }
.home-news { background: #eee9df; }
.home-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
    margin-right: 0;
    margin-left: 0;
}
.home-news__item {
    width: 100%;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}
.home-news .card { width: 100% !important; height: 100%; overflow: hidden; border: 0; border-radius: 0; background: var(--gms-paper); box-shadow: none; }
.home-news .card-img-top { display: block; width: 100%; max-width: 100%; height: 230px; border-radius: 0 !important; object-fit: cover; transition: transform .45s ease; }
.home-news .card:hover .card-img-top { transform: scale(1.035); }
.home-news .card-body { padding: 1.5rem; }
.home-news .card-title { font-size: 1.4rem; line-height: 1.2; }
.home-news .card-title a { text-decoration: none; }
.home-news .card-body > p:first-of-type { color: #95703a; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.home-news .btn-link { padding: 0; color: var(--gms-ink); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 575px) {
    .home-news__grid { grid-template-columns: 1fr; }
}
.home-cta { padding: 4rem 0; background: var(--gms-ink-deep); color: white; }
.home-cta__inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.home-cta h2 { margin: 0; color: white; font-size: clamp(2.2rem, 4vw, 3.8rem); }

/* Upcoming event */
.next-event { background: var(--gms-ink-deep); color: white; }
.next-event__panel { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.next-event__label { align-self: stretch; padding-right: 2rem; border-right: 1px solid rgba(255,255,255,.18); }
.next-event__label .eyebrow { margin-bottom: .75rem; color: var(--gms-gold-light); }
.next-event__label i { font-size: 1.5rem; }
.next-event__date { display: grid; min-width: 95px; text-align: center; }
.next-event__date strong { color: var(--gms-gold-light); font-family: var(--gms-serif); font-size: 3.5rem; font-weight: 400; line-height: .9; }
.next-event__date span { margin-top: .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.next-event__details h2 { margin-bottom: .4rem; color: white; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.next-event__details p { margin: 0; color: rgba(255,255,255,.68); }
.next-event__details .next-event__type { margin-bottom: .35rem; color: var(--gms-gold-light); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.next-event__details i { margin-right: .3rem; color: var(--gms-gold-light); }

/* Editorial and contact pages */
.editorial-hero { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 7vw, 6rem); border-top: 3px solid var(--gms-brand-red); background: #eee9df; }
.editorial-hero .container { max-width: 1040px; }
.editorial-hero h1 { max-width: 900px; margin-bottom: 1.5rem; font-size: clamp(3.3rem, 7vw, 6.7rem); line-height: .94; }
.editorial-hero .lead { max-width: 760px; margin: 0; color: var(--gms-muted); }
.editorial-hero--dark { background: var(--gms-ink); color: rgba(255,255,255,.75); }
.editorial-hero--dark h1 { color: white; }
.editorial-hero--dark .eyebrow { color: var(--gms-gold-light); }
.editorial-hero--dark .lead { color: rgba(255,255,255,.75); }
.editorial-copy h2, .editorial-aside h2, .contact-details h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.editorial-copy p { color: var(--gms-muted); }
.editorial-aside, .contact-details { padding: 2.25rem; border-top: 4px solid var(--gms-gold); background: var(--gms-ivory); }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; padding: 1rem 0; border-top: 1px solid var(--gms-border); }
.feature-list span { color: #95703a; font-family: var(--gms-serif); font-size: 1.7rem; }
.editorial-band { background: #eee9df; }
.organisation-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.organisation-grid .value-card { grid-column: span 2; }
.organisation-grid .value-card:nth-child(4), .organisation-grid .value-card:nth-child(5) { grid-column: span 3; }
.value-card { height: 100%; padding: 2rem; border-top: 3px solid var(--gms-gold); background: var(--gms-paper); }
.value-card > span, .work-card > span { color: #95703a; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.value-card h3, .work-card h3 { margin-top: 2rem; font-size: 2rem; }
.value-card p, .work-card p { color: var(--gms-muted); }
.editorial-action { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gms-border); }
.editorial-action p { margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--gms-border); border-left: 1px solid var(--gms-border); }
.work-card { padding: clamp(2rem, 4vw, 3.5rem); border-right: 1px solid var(--gms-border); border-bottom: 1px solid var(--gms-border); }
.work-card a { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.membership-routes .work-card { display: flex; flex-direction: column; align-items: flex-start; }
.membership-routes .work-card h3 { margin-bottom: 1rem; }
.membership-routes .work-card p { flex: 1; }
.membership-routes .work-card .btn { margin-top: 1rem; color: white; }
.initiative-links { display: grid; grid-template-columns: repeat(3, 1fr); }
.initiative-links a { position: relative; display: grid; padding: 2rem; border: 1px solid var(--gms-border); color: var(--gms-ink); text-decoration: none; }
.initiative-links a + a { border-left: 0; }
.initiative-links span { color: #95703a; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.initiative-links strong { font-family: var(--gms-serif); font-size: 1.5rem; font-weight: 400; }
.initiative-links i { position: absolute; right: 1.5rem; bottom: 1.5rem; }
.officer-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--gms-border); border-left: 1px solid var(--gms-border); }
.officer-card { display: flex; gap: clamp(1.5rem, 4vw, 3rem); align-items: flex-start; padding: clamp(2rem, 4vw, 3rem); border-right: 1px solid var(--gms-border); border-bottom: 1px solid var(--gms-border); }
.officer-card__portrait { display: grid; width: 148px; height: 148px; flex: 0 0 148px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--gms-sage); box-shadow: 0 0 0 2px rgba(141, 33, 24, .24); color: var(--gms-ink); font-family: var(--gms-serif); font-size: 1.6rem; }
.officer-card__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.officer-card__content { min-width: 0; }
.officer-card .officer-card__role { margin-bottom: .5rem; color: #95703a; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.officer-card h3 { margin: 0; font-size: 1.8rem; }
.officer-card .officer-card__bio { max-width: 780px; margin: 1rem 0 0; color: var(--gms-muted); font-size: 1rem; font-weight: 400; letter-spacing: 0; line-height: 1.7; text-transform: none; }
.officer-card__edit { margin: 1.25rem 0 0; }
.officer-card__edit-button {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: .55rem .75rem;
  border: 1px solid var(--gms-ink);
  background: transparent;
  color: var(--gms-ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.officer-card__edit-button:hover, .officer-card__edit-button:focus-visible { background: var(--gms-ink); color: white; }
.officer-card__edit-button:focus-visible { outline: 3px solid var(--gms-gold-light); outline-offset: 3px; }
.officer-grid__empty { grid-column: 1 / -1; margin: 0; padding: 2rem; border-right: 1px solid var(--gms-border); border-bottom: 1px solid var(--gms-border); color: var(--gms-muted); }
.membership-page .editorial-hero h1 { max-width: 1100px; font-size: clamp(3rem, 6vw, 6rem); }
.membership-benefits { display: grid; grid-template-columns: repeat(2, 1fr); margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--gms-border); border-left: 1px solid var(--gms-border); list-style: none; }
.membership-benefits li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.5rem; border-right: 1px solid var(--gms-border); border-bottom: 1px solid var(--gms-border); background: var(--gms-paper); }
.membership-benefits i { margin-top: .15rem; color: var(--gms-brand-red); font-size: 1.15rem; }
.membership-narrative { max-width: 900px; margin-top: 3rem; }
.membership-emphasis { margin-top: 2rem; color: var(--gms-ink); font-family: var(--gms-serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; line-height: 1.35; }
.membership-journey { background: var(--gms-ink-deep); color: white; }
.membership-journey .section-heading h2 { color: white; }
.membership-journey .section-heading > p { color: rgba(255,255,255,.7); }
.membership-journey__steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); list-style: none; }
.membership-journey__steps li { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.membership-journey__steps > li > span { color: var(--gms-gold-light); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.membership-journey__steps h3 { color: white; font-size: 1.8rem; }
.membership-journey__steps p { margin: 0; color: rgba(255,255,255,.72); }
.cluster-schools { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--gms-border); border-left: 1px solid var(--gms-border); list-style: none; }
.cluster-schools li { border-right: 1px solid var(--gms-border); border-bottom: 1px solid var(--gms-border); }
.cluster-schools a { display: flex; min-height: 100%; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.35rem 1.5rem; background: var(--gms-paper); color: var(--gms-ink); font-family: var(--gms-serif); font-size: 1.1rem; line-height: 1.3; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.cluster-schools a:hover, .cluster-schools a:focus { background: var(--gms-ink); color: white; }
.cluster-schools i { flex: 0 0 auto; color: var(--gms-brand-red); font-size: .75rem; }
.cluster-schools a:hover i, .cluster-schools a:focus i { color: var(--gms-gold-light); }
.guild-structure { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--gms-border); }
.guild-structure__chart { display: grid; gap: 0; }
.guild-structure__tier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guild-structure__tier--support { grid-template-columns: repeat(4, 1fr); }
.guild-structure__connector { display: grid; height: 54px; place-items: center; }
.guild-structure__connector span { display: block; width: 1px; height: 100%; background: var(--gms-gold); }
.structure-node { padding: 1.5rem; border: 1px solid var(--gms-border); background: var(--gms-paper); }
.structure-node span { display: block; margin-bottom: .55rem; color: #95703a; font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.structure-node strong { display: block; color: var(--gms-ink); font-family: var(--gms-serif); font-size: 1.45rem; font-weight: 500; line-height: 1.15; }
.structure-node small { display: block; margin-top: .65rem; color: var(--gms-muted); font-size: .82rem; line-height: 1.5; }
.structure-node--primary { border-top: 4px solid var(--gms-brand-red); }
.structure-node--accent { border-top: 4px solid var(--gms-gold); background: var(--gms-ivory); }
.application-timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 3rem 0 0; padding: 0; list-style: none; }
.application-timeline::before { position: absolute; z-index: 0; top: 25px; right: 8%; left: 8%; height: 2px; background: var(--gms-gold); content: ''; }
.application-timeline li { position: relative; z-index: 1; display: grid; grid-template-rows: 52px 1fr; }
.application-timeline li > span { display: grid; width: 52px; height: 52px; margin: 0 auto; place-items: center; border: 2px solid var(--gms-gold); border-radius: 50%; background: var(--gms-paper); color: var(--gms-brand-red); font-size: .68rem; font-weight: 700; }
.application-timeline li > div { margin: 1rem .4rem 0; padding: 1.25rem; border-top: 3px solid var(--gms-brand-red); background: var(--gms-paper); }
.application-timeline p { margin: 0 0 .35rem; color: #95703a; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.application-timeline h3 { margin-bottom: .65rem; font-size: 1.25rem; }
.application-timeline small { color: var(--gms-muted); font-size: .78rem; line-height: 1.45; }
.history-link { padding: 4rem 0; background: var(--gms-ink-deep); color: white; }
.history-link__inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.history-link .eyebrow { color: var(--gms-gold-light); }
.history-link h2 { margin: 0; color: white; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.journey-list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--gms-border); border-left: 1px solid var(--gms-border); list-style: none; }
.journey-list li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-right: 1px solid var(--gms-border); border-bottom: 1px solid var(--gms-border); }
.journey-list li > span { color: #95703a; font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.journey-list h3 { margin-bottom: .5rem; font-size: 1.55rem; }
.journey-list p { margin: 0; color: var(--gms-muted); }
.document-link { display: flex; gap: 1.25rem; align-items: center; padding: 2rem; border: 1px solid var(--gms-border); background: var(--gms-paper); color: var(--gms-ink); text-decoration: none; }
.document-link i { color: #a23e36; font-size: 2.3rem; }
.document-link span { display: grid; font-family: var(--gms-serif); font-size: 1.25rem; line-height: 1.3; }
.document-link small { color: #95703a; font-family: var(--gms-sans); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.protected-link { padding: 2rem; border-top: 4px solid var(--gms-gold); background: var(--gms-ivory); }
.protected-link > i { margin-bottom: 1rem; color: #95703a; font-size: 1.7rem; }
.contact-form label { margin-bottom: .4rem; color: var(--gms-ink); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-form .form-control, .contact-form .form-select { min-height: 54px; border-color: var(--gms-border); border-radius: 0; background-color: var(--gms-paper); }
.contact-form textarea.form-control { min-height: 180px; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--gms-gold); box-shadow: 0 0 0 .2rem rgba(201,158,88,.18); }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-alert { margin-bottom: 2rem; padding: 1.5rem; border-left: 4px solid; }
.contact-alert h2 { font-size: 1.5rem; }
.contact-alert--success { border-color: #477a60; background: #e4eee7; }
.contact-alert--error { border-color: #a23e36; background: #f7e9e7; }
.contact-details a { overflow-wrap: anywhere; }
.contact-details hr { margin: 2rem 0; border-color: var(--gms-border); opacity: 1; }

/* Member dashboard */
.member-dashboard { min-height: 70vh; background: #eee9df; }
.member-dashboard__hero { padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem); border-top: 3px solid var(--gms-brand-red); background: var(--gms-ink); color: rgba(255,255,255,.72); }
.member-dashboard__hero .eyebrow { color: var(--gms-gold-light); }
.member-dashboard__welcome { display: flex; justify-content: space-between; gap: 3rem; align-items: flex-end; }
.member-dashboard__hero h1 { margin: 0 0 1rem; color: white; font-size: clamp(3.3rem, 7vw, 6rem); line-height: .95; }
.member-dashboard__hero p:last-child { max-width: 610px; margin: 0; font-size: 1.08rem; }
.member-dashboard__identity { display: flex; min-width: 270px; gap: 1rem; align-items: center; padding: 1.25rem; border: 1px solid rgba(255,255,255,.18); }
.member-dashboard__identity > span { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 50%; background: var(--gms-gold); color: var(--gms-ink-deep); font-family: var(--gms-serif); font-size: 1.15rem; }
.member-dashboard__identity > span img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center top; }
.member-dashboard__identity div { display: grid; }
.member-dashboard__identity small { color: var(--gms-gold-light); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.member-dashboard__identity strong { color: white; font-family: var(--gms-serif); font-size: 1.15rem; font-weight: 400; }
.member-dashboard__content { min-height: 50vh; }
.member-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--gms-border); background: var(--gms-border); }
.member-action { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; min-height: 175px; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--gms-paper); color: var(--gms-ink); text-decoration: none; transition: background .25s ease, color .25s ease; }
.member-action:hover { background: var(--gms-ink); color: white; }
.member-action__icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--gms-border); color: #95703a; font-size: 1.45rem; transition: border-color .25s ease, color .25s ease; }
.member-action:hover .member-action__icon { border-color: rgba(255,255,255,.25); color: var(--gms-gold-light); }
.member-action__copy { display: grid; }
.member-action__copy small { margin-bottom: .3rem; color: #95703a; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.member-action__copy strong { font-family: var(--gms-serif); font-size: 1.65rem; font-weight: 400; line-height: 1.2; }
.member-action__copy > span { margin-top: .45rem; color: var(--gms-muted); font-size: .9rem; line-height: 1.5; }
.member-action:hover .member-action__copy small { color: var(--gms-gold-light); }
.member-action:hover .member-action__copy > span { color: rgba(255,255,255,.65); }
.member-action__arrow { color: var(--gms-brand-red); font-size: .9rem; transition: transform .25s ease; }
.member-action:hover .member-action__arrow { color: var(--gms-gold-light); transform: translateX(5px); }
.member-action--admin { background: var(--gms-ivory); }

/* News archive */
.news-archive { background: #eee9df; }
.news-archive__hero { padding: clamp(5rem, 9vw, 8rem) 0 clamp(2.75rem, 5vw, 4.5rem); background: var(--gms-paper); border-bottom: 1px solid var(--gms-border); }
.news-archive__heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; }
.news-archive__heading h1 { margin: .5rem 0 0; color: var(--gms-ink); font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: .92; }
.news-archive__heading > p { max-width: 430px; margin: 0 0 .5rem; color: var(--gms-muted); font-size: 1.05rem; }
.news-archive__filters { display: flex; gap: .65rem; overflow-x: auto; margin-bottom: 2.5rem; padding: 0 0 1rem; scrollbar-width: thin; }
.news-filter { flex: 0 0 auto; padding: .7rem 1rem; border: 1px solid var(--gms-border); background: transparent; color: var(--gms-ink); font-family: var(--gms-sans); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.news-filter:hover, .news-filter.active { border-color: var(--gms-ink); background: var(--gms-ink); color: white; }
.news-filter:focus-visible { outline: 3px solid var(--gms-gold-light); outline-offset: 2px; }
.news-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.news-archive__card { min-width: 0; overflow: hidden; background: var(--gms-paper); }
.news-archive__image-link { display: block; overflow: hidden; }
.news-archive__image { display: block; width: 100%; height: 260px; object-fit: cover; transition: transform .45s ease; }
.news-archive__card:hover .news-archive__image { transform: scale(1.035); }
.news-archive__card-body { display: flex; min-height: 300px; flex-direction: column; align-items: flex-start; padding: 1.75rem; }
.news-archive__date { margin-bottom: .7rem; color: #95703a; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-archive__card h2 { margin-bottom: .8rem; font-size: 1.65rem; line-height: 1.15; overflow-wrap: anywhere; }
.news-archive__card h2 a { color: var(--gms-ink); text-decoration: none; }
.news-archive__summary { color: var(--gms-muted); }
.news-archive__card .text-link { margin-top: auto; }
.news-archive__grid .filterDiv { display: none; }
.news-archive__grid .filterDiv.show { display: block; }

@media (max-width: 991px) {
    .news-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Footer */
.site-footer { padding: 5rem 0 2rem; background: #071c1e; color: rgba(255,255,255,.68); }
.site-footer__brand { margin-bottom: 1rem; color: white; font-size: 1.8rem; }
.site-footer__intro { max-width: 470px; }
.site-footer__email { color: var(--gms-gold-light) !important; text-decoration: none; }
.site-footer__heading { margin-bottom: 1.25rem; color: white; font-family: var(--gms-sans); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__links { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { color: rgba(255,255,255,.68); text-decoration: none; }
.site-footer__links a:hover { color: white; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .72rem; letter-spacing: .04em; }

/* Bring inner pages into the same system */
body:not(.home-page) > .container:first-of-type { min-height: 58vh; }
body:not(.home-page) h1.text-uppercase { color: var(--gms-ink); font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: none !important; }
.story-title { margin: .5rem 0 2rem; line-height: .94; }
.card { border-color: var(--gms-border); border-radius: 0; }
.accordion { --bs-accordion-border-color: var(--gms-border); --bs-accordion-border-radius: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: var(--gms-sage); --bs-accordion-active-color: var(--gms-ink); }
.court-dates__events-link { display: flex; justify-content: flex-end; margin: -1rem 0 2.5rem; }
.court-dates__events-link .btn { display: inline-flex; gap: .75rem; align-items: center; }
.court-dates__events-link .btn i { transition: transform .2s ease; }
.court-dates__events-link .btn:hover i { transform: translateX(4px); }

/* User portrait field */
.user-portrait-field { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 2.25rem; align-items: center; width: min(100%, 980px); margin: 2rem 0; padding: 2rem; border: 1px solid var(--gms-border); border-top: 3px solid var(--gms-gold); background: var(--gms-ivory); }
.user-portrait-field__preview { display: grid; width: 140px; height: 140px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--gms-sage); color: var(--gms-ink); font-size: 2.5rem; box-shadow: 0 0 0 2px rgba(141,33,24,.18); }
.user-portrait-field__preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.user-portrait-field__content .eyebrow { margin-bottom: .5rem; }
.user-portrait-field__content h2 { margin-bottom: .35rem; font-size: 1.8rem; }
.user-portrait-field__content > p:not(.eyebrow) { max-width: 620px; margin-bottom: .75rem; color: var(--gms-muted); }
.user-portrait-field__content .alert { display: inline-block; width: auto; margin: .25rem 0 .85rem; padding: .6rem .85rem; font-size: .85rem; }
.user-portrait-field__actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.user-portrait-field__upload { display: inline-flex; position: relative; overflow: hidden; margin: 0; padding: .7rem 1rem; border: 1px solid var(--gms-ink); background: var(--gms-ink); color: white; cursor: pointer; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.user-portrait-field__upload:has(input:disabled) { cursor: not-allowed; opacity: .5; }
.user-portrait-field__upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.user-portrait-field__upload:focus-within { outline: 3px solid var(--gms-gold-light); outline-offset: 2px; }
.user-portrait-field__status { margin: 0; color: var(--gms-muted); font-size: .78rem; line-height: 1.4; }
.user-portrait-field__status strong { color: var(--gms-ink); }
.user-portrait-field__remove { display: inline-flex; gap: .45rem; align-items: center; margin-left: auto; color: var(--gms-muted); font-size: .78rem; }
.user-portrait-field__content .user-portrait-field__save-note { display: flex; gap: .45rem; align-items: baseline; max-width: none; margin: .85rem 0 0; padding-top: .7rem; border-top: 1px solid var(--gms-border); color: var(--gms-ink); font-size: .78rem; }
.user-portrait-field__save-note i { color: var(--gms-brand-red); }

@media (min-width: 1200px) {
  .home-hero__content { padding-top: 10rem; padding-bottom: 3rem; }
}

@media (max-width: 1199px) {
  .site-nav { background: var(--gms-paper) !important; }
  .home-page .site-brand__name, .home-page .site-brand__mark, .home-page .site-nav .nav-link { color: var(--gms-ink); }
  .home-page .navbar-toggler { filter: none; }
  .site-nav .navbar-collapse { padding: 1rem 0 1.5rem; }
  .site-nav__account { margin: .7rem 0 0; }
  .home-page .account-button { border-color: var(--gms-ink); color: var(--gms-ink); }
}
@media (max-width: 767px) {
  body { padding-top: 78px; }
  .container { --bs-gutter-x: 2rem; }
  .section-space { padding: 4.25rem 0; }
  .section-space-sm { padding: 3.25rem 0; }
  .site-nav { min-height: 78px; }
  .site-nav__inner { padding: .65rem 1rem; }
  .site-brand__mark { width: 46px; height: 46px; }
  .site-brand__name { font-size: .9rem; }
  .site-nav .dropdown-menu { padding: .35rem 0 .6rem 1rem; border: 0; background: transparent; box-shadow: none; }
  .site-nav .dropdown-item { padding: .55rem .7rem; }
  .site-nav__account, .account-button { width: 100%; }
  .account-button { justify-content: center; }
  .home-hero { min-height: 640px; min-height: calc(100svh - 78px); }
  .home-hero__veil { background: linear-gradient(90deg, rgba(5,31,34,.94), rgba(5,31,34,.62)); }
  .home-hero__content { padding-top: 7rem; padding-bottom: 4rem; }
  .home-hero .eyebrow::before { display: none; }
  .home-hero h1 { font-size: clamp(2.55rem, 12vw, 3.35rem); line-height: 1.08; }
  .home-hero__lead { font-size: 1.05rem; line-height: 1.55; }
  .home-hero__actions { display: grid; gap: .75rem; margin-top: 2rem; }
  .home-hero__actions .btn { width: 100%; margin-bottom: 0; }
  .home-hero__scroll { display: none; }
  .editorial-hero { padding: 4rem 0 3.5rem; }
  .editorial-hero h1, .membership-page .editorial-hero h1 { font-size: clamp(2.65rem, 12vw, 3.6rem); line-height: 1; }
  .editorial-hero .lead { font-size: 1.05rem; line-height: 1.55; }
  .section-heading, .home-cta__inner { gap: 1.25rem; align-items: flex-start; flex-direction: column; margin-bottom: 2.25rem; }
  .initiatives__bar { grid-template-columns: 1fr; }
  .initiatives__bar a + a { border-top: 1px solid var(--gms-border); border-left: 0; }
  .purpose__image { min-height: 380px; background-size: 100% 100%, 96% auto; }
  .purpose__content { padding: 2rem 1.5rem; }
  .site-footer__bottom { flex-direction: column; }
  .site-footer { padding: 3.75rem 0 1.5rem; }
  .news-archive__heading { align-items: flex-start; flex-direction: column; }
  .news-archive__heading h1 { font-size: clamp(2.65rem, 12vw, 3.6rem); line-height: 1; }
  .news-archive__grid { grid-template-columns: 1fr; }
  .news-archive__image { height: 230px; }
  .next-event__panel { grid-template-columns: 1fr; gap: 1.25rem; }
  .next-event__label { grid-column: 1 / -1; padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .next-event__date { display: flex; min-width: 0; gap: .65rem; align-items: baseline; text-align: left; }
  .next-event__date strong { font-size: 2.8rem; }
  .next-event__date span { margin-top: 0; }
  .next-event__panel .btn { grid-column: 1 / -1; width: 100%; justify-content: center; margin-bottom: 0; }
  .work-grid, .initiative-links { grid-template-columns: 1fr; }
  .organisation-grid { grid-template-columns: 1fr; }
  .organisation-grid .value-card, .organisation-grid .value-card:nth-child(4), .organisation-grid .value-card:nth-child(5) { grid-column: auto; }
  .officer-grid, .journey-list { grid-template-columns: 1fr; }
  .officer-card { align-items: flex-start; flex-direction: column; padding: 1.5rem; }
  .officer-card__portrait { width: 124px; height: 124px; flex-basis: 124px; }
  .editorial-aside, .contact-details, .value-card, .work-card, .protected-link, .document-link { padding: 1.5rem; }
  .document-link { align-items: flex-start; }
  .membership-benefits, .membership-journey__steps { grid-template-columns: 1fr; }
  .cluster-schools { grid-template-columns: 1fr; }
  .guild-structure__tier, .guild-structure__tier--support { grid-template-columns: 1fr; }
  .guild-structure__tier--leadership .structure-node--primary { order: -1; }
  .guild-structure__connector { height: 32px; }
  .application-timeline { grid-template-columns: 1fr; gap: 1.25rem; }
  .application-timeline::before { top: 0; bottom: 0; left: 25px; width: 2px; height: auto; }
  .application-timeline li { grid-template-columns: 52px 1fr; grid-template-rows: auto; gap: 1rem; }
  .application-timeline li > span { margin: 0; }
  .application-timeline li > div { margin: 0; }
  .history-link__inner { align-items: flex-start; flex-direction: column; }
  .member-dashboard__welcome { align-items: flex-start; flex-direction: column; }
  .member-dashboard__identity { width: 100%; min-width: 0; }
  .member-actions { grid-template-columns: 1fr; }
  .member-action { grid-template-columns: auto minmax(0, 1fr); min-height: 0; padding: 1.5rem; }
  .member-action__arrow { display: none; }
  .user-portrait-field { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .user-portrait-field__preview { width: 112px; height: 112px; }
  .user-portrait-field__remove { margin-left: 0; }
  .initiative-links a + a { border-top: 0; border-left: 1px solid var(--gms-border); }
  .editorial-action { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .home-hero__image { opacity: 0; transform: scale(1.025); animation: none; }
  .home-hero__image:first-child { opacity: 1; }
}

/* Administration */
.admin-area { min-height: 100vh; padding-top: 88px; background: #f1eee7; color: var(--gms-ink); }
.admin-nav { min-height: 88px; padding: 0; background: var(--gms-ink-deep); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 28px rgba(5,31,34,.12); }
.admin-nav__inner { padding: 0 2.25rem; }
.admin-brand { display: flex; gap: .8rem; align-items: center; padding: .65rem 0; color: white !important; text-decoration: none; }
.admin-brand__mark { width: 58px; height: 58px; border: 1px solid rgba(216,187,130,.55); border-radius: 50%; object-fit: cover; }
.admin-brand__text { display: grid; line-height: 1.05; }
.admin-brand__text strong { font-family: var(--gms-serif); font-size: 1.05rem; font-weight: 600; }
.admin-brand__text small { margin-top: .3rem; color: var(--gms-gold-light); font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.admin-nav .nav-link { padding: 2rem .85rem !important; color: rgba(255,255,255,.78) !important; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.admin-nav .nav-link:hover, .admin-nav .nav-link:focus { color: white !important; }
.admin-nav .admin-nav__site-link { color: var(--gms-gold-light) !important; }
.admin-nav__site-link i { margin-left: .3rem; font-size: .7rem; }
.admin-dropdown { min-width: 230px; padding: .55rem; border: 0; border-radius: 0; box-shadow: 0 16px 36px rgba(5,31,34,.16); }
.admin-dropdown .dropdown-item { display: flex; gap: .75rem; align-items: center; padding: .75rem; color: var(--gms-ink); font-size: .85rem; }
.admin-dropdown .dropdown-item:hover { background: var(--gms-sage); }
.admin-dropdown .dropdown-item i { width: 1.1rem; color: #95703a; }
.admin-nav__account { margin-left: 1rem; }
.admin-account-button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: white; }
.admin-area .offcanvas { background: var(--gms-ink-deep); }
.admin-area .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.14); }
.admin-area .offcanvas-title { color: white; }
.admin-area .offcanvas-body .nav { gap: .3rem; }
.admin-area .offcanvas-body .nav-item { padding: 0; }
.admin-area .offcanvas-body a { display: flex; gap: .8rem; padding: .75rem; color: rgba(255,255,255,.78); }
.admin-dashboard__hero { padding: clamp(4rem, 7vw, 6.5rem) 0 3.5rem; background: var(--gms-paper); border-bottom: 1px solid var(--gms-border); }
.admin-dashboard__hero h1 { margin: .5rem 0 .7rem; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .95; }
.admin-dashboard__hero > .container > p:last-child { max-width: 600px; margin: 0; color: var(--gms-muted); font-size: 1.05rem; }
.admin-dashboard__content { padding-top: 3.5rem; padding-bottom: 5rem; }
.admin-dashboard__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--gms-border); background: var(--gms-border); }
.admin-tool { display: grid; grid-template-columns: 42px 1fr auto; gap: 1rem; align-items: center; min-height: 132px; padding: 1.8rem; background: var(--gms-paper); color: var(--gms-ink); text-decoration: none; transition: background .2s ease; }
.admin-tool:hover { background: var(--gms-sage); color: var(--gms-ink); }
.admin-tool > i:first-child { color: #95703a; font-size: 1.55rem; }
.admin-tool > i:last-child { transition: transform .2s ease; }
.admin-tool:hover > i:last-child { transform: translateX(4px); }
.admin-tool span { display: grid; gap: .25rem; }
.admin-tool strong { font-family: var(--gms-serif); font-size: 1.55rem; font-weight: 600; }
.admin-tool small { color: var(--gms-muted); font-size: .82rem; }

/* Shared admin page treatments */
.admin-area > .container.pt-4, .admin-area > .container.pt-5 { width: min(100% - 2rem, 1440px); max-width: 1440px; padding-top: 3.5rem !important; padding-bottom: 5rem; }
.admin-area > .container > h1.text-uppercase { margin: 0 0 2rem !important; color: var(--gms-ink); font-size: clamp(2.6rem, 5vw, 4.5rem); text-align: left !important; text-transform: none !important; }
.admin-area .table { margin-top: 1.5rem; background: white; border-color: var(--gms-border); font-size: .85rem; }
.admin-area .table > thead { background: var(--gms-ink-deep); color: white; }
.admin-area .table > thead th { padding: 1rem .8rem; border-color: rgba(255,255,255,.14); font-size: .67rem; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
.admin-area .table > tbody td { padding: .8rem; vertical-align: middle; }
.admin-area .table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-bg-type: #f7f5ef; }
.admin-area .table-hover > tbody > tr:hover > * { --bs-table-bg-state: var(--gms-sage); }
.admin-area .btn { border-radius: 0; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.admin-area .btn-outline-primary { border-color: var(--gms-ink); color: var(--gms-ink); }
.admin-area .btn-outline-primary:hover { background: var(--gms-ink); color: white; }
.admin-area .btn-outline-success { border-color: #667d69; color: #425b47; }
.admin-area .btn-outline-success:hover { background: #425b47; color: white; }
.admin-area .form-control, .admin-area .form-select { min-height: 46px; border-color: var(--gms-border); border-radius: 0; background-color: white; }
.admin-area .form-control:focus, .admin-area .form-select:focus { border-color: var(--gms-gold); box-shadow: 0 0 0 .2rem rgba(183,139,73,.14); }
.admin-area .breadcrumb { gap: .25rem; margin: 0; padding: .55rem; background: white; border: 1px solid var(--gms-border); }
.admin-area .breadcrumb a { color: var(--gms-ink); text-decoration: none; }
.admin-area .rdt-search, .admin-area .rdt-select { border-radius: 0 !important; }
.admin-area #userstable .member-row > td { vertical-align: top; }
.admin-area #userstable .member-row form { margin: 0; }
.member-roles-cell { min-width: 270px; }
.member-roles { display: flex; flex-wrap: wrap; gap: .4rem; align-items: flex-start; }
.member-role { display: inline-flex; padding: .38rem .55rem; background: #e5ece4; border: 1px solid #c7d5c5; color: #34513a; font-size: .68rem; font-weight: 700; line-height: 1.2; }
.member-role--empty { background: #efede8; border-color: var(--gms-border); color: var(--gms-muted); font-weight: 500; }
.member-roles__more { width: 100%; margin-top: .25rem; }
.member-roles__more summary { width: fit-content; cursor: pointer; color: #805d2c; font-size: .7rem; font-weight: 700; }
.member-roles__more summary:hover { text-decoration: underline; }
.member-roles--expanded { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--gms-border); }

/* Member role directory */
#users-list-tabs { margin-top: 1.5rem; border-bottom-color: var(--gms-border); }
#users-list-tabs .nav-link {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  padding: .85rem 1.25rem;
  border-radius: 0;
  color: var(--gms-muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}
#users-list-tabs .nav-link.active {
  border-color: var(--gms-border) var(--gms-border) white;
  background: white;
  color: var(--gms-ink);
}
#members-panel { padding-top: .5rem; }
#roles-panel { padding: 2rem 0 5rem; }
.role-directory__intro {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid var(--gms-border);
  background: white;
}
.role-directory__intro h2 { margin-bottom: .5rem; font-size: clamp(2rem, 3vw, 3rem); }
.role-directory__intro p:last-child { max-width: 650px; margin-bottom: 0; color: var(--gms-muted); }
.role-directory__summary { display: flex; gap: 1px; flex: 0 0 auto; background: var(--gms-border); }
.role-directory__summary span {
  display: grid;
  min-width: 100px;
  padding: 1rem;
  background: var(--gms-paper);
  color: var(--gms-muted);
  font-size: .66rem;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}
.role-directory__summary strong { color: var(--gms-ink); font-family: var(--gms-serif); font-size: 1.7rem; font-weight: 600; }
.role-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.role-directory__role { border: 1px solid var(--gms-border); background: white; }
.role-directory__role > header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--gms-border); background: var(--gms-ink); color: white; }
.role-directory__role > header h3 { margin: 0; color: white; font-family: var(--gms-sans); font-size: .78rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.role-directory__role > header span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; background: var(--gms-gold); color: var(--gms-ink-deep); font-size: .72rem; font-weight: 700; }
.role-directory__role ul { margin: 0; padding: 0; list-style: none; }
.role-directory__role li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 66px; padding: .75rem 1rem; border-bottom: 1px solid var(--gms-border); }
.role-directory__role li:last-child { border-bottom: 0; }
.role-directory__role li > div { display: grid; gap: .15rem; }
.role-directory__role li strong { color: var(--gms-ink); font-size: .88rem; }
.role-directory__role li small { color: var(--gms-muted); font-size: .7rem; }
.role-directory__person-form { width: 100%; margin: 0; }
.role-directory__person-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gms-ink);
  text-align: left;
}
.role-directory__person { display: flex; min-width: 0; gap: .65rem; align-items: center; }
.role-directory__avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--gms-border);
  border-radius: 50%;
  background: var(--gms-sage);
  color: var(--gms-ink);
}
.role-directory__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.role-directory__avatar i { font-size: .8rem; }
.role-directory__person-copy { display: grid; min-width: 0; gap: .15rem; }
.role-directory__action { color: #95703a; transition: transform .2s ease; }
.role-directory__person-link:hover strong { text-decoration: underline; }
.role-directory__person-link:hover .role-directory__action { transform: translateX(3px); }
.role-directory__person-link:focus-visible { outline: 3px solid var(--gms-gold-light); outline-offset: 4px; }
.role-directory__empty { margin: 0; padding: 1.25rem; color: var(--gms-muted); font-size: .82rem; font-style: italic; }

/* Document administration */
.document-admin-page { padding-bottom: 5rem; }
.document-admin-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin: 1.5rem 0 2rem;
  padding: 2rem;
  border: 1px solid var(--gms-border);
  background: white;
}
.document-admin-header h1 { margin: .25rem 0 .6rem; color: var(--gms-ink); font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .95; }
.document-admin-header p:last-child { margin: 0; color: var(--gms-muted); }
.document-admin-actions { display: flex; gap: .85rem; align-items: center; flex: 0 0 auto; }
.document-admin-actions form { margin: 0; }
.document-state-switcher { display: inline-flex; border: 1px solid var(--gms-border); background: var(--gms-paper); }
.document-state-switcher a {
  padding: .78rem 1rem;
  border-right: 1px solid var(--gms-border);
  color: var(--gms-muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}
.document-state-switcher a:last-child { border-right: 0; }
.document-state-switcher a:hover { background: var(--gms-sage); color: var(--gms-ink); }
.document-state-switcher a.active { background: var(--gms-ink); color: white; }
.document-admin-table { overflow-x: auto; border: 1px solid var(--gms-border); background: white; }
.document-admin-table .Selc { display: block; padding: 1rem; border-bottom: 1px solid var(--gms-border); background: var(--gms-paper); }
.document-admin-table #C { margin: 0 !important; }
.document-admin-table #C td { display: flex; gap: .75rem; align-items: center; }
.document-admin-table #my-select { width: 100px !important; min-height: 46px; margin-right: 0 !important; border-color: var(--gms-border); border-radius: 0; }
.document-admin-table #SearchControl { width: min(420px, 100%) !important; min-height: 46px; margin-left: 0 !important; border-color: var(--gms-border); border-radius: 0; }
.document-admin-table #SearchControl:focus { border-color: var(--gms-gold); box-shadow: 0 0 0 .2rem rgba(183,139,73,.14) !important; }
.document-admin-table .table { margin: 0; border: 0; }
.document-admin-table .asterisk { display: block; padding: .5rem 1rem; border-top: 1px solid var(--gms-border); }

/* Dependency-free News editor */
.gms-rich-editor { border: 1px solid var(--gms-border); background: white; }
.gms-rich-editor:focus-within { border-color: var(--gms-gold); box-shadow: 0 0 0 .2rem rgba(183,139,73,.14); }
.gms-rich-editor__toolbar { display: flex; flex-wrap: wrap; gap: 1px; padding: .55rem; border-bottom: 1px solid var(--gms-border); background: var(--gms-paper); }
.gms-rich-editor__toolbar button,
.gms-rich-editor__toolbar select,
.gms-rich-editor__colour { min-height: 38px; padding: .45rem .7rem; border: 1px solid var(--gms-border); border-radius: 0; background: white; color: var(--gms-ink); font-size: .75rem; }
.gms-rich-editor__toolbar button:hover,
.gms-rich-editor__toolbar select:hover,
.gms-rich-editor__colour:hover { border-color: var(--gms-gold); background: var(--gms-sage); }
.gms-rich-editor__toolbar select { min-width: 125px; }
.gms-rich-editor__colour { display: inline-flex; gap: .45rem; align-items: center; cursor: pointer; }
.gms-rich-editor__colour input { width: 24px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gms-rich-editor__content { min-height: 260px; padding: 1rem; color: var(--gms-ink); line-height: 1.65; outline: 0; }
.gms-rich-editor__content:empty::before { color: var(--gms-muted); content: "Add main article text here"; }
.gms-rich-editor__content table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.gms-rich-editor__content th,
.gms-rich-editor__content td { min-width: 70px; padding: .55rem; border: 1px solid var(--gms-border); }
.gms-editor-fullscreen-open { overflow: hidden; }
.gms-rich-editor--fullscreen { position: fixed; z-index: 10000; inset: 0; display: flex; flex-direction: column; background: white; }
.gms-rich-editor--fullscreen .gms-rich-editor__toolbar { flex: 0 0 auto; }
.gms-rich-editor--fullscreen .gms-rich-editor__content { min-height: 0; flex: 1 1 auto; overflow: auto; }
.gms-rich-editor__content[data-code-view="true"] { background: #172322; color: #f4f0e8; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre-wrap; }
.category-checklist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; border: 0; background: var(--gms-border); }
.category-checklist__option { display: flex; gap: .7rem; align-items: center; min-height: 48px; padding: .75rem 1rem; background: white; color: var(--gms-ink); cursor: pointer; }
.category-checklist__option:hover { background: var(--gms-sage); }
.category-checklist__option input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--gms-ink); }

/* Event administration form */
.event-admin-state { display: inline-flex; min-height: 42px; align-items: center; padding: .65rem .9rem; background: var(--gms-sage); color: var(--gms-ink); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.event-admin-context { display: none; }
:is(.event-admin-form, .news-admin-form) { width: 100%; margin: 0; }
.event-admin-form > .row { width: 100%; margin: 0; }
.event-admin-form .col-md-12.mb40 { width: 100%; max-width: none; padding: 0; }
:is(.event-admin-form, .news-admin-form) form { display: grid; width: 100%; gap: 1rem; }
:is(.event-admin-form, .news-admin-form) form > hr { display: none; }
:is(.event-admin-form, .news-admin-form) .card { width: 100%; max-width: none; padding: clamp(1.25rem, 3vw, 2rem) !important; border: 1px solid var(--gms-border); border-radius: 0; background: white; box-shadow: none; }
:is(.event-admin-form, .news-admin-form) .card h5 { margin: 0 0 1.25rem; color: var(--gms-ink); font-family: var(--gms-serif); font-size: 1.55rem; }
:is(.event-admin-form, .news-admin-form) .form-control,
:is(.event-admin-form, .news-admin-form) .form-select { border-color: var(--gms-border); border-radius: 0; }
:is(.event-admin-form, .news-admin-form) .form-control:focus,
:is(.event-admin-form, .news-admin-form) .form-select:focus { border-color: var(--gms-gold); box-shadow: 0 0 0 .2rem rgba(183,139,73,.14); }
.event-cost-table { margin-bottom: 1rem; border: 1px solid var(--gms-border); }
.event-cost-table .table { min-width: 860px; margin: 0; }
.event-cost-table th:nth-child(2),
.event-cost-table td:nth-child(2) { width: 160px; min-width: 160px; }
.event-cost-table td:nth-child(2) .form-control { width: 100%; min-width: 140px; }

/* Secure library category browser */
.library-folders-page { padding-bottom: 5rem; }
.library-folders-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin: 1.5rem 0 2rem;
  padding: 2rem;
  border: 1px solid var(--gms-border);
  background: white;
}
.library-folders-header h1 { margin: .25rem 0 .6rem; color: var(--gms-ink); font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .95; }
.library-folders-header p:last-child { max-width: 620px; margin: 0; color: var(--gms-muted); }
.library-view-tabs { display: inline-flex; flex: 0 0 auto; border: 1px solid var(--gms-border); background: var(--gms-paper); }
.library-view-tabs a {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: .78rem 1rem;
  border-right: 1px solid var(--gms-border);
  color: var(--gms-muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.library-view-tabs a:last-child { border-right: 0; }
.library-view-tabs a:hover { background: var(--gms-sage); color: var(--gms-ink); }
.library-view-tabs a.active { background: var(--gms-ink); color: white; }
.library-folder-browser { padding: 2rem; border: 1px solid var(--gms-border); background: white; }
.library-folder-browser__heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.library-folder-browser__heading h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); }
.library-folder-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.library-folder-list > .mb-3 { margin: 0 !important; border: 1px solid var(--gms-border); background: var(--gms-paper); }
.library-folder-list > .mb-3 > .btn {
  display: flex;
  width: 100%;
  gap: .8rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border: 0;
  border-radius: 0;
  color: var(--gms-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: left;
}
.library-folder-list > .mb-3 > .btn::after { margin-left: auto; color: #95703a; content: '+'; font-size: 1rem; }
.library-folder-list > .mb-3 > .btn:hover { background: var(--gms-sage); }
.library-folder-list .folder-icon { width: 1.2rem; color: #95703a !important; }
.library-folder-list .collapse {
  width: auto;
  max-width: none;
  margin: 0;
  padding: .25rem 1.15rem 1rem !important;
  border-top: 1px solid var(--gms-border);
  background: white;
}
.library-folder-list .collapse a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--gms-border); color: var(--gms-ink); font-size: .82rem; text-decoration: none; }
.library-folder-list .collapse a:hover { color: #805d2c; text-decoration: underline; }
.library-folder-list .collapse br { display: none; }
.library-folder-list .collapse p { margin: .75rem 0 0; color: var(--gms-muted); font-size: .8rem; font-style: italic; }

/* Secure library binder tree */
.library-binder-tree { max-width: 980px; }
.library-binder-tree__root {
  display: flex;
  gap: .9rem;
  align-items: center;
  width: fit-content;
  min-width: 260px;
  padding: 1rem 1.25rem;
  background: var(--gms-ink);
  color: white;
}
.library-binder-tree__root > i { color: var(--gms-gold-light); font-size: 1.35rem; }
.library-binder-tree__root > div { display: grid; gap: .15rem; }
.library-binder-tree__root strong { font-family: var(--gms-serif); font-size: 1.25rem; font-weight: 600; }
.library-binder-tree__root small { color: rgba(255,255,255,.65); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.library-binder-tree__branches { position: relative; margin-left: 28px; padding: 1rem 0 0 2.5rem; }
.library-binder-tree__branches::before { position: absolute; top: 0; bottom: 1.75rem; left: 0; width: 1px; background: var(--gms-border); content: ''; }
.library-binder-tree__branches > .mb-3 { position: relative; margin: 0 0 .65rem !important; border: 1px solid var(--gms-border); background: var(--gms-paper); }
.library-binder-tree__branches > .mb-3::before { position: absolute; z-index: 1; top: 23px; left: -2.5rem; width: 2.5rem; height: 1px; background: var(--gms-border); content: ''; }
.library-binder-tree__branches > .mb-3 > .btn {
  display: flex;
  width: 100%;
  gap: .8rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 0;
  border-radius: 0;
  color: var(--gms-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: left;
}
.library-binder-tree__branches > .mb-3 > .btn::after { margin-left: auto; color: #95703a; content: '+'; font-size: 1rem; }
.library-binder-tree__branches > .mb-3 > .btn[aria-expanded='true']::after { content: '−'; }
.library-binder-tree__branches > .mb-3 > .btn:hover { background: var(--gms-sage); }
.library-binder-tree .folder-icon { width: 1.2rem; color: #95703a !important; }
.library-binder-tree .collapse {
  position: relative;
  width: auto;
  max-width: none;
  margin: 0 0 0 1.6rem;
  padding: .25rem 1rem 1rem 1.6rem !important;
  border-top: 1px solid var(--gms-border);
  border-left: 1px solid var(--gms-border);
  background: white;
}
.library-binder-tree .collapse a { position: relative; display: block; padding: .65rem 0 .65rem .75rem; border-bottom: 1px solid var(--gms-border); color: var(--gms-ink); font-size: .82rem; text-decoration: none; }
.library-binder-tree .collapse a::before { position: absolute; top: 50%; left: -.75rem; width: .65rem; height: 1px; background: var(--gms-border); content: ''; }
.library-binder-tree .collapse a:hover { color: #805d2c; text-decoration: underline; }
.library-binder-tree .collapse br { display: none; }
.library-binder-tree .collapse p { margin: .75rem 0 0; color: var(--gms-muted); font-size: .8rem; font-style: italic; }

/* Secure library search */
.library-search-panel { max-width: 1080px; padding: 2rem; border: 1px solid var(--gms-border); background: white; }
.library-search-panel__heading { max-width: 680px; margin-bottom: 1.5rem; }
.library-search-panel__heading h2 { margin: 0 0 .45rem; font-size: clamp(2rem, 3vw, 3rem); }
.library-search-panel__heading p:last-child { margin: 0; color: var(--gms-muted); }
.library-search-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: stretch;
  border: 1px solid var(--gms-border);
  background: var(--gms-paper);
}
.library-search-form__icon { display: grid; width: 52px; place-items: center; color: #95703a; }
.library-search-form .search-input {
  min-height: 56px;
  padding: .8rem 1rem;
  border: 0;
  border-left: 1px solid var(--gms-border);
  border-radius: 0;
  background: white;
  box-shadow: none;
}
.library-search-form .search-input:focus { box-shadow: inset 0 -3px 0 var(--gms-gold); }
.library-search-form__clear {
  width: 52px;
  border: 0;
  border-left: 1px solid var(--gms-border);
  background: white;
  color: var(--gms-muted);
}
.library-search-form__clear:hover { background: var(--gms-sage); color: var(--gms-ink); }
.library-search-form__submit { min-width: 112px; border-radius: 0; }
.library-search-suggestions { display: grid; border-right: 1px solid transparent; border-left: 1px solid transparent; }
.library-search-suggestions:not(:empty) { border-color: var(--gms-border); border-bottom: 1px solid var(--gms-border); }
.library-search-suggestions .docReproSearch-item { padding: .75rem 1rem; border-bottom: 1px solid var(--gms-border); background: var(--gms-paper); color: var(--gms-ink); cursor: pointer; }
.library-search-suggestions .docReproSearch-item:last-child { border-bottom: 0; }
.library-search-suggestions .docReproSearch-item:hover { background: var(--gms-sage); }
.library-search-results { display: grid; gap: .75rem; margin-top: 1.5rem; }
.library-search-results:empty { margin-top: 0; }
.library-search-result {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--gms-border);
  background: var(--gms-paper);
}
.library-search-result h3 { margin: 0 0 .35rem; color: var(--gms-ink); font-family: var(--gms-sans); font-size: 1rem; font-weight: 700; }
.library-search-result p { margin: 0; color: var(--gms-muted); font-size: .84rem; }
.library-search-result .btn { flex: 0 0 auto; }
.library-search-empty { padding: 1.25rem; border: 1px solid var(--gms-border); background: var(--gms-paper); color: var(--gms-muted); }

/* Event booking type checkbox */
.event-booking-checkbox {
    display: flex;
    gap: .9rem;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 1rem 1.15rem;
    border: 1px solid var(--gms-border);
    background: #f7f5ef;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.event-booking-checkbox:hover { border-color: var(--gms-gold); background: #f3eee3; }
.event-booking-checkbox__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.event-booking-checkbox__box {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 2px solid var(--gms-ink);
    background: white;
    color: white;
    font-size: .9rem;
}
.event-booking-checkbox__box i { opacity: 0; transform: scale(.65); transition: opacity .15s ease, transform .15s ease; }
.event-booking-checkbox__input:checked + .event-booking-checkbox__box { background: var(--gms-ink); }
.event-booking-checkbox__input:checked + .event-booking-checkbox__box i { opacity: 1; transform: scale(1); }
.event-booking-checkbox__input:focus-visible + .event-booking-checkbox__box { outline: 3px solid var(--gms-gold-light); outline-offset: 3px; }
.event-booking-checkbox__copy { display: grid; gap: .15rem; }
.event-booking-checkbox__copy strong { color: var(--gms-ink); font-family: var(--gms-sans); font-size: .95rem; }
.event-booking-checkbox__copy small { color: var(--gms-muted); font-size: .78rem; }
.event-booking-checkbox__provisional { display: none; }
.event-booking-checkbox__input:checked ~ .event-booking-checkbox__copy .event-booking-checkbox__fixed { display: none; }
.event-booking-checkbox__input:checked ~ .event-booking-checkbox__copy .event-booking-checkbox__provisional { display: block; }

@media (max-width: 1199px) {
    .admin-nav { background: var(--gms-ink-deep) !important; }
    .admin-nav__inner { padding: 0 1rem; }
    .admin-nav .navbar-toggler { border-color: rgba(255,255,255,.35); filter: invert(1); }
    .admin-nav .navbar-collapse { padding: 1rem 0 1.5rem; }
    .admin-nav .nav-link { padding: .75rem 0 !important; }
    .admin-nav__account { margin: .75rem 0 0; }
}
@media (max-width: 767px) {
    .admin-area { padding-top: 78px; }
    .admin-nav { min-height: 78px; }
    .admin-nav__inner { padding: .55rem 1rem; }
    .admin-brand__mark { width: 48px; height: 48px; }
    .admin-brand__text strong { max-width: 165px; font-size: .82rem; }
    .admin-dashboard__grid { grid-template-columns: 1fr; }
    .admin-tool { grid-template-columns: 38px minmax(0, 1fr); min-height: 0; padding: 1.35rem; }
    .admin-tool > i:last-child { display: none; }
    .admin-area > .container.pt-4, .admin-area > .container.pt-5 { width: calc(100% - 2rem); overflow-x: auto; padding-top: 2.5rem !important; }
    .role-directory__intro { align-items: stretch; flex-direction: column; }
    .role-directory__summary { width: 100%; }
    .role-directory__summary span { min-width: 0; flex: 1; }
    .role-directory { grid-template-columns: 1fr; }
    .document-admin-header { align-items: stretch; flex-direction: column; padding: 1.5rem; }
    .document-admin-actions { align-items: stretch; flex-direction: column; }
    .document-state-switcher { width: 100%; }
    .document-state-switcher a { flex: 1; text-align: center; }
    .document-admin-actions .btn { width: 100%; }
    .document-admin-table #C td { align-items: stretch; flex-direction: column; }
    .document-admin-table #my-select,
    .document-admin-table #SearchControl { width: 100% !important; }
    .category-checklist { grid-template-columns: 1fr; }
    .gms-rich-editor__toolbar { overflow-x: auto; }
    .library-folders-header { align-items: stretch; flex-direction: column; padding: 1.5rem; }
    .library-view-tabs { width: 100%; }
    .library-view-tabs a { flex: 1; justify-content: center; }
    .library-folder-browser { padding: 1.25rem; }
    .library-folder-browser__heading { align-items: start; flex-direction: column; }
    .library-folder-list { grid-template-columns: 1fr; }
    .library-binder-tree__root { width: 100%; min-width: 0; }
    .library-binder-tree__branches { margin-left: 18px; padding-left: 1.5rem; }
    .library-binder-tree__branches > .mb-3::before { left: -1.5rem; width: 1.5rem; }
    .library-search-panel { padding: 1.25rem; }
    .library-search-form { grid-template-columns: auto minmax(0, 1fr) auto; }
    .library-search-form__submit { grid-column: 1 / -1; min-height: 48px; }
    .library-search-result { align-items: stretch; flex-direction: column; gap: 1rem; }
    .library-search-result .btn { width: 100%; }
}
