/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *




 */

#submit-loading {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  background: rgba(0, 0, 0, .4);
  margin: 0;
  padding: 0;
  z-index: 9999;    
}

#submit-loading div {
  opacity: 25%;
}

p:empty {
  height: 0!important;
  padding: 0!important;
  margin: 0!important;
  width: 0!important;
}
/*
 * Cookie Consent Module — ws_consent.css
 * =======================================
 * All classes prefixed .ws-consent-* to avoid colliding with client themes.
 *
 * Overridable CSS custom properties:
 *   --ws-consent-banner-bg           (banner background color)
 *   --ws-consent-banner-color        (banner text color)
 *   --ws-consent-banner-link-color   (banner link color)
 *   --ws-consent-header-bg           (modal header background)
 *   --ws-consent-header-color        (modal header text color)
 *   --ws-consent-header-link-color   (modal header link color)
 *   --ws-consent-header-border-color (modal header border color)
 *   --ws-consent-body-bg             (modal body background color)
 *   --ws-consent-body-color          (modal body text color)
 *   --ws-consent-body-link-color     (modal body link color)
 *   --ws-consent-accent              (buttons, toggle on-state, focus rings)
 *
 * Override in your site stylesheet:
 *   :root {
 *     --ws-consent-accent: #e63946;
 *     --ws-consent-bg: #fdf6ec;
 *     etc...
 *   }
 *
 * Responsive layout:
 *   Desktop (>640px) — banner is a bottom-bar spanning full viewport width
 *   Mobile  (≤640px) — banner is a bottom-sheet card with rounded top corners
 */

/* ── Default Theme Variables ──────────────────────────────────────── */
:root {
  --ws-consent-accent: #2563eb;
  --ws-consent-preference-button-nudge-amount: 1rem;

  --ws-consent-banner-bg: #fff;
  --ws-consent-banner-color: #000;
  --ws-consent-banner-link-color: #2563eb;
  --ws-consent-header-bg: #fff;
  --ws-consent-header-color: #000;
  --ws-consent-header-link-color: #6b7280;
  --ws-consent-header-border-color: var(--ws-consent-accent);
  --ws-consent-body-bg: #fff;
  --ws-consent-body-color: #000;
  --ws-consent-body-link-color: #2563eb;
  --ws-consent-preference-button-bg: #2563eb;
  --ws-consent-preference-button-color: #fff;
}

/* ── Reset / scoping ──────────────────────────────────────────────── */
.ws-consent-banner,
.ws-consent-modal,
.ws-consent-banner *,
.ws-consent-modal * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.ws-consent-banner,
.ws-consent-modal {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a1a2e;
}

/* Shield child elements from bare site selectors (e.g. `p { font-size: 16px }`).
   :where() zeroes the element specificity so our own .ws-consent-* rules still win. */
.ws-consent-banner :where(p, a, h1, h2, h3, h4, span, li, ul, ol),
.ws-consent-modal :where(p, a, h1, h2, h3, h4, span, li, ul, ol) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  font-weight: normal;
  text-decoration: none;
}

/* ── Screenreader-only ────────────────────────────────────────────── */
.ws-consent-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BANNER — first-visit bottom bar / bottom sheet                     */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--ws-consent-banner-bg, #fff);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
}
.ws-consent-banner[hidden] {
  display: none !important;
}

/* Desktop: full-width bottom bar, horizontal layout */
.ws-consent-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.ws-consent-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}
.ws-consent-banner__desc {
  color: var(--ws-consent-banner-color, #3a3a4e);
}
.ws-consent-banner__desc a {
  color: var(--ws-consent-banner-link-color, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-banner__desc a:hover {
  opacity: 0.8;
}
.ws-consent-banner__desc a:focus-visible {
  outline: 2px solid var(--ws-consent-accent);
  outline-offset: 2px;
}
.ws-consent-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile: bottom-sheet style */
@media (max-width: 992px) {
  .ws-consent-banner {
    border-radius: 14px 14px 0 0;
  }
  .ws-consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
  .ws-consent-banner__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* OVERLAY                                                            */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.45);
}
.ws-consent-overlay[hidden] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* MODAL — category toggles                                           */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ws-consent-modal[hidden] {
  display: none !important;
}
.ws-consent-modal__inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--ws-consent-body-bg);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  /* padding: 1.5rem; */
}

.ws-consent-modal__content {
  padding: 1.5rem;
  padding-top: 1rem;
}

/* Header */
.ws-consent-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--ws-consent-header-border-color, #2563eb);
  background-color: var(--ws-consent-header-bg, #fff);
}
.ws-consent-modal__title {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ws-consent-header-color, #1a1a2e);
}
.ws-consent-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--ws-consent-header-link-color, #6b7280);
  cursor: pointer;
  transition: background 0.15s;
}
.ws-consent-modal__close:hover {
  background: #f0f0f5;
  color: #1a1a2e;
}
.ws-consent-modal__close:focus-visible {
  outline: 2px solid var(--ws-consent-accent);
  outline-offset: 2px;
}

/* Description */
.ws-consent-modal__desc {
  font-family: inherit;
  color: var(--ws-consent-body-color, #3a3a4e);
  margin-bottom: 1rem;
}
.ws-consent-modal__desc a {
  color: var(--ws-consent-body-link-color, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-modal__desc a:hover {
  opacity: 0.8;
}
.ws-consent-modal__desc a:focus-visible {
  outline: 2px solid var(--ws-consent-body-link-color, #2563eb);
  outline-offset: 2px;
}

/* Modal actions */
.ws-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Mobile modal: bottom-sheet */
@media (max-width: 640px) {
  .ws-consent-modal {
    align-items: flex-end;
    padding: 0;
  }
  .ws-consent-modal__inner {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 14px 14px 0 0;
    /* padding: 1.25rem 1rem; */
  }
  .ws-consent-modal__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* CATEGORIES + TOGGLES                                               */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-categories {
  border: none;
}
.ws-consent-category {
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem 0;
}
.ws-consent-category:last-child {
  border-bottom: 1px solid #e5e7eb;
}
.ws-consent-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ws-consent-category__name {
  font-weight: 600;
  color: #1a1a2e;
}
.ws-consent-category__desc {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.45;
}
.ws-consent-category__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Toggle switch */
.ws-consent-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.ws-consent-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ws-consent-toggle__track {
  display: inline-flex;
  align-items: center;
  width: 38px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 11px;
  padding: 2px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.ws-consent-toggle__thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
/* Checked */
.ws-consent-toggle input:checked + .ws-consent-toggle__track {
  background: var(--ws-consent-accent, #2563eb);
}
.ws-consent-toggle input:checked + .ws-consent-toggle__track .ws-consent-toggle__thumb {
  transform: translateX(16px);
}
/* Disabled (necessary) */
.ws-consent-toggle input:disabled + .ws-consent-toggle__track {
  background: #94a3b8;
  cursor: not-allowed;
}
/* Focus ring (T-4) */
.ws-consent-toggle input:focus-visible + .ws-consent-toggle__track {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BUTTONS                                                            */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-btn {
  flex: 1 1 0;
  min-width: 150px;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
}
.ws-consent-btn:active {
  transform: scale(0.97);
}
.ws-consent-btn:focus-visible {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
}

/* QC-3: Reject all & Accept all — identical visual weight */
.ws-consent-btn--primary {
  background: #1a1a2e;
  color: #ffffff;
}
.ws-consent-btn--primary:hover {
  background: #2a2a40;
}

/* Customize / secondary */
.ws-consent-btn--secondary {
  background: #f0f0f5;
  color: #1a1a2e;
  border: 1px solid #d0d0da;
}
.ws-consent-btn--secondary:hover {
  background: #e4e4ec;
}

/* Save my choices — accent-coloured */
.ws-consent-btn--accent {
  background: var(--ws-consent-accent, #2563eb);
  color: #ffffff;
}
.ws-consent-btn--accent:hover {
  filter: brightness(0.9);
}

/* ═══════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════ */
/* BLOCKED ELEMENT PARTIAL                                             */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-form-blocked button {
  color: var(--ws-consent-preference-button-color, #FFF);
  background-color: var(--ws-consent-preference-button-bg, #2563eb);
}

.ws-consent-form-blocked a {
  color: var(--ws-consent-body-link-color);
  display: inline-block;
  padding: 5px;
}


/* ═══════════════════════════════════════════════════════════════════ */
/* FOOTER LINK (QC-4 persistent re-access)                             */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-footer-link {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--ws-consent-preference-button-bg, #2563eb);
  color: var(--ws-consent-preference-button-color, #fff);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.15s, box-shadow 0.15s, bottom 0.15s;
}
.ws-consent-footer-link:hover {
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ws-consent-footer-link:focus-visible {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
  color: #fff;
}
.ws-consent-footer-link--nudge {
  bottom: var(--ws-consent-preference-button-nudge-amount, 1rem);
}
.ws-consent-footer-link__icon {
  flex-shrink: 0;
}
.ws-consent-last-modified {
  margin: 0;
  margin-top: 0.75rem;
}


/* ═══════════════════════════════════════════════════════════════════ */
/* REDUCED MOTION                                                     */
/* ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ws-consent-toggle__track,
  .ws-consent-toggle__thumb,
  .ws-consent-btn,
  .ws-consent-modal__close,
  .ws-consent-footer-link {
    transition: none;
  }
}
/* ------------------- */
/*        setup        */
/* ------------------- */
:root {
  --cream: #F1EFE5;
  --txt-color: #535862;
  --concrete: #D9D9D9;
  --sand: #CBC4BC;
  --stone: #B7A99A;
  --pine: #EFDBB2;
  --slate: #4B4F54;
  --granite: #373A36;
  --dark: #181D27;
  --century-gothic: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif;
  --montserrat: "Montserrat", sans-serif;
  --light-grey: #F9FAFB;


  /* Consent / Privacy Theming */

  --ws-consent-accent: var(--stone);
  --ws-consent-banner-bg: var(--slate);
  --ws-consent-banner-color: #FFF;
  --ws-consent-banner-link-color: var(--pine);
  --ws-consent-header-bg: var(--slate);
  --ws-consent-header-color: #FFF;
  --ws-consent-header-link-color: #FFF;
  --ws-consent-header-border-color: var(--ws-consent-accent);
  --ws-consent-body-bg: var(--light-grey);
  --ws-consent-body-color: var(--dark);
  --ws-consent-body-link-color: var(--slate);
  --ws-consent-preference-button-bg: var(--slate);
  --ws-consent-preference-button-color: var(--cream);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

body * {
  font-family: var(--montserrat);
}

body a {
  text-decoration: none;
}

h1, h2, h3,
h4, h5, h6 {
  font-family: var(--century-gothic);
}

::selection {
  background-color: var(--pine);
  color: #101010;
}

::-moz-selection {
  background-color: var(--pine);
  color: #101010;
}

/* width sizes */
.mw-280 {
  max-width: 280px;
}

.mw-md-280 {
  width: 100%;
}

.mw-480 {
  max-width: 480px;
}

.mw-576 {
  max-width: 576px;
}

.mw-lg-576 {
  width: 100%;
}

.mw-768 {
  max-width: 768px;
}

.mw-lg-768 {
  width: 100%;
}

.mw-991 {
  width: 100%;
  max-width: 991px;
}

.mw-1024 {
  width: 100%;
  max-width: 1024px;
}

.br-16 {
  border-radius: 16px;
  overflow: hidden;
}

/* row gap */
.row-gap-64 {
  row-gap: 64px;
}

/* section settings */
.section-p {
  padding-top: 64px;
  padding-bottom: 64px;
}

.single-p {
  padding-bottom: 64px;
}

.bg-cream {
  background-color: var(--cream);
}

.section-title h2 {
  color: var(--granite);
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  margin-bottom: 24px;
}

.section-title h3 {
  color: var(--granite);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 16px;
}

.rich-text-section h2 {
  color: var(--granite);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 24px;
  margin-top: 24px;
}

.rich-text-section h3 {
  color: var(--granite);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.section-title p,
.section-title ul,
.section-content p,
.section-content ul,
.rich-text-section p,
.rich-text-section li {
  color: var(--txt-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.subpage-banner p a,
.section-title p a,
.section-content p a,
.rich-text-section a {

  color: var(--txt-color);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;

  &:hover {
    color: var(--dark);
  }
}

.subpage-banner p a,
.section-link:hover,
.section-title p a:hover,
.section-content p a:hover,
.rich-text-section p a:hover {
  text-decoration-color: var(--txt-color);
}

.rich-text-section .section-divider {
  margin-top: 48px;
}

/* nested ordered-list numbering: 1. → a. → i. */
.rich-text-section ol {
  list-style: decimal;
  padding-left: 24px;
}

.rich-text-section ol li {
  color: var(--txt-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 8px;
}

.rich-text-section ol ol {
  list-style: lower-alpha;
  margin-top: 8px;
}

.rich-text-section ol ol ol {
  list-style: lower-roman;
}

/* full-width figure (natural aspect ratio, no crop) */
.content-figure {
  margin: 32px 0;
}

.content-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.content-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--txt-color);
}

/* --------------------- */
/* large image container */
/* --------------------- */
.large-img-container {
  width: 100%;
  max-width: 576px;
  height: 240px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.large-img-container img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  object-fit: cover;
  position: relative;
}

.img-png {
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
  background-color: var(--granite);
}

.image-border::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  box-shadow: inset 0px 0px 0px 5px var(--primary);
  border-radius: 16px;
  left: -8px;
  top: -8px;
}

/* --------------------- */
/* small image container */
/* --------------------- */
.small-img-container {
  width: 100%;
  max-width: 576px;
  height: 240px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.small-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

/* --------------- */
/* rich text image */
/* --------------- */
.rich-text-img {
  margin-bottom: 48px;
  width: 100%;
  height: 200px;
  box-shadow: 0.3px 0.5px 0.7px hsl(0deg 0% 63% / 0.34),
    0.4px 0.8px 1px -1.2px hsl(0deg 0% 63% / 0.34),
    1px 2px 2.5px -2.5px hsl(0deg 0% 63% / 0.34);
}

.rich-text-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------- */
/* Skip to main content */
/* -------------------- */
.skip-to-main-content {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 1em;
  background-color: black;
  color: #fff;
  opacity: 0;
}

.skip-to-main-content:focus {
  left: 50%;
  top: 1%;
  transform: translateX(-50%);
  opacity: 1;
  border: 1px solid red;
}

/* --------------------- */
/*    Section divider    */
/* --------------------- */
.section-divider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-divider div {
  height: 1px;
  width: 100%;
  max-width: 1300px;
  padding: 0px 32px;
  align-self: center;
  background-color: #D9D9D9;
}

/* ------------------- */
/*       buttons       */
/* ------------------- */

/* primary */
.btn.aanb-btn {
  background-color: var(--slate);
  border-radius: 0;
  padding: 12px 18px;
  border: 1px solid var(--concrete);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease;

  &:is(:hover, :active, :focus, :focus-visible) {
    border-color: var(--slate);
    background-color: var(--concrete);
    color: var(--slate);
  }
}

.btn.aanb-btn-secondary {
  background-color: var(--concrete);
  border-radius: 0;
  padding: 12px 18px;
  border: 1px solid var(--slate);
  color: var(--slate);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease;

  &:is(:hover, :active, :focus, :focus-visible) {
    border-color: var(--concrete);
    background-color: var(--slate);
    color: #FFFFFF;
  }
}

/* ------------------ */
/*       Navbar       */
/* ------------------ */
.aanb-nav {
  background-color: var(--slate);
}

.aanb-nav .navbar {
  --bs-navbar-padding-y: 18px;
}

.navbar-brand {
  width: 44px;
  height: 44px;
  padding: 0;
}

.navbar-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.aanb-nav .btn-close {
  background-image: none;
  color: var(--concrete);
  opacity: 1;
}

.nav-item .dropdown-menu {
  border-radius: 0;
  background-color: var(--cream);
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.nav-item .nav-link {
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.nav-item .nav-link:hover,
.nav-item .nav-link:active,
.nav-item .nav-link.active,
.nav-item .nav-link.show {
  color: var(--pine);
}

.dropdown-menu .nav-menu-title {
  color: var(--dark);
  font-family: var(--century-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  display: none;
}

.nav-item-list,
.nav-item-list ul {
  padding-left: 0;
  list-style: none;
}

.nav-item-list>li {
  margin-bottom: 8px;
}

.nav-item-list>li,
.nav-item-list>li>a {
  color: var(--granite, #373A36);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.nav-item-list>li>a {
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.nav-item-list>li.second-level-dropdown {
  padding: 12px;
}

.nav-item-list>li>a:hover,
.nav-item-list>li>a.active {
  background-color: #ffffff;
}

.nav-item-list>li>a,
.nav-item-list>li>ul>li>a {
  display: flex;
  align-items: baseline;
}

.nav-item-list .second-level-dropdown li a {
  color: var(--slate, #4B4F54);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.nav-item-list .second-level-dropdown div.d-flex {
  gap: 12px;
}

.nav-item-list .second-level-dropdown li a:hover {
  color: var(--dark);
}

.second-level-dropdown ul {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 12px;
  padding-left: 8px;
}

.nav-item-list .second-level-dropdown a.active {
  color: var(--dark);
}

.offcanvas {
  background-color: var(--slate);
}

.btn.lang-btn {
  background-color: var(--slate);
  border: 1px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  height: 44px;
  padding: 10px 9px;
}

.btn.lang-btn:hover,
.btn.lang-btn:active,
.btn.lang-btn:focus-visible {
  background-color: var(--concrete);
  color: var(--slate);
}

.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 10px 9px;
  border: 1px solid var(--concrete);
  color: var(--concrete);
  background-color: var(--slate);
  transition: background-color 0.2s ease;
}

.navbar-toggler:hover,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  background-color: var(--concrete);
  color: var(--slate);
}

/* -------------------- */
/*       Homepage       */
/* -------------------- */
.home-banner {
  width: 100%;
  height: 450px;
  position: relative;
}

.home-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.home-banner .banner-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  align-content: center;
}

.home-banner .banner-overlay img {
  margin-top: 80px;
  width: 100%;
  object-fit: contain;
}

.path-selection .path {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  align-items: stretch;
  background-color: var(--slate);
  color: #ffffff;
  height: 100%;
  padding: 24px;
  border: 2px solid var(--slate);
  transition: border-color 0.2s ease, color 0.2s ease;
  justify-content: flex-start;
}
.path-selection .path__title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 16px;
}
.path-selection .path__title i {
  margin-top: 10px;
}
.path-selection .path h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}
.path-selection .path p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 0;
}
.path-selection .path:hover,
.path-selection .path:focus-visible {
  border-color: var(--pine);
  color: var(--pine);
}

/* footer */
footer {
  background-color: var(--slate);
  padding: 64px 0;
}

.footer-logo {
  width: 100%;
  display: inline-block;
}

.footer-logo img {
  width: 100%;
  object-fit: contain;
}

.footer-col-title {
  font-family: var(--century-gothic);
  color: var(--pine);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

footer ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.footer-menu a {
  padding: 4px 8px;
  color: var(--concrete);
  font-size: 16px;
  transition: background-color 0.2s ease;
  display: flex;
  column-gap: 6px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  background-color: var(--sand);
  color: var(--slate);
}

.footer-menu a i {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  text-align: center;
  align-content: center;
}

footer .section-divider div {
  background-color: var(--sand);
}

footer .footer-address {
  padding: 4px 8px;
  color: var(--concrete);
  display: flex;
  flex-direction: column;
}

.footer-end * {
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
}

.footer-end img {
  height: 24px;
  object-fit: contain;
}

.footer-end p a:hover {
  text-decoration: underline;
}

.footer-social ul {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
}

.footer-social i {
  font-size: 20px;
  transition: color 0.2s ease;
}

.footer-social a:hover i {
  color: var(--pine);
}

/* -------------- */
/* subpage banner */
/* -------------- */
.subpage-banner {
  padding-top: 144px;
  padding-bottom: 64px;
}

.subpage-banner h1 {
  font-size: 30px;
  line-height: 38px;
  font-weight: 600;
  margin-bottom: 24px;
  text-wrap-style: balance;
}

.subpage-banner p {
  font-size: 18px;
  line-height: 28px;
  color: var(--txt-color);
}

/* ------------ */
/* contact page */
/* ------------ */
.contact-box {
  background-color: var(--slate);
  padding: 24px;
  height: 280px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}

.contact-box i {
  width: 48px;
  height: 48px;
  text-align: center;
  align-content: center;
  flex-shrink: 0;
  color: var(--concrete);
  font-size: 40px;
}

.contact-box h2 {
  color: var(--pine, #EFDBB2);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.contact-box div a,
.contact-box div li {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.contact-box div a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: transparent;
  transition: text-decoration 0.2s ease;
}

.contact-box ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.contact-box div a:hover,
.contact-box div a:focus-visible {
  text-decoration-color: var(--concrete);
}

.aanb-map iframe {
  width: 100%;
  height: 240px;
}

.featured-img {
  width: 100%;
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  aspect-ratio: 1/1;
}

.key-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.key-contact > i {
  align-content: center;
  background-color: var(--slate);
  border: 1px solid var(--granite);
  color: var(--concrete);
  flex-shrink: 0;
  font-size: 24px;
  height: 48px;
  text-align: center;
  width: 48px;
}

.key-contact h3 {
  color: var(--granite, #373A36);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 4px;
}

.key-contact p {
  color: var(--slate, #4B4F54);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin-bottom: 0;
}

.key-contact a {
  color: var(--slate, #4B4F54);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: underline;
}

/* ------------- */
/*   News page   */
/* ------------- */
.news-grid {
  display: grid;
  row-gap: 48px;
  column-gap: 32px;
  grid-template-columns: repeat(1, 1fr);
}

.news-grid .news-item img {
  height: 256px;
  width: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.news-grid .news-item:hover img {
  opacity: 0.8;
}

.news-grid .news-item {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  color: var(--granite);
}

.news-item .news-item-badge {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--slate);
  background-color: var(--concrete);
  color: var(--granite);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}

.news-item .news-item-date {
  color: var(--granite);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.news-item h2 {
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  transition: text-decoration 0.2s ease;
}

.news-grid .news-item:hover h2 {
  text-decoration-color: var(--dark);
}

.news-item p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--txt-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.news-item i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  text-align: center;
  align-content: center;
  font-size: 14px;
  color: #A4A7AE;
  transition: color 0.2s ease;
}

.news-grid .news-item:hover i {
  color: var(--dark);
}

.tab-toggler ul {
  border: 1px solid #E9EAEB;
  background: var(--concrete);
  display: flex;
  padding: 6px;
  gap: 8px;
}

.tab-toggler .btn {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--slate);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
}

.tab-toggler .btn.active {
  background-color: var(--slate);
  border-color: #ffffff;
  color: #ffffff;
}

.tab-toggler .btn:hover:not(.active) {
  border-color: var(--slate);
}

/* news details page */
/* news / event share bar now uses the shared .share-bar component */
/* event details page */
.event-whereabouts {
  padding: 16px;
  border-left: 2px solid var(--stone);
  margin-bottom: 32px;
}

.event-whereabouts h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--granite);
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
}

.event-whereabouts ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.event-whereabouts ul li {
  display: flex;
  margin-top: 4px;
}

.event-whereabouts ul a {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-decoration: underline 2px solid transparent;
  font-size: 16px;
  line-height: 24px;
  color: var(--slate);
  font-weight: 500;
  transition: text-decoration 0.2s ease;
}

.event-whereabouts ul a:hover {
  text-decoration-color: var(--slate);
}

.event-whereabouts ul i {
  background-color: var(--slate);
  color: #ffffff;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  text-align: center;
  align-content: center;
  font-size: 14px;
  margin-right: 16px;
}

.event-img-container {
  margin-top: 48px;
  margin-bottom: 48px;
  width: 100%;
  height: 200px;
  box-shadow: 0.3px 0.5px 0.7px hsl(0deg 0% 63% / 0.34),
    0.4px 0.8px 1px -1.2px hsl(0deg 0% 63% / 0.34),
    1px 2px 2.5px -2.5px hsl(0deg 0% 63% / 0.34);
}

.event-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------- */
/*    Our Mandate    */
/* ----------------- */
.interact-img-container {
  width: 100%;
  display: block;
  max-height: 640px;

  &:hover {
    img {
      transform: scale(1.01);
    }
  }

  img {
    width: 100%;
    height: auto;
    transition: transform 0.2s ease;
    object-fit: contain;
  }
}

.lg-img-caption-link {
  margin-top: 12px;

  p {
    font-size: 14px;
    line-height: 24px;
    color: var(--txt-color);

    a {
      color: inherit;
      text-decoration: underline 2px rgba(83, 88, 98, 0.4);
      transition: text-decoration-color 0.2s ease;

      &:hover {
        text-decoration-color: var(--txt-color);
      }
    }
  }
}

.highlighted-paragraph {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 8px 0 8px 22px;
  border-left: 2px solid var(--stone);

  p {
    margin-bottom: 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
  }
}

/* ------------------ */
/* AANB Data Table    */
/* ------------------ */
/*
Modifiers:
.aanb-table--emphasize-first : bold first column (cells + header), left-aligned
.aanb-table--center-others   : center-align non-first columns (cells + headers)
*/
.aanb-table {
  width: 100%;
  border-collapse: collapse;
  display: block;
}

.aanb-table thead {
  display: none;
}

.aanb-table tbody,
.aanb-table tr {
  display: block;
}

.aanb-table tr {
  padding: 12px 16px;
  border: 1px solid #ddd;
  margin-bottom: -1px;
}

.aanb-table tr:nth-child(even) {
  background-color: var(--light-grey);
}

.aanb-table td {
  display: block;
  padding: 4px 0;
  color: var(--granite);
  font-size: 16px;
  line-height: 24px;
}

.aanb-table td::before {
  content: attr(data-label) ': ';
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--slate);
  margin-bottom: 2px;
}

.aanb-table td[data-label=""]::before,
.aanb-table td:not([data-label])::before {
  display: none;
}

/* modifier*/
.aanb-table.aanb-table--emphasize-first td:first-child {
  font-weight: 700;
}

/* ---------------------- */
/* Pathways Options Table */
/* ---------------------- */
table.pathways-table {
  --pathway-icon-size: 42px;
}


.pathways-table td.pathway-question::before {
  content: attr(data-label);
}

.pathways-table th {
  height: 1px;
}

.pathways-table .pathway-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 20px 20px 10px;
  gap: calc(var(--pathway-icon-size) * 0.25);
}

.pathways-table th i:first-child {
  font-size: var(--pathway-icon-size);
  color: var(--granite);
}

.pathways-table th img {
  height: var(--pathway-icon-size);
  object-fit: contain;
  width: auto;
}

.pathways-table tbody tr + tr {
  margin-top: 16px;
}

.pathways-table__arrow {
  font-size: 18px;
  color: var(--granite);
  display: inline-block;
}

.pathways-table td {
  vertical-align: middle;
}

.pathways-table td small {
  display: inline-block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--granite);
  font-weight: 400;
  max-width: 50ch;
  text-wrap: pretty;
}


/* --------------- */
/* act and by laws */
/* --------------- */
.tab-toggler.large-tab-toggler ul {
  flex-direction: column;

  .btn {
    width: 100%;
    font-size: 16px;
  }
}

.publication-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 48px;

  .table-of-content {
    display: none;
    position: sticky;
    top: 100px;
    overflow-y: auto;
    flex: 0 0 340px;
    overflow-y: visible;
    border: 1px solid #E9EAEB;
    padding: 4px;

    .toc-title {
      color: var(--granite);
      text-align: center;
      font-family: var(--montserrat);
      font-size: 18px;
      font-style: normal;
      font-weight: 600;
      line-height: 28px;
    }

    .toc-scroll-body {
      padding-top: 16px;
      border-top: 1px solid #E9EAEB;
      max-height: min(680px, calc(100vh - 180px));
      overflow-y: auto;

      &::-webkit-scrollbar {
        width: 6px;
      }

      &::-webkit-scrollbar-track {
        background: transparent;
      }

      &::-webkit-scrollbar-thumb {
        background-color: #c0c0c0;
        border-radius: 3px;
      }

      &::-webkit-scrollbar-thumb:hover {
        background-color: #999;
      }

      scrollbar-width: thin;
      scrollbar-color: #c0c0c0 transparent;
    }

    .toc-part-label {
      color: var(--granite);
      font-size: 14px;
      font-family: var(--montserrat);
      font-weight: 600;
    }

    .toc-part-link {
      color: var(--slate);
      text-decoration: none;
      border: 1px solid #E9EAEB;
      background-color: var(--concrete);
      display: flex;
      padding: 10px 16px;
      font-weight: 600;
      transition: background-color 0.2s ease;

      &:is(:hover, :active, :focus-visible) {
        background-color: #ffffff;
        border-color: var(--concrete);
      }
    }

    .toc-nav {
      list-style: none;
      padding-left: 0;
      display: flex;
      flex-direction: column;
      row-gap: 4px;

      a {
        color: var(--slate);
        border: 1px solid #E9EAEB;
        background-color: var(--concrete);
        display: flex;
        padding: 10px 16px;
        font-weight: 600;
        transition: background-color 0.2s ease;

        &:is(:hover, :active, :focus-visible) {
          background-color: #ffffff;
          border-color: var(--concrete);
        }
      }
    }
  }

  .publication-file-link {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--txt-color);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s ease;

    &:hover {
      color: var(--dark);
    }
  }

  p,
  li {
    font-size: 18px;
    line-height: 28px;
    color: var(--txt-color);

    a {
      color: var(--txt-color);
      text-decoration: underline;
      text-decoration-thickness: 2px;
      text-decoration-color: rgba(83, 88, 98, 0.4);
      transition: text-decoration 0.2s ease;

      &:hover {
        text-decoration-color: rgba(83, 88, 98, 0.9);
      }
    }
  }

  .doc-part li {
    margin-bottom: 0.5rem;
  }

  h2 {
    font-size: 24px;
    line-height: 32px;
    color: var(--granite);
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: var(--granite);
    margin-bottom: 16px;
  }

  .doc-part {
    scroll-margin-top: 112px;
  }

  .doc-section {
    margin-bottom: 12px;
    scroll-margin-top: 112px;

    h2:first-of-type {
      text-transform: uppercase;
    }
  }

  .doc-columns {
    display: flex;
    flex-direction: row;
    column-gap: 16px;

    .clause-num span {
      display: block;
      font-size: 18px;
      line-height: 28px;
      color: var(--dark);
      font-weight: 600;
      min-width: 40px;
      height: 28px;
    }
  }
}

/* --------------- */
/* AANB History    */
/* --------------- */
.history-figure {
  margin: 40px 0;
}

.history-figure img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0.3px 0.5px 0.7px hsl(0deg 0% 63% / 0.34),
    0.4px 0.8px 1px -1.2px hsl(0deg 0% 63% / 0.34),
    1px 2px 2.5px -2.5px hsl(0deg 0% 63% / 0.34);
}

.history-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--txt-color);
  font-style: italic;
}

.history-figure .caption-placeholder {
  color: var(--stone);
  font-style: normal;
}

.history-timeline {
  padding-left: 24px;
  border-left: 1px solid var(--stone);
  margin: 8px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-timeline__item {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 7px;
    width: 9px;
    height: 9px;
    background-color: var(--slate);
    border-radius: 50%;
  }
}

.history-timeline__year {
  display: block;
  color: var(--granite);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 2px;
}

.history-timeline__item p {
  margin-bottom: 0;
}

/* -------------------------------- */
/* Members & Licensed Practitioners */
/* -------------------------------- */

/* search */
.members-search {
  display: flex;
  flex-direction: row;
  margin-bottom: 16px;
}

.members-search__input-wrap {
  flex: 1;
}

.members-search__input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--concrete);
  border-right: none;
  font-size: 16px;
  color: var(--txt-color);
  background-color: #ffffff;
  font-family: var(--montserrat);
  outline: none;

  &::placeholder {
    color: #A4A7AE;
  }

  &:focus {
    border-color: var(--slate);
  }
}

.members-search__btn {
  flex-shrink: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* location filter */
.members-filters {
  margin-bottom: 16px;
}

.location-filter {
  display: inline-block;
  position: relative;
}

.location-filter__chip {
  display: inline-flex;
  align-items: center;
  background-color: var(--concrete);
  border: 1px solid var(--sand);
}

.location-filter__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 12px;
  background: none;
  border: none;
  color: var(--slate);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--montserrat);
  cursor: pointer;
  line-height: 24px;

  &.is-open .location-filter__arrow {
    transform: rotate(180deg);
  }
}

.location-filter__arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.location-filter__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  border-left: 1px solid var(--sand);
  padding: 0;
  cursor: pointer;
  color: var(--slate);
  font-size: 14px;
  transition: background-color 0.2s ease;

  &:hover {
    background-color: var(--sand);
  }
}

.location-filter__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  background-color: #ffffff;
  border: 1px solid var(--concrete);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;

  &.is-open {
    display: block;
  }

  &::-webkit-scrollbar {
    width: 4px;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background-color: var(--sand);
    border-radius: 2px;
  }

  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}

.location-filter__group {
  &:not(:last-child) {
    border-bottom: 1px solid var(--concrete);
    padding-bottom: 6px;
    margin-bottom: 6px;
  }
}

.location-filter__group-title {
  padding: 6px 14px 2px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate);
  margin-bottom: 0;
}

.location-filter__options {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-filter__option {
  display: block;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: background-color 0.15s ease;

  &:hover {
    background-color: var(--light-grey);
    color: var(--dark);
  }

  &.is-selected {
    background-color: var(--cream);
    color: var(--granite);
    font-weight: 700;
  }
}

/* toolbar */
.members-toolbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--concrete);
}

.members-count {
  font-size: 14px;
  color: var(--txt-color);
  font-weight: 500;
  margin-bottom: 0;
}

/* view toggle */
.view-toggle {
  display: flex;
  flex-direction: row;
  border: 1px solid var(--concrete);
  gap: 0;
}

.view-toggle .nav-link {
  background: var(--concrete);
  border: none;
  border-radius: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 16px;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease;

  &:hover:not(.active) {
    background-color: var(--sand);
    color: var(--slate);
  }

  &.active {
    background-color: var(--slate);
    color: #ffffff;
  }
}

/* list view layout */
.members-list-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--concrete);

  &:last-child {
    border-bottom: none;
  }
}

.members-list-location__title {
  font-family: var(--montserrat);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--granite);
  margin-bottom: 2px;
}

.location-count {
  font-size: 16px;
  color: var(--txt-color);
  font-weight: 500;
  margin-bottom: 0;
  line-height: 24px;
}

/* accordion — gapped, each item is its own bordered box */
.members-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.members-accordion__item {
  border: 1px solid var(--concrete);
}

.members-accordion__header {
  margin: 0;
}

.members-accordion__trigger {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--montserrat);
  color: var(--granite);
  text-transform: uppercase;
  cursor: pointer;
  gap: 12px;
  transition: background-color 0.15s ease;

  &.collapsed:hover {
    background-color: var(--cream);
  }

  &:not(.collapsed) {
    .members-accordion__chevron {
      transform: rotate(180deg);
    }
  }
}

.members-accordion__chevron {
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.members-firm-details {
  padding: 20px 16px;
  /* background-color: var(--light-grey); */
  background-color: rgba(239, 219, 178, 0.10);
  ;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-top: 1px solid var(--concrete);
}

.firm-detail-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.firm-detail-label {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--txt-color);
  margin-bottom: 0;
}

.firm-detail-value {
  p {
    font-size: 16px;
    font-weight: 500;
    color: var(--granite);
    margin-bottom: 0;
    line-height: 24px;
  }

  a {
    color: var(--slate);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline 2px solid transparent;
    transition: text-decoration-color 0.2s ease;

    &:hover {
      text-decoration-color: var(--slate);
    }
  }
}

/* grid view */
.members-grid-section {
  padding-top: 28px;
  margin-bottom: 28px;

  h2 {
    font-family: var(--montserrat);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: var(--granite);
    margin-bottom: 20px;
  }
}

.member-card {
  border: 1px solid var(--concrete);
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.member-card__header {
  padding: 0 24px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--concrete);
  height: 73px;
  align-content: center;
}

.member-card__name {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--granite);
  line-height: 24px;
  margin-bottom: 0;
}

.member-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  background-color: rgba(239, 219, 178, 0.10);
}

.member-card__person-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.member-card__label {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--txt-color);
  margin-bottom: 0;
}

.member-card__person {
  font-size: 16px;
  font-weight: 500;
  color: var(--granite);
  line-height: 24px;
  margin-bottom: 0;
}

.member-card__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    i {
      font-size: 16px;
      color: var(--slate);
      flex-shrink: 0;
      margin-top: 3px;
    }

    a {
      font-size: 16px;
      color: var(--slate);
      font-weight: 500;
      text-decoration: underline 2px solid transparent;
      transition: text-decoration-color 0.2s ease;
      word-break: break-all;

      &:hover {
        text-decoration-color: var(--slate);
      }
    }
  }
}

/* ------------------- */
/* Resource card       */
/* ------------------- */
.resource-card {
  border: 1px solid var(--concrete);
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card__header {
  padding: 24px;
  background-color: var(--cream);
  border-bottom: 1px solid var(--concrete);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resource-card__header i {
  font-size: 32px;
  color: var(--stone);
}

.resource-card__title {
  color: var(--granite);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 0;
}

.resource-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 24px;
}

.resource-card__desc {
  color: var(--txt-color);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

/* ------------ */
/* Awards page  */
/* ------------ */
.section-eyebrow {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--txt-color);
  margin-bottom: 12px;
}

.award-info-box {
  background-color: rgba(217, 217, 217, 0.2);
  border: 1px solid #e5e5e5;
  padding: 24px;
}

.award-info-box__title {
  font-family: var(--century-gothic);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--dark);
  margin-bottom: 20px;
}

.award-info-cols {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.award-info-col {
  flex: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.award-info-col+.award-info-col {
  padding-top: 16px;
}

.award-info-col--last {
  border-bottom: none;
  padding-bottom: 0;
}

.award-info-col .award-label {
  margin-bottom: 8px;
}

.award-info-col div p {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--granite);
  margin-bottom: 0;
}

.award-label {
  font-family: var(--century-gothic);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  color: var(--txt-color);
  text-transform: uppercase;
  margin-bottom: 0;
}

.award-label--light {
  color: var(--concrete);
}

.winners-box {
  background-color: var(--granite);
  border: 1px solid #e5e5e5;
}

.winners-box__body {
  padding: 24px;
}

.winners-box__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.winners-box__excellence {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.winners-box__year {
  font-family: var(--century-gothic);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.64px;
  color: var(--pine);
  margin-bottom: 0;
}

.winners-box__firms {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.winners-box__firms p {
  font-family: var(--montserrat);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--concrete);
  margin-bottom: 0;
}

.winners-box__proj-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.winners-box__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--concrete);
  color: var(--concrete);
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding-bottom: 2px;
  width: fit-content;
}

.winners-box__link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.winners-box__merit-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.winners-box__merit-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.winners-box__merit-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--concrete);
  font-family: var(--montserrat);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  transition: color 0.2s ease, text-decoration 0.2s ease;

  & [class*="fa-"] {
    font-size: 16px;
  }
}

.winners-box__merit-item:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.winners-box__merit-divider {
  height: 1px;
  background-color: rgba(217, 217, 217, 0.4);
}

.winners-box__footer {
  border-top: 1px solid rgba(217, 217, 217, 0.25);
  display: flex;
  justify-content: center;
  padding: 16px 24px;
}

.winners-box__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--concrete);
  color: var(--concrete);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.winners-box__footer-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}
/* ----- winners-box revisions ----- */
.winners-box__excellence { gap: 16px; }
.winners-box__proj-links { gap: 12px; }
.winners-box__link {
  gap: 10px;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.winners-box__link span {
  text-transform: uppercase;
  text-decoration: underline 2px solid transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.winners-box__link:hover span,
.winners-box__link:focus-visible span { text-decoration-color: #ffffff; }
.winners-box__merit-col {
  border-top: 1px solid rgba(217, 217, 217, 0.25);
  padding-top: 24px;
}
.winners-box__merit-item span { 
  text-transform: uppercase;
  text-decoration: underline 2px solid transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.winners-box__merit-item:hover span,
.winners-box__merit-item:focus-visible span { text-decoration-color: #ffffff; }
.winners-box__merit-divider { display: none; }

.award-grid {
  display: grid;
  gap: 2px;
  background-color: #d6d3cd;
}

.award-grid--3col {
  grid-template-columns: 1fr;
}

.award-grid--2col {
  grid-template-columns: 1fr;
}

.award-grid__empty {
  /* background-color: #d6d3cd; */
  background-color: #ffffff;
}

.award-year-card {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.award-year-card__header {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.award-year-card__year {
  font-family: var(--century-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--dark);
  margin-bottom: 0;
}

.award-year-card__title {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--granite);
  margin-bottom: 0;
}

.award-year-card__orgs {
  font-family: var(--century-gothic);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.28px;
  color: var(--txt-color);
  margin-bottom: 0;
}

.award-year-card__body {
  padding: 21px 24px 24px;
  border-top: 1px solid #d6d3cd;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.award-year-card__desc {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--txt-color);
  margin-bottom: 0;
}

.award-label-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.award-firm {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--granite);
  margin-bottom: 0;
}

.award-merit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.award-merit-list li {
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--txt-color);
  border-bottom: 1px solid var(--concrete);
  padding: 4px 0;
}

.award-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--slate);
  color: var(--slate);
  font-family: var(--montserrat);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  width: fit-content;
}

.award-link:hover {
  color: var(--dark);
  border-color: var(--dark);
}

.award-links-stack {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
}

/* ------------- */
/* Our team page */
/* ------------- */
.team-title {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--txt-color);

  h2 {
    margin-bottom: 0;
    color: var(--txt-color);
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
  }
}

.team-card {
  width: 100%;
  /* max-width: 365px; */
  aspect-ratio: 4 / 5;
  position: relative;
  margin-left: auto;
  margin-right: auto;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
  }

  .card-content {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    padding: 20px 20px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background-color: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;

    h3 {
      color: #ffffff;
      font-size: 20px;
      font-style: normal;
      font-weight: 500;
      line-height: 30px;
      /* font-family: var(--montserrat); */
      margin-bottom: 0;
    }

    .team-card__role {
      color: #ffffff;
      font-family: var(--montserrat);
      font-size: 16px;
      font-style: normal;
      font-weight: 500;
      line-height: 24px;
      margin-bottom: 0;
      display: block;
    }

    a {
      color: #ffffff;
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      text-decoration: underline 2px solid transparent;
      transition: text-decoration-color 0.2s ease;

      &:hover {
        text-decoration-color: #ffffff;
      }
    }
  }
}

/* ----- team cards revision (client feedback) ----- */
.team-card .card-content {
  position: relative;
  padding: 16px 0 0;
  background-color: unset;

  h3 {
    color: var(--granite);
  }

  .team-card__role {
    color: var(--slate);
  }

  a {
    color: var(--slate);

    &:hover {
      text-decoration-color: var(--slate);
    }
  }
}

/* ---------------------- */
/* AANB Directory page    */
/* ---------------------- */
.dir-controls {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  margin-bottom: 32px;
}

.dir-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dir-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--sand);
  border-radius: 0;
  padding: 10px 44px 10px 14px;
  background-color: #ffffff;
  color: var(--granite);
  font-family: var(--montserrat);
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  min-width: 200px;
}

.dir-select:focus {
  outline: 2px solid var(--slate);
  outline-offset: 2px;
}

.dir-select__arrow {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: var(--slate);
  font-size: 14px;
}

.dir-count {
  font-size: 14px;
  line-height: 20px;
  color: var(--txt-color);
  margin-bottom: 0;
}

.dir-listing {
  margin-bottom: 8px;
}

.dir-section {
  margin-bottom: 32px;
}

.dir-section.dir-section--hidden {
  display: none;
}

.dir-letter-head {
  margin-bottom: 2px;
}

.dir-letter {
  font-family: var(--century-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--granite);
  margin-bottom: 8px;
  margin-top: 0;
}

hr.dir-letter-rule {
  border-top: 1px solid var(--concrete);
  opacity: 1;
  margin: 0 0 4px 0;
}

.dir-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.dir-row.dir-row--hidden {
  display: none;
}

.dir-row__name {
  font-size: 16px;
  line-height: 24px;
  color: var(--granite);
}

.dir-type {
  font-family: var(--montserrat);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  color: var(--txt-color);
}


.dir-cols-header {
  display: none;
}

.dir-col-label {
  font-family: var(--century-gothic);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  color: var(--txt-color);
}

.dir-pagination {
  margin-top: 40px;
}

.dir-pagination .pagination {
  gap: 6px;
}

.dir-pagination .page-item:not(:first-child) .page-link {
  margin-left: 0;
}

.dir-pagination .page-item:first-child .page-link,
.dir-pagination .page-item:last-child .page-link {
  border-radius: 0;
}

.dir-pagination .page-link {
  border-radius: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--slate);
  border-color: var(--concrete);
}

.dir-pagination .page-item.active .page-link {
  background-color: var(--slate);
  border-color: var(--slate);
  color: #ffffff;
}

.dir-pagination .page-link:hover {
  background-color: var(--cream);
  color: var(--slate);
  border-color: var(--sand);
}

.dir-pagination .page-item.disabled .page-link {
  color: var(--sand);
  border-color: var(--concrete);
  background-color: transparent;
}

.dir-pagination .page-item .page-link.all {
  width: auto;
  padding-inline: 1rem;
}

.dir-alpha-bar {
  margin-bottom: 24px;
}

.dir-alpha-bar .pagination {
  flex-wrap: wrap;
}

.dir-no-results {
  display: none;
  text-align: center;
  padding: 48px 16px;
}

.dir-no-results__text {
  font-family: var(--montserrat);
  font-size: 16px;
  line-height: 24px;
  color: var(--txt-color);
  margin-bottom: 16px;
}

/* ----------------------------- */
/* Celebrating Architecture page */
/* ----------------------------- */
.cel-feature {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cel-feature__body {
  width: 100%;
  max-width: 768px;
}

.cel-feature__title {
  color: var(--granite);
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  margin: 0 0 20px;
}

.cel-feature__text {
  color: var(--txt-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin: 0 0 24px;
}

.cel-feature__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* video box */
.cel-video {
  position: relative;
  width: 100%;
  max-width: 576px;
  aspect-ratio: 16 / 9;
  margin-left: auto;
  margin-right: auto;
  background-color: #262523;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 32px 64px -12px rgba(0, 0, 0, 0.14), 0px 5px 5px -2.5px rgba(0, 0, 0, 0.04);
}

.cel-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background-color: #262523;
}

.cel-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cel-video--wide {
  max-width: 991px;
}

.cel-video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cel-video--static {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cel-video--static img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cel-video__poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.cel-video--playing .cel-video__poster {
  display: none;
}

.cel-video__title {
  color: var(--cream);
  font-family: var(--century-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  margin: 0;
}

.cel-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s ease;
}

.cel-video__poster:is(:hover, :focus-visible) .cel-video__play {
  background-color: rgba(255, 255, 255, 0.45);
}

/* project cards */
.cel-projects {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 48px;
  column-gap: 32px;
}

.cel-project {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  color: var(--granite);
  transition: background-color 0.2s ease;
}

.cel-project:is(:hover, :active, :focus-visible) {
  background-color: rgba(203, 196, 188, 0.25);
}

.cel-project__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.cel-project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.cel-project:hover .cel-project__img img {
  opacity: 0.9;
}

.cel-project__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px 16px;
}

.cel-project__title {
  font-family: var(--century-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--granite);
  margin: 0;
}

.cel-project__meta {
  font-size: 14px;
  line-height: 20px;
  color: var(--txt-color);
  margin: 0;
}

/* ----------------------------------- */
/* Celebrating Architecture — details  */
/* ----------------------------------- */
.aanb-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--txt-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  transition: color 0.2s ease;
}

.aanb-back i {
  font-size: 20px;
}

.aanb-back:is(:hover, :focus-visible) {
  color: var(--dark);
}

.cel-detail {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* meta card */
.cel-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.cel-meta__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cel-meta__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cel-meta__label {
  font-family: var(--century-gothic);
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--dark);
  margin: 0;
}

.cel-meta__value {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--granite);
  margin: 0;
}

.cel-meta__links {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.cel-meta__links .btn.aanb-btn {
  display: flex;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* primary image + caption */
.cel-figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cel-figure__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--txt-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.cel-figure__caption i {
  font-size: 24px;
}

/* clickable image button */
.cel-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.cel-shot--primary {
  aspect-ratio: 16 / 9;
}

.cel-shot--thumb {
  aspect-ratio: 3 / 2;
}

.cel-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.cel-shot:is(:hover, :focus-visible) img {
  opacity: 0.85;
}

/* gallery grid */
.cel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 32px;
}

/* lightbox */
.cel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(24, 29, 39, 0.92);
}

.cel-lightbox[hidden] {
  display: none;
}

.cel-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cel-lightbox__close,
.cel-lightbox__nav {
  position: absolute;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  background-color: var(--slate);
  border: 1px solid var(--concrete);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cel-lightbox__close:is(:hover, :focus-visible),
.cel-lightbox__nav:is(:hover, :focus-visible) {
  background-color: var(--concrete);
  border-color: var(--slate);
  color: var(--slate);
}

.cel-lightbox__close {
  top: 24px;
  right: 24px;
}

.cel-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.cel-lightbox__nav--prev {
  left: 24px;
}

.cel-lightbox__nav--next {
  right: 24px;
}

.cel-lightbox__count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

/* ------------------- */
/* Award details page  */
/* ------------------- */
/* large hero image — forced landscape so portrait sources never blow up the layout */
.award-hero {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.award-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.award-gallery__title {
  font-family: var(--montserrat);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: var(--txt-color);
  margin: 0;
}

/* ------------------------ */
/* Become an Architect page */
/* ------------------------ */
/* path to licensure — numbered steps */
.ba-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}

.ba-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.ba-step__badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  border: 1px solid var(--slate);
  color: var(--granite);
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

.ba-step__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ba-step__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--granite);
  margin: 0;
}

.ba-step__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--txt-color);
  margin: 0;
}

.ba-step__extras {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--slate);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  /* background-color: #FFF; */
}
.ba-step__extras::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 16px;
  background-color: var(--slate);
}
.ba-step__extras li {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--granite);
}
.ba-step__extras li span {
  font-size: 14px;
  font-weight: 400;
  color: var(--txt-color);
}

/* detailed steps — label + content rows */
.ba-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ba-row {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.ba-row:first-child {
  padding-top: 0;
  border-top: 0;
}

/* opt the first row back into a top divider (e.g. working-with-architect) */
.ba-rows--bordered .ba-row:first-child {
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.ba-row__label {
  border-bottom: 1px solid var(--stone);
  padding-bottom: 16px;
}

.ba-row__num {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--txt-color);
  margin: 0;
}

.ba-row__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: var(--granite);
  margin: 0;
}

.ba-row__content {
  padding-top: 24px;
}

.ba-row__lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--txt-color);
  margin: 0;
}

/* rich text body for the step rows (text-heavy pages) */
.ba-prose p,
.ba-prose li {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--txt-color);
}

.ba-prose p {
  margin: 0 0 16px;
}

.ba-prose h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: var(--granite);
  margin: 0 0 18px;
}

.ba-prose ul {
  margin: 0 0 16px;
  padding-left: 27px;
  list-style: disc;
}

.ba-prose li {
  margin-bottom: 0;
}

.ba-prose>*:last-child {
  margin-bottom: 0;
}

.ba-prose a {
  color: var(--txt-color);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.ba-prose a:hover {
  color: var(--dark);
}

.ba-prose__subhead {
  font-weight: 700;
}

.ba-row__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}

/* check items (step 03) */
.ba-check-list {
  list-style: none;
  margin: 20px 0 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ba-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ba-check__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--slate);
  color: #ffffff;
  font-size: 16px;
}

.ba-check__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--txt-color);
  margin: 0;
}

.ba-row__content .btn.aanb-btn {
  margin-top: 20px;
}

/* license info (step 04) */
.ba-row__content .award-info-box {
  margin-top: 20px;
}

.ba-license__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--granite);
  margin: 0 0 8px;
}

.ba-license__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--granite);
  margin: 0 0 8px;
}

.ba-license__meta {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.28px;
  color: var(--granite);
  margin: 0;
}

/* forms and documents cards */
.ba-docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 32px;
}

.ba-doc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 152px;
  padding: 24px;
  background-color: rgba(217, 217, 217, 0.2);
  border: 1px solid #e5e5e5;
  color: var(--slate);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.ba-doc-card:is(:hover, :focus-visible) {
  border-color: var(--slate);
}

.ba-doc-card__title {
  font-family: var(--montserrat);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--slate);
  margin: 0;
}

.ba-doc-card__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  color: var(--slate);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-bottom: 1px solid var(--slate);
  padding-bottom: 2px;
}

.ba-doc-card__cta i {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.ba-doc-card:is(:hover, :focus-visible) .ba-doc-card__cta i {
  transform: translateX(4px);
}

/* group the label+title (or title+meta) so the cta sits at the bottom */
.ba-doc-card__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-doc-card__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--txt-color);
}

/* Simplified link card -- no CTA, just title + arrow icon */
.ba-doc-card.ba-doc-card--link {
  min-height: auto;
  flex-direction: row;
  align-items: baseline;
}

.ba-doc-card.ba-doc-card--link .ba-doc-card__title {
  display: inline;
  text-wrap-style: balance;
}

.ba-doc-card--link > i {
  font-size: 18px;
}

.ba-doc-card--link:is(:hover, :focus-visible) .ba-doc-card__title {
  text-decoration: underline;
}

/* ---------------------- */
/* Application Forms page */
/* ---------------------- */
.af-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.af-docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}

/* professional development — stacked category groups */
.pd-groups {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* careers — job cards (reuse .ba-doc-card shell + .ba-doc-card__top + these meta rows) */
.careers-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.careers-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--granite);
}

.careers-card__meta i {
  flex-shrink: 0;
  width: 24px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: var(--slate);
}

/* career details page */
.cd-detail {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cd-firm {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cd-firm__name {
  font-family: var(--montserrat);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--granite);
  margin: 0;
}

.cd-firm__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cd-firm__details li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--granite);
}

.cd-firm__details i {
  flex-shrink: 0;
  width: 24px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: var(--slate);
}

.cd-firm__details a {
  color: var(--granite);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cd-firm__details a:hover {
  color: var(--dark);
}

.cd-job {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* inside the flex column the gap already adds 24px, so keep the bar's total spacing at 48px */
.cd-job .share-bar {
  margin-top: 24px;
}

/* ----- share bar (reusable: news / event / career details) ----- */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e9eaeb;
}

.share-bar__label {
  font-family: var(--century-gothic);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: var(--granite);
  margin: 0;
}

.share-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-bar__links .btn.aanb-btn {
  width: auto;
  padding: 10px 16px;
}

.share-bar__links .btn.aanb-btn i {
  font-size: 20px;
}

/* event details — short info (date / time) under the banner title */
.event-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 24px;
}

.event-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--txt-color);
}

.event-meta__item i {
  font-size: 18px;
  color: var(--slate);
}

/* ----- CTA banner (reusable) ----- */
.aanb-cta-banner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
  background-color: var(--slate);
}

.aanb-cta-banner__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 768px;
}

.aanb-cta-banner__title {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  margin: 0;
}

.aanb-cta-banner__desc {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin: 0;
}

.aanb-cta-banner__eyebrow {
  color: var(--pine);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
}

.footer-col-paragraph{
    font-size: 16px;
    line-height: 24px;
    color: var(--concrete);
}
.footer-menu .clear-hover-background{
    &:hover{
        background-color: unset;
        color: var(--concrete);
        text-decoration: underline;
    }
}
/* ----- footer spacing revisions ----- */
footer .mw-480 {
    max-width: 320px;
}
.footer-col-title {
    margin-bottom: 12px;
}
.footer-menu {
    row-gap: 4px;
}
.footer-menu a {
    padding: 0;
    text-decoration: underline 2px solid transparent;
    transition: text-decoration-color 0.2s ease;
}
.footer-menu a:is(:hover, :focus-visible) {
    background-color: transparent;
    color: var(--concrete);
    text-decoration-color: var(--sand);
}

/* Dev additions */
.team-card img.no-image {
  object-fit: contain;
  background-color: var(--slate);
  padding: 2rem;
}

.news-item img.no-image {
  object-fit: contain;
  background-color: var(--slate);
  padding: 2rem;
  padding-bottom: calc(2rem + var(--content-height, 0px));
}

.news-item img.fit-image,
.rich-text-img img.fit-image {
  object-fit: contain;
  background-color: var(--concrete);
}


.publication-container .table-of-content .toc-scroll-body > a:first-child {
  margin-bottom: 1rem;
}

.contact-box div a {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
}

.award-year-card a.award-firm i,
.award-year-card .award-merit-list a i {
  font-size: inherit;
  color: inherit;
  margin-left: 0.25rem;
}

.award-year-card a.award-firm:hover,
.award-year-card a.award-firm:focus-visible,
.award-year-card .award-merit-list a:hover,
.award-year-card .award-merit-list a:focus-visible {
  text-decoration: underline;
}

.award-year-card .award-merit-list a {
  color: inherit;
}

.winners-box__footer {
  background-color: var(--slate);
  gap: 1rem;
  flex-wrap: wrap;
}

.rich-text-section img {
  max-width: 100%;
}
.rich-text-section img.rt-zoomable {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.rich-text-section img.rt-zoomable:hover {
  opacity: 0.85;
}

.cel-video.cel-video--static.cel-bg-gradient .cel-video__title {
  z-index: 1;
}
.cel-video.cel-video--static.cel-bg-gradient::after {
  position: absolute;
  content: "";
  inset: 0;
  background: #262523;
  background: linear-gradient(0deg,rgba(38, 37, 35, 0.75) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
  touch-action: none;
}

.nav.nav-pills.documents {
  background: transparent;
  border-color: transparent;
  padding-inline: 0;
}
.tab-toggler .nav-pills.documents .btn {
  font-weight: 600;
}
.tab-toggler .nav-pills.documents .btn:not(.active) {
  border-color: var(--slate);
  background: var(--concrete);
}
.tab-toggler .nav-pills.documents .btn:hover:not(.active) {
  background: var(--slate);
  border-color: var(--concrete);
  color: #FFF;
}
/* .publication-nav-link:not(:hover):not(:focus-visible) {
  background: var(--cream) !important;
} */
/* 
.publication-nav-link:hover,
.publication-nav-link:focus-visible {
  border-color: var(--slate) !important;
  color: var(--slate) !important;
  background: var(--cream) !important;
} */

.doc-part img {
  max-width: 100%;
}

/* --------------------- */
/* membership fees page  */
/* --------------------- */
.fees-table .fees-table__note {
  margin-top: 8px;
  font-weight: 400;
  color: var(--txt-color);
}
.fees-table .fees-table__note p,
.fees-table .fees-table__note ul {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 24px;
}
.fees-table .fees-table__note ul {
  margin-bottom: 0;
  padding-left: 20px;
}
.fees-table__admin-row td {
  font-style: italic;
  color: var(--txt-color);
}
.aanb-table--emphasize-first .fees-table__admin-row td:first-child {
  font-weight: 400;
}
/* no zebra striping on the fee schedule -- the grey band belongs to totals only */
.fees-table tr:nth-child(even) {
  background-color: transparent;
}
.fees-table tr.fees-table__total-row {
  background-color: var(--light-grey);
}
.fees-table__total-row td {
  font-weight: 700;
}
/* mobile: money cells read as one-line label-value pairs (receipt style);
   the category name stands alone as the card title. Desktop table returns at 768. */
.fees-table td:first-child::before {
  display: none;
}
.fees-table td:not(:first-child) {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 16px;
}
.fees-table td:not(:first-child)::before {
  display: inline;
  margin-bottom: 0;
  order: -2;
}
/* dotted leader from label to amount */
.fees-table tr:not(.fees-table__total-row) td:not(:first-child)::after {
  content: '';
  order: -1;
  flex: 1;
  border-bottom: 2px dotted var(--concrete);
}
/* space between fee categories on mobile (inert once the desktop table returns) */
.fees-table tbody {
  margin-bottom: 16px;
}

.nav-link:focus-visible {
  box-shadow: 0 0 0 .25rem var(--pine);
  box-shadow: 0 0 0 .25rem rgb(from var(--pine) r g b / 0.5);
}
/* Phablet */
@media screen and (min-width: 425px) {

  /* large image container */
  .large-img-container {
    height: 320px;
  }

  /* small image container */
  .small-img-container {
    height: 320px;
  }

  /* rich text image */
  .rich-text-img,
  .event-img-container {
    height: 280px;
  }
}

@media screen and (min-width: 576px) {

  /* small image container */
  .small-img-container {
    height: 400px;
  }

  /* rich text image */
  .rich-text-img,
  .event-img-container {
    height: 340px;
  }
}

/* Tablet */
@media screen and (min-width: 768px) {

  /* setup */
  .row-gap-64 {
    row-gap: 96px;
  }

  .section-p {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .single-p {
    padding-bottom: 96px;
  }

  .section-title h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .section-title p,
  .section-title ul,
  .section-content p,
  .section-content ul,
  .rich-text-section p {
    font-size: 18px;
    line-height: 28px;
  }

  .txt-cta p {
    font-size: 32px;
    line-height: 44px;
  }

  .large-img-container {
    height: 400px;
  }

  /* homepage */
  .home-banner {
    height: 688px;
  }

  /* subpage banner */
  .subpage-banner {
    padding-top: 176px;
    padding-bottom: 96px;
  }

  .subpage-banner h1 {
    font-size: 48px;
    line-height: 60px;
  }

  .subpage-banner p {
    font-size: 20px;
    line-height: 30px;
    color: var(--txt-color);
  }

  /* contact page */
  .aanb-map iframe {
    height: 320px;
  }

  .key-contact {
    flex-direction: row;
  }

  /* news page */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-item.featured {
    grid-column: span 2;
  }

  /* rich text image */
  .rich-text-img {
    height: 420px;
  }

  .event-img-container {
    height: 480px;
  }

  /* our mandate page */
  .highlighted-paragraph p {
    font-size: 24px;
    line-height: 32px;
  }

  /* flexible AANB data table — desktop */
  .aanb-table {
    display: table;
  }

  .aanb-table thead {
    display: table-header-group;
    background-color: var(--sand);
  }

  .aanb-table tbody {
    display: table-row-group;
  }

  .aanb-table tr {
    display: table-row;
    padding: 0;
    border: none;
    margin: 0;
  }

  .aanb-table th,
  .aanb-table td {
    display: table-cell;
    padding: 12px;
    border: 1px solid #ddd;
    vertical-align: top;
    color: var(--granite);
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }

  .aanb-table th {
    font-weight: 700;
    border-right: 1px solid #ffffff;
  }

  .aanb-table th:last-child {
    border-right: 1px solid #ddd;
  }

  /* hide mobile-only cell labels on desktop */
  .aanb-table td::before {
    content: none;
  }

  /* modifier */
  .aanb-table--emphasize-first th:first-child,
  .aanb-table--emphasize-first td:first-child {
    font-weight: 700;
    text-align: left;
  }

  /* modifier */
  .aanb-table--center-others th:not(:first-child),
  .aanb-table--center-others td:not(:first-child) {
    text-align: center;
  }

  /* modifier */
  .aanb-table--center-all th,
  .aanb-table--center-all td {
    text-align: center;
  }

  /* pathways table stays in card layout until 992px */
  .pathways-table { display: block; }
  .pathways-table thead { display: none; }
  .pathways-table tbody { display: block; }
  .pathways-table tr { display: block; padding: 12px 16px; border: 1px solid #ddd; }
  .pathways-table td { display: block; padding: 4px 0; border: none; text-align: left; vertical-align: baseline; }
  .pathways-table td::before { content: attr(data-label) ': '; display: block; font-weight: 700; font-size: 14px; color: var(--granite); margin-bottom: 2px; }
  .pathways-table td.pathway-question::before { content: attr(data-label); }

  /* membership fees -- money cells return to normal table cells on desktop */
  .fees-table td:not(:first-child) {
    display: table-cell;
  }
  .fees-table td::after {
    content: none;
  }

  /* act and by-laws */
  .tab-toggler.large-tab-toggler ul {
    flex-direction: row;

    .btn {
      width: auto;
    }
  }

  /* firm details — multi column on desktop */
  .members-firm-details {
    grid-template-columns: repeat(3, 1fr);
  }

  /* awards page */
  .award-info-cols {
    flex-direction: row;
  }

  .award-info-col {
    padding-right: 20px;
    padding-bottom: 0;
    border-right: 1px solid #e5e5e5;
    border-bottom: none;
  }

  .award-info-col+.award-info-col {
    padding-left: 20px;
    padding-top: 0;
  }

  .award-info-col--last {
    border-right: none;
  }

  .winners-box__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .winners-box__year {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -0.96px;
  }

  .winners-box__firms p {
    font-size: 24px;
    line-height: 32px;
  }

  .winners-box__merit-item {
    font-size: 24px;
    line-height: 32px;
  }

  .award-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  /* directory page */
  .dir-controls {
    flex-direction: row;
    align-items: center;
  }

  .dir-cols-header {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 2px solid var(--concrete);
    margin-bottom: 32px;
  }

  .dir-row {
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: center;
    gap: 16px;
  }

  /* celebrating architecture page */
  .cel-feature__title {
    font-size: 36px;
    line-height: 44px;
  }

  .cel-video__title {
    font-size: 36px;
    line-height: 44px;
  }

  .cel-feature__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* become an architect page — steps go 2x2, still no connecting line */
  .ba-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* application forms page */
  .af-docs {
    grid-template-columns: repeat(2, 1fr);
  }

  .aanb-cta-banner {
    padding: 64px;
  }

  .aanb-cta-banner__title {
    font-size: 36px;
    line-height: 44px;
  }

  .aanb-cta-banner__desc {
    font-size: 20px;
    line-height: 30px;
  }

  /* project details — meta card goes back to a row */
  .cel-meta {
    flex-direction: row;
    align-items: center;
  }

  .cel-meta__items {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
    column-gap: 32px;
  }
}


/* Laptop */
@media screen and (max-width:991px) {
  .second-level-dropdown ul:nth-child(2) {
    margin-top: 0;
  }
}

@media screen and (min-width: 992px) {
  .mw-lg-576 {
    max-width: 576px;
  }

  .mw-lg-768 {
    max-width: 768px;
  }


  /* awards — winners-box stacked layout */
  .winners-box__grid { grid-template-columns: 1fr; gap: 32px; }
  .winners-box__link { font-size: 24px; line-height: 32px; }

  /* large image container */
  .large-img-container {
    height: 654px;
  }

  .btn.lang-btn {
    width: 44px;
  }

  .dropdown-menu .nav-menu-title {
    display: block;
  }

  /* contact page */
  .aanb-map iframe {
    height: 400px;
  }

  /* news page */
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* act and by-laws */
  .publication-container {
    .table-of-content {
      display: block;
    }
  }

  /* awards page */
  .award-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }

  /* celebrating architecture page */
  .cel-feature {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .cel-feature__media,
  .cel-feature__body {
    flex: 1;
    min-width: 0;
  }

  .cel-projects {
    grid-template-columns: repeat(2, 1fr);
  }

  /* become an architect page — steps go in a row with a connecting line */
  .ba-steps {
    position: relative;
    grid-template-columns: repeat(4, 1fr);
  }

  .ba-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background-color: rgba(75, 79, 84, 0.4);
    z-index: 0;
  }

  .ba-row {
    flex-direction: row;
    align-items: flex-start;
    column-gap: 64px;
  }

  .ba-row__label {
    width: 320px;
    flex-shrink: 0;
  }

  .ba-row__content {
    flex: 1;
    min-width: 0;
  }

  /* application forms page */
  .af-intro {
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
  }

  .aanb-cta-banner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .aanb-cta-banner__text {
    flex: 1 1 480px;
  }

  /* career details — firm contact details go 2-up */
  .cd-firm__details {
    grid-template-columns: 1fr 1fr;
  }

  /* nav menu - registration grid */
  .second-level-dropdown ul {
    grid-template-columns: repeat(2, 1fr);
  }

  /* pathways table goes desktop at 992px */
  .pathways-table { display: table; }
  .pathways-table thead { display: table-header-group; background-color: var(--sand); }
  .pathways-table tbody { display: table-row-group; }
  .pathways-table tr,
  .pathways-table tbody tr + tr { display: table-row; padding: 0; border: none; margin: 0; }
  .pathways-table th,
  .pathways-table td { display: table-cell; padding: 12px; border: 1px solid #ddd; text-align: center; vertical-align: middle; color: var(--granite); font-size: 16px; line-height: 24px; }
  .pathways-table th { font-weight: 700; border-right: 1px solid #ffffff; }
  .pathways-table th:last-child { border-right: 1px solid #ddd; }
  .pathways-table td::before { content: none; }
}

/* Small screen */
@media screen and (min-width: 1200px) {
  .path-selection .path h2 {
    font-size: 24px;
    line-height: 32px;
  }

  /* awards — merit items go horizontal */
  .winners-box__merit-list { flex-direction: row; align-items: center; gap: 32px; }
  .winners-box__merit-item { flex: 1; }
  .winners-box__merit-divider { display: block; width: 1px; height: auto; align-self: stretch; }

  /* application forms page — cards go 3-up */
  .af-docs {
    grid-template-columns: repeat(3, 1fr);
  }
  .af-docs.four {
    grid-template-columns: repeat(4, 1fr);
  }
}
