.entry-switch{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  width:100%;
  max-width:1240px;
  margin:20px auto;
  padding:0 24px;
}

.entry-switch a{
  --entry-rgb:70,111,101;
  position:relative;
  display:flex;
  min-width:0;
  min-height:76px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:16px 14px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:18px;
  color:#12343d;
  background:linear-gradient(145deg,rgba(255,255,255,.56),rgba(255,255,255,.18));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98),inset 0 -1px 0 rgba(18,52,61,.09),0 12px 28px rgba(18,52,61,.12);
  font-weight:700;
  text-decoration:none;
  -webkit-backdrop-filter:blur(17px) saturate(112%);
  backdrop-filter:blur(17px) saturate(112%);
  transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .22s ease,background .22s ease;
}

.entry-switch a:nth-child(2){--entry-rgb:65,116,180}
.entry-switch a:nth-child(3){--entry-rgb:174,132,48}
.entry-switch a:nth-child(4){--entry-rgb:116,88,165}
.entry-switch a:nth-child(5){--entry-rgb:197,73,99}

.entry-switch a::before{
  position:absolute;
  inset:1px 10px auto;
  height:1px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.96),transparent);
  content:"";
}

.entry-switch-index{
  position:absolute;
  top:9px;
  left:11px;
  color:rgb(var(--entry-rgb));
  font:800 9px/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  letter-spacing:.08em;
}

.entry-switch a strong{
  max-width:100%;
  overflow-wrap:anywhere;
  font-size:15px;
  line-height:1.12;
  text-align:center;
}

.entry-switch a:hover,
.entry-switch a:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(var(--entry-rgb),.62);
  background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(255,255,255,.28));
  box-shadow:inset 0 1px 0 #fff,0 18px 34px rgba(18,52,61,.18);
}

.entry-switch a[aria-current]{
  border-color:rgba(var(--entry-rgb),.72);
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(var(--entry-rgb),.14));
  box-shadow:inset 0 1px 0 #fff,inset 4px 0 0 rgba(var(--entry-rgb),.78),0 16px 34px rgba(18,52,61,.16);
}

body.faults-page.entry-release .faults-hero{
  padding:28px 0 54px;
  color:#163b41;
  background:
    linear-gradient(100deg,rgba(246,250,251,.96) 0%,rgba(246,250,251,.88) 43%,rgba(246,250,251,.38) 70%,rgba(246,250,251,.08) 100%),
    url("home-cards/guasti-controller-v1.webp") 72% 48%/cover no-repeat!important;
  box-shadow:inset 0 -1px 0 rgba(64,106,104,.18),0 20px 48px rgba(18,52,61,.10);
}

body.faults-page.entry-release .faults-hero > .entry-switch{margin:0 auto 38px}
body.faults-page.entry-release .faults-hero h1{font-size:clamp(2rem,5vw,3.4rem);text-shadow:0 1px 12px rgba(255,255,255,.9)}
body.faults-page.entry-release .faults-hero h1 span{color:#23685f}
body.faults-page.entry-release .faults-hero p:not(.eyebrow){color:#355b5a}
body.faults-page.entry-release .faults-hero aside{border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.46);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 16px 35px rgba(18,52,61,.11);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}
body.faults-page.entry-release .faults-hero aside li{color:#203f42;border-color:rgba(41,86,84,.18)}

.entry-release :is(button,select,input[type=search],summary){min-height:48px}
.entry-release :is(a,button,input,select,summary):focus-visible{outline:3px solid #d35b15;outline-offset:4px}
.entry-release [hidden]{display:none!important}
.entry-deep{max-width:1240px;margin:24px auto;border:1px solid #bacbd0;border-radius:12px;overflow:hidden}
.entry-deep>summary{padding:20px;background:#e8f0f3;color:#17333e;font-weight:700;cursor:pointer}
.entry-release .faults-directory{padding-top:20px}
.entry-release .fault-filter-bar{display:flex;flex-wrap:wrap;gap:12px}
.entry-release .fault-empty a{display:block;padding:16px;color:#164e63}
.entry-release .faults-hero-grid{align-items:start}
.entry-release .faults-hero aside{font-size:1rem}
.entry-release .fault-card-grid{scroll-margin-top:100px}

@media(max-width:700px){
  .entry-switch{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px;gap:8px}
  .entry-switch a{min-height:64px;padding:10px 8px}
  .entry-switch a:nth-child(5){grid-column:1/-1}
  .entry-switch a strong{font-size:14px}
  body.faults-page.entry-release .faults-hero{padding:22px 0 42px;background-position:67% center!important}
  body.faults-page.entry-release .faults-hero > .entry-switch{margin-bottom:32px}
  .entry-release .faults-hero-grid{grid-template-columns:1fr}
  .entry-release .faults-hero aside{display:none}
  .entry-deep{margin:20px 16px}
  .entry-release .fault-search>div{display:flex;flex-wrap:wrap;gap:12px}
  .entry-release .fault-search input{min-width:0;flex:1 1 200px}
  .entry-release .fault-search button{flex:1 1 100px}
}
