/* AstroWedy — warstwa wyglądu v1.0, dla Seedlet. Bez styli #aw-naks-strip, .aw-naks-* i .aw-ankh. */
:root {--awv-cream:#fffaf1;--awv-cream-deep:#fbf3e6;--awv-forest:#123b2b;--awv-gold:#b77b19;--awv-line:#dec99c;}
body.awv-theme{background-color:var(--awv-cream)!important;background-image:radial-gradient(ellipse at center top,#fffdf9 0%,#fff9ec 64%,#faf0df 100%)!important;color:#1e382c;}
body.awv-theme #page.site{background:transparent!important;overflow:visible;position:relative;}
body.awv-theme #page.site::before,body.awv-theme #page.site::after{
 content:"";position:absolute;top:0;width:clamp(96px,15vw,220px);height:clamp(96px,15vw,220px);background:url('ornament.svg') center/contain no-repeat;opacity:.32;pointer-events:none;z-index:0;
}
body.awv-theme #page.site::before{left:0;}
body.awv-theme #page.site::after{right:0;}
body.awv-theme #masthead,body.awv-theme #content,body.awv-theme #colophon{position:relative;z-index:1;}
/* Oryginalna zawartość nagłówka WordPress, bez tworzenia drugiego menu. */
body.awv-theme #masthead.site-header{box-sizing:border-box!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:16px 16px 9px!important;margin:0 auto 8px!important;max-width:1160px!important;width:100%!important;min-height:0!important;}
body.awv-theme #masthead .site-branding{display:block!important;visibility:visible!important;text-align:center!important;float:none!important;margin:0 auto 7px!important;padding:0!important;max-width:100%!important;}
body.awv-theme #masthead .site-branding::before{content:"";display:block;margin:0 auto 4px;width:74px;height:52px;background:url('lotus.svg') center/contain no-repeat;}
body.awv-theme #masthead .site-title{display:block!important;text-align:center!important;margin:0 auto!important;padding:0!important;font:700 clamp(30px,3.5vw,44px)/1.2 Georgia,'Times New Roman',serif!important;letter-spacing:-.015em;}
body.awv-theme #masthead .site-title a{color:var(--awv-forest)!important;text-decoration:none!important;}
body.awv-theme #masthead .site-description{display:block!important;text-align:center!important;margin:1px auto 10px!important;padding:0!important;font:500 13px/1.5 Georgia,'Times New Roman',serif!important;letter-spacing:.045em;color:#77542c!important;}
body.awv-theme #masthead .site-navigation{padding:0!important;margin:0 auto!important;}
/* Kompaktowe menu od progu desktopowego Seedlet — bez naruszania logiki mobilnej. */
@media screen and (min-width:1024px) {
 body.awv-theme #masthead #site-navigation {
   display:block!important;
   position:relative!important;
   z-index:2001!important;
   width:100%!important;
   max-width:1120px!important;
   height:auto!important;
   margin:0 auto!important;
   padding:0!important;
   overflow:visible!important;
   text-align:center!important;
 }
 body.awv-theme #masthead #site-navigation > .primary-menu-container {
   display:block!important;
   position:relative!important;
   width:100%!important;
   height:auto!important;
   margin:0 auto!important;
   padding:0!important;
   overflow:visible!important;
   background:transparent!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper {
   display:flex!important;
   flex-flow:row nowrap!important;
   justify-content:center!important;
   align-items:center!important;
   gap:0 clamp(5px,1.25vw,18px)!important;
   width:max-content!important;
   max-width:100%!important;
   margin:0 auto!important;
   padding:0!important;
   list-style:none!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li {
   display:inline-flex!important;
   flex:0 0 auto!important;
   align-items:center!important;
   position:relative!important;
   width:auto!important;
   max-width:none!important;
   height:auto!important;
   float:none!important;
   margin:0!important;
   padding:0!important;
   white-space:nowrap!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > a {
   display:inline-block!important;
   width:auto!important;
   padding:9px clamp(3px,.55vw,9px)!important;
   margin:0!important;
   color:var(--awv-forest)!important;
   font:600 clamp(13px,1.1vw,16px)/1.4 Georgia,'Times New Roman',serif!important;
   text-decoration:none!important;
   text-align:center!important;
   white-space:nowrap!important;
   border-bottom:2px solid transparent!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > a:hover,
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li.current-menu-item > a,
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li.current_page_item > a {
   border-bottom-color:var(--awv-gold)!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > svg.svg-icon {
   flex:none!important;
   width:14px!important;
   height:14px!important;
   margin-left:2px!important;
 }
 /* Osobne tło i własny porządek warstw: dropdown nad tekstem i paskiem kalendarza. */
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > ul.sub-menu {
   display:none!important;
   position:absolute!important;
   inset:auto auto auto 0!important;
   top:calc(100% - 1px)!important;
   z-index:9000!important;
   box-sizing:border-box!important;
   min-width:280px!important;
   width:320px!important;
   max-width:calc(100vw - 32px)!important;
   height:auto!important;
   max-height:min(68vh,640px)!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   margin:0!important;
   padding:8px 0!important;
   background:#fffaf2!important;
   border:1px solid #dac79f!important;
   border-radius:10px!important;
   box-shadow:0 12px 28px rgba(48,40,23,.2)!important;
   text-align:left!important;
   white-space:normal!important;
   opacity:1!important;
   visibility:visible!important;
   transform:none!important;
   pointer-events:auto!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li:hover > ul.sub-menu,
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li:focus-within > ul.sub-menu,
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > a[aria-expanded="true"] ~ ul.sub-menu {
   display:block!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > ul.sub-menu > li {
   display:block!important;
   width:100%!important;
   min-width:0!important;
   height:auto!important;
   float:none!important;
   position:relative!important;
   margin:0!important;
   padding:0!important;
   list-style:none!important;
   white-space:normal!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > ul.sub-menu > li > a {
   display:block!important;
   box-sizing:border-box!important;
   width:100%!important;
   height:auto!important;
   margin:0!important;
   padding:10px 14px!important;
   color:#173c2d!important;
   background:transparent!important;
   font:normal 15px/1.5 Georgia,'Times New Roman',serif!important;
   text-decoration:none!important;
   text-align:left!important;
   white-space:normal!important;
   overflow-wrap:break-word!important;
 }
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > ul.sub-menu > li > a:hover,
 body.awv-theme #masthead #site-navigation ul.menu-wrapper > li > ul.sub-menu > li > a:focus-visible {
   color:#0f422c!important;
   background:#f1e8d5!important;
   outline-offset:-2px;
 }
 body.awv-theme #masthead .menu-button-container {display:none!important;}
 body.awv-theme #masthead #primary-close-menu {display:none!important;}
}
@media (max-width:1023px){
 body.awv-theme #masthead.site-header{padding:10px 12px 5px!important;}
 body.awv-theme #masthead .site-branding::before{width:58px;height:43px;}
 body.awv-theme #masthead .site-title{font-size:30px!important;}
 body.awv-theme #masthead .site-description{font-size:12px!important;margin-bottom:5px!important;}
 /* Mobilny przycisk Menu i panel rozwijany pozostają mechanizmem Seedlet. */
 body.awv-theme #masthead .menu-button-container{position:relative;z-index:70;}
}
/* Wyśrodkowanie istniejącego wprowadzenia na stronie głównej, bez ruszania reszty artykułów. */
body.awv-theme.home .entry-content > h2:first-of-type{max-width:1050px!important;margin:28px auto 14px!important;padding:0 14px!important;text-align:center!important;font:700 clamp(26px,3.2vw,42px)/1.23 Georgia,'Times New Roman',serif!important;color:var(--awv-forest)!important;}
body.awv-theme.home .entry-content > h2:first-of-type + p,
body.awv-theme.home .entry-content > h2:first-of-type + p + p,
body.awv-theme.home .entry-content > h2:first-of-type + p + p + p{width:min(960px,calc(100% - 28px));max-width:960px;margin:0 auto 14px!important;text-align:center!important;font:normal clamp(16px,1.3vw,19px)/1.65 Georgia,'Times New Roman',serif!important;color:#273a2e!important;}
/* Na podstronach zachowujemy wewnętrzne style kalkulatorów; tło strony jest globalne. */
@media (max-width:760px){body.awv-theme #page.site::before,body.awv-theme #page.site::after{opacity:.16;width:108px;height:108px;}}



/* v1.1.2 — naprawa warstw bez zmian paska Nakshatr i jego symboli. */
body.awv-theme #page.site { isolation:isolate; }
body.awv-theme #masthead.site-header {
  position:relative!important;
  z-index:9990!important;
  overflow:visible!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
body.awv-theme #content.site-content {position:relative!important;z-index:1!important;}
body.awv-theme #masthead #site-navigation {overflow:visible!important;}
body.awv-theme #masthead #site-navigation .primary-menu-container {z-index:2001;}
/* Nie wymuszamy otwierania/zamykania na tablecie i telefonie: robi to Seedlet. */
/* Czytelniejszy tekst wprowadzenia. */
body.awv-theme.home .entry-content > h2:first-of-type + p,
body.awv-theme.home .entry-content > h2:first-of-type + p + p,
body.awv-theme.home .entry-content > h2:first-of-type + p + p + p {
  font-size:clamp(18px,1.55vw,21px)!important;
  line-height:1.7!important;
}
