/* YELLA Fishing v1.1.85 — premium water-unit glossary.
   Real semantic HTML and scalable SVG icons; scoped entirely to Lakes History. */
#page-waterways .yella-wh-learn.yella-wh-learn--premium,
html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn.yella-wh-learn--premium {
  isolation:isolate;
  position:relative;
  overflow:hidden;
  margin-top:38px;
  padding:44px 40px 40px;
  background:
    radial-gradient(ellipse 78% 88% at 90% -28%,rgba(17,89,118,.35),transparent 68%),
    linear-gradient(128deg,rgba(5,31,44,.99),rgba(4,26,38,.97) 58%,rgba(9,45,59,.97))!important;
  border:1px solid rgba(81,153,174,.23)!important;
  border-radius:23px;
  box-shadow:0 18px 50px rgba(0,8,16,.18)!important;
  color:#edf7f8!important;
}
/* Water-inspired contour texture, lower contrast than the mockup's illustration. */
#page-waterways .yella-wh-learn--premium::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:url('./assets/yella-ocean-contours-v1102.svg');
  background-repeat:repeat;
  background-size:900px auto;
  opacity:.11;
  pointer-events:none;
  z-index:-1;
}
#page-waterways .yella-wh-learn--premium h2,
html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn--premium h2 {
  margin:0 0 32px!important;
  font-family:'Manrope','Inter','DM Sans',system-ui,sans-serif!important;
  color:#f4f8fa!important;
  font-size:clamp(30px,3.4vw,48px)!important;
  font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:-.045em!important;
  text-wrap:balance;
}
#page-waterways .yella-wh-learn--premium .yella-wh-glossary {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:17px!important;
}
#page-waterways .yella-wh-learn--premium .yella-wh-unit-card,
html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn--premium .yella-wh-unit-card {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  min-height:244px;
  overflow:hidden;
  padding:26px 24px 25px!important;
  border-radius:19px!important;
  border:1px solid rgba(93,186,207,.45)!important;
  background:
    radial-gradient(circle at 100% 0,rgba(48,125,147,.10),transparent 55%),
    linear-gradient(150deg,rgba(11,47,63,.91),rgba(6,31,44,.91))!important;
  box-shadow:inset 0 1px 0 rgba(173,230,239,.08),inset 0 -18px 32px rgba(5,56,73,.1),0 10px 25px rgba(0,12,23,.18)!important;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
#page-waterways .yella-wh-learn--premium .yella-wh-unit-card--gold,
html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn--premium .yella-wh-unit-card--gold {
  border-color:rgba(230,188,103,.52)!important;
  background:
    radial-gradient(circle at 0 0,rgba(233,180,77,.07),transparent 65%),
    linear-gradient(150deg,rgba(15,43,51,.95),rgba(6,31,44,.93))!important;
}
#page-waterways .yella-wh-learn--premium .yella-wh-unit-card::after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:27%;
  opacity:.22;
  background:url('./assets/yella-ocean-contours-v1102.svg') left bottom / 620px auto repeat;
  mask-image:linear-gradient(to bottom,transparent,#000);
  pointer-events:none;
}
#page-waterways .yella-wh-learn--premium .yella-wh-unit-icon {
  display:grid;
  place-items:center;
  flex:none;
  width:64px;
  height:64px;
  margin-bottom:19px;
  border-radius:50%;
  border:1px solid rgba(83,205,225,.65);
  color:#53d2e5;
  background:radial-gradient(circle at 45% 25%,rgba(24,144,176,.33),rgba(2,26,40,.85) 68%);
  box-shadow:0 0 23px rgba(27,145,183,.14),inset 0 1px 0 rgba(179,233,243,.11);
}
#page-waterways .yella-wh-learn--premium .yella-wh-unit-card--gold .yella-wh-unit-icon {
  border-color:rgba(240,189,76,.65);
  color:#f4c458;
  background:radial-gradient(circle at 48% 25%,rgba(165,113,20,.25),rgba(2,26,39,.90) 70%);
  box-shadow:0 0 20px rgba(238,176,65,.09),inset 0 1px 0 rgba(255,233,166,.13);
}
#page-waterways .yella-wh-learn--premium .yella-wh-unit-card h3,
html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn--premium .yella-wh-unit-card h3 {
  font-family:'Manrope','Inter','DM Sans',system-ui,sans-serif!important;
  font-size:clamp(17px,1.5vw,21px)!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:-.025em!important;
  color:#f1f7f9!important;
  margin:0 0 10px!important;
}
#page-waterways .yella-wh-learn--premium .yella-wh-unit-card p,
html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn--premium .yella-wh-unit-card p {
  margin:0!important;
  font-family:'DM Sans','Inter',system-ui,sans-serif!important;
  font-size:13.5px!important;
  line-height:1.7!important;
  font-weight:400!important;
  color:#c5d9df!important;
  text-wrap:pretty;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-card:hover {
    transform:translateY(-4px);
    border-color:rgba(127,222,230,.70)!important;
    box-shadow:inset 0 1px 0 rgba(182,235,245,.1),0 20px 35px rgba(0,7,15,.29),0 0 25px rgba(50,146,179,.10)!important;
  }
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-card--gold:hover {
    border-color:rgba(251,204,101,.78)!important;
  }
}
@media(max-width:980px) {
  #page-waterways .yella-wh-learn--premium .yella-wh-glossary {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-card {
    min-height:218px;
  }
}
@media(max-width:580px) {
  #page-waterways .yella-wh-learn.yella-wh-learn--premium,
  html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn.yella-wh-learn--premium {
    margin-top:27px;
    padding:26px 17px 19px;
    border-radius:18px;
  }
  #page-waterways .yella-wh-learn--premium h2 {
    margin-bottom:20px!important;
    font-size:clamp(28px,8vw,35px)!important;
    letter-spacing:-.04em!important;
  }
  #page-waterways .yella-wh-learn--premium .yella-wh-glossary {
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-card,
  html[data-yella-theme="dark"] body #page-waterways .yella-wh-learn--premium .yella-wh-unit-card {
    min-height:0;
    padding:20px!important;
    border-radius:17px!important;
  }
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-icon {
    height:52px;
    width:52px;
    margin-bottom:14px;
  }
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-icon svg {width:25px;height:25px}
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-card h3 {font-size:19px!important}
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-card p {font-size:13px!important}
}
@media(prefers-reduced-motion:reduce) {
  #page-waterways .yella-wh-learn--premium .yella-wh-unit-card {transition:none}
}
