/* ======================================
   STORIES PAGE – HERO + PRO + PANELS
   držet konzistenci s O nás / Kontakt
   ====================================== */

:root{
  --ink:#0b1f2a;
  --brand-yellow:#f3c33b;
  --brand-green:#34b36a;
  --section-soft:#f6f4ef;
}

.font-display{ font-family:"Oswald", system-ui, sans-serif; }
.font-script{ font-family:"Kolker Brush", cursive; }

.btn-cta{
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:800;
}

/* ===========================
   HERO
   =========================== */
.stories-hero{
  position:relative;
  min-height:86vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background-image:var(--stories-hero-img);
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.stories-hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.52));
}
.stories-hero__content{
  position:relative;
  z-index:2;
  max-width:980px;
  padding:140px 18px 80px;
  color:#fff;
}
.stories-hero__kicker{
  display:inline-block;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:2px;
  color:rgba(255,255,255,.70);
  margin-bottom:14px;
}
.stories-hero__title{
  margin:0;
  font-weight:700;
  letter-spacing:1.3px;
  text-transform:uppercase;
  line-height:1.25;
  font-size:clamp(42px, 6vw, 84px);
}
.stories-hero__titleRow{
  display:inline-flex;
  align-items:baseline;
  gap:14px;
}
.stories-hero__script{
  font-weight:500;
  color:var(--brand-yellow);
  text-transform:none;
  font-size:clamp(3.8rem, 9vw, 9.5rem);
  line-height:.9;
  letter-spacing:-0.02em;
}
.stories-hero__subtitle{
  margin:14px auto 0;
  color:rgba(255,255,255,.82);
  font-size:16px;
  line-height:1.7;
  max-width:70ch;
}

/* ===========================
   PRO section (jako O nás)
   =========================== */
.stories-pro{
  background:#fff;
  position:relative;
  padding:clamp(80px, 10vw, 130px) 0;
  overflow:hidden;
}
.stories-pro::before{
  content:"";
  position:absolute;
  inset:-22%;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 22%, rgba(243,195,59,.10), transparent 55%),
    radial-gradient(circle at 78% 18%, rgba(52,179,106,.10), transparent 52%),
    radial-gradient(circle at 70% 78%, rgba(11,31,42,.06), transparent 58%);
}

.stories-pro__head{
  max-width:920px;
  margin:0 auto;
  position:relative;
  z-index:2;
  padding:0 10px;
}
.stories-pro__kicker{
  font-size:13px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(11,31,42,.55);
  font-weight:900;
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
}
.stories-pro__kicker::before{
  content:"";
  width:26px;
  height:2px;
  border-radius:999px;
  background:rgba(52,179,106,.85);
}
.stories-pro__title{
  margin:0 0 14px;
  font-weight:700;
  font-size:clamp(28px, 3.2vw, 44px);
  line-height:1.12;
  color:var(--ink);
}
.stories-pro__underline{
  margin-top:14px;
  color:var(--brand-yellow);
  line-height:0;
}
.stories-pro__lead{
  margin:18px auto 0;
  max-width:74ch;
  font-size:16px;
  line-height:1.95;
  color:rgba(11,31,42,.62);
}
.stories-pro__text{
  margin:14px auto 0;
  max-width:74ch;
  font-size:16px;
  line-height:1.95;
  color:rgba(11,31,42,.68);
}

/* ===========================
   Story panels (čisté bloky)
   =========================== */
.story-list{
  max-width: 920px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  position: relative;
  z-index: 2;
  padding: 0 10px;
  display: grid;
  gap: 14px;
}

.story-panel{
  position: relative;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.08);
  padding: clamp(16px, 2.2vw, 22px);
  overflow: hidden;
}

.story-panel__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.story-panel__name{
  font-weight:800;
  letter-spacing:.2px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height:1.15;
}
.story-panel__meta{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(11,31,42,.62);
  font-size: 13.5px;
}
.story-dot{ opacity: .55; }

.story-panel__excerpt{
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(11,31,42,.70);
  max-width: 76ch;
}

.story-panel__actions{
  margin-top: 14px;
}

.story-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 10px 0;
  color: rgba(11,31,42,.92);
}
.story-link::before{
  content:"/";
  font-weight: 900;
  opacity: .9;
}
.story-link::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: rgba(11,31,42,.30);
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .18s ease, background-color .18s ease;
}
.story-link:hover::after{
  transform: scaleX(1);
  background: rgba(11,31,42,.55);
}

.story-panel__mark{
  position: absolute;
  right: -10px;
  bottom: -18px;
  font-size: 92px;
  font-weight: 900;
  opacity: .08;
  color: rgba(11,31,42,1);
  pointer-events: none;
}

/* badges */
.story-badge{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  border: 1px solid rgba(0,0,0,.08);
}
.story-badge--green{
  background: rgba(52,179,106,.16);
  color: rgba(11,31,42,.90);
  border-color: rgba(52,179,106,.35);
}
.story-badge--yellow{
  background: rgba(243,195,59,.22);
  color: rgba(11,31,42,.90);
  border-color: rgba(243,195,59,.45);
}
.story-badge--red{
  background: rgba(225, 76, 76, .16);
  color: rgba(11,31,42,.90);
  border-color: rgba(225, 76, 76, .30);
}
.story-badge--blue{
  background: rgba(20, 90, 190, .14);
  color: rgba(11,31,42,.90);
  border-color: rgba(20, 90, 190, .25);
}

/* responsive */
@media (max-width: 575.98px){
  .story-panel__meta{ width: 100%; }
  .stories-pro__lead,
  .stories-pro__text,
  .story-panel__excerpt{ line-height: 1.85; }
}


/* ===========================
   Long story rows (bigger, nicer)
   =========================== */
.story-rows{
  max-width: 980px;
  margin: clamp(26px, 4vw, 44px) auto 0;
  position: relative;
  z-index: 2;
  padding: 0 10px;

  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.story-row{
  display: grid;
  grid-template-columns: 320px 1fr;
  border-radius: 20px;
  overflow: hidden;

  background: rgba(255,255,255,.96);
  border: 1px solid rgba(11,31,42,.08);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);

  transition: transform .16s ease, box-shadow .16s ease;
}

.story-row:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(0,0,0,.14);
}

/* media */
.story-row__media{
  position: relative;
  min-height: 220px;
  background-image: var(--story-img);
  background-size: cover;
  background-position: center;
  background-color: #e9ecef;
}

.story-row__shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.10), transparent 45%),
    linear-gradient(180deg, rgba(11,31,42,.06), rgba(11,31,42,.34));
}

/* tag */
.story-row__tag{
  position: absolute;
  left: 14px;
  bottom: 14px;

  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: rgba(11,31,42,.86);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(6px);
}

.story-row__tag--red{ border-color: rgba(212,70,56,.22); }
.story-row__tag--yellow{ border-color: rgba(243,195,59,.28); }
.story-row__tag--green{ border-color: rgba(52,179,106,.25); }
.story-row__tag--blue{ border-color: rgba(39,118,171,.22); }

/* body */
.story-row__body{
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
}

.story-row__top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.story-row__name{
  margin: 0;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
}

.story-row__place{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(11,31,42,.55);
  white-space: nowrap;
}

/* excerpt */
.story-row__excerpt{
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(11,31,42,.70);
  max-width: 72ch;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* actions */
.story-row__actions{
  margin-top: 14px;
}

/* reuse your slash link style */
.story-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 10px 0;
  color: rgba(11,31,42,.90);
}

.story-link::before{
  content:"/";
  font-weight: 900;
  opacity: .9;
  color: rgba(11,31,42,.90);
}

.story-link::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: rgba(11,31,42,.22);
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .18s ease, background-color .18s ease;
}

.story-link:hover::after{
  transform: scaleX(1);
  background: rgba(11,31,42,.40);
}

/* paw watermark (like your old panel mark, but nicer) */
.story-row__mark{
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-size: 78px;
  opacity: .10;
  transform: rotate(-8deg);
  pointer-events: none;
  filter: saturate(.9);
}

/* responsive */
@media (max-width: 991.98px){
  .story-row{ grid-template-columns: 260px 1fr; }
}

@media (max-width: 767.98px){
  .story-row{
    grid-template-columns: 1fr;
  }
  .story-row__media{
    min-height: 220px;
  }
  .story-row__top{
    flex-direction: column;
    align-items: flex-start;
  }
  .story-row__place{ white-space: normal; }
  .story-row__mark{ font-size: 64px; }
}




/* ===========================
   STORIES HERO XL (like screenshot)
   =========================== */
.stories-hero-xl{
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: var(--stories-hero-img);
  background-size: cover;
  background-position: center;
  background-color: #0b1f2a;
}

.stories-hero-xl__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(0,0,0,.15), rgba(0,0,0,.55)),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.70));
}

.stories-hero-xl__content{
  position: relative;
  z-index: 2;
  padding: clamp(74px, 8vw, 110px) 12px;
  max-width: 980px;
}

.stories-hero-xl__kicker{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.80);
  font-weight: 900;
  margin-bottom: 14px;
}
.stories-hero-xl__kicker::before{
  content:"";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: rgba(243,195,59,.95);
}

/* BIG WHITE TITLE */
.stories-hero-xl__title{
  margin: 0;
  color: rgba(255,255,255,.98);
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: .94;
  font-size: clamp(44px, 6.4vw, 92px);
  text-shadow: 0 18px 45px rgba(0,0,0,.35);
}

/* Yellow brush line */
.stories-hero-xl__brush{
  margin-top: clamp(12px, 2vw, 18px);
  color: var(--brand-yellow);
  font-size: clamp(36px, 5vw, 74px);
  line-height: 1;
  text-shadow: 0 18px 40px rgba(0,0,0,.30);
}

/* Subtitle */
.stories-hero-xl__subtitle{
  margin-top: clamp(18px, 2.6vw, 26px);
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,.84);
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

/* CTA */
.stories-hero-xl__cta{
  margin-top: clamp(18px, 2.6vw, 28px);
}

/* responsive tweaks */
@media (max-width: 575.98px){
  .stories-hero-xl__title{
    letter-spacing: .03em;
    line-height: .98;
  }
  .stories-hero-xl__subtitle{
    font-size: 15px;
  }
}
