/* Etusivun yläosa – "iltarusko" (mockup K, 2026-11-16): blue → violet → pink band from edge to edge,
   heart gauge ring + check list, two pill buttons and a pink family button. */
.ykh { position: relative; isolation: isolate; margin: 0 0 0; padding: 20px 0 24px; color: #fff; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
/* the band reaches the screen edges (absolute, so it never widens Themify's flex column; #pagewrap clips overflow) */
.ykh::before { content: ""; position: absolute; z-index: -2; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw;
  background: radial-gradient(circle at 100% 100%, rgba(255,140,160,.55), rgba(255,140,160,0) 260px),
              linear-gradient(165deg, #0c2a55 0%, #1b5fc0 45%, #7c4dff 78%, #ff4d6d 112%); }
.ykh { overflow: visible; }
.ykh__in { display: flex; flex-direction: column; gap: 14px; }
.ykh__badge { align-self: flex-start; padding: 7px 11px; border-radius: 999px; background: rgba(11,22,38,.5); border: 1px solid rgba(255,255,255,.18);
  font-size: 12px; font-weight: 700; line-height: 1.2; color: #fff; }
.home .ykh .ykh__title { margin: 0 !important; padding: 0 !important; text-wrap: balance; font: 800 min(16.5px, 4.2vw)/1.2 Sora, Inter, sans-serif !important;
  letter-spacing: -.02em; color: #fff !important; text-transform: none !important; }
.ykh-grad { background: linear-gradient(90deg, #ffb3c1, #d9c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ykh__row { display: flex; align-items: center; gap: 14px; }
.ykh__ring { flex: none; position: relative; width: 112px; height: 112px; border-radius: 50%; background: rgba(11,22,38,.45); }
.ykh__ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(255,255,255,.18);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9.5px), #000 calc(100% - 9px)); mask: radial-gradient(farthest-side, transparent calc(100% - 9.5px), #000 calc(100% - 9px)); }
.ykh__ring-arc { position: absolute; inset: 5px; border-radius: 50%;
  background: conic-gradient(from 0deg, #ffb35c 0deg, #ffd36b 30deg, #a8e070 103deg, #4ade9b 181deg, #4ade9b 348deg, transparent 348deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9.5px), #000 calc(100% - 9px)); mask: radial-gradient(farthest-side, transparent calc(100% - 9.5px), #000 calc(100% - 9px)); }
.ykh__ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.ykh__ring-c svg { width: 30px; height: 30px; color: #ff4d6d; filter: drop-shadow(0 3px 8px rgba(255,77,109,.5)); }
.ykh__ring-c span { font-size: 13px; font-weight: 800; color: #fff; }
.home .ykh ul.ykh__checks { flex: 1; min-width: 0; list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 7px; }
.home .ykh ul.ykh__checks li { position: relative; margin: 0 !important; padding: 0 0 0 18px !important; list-style: none !important; background: none !important;
  font-size: 13.5px; line-height: 1.25; font-weight: 500; color: #fff !important; }
.home .ykh ul.ykh__checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #4ade9b; font-weight: 900; background: none; width: auto; height: auto; }
.home .ykh ul.ykh__checks li::marker { content: none; }
.home .ykh ul.ykh__checks a, .home .ykh ul.ykh__checks strong { color: #fff !important; font-weight: 800; text-decoration: none !important; }
.home .ykh ul.ykh__checks a:hover { text-decoration: underline !important; }
.ykh__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home .ykh a.ykh__btn { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 999px; font-size: 14.5px; font-weight: 800;
  text-decoration: none !important; line-height: 1; }
.ykh__btn svg, .ykh__family svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.home .ykh a.ykh__btn--solid { background: #fff; color: #0c2a55 !important; box-shadow: 0 10px 24px rgba(11,22,38,.3); }
.home .ykh a.ykh__btn--solid:hover { background: #eef4fc; }
.home .ykh a.ykh__btn--ghost { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.65); color: #fff !important; }
.home .ykh a.ykh__btn--ghost:hover { background: rgba(255,255,255,.2); }
.home .ykh a.ykh__family { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: #ffd0d9;
  color: #6b0f22 !important; font-size: 13.5px; font-weight: 800; line-height: 1.2; text-decoration: none !important; }
.home .ykh a.ykh__family svg { width: 14px; height: 14px; stroke-width: 2.8; }
.home .ykh a.ykh__family:hover { background: #ffe1e7; }
.ykh a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* desktop: a bit more air and type */
@media (min-width: 761px) {
  .ykh { padding: 30px 0 32px; }
  .home .ykh .ykh__title { font-size: 28px !important; }
  .ykh__ring { width: 132px; height: 132px; }
  .home .ykh ul.ykh__checks li { font-size: 15.5px; }
  .home .ykh ul.ykh__checks { gap: 9px; }
}

/* The carousel under the hero in the same colours: navy → card colour → pink glow, no grid lines;
   card colours come from the shortcode (blue / violet / pink family), Instagram violet → pink, progress bar pink → lilac. */
body.ykk-hero-on.home .gev-carousel.gev-carousel--strip a.gev-carousel__card.gev-carousel__card--link.gev-item:not(.gev-carousel__card--has-bg) {
  background:
    radial-gradient(60% 120% at 100% 100%, color-mix(in srgb, #ff4d6d 45%, transparent), transparent 70%),
    linear-gradient(110deg, #0c2a55 0%, color-mix(in srgb, var(--ykk-solid) 70%, #0c2a55) 45%, var(--ykk-solid) 100%) !important;
}
/* Cards with a picture: the picture gets its own square cell at the far right (a 4th grid column via ::after),
   so the button sits next to it instead of on top of it. Square = card height (64:9 strip, min 54px). */
body.ykk-hero-on.home .gev-carousel.gev-carousel--strip a.gev-carousel__card.gev-carousel__card--link.gev-carousel__card--has-bg.gev-item {
  grid-template-columns: auto minmax(0, 1fr) auto auto; padding-right: 0 !important;
  background:
    radial-gradient(60% 120% at 100% 100%, color-mix(in srgb, #ff4d6d 45%, transparent), transparent 70%),
    linear-gradient(110deg, #0c2a55 0%, color-mix(in srgb, var(--ykk-solid) 70%, #0c2a55) 45%, var(--ykk-solid) 100%) !important;
  background-blend-mode: normal;
}
body.ykk-hero-on.home .gev-carousel.gev-carousel--strip a.gev-carousel__card.gev-carousel__card--has-bg::after {
  content: ""; grid-column: 4; grid-row: 1 / -1; align-self: stretch; width: max(54px, 14.0625cqw);
  background: linear-gradient(90deg, var(--ykk-solid), transparent 45%), var(--gev-card-bg) center / cover no-repeat;
}
@media (min-width: 761px) {
  body.ykk-hero-on.home .gev-carousel.gev-carousel--strip { margin-top: 16px !important; }
}
body.ykk-hero-on.home .gev-carousel.gev-carousel--strip a.gev-carousel__card.gev-carousel__card--ig {
  background:
    radial-gradient(60% 120% at 100% 100%, rgba(255,77,109,.55), transparent 70%),
    linear-gradient(110deg, #0c2a55 0%, #4b3bbf 50%, #7c4dff 100%) !important;
}
body.ykk-hero-on.home .gev-carousel.gev-carousel--strip .gev-carousel__card--ig .gev-carousel__more { color: #6d2bd9; }
body.ykk-hero-on.home .gev-carousel.gev-carousel--strip .gev-carousel__progress { background: rgba(255,255,255,.15); }
body.ykk-hero-on.home .gev-carousel.gev-carousel--strip .gev-carousel__progress span { background: linear-gradient(90deg, #ffb3c1, #d9c8ff); }
