/* Generated Lamerd Theme CSS profile: home. Do not edit dist files directly. */

/* ===== source: design-system.css ===== */
:root {
  --lmr-navy-950: #001d3e;
  --lmr-navy-800: #003a71;
  --lmr-blue-600: #075b9a;
  --lmr-gold-500: #d5b45c;
  --lmr-sky-100: #eaf2f8;
  --lmr-warm-50: #f8f7f3;
  --lmr-white: #fff;
  --lmr-ink-900: #17212b;
  --lmr-slate-600: #5f6b76;
  --lmr-line-200: #dde4ea;
  --lmr-success-600: #1f7a4c;
  --lmr-warning-600: #a86614;
  --lmr-danger-600: #b42318;

  --lmr-font-sans: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
  --lmr-font-serif: Georgia, "Times New Roman", serif;

  --lmr-space-1: 4px;
  --lmr-space-2: 8px;
  --lmr-space-3: 12px;
  --lmr-space-4: 16px;
  --lmr-space-5: 24px;
  --lmr-space-6: 32px;
  --lmr-space-7: 48px;
  --lmr-space-8: 64px;
  --lmr-space-9: 96px;

  --lmr-radius-sm: 6px;
  --lmr-radius-md: 10px;
  --lmr-radius-lg: 16px;
  --lmr-radius-xl: 24px;
  --lmr-radius-pill: 999px;

  --lmr-shadow-soft: 0 12px 34px rgba(0, 29, 62, 0.1);
  --lmr-shadow-raised: 0 18px 48px rgba(0, 29, 62, 0.16);

  --lmr-shell: 1180px;
  --lmr-content: 760px;
  --lmr-transition: 160ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--lmr-ink-900);
  background: var(--lmr-white);
  font-family: var(--lmr-font-sans);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: var(--lmr-navy-800);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--lmr-blue-600);
}

:focus-visible {
  outline: 3px solid rgba(213, 180, 92, 0.9);
  outline-offset: 3px;
}

.lamerd-shell {
  width: min(100% - clamp(32px, 6vw, 64px), var(--lmr-shell));
  margin-inline: auto;
}

.lamerd-main {
  min-height: 48vh;
}

.lamerd-content-shell {
  width: min(100% - clamp(32px, 6vw, 64px), var(--lmr-shell));
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 88px);
}

.lamerd-skip-link {
  position: fixed;
  z-index: 100000;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 14px;
  color: var(--lmr-white);
  background: var(--lmr-navy-950);
  border-radius: var(--lmr-radius-md);
  transform: translateY(-180%);
}

.lamerd-skip-link:focus {
  transform: translateY(0);
}

/* Header */
.lamerd-site-header {
  position: relative;
  z-index: 50;
  background: var(--lmr-white);
  border-block-end: 1px solid var(--lmr-line-200);
}

.lamerd-service-bar {
  color: rgba(255, 255, 255, 0.82);
  background: var(--lmr-navy-950);
  font-size: 0.84rem;
}

.lamerd-service-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lmr-space-4);
  min-height: 38px;
}

.lamerd-inline-menu,
.lamerd-language-links,
.lamerd-primary-menu,
.lamerd-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lamerd-inline-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lmr-space-4);
}

.lamerd-inline-menu a,
.lamerd-language-links a {
  color: inherit;
  text-decoration: none;
}

.lamerd-language-links {
  display: flex;
  gap: var(--lmr-space-2);
  direction: ltr;
}

.lamerd-language-links a {
  display: grid;
  place-items: center;
  min-width: 30px;
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--lmr-radius-pill);
}

.lamerd-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lmr-space-5);
  min-height: 104px;
  padding-block: var(--lmr-space-4);
}

.lamerd-brand {
  display: flex;
  align-items: center;
  gap: var(--lmr-space-4);
}

.lamerd-brand__logo img,
.lamerd-brand__logo .custom-logo {
  display: block;
  width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.lamerd-brand__title {
  margin: 0;
  color: var(--lmr-navy-950);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.35;
}

.lamerd-brand__title a {
  color: inherit;
  text-decoration: none;
}

.lamerd-brand__tagline {
  margin: 4px 0 0;
  color: var(--lmr-slate-600);
  font-size: 0.88rem;
}

.lamerd-service-button,
.lamerd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lmr-space-2);
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--lmr-radius-md);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color var(--lmr-transition),
    background var(--lmr-transition),
    border-color var(--lmr-transition),
    transform var(--lmr-transition);
}

.lamerd-service-button,
.lamerd-button--primary {
  color: var(--lmr-white);
  background: var(--lmr-navy-800);
}

.lamerd-service-button:hover,
.lamerd-service-button:focus-visible,
.lamerd-button--primary:hover,
.lamerd-button--primary:focus-visible {
  color: var(--lmr-white);
  background: var(--lmr-blue-600);
  transform: translateY(-1px);
}

.lamerd-button--gold {
  color: var(--lmr-navy-950);
  background: var(--lmr-gold-500);
}

.lamerd-button--gold:hover,
.lamerd-button--gold:focus-visible {
  color: var(--lmr-navy-950);
  background: #e4c975;
}

.lamerd-button--outline {
  color: var(--lmr-navy-800);
  background: transparent;
  border-color: currentColor;
}

.lamerd-button--outline:hover,
.lamerd-button--outline:focus-visible {
  color: var(--lmr-white);
  background: var(--lmr-navy-800);
}

.lamerd-button--quiet {
  color: var(--lmr-navy-800);
  background: var(--lmr-sky-100);
}

.lamerd-nav-wrap {
  border-block-start: 1px solid var(--lmr-line-200);
}

.lamerd-nav-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  align-items: center;
  gap: var(--lmr-space-5);
  min-height: 58px;
}

.lamerd-primary-menu {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.lamerd-primary-menu > li {
  position: relative;
}

.lamerd-primary-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-inline: 14px;
  color: var(--lmr-ink-900);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.lamerd-primary-menu a:hover,
.lamerd-primary-menu a:focus-visible,
.lamerd-primary-menu .current-menu-item > a,
.lamerd-primary-menu .current-menu-ancestor > a {
  color: var(--lmr-navy-800);
  background: var(--lmr-sky-100);
}

.lamerd-primary-menu .sub-menu {
  position: absolute;
  z-index: 30;
  inset-block-start: calc(100% - 1px);
  inset-inline-start: 0;
  display: none;
  min-width: 230px;
  margin: 0;
  padding: var(--lmr-space-2);
  list-style: none;
  background: var(--lmr-white);
  border: 1px solid var(--lmr-line-200);
  border-radius: 0 0 var(--lmr-radius-md) var(--lmr-radius-md);
  box-shadow: var(--lmr-shadow-soft);
}

.lamerd-primary-menu .sub-menu a {
  min-height: 40px;
  border-radius: var(--lmr-radius-sm);
}

.lamerd-primary-menu li:hover > .sub-menu,
.lamerd-primary-menu li:focus-within > .sub-menu {
  display: block;
}

.lamerd-nav-row .search-form {
  display: flex;
  align-items: center;
  gap: var(--lmr-space-2);
}

.lamerd-nav-row .search-field {
  width: 100%;
  min-height: 40px;
  padding-inline: 12px;
  color: var(--lmr-ink-900);
  background: var(--lmr-warm-50);
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-md);
}

.lamerd-nav-row .search-submit {
  min-height: 40px;
  padding-inline: 14px;
  color: var(--lmr-white);
  background: var(--lmr-navy-800);
  border: 0;
  border-radius: var(--lmr-radius-md);
  cursor: pointer;
}

.lamerd-menu-toggle {
  display: none;
  align-items: center;
  gap: var(--lmr-space-2);
  min-height: 44px;
  padding-inline: 12px;
  color: var(--lmr-navy-950);
  background: var(--lmr-white);
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-md);
}

.lamerd-menu-toggle__bars,
.lamerd-menu-toggle__bars::before,
.lamerd-menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.lamerd-menu-toggle__bars {
  position: relative;
}

.lamerd-menu-toggle__bars::before {
  position: absolute;
  inset-block-start: -6px;
}

.lamerd-menu-toggle__bars::after {
  position: absolute;
  inset-block-start: 6px;
}

/* Shared sections */
.lamerd-eyebrow {
  margin: 0 0 var(--lmr-space-3);
  color: var(--lmr-gold-500);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0;
}

.lamerd-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lmr-space-3);
  margin-top: var(--lmr-space-6);
}

.lamerd-section {
  padding-block: clamp(64px, 8vw, 104px);
}

.lamerd-section--soft {
  background: var(--lmr-warm-50);
}

.lamerd-section-heading {
  max-width: 720px;
  margin-block-end: clamp(28px, 5vw, 48px);
}

.lamerd-section-heading h2 {
  margin: 0;
  color: var(--lmr-navy-950);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.35;
}

.lamerd-section-heading p:last-child {
  margin: var(--lmr-space-3) 0 0;
  color: var(--lmr-slate-600);
}

.lamerd-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lmr-space-4);
}

.lamerd-card,
.wp-block-group.is-style-lamerd-surface {
  padding: clamp(22px, 3vw, 30px);
  background: var(--lmr-white);
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
  box-shadow: var(--lmr-shadow-soft);
}

.lamerd-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.lamerd-card h3 {
  margin: var(--lmr-space-4) 0 var(--lmr-space-3);
  color: var(--lmr-navy-950);
  font-size: 1.28rem;
}

.lamerd-card p {
  margin: 0;
  color: var(--lmr-slate-600);
}

.lamerd-card .lamerd-text-link {
  margin-block-start: auto;
  padding-block-start: var(--lmr-space-5);
}

.lamerd-chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 28px;
  padding-inline: 10px;
  color: var(--lmr-navy-800);
  background: var(--lmr-sky-100);
  border-radius: var(--lmr-radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
}

.lamerd-chip--gold {
  color: #684d06;
  background: #f7eecf;
}

.lamerd-chip--success {
  color: var(--lmr-success-600);
  background: #e9f6ee;
}

.lamerd-text-link {
  font-weight: 800;
  text-decoration: none;
}

.lamerd-text-link::after {
  margin-inline-start: 6px;
  content: "←";
}

.lamerd-notice {
  margin-top: var(--lmr-space-6);
  padding: var(--lmr-space-4) var(--lmr-space-5);
  border-inline-start: 4px solid var(--lmr-blue-600);
  border-radius: var(--lmr-radius-md);
}

.lamerd-notice--info {
  color: var(--lmr-navy-950);
  background: var(--lmr-sky-100);
}

/* Gutenberg styles */
.wp-block-group.is-style-lamerd-soft {
  padding: clamp(24px, 4vw, 48px);
  background: var(--lmr-warm-50);
  border-radius: var(--lmr-radius-lg);
}

.wp-block-group.is-style-lamerd-dark {
  padding: clamp(28px, 5vw, 56px);
  color: var(--lmr-white);
  background:
    linear-gradient(135deg, var(--lmr-navy-950), var(--lmr-navy-800));
  border-radius: var(--lmr-radius-xl);
}

.wp-block-group.is-style-lamerd-dark h1,
.wp-block-group.is-style-lamerd-dark h2,
.wp-block-group.is-style-lamerd-dark h3,
.wp-block-group.is-style-lamerd-dark h4,
.wp-block-group.is-style-lamerd-dark p,
.wp-block-group.is-style-lamerd-dark a {
  color: inherit;
}

.wp-block-button.is-style-lamerd-outline .wp-block-button__link {
  color: var(--lmr-navy-800);
  background: transparent;
  border: 1px solid currentColor;
}

.wp-block-group.is-style-lamerd-dark .wp-block-button.is-style-lamerd-outline .wp-block-button__link {
  color: var(--lmr-white);
}

.wp-block-button.is-style-lamerd-gold .wp-block-button__link {
  color: var(--lmr-navy-950);
  background: var(--lmr-gold-500);
}

.wp-block-heading.is-style-lamerd-section-title {
  position: relative;
  padding-block-end: 14px;
}

.wp-block-heading.is-style-lamerd-section-title::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 64px;
  height: 3px;
  background: var(--lmr-gold-500);
  border-radius: var(--lmr-radius-pill);
  content: "";
}

.wp-block-image.is-style-lamerd-rounded img {
  border-radius: var(--lmr-radius-lg);
}

/* Generic content */
.lamerd-entry {
  max-width: var(--lmr-content);
  margin-inline: auto;
}

.lamerd-entry-header {
  margin-block-end: var(--lmr-space-6);
}

.lamerd-entry-header h1,
.lamerd-archive-header h1 {
  margin: 0;
  color: var(--lmr-navy-950);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.35;
}

.lamerd-entry-meta {
  margin: 0 0 var(--lmr-space-2);
  color: var(--lmr-slate-600);
  font-size: 0.88rem;
}

.lamerd-entry-image {
  margin: 0 0 var(--lmr-space-6);
}

.lamerd-entry-image img {
  display: block;
  width: 100%;
  border-radius: var(--lmr-radius-lg);
}

.lamerd-entry-content > * + * {
  margin-block-start: 1.35em;
}

.lamerd-entry-content h2,
.lamerd-entry-content h3 {
  margin-block-start: 2em;
}

.lamerd-archive-header {
  margin-block-end: var(--lmr-space-7);
}

.lamerd-archive-description {
  max-width: 720px;
  color: var(--lmr-slate-600);
}

.lamerd-listing {
  display: grid;
  gap: var(--lmr-space-5);
}

.lamerd-list-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  overflow: hidden;
  background: var(--lmr-white);
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
}

.lamerd-list-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.lamerd-list-card__body {
  padding: clamp(22px, 4vw, 34px);
}

.lamerd-list-card h2 {
  margin: 0 0 var(--lmr-space-3);
  color: var(--lmr-navy-950);
  font-size: 1.45rem;
}

.lamerd-list-card h2 a {
  color: inherit;
  text-decoration: none;
}

.lamerd-empty-page {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 76px);
  text-align: center;
  background: var(--lmr-warm-50);
  border-radius: var(--lmr-radius-xl);
}

.lamerd-empty-page .search-form {
  display: flex;
  gap: var(--lmr-space-2);
  margin-block: var(--lmr-space-5);
}

.lamerd-empty-page .search-field {
  flex: 1;
  min-width: 0;
  padding-inline: 12px;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-md);
}

/* Footer */
.lamerd-site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(135deg, var(--lmr-navy-950), #00152e);
}

.lamerd-site-footer::before {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(30deg, transparent 24%, var(--lmr-gold-500) 25%, transparent 26%),
    linear-gradient(150deg, transparent 24%, rgba(255, 255, 255, 0.7) 25%, transparent 26%);
  background-size: 76px 76px;
  content: "";
  pointer-events: none;
}

.lamerd-footer-curve {
  position: relative;
  height: 42px;
  overflow: hidden;
}

.lamerd-footer-curve::before {
  position: absolute;
  inset-inline: -5%;
  inset-block-start: -54px;
  height: 76px;
  background: var(--lmr-white);
  border-radius: 0 0 50% 50%;
  content: "";
}

.lamerd-footer-grid,
.lamerd-footer-bottom {
  position: relative;
}

.lamerd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  padding-block: var(--lmr-space-8);
}

.lamerd-site-footer h2 {
  margin: 0 0 var(--lmr-space-4);
  color: var(--lmr-white);
  font-size: 1rem;
}

.lamerd-site-footer .lamerd-footer-title {
  font-size: 1.35rem;
}

.lamerd-footer-menu {
  display: grid;
  gap: var(--lmr-space-2);
}

.lamerd-footer-menu a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.lamerd-footer-menu a:hover,
.lamerd-footer-menu a:focus-visible {
  color: var(--lmr-white);
}

.lamerd-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--lmr-space-4);
  padding-block: var(--lmr-space-4);
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

.lamerd-footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .lamerd-brand-row {
    min-height: 88px;
  }

  .lamerd-nav-row {
    grid-template-columns: auto minmax(0, 1fr);
    padding-block: var(--lmr-space-2);
  }

  .lamerd-menu-toggle {
    display: inline-flex;
  }

  .lamerd-primary-nav {
    grid-column: 1 / -1;
    display: none;
  }

  .lamerd-primary-nav.is-open {
    display: block;
  }

  .lamerd-primary-menu {
    display: grid;
    gap: var(--lmr-space-1);
    padding-block: var(--lmr-space-2);
  }

  .lamerd-primary-menu a {
    min-height: 44px;
    border-radius: var(--lmr-radius-md);
  }

  .lamerd-primary-menu .sub-menu {
    position: static;
    display: block;
    margin-inline-start: var(--lmr-space-4);
    box-shadow: none;
  }

  .lamerd-nav-row .search-form {
    grid-column: 2;
    grid-row: 1;
  }

  .lamerd-footer-grid {
    grid-template-columns: 1fr;
  }

  .lamerd-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lamerd-service-bar__inner {
    min-height: 42px;
  }

  .lamerd-inline-menu {
    display: none;
  }

  .lamerd-brand-row {
    align-items: flex-start;
  }

  .lamerd-brand__logo img,
  .lamerd-brand__logo .custom-logo {
    width: 54px;
    max-height: 54px;
  }

  .lamerd-brand__tagline,
  .lamerd-service-button {
    display: none;
  }

  .lamerd-nav-row {
    grid-template-columns: 1fr;
  }

  .lamerd-nav-row .search-form {
    grid-column: 1;
    grid-row: auto;
  }

  .lamerd-menu-toggle {
    justify-self: stretch;
  }

  .lamerd-card-grid {
    grid-template-columns: 1fr;
  }

  .lamerd-list-card {
    grid-template-columns: 1fr;
  }

  .lamerd-list-card__image img {
    min-height: 200px;
    max-height: 260px;
  }

  .lamerd-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* 0.5.1 — stable fallback navigation before a menu is assigned. */
.lamerd-primary-nav > .lamerd-primary-menu,
.lamerd-primary-nav > div > .lamerd-primary-menu,
.lamerd-primary-nav > div > ul {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lamerd-primary-nav > div {
  width: 100%;
}

@media (max-width: 900px) {
  .lamerd-primary-nav > .lamerd-primary-menu,
  .lamerd-primary-nav > div > .lamerd-primary-menu,
  .lamerd-primary-nav > div > ul {
    display: block;
  }
}

/* ===== source: content-templates.css ===== */
/* Phase 5 content templates */

.lamerd-archive-hero,
.lamerd-single-hero,
.lamerd-special-hero {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 29, 62, 0.99), rgba(0, 58, 113, 0.94));
}

.lamerd-archive-hero .lamerd-shell,
.lamerd-single-hero .lamerd-shell,
.lamerd-special-hero .lamerd-shell {
  padding-block: clamp(48px, 7vw, 88px);
}

.lamerd-archive-hero h1,
.lamerd-single-hero h1,
.lamerd-special-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.3;
}

.lamerd-archive-hero__description,
.lamerd-single-lead {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.lamerd-archive-hero__description p,
.lamerd-single-lead {
  margin-bottom: 0;
}

.lamerd-breadcrumbs {
  margin-bottom: 26px;
  font-size: 0.84rem;
}

.lamerd-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lamerd-breadcrumbs li:not(:last-child)::after {
  margin-inline-start: 7px;
  content: "/";
  opacity: 0.55;
}

.lamerd-breadcrumbs a,
.lamerd-archive-hero .lamerd-breadcrumbs a,
.lamerd-single-hero .lamerd-breadcrumbs a,
.lamerd-special-hero .lamerd-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.lamerd-archive-hero .lamerd-breadcrumbs,
.lamerd-single-hero .lamerd-breadcrumbs,
.lamerd-special-hero .lamerd-breadcrumbs {
  color: rgba(255, 255, 255, 0.74);
}

.lamerd-hero-chips,
.lamerd-card-meta-row,
.lamerd-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lamerd-hero-chips {
  margin-bottom: 16px;
}

.lamerd-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.lamerd-single-meta strong {
  color: #fff;
}

.lamerd-archive-body {
  padding-block: clamp(48px, 7vw, 88px);
  background: #f8fafc;
}

.lamerd-template-grid,
.lamerd-faculty-grid,
.lamerd-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lamerd-template-card,
.lamerd-faculty-card,
.lamerd-album-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
  box-shadow: 0 10px 30px rgba(0, 29, 62, 0.07);
  transition:
    transform var(--lmr-transition),
    box-shadow var(--lmr-transition),
    border-color var(--lmr-transition);
}

.lamerd-template-card:hover,
.lamerd-faculty-card:hover,
.lamerd-album-card:hover {
  border-color: #bdccd8;
  box-shadow: var(--lmr-shadow-soft);
  transform: translateY(-3px);
}

.lamerd-template-card {
  display: flex;
  flex-direction: column;
}

.lamerd-template-card__media {
  display: block;
  min-height: 210px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--lmr-navy-950), var(--lmr-navy-800));
}

.lamerd-template-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 260px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.lamerd-template-card:hover .lamerd-template-card__media img {
  transform: scale(1.025);
}

.lamerd-template-card__media--contain {
  padding: 20px;
  background: var(--lmr-warm-50);
}

.lamerd-template-card__media--contain img {
  object-fit: contain;
}

.lamerd-media-placeholder {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.lamerd-template-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.lamerd-template-card__title,
.lamerd-faculty-card h2,
.lamerd-album-card h2,
.lamerd-notice-row h2,
.lamerd-document-row h2 {
  margin: 12px 0 10px;
  color: var(--lmr-navy-950);
  font-size: 1.22rem;
  line-height: 1.5;
}

.lamerd-template-card__title a,
.lamerd-faculty-card h2 a,
.lamerd-album-card h2 a,
.lamerd-notice-row h2 a,
.lamerd-document-row h2 a {
  color: inherit;
  text-decoration: none;
}

.lamerd-template-card__body > p {
  color: var(--lmr-slate-600);
}

.lamerd-card-meta,
.lamerd-card-meta-row,
.lamerd-card-footnote {
  color: var(--lmr-slate-600);
  font-size: 0.82rem;
}

.lamerd-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 800;
  text-decoration: none;
}

.lamerd-card-link::after {
  content: "←";
}

.lamerd-card-actions {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.lamerd-button--small {
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
}

.lamerd-button--block {
  width: 100%;
  margin-top: 12px;
}

.lamerd-chip--success {
  color: #146c43;
  background: #e8f6ee;
}

.lamerd-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding-inline: 9px;
  color: #334155;
  background: #edf1f4;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.lamerd-status.is-success {
  color: #146c43;
  background: #e8f6ee;
}

.lamerd-status.is-warning {
  color: #87520d;
  background: #fff2d8;
}

.lamerd-status.is-danger {
  color: #a32119;
  background: #fdebea;
}

.lamerd-status.is-muted {
  color: #5f6b76;
  background: #edf0f2;
}

.lamerd-archive-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
}

.lamerd-archive-filter label {
  display: grid;
  gap: 6px;
  min-width: 190px;
  color: var(--lmr-navy-950);
  font-size: 0.84rem;
  font-weight: 800;
}

.lamerd-archive-filter select,
.lamerd-archive-filter input {
  min-height: 42px;
  padding-inline: 11px;
  color: var(--lmr-ink-900);
  background: #fff;
  border: 1px solid #cdd6de;
  border-radius: var(--lmr-radius-md);
}

.lamerd-notice-list,
.lamerd-document-list {
  display: grid;
  gap: 12px;
}

.lamerd-notice-row,
.lamerd-document-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
}

.lamerd-notice-row__date {
  color: var(--lmr-navy-800);
  font-weight: 800;
}

.lamerd-notice-row__body p,
.lamerd-document-row__body p {
  margin: 0;
  color: var(--lmr-slate-600);
}

.lamerd-document-row {
  grid-template-columns: 52px minmax(0, 1fr) auto;
}

.lamerd-document-row__icon,
.lamerd-resource-icon,
.lamerd-unit-mark,
.lamerd-program-card__mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--lmr-navy-950), var(--lmr-navy-800));
  border-radius: 14px;
  font-weight: 900;
}

.lamerd-document-row__icon {
  width: 48px;
  aspect-ratio: 1;
}

.lamerd-document-row__actions {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.lamerd-event-card {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
}

.lamerd-event-date-block {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 22px;
  color: #fff;
  text-align: center;
  background: linear-gradient(155deg, var(--lmr-navy-950), var(--lmr-navy-800));
}

.lamerd-event-date-block strong {
  line-height: 1.7;
}

.lamerd-event-date-block span {
  margin-top: 8px;
  color: var(--lmr-gold-500);
  direction: ltr;
}

.lamerd-program-card,
.lamerd-resource-card,
.lamerd-unit-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
}

.lamerd-program-card__mark,
.lamerd-resource-icon,
.lamerd-unit-mark {
  width: 58px;
  height: 58px;
  margin: 22px 0 0 0;
  justify-self: center;
  font-size: 1.15rem;
}

.lamerd-faculty-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
}

.lamerd-faculty-card__photo {
  min-height: 170px;
  overflow: hidden;
  color: #fff;
  background: var(--lmr-sky-100);
}

.lamerd-faculty-card__photo img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.lamerd-avatar-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 170px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--lmr-navy-950), var(--lmr-navy-800));
  font-size: 3rem;
  font-weight: 900;
}

.lamerd-faculty-card__body {
  padding: 18px;
}

.lamerd-faculty-card__rank {
  color: var(--lmr-navy-800);
  font-weight: 800;
}

.lamerd-mini-chips,
.lamerd-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lamerd-mini-chips span,
.lamerd-topic-chips span {
  padding: 5px 9px;
  color: var(--lmr-navy-800);
  background: var(--lmr-sky-100);
  border-radius: 999px;
  font-size: 0.76rem;
}

.lamerd-album-card__media {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  color: #fff;
  background: var(--lmr-navy-950);
}

.lamerd-album-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.lamerd-album-count {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 12px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(0, 29, 62, 0.86);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.lamerd-album-card__body {
  padding: 18px 20px;
}

/* Single layouts */
.lamerd-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(48px, 7vw, 88px);
}

.lamerd-single-main,
.lamerd-single-sidebar {
  min-width: 0;
}

.lamerd-single-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.lamerd-narrow-content {
  width: min(100% - 32px, 820px);
  padding-block: clamp(48px, 7vw, 88px);
}

.lamerd-featured-figure,
.lamerd-research-cover {
  margin: 0 0 32px;
}

.lamerd-featured-figure img,
.lamerd-research-cover img {
  display: block;
  width: 100%;
  border-radius: var(--lmr-radius-lg);
}

.lamerd-research-cover {
  padding: 28px;
  background: var(--lmr-warm-50);
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
  text-align: center;
}

.lamerd-research-cover img {
  width: auto;
  max-height: 620px;
  margin-inline: auto;
  object-fit: contain;
}

.lamerd-featured-figure figcaption,
.lamerd-gallery-grid figcaption {
  margin-top: 8px;
  color: var(--lmr-slate-600);
  font-size: 0.82rem;
}

.lamerd-prose {
  color: var(--lmr-ink-900);
  font-size: 1.02rem;
  line-height: 2;
}

.lamerd-prose > *:first-child {
  margin-top: 0;
}

.lamerd-prose h2,
.lamerd-prose h3 {
  margin-top: 2em;
  color: var(--lmr-navy-950);
}

.lamerd-prose img {
  border-radius: var(--lmr-radius-md);
}

.lamerd-content-section {
  margin-top: 42px;
}

.lamerd-content-section > h2,
.lamerd-related-section h2 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: var(--lmr-navy-950);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.lamerd-content-section > h2::after,
.lamerd-related-section h2::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 58px;
  height: 3px;
  background: var(--lmr-gold-500);
  border-radius: 999px;
  content: "";
}

.lamerd-info-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
  box-shadow: 0 10px 28px rgba(0, 29, 62, 0.06);
}

.lamerd-info-card h2 {
  margin: 0 0 16px;
  color: var(--lmr-navy-950);
  font-size: 1.08rem;
}

.lamerd-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.lamerd-detail-item {
  display: grid;
  grid-template-columns: minmax(105px, 0.85fr) minmax(0, 1.2fr);
  gap: 14px;
  padding-block: 11px;
  border-bottom: 1px solid #edf0f2;
}

.lamerd-detail-item:last-child {
  border-bottom: 0;
}

.lamerd-detail-item dt {
  color: var(--lmr-slate-600);
  font-size: 0.84rem;
}

.lamerd-detail-item dd {
  margin: 0;
  color: var(--lmr-navy-950);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.lamerd-detail-list--boxed {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--lmr-warm-50);
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-lg);
}

.lamerd-detail-list--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.lamerd-stack-actions {
  display: grid;
  gap: 10px;
}

.lamerd-profile-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lamerd-profile-links li {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: var(--lmr-warm-50);
  border-radius: var(--lmr-radius-md);
}

.lamerd-profile-links a {
  font-weight: 800;
  text-decoration: none;
}

.lamerd-profile-links small {
  color: var(--lmr-slate-600);
}

.lamerd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lamerd-gallery-grid figure {
  margin: 0;
}

.lamerd-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--lmr-radius-md);
}

.lamerd-gallery-grid--album {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 42px;
}

.lamerd-gallery-grid--album a {
  display: block;
  overflow: hidden;
  border-radius: var(--lmr-radius-md);
}

.lamerd-download-card,
.lamerd-dark-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  text-decoration: none;
  border-radius: var(--lmr-radius-lg);
}

.lamerd-download-card {
  color: var(--lmr-navy-950);
  background: var(--lmr-sky-100);
  border: 1px solid #cadde9;
}

.lamerd-download-card span {
  display: grid;
}

.lamerd-download-card small {
  color: var(--lmr-slate-600);
}

.lamerd-dark-action {
  color: #fff;
  background: linear-gradient(135deg, var(--lmr-navy-950), var(--lmr-navy-800));
}

.lamerd-dark-action h2,
.lamerd-dark-action p {
  margin: 0;
  color: #fff;
}

.lamerd-dark-action p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.lamerd-notice--muted {
  color: #5c6570;
  background: #eef1f3;
  border-inline-start-color: #8d98a3;
}

.lamerd-two-column-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.lamerd-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lamerd-feature-list article {
  padding: 18px;
  background: var(--lmr-warm-50);
  border-inline-start: 4px solid var(--lmr-navy-800);
  border-radius: var(--lmr-radius-md);
}

.lamerd-feature-list--gold article {
  border-inline-start-color: var(--lmr-gold-500);
}

.lamerd-feature-list h3,
.lamerd-feature-list p {
  margin: 0;
}

.lamerd-feature-list p {
  margin-top: 7px;
  color: var(--lmr-slate-600);
}

.lamerd-people-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lamerd-people-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--lmr-navy-950);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-md);
}

.lamerd-people-list img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.lamerd-people-list span {
  display: grid;
}

.lamerd-people-list small {
  color: var(--lmr-slate-600);
}

.lamerd-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lamerd-check-list li {
  position: relative;
  display: grid;
  gap: 3px;
  padding-inline-start: 24px;
}

.lamerd-check-list li::before {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.65em;
  width: 9px;
  height: 9px;
  background: var(--lmr-gold-500);
  border-radius: 50%;
  content: "";
}

.lamerd-check-list span {
  color: var(--lmr-slate-600);
}

.lamerd-check-list small {
  color: var(--lmr-warning-600);
  font-weight: 800;
}

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

.lamerd-step-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--lmr-warm-50);
  border-radius: var(--lmr-radius-md);
}

.lamerd-step-list > li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--lmr-navy-800);
  border-radius: 50%;
  font-weight: 900;
}

.lamerd-step-list h3,
.lamerd-step-list p {
  margin: 0;
}

.lamerd-step-list p {
  margin-top: 6px;
  color: var(--lmr-slate-600);
}

.lamerd-faq-list {
  display: grid;
  gap: 10px;
}

.lamerd-faq-list details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-md);
}

.lamerd-faq-list summary {
  padding: 16px 18px;
  color: var(--lmr-navy-950);
  font-weight: 800;
  cursor: pointer;
}

.lamerd-faq-list details[open] summary {
  background: var(--lmr-sky-100);
}

.lamerd-faq-list details > div {
  padding: 0 18px 16px;
}

.lamerd-faq-list details > div p:last-child {
  margin-bottom: 0;
}

.lamerd-related-section {
  padding-block: 28px 72px;
}

.lamerd-section-heading--compact {
  margin-bottom: 22px;
}

.lamerd-contributor-list,
.lamerd-record-list,
.lamerd-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lamerd-contributor-list li,
.lamerd-record-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-md);
}

.lamerd-contributor-list div,
.lamerd-record-list div {
  display: grid;
}

.lamerd-contributor-list span,
.lamerd-record-list p {
  color: var(--lmr-slate-600);
}

.lamerd-contributor-list small,
.lamerd-record-list > article > span {
  flex: 0 0 auto;
  color: var(--lmr-navy-800);
  font-weight: 800;
}

.lamerd-faculty-hero-public {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 29, 62, 0.99), rgba(0, 58, 113, 0.94));
}

.lamerd-faculty-hero-public .lamerd-shell {
  padding-block: 36px 64px;
}

.lamerd-faculty-hero-public .lamerd-breadcrumbs {
  color: rgba(255, 255, 255, 0.75);
}

.lamerd-faculty-hero-public__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
}

.lamerd-faculty-portrait {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, 0.1);
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: var(--lmr-shadow-raised);
}

.lamerd-faculty-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lamerd-faculty-portrait .lamerd-avatar-placeholder {
  min-height: 100%;
}

.lamerd-faculty-hero-public h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.lamerd-latin-name {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.lamerd-faculty-unit {
  color: var(--lmr-gold-500);
  font-weight: 800;
}

.lamerd-faculty-hero-public .lamerd-button--outline {
  color: #fff;
}

.lamerd-timeline {
  position: relative;
  padding-inline-start: 24px;
}

.lamerd-timeline::before {
  position: absolute;
  inset-inline-start: 6px;
  inset-block: 12px;
  width: 2px;
  background: #d9e1e7;
  content: "";
}

.lamerd-timeline article {
  position: relative;
  padding: 16px 18px;
  background: var(--lmr-warm-50);
  border-radius: var(--lmr-radius-md);
}

.lamerd-timeline__dot {
  position: absolute;
  inset-inline-start: -24px;
  inset-block-start: 24px;
  width: 14px;
  height: 14px;
  background: var(--lmr-gold-500);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c7d1d9;
}

.lamerd-timeline h3,
.lamerd-timeline p {
  margin: 0;
}

.lamerd-timeline p {
  margin-top: 5px;
  color: var(--lmr-slate-600);
}

.lamerd-album-single {
  padding-block: clamp(48px, 7vw, 88px);
}

.lamerd-narrow-prose {
  max-width: 820px;
  margin-inline: auto;
}

.lamerd-special-content {
  padding-block: clamp(48px, 7vw, 88px);
}

.lamerd-last-updated {
  margin-top: 42px;
  padding-top: 16px;
  color: var(--lmr-slate-600);
  border-top: 1px solid var(--lmr-line-200);
  font-size: 0.84rem;
}

/* Pagination */
.navigation.pagination {
  margin-top: 36px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  padding-inline: 10px;
  color: var(--lmr-navy-800);
  background: #fff;
  border: 1px solid var(--lmr-line-200);
  border-radius: var(--lmr-radius-md);
  text-decoration: none;
}

.nav-links .current {
  color: #fff;
  background: var(--lmr-navy-800);
  border-color: var(--lmr-navy-800);
}

@media (max-width: 1050px) {
  .lamerd-template-grid,
  .lamerd-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lamerd-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lamerd-gallery-grid--album {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lamerd-primary-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .lamerd-single-layout {
    grid-template-columns: 1fr;
  }

  .lamerd-single-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lamerd-faculty-hero-public__grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .lamerd-detail-list--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .lamerd-template-grid,
  .lamerd-faculty-grid,
  .lamerd-album-grid,
  .lamerd-gallery-grid,
  .lamerd-gallery-grid--album,
  .lamerd-feature-list,
  .lamerd-people-list,
  .lamerd-two-column-sections,
  .lamerd-single-sidebar {
    grid-template-columns: 1fr;
  }

  .lamerd-notice-row,
  .lamerd-document-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lamerd-document-row__actions {
    justify-items: start;
  }

  .lamerd-event-card,
  .lamerd-program-card,
  .lamerd-resource-card,
  .lamerd-unit-card,
  .lamerd-faculty-card {
    grid-template-columns: 1fr;
  }

  .lamerd-event-date-block {
    min-height: 110px;
  }

  .lamerd-program-card__mark,
  .lamerd-resource-icon,
  .lamerd-unit-mark {
    margin-inline: 20px;
  }

  .lamerd-faculty-card__photo {
    min-height: 260px;
  }

  .lamerd-faculty-card__photo img {
    min-height: 260px;
  }

  .lamerd-faculty-hero-public__grid {
    grid-template-columns: 1fr;
  }

  .lamerd-faculty-portrait {
    width: min(240px, 70vw);
  }

  .lamerd-detail-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lamerd-download-card,
  .lamerd-dark-action,
  .lamerd-contributor-list li,
  .lamerd-record-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .lamerd-archive-filter {
    align-items: stretch;
  }

  .lamerd-archive-filter label,
  .lamerd-archive-filter button,
  .lamerd-archive-filter a {
    width: 100%;
  }
}

/* ===== source: motion.css ===== */
/**
 * Lamerd Motion 1.0
 * Lightweight, CSS-only interaction system. It intentionally limits animation
 * to opacity and transforms so it does not affect layout or Core Web Vitals.
 */

:root {
  --lmr-motion-fast: 160ms;
  --lmr-motion-base: 220ms;
  --lmr-motion-slow: 320ms;
  --lmr-motion-ease: cubic-bezier(.2, .7, .2, 1);
}

html {
  scroll-behavior: smooth;
}

/* Interactive elements receive only non-layout transitions. */
:where(
  .lamerd-button,
  .lmr10-button,
  .text-link,
  .primary-nav a,
  .mobile-drawer a,
  .lamerd-footer-menu a,
  .lamerd-footer-language a,
  .footer-links a,
  .footer-bottom a,
  .contact-links a,
  .official-social a,
  .footer-social a
) {
  transition-duration: var(--lmr-motion-base);
  transition-timing-function: var(--lmr-motion-ease);
}

:where(
  .lamerd-card,
  .lamerd-action-card,
  .entity-card,
  .service-card,
  .document-card,
  .lmr-news-card,
  .event-card,
  .program-card
) {
  will-change: auto;
}

/* Give keyboard users the same visual acknowledgement as pointer users. */
:where(a, button, input, select, textarea):focus-visible {
  transition: outline-color var(--lmr-motion-fast) ease,
              box-shadow var(--lmr-motion-fast) ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ===== source: shell-foundation.css ===== */

/* Lamerd Theme 0.7.0 — comprehensive navigation and academic profiles */

.lamerd-site-header--v2 .lamerd-brand-row {
  min-height: 112px;
}

.lamerd-brand--dual {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.lamerd-brand__marks {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.lamerd-brand__marks > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe8ee;
  border-radius: 16px;
}

.lamerd-brand__marks img,
.site-header-v2 .header-logo-box img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  object-position: center;
}

.lamerd-brand--dual .lamerd-brand__copy {
  min-width: 0;
}

.lamerd-brand--dual .lamerd-brand__title {
  display: block;
  color: var(--lmr-navy-950);
  font-size: 1.12rem;
  line-height: 1.5;
}

.lamerd-brand--dual .lamerd-brand__tagline {
  display: block;
  margin-top: 2px;
  color: var(--lmr-slate-600);
  font-size: .72rem;
}

.lamerd-brand-row__actions,
.lamerd-service-bar__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lamerd-service-bar__actions > a,
.lamerd-service-bar__actions .lamerd-language-links a {
  color: rgba(255,255,255,.78);
  font-size: .7rem;
  text-decoration: none;
}

.lamerd-primary-nav__head small {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .64rem;
  font-weight: 400;
}

.lamerd-primary-nav__mobile-search,
.lamerd-primary-nav__mobile-actions {
  display: none;
}

.lamerd-primary-menu,
.primary-nav,
.mobile-primary-menu {
  list-style: none;
}

.lamerd-primary-menu > li,
.home-primary-nav .primary-nav > li {
  position: relative;
}

.lamerd-primary-menu .sub-menu,
.home-primary-nav .primary-nav .sub-menu {
  position: absolute;
  z-index: 50;
  inset-block-start: calc(100% + 10px);
  inset-inline-start: 0;
  display: grid;
  min-width: 250px;
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0,58,113,.12);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0,29,62,.16);
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.lamerd-primary-menu .sub-menu .sub-menu,
.home-primary-nav .primary-nav .sub-menu .sub-menu {
  inset-block-start: 0;
  inset-inline-start: calc(100% + 8px);
}

.lamerd-primary-menu li:hover > .sub-menu,
.lamerd-primary-menu li:focus-within > .sub-menu,
.home-primary-nav .primary-nav li:hover > .sub-menu,
.home-primary-nav .primary-nav li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.lamerd-primary-menu .sub-menu a,
.home-primary-nav .primary-nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--lmr-navy-950);
  border-radius: 10px;
  font-size: .76rem;
  line-height: 1.7;
  text-decoration: none;
}

.lamerd-primary-menu .sub-menu a:hover,
.lamerd-primary-menu .sub-menu a:focus-visible,
.home-primary-nav .primary-nav .sub-menu a:hover,
.home-primary-nav .primary-nav .sub-menu a:focus-visible {
  color: var(--lmr-navy-900);
  background: #eef5f9;
}

.lamerd-submenu-toggle {
  display: none;
}

.site-header-v2 .main-nav {
  grid-template-columns: minmax(280px, auto) minmax(0, 1fr) auto;
}

.site-header-v2 .brand-v2 {
  min-width: 0;
}

.site-header-v2 .brand-marks {
  display: flex;
  gap: 5px;
}

.site-header-v2 .header-logo-box {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  flex: 0 0 58px;
}

.site-header-v2 .brand-copy {
  max-width: 270px;
}

.site-header-v2 .brand-copy strong {
  white-space: normal;
  line-height: 1.5;
}

.site-header-v2 .home-primary-nav {
  min-width: 0;
}

.site-header-v2 .primary-nav {
  justify-content: center;
  gap: 18px;
}

.site-header-v2 .primary-nav > li > a {
  white-space: nowrap;
}

.site-header-v2 .mobile-drawer__head small {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .65rem;
}

.site-header-v2 .mobile-drawer__search,
.site-header-v2 .mobile-drawer__actions {
  display: none;
}

/* Faculty directory */
.lamerd-faculty-index-hero,
.lamerd-program-index-hero,
.lamerd-unit-index-hero,
.lamerd-service-hero {
  padding-block: clamp(58px, 8vw, 104px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(7,91,154,.28), transparent 28%),
    linear-gradient(135deg, #00162f, #003a71);
}

.lamerd-faculty-index-hero h1,
.lamerd-program-index-hero h1,
.lamerd-unit-index-hero h1,
.lamerd-service-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.18;
}

.lamerd-faculty-index-hero p:not(.lamerd-eyebrow),
.lamerd-program-index-hero p:not(.lamerd-eyebrow),
.lamerd-unit-index-hero p:not(.lamerd-eyebrow),
.lamerd-service-hero p:not(.lamerd-eyebrow) {
  max-width: 760px;
  color: rgba(255,255,255,.7);
  line-height: 2;
}

.lamerd-faculty-index-hero__grid,
.lamerd-service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: end;
}

.lamerd-faculty-index-hero__numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.lamerd-faculty-index-hero__numbers article {
  min-height: 112px;
  padding: 20px 12px;
  text-align: center;
  border-inline-end: 1px solid rgba(255,255,255,.12);
}

.lamerd-faculty-index-hero__numbers article:last-child {
  border-inline-end: 0;
}

.lamerd-faculty-index-hero__numbers strong {
  display: block;
  color: #f1d88d;
  font-size: 1.8rem;
}

.lamerd-faculty-index-hero__numbers span {
  color: rgba(255,255,255,.7);
  font-size: .72rem;
}

.lamerd-faculty-directory,
.lamerd-program-index,
.lamerd-unit-index,
.lamerd-service-page {
  padding-block: clamp(50px, 7vw, 90px);
}

.lamerd-directory-filter {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 26px;
  padding: 18px;
  background: #f6f9fb;
  border: 1px solid #e1e9ef;
  border-radius: 20px;
}

.lamerd-directory-filter label {
  display: grid;
  gap: 7px;
  color: var(--lmr-navy-950);
  font-size: .74rem;
  font-weight: 800;
}

.lamerd-directory-filter input,
.lamerd-directory-filter select {
  width: 100%;
  min-height: 46px;
  padding-inline: 13px;
  color: var(--lmr-navy-950);
  background: #fff;
  border: 1px solid #d5e0e8;
  border-radius: 12px;
}

.lamerd-directory-filter button,
.lamerd-directory-filter > a {
  display: inline-flex;
  min-height: 46px;
  padding-inline: 17px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--lmr-navy-900);
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.lamerd-directory-filter > a {
  color: var(--lmr-navy-900);
  background: #fff;
  border: 1px solid #d5e0e8;
}

.lamerd-faculty-grid-v2,
.lamerd-program-grid-v2,
.lamerd-unit-grid-v2,
.lamerd-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lamerd-faculty-card-v2,
.lamerd-program-card-v2,
.lamerd-unit-card-v2,
.lamerd-service-card-v2 {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,58,113,.11);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(0,29,62,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.lamerd-faculty-card-v2:hover,
.lamerd-program-card-v2:hover,
.lamerd-unit-card-v2:hover,
.lamerd-service-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 54px rgba(0,29,62,.11);
}

.lamerd-faculty-card-v2__visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #001d3e;
}

.lamerd-faculty-card-v2__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lamerd-faculty-card-v2__visual span {
  position: absolute;
  inset-inline-start: 20px;
  inset-block-end: 18px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #001d3e;
  background: #f1d88d;
  border: 4px solid rgba(255,255,255,.9);
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 900;
}

.lamerd-faculty-card-v2__body,
.lamerd-program-card-v2__body,
.lamerd-unit-card-v2__body {
  padding: 22px;
}

.lamerd-faculty-card-v2__meta,
.lamerd-program-card-v2__meta,
.lamerd-unit-card-v2__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 11px;
}

.lamerd-faculty-card-v2__meta span,
.lamerd-faculty-card-v2__meta a,
.lamerd-program-card-v2__meta span,
.lamerd-unit-card-v2__meta span {
  display: inline-flex;
  min-height: 27px;
  padding-inline: 10px;
  align-items: center;
  color: var(--lmr-navy-900);
  background: #edf4f8;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  text-decoration: none;
}

.lamerd-faculty-card-v2 h2,
.lamerd-program-card-v2 h2,
.lamerd-unit-card-v2 h2,
.lamerd-service-card-v2 h2 {
  margin: 0 0 9px;
  color: var(--lmr-navy-950);
  font-size: 1.06rem;
  line-height: 1.7;
}

.lamerd-faculty-card-v2 h2 a,
.lamerd-program-card-v2 h2 a,
.lamerd-unit-card-v2 h2 a {
  color: inherit;
  text-decoration: none;
}

.lamerd-faculty-card-v2 p,
.lamerd-program-card-v2 p,
.lamerd-unit-card-v2 p,
.lamerd-service-card-v2 p {
  margin: 0;
  color: var(--lmr-slate-600);
  font-size: .82rem;
  line-height: 1.95;
}

.lamerd-faculty-card-v2__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #e7eef3;
}

.lamerd-faculty-card-v2__foot span,
.lamerd-faculty-card-v2__foot > a:not(.lamerd-card-link) {
  color: var(--lmr-slate-500);
  font-size: .7rem;
  text-decoration: none;
}

.lamerd-faculty-card-v2__foot .lamerd-card-link {
  margin-inline-start: auto;
}

/* Faculty profile */
.lamerd-profile-hero,
.lamerd-program-hero,
.lamerd-unit-hero {
  padding-block: clamp(48px, 7vw, 92px);
  background:
    radial-gradient(circle at 82% 4%, rgba(7,91,154,.11), transparent 27%),
    linear-gradient(180deg, #f9fbfc, #edf4f8);
}

.lamerd-profile-hero__grid,
.lamerd-program-hero__grid,
.lamerd-unit-hero__grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  margin-top: 20px;
}

.lamerd-profile-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #001d3e;
  border-radius: 30px;
  box-shadow: 0 28px 66px rgba(0,29,62,.17);
}

.lamerd-profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lamerd-profile-portrait span {
  position: absolute;
  inset-inline-start: 24px;
  inset-block-end: 22px;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: #001d3e;
  background: #f1d88d;
  border: 5px solid #fff;
  border-radius: 22px;
  font-size: 1.25rem;
  font-weight: 900;
}

.lamerd-profile-identity h1,
.lamerd-program-hero h1,
.lamerd-unit-hero h1 {
  margin: 0;
  color: var(--lmr-navy-950);
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 1.18;
}

.lamerd-profile-english-name {
  margin: 8px 0 0;
  color: var(--lmr-slate-500);
  font-size: .92rem;
}

.lamerd-profile-badges,
.lamerd-program-hero__facts,
.lamerd-unit-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lamerd-profile-badges span,
.lamerd-profile-badges a,
.lamerd-program-hero__facts span,
.lamerd-unit-hero__facts span {
  display: inline-flex;
  min-height: 32px;
  padding-inline: 12px;
  align-items: center;
  color: var(--lmr-navy-900);
  background: #fff;
  border: 1px solid #dce7ee;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}

.lamerd-profile-lead,
.lamerd-program-hero p,
.lamerd-unit-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--lmr-slate-600);
  line-height: 2;
}

.lamerd-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lamerd-profile-actions a {
  display: inline-flex;
  min-height: 44px;
  padding-inline: 16px;
  align-items: center;
  color: var(--lmr-navy-900);
  background: #fff;
  border: 1px solid #dce7ee;
  border-radius: 11px;
  font-size: .75rem;
  font-weight: 900;
  text-decoration: none;
}

.lamerd-profile-actions a.is-primary {
  color: #fff;
  background: var(--lmr-navy-900);
  border-color: var(--lmr-navy-900);
}

.lamerd-profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 34px;
  background: #fff;
  border: 1px solid #dce7ee;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0,29,62,.08);
}

.lamerd-profile-facts article {
  min-height: 104px;
  padding: 18px;
  text-align: center;
  border-inline-end: 1px solid #e7eef3;
}

.lamerd-profile-facts article:last-child {
  border-inline-end: 0;
}

.lamerd-profile-facts span {
  display: block;
  color: var(--lmr-slate-500);
  font-size: .7rem;
}

.lamerd-profile-facts strong {
  display: block;
  margin-top: 7px;
  color: var(--lmr-navy-950);
  font-size: 1.1rem;
}

.lamerd-profile-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #e5edf2;
  backdrop-filter: blur(12px);
}

.admin-bar .lamerd-profile-nav { top: 32px; }

.lamerd-profile-nav .lamerd-shell {
  display: flex;
  gap: 22px;
  overflow-x: auto;
}

.lamerd-profile-nav a {
  flex: 0 0 auto;
  padding-block: 15px;
  color: var(--lmr-slate-600);
  border-bottom: 2px solid transparent;
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
}

.lamerd-profile-nav a:hover,
.lamerd-profile-nav a:focus-visible {
  color: var(--lmr-navy-900);
  border-color: var(--lmr-gold-500);
}

.lamerd-profile-layout,
.lamerd-program-layout,
.lamerd-unit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(290px, .76fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
  padding-block: clamp(54px, 7vw, 92px);
}

.lamerd-profile-section + .lamerd-profile-section {
  margin-top: 50px;
}

.lamerd-profile-section header {
  margin-bottom: 18px;
}

.lamerd-profile-section h2 {
  margin: 0;
  color: var(--lmr-navy-950);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.lamerd-education-grid,
.lamerd-academic-panels,
.lamerd-program-links,
.lamerd-research-list {
  display: grid;
  gap: 14px;
}

.lamerd-education-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lamerd-education-grid article,
.lamerd-academic-panels article,
.lamerd-program-links a,
.lamerd-research-list a {
  padding: 20px;
  color: inherit;
  background: #f8fbfd;
  border: 1px solid #e1eaf0;
  border-radius: 18px;
  text-decoration: none;
}

.lamerd-education-grid span {
  display: inline-flex;
  min-height: 28px;
  padding-inline: 10px;
  align-items: center;
  color: var(--lmr-navy-900);
  background: #fff;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
}

.lamerd-education-grid h3,
.lamerd-academic-panels h3,
.lamerd-program-links strong,
.lamerd-research-list strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--lmr-navy-950);
  font-size: .94rem;
  line-height: 1.8;
}

.lamerd-education-grid p,
.lamerd-academic-panels p,
.lamerd-program-links small,
.lamerd-research-list small {
  margin: 0;
  color: var(--lmr-slate-600);
  font-size: .78rem;
  line-height: 1.9;
}

.lamerd-education-grid small {
  color: var(--lmr-slate-500);
}

.lamerd-academic-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lamerd-academic-panels ul {
  margin: 10px 0 0;
  padding-inline-start: 18px;
  color: var(--lmr-slate-600);
  line-height: 1.95;
}

.lamerd-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.lamerd-tag-cloud span {
  padding: 8px 11px;
  color: var(--lmr-navy-900);
  background: #fff;
  border: 1px solid #dfe8ee;
  border-radius: 999px;
  font-size: .7rem;
}

.lamerd-program-links,
.lamerd-research-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lamerd-program-links span,
.lamerd-research-list span {
  color: var(--lmr-gold-600);
  font-size: .68rem;
  font-weight: 900;
}

.lamerd-profile-sidebar,
.lamerd-program-sidebar,
.lamerd-unit-sidebar {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 16px;
}

.admin-bar .lamerd-profile-sidebar,
.admin-bar .lamerd-program-sidebar,
.admin-bar .lamerd-unit-sidebar {
  top: 110px;
}

.lamerd-profile-sidebar section,
.lamerd-program-sidebar section,
.lamerd-unit-sidebar section {
  padding: 22px;
  background: #fff;
  border: 1px solid #dfe8ee;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(0,29,62,.06);
}

.lamerd-profile-sidebar h2,
.lamerd-program-sidebar h2,
.lamerd-unit-sidebar h2 {
  margin: 0 0 15px;
  color: var(--lmr-navy-950);
  font-size: 1rem;
}

.lamerd-profile-sidebar dl,
.lamerd-program-sidebar dl,
.lamerd-unit-sidebar dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.lamerd-profile-sidebar dl div,
.lamerd-program-sidebar dl div,
.lamerd-unit-sidebar dl div {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8eef3;
}

.lamerd-profile-sidebar dl div:last-child,
.lamerd-program-sidebar dl div:last-child,
.lamerd-unit-sidebar dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.lamerd-profile-sidebar dt,
.lamerd-program-sidebar dt,
.lamerd-unit-sidebar dt {
  color: var(--lmr-slate-500);
  font-size: .68rem;
}

.lamerd-profile-sidebar dd,
.lamerd-program-sidebar dd,
.lamerd-unit-sidebar dd {
  margin: 0;
  color: var(--lmr-navy-950);
  font-size: .8rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.lamerd-profile-sidebar a,
.lamerd-program-sidebar a,
.lamerd-unit-sidebar a {
  color: var(--lmr-navy-900);
  text-decoration: none;
}

.lamerd-profile-login {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding-inline: 14px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: var(--lmr-navy-900);
  border-radius: 11px;
  font-size: .74rem;
  font-weight: 900;
}

.lamerd-profile-links,
.lamerd-peer-list,
.lamerd-unit-sidebar__links {
  display: grid;
  gap: 9px;
}

.lamerd-profile-links a,
.lamerd-unit-sidebar__links a {
  padding: 10px 12px;
  background: #f5f9fb;
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 800;
}

.lamerd-peer-list a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.lamerd-peer-list span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background-position: center;
  background-size: cover;
  border-radius: 15px;
  font-size: .7rem;
  font-weight: 900;
}

.lamerd-peer-list strong {
  color: var(--lmr-navy-950);
  font-size: .78rem;
}

.lamerd-program-hero__grid,
.lamerd-unit-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
}

.lamerd-program-hero__grid > img,
.lamerd-unit-hero__grid > img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,29,62,.13);
}

.lamerd-program-card-v2__visual,
.lamerd-unit-card-v2__visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.lamerd-program-card-v2__visual img,
.lamerd-unit-card-v2__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lamerd-program-card-v2__visual span {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-end: 14px;
  padding: 8px 12px;
  color: #001d3e;
  background: #f1d88d;
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 900;
}

.lamerd-faculty-grid-v2--compact,
.lamerd-program-grid-v2--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Service portal */
.lamerd-service-hero__note {
  padding: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
}

.lamerd-service-hero__note strong {
  color: #f1d88d;
}

.lamerd-service-directory__toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  background: #f6f9fb;
  border: 1px solid #e1e9ef;
  border-radius: 20px;
}

.lamerd-service-directory__toolbar label {
  display: grid;
  gap: 7px;
  color: var(--lmr-navy-950);
  font-size: .74rem;
  font-weight: 800;
}

.lamerd-service-directory__toolbar input {
  width: 100%;
  min-height: 46px;
  padding-inline: 13px;
  background: #fff;
  border: 1px solid #d5e0e8;
  border-radius: 12px;
}

.lamerd-service-directory__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lamerd-service-directory__filters button {
  min-height: 40px;
  padding-inline: 13px;
  color: var(--lmr-navy-900);
  background: #fff;
  border: 1px solid #d5e0e8;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}

.lamerd-service-directory__filters button.is-active {
  color: #fff;
  background: var(--lmr-navy-900);
  border-color: var(--lmr-navy-900);
}

.lamerd-service-card-v2 {
  display: flex;
  min-height: 280px;
  padding: 22px;
  flex-direction: column;
}

.lamerd-service-card-v2__top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.lamerd-service-card-v2__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--lmr-navy-900), var(--lmr-blue-600));
  border-radius: 16px;
}

.lamerd-service-card-v2__icon::before {
  content: "↗";
  font-size: 1.2rem;
  font-weight: 900;
}

.lamerd-service-card-v2__top > div {
  display: grid;
  gap: 4px;
}

.lamerd-service-status,
.lamerd-service-audience {
  color: var(--lmr-slate-500);
  font-size: .68rem;
}

.lamerd-service-status.is-active {
  color: #217a52;
  font-weight: 900;
}

.lamerd-service-card-v2 h2 {
  margin-top: 20px;
}

.lamerd-service-card-v2__foot {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e8eef3;
}

.lamerd-service-card-v2__foot small {
  color: var(--lmr-slate-500);
  font-size: .68rem;
  overflow-wrap: anywhere;
}

.lamerd-service-card-v2__foot a {
  display: inline-flex;
  min-height: 38px;
  padding-inline: 13px;
  align-items: center;
  color: #fff;
  background: var(--lmr-navy-900);
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 900;
  text-decoration: none;
}

.lamerd-service-directory__empty {
  padding: 18px;
  text-align: center;
  color: var(--lmr-slate-600);
  background: #f6f9fb;
  border-radius: 16px;
}

/* Safe image policy: local internal-page mapping uses only campus, city, industry or abstract illustrations */
.lamerd-rich-page img[src*="life-community"],
.lamerd-rich-page img[src*="news-associations"],
.lamerd-rich-page img[src*="event-student"] {
  filter: saturate(.82);
}

@media (max-width: 1180px) {
  .site-header-v2 .primary-nav {
    gap: 12px;
  }

  .site-header-v2 .primary-nav > li > a {
    font-size: .64rem;
  }

  .lamerd-faculty-grid-v2,
  .lamerd-program-grid-v2,
  .lamerd-unit-grid-v2,
  .lamerd-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lamerd-directory-filter {
    grid-template-columns: 1fr 1fr;
  }

  .lamerd-directory-filter button,
  .lamerd-directory-filter > a {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .lamerd-service-bar {
    display: none;
  }

  .lamerd-site-header--v2 .lamerd-brand-row {
    min-height: 84px;
  }

  .lamerd-brand__marks > span {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .lamerd-brand--dual .lamerd-brand__title {
    font-size: .9rem;
  }

  .lamerd-brand--dual .lamerd-brand__tagline {
    display: none;
  }

  .lamerd-brand-row__actions .lamerd-service-button {
    display: none;
  }

  .lamerd-primary-nav__mobile-search,
  .lamerd-primary-nav__mobile-actions {
    display: block;
  }

  .lamerd-primary-nav__mobile-search {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .lamerd-primary-nav__mobile-search form {
    display: flex;
    gap: 8px;
  }

  .lamerd-primary-nav__mobile-search input {
    min-width: 0;
    flex: 1;
  }

  .lamerd-primary-nav__mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .lamerd-primary-nav__mobile-actions a {
    padding: 10px 12px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
  }

  body:not(.home) .lamerd-primary-menu > li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  body:not(.home) .lamerd-primary-menu > li > a {
    min-width: 0;
  }

  body:not(.home) .lamerd-primary-menu .sub-menu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    padding: 4px 12px 10px;
    background: rgba(255,255,255,.04);
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  body:not(.home) .lamerd-primary-menu .sub-menu a {
    color: rgba(255,255,255,.82);
    background: transparent;
  }

  body:not(.home) .lamerd-submenu-toggle,
  .site-header-v2 .mobile-primary-menu .lamerd-submenu-toggle {
    display: grid;
    width: 38px;
    height: 38px;
    margin-block: 4px;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 0;
    border-radius: 9px;
  }

  .lamerd-submenu-toggle span::before {
    content: "+";
    font-size: 1.1rem;
  }

  .lamerd-submenu-toggle[aria-expanded="true"] span::before {
    content: "−";
  }

  .site-header-v2 .home-primary-nav {
    display: none;
  }

  .site-header-v2 .mobile-drawer__search,
  .site-header-v2 .mobile-drawer__actions {
    display: block;
  }

  .site-header-v2 .mobile-drawer__search {
    padding: 12px 18px;
  }

  .site-header-v2 .mobile-drawer__actions {
    display: grid;
    gap: 8px;
    padding: 16px 18px 24px;
  }

  .site-header-v2 .mobile-drawer__actions a {
    padding: 11px 12px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
  }

  .site-header-v2 .mobile-primary-menu {
    margin: 0;
    padding: 0 18px;
  }

  .site-header-v2 .mobile-primary-menu > li {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .site-header-v2 .mobile-primary-menu > li > a {
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
  }

  .site-header-v2 .mobile-primary-menu .sub-menu {
    position: static;
    grid-column: 1 / -1;
    margin: 0 0 10px;
    padding: 5px 10px;
    background: rgba(255,255,255,.05);
    border-radius: 10px;
    list-style: none;
  }

  .site-header-v2 .mobile-primary-menu .sub-menu a {
    display: block;
    padding: 9px 8px;
    color: rgba(255,255,255,.82);
    font-size: .75rem;
    text-decoration: none;
  }

  .lamerd-faculty-index-hero__grid,
  .lamerd-service-hero__grid,
  .lamerd-profile-hero__grid,
  .lamerd-program-hero__grid,
  .lamerd-unit-hero__grid,
  .lamerd-profile-layout,
  .lamerd-program-layout,
  .lamerd-unit-layout {
    grid-template-columns: 1fr;
  }

  .lamerd-profile-portrait {
    max-width: 520px;
  }

  .lamerd-profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lamerd-profile-facts article:nth-child(2) {
    border-inline-end: 0;
  }

  .lamerd-profile-facts article:nth-child(-n+2) {
    border-bottom: 1px solid #e7eef3;
  }

  .lamerd-profile-sidebar,
  .lamerd-program-sidebar,
  .lamerd-unit-sidebar {
    position: static;
  }

  .lamerd-education-grid,
  .lamerd-program-links,
  .lamerd-research-list {
    grid-template-columns: 1fr;
  }

  .lamerd-service-directory__toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .lamerd-brand__marks > span {
    width: 42px;
    height: 42px;
  }

  .lamerd-brand--dual .lamerd-brand__copy {
    max-width: 170px;
  }

  .lamerd-brand--dual .lamerd-brand__title {
    font-size: .76rem;
  }

  .site-header-v2 .main-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header-v2 .brand-copy {
    max-width: 155px;
  }

  .site-header-v2 .brand-copy strong {
    font-size: .72rem;
  }

  .site-header-v2 .brand-copy small {
    display: none;
  }

  .lamerd-faculty-grid-v2,
  .lamerd-program-grid-v2,
  .lamerd-unit-grid-v2,
  .lamerd-service-grid,
  .lamerd-faculty-grid-v2--compact,
  .lamerd-program-grid-v2--compact,
  .lamerd-academic-panels {
    grid-template-columns: 1fr;
  }

  .lamerd-directory-filter {
    grid-template-columns: 1fr;
  }

  .lamerd-faculty-index-hero__numbers {
    grid-template-columns: 1fr;
  }

  .lamerd-faculty-index-hero__numbers article {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .lamerd-faculty-index-hero__numbers article:last-child {
    border-bottom: 0;
  }

  .lamerd-profile-facts {
    grid-template-columns: 1fr;
  }

  .lamerd-profile-facts article {
    border-inline-end: 0;
    border-bottom: 1px solid #e7eef3;
  }

  .lamerd-profile-facts article:last-child {
    border-bottom: 0;
  }

  .lamerd-profile-nav .lamerd-shell {
    width: 100%;
    padding-inline: 12px;
  }

  .admin-bar .lamerd-profile-nav {
    top: 46px;
  }

  .lamerd-service-card-v2 {
    min-height: 250px;
  }

  .lamerd-service-card-v2__foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== source: header.css ===== */
/* Global header v4 — isolated from legacy header layers */

:root {
  --lmr8-admin-offset: 0px;
  --lmr8-header-utility: 32px;
  --lmr8-header-main: 84px;
  --lmr8-header-total: 116px;
  --lmr8-shell: 1360px;
}

.admin-bar {
  --lmr8-admin-offset: 32px;
}

.lmr8-shell {
  width: min(var(--lmr8-shell), calc(100% - 40px));
  margin-inline: auto;
}

.lmr8-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  color: #fff;
  direction: rtl;
  font-family: var(--lmr-font-sans, "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif);
}

.home .lmr8-header.is-overlay {
  position: absolute;
  inset: 0 0 auto;
}

.admin-bar.home .lmr8-header.is-overlay {
  top: var(--lmr8-admin-offset);
}

.lmr8-header__utility {
  min-height: var(--lmr8-header-utility);
  background: rgba(0, 17, 36, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lmr8-header__utility-inner {
  display: flex;
  min-height: var(--lmr8-header-utility);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lmr8-utility-nav,
.lmr8-utility-nav > div {
  min-width: 0;
}

.lmr8-utility-menu {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.lmr8-utility-menu a,
.lmr8-header__utility-actions a {
  color: rgba(255, 255, 255, .74);
  font-size: .68rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.lmr8-utility-menu a:hover,
.lmr8-utility-menu a:focus-visible,
.lmr8-header__utility-actions a:hover,
.lmr8-header__utility-actions a:focus-visible {
  color: #f2d98e;
}

.lmr8-header__utility-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.lmr8-header__utility-actions > span {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, .22);
}

.lmr8-header__main {
  min-height: var(--lmr8-header-main);
  background: rgba(0, 29, 62, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 34px rgba(0, 17, 36, .08);
}

.home .lmr8-header.is-overlay .lmr8-header__main {
  background: linear-gradient(180deg, rgba(0, 29, 62, .99), rgba(0, 37, 72, .95));
  backdrop-filter: blur(12px);
}

.lmr8-header__main-inner {
  position: relative;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) minmax(285px, 330px);
  grid-template-areas: "search nav brand";
  min-height: var(--lmr8-header-main);
  align-items: center;
  gap: 22px;
  direction: ltr;
}

.lmr8-brand {
  grid-area: brand;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  color: #fff;
  direction: rtl;
  text-decoration: none;
}

.lmr8-brand:hover,
.lmr8-brand:focus-visible {
  color: #fff;
}

.lmr8-brand__marks {
  display: flex;
  min-width: 112px;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  flex: 0 0 auto;
  overflow: visible;
}

.lmr8-brand__marks img {
  display: block;
  max-width: none;
  padding: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.lmr8-brand__marks .is-lamerd {
  width: auto;
  height: 56px;
}

.lmr8-brand__marks .is-sutech {
  width: auto;
  height: 51px;
}

.lmr8-brand__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.lmr8-brand__copy strong {
  overflow: hidden;
  color: #fff;
  font-size: .96rem;
  font-weight: 900;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lmr8-brand__copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, .55);
  font-size: .55rem;
  letter-spacing: .01em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lmr8-desktop-nav {
  grid-area: nav;
  min-width: 0;
  direction: rtl;
  height: 100%;
}

.lmr8-menu {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-content: center;
  gap: 1px;
  list-style: none;
}

.lmr8-menu > li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.lmr8-menu > li > a {
  position: relative;
  display: flex;
  min-height: var(--lmr8-header-main);
  padding: 0 9px;
  align-items: center;
  color: rgba(255, 255, 255, .85);
  font-size: clamp(.64rem, .69vw, .76rem);
  font-weight: 760;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.lmr8-menu > li.menu-item-has-children > a {
  padding-inline-end: 21px;
}

.lmr8-menu > li.menu-item-has-children > a::before {
  position: absolute;
  inset-inline-end: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  opacity: .7;
}

.lmr8-menu > li > a::after {
  position: absolute;
  inset-inline: 12px;
  bottom: 0;
  height: 3px;
  background: #e8c962;
  border-radius: 999px 999px 0 0;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.lmr8-menu > li:hover > a,
.lmr8-menu > li:focus-within > a,
.lmr8-menu > .current-menu-item > a,
.lmr8-menu > .current-menu-ancestor > a {
  color: #fff;
  background: rgba(255, 255, 255, .045);
}

.lmr8-menu > li:hover > a::after,
.lmr8-menu > li:focus-within > a::after,
.lmr8-menu > .current-menu-item > a::after,
.lmr8-menu > .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Two-column institutional mega panels. */
.lmr8-menu > li > .sub-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 1px);
  right: 50%;
  display: grid;
  width: min(620px, calc(100vw - 48px));
  max-height: min(68vh, 560px);
  margin: 0;
  padding: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  overflow-y: auto;
  color: #17212b;
  background:
    linear-gradient(135deg, rgba(234, 242, 248, .72), rgba(255, 255, 255, .96) 36%),
    #fff;
  border: 1px solid rgba(0, 58, 113, .13);
  border-top: 3px solid #d5b45c;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 28px 70px rgba(0, 23, 48, .22);
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(50%, 10px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

.lmr8-menu > li:nth-child(-n + 3) > .sub-menu {
  right: 0;
  transform: translate(0, 10px);
}

.lmr8-menu > li:nth-last-child(-n + 3) > .sub-menu {
  right: auto;
  left: 0;
  transform: translate(0, 10px);
}

.lmr8-menu > li:hover > .sub-menu,
.lmr8-menu > li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(50%, 0);
  pointer-events: auto;
}

.lmr8-menu > li:nth-child(-n + 3):hover > .sub-menu,
.lmr8-menu > li:nth-child(-n + 3):focus-within > .sub-menu,
.lmr8-menu > li:nth-last-child(-n + 3):hover > .sub-menu,
.lmr8-menu > li:nth-last-child(-n + 3):focus-within > .sub-menu {
  transform: translate(0, 0);
}

.lmr8-menu .sub-menu li {
  min-width: 0;
}

.lmr8-menu .sub-menu > li > a {
  position: relative;
  display: flex;
  min-height: 48px;
  padding: 10px 13px;
  align-items: center;
  color: #082d53;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(0, 58, 113, .07);
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 820;
  line-height: 1.65;
  text-decoration: none;
}

.lmr8-menu .sub-menu > li > a::before {
  width: 7px;
  height: 7px;
  margin-inline-end: 9px;
  flex: 0 0 7px;
  background: #d5b45c;
  border-radius: 50%;
  content: "";
}

.lmr8-menu .sub-menu a:hover,
.lmr8-menu .sub-menu a:focus-visible {
  color: #001d3e;
  background: #eef5f9;
  border-color: rgba(0, 58, 113, .14);
}

.lmr8-menu .sub-menu .sub-menu {
  display: grid;
  margin: 4px 12px 10px;
  padding: 0;
  gap: 3px;
  list-style: none;
}

.lmr8-menu .sub-menu .sub-menu a {
  display: block;
  padding: 7px 10px;
  color: #50657a;
  border-radius: 8px;
  font-size: .7rem;
  line-height: 1.55;
  text-decoration: none;
}

.lmr8-desktop-search {
  grid-area: search;
  display: flex;
  direction: rtl;
  width: 100%;
  height: 42px;
  padding-inline: 13px 8px;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
}

.lmr8-desktop-search:focus-within {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(229, 201, 105, .72);
}

.lmr8-desktop-search input {
  min-width: 0;
  width: 100%;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: .68rem;
}

.lmr8-desktop-search input::placeholder {
  color: rgba(255, 255, 255, .52);
}

.lmr8-desktop-search button,
.lmr8-icon-button {
  display: grid;
  padding: 0;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.lmr8-desktop-search button {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.lmr8-desktop-search svg,
.lmr8-icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.lmr8-mobile-actions,
.lmr8-search-panel,
.lmr8-drawer,
.lmr8-backdrop {
  display: none;
}

body.lmr8-panel-open {
  overflow: hidden;
}

@media (max-width: 1279px) {
  :root {
    --lmr8-header-utility: 0px;
    --lmr8-header-main: 72px;
    --lmr8-header-total: 72px;
  }

  .admin-bar {
    --lmr8-admin-offset: 32px;
  }

  .home .lmr8-header.is-overlay,
  .admin-bar.home .lmr8-header.is-overlay,
  .lmr8-header {
    position: sticky;
    top: var(--lmr8-admin-offset);
    inset-inline: 0;
  }

  .lmr8-header__utility {
    display: none;
  }

  .lmr8-header__main {
    min-height: 72px;
    background: #001d3e;
    box-shadow: 0 7px 24px rgba(0, 17, 36, .18);
  }

  .lmr8-header__main-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand mobile-actions";
    min-height: 72px;
    gap: 12px;
    direction: rtl;
  }

  .lmr8-desktop-nav,
  .lmr8-desktop-search {
    display: none;
  }

  .lmr8-mobile-actions {
    grid-area: mobile-actions;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .lmr8-icon-button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 11px;
  }

  .lmr8-icon-button:hover,
  .lmr8-icon-button:focus-visible {
    background: rgba(255, 255, 255, .08);
  }

  .lmr8-icon-button.is-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .lmr8-icon-button.is-menu span {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
  }

  .lmr8-brand {
    gap: 9px;
  }

  .lmr8-brand__marks {
    min-width: 77px;
    gap: 5px;
  }

  .lmr8-brand__marks .is-lamerd {
    height: 39px;
  }

  .lmr8-brand__marks .is-sutech {
    height: 35px;
  }

  .lmr8-brand__copy strong {
    font-size: .78rem;
  }

  .lmr8-brand__copy small {
    display: none;
  }

  .lmr8-search-panel {
    position: fixed;
    z-index: 1010;
    top: calc(var(--lmr8-admin-offset) + 72px);
    inset-inline: 0;
    display: block;
    padding: 14px 0 18px;
    color: #fff;
    background: #002b54;
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 22px 50px rgba(0, 17, 36, .25);
  }

  .lmr8-search-panel[hidden] {
    display: none;
  }

  .lmr8-search-panel form {
    display: grid;
    gap: 7px;
  }

  .lmr8-search-panel label {
    color: rgba(255, 255, 255, .68);
    font-size: .7rem;
    font-weight: 800;
  }

  .lmr8-search-panel form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 42px;
    gap: 8px;
  }

  .lmr8-search-panel input {
    min-width: 0;
    height: 46px;
    padding-inline: 14px;
    color: #17212b;
    background: #fff;
    border: 0;
    border-radius: 11px;
    outline: 0;
  }

  .lmr8-search-panel button {
    min-height: 46px;
    padding-inline: 18px;
    color: #001d3e;
    background: #e8c962;
    border: 0;
    border-radius: 11px;
    font-weight: 900;
    cursor: pointer;
  }

  .lmr8-search-panel button.is-close {
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    font-size: 1.4rem;
  }

  .lmr8-backdrop {
    position: fixed;
    z-index: 1005;
    inset: var(--lmr8-admin-offset) 0 0;
    display: block;
    background: rgba(0, 12, 26, .66);
    border: 0;
    opacity: 0;
    transition: opacity .18s ease;
  }

  .lmr8-backdrop[hidden] {
    display: none;
  }

  .lmr8-backdrop.is-visible {
    opacity: 1;
  }

  .lmr8-drawer {
    position: fixed;
    z-index: 1020;
    top: var(--lmr8-admin-offset);
    right: 0;
    display: flex;
    width: min(420px, 92vw);
    height: calc(100dvh - var(--lmr8-admin-offset));
    flex-direction: column;
    color: #fff;
    background:
      radial-gradient(circle at 100% 0, rgba(7, 91, 154, .3), transparent 28%),
      #001d3e;
    box-shadow: -24px 0 70px rgba(0, 17, 36, .38);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .22s ease, visibility .22s;
  }

  .lmr8-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .lmr8-drawer__head {
    display: flex;
    min-height: 76px;
    padding: 14px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .lmr8-drawer__head > div {
    display: grid;
    gap: 2px;
  }

  .lmr8-drawer__head strong {
    font-size: .94rem;
  }

  .lmr8-drawer__head small {
    color: rgba(255, 255, 255, .58);
    font-size: .66rem;
  }

  .lmr8-drawer__head button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 0;
    border-radius: 11px;
    font-size: 1.45rem;
    cursor: pointer;
  }

  .lmr8-mobile-nav {
    min-height: 0;
    padding: 8px 14px;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .lmr8-mobile-menu {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .lmr8-mobile-menu li {
    min-width: 0;
  }

  .lmr8-mobile-menu > li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .lmr8-mobile-menu a {
    min-width: 0;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
  }

  .lmr8-mobile-menu > li > a {
    padding: 14px 5px;
    font-size: .84rem;
    font-weight: 850;
  }

  .lmr8-submenu-toggle {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 0;
    border-radius: 9px;
    cursor: pointer;
  }

  .lmr8-submenu-toggle::before {
    content: "+";
    font-size: 1.12rem;
    line-height: 1;
  }

  .lmr8-submenu-toggle[aria-expanded="true"]::before {
    content: "−";
  }

  .lmr8-mobile-menu .sub-menu {
    grid-column: 1 / -1;
    display: grid;
    margin: 0 0 10px;
    padding: 7px 10px;
    gap: 2px;
    background: rgba(255, 255, 255, .05);
    border-radius: 12px;
    list-style: none;
  }

  .lmr8-mobile-menu .sub-menu[hidden] {
    display: none;
  }

  .lmr8-mobile-menu .sub-menu a {
    display: block;
    padding: 9px 10px;
    color: rgba(255, 255, 255, .76);
    border-radius: 8px;
    font-size: .75rem;
    line-height: 1.65;
  }

  .lmr8-mobile-menu .sub-menu a:hover,
  .lmr8-mobile-menu .sub-menu a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
  }

  .lmr8-mobile-menu .sub-menu .sub-menu {
    margin-block: 2px 6px;
    background: rgba(0, 17, 36, .24);
  }

  .lmr8-drawer__quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .lmr8-drawer__quick a {
    display: flex;
    min-height: 42px;
    padding: 9px 11px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    font-size: .71rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .lmr8-drawer__quick a.is-primary {
    color: #001d3e;
    background: #e8c962;
  }
}

@media (max-width: 782px) {
  .admin-bar {
    --lmr8-admin-offset: 46px;
  }
}

@media (max-width: 520px) {
  .lmr8-shell {
    width: calc(100% - 24px);
  }

  .lmr8-brand__marks {
    min-width: 68px;
    gap: 4px;
  }

  .lmr8-brand__marks .is-lamerd {
    height: 35px;
  }

  .lmr8-brand__marks .is-sutech {
    height: 31px;
  }

  .lmr8-brand__copy {
    max-width: 165px;
  }

  .lmr8-brand__copy strong {
    font-size: .71rem;
  }

  .lmr8-icon-button {
    width: 40px;
    height: 40px;
  }

  .lmr8-search-panel form > div {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .lmr8-search-panel button[type="submit"] {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 42px;
  }

  .lmr8-search-panel button.is-close {
    grid-column: 2;
    grid-row: 1;
  }

  .lmr8-drawer__quick {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmr8-menu > li > .sub-menu,
  .lmr8-backdrop,
  .lmr8-drawer {
    transition: none;
  }
}


/* 0.8.0 header hardening */
.lmr8-header,
.lmr8-header__main,
.lmr8-header__main-inner,
.lmr8-brand,
.lmr8-brand__marks {
  clip-path: none !important;
  contain: none;
}

.lmr8-brand,
.lmr8-brand__marks {
  overflow: visible !important;
}

.lmr8-brand__marks img {
  max-height: none;
  clip-path: none !important;
}

.lmr8-mega-title {
  grid-column: 1 / -1;
  display: flex;
  min-height: 54px;
  margin-bottom: 6px;
  padding: 4px 5px 13px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(0, 58, 113, .12);
}

.lmr8-mega-title strong {
  color: #001d3e;
  font-size: 1rem;
  font-weight: 950;
}

.lmr8-mega-title small {
  color: #708194;
  font-size: .68rem;
  font-weight: 700;
}

@media (max-width: 1279px) {
  .lmr8-mobile-menu .sub-menu li.menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
  }

  .lmr8-mobile-menu .sub-menu li.menu-item-has-children > .sub-menu {
    grid-column: 1 / -1;
    width: 100%;
  }

  .lmr8-mobile-menu .sub-menu li.menu-item-has-children > a {
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .lmr8-header__main-inner {
    gap: 7px;
  }

  .lmr8-brand {
    gap: 6px;
  }

  .lmr8-brand__marks {
    min-width: 61px;
    gap: 3px;
  }

  .lmr8-brand__marks .is-lamerd {
    height: 31px;
  }

  .lmr8-brand__marks .is-sutech {
    height: 28px;
  }

  .lmr8-brand__copy {
    max-width: 132px;
  }

  .lmr8-brand__copy strong {
    font-size: .65rem;
  }

  .lmr8-mobile-actions {
    gap: 5px;
  }

  .lmr8-icon-button {
    width: 37px;
    height: 37px;
  }
}


/* 0.8.2 production polish */
.lmr8-brand{min-width:0;gap:10px;}
.lmr8-brand__marks{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:0;}
.lmr8-brand__marks img{display:block;width:auto;max-width:none;height:44px;object-fit:contain;}
.lmr8-brand__copy{min-width:0;}
.lmr8-brand__copy strong,.lmr8-brand__copy small{white-space:normal;}
@media (max-width: 1100px){.lmr8-brand__marks img{height:38px}.lmr8-brand__copy small{font-size:.55rem;line-height:1.5}}
@media (max-width: 760px){.lmr8-brand{gap:8px}.lmr8-brand__marks img{height:34px}.lmr8-brand__copy strong{font-size:.76rem;line-height:1.45}.lmr8-brand__copy small{display:none}}

/* ===== source: home-foundation.css ===== */

:root{
  --navy-950:#00050b;
  --navy-900:#00101f;
  --navy-800:#001b33;
  --navy-700:#012444;
  --navy-600:#022f59;
  --blue-500:#013a71;
  --blue-400:#004588;
  --blue-300:#004f9a;
  --blue-100:#e8f2fa;
  --blue-50:#f4f8fb;
  --gold-700:#b89827;
  --gold-500:#d6ad37;
  --gold-200:#dec368;
  --gold-100:#e3ca7a;
  --ink:#142536;
  --muted:#667687;
  --line:rgba(1,58,113,.13);
  --line-dark:rgba(255,255,255,.12);
  --surface:#ffffff;
  --surface-soft:#f7fafc;
  --surface-warm:#fbfaf6;
  --success:#2c7a5a;
  --shadow-sm:0 10px 28px rgba(1,36,68,.07);
  --shadow-md:0 18px 50px rgba(1,36,68,.11);
  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:20px;
  --container:min(1280px,calc(100% - 64px));
  --section-space:88px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif;line-height:1.85;overflow-x:hidden}
body.nav-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;width:100%}
button,input{font:inherit}
button{cursor:pointer}
.container{width:var(--container);margin-inline:auto}
.skip-link{position:fixed;right:18px;top:-80px;z-index:9999;padding:10px 16px;background:#fff;color:var(--navy-900);border-radius:8px;box-shadow:var(--shadow-md)}
.skip-link:focus{top:18px}
:focus-visible{outline:3px solid rgba(214,173,55,.78);outline-offset:3px}
.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}
.section{padding:var(--section-space) 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.section-head-main{max-width:680px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--gold-700);font-size:.76rem;font-weight:800;letter-spacing:.01em}
.eyebrow::before{content:"";width:34px;height:1px;background:currentColor}
.section-title{margin:7px 0 0;font-size:clamp(1.9rem,3vw,2.75rem);line-height:1.35;color:var(--navy-900);font-weight:900;letter-spacing:-.035em}
.section-copy{max-width:640px;margin:10px 0 0;color:var(--muted);font-size:.9rem;line-height:2}
.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--blue-400);font-size:.8rem;font-weight:800;white-space:nowrap}
.text-link svg{width:18px;transition:transform .2s ease}
.text-link:hover svg{transform:translateX(-4px)}
.btn{min-height:48px;padding:0 22px;border-radius:8px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.84rem;font-weight:800;transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--blue-400);color:#fff;box-shadow:0 12px 30px rgba(0,69,136,.24)}
.btn-primary:hover{background:var(--blue-300)}
.btn-outline{background:rgba(0,16,31,.26);color:#fff;border-color:rgba(255,255,255,.45);backdrop-filter:blur(8px)}
.btn-outline:hover{background:rgba(255,255,255,.1)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}

/* Header */
.site-header{position:absolute;inset:0 0 auto;z-index:100;color:#fff}
.utility-bar{height:34px;background:rgba(0,16,31,.72);border-bottom:1px solid rgba(255,255,255,.09);backdrop-filter:blur(12px)}
.utility-bar .container{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.utility-group{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.66);font-size:.64rem}
.utility-group a:hover{color:#fff}
.utility-divider{width:1px;height:12px;background:rgba(255,255,255,.18)}
.service-link{color:var(--gold-100)!important;font-weight:800}
.main-nav-shell{height:82px;background:linear-gradient(180deg,rgba(0,16,31,.97),rgba(0,27,51,.88));border-bottom:1px solid rgba(255,255,255,.1);backdrop-filter:blur(16px);transition:.25s}
.main-nav-shell .container{height:100%;display:grid;grid-template-columns:minmax(260px,auto) 1fr minmax(210px,auto);align-items:center;gap:22px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-mark{width:48px;height:48px;display:grid;place-items:center;position:relative;color:var(--gold-100);flex:0 0 auto}
.brand-mark::before,.brand-mark::after{content:"";position:absolute;transform:rotate(45deg);border:1px solid currentColor}
.brand-mark::before{inset:3px}
.brand-mark::after{inset:12px}
.brand-mark b{font-size:1.05rem}
.brand-copy{min-width:0}
.brand-copy strong{display:block;font-size:1rem;font-weight:900;white-space:nowrap}
.brand-copy small{display:block;color:rgba(255,255,255,.54);font-size:.55rem;white-space:nowrap}
.primary-nav{display:flex;justify-content:center;align-items:center;gap:19px;list-style:none;margin:0;padding:0}
.primary-nav a{position:relative;padding:28px 0 24px;color:rgba(255,255,255,.82);font-size:.75rem;font-weight:650;white-space:nowrap}
.primary-nav a::after{content:"";position:absolute;right:50%;left:50%;bottom:17px;height:2px;background:var(--gold-500);transition:.2s ease}
.primary-nav a:hover,.primary-nav a:focus-visible{color:#fff}
.primary-nav a:hover::after,.primary-nav a:focus-visible::after{right:0;left:0}
.nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.search-form{height:40px;width:170px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);border-radius:999px;display:flex;align-items:center;padding:0 13px;transition:.2s}
.search-form:focus-within{width:210px;border-color:rgba(222,195,104,.7);background:rgba(255,255,255,.1)}
.search-form input{width:100%;border:0;background:transparent;color:#fff;outline:0;font-size:.68rem}
.search-form input::placeholder{color:rgba(255,255,255,.52)}
.search-form button{border:0;background:transparent;color:#fff;padding:0;display:grid;place-items:center}
.search-form svg{width:17px}
.mobile-search{display:none}
.menu-toggle{display:none;width:40px;height:40px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);color:#fff;border-radius:8px}
.menu-toggle span,.menu-toggle::before,.menu-toggle::after{content:"";display:block;width:18px;height:2px;background:currentColor;margin:4px auto;transition:.2s}
.site-header.is-sticky{position:fixed}
.site-header.is-sticky .utility-bar{display:none}
.site-header.is-sticky .main-nav-shell{height:68px;background:rgba(0,16,31,.97);box-shadow:0 12px 36px rgba(0,0,0,.18)}
.mobile-drawer{display:none}

/* Hero */
.hero{position:relative;height:690px;min-height:620px;overflow:hidden;background:var(--navy-800)}
.hero-media{position:absolute;inset:0;width:100%;height:100%}
.hero-media img{height:100%;object-fit:cover;object-position:64% 50%}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,16,31,.98) 0%,rgba(0,27,51,.94) 33%,rgba(1,36,68,.72) 55%,rgba(1,36,68,.18) 82%,rgba(1,36,68,.05) 100%),linear-gradient(180deg,transparent 62%,rgba(0,16,31,.28))}
.hero::after{content:"";position:absolute;z-index:2;left:-100px;top:155px;width:440px;height:320px;opacity:.055;background-image:linear-gradient(30deg,transparent 48.7%,#e3ca7a 49.2%,#e3ca7a 49.8%,transparent 50.3%),linear-gradient(-30deg,transparent 48.7%,#e3ca7a 49.2%,#e3ca7a 49.8%,transparent 50.3%);background-size:72px 42px;mask-image:linear-gradient(90deg,#000,transparent)}
.hero .container{height:100%;position:relative;z-index:3}
.hero-inner{height:100%;display:flex;align-items:center;padding-top:110px}
.hero-copy{width:min(630px,54%);margin-right:auto;color:#fff}
.hero-kicker{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:var(--gold-100);font-size:.75rem;font-weight:800}
.hero-kicker::before{content:"";width:42px;height:1px;background:var(--gold-500)}
.hero h1{margin:0;font-size:clamp(3rem,4.5vw,4.45rem);line-height:1.18;letter-spacing:-.055em;font-weight:900;white-space:nowrap;text-shadow:0 14px 42px rgba(0,0,0,.2)}
.hero-subtitle{margin:15px 0 0;color:var(--gold-100);font-size:clamp(1rem,1.35vw,1.22rem);font-weight:750}
.hero-description{max-width:560px;margin:15px 0 26px;color:rgba(255,255,255,.76);font-size:.9rem;line-height:2}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.hero-caption{position:absolute;left:0;bottom:56px;display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.62);font-size:.64rem}
.hero-caption::before{content:"";width:64px;height:1px;background:rgba(227,202,122,.5)}

/* At a glance */
.glance{position:relative;z-index:7;margin-top:-38px}
.glance-shell{background:#fff;border:1px solid rgba(1,58,113,.1);border-radius:var(--radius-md);box-shadow:var(--shadow-md);padding:24px 26px 22px}
.glance-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.glance-head h2{margin:0;color:var(--navy-900);font-size:1.05rem;font-weight:900}
.glance-head span{color:var(--muted);font-size:.66rem}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{position:relative;display:flex;align-items:center;justify-content:center;gap:11px;min-height:72px;padding:8px 18px}
.stat:not(:last-child)::after{content:"";position:absolute;left:0;top:12px;bottom:12px;width:1px;background:var(--line)}
.stat strong{color:var(--navy-900);font-size:1.8rem;line-height:1;font-weight:900;letter-spacing:-.05em}
.stat div{display:flex;flex-direction:column}
.stat b{color:var(--blue-500);font-size:.7rem}
.stat small{color:var(--muted);font-size:.57rem}

/* News */
.news-section{padding-top:72px;background:linear-gradient(180deg,#f6fafc 0,#fff 28%)}
.news-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(310px,.86fr);gap:24px;align-items:stretch}
.news-panel{min-width:0}
.news-panel-head,.announcements-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.news-panel-head h2,.announcements-head h2{margin:0;color:var(--navy-900);font-size:1.45rem;line-height:1.4;font-weight:900}
.news-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:16px;height:100%}
.featured-news{position:relative;min-height:500px;border-radius:var(--radius-md);overflow:hidden;background:var(--navy-800);box-shadow:var(--shadow-md)}
.featured-news img{height:100%;object-fit:cover;transition:transform .5s ease}
.featured-news:hover img{transform:scale(1.025)}
.featured-news::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,16,31,.02) 30%,rgba(0,16,31,.18) 52%,rgba(0,16,31,.92) 100%)}
.featured-copy{position:absolute;z-index:2;right:0;left:0;bottom:0;padding:80px 28px 26px;background:linear-gradient(180deg,transparent,rgba(0,16,31,.8) 38%,rgba(0,16,31,.96))}
.featured-copy time{color:var(--gold-100);font-size:.67rem}
.featured-copy h3{max-width:630px;margin:7px 0 9px;color:#fff;font-size:1.35rem;line-height:1.65;font-weight:900}
.featured-copy p{max-width:600px;margin:0;color:rgba(255,255,255,.72);font-size:.75rem;line-height:1.95}
.news-stack{display:grid;grid-template-rows:repeat(3,1fr);gap:12px}
.news-row{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center;min-height:0;padding:10px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.news-row:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm);border-color:rgba(0,69,136,.26)}
.news-row img{height:100%;min-height:116px;object-fit:cover;border-radius:8px}
.news-row time{color:var(--gold-700);font-size:.58rem}
.news-row h3{margin:5px 0;color:var(--navy-900);font-size:.82rem;line-height:1.8;font-weight:850}
.news-row span{color:var(--muted);font-size:.58rem}
.announcements{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:21px 20px;box-shadow:0 12px 35px rgba(1,36,68,.05)}
.announcements-list{display:flex;flex-direction:column}
.announcement{display:grid;grid-template-columns:70px 1fr;gap:12px;padding:16px 0;border-top:1px solid var(--line)}
.announcement:first-child{border-top:0;padding-top:3px}
.announcement-date{width:70px;height:36px;border:1px solid rgba(0,69,136,.16);border-radius:999px;background:var(--blue-50);display:inline-flex;align-items:center;justify-content:center;gap:5px;line-height:1;white-space:nowrap}
.announcement-date strong{color:var(--blue-500);font-size:.78rem;font-weight:900}
.announcement-date span{margin:0;color:var(--muted);font-size:.58rem;font-weight:700}
.announcement-content{min-width:0}
.announcement h3{margin:0;color:var(--navy-900);font-size:.75rem;line-height:1.75;font-weight:800}
.announcement-source{display:block;margin-top:4px;color:var(--muted);font-size:.56rem}
.announcement:hover h3{color:var(--blue-400)}

/* Programs */
.programs-section{background:var(--navy-700);position:relative;overflow:hidden;color:#fff}
.programs-section::before{content:"";position:absolute;inset:0;opacity:.055;background-image:linear-gradient(30deg,transparent 48.7%,#fff 49.2%,#fff 49.8%,transparent 50.3%),linear-gradient(-30deg,transparent 48.7%,#fff 49.2%,#fff 49.8%,transparent 50.3%);background-size:82px 48px;mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent)}
.programs-section .container{position:relative;z-index:1}
.programs-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:28px}
.programs-head h2{margin:0;color:#fff;font-size:clamp(1.85rem,2.8vw,2.55rem);font-weight:900}
.programs-head .text-link{color:var(--gold-100)}
.program-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.program-card{min-height:145px;padding:22px 20px;border:1px solid rgba(255,255,255,.13);border-radius:var(--radius-sm);background:rgba(255,255,255,.055);display:flex;flex-direction:column;justify-content:space-between;transition:.22s ease}
.program-card:hover{background:rgba(255,255,255,.09);border-color:rgba(227,202,122,.42);transform:translateY(-3px)}
.program-icon{width:42px;height:42px;color:var(--gold-100);display:grid;place-items:center;border:1px solid rgba(227,202,122,.38);border-radius:10px;background:rgba(0,16,31,.18)}
.program-icon svg{width:22px}
.program-card h3{margin:24px 0 0;color:#fff;font-size:1.02rem;font-weight:850}

/* Events */
.events-section{background:#fff}
.events-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.event-card{position:relative;aspect-ratio:4/5;border-radius:var(--radius-md);overflow:hidden;background:var(--navy-800);box-shadow:var(--shadow-sm)}
.event-card img{height:100%;object-fit:cover;transition:transform .5s ease}
.event-card:hover img{transform:scale(1.03)}
.event-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,16,31,.02) 28%,rgba(0,16,31,.12) 48%,rgba(0,16,31,.94) 100%)}
.event-date{position:absolute;z-index:3;top:16px;right:16px;width:54px;height:62px;border-radius:9px;background:rgba(255,255,255,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;box-shadow:0 8px 24px rgba(0,0,0,.13)}
.event-date b{color:var(--navy-900);font-size:1.2rem}
.event-date span{margin-top:6px;color:var(--blue-500);font-size:.58rem}
.event-copy{position:absolute;z-index:3;right:0;left:0;bottom:0;padding:62px 20px 19px;background:linear-gradient(180deg,transparent,rgba(0,16,31,.86) 48%,rgba(0,16,31,.98))}
.event-copy small{color:var(--gold-100);font-size:.6rem}
.event-copy h3{margin:5px 0 9px;color:#fff;font-size:.94rem;line-height:1.8;font-weight:850}
.event-copy p{margin:0;color:rgba(255,255,255,.66);font-size:.6rem}

/* Discover Lamerd */
.lamerd-section{background:linear-gradient(180deg,var(--surface-soft),#fff);position:relative}
.lamerd-section::before{content:"";position:absolute;right:0;left:0;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold-200),transparent)}
.lamerd-intro{display:flex;align-items:end;justify-content:space-between;gap:26px;margin-bottom:28px}
.lamerd-intro .section-copy{max-width:600px;margin-bottom:2px}
.lamerd-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lamerd-card{position:relative;aspect-ratio:1.22/1;border-radius:var(--radius-md);overflow:hidden;background:var(--navy-800);box-shadow:var(--shadow-sm)}
.lamerd-card img{height:100%;object-fit:cover;transition:transform .55s ease}
.lamerd-card:hover img{transform:scale(1.035)}
.lamerd-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,16,31,.02) 22%,rgba(0,16,31,.14) 54%,rgba(0,16,31,.87) 100%)}
.lamerd-card:nth-child(2)::after{background:linear-gradient(180deg,rgba(0,39,67,.02) 20%,rgba(0,39,67,.15) 52%,rgba(0,39,67,.88) 100%)}
.lamerd-card-content{position:absolute;z-index:3;right:0;left:0;bottom:0;padding:66px 22px 21px}
.lamerd-card-content span{color:var(--gold-100);font-size:.61rem;font-weight:750}
.lamerd-card-content h3{margin:4px 0 4px;color:#fff;font-size:1.1rem;font-weight:900}
.lamerd-card-content p{margin:0;color:rgba(255,255,255,.7);font-size:.64rem;line-height:1.9}

/* Student life */
.life-section{background:#fff}
.life-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;grid-template-areas:"main classroom classroom" "main facilities sport";gap:16px;align-items:stretch}
.life-card{display:flex;flex-direction:column;min-height:0;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;background:#fff;box-shadow:var(--shadow-sm)}
.life-card.main{grid-area:main}
.life-card.classroom{grid-area:classroom;display:grid;grid-template-columns:1.18fr .82fr;direction:ltr}
.life-card.facilities{grid-area:facilities}
.life-card.sport{grid-area:sport}
.life-media{min-height:220px;overflow:hidden;background:var(--blue-50)}
.life-card.main .life-media{flex:1;min-height:450px}
.life-card.classroom .life-media{height:100%;min-height:280px}
.life-media img{height:100%;object-fit:cover;transition:transform .5s ease}
.life-card:hover img{transform:scale(1.025)}
.life-content{position:relative;padding:20px 21px 19px;background:#fff;direction:rtl}
.life-card.classroom .life-content{display:flex;flex-direction:column;justify-content:center;padding:28px 26px}
.life-content::before{content:"";position:absolute;right:21px;top:0;width:42px;height:2px;background:var(--gold-500)}
.life-content h3{margin:3px 0 7px;color:var(--navy-900);font-size:1rem;font-weight:900}
.life-content p{margin:0;color:var(--muted);font-size:.69rem;line-height:1.9}
.life-action{margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--blue-400);font-size:.68rem;font-weight:800}
.life-action svg{width:17px}

/* Contact & social */
.contact-section{padding:0 0 84px;background:#fff}
.contact-shell{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.9fr);gap:18px}
.contact-card,.social-card{border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}
.contact-card{background:linear-gradient(135deg,#f8fbfd,#eef5f9);padding:26px 28px}
.contact-card-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:22px}
.contact-card h2,.social-card h2{margin:0;color:var(--navy-900);font-size:1.35rem;font-weight:900}
.contact-card-head p{max-width:500px;margin:7px 0 0;color:var(--muted);font-size:.7rem}
.contact-items{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.contact-item{padding:14px 15px;border:1px solid rgba(1,58,113,.1);border-radius:10px;background:rgba(255,255,255,.78)}
.contact-item small{display:block;color:var(--muted);font-size:.56rem}
.contact-item strong{display:block;margin-top:5px;color:var(--navy-900);font-size:.76rem;line-height:1.7}
.contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.contact-actions .btn{min-height:42px;font-size:.72rem}
.contact-actions .btn-outline-light{background:#fff;border-color:var(--line);color:var(--blue-400)}
.social-card{padding:26px;background:var(--surface-warm)}
.social-card p{margin:8px 0 20px;color:var(--muted);font-size:.68rem;line-height:1.9}
.social-links{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.social-link{min-height:54px;padding:10px 12px;border:1px solid rgba(184,152,39,.2);border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px}
.social-link svg{width:20px;color:var(--blue-400)}
.social-link span{font-size:.69rem;font-weight:800;color:var(--navy-900)}
.social-note{display:block;margin-top:14px;color:var(--muted);font-size:.54rem}

/* Footer */
.site-footer{position:relative;background:var(--navy-900);color:#fff;overflow:hidden}
.footer-pattern{position:absolute;inset:0;opacity:.045;background-image:linear-gradient(30deg,transparent 48.7%,#fff 49.2%,#fff 49.8%,transparent 50.3%),linear-gradient(-30deg,transparent 48.7%,#fff 49.2%,#fff 49.8%,transparent 50.3%);background-size:82px 48px;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.footer-top-rule{position:relative;height:18px;background:#fff;clip-path:polygon(0 0,100% 0,100% 30%,80% 30%,78% 100%,22% 100%,20% 30%,0 30%)}
.footer-main{position:relative;z-index:2;padding:66px 0 38px}
.footer-grid{display:grid;grid-template-columns:1.35fr .8fr .85fr 1.1fr;gap:40px}
.footer-brand{display:flex;align-items:center;gap:13px;margin-bottom:18px}
.footer-brand strong{display:block;font-size:1.02rem;font-weight:900}
.footer-brand small{display:block;color:rgba(255,255,255,.53);font-size:.57rem}
.footer-about{margin:0;color:rgba(255,255,255,.64);font-size:.7rem;line-height:2}
.footer-title{margin:3px 0 18px;color:#fff;font-size:.82rem;font-weight:900}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.footer-links a{color:rgba(255,255,255,.66);font-size:.67rem;transition:.2s}
.footer-links a:hover{color:var(--gold-100)}
.footer-contact{display:grid;gap:11px}
.footer-contact-item{display:grid;grid-template-columns:52px 1fr;gap:9px;font-size:.65rem}
.footer-contact-item b{color:var(--gold-100)}
.footer-contact-item span{color:rgba(255,255,255,.65);line-height:1.85}
.footer-utility{position:relative;z-index:2;border-top:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark);background:rgba(255,255,255,.025)}
.footer-utility-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr .9fr;gap:0}
.utility-box{min-height:112px;padding:20px 22px;border-left:1px solid var(--line-dark);display:flex;flex-direction:column;justify-content:center}
.utility-box:last-child{border-left:0}
.utility-box small{color:rgba(255,255,255,.47);font-size:.55rem}
.utility-box strong{margin-top:5px;color:#fff;font-size:.75rem;line-height:1.75}
.motto-box strong{color:var(--gold-100)}
.dynamic-stats{display:flex;gap:18px;margin-top:9px}
.dynamic-stats span{display:flex;flex-direction:column}
.dynamic-stats b{font-size:.76rem;color:#fff}
.dynamic-stats em{font-style:normal;font-size:.5rem;color:rgba(255,255,255,.45)}
.enamad-placeholder{width:84px;height:56px;margin-top:8px;border:1px dashed rgba(255,255,255,.24);border-radius:8px;display:grid;place-items:center;text-align:center;color:rgba(255,255,255,.5);font-size:.5rem;line-height:1.5}
.footer-social{display:flex;gap:8px;margin-top:10px}
.footer-social a{width:34px;height:34px;border:1px solid rgba(255,255,255,.14);border-radius:8px;display:grid;place-items:center;color:#fff}
.footer-social svg{width:17px}
.footer-bottom{position:relative;z-index:2;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:22px;color:rgba(255,255,255,.48);font-size:.58rem}
.footer-bottom-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.footer-bottom a:hover{color:#fff}

/* Reveal */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.reveal.is-visible{opacity:1;transform:none}

/* Responsive */
@media (max-width:1180px){
  :root{--container:min(100% - 40px,1120px)}
  .main-nav-shell .container{grid-template-columns:minmax(250px,auto) 1fr auto;gap:15px}
  .primary-nav{gap:13px}
  .primary-nav a{font-size:.69rem}
  .search-form{width:42px;padding:0 12px}
  .search-form input{width:0;opacity:0;pointer-events:none}
  .search-form:focus-within{width:190px}
  .search-form:focus-within input{width:100%;opacity:1;pointer-events:auto}
  .news-layout{grid-template-columns:minmax(0,2fr) 300px}
  .footer-grid{gap:28px}
}
@media (max-width:980px){
  :root{--section-space:72px;--container:min(100% - 32px,900px)}
  .utility-bar{display:none}
  .main-nav-shell{height:72px}
  .main-nav-shell .container{grid-template-columns:1fr auto}
  .primary-nav,.search-form{display:none}
  .nav-actions{grid-column:2}
  .mobile-search,.menu-toggle{display:grid}
  .mobile-search{width:40px;height:40px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);color:#fff;border-radius:8px;place-items:center}
  .mobile-search svg{width:18px}
  .hero{height:650px}
  .hero-inner{padding-top:70px}
  .hero-copy{width:min(610px,65%)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2)::after{display:none}
  .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .news-layout{grid-template-columns:1fr}
  .announcements{margin-top:2px}
  .program-grid{grid-template-columns:repeat(2,1fr)}
  .events-grid{grid-template-columns:repeat(2,1fr)}
  .lamerd-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .life-grid{grid-template-columns:1fr 1fr;grid-template-areas:"main classroom" "main facilities" "sport sport"}
  .life-card.classroom{display:flex}
  .life-card.classroom .life-media{min-height:240px}
  .life-card.sport{display:grid;grid-template-columns:1.1fr .9fr;direction:ltr}
  .life-card.sport .life-content{direction:rtl;display:flex;flex-direction:column;justify-content:center}
  .contact-shell{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr;gap:34px}
  .footer-grid>div:last-child{grid-column:1/-1}
  .footer-utility-grid{grid-template-columns:repeat(2,1fr)}
  .utility-box:nth-child(2){border-left:0}
  .utility-box:nth-child(-n+2){border-bottom:1px solid var(--line-dark)}
  .mobile-drawer{position:fixed;inset:72px 0 0;z-index:90;display:block;background:rgba(0,16,31,.98);padding:28px 18px;transform:translateX(100%);transition:.25s ease}
  .mobile-drawer.open{transform:none}
  .mobile-drawer nav{display:grid;gap:2px}
  .mobile-drawer a{padding:13px 8px;border-bottom:1px solid rgba(255,255,255,.08);color:#fff;font-size:.82rem}
  .mobile-drawer .drawer-service{margin-top:18px;border:1px solid rgba(227,202,122,.35);color:var(--gold-100);text-align:center;border-radius:8px}
}
@media (max-width:720px){
  :root{--container:calc(100% - 24px);--section-space:62px}
  .section-head,.programs-head,.lamerd-intro,.contact-card-head{align-items:flex-start;flex-direction:column}
  .section-head{margin-bottom:24px}
  .brand-copy strong{font-size:.88rem}
  .brand-copy small{display:none}
  .brand-mark{width:42px;height:42px}
  .hero{height:auto;min-height:690px}
  .hero-media{inset:0}
  .hero-media img{object-position:60% 50%}
  .hero::before{background:linear-gradient(180deg,rgba(0,16,31,.86) 0%,rgba(0,16,31,.8) 35%,rgba(0,16,31,.96) 100%)}
  .hero-inner{align-items:flex-end;padding:126px 0 78px}
  .hero-copy{width:100%;margin:0;text-align:center}
  .hero-kicker{justify-content:center}
  .hero h1{white-space:normal;font-size:clamp(2.4rem,12vw,3.2rem)}
  .hero-description{margin-inline:auto}
  .hero-actions{justify-content:center}
  .hero-caption{left:50%;transform:translateX(-50%);bottom:26px;white-space:nowrap}
  .glance{margin-top:-24px}
  .glance-shell{padding:20px 14px}
  .glance-head{align-items:flex-start;flex-direction:column;gap:4px}
  .stat{padding:12px 8px;gap:8px}
  .stat strong{font-size:1.45rem}
  .news-grid{grid-template-columns:1fr}
  .featured-news{min-height:440px}
  .news-stack{grid-template-rows:none}
  .news-row{grid-template-columns:100px 1fr}
  .program-grid,.events-grid,.lamerd-grid{grid-template-columns:1fr}
  .program-card{min-height:120px}
  .event-card{aspect-ratio:4/4.85}
  .lamerd-card{aspect-ratio:16/11}
  .life-grid{display:grid;grid-template-columns:1fr;grid-template-areas:"main" "classroom" "facilities" "sport"}
  .life-card.main .life-media{min-height:330px}
  .life-card.classroom,.life-card.sport{display:flex;direction:rtl}
  .life-card.classroom .life-media,.life-card.sport .life-media{min-height:230px}
  .contact-items{grid-template-columns:1fr}
  .social-links{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}
  .footer-utility-grid{grid-template-columns:1fr}
  .utility-box,.utility-box:nth-child(2){border-left:0;border-bottom:1px solid var(--line-dark)}
  .utility-box:last-child{border-bottom:0}
  .footer-bottom{padding:18px 0;align-items:flex-start;flex-direction:column}
}
@media (max-width:470px){
  .brand-copy strong{font-size:.78rem}
  .nav-actions{gap:6px}
  .mobile-search,.menu-toggle{width:38px;height:38px}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .btn{padding-inline:14px;font-size:.75rem}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat{align-items:flex-start;justify-content:flex-start}
  .stat strong{font-size:1.25rem}
  .featured-copy{padding:70px 20px 21px}
  .featured-copy h3{font-size:1.08rem}
  .news-row{grid-template-columns:86px 1fr}
  .news-row img{min-height:105px}
  .social-links,.footer-grid{grid-template-columns:1fr}
  .footer-grid>div{grid-column:auto!important}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}
/* =========================================================
   V24 foundation — consolidated homepage base
   One active version class; the final correction layer follows below.
   ========================================================= */

body.v24{
  --container:min(1240px,calc(100% - 48px));
  --section-space:82px;
  background:#fff;
}
body.v24.nav-open,
body.v24.dialog-open{overflow:hidden}
.v24 .container{width:var(--container);margin-inline:auto}

/* Header */
.v24 .site-header{
  position:absolute;
  inset:0 0 auto;
  z-index:100;
  color:#fff;
}
body.admin-bar.v24 .site-header{top:32px}
.v24 .utility-bar{
  height:34px;
  background:rgba(0,16,31,.74);
  border-bottom:1px solid rgba(255,255,255,.09);
  backdrop-filter:blur(12px);
}
.v24 .main-nav-shell{
  height:84px;
  background:linear-gradient(180deg,rgba(0,16,31,.98),rgba(0,29,62,.91));
  border-bottom:1px solid rgba(255,255,255,.11);
  backdrop-filter:blur(16px);
}
.v24 .main-nav-shell .container{
  height:100%;
  display:grid;
  grid-template-columns:minmax(318px,auto) minmax(0,1fr) minmax(190px,auto);
  align-items:center;
  gap:22px;
}
.v24 .brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  overflow:visible;
}
.v24 .logo-pair{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  height:60px;
  overflow:visible;
}
.v24 .header-logo-box{
  display:grid;
  width:54px;
  height:54px;
  place-items:center;
  flex:0 0 54px;
  overflow:visible;
}
.v24 .header-logo{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:drop-shadow(0 5px 12px rgba(0,0,0,.2));
}
.v24 .logo-separator{
  width:1px;
  height:32px;
  flex:0 0 1px;
  background:rgba(255,255,255,.2);
}
.v24 .brand-copy{min-width:0}
.v24 .brand-copy strong{
  display:block;
  color:#fff;
  font-size:.98rem;
  font-weight:900;
  line-height:1.55;
  white-space:nowrap;
}
.v24 .brand-copy small{
  display:block;
  color:rgba(255,255,255,.56);
  font-size:.54rem;
  letter-spacing:.025em;
  white-space:nowrap;
}
.v24 .primary-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:17px;
  margin:0;
  padding:0;
  list-style:none;
}
.v24 .primary-nav li{margin:0;padding:0;list-style:none}
.v24 .primary-nav a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:84px;
  padding:0;
  color:rgba(255,255,255,.82);
  font-size:.72rem;
  font-weight:700;
  white-space:nowrap;
}
.v24 .primary-nav a::after{
  position:absolute;
  right:0;
  bottom:16px;
  width:100%;
  height:2px;
  background:var(--gold-500);
  border-radius:999px;
  content:"";
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s ease;
}
.v24 .primary-nav a:hover,
.v24 .primary-nav a:focus-visible,
.v24 .primary-nav .current-menu-item>a{color:#fff}
.v24 .primary-nav a:hover::after,
.v24 .primary-nav a:focus-visible::after,
.v24 .primary-nav .current-menu-item>a::after{transform:scaleX(1)}
.v24 .nav-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.v24 .search-form{
  width:178px;
  height:40px;
  display:flex;
  align-items:center;
  padding-inline:13px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.17);
  border-radius:999px;
}
.v24 .search-form:focus-within{
  width:210px;
  background:rgba(255,255,255,.11);
  border-color:rgba(222,195,104,.7);
}
.v24 .search-form input{
  width:100%;
  min-width:0;
  opacity:1;
  pointer-events:auto;
}
.v24 .mobile-search,
.v24 .menu-toggle{display:none}
.v24 .site-header.is-sticky{position:fixed}
.v24 .site-header.is-sticky .utility-bar{display:none}
.v24 .site-header.is-sticky .main-nav-shell{
  height:70px;
  background:rgba(0,16,31,.98);
  box-shadow:0 12px 36px rgba(0,0,0,.2);
}
.v24 .site-header.is-sticky .primary-nav a{min-height:70px}
.v24 .site-header.is-sticky .primary-nav a::after{bottom:10px}
.v24 .site-header.is-sticky .header-logo-box{width:46px;height:46px;flex-basis:46px}
.v24 .site-header.is-sticky .logo-pair{height:50px}
.v24 .mobile-search-panel,
.v24 .mobile-drawer{display:none}

/* Integrated hero */
.v24 .hero{
  position:relative;
  height:700px;
  min-height:700px;
  overflow:hidden;
  background:#001d3e;
}
.v24 .hero-layout{
  position:relative;
  min-height:700px;
  padding-top:118px;
}
.v24 .hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
}
.v24 .hero-media picture,
.v24 .hero-media img{
  display:block;
  width:100%;
  height:100%;
}
.v24 .hero-media img{
  object-fit:cover;
  object-position:50% 45%;
}
.v24 .hero::before{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(0,18,35,.98) 0%,rgba(0,29,62,.94) 32%,rgba(0,39,74,.72) 52%,rgba(0,29,62,.30) 70%,rgba(0,18,35,.06) 100%),
    linear-gradient(180deg,rgba(0,18,35,.12),rgba(0,18,35,.28));
  content:"";
}
.v24 .hero::after{
  position:absolute;
  inset:0;
  z-index:1;
  opacity:.11;
  background-image:
    linear-gradient(30deg,transparent 48.7%,#e3ca7a 49.2%,#e3ca7a 49.8%,transparent 50.3%),
    linear-gradient(-30deg,transparent 48.7%,#e3ca7a 49.2%,#e3ca7a 49.8%,transparent 50.3%);
  background-position:left center;
  background-size:72px 42px;
  content:"";
  mask-image:linear-gradient(90deg,#000 0%,transparent 42%);
  pointer-events:none;
}
.v24 .hero-panel{
  position:relative;
  z-index:3;
  display:flex;
  min-height:582px;
  align-items:center;
  background:none;
}
.v24 .hero-panel-inner{
  width:var(--container);
  margin-inline:auto;
  padding:54px 0 72px;
}
.v24 .hero-copy{
  width:min(610px,49%);
  max-width:610px;
  margin:0 auto 0 0;
  color:#fff;
  text-align:right;
}
.v24 .hero-kicker{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  margin-bottom:16px;
  color:var(--gold-100);
  font-size:.77rem;
  font-weight:850;
  line-height:1.9;
}
.v24 .hero-kicker::before{
  width:48px;
  height:1px;
  flex:0 0 48px;
  background:var(--gold-500);
  content:"";
}
.v24 .hero h1{
  margin:0;
  color:#fff!important;
  font-size:clamp(3rem,4.5vw,4.35rem);
  font-weight:900;
  line-height:1.18;
  letter-spacing:-.045em;
  white-space:normal;
  text-wrap:balance;
  text-shadow:0 16px 42px rgba(0,0,0,.2);
}
.v24 .hero-subtitle{
  margin-top:16px;
  color:#f2d98e;
  font-size:clamp(1rem,1.3vw,1.22rem);
  font-weight:800;
  line-height:1.9;
}
.v24 .hero-description{
  max-width:520px;
  margin:11px 0 27px;
  color:rgba(255,255,255,.76);
  font-size:.9rem;
  line-height:2;
}
.v24 .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  justify-content:flex-start;
}
.v24 .hero-actions .btn{
  min-height:50px;
  padding-inline:22px;
}
.v24 .hero-about{
  color:#001d3e;
  background:#fff;
  border-color:#fff;
}
.v24 .hero-about:hover{background:#f7f2df}
.v24 .hero-service{
  color:#fff;
  background:#075b9a;
  border-color:#0c6bb2;
  box-shadow:0 12px 30px rgba(0,69,136,.28);
}

/* At a glance */
.v24 .glance{
  position:relative;
  z-index:8;
  margin-top:-48px;
}
.v24 .glance-shell{
  padding:20px 22px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(1,58,113,.12);
  border-radius:18px;
  box-shadow:0 20px 52px rgba(1,36,68,.13);
}
.v24 .stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.v24 .stat{
  position:relative;
  display:flex;
  min-height:78px;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:10px 18px;
}
.v24 .stat:not(:last-child)::after{
  position:absolute;
  top:12px;
  bottom:12px;
  left:0;
  width:1px;
  background:var(--line);
  content:"";
}
.v24 .stat strong{
  color:var(--navy-900);
  font-size:1.85rem;
  font-weight:900;
  line-height:1;
}
.v24 .stat b{color:var(--blue-500);font-size:.74rem}
.v24 .stat small{color:var(--muted);font-size:.59rem}

/* Moments popup */
.v24 .moments-prompt{
  padding:30px 0 4px;
  background:#fff;
}
.v24 .moments-prompt__button{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:20px;
  align-items:center;
  padding:16px 20px;
  color:var(--ink);
  text-align:right;
  background:linear-gradient(90deg,#fff,#f5f9fc,#fff);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow-sm);
}
.v24 .moments-prompt__button:hover{
  border-color:rgba(0,69,136,.28);
  box-shadow:var(--shadow-md);
}
.v24 .moments-prompt__copy{
  display:flex;
  align-items:center;
  gap:12px;
}
.v24 .moments-live{
  width:9px;
  height:9px;
  flex:0 0 9px;
  background:var(--gold-500);
  border-radius:50%;
  box-shadow:0 0 0 6px rgba(214,173,55,.14);
}
.v24 .moments-prompt__copy strong,
.v24 .moments-prompt__copy small{display:block}
.v24 .moments-prompt__copy strong{
  color:var(--navy-900);
  font-size:.96rem;
  font-weight:900;
}
.v24 .moments-prompt__copy small{
  margin-top:2px;
  color:var(--muted);
  font-size:.62rem;
}
.v24 .moments-prompt__preview{
  display:flex;
  direction:ltr;
  padding-inline-start:14px;
}
.v24 .moments-prompt__preview span{
  width:42px;
  height:42px;
  overflow:hidden;
  margin-left:-12px;
  background:#fff;
  border:3px solid #fff;
  border-radius:50%;
  box-shadow:0 4px 12px rgba(0,29,62,.12);
}
.v24 .moments-prompt__preview img{height:100%;object-fit:cover}
.v24 .moments-prompt__action{
  color:var(--blue-400);
  font-size:.72rem;
  font-weight:900;
  white-space:nowrap;
}
.v24 .moments-dialog{
  width:min(760px,calc(100% - 32px));
  max-height:min(720px,calc(100vh - 48px));
  padding:0;
  overflow:auto;
  color:var(--ink);
  background:#fff;
  border:0;
  border-radius:22px;
  box-shadow:0 34px 90px rgba(0,16,31,.35);
}
.v24 .moments-dialog::backdrop{background:rgba(0,16,31,.72);backdrop-filter:blur(5px)}
.v24 .moments-dialog.is-open{
  position:fixed;
  inset:50% auto auto 50%;
  z-index:1000;
  display:block;
  transform:translate(-50%,-50%);
}
.v24 .moments-dialog__surface{padding:24px}
.v24 .moments-dialog__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.v24 .moments-dialog__head h2{
  margin:4px 0 0;
  color:var(--navy-900);
  font-size:1.55rem;
  line-height:1.4;
}
.v24 .moments-dialog__close{
  width:40px;
  height:40px;
  flex:0 0 40px;
  color:var(--navy-900);
  background:#f1f6f9;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:1.5rem;
  line-height:1;
}
.v24 .moments-dialog__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding-top:18px;
}
.v24 .moment-dialog-card{
  position:relative;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:13px;
  align-items:center;
  min-height:92px;
  padding:10px;
  color:var(--ink);
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
}
.v24 .moment-dialog-card:hover{background:#f7fafc;border-color:rgba(0,69,136,.26)}
.v24 .moment-dialog-card.is-new::after{
  position:absolute;
  top:10px;
  left:10px;
  width:7px;
  height:7px;
  background:var(--gold-500);
  border-radius:50%;
  content:"";
}
.v24 .moment-dialog-card__media,
.v24 .moment-dialog-card__symbol{
  display:grid;
  width:72px;
  height:72px;
  overflow:hidden;
  place-items:center;
  background:var(--blue-50);
  border-radius:11px;
}
.v24 .moment-dialog-card__media img{height:100%;object-fit:cover}
.v24 .moment-dialog-card__symbol{color:var(--blue-400)}
.v24 .moment-dialog-card__symbol svg{width:30px}
.v24 .moment-dialog-card strong,
.v24 .moment-dialog-card small{display:block}
.v24 .moment-dialog-card strong{color:var(--navy-900);font-size:.82rem;line-height:1.7}
.v24 .moment-dialog-card small{margin-top:3px;color:var(--muted);font-size:.58rem}

/* Section rhythm and proportions */
.v24 .section{padding:var(--section-space) 0}
.v24 .news-section{padding-top:70px}
.v24 .news-layout{
  grid-template-columns:minmax(0,2fr) minmax(300px,.82fr);
  gap:22px;
  align-items:start;
}
.v24 .news-grid{
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.78fr);
  gap:15px;
}
.v24 .featured-news{min-height:490px}
.v24 .news-stack{grid-template-rows:repeat(3,minmax(0,1fr));gap:12px}
.v24 .news-row{min-height:0}
.v24 .announcements{align-self:start}
.v24 .program-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.v24 .events-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v24 .event-card{min-height:0;aspect-ratio:4/5}

/* Lamerd three-panel showcase */
.v24 .lamerd-section{padding-top:74px;padding-bottom:78px;background:#f7fafc}
.v24 .lamerd-showcase{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  height:370px;
  overflow:hidden;
  background:#001d3e;
  border-radius:24px;
  box-shadow:0 22px 60px rgba(0,29,62,.16);
  isolation:isolate;
}
.v24 .lamerd-showcase::before{
  position:absolute;
  inset:0;
  z-index:6;
  border:1px solid rgba(244,215,155,.24);
  border-radius:inherit;
  content:"";
  pointer-events:none;
}
.v24 .lamerd-showcase::after{
  position:absolute;
  top:0;
  right:0;
  left:0;
  z-index:2;
  height:150px;
  background:linear-gradient(180deg,rgba(0,29,62,.88),rgba(0,29,62,.48),transparent);
  content:"";
  pointer-events:none;
}
.v24 .lamerd-showcase-heading{
  position:absolute;
  top:22px;
  right:50%;
  z-index:7;
  width:min(760px,78%);
  color:#fff;
  text-align:center;
  transform:translateX(50%);
  pointer-events:none;
}
.v24 .lamerd-showcase-heading h2{
  margin:4px 0 0;
  color:#fff;
  font-size:clamp(1.7rem,2.6vw,2.4rem);
  line-height:1.35;
}
.v24 .lamerd-showcase-heading h2 em{color:#f1ba25;font-style:normal}
.v24 .lamerd-panel{
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
}
.v24 .lamerd-panel:not(:first-of-type){border-right:1px solid rgba(244,215,155,.24)}
.v24 .lamerd-panel img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.92);
  transition:transform .5s ease,filter .35s ease;
}
.v24 .lamerd-panel:hover img{transform:scale(1.035);filter:saturate(1)}
.v24 .lamerd-panel::after{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(0,29,62,.1) 18%,rgba(0,29,62,.24) 48%,rgba(0,29,62,.94) 100%);
  content:"";
}
.v24 .lamerd-panel-content{
  position:absolute;
  right:18px;
  bottom:22px;
  left:18px;
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:center;
  color:#fff;
  text-align:center;
}
.v24 .lamerd-panel-icon{
  display:grid;
  width:42px;
  height:42px;
  margin-bottom:8px;
  place-items:center;
  color:#f1ba25;
  background:rgba(0,29,62,.38);
  border:1px solid rgba(241,186,37,.76);
  border-radius:50%;
  backdrop-filter:blur(6px);
}
.v24 .lamerd-panel-icon svg{width:21px}
.v24 .lamerd-panel-content strong{font-size:1rem;font-weight:900}
.v24 .lamerd-panel-content small{margin-top:4px;color:rgba(255,255,255,.68);font-size:.58rem}
.v24 .lamerd-frame{display:none}

/* Student life */
.v24 .life-section{padding-top:76px;padding-bottom:84px;background:#fff}
.v24 .life-grid{
  display:grid;
  grid-template-columns:1.08fr 1fr 1fr;
  grid-template-areas:"main classroom classroom" "main facilities sport";
  gap:16px;
  align-items:stretch;
}
.v24 .life-card{height:auto;border-radius:16px;box-shadow:0 10px 28px rgba(0,29,62,.07)}
.v24 .life-card.main .life-media{min-height:0;aspect-ratio:1/1.05}
.v24 .life-card.classroom{display:grid;grid-template-columns:1.22fr .78fr;direction:ltr;min-height:250px}
.v24 .life-card.classroom .life-media{height:100%;min-height:0}
.v24 .life-card.facilities .life-media,
.v24 .life-card.sport .life-media{min-height:0;aspect-ratio:16/10}
.v24 .life-card.classroom .life-content{padding:24px}
.v24 .life-content{padding:18px 20px 17px}
.v24 .life-content h3{font-size:.96rem}
.v24 .life-content p{font-size:.66rem}

/* Contact and footer */
.v24 .site-footer{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:#001d3e;
}
.v24 .footer-pattern{
  position:absolute;
  inset:0;
  opacity:.035;
  background-image:
    linear-gradient(45deg,transparent 47%,#fff 48%,#fff 49%,transparent 50%),
    linear-gradient(-45deg,transparent 47%,#fff 48%,#fff 49%,transparent 50%);
  background-size:64px 64px;
  pointer-events:none;
}
.v24 .footer-top-rule{
  position:relative;
  z-index:2;
  height:18px;
  background:#fff;
  clip-path:polygon(0 0,100% 0,100% 35%,82% 35%,80% 100%,20% 100%,18% 35%,0 35%);
}
.v24 .footer-glass-section{
  position:relative;
  z-index:2;
  padding:36px 0 0;
  background:transparent;
}
.v24 .contact-band{
  display:grid;
  grid-template-columns:1.05fr 1.2fr .95fr;
  overflow:hidden;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}
.v24 .contact-band>div{padding:24px}
.v24 .contact-band>div:not(:last-child){border-left:1px solid rgba(255,255,255,.11)}
.v24 .contact-kicker{color:#f4d79b;font-size:.6rem;font-weight:800}
.v24 .contact-intro h2{margin:5px 0 8px;color:#fff;font-size:1.5rem}
.v24 .contact-intro p{margin:0;color:rgba(255,255,255,.62);font-size:.66rem;line-height:1.95}
.v24 .contact-details{display:grid;gap:12px}
.v24 .contact-details>a,
.v24 .contact-details>span{display:grid;gap:3px}
.v24 .contact-details small,
.v24 .official-social small{color:rgba(255,255,255,.48);font-size:.53rem}
.v24 .contact-details strong{color:#fff;font-size:.72rem}
.v24 .contact-access{display:grid;align-content:center;gap:16px}
.v24 .contact-links{display:grid;gap:7px}
.v24 .contact-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:rgba(255,255,255,.72);
  font-size:.63rem;
}
.v24 .contact-links svg{width:16px}
.v24 .official-social>div,
.v24 .footer-social.compact>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.v24 .official-social a,
.v24 .footer-social.compact a{
  display:inline-flex;
  width:auto;
  height:auto;
  align-items:center;
  justify-content:center;
  padding:6px 9px;
  color:rgba(255,255,255,.76);
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  font-size:.52rem;
}
.v24 .footer-main{position:relative;z-index:2;padding:54px 0 38px}
.v24 .footer-grid{
  display:grid;
  grid-template-columns:1.28fr .82fr .98fr 1.08fr;
  gap:40px;
}
.v24 .footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:15px}
.v24 .footer-brand .brand-mark{
  display:grid;
  width:54px;
  height:54px;
  padding:5px;
  place-items:center;
  overflow:visible;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(241,210,135,.28);
  border-radius:14px;
}
.v24 .footer-brand .brand-mark::before,
.v24 .footer-brand .brand-mark::after{display:none}
.v24 .footer-brand .brand-mark img{width:100%;height:100%;object-fit:contain}
.v24 .footer-title{
  position:relative;
  margin:3px 0 16px;
  padding-bottom:11px;
  color:#fff;
  font-size:.8rem;
}
.v24 .footer-title::after{
  position:absolute;
  right:0;
  bottom:0;
  width:28px;
  height:1px;
  background:#c59907;
  content:"";
}
.v24 .footer-about{font-size:.66rem}
.v24 .footer-links{gap:8px}
.v24 .footer-links a{font-size:.64rem}
.v24 .footer-utility{
  position:relative;
  z-index:2;
  background:#002547;
  border-top:1px solid rgba(255,255,255,.1);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.v24 .footer-utility-line{
  display:grid;
  grid-template-columns:1.35fr 1fr .72fr .95fr;
  align-items:center;
}
.v24 .footer-utility-line>div{
  min-height:96px;
  padding:14px 18px;
  border-left:1px solid rgba(255,255,255,.09);
}
.v24 .footer-utility-line>div:last-child{border-left:0}
.v24 .footer-motto-real img{
  width:min(250px,100%);
  height:54px;
  object-fit:contain;
  object-position:right center;
}
.v24 .footer-stats-block{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.v24 .utility-label{display:flex;flex-direction:column}
.v24 .utility-label span{font-size:.6rem;font-weight:800}
.v24 .utility-label small{color:rgba(255,255,255,.44);font-size:.47rem}
.v24 .footer-stats{display:flex;gap:15px}
.v24 .footer-stats span{display:grid;text-align:center}
.v24 .footer-stats b{font-size:.84rem}
.v24 .footer-stats em{color:rgba(255,255,255,.48);font-size:.45rem;font-style:normal}
.v24 .footer-enamad{display:grid;place-items:center}
.v24 .enamad-image{display:block;width:64px;height:76px}
.v24 .enamad-image img{width:100%;height:100%;object-fit:contain}
.v24 .footer-social.compact{display:flex;flex-direction:column;align-items:flex-start}
.v24 .footer-social.compact>small{color:rgba(255,255,255,.46);font-size:.48rem}
.v24 .footer-bottom{
  position:relative;
  z-index:2;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* Tablet */
@media (max-width:1180px){
  body.v24{--container:min(1120px,calc(100% - 40px))}
  .v24 .main-nav-shell .container{grid-template-columns:minmax(286px,auto) minmax(0,1fr) auto;gap:15px}
  .v24 .header-logo-box{width:48px;height:48px;flex-basis:48px}
  .v24 .logo-pair{height:54px;gap:6px}
  .v24 .brand-copy strong{font-size:.88rem}
  .v24 .primary-nav{gap:12px}
  .v24 .primary-nav a{font-size:.66rem}
  .v24 .search-form{width:42px;padding-inline:11px}
  .v24 .search-form input{width:0;opacity:0;pointer-events:none}
  .v24 .search-form:focus-within{width:184px}
  .v24 .search-form:focus-within input{width:100%;opacity:1;pointer-events:auto}
  .v24 .hero-copy{width:min(570px,54%)}
  .v24 .news-layout{grid-template-columns:1fr}
  .v24 .announcements-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
  .v24 .program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v24 .events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v24 .footer-grid{grid-template-columns:1.2fr 1fr 1fr}
  .v24 .footer-grid>div:last-child{grid-column:1/-1}
  .v24 .footer-utility-line{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v24 .footer-utility-line>div:nth-child(2){border-left:0}
  .v24 .footer-utility-line>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.09)}
}

/* Mobile navigation and unified mobile hero */
@media (max-width:980px){
  body.v24{--container:min(900px,calc(100% - 28px));--section-space:64px}
  body.admin-bar.v24 .site-header{top:46px}
  .v24 .utility-bar{display:none}
  .v24 .main-nav-shell,
  .v24 .site-header.is-sticky .main-nav-shell{height:82px}
  .v24 .main-nav-shell .container{
    height:82px;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    padding:0;
  }
  .v24 .brand{gap:8px;min-width:0}
  .v24 .logo-pair{height:50px;gap:5px}
  .v24 .header-logo-box{width:40px;height:40px;flex-basis:40px}
  .v24 .logo-separator{height:24px}
  .v24 .brand-copy strong{font-size:.84rem;line-height:1.35;overflow:hidden;text-overflow:ellipsis}
  .v24 .brand-copy small{display:none}
  .v24 .primary-nav,
  .v24 .search-form{display:none}
  .v24 .nav-actions{display:flex;gap:7px}
  .v24 .mobile-search,
  .v24 .menu-toggle{
    display:grid;
    width:40px;
    height:40px;
    flex:0 0 40px;
    place-items:center;
    color:#fff;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.18);
    border-radius:9px;
  }
  .v24 .mobile-search svg{width:18px}
  .v24 .mobile-search-panel{
    position:absolute;
    top:82px;
    right:0;
    left:0;
    z-index:105;
    display:block;
    padding:12px 14px;
    background:rgba(0,16,31,.98);
    border-top:1px solid rgba(255,255,255,.08);
    box-shadow:0 16px 30px rgba(0,0,0,.18);
  }
  .v24 .mobile-search-panel[hidden]{display:none}
  .v24 .mobile-search-panel form{
    width:min(680px,100%);
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    margin-inline:auto;
  }
  .v24 .mobile-search-panel input{
    min-width:0;
    height:44px;
    padding-inline:13px;
    color:#fff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    border-radius:9px;
    outline:0;
  }
  .v24 .mobile-search-panel input:focus{border-color:var(--gold-500)}
  .v24 .mobile-search-panel button{
    min-width:84px;
    color:#001d3e;
    background:var(--gold-500);
    border:0;
    border-radius:9px;
    font-weight:900;
  }
  .v24 .mobile-drawer{
    position:fixed;
    top:82px;
    right:0;
    left:0;
    z-index:104;
    display:block;
    max-height:calc(100vh - 82px);
    overflow:auto;
    padding:0 16px 22px;
    visibility:hidden;
    opacity:0;
    background:rgba(0,16,31,.99);
    border-top:1px solid rgba(255,255,255,.08);
    box-shadow:0 22px 50px rgba(0,0,0,.24);
    transform:translateY(-10px);
    transition:opacity .2s ease,transform .2s ease,visibility .2s;
  }
  body.admin-bar.v24 .mobile-drawer{top:128px;max-height:calc(100vh - 128px)}
  .v24 .mobile-drawer.open{visibility:visible;opacity:1;transform:none}
  .v24 .mobile-drawer__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:58px;
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,.1);
  }
  .v24 .drawer-close{
    width:36px;
    height:36px;
    color:#fff;
    background:transparent;
    border:1px solid rgba(255,255,255,.18);
    border-radius:8px;
    font-size:1.35rem;
  }
  .v24 .mobile-drawer nav{display:grid}
  .v24 .mobile-drawer a{
    display:block;
    padding:13px 4px;
    color:rgba(255,255,255,.84);
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:.82rem;
    font-weight:700;
  }
  .v24 .mobile-drawer .drawer-service{
    margin-top:14px;
    padding:12px;
    color:var(--gold-100);
    text-align:center;
    border:1px solid rgba(227,202,122,.35);
    border-radius:9px;
  }

  .v24 .hero{
    height:620px;
    min-height:620px;
  }
  .v24 .hero-layout{min-height:620px;padding-top:82px}
  .v24 .hero-media{height:100%}
  .v24 .hero-media img{object-position:50% 40%}
  .v24 .hero::before{
    background:
      linear-gradient(180deg,rgba(0,18,35,.16) 0%,rgba(0,18,35,.24) 32%,rgba(0,29,62,.73) 62%,rgba(0,24,47,.98) 88%,#00182f 100%);
  }
  .v24 .hero::after{
    opacity:.06;
    background-position:center bottom;
    mask-image:linear-gradient(180deg,transparent 30%,#000 100%);
  }
  .v24 .hero-panel{
    min-height:538px;
    align-items:flex-end;
  }
  .v24 .hero-panel-inner{
    width:var(--container);
    padding:0 0 42px;
  }
  .v24 .hero-copy{
    width:100%;
    max-width:560px;
    margin:0;
    text-align:right;
  }
  .v24 .hero-kicker{margin-bottom:10px;font-size:.69rem}
  .v24 .hero-kicker::before{width:32px;flex-basis:32px}
  .v24 .hero h1{font-size:clamp(2.2rem,8.8vw,3.15rem);line-height:1.24;text-shadow:0 10px 28px rgba(0,0,0,.28)}
  .v24 .hero-subtitle{margin-top:9px;font-size:.96rem}
  .v24 .hero-description{max-width:500px;margin:8px 0 20px;font-size:.76rem;line-height:1.95}
  .v24 .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(420px,100%)}
  .v24 .hero-actions .btn{width:100%;min-height:47px;padding-inline:12px;font-size:.78rem}

  .v24 .glance{margin-top:-24px}
  .v24 .glance-shell{padding:12px}
  .v24 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v24 .stat{
    min-height:92px;
    justify-content:flex-start;
    padding:13px 15px;
  }
  .v24 .stat::after{display:none!important}
  .v24 .stat:nth-child(odd){border-left:1px solid var(--line)}
  .v24 .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}

  .v24 .news-grid{grid-template-columns:1fr}
  .v24 .news-stack{grid-template-rows:none}
  .v24 .featured-news{min-height:450px}
  .v24 .announcements-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v24 .lamerd-showcase{height:350px}
  .v24 .life-grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"main classroom" "main facilities" "sport sport";
  }
  .v24 .life-card.classroom{display:flex;direction:rtl}
  .v24 .life-card.classroom .life-media{aspect-ratio:16/10}
  .v24 .life-card.sport{display:grid;grid-template-columns:1.1fr .9fr;direction:ltr}
  .v24 .life-card.sport .life-content{direction:rtl;display:flex;flex-direction:column;justify-content:center}
  .v24 .contact-band{grid-template-columns:1fr 1fr}
  .v24 .contact-access{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.11)}
  .v24 .contact-band>div:nth-child(2){border-left:0}
}

/* Phones */
@media (max-width:720px){
  body.v24{--container:calc(100% - 24px);--section-space:56px}
  .v24 .main-nav-shell .container{padding-inline:0}
  .v24 .brand{gap:6px}
  .v24 .logo-pair{height:46px;gap:4px}
  .v24 .header-logo-box{width:35px;height:35px;flex-basis:35px}
  .v24 .logo-separator{height:21px}
  .v24 .brand-copy{max-width:170px}
  .v24 .brand-copy strong{font-size:.76rem;white-space:normal}
  .v24 .mobile-search,
  .v24 .menu-toggle{width:38px;height:38px;flex-basis:38px}

  .v24 .hero{height:590px;min-height:590px}
  .v24 .hero-layout{min-height:590px}
  .v24 .hero-panel{min-height:508px}
  .v24 .hero-panel-inner{padding-bottom:34px}
  .v24 .hero h1{font-size:clamp(2.02rem,10.2vw,2.72rem)}
  .v24 .hero-subtitle{font-size:.88rem}
  .v24 .hero-description{font-size:.71rem;margin-bottom:17px}
  .v24 .hero-actions{gap:8px}

  .v24 .glance-shell{border-radius:16px}
  .v24 .stat{min-height:88px;gap:8px;padding:12px 10px}
  .v24 .stat strong{font-size:1.4rem}
  .v24 .stat b{font-size:.65rem}
  .v24 .stat small{font-size:.52rem}

  .v24 .moments-prompt{padding-top:22px}
  .v24 .moments-prompt__button{
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    padding:14px;
  }
  .v24 .moments-prompt__preview{display:none}
  .v24 .moments-prompt__copy small{max-width:210px;white-space:normal}
  .v24 .moments-dialog__surface{padding:18px}
  .v24 .moments-dialog__grid{grid-template-columns:1fr}

  .v24 .section-head,
  .v24 .programs-head{align-items:flex-start;flex-direction:column}
  .v24 .news-layout{grid-template-columns:1fr}
  .v24 .announcements-list{grid-template-columns:1fr}
  .v24 .program-grid{grid-template-columns:1fr}
  .v24 .events-grid{grid-template-columns:1fr}
  .v24 .event-card{
    min-height:330px;
    aspect-ratio:16/11;
  }
  .v24 .event-card img{object-position:center 42%}

  .v24 .lamerd-section{padding-block:56px}
  .v24 .lamerd-showcase{
    display:grid;
    grid-template-columns:1fr;
    height:auto;
    border-radius:18px;
  }
  .v24 .lamerd-showcase::after{display:none}
  .v24 .lamerd-showcase-heading{
    position:relative;
    top:auto;
    right:auto;
    width:100%;
    padding:22px 18px;
    background:#001d3e;
    transform:none;
  }
  .v24 .lamerd-panel{
    min-height:245px;
    border-top:1px solid rgba(244,215,155,.2);
    border-right:0!important;
  }

  .v24 .life-grid{
    grid-template-columns:1fr;
    grid-template-areas:"main" "classroom" "facilities" "sport";
  }
  .v24 .life-card.main .life-media,
  .v24 .life-card.classroom .life-media,
  .v24 .life-card.facilities .life-media,
  .v24 .life-card.sport .life-media{aspect-ratio:16/10;min-height:0}
  .v24 .life-card.classroom,
  .v24 .life-card.sport{display:flex;direction:rtl}

  .v24 .contact-band{grid-template-columns:1fr}
  .v24 .contact-band>div{
    padding:20px;
    border-left:0!important;
  }
  .v24 .contact-band>div+div{border-top:1px solid rgba(255,255,255,.11)}
  .v24 .contact-access{grid-column:auto}
  .v24 .footer-main{padding-top:44px}
  .v24 .footer-grid{grid-template-columns:1fr;gap:0}
  .v24 .footer-grid>div,
  .v24 .footer-grid>div:last-child{
    grid-column:auto;
    padding:20px 0;
    border-bottom:1px solid rgba(255,255,255,.09);
  }
  .v24 .footer-grid>div:last-child{border-bottom:0}
  .v24 .footer-title{margin-bottom:13px}
  .v24 .footer-utility-line{grid-template-columns:1fr}
  .v24 .footer-utility-line>div{
    min-height:auto;
    padding:18px 0;
    border-left:0!important;
    border-bottom:1px solid rgba(255,255,255,.09);
  }
  .v24 .footer-utility-line>div:last-child{border-bottom:0}
  .v24 .footer-motto-real img{margin-inline:auto;object-position:center}
  .v24 .footer-stats-block{justify-content:flex-start}
  .v24 .footer-enamad{justify-items:start}
  .v24 .footer-social.compact{align-items:flex-start}
  .v24 .footer-bottom{
    padding:18px 0;
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:420px){
  body.v24{--container:calc(100% - 20px)}
  .v24 .brand-copy{max-width:132px}
  .v24 .brand-copy strong{font-size:.7rem}
  .v24 .header-logo-box{width:32px;height:32px;flex-basis:32px}
  .v24 .logo-pair{gap:3px}
  .v24 .nav-actions{gap:5px}
  .v24 .mobile-search,
  .v24 .menu-toggle{width:36px;height:36px;flex-basis:36px}
  .v24 .hero{height:570px;min-height:570px}
  .v24 .hero-layout{min-height:570px}
  .v24 .hero-panel{min-height:488px}
  .v24 .hero h1{font-size:2rem}
  .v24 .hero-actions{grid-template-columns:1fr}
  .v24 .moments-prompt__button{grid-template-columns:1fr}
  .v24 .moments-prompt__action{justify-self:start}
  .v24 .featured-news{min-height:400px}
  .v24 .news-row{grid-template-columns:86px minmax(0,1fr)}
  .v24 .event-card{aspect-ratio:4/3}
}

@media (prefers-reduced-motion:reduce){
  .v24 *,
  .v24 *::before,
  .v24 *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .v24 .reveal{opacity:1;transform:none}
}

/* =========================================================
   V24 — final proportional correction
   Header, hero and mobile are rebuilt; approved lower sections restored.
   ========================================================= */

/* Header: safe logos and one-line identity */
.v24 .main-nav-shell {
  height: 86px;
}

.v24 .main-nav-shell .container {
  grid-template-columns: minmax(326px, auto) minmax(0, 1fr) minmax(190px, auto);
  gap: 20px;
}

.v24 .brand {
  gap: 12px;
  min-width: 0;
  overflow: visible;
}

.v24 .logo-pair {
  height: 58px;
  gap: 7px;
  overflow: visible;
}

.v24 .header-logo-box {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: visible;
}

.v24 .header-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.v24 .logo-separator {
  height: 30px;
}

.v24 .brand-copy {
  min-width: 0;
}

.v24 .brand-copy strong {
  max-width: 210px;
  overflow: hidden;
  font-size: .94rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v24 .brand-copy small {
  font-size: .51rem;
  white-space: nowrap;
}

.v24 .primary-nav {
  gap: 15px;
}

.v24 .primary-nav a {
  min-height: 86px;
  font-size: .7rem;
}

.v24 .search-form {
  width: 176px;
}

.v24 .site-header.is-sticky .main-nav-shell {
  height: 72px;
}

.v24 .site-header.is-sticky .primary-nav a {
  min-height: 72px;
}

/* Hero: one visual plane, controlled title and clearer actions */
.v24 .hero {
  height: 680px;
  min-height: 620px;
}

.v24 .hero-layout {
  min-height: 680px;
  padding-top: 120px;
}

.v24 .hero-media img {
  object-position: 64% 46%;
}

.v24 .hero::before {
  background:
    linear-gradient(90deg,
      rgba(0,16,31,.99) 0%,
      rgba(0,27,53,.96) 31%,
      rgba(0,39,74,.78) 53%,
      rgba(0,29,62,.34) 72%,
      rgba(0,16,31,.08) 100%
    ),
    linear-gradient(180deg, rgba(0,18,35,.10), rgba(0,18,35,.30));
}

.v24 .hero-panel {
  min-height: 560px;
}

.v24 .hero-panel-inner {
  padding: 44px 0 64px;
}

.v24 .hero-copy {
  width: min(720px, 58%);
  max-width: 720px;
  margin: 0 auto 0 0;
}

.v24 .hero-kicker {
  margin-bottom: 13px;
  font-size: .74rem;
}

.v24 .hero h1 {
  max-width: 720px;
  font-size: clamp(2.85rem, 4vw, 4rem);
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: nowrap;
  white-space: nowrap;
}

.v24 .hero-subtitle {
  margin-top: 15px;
  font-size: clamp(.98rem, 1.22vw, 1.17rem);
}

.v24 .hero-description {
  max-width: 590px;
  margin: 9px 0 24px;
  font-size: .86rem;
}

.v24 .hero-actions {
  gap: 10px;
}

.v24 .hero-actions .btn {
  min-width: 154px;
  min-height: 50px;
  padding-inline: 19px;
  border-radius: 11px;
  font-size: .8rem;
}

.v24 .hero-about {
  color: #001d3e;
  background: #fff;
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.v24 .hero-about:hover,
.v24 .hero-about:focus-visible {
  background: #f9f4e5;
  transform: translateY(-2px);
}

.v24 .hero-service {
  color: #fff;
  background: linear-gradient(180deg, #0a6fbd, #075b9a);
  border-color: #0b74c6;
  box-shadow: 0 12px 28px rgba(0,69,136,.28);
}

.v24 .hero-service:hover,
.v24 .hero-service:focus-visible {
  background: linear-gradient(180deg, #0c7ccd, #0865aa);
  transform: translateY(-2px);
}

/* Statistics */
.v24 .glance {
  margin-top: -32px;
}

.v24 .glance-shell {
  padding: 22px 24px;
  border-radius: 18px;
}

.v24 .stat {
  min-height: 76px;
}

.v24 .stat strong {
  font-size: 1.75rem;
}

/* Restore approved Lamerd city cards */
.v24 .lamerd-section {
  padding-block: 82px;
  background: linear-gradient(180deg, #f7fafc, #fff);
}

.v24 .lamerd-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  height: auto;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.v24 .lamerd-showcase::before,
.v24 .lamerd-showcase::after,
.v24 .lamerd-frame {
  display: none;
}

.v24 .lamerd-showcase-heading {
  position: relative;
  inset: auto;
  grid-column: 1 / -1;
  width: auto;
  margin-bottom: 12px;
  padding: 0 0 15px;
  color: #001d3e;
  background: transparent;
  transform: none;
}

.v24 .lamerd-showcase-heading::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68px;
  height: 2px;
  background: linear-gradient(90deg, #c79a2b, transparent);
  content: "";
}

.v24 .lamerd-showcase-heading .unified-kicker {
  color: #9a741b;
}

.v24 .lamerd-showcase-heading h2 {
  margin: 5px 0 0;
  color: #001d3e;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
}

.v24 .lamerd-showcase-heading h2 em {
  color: #075b9a;
  font-style: normal;
}

.v24 .lamerd-panel {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 310px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 18px;
  background: #001d3e;
  box-shadow: 0 16px 40px rgba(0,29,62,.10);
  transform: none !important;
}

.v24 .lamerd-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04) brightness(.96);
  transition: transform .45s ease;
}

.v24 .lamerd-panel:hover img {
  transform: scale(1.025);
}

.v24 .lamerd-panel::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(180deg, rgba(0,16,31,.05) 18%, rgba(0,16,31,.17) 52%, rgba(0,16,31,.93) 100%);
  content: "";
}

.v24 .lamerd-panel-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 66px 20px 19px;
  color: #fff;
}

.v24 .lamerd-panel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #001d3e;
  background: #e3ca7a;
  border-radius: 12px;
}

.v24 .lamerd-panel-icon svg {
  width: 22px;
}

.v24 .lamerd-panel-content strong,
.v24 .lamerd-panel-content small {
  grid-column: 2;
}

.v24 .lamerd-panel-content strong {
  font-size: .95rem;
}

.v24 .lamerd-panel-content small {
  color: rgba(255,255,255,.66);
  font-size: .58rem;
}

/* Restore approved student-life mosaic */
.v24 .life-section {
  position: relative;
  padding: 82px 0 92px;
  background: linear-gradient(180deg, #fff 0%, #fff 74%, #f8fafc 100%);
}

.v24 .life-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  grid-template-areas:
    "main classroom classroom"
    "main facilities sport";
  grid-template-rows: 286px 286px;
  gap: 16px;
  height: auto;
}

.v24 .life-card,
.v24 .life-card.classroom,
.v24 .life-card.sport {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  direction: rtl;
  background: #eef4f8;
  border: 1px solid rgba(1,58,113,.12);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,29,62,.09);
  isolation: isolate;
}

.v24 .life-card.main { grid-area: main; }
.v24 .life-card.classroom { grid-area: classroom; }
.v24 .life-card.facilities { grid-area: facilities; }
.v24 .life-card.sport { grid-area: sport; }

.v24 .life-media,
.v24 .life-card.main .life-media,
.v24 .life-card.classroom .life-media,
.v24 .life-card.facilities .life-media,
.v24 .life-card.sport .life-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.v24 .life-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,29,62,.02) 0%, rgba(0,29,62,.04) 42%, rgba(0,29,62,.12) 100%);
  content: "";
}

.v24 .life-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.v24 .life-card:hover .life-media img {
  transform: scale(1.025);
}

.v24 .life-content,
.v24 .life-card.classroom .life-content,
.v24 .life-card.sport .life-content {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 92px 22px 19px;
  direction: rtl;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 24%, rgba(255,255,255,.90) 58%, rgba(255,255,255,.985) 78%, #fff 100%);
}

.v24 .life-card.main .life-content {
  padding: 132px 24px 22px;
}

.v24 .life-card.classroom .life-content {
  padding-top: 82px;
}

.v24 .life-content h3 {
  margin: 0 0 5px;
  color: #001d3e;
  font-size: 1.02rem;
  line-height: 1.55;
}

.v24 .life-content p {
  max-width: 92%;
  margin: 0;
  color: #435d81;
  font-size: .66rem;
  line-height: 1.88;
}

.v24 .life-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
  color: #0454b4;
  font-size: .65rem;
  font-weight: 800;
}

.v24 .life-action svg {
  width: 16px;
}

/* Restore the restrained glass footer */
.v24 .site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(4,84,180,.16), transparent 32%),
    radial-gradient(circle at 10% 84%, rgba(197,153,7,.07), transparent 28%),
    linear-gradient(180deg, #002547 0%, #001d3e 34%, #00162f 100%);
}

.v24 .site-footer::before {
  position: absolute;
  right: -115px;
  top: 88px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(241,210,135,.09);
  box-shadow: 0 0 0 34px rgba(255,255,255,.016), 0 0 0 68px rgba(255,255,255,.01);
  content: "";
  transform: rotate(45deg);
}

.v24 .site-footer::after {
  position: absolute;
  left: -150px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(241,210,135,.075);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255,255,255,.012), 0 0 0 64px rgba(255,255,255,.008);
  content: "";
}

.v24 .footer-top-rule {
  display: none;
}

.v24 .footer-glass-section {
  position: relative;
  z-index: 4;
  padding: 58px 0 38px;
  background: transparent;
}

.v24 .contact-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 1.28fr .96fr;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.145), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0,8,20,.28), inset 0 1px rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(118%);
}

.v24 .contact-band::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #e1b115, #c59907 58%, transparent);
  content: "";
  opacity: .85;
}

.v24 .contact-band > div {
  min-width: 0;
  padding: 29px 27px;
}

.v24 .contact-band > div:not(:last-child) {
  border-left: 1px solid rgba(255,255,255,.12);
}

.v24 .contact-intro {
  background: linear-gradient(135deg, rgba(4,84,180,.13), transparent);
}

.v24 .footer-main {
  position: relative;
  z-index: 3;
  padding: 34px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.v24 .footer-grid {
  grid-template-columns: 1.45fr .78fr 1fr 1.08fr;
  gap: 42px;
}

.v24 .footer-utility {
  background: rgba(0,39,71,.72);
  backdrop-filter: blur(12px);
}

.v24 .footer-brand .brand-mark {
  overflow: visible;
  padding: 5px;
}

.v24 .footer-brand .brand-mark img {
  object-fit: contain;
}

/* Tablet */
@media (max-width: 1180px) {
  .v24 .main-nav-shell .container {
    grid-template-columns: minmax(282px, auto) minmax(0, 1fr) auto;
    gap: 14px;
  }

  .v24 .header-logo-box {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .v24 .logo-pair {
    height: 52px;
    gap: 5px;
  }

  .v24 .brand-copy strong {
    max-width: 176px;
    font-size: .82rem;
  }

  .v24 .brand-copy small {
    display: none;
  }

  .v24 .primary-nav {
    gap: 11px;
  }

  .v24 .primary-nav a {
    font-size: .64rem;
  }

  .v24 .hero-copy {
    width: min(650px, 60%);
  }

  .v24 .hero h1 {
    font-size: clamp(2.65rem, 4.1vw, 3.55rem);
  }

  .v24 .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .v24 .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile header and stable two-zone hero */
@media (max-width: 980px) {
  body.v24 {
    --container: min(900px, calc(100% - 28px));
    --section-space: 64px;
  }

  body.admin-bar.v24 .site-header {
    top: 46px;
  }

  .v24 .utility-bar {
    display: none;
  }

  .v24 .site-header,
  .v24 .site-header.is-sticky {
    position: absolute;
    top: 0;
  }

  .v24 .main-nav-shell,
  .v24 .site-header.is-sticky .main-nav-shell {
    height: 72px;
    background: #001d3e;
    box-shadow: none;
  }

  .v24 .main-nav-shell .container {
    height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .v24 .brand {
    min-width: 0;
    gap: 7px;
  }

  .v24 .logo-pair {
    height: 44px;
    gap: 4px;
  }

  .v24 .header-logo-box {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .v24 .logo-separator {
    height: 22px;
  }

  .v24 .brand-copy {
    min-width: 0;
  }

  .v24 .brand-copy strong {
    max-width: none;
    overflow: visible;
    font-size: .74rem;
    line-height: 1.3;
    text-overflow: clip;
    white-space: nowrap;
  }

  .v24 .brand-copy small,
  .v24 .primary-nav,
  .v24 .search-form {
    display: none;
  }

  .v24 .nav-actions {
    display: flex;
    direction: ltr;
    gap: 7px;
  }

  .v24 .mobile-search,
  .v24 .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
  }

  .v24 .menu-toggle[aria-expanded="true"],
  .v24 .mobile-search[aria-expanded="true"] {
    color: #001d3e;
    background: #e3ca7a;
    border-color: #e3ca7a;
  }

  .v24 .mobile-search-panel {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 121;
    padding: 13px 14px;
    background: #00182f;
    border-top: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 18px 36px rgba(0,0,0,.24);
  }

  body.admin-bar.v24 .mobile-search-panel {
    top: 118px;
  }

  .v24 .mobile-search-panel[hidden] {
    display: none;
  }

  .v24 .mobile-search-panel form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .v24 .mobile-search-panel input {
    min-width: 0;
    height: 46px;
    padding-inline: 14px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    outline: 0;
  }

  .v24 .mobile-search-panel button {
    min-width: 84px;
    color: #001d3e;
    background: #e3ca7a;
    border: 0;
    border-radius: 10px;
    font-weight: 900;
  }

  .v24 .mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 118;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(0,9,20,.56);
    border: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s;
  }

  .v24 .mobile-drawer-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .v24 .mobile-drawer-backdrop[hidden] {
    display: none;
  }

  .v24 .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 120;
    display: block;
    width: min(86vw, 360px);
    max-height: none;
    overflow: auto;
    padding: 0 18px 24px;
    color: #fff;
    background: #00182f;
    border: 0;
    box-shadow: -22px 0 54px rgba(0,0,0,.30);
    opacity: 1;
    visibility: hidden;
    transform: translateX(105%);
    transition: transform .24s ease, visibility .24s;
  }

  .v24 .mobile-drawer.open {
    visibility: visible;
    transform: translateX(0);
  }

  .v24 .mobile-drawer__head {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 68px;
    background: #00182f;
  }

  .v24 .mobile-drawer nav {
    display: grid;
  }

  .v24 .mobile-drawer a {
    padding: 14px 3px;
    font-size: .82rem;
  }

  /* Hero becomes image above, content below — no text over the sign. */
  .v24 .hero {
    height: auto;
    min-height: 0;
    padding-top: 72px;
    overflow: visible;
    background: #001d3e;
  }

  .v24 .hero-layout {
    display: flex;
    min-height: 0;
    padding-top: 0;
    flex-direction: column;
  }

  .v24 .hero-media {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: 292px;
  }

  .v24 .hero-media picture,
  .v24 .hero-media img {
    width: 100%;
    height: 100%;
  }

  .v24 .hero-media img {
    object-fit: cover;
    object-position: 61% 42%;
  }

  .v24 .hero-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,20,40,.04) 0%, rgba(0,20,40,.05) 58%, #001d3e 100%);
    content: "";
  }

  .v24 .hero::before,
  .v24 .hero::after {
    display: none;
  }

  .v24 .hero-panel {
    order: 2;
    min-height: 0;
    background: #001d3e;
  }

  .v24 .hero-panel-inner {
    width: var(--container);
    padding: 0 0 38px;
  }

  .v24 .hero-copy {
    width: 100%;
    max-width: 620px;
    margin: 0;
    padding-top: 6px;
    text-align: right;
  }

  .v24 .hero-kicker {
    margin-bottom: 8px;
    font-size: .67rem;
  }

  .v24 .hero-kicker::before {
    width: 30px;
    flex-basis: 30px;
  }

  .v24 .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8.8vw, 2.85rem);
    line-height: 1.28;
    text-wrap: pretty;
    white-space: normal;
  }

  .v24 .hero-subtitle {
    margin-top: 9px;
    font-size: .91rem;
    line-height: 1.85;
  }

  .v24 .hero-description {
    max-width: 520px;
    margin: 8px 0 18px;
    font-size: .73rem;
    line-height: 1.95;
  }

  .v24 .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(430px, 100%);
  }

  .v24 .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-inline: 10px;
    font-size: .76rem;
  }

  /* Statistics are no longer floating over the hero. */
  .v24 .glance {
    margin-top: 0;
    padding: 14px 0 0;
    background: #f7fafc;
  }

  .v24 .glance-shell {
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,29,62,.09);
  }

  .v24 .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v24 .stat {
    min-height: 88px;
    justify-content: flex-start;
    gap: 9px;
    padding: 12px 14px;
  }

  .v24 .stat::after {
    display: none !important;
  }

  .v24 .stat:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .v24 .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .v24 .stat strong {
    font-size: 1.45rem;
  }

  .v24 .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v24 .lamerd-showcase {
    grid-template-columns: 1fr;
  }

  .v24 .lamerd-panel {
    min-height: 250px;
  }

  .v24 .life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main classroom"
      "main facilities"
      "sport sport";
    grid-template-rows: 280px 280px 250px;
  }

  .v24 .contact-band {
    grid-template-columns: 1fr 1fr;
  }

  .v24 .contact-access {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .v24 .contact-band > div:nth-child(2) {
    border-left: 0;
  }
}

/* Phones */
@media (max-width: 720px) {
  body.v24 {
    --container: calc(100% - 24px);
    --section-space: 56px;
  }

  .v24 .main-nav-shell .container {
    gap: 8px;
  }

  .v24 .logo-pair {
    height: 42px;
    gap: 3px;
  }

  .v24 .header-logo-box {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .v24 .logo-separator {
    height: 20px;
  }

  .v24 .brand-copy strong {
    font-size: .69rem;
  }

  .v24 .mobile-search,
  .v24 .menu-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .v24 .hero-media {
    height: 260px;
  }

  .v24 .hero-media img {
    object-position: 60% 41%;
  }

  .v24 .hero-panel-inner {
    padding-bottom: 32px;
  }

  .v24 .hero h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.45rem);
  }

  .v24 .hero-subtitle {
    font-size: .84rem;
  }

  .v24 .hero-description {
    font-size: .69rem;
  }

  .v24 .stat {
    min-height: 82px;
    padding: 10px;
  }

  .v24 .stat strong {
    font-size: 1.32rem;
  }

  .v24 .stat b {
    font-size: .62rem;
  }

  .v24 .stat small {
    font-size: .49rem;
  }

  .v24 .events-grid {
    grid-template-columns: 1fr;
  }

  .v24 .event-card {
    min-height: 330px;
    aspect-ratio: 16 / 11;
  }

  .v24 .lamerd-section {
    padding-block: 58px;
  }

  .v24 .lamerd-panel {
    min-height: 230px;
  }

  .v24 .life-section {
    padding: 62px 0 72px;
  }

  .v24 .life-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "classroom"
      "facilities"
      "sport";
    grid-template-rows: 360px 280px 270px 270px;
    gap: 13px;
  }

  .v24 .life-content,
  .v24 .life-card.classroom .life-content,
  .v24 .life-card.sport .life-content {
    padding: 88px 18px 16px;
  }

  .v24 .life-card.main .life-content {
    padding: 116px 19px 18px;
  }

  .v24 .contact-band {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .v24 .contact-band > div {
    padding: 22px 20px;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .v24 .contact-band > div:last-child {
    border-bottom: 0;
  }

  .v24 .contact-access {
    grid-column: auto;
    border-top: 0;
  }

  .v24 .footer-main {
    padding-top: 34px;
  }

  .v24 .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .v24 .footer-grid > div,
  .v24 .footer-grid > div:last-child {
    grid-column: auto;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .v24 .footer-grid > div:last-child {
    border-bottom: 0;
  }

  .v24 .footer-utility-line {
    grid-template-columns: 1fr;
  }

  .v24 .footer-utility-line > div {
    min-height: auto;
    padding: 18px 0;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .v24 .footer-utility-line > div:last-child {
    border-bottom: 0;
  }

  .v24 .footer-motto-real img {
    margin-inline: auto;
    object-position: center;
  }

  .v24 .footer-stats-block {
    justify-content: flex-start;
  }

  .v24 .footer-enamad {
    justify-items: start;
  }

  .v24 .footer-social.compact {
    align-items: flex-start;
  }

  .v24 .footer-bottom {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  body.v24 {
    --container: calc(100% - 20px);
  }

  .v24 .brand {
    gap: 5px;
  }

  .v24 .logo-pair {
    gap: 2px;
  }

  .v24 .header-logo-box {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .v24 .brand-copy strong {
    max-width: 142px;
    overflow: hidden;
    font-size: .64rem;
    text-overflow: ellipsis;
  }

  .v24 .nav-actions {
    gap: 5px;
  }

  .v24 .mobile-search,
  .v24 .menu-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .v24 .hero-media {
    height: 236px;
  }

  .v24 .hero h1 {
    font-size: 1.92rem;
  }

  .v24 .hero-actions {
    grid-template-columns: 1fr;
  }

  .v24 .featured-news {
    min-height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v24 *,
  .v24 *::before,
  .v24 *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Instagram-like moment viewer — v0.8.1 */
.v24 .moment-dialog-card {
  width: 100%;
  text-align: start;
  font: inherit;
  cursor: pointer;
}

.v24 .moments-dialog.is-story-open {
  width: min(520px, calc(100% - 24px));
  max-height: min(820px, calc(100vh - 24px));
  overflow: hidden;
  background: #001327;
}

.v24 .moments-dialog.is-story-open .moments-dialog__head {
  display: none;
}

.v24 .moments-dialog.is-story-open .moments-dialog__surface {
  padding: 0;
}

.v24 .moment-story {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100vh - 24px));
  overflow: hidden;
  color: #fff;
  background: #001327;
  isolation: isolate;
}

.v24 .moment-story[hidden] {
  display: none;
}

.v24 .moment-story::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,10,22,.12) 25%, rgba(0,10,22,.36) 57%, rgba(0,10,22,.96) 100%);
  content: "";
  pointer-events: none;
}

.v24 .moment-story__progress {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 16px;
  left: 16px;
  height: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
}

.v24 .moment-story__progress::after {
  display: block;
  width: var(--moment-progress, 20%);
  height: 100%;
  background: #fff;
  border-radius: inherit;
  content: "";
  transition: width .25s ease;
}

.v24 .moment-story__topbar {
  position: absolute;
  z-index: 6;
  top: 24px;
  right: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.v24 .moment-story__topbar button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(0,16,31,.42);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.v24 .moment-story__topbar span {
  padding: 6px 10px;
  color: rgba(255,255,255,.84);
  background: rgba(0,16,31,.35);
  border-radius: 999px;
  font-size: .6rem;
  backdrop-filter: blur(8px);
}

.v24 .moment-story__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
}

.v24 .moment-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v24 .moment-story__copy {
  align-self: end;
  padding: 110px 34px 42px;
}

.v24 .moment-story__copy > span {
  color: var(--gold-100);
  font-size: .68rem;
  font-weight: 850;
}

.v24 .moment-story__copy h3 {
  margin: 8px 0 11px;
  color: #fff;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  line-height: 1.42;
}

.v24 .moment-story__copy p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  line-height: 1.95;
}

.v24 .moment-story__copy a {
  display: inline-flex;
  min-height: 43px;
  margin-top: 20px;
  padding-inline: 16px;
  align-items: center;
  color: #001d3e;
  background: #fff;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 900;
  text-decoration: none;
}

.v24 .moment-story__nav {
  position: absolute;
  z-index: 6;
  top: 45%;
  display: grid;
  width: 42px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: rgba(0,16,31,.34);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 2rem;
  backdrop-filter: blur(7px);
}

.v24 .moment-story__nav.is-prev { right: 0; border-radius: 12px 0 0 12px; }
.v24 .moment-story__nav.is-next { left: 0; border-radius: 0 12px 12px 0; }

@media (max-width: 600px) {
  .v24 .moments-dialog.is-story-open,
  .v24 .moment-story {
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .v24 .moment-story__copy {
    padding: 100px 24px 34px;
  }
}


/* 0.8.1 responsive production repair: news, notices, program cards and compact layouts. */
.v24 .news-layout,
.v24 .news-grid,
.v24 .news-stack,
.v24 .announcements-list {
  min-width: 0;
}

.v24 .featured-news > a {
  display: block;
  height: 100%;
}

.v24 .featured-news img,
.v24 .news-row img {
  width: 100%;
}

.v24 .news-row h3,
.v24 .announcement h3,
.v24 .featured-copy h3 {
  overflow-wrap: anywhere;
}

.v24 .announcements {
  height: 100%;
}

.v24 .announcements-list {
  gap: 0;
}

.v24 .announcement {
  min-width: 0;
  align-items: start;
}

.v24 .program-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.v24 .program-card::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: auto -28% -72% -28%;
  height: 130%;
  background: radial-gradient(circle at 50% 0%, rgba(232,201,98,.24), transparent 68%);
  content: "";
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .25s ease, transform .25s ease;
}

.v24 .program-card:hover::after,
.v24 .program-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.v24 .program-card > * {
  position: relative;
  z-index: 1;
}

.v24 .program-card:hover .program-icon,
.v24 .program-card:focus-visible .program-icon {
  transform: translateY(-4px) scale(1.04);
}

.v24 .program-icon {
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

@media (max-width: 1180px) {
  .v24 .news-layout {
    grid-template-columns: 1fr;
  }

  .v24 .announcements {
    height: auto;
  }

  .v24 .announcements-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0 24px;
  }

  .v24 .announcement:nth-child(2) {
    border-top: 0;
    padding-top: 3px;
  }
}

@media (max-width: 860px) {
  .v24 .news-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .v24 .featured-news {
    min-height: 420px;
  }

  .v24 .news-stack {
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-template-rows: none;
  }

  .v24 .news-row {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .v24 .news-row img {
    height: 150px;
    min-height: 0;
  }

  .v24 .program-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 620px) {
  .v24 .section {
    padding-block: 54px;
  }

  .v24 .news-panel-head,
  .v24 .announcements-head,
  .v24 .programs-head,
  .v24 .section-head {
    align-items: flex-start;
    gap: 12px;
  }

  .v24 .news-panel-head .text-link,
  .v24 .announcements-head .text-link,
  .v24 .programs-head .text-link,
  .v24 .section-head .text-link {
    flex: 0 0 auto;
    font-size: .62rem;
  }

  .v24 .featured-news {
    min-height: 360px;
  }

  .v24 .featured-copy {
    padding: 74px 20px 20px;
  }

  .v24 .featured-copy h3 {
    font-size: 1.08rem;
  }

  .v24 .featured-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .v24 .news-stack,
  .v24 .announcements-list {
    grid-template-columns: 1fr;
  }

  .v24 .news-row {
    grid-template-columns: 104px minmax(0,1fr);
  }

  .v24 .news-row img {
    height: 112px;
  }

  .v24 .announcement:nth-child(2) {
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .v24 .announcement-date {
    width: 64px;
  }

  .v24 .program-grid,
  .v24 .events-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .v24 .program-card {
    min-height: 132px;
    padding: 18px 12px;
  }

  .v24 .program-card h3 {
    font-size: .78rem;
  }
}

@media (max-width: 390px) {
  .v24 .news-row {
    grid-template-columns: 88px minmax(0,1fr);
    gap: 10px;
  }

  .v24 .news-row img {
    height: 98px;
  }

  .v24 .program-grid,
  .v24 .events-grid {
    grid-template-columns: 1fr;
  }
}


/* 0.8.2 homepage production patch */
body.home, body.v24{overflow-x:clip;}
.v24 .container, .v24 .news-grid, .v24 .news-layout, .v24 .events-grid, .v24 .program-grid, .v24 .life-grid {min-width:0;max-width:100%;}
.v24 .events-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.v24 .event-card,.v24 .program-card,.v24 .news-row,.v24 .life-card{min-width:0;}
.moments-strip{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:18px 22px;border:1px solid rgba(1,58,113,.1);border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbfd);box-shadow:0 16px 38px rgba(1,36,68,.08);}
.moments-strip__intro{display:flex;align-items:center;gap:12px;min-width:220px;}
.moments-strip__intro strong,.moments-strip__intro small{display:block;}
.moments-strip__intro strong{font-size:1rem;color:var(--navy-900);font-weight:900;}
.moments-strip__intro small{margin-top:4px;color:var(--muted);font-size:.64rem;line-height:1.8;}
.moments-strip__items{display:flex;align-items:flex-start;gap:16px;min-width:0;overflow-x:auto;padding:6px 2px 4px;scrollbar-width:none;}
.moments-strip__items::-webkit-scrollbar{display:none;}
.moment-bubble{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:92px;padding:0;border:0;background:transparent;color:inherit;}
.moment-bubble__ring{display:grid;place-items:center;width:76px;height:76px;padding:3px;border-radius:50%;background:linear-gradient(135deg,#b89827,#004588);box-shadow:0 10px 24px rgba(0,29,62,.13);}
.moment-bubble.is-new .moment-bubble__ring{background:linear-gradient(135deg,#d6ad37,#013a71);}
.moment-bubble__ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #fff;}
.moment-bubble__text{display:block;text-align:center;}
.moment-bubble__text strong{display:block;color:var(--navy-900);font-size:.68rem;font-weight:860;line-height:1.6;}
.moment-bubble__text small{display:block;color:var(--muted);font-size:.55rem;line-height:1.6;}
.moments-strip__all{justify-self:end;min-height:42px;padding:0 16px;border:1px solid rgba(1,58,113,.16);border-radius:999px;background:#fff;color:var(--blue-500);font-weight:860;}
.moments-strip__all:hover{background:var(--blue-50);}
@media (max-width: 1180px){.moments-strip{grid-template-columns:1fr;justify-items:start}.moments-strip__intro{min-width:0}.moments-strip__all{justify-self:start}.v24 .events-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 760px){.moments-strip{padding:16px;border-radius:18px}.moment-bubble{min-width:84px}.moment-bubble__ring{width:68px;height:68px}.v24 .events-grid{grid-template-columns:1fr}}

/* ===== source: home-hero.css ===== */
/* Homepage top stability layer — isolated hero, statistics and approved Lamerd showcase */

.lmr8-home-hero {
  position: relative;
  min-height: 650px;
  padding-top: var(--lmr8-header-total, 116px);
  overflow: hidden;
  background: #001d3e;
  direction: ltr;
}

.lmr8-home-hero__layout {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 534px;
}

.lmr8-home-hero__panel {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 44, 84, .5), transparent 54%),
    #002b54;
  direction: rtl;
  isolation: isolate;
}

.lmr8-home-hero__panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image:
    linear-gradient(30deg, transparent 48.5%, #e8c962 49.1%, #e8c962 49.7%, transparent 50.3%),
    linear-gradient(-30deg, transparent 48.5%, #e8c962 49.1%, #e8c962 49.7%, transparent 50.3%);
  background-size: 74px 43px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.lmr8-home-hero__panel::after {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  inset-inline-end: -175px;
  width: 260px;
  background: linear-gradient(90deg, #002b54 0%, rgba(0,43,84,.94) 24%, rgba(0,43,84,.58) 58%, transparent 100%);
  content: "";
  pointer-events: none;
}

.lmr8-home-hero__copy {
  position: relative;
  z-index: 3;
  width: min(560px, calc(100% - 72px));
  margin-inline: auto;
  padding-block: 42px 58px;
  text-align: right;
}

.lmr8-home-hero__kicker {
  display: flex;
  margin: 0 0 14px;
  align-items: center;
  gap: 12px;
  color: #f0d379;
  font-size: .77rem;
  font-weight: 900;
  line-height: 1.8;
}

.lmr8-home-hero__kicker::before {
  width: 48px;
  height: 2px;
  flex: 0 0 48px;
  background: #e8c962;
  border-radius: 99px;
  content: "";
}

.lmr8-home-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--lmr-font-sans, "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif);
  font-size: clamp(2.85rem, 3.75vw, 3.7rem);
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  text-wrap: balance;
}

.lmr8-home-hero__subtitle {
  margin: 18px 0 0;
  color: #f3d88a;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  font-weight: 900;
  line-height: 1.8;
}

.lmr8-home-hero__description {
  max-width: 510px;
  margin: 11px 0 26px;
  color: rgba(255, 255, 255, .72);
  font-size: .89rem;
  line-height: 2;
}

.lmr8-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lmr8-home-button {
  display: inline-flex;
  min-height: 51px;
  padding-inline: 23px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.lmr8-home-button:hover,
.lmr8-home-button:focus-visible {
  transform: translateY(-2px);
}

.lmr8-home-button.is-light {
  color: #001d3e;
  background: #fff;
  border: 1px solid rgba(0, 29, 62, .1);
}

.lmr8-home-button.is-light > span:last-child {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #001d3e;
  background: #f2d98e;
  border-radius: 50%;
}

.lmr8-home-button.is-primary {
  color: #fff;
  background: #0874be;
  border: 1px solid #0874be;
  box-shadow: 0 12px 26px rgba(0, 84, 153, .24);
}

.lmr8-home-hero__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #d8e4eb;
}

.lmr8-home-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,43,84,.46) 0%, rgba(0,43,84,.18) 12%, transparent 32%);
  content: "";
  pointer-events: none;
}

.lmr8-home-hero__media picture,
.lmr8-home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.lmr8-home-hero__media img {
  object-fit: cover;
  object-position: center 49%;
}

/* Stable statistics: no digit or word fragmentation. */
.lmr8-home-stats {
  position: relative;
  z-index: 20;
  margin-top: -38px;
}

.lmr8-home-stats__shell {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .985);
  border: 1px solid rgba(0, 58, 113, .1);
  border-radius: 19px;
  box-shadow: 0 24px 60px rgba(0, 29, 62, .13);
}

.lmr8-home-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  direction: rtl;
}

.lmr8-home-stat {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 76px;
  padding: 8px 24px;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.lmr8-home-stat:not(:last-child)::after {
  position: absolute;
  inset-block: 8px;
  inset-inline-end: 0;
  width: 1px;
  background: #dfe7ed;
  content: "";
}

.lmr8-home-stat strong {
  flex: 0 0 auto;
  color: #001d3e;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
}

.lmr8-home-stat > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.lmr8-home-stat b,
.lmr8-home-stat small {
  display: block;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
}

.lmr8-home-stat b {
  color: #075b9a;
  font-size: .72rem;
  font-weight: 900;
}

.lmr8-home-stat small {
  color: #6f7e8b;
  font-size: .58rem;
  line-height: 1.65;
}

/* Approved full-width Lamerd city demo. */
#lamerd.lamerd-section {
  padding-block: 54px 64px;
  background: #fff;
}

#lamerd.lamerd-section > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.v24 #lamerd .lamerd-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  height: 370px;
  overflow: hidden;
  background: #001d3e;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--lmr-font-sans, "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif);
}

.v24 #lamerd .lamerd-showcase::before {
  display: none;
}

.v24 #lamerd .lamerd-showcase::after {
  height: 172px;
  background: linear-gradient(180deg, rgba(0, 29, 62, .91), rgba(0, 29, 62, .5), transparent);
}

.v24 #lamerd .lamerd-showcase-heading {
  top: 30px;
  width: min(780px, 82%);
  font-family: var(--lmr-font-sans, "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif);
}

.v24 #lamerd .lamerd-showcase-heading .unified-kicker {
  color: #efcf6c;
  font-family: inherit;
  font-size: .66rem;
  font-weight: 900;
}

.v24 #lamerd .lamerd-showcase-heading h2 {
  margin-top: 5px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.v24 #lamerd .lamerd-showcase-heading h2 em {
  color: #f0bc2f;
  font-family: inherit;
  font-style: normal;
}

.v24 #lamerd .lamerd-panel {
  font-family: var(--lmr-font-sans, "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif);
}

.v24 #lamerd .lamerd-panel img {
  filter: saturate(.93) contrast(1.02);
}

.v24 #lamerd .lamerd-panel::after {
  background: linear-gradient(180deg, rgba(0, 20, 39, .05) 22%, rgba(0, 20, 39, .93) 100%);
}

.v24 #lamerd .lamerd-panel-content {
  inset-inline: 18px;
  bottom: 25px;
  font-family: inherit;
}

.v24 #lamerd .lamerd-panel-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: #e8c962;
  border-color: rgba(232, 201, 98, .75);
}

.v24 #lamerd .lamerd-panel-content strong {
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.7;
}

.v24 #lamerd .lamerd-panel-content small {
  color: rgba(255, 255, 255, .62);
  font-family: inherit;
  font-size: .63rem;
  line-height: 1.7;
}

.v24 #lamerd .lamerd-frame {
  display: none;
}

.lmr8-city-more {
  display: none;
}

@media (min-width: 1280px) {
  .lmr8-home-hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1279px) {
  .lmr8-home-hero {
    min-height: 560px;
    padding-top: 0;
  }

  .lmr8-home-hero__layout {
    grid-template-columns: 48% 52%;
    min-height: 560px;
  }

  .lmr8-home-hero__copy {
    width: min(500px, calc(100% - 48px));
  }

  .lmr8-home-hero h1 {
    font-size: clamp(2.35rem, 4.3vw, 3.2rem);
  }

  .lmr8-home-hero__panel::after {
    inset-inline-end: -70px;
    width: 100px;
  }

  .lmr8-home-stats {
    margin-top: -28px;
  }

  .lmr8-home-stat {
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  .lmr8-home-hero {
    min-height: auto;
  }

  .lmr8-home-hero__layout {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .lmr8-home-hero__media {
    order: 1;
    height: clamp(240px, 52vw, 340px);
  }

  .lmr8-home-hero__panel {
    order: 2;
    min-height: 350px;
  }

  .lmr8-home-hero__panel::after {
    display: none;
  }

  .lmr8-home-hero__copy {
    width: min(680px, calc(100% - 32px));
    padding-block: 42px 52px;
  }

  .lmr8-home-hero__kicker {
    font-size: .71rem;
  }

  .lmr8-home-hero h1 {
    font-size: clamp(2.25rem, 8.2vw, 3.25rem);
  }

  .lmr8-home-hero__subtitle {
    font-size: 1rem;
  }

  .lmr8-home-stats {
    margin-top: 0;
    padding-top: 14px;
    background: #f5f8fa;
  }

  .lmr8-home-stats__shell {
    width: min(680px, calc(100% - 24px));
    padding: 0;
    overflow: hidden;
    border-radius: 17px;
  }

  .lmr8-home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lmr8-home-stat {
    min-height: 102px;
    padding: 16px 14px;
  }

  .lmr8-home-stat:nth-child(2n)::after {
    display: none;
  }

  .lmr8-home-stat:nth-child(-n + 2) {
    border-bottom: 1px solid #dfe7ed;
  }

  .lmr8-home-stat strong {
    font-size: 1.65rem;
  }

  #lamerd.lamerd-section {
    padding-block: 46px 58px;
  }
}

@media (max-width: 700px) {
  .lmr8-home-hero__media {
    height: 250px;
  }

  .lmr8-home-hero__media img {
    object-position: 55% 48%;
  }

  .lmr8-home-hero__copy {
    padding-block: 36px 44px;
  }

  .lmr8-home-hero__description {
    margin-bottom: 22px;
    font-size: .83rem;
  }

  .lmr8-home-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lmr8-home-button {
    min-width: 0;
    padding-inline: 14px;
    font-size: .75rem;
  }

  .lmr8-home-stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: start;
    text-align: right;
  }

  .lmr8-home-stat b {
    font-size: .68rem;
  }

  .lmr8-home-stat small {
    font-size: .55rem;
  }

  .v24 #lamerd .lamerd-showcase {
    position: relative;
    display: block;
    height: 430px;
  }

  .v24 #lamerd .lamerd-showcase-heading {
    top: 24px;
    width: calc(100% - 32px);
  }

  .v24 #lamerd .lamerd-showcase-heading h2 {
    font-size: 2rem;
  }

  .v24 #lamerd .lamerd-panel {
    display: none;
    width: 100%;
    height: 100%;
  }

  .v24 #lamerd .lamerd-panel.geography {
    display: block;
  }

  .v24 #lamerd .lamerd-panel-content {
    bottom: 28px;
  }

  .lmr8-city-more {
    display: flex;
    width: min(360px, calc(100% - 32px));
    min-height: 46px;
    margin: 16px auto 0;
    align-items: center;
    justify-content: center;
    color: #001d3e;
    background: #f0d379;
    border-radius: 11px;
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
  }
}

@media (max-width: 430px) {
  .lmr8-home-hero__media {
    height: 225px;
  }

  .lmr8-home-hero h1 {
    font-size: 2.2rem;
  }

  .lmr8-home-hero__kicker::before {
    width: 32px;
    flex-basis: 32px;
  }

  .lmr8-home-hero__actions {
    grid-template-columns: 1fr;
  }

  .lmr8-home-stat {
    min-height: 112px;
    grid-template-columns: 1fr;
    gap: 7px;
    justify-items: center;
    text-align: center;
  }

  .lmr8-home-stat > div {
    justify-items: center;
  }

  .v24 #lamerd .lamerd-showcase {
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmr8-home-button {
    transition: none;
  }
}


/* Approved Lamerd demo lock: typography and geometry must not inherit legacy styles. */
.v24 #lamerd .lamerd-showcase,
.v24 #lamerd .lamerd-showcase-heading,
.v24 #lamerd .lamerd-showcase-heading *,
.v24 #lamerd .lamerd-panel,
.v24 #lamerd .lamerd-panel-content,
.v24 #lamerd .lamerd-panel-content * {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif !important;
}

@media (min-width: 901px) {
  .v24 #lamerd .lamerd-showcase {
    height: 370px !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  .v24 #lamerd .lamerd-panel {
    min-height: 370px !important;
    border-radius: 0 !important;
    transform: none !important;
  }
}


/* Exact approved three-panel city composition. */
.v24 #lamerd .lamerd-showcase {
  position: relative !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 0 !important;
  isolation: isolate;
}

.v24 #lamerd .lamerd-showcase-heading {
  position: absolute !important;
  z-index: 8 !important;
  top: 27px !important;
  right: 50% !important;
  bottom: auto !important;
  left: auto !important;
  grid-column: auto !important;
  width: min(780px, 82%) !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
  text-align: center !important;
  transform: translateX(50%) !important;
  pointer-events: none;
}

.v24 #lamerd .lamerd-showcase-heading::after {
  display: none !important;
}

.v24 #lamerd .lamerd-panel {
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background: #001d3e !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.v24 #lamerd .lamerd-panel:not(:last-of-type) {
  border-inline-end: 1px solid rgba(244, 215, 155, .25) !important;
}

.v24 #lamerd .lamerd-panel::before {
  display: none !important;
}

.v24 #lamerd .lamerd-panel::after {
  display: block !important;
  background: linear-gradient(180deg, rgba(0, 20, 39, .04) 18%, rgba(0, 20, 39, .18) 48%, rgba(0, 20, 39, .94) 100%) !important;
}

.v24 #lamerd .lamerd-panel-content {
  position: absolute !important;
  z-index: 5 !important;
  right: 18px !important;
  bottom: 24px !important;
  left: 18px !important;
  display: flex !important;
  padding: 0 !important;
  grid-template-columns: none !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  color: #fff !important;
  text-align: center !important;
}

.v24 #lamerd .lamerd-panel-icon {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 11px !important;
  place-items: center !important;
  color: #e8c962 !important;
  background: rgba(0, 29, 62, .38) !important;
  border: 1px solid rgba(232, 201, 98, .76) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(6px);
}

.v24 #lamerd .lamerd-panel-content strong,
.v24 #lamerd .lamerd-panel-content small {
  grid-column: auto !important;
}

@media (min-width: 901px) {
  #lamerd.lamerd-section {
    padding-block: 23px 44px !important;
  }
}

@media (max-width: 700px) {
  .v24 #lamerd .lamerd-showcase {
    display: block !important;
  }

  .v24 #lamerd .lamerd-showcase-heading {
    top: 23px !important;
    width: calc(100% - 30px) !important;
  }

  .v24 #lamerd .lamerd-panel {
    position: absolute !important;
    inset: 0 !important;
  }

  .v24 #lamerd .lamerd-panel.geography {
    display: block !important;
  }
}


/* 0.8.2 hero cohesion + responsive stabilization */
.lmr8-home-hero__layout{max-width:100%;overflow:hidden;}
.lmr8-home-hero__panel::after{inset-inline-end:-120px;width:220px;background:linear-gradient(90deg,rgba(0,43,84,1) 0%, rgba(0,43,84,.88) 32%, rgba(0,43,84,.38) 72%, transparent 100%);}
.lmr8-home-hero__media::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:82px;background:linear-gradient(90deg,rgba(0,43,84,.34),transparent 100%);z-index:2;pointer-events:none;}
.lmr8-home-hero__media img{max-width:100%;}
body.home, body.home #page, body.home main{overflow-x:clip;}

/* ===== source: shared-ui.css ===== */
/* Lamerd 0.9.0 — launch-quality visual, responsive and stability layer */

:root {
  --lmr-font-sans: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
  --lmr-launch-navy: #00274d;
  --lmr-launch-navy-deep: #00172f;
  --lmr-launch-blue: #075b9a;
  --lmr-launch-gold: #d8b45a;
  --lmr-launch-ink: #142638;
  --lmr-launch-muted: #627386;
  --lmr-launch-line: rgba(0, 58, 113, .14);
  --lmr-launch-shell: min(1280px, calc(100% - 48px));
}

html { overflow-x: clip; }
body {
  overflow-x: clip;
  font-family: var(--lmr-font-sans);
  color: var(--lmr-launch-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open,
html.lmr-dialog-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
main, section, article, aside, nav, header, footer, .lamerd-shell, .container { min-width: 0; }
.lamerd-shell { width: var(--lmr-launch-shell); }

/* Header mark: preserve the approved combined logo without cropping. */
.lmr8-brand__marks {
  display: flex;
  min-width: 116px;
  max-width: 124px;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.lmr8-brand__marks .is-dual-logo {
  display: block;
  width: auto !important;
  height: 58px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
.lmr8-brand__copy strong { font-size: .88rem; }

/* One-piece homepage hero.
 * The supplied photograph remains unchanged. Copy and important notices stay
 * in the lower safe zone so the official entrance sign remains unobstructed. */
.lmr10-home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(720px, 84vh, 880px);
  padding-top: var(--lmr8-header-total, 116px);
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--lmr-launch-navy-deep);
}
.lmr10-home-hero__media,
.lmr10-home-hero__media img,
.lmr10-home-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lmr10-home-hero__media { z-index: -3; }
.lmr10-home-hero__media img {
  display: block;
  object-fit: cover;
  object-position: center center;
}
.lmr10-home-hero__veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,16,34,.02) 0%, rgba(0,16,34,.05) 45%, rgba(0,20,43,.58) 67%, rgba(0,18,39,.95) 100%),
    linear-gradient(90deg, rgba(0,22,46,.36) 0%, rgba(0,22,46,.08) 52%, rgba(0,22,46,.28) 100%);
}
.lmr10-home-hero__ornament { display: none; }
.lmr10-home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,.55fr);
  align-items: end;
  gap: clamp(28px,5vw,72px);
  padding-block: clamp(350px,46vh,470px) 72px;
  direction: rtl;
}
.lmr10-home-hero__copy {
  align-self: end;
  max-width: 760px;
}
.lmr10-home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #f3d986;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.lmr10-home-hero__kicker::before {
  content: "";
  width: 46px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.lmr10-home-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(2.6rem,4.8vw,4.85rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-wrap: balance;
  text-shadow: 0 14px 42px rgba(0,0,0,.28);
}
.lmr10-home-hero__subtitle {
  max-width: 690px;
  margin: 16px 0 0;
  color: #f4d98b;
  font-size: clamp(.98rem,1.45vw,1.25rem);
  font-weight: 800;
  line-height: 1.75;
}
.lmr10-home-hero__description {
  max-width: 650px;
  margin: 10px 0 24px;
  color: rgba(255,255,255,.8);
  font-size: clamp(.84rem,1vw,.96rem);
  line-height: 2;
}
.lmr10-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lmr10-button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.lmr10-button:hover,
.lmr10-button:focus-visible { transform: translateY(-2px); color: #fff; }
.lmr10-button.is-primary {
  color: #00274d;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.lmr10-button.is-primary:hover,
.lmr10-button.is-primary:focus-visible { background: #f5df9a; border-color: #f5df9a; color: #00274d; }
.lmr10-button.is-ghost { background: rgba(0,25,52,.34); backdrop-filter: blur(8px); }
.lmr10-button.is-ghost:hover,
.lmr10-button.is-ghost:focus-visible { background: rgba(255,255,255,.13); }
.lmr10-home-hero__quick {
  align-self: end;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  background: rgba(0,25,52,.67);
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}
.lmr10-home-hero__quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 8px 11px;
}
.lmr10-home-hero__quick-head p {
  margin: 0;
  color: #f3d986;
  font-size: .72rem;
  font-weight: 900;
}
.lmr10-home-hero__quick-head > a {
  color: rgba(255,255,255,.7);
  font-size: .58rem;
  text-decoration: none;
}
.lmr10-home-hero__quick-head > a:hover,
.lmr10-home-hero__quick-head > a:focus-visible { color: #fff; }
.lmr10-home-hero__quick-list { display: grid; }
.lmr10-home-hero__quick-list > a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px 36px 12px 8px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
}
.lmr10-home-hero__quick-list > a::before {
  position: absolute;
  right: 8px;
  top: 15px;
  content: "←";
  color: #f3d986;
}
.lmr10-home-hero__quick-list span {
  display: -webkit-box;
  overflow: hidden;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.lmr10-home-hero__quick-list small {
  color: rgba(255,255,255,.58);
  font-size: .56rem;
}
.lmr10-home-hero__quick-list > a:hover span,
.lmr10-home-hero__quick-list > a:focus-visible span { color: #f8e4a5; }
.lmr10-home-hero__scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  color: rgba(255,255,255,.62);
  font-size: .54rem;
  text-decoration: none;
}
.lmr10-home-hero__scroll i {
  width: 1px;
  height: 22px;
  background: linear-gradient(#f3d986,transparent);
}

/* Statistics bridge. */
.lmr8-home-stats { z-index: 20; margin-top: -48px; }
.lmr8-home-stats__shell {
  width: min(1240px, calc(100% - 48px));
  padding: 18px 24px;
  border-radius: 20px;
  border: 1px solid var(--lmr-launch-line);
  box-shadow: 0 24px 64px rgba(0,39,77,.14);
}

/* Story-like moment strip. */
.moments-prompt { padding: 34px 0 18px; background: #fff; }
.moments-strip {
  display: grid;
  grid-template-columns: minmax(200px, .68fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--lmr-launch-line);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #f7fafc);
  box-shadow: 0 16px 42px rgba(0,39,77,.07);
}
.moments-strip__intro { display: flex; align-items: center; gap: 12px; min-width: 0; }
.moments-live { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #d3aa35; box-shadow: 0 0 0 7px rgba(211,170,53,.13); }
.moments-strip__intro strong { display: block; color: var(--lmr-launch-navy-deep); font-size: 1.05rem; font-weight: 900; }
.moments-strip__intro small { display: block; margin-top: 4px; color: var(--lmr-launch-muted); font-size: .62rem; line-height: 1.8; }
.moments-strip__items {
  min-width: 0;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,58,113,.24) transparent;
}
.moment-bubble {
  width: 94px;
  min-width: 94px;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  color: inherit;
  background: transparent;
  scroll-snap-align: start;
}
.moment-bubble__ring {
  position: relative;
  width: 76px;
  height: 76px;
  padding: 3px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(145deg, #d6ad37, #075b9a);
  box-shadow: 0 10px 24px rgba(0,39,77,.14);
  transition: transform .18s ease;
}
.moment-bubble:hover .moment-bubble__ring { transform: translateY(-3px) scale(1.03); }
.moment-bubble__ring img { width: 100%; height: 100%; object-fit: cover; border: 3px solid #fff; border-radius: 50%; }
.moment-bubble.is-new .moment-bubble__ring::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 5px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20a477;
}
.moment-bubble__text { width: 100%; text-align: center; }
.moment-bubble__text strong { display: block; overflow: hidden; color: var(--lmr-launch-navy-deep); font-size: .64rem; font-weight: 800; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.moment-bubble__text small { display: block; overflow: hidden; color: var(--lmr-launch-muted); font-size: .52rem; text-overflow: ellipsis; white-space: nowrap; }
.moments-strip__all {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--lmr-launch-line);
  border-radius: 999px;
  color: var(--lmr-launch-blue);
  background: #fff;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Stable story dialog, independent of legacy popup rules. */
.moments-dialog {
  position: fixed !important;
  inset: 0 !important;
  width: min(980px, calc(100% - 32px)) !important;
  max-width: none !important;
  max-height: min(88vh, 820px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 24px !important;
  color: var(--lmr-launch-ink);
  background: #fff !important;
  box-shadow: 0 36px 110px rgba(0,18,38,.42) !important;
}
.moments-dialog:not([open]) { display: none !important; }
.moments-dialog::backdrop { background: rgba(0,15,31,.78); backdrop-filter: blur(7px); }
.moments-dialog__surface { min-height: 560px; max-height: min(88vh, 820px); padding: 0 !important; display: grid; grid-template-rows: auto minmax(0,1fr); overflow: hidden; }
.moments-dialog__head {
  min-height: 82px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--lmr-launch-line);
  background: #fff;
}
.moments-dialog__head h2 { margin: 2px 0 0; color: var(--lmr-launch-navy-deep); font-size: 1.3rem; }
.moments-dialog__close {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--lmr-launch-line);
  border-radius: 50%;
  color: var(--lmr-launch-navy-deep);
  background: #f7fafc;
  font-size: 1.4rem;
}
.moments-dialog__grid {
  min-height: 0;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  overflow-y: auto;
  background: #f6f9fb;
}
.moment-dialog-card {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid var(--lmr-launch-line);
  border-radius: 16px;
  text-align: right;
  color: inherit;
  background: #fff;
}
.moment-dialog-card__media { width: 86px; height: 104px; overflow: hidden; border-radius: 11px; background: #e9eff4; }
.moment-dialog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.moment-dialog-card strong { display: block; color: var(--lmr-launch-navy-deep); font-size: .73rem; line-height: 1.7; }
.moment-dialog-card small { color: var(--lmr-launch-muted); font-size: .56rem; }
.moments-dialog.is-story-open { width: min(520px, calc(100% - 24px)) !important; max-height: min(92vh, 880px) !important; }
.moments-dialog.is-story-open .moments-dialog__head { display: none; }
.moments-dialog.is-story-open .moments-dialog__surface { display: block; min-height: 0; max-height: none; }
.moment-story {
  position: relative;
  min-height: min(820px, 90vh);
  height: min(820px, 90vh);
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  overflow: hidden;
  color: #fff;
  background: var(--lmr-launch-navy-deep);
}
.moment-story[hidden] { display: none !important; }
.moment-story::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,12,27,.28), transparent 30%, transparent 48%, rgba(0,12,27,.95));
}
.moment-story__progress { position: absolute; z-index: 6; top: 10px; right: 12px; left: 12px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.3); }
.moment-story__progress::after { content: ""; display: block; width: var(--moment-progress, 20%); height: 100%; background: #fff; transition: width .24s ease; }
.moment-story__topbar { position: relative; z-index: 7; padding: 22px 18px 10px; display: flex; align-items: center; justify-content: space-between; }
.moment-story__topbar button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: #fff; background: rgba(0,20,42,.42); }
.moment-story__topbar span { font-size: .62rem; }
.moment-story__media { position: absolute; inset: 0; margin: 0; }
.moment-story__media img { width: 100%; height: 100%; object-fit: cover; }
.moment-story__copy { position: relative; z-index: 5; align-self: end; padding: 80px 28px 30px; }
.moment-story__copy > span { color: #f3d986; font-size: .65rem; font-weight: 800; }
.moment-story__copy h3 { margin: 7px 0 8px; color: #fff; font-size: clamp(1.25rem, 5vw, 1.85rem); line-height: 1.55; }
.moment-story__copy p { margin: 0; color: rgba(255,255,255,.72); font-size: .72rem; line-height: 1.9; }
.moment-story__copy a { display: inline-flex; margin-top: 16px; padding: 10px 15px; border-radius: 10px; color: #00274d; background: #fff; font-size: .68rem; font-weight: 800; text-decoration: none; }
.moment-story__nav { position: absolute; z-index: 8; top: 45%; width: 42px; height: 54px; border: 0; color: #fff; background: rgba(0,20,42,.4); font-size: 1.7rem; }
.moment-story__nav.is-prev { right: 0; border-radius: 12px 0 0 12px; }
.moment-story__nav.is-next { left: 0; border-radius: 0 12px 12px 0; }

/* Homepage grids never force viewport overflow. */
.v24 .container { max-width: 100%; }
.v24 .news-layout,
.v24 .news-grid,
.v24 .program-grid,
.v24 .events-grid,
.v24 .lamerd-grid,
.v24 .life-grid,
.v24 .contact-band,
.footer-grid,
.footer-utility-line { min-width: 0; max-width: 100%; }
.v24 .events-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.v24 .event-card { min-width: 0; }

/* Footer: restrained Iranian arabesque / geometric ornament. */
.site-footer,
.lamerd-site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #00182f;
}
.site-footer::before,
.lamerd-site-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .08;
  background-image:
    radial-gradient(circle at 50% 0, transparent 0 20px, #e1c678 21px 22px, transparent 23px 45px),
    radial-gradient(circle at 0 50%, transparent 0 20px, #e1c678 21px 22px, transparent 23px 45px),
    linear-gradient(45deg, transparent 48%, #e1c678 49%, #e1c678 51%, transparent 52%);
  background-size: 92px 92px, 92px 92px, 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.site-footer::after,
.lamerd-site-footer::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, transparent, #d8b45a 20%, #f0d98b 50%, #d8b45a 80%, transparent);
}
.footer-pattern { opacity: .035; }
.footer-top-rule { height: 22px; background: #fff; clip-path: polygon(0 0,100% 0,100% 20%,88% 20%,86% 100%,14% 100%,12% 20%,0 20%); }
.footer-main { padding-top: 72px; }
.footer-brand .brand-mark { width: 68px; height: 68px; }
.footer-brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-motto-real { min-width: 0; }
.footer-motto-real img { width: min(310px, 100%); height: auto; object-fit: contain; border-radius: 9px; }
.footer-enamad img { width: auto; height: 90px; object-fit: contain; }
.lamerd-footer-slogan { max-width: 250px; }
.lamerd-footer-slogan img { width: 100%; height: auto; object-fit: contain; }

/* President page. */
.is-president-page { padding: 0; }
.lmr-president { background: #fff; }
.lmr-president__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 8vw, 100px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(44,123,181,.26), transparent 32%),
    linear-gradient(135deg, #00182f, #003665 72%, #074f84);
}
.lmr-president__pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(30deg, transparent 48.5%, #e6cb7d 49%, #e6cb7d 50%, transparent 50.5%), linear-gradient(-30deg, transparent 48.5%, #e6cb7d 49%, #e6cb7d 50%, transparent 50.5%);
  background-size: 78px 46px;
  mask-image: linear-gradient(90deg, #000, transparent 64%);
}
.lmr-president__hero-grid { display: grid; grid-template-columns: minmax(290px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(42px, 7vw, 92px); }
.lmr-president__portrait { display: grid; justify-items: center; gap: 14px; }
.lmr-president__portrait-frame { width: min(380px, 100%); aspect-ratio: 4 / 5; padding: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 28px 28px 80px 28px; background: rgba(255,255,255,.08); box-shadow: 0 32px 70px rgba(0,0,0,.28); }
.lmr-president__portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 20px 20px 70px 20px; }
.lmr-president__portrait > span { color: rgba(255,255,255,.65); font-size: .66rem; }
.lmr-president__intro .lamerd-breadcrumbs,
.lmr-president__intro .lamerd-breadcrumbs a { color: rgba(255,255,255,.72); }
.lmr-president__intro .lamerd-eyebrow { color: #f0d98b; }
.lmr-president__intro h1 { margin: 8px 0 0; color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.5rem); line-height: 1.18; }
.lmr-president__role { margin: 12px 0 0; color: #f0d98b; font-weight: 800; }
.lmr-president__lead { max-width: 720px; margin: 16px 0 25px; color: rgba(255,255,255,.76); line-height: 2.05; }
.lmr-president__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lmr-president__actions .lamerd-button { color: #00274d; background: #fff; border-color: #fff; }
.lmr-president__actions .lamerd-button--outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.lmr-president__facts { margin: 30px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(0,22,47,.28); }
.lmr-president__facts div { padding: 14px 16px; border-inline-start: 1px solid rgba(255,255,255,.13); }
.lmr-president__facts div:first-child { border-inline-start: 0; }
.lmr-president__facts dt { color: rgba(255,255,255,.48); font-size: .56rem; }
.lmr-president__facts dd { margin: 4px 0 0; color: #fff; font-size: .73rem; font-weight: 800; }
.lmr-president__body { padding-block: clamp(62px, 8vw, 100px); display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.65fr); gap: clamp(34px, 6vw, 76px); align-items: start; }
.lmr-president__message h2 { max-width: 760px; margin: 8px 0 24px; color: var(--lmr-launch-navy-deep); font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.5; }
.lmr-president__contact { padding: 24px; border: 1px solid var(--lmr-launch-line); border-radius: 20px; background: linear-gradient(145deg,#fff,#f5f9fc); box-shadow: 0 16px 38px rgba(0,39,77,.07); }
.lmr-president__contact h2 { margin: 0 0 14px; color: var(--lmr-launch-navy-deep); font-size: 1.18rem; }
.lmr-president__contact dl { margin: 0; }
.lmr-president__contact dl div { padding: 13px 0; border-top: 1px solid var(--lmr-launch-line); }
.lmr-president__contact dt { color: var(--lmr-launch-muted); font-size: .6rem; }
.lmr-president__contact dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: .72rem; font-weight: 700; }
.lmr-president__contact > a { display: flex; min-height: 44px; margin-top: 15px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: var(--lmr-launch-blue); text-decoration: none; font-size: .7rem; font-weight: 800; }
.lmr-president__credentials { margin-bottom: clamp(60px,8vw,96px); padding: clamp(26px,4vw,44px); display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: clamp(28px,5vw,66px); align-items: center; border: 1px solid var(--lmr-launch-line); border-radius: 26px; background: linear-gradient(135deg,#f7fafc,#fff); box-shadow: 0 20px 50px rgba(0,39,77,.06); }
.lmr-president__credentials-copy h2 { margin: 6px 0 14px; color: var(--lmr-launch-navy-deep); font-size: clamp(1.55rem,2.8vw,2.35rem); line-height: 1.45; }
.lmr-president__credentials-copy > p:last-child { margin: 0; color: var(--lmr-launch-muted); line-height: 2.05; }
.lmr-president__credentials-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--lmr-launch-line); border-radius: 18px; background: #fff; }
.lmr-president__credentials-stats article { min-width: 0; padding: 24px 12px; text-align: center; border-inline-start: 1px solid var(--lmr-launch-line); }
.lmr-president__credentials-stats article:first-child { border-inline-start: 0; }
.lmr-president__credentials-stats strong { display: block; color: var(--lmr-launch-blue); font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1; }
.lmr-president__credentials-stats span { display: block; margin-top: 9px; color: var(--lmr-launch-muted); font-size: .61rem; line-height: 1.7; }
.lmr-president__priorities { padding-bottom: clamp(70px, 9vw, 110px); }
.lmr-president__priorities > header { margin-bottom: 24px; }
.lmr-president__priorities h2 { margin: 5px 0 0; color: var(--lmr-launch-navy-deep); font-size: clamp(1.6rem,2.8vw,2.3rem); }
.lmr-president__priorities > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.lmr-president__priorities article { min-width: 0; padding: 22px; border: 1px solid var(--lmr-launch-line); border-radius: 17px; background: #fff; box-shadow: 0 12px 30px rgba(0,39,77,.05); }
.lmr-president__priorities article > span { color: #b59031; font-size: .7rem; font-weight: 900; }
.lmr-president__priorities h3 { margin: 15px 0 7px; color: var(--lmr-launch-navy-deep); font-size: 1rem; }
.lmr-president__priorities article p { margin: 0; color: var(--lmr-launch-muted); font-size: .68rem; line-height: 1.9; }
.lmr-president__links { padding-bottom: 90px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.lmr-president__links a { padding: 20px; display: grid; gap: 5px; border-radius: 15px; color: #fff; background: linear-gradient(135deg,#00274d,#075b9a); text-decoration: none; }
.lmr-president__links strong { font-size: .85rem; }
.lmr-president__links span { color: rgba(255,255,255,.64); font-size: .59rem; }

/* Laboratories. */
.lmr-labs { display: grid; gap: 36px; margin-top: 52px; }
.lmr-labs__intro { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: end; gap: 34px; }
.lmr-labs__intro h2 { margin: 7px 0 0; color: var(--lmr-launch-navy-deep); font-size: clamp(1.8rem,3.3vw,2.75rem); }
.lmr-labs__intro > p { margin: 0; color: var(--lmr-launch-muted); line-height: 2; }
.lmr-labs__feature { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); overflow: hidden; border-radius: 24px; color: #fff; background: var(--lmr-launch-navy-deep); box-shadow: 0 24px 60px rgba(0,39,77,.14); }
.lmr-labs__feature figure { min-height: 470px; margin: 0; overflow: hidden; }
.lmr-labs__feature figure img { width: 100%; height: 100%; object-fit: cover; }
.lmr-labs__feature > div { padding: clamp(28px,4vw,50px); display: flex; flex-direction: column; justify-content: center; }
.lmr-labs__feature span { color: #f0d98b; font-size: .65rem; font-weight: 800; }
.lmr-labs__feature h3 { margin: 8px 0 12px; color: #fff; font-size: clamp(1.4rem,2.7vw,2.2rem); line-height: 1.55; }
.lmr-labs__feature p,
.lmr-labs__feature li { color: rgba(255,255,255,.7); font-size: .7rem; line-height: 1.95; }
.lmr-labs__feature ul { margin: 12px 0 0; padding-inline-start: 20px; }
.lmr-labs__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.lmr-lab-card { min-width: 0; display: grid; grid-template-columns: minmax(180px,.75fr) minmax(0,1.25fr); overflow: hidden; border: 1px solid var(--lmr-launch-line); border-radius: 19px; background: #fff; box-shadow: 0 14px 36px rgba(0,39,77,.06); }
.lmr-lab-card__media { min-height: 240px; overflow: hidden; }
.lmr-lab-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lmr-lab-card:hover img { transform: scale(1.035); }
.lmr-lab-card__body { padding: 22px; }
.lmr-lab-card h3 { margin: 0 0 8px; color: var(--lmr-launch-navy-deep); font-size: 1.05rem; }
.lmr-lab-card p { margin: 0; color: var(--lmr-launch-muted); font-size: .68rem; line-height: 1.95; }
.lmr-lab-card__body > div { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.lmr-lab-card__body span { padding: 5px 9px; border-radius: 999px; color: var(--lmr-launch-blue); background: #eef5fa; font-size: .55rem; }
.lmr-labs__gallery-section > header { margin-bottom: 20px; }
.lmr-labs__gallery-section h3 { margin: 5px 0 0; color: var(--lmr-launch-navy-deep); font-size: 1.55rem; }
.lmr-labs__gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 190px; gap: 12px; }
.lmr-labs__gallery a { position: relative; min-width: 0; overflow: hidden; border-radius: 16px; background: #eaf0f4; }
.lmr-labs__gallery a.is-1 { grid-column: span 2; grid-row: span 2; }
.lmr-labs__gallery a.is-2 { grid-column: span 2; }
.lmr-labs__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lmr-labs__gallery a:hover img { transform: scale(1.035); }
.lmr-labs__gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(0,22,47,.84)); }
.lmr-labs__gallery a span { position: absolute; z-index: 2; right: 14px; bottom: 12px; left: 14px; color: #fff; font-size: .66rem; font-weight: 800; }

/* General responsive guardrails. */
.lamerd-directory__table-wrap,
.lamerd-file-repository__table-wrap,
.wp-block-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lamerd-directory-filter,
.lamerd-event-filterbar,
.lamerd-file-repository__tools { max-width: 100%; }

@media (max-width: 1180px) {
  :root { --lmr-launch-shell: min(100% - 36px, 1040px); }
  .v24 .events-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .moments-strip { grid-template-columns: 1fr; }
  .moments-strip__all { justify-self: start; }
  .lmr-president__priorities > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lmr-lab-card { grid-template-columns: 1fr; }
  .lmr-lab-card__media { min-height: 260px; }
}

@media (max-width: 900px) {
  :root { --lmr-launch-shell: min(100% - 28px, 760px); }
  .lmr8-home-stats { margin-top: -28px; }
  .moments-dialog__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lmr-president__hero-grid,
  .lmr-president__body,
  .lmr-president__credentials,
  .lmr-labs__intro,
  .lmr-labs__feature { grid-template-columns: 1fr; }
  .lmr-president__portrait { order: 2; }
  .lmr-president__intro { order: 1; }
  .lmr-president__portrait-frame { width: min(320px, 80%); }
  .lmr-president__facts { max-width: 620px; }
  .lmr-president__contact { position: static; }
  .lmr-president__links { grid-template-columns: 1fr; }
  .lmr-president__credentials-stats { max-width: 620px; }
  .lmr-labs__feature figure { min-height: 340px; }
  .lmr-labs__grid { grid-template-columns: 1fr; }
  .lmr-labs__gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 180px; }
  .lmr-labs__gallery a.is-1 { grid-column: span 2; }
  .lmr-labs__gallery a.is-2 { grid-column: span 1; }
}

@media (max-width: 680px) {
  :root { --lmr-launch-shell: calc(100% - 22px); }
  .lmr8-home-stats__shell { width: calc(100% - 22px); padding: 12px; }
  .lmr8-home-stats__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lmr8-home-stat { min-height: 72px; padding: 10px 8px; justify-content: flex-start; }
  .lmr8-home-stat:nth-child(2)::after { display: none; }
  .moments-strip { padding: 16px; border-radius: 18px; }
  .moments-strip__items { width: 100%; }
  .moment-bubble { width: 84px; min-width: 84px; }
  .moment-bubble__ring { width: 68px; height: 68px; }
  .moments-dialog { width: calc(100% - 14px) !important; border-radius: 18px !important; }
  .moments-dialog__surface { min-height: 80vh; }
  .moments-dialog__head { padding: 14px 16px; }
  .moments-dialog__grid { grid-template-columns: 1fr; padding: 14px; }
  .moment-dialog-card { grid-template-columns: 78px minmax(0,1fr); }
  .moment-dialog-card__media { width: 78px; height: 96px; }
  .moments-dialog.is-story-open { width: calc(100% - 10px) !important; }
  .moment-story { height: 92vh; min-height: 92vh; }
  .v24 .events-grid { grid-template-columns: 1fr; }
  .v24 .event-card { aspect-ratio: 4 / 4.8; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-utility-line { grid-template-columns: 1fr !important; gap: 14px; }
  .lmr-president__hero { padding-top: 42px; }
  .lmr-president__intro h1 { font-size: 2.25rem; }
  .lmr-president__facts { grid-template-columns: 1fr; }
  .lmr-president__facts div { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .lmr-president__facts div:first-child { border-top: 0; }
  .lmr-president__priorities > div { grid-template-columns: 1fr; }
  .lmr-labs__feature figure { min-height: 250px; }
  .lmr-labs__feature > div { padding: 24px; }
  .lmr-lab-card__media { min-height: 220px; }
  .lmr-labs__gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .lmr-labs__gallery a.is-1,
  .lmr-labs__gallery a.is-2 { grid-column: span 1; grid-row: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 560px) { .lmr-president__credentials-stats { grid-template-columns: 1fr; } .lmr-president__credentials-stats article { border-inline-start: 0; border-top: 1px solid var(--lmr-launch-line); } .lmr-president__credentials-stats article:first-child { border-top: 0; } }



/* 1.0.0-rc3 — scoped hero and brand responsive rules. */
.footer-brand-marks,
.lamerd-footer-brand__marks { width: auto !important; min-width: 86px; height: auto !important; }
.footer-brand-marks .is-dual-logo,
.lamerd-footer-brand__marks .is-dual-logo {
  display: block;
  width: auto !important;
  height: 58px !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 1180px) {
  .lmr10-home-hero__inner { grid-template-columns: minmax(0,1fr) minmax(270px,.48fr); gap: 28px; }
}

@media (max-width: 900px) {
  .lmr8-brand__marks { min-width: 96px; max-width: 104px; }
  .lmr8-brand__marks .is-dual-logo { height: 50px !important; }
  .lmr10-home-hero { min-height: 900px; }
  .lmr10-home-hero__media img { object-position: center top; }
  .lmr10-home-hero__veil {
    background: linear-gradient(180deg, rgba(0,16,34,.02) 0%, rgba(0,16,34,.08) 40%, rgba(0,19,42,.77) 62%, rgba(0,18,39,.98) 100%);
  }
  .lmr10-home-hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 390px 58px;
  }
  .lmr10-home-hero__quick { width: min(100%,680px); }
  .lmr10-home-hero__scroll { display: none; }
}

@media (max-width: 680px) {
  .lmr8-brand__marks { min-width: 82px; max-width: 88px; }
  .lmr8-brand__marks .is-dual-logo { height: 44px !important; }
  .lmr10-home-hero {
    min-height: 920px;
    padding-top: var(--lmr8-header-total,96px);
  }
  .lmr10-home-hero__media {
    bottom: auto;
    height: auto;
    aspect-ratio: 1536 / 1022;
  }
  .lmr10-home-hero__media img {
    height: auto;
    aspect-ratio: 1536 / 1022;
    object-fit: contain;
    object-position: center top;
  }
  .lmr10-home-hero__veil {
    background: linear-gradient(180deg, rgba(0,16,34,.02) 0%, rgba(0,16,34,.12) 27%, rgba(0,18,39,.88) 39%, rgba(0,18,39,.99) 100%);
  }
  .lmr10-home-hero__inner { padding-block: clamp(295px,78vw,350px) 46px; gap: 20px; }
  .lmr10-home-hero__kicker { margin-bottom: 10px; font-size: .66rem; }
  .lmr10-home-hero__kicker::before { width: 28px; }
  .lmr10-home-hero h1 { font-size: clamp(2.1rem,11vw,3.05rem); }
  .lmr10-home-hero__subtitle { margin-top: 12px; font-size: .9rem; }
  .lmr10-home-hero__description { margin: 8px 0 18px; font-size: .76rem; line-height: 1.9; }
  .lmr10-home-hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .lmr10-button { width: 100%; min-height: 46px; padding-inline: 12px; font-size: .74rem; }
  .lmr10-home-hero__quick { padding: 12px; border-radius: 17px; backdrop-filter: none; }
  .lmr10-home-hero__quick-head { padding-inline: 6px; }
  .lmr10-home-hero__quick-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px,82%);
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .lmr10-home-hero__quick-list > a {
    min-height: 88px;
    padding: 12px 34px 12px 12px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.055);
    scroll-snap-align: start;
  }
  .lmr10-home-hero__quick-list > a::before { top: 14px; }
}

@media (max-width: 420px) {
  .lmr10-home-hero { min-height: 900px; }
  .lmr10-home-hero__inner { padding-block-start: clamp(280px,76vw,325px); }
  .lmr10-home-hero__actions { grid-template-columns: 1fr; }
}

/* ===== source: home-components.css ===== */
/**
 * Homepage RC4 refinements.
 *
 * Scope is intentionally limited to:
 *  - responsive header/hero corrections,
 *  - the curated moments rail,
 *  - homepage news layout.
 *
 * Other approved homepage sections are not restyled here.
 */

.home {
  overflow-x: clip;
}

.home .lmr8-shell,
.home .container {
  min-width: 0;
}

/* --------------------------------------------------------------------------
 * Responsive header hardening
 * -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
  .home .lmr8-header__main-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand mobile-actions";
    gap: 10px;
  }

  .home .lmr8-brand {
    min-width: 0;
    max-width: 100%;
  }

  .home .lmr8-brand__marks {
    width: 78px;
    min-width: 78px;
    max-width: 78px;
  }

  .home .lmr8-brand__marks .is-dual-logo {
    width: 78px !important;
    height: auto !important;
    max-width: 78px !important;
  }

  .home .lmr8-brand__copy {
    min-width: 0;
  }

  .home .lmr8-brand__copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home .lmr8-mobile-actions {
    flex: 0 0 auto;
  }
}

@media (max-width: 620px) {
  .home .lmr8-header__main-inner {
    min-height: 66px;
  }

  .home .lmr8-brand__marks {
    width: 66px;
    min-width: 66px;
    max-width: 66px;
  }

  .home .lmr8-brand__marks .is-dual-logo {
    width: 66px !important;
    max-width: 66px !important;
  }

  .home .lmr8-brand__copy {
    max-width: min(42vw, 160px);
  }

  .home .lmr8-brand__copy strong {
    font-size: .7rem;
  }
}

@media (max-width: 420px) {
  .home .lmr8-shell {
    width: calc(100% - 20px);
  }

  .home .lmr8-brand__marks {
    width: 58px;
    min-width: 58px;
    max-width: 58px;
  }

  .home .lmr8-brand__marks .is-dual-logo {
    width: 58px !important;
    max-width: 58px !important;
  }

  .home .lmr8-brand__copy {
    display: none;
  }

  .home .lmr8-mobile-actions {
    gap: 6px;
  }

  .home .lmr8-icon-button {
    width: 39px;
    height: 39px;
  }
}

/* --------------------------------------------------------------------------
 * Hero responsive behavior
 * -------------------------------------------------------------------------- */

@media (min-width: 901px) and (max-width: 1180px) {
  .home .lmr10-home-hero {
    min-height: 820px;
  }

  .home .lmr10-home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 430px 56px;
  }

  .home .lmr10-home-hero__copy {
    max-width: 720px;
  }

  .home .lmr10-home-hero__quick {
    width: min(720px, 100%);
  }

  .home .lmr10-home-hero__quick-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home .lmr10-home-hero__quick-list > a {
    min-height: 88px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
  }
}

/*
 * On tablets and phones the photograph is allowed to keep its natural aspect
 * ratio instead of being cropped by a tall cover container. The copy follows
 * below it on the same dark hero surface, which guarantees that the entrance
 * sign remains fully visible at narrow widths.
 */
@media (max-width: 900px) {
  .home .lmr10-home-hero {
    display: block;
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
    background: #001a35;
  }

  .home .lmr10-home-hero__media {
    position: relative;
    inset: auto;
    z-index: 0;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1536 / 1022;
    background: #0a2741;
  }

  .home .lmr10-home-hero__media img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .home .lmr10-home-hero__veil {
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: min(66.54vw, 598px);
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,16,34,0) 54%, rgba(0,18,39,.22) 78%, rgba(0,18,39,.72) 100%);
  }

  .home .lmr10-home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: min(100% - 32px, 760px);
    padding: 28px 0 44px;
  }

  .home .lmr10-home-hero__copy {
    max-width: none;
  }

  .home .lmr10-home-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 7.5vw, 3rem);
  }

  .home .lmr10-home-hero__subtitle {
    font-size: clamp(.88rem, 2.7vw, 1.03rem);
  }

  .home .lmr10-home-hero__description {
    max-width: 680px;
    margin-bottom: 20px;
  }

  .home .lmr10-home-hero__quick {
    width: 100%;
    max-width: none;
    margin: 0;
    backdrop-filter: none;
  }

  .home .lmr10-home-hero__scroll {
    display: none;
  }
}

@media (max-width: 620px) {
  .home .lmr10-home-hero__inner {
    width: calc(100% - 24px);
    gap: 18px;
    padding: 22px 0 34px;
  }

  .home .lmr10-home-hero__kicker {
    margin-bottom: 9px;
    font-size: .65rem;
  }

  .home .lmr10-home-hero__kicker::before {
    width: 28px;
  }

  .home .lmr10-home-hero h1 {
    font-size: clamp(1.85rem, 9.2vw, 2.6rem);
    line-height: 1.2;
  }

  .home .lmr10-home-hero__subtitle {
    margin-top: 10px;
    line-height: 1.8;
  }

  .home .lmr10-home-hero__description {
    margin-top: 7px;
    font-size: .77rem;
    line-height: 1.95;
  }

  .home .lmr10-home-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home .lmr10-button {
    min-width: 0;
    width: 100%;
    min-height: 45px;
    padding-inline: 10px;
    font-size: .72rem;
  }

  .home .lmr10-home-hero__quick {
    padding: 11px;
    border-radius: 16px;
  }

  .home .lmr10-home-hero__quick-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 82%);
    gap: 9px;
    overflow-x: auto;
    padding: 0 0 4px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .home .lmr10-home-hero__quick-list::-webkit-scrollbar {
    display: none;
  }

  .home .lmr10-home-hero__quick-list > a {
    min-height: 88px;
    padding: 12px 34px 12px 12px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: rgba(255,255,255,.055);
    scroll-snap-align: start;
  }
}

@media (max-width: 390px) {
  .home .lmr10-home-hero__actions {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
 * Moments — compact editorial story rail (reference-aligned, no popup)
 * -------------------------------------------------------------------------- */

.lmr-moments {
  padding: clamp(30px, 4vw, 48px) 0;
  background: #fff;
  border-top: 1px solid rgba(7, 47, 82, .10);
  border-bottom: 1px solid rgba(7, 47, 82, .10);
}

.lmr-moments__bar {
  display: grid;
  grid-template-columns: minmax(210px, .64fr) minmax(0, 2.3fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.lmr-moments__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.lmr-moments__signal {
  width: 10px;
  height: 10px;
  margin-top: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d7af44;
  box-shadow: 0 0 0 6px rgba(215, 175, 68, .12);
}

.lmr-moments__head h2 {
  margin: 0;
  color: var(--navy-900, #001d3e);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.45;
  font-weight: 900;
}

.lmr-moments__head p {
  margin: 5px 0 0;
  color: #758395;
  font-size: .72rem;
  line-height: 1.8;
}

.lmr-moments__rail {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.6vw, 34px);
  min-width: 0;
  padding: 5px 2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
}

.lmr-moments__rail::-webkit-scrollbar {
  display: none;
}

.lmr-moment-card {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 10px;
  width: clamp(86px, 8vw, 112px);
  min-width: clamp(86px, 8vw, 112px);
  color: inherit;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
}

.lmr-moment-card__ring {
  position: relative;
  width: clamp(66px, 5.8vw, 78px);
  height: clamp(66px, 5.8vw, 78px);
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7af44 0%, #0b4d83 52%, #d7af44 100%);
  box-shadow: 0 9px 20px rgba(0, 41, 79, .10);
  transition: transform .22s ease, box-shadow .22s ease;
}

.lmr-moment-card__ring::after {
  position: absolute;
  inset-inline-end: 0;
  bottom: 4px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #16a085;
  content: '';
  box-sizing: border-box;
}

.lmr-moment-card__media {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a426f, #001d3e);
}

.lmr-moment-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.lmr-moment-card__placeholder {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 7px;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.12);
}

.lmr-moment-card__content {
  display: grid;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.lmr-moment-card__content strong {
  display: -webkit-box;
  overflow: hidden;
  color: #112f4d;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lmr-moment-card__content small {
  overflow: hidden;
  color: #8490a0;
  font-size: .61rem;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lmr-moment-card:hover,
.lmr-moment-card:focus-visible {
  color: inherit;
  outline: 0;
}

.lmr-moment-card:hover .lmr-moment-card__ring,
.lmr-moment-card:focus-visible .lmr-moment-card__ring {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 14px 28px rgba(0, 41, 79, .16);
}

.lmr-moment-card:hover .lmr-moment-card__media img,
.lmr-moment-card:focus-visible .lmr-moment-card__media img {
  transform: scale(1.06);
}

.lmr-moment-card:focus-visible .lmr-moment-card__ring {
  outline: 3px solid rgba(11, 77, 131, .25);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .lmr-moments__bar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lmr-moments__rail {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}

@media (max-width: 560px) {
  .lmr-moments {
    padding-block: 28px;
  }

  .lmr-moments__head h2 {
    font-size: 1.14rem;
  }

  .lmr-moments__head p {
    font-size: .67rem;
  }

  .lmr-moments__rail {
    gap: 18px;
  }

  .lmr-moment-card {
    width: 90px;
    min-width: 90px;
  }

  .lmr-moment-card__ring {
    width: 68px;
    height: 68px;
  }
}

/* --------------------------------------------------------------------------
 * News — full-width editorial section, no notices column
 * -------------------------------------------------------------------------- */

.lmr-news {
  padding-block: clamp(52px, 7vw, 88px);
  background: #f7f9fb;
}

.lmr-news__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.lmr-news__head h2 {
  margin: 5px 0 0;
  color: var(--navy-900, #001d3e);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.35;
  font-weight: 900;
}

.lmr-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .82fr);
  gap: 18px;
  align-items: stretch;
}

.lmr-news-featured {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(216,180,90,.24), transparent 26%),
    linear-gradient(145deg, #0a426f, #001d3e);
  box-shadow: 0 18px 45px rgba(0,35,67,.11);
}

.lmr-news-featured > a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  color: #fff;
  text-decoration: none;
}

.lmr-news-featured img,
.lmr-news-featured__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lmr-news-featured img {
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.lmr-news-featured__shade {
  background: linear-gradient(180deg, rgba(0,18,38,.02) 30%, rgba(0,18,38,.3) 56%, rgba(0,18,38,.96) 100%);
}

.lmr-news-featured__content {
  position: relative;
  z-index: 2;
  display: block;
  width: min(690px, 88%);
  padding: clamp(24px, 4vw, 42px);
}

.lmr-news-featured__content time {
  color: #f0d57d;
  font-size: .75rem;
  font-weight: 800;
}

.lmr-news-featured__content h3 {
  margin: 10px 0 9px;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1.45;
  text-wrap: balance;
}

.lmr-news-featured__content p {
  display: -webkit-box;
  max-width: 620px;
  margin: 0;
  overflow: hidden;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  line-height: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lmr-news-featured__action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
}

.lmr-news-featured:hover img,
.lmr-news-featured:focus-within img {
  transform: scale(1.025);
}

.lmr-news__cards {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
}

.lmr-news__cards > .lmr-news-card {
  flex: 1 1 0;
}

.lmr-news__layout.is-featured-only,
.lmr-news__layout.is-cards-only {
  grid-template-columns: 1fr;
}

.lmr-news__layout.is-featured-only .lmr-news-featured {
  min-height: 480px;
}

.lmr-news__layout.is-cards-only .lmr-news__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lmr-news__layout.is-cards-only .lmr-news-card > a {
  grid-template-columns: 1fr;
}

.lmr-news__layout.is-cards-only .lmr-news-card__media {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.lmr-news-card {
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e1e7ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,35,67,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lmr-news-card > a {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.lmr-news-card__media {
  display: block;
  min-height: 138px;
  background: linear-gradient(145deg, #e8eef4, #d9e3ec);
}

.lmr-news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 138px;
  object-fit: cover;
}

.lmr-news-card__copy {
  display: flex;
  min-width: 0;
  padding: 16px;
  flex-direction: column;
  justify-content: center;
}

.lmr-news-card__copy time {
  color: #9a7a24;
  font-size: .67rem;
  font-weight: 800;
}

.lmr-news-card__copy h3 {
  display: -webkit-box;
  margin: 7px 0 5px;
  overflow: hidden;
  color: #102f4e;
  font-size: .91rem;
  font-weight: 850;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lmr-news-card__copy small {
  color: #7a8998;
  font-size: .65rem;
}

.lmr-news-card:hover,
.lmr-news-card:focus-within {
  border-color: #c8d5e1;
  box-shadow: 0 16px 36px rgba(0,35,67,.09);
  transform: translateY(-2px);
}

@media (max-width: 1040px) {
  .lmr-news__layout {
    grid-template-columns: 1fr;
  }

  .lmr-news-featured {
    min-height: 460px;
  }

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

  .lmr-news-card > a {
    grid-template-columns: 1fr;
  }

  .lmr-news-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .lmr-news-card__media img {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .lmr-news {
    padding-block: 48px;
  }

  .lmr-news__head {
    align-items: center;
    gap: 12px;
  }

  .lmr-news__head .text-link {
    flex: 0 0 auto;
  }

  .lmr-news-featured {
    min-height: 390px;
    border-radius: 20px;
  }

  .lmr-news-featured__content {
    width: 100%;
    padding: 24px 20px;
  }

  .lmr-news-featured__content h3 {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }

  .lmr-news-featured__content p {
    font-size: .78rem;
    -webkit-line-clamp: 3;
  }

  .lmr-news__cards {
    grid-template-columns: 1fr;
  }

  .lmr-news-card > a {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .lmr-news-card__media {
    aspect-ratio: auto;
    min-height: 122px;
  }

  .lmr-news-card__media img {
    min-height: 122px;
  }
}

@media (max-width: 430px) {
  .lmr-news__head {
    align-items: flex-end;
  }

  .lmr-news__head h2 {
    font-size: 1.45rem;
  }

  .lmr-news__head .text-link {
    font-size: .68rem;
  }

  .lmr-news-card > a {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .lmr-news-card__copy {
    padding: 13px;
  }

  .lmr-news-card__copy h3 {
    font-size: .82rem;
    line-height: 1.7;
  }
}

/* --------------------------------------------------------------------------
 * RC5 polish — preserve existing program/event composition
 * -------------------------------------------------------------------------- */

.v24 .program-card {
  transition: transform .24s cubic-bezier(.2,.7,.2,1),
              border-color .24s ease,
              background-color .24s ease,
              box-shadow .24s ease;
}

.v24 .program-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 52%, rgba(216,180,90,.08));
  content: '';
  opacity: 0;
  transition: opacity .24s ease;
}

.v24 .program-card:hover,
.v24 .program-card:focus-visible {
  border-color: rgba(227,202,122,.58);
  background: rgba(255,255,255,.085);
  box-shadow: 0 18px 34px rgba(0,16,31,.18);
  transform: translateY(-5px);
}

.v24 .program-card:hover::before,
.v24 .program-card:focus-visible::before {
  opacity: 1;
}

.v24 .program-card:hover .program-icon,
.v24 .program-card:focus-visible .program-icon {
  border-color: rgba(227,202,122,.62);
  background: rgba(216,180,90,.10);
  transform: translateY(-5px) rotate(-2deg) scale(1.055);
}

.v24 .program-card:focus-visible {
  outline: 3px solid rgba(227,202,122,.26);
  outline-offset: 4px;
}

.v24 .events-section {
  padding-block: clamp(76px, 8vw, 112px);
}

.v24 .events-section .section-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.v24 .events-grid {
  gap: clamp(18px, 2vw, 28px);
}

@media (max-width: 900px) {
  .v24 .events-section {
    padding-block: 68px;
  }

  .v24 .events-grid {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .v24 .events-section {
    padding-block: 58px;
  }

  .v24 .events-section .section-head {
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmr-moment-card__ring,
  .lmr-moment-card__media img,
  .lmr-news-featured img,
  .lmr-news-card,
  .v24 .program-card,
  .v24 .program-card::before,
  .v24 .program-icon {
    transition: none !important;
  }
}

/* ===== source: footer.css ===== */
/**
 * Lamerd Footer 1.0
 * Shared modern Iranian footer skin for homepage and internal templates.
 * Decorative motifs are CSS-only: no remote images, fonts or scripts.
 */

:root {
  --lmr-footer-bg: #001d38;
  --lmr-footer-bg-deep: #001426;
  --lmr-footer-panel: rgba(255,255,255,.055);
  --lmr-footer-line: rgba(255,255,255,.11);
  --lmr-footer-text: rgba(255,255,255,.72);
  --lmr-footer-muted: rgba(255,255,255,.50);
  --lmr-footer-gold: #d7b45b;
  --lmr-footer-gold-soft: #ecd78f;
}

/* --------------------------------------------------------------------------
 * Shared decorative language
 * -------------------------------------------------------------------------- */

.site-footer,
.lamerd-site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(215,180,91,.11), transparent 24rem),
    radial-gradient(circle at 10% 74%, rgba(45,112,162,.10), transparent 28rem),
    linear-gradient(180deg, var(--lmr-footer-bg) 0%, var(--lmr-footer-bg-deep) 100%);
  isolation: isolate;
}

/* A restrained arabesque geometry assembled from local CSS gradients. */
.site-footer::before,
.lamerd-site-footer::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 0, transparent 0 17px, rgba(255,255,255,.55) 18px 19px, transparent 20px),
    radial-gradient(circle at 0 50%, transparent 0 17px, rgba(255,255,255,.42) 18px 19px, transparent 20px),
    radial-gradient(circle at 100% 50%, transparent 0 17px, rgba(255,255,255,.42) 18px 19px, transparent 20px),
    linear-gradient(45deg, transparent 47%, rgba(255,255,255,.35) 48% 49%, transparent 50%),
    linear-gradient(-45deg, transparent 47%, rgba(255,255,255,.35) 48% 49%, transparent 50%);
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  background-size: 76px 76px;
  opacity: .055;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  content: '';
}

.site-footer::after,
.lamerd-site-footer::after {
  position: absolute;
  inset-inline: max(18px, calc((100vw - 1240px) / 2));
  top: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(215,180,91,.85), transparent);
  content: '';
}

/* Legacy pattern nodes are kept in markup but turned into a subtle focal motif. */
.site-footer .footer-pattern,
.lamerd-site-footer .lamerd-footer-curve {
  position: absolute;
  inset-inline-end: clamp(-90px, -6vw, -30px);
  top: clamp(44px, 6vw, 86px);
  width: clamp(220px, 24vw, 360px);
  height: clamp(220px, 24vw, 360px);
  border: 1px solid rgba(215,180,91,.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 23%, rgba(215,180,91,.15) 23.5% 24.2%, transparent 24.7% 42%, rgba(255,255,255,.08) 42.5% 43%, transparent 43.5%),
    conic-gradient(from 45deg, transparent 0 10%, rgba(215,180,91,.08) 10% 12%, transparent 12% 23%, rgba(215,180,91,.08) 23% 25%, transparent 25% 100%);
  opacity: .9;
  pointer-events: none;
}

.site-footer .footer-top-rule {
  display: none;
}

/* --------------------------------------------------------------------------
 * Homepage contact bridge
 * -------------------------------------------------------------------------- */

.site-footer .contact-section {
  position: relative;
  z-index: 3;
  padding: clamp(48px, 6vw, 76px) 0 0;
  background: transparent;
}

.site-footer .contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr) minmax(260px, .8fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}

.site-footer .contact-kicker {
  color: var(--lmr-footer-gold-soft);
  font-size: .72rem;
  font-weight: 800;
}

.site-footer .contact-intro h2 {
  margin: 7px 0 9px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 900;
}

.site-footer .contact-intro p {
  margin: 0;
  color: var(--lmr-footer-text);
  font-size: .76rem;
  line-height: 2;
}

.site-footer .contact-details {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--lmr-footer-line);
  border-radius: 18px;
  background: var(--lmr-footer-line);
}

.site-footer .contact-details > * {
  display: grid;
  gap: 3px;
  padding: 13px 15px;
  background: rgba(0,20,38,.68);
  color: #fff;
  text-decoration: none;
}

.site-footer .contact-details small,
.site-footer .official-social small,
.site-footer .footer-social small {
  color: var(--lmr-footer-muted);
  font-size: .62rem;
}

.site-footer .contact-details strong {
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  line-height: 1.8;
}

.site-footer .contact-links {
  display: grid;
  gap: 7px;
}

.site-footer .contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.82);
  font-size: .68rem;
  text-decoration: none;
}

.site-footer .contact-links svg {
  width: 16px;
  height: 16px;
}

.site-footer .contact-links a:hover,
.site-footer .contact-links a:focus-visible {
  border-color: rgba(215,180,91,.35);
  background: rgba(215,180,91,.07);
  color: #fff;
}

.site-footer .official-social {
  margin-top: 14px;
}

.site-footer .official-social > div,
.site-footer .footer-social > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.site-footer .official-social a,
.site-footer .footer-social a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  font-size: .62rem;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
 * Homepage main footer
 * -------------------------------------------------------------------------- */

.site-footer .footer-main {
  position: relative;
  z-index: 2;
  padding: clamp(58px, 7vw, 88px) 0 clamp(42px, 5vw, 62px);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(155px, .78fr));
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.site-footer .footer-brand .brand-mark,
.site-footer .footer-brand-marks {
  display: grid !important;
  width: 112px !important;
  min-width: 112px !important;
  height: 78px !important;
  place-items: center;
  background: transparent !important;
}

.site-footer .footer-brand .brand-mark::before,
.site-footer .footer-brand .brand-mark::after {
  display: none !important;
}

.site-footer .footer-brand img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.site-footer .footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.site-footer .footer-brand small {
  display: block;
  margin-top: 4px;
  color: var(--lmr-footer-muted);
  font-size: .64rem;
}

.site-footer .footer-about {
  max-width: 410px;
  margin: 0;
  color: var(--lmr-footer-text);
  font-size: .72rem;
  line-height: 2.1;
}

.site-footer .footer-title,
.site-footer .footer-grid h3 {
  position: relative;
  margin: 7px 0 20px;
  padding-bottom: 11px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.site-footer .footer-title::after,
.site-footer .footer-grid h3::after {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lmr-footer-gold), transparent);
  content: '';
}

.site-footer .footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: var(--lmr-footer-text);
  font-size: .68rem;
  line-height: 1.7;
  text-decoration: none;
}

.site-footer .footer-links a::before {
  width: 5px;
  height: 5px;
  margin-inline-end: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(215,180,91,.62);
  border-radius: 50%;
  content: '';
  transition: background-color .2s ease, transform .2s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #fff;
}

.site-footer .footer-links a:hover::before,
.site-footer .footer-links a:focus-visible::before {
  background: var(--lmr-footer-gold);
  transform: scale(1.25);
}

.site-footer .footer-contact {
  display: grid;
  gap: 12px;
}

.site-footer .footer-contact-item {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 10px;
  font-size: .67rem;
  line-height: 1.85;
}

.site-footer .footer-contact-item b {
  color: var(--lmr-footer-gold-soft);
  font-weight: 800;
}

.site-footer .footer-contact-item span {
  color: var(--lmr-footer-text);
  overflow-wrap: anywhere;
}

.site-footer .footer-utility {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--lmr-footer-line);
  background: rgba(255,255,255,.025);
}

.site-footer .footer-utility-line {
  display: grid;
  grid-template-columns: minmax(180px, .85fr) minmax(260px, 1.25fr) auto minmax(160px, .7fr);
  gap: 24px;
  align-items: center;
  min-height: 118px;
  padding-block: 18px;
}

.site-footer .footer-motto {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-footer .footer-motto img {
  display: block;
  width: min(210px, 100%);
  max-height: 76px;
  object-fit: contain;
  object-position: right center;
  border-radius: 10px;
}

.site-footer .footer-stats-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer .utility-label span,
.site-footer .utility-label small {
  display: block;
}

.site-footer .utility-label span {
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}

.site-footer .utility-label small {
  margin-top: 3px;
  color: var(--lmr-footer-muted);
  font-size: .58rem;
}

.site-footer .footer-stats {
  display: flex;
  gap: 10px;
}

.site-footer .footer-stats > span {
  display: grid;
  min-width: 58px;
  gap: 2px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  text-align: center;
}

.site-footer .footer-stats b {
  color: var(--lmr-footer-gold-soft);
  font-size: .82rem;
}

.site-footer .footer-stats em {
  color: var(--lmr-footer-muted);
  font-size: .56rem;
  font-style: normal;
}

.site-footer .footer-enamad img {
  display: block;
  width: auto;
  max-width: 62px;
  max-height: 78px;
  object-fit: contain;
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 16px;
  color: var(--lmr-footer-muted);
  font-size: .61rem;
}

.site-footer .footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer .footer-bottom a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
 * Internal footer — same visual family, intentionally more compact
 * -------------------------------------------------------------------------- */

.lamerd-site-footer {
  padding-top: clamp(58px, 7vw, 88px);
}

.lamerd-site-footer .lamerd-shell {
  position: relative;
  z-index: 2;
}

.lamerd-site-footer .lamerd-footer-grid--v081,
.lamerd-site-footer .lamerd-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, .72fr));
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.lamerd-site-footer .lamerd-footer-brand {
  padding: 0;
  border: 0;
  background: transparent;
}

.lamerd-site-footer .lamerd-footer-brand__head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lamerd-site-footer .lamerd-footer-brand__marks {
  width: 108px;
  min-width: 108px;
  height: 76px;
}

.lamerd-site-footer .lamerd-footer-brand__marks img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lamerd-site-footer .lamerd-footer-title,
.lamerd-site-footer .lamerd-footer-grid h2 {
  position: relative;
  margin: 0 0 17px;
  padding-bottom: 10px;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.lamerd-site-footer .lamerd-footer-brand__head .lamerd-footer-title {
  margin-bottom: 4px;
  padding-bottom: 0;
  font-size: 1rem;
}

.lamerd-site-footer .lamerd-footer-brand__head .lamerd-footer-title::after {
  display: none;
}

.lamerd-site-footer .lamerd-footer-grid > section:not(.lamerd-footer-brand) > h2::after {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lmr-footer-gold), transparent);
  content: '';
}

.lamerd-site-footer .lamerd-footer-brand__head small,
.lamerd-site-footer .lamerd-footer-brand > p,
.lamerd-site-footer .lamerd-footer-contact li,
.lamerd-site-footer .lamerd-footer-contact a,
.lamerd-site-footer .lamerd-footer-menu a,
.lamerd-site-footer .lamerd-footer-language a {
  color: var(--lmr-footer-text);
}

.lamerd-site-footer .lamerd-footer-brand__head small {
  font-size: .62rem;
}

.lamerd-site-footer .lamerd-footer-brand > p {
  max-width: 440px;
  margin: 18px 0;
  font-size: .72rem;
  line-height: 2.05;
}

.lamerd-site-footer .lamerd-footer-contact,
.lamerd-site-footer .lamerd-footer-menu,
.lamerd-site-footer .lamerd-footer-language {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lamerd-site-footer .lamerd-footer-contact {
  gap: 7px;
}

.lamerd-site-footer .lamerd-footer-contact li,
.lamerd-site-footer .lamerd-footer-contact a,
.lamerd-site-footer .lamerd-footer-menu a,
.lamerd-site-footer .lamerd-footer-language a {
  font-size: .68rem;
  line-height: 1.8;
  text-decoration: none;
}

.lamerd-site-footer .lamerd-footer-menu a,
.lamerd-site-footer .lamerd-footer-language a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
}

.lamerd-site-footer .lamerd-footer-menu a::before,
.lamerd-site-footer .lamerd-footer-language a::before {
  width: 5px;
  height: 5px;
  margin-inline-end: 8px;
  border: 1px solid rgba(215,180,91,.62);
  border-radius: 50%;
  content: '';
}

.lamerd-site-footer .lamerd-footer-menu a:hover,
.lamerd-site-footer .lamerd-footer-menu a:focus-visible,
.lamerd-site-footer .lamerd-footer-language a:hover,
.lamerd-site-footer .lamerd-footer-language a:focus-visible {
  color: #fff;
}

.lamerd-site-footer .lamerd-footer-language {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--lmr-footer-line);
}

.lamerd-site-footer .lamerd-footer-trust,
.lamerd-site-footer .lamerd-footer-slogan {
  display: inline-flex;
  margin: 14px 10px 0 0;
  padding: 8px;
  vertical-align: top;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.lamerd-site-footer .lamerd-footer-trust img {
  max-width: 54px;
  max-height: 68px;
  object-fit: contain;
}

.lamerd-site-footer .lamerd-footer-slogan img {
  width: auto;
  max-width: 150px;
  max-height: 68px;
  object-fit: contain;
  border-radius: 6px;
}

.lamerd-site-footer .lamerd-footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 62px);
  padding-block: 17px;
  border-top: 1px solid var(--lmr-footer-line);
  color: var(--lmr-footer-muted);
  font-size: .61rem;
}

.lamerd-site-footer .lamerd-footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
 * Responsive footer
 * -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-footer .contact-band {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .contact-access {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end;
  }

  .site-footer .contact-links {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .site-footer .footer-grid,
  .lamerd-site-footer .lamerd-footer-grid--v081,
  .lamerd-site-footer .lamerd-footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  .site-footer .footer-grid > div:last-child,
  .lamerd-site-footer .lamerd-footer-grid > section:last-child {
    grid-column: 1 / -1;
  }

  .site-footer .footer-utility-line {
    grid-template-columns: 1fr 1.2fr auto;
  }

  .site-footer .footer-social {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-footer .contact-section {
    padding-top: 38px;
  }

  .site-footer .contact-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
  }

  .site-footer .contact-access {
    grid-column: auto;
    display: block;
  }

  .site-footer .contact-links {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-grid,
  .lamerd-site-footer .lamerd-footer-grid--v081,
  .lamerd-site-footer .lamerd-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:last-child,
  .lamerd-site-footer .lamerd-footer-grid > section:first-child,
  .lamerd-site-footer .lamerd-footer-grid > section:last-child {
    grid-column: 1 / -1;
  }

  .site-footer .footer-utility-line {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    padding-block: 24px;
  }

  .site-footer .footer-motto,
  .site-footer .footer-stats-block,
  .site-footer .footer-social {
    grid-column: 1 / -1;
  }

  .site-footer .footer-enamad {
    justify-self: start;
  }

  .site-footer .footer-bottom,
  .lamerd-site-footer .lamerd-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .footer-bottom-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-grid,
  .lamerd-site-footer .lamerd-footer-grid--v081,
  .lamerd-site-footer .lamerd-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer .footer-grid > div,
  .lamerd-site-footer .lamerd-footer-grid > section {
    grid-column: auto !important;
  }

  .site-footer .footer-brand,
  .lamerd-site-footer .lamerd-footer-brand__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .footer-brand .brand-mark,
  .site-footer .footer-brand-marks,
  .lamerd-site-footer .lamerd-footer-brand__marks {
    width: 104px !important;
    min-width: 104px !important;
    height: 72px !important;
  }

  .site-footer .footer-utility-line {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-utility-line > * {
    grid-column: auto;
  }

  .site-footer .footer-stats-block {
    display: block;
  }

  .site-footer .footer-stats {
    margin-top: 12px;
  }

  .site-footer .footer-pattern,
  .lamerd-site-footer .lamerd-footer-curve {
    width: 210px;
    height: 210px;
    inset-inline-end: -92px;
    top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after,
  .lamerd-site-footer *,
  .lamerd-site-footer *::before,
  .lamerd-site-footer *::after {
    transition: none !important;
  }
}

/* ===== source: home-programs.css ===== */
/**
 * Lamerd Theme RC6.1
 * Scope: homepage academic-program cards only. Footer V6 remains unchanged.
 *
 * Visual direction follows the approved reference: flat deep-navy section,
 * restrained gold line icons, large ghost numbering and crisp outlined cards.
 */

/* --------------------------------------------------------------------------
 * Academic programs — reference-aligned dark cards, no photography.
 * -------------------------------------------------------------------------- */
.lmr-programs-v6 {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 7vw, 92px);
  background: #041323;
  color: #fff;
}

.lmr-programs-v6::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 7% 10%, rgba(201, 157, 53, .055), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 45%);
}

.lmr-programs-v6::after {
  display: none;
}

.lmr-programs-v6 > .container {
  position: relative;
  z-index: 1;
}

.lmr-programs-v6__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.lmr-programs-v6 .unified-kicker {
  color: #c9a33f;
}

.lmr-programs-v6__head h2 {
  position: relative;
  margin: 0 0 8px;
  padding-inline-start: 28px;
  color: #fff;
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
  line-height: 1.35;
  font-weight: 900;
}

.lmr-programs-v6__head h2::before {
  position: absolute;
  inset-inline-start: 0;
  top: .72em;
  width: 19px;
  height: 3px;
  border-radius: 99px;
  content: "";
  background: #c99e32;
}

.lmr-programs-v6__head p {
  max-width: 620px;
  margin: 0;
  color: rgba(231, 238, 245, .63);
  font-size: .88rem;
  line-height: 1.9;
}

.lmr-programs-v6__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0;
  color: #cba540;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 780;
  white-space: nowrap;
}

.lmr-programs-v6__all svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

.lmr-programs-v6__all:hover svg,
.lmr-programs-v6__all:focus-visible svg {
  transform: translateX(-3px);
}

.lmr-programs-v6__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lmr-programs-v6 .lmr-program-card-v6 {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 232px;
  padding: 27px 22px 22px;
  overflow: hidden;
  border: 1px solid rgba(139, 166, 192, .32);
  border-bottom-color: rgba(203, 165, 64, .92);
  border-radius: 6px;
  background: rgba(8, 27, 45, .62);
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  transform: translateY(0);
  transition:
    transform .22s ease,
    border-color .22s ease,
    background-color .22s ease,
    box-shadow .22s ease;
}

.lmr-programs-v6 .lmr-program-card-v6::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0;
  background: radial-gradient(circle at 50% 24%, rgba(203, 165, 64, .075), transparent 48%);
  transition: opacity .22s ease;
}

.lmr-programs-v6 .lmr-program-card-v6::after {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, #cba540 18%, #cba540 82%, transparent);
  opacity: .72;
}


.lmr-program-card-v6__icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  color: #c9a33f;
  transition: transform .22s ease, color .22s ease;
}

.lmr-program-card-v6__icon::before {
  display: none;
}

.lmr-program-card-v6__icon svg {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lmr-program-card-v6__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  text-align: center;
}

.lmr-program-card-v6__content h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.03rem, 1.35vw, 1.28rem);
  line-height: 1.55;
  font-weight: 900;
}

.lmr-program-card-v6__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: #cba540;
  font-size: .72rem;
  font-weight: 730;
}

.lmr-program-card-v6__link span {
  display: inline-block;
  transition: transform .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .lmr-programs-v6 .lmr-program-card-v6:hover {
    border-color: rgba(203, 165, 64, .54);
    border-bottom-color: #d3ae4b;
    background: rgba(10, 32, 53, .86);
    box-shadow: 0 16px 36px rgba(0, 7, 16, .22);
    transform: translateY(-4px);
  }

  .lmr-programs-v6 .lmr-program-card-v6:hover::before {
    opacity: 1;
  }

  .lmr-program-card-v6:hover .lmr-program-card-v6__icon {
    color: #d6b457;
    transform: translateY(-2px) scale(1.035);
  }

  .lmr-program-card-v6:hover .lmr-program-card-v6__link span {
    transform: translateX(-3px);
  }
}

.lmr-program-card-v6:focus-visible,
.lmr-programs-v6__all:focus-visible {
  outline: 3px solid #e3c267;
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .lmr-programs-v6__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lmr-programs-v6 .lmr-program-card-v6 {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .lmr-programs-v6 {
    padding-block: 52px;
  }

  .lmr-programs-v6__head {
    display: block;
    margin-bottom: 22px;
  }

  .lmr-programs-v6__all {
    margin-top: 13px;
  }

  .lmr-programs-v6__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lmr-programs-v6 .lmr-program-card-v6 {
    min-height: 190px;
    padding: 24px 18px 18px;
  }

  .lmr-program-card-v6__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 8px;
  }

  .lmr-program-card-v6__icon svg {
    width: 56px;
    height: 56px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .lmr-programs-v6 .lmr-program-card-v6,
  .lmr-program-card-v6__icon,
  .lmr-program-card-v6__link span,
  .lmr-programs-v6__all svg {
    transition: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
 * Footer V6 — shared brand family for homepage and internal pages.
 * -------------------------------------------------------------------------- */
.lmr-footer-v6 {
  --footer-bg: #031427;
  --footer-bg-deep: #02101f;
  --footer-surface: rgba(255,255,255,.035);
  --footer-line: rgba(179, 202, 224, .13);
  --footer-text: rgba(234, 241, 248, .78);
  --footer-muted: rgba(214, 226, 238, .52);
  --footer-gold: #d9b55d;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0;
  padding-top: 76px;
  background:
    radial-gradient(circle at 88% 8%, rgba(25, 95, 151, .13), transparent 27%),
    radial-gradient(circle at 9% 58%, rgba(217, 181, 93, .065), transparent 23%),
    linear-gradient(180deg, var(--footer-bg), var(--footer-bg-deep));
  color: #fff;
}

.lmr-footer-v6__curve {
  position: absolute;
  z-index: -1;
  top: -78px;
  inset-inline-start: 50%;
  width: min(1180px, 92vw);
  height: 128px;
  border: 1px solid rgba(87, 137, 184, .19);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 90% 90% 0 0;
  transform: translateX(-50%);
  box-shadow: 0 -12px 60px rgba(24, 94, 154, .08);
}

.lmr-footer-v6__pattern {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(77, 128, 174, .11) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(77, 128, 174, .08) 48% 52%, transparent 53%);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 58%, transparent 100%);
}

.lmr-footer-v6__arabesque {
  position: absolute;
  z-index: -1;
  top: 2px;
  inset-inline: 0;
  width: 100%;
  height: 150px;
  fill: none;
  stroke: rgba(62, 125, 187, .17);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.lmr-footer-v6__quick-wrap {
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 62px;
}

.lmr-footer-v6__quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(149, 187, 219, .21);
  border-radius: 22px;
  background: rgba(3, 28, 52, .9);
  box-shadow: 0 24px 70px rgba(0, 10, 24, .28);
  backdrop-filter: blur(12px);
}

.lmr-footer-v6__quick-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 92px;
  padding: 18px 20px;
  background: rgba(6, 40, 70, .72);
  color: #fff;
  text-decoration: none;
  transition: background-color .22s ease, transform .22s ease;
}

.lmr-footer-v6__quick-icon {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(217, 181, 93, .24);
  border-radius: 14px;
  background: rgba(217, 181, 93, .07);
  color: var(--footer-gold);
}

.lmr-footer-v6__quick-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lmr-footer-v6__quick-item strong,
.lmr-footer-v6__quick-item small {
  display: block;
}

.lmr-footer-v6__quick-item strong {
  font-size: .84rem;
  font-weight: 850;
}

.lmr-footer-v6__quick-item small {
  margin-top: 5px;
  overflow: hidden;
  color: var(--footer-muted);
  font-size: .66rem;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .lmr-footer-v6__quick-item:hover {
    background: rgba(9, 53, 90, .94);
  }
}

.lmr-footer-v6__quick-item:focus-visible,
.lmr-footer-v6 a:focus-visible {
  outline: 2px solid #f1d583;
  outline-offset: 3px;
}

.lmr-footer-v6__main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(160px, .75fr));
  gap: clamp(30px, 4vw, 62px);
  padding-bottom: 50px;
}

.lmr-footer-v6__brand-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
}

.lmr-footer-v6__brand-head img {
  width: auto;
  height: 78px;
  object-fit: contain;
}

.lmr-footer-v6__brand-head p {
  margin: 0;
  color: rgba(235, 242, 249, .66);
  font-size: .78rem;
}

.lmr-footer-v6__brand-head h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 900;
}

.lmr-footer-v6__about {
  max-width: 430px;
  margin: 0;
  color: var(--footer-text);
  font-size: .78rem;
  line-height: 2.15;
}

.lmr-footer-v6__languages,
.lmr-footer-v6__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.lmr-footer-v6__languages a,
.lmr-footer-v6__social a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding-inline: 12px;
  border: 1px solid var(--footer-line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: var(--footer-text);
  text-decoration: none;
  font-size: .68rem;
}

.lmr-footer-v6__column h3 {
  position: relative;
  margin: 8px 0 22px;
  padding-bottom: 11px;
  color: #fff;
  font-size: .9rem;
  font-weight: 850;
}

.lmr-footer-v6__column h3::after {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--footer-gold), transparent);
}

.lmr-footer-v6__column ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lmr-footer-v6__column a {
  position: relative;
  color: var(--footer-text);
  text-decoration: none;
  font-size: .74rem;
  line-height: 1.7;
  transition: color .18s ease, transform .18s ease;
}

.lmr-footer-v6__column:not(.lmr-footer-v6__contact) > ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lmr-footer-v6__column:not(.lmr-footer-v6__contact) > ul a::before {
  width: 5px;
  height: 5px;
  content: "";
  border: 1px solid rgba(217, 181, 93, .52);
  transform: rotate(45deg);
}

.lmr-footer-v6__column a:hover,
.lmr-footer-v6__column a:focus-visible {
  color: #fff;
}

.lmr-footer-v6__contact li {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(179, 202, 224, .08);
}

.lmr-footer-v6__contact li:last-child { border-bottom: 0; }

.lmr-footer-v6__contact span {
  color: var(--footer-gold);
  font-size: .64rem;
  font-weight: 750;
}

.lmr-footer-v6__contact strong,
.lmr-footer-v6__contact a {
  color: var(--footer-text);
  font-size: .72rem;
  line-height: 1.8;
  font-weight: 500;
}

.lmr-footer-v6__utility {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding-block: 18px;
  border-top: 1px solid var(--footer-line);
}

.lmr-footer-v6__utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.lmr-footer-v6__utility-links a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: .68rem;
}

.lmr-footer-v6__trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lmr-footer-v6__trust img:first-child {
  width: auto;
  max-width: 160px;
  height: 50px;
  object-fit: contain;
}

.lmr-footer-v6__trust img:last-child {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.lmr-footer-v6__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(179, 202, 224, .08);
  background: rgba(0, 8, 18, .24);
}

.lmr-footer-v6__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.lmr-footer-v6__bottom p {
  margin: 0;
  color: rgba(214, 226, 238, .45);
  font-size: .63rem;
}

/* Internal pages use the same identity but a tighter top rhythm. */
.lmr-footer-v6--internal {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 64px;
}

.lmr-footer-v6--internal .lmr-footer-v6__main {
  padding-top: 10px;
}

/* --------------------------------------------------------------------------
 * Responsive — only RC6 components.
 * -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .lmr-programs-v6__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lmr-program-card-v6 {
    min-height: 300px;
  }

  .lmr-footer-v6__quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lmr-footer-v6__main {
    grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(170px, .8fr));
  }

  .lmr-footer-v6__contact {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  .lmr-programs-v6 {
    padding-block: 60px 68px;
  }

  .lmr-programs-v6__head {
    display: block;
    margin-bottom: 26px;
  }

  .lmr-programs-v6__all {
    margin-top: 16px;
  }

  .lmr-programs-v6__grid {
    display: flex;
    width: calc(100% + 32px);
    margin-inline: -16px;
    padding-inline: 16px;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .lmr-programs-v6__grid::-webkit-scrollbar { display: none; }

  .lmr-program-card-v6 {
    flex: 0 0 min(82vw, 340px);
    min-height: 300px;
    scroll-snap-align: start;
  }

  .lmr-footer-v6 {
    padding-top: 62px;
  }

  .lmr-footer-v6__quick-wrap {
    margin-top: 0;
    margin-bottom: 46px;
  }

  .lmr-footer-v6__quick {
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
  }

  .lmr-footer-v6__quick-item {
    min-height: 82px;
    padding: 14px;
  }

  .lmr-footer-v6__quick-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .lmr-footer-v6__quick-item small { display: none; }

  .lmr-footer-v6__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    padding-bottom: 36px;
  }

  .lmr-footer-v6__brand {
    grid-column: 1 / -1;
  }

  .lmr-footer-v6__contact {
    grid-column: 1 / -1;
  }

  .lmr-footer-v6__about {
    max-width: 640px;
  }

  .lmr-footer-v6__utility {
    align-items: flex-start;
    flex-direction: column;
  }

  .lmr-footer-v6__bottom .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 17px;
  }
}

@media (max-width: 520px) {
  .lmr-footer-v6__curve {
    top: -56px;
    height: 92px;
  }

  .lmr-footer-v6__arabesque {
    height: 112px;
  }

  .lmr-footer-v6__quick-wrap {
    margin-top: 0;
    margin-bottom: 38px;
  }

  .lmr-footer-v6__quick {
    grid-template-columns: 1fr 1fr;
  }

  .lmr-footer-v6__quick-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    min-height: 72px;
    padding: 11px;
  }

  .lmr-footer-v6__quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .lmr-footer-v6__quick-icon svg {
    width: 19px;
    height: 19px;
  }

  .lmr-footer-v6__quick-item strong {
    font-size: .73rem;
    line-height: 1.45;
  }

  .lmr-footer-v6__main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lmr-footer-v6__brand,
  .lmr-footer-v6__contact {
    grid-column: auto;
  }

  .lmr-footer-v6__brand-head img {
    height: 64px;
  }

  .lmr-footer-v6__brand-head h2 {
    font-size: 1.42rem;
  }

  .lmr-footer-v6__column {
    padding-top: 22px;
    border-top: 1px solid var(--footer-line);
  }

  .lmr-footer-v6__column h3 {
    margin-top: 0;
  }

  .lmr-footer-v6__utility-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 12px;
  }

  .lmr-footer-v6__trust {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmr-program-card-v6,
  .lmr-program-card-v6__media img,
  .lmr-program-card-v6__icon::before,
  .lmr-program-card-v6__link span,
  .lmr-programs-v6__all svg,
  .lmr-footer-v6__quick-item,
  .lmr-footer-v6 a {
    transition: none !important;
    transform: none !important;
  }
}

/* JahanNama management entry — intentionally discreet so the public header
   remains focused on visitors, as required by the navigation design. */
.lmr-footer-v6__management-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding-inline: 10px;
  color: rgba(236, 244, 250, .78) !important;
  border: 1px solid rgba(179, 202, 224, .16);
  border-radius: 8px;
  font-weight: 700;
}

.lmr-footer-v6__management-link:hover,
.lmr-footer-v6__management-link:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(213, 180, 92, .42);
}

.lmr-footer-v6__bottom .lmr-footer-v6__management-link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit !important;
  font-weight: 700;
}

/* Core-managed official marks: two independent media-library images. */
.lmr-footer-v6__brand-marks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.lmr-footer-v6__brand-head .lmr-footer-v6__brand-marks img {
  width: auto;
  height: 58px;
  max-width: 68px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .lmr-footer-v6__brand-head .lmr-footer-v6__brand-marks img {
    height: 50px;
    max-width: 58px;
  }
}

/* ===== source: home-responsive.css ===== */
/**
 * Homepage polish v1 — spacing and responsive hardening only.
 *
 * Scope is deliberately narrow: this file does not redesign any approved
 * component. It normalises section rhythm, grid gaps and narrow-screen
 * behaviour after the earlier homepage component passes.
 */

.home {
  overflow-x: clip;
}

.home main,
.home main > section,
.home .container,
.home .lmr8-shell,
.home .lmr10-home-hero__inner,
.home .lmr8-home-stats__shell,
.home .lmr-moments__bar,
.home .lmr-news__layout,
.home .lmr-news__cards,
.home .lmr-programs-v6__grid,
.home .events-grid,
.home .lamerd-showcase,
.home .life-grid {
  min-width: 0;
  max-width: 100%;
}

/* Keep the approved 1280px content measure while making side gutters stable. */
.home .container {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
 * Vertical rhythm — no component redesign, only proportional spacing.
 * -------------------------------------------------------------------------- */
.home .lmr-moments {
  padding-block: clamp(36px, 4vw, 48px);
}

.home .lmr-news,
.home .events-section,
.home .life-section {
  padding-block: clamp(72px, 6.5vw, 88px);
}

.home .lmr-programs-v6 {
  padding-block: clamp(72px, 7vw, 92px);
}

.home #lamerd.lamerd-section {
  padding-block: clamp(64px, 6vw, 78px);
}

.home .section-head,
.home .lmr-news__head,
.home .lmr-programs-v6__head {
  min-width: 0;
  margin-bottom: clamp(24px, 2.4vw, 32px);
}

.home .events-grid,
.home .life-grid {
  gap: clamp(14px, 1.5vw, 18px);
}

.home .lmr-news__layout {
  gap: clamp(16px, 1.8vw, 22px);
}

/* Section actions retain the approved appearance but get reliable touch size. */
.home .text-link,
.home .lmr-programs-v6__all {
  min-height: 44px;
  align-items: center;
}

/* --------------------------------------------------------------------------
 * Hero + statistics bridge — preserve composition, remove narrow-width clashes.
 * -------------------------------------------------------------------------- */
.home .lmr10-home-hero__copy,
.home .lmr10-home-hero__quick,
.home .lmr10-home-hero__quick-list,
.home .lmr10-home-hero__quick-list > a {
  min-width: 0;
}

.home .lmr8-home-stat > div,
.home .lmr8-home-stat b,
.home .lmr8-home-stat small {
  min-width: 0;
}

/* --------------------------------------------------------------------------
 * Cards and media — prevent intrinsic content from forcing horizontal scroll.
 * -------------------------------------------------------------------------- */
.home .lmr-news-card,
.home .lmr-news-card > a,
.home .lmr-news-card__copy,
.home .lmr-program-card-v6,
.home .event-card,
.home .event-copy,
.home .lamerd-panel,
.home .lamerd-panel-content,
.home .life-card,
.home .life-content {
  min-width: 0;
}

.home .lmr-news-card__copy h3,
.home .event-copy h3,
.home .life-content h3,
.home .lmr-program-card-v6__content h3 {
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
 * Tablet / compact desktop.
 * -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .home .container {
    width: min(100% - 40px, 1080px);
  }

  .home .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 1050px) {
  .home .lmr-programs-v6__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .home .lmr-programs-v6 .lmr-program-card-v6 {
    min-height: 220px;
  }
}

@media (max-width: 900px) {
  .home .container {
    width: min(100% - 28px, 760px);
  }

  /* The mobile hero is already stacked; stats should follow it cleanly rather
     than being pulled over the important-notices panel by legacy overrides. */
  .home .lmr8-home-stats {
    margin-top: 0;
    padding-top: 14px;
    background: #f5f8fa;
  }

  .home .lmr8-home-stats__shell {
    width: min(680px, calc(100% - 28px));
    padding: 0;
    overflow: hidden;
    border-radius: 17px;
  }

  .home .lmr8-home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .lmr8-home-stat {
    min-height: 96px;
    padding: 14px 13px;
    justify-content: flex-start;
  }

  .home .lmr8-home-stat:nth-child(2n)::after {
    display: none;
  }

  .home .lmr8-home-stat:nth-child(-n + 2) {
    border-bottom: 1px solid #dfe7ed;
  }

  .home .lmr-moments__bar {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home .lmr-news__layout {
    grid-template-columns: 1fr;
  }

  .home .lmr-news__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home .lmr-news-card > a {
    grid-template-columns: 1fr;
  }

  .home .lmr-news-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .home .lmr-news-card__media img {
    min-height: 0;
  }

  .home .lmr-programs-v6,
  .home .lmr-news,
  .home .events-section,
  .home .life-section {
    padding-block: 64px;
  }

  .home #lamerd.lamerd-section {
    padding-block: 56px 64px;
  }
}

/* --------------------------------------------------------------------------
 * Phones.
 * -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .home .container {
    width: calc(100% - 24px);
  }

  .home .lmr10-home-hero__inner {
    width: calc(100% - 24px);
  }

  .home .lmr10-home-hero__copy,
  .home .lmr10-home-hero__description {
    max-width: 100%;
  }

  .home .lmr10-home-hero__quick-list {
    max-width: 100%;
    overscroll-behavior-inline: contain;
  }

  .home .lmr10-home-hero__quick-list > a {
    scroll-snap-stop: always;
  }

  .home .lmr8-home-stats__shell {
    width: calc(100% - 24px);
  }

  .home .lmr-moments {
    padding-block: 30px;
  }

  .home .lmr-moments__rail {
    max-width: 100vw;
    overscroll-behavior-inline: contain;
  }

  .home .lmr-news,
  .home .lmr-programs-v6,
  .home .events-section,
  .home .life-section {
    padding-block: 52px;
  }

  .home #lamerd.lamerd-section {
    padding-block: 48px 56px;
  }

  .home .section-head,
  .home .lmr-news__head,
  .home .lmr-programs-v6__head {
    margin-bottom: 22px;
  }

  .home .lmr-news__cards {
    grid-template-columns: 1fr;
  }

  .home .lmr-news-card > a {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .home .lmr-news-card__media {
    min-height: 122px;
    aspect-ratio: auto;
  }

  .home .lmr-news-card__media img {
    min-height: 122px;
  }

  /* Override an older RC6 rail rule: the approved reference cards remain the
     same, but on phones they stack predictably instead of extending the page. */
  .home .lmr-programs-v6__grid {
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    margin-inline: 0;
    padding-inline: 0;
    gap: 12px;
    overflow: visible;
  }

  .home .lmr-programs-v6 .lmr-program-card-v6 {
    min-height: 190px;
    padding: 24px 18px 18px;
  }

  .home .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home .event-card {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .home .life-grid {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .home .lmr-news__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
  }

  .home .lmr-news__head h2 {
    font-size: clamp(1.4rem, 7vw, 1.7rem);
  }

  .home .lmr-news__head .text-link {
    font-size: .72rem;
  }

  .home .lmr8-home-stat {
    min-height: 86px;
    gap: 8px;
    padding: 12px 10px;
  }

  .home .lmr8-home-stat strong {
    font-size: 1.45rem;
  }

  .home .lmr8-home-stat b {
    font-size: .65rem;
  }

  .home .lmr8-home-stat small {
    font-size: .53rem;
  }
}

@media (max-width: 420px) {
  .home .container,
  .home .lmr10-home-hero__inner,
  .home .lmr8-home-stats__shell {
    width: calc(100% - 20px);
  }

  .home .lmr10-home-hero__actions {
    grid-template-columns: 1fr;
  }

  .home .lmr-news-card > a {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .home .lmr-news-card__media,
  .home .lmr-news-card__media img {
    min-height: 112px;
  }

  .home .lmr-news-card__copy {
    padding: 13px;
  }

  .home .event-date {
    top: 12px;
    inset-inline-start: 12px;
  }

  .home .event-copy {
    padding-inline: 16px;
    padding-bottom: 16px;
  }
}

@media (max-width: 360px) {
  .home .lmr8-home-stat {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .home .lmr-news__head {
    grid-template-columns: 1fr;
  }

  .home .lmr-news__head .text-link {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home {
    scroll-behavior: auto;
  }
}

/* ===== source: header-responsive.css ===== */
/* ===== header-responsive-v1.css ===== */
/**
 * Lamerd global header — RC8.1 responsive hardening.
 *
 * Scope: global Persian header only. This file intentionally overrides only
 * responsive header/drawer/search geometry; desktop visual language and all
 * page components remain untouched.
 */

@media (max-width: 1279px) {
  :root {
    --lmr8-header-main: 72px;
    --lmr8-header-total: 72px;
  }

  html {
    scroll-padding-top: calc(var(--lmr8-admin-offset, 0px) + var(--lmr8-header-total) + 12px);
  }

  .lmr8-header {
    isolation: isolate;
    max-width: 100%;
  }

  .lmr8-header__main {
    min-height: var(--lmr8-header-main);
  }

  /* Physical positioning is explicit here so RTL does not flip the controls. */
  .lmr8-header__main-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "actions brand";
    width: min(var(--lmr8-shell), calc(100% - 32px));
    min-height: var(--lmr8-header-main);
    margin-inline: auto;
    gap: 14px;
    direction: ltr;
  }

  .lmr8-brand {
    grid-area: brand;
    min-width: 0;
    max-width: 100%;
    justify-self: end;
    gap: 10px;
    direction: rtl;
  }

  .lmr8-brand__marks {
    min-width: 0;
    max-width: 86px;
    flex: 0 0 auto;
  }

  .lmr8-brand__marks .is-dual-logo,
  .lmr8-brand__marks img {
    width: auto;
    max-width: 86px;
    height: 44px;
    object-fit: contain;
  }

  .lmr8-brand__copy {
    min-width: 0;
    max-width: min(44vw, 300px);
  }

  .lmr8-brand__copy strong {
    display: block;
    overflow: hidden;
    font-size: .8rem;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lmr8-brand__copy small {
    display: none;
  }

  .lmr8-mobile-actions {
    grid-area: actions;
    display: flex;
    min-width: 0;
    justify-self: start;
    align-items: center;
    gap: 8px;
    direction: ltr;
    flex-direction: row-reverse;
  }

  .lmr8-icon-button {
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 13px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .lmr8-icon-button:focus-visible,
  .lmr8-drawer__head button:focus-visible,
  .lmr8-submenu-toggle:focus-visible,
  .lmr8-search-panel button:focus-visible,
  .lmr8-search-panel input:focus-visible {
    outline: 3px solid rgba(242, 217, 142, .78);
    outline-offset: 2px;
  }

  .lmr8-icon-button.is-menu {
    gap: 5px;
  }

  .lmr8-icon-button.is-menu span {
    width: 20px;
    transform-origin: center;
    transition: transform .18s ease, opacity .18s ease;
  }

  .lmr8-icon-button.is-menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .lmr8-icon-button.is-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .lmr8-icon-button.is-menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Search is attached to the bottom of the sticky header, never to page content. */
  .lmr8-search-panel {
    top: calc(var(--lmr8-admin-offset, 0px) + var(--lmr8-header-main));
    max-width: 100vw;
    padding-block: 16px 18px;
  }

  .lmr8-search-panel > .lmr8-shell {
    width: min(760px, calc(100% - 32px));
  }

  .lmr8-search-panel form > div {
    align-items: stretch;
  }

  .lmr8-search-panel input,
  .lmr8-search-panel button {
    font: inherit;
  }

  /* The trigger lives on the left, so the drawer follows the same spatial model. */
  .lmr8-drawer {
    top: var(--lmr8-admin-offset, 0px);
    right: auto;
    left: 0;
    width: min(390px, 100vw);
    max-width: 100vw;
    height: calc(100dvh - var(--lmr8-admin-offset, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 24px 0 70px rgba(0, 17, 36, .4);
    transform: translateX(-104%);
  }

  .lmr8-drawer.is-open {
    transform: translateX(0);
  }

  .lmr8-drawer__head {
    min-height: 78px;
    padding-top: max(14px, env(safe-area-inset-top, 0px));
  }

  .lmr8-drawer__head button,
  .lmr8-submenu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .lmr8-mobile-nav {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .22) transparent;
  }

  .lmr8-mobile-menu > li {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .lmr8-mobile-menu > li > a {
    display: flex;
    min-height: 52px;
    padding: 12px 6px;
    align-items: center;
    line-height: 1.7;
  }

  .lmr8-submenu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .lmr8-submenu-toggle::before {
    width: 9px;
    height: 9px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .16s ease;
  }

  .lmr8-submenu-toggle[aria-expanded="true"]::before {
    content: "";
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .lmr8-mobile-menu .sub-menu {
    padding: 7px 9px 9px;
  }

  .lmr8-mobile-menu .sub-menu a {
    min-height: 42px;
    padding: 9px 10px;
  }

  .lmr8-drawer__quick {
    padding-bottom: max(18px, env(safe-area-inset-bottom, 0px));
  }

  .lmr8-backdrop {
    inset: var(--lmr8-admin-offset, 0px) 0 0;
    backdrop-filter: blur(2px);
  }

  body.lmr8-panel-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }
}

@media (max-width: 782px) {
  .lmr8-header__main-inner {
    width: calc(100% - 24px);
  }
}

@media (max-width: 600px) {
  :root {
    --lmr8-header-main: 68px;
    --lmr8-header-total: 68px;
  }

  .lmr8-header__main-inner {
    min-height: 68px;
    gap: 10px;
  }

  .lmr8-brand {
    gap: 8px;
  }

  .lmr8-brand__marks,
  .lmr8-brand__marks .is-dual-logo,
  .lmr8-brand__marks img {
    max-width: 76px;
  }

  .lmr8-brand__marks .is-dual-logo,
  .lmr8-brand__marks img {
    height: 39px;
  }

  .lmr8-brand__copy {
    max-width: min(42vw, 215px);
  }

  .lmr8-brand__copy strong {
    font-size: .73rem;
  }

  .lmr8-mobile-actions {
    gap: 6px;
  }

  .lmr8-icon-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .lmr8-search-panel {
    top: calc(var(--lmr8-admin-offset, 0px) + 68px);
  }

  .lmr8-search-panel > .lmr8-shell {
    width: calc(100% - 24px);
  }

  .lmr8-drawer {
    width: min(360px, 100vw);
  }
}

@media (max-width: 420px) {
  .lmr8-header__main-inner {
    grid-template-columns: auto minmax(0, 1fr);
    width: calc(100% - 20px);
    gap: 8px;
  }

  .lmr8-brand {
    gap: 6px;
  }

  .lmr8-brand__marks,
  .lmr8-brand__marks .is-dual-logo,
  .lmr8-brand__marks img {
    max-width: 66px;
  }

  .lmr8-brand__marks .is-dual-logo,
  .lmr8-brand__marks img {
    height: 35px;
  }

  .lmr8-brand__copy {
    max-width: min(39vw, 160px);
  }

  .lmr8-brand__copy strong {
    font-size: .67rem;
  }

  .lmr8-icon-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .lmr8-drawer__head {
    padding-inline: 14px;
  }

  .lmr8-drawer__head small {
    font-size: .61rem;
  }

  .lmr8-mobile-nav {
    padding-inline: 10px;
  }

  .lmr8-drawer__quick {
    grid-template-columns: 1fr 1fr;
    padding-inline: 14px;
  }
}

@media (max-width: 350px) {
  .lmr8-brand__copy {
    display: none;
  }

  .lmr8-brand__marks,
  .lmr8-brand__marks .is-dual-logo,
  .lmr8-brand__marks img {
    max-width: 72px;
  }

  .lmr8-drawer__quick {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmr8-icon-button.is-menu span,
  .lmr8-submenu-toggle::before {
    transition: none;
  }
}

/* ===== header-responsive-v2.css ===== */
/**
 * Lamerd global header — RC8.2 mobile geometry fix.
 *
 * Purpose: enforce a single-row mobile header after legacy homepage rules.
 * This file is intentionally loaded last and touches only the global header,
 * search panel and mobile drawer. No page component is restyled here.
 */

@media (max-width: 1279px) {
  :root {
    --lmr8-mobile-header-height: 72px;
    --lmr8-header-main: var(--lmr8-mobile-header-height);
    --lmr8-header-total: var(--lmr8-mobile-header-height);
  }

  html {
    scroll-padding-top: calc(var(--lmr8-admin-offset, 0px) + var(--lmr8-mobile-header-height) + 12px);
  }

  /*
   * Flex is deliberate here. Earlier homepage styles used competing grid-area
   * names and could force brand/actions onto separate rows at intermediate
   * widths. The header has only two visible groups on mobile, so a two-item
   * flex row is both simpler and more robust.
   */
  .lmr8-header .lmr8-header__main,
  .home .lmr8-header .lmr8-header__main {
    min-height: var(--lmr8-mobile-header-height) !important;
    height: var(--lmr8-mobile-header-height) !important;
  }

  .lmr8-header .lmr8-header__main-inner,
  .home .lmr8-header .lmr8-header__main-inner {
    display: flex !important;
    width: min(var(--lmr8-shell), calc(100% - 28px)) !important;
    min-height: var(--lmr8-mobile-header-height) !important;
    height: var(--lmr8-mobile-header-height) !important;
    margin-inline: auto !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    direction: rtl !important;
    grid-template: none !important;
  }

  .lmr8-header .lmr8-desktop-nav,
  .lmr8-header .lmr8-desktop-search {
    display: none !important;
  }

  .lmr8-header .lmr8-brand,
  .home .lmr8-header .lmr8-brand {
    display: flex !important;
    min-width: 0 !important;
    max-width: calc(100% - 104px) !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    direction: rtl !important;
    overflow: hidden !important;
  }

  .lmr8-header .lmr8-brand__marks,
  .home .lmr8-header .lmr8-brand__marks {
    display: flex !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 50px !important;
    flex: 0 0 72px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .lmr8-header .lmr8-brand__marks .is-dual-logo,
  .lmr8-header .lmr8-brand__marks img,
  .home .lmr8-header .lmr8-brand__marks .is-dual-logo,
  .home .lmr8-header .lmr8-brand__marks img {
    display: block !important;
    width: auto !important;
    max-width: 72px !important;
    height: 50px !important;
    max-height: 50px !important;
    object-fit: contain !important;
  }

  .lmr8-header .lmr8-brand__copy,
  .home .lmr8-header .lmr8-brand__copy {
    display: block !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .lmr8-header .lmr8-brand__copy strong,
  .home .lmr8-header .lmr8-brand__copy strong {
    display: block !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: .76rem !important;
    line-height: 1.5 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .lmr8-header .lmr8-brand__copy small,
  .home .lmr8-header .lmr8-brand__copy small {
    display: none !important;
  }

  .lmr8-header .lmr8-mobile-actions,
  .home .lmr8-header .lmr8-mobile-actions {
    display: flex !important;
    min-width: 96px !important;
    flex: 0 0 96px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    direction: ltr !important;
    flex-direction: row-reverse !important;
  }

  .lmr8-header .lmr8-icon-button,
  .home .lmr8-header .lmr8-icon-button {
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
    padding: 0 !important;
    place-items: center !important;
    border-radius: 13px !important;
  }

  .lmr8-header .lmr8-icon-button.is-menu,
  .home .lmr8-header .lmr8-icon-button.is-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  .lmr8-header .lmr8-icon-button.is-menu span,
  .home .lmr8-header .lmr8-icon-button.is-menu span {
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
  }

  .lmr8-search-panel {
    top: calc(var(--lmr8-admin-offset, 0px) + var(--lmr8-mobile-header-height)) !important;
  }

  /* The drawer follows the physical position of the hamburger: left side. */
  .lmr8-drawer {
    top: var(--lmr8-admin-offset, 0px) !important;
    right: auto !important;
    left: 0 !important;
    width: min(390px, 100vw) !important;
    max-width: 100vw !important;
    height: calc(100dvh - var(--lmr8-admin-offset, 0px)) !important;
    transform: translateX(-104%) !important;
  }

  .lmr8-drawer.is-open {
    transform: translateX(0) !important;
  }
}

@media (max-width: 600px) {
  :root {
    --lmr8-mobile-header-height: 66px;
  }

  .lmr8-header .lmr8-header__main-inner,
  .home .lmr8-header .lmr8-header__main-inner {
    width: calc(100% - 20px) !important;
    gap: 9px !important;
  }

  .lmr8-header .lmr8-brand,
  .home .lmr8-header .lmr8-brand {
    max-width: calc(100% - 92px) !important;
    gap: 7px !important;
  }

  .lmr8-header .lmr8-brand__marks,
  .home .lmr8-header .lmr8-brand__marks {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 46px !important;
    flex-basis: 64px !important;
  }

  .lmr8-header .lmr8-brand__marks .is-dual-logo,
  .lmr8-header .lmr8-brand__marks img,
  .home .lmr8-header .lmr8-brand__marks .is-dual-logo,
  .home .lmr8-header .lmr8-brand__marks img {
    max-width: 64px !important;
    height: 46px !important;
    max-height: 46px !important;
  }

  .lmr8-header .lmr8-brand__copy strong,
  .home .lmr8-header .lmr8-brand__copy strong {
    font-size: .69rem !important;
  }

  .lmr8-header .lmr8-mobile-actions,
  .home .lmr8-header .lmr8-mobile-actions {
    min-width: 86px !important;
    flex-basis: 86px !important;
    gap: 6px !important;
  }

  .lmr8-header .lmr8-icon-button,
  .home .lmr8-header .lmr8-icon-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 390px) {
  .lmr8-header .lmr8-brand,
  .home .lmr8-header .lmr8-brand {
    max-width: calc(100% - 84px) !important;
  }

  .lmr8-header .lmr8-brand__marks,
  .home .lmr8-header .lmr8-brand__marks {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 42px !important;
    flex-basis: 58px !important;
  }

  .lmr8-header .lmr8-brand__marks .is-dual-logo,
  .lmr8-header .lmr8-brand__marks img,
  .home .lmr8-header .lmr8-brand__marks .is-dual-logo,
  .home .lmr8-header .lmr8-brand__marks img {
    max-width: 58px !important;
    height: 42px !important;
    max-height: 42px !important;
  }

  .lmr8-header .lmr8-brand__copy strong,
  .home .lmr8-header .lmr8-brand__copy strong {
    font-size: .64rem !important;
  }

  .lmr8-header .lmr8-mobile-actions,
  .home .lmr8-header .lmr8-mobile-actions {
    min-width: 80px !important;
    flex-basis: 80px !important;
    gap: 4px !important;
  }

  .lmr8-header .lmr8-icon-button,
  .home .lmr8-header .lmr8-icon-button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    flex-basis: 38px !important;
  }
}

@media (max-width: 330px) {
  .lmr8-header .lmr8-brand__copy,
  .home .lmr8-header .lmr8-brand__copy {
    display: none !important;
  }

  .lmr8-header .lmr8-brand,
  .home .lmr8-header .lmr8-brand {
    max-width: 64px !important;
    flex: 0 0 64px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmr8-drawer,
  .lmr8-icon-button.is-menu span {
    transition: none !important;
  }
}

/* ===== source: shared-polish.css ===== */
/**
 * RC12.1 — Homepage + Editorial Polish
 *
 * Narrow final-pass layer. It harmonizes already-approved homepage cards,
 * fixes dark-surface breadcrumbs, compacts related editorial content, keeps
 * telephone numerals in logical order and makes search filters unmistakable.
 */

/* --------------------------------------------------------------------------
 * Shared bidi/readability fixes
 * -------------------------------------------------------------------------- */
a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
}

/* Breadcrumbs need an explicit high-contrast treatment on dark heroes. */
body:not(.home) :is(
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lamerd-page-hero--institutional,
  .lamerd-page-hero--landing,
  .lmr-president__hero,
  .lamerd-unit-index-hero,
  .lamerd-unit-hero,
  .lmr12-tool-hero,
  .lamerd-faculty-hero-public,
  .lamerd-city-story__heading
) .lamerd-breadcrumbs,
body:not(.home) :is(
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lamerd-page-hero--institutional,
  .lamerd-page-hero--landing,
  .lmr-president__hero,
  .lamerd-unit-index-hero,
  .lamerd-unit-hero,
  .lmr12-tool-hero,
  .lamerd-faculty-hero-public,
  .lamerd-city-story__heading
) .lamerd-breadcrumbs a,
body:not(.home) :is(
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lamerd-page-hero--institutional,
  .lamerd-page-hero--landing,
  .lmr-president__hero,
  .lamerd-unit-index-hero,
  .lamerd-unit-hero,
  .lmr12-tool-hero,
  .lamerd-faculty-hero-public,
  .lamerd-city-story__heading
) .lamerd-breadcrumbs span {
  color: rgba(255,255,255,.78) !important;
}

body:not(.home) :is(
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lamerd-page-hero--institutional,
  .lamerd-page-hero--landing,
  .lmr-president__hero,
  .lamerd-unit-index-hero,
  .lamerd-unit-hero,
  .lmr12-tool-hero,
  .lamerd-faculty-hero-public,
  .lamerd-city-story__heading
) .lamerd-breadcrumbs a:hover,
body:not(.home) :is(
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lamerd-page-hero--institutional,
  .lamerd-page-hero--landing,
  .lmr-president__hero,
  .lamerd-unit-index-hero,
  .lamerd-unit-hero,
  .lmr12-tool-hero,
  .lamerd-faculty-hero-public,
  .lamerd-city-story__heading
) .lamerd-breadcrumbs a:focus-visible {
  color: #f0d57d !important;
}

/* --------------------------------------------------------------------------
 * Homepage visual rhythm — no structural redesign
 * -------------------------------------------------------------------------- */
.home.v24 {
  --lmr-home-card-radius: 20px;
  --lmr-home-card-shadow: 0 16px 38px rgba(0, 29, 62, .085);
  --lmr-home-image-gradient: linear-gradient(
    180deg,
    rgba(0, 20, 40, .02) 24%,
    rgba(0, 20, 40, .18) 53%,
    rgba(0, 20, 40, .92) 100%
  );
}

/* Featured news: reduce headline scale and match the other image cards. */
.home.v24 .lmr-news-featured {
  min-height: 470px;
  border-radius: var(--lmr-home-card-radius);
  box-shadow: var(--lmr-home-card-shadow);
}

.home.v24 .lmr-news-featured__shade {
  background: var(--lmr-home-image-gradient);
}

.home.v24 .lmr-news-featured__content {
  width: min(620px, 88%);
  padding: clamp(22px, 3.1vw, 34px);
}

.home.v24 .lmr-news-featured__content h3 {
  max-width: 590px;
  margin-block: 8px;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.52;
  letter-spacing: -.015em;
}

.home.v24 .lmr-news-featured__content p {
  max-width: 560px;
  font-size: .79rem;
  line-height: 1.95;
}

.home.v24 .lmr-news-featured__action {
  margin-top: 14px;
  font-size: .73rem;
}

/* One visual family for editorial/location/life cards. */
.home.v24 .event-card,
.home.v24 .lamerd-panel,
.home.v24 .life-card,
.home.v24 .lmr-news-card {
  border-radius: var(--lmr-home-card-radius);
  box-shadow: var(--lmr-home-card-shadow);
}

/* Event and city cards use one overlay rather than stacked gradients. */
.home.v24 .event-card::after,
.home.v24 .lamerd-panel::before {
  background: var(--lmr-home-image-gradient);
}

.home.v24 .event-copy {
  padding: 64px 20px 20px;
  background: transparent;
}

.home.v24 .lamerd-panel-content {
  padding: 64px 20px 20px;
}

/* Keep the approved light student-life treatment, but align its stops/radius. */
.home.v24 .life-media::after {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.01) 24%,
    rgba(255,255,255,.14) 53%,
    rgba(255,255,255,.96) 100%
  );
}

.home.v24 .life-content,
.home.v24 .life-card.classroom .life-content,
.home.v24 .life-card.sport .life-content {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.16) 32%,
    rgba(255,255,255,.92) 67%,
    #fff 100%
  );
}

/* Keep section spacing in one family without changing approved compositions. */
.home.v24 :is(.news-section, .events-section, .lamerd-section, .life-section) {
  scroll-margin-top: calc(var(--lmr-header-height, 86px) + 18px);
}

.home.v24 .news-section,
.home.v24 .events-section,
.home.v24 .lamerd-section,
.home.v24 .life-section {
  padding-block: clamp(68px, 7vw, 92px);
}

/* --------------------------------------------------------------------------
 * Search: filters stay visible and are explicitly resettable
 * -------------------------------------------------------------------------- */
.lmr12-search-form {
  grid-template-columns: minmax(260px, 1.5fr) minmax(170px, .62fr) minmax(150px, .56fr) auto auto;
}

.lmr12-search-reset {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 14px;
  border: 1px solid #ccd8e2;
  border-radius: 13px;
  color: #5c6f82;
  background: #fff;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}

.lmr12-search-reset:hover,
.lmr12-search-reset:focus-visible {
  color: #002d55;
  border-color: #89a7bf;
}

/* --------------------------------------------------------------------------
 * Editorial related content — compact and balanced
 * -------------------------------------------------------------------------- */
.lmr11-related {
  padding-bottom: clamp(58px, 6vw, 84px);
}

.lmr11-related .lamerd-related-section {
  margin-top: 8px;
}

.lmr11-related .lamerd-section-heading--compact {
  margin-bottom: 14px;
}

.lmr11-related .lamerd-section-heading--compact h2 {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.lmr11-related .lamerd-template-grid {
  gap: 14px;
}

/* Compact related-news card. */
.lmr11-related .lamerd-template-card {
  border-radius: 16px;
  box-shadow: 0 9px 26px rgba(3,26,46,.045);
}

.lmr11-related .lamerd-template-card__media,
.lmr11-related .lamerd-template-card__media img,
.lmr11-related .lamerd-media-placeholder {
  min-height: 138px;
  max-height: 156px;
}

.lmr11-related .lamerd-template-card__body {
  padding: 15px 16px 16px;
}

.lmr11-related .lamerd-template-card__title {
  margin: 8px 0 6px;
  font-size: .93rem;
  line-height: 1.65;
}

.lmr11-related .lamerd-template-card__body > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #667788;
  font-size: .73rem;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lmr11-related .lamerd-card-meta-row,
.lmr11-related .lamerd-card-footnote {
  font-size: .66rem;
}

/* Notice cards were inheriting the archive row layout inside a 3-column grid. */
.lmr11-related .lamerd-notice-row {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 9px 26px rgba(3,26,46,.04);
}

.lmr11-related .lamerd-notice-row__date {
  min-height: 0;
  display: block;
  padding: 0 0 9px;
  border: 0;
  color: #8d6e20;
  font-size: .67rem;
  text-align: start;
}

.lmr11-related .lamerd-notice-row__body {
  flex: 1;
}

.lmr11-related .lamerd-notice-row h2 {
  margin: 7px 0 6px;
  font-size: .9rem;
  line-height: 1.7;
}

.lmr11-related .lamerd-notice-row__body > p {
  display: -webkit-box;
  overflow: hidden;
  font-size: .72rem;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lmr11-related .lamerd-notice-row .lamerd-card-link {
  min-height: 36px;
  align-self: flex-start;
  margin-top: 12px;
  padding: 0 11px;
  border: 1px solid #d5dfe7;
  border-radius: 10px;
  color: #123d64;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 820;
}

/* --------------------------------------------------------------------------
 * Responsive polish
 * -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .home.v24 .lmr-news-featured { min-height: 430px; }

  .lmr12-search-form {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(150px, .7fr));
  }

  .lmr12-search-form button,
  .lmr12-search-reset {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .home.v24 .news-section,
  .home.v24 .events-section,
  .home.v24 .lamerd-section,
  .home.v24 .life-section {
    padding-block: 58px;
  }

  .home.v24 .lmr-news-featured {
    min-height: 390px;
    border-radius: 18px;
  }

  .home.v24 .lmr-news-featured__content {
    width: 100%;
    padding: 22px 18px;
  }

  .home.v24 .lmr-news-featured__content h3 {
    font-size: clamp(1.18rem, 5.5vw, 1.5rem);
  }

  .home.v24 .event-card,
  .home.v24 .lamerd-panel,
  .home.v24 .life-card,
  .home.v24 .lmr-news-card {
    border-radius: 18px;
  }

  .lmr12-search-form {
    grid-template-columns: 1fr 1fr;
  }

  .lmr12-search-form__query {
    grid-column: 1 / -1;
  }

  .lmr12-search-form button,
  .lmr12-search-reset {
    width: 100%;
  }

  .lmr11-related .lamerd-template-grid {
    grid-template-columns: 1fr;
  }

  .lmr11-related .lamerd-template-card {
    display: grid;
    grid-template-columns: 118px minmax(0,1fr);
  }

  .lmr11-related .lamerd-template-card__media,
  .lmr11-related .lamerd-template-card__media img,
  .lmr11-related .lamerd-media-placeholder {
    height: 100%;
    min-height: 122px;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .lmr12-search-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .lmr12-search-form__query {
    grid-column: auto;
  }

  .lmr11-related .lamerd-template-card {
    grid-template-columns: 96px minmax(0,1fr);
  }

  .lmr11-related .lamerd-template-card__body {
    padding: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home.v24 .lmr-news-featured img,
  .home.v24 .event-card img,
  .home.v24 .lamerd-panel img,
  .home.v24 .life-media img {
    transition: none !important;
  }
}

/* Remove the legacy second city overlay; RC12.1 keeps a single shared fade. */
.home.v24 .lamerd-panel::after {
  display: none;
}

/* ===== source: home-featured-news.css ===== */
/**
 * RC12.2 — Featured news typography micro-polish.
 *
 * Deliberately scoped to the homepage featured-news card.  This file loads
 * after every previous homepage layer so the final type scale is predictable
 * without changing the approved component structure.
 */
.home.v24 .lmr-news-featured {
  min-height: 450px;
}

.home.v24 .lmr-news-featured__content {
  width: min(560px, 82%);
  padding: clamp(22px, 2.5vw, 30px);
}

.home.v24 .lmr-news-featured__content time {
  font-size: .66rem;
  line-height: 1.5;
}

.home.v24 .lmr-news-featured__content h3 {
  max-width: 535px;
  margin: 7px 0 8px;
  font-size: clamp(1.08rem, 1.55vw, 1.48rem);
  font-weight: 880;
  line-height: 1.58;
  letter-spacing: 0;
  text-wrap: pretty;
}

.home.v24 .lmr-news-featured__content p {
  max-width: 510px;
  font-size: .76rem;
  line-height: 1.9;
}

.home.v24 .lmr-news-featured__action {
  margin-top: 12px;
  font-size: .7rem;
}

@media (max-width: 1040px) {
  .home.v24 .lmr-news-featured {
    min-height: 420px;
  }

  .home.v24 .lmr-news-featured__content {
    width: min(540px, 86%);
  }

  .home.v24 .lmr-news-featured__content h3 {
    font-size: clamp(1.08rem, 2.2vw, 1.36rem);
  }
}

@media (max-width: 760px) {
  .home.v24 .lmr-news-featured {
    min-height: 370px;
  }

  .home.v24 .lmr-news-featured__content {
    width: 100%;
    padding: 20px 18px;
  }

  .home.v24 .lmr-news-featured__content h3 {
    max-width: 100%;
    font-size: clamp(1.02rem, 4.35vw, 1.25rem);
    line-height: 1.62;
  }

  .home.v24 .lmr-news-featured__content p {
    max-width: 100%;
    font-size: .74rem;
  }
}

@media (max-width: 430px) {
  .home.v24 .lmr-news-featured {
    min-height: 350px;
  }

  .home.v24 .lmr-news-featured__content {
    padding: 18px 16px;
  }

  .home.v24 .lmr-news-featured__content h3 {
    font-size: 1.06rem;
    line-height: 1.62;
  }

  .home.v24 .lmr-news-featured__content p {
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home.v24 .lmr-news-featured img {
    transition: none;
  }
}

/* ===== source: content-polish.css ===== */
/**
 * RC18.1 — final content / IA polish.
 * Intentionally scoped to the homepage cultural cards, About Center and the
 * cultural/welfare gallery. No global redesign is introduced here.
 */

/* Homepage: clearer cultural/student card hierarchy and semantic photography. */
.home.v24 #life .life-content h3 {
  max-width: 31ch;
  font-size: clamp(.88rem, 1.05vw, 1rem);
  line-height: 1.7;
  text-wrap: pretty;
}
.home.v24 #life .life-media img { width: 100%; }
.home.v24 #life .life-card.main .life-media img { object-position: 52% 52%; }
.home.v24 #life .life-card.classroom .life-media img { object-position: 50% 52%; }
.home.v24 #life .life-card.facilities .life-media img { object-position: 50% 38%; }
.home.v24 #life .life-card.sport .life-media img { object-position: 50% 45%; }
.home.v24 #life .life-action { margin-top: 15px; }

/* =========================================================
   About Center — flagship institutional landing
   ========================================================= */
.lmr15-flagship--about {
  --lmr181-ink: #082b49;
  --lmr181-blue: #0b527e;
  --lmr181-deep: #031f38;
  --lmr181-muted: #5e7180;
  --lmr181-gold: #d6ae4a;
  --lmr181-soft: #f4f7f8;
  --lmr181-line: #dce5ea;
}
.lmr15-flagship--about .lmr15-hero { min-height: 690px; }
.lmr15-flagship--about .lmr15-hero__media { object-position: 50% 54%; }
.lmr15-flagship--about .lmr15-hero__shade {
  background:
    linear-gradient(90deg, rgba(2,27,49,.36) 0%, rgba(2,27,49,.78) 50%, rgba(2,27,49,.94) 100%),
    linear-gradient(0deg, rgba(2,24,43,.64), transparent 55%);
}
.lmr15-flagship--about .lmr15-hero h1 {
  max-width: 830px;
  font-size: clamp(2.5rem, 4.6vw, 4.9rem);
  line-height: 1.19;
}
.lmr181-about-facts { margin-bottom: 0; }

.lmr181-about-opening {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(480px,1.1fr);
  gap: clamp(48px,7vw,92px);
  align-items: center;
  padding-block: clamp(86px,9vw,132px);
}
.lmr181-about-opening__copy,
.lmr181-about-split__grid > div,
.lmr181-about-industry__grid > div,
.lmr181-about-community,
.lmr181-about-more { color: #425b6c; }
.lmr181-about-opening h2,
.lmr181-about-split h2,
.lmr181-about-industry h2,
.lmr181-about-community h2,
.lmr181-about-city h2,
.lmr181-about-more h2 {
  margin: 0 0 24px;
  color: var(--lmr181-ink);
  font-size: clamp(1.8rem,3vw,2.9rem);
  line-height: 1.42;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.lmr181-about-opening p,
.lmr181-about-split p,
.lmr181-about-industry p,
.lmr181-about-community p,
.lmr181-about-city p,
.lmr181-about-more p {
  margin: 0 0 18px;
  font-size: .94rem;
  line-height: 2.18;
}
.lmr181-about-opening__accent {
  margin-top: 28px !important;
  padding: 19px 22px;
  border-inline-start: 3px solid var(--lmr181-gold);
  border-radius: 0 14px 14px 0;
  background: #f7f3e9;
  color: var(--lmr181-ink);
  font-weight: 850;
}
.lmr181-about-opening__media {
  display: grid;
  grid-template-columns: 1.23fr .77fr;
  grid-template-rows: repeat(2, 205px);
  gap: 12px;
}
.lmr181-about-opening__media figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #e9eef1;
  box-shadow: 0 18px 45px rgba(4,43,75,.08);
}
.lmr181-about-opening__media .is-main { grid-row: 1/3; }
.lmr181-about-opening__media img { width:100%;height:100%;display:block;object-fit:cover; }

.lmr181-about-split { padding-block: clamp(82px,9vw,130px); background: var(--lmr181-soft); }
.lmr181-about-split__grid,
.lmr181-about-industry__grid {
  display: grid;
  grid-template-columns: minmax(430px,.92fr) minmax(0,1.08fr);
  gap: clamp(50px,7vw,96px);
  align-items: center;
}
.lmr181-about-split figure,
.lmr181-about-industry figure { margin: 0; overflow: hidden; border-radius: 30px; }
.lmr181-about-split figure { min-height: 515px; box-shadow: 0 24px 65px rgba(4,43,75,.1); }
.lmr181-about-split figure img,
.lmr181-about-industry figure img { width:100%;height:100%;display:block;object-fit:cover; }
.lmr181-about-split figure img { min-height:515px; }
.lmr181-text-link {
  display: inline-flex;
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(11,82,126,.25);
  color: var(--lmr181-blue);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 900;
}

.lmr181-about-industry { padding-block: clamp(90px,9vw,132px); background: var(--lmr181-deep); color: #fff; overflow: hidden; }
.lmr181-about-industry__grid { grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr); }
.lmr181-about-industry h2 { color: #fff; }
.lmr181-about-industry p { color: rgba(255,255,255,.72); }
.lmr181-about-industry figure { height: 540px; box-shadow: 0 26px 70px rgba(0,0,0,.22); }
.lmr181-inline-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.lmr181-inline-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.055);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 800;
}

.lmr181-about-community { padding-block: clamp(88px,9vw,132px); }
.lmr181-about-community > header { max-width: 850px; margin-bottom: 44px; }
.lmr181-about-community__grid { display:grid; grid-template-columns: minmax(0,.95fr) minmax(430px,1.05fr); gap:70px; align-items:start; }
.lmr181-about-community__links { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.lmr181-about-community__links a {
  position: relative;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--lmr181-line);
  border-radius: 20px;
  background: #fff;
  color: var(--lmr181-ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(4,43,75,.05);
}
.lmr181-about-community__links a::after { content:"←"; position:absolute; inset-inline-end:22px; bottom:19px; color:var(--lmr181-gold); }
.lmr181-about-community__links span,
.lmr181-about-community__links b { display:block; }
.lmr181-about-community__links span { font-weight:900; }
.lmr181-about-community__links b { margin-top:8px; color:var(--lmr181-muted); font-size:.72rem; line-height:1.75; font-weight:600; }

.lmr181-about-city { position:relative; min-height:720px; display:grid; align-items:center; overflow:hidden; background:#062b48; }
.lmr181-about-city > img { position:absolute; inset:0; width:100%;height:100%;object-fit:cover; }
.lmr181-about-city__shade { position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,27,49,.25),rgba(2,27,49,.88) 54%,rgba(2,27,49,.97)); }
.lmr181-about-city__copy { position:relative;z-index:2;padding-block:100px; }
.lmr181-about-city__copy > * { max-width:720px; }
.lmr181-about-city h2 { color:#fff; }
.lmr181-about-city p { color:rgba(255,255,255,.76); }
.lmr181-about-city .lmr15-button { margin-top:14px; }

.lmr181-about-more { padding-block: clamp(90px,9vw,132px) 72px; }
.lmr181-about-more > header { max-width:920px; }
.lmr181-about-more__grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:44px; }
.lmr181-about-more__grid a {
  position:relative;
  min-height:150px;
  padding:22px 22px 44px;
  border:1px solid var(--lmr181-line);
  border-radius:19px;
  background:linear-gradient(145deg,#fff,#f8fafb);
  color:var(--lmr181-ink);
  text-decoration:none;
}
.lmr181-about-more__grid small,
.lmr181-about-more__grid strong { display:block; }
.lmr181-about-more__grid small { color:#8a7134;font-size:.66rem;font-weight:850; }
.lmr181-about-more__grid strong { margin-top:10px;font-size:.9rem;line-height:1.7; }
.lmr181-about-more__grid span { position:absolute;inset-inline-end:21px;bottom:18px;color:var(--lmr181-blue); }

/* =========================================================
   Cultural and welfare gallery
   ========================================================= */
.lmr16-landing--student_welfare .lmr16-hero__media { object-position:50% 56%; }
.lmr181-gallery-intro {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);
  gap:52px;
  align-items:end;
  padding-block:80px 42px;
}
.lmr181-gallery-intro h2,
.lmr181-gallery-routes h2 { margin:0 0 15px;color:#082b49;font-size:clamp(1.75rem,2.8vw,2.55rem);line-height:1.4; }
.lmr181-gallery-intro p { margin:0;color:#5c7080;font-size:.88rem;line-height:2.05; }
.lmr181-gallery-intro__note { padding:22px 24px;border:1px solid #dbe5ea;border-radius:18px;background:#f4f7f8; }
.lmr181-gallery-intro__note strong,
.lmr181-gallery-intro__note span { display:block; }
.lmr181-gallery-intro__note strong { color:#082b49;font-size:.88rem; }
.lmr181-gallery-intro__note span { margin-top:7px;color:#6b7d8a;font-size:.72rem;line-height:1.8; }

.lmr181-gallery {
  display:grid;
  grid-template-columns:repeat(12,1fr);
  grid-auto-rows:190px;
  gap:12px;
  padding-bottom:105px;
}
.lmr181-gallery figure { position:relative;grid-column:span 4;grid-row:span 2;margin:0;overflow:hidden;border-radius:22px;background:#e8eef1; }
.lmr181-gallery figure.is-wide { grid-column:span 8; }
.lmr181-gallery figure.is-tall { grid-column:span 4;grid-row:span 3; }
.lmr181-gallery img { width:100%;height:100%;display:block;object-fit:cover;transition:transform .4s ease; }
.lmr181-gallery .is-tall img { object-position:50% 38%; }
.lmr181-gallery figcaption {
  position:absolute;
  inset:auto 0 0;
  padding:55px 20px 18px;
  color:#fff;
  background:linear-gradient(0deg,rgba(2,27,49,.92),rgba(2,27,49,0));
}
.lmr181-gallery figcaption strong,
.lmr181-gallery figcaption span { display:block; }
.lmr181-gallery figcaption strong { font-size:.86rem; }
.lmr181-gallery figcaption span { margin-top:4px;color:rgba(255,255,255,.7);font-size:.65rem; }

.lmr181-gallery-routes { padding-block:80px;background:#f3f6f8; }
.lmr181-gallery-routes header { margin-bottom:28px; }
.lmr181-gallery-routes__grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
.lmr181-gallery-routes__grid a { min-height:145px;padding:24px;border:1px solid #dce5ea;border-radius:19px;background:#fff;color:#082b49;text-decoration:none; }
.lmr181-gallery-routes__grid strong,
.lmr181-gallery-routes__grid span { display:block; }
.lmr181-gallery-routes__grid strong { font-size:.9rem; }
.lmr181-gallery-routes__grid span { margin-top:8px;color:#677987;font-size:.7rem;line-height:1.75; }

@media (hover:hover) {
  .lmr181-about-opening__media figure:hover img,
  .lmr181-gallery figure:hover img { transform:scale(1.025); }
  .lmr181-about-community__links a:hover,
  .lmr181-about-more__grid a:hover,
  .lmr181-gallery-routes__grid a:hover { border-color:rgba(11,82,126,.34);box-shadow:0 18px 44px rgba(4,43,75,.08);transform:translateY(-2px); }
}

@media (max-width:1080px) {
  .lmr181-about-opening { grid-template-columns:1fr; }
  .lmr181-about-opening__media { grid-template-rows:repeat(2,220px); }
  .lmr181-about-split__grid,
  .lmr181-about-industry__grid { grid-template-columns:1fr 1fr;gap:44px; }
  .lmr181-about-community__grid { grid-template-columns:1fr;gap:34px; }
  .lmr181-about-more__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lmr181-gallery-routes__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:760px) {
  .home.v24 #life .life-content h3 { max-width:none;font-size:.9rem; }
  .lmr15-flagship--about .lmr15-hero { min-height:610px; }
  .lmr15-flagship--about .lmr15-hero__shade { background:linear-gradient(0deg,rgba(2,27,49,.96),rgba(2,27,49,.55) 72%,rgba(2,27,49,.3)); }
  .lmr15-flagship--about .lmr15-hero__media { object-position:50% 50%; }
  .lmr15-flagship--about .lmr15-hero h1 { font-size:clamp(2.15rem,9vw,3.15rem); }
  .lmr181-about-opening { gap:36px;padding-block:70px; }
  .lmr181-about-opening__media { grid-template-columns:1fr 1fr;grid-template-rows:245px 150px; }
  .lmr181-about-opening__media .is-main { grid-row:1;grid-column:1/3; }
  .lmr181-about-split,
  .lmr181-about-industry { padding-block:72px; }
  .lmr181-about-split__grid,
  .lmr181-about-industry__grid { grid-template-columns:1fr;gap:34px; }
  .lmr181-about-split figure,
  .lmr181-about-split figure img,
  .lmr181-about-industry figure { min-height:0;height:340px; }
  .lmr181-about-industry__grid > figure { order:-1; }
  .lmr181-about-community { padding-block:72px; }
  .lmr181-about-community__links { grid-template-columns:1fr; }
  .lmr181-about-city { min-height:760px;align-items:end; }
  .lmr181-about-city__shade { background:linear-gradient(0deg,rgba(2,27,49,.97) 15%,rgba(2,27,49,.75) 67%,rgba(2,27,49,.32)); }
  .lmr181-about-city__copy { padding-block:180px 68px; }
  .lmr181-about-more { padding-block:72px 48px; }
  .lmr181-about-more__grid { grid-template-columns:1fr; }
  .lmr181-gallery-intro { grid-template-columns:1fr;gap:24px;padding-block:64px 34px; }
  .lmr181-gallery { grid-template-columns:1fr 1fr;grid-auto-rows:185px;gap:9px;padding-bottom:76px; }
  .lmr181-gallery figure,
  .lmr181-gallery figure.is-wide,
  .lmr181-gallery figure.is-tall { grid-column:span 1;grid-row:span 2; }
  .lmr181-gallery figure.is-wide { grid-column:1/3;grid-row:span 2; }
  .lmr181-gallery-routes { padding-block:64px; }
}

@media (max-width:430px) {
  .lmr181-about-opening__media { grid-template-rows:220px 125px;gap:8px; }
  .lmr181-about-opening__media figure { border-radius:16px; }
  .lmr181-about-opening p,
  .lmr181-about-split p,
  .lmr181-about-industry p,
  .lmr181-about-community p,
  .lmr181-about-city p,
  .lmr181-about-more p { font-size:.86rem;line-height:2.08; }
  .lmr181-about-split figure,
  .lmr181-about-split figure img,
  .lmr181-about-industry figure { height:285px; }
  .lmr181-about-city { min-height:820px; }
  .lmr181-gallery { grid-template-columns:1fr;grid-auto-rows:245px; }
  .lmr181-gallery figure,
  .lmr181-gallery figure.is-wide,
  .lmr181-gallery figure.is-tall { grid-column:1;grid-row:span 1; }
  .lmr181-gallery-routes__grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion:reduce) {
  .lmr181-about-opening__media img,
  .lmr181-gallery img,
  .lmr181-about-community__links a,
  .lmr181-about-more__grid a,
  .lmr181-gallery-routes__grid a { transition:none!important; }
}

/* ===== source: destination-pages.css ===== */
/**
 * RC18.2 — final long-form destination landings + internal footer spacing.
 * Local-only, no remote imports.
 */

:root {
  --lmr182-navy: #001d3e;
  --lmr182-navy-2: #00345f;
  --lmr182-gold: #d5b45c;
  --lmr182-ink: #17212b;
  --lmr182-muted: #667482;
  --lmr182-soft: #f5f7f8;
  --lmr182-line: rgba(0, 58, 113, .13);
  --lmr182-radius: 26px;
}

/* Final internal-footer breathing room: .container is homepage-defined in older
 * layers, so internal pages need their own safe inline width explicitly. */
body:not(.home) .lmr-footer-v6--internal > .container,
body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom > .container,
body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom .container {
  width: min(1280px, calc(100% - clamp(36px, 6vw, 80px)));
  margin-inline: auto;
}

body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__main {
  padding-inline: clamp(2px, .5vw, 8px);
}

body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__utility {
  padding-inline: clamp(2px, .5vw, 8px);
}

/* Shared RC18.2 type and controls. */
.lmr182-kicker {
  margin: 0 0 10px;
  color: var(--lmr182-gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .015em;
}

.lmr182-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--lmr182-navy-2);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
}

.lmr182-text-link span,
.lmr182-button span {
  transition: transform .18s ease;
}

.lmr182-text-link:hover span,
.lmr182-text-link:focus-visible span,
.lmr182-button:hover span,
.lmr182-button:focus-visible span {
  transform: translateX(-3px);
}

.lmr182-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 900;
}

.lmr182-button.is-primary {
  color: #10233a;
  background: #f0d27c;
}

.lmr182-button.is-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
}

.lmr182-button.is-outline {
  color: var(--lmr182-navy);
  border-color: rgba(0,58,113,.22);
  background: #fff;
}

.lmr182-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.lmr182-section-head h2,
.lmr182-prose-intro h2,
.lmr182-city-chapter h2,
.lmr182-city-university h2,
.lmr182-counseling-intro h2,
.lmr182-wellbeing-center h2,
.lmr182-first-session h2,
.lmr182-support-band h2,
.lmr182-daily-health h2,
.lmr182-closing-cta h2 {
  margin: 0;
  color: var(--lmr182-navy);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.42;
  font-weight: 950;
}

.lmr182-section-head > p,
.lmr182-prose-intro__body p,
.lmr182-city-chapter__copy > p,
.lmr182-city-university__copy > p,
.lmr182-counseling-intro__copy > p,
.lmr182-wellbeing-center p,
.lmr182-first-session__main > p,
.lmr182-support-band p,
.lmr182-daily-health p,
.lmr182-closing-cta p {
  margin: 0;
  color: var(--lmr182-muted);
  font-size: .88rem;
  line-height: 2.05;
}

/* --------------------------------------------------------------------------
 * About Lamerd
 * -------------------------------------------------------------------------- */
.lmr182-city-hero,
.lmr182-counseling-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(560px, 70vh, 760px);
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--lmr182-navy);
}

.lmr182-city-hero__media,
.lmr182-city-hero__veil,
.lmr182-counseling-hero__media,
.lmr182-counseling-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lmr182-city-hero__media,
.lmr182-counseling-hero__media {
  z-index: -3;
  object-fit: cover;
}

.lmr182-city-hero__media { object-position: center 48%; }
.lmr182-counseling-hero__media { object-position: center 52%; }

.lmr182-city-hero__veil,
.lmr182-counseling-hero__veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,18,39,.10) 0%, rgba(0,21,45,.34) 40%, rgba(0,19,42,.90) 100%),
    linear-gradient(90deg, rgba(0,20,43,.78) 0%, rgba(0,20,43,.24) 70%, rgba(0,20,43,.15) 100%);
}

.lmr182-city-hero__inner,
.lmr182-counseling-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(150px, 24vh, 240px) clamp(54px, 7vw, 84px);
}

.lmr182-city-hero__copy,
.lmr182-counseling-hero__copy {
  max-width: 760px;
}

.lmr182-city-hero .lamerd-breadcrumbs,
.lmr182-city-hero .lamerd-breadcrumbs a,
.lmr182-city-hero .lamerd-breadcrumbs span,
.lmr182-counseling-hero .lamerd-breadcrumbs,
.lmr182-counseling-hero .lamerd-breadcrumbs a,
.lmr182-counseling-hero .lamerd-breadcrumbs span {
  color: rgba(255,255,255,.76);
}

.lmr182-city-hero .lamerd-breadcrumbs,
.lmr182-counseling-hero .lamerd-breadcrumbs { margin-bottom: 22px; }

.lmr182-city-hero h1,
.lmr182-counseling-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 5.5vw, 4.65rem);
  line-height: 1.14;
  font-weight: 950;
}

.lmr182-city-hero__copy > p:not(.lmr182-kicker),
.lmr182-counseling-hero__copy > p:not(.lmr182-kicker) {
  max-width: 710px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(.88rem, 1.5vw, 1.02rem);
  line-height: 2;
}

.lmr182-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.lmr182-city-facts {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 64px);
  margin-top: -34px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(0,58,113,.10);
  border-radius: var(--lmr182-radius);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,29,62,.11);
}

.lmr182-city-facts__head h2 {
  margin: 0;
  color: var(--lmr182-navy);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.55;
}

.lmr182-city-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--lmr182-line);
  border-radius: 18px;
  overflow: hidden;
}

.lmr182-city-facts__grid article {
  min-height: 100px;
  padding: 18px;
  border-inline-end: 1px solid var(--lmr182-line);
  border-block-end: 1px solid var(--lmr182-line);
}

.lmr182-city-facts__grid article:nth-child(4n) { border-inline-end: 0; }
.lmr182-city-facts__grid article:nth-last-child(-n+3) { border-block-end: 0; }

.lmr182-city-facts__grid span,
.lmr182-city-facts__grid strong { display: block; }
.lmr182-city-facts__grid span { color: var(--lmr182-muted); font-size: .66rem; }
.lmr182-city-facts__grid strong { margin-top: 7px; color: var(--lmr182-navy); font-size: .82rem; line-height: 1.65; }

.lmr182-prose-intro {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 7vw, 96px);
  padding-block: clamp(80px, 10vw, 130px);
}

.lmr182-prose-intro__body { display: grid; gap: 18px; }

.lmr182-city-chapter {
  padding-block: clamp(70px, 9vw, 118px);
}

.lmr182-city-chapter.is-soft,
.lmr182-city-routes.is-soft,
.lmr182-visit-flow.is-soft,
.lmr182-health-updates.is-soft { background: linear-gradient(180deg, #f6f8f9, #f1f5f7); }

.lmr182-city-chapter.is-dark,
.lmr182-related-access.is-dark {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(213,180,92,.11), transparent 25%),
    linear-gradient(135deg, #001d3e 0%, #002b51 100%);
}

.lmr182-city-chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .94fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.lmr182-city-chapter__grid.is-reversed .lmr182-city-chapter__copy { order: 2; }
.lmr182-city-chapter__grid.is-reversed .lmr182-city-chapter__visual { order: 1; }

.lmr182-city-chapter__copy { max-width: 650px; }
.lmr182-city-chapter__copy > p + p { margin-top: 16px; }

.lmr182-city-chapter.is-dark h2 { color: #fff; }
.lmr182-city-chapter.is-dark .lmr182-city-chapter__copy > p { color: rgba(255,255,255,.72); }
.lmr182-city-chapter.is-dark .lmr182-text-link { color: #efd787; }

.lmr182-callout {
  margin: 26px 0 18px;
  padding: 20px 22px;
  border-inline-start: 3px solid var(--lmr182-gold);
  border-radius: 0 14px 14px 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,29,62,.06);
}

.lmr182-callout strong { display: block; color: var(--lmr182-navy); font-size: .83rem; }
.lmr182-callout p { margin: 7px 0 0; color: var(--lmr182-muted); font-size: .76rem; line-height: 2; }

.lmr182-city-chapter__visual {
  position: relative;
  margin: 0;
}

.lmr182-city-chapter__visual::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(213,180,92,.36);
  border-radius: 26px;
  content: "";
}

.lmr182-city-chapter__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
}

.lmr182-city-chapter__visual figcaption {
  margin-top: 12px;
  color: var(--lmr182-muted);
  font-size: .66rem;
}

.lmr182-city-chapter.is-dark .lmr182-city-chapter__visual figcaption { color: rgba(255,255,255,.55); }

.lmr182-city-university {
  display: grid;
  grid-template-columns: minmax(380px, .95fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: center;
  padding-block: clamp(86px, 11vw, 142px);
}

.lmr182-city-university__media {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,29,62,.14);
}

.lmr182-city-university__media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.lmr182-city-university__copy > p + p { margin-top: 14px; }

.lmr182-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

.lmr182-inline-links .lmr182-text-link { margin-top: 0; }

.lmr182-city-life {
  padding-block: clamp(70px, 9vw, 112px);
  border-block: 1px solid var(--lmr182-line);
  background: #fff;
}

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

.lmr182-life-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--lmr182-line);
  border-radius: 22px;
  background: #fff;
}

.lmr182-life-grid article > span,
.lmr182-concerns__grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(213,180,92,.45);
  border-radius: 50%;
  color: #99772c;
  font-size: .65rem;
  font-weight: 900;
}

.lmr182-life-grid h3,
.lmr182-student-checklist h3,
.lmr182-route-grid h3,
.lmr182-concerns h3,
.lmr182-visit-flow h3,
.lmr182-health-updates h3 {
  margin: 0;
  color: var(--lmr182-navy);
  font-size: 1rem;
  line-height: 1.6;
}

.lmr182-life-grid p,
.lmr182-student-checklist p,
.lmr182-route-grid p,
.lmr182-concerns p,
.lmr182-visit-flow p,
.lmr182-health-updates p {
  margin: 9px 0 0;
  color: var(--lmr182-muted);
  font-size: .76rem;
  line-height: 1.95;
}

.lmr182-student-checklist { padding-block: clamp(82px, 10vw, 126px); }

.lmr182-student-checklist__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--lmr182-line);
  border-radius: 24px;
  overflow: hidden;
}

.lmr182-student-checklist__grid a {
  min-height: 245px;
  padding: 24px;
  border-inline-end: 1px solid var(--lmr182-line);
  color: inherit;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.lmr182-student-checklist__grid a:last-child { border-inline-end: 0; }
.lmr182-student-checklist__grid a:hover,
.lmr182-student-checklist__grid a:focus-visible { background: #f6f8fa; }
.lmr182-student-checklist__grid a > span { color: var(--lmr182-gold); font-size: 1.5rem; font-weight: 950; }
.lmr182-student-checklist__grid h3 { margin-top: 44px; }

.lmr182-city-routes { padding-block: clamp(72px, 9vw, 112px); }
.lmr182-route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lmr182-route-grid a {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(0,58,113,.11);
  border-radius: 20px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,29,62,.045);
}
.lmr182-route-grid small { color: #977326; font-size: .64rem; font-weight: 900; }
.lmr182-route-grid h3 { margin-top: 34px; }
.lmr182-route-grid a > span { display: block; margin-top: 22px; color: var(--lmr182-navy-2); font-size: .72rem; font-weight: 900; }

.lmr182-closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-block: clamp(80px, 10vw, 126px) 20px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 26px;
  background: linear-gradient(135deg, #eef3f6, #f8f6ef);
}
.lmr182-closing-cta > div { max-width: 760px; }
.lmr182-closing-cta p { margin-top: 12px; }

/* --------------------------------------------------------------------------
 * Counseling + health
 * -------------------------------------------------------------------------- */
.lmr182-counseling-hero__veil {
  background:
    linear-gradient(180deg, rgba(0,21,42,.18) 0%, rgba(0,27,52,.45) 42%, rgba(0,24,47,.93) 100%),
    linear-gradient(90deg, rgba(0,31,61,.77) 0%, rgba(0,31,61,.25) 68%, rgba(0,31,61,.10) 100%);
}

.lmr182-counseling-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
  gap: clamp(46px, 8vw, 106px);
  align-items: center;
  padding-block: clamp(88px, 11vw, 140px);
}

.lmr182-counseling-intro__copy > p + p { margin-top: 15px; }

.lmr182-counseling-note {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid rgba(213,180,92,.28);
  border-radius: 17px;
  background: #fbf8ef;
}
.lmr182-counseling-note strong { color: #795b16; font-size: .82rem; }
.lmr182-counseling-note span { color: #6e6755; font-size: .74rem; line-height: 1.9; }

.lmr182-counseling-intro__visual { margin: 0; }
.lmr182-counseling-intro__visual img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 26px;
  box-shadow: 0 22px 54px rgba(0,29,62,.14);
}
.lmr182-counseling-intro__visual figcaption { margin-top: 12px; color: var(--lmr182-muted); font-size: .66rem; line-height: 1.8; }

.lmr182-wellbeing-center {
  padding-block: clamp(66px, 8vw, 100px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(213,180,92,.14), transparent 27%),
    linear-gradient(135deg, #001d3e, #00345f);
}

.lmr182-wellbeing-center__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .85fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}
.lmr182-wellbeing-center h2 { color: #fff; }
.lmr182-wellbeing-center p { color: rgba(255,255,255,.70); }
.lmr182-wellbeing-center__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.13); border-radius: 22px; overflow: hidden; }
.lmr182-wellbeing-center__stats article { min-height: 150px; padding: 22px; border-inline-end: 1px solid rgba(255,255,255,.13); }
.lmr182-wellbeing-center__stats article:last-child { border-inline-end: 0; }
.lmr182-wellbeing-center__stats strong,
.lmr182-wellbeing-center__stats span { display: block; }
.lmr182-wellbeing-center__stats strong { color: #f0d27c; font-size: 1.35rem; }
.lmr182-wellbeing-center__stats span { margin-top: 34px; color: rgba(255,255,255,.68); font-size: .67rem; line-height: 1.7; }

.lmr182-concerns { padding-block: clamp(86px, 10vw, 132px); scroll-margin-top: 130px; }
.lmr182-concerns__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lmr182-concerns__grid article { min-height: 260px; padding: 24px; border: 1px solid var(--lmr182-line); border-radius: 20px; background: #fff; }
.lmr182-concerns__grid article:nth-child(7) { grid-column: span 2; }

.lmr182-visit-flow { padding-block: clamp(72px, 9vw, 112px); }
.lmr182-visit-flow__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lmr182-visit-flow__grid article { min-height: 220px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(0,29,62,.05); }
.lmr182-visit-flow__grid article > span { display: block; margin-bottom: 34px; color: var(--lmr182-gold); font-size: 1.65rem; font-weight: 950; }
.lmr182-visit-flow__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.lmr182-first-session {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: clamp(40px, 7vw, 84px);
  align-items: start;
  padding-block: clamp(82px, 10vw, 128px);
}
.lmr182-first-session__main > p + p { margin-top: 14px; }
.lmr182-privacy-card { padding: clamp(28px, 4vw, 38px); border-radius: 24px; color: #fff; background: #00345f; box-shadow: 0 20px 50px rgba(0,29,62,.13); }
.lmr182-privacy-card > span { color: #efd787; font-size: .66rem; font-weight: 900; }
.lmr182-privacy-card h3 { margin: 22px 0 10px; color: #fff; font-size: 1.18rem; line-height: 1.6; }
.lmr182-privacy-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .77rem; line-height: 2; }

.lmr182-support-band { padding-block: clamp(68px, 8vw, 100px); background: #f4f7f8; }
.lmr182-support-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: clamp(36px, 6vw, 70px); align-items: center; }
.lmr182-urgent-card { padding: 26px 28px; border: 1px solid rgba(180,35,24,.14); border-radius: 20px; background: #fff; }
.lmr182-urgent-card strong { color: #9e2d25; font-size: .78rem; }
.lmr182-urgent-card p { margin-top: 8px; color: #6e5b59; font-size: .75rem; }

.lmr182-daily-health { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 86px); align-items: center; padding-block: clamp(82px, 10vw, 128px); }
.lmr182-daily-health__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lmr182-daily-health__chips span { padding: 11px 15px; border: 1px solid var(--lmr182-line); border-radius: 999px; color: var(--lmr182-navy); background: #fff; font-size: .71rem; font-weight: 800; }

.lmr182-health-updates { padding-block: clamp(72px, 9vw, 112px); }
.lmr182-health-updates__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lmr182-health-updates__grid a { min-height: 250px; padding: 26px; border: 1px solid var(--lmr182-line); border-radius: 20px; color: inherit; background: #fff; text-decoration: none; }
.lmr182-health-updates__grid small { color: #987428; font-size: .64rem; font-weight: 900; }
.lmr182-health-updates__grid h3 { margin-top: 28px; }
.lmr182-health-updates__grid a > span { display: block; margin-top: 18px; color: var(--lmr182-navy-2); font-size: .7rem; font-weight: 900; }

.lmr182-faq { padding-block: clamp(82px, 10vw, 126px); }
.lmr182-faq__list { max-width: 930px; margin-inline: auto; border-block-start: 1px solid var(--lmr182-line); }
.lmr182-faq details { border-block-end: 1px solid var(--lmr182-line); }
.lmr182-faq summary { position: relative; padding: 22px 42px 22px 0; cursor: pointer; color: var(--lmr182-navy); font-size: .86rem; font-weight: 900; list-style: none; }
.lmr182-faq summary::-webkit-details-marker { display: none; }
.lmr182-faq summary::after { position: absolute; inset-inline-end: 0; top: 20px; content: "+"; color: #9b782d; font-size: 1.25rem; font-weight: 500; }
.lmr182-faq details[open] summary::after { content: "−"; }
.lmr182-faq details p { max-width: 780px; margin: 0 0 22px; color: var(--lmr182-muted); font-size: .77rem; line-height: 2; }

.lmr182-related-access { padding-block: clamp(68px, 8vw, 102px); }
.lmr182-related-access .lmr182-section-head h2 { color: #fff; }
.lmr182-related-access .lmr182-section-head > p { color: rgba(255,255,255,.65); }
.lmr182-related-access__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.13); border-radius: 22px; overflow: hidden; }
.lmr182-related-access__grid a { min-height: 170px; padding: 22px; border-inline-end: 1px solid rgba(255,255,255,.13); color: #fff; text-decoration: none; }
.lmr182-related-access__grid a:last-child { border-inline-end: 0; }
.lmr182-related-access__grid strong,
.lmr182-related-access__grid span { display: block; }
.lmr182-related-access__grid strong { font-size: .8rem; }
.lmr182-related-access__grid span { margin-top: 34px; color: rgba(255,255,255,.58); font-size: .66rem; line-height: 1.8; }

.lmr182-closing-cta.is-counseling { background: linear-gradient(135deg, #f3f6f8, #fbf8ef); }

/* --------------------------------------------------------------------------
 * Responsive
 * -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .lmr182-city-facts { grid-template-columns: 1fr; }
  .lmr182-city-facts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lmr182-city-facts__grid article:nth-child(4n) { border-inline-end: 1px solid var(--lmr182-line); }
  .lmr182-city-facts__grid article:nth-child(3n) { border-inline-end: 0; }
  .lmr182-city-facts__grid article:nth-last-child(-n+3) { border-block-end: 1px solid var(--lmr182-line); }
  .lmr182-city-facts__grid article:last-child { border-block-end: 0; }
  .lmr182-city-chapter__grid,
  .lmr182-city-university,
  .lmr182-counseling-intro,
  .lmr182-wellbeing-center__grid,
  .lmr182-first-session,
  .lmr182-support-band__grid,
  .lmr182-daily-health { grid-template-columns: 1fr 1fr; gap: 40px; }
  .lmr182-student-checklist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lmr182-student-checklist__grid a { border-block-end: 1px solid var(--lmr182-line); }
  .lmr182-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lmr182-concerns__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lmr182-concerns__grid article:nth-child(7) { grid-column: auto; }
  .lmr182-related-access__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lmr182-related-access__grid a { border-block-end: 1px solid rgba(255,255,255,.13); }
}

@media (max-width: 820px) {
  .lmr182-section-head,
  .lmr182-prose-intro,
  .lmr182-city-chapter__grid,
  .lmr182-city-university,
  .lmr182-counseling-intro,
  .lmr182-wellbeing-center__grid,
  .lmr182-first-session,
  .lmr182-support-band__grid,
  .lmr182-daily-health,
  .lmr182-closing-cta { grid-template-columns: 1fr; }
  .lmr182-city-chapter__grid.is-reversed .lmr182-city-chapter__copy,
  .lmr182-city-chapter__grid.is-reversed .lmr182-city-chapter__visual { order: initial; }
  .lmr182-city-facts { margin-top: -18px; }
  .lmr182-city-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lmr182-city-facts__grid article:nth-child(3n) { border-inline-end: 1px solid var(--lmr182-line); }
  .lmr182-city-facts__grid article:nth-child(2n) { border-inline-end: 0; }
  .lmr182-life-grid,
  .lmr182-visit-flow__grid,
  .lmr182-health-updates__grid { grid-template-columns: 1fr; }
  .lmr182-student-checklist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lmr182-concerns__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lmr182-related-access__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lmr182-closing-cta .lmr182-button { justify-self: start; }
  .lmr182-wellbeing-center__stats { max-width: 620px; }
}

@media (max-width: 560px) {
  body:not(.home) .lmr-footer-v6--internal > .container,
  body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom > .container,
  body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom .container {
    width: calc(100% - 28px);
  }

  .lmr182-city-hero,
  .lmr182-counseling-hero { min-height: 610px; }
  .lmr182-city-hero__inner,
  .lmr182-counseling-hero__inner { padding-block: 150px 48px; }
  .lmr182-city-hero h1,
  .lmr182-counseling-hero h1 { font-size: clamp(2.15rem, 13vw, 3.25rem); }
  .lmr182-hero-actions { display: grid; grid-template-columns: 1fr; }
  .lmr182-button { width: 100%; }
  .lmr182-city-facts { width: calc(100% - 28px); padding: 22px; }
  .lmr182-city-facts__grid { grid-template-columns: 1fr; }
  .lmr182-city-facts__grid article,
  .lmr182-city-facts__grid article:nth-child(2n),
  .lmr182-city-facts__grid article:nth-child(3n),
  .lmr182-city-facts__grid article:nth-child(4n) { min-height: 82px; border-inline-end: 0; border-block-end: 1px solid var(--lmr182-line); }
  .lmr182-city-facts__grid article:last-child { border-block-end: 0; }
  .lmr182-city-chapter__visual::before { display: none; }
  .lmr182-student-checklist__grid,
  .lmr182-route-grid,
  .lmr182-concerns__grid,
  .lmr182-related-access__grid { grid-template-columns: 1fr; }
  .lmr182-student-checklist__grid a,
  .lmr182-related-access__grid a { min-height: 170px; border-inline-end: 0; }
  .lmr182-student-checklist__grid h3 { margin-top: 28px; }
  .lmr182-wellbeing-center__stats { grid-template-columns: 1fr; }
  .lmr182-wellbeing-center__stats article { min-height: 100px; border-inline-end: 0; border-block-end: 1px solid rgba(255,255,255,.13); }
  .lmr182-wellbeing-center__stats article:last-child { border-block-end: 0; }
  .lmr182-wellbeing-center__stats span { margin-top: 10px; }
  .lmr182-counseling-intro__visual img { max-height: 430px; }
  .lmr182-section-head { margin-bottom: 26px; }
  .lmr182-inline-links { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .lmr182-text-link span,
  .lmr182-button span,
  .lmr182-student-checklist__grid a { transition: none; }
}

/* ===== source: launch-fixes.css ===== */
/**
 * RC18.3 — unified unveiling fixes.
 * Scope: internal footer gutter, launch service cleanup layout, menu-safe details.
 * No external imports.
 */

/* Internal footer must keep a real content gutter independent of homepage .container vars. */
body:not(.home) .lmr-footer-v6--internal > .container,
body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom > .container,
body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom .container {
  width: 100% !important;
  max-width: 1380px !important;
  margin-inline: auto !important;
  padding-inline: clamp(30px, 5vw, 72px) !important;
  box-sizing: border-box !important;
}

body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__main,
body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__utility {
  box-sizing: border-box;
}

/* Keep utility/trust items away from viewport edges even when old container vars are absent. */
body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__utility {
  min-height: 96px;
}

/* Service portal stays visually balanced when placeholder services are suppressed. */
.lmr15-service-summary.is-systems-only {
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
}
.lmr15-service-summary.is-systems-only .lmr15-service-summary__hint {
  grid-column: auto;
}

/* Program metric grid after hiding an unavailable zero-lab metric. */
.lmr-academic-metrics.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .lmr15-service-summary.is-systems-only {
    grid-template-columns: minmax(130px, 160px) minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  body:not(.home) .lmr-footer-v6--internal > .container,
  body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom > .container,
  body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom .container {
    padding-inline: 20px !important;
  }
  .lmr15-service-summary.is-systems-only,
  .lmr-academic-metrics.is-two {
    grid-template-columns: 1fr;
  }
  .lmr15-service-summary.is-systems-only .lmr15-service-summary__hint {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  body:not(.home) .lmr-footer-v6--internal > .container,
  body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom > .container,
  body:not(.home) .lmr-footer-v6--internal .lmr-footer-v6__bottom .container {
    padding-inline: 16px !important;
  }
}

/* ===== source: critical-fixes.css ===== */
/**
 * RC18.4-A — launch-critical visual correction.
 * No flagship landing redesign lives here; only contrast, internal hero
 * proportions and the approved homepage student-life image treatment.
 */

/* =========================================================
   1) Editorial/archive dark-surface contrast guard
   ========================================================= */
body:not(.home) :is(
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lamerd-archive-hero,
  .lamerd-single-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lmr12-tool-hero
) :is(h1,h2,h3) {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0,22,44,.18);
}

body:not(.home) :is(
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lamerd-archive-hero,
  .lamerd-single-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lmr12-tool-hero
) :is(.lamerd-eyebrow,.lmr11-eyebrow,.lmr16-kicker) {
  color: #e1bd58 !important;
}

.lmr11-single-hero h1 {
  max-width: 920px;
  font-size: clamp(1.75rem, 3.15vw, 3rem) !important;
  line-height: 1.45 !important;
  letter-spacing: -.02em !important;
}

.lmr11-archive-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.35rem) !important;
  line-height: 1.32;
}

/* =========================================================
   2) RC16 internal landing hero — image becomes a framed visual,
      not a full-page photographic background.
   ========================================================= */
.lmr16-hero {
  min-height: 470px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 18%, rgba(214,176,78,.11), transparent 26%),
    linear-gradient(135deg, #031f39 0%, #07375e 100%);
}

.lmr16-hero__media {
  z-index: -1;
  inset: 50% auto auto 4.5%;
  width: min(39vw, 560px);
  height: min(330px, 72%);
  transform: translateY(-50%);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0,14,31,.33);
  opacity: .94;
}

.lmr16-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,31,57,.04) 0 42%, rgba(3,31,57,.60) 57%, rgba(3,31,57,.96) 100%);
}

.lmr16-hero__inner {
  padding-block: 92px 72px;
}

.lmr16-hero__copy {
  width: min(58%, 700px);
  max-width: 700px;
  margin-inline-start: auto;
}

.lmr16-hero h1 {
  max-width: 690px;
  color: #fff !important;
  font-size: clamp(2.05rem, 3.55vw, 3.75rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: pretty;
}

.lmr16-hero__lead {
  max-width: 650px;
  margin-top: 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.95;
}

.lmr16-hero .lamerd-breadcrumbs,
.lmr16-hero .lamerd-breadcrumbs a,
.lmr16-hero .lamerd-breadcrumbs span {
  color: rgba(255,255,255,.78) !important;
}

/* Prevent the metric rail from looking attached to a giant photo hero. */
.lmr16-metrics {
  margin-top: -28px;
}

/* =========================================================
   3) Homepage — restore the approved section name and tighten image crop.
   ========================================================= */
.home.v24 #life .life-media::after {
  background: linear-gradient(
    180deg,
    rgba(2,30,52,.02) 18%,
    rgba(2,30,52,.07) 44%,
    rgba(255,255,255,.58) 69%,
    #fff 100%
  );
}

.home.v24 #life .life-card.main .life-media img { object-position: 50% 50%; }
.home.v24 #life .life-card.classroom .life-media img { object-position: 50% 52%; }
.home.v24 #life .life-card.facilities .life-media img { object-position: 50% 56%; }
.home.v24 #life .life-card.sport .life-media img { object-position: 50% 42%; }

.home.v24 #life .life-card {
  border-color: rgba(5,57,92,.12);
  box-shadow: 0 18px 46px rgba(0,29,62,.085);
}

.home.v24 #life .life-content h3 {
  color: #052b4b;
  font-weight: 900;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .lmr16-hero { min-height: 430px; }
  .lmr16-hero__media {
    left: 28px;
    width: 38vw;
    height: 270px;
    border-radius: 24px;
  }
  .lmr16-hero__copy { width: 60%; }
  .lmr16-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
}

@media (max-width: 760px) {
  .lmr16-hero {
    min-height: 0;
    display: block;
    padding-top: 0;
  }
  .lmr16-hero__media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: calc(100% - 36px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 22px 18px 0;
    transform: none;
    border-radius: 20px;
  }
  .lmr16-hero__shade { display: none; }
  .lmr16-hero__inner { padding-block: 28px 54px; }
  .lmr16-hero__copy { width: 100%; max-width: none; }
  .lmr16-hero h1 {
    max-width: 18ch;
    font-size: clamp(1.75rem, 8.4vw, 2.45rem);
    line-height: 1.35;
  }
  .lmr16-hero__lead { font-size: .9rem; line-height: 1.9; }
  .lmr16-hero__actions { margin-top: 22px; }
  .lmr16-metrics { margin-top: -20px; }

  .lmr11-single-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2.15rem) !important;
    line-height: 1.55 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home.v24 #life .life-card .life-media img { transition: none !important; }
}

/* ===== source: release-polish.css ===== */
/**
 * RC1.2 launch polish.
 * Final narrowly-scoped corrections only; no redesign and no new dependency.
 */

/* Dark heroes must always keep navigation and headings readable. */
body:not(.home) :is(
  .lamerd-profile-hero,
  .lamerd-page-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr12-tool-hero,
  .lmr13-comm-hero,
  .lmr15-hero,
  .lmr16-hero,
  .lmr184b-hero
) .lamerd-breadcrumbs,
body:not(.home) :is(
  .lamerd-profile-hero,
  .lamerd-page-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr12-tool-hero,
  .lmr13-comm-hero,
  .lmr15-hero,
  .lmr16-hero,
  .lmr184b-hero
) .lamerd-breadcrumbs :is(a,span,[aria-current="page"]) {
  color: rgba(255,255,255,.82) !important;
}

body:not(.home) :is(
  .lamerd-profile-hero,
  .lamerd-page-hero,
  .lmr-academic-hero,
  .lmr-academic-detail-hero,
  .lmr11-archive-hero,
  .lmr11-single-hero,
  .lmr12-tool-hero,
  .lmr13-comm-hero,
  .lmr15-hero,
  .lmr16-hero,
  .lmr184b-hero
) .lamerd-breadcrumbs li:not(:last-child)::after {
  color: rgba(255,255,255,.48) !important;
}

body:not(.home) :is(
  .lamerd-profile-hero,
  .lmr13-comm-hero,
  .lmr15-hero,
  .lmr16-hero,
  .lmr184b-hero
) h1 {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0,18,38,.18);
}

/* Faculty profile: compact, calm secondary navigation and robust fact rail. */
.lmr-academic-profile .lamerd-profile-facts {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.lmr-academic-profile .lamerd-profile-facts article {
  border-bottom: 0;
}

.lmr-academic-profile .lamerd-profile-nav .lamerd-shell {
  min-height: 52px;
  align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
}

.lmr-academic-profile .lamerd-profile-nav a {
  padding-block: 13px;
}

.lmr-academic-profile .lamerd-profile-layout {
  padding-top: clamp(34px, 4.5vw, 48px);
}

.lmr-academic-profile .lamerd-peer-list__photo {
  color: transparent !important;
  background-color: #eaf1f5;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* RC16 split hero: reserve a real visual lane so long headings never sit on the photo. */
@media (min-width: 981px) {
  .lmr16-hero__copy {
    width: min(50%, 590px) !important;
    max-width: 590px !important;
  }

  .lmr16-hero h1 {
    max-width: 11.5ch !important;
    font-size: clamp(2rem, 3.25vw, 3.35rem) !important;
    line-height: 1.3 !important;
  }

  .lmr16-hero__media {
    width: min(41vw, 540px) !important;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .lmr16-hero__copy {
    width: 54% !important;
    max-width: 520px !important;
  }

  .lmr16-hero h1 {
    max-width: 11ch !important;
    font-size: clamp(1.9rem, 4vw, 2.75rem) !important;
  }

  .lmr16-hero__media {
    width: 36vw !important;
    left: 22px !important;
  }
}

/* The update line is metadata, not a standalone visual section. */
.lamerd-page-updated {
  margin: 18px 0 24px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  color: #758395 !important;
  font-size: .68rem !important;
  line-height: 1.8 !important;
}

.lmr16-updated,
.lmr184b-updated,
.lmr13-comm-updated {
  padding-block: 10px 22px !important;
}

.lmr16-updated .lamerd-page-updated,
.lmr184b-updated .lamerd-page-updated,
.lmr13-comm-updated .lamerd-page-updated,
.lmr-academic-page > .lamerd-shell > .lamerd-page-updated {
  margin-block: 0 !important;
}

/* Homepage city heading remains legible on the approved photo composition. */
.home.v24 #lamerd .lamerd-showcase-heading .unified-kicker {
  text-shadow: 0 2px 12px rgba(0,18,38,.72);
}

.home.v24 #lamerd .lamerd-showcase-heading h2 {
  text-shadow: 0 3px 22px rgba(0,18,38,.82), 0 1px 2px rgba(0,18,38,.65);
}

@media (max-width: 760px) {
  .lmr-academic-profile .lamerd-profile-facts {
    grid-template-columns: 1fr !important;
  }

  .lmr-academic-profile .lamerd-profile-facts article {
    border-inline-end: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }

  .lmr-academic-profile .lamerd-profile-facts article:last-child {
    border-bottom: 0 !important;
  }

  .lmr-academic-profile .lamerd-profile-layout {
    padding-top: 30px;
  }
}


/* RC1.5 — Persian internal landing geometry.
 * Logical start/end was previously used as if the document were LTR; in RTL
 * this pushed the copy toward the same (left) side as the framed image and
 * caused the research/laboratory hero overlap seen on staging. */
@media (min-width: 761px) {
  html[dir="rtl"] body.lmr16-landing .lmr16-hero__copy,
  html[dir="rtl"] body.lmr-page-family-landing .lmr16-hero__copy {
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  html[dir="rtl"] body.lmr16-landing .lmr16-hero__media,
  html[dir="rtl"] body.lmr-page-family-landing .lmr16-hero__media {
    left: clamp(18px, 3vw, 30px) !important;
    width: min(41vw, 390px) !important;
    height: clamp(238px, 31vw, 292px) !important;
  }

  html[dir="rtl"] body.lmr16-landing .lmr16-hero__copy,
  html[dir="rtl"] body.lmr-page-family-landing .lmr16-hero__copy {
    width: min(49%, 470px) !important;
    max-width: 470px !important;
  }

  html[dir="rtl"] body.lmr16-landing .lmr16-hero h1,
  html[dir="rtl"] body.lmr-page-family-landing .lmr16-hero h1 {
    max-width: 11ch !important;
    font-size: clamp(1.72rem, 3.65vw, 2.48rem) !important;
    line-height: 1.34 !important;
  }
}


/* RC1.7 stabilization: internal pages share a compact, production-safe finish. */
.lmr-academic-profile .lamerd-profile-nav {
  top: 0 !important;
}
.admin-bar .lmr-academic-profile .lamerd-profile-nav {
  top: 32px !important;
}

/* RC1.8: keep page freshness visible without turning it into a section.
 * The metadata sits in the normal content flow with no artificial white band. */
.lmr16-updated,
.lmr184b-updated,
.lmr13-comm-updated,
.lmr15-updated,
.lmr-person-updated,
.lmr-system-content-updated {
  display: flex !important;
  align-items: center;
  min-height: 0 !important;
  padding-block: 14px 18px !important;
}

:is(.lmr16-updated,.lmr184b-updated,.lmr13-comm-updated,.lmr15-updated,.lmr-person-updated,.lmr-system-content-updated) .lamerd-page-updated {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #748392 !important;
  font-size: .68rem !important;
  line-height: 1.8 !important;
}

:is(.lmr16-updated,.lmr184b-updated,.lmr13-comm-updated,.lmr15-updated,.lmr-person-updated,.lmr-system-content-updated) .lamerd-page-updated::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c99a28;
}

.lmr-person-president-contact {
  margin-top: clamp(34px,5vw,64px);
  padding-block: clamp(42px,6vw,70px);
  background: #f4f7f9;
  border-block: 1px solid #e1e8ed;
}
.lmr-person-president-contact header { max-width: 760px; margin-bottom: 24px; }
.lmr-person-president-contact header h2 { margin: 4px 0 8px; color: #082b49; font-size: clamp(1.55rem,3vw,2.25rem); }
.lmr-person-president-contact header > p:last-child { margin: 0; color: #607482; line-height: 1.95; }

/* Area-based related updates on education/research/student landings. */
.lmr17-area-updates {
  background: #f4f7f9;
}
.lmr17-area-updates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.lmr17-area-updates__grid > a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #dce6ec;
  border-radius: 20px;
  background: #fff;
  color: #082b49;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(4,43,75,.04);
}
.lmr17-area-updates__media {
  display: block;
  height: 150px;
  margin: -8px -8px 14px;
  overflow: hidden;
  border-radius: 14px;
  background: #e9eff3;
}
.lmr17-area-updates__media img { width:100%; height:100%; object-fit:cover; display:block; }
.lmr17-area-updates__meta { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#738493; font-size:.68rem; }
.lmr17-area-updates__meta b { color:#b88716; font-weight:850; }
.lmr17-area-updates__grid h3 { margin:11px 0 0; font-size:.94rem; line-height:1.8; color:#082b49; }
.lmr17-area-updates__more { margin-top:auto; padding-top:16px; color:#0b5c8e; font-size:.72rem; font-weight:800; }

/* Welfare/cultural gallery: deterministic rows instead of oversized masonry
 * that produced orphaned/tall cards on common laptop widths. */
.lmr181-gallery {
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  grid-auto-rows: 250px !important;
  align-items: stretch;
}
.lmr181-gallery figure,
.lmr181-gallery figure.is-wide,
.lmr181-gallery figure.is-tall {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  min-height: 0 !important;
}
.lmr181-gallery figure.is-wide { grid-column: span 2 !important; }

@media (max-width: 782px) {
  .admin-bar .lmr-academic-profile .lamerd-profile-nav { top: 46px !important; }
}
@media (max-width: 900px) {
  .lmr17-area-updates__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lmr181-gallery { grid-template-columns: repeat(2,minmax(0,1fr)) !important; grid-auto-rows: 220px !important; }
  .lmr181-gallery figure.is-wide { grid-column: span 2 !important; }
}
@media (max-width: 560px) {
  .lmr17-area-updates__grid { grid-template-columns: 1fr; }
  .lmr181-gallery { grid-template-columns: 1fr !important; grid-auto-rows: 235px !important; }
  .lmr181-gallery figure,
  .lmr181-gallery figure.is-wide,
  .lmr181-gallery figure.is-tall { grid-column: 1 !important; }
}

/* =========================================================
   RC1.12 — UI freeze polish before technical QA.
   No redesign: only verified-content guards, focus treatment and stable
   card rhythm for the shared internal families.
   ========================================================= */

/* Related landing updates should remain calm even with long Persian titles. */
.lmr17-area-updates__grid > a {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.lmr17-area-updates__grid h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: 5.4em;
}
.lmr17-area-updates__grid > a:hover {
  border-color: #c8d8e3;
  box-shadow: 0 16px 38px rgba(4,43,75,.075);
  transform: translateY(-2px);
}
.lmr17-area-updates__grid > a:focus-visible,
.lmr184b-service-tools a:focus-visible,
.lmr184b-closing-links a:focus-visible,
.lmr-person-president-contact .lmr13-form-submit button:focus-visible {
  outline: 3px solid rgba(18,103,158,.28);
  outline-offset: 3px;
}

/* President communication stays part of the page, not a browser-default form. */
.lmr184b-president-message > .lamerd-shell > .lmr13-form-section {
  margin-top: clamp(24px, 3.5vw, 38px);
}
.lmr-person-president-contact .lmr13-form-card input::placeholder,
.lmr-person-president-contact .lmr13-form-card textarea::placeholder {
  color: #8a99a7;
  opacity: 1;
}

/* Avoid empty-looking media rows when a related item has no image. */
.lmr17-area-updates__grid > a:not(:has(.lmr17-area-updates__media)) {
  min-height: 245px;
}

@media (max-width: 560px) {
  .lmr17-area-updates__grid h3 {
    min-height: 0;
    -webkit-line-clamp: 4;
  }
  .lmr17-area-updates__grid > a:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lmr17-area-updates__grid > a { transition: none; }
}

/* ===== source: responsive-stabilization.css ===== */
/**
 * RC1.9 — final responsive / Mobile-First stabilization layer.
 * Loaded last so it can repair layout edge cases without redesigning approved pages.
 */

/* Universal overflow safety. */
html { overflow-x: clip; }
body { min-width: 0; overflow-x: clip; }
:where(.lamerd-main,.lamerd-shell,.lmr-person-shell,.lamerd-entry-content,.entry-content,main,article,section,aside,nav,header,footer) { min-width: 0; }
:where(.lamerd-main,.lamerd-entry-content,.entry-content) :is(img,video,canvas,svg,iframe) { max-width: 100%; }
:where(.lamerd-main,.lamerd-entry-content,.entry-content) img { height: auto; }
:where(.lamerd-main,.lamerd-entry-content,.entry-content) :is(input,select,textarea,button) { max-width: 100%; box-sizing: border-box; }

/* Long editor tables scroll locally rather than forcing the whole page wider. */
@media (max-width: 820px) {
  :where(.lamerd-entry-content,.entry-content) table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  :where(.lamerd-entry-content,.entry-content) pre {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Tablet: remove split layouts before they become cramped. */
@media (max-width: 980px) {
  .lmr-launch-person .lmr-person-hero__grid,
  .lmr-launch-person .lmr-person-layout {
    grid-template-columns: 1fr;
  }

  .lmr-launch-person .lmr-person-portrait {
    justify-self: start;
  }

  .lmr-launch-person .lmr-person-facts {
    position: static;
  }

  .lmr-academic-profile .lamerd-profile-layout,
  .lmr-academic-single .lamerd-single-layout,
  .lmr-academic-detail-layout {
    grid-template-columns: 1fr;
  }

  .lmr-academic-profile .lamerd-profile-sidebar,
  .lmr-academic-single .lamerd-single-sidebar {
    position: static;
  }
}

/* Phones / small tablets. */
@media (max-width: 760px) {
  :root { --lmr-mobile-gutter: 15px; }

  body.lmr-internal-template-system .lamerd-shell,
  .lmr-launch-person .lmr-person-shell,
  .lmr-academic-page .lamerd-shell,
  .lamerd-rc13-communication .lmr13-comm-shell,
  .lmr16-main .lamerd-shell,
  body.lmr184b .lamerd-shell {
    width: calc(100% - (var(--lmr-mobile-gutter) * 2));
    max-width: 100%;
    margin-inline: auto;
  }

  /* Breadcrumbs: wrap instead of fading into or escaping dark heroes. */
  body.lmr-internal-template-system .lamerd-breadcrumbs,
  .lmr-person-breadcrumb,
  .lmr-academic-page .lamerd-breadcrumbs {
    max-width: 100%;
    overflow: visible;
  }

  body.lmr-internal-template-system .lamerd-breadcrumbs ol,
  .lmr-person-breadcrumb,
  .lmr-academic-page .lamerd-breadcrumbs ol {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 5px;
  }

  /* Family nav / academic profile tabs remain usable without covering content. */
  body.lmr-internal-template-system .lamerd-page-family-nav,
  .lmr-academic-profile .lamerd-profile-nav {
    position: static !important;
    top: auto !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.lmr-internal-template-system .lamerd-page-family-nav ul,
  .lmr-academic-profile .lamerd-profile-nav ul {
    width: max-content;
    min-width: 100%;
  }

  /* Organisational people. */
  .lmr-launch-person .lmr-person-hero__inner {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .lmr-launch-person .lmr-person-breadcrumb {
    margin-bottom: 24px;
  }

  .lmr-launch-person .lmr-person-hero__grid {
    gap: 28px;
  }

  .lmr-launch-person .lmr-person-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 9.2vw, 2.7rem);
    line-height: 1.38;
  }

  .lmr-launch-person .lmr-person-role {
    font-size: .9rem;
    line-height: 1.9;
  }

  .lmr-launch-person .lmr-person-portrait__ring {
    width: min(220px, 64vw);
  }

  .lmr-launch-person .lmr-person-layout {
    gap: 26px;
    padding-top: 42px;
    padding-bottom: 62px;
  }

  .lmr-launch-person .lmr-person-highlight {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .lmr-launch-person .lmr-person-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lmr-launch-person .lmr-person-actions a {
    min-height: 46px;
    width: 100%;
  }

  /* President contact form: CSS is now part of this profile; force narrow form geometry. */
  .lmr-person-president-contact .lmr13-form-section {
    width: 100%;
    grid-template-columns: 1fr;
    margin-bottom: 56px;
    padding: 20px;
    border-radius: 20px;
  }

  .lmr-person-president-contact .lmr13-form-aside {
    position: static;
  }

  .lmr-person-president-contact .lmr13-form-grid {
    grid-template-columns: 1fr;
  }

  .lmr-person-president-contact .lmr13-form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .lmr-person-president-contact .lmr13-form-submit button {
    width: 100%;
  }

  /* Landing heroes: prevent title/media collisions around 600–760px. */
  body.lmr-page-family-landing .lmr16-hero {
    min-height: 560px;
  }

  body.lmr-page-family-landing .lmr16-hero__inner {
    padding-block: 220px 42px;
  }

  body.lmr-page-family-landing .lmr16-hero h1 {
    max-width: 16ch;
    font-size: clamp(1.9rem, 9vw, 2.85rem);
    line-height: 1.35;
  }

  /* Academic content and filters. */
  .lmr-academic-filter,
  .lmr-academic-filter--research,
  .lmr-academic-filter--labs {
    grid-template-columns: 1fr !important;
  }

  .lmr-academic-filter__search {
    grid-column: auto !important;
  }

  .lmr-academic-filter :is(button,.lmr-academic-filter__reset) {
    min-height: 44px;
    width: 100%;
  }

  /* Generic buttons and interactive cards remain comfortable to tap. */
  :where(.lamerd-main) a[class*="button"],
  :where(.lamerd-main) button:not([aria-label]) {
    min-height: 44px;
  }

  /* System/service cards do not hold desktop min widths. */
  .lmr151-system-grid,
  .lmr184b-service-tools,
  .lmr12-tool-grid,
  .lmr12-service-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contact / communication page. */
  .lamerd-rc13-communication .lmr13-contact-grid,
  .lamerd-rc13-communication .lmr13-form-grid,
  .lamerd-rc13-communication .lmr13-process ol,
  .lamerd-rc13-communication .lmr13-route-strip {
    grid-template-columns: 1fr;
  }

  .lamerd-rc13-communication .lmr13-form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .lamerd-rc13-communication .lmr13-form-submit button {
    width: 100%;
  }

  /* Long URLs and email addresses must wrap instead of widening cards. */
  :where(.lamerd-main) :is(a,p,li,dd,td,th) {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  :root { --lmr-mobile-gutter: 12px; }

  /* Keep card radii dignified but not oversized on very narrow phones. */
  :where(.lamerd-main) :is(.lamerd-card,.lamerd-info-card,.lmr13-form-card,.lmr184b-closing,.lmr-person-highlight) {
    border-radius: 16px;
  }

  .lmr-launch-person .lmr-person-portrait__ring {
    width: min(190px, 62vw);
    padding: 8px;
  }

  .lmr-launch-person .lmr-person-main {
    font-size: .93rem;
    line-height: 2.05;
  }

  .lmr-academic-profile .lamerd-profile-nav a,
  body.lmr-internal-template-system .lamerd-page-family-nav a {
    min-height: 42px;
    padding-inline: 12px;
  }

  body.lmr-page-family-landing .lmr16-hero {
    min-height: 520px;
  }

  body.lmr-page-family-landing .lmr16-hero__inner {
    padding-block: 190px 36px;
  }

  body.lmr-page-family-landing .lmr16-metrics,
  .lmr184b-person-facts,
  .lmr184b-wellbeing-facts,
  .lmr184b-contact-cards {
    grid-template-columns: 1fr !important;
  }

  .lmr-person-president-contact .lmr13-form-section,
  .lamerd-rc13-communication .lmr13-form-section {
    padding: 15px;
  }

  .lmr-person-president-contact .lmr13-form-card,
  .lamerd-rc13-communication .lmr13-form-card {
    padding: 15px;
  }
}

@media (max-width: 380px) {
  :root { --lmr-mobile-gutter: 10px; }

  .lmr-launch-person .lmr-person-hero h1,
  body.lmr-page-family-landing .lmr16-hero h1,
  .lmr-academic-hero h1,
  .lmr-academic-detail-hero h1 {
    font-size: 1.8rem !important;
  }

  .lmr-launch-person .lmr-person-actions,
  .lmr184b-hero__actions,
  .lmr16-hero__actions {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

/* =========================================================
   RC1.10 — mobile QA corrections from real-device staging.
   1) remove the late landing-hero gap regression;
   2) keep academic metric rows naturally RTL;
   3) give internal pages a calmer mobile gutter;
   4) fully style the president contact form outside communication pages.
   ========================================================= */

/* President form uses the shared renderer, but the president page is not a
   .lamerd-rc13-communication page. Give that renderer its full visual contract. */
.lmr-person-president-contact {
  --lmr13-navy: #062845;
  --lmr13-navy-deep: #03192d;
  --lmr13-blue: #0b5f97;
  --lmr13-gold: #d4aa45;
  --lmr13-ink: #0b2239;
  --lmr13-muted: #5f7082;
  --lmr13-line: #dbe5ed;
  --lmr13-soft: #f4f8fb;
  padding-block: clamp(54px, 7vw, 84px);
  border-top: 1px solid #e3ebf1;
  background: linear-gradient(180deg,#f7fafc 0%,#fff 100%);
}

.lmr-person-president-contact > .lmr-person-shell { min-width: 0; }

.lmr-person-president-contact .lmr13-form-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(220px,.62fr) minmax(0,1.38fr);
  gap: clamp(24px,4vw,46px);
  align-items: start;
}

.lmr-person-president-contact .lmr13-form-aside {
  position: sticky;
  top: 96px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--lmr13-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6,40,69,.055);
}

.lmr-person-president-contact .lmr13-form-aside h2 {
  margin: 8px 0 10px;
  color: var(--lmr13-ink);
  font-size: clamp(1.25rem,2.2vw,1.7rem);
  line-height: 1.45;
}

.lmr-person-president-contact .lmr13-form-aside > p:not(.lmr13-comm-kicker),
.lmr-person-president-contact .lmr13-form-aside li {
  color: var(--lmr13-muted);
  font-size: .75rem;
  line-height: 1.95;
}

.lmr-person-president-contact .lmr13-form-aside ul {
  margin: 16px 0 0;
  padding-inline-start: 20px;
}

.lmr-person-president-contact .lmr13-comm-kicker {
  margin: 0;
  color: #a97912;
  font-size: .7rem;
  font-weight: 900;
}

.lmr-person-president-contact .lmr13-privacy-note {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #38546b;
  background: var(--lmr13-soft);
  font-size: .66rem;
  line-height: 1.8;
}

.lmr-person-president-contact .lmr13-form-card {
  min-width: 0;
  padding: clamp(20px,3vw,30px);
  border: 1px solid var(--lmr13-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(6,40,69,.07);
}

.lmr-person-president-contact .lmr13-form-card form {
  display: grid;
  gap: 22px;
}

.lmr-person-president-contact .lmr13-form-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 13px;
}

.lmr-person-president-contact .lmr13-form-card legend {
  width: 100%;
  margin: 0 0 4px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e6edf2;
  color: var(--lmr13-ink);
  font-size: .75rem;
  font-weight: 900;
}

.lmr-person-president-contact .lmr13-form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}

.lmr-person-president-contact .lmr13-form-card label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--lmr13-ink);
  font-size: .72rem;
  font-weight: 800;
}

.lmr-person-president-contact .lmr13-form-card label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lmr-person-president-contact .lmr13-form-card label em {
  color: #9a5b16;
  font-size: .58rem;
  font-style: normal;
}

.lmr-person-president-contact .lmr13-form-card input,
.lmr-person-president-contact .lmr13-form-card select,
.lmr-person-president-contact .lmr13-form-card textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cfdbe5;
  border-radius: 11px;
  color: var(--lmr13-ink);
  background: #fbfdfe;
  font: inherit;
  font-size: .78rem;
  outline: 0;
  box-sizing: border-box;
}

.lmr-person-president-contact .lmr13-form-card textarea {
  min-height: 158px;
  resize: vertical;
  line-height: 1.9;
}

.lmr-person-president-contact .lmr13-form-card :is(input,select,textarea):focus {
  border-color: var(--lmr13-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,95,151,.12);
}

.lmr-person-president-contact .lmr13-form-card :is(input[type="email"],input[type="tel"]) {
  direction: ltr;
  text-align: left;
}

.lmr-person-president-contact .lmr13-form-consent {
  grid-template-columns: 20px minmax(0,1fr) !important;
  align-items: start;
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--lmr13-soft);
}

.lmr-person-president-contact .lmr13-form-consent input {
  width: 18px !important;
  min-height: 18px !important;
  margin-top: 2px;
  padding: 0 !important;
}

.lmr-person-president-contact .lmr13-form-consent span {
  display: block !important;
  font-weight: 600;
  line-height: 1.85;
}

.lmr-person-president-contact .lmr13-form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lmr-person-president-contact .lmr13-form-submit button {
  min-height: 48px;
  padding-inline: 24px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg,var(--lmr13-navy),var(--lmr13-blue));
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
}

.lmr-person-president-contact .lmr13-form-submit small {
  max-width: 390px;
  color: var(--lmr13-muted);
  font-size: .62rem;
  line-height: 1.8;
}

.lmr-person-president-contact .lamerd-form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 820px) {
  .lmr-person-president-contact .lmr13-form-section { grid-template-columns: 1fr; }
  .lmr-person-president-contact .lmr13-form-aside { position: static; }
}

@media (max-width: 760px) {
  :root { --lmr-mobile-gutter: 20px; }

  /* RC1.9 accidentally overrode the good in-flow mobile landing with a
     560px minimum height and 220px top padding. Keep image and copy adjacent. */
  body.lmr16-landing .lmr16-hero,
  body.lmr-page-family-landing .lmr16-hero {
    min-height: 0 !important;
    display: block !important;
  }

  body.lmr16-landing .lmr16-hero__media,
  body.lmr-page-family-landing .lmr16-hero__media {
    position: relative !important;
    inset: auto !important;
    z-index: 0 !important;
    width: calc(100% - (var(--lmr-mobile-gutter) * 2)) !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 22px var(--lmr-mobile-gutter) 0 !important;
    transform: none !important;
  }

  body.lmr16-landing .lmr16-hero__inner,
  body.lmr-page-family-landing .lmr16-hero__inner {
    padding-block: 24px 46px !important;
  }

  body.lmr16-landing .lmr16-hero .lamerd-breadcrumbs,
  body.lmr-page-family-landing .lmr16-hero .lamerd-breadcrumbs {
    margin-bottom: 14px !important;
  }

  /* Slightly roomier side padding across internal page families. */
  body.lmr-internal-template-system .lamerd-shell,
  .lmr-launch-person .lmr-person-shell,
  .lmr-academic-page .lamerd-shell,
  .lamerd-rc13-communication .lmr13-comm-shell,
  .lmr16-main .lamerd-shell,
  body.lmr184b .lamerd-shell {
    width: calc(100% - (var(--lmr-mobile-gutter) * 2));
  }

  /* Faculty metrics: Persian reading order = label on the right, value on left. */
  html[dir="rtl"] .lmr-academic-metrics { direction: rtl; }
  html[dir="rtl"] .lmr-academic-metrics article {
    flex-direction: row-reverse;
    text-align: right;
  }
  html[dir="rtl"] .lmr-academic-metrics span { text-align: right; }
  html[dir="rtl"] .lmr-academic-metrics strong {
    direction: rtl;
    unicode-bidi: isolate;
    text-align: left;
  }

  .lmr-person-president-contact {
    padding-block: 44px 58px;
  }

  .lmr-person-president-contact .lmr13-form-card,
  .lmr-person-president-contact .lmr13-form-aside {
    padding: 18px;
    border-radius: 16px;
  }

  .lmr-person-president-contact .lmr13-form-grid {
    grid-template-columns: 1fr;
  }

  .lmr-person-president-contact .lmr13-form-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .lmr-person-president-contact .lmr13-form-submit button { width: 100%; }
}

@media (max-width: 520px) {
  :root { --lmr-mobile-gutter: 18px; }

  .lmr-person-president-contact .lmr13-form-card,
  .lmr-person-president-contact .lmr13-form-aside { padding: 16px; }
}

@media (max-width: 380px) {
  :root { --lmr-mobile-gutter: 15px; }
}

/* =========================================================
   RC1.11 — header/footer + cross-family regression pass.
   This is intentionally a finishing layer: no redesign, only consistent
   gutters, touch geometry and narrow-screen ordering across approved families.
   ========================================================= */

/* Keep the academic metric rows unambiguous in Persian: label on the visual
   right, value on the visual left. Explicit grid placement avoids flex/RTL
   source-order differences between browsers. */
@media (max-width: 560px) {
  html[dir="rtl"] .lmr-academic-metrics article {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 16px;
    direction: rtl;
    text-align: right !important;
  }

  html[dir="rtl"] .lmr-academic-metrics article > span {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0 !important;
    text-align: right !important;
  }

  html[dir="rtl"] .lmr-academic-metrics article > strong {
    grid-column: 2;
    grid-row: 1;
    min-width: 2ch;
    direction: rtl;
    unicode-bidi: isolate;
    text-align: left !important;
  }
}

/* Mobile header: never shrink the two primary controls below the 44px touch
   target, even on 320–390px devices. The brand yields first instead. */
@media (max-width: 600px) {
  .lmr8-header .lmr8-icon-button,
  .home .lmr8-header .lmr8-icon-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex-basis: 44px !important;
  }

  .lmr8-header .lmr8-mobile-actions,
  .home .lmr8-header .lmr8-mobile-actions {
    min-width: 94px !important;
    flex-basis: 94px !important;
    gap: 6px !important;
  }

  .lmr8-search-panel form > div {
    min-width: 0;
  }

  .lmr8-search-panel input {
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .lmr8-header .lmr8-brand,
  .home .lmr8-header .lmr8-brand {
    max-width: calc(100% - 100px) !important;
  }

  .lmr8-header .lmr8-brand__marks,
  .home .lmr8-header .lmr8-brand__marks {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    flex-basis: 58px !important;
  }
}

@media (max-width: 350px) {
  .lmr8-header .lmr8-brand__copy,
  .home .lmr8-header .lmr8-brand__copy {
    display: none !important;
  }
}

/* Footer V6 regression: internal and homepage variants share one mobile
   geometry, with usable links and no utility/trust overflow. */
@media (max-width: 760px) {
  .lmr-footer-v6 > .container,
  .lmr-footer-v6__bottom > .container,
  .lmr-footer-v6__bottom .container {
    box-sizing: border-box;
  }

  .lmr-footer-v6__column a,
  .lmr-footer-v6__languages a,
  .lmr-footer-v6__social a,
  .lmr-footer-v6__utility-links a {
    min-height: 44px;
    align-items: center;
  }

  .lmr-footer-v6__column:not(.lmr-footer-v6__contact) > ul a,
  .lmr-footer-v6__languages a,
  .lmr-footer-v6__social a {
    display: inline-flex;
  }

  .lmr-footer-v6__contact a {
    display: inline-flex;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .lmr-footer-v6__utility-links {
    width: 100%;
  }

  .lmr-footer-v6__trust {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .lmr-footer-v6__trust img {
    max-width: min(100%, 160px);
  }
}

@media (max-width: 520px) {
  .lmr-footer-v6--internal {
    margin-top: clamp(44px, 10vw, 64px);
    padding-top: 52px;
  }

  .lmr-footer-v6__main {
    gap: 24px !important;
  }

  .lmr-footer-v6__column {
    padding-top: 18px;
  }

  .lmr-footer-v6__utility-links {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  .lmr-footer-v6__utility-links a {
    width: 100%;
    padding-block: 8px;
    border-bottom: 1px solid rgba(179, 202, 224, .08);
  }

  .lmr-footer-v6__utility-links a:last-child {
    border-bottom: 0;
  }

  .lmr-footer-v6__trust {
    justify-content: flex-start !important;
    gap: 14px;
  }

  .lmr-footer-v6__bottom .container {
    gap: 7px;
  }
}

/* Cross-family narrow-screen regression: keep the final content and metadata
   comfortably separated from the footer, without resurrecting a white strip. */
@media (max-width: 760px) {
  body.lmr-internal-template-system .lamerd-page-updated,
  .lmr-person-updated .lamerd-page-updated,
  .lmr16-updated .lamerd-page-updated,
  .lmr184b-updated .lamerd-page-updated,
  .lmr13-comm-updated .lamerd-page-updated,
  .lmr-system-content-updated .lamerd-page-updated {
    margin: 0 !important;
    padding-block: 10px 4px !important;
    font-size: .66rem !important;
  }

  .lmr-person-updated,
  .lmr16-updated,
  .lmr184b-updated,
  .lmr13-comm-updated,
  .lmr-system-content-updated {
    padding-block: 10px 0 !important;
  }
}
