.diag {
  border-radius: 24px;
  min-height: 380px;
  display: grid;
  overflow: hidden;
}
.theme-light {
  background: #fff;
}
.theme-dark {
  color: #fff;
  background: #0f1b2d;
}
.theme-accent.diag {
  color: #fff;
  background: #0b7480;
}
.panel {
  z-index: 1;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  position: relative;
}
.inner {
  justify-items: start;
  gap: 18px;
  max-width: 520px;
  display: grid;
}
.crumbs ol {
  color: #5e6d7f;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  list-style: none;
  display: flex;
}
.on-dark .crumbs ol {
  color: #b9c6d6;
}
.crumbs li + li:before {
  content: "/";
  opacity: 0.5;
  margin-right: 6px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.img {
  min-height: 240px;
}
.img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
@media (width>=900px) {
  .diag {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    margin-right: -12%;
    padding-right: 18%;
  }
  .dir-reversed .panel {
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    order: 2;
    margin: 0 0 0 -12%;
    padding: 64px 64px 64px 18%;
  }
}
.filter {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  display: flex;
}
.filter[hidden] {
  display: none;
}
.flabel {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5e6d7f;
  margin-right: 6px;
  font-size: 11.5px;
  font-weight: 800;
}
.filter button {
  color: #26384e;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #0f1b2d24;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font:
    600 14px/1 Inter,
    sans-serif;
  transition:
    background-color 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.filter button:hover {
  border-color: #0fa3b1;
}
.filter button[aria-pressed="true"] {
  color: #fff;
  background: #0f1b2d;
  border-color: #0f1b2d;
}
.cards {
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
@media (width>=680px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width>=1040px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cards li[hidden] {
  display: none;
}
.card {
  background: #fff;
  border: 1px solid #0f1b2d12;
  border-radius: 22px;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.32s;
  display: flex;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 44px -28px #0f1b2d73;
}
.cimg {
  aspect-ratio: 4/3;
  background: #eef3f7;
  display: block;
  overflow: hidden;
}
.cimg img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: block;
}
.card:hover .cimg img {
  transform: scale(1.04);
}
.cbody {
  flex: 1;
  align-content: start;
  gap: 10px;
  padding: 20px 22px 24px;
  display: grid;
}
.cmeta {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}
.diff-beginner {
  color: #0b6f79;
  background: #0fa3b11a;
}
.diff-intermediate {
  color: #7a4d00;
  background: #fff3dc;
}
.diff-advanced {
  color: #a5361b;
  background: #fde8e2;
}
.cex {
  color: #5e6d7f;
  font-size: 14px;
  line-height: 1.6;
}
.ctypes {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}
.ctypes span {
  color: #3d4f66;
  border: 1px dashed #b9c6d4;
  border-radius: 99px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
}
.cgo {
  color: #0b7480;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
}
.cgo svg {
  width: 14px;
  height: 14px;
}
.gg .sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .cimg img {
    transition: none;
  }
  .card:hover,
  .card:hover .cimg img {
    transform: none;
  }
}
.hub-top {
  padding-top: clamp(16px, 3vw, 32px);
}
.intro {
  gap: 18px;
  padding-top: clamp(40px, 6vw, 72px);
  display: grid;
}
@media (width>=900px) {
  .intro {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 64px;
  }
}
.intro-head {
  align-content: start;
  gap: 14px;
  display: grid;
}
.intro-body {
  max-width: 720px;
}
.intro-body p {
  color: #26384e;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.75;
}
.intro-body p:first-child:first-letter {
  float: left;
  color: #0fa3b1;
  margin: 6px 10px 0 0;
  font-family:
    Plus Jakarta Sans,
    sans-serif;
  font-size: 3.2em;
  font-weight: 800;
  line-height: 0.9;
}
.intro-body a {
  color: #0b6f79;
  text-underline-offset: 3px;
  font-weight: 600;
  text-decoration-thickness: 2px;
}
.list {
  padding-top: clamp(48px, 7vw, 88px);
}
.list-head {
  gap: 12px;
  margin-bottom: 28px;
  display: grid;
}
.cta-pad {
  padding-top: clamp(56px, 8vw, 104px);
}
