/* The trail has its own small navigation on pages with different visual systems. */
.f1-object-strip {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 2rem;
  width: min(72rem, calc(100% - 2.5rem));
  margin: 1.5rem auto;
  padding: .85rem 1.2rem;
  border: 1px solid #cbc7d6;
  border-radius: 1rem;
  background: #f3f0f8;
  color: #28243e;
  font: 500 1rem/1.4 system-ui, sans-serif;
}
.f1-object-strip > div,
.f1-files,
.f1-foot nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem 1.1rem;
}
.f1-object-strip a,
.f1-foot a {
  color: #31275e;
  text-underline-offset: .19em;
}
.f1-object-strip a {display: inline-block; padding-block: .45rem;}
.f1-object-strip a.f1-object-name {display: grid; gap: .12em; text-decoration: none;}
.f1-object-name span {font-size: .9rem;}
.f1-object-name strong {font: 650 1.15rem/1.3 system-ui, sans-serif;}
.f1-object-name:hover strong {text-decoration: underline; text-underline-offset: .15em;}
html[lang="en"] .f1-object-bilingual > [lang="ar"],
html[lang="ar"] .f1-object-bilingual > [lang="en"] {display: none;}

.f1-object-page {margin: 0; color: #242338; background: #f8f7f3; font-family: system-ui, sans-serif;}
.f1-object-page * {box-sizing: border-box;}
.f1-object-page main {width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto;}
.f1-object-page :focus-visible, .f1-object-strip :focus-visible {outline: 3px solid #5947b5; outline-offset: 4px;}
.f1-skip {position: absolute; inset-inline-start: 1rem; top: -10rem; z-index: 10; background: white; padding: .6rem;}
.f1-skip:focus {top: .5rem;}
.f1-lead {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: clamp(1.5rem, 5vw, 4.75rem);
  align-items: center;
  margin: clamp(2.5rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
}
.f1-lead h1, .f1-stations h2 {font-family: Georgia, 'Times New Roman', serif; line-height: 1.04; color: #221d39; margin: 0;}
.f1-lead h1 {font-size: clamp(3.2rem, 6vw, 6.1rem); letter-spacing: -.055em; font-weight: 500;}
.f1-lead-text > p:not(.f1-kicker) {font-size: clamp(1.06rem, 1.5vw, 1.28rem); max-width: 36em; line-height: 1.6; margin: 1.2rem 0 1.5rem;}
.f1-kicker {font-size: .92rem; font-weight: 620; color: #564975; margin: 0 0 .78rem;}
.f1-lead figure {margin: 0;}
.f1-lead figure img {display: block; width: 100%; height: auto; border-radius: 1.3rem; border: 1px solid #d1cfd6; background: #edeaf0;}
.f1-lead figcaption {margin-top: .65rem; font-size: .88rem; color: #55515f;}
.f1-lead .f1-cta {
  display: inline-block; padding: .85rem 1.25rem; background: #352756;
  color: white; border-radius: .85rem; text-decoration: none; font-weight: 650;
}
.f1-lead .f1-cta:hover {background: #493674;}
.f1-stations {display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5rem); margin-bottom: 3rem;}
.f1-stations > section {min-width: 0; padding: clamp(1.5rem, 3.5vw, 2.5rem) 0; border-top: 1px solid #bbb8c3; scroll-margin-top: 5rem;}
.f1-stations h2 {font-size: clamp(1.8rem, 3.7vw, 3.2rem); letter-spacing: -.035em; font-weight: 500;}
.f1-stations p:not(.f1-kicker) {max-width: 47em; font-size: 1.04rem; line-height: 1.6;}
.f1-stations a {color: #433071; text-underline-offset: .19em; font-weight: 620;}
.f1-instructions {background: #efedf2; border-radius: .85rem; margin: 1.05rem 0; padding: .8rem 1rem; color: #272037;}
.f1-instructions summary {cursor: pointer; font-weight: 650; padding: .25rem 0;}
.f1-instructions pre {overflow-x: auto; color: #fff; background: #282338; border-radius: .5rem; padding: .8rem; font-size: .9rem; line-height: 1.65;}
.f1-foot {border-block-start: 1px solid #d0cdd7; padding: 1.4rem 0; font-size: .95rem;}
.f1-foot > div {width: min(72rem, calc(100% - 2.5rem)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-inline: auto;}
.f1-foot .f1-brand {font-weight: 650; text-decoration: none;}
html[lang="ar"] .f1-lead h1, html[lang="ar"] .f1-stations h2 {font-family: inherit; letter-spacing: normal; line-height: 1.4;}
@media(max-width: 45rem) {
  .f1-lead, .f1-stations {grid-template-columns: 1fr;}
  .f1-lead {margin-top: 2rem;}
  .f1-object-strip {align-items: start; flex-direction: column; gap: .1rem;}
}
.f1-classroom-trial {
  margin: 1.2rem 0;
  border: 1px solid #c2bbcf;
  border-radius: .85rem;
  padding: .8rem 1rem;
  background: #f3f0f8;
  color: #28243e;
}
.f1-classroom-trial summary {cursor: pointer; font-weight: 620; padding-block: .25rem;}
.f1-classroom-trial label {display: block; margin-block: .75rem .2rem;}
.f1-classroom-trial select {width: auto; max-width: 100%; color: #242033; background-color: #fff;}
.f1-classroom-trial output {font-weight: 700; margin-inline-start: .4em;}
