/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* =====================================================================
   ŠD Keno Team – tipografija (Barlow Condensed za naslove/številke,
   Instrument Sans za besedilo – nastavljeno v Bricks > Theme Styles)
   ===================================================================== */
.kt-display.kt-display,
.kt-h2.kt-h2,
.kt-stat__num.kt-stat__num,
.kt-score.kt-score,
.kt-podium__team.kt-podium__team,
.kt-year__num.kt-year__num,
.kt-card__title.kt-card__title,
.kt-ofc__nav a,
.kt-btn.kt-btn {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}
.kt-display.kt-display { font-size: clamp(56px, 9vw, 128px); letter-spacing: 0; line-height: .88; }
.kt-h2.kt-h2 { font-size: clamp(40px, 5.5vw, 60px); letter-spacing: 0; line-height: .95; }
.kt-stat__num.kt-stat__num { font-size: 52px; }
.kt-score.kt-score { font-size: 96px; }
.kt-podium__team.kt-podium__team { font-size: 36px; }
.kt-year__num.kt-year__num { font-size: 60px; }
.kt-card__title.kt-card__title { font-size: 28px; line-height: 1.05; }
.kt-btn.kt-btn { font-size: 17px; letter-spacing: .06em; font-weight: 700; }
.kt-ofc__nav a { font-size: 34px !important; }
@media (max-width: 767px) {
  .kt-stat__num.kt-stat__num { font-size: 40px; }
  .kt-score.kt-score { font-size: 64px; }
}

/* ---------- Stopničke (podij 2-1-3) ---------- */
.kt-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; width: 100%; }
.kt-stage__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; }
.kt-stage__step:nth-child(1) { order: 2; }
.kt-stage__step:nth-child(2) { order: 1; }
.kt-stage__step:nth-child(3) { order: 3; }
.kt-stage__step:nth-child(n+4) { display: none; }
.kt-stage__badge { display: none; background: #c9a227; color: #0e0f11; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; margin: 0; }
.kt-stage__step:nth-child(1) .kt-stage__badge { display: inline-block; }
.kt-stage__cup { font-size: 44px; line-height: 1; color: #a7adb5; }
.kt-stage__step:nth-child(1) .kt-stage__cup { font-size: 72px; color: #c9a227; filter: drop-shadow(0 6px 14px rgba(201,162,39,.35)); }
.kt-stage__step:nth-child(3) .kt-stage__cup { color: #b0703c; }
.kt-stage__logo, .kt-stage__logo img { display: block; width: 100%; max-width: 220px; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: #fff; }
.kt-stage__logo { border: 1px solid #e1e4e8; padding: 0; margin: 0; overflow: hidden; cursor: zoom-in; }
.kt-stage__logo img { border: 0; max-width: none; width: 100%; height: 100%; aspect-ratio: auto; transition: transform .5s ease, filter .4s ease; }
.kt-stage__logo:hover img { transform: scale(1.06); }
.kt-stage__step:nth-child(1) .kt-stage__logo { max-width: 280px; }
.kt-stage__team { margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; color: #0e0f11; overflow-wrap: anywhere; }
.kt-stage__step:nth-child(1) .kt-stage__team { font-size: 40px; }
.kt-stage__block { width: 100%; background: #0e0f11; color: #fff; display: flex; align-items: flex-start; justify-content: center; padding-top: 14px; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 56px; line-height: 1; height: 120px; position: relative; }
.kt-stage__block::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #a7adb5; }
.kt-stage__step:nth-child(1) .kt-stage__block { height: 200px; background: #1d3fa6; font-size: 72px; }
.kt-stage__step:nth-child(1) .kt-stage__block::before { background: #c9a227; }
.kt-stage__step:nth-child(3) .kt-stage__block { height: 88px; }
.kt-stage__step:nth-child(3) .kt-stage__block::before { background: #b0703c; }
.kt-stage__fourth { margin: 20px 0 0; font-size: 15px; color: #5d636c; text-align: center; }
.kt-stage__fourth strong { color: #0e0f11; }
.kt-stage__fourth:empty { display: none; }
.kt-stage__fourth p { text-align: center; margin: 0; }
@media (max-width: 767px) {
  .kt-stage { gap: 8px; }
  .kt-stage__team { font-size: 20px; }
  .kt-stage__step:nth-child(1) .kt-stage__team { font-size: 26px; }
  .kt-stage__cup { font-size: 32px; }
  .kt-stage__step:nth-child(1) .kt-stage__cup { font-size: 52px; }
  .kt-stage__block { font-size: 40px; height: 90px; }
  .kt-stage__step:nth-child(1) .kt-stage__block { height: 140px; font-size: 52px; }
  .kt-stage__step:nth-child(3) .kt-stage__block { height: 64px; }
  .kt-stage__logo { max-width: 100%; }
}

/* ---------- Naj posamezniki – kartica s sliko ---------- */
.kt-mvp { flex: 1 1 0; min-width: 0; position: relative; aspect-ratio: 3 / 4; background: #0e0f11; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; isolation: isolate; }
.kt-mvp__img, .kt-mvp__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; margin: 0; }
.kt-mvp__img img { filter: grayscale(1); transition: transform .5s ease, filter .4s ease; }
.kt-mvp:hover .kt-mvp__img img { filter: none; transform: scale(1.04); }
.kt-mvp__img { z-index: 0; cursor: zoom-in; }
.kt-mvp::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14,15,17,.15) 0%, rgba(14,15,17,0) 35%, rgba(14,15,17,.88) 100%); }
.kt-mvp__badge, .kt-mvp__text { position: relative; z-index: 2; pointer-events: none; }
.kt-mvp__badge { align-self: flex-start; background: #fff; color: #0e0f11; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; margin: 0; }
.kt-mvp__text { display: flex; flex-direction: column; gap: 4px; }
.kt-mvp__name { margin: 0; color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 36px; line-height: .95; text-transform: uppercase; }
.kt-mvp__team { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.kt-mvp__noimg { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; color: rgba(255,255,255,.08); font-size: 160px; }


/* Brez napisov priponk pod slikami (naslov/opis iz medijske knjižnice) */
.brxe-image figcaption, .bricks-image-caption, .brxe-image-gallery figcaption { display: none !important; }


/* ---------- Sponzorski trakovi (infinite marquee, samo CSS) ---------- */
.kt-marquees { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.kt-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kt-marquee__track { display: flex; flex-wrap: nowrap; gap: 16px; width: max-content; max-width: none; animation: kt-marquee 48s linear infinite; will-change: transform; }
.kt-marquee--rev .kt-marquee__track { animation-direction: reverse; animation-duration: 56s; }
.kt-marquee--slow .kt-marquee__track { animation-duration: 64s; }
.kt-marquee:hover .kt-marquee__track { animation-play-state: paused; }
@keyframes kt-marquee { to { transform: translateX(calc(-50% - 8px)); } }
.kt-sq { flex: 0 0 auto; width: 168px; min-height: 112px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; background: #fff; border: 1px solid #e1e4e8; text-decoration: none; color: #0e0f11; text-align: center; transition: border-color .2s, box-shadow .2s; }
.kt-sq:hover { border-color: #0e0f11; }
.kt-sq img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s, transform .25s; margin: 0; }
.kt-sq:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.kt-sq__name { margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.05; text-transform: uppercase; color: #5d636c; transition: color .2s; overflow-wrap: anywhere; }
.kt-sq:hover .kt-sq__name { color: #1d3fa6; }
.kt-sq { flex-direction: column; gap: 6px; }
.kt-sq img:not(:last-child) { max-height: 48px; }
.kt-sq img + .kt-sq__name, .kt-sq img ~ .kt-sq__name { font-size: 13px; font-family: "Instrument Sans", sans-serif; font-weight: 600; letter-spacing: .02em; text-transform: none; }
@media (prefers-reduced-motion: reduce) { .kt-marquee__track { animation: none; } }
@media (max-width: 767px) { .kt-sq { width: 148px; min-height: 96px; padding: 10px 12px; } .kt-sq__name { font-size: 16px; } .kt-marquee__track { gap: 10px; } .kt-marquees { gap: 10px; } @keyframes kt-marquee { to { transform: translateX(calc(-50% - 5px)); } } }


/* Sponzorji: kartica raste z vsebino, logotip se pri imenu zmanjša */
.kt-sq img:not(:last-child){max-height:44px;}
@media (max-width: 767px){ .kt-sq{box-sizing:border-box;justify-content:center;} .kt-sq img:not(:last-child){max-height:36px;} .kt-sq__name{font-size:14px;line-height:1.1;} .kt-sq img + .kt-sq__name{font-size:12px;} }

.kt-sq img:last-child{max-height:72px;max-width:100%;}
@media (max-width: 767px){ .kt-sq img:last-child{max-height:52px;} }
