/* Sponsoring page of draft 3 (sponsoring.html): a big typographic board of the partners, the club logo
   follows the pointer over a row. Builds on the shared quality page
   styles (kern-qualitaet.css). */

.ks .kq-sec.white.ks2 { padding-bottom: calc(var(--_sizes---section--section-padding-vertical) * .6); }

/* heading left, intro text right, both on the same baseline row */
.ks-head-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 6vw; align-items: end; }
.ks-head-split p { max-width: 34rem; color: rgba(6, 44, 34, .78); }
.kq .ks-head-split h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }

/* ============ board of partners ============ */


.ks2-board { list-style: none; margin: 3.4vw 0 0; padding: 0; border-top: 1px solid rgba(4, 56, 42, .16); }
.ks2-board li { border-bottom: 1px solid rgba(4, 56, 42, .16); }
.ks2-row { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 13rem 52px; gap: 28px; align-items: center; padding: 20px 20px; color: var(--kq-ink); text-decoration: none;
  border-radius: 0; transition: background-color .35s, color .35s; }
.ks2-name b { display: block; font-family: var(--_typography---font--heading-font); font-weight: 500; letter-spacing: -.035em; line-height: 1; color: var(--kq-dark); font-size: clamp(1.4rem, 2.2vw, 2.1rem); transition: color .35s; }
.ks2-name small { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: rgba(6, 44, 34, .68); transition: color .35s; }
.ks2-place { font-size: 16px; color: rgba(6, 44, 34, .75); transition: color .35s; }
.ks2-go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(4, 56, 42, .2); display: grid; place-items: center; color: var(--kq-green); transition: background-color .35s, color .35s, border-color .35s, transform .35s; }
.ks2-go .kq-ic { font-size: 22px; }
.ks2-mlogo { display: none; }
.ks2-row:hover, .ks2-row:focus-visible { background: var(--kq-green); outline: none; }
/* the content nudges right on hover with a transform, so the row never changes its size or line breaks */
.ks2-row > .kq-dot, .ks2-name { transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .35s; }
.ks2-row:hover > .kq-dot, .ks2-row:hover .ks2-name, .ks2-row:focus-visible > .kq-dot, .ks2-row:focus-visible .ks2-name { transform: translateX(12px); }
.ks2-row:hover .ks2-name b, .ks2-row:focus-visible .ks2-name b { color: #fff; }
.ks2-row:hover small, .ks2-row:hover .ks2-place,
.ks2-row:focus-visible small, .ks2-row:focus-visible .ks2-place { color: rgba(255, 255, 255, .85); }
.ks2-row:hover .kq-dot, .ks2-row:focus-visible .kq-dot { background: var(--kq-dark); }
.ks2-row:hover .ks2-go, .ks2-row:focus-visible .ks2-go { background: var(--kq-yellow); border-color: var(--kq-yellow); color: var(--kq-dark); transform: rotate(45deg); }

/* the logo that follows the pointer over the board */
.ks2-cursor { position: fixed; left: 0; top: 0; width: 150px; height: 150px; margin: -75px 0 0 -75px; pointer-events: none; z-index: 50;
  transform: translate3d(var(--x, 0), var(--y, 0), 0); will-change: transform; }
.ks2-disc { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 5px var(--kq-yellow), 0 20px 40px rgba(4, 56, 42, .35); opacity: 0; transform: scale(.5); transition: opacity .25s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.ks2-cursor.is-on .ks2-disc { opacity: 1; transform: scale(1); }
.ks2-disc img { width: 72%; height: 72%; object-fit: contain; display: block; }

/* ============ request box ============ */
.ks-ask-box { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 34px 38px; border-radius: var(--_sizes---radius--md-radius); background: #fff; }
.ks-ask-box h3 { margin-bottom: 6px; }
.ks-ask-box p { font-size: 16px; color: rgba(6, 44, 34, .74); }
.ks-ask { padding-top: 5vw; padding-bottom: 5vw; }

/* call to action below: grey all the way, like the quality page */
.main-section.cta.ks-cta { background-image: none; background-color: #EDEEED; }

/* ============ responsive ============ */
@media (max-width: 991px) {
  .ks-head-split { grid-template-columns: 1fr; gap: 20px; }
  .ks2-row { grid-template-columns: 58px minmax(0, 1fr) 52px; }
  .ks2-place { display: none; }
}
@media (max-width: 767px) {
  .ks2-cursor { display: none; }
  .ks2-row { grid-template-columns: 56px minmax(0, 1fr) 40px; gap: 16px; padding: 20px 4px; }
  .ks2-row .kq-dot { display: none; }
  .ks2-mlogo { display: block; width: 56px; height: 56px; object-fit: contain; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 0 0 1px rgba(4, 56, 42, .12); }
  .ks2-go { width: 40px; height: 40px; }
  .ks2-name small { font-size: 14px; }
  .ks-ask-box { grid-template-columns: 1fr; padding: 26px; gap: 18px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ks2-row, .ks2-go, .ks2-disc, .ks2-name, .ks2-row > .kq-dot { transition: none !important; }
  .ks2-row:hover .ks2-name, .ks2-row:hover > .kq-dot { transform: none; }
}
