/*
Theme Name: bst-gsk
Author: mtabor
Description: Your description goes here
Version: 1.0
Template: kadence

This is the child theme for Kadence theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


/* =========================================================
   29 GSK – strona główna: dodatkowy CSS
   Wklej w: Wygląd → Dostosuj → Dodatkowy CSS
   Strona działa bez tego CSS – ten plik dodaje „szlif”.
   ========================================================= */

/* --- Hero: wielkie „29 GSK” --- */
.gsk-hero .gsk-display {
  text-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  font-feature-settings: "tnum" 0;
}
.gsk-hero .gsk-eyebrow { opacity: .95; }

/* --- Nadtytuły sekcji z kreską --- */
.gsk-eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.gsk-eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor; opacity: .7;
}
.gsk-lead { margin-left: auto; margin-right: auto; }

/* --- Karty: delikatne uniesienie przy najechaniu --- */
.gsk-card { transition: transform .25s ease, box-shadow .25s ease; }
.gsk-card:hover { transform: translateY(-4px); }
.gsk-info .gsk-card > .kt-inside-inner-col { position: relative; overflow: hidden; }
.gsk-info .gsk-card > .kt-inside-inner-col::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--global-palette1);
}

/* --- Numery tematów 01/02/03 --- */
.gsk-num { font-variant-numeric: tabular-nums; }

/* --- Portrety --- */
.gsk-portrait img,
.gsk-speaker-photo img {
  border: 4px solid var(--global-palette9);
  box-shadow: 0 0 0 3px var(--global-palette1), 0 20px 50px rgba(30, 21, 19, .18);
  aspect-ratio: 1 / 1; object-fit: cover;
}
.gsk-portrait img { max-width: 320px; }
.gsk-speaker-photo img { max-width: 180px; }

/* --- Słowo wstępne: rozwijane „Czytaj całe zaproszenie” --- */
.gsk-letter p { font-size: 17px; line-height: 1.75; color: var(--global-palette4); }
.gsk-more summary {
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px; padding: 12px 22px; border-radius: 100px;
  border: 2px solid var(--global-palette1); color: var(--global-palette1);
  font-weight: 600; list-style: none; transition: background .2s, color .2s;
}
.gsk-more summary::-webkit-details-marker { display: none; }
.gsk-more summary::after { content: "↓"; transition: transform .2s; }
.gsk-more[open] summary::after { transform: rotate(180deg); }
.gsk-more summary:hover { background: var(--global-palette1); color: var(--global-palette9); }
.gsk-more[open] summary { margin-bottom: 20px; }

/* --- Liczby --- */
.gsk-stats .gsk-stat { font-variant-numeric: tabular-nums; }

/* --- LIVE: pulsująca kropka --- */
.gsk-live-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px; border-radius: 100px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.gsk-live-badge::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .7);
  animation: gskPulse 1.8s infinite;
}
@keyframes gskPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* --- Lista z „ptaszkami” --- */
.gsk-checklist { list-style: none; padding-left: 0; margin: 0; }
.gsk-checklist li { position: relative; padding-left: 34px; margin-bottom: 10px; color: var(--global-palette4); }
.gsk-checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--global-palette1); color: var(--global-palette9);
  font-size: 13px; line-height: 22px; text-align: center; font-weight: 700;
}

/* --- Zdjęcia --- */
.gsk-photo img { border-radius: 20px; box-shadow: 0 30px 60px rgba(30, 21, 19, .18); }
.gsk-gallery { margin-top: 48px !important; }
.gsk-gallery img { border-radius: 14px; transition: transform .4s ease; }
.gsk-gallery figure { overflow: hidden; border-radius: 14px; }
.gsk-gallery figure:hover img { transform: scale(1.05); }

/* --- Logotypy sponsorów --- */
.gsk-tier { margin-top: 48px !important; }
.gsk-logos { justify-content: center; margin-bottom: 8px !important; }
.gsk-logos img {
  object-fit: contain !important; max-height: 110px;
  filter: grayscale(100%); opacity: .75; transition: filter .3s, opacity .3s;
}
.gsk-logos img:hover { filter: none; opacity: 1; }
.gsk-logos-narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.gsk-logo-xl img { max-height: 160px; width: auto; object-fit: contain; }

/* --- Kontakt w końcowym CTA --- */
.gsk-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* --- Komitet Organizacyjny: portrety --- */
.gsk-committee-photo img {
  border: 5px solid var(--global-palette9);
  box-shadow: 0 0 0 3px var(--global-palette1), 0 20px 50px rgba(30, 21, 19, .18);
  aspect-ratio: 1 / 1; object-fit: cover;
  width: 100%; max-width: 200px; height: auto;
}
@media (max-width: 767px) {
  .gsk-committee-photo img { max-width: 130px; }
}

/* --- Mniej ruchu dla osób, które tego potrzebują --- */
@media (prefers-reduced-motion: reduce) {
  .gsk-card, .gsk-gallery img, .gsk-more summary::after { transition: none; }
  .gsk-card:hover { transform: none; }
  .gsk-live-badge::before { animation: none; }
}