/* JakOgladac.pl — tokeny i komponenty (z tokens.md, 1:1) */

/* --- Font: Schibsted Grotesk (variable 400–700, self-host) --- */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokeny --- */
:root {
  --bg: #FFFFFF;
  --surface: #F6F6F7;
  --border: #E4E5E8;
  --border-subtle: #F0F0F2;
  --ink: #17181A;
  --sub: #54575D;
  /* tokens.md podaje #83868C, ale to 3.65:1 na bieli - za mało dla 11-13px
     (WCAG AA). Przyciemnione do 4.89:1; odstępstwo opisane w README. */
  --muted: #6E7178;
  --accent: #2554B0;
  --accent-hover: #1C4290;
  --accent-bg: #F5F8FD;
  --row-hover: #FAFAFB;

  --st-green-fg: #1B7A43; --st-green-bg: #E9F6EE; --st-green-bd: #C2E3CF;
  --st-orange-fg: #A05A00; --st-orange-bg: #FCF3E3; --st-orange-bd: #EED9AE;
  --st-red-fg: #B3261E; --st-red-bg: #FCECEB; --st-red-bd: #F0C6C3;
  --st-blue-fg: #2554B0; --st-blue-bg: #ECF2FB; --st-blue-bd: #CBDAF2;
  --st-icon-glyph: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

[data-theme="dark"] {
  --bg: #131417;
  --surface: #1C1E22;
  --border: #2A2D33;
  --border-subtle: #23252A;
  --ink: #F2F3F5;
  --sub: #A6A9B0;
  --muted: #7C7F86;
  --accent: #6F9BE8;
  --accent-hover: #8FB2EE;
  --accent-bg: #1D2634;
  --row-hover: #191B1F;

  --st-green-fg: #5FC98A; --st-green-bg: #22301F; --st-green-bd: #33513A;
  --st-orange-fg: #E3A75C; --st-orange-bg: #33261A; --st-orange-bd: #55402A;
  --st-red-fg: #E8837C; --st-red-bg: #33201E; --st-red-bd: #553230;
  --st-blue-fg: #7FA7EA; --st-blue-bg: #1D2634; --st-blue-bd: #2F415C;
  --st-icon-glyph: #131417;
}

/* --- Reset i baza --- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .12s; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 24px 0 16px; }
h2 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 32px 0 8px; }
@media (min-width: 768px) {
  h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
  h2 { font-size: 22px; }
}

.container { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.container--wide { max-width: 1120px; }
.container--narrow { max-width: 720px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* Jedna szerokość strony (1120), ale tekst ciągły trzyma miarę czytelności:
   bloki tekstowe capowane do 760, tabele/karty/statusy na pełnej szerokości. */
.container--wide .detail-section,
.container--wide .steps,
.container--wide .faq,
.container--wide .static-lead { max-width: 760px; }

.label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; line-height: 1;
}

.only-desktop { display: none; }
@media (min-width: 768px) {
  .only-desktop { display: block; }
  .only-mobile { display: none; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, label:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- 1. Pasek disclosure --- */
.disclosure-bar {
  background: var(--surface);
  color: var(--sub);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  padding: 6px 16px;
}
@media (min-width: 768px) { .disclosure-bar { font-size: 12px; } }

/* --- 2. Nagłówek --- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
@media (min-width: 768px) { .site-header__inner { height: 60px; } }
.logo { font-size: 17px; font-weight: 700; color: var(--ink); }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo .dot-pl { color: var(--accent); }
@media (min-width: 768px) { .logo { font-size: 18px; } }

.header-search { display: none; }
@media (min-width: 900px) {
  .header-search { display: block; margin-left: auto; }
  .header-search__input {
    font: inherit; font-size: 13px; color: var(--ink); background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-pill);
    padding: 7px 14px; width: 160px; transition: width .12s;
  }
  .header-search__input:focus { width: 220px; outline: 2px solid var(--accent); outline-offset: 1px; }
  .site-header__inner { gap: 24px; }
  .nav { margin-right: auto; }
}
.mobile-menu__search { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); }

.nav { display: none; }
@media (min-width: 768px) {
  .nav { display: flex; gap: 28px; }
  .nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
  .nav a:hover { color: var(--accent-hover); }
  .nav a.active { color: var(--accent); }
}

/* Hamburger bez JS (checkbox); input jest focusowalny (nie display:none),
   więc menu da się otworzyć klawiaturą (Tab -> spacja) */
.nav-toggle-input {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
}
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-width: 44px; min-height: 44px; align-items: center; cursor: pointer;
}
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--ink); }
.site-header:has(.nav-toggle-input:focus-visible) .nav-toggle {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.mobile-menu { display: none; border-top: 1px solid var(--border); }
.nav-toggle-input:checked ~ .mobile-menu { display: block; }
.mobile-menu a {
  display: block; padding: 16px; font-size: 16px; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu a.active { color: var(--accent); }

/* --- 3. Breadcrumb --- */
.breadcrumb { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-hover); }
.breadcrumb .sep { margin: 0 6px; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }
.breadcrumb .bc-home { display: none; }
@media (min-width: 768px) { .breadcrumb .bc-home { display: inline; } }

/* --- 4. Blok statusu --- */
.status-block {
  border: 1px solid; border-radius: var(--radius-md);
  padding: 20px; margin: 16px 0 24px;
  display: flex; flex-direction: column; gap: 12px;
}
@media (min-width: 768px) {
  .status-block { flex-direction: row; align-items: flex-start; gap: 18px; padding: 22px 26px; }
}
.status-block__icon {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.status-block__icon--small-text { font-size: 13px; }
.status-block__label { margin-bottom: 6px; }
.status-block__sentence { font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--ink); }
@media (min-width: 768px) { .status-block__sentence { font-size: 17px; } }
.status-block__meta { font-size: 13px; color: var(--sub); margin-top: 8px; }

.status--green { background: var(--st-green-bg); border-color: var(--st-green-bd); }
.status--green .status-block__label { color: var(--st-green-fg); }
.status--green .status-block__icon { background: var(--st-green-fg); color: var(--st-icon-glyph); }
.status--green-outline { background: var(--bg); border: 1.5px solid var(--st-green-fg); }
.status--green-outline .status-block__label { color: var(--st-green-fg); }
.status--green-outline .status-block__icon {
  background: transparent; border: 2px solid var(--st-green-fg); color: var(--st-green-fg);
}
.status--orange { background: var(--st-orange-bg); border-color: var(--st-orange-bd); }
.status--orange .status-block__label { color: var(--st-orange-fg); }
.status--orange .status-block__icon { background: var(--st-orange-fg); color: var(--st-icon-glyph); }
.status--red { background: var(--st-red-bg); border-color: var(--st-red-bd); }
.status--red .status-block__label { color: var(--st-red-fg); }
.status--red .status-block__icon { background: var(--st-red-fg); color: var(--st-icon-glyph); }
.status--blue { background: var(--st-blue-bg); border-color: var(--st-blue-bd); }
.status--blue .status-block__label { color: var(--st-blue-fg); }
.status--blue .status-block__icon { background: var(--st-blue-fg); color: var(--st-icon-glyph); }

/* --- 5. Kroki "Co zrobić" --- */
.steps { list-style: none; margin: 16px 0 24px; padding: 0; counter-reset: step; }
.steps li { display: flex; gap: 14px; padding: 10px 0; }
.steps .step-num {
  counter-increment: step;
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; margin-top: 2px;
}
.steps .step-num::before { content: counter(step); }
@media (min-width: 768px) { .steps .step-num { width: 28px; height: 28px; flex-basis: 28px; } }
.steps .step-body { font-size: 15px; line-height: 1.55; }
.steps .step-detail { color: var(--sub); }

/* --- 6. Box partnera --- */
.partner-box {
  background: var(--accent-bg);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px; margin: 24px 0;
}
.partner-box__eyebrow { color: var(--accent); margin-bottom: 14px; }
.partner-box__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.partner-box__name { font-size: 20px; font-weight: 700; }
.partner-box__args { list-style: none; margin: 0 0 14px; padding: 0; }
.partner-box__args li { display: flex; gap: 8px; padding: 3px 0; font-size: 15px; }
.partner-box__args li::before { content: "✓"; color: var(--st-green-fg); font-weight: 700; }
.partner-box__footer { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) {
  .partner-box__footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
.partner-box__price { font-size: 13px; color: var(--sub); }
.btn-cta {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; padding: 12px 24px;
  border-radius: var(--radius-sm); text-align: center; transition: background .12s;
}
.btn-cta:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-cta--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-cta--outline:hover { background: var(--accent-bg); color: var(--accent-hover); }

.partner-box--secondary {
  background: var(--bg); border: 1px solid var(--border);
}
.partner-box--secondary .partner-box__eyebrow { color: var(--muted); }
@media (min-width: 768px) {
  .partner-box--secondary { display: flex; align-items: center; gap: 20px; }
  .partner-box--secondary .partner-box__main { flex: 1; }
  .partner-box--secondary .partner-box__head { margin-bottom: 6px; }
  .partner-box--secondary .partner-box__name { font-size: 17px; }
}
.partner-box--info {
  background: var(--st-green-bg); border: 1px solid var(--st-green-bd);
}
.partner-box--info .partner-box__eyebrow { color: var(--st-green-fg); }
.partner-box__note { font-size: 13px; color: var(--muted); margin-top: 8px; }

.logo-ph {
  background: var(--border); border-radius: var(--radius-sm);
  width: 44px; height: 44px; flex: 0 0 44px;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace; font-size: 10px; color: var(--sub);
}

/* --- 7. Karty dróg dostępu --- */
.access-cards { display: grid; gap: 12px; margin: 20px 0; }
@media (min-width: 768px) { .access-cards { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.access-card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.access-card__name { font-size: 16px; font-weight: 700; }
.access-card__who { font-size: 13px; color: var(--sub); }
.access-card__price { font-size: 14px; font-weight: 600; }
.access-card__cond { font-size: 12px; color: var(--muted); }
.access-card__status { margin-top: auto; padding-top: 8px; }
.access-card .btn-cta { margin-top: 4px; padding: 10px 16px; font-size: 14px; }

/* --- 8. Tabela statusów: jeden markup; na mobile wiersze stają się kartami --- */
.status-table-wrap { margin: 16px 0 24px; }
.status-table { width: 100%; border-collapse: collapse; }
.status-table .cell-name { font-weight: 600; }
.status-table .cell-name a { color: var(--ink); }
.status-table .cell-chevron { color: var(--muted); }

.btn-cta--row { padding: 8px 14px; font-size: 13px; white-space: nowrap; }

@media (max-width: 767px) {
  .status-table, .status-table tbody { display: block; }
  .status-table thead { display: none; }
  .status-table tr {
    display: block; position: relative;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 14px 48px 14px 16px; margin-bottom: 10px;
  }
  .status-table tr.row-link:hover { border-color: #C6C8CC; }
  .status-table td { display: none; padding: 0; border: 0; }
  .status-table td.cell-name { display: block; font-weight: 700; font-size: 15px; }
  /* cała karta klikalna: link nazwy rozciąga się na wiersz */
  .status-table td.cell-name a::after { content: ""; position: absolute; inset: 0; }
  .status-table td.cell-pill { display: block; margin-top: 8px; }
  .status-table td.cell-mobile { display: block; font-size: 13px; color: var(--sub); margin-top: 8px; }
  .status-table td.cell-cta { display: block; margin-top: 12px; }
  /* CTA ponad rozciągniętym linkiem karty */
  .status-table td.cell-cta a { position: relative; z-index: 1; display: block; text-align: center; }
  .status-table .cell-chevron { position: absolute; top: 14px; right: 16px; color: var(--muted); }
}

@media (min-width: 768px) {
  .status-table-wrap { overflow-x: auto; }
  .status-table .cell-chevron { display: none; }
  .status-table th {
    text-align: left; background: var(--row-hover);
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--border);
  }
  .status-table td {
    padding: 14px 12px; border-bottom: 1px solid var(--border-subtle);
    font-size: 14px; vertical-align: middle;
  }
  .status-table tr.row-link:hover { background: var(--row-hover); }
  .status-table .cell-cta { text-align: right; }
}

/* --- 18. Pigułka statusu --- */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-pill); border: 1px solid; white-space: nowrap;
}
.pill--green { color: var(--st-green-fg); background: var(--st-green-bg); border-color: var(--st-green-bd); }
.pill--green-outline { color: var(--st-green-fg); background: var(--bg); border: 1.5px solid var(--st-green-fg); }
.pill--orange { color: var(--st-orange-fg); background: var(--st-orange-bg); border-color: var(--st-orange-bd); }
.pill--red { color: var(--st-red-fg); background: var(--st-red-bg); border-color: var(--st-red-bd); }
.pill--blue { color: var(--st-blue-fg); background: var(--st-blue-bg); border-color: var(--st-blue-bd); }

/* --- 9. Sekcja szczegółów --- */
.detail-section { margin: 0 0 8px; }
.detail-section .answer { font-size: 15px; line-height: 1.6; margin: 8px 0; }
.detail-section .expand { color: var(--sub); }
@media (min-width: 768px) {
  .detail-section__cols { display: flex; gap: 24px; align-items: flex-start; }
  .detail-section__cols > * { flex: 1; }
}

/* --- 10. Zrzut ekranu z podpisem --- */
.screenshot { margin: 12px 0; }
.screenshot__frame {
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.screenshot__ph {
  height: 180px;
  background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, var(--border-subtle) 12px, var(--border-subtle) 24px);
}
.screenshot__caption { font-size: 13px; color: var(--sub); margin-top: 6px; }

/* --- 11. Najbliższy mecz --- */
.next-match {
  display: flex; gap: 16px; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px; margin: 24px 0;
}
.next-match__when {
  border-right: 1px solid var(--border); padding-right: 16px;
  display: flex; flex-direction: column; justify-content: center; min-width: 84px;
}
.next-match__date { font-size: 14px; font-weight: 700; }
.next-match__time { font-size: 20px; font-weight: 700; }
.next-match__teams { font-size: 16px; font-weight: 600; }
.next-match__where { margin-top: 8px; }

/* --- 12. Podobne sytuacje --- */
.similar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 24px; }
@media (min-width: 768px) { .similar-grid { grid-template-columns: repeat(3, 1fr); } }
.similar-card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px; color: var(--ink); display: flex; flex-direction: column; gap: 8px;
}
.similar-card:hover { border-color: #C6C8CC; color: var(--ink); text-decoration: none; }
.similar-card__name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.similar-card__status { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; }
.status-dot--green { background: var(--st-green-fg); }
.status-dot--green-outline { background: var(--bg); border: 1.5px solid var(--st-green-fg); }
.status-dot--orange { background: var(--st-orange-fg); }
.status-dot--red { background: var(--st-red-fg); }
.status-dot--blue { background: var(--st-blue-fg); }
.similar-card__status--green { color: var(--st-green-fg); }
.similar-card__status--green-outline { color: var(--st-green-fg); }
.similar-card__status--orange { color: var(--st-orange-fg); }
.similar-card__status--red { color: var(--st-red-fg); }
.similar-card__status--blue { color: var(--st-blue-fg); }

/* --- 13. FAQ --- */
.faq { margin: 16px 0 24px; }
.faq details { border-bottom: 1px solid var(--border-subtle); padding: 12px 0; }
.faq summary { font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-a { font-size: 14px; line-height: 1.55; color: var(--sub); margin-top: 6px; }

/* --- 14. Wcześniejsze sezony --- */
.seasons { margin: 24px 0; }
.seasons summary {
  font-size: 15px; font-weight: 600; color: var(--sub); cursor: pointer; list-style: none;
}
.seasons summary::-webkit-details-marker { display: none; }
.seasons summary::before { content: "▸ "; }
.seasons[open] summary::before { content: "▾ "; }
.seasons table { margin-top: 10px; border-collapse: collapse; }
.seasons td { padding: 6px 24px 6px 0; font-size: 14px; color: var(--sub); }

/* --- 15. Boks autora --- */
.author-box {
  display: flex; gap: 14px; align-items: center;
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px;
}
.author-box__photo {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover;
  background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 6px, var(--border) 6px, var(--border) 12px);
}
.author-box__name { font-weight: 700; font-size: 14px; }
.author-box__bio { font-size: 13px; color: var(--sub); }

/* --- 16. Linia daty weryfikacji --- */
.verify-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--sub); margin: 40px 0 24px;
}
.verify-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-green-fg); }

/* --- 17. Stopka --- */
.site-footer { background: var(--surface); margin-top: 24px; padding: 24px 0; }
.site-footer__inner { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.site-footer__disclosure { font-size: 12px; color: var(--sub); }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__links a { font-size: 13px; font-weight: 500; color: var(--ink); }
.site-footer__copy { font-size: 12px; color: var(--muted); }

/* --- Strona główna --- */
.home-hero { text-align: center; padding: 32px 0 8px; }
.home-hero h1 { margin-bottom: 8px; }
.home-hero__sub { color: var(--sub); font-size: 15px; margin: 0 0 24px; }
.search-form { max-width: 560px; margin: 0 auto 32px; }
.search-input {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--ink); border-radius: var(--radius-md);
  padding: 13px 16px;
}
.search-input::placeholder { color: var(--muted); }
.home-group { margin-bottom: 16px; }
.home-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.home-group__head h2 { margin: 16px 0 12px; }
.home-group__all { font-size: 14px; font-weight: 500; white-space: nowrap; }
.tile--more { align-items: center; justify-content: center; color: var(--accent); }
.tile--more .tile__name { flex: 0; }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 24px; }
@media (min-width: 768px) { .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.tile {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 14px; color: var(--ink); display: flex; flex-direction: column; gap: 10px;
  min-height: 92px;
}
.tile:hover { border-color: #C6C8CC; color: var(--ink); text-decoration: none; }
.tile__name { font-size: 15px; font-weight: 700; line-height: 1.3; flex: 1; }
.home-verified { text-align: center; font-size: 13px; color: var(--sub); margin: 8px 0 40px; }

/* --- Strony statyczne --- */
.static-lead { font-size: 16px; color: var(--sub); }

/* --- Wyniki wyszukiwania --- */
.search-results { list-style: none; padding: 0; margin: 16px 0; }
.search-results li { border-bottom: 1px solid var(--border-subtle); }
.search-results a { display: block; padding: 12px 0; font-weight: 600; color: var(--ink); }
.search-results .type { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 8px; }
