/* taste-fixes.css: poprawki strony glownej astronomia.media.pl (podglad 01.11.2026)
   Ladowac jako OSTATNI arkusz, po maintenance.css. Cofniecie = usuniecie jednego <link>.
   1) czytelny tekst  2) jedna glowna akcja  3) wyrownanie rzedu kafli  4) naglowek w 2 liniach */

/* 1. Tekst do czytania min. 16 px, etykiety min. 13 px */
:root .readable-home .home-reference-copy .page-subtitle {
  font-size: 19px;
  line-height: 1.55;
}
:root .readable-home .home-reference-issue p,
:root .readable-home .home-story-body p,
:root .readable-home .home-article-body p,
:root .readable-home .home-article-card p {
  font-size: 17px;
  line-height: 1.6;
}
:root .readable-home .home-article-meta,
:root .readable-home .home-article-time,
:root .readable-home .home-story-kicker,
:root .readable-home .home-story-more,
:root .readable-home .home-label,
:root .readable-home .home-picks-note,
:root .readable-home .home-picks-meta {
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
/* haslo nad tytulem: zostaje, ale jako zwykle zdanie, nie mikroetykieta */
:root .readable-home .home-reference-copy .section-eyebrow {
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

/* 2. Hierarchia akcji: glowna = "Zamow wydanie", reszta cichsza */
:root .readable-home .home-reference-copy .home-primary-actions .btn-ghost {
  border-color: transparent;
  background: none;
  box-shadow: none;
  padding-left: 0;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
:root .readable-home .home-reference-actions a,
:root .readable-home .home-reference-actions a.home-action-calendar {
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
  box-shadow: none;
  color: rgba(244, 247, 251, 0.9);
  font-size: 15px;
  font-weight: 700;
}
/* "6 numerow za darmo" zostaje czerwone (decyzja usera 01.11) */
:root .readable-home .home-reference-actions a.home-action-free {
  color: #fff;
  background: #c41a42;
  border-color: #e0456a;
  box-shadow: 0 18px 54px rgba(196, 26, 66, 0.32);
}
:root .readable-home .home-reference-actions a.home-action-free:hover,
:root .readable-home .home-reference-actions a.home-action-free:focus-visible {
  background: #d8204e;
}
:root .readable-home .home-reference-actions a:not(.home-action-free):hover,
:root .readable-home .home-reference-actions a:not(.home-action-free):focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

/* 3. Rzad kafli od lewej krawedzi tresci, na cala szerokosc */
:root .readable-home .home-reference-actions {
  max-width: none;
  margin-left: 0;
  margin-top: 1.5rem;
}

/* 4. Naglowek w 2 liniach na desktopie: szersza kolumna tekstu */
@media (min-width: 1121px) {
  :root .readable-home .home-reference-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(400px, 450px);
    gap: clamp(2rem, 4vw, 4rem);
  }
  :root .readable-home .home-reference-copy,
  :root .readable-home .home-reference-copy .page-title {
    max-width: none;
  }
}

/* 5. Kafel prenumeraty wypelniony tresca (01.11, opcja 1 usera) */
:root .readable-home .home-subscription-card {
  display: flex;
  flex-direction: column;
}
:root .readable-home .home-subscription-card h2 {
  margin-bottom: 1rem;
}
:root .readable-home .home-sub-visual {
  display: block;
  flex: 1 1 150px;
  min-height: 150px;
  margin: 0 0 1.1rem;
  position: relative;
  container-type: size;
}
/* 5a. Trzy pelne okladki wachlarzem; rozmiar z wymiarow ramki, zeby nic nie bylo uciete (01.11) */
:root .readable-home .home-sub-visual img {
  position: absolute;
  top: 50%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
:root .readable-home .home-sub-visual img:nth-child(1),
:root .readable-home .home-sub-visual img:nth-child(2) {
  width: min(70cqh * 0.706, 50cqw);
  transform: translateY(-50%) rotate(-7deg);
  left: max(0px, 50cqw - min(70cqh * 0.706, 50cqw) * 1.15);
}
:root .readable-home .home-sub-visual img:nth-child(2) {
  transform: translateY(-50%) rotate(7deg);
  left: auto;
  right: max(0px, 50cqw - min(70cqh * 0.706, 50cqw) * 1.15);
}
:root .readable-home .home-sub-visual img:nth-child(3) {
  z-index: 2;
  width: min(86cqh * 0.706, 66cqw);
  left: 50%;
  transform: translate(-50%, -50%);
}
:root .readable-home .home-subscription-card p.home-sub-price {
  margin: 0 0 0.8rem;
  color: rgba(232, 234, 246, 0.85);
  font-size: 16px;
}
:root .readable-home .home-sub-price strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 30px;
  margin-right: 0.3rem;
}
:root .readable-home .home-sub-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}
:root .readable-home .home-sub-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(232, 234, 246, 0.85);
  font-size: 16px;
  line-height: 1.45;
}
:root .readable-home .home-sub-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0b400;
}
:root .readable-home .home-subscription-card .btn-primary {
  margin-top: auto;
  align-self: flex-start;
}
