/*
 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 { max-height: 64px; width: auto; max-width: 70%; object-fit: contain; }
.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-height: 44px; }
}

/* ---------- 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; }
