
/* =========================================================
   Spletnica v4.2 — Living Magazine Blocks
========================================================= */

.spl-living-strip,
.spl-daily-horoscope,
.spl-dream-search,
.spl-test-day,
.spl-category-landing,
.spl-article-summary,
.spl-article-toc,
.spl-advice-box {
  border: 1px solid var(--spl-line-soft, #f8dce7);
  border-radius: 16px;
  background: linear-gradient(135deg, #fffafa, #fff7fb);
  box-shadow: 0 8px 20px rgba(127, 41, 79, 0.045);
}

.spl-living-strip {
  margin: 24px 0 18px;
  padding: 20px 22px;
}

.spl-living-strip-head {
  color: var(--spl-wine, #7f294f);
  font-family: var(--spl-serif, Georgia, serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.spl-living-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.spl-living-pill {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px 13px;
  border: 1px solid var(--spl-line-soft, #f8dce7);
  border-radius: 14px;
  background: #fff;
  color: var(--spl-text, #3a2630);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.spl-living-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(190, 92, 136, .10);
}

.spl-living-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #fff2f7;
  color: var(--spl-pink, #ec3b85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 20px;
}

.spl-living-pill strong {
  display: block;
  color: var(--spl-wine, #7f294f);
  font-size: 14px;
  line-height: 1.15;
}

.spl-living-pill small {
  display: block;
  color: var(--spl-muted, #6f6268);
  font-size: 12px;
  margin-top: 3px;
}

.spl-daily-horoscope,
.spl-dream-search,
.spl-test-day {
  margin: 18px 0;
  padding: 24px;
}

.spl-daily-horoscope {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.spl-living-card-head h2,
.spl-dream-search h2,
.spl-test-day h2,
.spl-category-landing h2,
.spl-article-summary h2,
.spl-article-toc h2,
.spl-advice-box h2 {
  margin: 0 0 9px;
  color: var(--spl-wine, #7f294f);
  font-family: var(--spl-serif, Georgia, serif);
  font-size: 28px;
  line-height: 1.1;
}

.spl-living-card-head p,
.spl-dream-search p,
.spl-test-day p,
.spl-category-landing p,
.spl-advice-box p {
  margin: 0;
  color: var(--spl-muted, #6f6268);
  font-size: 15px;
  line-height: 1.5;
}

.spl-zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.spl-zodiac-grid a,
.spl-category-route-links a,
.spl-archive-links a,
.spl-related-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--spl-line, #f4c7d8);
  border-radius: 999px;
  background: #fff;
  color: var(--spl-wine, #7f294f);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.spl-zodiac-grid a:hover,
.spl-category-route-links a:hover,
.spl-archive-links a:hover,
.spl-related-links a:hover {
  color: var(--spl-pink, #ec3b85);
  border-color: var(--spl-pink, #ec3b85);
}

.spl-dream-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  align-items: center;
}

.spl-dream-search-form {
  display: flex;
  gap: 10px;
}

.spl-dream-search-form input {
  flex: 1;
  height: 46px;
  border: 1px solid var(--spl-line, #f4c7d8);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
}

.spl-dream-search-form button {
  min-width: 130px;
  border-radius: 10px;
  border: 1px solid var(--spl-pink, #ec3b85);
  background: var(--spl-pink, #ec3b85);
  color: #fff;
  font-weight: 800;
}

.spl-test-day {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 20px;
  align-items: center;
}

.spl-test-day-mark {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--spl-line, #f4c7d8);
  color: var(--spl-pink, #ec3b85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  animation: splHeartPulse 1.5s ease-in-out infinite;
}

.spl-category-landing {
  margin: 0 0 22px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: center;
}

.spl-category-route-links,
.spl-archive-links,
.spl-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.spl-article-summary,
.spl-article-toc,
.spl-advice-box {
  margin: 24px 0;
  padding: 22px 24px;
}

.spl-article-summary ul,
.spl-article-toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--spl-text, #3a2630);
  line-height: 1.7;
}

.spl-article-summary li,
.spl-article-toc li {
  margin-bottom: 7px;
}

.spl-advice-box {
  background: linear-gradient(135deg, #fff4f8, #ffffff);
}

@media (max-width: 1024px) {
  .spl-living-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spl-daily-horoscope,
  .spl-dream-search,
  .spl-test-day,
  .spl-category-landing {
    grid-template-columns: 1fr;
  }

  .spl-zodiac-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .spl-living-strip-grid,
  .spl-zodiac-grid {
    grid-template-columns: 1fr 1fr;
  }

  .spl-dream-search-form {
    display: block;
  }

  .spl-dream-search-form input,
  .spl-dream-search-form button {
    width: 100%;
    height: 44px;
    margin-bottom: 10px;
  }

  .spl-test-day-mark {
    display: none;
  }
}


/* =========================================================
   Spletnica v4.2.1 — Article SEO Polish
========================================================= */

.spl-trust-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 24px;
  padding: 15px 16px;
  border: 1px solid #f4c7d8;
  border-radius: 14px;
  background: #fff7fa;
  color: #6f6268;
  font-size: 14px;
  line-height: 1.5;
}

.spl-trust-note strong {
  color: #9a2f62;
  flex: 0 0 auto;
}

.spl-article-summary,
.spl-article-toc,
.spl-advice-box {
  border: 1px solid #f8dce7;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffafa, #fff7fb);
  box-shadow: 0 8px 20px rgba(127, 41, 79, 0.045);
  margin: 24px 0;
  padding: 22px 24px;
}

.spl-article-summary h2,
.spl-article-toc h2,
.spl-advice-box h2 {
  margin: 0 0 12px;
  color: #7f294f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}

.spl-article-summary ul,
.spl-article-toc ol {
  margin: 0;
  padding-left: 20px;
  color: #3a2630;
  line-height: 1.7;
}

.spl-article-summary li,
.spl-article-toc li {
  margin-bottom: 8px;
}

.spl-advice-box {
  background: linear-gradient(135deg, #fff4f8, #ffffff);
}

.spl-advice-box p {
  margin: 0;
  color: #6f6268;
  font-size: 16px;
  line-height: 1.65;
}

.spl-article-main {
  max-width: 820px;
}

.spl-article-content {
  font-size: 18px;
  line-height: 1.82;
}

.spl-article-content p {
  margin-bottom: 22px;
}

.spl-article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: #7f294f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.18;
}

.spl-article-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: #9a2f62;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.22;
}

@media (max-width: 768px) {
  .spl-trust-note {
    display: block;
  }

  .spl-article-summary,
  .spl-article-toc,
  .spl-advice-box {
    padding: 18px;
    border-radius: 14px;
  }

  .spl-article-content {
    font-size: 16.5px;
    line-height: 1.74;
  }
}


/* =========================================================
   Spletnica v4.2.2 — Living Blocks Organic Polish
========================================================= */

/* 2. More magazine-like living strip */
.spl-living-strip {
  background:
    radial-gradient(circle at 8% 18%, rgba(236, 59, 133, 0.07), transparent 30%),
    linear-gradient(135deg, #fffdfd, #fff7fb) !important;
  padding: 18px 20px !important;
  border-color: rgba(248, 220, 231, 0.95) !important;
  box-shadow: 0 8px 18px rgba(127, 41, 79, 0.035) !important;
}

.spl-living-strip-head {
  margin-bottom: 12px !important;
  font-size: 22px !important;
}

.spl-living-strip-grid {
  gap: 10px !important;
}

.spl-living-pill {
  min-height: 66px !important;
  padding: 10px 12px !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: none !important;
}

.spl-living-pill-icon {
  width: 34px !important;
  height: 34px !important;
  font-size: 18px !important;
}

.spl-living-pill strong {
  font-size: 13.5px !important;
}

.spl-living-pill small {
  font-size: 11.5px !important;
}

/* 4. Softer horoscope / dream / test day blocks */
.spl-daily-horoscope,
.spl-dream-search,
.spl-test-day,
.spl-category-landing {
  background:
    radial-gradient(circle at 96% 8%, rgba(236, 59, 133, 0.06), transparent 34%),
    linear-gradient(135deg, #fffdfd, #fff7fb) !important;
  border-color: rgba(248, 220, 231, 0.95) !important;
  box-shadow: 0 8px 18px rgba(127, 41, 79, 0.035) !important;
  padding: 22px !important;
  border-radius: 16px !important;
}

.spl-daily-horoscope {
  grid-template-columns: 255px minmax(0, 1fr) !important;
  gap: 20px !important;
}

.spl-living-card-head h2,
.spl-dream-search h2,
.spl-test-day h2,
.spl-category-landing h2 {
  font-size: 25px !important;
  margin-bottom: 7px !important;
}

.spl-living-card-head p,
.spl-dream-search p,
.spl-test-day p,
.spl-category-landing p {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.spl-zodiac-grid {
  gap: 8px !important;
}

.spl-zodiac-grid a,
.spl-category-route-links a,
.spl-archive-links a,
.spl-related-links a {
  min-height: 34px !important;
  padding: 7px 11px !important;
  background: rgba(255,255,255,0.92) !important;
  border-color: #f4c7d8 !important;
  font-size: 12.8px !important;
}

.spl-dream-search {
  grid-template-columns: minmax(0, 1fr) 390px !important;
}

.spl-dream-search-form input {
  height: 44px !important;
  border-radius: 10px !important;
}

.spl-dream-search-form button {
  min-width: 120px !important;
  height: 44px !important;
}

.spl-test-day {
  grid-template-columns: minmax(0, 1fr) 92px !important;
}

.spl-test-day-mark {
  width: 78px !important;
  height: 78px !important;
  font-size: 38px !important;
  box-shadow: 0 8px 18px rgba(236, 59, 133, .08);
}

/* Extra breathing between living sections */
.spl-daily-horoscope,
.spl-dream-search,
.spl-test-day {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

/* 5. Mobile improvements */
@media (max-width: 1024px) {
  .spl-living-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .spl-daily-horoscope,
  .spl-dream-search,
  .spl-test-day,
  .spl-category-landing {
    grid-template-columns: 1fr !important;
  }

  .spl-dream-search {
    gap: 16px !important;
  }

  .spl-zodiac-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .spl-living-strip,
  .spl-daily-horoscope,
  .spl-dream-search,
  .spl-test-day,
  .spl-category-landing {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .spl-living-strip-head,
  .spl-living-card-head h2,
  .spl-dream-search h2,
  .spl-test-day h2,
  .spl-category-landing h2 {
    font-size: 22px !important;
  }

  .spl-living-strip-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .spl-living-pill {
    min-height: 58px !important;
  }

  .spl-zodiac-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .spl-dream-search-form {
    display: block !important;
  }

  .spl-dream-search-form input,
  .spl-dream-search-form button {
    width: 100% !important;
    margin-bottom: 10px !important;
  }

  .spl-test-day-mark {
    display: none !important;
  }
}
