.lfihm-quick-links{
  --quick-navy:var(--navy,#071d49);
  --quick-blue:var(--blue,#0839a8);
  --quick-cyan:var(--cyan,#23b5c5);
  --quick-gold:var(--gold,#e2aa4f);
  --quick-muted:var(--muted,#647087);
  width:min(1180px,100%);
  margin:clamp(32px,5vw,64px) auto;
  color:var(--quick-navy);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.lfihm-quick-links__header{
  max-width:760px;
  margin:0 auto clamp(24px,4vw,38px);
  text-align:center;
}
.lfihm-quick-links__eyebrow{
  margin:0 0 9px;
  color:var(--quick-blue);
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.lfihm-quick-links__header h2{
  margin:0;
  color:var(--quick-navy);
  font:700 clamp(2rem,5vw,3.25rem)/1.08 Georgia,"Times New Roman",serif;
  letter-spacing:-.03em;
}
.lfihm-quick-links__intro{
  margin:14px auto 0;
  color:var(--quick-muted);
  font-size:1rem;
  line-height:1.65;
}
.lfihm-quick-links__grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.lfihm-quick-links__card{
  --quick-accent:var(--quick-blue);
  position:relative;
  display:flex;
  min-width:0;
  min-height:178px;
  flex-direction:column;
  align-items:flex-start;
  padding:21px 19px 18px;
  overflow:hidden;
  border:1px solid rgba(7,29,73,.12);
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#f7f9fc);
  box-shadow:0 11px 28px rgba(7,29,73,.075);
  color:var(--quick-navy);
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.lfihm-quick-links__card::before{
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:var(--quick-accent);
  content:"";
}
.lfihm-quick-links__card--agenda{--quick-accent:var(--quick-cyan)}
.lfihm-quick-links__card--documents{--quick-accent:#7255b5}
.lfihm-quick-links__card--contact{--quick-accent:var(--quick-gold)}
.lfihm-quick-links__card--pronote{--quick-accent:#008655}
.lfihm-quick-links__icon{
  display:grid;
  width:46px;
  height:46px;
  place-items:center;
  border-radius:14px;
  background:#f1f4fa;
  background:color-mix(in srgb,var(--quick-accent) 12%,#fff);
  color:var(--quick-accent);
}
.lfihm-quick-links__icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.8;
}
.lfihm-quick-links__icon img{
  display:block;
  width:31px;
  height:31px;
}
.lfihm-quick-links__content{
  display:grid;
  gap:7px;
  margin-top:17px;
}
.lfihm-quick-links__content strong{
  color:var(--quick-navy);
  font:700 1.08rem/1.25 Georgia,"Times New Roman",serif;
}
.lfihm-quick-links__content small{
  color:var(--quick-muted);
  font-size:.78rem;
  line-height:1.5;
}
.lfihm-quick-links__arrow{
  margin-top:auto;
  padding-top:14px;
  color:var(--quick-accent);
  font-size:1.15rem;
  font-weight:900;
  transition:transform .2s ease;
}
.lfihm-quick-links__sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.lfihm-quick-links__card:hover{
  transform:translateY(-4px);
  border-color:color-mix(in srgb,var(--quick-accent) 38%,transparent);
  box-shadow:0 17px 36px rgba(7,29,73,.13);
}
.lfihm-quick-links__card:hover .lfihm-quick-links__arrow{transform:translateX(4px)}
.lfihm-quick-links__card:focus-visible{
  outline:3px solid var(--quick-cyan);
  outline-offset:4px;
}
.lfihm-quick-links--compact{
  width:100%;
  margin:0;
  transform:translateY(-24px);
}
.lfihm-quick-links--compact .lfihm-quick-links__header{
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.lfihm-quick-links--compact .lfihm-quick-links__grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid rgba(7,29,73,.09);
  border-radius:16px;
  background:#e6eaf0;
  box-shadow:0 18px 55px rgba(7,29,73,.12);
}
.lfihm-quick-links--compact .lfihm-quick-links__card{
  display:grid;
  min-height:104px;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  padding:16px 14px;
  border:0;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
.lfihm-quick-links--compact .lfihm-quick-links__card::before{width:3px}
.lfihm-quick-links--compact .lfihm-quick-links__icon{
  width:38px;
  height:38px;
  border-radius:11px;
}
.lfihm-quick-links--compact .lfihm-quick-links__icon svg{
  width:21px;
  height:21px;
}
.lfihm-quick-links--compact .lfihm-quick-links__icon img{
  width:27px;
  height:27px;
}
.lfihm-quick-links--compact .lfihm-quick-links__content{
  gap:3px;
  margin-top:0;
}
.lfihm-quick-links--compact .lfihm-quick-links__content strong{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:.84rem;
  line-height:1.25;
}
.lfihm-quick-links--compact .lfihm-quick-links__content small{
  font-size:.67rem;
  line-height:1.35;
}
.lfihm-quick-links--compact .lfihm-quick-links__arrow{
  margin-top:0;
  padding-top:0;
  font-size:1rem;
}
.lfihm-quick-links--compact .lfihm-quick-links__card:hover{
  transform:none;
  background:#f7f9fc;
  box-shadow:none;
}
@media(max-width:1120px){
  .lfihm-quick-links--compact .lfihm-quick-links__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1050px){
  .lfihm-quick-links__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .lfihm-quick-links__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lfihm-quick-links--compact .lfihm-quick-links__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .lfihm-quick-links__grid{grid-template-columns:1fr}
  .lfihm-quick-links__card{
    min-height:auto;
    display:grid;
    grid-template-columns:46px minmax(0,1fr) auto;
    gap:14px;
    align-items:center;
    padding:17px;
  }
  .lfihm-quick-links__content{margin-top:0}
  .lfihm-quick-links__arrow{margin-top:0;padding-top:0}
  .lfihm-quick-links--compact{transform:none}
  .lfihm-quick-links--compact .lfihm-quick-links__grid{grid-template-columns:1fr;border-radius:12px}
  .lfihm-quick-links--compact .lfihm-quick-links__card{min-height:78px;border:0}
}
@media(prefers-reduced-motion:reduce){
  .lfihm-quick-links__card,.lfihm-quick-links__arrow{transition:none}
}
@media print{
  .lfihm-quick-links{margin:0}
  .lfihm-quick-links__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lfihm-quick-links__card{min-height:0;border:1px solid #777;background:#fff;box-shadow:none}
}
