/* Crestwood Test Series: navigation button and homepage call to action. */
.nav .cw-test-series-link,
.cw-test-series-home .btn.cw-test-series-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 44px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.25;
  font-weight: 800;
  -webkit-tap-highlight-color: transparent;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 250ms ease, border-color 250ms ease;
}
.nav .cw-test-series-link {
  margin: 8px 0;
  padding: 6px 8px 6px 6px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .01em;
  background: linear-gradient(125deg,#354154 0%,#293241 64%,#202a39 100%);
  border-color: #293241;
  box-shadow: inset 0 1px 0 #ffffff16, 0 3px 8px #1b26321a;
}
.cw-ts-label,
.cw-ts-icon,
.cw-ts-arrow {
  position: relative;
  z-index: 1;
}
.cw-ts-icon,
.cw-ts-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}
.cw-test-series-link .cw-ts-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff24;
  border-radius: 9px;
  color: #253044;
  background: linear-gradient(145deg,#ffad92,#ee6c4d);
  box-shadow: inset 0 1px 0 #ffffff48;
  transition: transform 250ms cubic-bezier(.2,.7,.2,1);
}
.cw-ts-icon svg { width: 20px; height: 20px; }
.cw-test-series-link .cw-ts-arrow {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  border: 1px solid #ffffff25;
  border-radius: 50%;
  color: #ffc1ae;
  background: #ffffff09;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}
.cw-ts-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 250ms cubic-bezier(.2,.7,.2,1);
}
.nav .cw-test-series-link::before,
.cw-test-series-home .btn.cw-test-series-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -50%;
  left: 0;
  width: 45%;
  height: 200%;
  pointer-events: none;
  background: linear-gradient(90deg,transparent,#ffffff23,transparent);
  transform: translate3d(-240%,0,0) rotate(18deg);
}
.cw-test-series-home .btn.cw-test-series-cta {
  gap: 24px;
  min-height: 54px;
  padding: 9px 10px 9px 21px;
  color: #1c293c;
  font-size: 15px;
  letter-spacing: .01em;
  background: linear-gradient(115deg,#ffb194 0%,#f88665 48%,#ee6c4d 100%);
  border-color: #ffbcaa;
  box-shadow: inset 0 1px 0 #ffffff3b, 0 5px 14px #111c2b30;
}
.cw-test-series-cta .cw-ts-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid #29324118;
  border-radius: 10px;
  color: #fff;
  background: #293241;
  box-shadow: inset 0 1px 0 #ffffff15;
  transition: background-color 220ms ease;
}
.cw-test-series-cta .cw-ts-arrow svg { width: 18px; height: 18px; }
.nav .cw-test-series-link:focus-visible {
  outline: 3px solid #ee6c4d;
  outline-offset: 4px;
}
.cw-test-series-home .btn.cw-test-series-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
@media (hover:hover) and (pointer:fine) {
  .nav .cw-test-series-link:hover {
    color: #fff;
    border-color: #d97559;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #ffffff20, 0 7px 16px #29324126, 0 0 0 3px #ee6c4d12;
  }
  .nav .cw-test-series-link:hover .cw-ts-icon { transform: rotate(-5deg); }
  .nav .cw-test-series-link:hover .cw-ts-arrow {
    color: #fff;
    border-color: #ffb8a56b;
    background-color: #ee6c4d25;
  }
  .cw-test-series-home .btn.cw-test-series-cta:hover {
    color: #1c293c;
    border-color: #ffd1c0;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #ffffff55, 0 10px 22px #111c2b45, 0 0 0 4px #ee6c4d12;
  }
  .cw-test-series-cta:hover .cw-ts-arrow { background-color: #192638; }
  .cw-test-series-link:hover .cw-ts-arrow svg,
  .cw-test-series-cta:hover .cw-ts-arrow svg { transform: translateX(2px); }
  .nav .cw-test-series-link:hover::before,
  .cw-test-series-home .btn.cw-test-series-cta:hover::before {
    animation: cw-test-series-sheen 650ms cubic-bezier(.2,.65,.3,1) 1 both;
  }
}
.nav .cw-test-series-link:active,
.cw-test-series-home .btn.cw-test-series-cta:active {
  transform: translateY(0);
  transition-duration: 80ms;
}
@keyframes cw-test-series-sheen {
  from { transform: translate3d(-240%,0,0) rotate(18deg); }
  to { transform: translate3d(340%,0,0) rotate(18deg); }
}

/* Existing homepage panel layout. */
.cw-test-series-home{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:center;background:#293241;color:#fff;border-radius:18px;margin:28px 0;padding:40px 44px}
.cw-test-series-home .eyebrow{color:#ffb8a5}
.cw-test-series-home h2{font-family:Arial,Helvetica,sans-serif;font-weight:800;letter-spacing:-.04em;font-size:clamp(29px,3.3vw,43px);margin:14px 0;line-height:1.1;color:#fff}
.cw-test-series-home p{color:#dde5ef;max-width:470px;margin-bottom:22px;font-size:15px}
.cw-test-series-features{display:grid;gap:14px}
.cw-test-series-features span{display:flex;align-items:center;gap:16px;border-bottom:1px solid #ffffff30;padding:14px 0;font-size:16px;font-weight:600}
.cw-test-series-features b{font-size:28px;color:#ffb8a5;font-family:Georgia,serif}
@media(max-width:650px){
  .cw-test-series-home{grid-template-columns:1fr;gap:20px;padding:28px 24px}
  .cw-test-series-home h2{font-size:32px}
  .cw-test-series-features{gap:2px}
  .cw-test-series-features span{font-size:14px;padding:8px 0}
  .cw-test-series-features b{font-size:23px}
  .cw-test-series-home .btn.cw-test-series-cta{gap:18px;padding-left:17px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  .nav .cw-test-series-link,
  .cw-test-series-home .btn.cw-test-series-cta,
  .cw-test-series-link .cw-ts-icon,
  .cw-ts-arrow,
  .cw-ts-arrow svg { transition:none; }
  .nav .cw-test-series-link:hover,
  .cw-test-series-home .btn.cw-test-series-cta:hover,
  .nav .cw-test-series-link:hover .cw-ts-icon,
  .cw-test-series-link:hover .cw-ts-arrow svg,
  .cw-test-series-cta:hover .cw-ts-arrow svg { transform:none; }
  .nav .cw-test-series-link::before,
  .cw-test-series-home .btn.cw-test-series-cta::before { display:none; animation:none!important; }
}
