/* Albanuova 2006—2026 — 1.0.1. All presentation rules are strictly component-scoped. */
.an-home .alb20-home-hero,
.alb-forum-app .alb20-forum-banner {
  --alb20-navy:#062b60; --alb20-royal:#0b447f; --alb20-gold:#eed186;
  --alb20-cream:#f8f4e9;
  box-sizing:border-box;
}
.an-home .alb20-home-hero *,
.an-home .alb20-home-hero *::before,
.an-home .alb20-home-hero *::after,
.alb-forum-app .alb20-forum-banner *,
.alb-forum-app .alb20-forum-banner *::before,
.alb-forum-app .alb20-forum-banner *::after { box-sizing:border-box; }

/* Accueil national 0.5.5. The original shortcode remains intact. */
.an-home.alb20-duplicate-announcement > .an-event { display:none; }
.an-home .alb20-home-hero {
  position:relative; isolation:isolate; overflow:hidden;
  width:100%; min-height:395px; padding:clamp(27px,4.5vw,66px);
  background:radial-gradient(ellipse at 100% 0%,#245b91 0%,transparent 48%),
             linear-gradient(113deg,#051e46 0%,#0a3a78 72%,#0e417b 100%);
  color:#fff; display:grid; grid-template-columns:minmax(0,1.24fr) minmax(160px,.76fr);
  align-items:center; gap:24px; border-bottom:3px solid #dcb969;
}
.an-home .alb20-home-hero::before {
  content:"";position:absolute;inset:0 0 0 40%;z-index:-1;pointer-events:none;
  background-image:radial-gradient(circle at 50% 50%,transparent 0 7px,rgba(244,222,164,.55) 7.6px 8.1px,transparent 8.7px 14px),
                   radial-gradient(circle at 50% 50%,transparent 0 15px,rgba(244,222,164,.4) 15.5px 16px,transparent 16.6px 26px);
  background-size:38px 38px;
  opacity:.15; mask-image:linear-gradient(90deg,transparent 0%,#000 35%);
}
.an-home .alb20-home-hero::after {
  content:""; position:absolute;inset:12px; border:1px solid rgba(238,209,134,.35);pointer-events:none;z-index:0;
}
.an-home .alb20-home-copy {position:relative;z-index:2;min-width:0;}
.an-home .alb20-home-hero .alb20-kicker {
  margin:0 0 18px; font:700 .75rem/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.16em;text-transform:uppercase;color:#f4dc9f;
}
.an-home .alb20-home-hero h2#alb20-home-title {
  font:400 clamp(2.4rem,4.65vw,4.9rem)/1.09 Georgia,"Times New Roman",serif !important;
  color:#fff !important; letter-spacing:-.028em; margin:0 0 18px;max-width:850px;
  text-wrap:balance;
}
.an-home .alb20-home-hero h2 .alb20-years {
  display:block;font:650 clamp(.85rem,1.45vw,1.04rem)/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#eec879;letter-spacing:.22em;margin-bottom:15px;
}
.an-home .alb20-rule {width:74px;height:1px;background:#f1d387;margin:20px 0;}
.an-home .alb20-home-desc {color:#e9edf5;font-size:clamp(.96rem,1.35vw,1.08rem);line-height:1.68;max-width:640px;margin:0 0 24px;}
.an-home .alb20-home-actions {display:flex;flex-wrap:wrap;gap:11px;}
.an-home .alb20-button {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:#edcb74;border:1px solid #edcb74;color:#092a50 !important;
  text-decoration:none;font:700 .85rem/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;
  padding:13px 17px;min-height:45px;
}
.an-home .alb20-button:hover,.an-home .alb20-button:focus-visible {background:#ffe2a0;border-color:#ffe2a0;color:#072247 !important;outline-offset:3px;}
.an-home .alb20-button--outline {background:transparent;color:#fff !important;border-color:rgba(250,229,180,.65);}
.an-home .alb20-button--outline:hover,.an-home .alb20-button--outline:focus-visible {background:rgba(255,255,255,.1);color:#fff !important;border-color:#fff;}
.an-home .alb20-visual {position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:240px;max-width:100%;}
.an-home .alb20-ghost {
  position:absolute;white-space:nowrap;right:0;bottom:-20px;
  font:700 clamp(9rem,21vw,21rem)/.85 Georgia,"Times New Roman",serif;
  letter-spacing:-.13em;color:transparent;-webkit-text-stroke:1.5px rgba(240,202,117,.55);
  user-select:none;pointer-events:none;
}
.an-home .alb20-home-info {
  display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;align-items:center;
  padding:14px clamp(20px,4vw,56px);background:#f7f3e9;
  color:#354c66;border-bottom:1px solid #e9ddc2;font-size:.79rem;letter-spacing:.015em;
}
.an-home .alb20-home-info strong {color:#123b70;font-size:.74rem;letter-spacing:.08em;margin-right:9px;}
.an-home .alb20-home-info a {color:#193c69;text-decoration:none;}
.an-home .alb20-home-info a:hover {text-decoration:underline;}

/* Forum 0.10.11: placed after the native header and member nav, not inside messages. */
.alb-forum-app .alb20-forum-banner {
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;min-height:129px;
  background:linear-gradient(109deg,#062653,#0a417d 87%);color:#fff;
  padding:19px clamp(19px,3vw,35px);margin:0 0 17px;
  border-bottom:3px solid #ddba66;
}
.alb-forum-app .alb20-forum-banner::before {
  content:"";position:absolute;z-index:-1;inset:0 0 0 55%;opacity:.11;
  background-image:radial-gradient(circle at 50% 50%,transparent 0 6px,#ffe0a0 7px 7.5px,transparent 8px);
  background-size:28px 28px;pointer-events:none;
}
.alb-forum-app .alb20-forum-banner__copy {display:flex;flex-direction:column;align-items:flex-start;position:relative;z-index:2;max-width:calc(100% - 100px);gap:4px;}
.alb-forum-app .alb20-forum-banner__eyebrow {display:block;font:700 .67rem/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;color:#f3d88d;letter-spacing:.13em;}
.alb-forum-app .alb20-forum-banner__title {display:block;font:400 clamp(1.45rem,2.5vw,2.1rem)/1.2 Georgia,"Times New Roman",serif;color:#fff;}
.alb-forum-app .alb20-forum-banner__text {display:block;font-size:.8rem;color:#e7edf5;line-height:1.55;}
.alb-forum-app .alb20-forum-banner__link {display:inline-block;color:#ffdf8b!important;font-size:.83rem;font-weight:700;text-decoration:underline;text-underline-offset:3px;padding-top:6px;}
.alb-forum-app .alb20-forum-banner__link:hover,.alb-forum-app .alb20-forum-banner__link:focus-visible {color:#fff!important;}
.alb-forum-app .alb20-forum-banner__numeral {
  position:absolute;right:28px;bottom:-23px;pointer-events:none;user-select:none;
  font:700 clamp(6.5rem,11vw,10rem)/1 Georgia,serif;letter-spacing:-.11em;color:rgba(240,206,133,.17);
}

@media(max-width:850px) {
  .an-home .alb20-home-hero {grid-template-columns:minmax(0,1fr) 140px;padding:34px 24px;min-height:340px;}
  .an-home .alb20-home-hero h2#alb20-home-title {font-size:clamp(2.2rem,5vw,3.5rem)!important;}
  .an-home .alb20-ghost {font-size:10rem;}
}
@media(max-width:620px) {
  .an-home .alb20-home-hero {display:block;padding:36px 22px 31px;min-height:340px;}
  .an-home .alb20-home-hero h2#alb20-home-title {font-size:clamp(2rem,8.1vw,3rem)!important;}
  .an-home .alb20-home-hero h2 .alb20-years {font-size:.78rem;}
  .an-home .alb20-home-desc {position:relative;z-index:2;max-width:340px;font-size:.91rem;}
  .an-home .alb20-visual {position:absolute;inset:auto -16px 4px auto;width:165px;min-height:190px;opacity:.24;z-index:0;}
  .an-home .alb20-ghost {font-size:13rem;right:0;bottom:0;}
  .an-home .alb20-home-actions {position:relative;z-index:3;}
  .an-home .alb20-button {width:100%;font-size:.83rem;}
  .an-home .alb20-home-info {padding:12px 18px;font-size:.75rem;}
  .alb-forum-app .alb20-forum-banner {padding:17px 17px;min-height:115px;}
  .alb-forum-app .alb20-forum-banner__copy {max-width:100%;}
  .alb-forum-app .alb20-forum-banner__numeral {right:0;opacity:.35;}
  .alb-forum-app .alb20-forum-banner__title {font-size:1.5rem;}
}
@media(prefers-reduced-motion:reduce) {
  .an-home .alb20-home-hero *, .alb-forum-app .alb20-forum-banner * {transition:none !important;animation:none !important;}
}

/* Tag for the configured ceremonial RP topic, through Forum's native extensibility hook. */
.alb-forum-app .alb20-topic-chip {
  display:inline-flex;align-items:center;margin-top:8px;padding:5px 9px;
  border:1px solid #d8ba6d;background:#fbf1d7;color:#75520d;
  font:700 .67rem/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.03em;text-transform:uppercase;
}
