/* SportMarketing.pl print – strona magazynu ([sm_magazyn]). Kroje i kolory serwisu: Montserrat (nagłówki),
   Inter (tekst), granat marki #0035D6; pole hero w granacie okładki. Bez cieni, gradientów i linii. */
.smm {
  --smm-navy: #0c1631;
  --smm-navy-2: #16213f;
  --smm-ink: #1e1e1e;
  --smm-ink-2: #5c5c5c;
  --smm-paper: #f3f4f7;
  --smm-white: #fff;
  --smm-accent: #0035d6;
  --smm-accent-hover: #1039a2;
  --smm-soft: #c7d0ea;
  --smm-gap: clamp(72px, 9vw, 140px);
  --smm-head: Montserrat, sans-serif;
  --smm-text: Inter, sans-serif;
  display: flex;
  flex-direction: column;
  gap: var(--smm-gap);
  margin: 24px 0 var(--smm-gap);
  color: var(--smm-ink);
  font-family: var(--smm-text);
}
.smm *, .smm *::before, .smm *::after { box-sizing: border-box; }
.smm p, .smm h1, .smm h2, .smm h3, .smm ul, .smm figure, .smm blockquote { margin: 0; padding: 0; }
.smm img { display: block; max-width: 100%; height: auto; }

/* --- przycisk: płaski, jeden kolor, narożnik jak w serwisie */
.smm .smm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 4px;
  background: var(--smm-accent); color: var(--smm-white) !important; text-decoration: none !important;
  font: 700 18px/1 var(--smm-text); cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.smm .smm-btn:hover { background: var(--smm-accent-hover); }
.smm .smm-btn:active { transform: translateY(1px); }
.smm .smm-btn:focus-visible { outline: 3px solid var(--smm-white); outline-offset: 3px; }
.smm .smm-btn[disabled] { opacity: .6; cursor: wait; }

/* --- hero: pole w granacie okładki */
.smm .smm-hero {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px);
  align-items: center; padding: clamp(24px, 4vw, 56px); background: var(--smm-navy); color: var(--smm-white);
}
.smm .smm-hero__cover img { width: auto; max-width: 100%; max-height: min(calc(100vh - 210px), 860px); }
.smm .smm-hero__title {
  font: 800 clamp(28px, 7.2vw, 54px)/1.04 var(--smm-head); letter-spacing: -0.035em; color: var(--smm-white);
}
.smm .smm-hero__meta { margin-top: 18px; font: 600 15px/1.45 var(--smm-text); color: var(--smm-soft); }
.smm .smm-hero__lead { margin-top: 20px; }
.smm .smm-hero__lead p { font: 400 18px/1.6 var(--smm-text); color: var(--smm-white); max-width: 36em; }
.smm .smm-hero__lead p + p { margin-top: 12px; }

/* --- formularz */
.smm .smm-form { margin-top: 26px; padding: 24px; background: var(--smm-navy-2); }
.smm .smm-form__label { display: block; margin-bottom: 8px; font: 700 15px/1.3 var(--smm-text); color: var(--smm-white); }
.smm .smm-form__input {
  display: block; width: 100%; height: 56px; padding: 0 16px; border: 2px solid transparent; border-radius: 4px;
  background: var(--smm-white); color: var(--smm-ink); font: 400 18px/1 var(--smm-text);
}
.smm .smm-form__input:focus { outline: none; border-color: var(--smm-accent); }
.smm .smm-form__input[aria-invalid="true"] { border-color: #ff8a80; }
.smm .smm-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: ukryte pole-pułapka na boty, nie linia */
.smm .smm-form__consent { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 18px; cursor: pointer; }
.smm .smm-form__consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--smm-accent); cursor: pointer; }
.smm .smm-form__consent span { font: 400 15px/1.5 var(--smm-text); color: #dfe3ee; }
.smm .smm-form__consent a { color: var(--smm-white); text-decoration: underline; }
.smm .smm-form .smm-btn { width: 100%; }
.smm .smm-form__msg { margin-top: 14px; font: 700 15px/1.45 var(--smm-text); color: #ffb4ab; }
.smm .smm-form__note { margin-bottom: 16px; font: 600 15px/1.45 var(--smm-text); color: var(--smm-soft); }
.smm .smm-form__done-title { margin-bottom: 18px; font: 800 24px/1.2 var(--smm-head); letter-spacing: -0.02em; color: var(--smm-white); }
.smm .smm-form__done .smm-btn { width: 100%; }
.smm .smm-form__done-note { margin-top: 14px; font: 400 15px/1.5 var(--smm-text); color: #dfe3ee; }
.smm .smm-form__done:focus { outline: none; }
.smm [hidden] { display: none !important; }

/* --- W numerze */
.smm .smm-h2 { font: 800 clamp(26px, 2.4vw, 32px)/1.12 var(--smm-head); letter-spacing: -0.025em; color: var(--smm-ink); }
.smm .smm-h3 { font: 800 24px/1.2 var(--smm-head); letter-spacing: -0.02em; color: var(--smm-ink); }
.smm .smm-text { font: 400 18px/1.6 var(--smm-text); color: var(--smm-ink); max-width: 40em; }
.smm .smm-page { font: 600 15px/1.4 var(--smm-text); color: var(--smm-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.smm .smm-issue { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.smm .smm-issue__rank { padding: clamp(24px, 3vw, 40px); background: var(--smm-paper); }
.smm .smm-issue__big {
  font: 300 clamp(120px, 15vw, 220px)/.82 var(--smm-head); letter-spacing: -0.06em; color: var(--smm-accent);
  margin: 0 0 20px -0.04em !important;
}
.smm .smm-issue__rank .smm-h2 { margin-bottom: 16px; }
.smm .smm-issue__lists .smm-h3 + .smm-list { margin-top: 14px; }
.smm .smm-list + .smm-h3 { margin-top: 44px; }
.smm .smm-list { list-style: none !important; }
.smm .smm-list li {
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 11px 0; margin: 0 !important; list-style: none !important;
}
.smm .smm-list li:nth-child(odd) { background: transparent; }
.smm .smm-list li::before, .smm .smm-list li::marker { content: none !important; }
.smm .smm-list__main { font: 400 18px/1.45 var(--smm-text); color: var(--smm-ink); }
.smm .smm-list__main strong { font-weight: 700; }

/* --- Zajrzyj do środka */
.smm .smm-inside__pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: 28px; }
.smm .smm-inside__page img { width: 100%; background: var(--smm-paper); }
.smm .smm-inside__page figcaption { margin-top: 10px; font: 600 15px/1.3 var(--smm-text); color: var(--smm-ink-2); }
.smm .smm-quote { margin-top: clamp(40px, 5vw, 72px) !important; max-width: 46em; border: 0 !important; }
.smm .smm-quote p { font: 700 24px/1.4 var(--smm-head); letter-spacing: -0.015em; color: var(--smm-ink); }
.smm .smm-quote footer { margin-top: 16px; font: 400 15px/1.5 var(--smm-text); color: var(--smm-ink-2); }

/* --- zamknięcie */
.smm .smm-close {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding: clamp(24px, 3.4vw, 48px); background: var(--smm-paper);
}
.smm .smm-close__text { max-width: 32em; font: 700 24px/1.4 var(--smm-head); letter-spacing: -0.01em; color: var(--smm-ink); }

/* --- wejście elementów (tylko gdy działa skrypt; bez ruchu przy prefers-reduced-motion) */
.smm.is-ready [data-smm-in] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.smm.is-ready [data-smm-in].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .smm.is-ready [data-smm-in] { opacity: 1; transform: none; transition: none; }
  .smm .smm-btn { transition: none; }
}

/* --- telefon */
@media (max-width: 900px) {
  .smm { margin-top: 0; }
  .smm .smm-hero { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 28px; gap: 24px; }
  .smm .smm-hero__cover { order: 2; max-width: 320px; }
  .smm .smm-hero__cover img { max-height: none; width: 100%; }
  .smm .smm-hero__lead p { font-size: 17px; }
  .smm .smm-form { padding: 18px; margin-top: 24px; }
  .smm .smm-issue { grid-template-columns: minmax(0, 1fr); }
  .smm .smm-inside__pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smm .smm-quote p, .smm .smm-close__text, .smm .smm-h3 { font-size: 22px; }
  .smm .smm-close .smm-btn { width: 100%; }
}
