/*
Theme Name:  Grand Lodge of Jerusalem
Theme URI:   https://www.grandlodgeofjerusalem.com
Author:      Gran Loggia di Gerusalemme N.1966
Author URI:  https://www.grandlodgeofjerusalem.com
Description: Tema istituzionale bilingue IT/EN per Grand Lodge of Jerusalem N.1966, Loggia, Gran Consiglio, Riconoscimenti e Area Riservata.
Version:     2.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grandlodge
Tags:        custom-menu, featured-images, full-width-template, theme-options, blog
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dim:    #7A6230;
  --gold-pale:   rgba(201,168,76,0.12);
  --crimson:     #6B1A1A;
  --crimson-dim: #3D0F0F;
  --black:       #080808;
  --deep:        #0D0B07;
  --dark:        #151209;
  --mid:         #1E1A0E;
  --surface:     #252015;
  --parchment:   #F2ECD8;
  --cream:       #E8E0C8;
  --text-body:   #C8BC9A;
  --text-muted:  #8A7E60;
  --white:       #FFFFFF;

  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;
  --font-ui:      'EB Garamond', serif;

  --radius: 0px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1180px;
  --section-pad: clamp(5rem, 10vw, 9rem) 1.5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--deep);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--parchment);
  font-weight: 600;
  line-height: 1.25;
}
h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
p  { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.9rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-body);
  opacity: 0.85;
  max-width: 640px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: var(--section-pad); }
.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3    { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.grid-4    { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* Rule line */
.rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
}

/* Gold divider under headings */
.title-bar {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 2rem;
}
.title-bar--center { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  transition: var(--transition);
  position: relative;
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover { background: var(--gold-light); }
.btn--outline {
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}
.btn--outline:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(8,8,6,0.97);
  border-bottom-color: rgba(201,168,76,0.18);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex: 0 0 auto;
  min-width: 0;
}
.header-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.3));
}
.header-logo-text {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.25;
  white-space: nowrap;
}
.header-logo-text small {
  display: block;
  font-size: 0.54rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

/* Main nav */
.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.primary-nav ul {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}
.primary-nav a {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-body);
  transition: color var(--transition);
  position: relative;
  padding: 0.2rem 0;
  white-space: nowrap;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item a { color: var(--gold); }
.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after { width: 100%; }

/* Lang switcher */
.lang-switcher {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  display: flex; gap: 0.6rem;
  color: var(--text-muted);
}
.lang-switcher span { cursor: pointer; transition: color var(--transition); }
.lang-switcher span:hover, .lang-switcher span.active { color: var(--gold); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #1A1408 0%, var(--deep) 70%);
}

/* Animated SVG background */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.hero-bg__rays {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150vmax; height: 150vmax;
  opacity: 0.055;
  animation: rays-rotate 160s linear infinite;
}
@keyframes rays-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero-bg__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--deep) 80%);
}

/* Seals */
.hero-seals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 1.2s 0.1s ease both;
}
.hero-seal {
  width: clamp(100px, 14vw, 160px);
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.25));
  transition: filter var(--transition), transform var(--transition);
}
.hero-seal:hover {
  filter: drop-shadow(0 0 30px rgba(201,168,76,0.45));
  transform: scale(1.04);
}
.hero-seal-divider {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
}

.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  animation: fadeUp 1.2s 0.2s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--parchment);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  animation: fadeUp 1.2s 0.3s ease both;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  animation: fadeUp 1.2s 0.4s ease both;
}
.hero-divider {
  width: 200px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 1.8rem;
  animation: fadeUp 1.2s 0.45s ease both;
}
.hero-motto {
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--parchment);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  opacity: 0.8;
  animation: fadeUp 1.2s 0.5s ease both;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s 0.6s ease both;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  animation: fadeIn 2s 1.5s ease both;
}
.scroll-indicator__line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}
.scroll-indicator__text {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 0.4; }
}

/* ============================================================
   NUMBERS / STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--mid);
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
  padding: 2.5rem 1.5rem;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about { background: var(--dark); }
.about__text blockquote {
  border-left: 2px solid var(--gold-dim);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  line-height: 1.65;
}
.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.about__seal-large {
  width: 260px;
  filter: drop-shadow(0 0 35px rgba(201,168,76,0.2));
  animation: sealFloat 6s ease-in-out infinite;
}
@keyframes sealFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.about__pillars {
  display: flex;
  gap: 2rem;
  text-align: center;
}
.about__pillar-tag {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--gold-dim);
  padding-top: 0.8rem;
}

/* ============================================================
   RITE SECTION (Supremo Consiglio highlight)
   ============================================================ */
.rite {
  background: var(--crimson-dim);
  position: relative;
  overflow: hidden;
}
.rite::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect x='29' y='0' width='2' height='60' fill='%23C9A84C' opacity='0.04'/%3E%3Crect x='0' y='29' width='60' height='2' fill='%23C9A84C' opacity='0.04'/%3E%3C/svg%3E");
}
.rite__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.rite__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--gold-dim);
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}
.rite__badge span {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.rite__degree {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.15;
}
.rite__seal {
  width: 280px;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.15));
}
.rite__list {
  margin-top: 1.5rem;
}
.rite__list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  font-size: 0.95rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rite__list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* ============================================================
   VALUES
   ============================================================ */
.values { background: var(--deep); text-align: center; }
.values__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  margin-top: 3.5rem;
  background: var(--gold-pale);
}
.value-card {
  background: var(--dark);
  padding: 3rem 2rem;
  transition: background var(--transition);
}
.value-card:hover { background: var(--mid); }
.value-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 1.5rem;
}
.value-card__icon svg { width: 100%; height: 100%; }
.value-card__name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.value-card__text {
  font-size: 0.95rem;
  color: var(--text-body);
  opacity: 0.78;
  line-height: 1.8;
}

/* ============================================================
   NEWS / EVENTS
   ============================================================ */
.news { background: var(--mid); }
.news__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.news-card {
  background: var(--dark);
  border: 1px solid var(--gold-pale);
  transition: border-color var(--transition), transform var(--transition);
  overflow: hidden;
}
.news-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}
.news-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
}
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { padding: 1.8rem; }
.news-card__cat {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}
.news-card__title {
  font-size: 1rem;
  color: var(--parchment);
  margin-bottom: 0.8rem;
  line-height: 1.45;
}
.news-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
}
.news__cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   DELEGATIONS MAP
   ============================================================ */
.delegations { background: var(--dark); }
.delegations__list {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.delegation-item {
  border: 1px solid var(--gold-pale);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.delegation-item:hover {
  border-color: var(--gold-dim);
  background: var(--surface);
}
.delegation-item__flag {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}
.delegation-item__country {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.delegation-item__city {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================================
   QUOTE / PULL
   ============================================================ */
.pull-quote {
  background: var(--surface);
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
  padding: 5rem 1.5rem;
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--parchment);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.65;
}
.pull-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-style: normal;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-main {
  padding: 5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand img {
  width: 70px;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.2));
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  margin: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4, .delegations__list { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .rite__inner { grid-template-columns: 1fr; gap: 3rem; }
  .rite__seal { width: 200px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.2rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2,1fr); gap: 1.5rem 1rem; }
  .news__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .primary-nav { display: none; }
  .primary-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(8,8,6,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 400;
  }
  .primary-nav.open ul { flex-direction: column; gap: 2rem; }
  .primary-nav.open a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-seals { gap: 1.5rem; }
  .hero-seal { width: clamp(80px, 20vw, 120px); }
  .delegations__list { grid-template-columns: repeat(2,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg__rays { animation: none; }
  .about__seal-large { animation: none; }
  .scroll-indicator__line { animation: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   V1.1 INSTITUTIONAL PAGES / BILINGUAL / RESERVED AREA
   ============================================================ */
.lang-switcher a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.lang-switcher a:hover,
.lang-switcher a.active { color: var(--gold); }

.hero-seals--triple .hero-seal:nth-of-type(2) {
  width: clamp(120px, 17vw, 190px);
}

.page-hero {
  position: relative;
  padding: 10rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1A1408 0%, var(--deep) 70%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background: repeating-linear-gradient(45deg, transparent 0 28px, rgba(201,168,76,.32) 28px 29px), radial-gradient(circle at 50% 35%, rgba(201,168,76,.25), transparent 42%);
}
.page-hero--council,
.page-hero--recognitions { background: linear-gradient(135deg, #080808 0%, #0A163A 45%, var(--deep) 100%); }
.page-hero--reserved { background: linear-gradient(135deg, var(--crimson-dim) 0%, var(--deep) 68%); }
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.page-hero__logo {
  width: 132px;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 0 28px rgba(201,168,76,0.3));
  animation: sealFloat 6s ease-in-out infinite;
}
.page-hero__logo--wide { width: min(260px, 70vw); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--parchment);
  font-weight: 400;
  margin-bottom: .9rem;
}
.page-hero p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text-body);
  opacity: .86;
  font-size: 1.1rem;
}
.gold-quote {
  border-left: 2px solid var(--gold-dim);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--gold);
  font-style: italic;
  line-height: 1.7;
}
.institution-card {
  background: var(--dark);
  border: 1px solid var(--gold-pale);
  padding: 2.5rem;
  text-align: center;
  min-height: 100%;
  box-shadow: 0 20px 70px rgba(0,0,0,.18);
}
.institution-card img { margin: 0 auto 1.5rem; filter: drop-shadow(0 0 18px rgba(201,168,76,.2)); }
.institution-card h3 {
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.institution-card p { opacity: .82; }
.institution-card--blue { background: linear-gradient(180deg, rgba(10,22,58,.55), var(--dark)); }
.timeline-list {
  max-width: 840px;
  margin: 3rem auto 0;
  position: relative;
}
.timeline-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
  position: relative;
}
.timeline-year {
  width: 88px;
  height: 58px;
  border: 1px solid var(--gold-dim);
  background: var(--deep);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: .7rem;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  text-align: center;
}
.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-bottom: .5rem;
}
.timeline-item p { opacity: .8; margin: 0; }
.council-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.council-card {
  background: var(--dark);
  border: 1px solid var(--gold-pale);
  border-top: 3px solid var(--gold-dim);
  padding: 2rem;
}
.council-card span {
  display: block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: .8rem;
  opacity: .75;
}
.council-card h3 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.council-card p { margin: 0; opacity: .8; font-size: .95rem; }
.recognition-card,
.recognition-detail {
  background: var(--dark);
  border: 1px solid var(--gold-pale);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.recognition-card img { flex-shrink: 0; filter: drop-shadow(0 0 18px rgba(201,168,76,.2)); }
.recognition-card h3 { margin-bottom: .5rem; }
.recognition-detail { align-items: stretch; max-width: 980px; margin: 3rem auto 0; }
.recognition-detail__logo {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--gold-pale);
  padding-right: 2rem;
}
.recognition-detail__logo img { width: 100%; filter: drop-shadow(0 0 22px rgba(201,168,76,.25)); }
.recognition-detail__body { display: flex; flex-direction: column; justify-content: center; }
.recognition-detail__body h3 { margin-bottom: 1rem; }
.recognition-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.2rem;
}
.recognition-meta span {
  border: 1px solid var(--gold-pale);
  padding: .55rem .8rem;
  color: var(--text-body);
  background: rgba(201,168,76,.04);
}
.reserved-panel,
.reserved-empty {
  max-width: 780px;
  margin: 0 auto 2rem;
  background: var(--mid);
  border: 1px solid var(--gold-pale);
  padding: 2.5rem;
}
.reserved-login form { display: grid; gap: 1rem; margin-top: 2rem; }
.reserved-login label,
.gl-form label {
  font-family: var(--font-heading);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.reserved-login input[type="text"],
.reserved-login input[type="password"],
.gl-form input,
.gl-form textarea,
.gl-form select {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--gold-dim);
  color: var(--parchment);
  padding: .9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  margin-top: .45rem;
}
.reserved-login input[type="submit"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  background: var(--gold);
  color: var(--black);
  border: none;
}
.reserved-docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.contact-info-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--mid);
  border: 1px solid var(--gold-pale);
  border-left: 3px solid var(--gold-dim);
  padding: 1.2rem 1.4rem;
}
.contact-info-item > span { font-size: 1.3rem; line-height: 1; margin-top: .25rem; }
.contact-info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .2rem;
}
.contact-info-item p { margin: 0; }
.gl-form { display: flex; flex-direction: column; gap: 1.2rem; }
.gl-form-response { padding: 1rem; border: 1px solid var(--gold-pale); text-align: center; }
.gl-form-response.is-success { color: #8DD39B; border-color: rgba(125,200,137,.5); background: rgba(74,144,85,.12); }
.gl-form-response.is-error { color: #E07070; border-color: rgba(224,112,112,.5); background: rgba(180,30,30,.12); }

@media (max-width: 768px) {
  .hero-seals--triple { gap: .9rem; }
  .hero-seals--triple .hero-seal { width: 78px; }
  .hero-seals--triple .hero-seal:nth-of-type(2) { width: 96px; }
  .timeline-list::before { left: 28px; }
  .timeline-item { grid-template-columns: 58px 1fr; gap: 1.2rem; }
  .timeline-year { width: 58px; height: 58px; font-size: .55rem; }
  .recognition-card,
  .recognition-detail { flex-direction: column; align-items: flex-start; }
  .recognition-detail__logo { flex-basis: auto; border-right: 0; border-bottom: 1px solid var(--gold-pale); padding: 0 0 1.5rem; width: 100%; }
  .recognition-detail__logo img { max-width: 260px; margin: 0 auto; }
}
.primary-nav ul { gap: clamp(.55rem, .95vw, 1rem); }
.primary-nav a { font-size: clamp(.52rem, .66vw, .62rem); }


/* v1.3 refinements: clearer bilingual menu and stronger reserved area */
.lang-switcher {
  align-items: center;
  border: 1px solid var(--gold-pale);
  padding: .38rem .55rem;
  background: rgba(201,168,76,.035);
  flex: 0 0 auto;
}
.lang-switcher__label {
  display: none;
}
.lang-switcher__sep { color: var(--gold-dim); opacity: .7; }
.lang-switcher a {
  min-width: 1.6rem;
  text-align: center;
  font-weight: 700;
}
.primary-nav li.gl-nav-reserved > a,
.primary-nav a[href*="area-riservata"] {
  border: 1px solid var(--gold-dim);
  padding: .55rem .85rem;
  color: var(--gold);
  background: rgba(201,168,76,.06);
}
.primary-nav li.gl-nav-reserved > a::after,
.primary-nav a[href*="area-riservata"]::after { display: none; }
.primary-nav li.gl-nav-reserved > a:hover,
.primary-nav a[href*="area-riservata"]:hover {
  background: var(--gold);
  color: var(--black);
}
.members-highlight {
  background: radial-gradient(circle at 18% 20%, rgba(201,168,76,.12), transparent 38%), var(--deep);
}
.members-highlight__box,
.reserved-features {
  display: grid;
  gap: 1rem;
}
.members-highlight__box div,
.reserved-features div {
  border: 1px solid var(--gold-pale);
  background: rgba(13,22,44,.72);
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--gold);
}
.members-highlight__box strong,
.reserved-features strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--gold);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .68rem;
  margin-bottom: .35rem;
}
.members-highlight__box span,
.reserved-features span {
  color: var(--text-body);
  opacity: .85;
}
.reserved-features {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 1.8rem 0 .5rem;
}
.reserved-features div { padding: 1rem; }
@media (max-width: 780px) {
  .lang-switcher__label { display: none; }
  .primary-nav a[href*="area-riservata"] { display: inline-block; }
}


@media (max-width: 1220px) {
  .header-logo-text small { display: none; }
  .header-logo-text { font-size: .6rem; letter-spacing: .1em; }
  .primary-nav ul { gap: .55rem; }
  .primary-nav a { font-size: .54rem; letter-spacing: .08em; }
}
@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .primary-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(8,8,6,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 400;
  }
  .primary-nav.open ul { flex-direction: column; gap: 1.6rem; }
  .primary-nav.open a { font-size: 1rem; letter-spacing: .14em; }
  .menu-toggle { display: flex; }
}


/* v1.5 requested refinements: brand, round logos and functional members area */
.header-logo img,
.logo-round,
.hero-seal,
.page-hero__logo,
.about__seal-large,
.rite__seal,
.institution-card img,
.recognition-card img,
.recognition-detail__logo img,
.footer-brand img,
.footer-col img,
.contact-info-list + div img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255,255,255,.04), rgba(201,168,76,.035));
  border: 1px solid rgba(201,168,76,.24);
}
.header-logo img {
  width: 58px;
  height: 58px;
  padding: 2px;
}
.header-logo-text span { display: block; }
.header-logo-text small {
  max-width: 360px;
  white-space: normal;
  line-height: 1.15;
}
.page-hero__logo,
.about__seal-large,
.rite__seal { padding: 3px; }
.page-hero__logo { height: 132px; }
.page-hero__logo--wide {
  width: min(240px, 62vw);
  height: min(240px, 62vw);
}
.institution-card img[width="240"],
.institution-card img[width="230"] {
  width: min(240px, 70vw);
  height: min(240px, 70vw);
}
.recognition-card img { width: 120px; height: 120px; object-fit: contain; }
.recognition-detail__logo img { max-width: 260px; height: 260px; object-fit: contain; }
.council-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reserved-login__links { margin-top: 1rem; font-size: .95rem; }
.reserved-login__links a { color: var(--gold); }
.reserved-docs--inline {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.reserved-doc {
  border: 1px solid var(--gold-pale);
  background: linear-gradient(180deg, rgba(13,22,44,.72), rgba(8,8,6,.88));
  padding: 1.8rem;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.reserved-doc h3 {
  color: var(--gold);
  margin: .5rem 0 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1rem;
}
.reserved-doc__content,
.reserved-doc__content p,
.reserved-doc__content li { color: var(--text-body); }
.reserved-doc__content ul,
.reserved-doc__content ol { margin-left: 1.4rem; }
@media (max-width: 1280px) {
  .header-logo-text small { max-width: 260px; }
}
@media (max-width: 1120px) {
  .header-logo-text small { display: none; }
  .header-logo-text { font-size: .58rem; }
}
@media (max-width: 980px) {
  .council-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .council-grid--four { grid-template-columns: 1fr; }
  .header-logo-text { font-size: .54rem; }
  .header-logo img { width: 50px; height: 50px; }
}

img[src*="logo-"] { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: contain; }

/* v1.8: historical hero background */
.hero-bg__cover {
  position: absolute;
  inset: 0 0 34% 0;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.42;
  filter: sepia(.28) saturate(.85) contrast(1.02) brightness(.88);
  mix-blend-mode: screen;
}
.hero-bg__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,5,5,.18) 0%, rgba(7,8,10,.48) 42%, rgba(10,22,58,.88) 78%, rgba(10,22,58,1) 100%),
    radial-gradient(ellipse at center, rgba(201,168,76,.10) 0%, transparent 62%);
}
.hero-bg__rays {
  top: 58%;
  opacity: 0.045;
}
.hero-content,
.hero-seals,
.scroll-indicator {
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
@media (max-width: 768px) {
  .hero-bg__cover {
    inset: 0 0 40% 0;
    background-position: center 18%;
    opacity: 0.34;
  }
}

/* v1.9: home hero più scenografica */
.hero {
  min-height: 108vh;
  background: #050507;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 5.8rem 2.2rem 2.2rem;
  border: 1px solid rgba(201,168,76,.30);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    inset 0 0 70px rgba(201,168,76,.075),
    0 0 60px rgba(0,0,0,.48);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '1723';
  position: absolute;
  left: 50%;
  top: 7.2rem;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 12rem);
  line-height: 1;
  letter-spacing: .08em;
  color: rgba(201,168,76,.075);
  z-index: 0;
  pointer-events: none;
  text-shadow: 0 0 50px rgba(201,168,76,.12);
}
.hero-bg__cover {
  inset: 0;
  opacity: .72;
  background-size: cover;
  background-position: center 18%;
  filter: sepia(.42) saturate(.82) contrast(1.14) brightness(.74);
  mix-blend-mode: normal;
  transform: scale(1.035);
}
.hero-bg__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(245,223,164,.18) 0%, rgba(201,168,76,.10) 24%, transparent 58%),
    linear-gradient(90deg, rgba(5,5,5,.70) 0%, rgba(5,5,5,.20) 26%, rgba(5,5,5,.18) 72%, rgba(5,5,5,.70) 100%);
}
.hero-bg__cover::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.10) 22%, rgba(7,8,10,.42) 54%, rgba(10,22,58,.93) 84%, rgba(10,22,58,1) 100%),
    radial-gradient(ellipse at 50% 48%, transparent 0%, rgba(0,0,0,.20) 54%, rgba(0,0,0,.72) 100%);
}
.hero-bg__rays {
  width: 118vmax;
  height: 118vmax;
  top: 55%;
  opacity: .07;
  mix-blend-mode: screen;
}
.hero-seals {
  margin-top: 2.4rem;
  margin-bottom: 2rem;
  background: rgba(7,8,10,.34);
  border: 1px solid rgba(201,168,76,.20);
  padding: .85rem 1.3rem;
  backdrop-filter: blur(3px);
  box-shadow: 0 22px 70px rgba(0,0,0,.32);
}
.hero-seal {
  filter: drop-shadow(0 0 24px rgba(201,168,76,.38));
}
.hero-content {
  max-width: 1120px;
  background: linear-gradient(180deg, rgba(5,5,5,.18), rgba(5,5,5,.34));
  border-top: 1px solid rgba(201,168,76,.18);
  border-bottom: 1px solid rgba(201,168,76,.18);
  padding: 1.4rem clamp(1rem, 4vw, 3rem) 1.6rem;
  backdrop-filter: blur(2px);
}
.hero-eyebrow {
  color: var(--parchment);
  text-shadow: 0 2px 20px rgba(0,0,0,.8);
}
.hero-title {
  text-shadow: 0 4px 36px rgba(0,0,0,.85), 0 0 22px rgba(201,168,76,.12);
}
.hero-subtitle {
  color: #e0c36f;
  text-shadow: 0 2px 18px rgba(0,0,0,.82);
}
.hero-motto {
  text-shadow: 0 2px 18px rgba(0,0,0,.80);
}
@media (max-width: 768px) {
  .hero { min-height: 100vh; }
  .hero::before { inset: 5rem .8rem 1.2rem; }
  .hero::after { top: 6.3rem; opacity: .75; }
  .hero-bg__cover {
    opacity: .56;
    background-position: center top;
    transform: scale(1.08);
  }
  .hero-seals { padding: .65rem .85rem; margin-top: 1.5rem; }
  .hero-content { padding: 1.2rem .9rem 1.4rem; }
}


/* v2.0: explicit Brothers Area login fields */
.reserved-login--explicit {
  margin-top: 2rem;
  border: 1px solid rgba(201,168,76,.22);
  background: linear-gradient(135deg, rgba(8,8,6,.82), rgba(13,22,44,.72));
  padding: 1.6rem;
}
.reserved-login--explicit h3 {
  margin: 0 0 .45rem;
  font-family: var(--font-heading);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .86rem;
}
.reserved-login__intro,
.reserved-login__note {
  color: var(--text-body);
  opacity: .82;
  font-size: .95rem;
  margin: .4rem 0 1rem;
}
.reserved-login--explicit form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.reserved-login--explicit .login-username,
.reserved-login--explicit .login-password,
.reserved-login--explicit .login-remember,
.reserved-login--explicit .login-submit {
  margin: 0;
}
.reserved-login--explicit label {
  display: block;
}
.reserved-login--explicit .login-remember label {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--text-body);
  letter-spacing: .08em;
}
.reserved-login--explicit input[type="text"],
.reserved-login--explicit input[type="password"] {
  width: 100%;
  box-sizing: border-box;
}
.reserved-login--explicit input[type="submit"] {
  width: 100%;
  cursor: pointer;
}

/* v2.1: Gran Consiglio page logo hierarchy */
.gran-council-logo-card {
  text-align: center;
}
.gran-council-logo-card__secondary {
  display: block;
  margin: 1.15rem auto 0;
  width: 118px !important;
  height: 118px !important;
  padding: 3px;
  box-shadow: 0 0 28px rgba(120, 16, 18, .26);
}
.gran-council-logo-card > img:first-child {
  margin-bottom: .2rem;
}

/* v2.2: normalized institutional logos */
.institution-logo {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  padding: 4px;
  display: inline-block;
}
.institution-logo--small,
.gran-council-logo-card__secondary {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  padding: 3px;
  display: inline-block;
  margin: .75rem auto 1.1rem;
}
.gran-council-logo-card .institution-logo {
  margin: 0 auto .85rem;
}
.contact-logo-normalized {
  width: 92px !important;
  height: 92px !important;
  max-width: 92px !important;
  max-height: 92px !important;
  padding: 3px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255,255,255,.04), rgba(201,168,76,.035));
  border: 1px solid rgba(201,168,76,.24);
  filter: drop-shadow(0 0 8px rgba(201,168,76,.22));
}
.footer-brand img {
  width: 70px !important;
  height: 70px !important;
  object-fit: contain;
}
@media (max-width: 768px) {
  .institution-logo {
    width: 124px !important;
    height: 124px !important;
    max-width: 124px !important;
    max-height: 124px !important;
  }
  .contact-logo-normalized {
    width: 82px !important;
    height: 82px !important;
  }
}


/* v2.3: red logos for Recognitions and Brothers Area + 3 homepage numbers */
.stats-bar__inner { grid-template-columns: repeat(3, 1fr); }
.institution-logo--red {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 4px;
  background: radial-gradient(circle, rgba(255,255,255,.045), rgba(120,16,18,.06));
  border: 1px solid rgba(201,168,76,.28);
  filter: drop-shadow(0 0 14px rgba(120,16,18,.28));
}
.recognition-detail__logo .institution-logo--red {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  margin: 0 auto;
}
.page-hero .institution-logo--red {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
}
@media (max-width: 768px) {
  .stats-bar__inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .institution-logo--red,
  .page-hero .institution-logo--red,
  .recognition-detail__logo .institution-logo--red {
    width: 124px !important;
    height: 124px !important;
    max-width: 124px !important;
    max-height: 124px !important;
  }
}
