/* ASTROLINIA — independent, manually edited "Dziś w astrologii".
   A later AstroEngine integration may supply approved content, never live here. */
.section-astrology .astro-today {
  position:relative;isolation:isolate;overflow:hidden;
  width:min(var(--ast-container-max,1360px),calc(100% - 2 * var(--ast-gutter,24px)));
  margin:calc(28px + var(--today-top-gap, 0px)) auto 48px;border:1px solid color-mix(in srgb,var(--today-accent,#ca985b) 70%,white);
  border-radius:17px;background:var(--today-surface,#fff4ea);
  color:var(--today-text,#50183d);box-shadow:0 6px 30px rgba(88,34,62,.07);
}
/* Tools already reserve a controllable scenic strip below their cards.
   When Today follows directly, do not add another 28px of empty page;
   overlap the lower edge of scenery slightly instead. Earlier module margins
   and the operator's scenic-gap setting remain untouched. */
.section-astrology .astro-tools + .astro-today {
  margin-top: var(--today-top-gap, 0px);
}
.section-astrology .astro-tools--scenic + .astro-today {
  margin-top: calc(-24px + var(--today-top-gap, 0px));
  z-index: 2;
}
@media (max-width:650px) {
  .section-astrology .astro-tools--scenic + .astro-today {
    margin-top: calc(-12px + var(--today-top-gap, 0px));
  }
}
.section-astrology .astro-today__background {
  position:absolute;z-index:-1;inset:0;pointer-events:none;
  background-image:var(--today-photo,none);
  background-size:cover;background-position:center;background-repeat:no-repeat;
  opacity:var(--today-opacity,65%);
}
.section-astrology .astro-today::after {
  content:"✧";position:absolute;z-index:1;right:8px;bottom:0;
  font:42px/1 Georgia,serif;color:var(--today-accent);opacity:.38;pointer-events:none;
}
.section-astrology .astro-today__shell{
  display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.92fr);
  gap:16px;align-items:stretch;width:100%;max-width:none;padding:15px;
}
.section-astrology .astro-today__left{min-width:0;display:flex;flex-direction:column;gap:14px}
.section-astrology .astro-today__header{display:flex;gap:14px;align-items:center;position:relative;min-height:60px}
.section-astrology .astro-today__main-symbol{color:var(--today-accent);font:52px/.8 Georgia,serif;flex:none}
.section-astrology .astro-today__header h2{
  margin:0;color:var(--today-text);font:var(--ast-type-section-weight,600) var(--today-heading,37px)/1.02 var(--ast-font-display,Georgia,serif);
}
.section-astrology .astro-today__header p{margin:4px 0 0;font-size:var(--today-subtitle,14px);line-height:1.35}
.section-astrology .astro-today__top-stars{
  margin-left:auto;white-space:nowrap;align-self:flex-start;
  color:var(--today-accent);font:23px/1 Georgia,serif;letter-spacing:3px;
}
.section-astrology .astro-today__cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;flex:1}
.section-astrology .astro-today__card{
  position:relative;min-height:154px;border:1px solid rgba(230,211,204,.75);
  border-radius:12px;padding:12px 11px;background:rgba(255,255,255,.84);
  box-shadow:0 2px 8px rgba(97,41,70,.05);
}
.section-astrology .astro-today__card::after{content:"✧";position:absolute;right:9px;top:13px;color:var(--today-accent);opacity:.6}
.section-astrology .astro-today__glyph{
  display:grid;place-items:center;width:48px;height:48px;border-radius:50%;
  margin-bottom:9px;background:#f9ead6;color:#c88338;
  font:33px/1 Georgia,serif;
}
.section-astrology .astro-today__card--moon .astro-today__glyph{background:#ebebf4;color:#554883}
.section-astrology .astro-today__card--mercury .astro-today__glyph{background:#f9e0df;color:#913c6c}
.section-astrology .astro-today__card--venus .astro-today__glyph{background:#e4efd9;color:#4f6b54}
.section-astrology .astro-today__card h3{
  margin:0 0 4px;color:var(--today-text);
  font:var(--ast-type-card-weight,600) var(--today-card-title,17px)/1.14 var(--ast-font-display,Georgia,serif);
  overflow-wrap:anywhere;
}
.section-astrology .astro-today__card p{
  margin:0;font:var(--ast-type-description-weight,400) var(--today-card-body,13px)/1.34 var(--ast-font-body,Arial,sans-serif);
  overflow-wrap:anywhere;
}
.section-astrology .astro-today__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 8px 3px}
.section-astrology .astro-today__outline-button{
  display:inline-flex;align-items:center;justify-content:center;gap:15px;
  max-width:100%;border:1px solid var(--today-accent);border-radius:32px;
  background:rgba(255,255,255,.77);padding:10px 20px;
  color:var(--today-text);text-decoration:none;font-size:var(--today-button-size,14px);
  font-weight:700;line-height:1.2;
}
.section-astrology .astro-today__ornament{font:16px/1 Georgia,serif;color:var(--today-accent);opacity:.85;white-space:nowrap}
.section-astrology .astro-today__feature{
  display:flex;flex-direction:column;min-width:0;padding:7px;
  border:1px solid #ecd6c8;border-radius:14px;
  background:rgba(255,250,247,.86);
}
.section-astrology .astro-today__banner{position:relative;min-height:135px;overflow:hidden;border-radius:9px;
  background:radial-gradient(circle at 75% 30%,#ffdfac 0,#a77a9b 39%,#34234f 100%);}
.section-astrology .astro-today__banner>img{display:block;width:100%;height:160px;object-fit:cover}
.section-astrology .astro-today__banner-label{
  position:absolute;right:0;bottom:0;padding:7px 15px 6px;
  border-radius:10px 0 0 0;max-width:90%;text-align:center;
  background:rgba(255,251,248,.96);box-shadow:0 0 12px rgba(0,0,0,.06);
}
.section-astrology .astro-today__banner-label strong{
  display:block;color:var(--today-text);font:600 var(--today-feature-title,30px)/.96 var(--ast-font-display,Georgia,serif);
}
.section-astrology .astro-today__banner-label small{
  color:#a97543;font:600 13px/1.15 var(--ast-font-display,Georgia,serif);
}
.section-astrology .astro-today__feature-bottom{display:grid;grid-template-columns:32% minmax(0,1fr);gap:13px;flex:1;margin-top:8px}
.section-astrology .astro-today__small-photo{min-height:145px;border-radius:8px;overflow:hidden;
  display:grid;place-items:center;background:radial-gradient(circle at 70% 35%,#e7b583 0,#614b75 55%,#22183e 100%);}
.section-astrology .astro-today__small-photo img{height:100%;width:100%;object-fit:cover;display:block}
.section-astrology .astro-today__small-photo>span{font:90px/1 Georgia,serif;color:#ffe9c4}
.section-astrology .astro-today__feature-copy{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:4px 2px 4px 0;min-width:0}
.section-astrology .astro-today__feature-copy p{margin:0;font-size:var(--today-feature-body,14px);line-height:1.4}
.section-astrology .astro-today__button{
  display:inline-flex;align-items:center;justify-content:space-between;gap:10px;
  width:100%;padding:10px 16px;border-radius:35px;
  background:var(--today-button,#681044);color:#fff;
  font-size:var(--today-feature-button,14px);line-height:1.18;font-weight:700;
  text-decoration:none;box-shadow:0 4px 10px rgba(104,16,68,.16)
}
.section-astrology .astro-today__button:hover,.section-astrology a.astro-today__outline-button:hover{filter:brightness(1.08)}
.section-astrology .astro-today__disabled{cursor:default;opacity:.84;pointer-events:none}
@media(max-width:1080px){
  .section-astrology .astro-today__shell{grid-template-columns:1fr}
  .section-astrology .astro-today__feature{max-width:none}
  .section-astrology .astro-today__banner>img{height:195px}
  .section-astrology .astro-today__small-photo{min-height:170px}
}
@media(max-width:650px){
  .section-astrology .astro-today{margin:calc(18px + var(--today-top-gap, 0px)) auto 30px;border-radius:12px}
  .section-astrology .astro-today__shell{padding:10px;gap:13px}
  .section-astrology .astro-today__header{gap:8px}
  .section-astrology .astro-today__header h2{font-size:clamp(27px,7vw,var(--today-heading,37px))}
  .section-astrology .astro-today__main-symbol{font-size:34px}
  .section-astrology .astro-today__top-stars{display:none}
  .section-astrology .astro-today__cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .section-astrology .astro-today__card{min-height:140px}
  .section-astrology .astro-today__bottom{flex-wrap:wrap}
  .section-astrology .astro-today__ornament{display:none}
  .section-astrology .astro-today__feature-bottom{grid-template-columns:34% minmax(0,1fr);gap:9px}
  .section-astrology .astro-today__feature-copy p{font-size:var(--today-feature-body,14px)}
}
