/*
Theme Name: Asgard Horizon
Description: Thème à blocs pour l’association Asgard de Saint-Pierre-du-Perray.
Version: 1.0.4
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: asgard-horizon
*/
:root{--asgard-indigo:#3f4878;--asgard-ink:#252c4f;--asgard-muted:#505d77;--asgard-surface:#edf3fa;--asgard-line:#dbe4f0;--asgard-paper:#f8faff}
*{box-sizing:border-box}
body{margin:0;color:var(--asgard-ink);background:var(--asgard-paper);font-family:system-ui,sans-serif;line-height:1.55}
:where(a,button,summary):focus-visible{outline:3px solid #84602b;outline-offset:4px}
:where(a){color:var(--asgard-indigo)}
:where(h1,h2,h3,p){margin-block:0}
:where(h1,h2,h3){line-height:1.14;overflow-wrap:anywhere}
.asgard-shell{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.asgard-top{background:#fff;border-bottom:1px solid var(--asgard-line)}
.asgard-header{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:10px}
.asgard-header .wp-block-site-title{margin:0;font-size:1.6rem;font-weight:900;letter-spacing:.09em}
.asgard-header .wp-block-site-title a{display:flex;align-items:center;gap:7px;text-decoration:none}
.asgard-header .wp-block-site-title a:before{content:"";width:50px;height:50px;background:url(assets/logo-asgard.jpg) center/contain no-repeat;flex:none}
.asgard-header .wp-block-navigation{font-size:.94rem;font-weight:650}
.asgard-header .wp-block-navigation a{text-decoration:none}
.asgard-main{padding-block:30px 48px}
.asgard-main>*+*{margin-top:36px}
.asgard-hero{display:flex;align-items:center;min-height:320px;border-radius:24px;color:#fff;background:linear-gradient(90deg,#30385f 0%,#3f4878 48%,transparent 72%),url(assets/hero.svg) right center/auto 100% no-repeat,#3f4878;padding:clamp(24px,5vw,60px)}
.asgard-hero-copy{max-width:600px}
.asgard-hero h1{font-size:clamp(2rem,5vw,4.2rem);max-width:12ch;letter-spacing:-.045em;margin-block:9px 13px}
.asgard-hero p{max-width:43ch}
.asgard-kicker{font-size:.75rem;letter-spacing:.12em;font-weight:800;text-transform:uppercase}
.asgard-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.asgard-button,.asgard-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 17px;border-radius:999px;background:var(--asgard-indigo);color:#fff;text-decoration:none;font-weight:750}
.asgard-hero .asgard-button{background:#fff;color:var(--asgard-ink)}
.asgard-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.asgard-section-head h2,.asgard-band h2{font-size:clamp(1.45rem,3vw,2.2rem);letter-spacing:-.025em}
.asgard-section-head p,.asgard-meta{color:var(--asgard-muted);font-size:.88rem}
.asgard-week,.asgard-practices,.asgard-articles .wp-block-post-template{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.asgard-day,.asgard-card,.asgard-articles .wp-block-post{border:1px solid var(--asgard-line);border-radius:16px;background:#fff;overflow:hidden;min-width:0}
.asgard-day h3{font-size:1rem;padding:13px 14px;background:var(--asgard-indigo);color:#fff}
.asgard-day-content,.asgard-card,.asgard-articles .wp-block-post{padding:15px}
.asgard-day-content{min-height:86px;background:#f0f5fc;color:var(--asgard-muted)}
.asgard-demo-session+.asgard-demo-session{border-top:1px solid var(--asgard-line);padding-top:9px;margin-top:9px}
.asgard-demo-session strong{display:block;color:var(--asgard-ink)}
.asgard-band{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--asgard-surface);border-radius:18px;padding:20px 24px}
.asgard-band p{margin-top:5px}
.asgard-card h3{margin-block:9px 6px;font-size:1.1rem}
.asgard-card p{font-size:.94rem;color:var(--asgard-muted)}
.asgard-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e5eafb;color:var(--asgard-indigo);font-weight:900}
.asgard-card:nth-child(2) .asgard-mark{background:#f8e8d8}.asgard-card:nth-child(3) .asgard-mark{background:#e1eee8}.asgard-card:nth-child(4) .asgard-mark{background:#efe4f6}
.asgard-articles .wp-block-post-template{grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0}
.asgard-articles .wp-block-post-featured-image{margin:0 0 12px}
.asgard-articles .wp-block-post-featured-image img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.asgard-articles .wp-block-post-title{font-size:1.15rem;margin-block:5px 8px}
.asgard-articles .wp-block-post-date{font-size:.83rem;color:var(--asgard-muted)}
.asgard-articles .wp-block-post-excerpt{font-size:.94rem}
.asgard-footer{background:#fff;border-top:1px solid var(--asgard-line);padding-block:24px;font-size:.9rem}
.asgard-footer .asgard-shell{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.asgard-content{max-width:880px;margin-inline:auto}
.asgard-content .wp-block-post-title{font-size:clamp(2rem,5vw,3.5rem);margin-bottom:16px}
.asgard-content .wp-block-post-content{overflow-wrap:anywhere}
.asgard-content img{max-width:100%;height:auto}
.asgard-frise{background:url(assets/frise.svg) right bottom/auto 42px no-repeat;padding-bottom:12px}
.asgard-preview-nav{display:flex;gap:16px;flex-wrap:wrap}
.asgard-preview-nav a{font-weight:650;text-decoration:none}
.asgard-preview-note{background:#e8edf8;text-align:center;padding:7px 12px;font-size:.8rem}
@media(max-width:950px){.asgard-week,.asgard-practices{grid-template-columns:repeat(2,minmax(0,1fr))}.asgard-hero{background-image:linear-gradient(90deg,#30385f 0%,#3f4878 53%,#3f48784d),url(assets/hero.svg)}}
@media(max-width:620px){.asgard-shell{width:calc(100% - 28px)}.asgard-header{min-height:64px;flex-wrap:wrap;gap:6px}.asgard-header .wp-block-site-title{font-size:1.2rem}.asgard-header .wp-block-site-title a:before{width:38px;height:38px}.asgard-main{padding-block:14px 28px}.asgard-main>*+*{margin-top:25px}.asgard-hero{min-height:0;padding:24px 18px;border-radius:16px;background-image:linear-gradient(90deg,#30385f 0%,#3f4878ee 80%),url(assets/hero.svg)}.asgard-week,.asgard-practices,.asgard-articles .wp-block-post-template{grid-template-columns:1fr}.asgard-band{align-items:flex-start;flex-direction:column;padding:16px;gap:10px}.asgard-frise{background-size:auto 27px}.asgard-preview-nav{font-size:.83rem;gap:10px}}

/* Accueil et navigation Asgard Horizon */
.asgard-top .asgard-shell,
.asgard-front {
  width: min(1920px, calc(100% - clamp(24px, 2.4vw, 48px)));
}
.asgard-header { gap: clamp(12px, 2vw, 40px); min-height: 92px; }
.asgard-brand { flex: 0 0 auto; }
.asgard-brand img { width: clamp(130px, 17vw, 340px); height: auto; display: block; }
.asgard-location { font-weight: 700; }
.asgard-location::before {
  content: "";
  display: inline-block;
  margin-right: .45em;
  width: .8em;
  height: .8em;
  border: .24em solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.asgard-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 12px; font-weight: 700; }
.asgard-nav a { text-decoration: none; }
.asgard-nav .asgard-login { background: #fff; color: var(--asgard-indigo); border: 1px solid currentColor; white-space: nowrap; }
.asgard-nav details { position: relative; }
.asgard-nav summary { cursor: pointer; }
.asgard-submenu {
  position: absolute;
  z-index: 5;
  min-width: 12rem;
  padding: .5rem;
  border: 1px solid var(--asgard-line);
  border-radius: .75rem;
  background: white;
  box-shadow: 0 6px 24px #252c4f1c;
}
.asgard-submenu a { display: block; padding: .4rem .6rem; }
.asgard-submenu a:hover { background: var(--asgard-surface); }
.home .asgard-program-link { border-bottom: .25rem solid var(--asgard-indigo); padding-block: .35rem; }
.asgard-front { margin-block: 0; padding-block: 8px 32px; }
.asgard-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.asgard-banner {
  display: grid;
  place-items: center;
  min-height: clamp(92px, 10.5vw, 204px);
  background: #4d86b7;
  color: white;
  font-size: clamp(1rem, 1.5vw, 1.8rem);
}
.asgard-front .asgard-week { margin-block: 18px 26px; align-items: stretch; }
.asgard-front .asgard-day { background: #f5f8fc; }
.asgard-day h2 {
  display: flex;
  align-items: center;
  gap: .45em;
  margin: 0;
  padding: .4em .85em .52em;
  background: var(--asgard-indigo);
  color: white;
  font-size: clamp(1.2rem, 2vw, 2.3rem);
}
.asgard-day h2::before {
  content: "";
  width: 1em;
  height: 1em;
  flex: none;
  background: url(assets/calendrierBlanc.png) center / contain no-repeat;
}
.asgard-day-label {
  margin: 0;
  padding: .2em .65em;
  background: #d6e0ef;
  font-size: clamp(1rem, 1.65vw, 1.8rem);
  font-weight: 750;
}
.asgard-front .asgard-day-content { min-height: 120px; margin: 0; }
.asgard-front .asgard-band { background: #c6d3e6; }
.asgard-front .asgard-band h2 { display: flex; align-items: center; gap: .65em; }
.asgard-front .asgard-band h2::before {
  content: "";
  width: 2.45em;
  height: 1.48em;
  flex: none;
  background: url(assets/MeepleTriple.png) center / contain no-repeat;
}
.asgard-front .asgard-band p { max-width: 45ch; margin: 0; }
.asgard-front .asgard-band .asgard-button { flex: none; }
.asgard-news-heading {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4vw, 80px);
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.1vw, 3.6rem);
}
.asgard-news-heading::after {
  content: "";
  flex: 1;
  height: 1.6em;
  background: url(assets/HorizonLong.png) left center / contain no-repeat;
}
.asgard-front .asgard-articles .wp-block-post {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 0;
  padding: 10px;
  background: #f8faff;
  box-shadow: 0 2px 4px #252c4f12;
}
.asgard-front .wp-block-post-featured-image { flex: 0 0 47%; margin: 0; }
.asgard-front .wp-block-post-featured-image a,
.asgard-front .wp-block-post-featured-image img { display: block; height: 100%; }
.asgard-front .wp-block-post-featured-image img { aspect-ratio: auto; min-height: 155px; }
.asgard-news-copy { flex: 1; min-width: 0; padding-block: 8px; }
.asgard-news-copy .wp-block-post-excerpt__more-link {
  display: inline-block;
  padding: .4em .9em;
  border-radius: 999px;
  background: var(--asgard-indigo);
  color: white;
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 1120px) {
  .asgard-header { flex-wrap: wrap; }
  .asgard-nav { flex-basis: 100%; flex-wrap: wrap; }
  .asgard-front .asgard-articles .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .asgard-header { gap: 10px; }
  .asgard-location { font-size: .82rem; }
  .asgard-nav { flex-wrap: wrap; justify-content: flex-start; font-size: .84rem; }
  .asgard-front .asgard-articles .wp-block-post-template { grid-template-columns: 1fr; }
  .asgard-front .asgard-day-content { min-height: 54px; }
  .asgard-news-heading { font-size: 1.8rem; }
}

.asgard-front { max-width: 1280px; }
.asgard-home-hero {
  background: linear-gradient(90deg, #30385f 15%, #3f4878 46%, #30385f70 76%), url(assets/bandeau-jeux.jpg) right center / cover;
  margin-block: 1rem;
}
.asgard-home-hero .asgard-hero-copy { max-width: 48rem; }
.asgard-home-hero h1 { max-width: 15ch; }
.asgard-home-section { margin-block: 2rem; }
.asgard-home-section .asgard-card { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.asgard-home-section .asgard-card .asgard-button { margin-top: auto; }
.asgard-practice-icon { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.asgard-landing { display: grid; gap: 1.1rem; }
.asgard-lead { font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.asgard-landing .asgard-actions { margin-top: 0; }
.asgard-visit-steps { background: var(--asgard-surface); padding: 1.25rem 1.5rem 1.25rem 2.75rem; border-radius: 1rem; margin: 0; }
.asgard-visit-steps li + li { margin-top: .7rem; }
.asgard-bureau-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.asgard-bureau-grid h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
@media (max-width: 620px) {
  .asgard-home-hero { background-image: linear-gradient(90deg, #30385ff7, #30385fcf), url(assets/bandeau-jeux.jpg); }
  .asgard-nav { flex-wrap: wrap; justify-content: flex-start; }
}

.asgard-front { --home-serif: Georgia, 'Times New Roman', serif; }
.asgard-front h1,
.asgard-front h2,
.asgard-front .asgard-practices h3,
.asgard-front .asgard-event-tile h3,
.asgard-front .wp-block-post-title { font-family: var(--home-serif); color: var(--asgard-indigo); }
.asgard-home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(250px, 29vw, 375px);
  padding: clamp(22px, 4vw, 48px);
  background: var(--asgard-indigo) url(assets/bandeau-jeux.jpg) right center / 58% auto no-repeat;
}
.asgard-home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 45% 0 0;
  background: linear-gradient(112deg, #3f4878, #343e69);
  clip-path: polygon(0 0, 100% 0, 83% 100%, 0 100%);
  content: "";
}
.asgard-home-hero .asgard-hero-copy { width: 48%; }
.asgard-home-hero h1 { max-width: none; color: white; font-size: clamp(1.8rem, 3.95vw, 3.65rem); }
.asgard-home-hero .asgard-button { border: 1px solid white; border-radius: .55rem; }
.asgard-home-hero .asgard-button + .asgard-button { background: transparent; color: white; }
.asgard-home-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; margin-bottom: 1rem; }
.asgard-home-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.asgard-home-heading .asgard-home-link { order: 1; background: white; }
.asgard-home-heading.asgard-frise { padding-bottom: 0; background: none; }
.asgard-home-heading.asgard-frise::after {
  content: "";
  flex: 1 1 5rem;
  min-width: 0;
  height: clamp(1.5rem, 3vw, 2.6rem);
  background: url(assets/HorizonCourt2.png) center / contain no-repeat;
}
.asgard-home-heading.asgard-frise-pratiques::after { background-image: url(assets/HorizonCourt3.png); }
.asgard-home-heading.asgard-frise-evenements::after { background-image: url(assets/HorizonCourt1.png); }
.asgard-link-arrow::after,
.asgard-link-arrow-white::after,
.asgard-link-calendar::before,
.asgard-link-login::before,
.asgard-link-logout::before {
  content: "";
  display: inline-block;
  width: .95em;
  height: .95em;
  flex: none;
  vertical-align: middle;
  background: center / contain no-repeat;
}
.asgard-link-arrow::after { margin-left: .3em; background-image: url(assets/FlecheDroite.png); }
.asgard-link-arrow-white::after { margin-left: .35em; background-image: url(assets/FlecheDroiteBlanche.png); }
.asgard-link-calendar::before { margin-right: .35em; background-image: url(assets/CalendrierViolet.png); }
.asgard-link-login::before { margin-right: .35em; background-image: url(assets/SeConnecter.png); }
.asgard-link-logout::before { margin-right: .35em; background-image: url(assets/SeDeconnecter.png); }
.asgard-home-link { display: inline-flex; width: fit-content; align-items: center; border: 1px solid currentColor; border-radius: .4rem; padding: .22rem .55rem; text-decoration: none; font-size: .9rem; }
.asgard-front .tables-upcoming .tables-upcoming-column h3 { display: flex; gap: .35rem; align-items: center; padding: .6rem .75rem; }
.asgard-front .tables-upcoming-column h3 img { width: 1rem; height: 1rem; object-fit: contain; }
.asgard-front .tables-upcoming .asgard-program-label { background: #d6e0ef; color: var(--asgard-indigo); font-weight: 700; margin: 0; padding: .25rem .6rem; }
.asgard-program-rows { max-height: 14.5rem; overflow-y: auto; }
.asgard-program-entry { display: flex; align-items: center; gap: .45rem; padding: .35rem; border-top: 1px solid var(--asgard-line); background: #edf3fa; }
.asgard-program-entry:nth-child(even) { background: #fff; }
.asgard-program-entry img { width: 2.1rem; height: 2.1rem; object-fit: contain; flex-shrink: 0; }
.asgard-program-entry div { min-width: 0; width: 100%; overflow-wrap: anywhere; font-size: .8rem; }
.asgard-program-entry strong { display: block; padding: .15rem .3rem; border-radius: .25rem; background: #d6e0ef; color: #151725; }
.asgard-program-entry .asgard-program-societe { background: #f2bd34; }
.asgard-program-entry .asgard-program-figurines { background: #fb8582; }
.asgard-program-entry .asgard-program-role { background: #52d0a9; }
.asgard-program-entry .asgard-program-cartes { background: #b2adff; }
.asgard-program-entry small { display: block; }
.asgard-program-entry a { display: inline-block; font-weight: 700; }
.asgard-front .asgard-practices .asgard-card { align-items: center; text-align: center; padding: 1rem; }
.asgard-front .asgard-practices .asgard-practice-icon { width: 4.3rem; height: 4.3rem; }
.asgard-practices .asgard-home-link { margin-top: auto; }
.asgard-event-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(41%, 30rem); gap: 1rem; overflow-x: auto; padding: .15rem .2rem .7rem; scroll-snap-type: x proximity; }
.asgard-event-tile { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--asgard-line); border-radius: .65rem; padding: .75rem; scroll-snap-align: start; }
.asgard-event-tile img { width: 45%; aspect-ratio: 1; object-fit: contain; border-radius: .4rem; }
.asgard-event-tile p { margin: .35rem 0; }
.asgard-home-band { margin-block: 1rem; }
.asgard-front .asgard-home-band h2::before { content: none; }
.asgard-front .asgard-home-band::before { content: ""; width: 3rem; height: 3rem; flex: none; background: url(assets/MeepleTriple.png) center / contain no-repeat; }
.asgard-front #premiere-visite.asgard-home-band::before { background-image: url(assets/PremiereVisite.png); }
.asgard-front .asgard-join-band { background: #e5ecf8; }
.asgard-front .asgard-join-band::before { background-image: url(assets/marteau-indigo.png); }
.asgard-front .asgard-home-band > div { flex: 1; }
.asgard-front .asgard-member-band { background: white; border: 1px solid var(--asgard-line); }
.asgard-front .asgard-member-band .asgard-button { border: 1px solid var(--asgard-indigo); background: white; color: var(--asgard-indigo); }
.asgard-front .asgard-articles .wp-block-post-template { grid-template-columns: minmax(0, 1fr); max-height: 29rem; overflow-y: auto; }
.asgard-front .asgard-articles .wp-block-post { align-items: center; min-height: 8.5rem; }
.asgard-front .wp-block-post-featured-image { flex-basis: min(20%, 9rem); }
.asgard-front .wp-block-post-featured-image img { min-height: 0; aspect-ratio: 4/3; }
.asgard-footer .asgard-shell { align-items: center; }
.asgard-footer img { display: block; width: 140px; max-width: 100%; height: auto; }
.asgard-footer nav { display: flex; gap: .6rem 1rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .asgard-home-hero { background-size: auto 100%; }
  .asgard-event-rail { grid-auto-columns: 65%; }
}
@media (max-width: 620px) {
  .asgard-home-hero { background: var(--asgard-indigo); min-height: 0; }
  .asgard-home-hero::before { content: none; }
  .asgard-home-hero .asgard-hero-copy { width: 100%; }
  .asgard-home-heading.asgard-frise::after { order: 2; flex-basis: 100%; height: 1.6rem; }
  .asgard-event-rail { grid-auto-columns: 88%; }
  .asgard-home-band { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .asgard-home-hero { flex-direction: column; gap: 1rem; }
  .asgard-home-hero::after { content: ""; width: 100%; aspect-ratio: 2.4; background: url(assets/bandeau-jeux.jpg) center / cover; border-radius: .6rem; }
}

.asgard-visit .asgard-home-heading { margin-block: 1.5rem .7rem; }
.asgard-visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.asgard-visit-grid .asgard-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem .8rem; }
.asgard-visit-grid .asgard-card :is(h3,p) { margin: 0; }
.asgard-visit-grid .asgard-card p { grid-column: 1 / -1; }
.asgard-visit-icon { width: 42px; height: 42px; object-fit: contain; }
.asgard-visit-practices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.asgard-visit-practices a { color: inherit; font-weight: 700; }
.asgard-visit-address { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin-block: 1.2rem; }
.asgard-visit-address :is(p,.asgard-actions) { margin: 0; }
@media (max-width: 720px) {
  .asgard-visit-grid { grid-template-columns: 1fr; }
  .asgard-visit-practices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) { .asgard-visit-practices { grid-template-columns: 1fr; } }

.asgard-front .asgard-practices .asgard-card {
    background-color: #eaf0fb;
    color: #30385f;
}
.asgard-practice-icon-wrap {
    display: inline-grid;
    place-items: center;
    min-width: 4.85rem;
    min-height: 4.85rem;
    border-radius: 14px;
    background-color: #dce6f8;
}
.asgard-practice-icon-wrap .asgard-practice-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(20%) saturate(1372%) hue-rotate(191deg) brightness(93%) contrast(88%);
}
@media (prefers-color-scheme: dark) {
    .asgard-front .asgard-practices .asgard-card {
        background-color: #252c40;
        border-color: #65728d;
        color: #f1f4ff;
    }
    .asgard-front .asgard-practices h3,
    .asgard-front .asgard-practices a { color: #f1f4ff; }
}

.asgard-home-heading.asgard-frise-active::after { content: none; }
.asgard-frise-modulaire {
    position: relative;
    display: flex;
    flex: 1 1 5rem;
    min-width: 0;
    height: clamp(1.5rem, 3vw, 2.6rem);
    overflow: hidden;
}
.asgard-frise-modulaire img {
    display: block;
    flex: none;
    width: auto;
    height: 100%;
    max-width: none;
}
.asgard-frise-trait {
    flex: 1;
    height: 100%;
    background: url(assets/frise-modulaire/5-aligne.png) left top / 100% 100% no-repeat;
}
@media (max-width: 620px) {
    .asgard-frise-modulaire { order: 2; flex-basis: 100%; height: 1.6rem; }
}

.asgard-social p { margin: 0 0 .35rem; }
.asgard-social nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.asgard-social-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border: 1px solid var(--asgard-indigo);
    border-radius: 50%;
    color: var(--asgard-indigo);
    background-color: #fff;
    text-decoration: none;
}
.asgard-social-icon:is(:hover, :focus-visible) {
    color: #fff;
    background-color: var(--asgard-indigo);
}
.asgard-social-icon:focus-visible {
    outline: 2px solid var(--asgard-indigo);
    outline-offset: 3px;
}
.asgard-social-icon svg { display: block; inline-size: 1.25rem; block-size: 1.25rem; }
.asgard-discord { flex-wrap: wrap; margin-block: 1.1rem; }
.asgard-discord > div { flex: 1 1 24rem; }
.asgard-discord > div { max-width: 100%; }
.asgard-discord h2,
.asgard-discord p { margin-bottom: 0; }
@media (max-width: 620px) {
    .asgard-discord > div { flex-basis: auto; }
}
.asgard-member-discord { margin-block-start: 1.25rem; }

/* Liens vers L’Escale dans Google Maps. */
.asgard-header a.asgard-location,.asgard-footer a.asgard-map-address{color:inherit;text-decoration:none}
.asgard-header a.asgard-location:hover,.asgard-footer a.asgard-map-address:hover{text-decoration:underline;text-underline-offset:.2em}
.asgard-header a.asgard-location:focus-visible,.asgard-footer a.asgard-map-address:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:3px}
