/* Area archive enhancements. Loaded only on bsm_area taxonomy pages. */
body.tax-bsm_area .bsm-area-recommended{
  margin:28px 0 8px;
}

body.tax-bsm_area .bsm-area-recommended__title{
  position:relative;
  margin:0!important;
  padding:0 0 0 15px!important;
  border:0!important;
  background:transparent!important;
  color:#10243c;
  font-size:clamp(21px,2.2vw,27px);
  font-weight:900;
  line-height:1.4;
}

body.tax-bsm_area .bsm-area-recommended__title::before{
  content:"";
  position:absolute;
  left:0;
  top:.22em;
  width:4px;
  height:1.05em;
  border-radius:999px;
  background:#1769aa;
}

body.tax-bsm_area .bsm-area-recommended__title::after{
  content:none!important;
}

body.tax-bsm_area .bsm-area-guide-cta{
  --bsm-area-guide-navy:#08243f;
  --bsm-area-guide-blue:#0f6096;
  --bsm-area-guide-cyan:#65d6f6;
  position:relative;
  box-sizing:border-box;
  margin:16px 0 0;
  overflow:hidden;
  border:1px solid rgba(91,181,224,.32);
  border-radius:14px;
  background:
    radial-gradient(circle at 95% -28%,rgba(95,208,243,.38),transparent 39%),
    linear-gradient(128deg,var(--bsm-area-guide-navy) 0%,#0b3154 62%,var(--bsm-area-guide-blue) 135%);
  box-shadow:0 14px 32px rgba(8,36,63,.14);
  isolation:isolate;
}

body.tax-bsm_area .bsm-area-guide-cta::before,
body.tax-bsm_area .bsm-area-guide-cta::after{
  content:"";
  position:absolute;
  z-index:0;
  border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  pointer-events:none;
  transform:rotate(-11deg);
}

body.tax-bsm_area .bsm-area-guide-cta::before{
  right:-70px;
  bottom:-105px;
  width:300px;
  height:190px;
}

body.tax-bsm_area .bsm-area-guide-cta::after{
  right:42px;
  bottom:-132px;
  width:340px;
  height:210px;
  opacity:.65;
}

body.tax-bsm_area .bsm-area-guide-cta__link{
  position:relative;
  z-index:1;
  display:grid;
  box-sizing:border-box;
  grid-template-columns:minmax(250px,34%) minmax(0,1fr);
  align-items:stretch;
  min-height:210px;
  color:#fff!important;
  text-decoration:none!important;
}

body.tax-bsm_area .bsm-area-guide-cta__link:focus-visible{
  outline:3px solid #8de3ff;
  outline-offset:-5px;
}

body.tax-bsm_area .bsm-area-guide-cta__media{
  position:relative;
  display:block;
  min-width:0;
  min-height:210px;
  overflow:hidden;
  background:linear-gradient(145deg,#123d60,#071d34);
}

body.tax-bsm_area .bsm-area-guide-cta__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(4,23,40,.04) 45%,rgba(4,23,40,.52) 100%),
    linear-gradient(0deg,rgba(4,23,40,.64) 0%,transparent 48%);
  pointer-events:none;
}

body.tax-bsm_area .bsm-area-guide-cta__image{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.001);
  transition:transform .45s ease,filter .35s ease;
}

body.tax-bsm_area .bsm-area-guide-cta__placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 30% 25%,rgba(101,214,246,.24),transparent 34%),
    linear-gradient(145deg,#174e76,#071d34);
}

body.tax-bsm_area .bsm-area-guide-cta__placeholder svg{
  width:64px;
  height:64px;
  fill:none;
  stroke:var(--bsm-area-guide-cyan);
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.tax-bsm_area .bsm-area-guide-cta__media-label{
  position:absolute;
  z-index:2;
  left:18px;
  bottom:16px;
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.26);
  border-radius:999px;
  background:rgba(5,31,53,.68);
  box-shadow:0 5px 16px rgba(0,0,0,.14);
  color:#fff;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
  backdrop-filter:blur(7px);
}

body.tax-bsm_area .bsm-area-guide-cta__body{
  display:flex;
  box-sizing:border-box;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  padding:22px 25px 21px;
}

body.tax-bsm_area .bsm-area-guide-cta__eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 7px;
  color:#8de3ff;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  line-height:1.4;
}

body.tax-bsm_area .bsm-area-guide-cta__eyebrow::before{
  content:"";
  width:20px;
  height:2px;
  border-radius:2px;
  background:currentColor;
}

body.tax-bsm_area .bsm-area-guide-cta__title{
  display:-webkit-box;
  overflow:hidden;
  color:#fff;
  font-size:clamp(20px,2vw,24px);
  font-weight:900;
  letter-spacing:.01em;
  line-height:1.42;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

body.tax-bsm_area .bsm-area-guide-cta__description{
  display:-webkit-box;
  overflow:hidden;
  margin-top:8px;
  color:#dbeaf5;
  font-size:13px;
  line-height:1.75;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

body.tax-bsm_area .bsm-area-guide-cta__footer{
  display:flex;
  width:100%;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:13px 18px;
  margin-top:auto;
  padding-top:14px;
}

body.tax-bsm_area .bsm-area-guide-cta__topics{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

body.tax-bsm_area .bsm-area-guide-cta__topics > span{
  padding:4px 9px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#eaf7ff;
  font-size:10px;
  font-weight:700;
  line-height:1.35;
}

body.tax-bsm_area .bsm-area-guide-cta__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:0 17px;
  border:1px solid rgba(255,255,255,.88);
  border-radius:999px;
  background:#fff;
  box-shadow:0 10px 25px rgba(1,19,36,.2);
  color:#0a3659;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  transition:transform .2s ease,box-shadow .2s ease;
}

body.tax-bsm_area .bsm-area-guide-cta__action svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .2s ease;
}

body.tax-bsm_area .bsm-area-guide-cta__link:hover .bsm-area-guide-cta__image{
  filter:saturate(1.06) contrast(1.03);
  transform:scale(1.035);
}

body.tax-bsm_area .bsm-area-guide-cta__link:hover .bsm-area-guide-cta__action{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(1,19,36,.26);
}

body.tax-bsm_area .bsm-area-guide-cta__link:hover .bsm-area-guide-cta__action svg{
  transform:translateX(3px);
}

@media (max-width:760px){
  body.tax-bsm_area .bsm-area-recommended{
    margin-top:26px;
  }

  body.tax-bsm_area .bsm-area-guide-cta{
    margin:14px 0 0;
    border-radius:14px;
  }

  body.tax-bsm_area .bsm-area-guide-cta__link{
    grid-template-columns:1fr;
    min-height:0;
  }

  body.tax-bsm_area .bsm-area-guide-cta__media{
    min-height:0;
    aspect-ratio:16/9;
  }

  body.tax-bsm_area .bsm-area-guide-cta__media::after{
    background:linear-gradient(0deg,rgba(4,23,40,.68) 0%,transparent 56%);
  }

  body.tax-bsm_area .bsm-area-guide-cta__body{
    padding:21px 20px 20px;
  }

  body.tax-bsm_area .bsm-area-guide-cta__title{
    font-size:21px;
  }

  body.tax-bsm_area .bsm-area-guide-cta__footer{
    align-items:stretch;
    flex-direction:column;
    padding-top:16px;
  }

  body.tax-bsm_area .bsm-area-guide-cta__action{
    width:100%;
    box-sizing:border-box;
  }
}

@media (max-width:430px){
  body.tax-bsm_area .bsm-area-guide-cta__media-label{
    left:14px;
    bottom:13px;
  }

  body.tax-bsm_area .bsm-area-guide-cta__body{
    padding:18px 17px 17px;
  }

  body.tax-bsm_area .bsm-area-guide-cta__eyebrow{
    font-size:9px;
    letter-spacing:.12em;
  }

  body.tax-bsm_area .bsm-area-guide-cta__title{
    font-size:19px;
  }

  body.tax-bsm_area .bsm-area-guide-cta__description{
    font-size:12px;
  }
}

@media (prefers-reduced-motion:reduce){
  body.tax-bsm_area .bsm-area-guide-cta__image,
  body.tax-bsm_area .bsm-area-guide-cta__action,
  body.tax-bsm_area .bsm-area-guide-cta__action svg{
    transition:none;
  }
}
