/* ==========================================================================
   STYRYLSKA - wyglad jak na dotychczasowej stronie styrylska.com ( WordPress ).
   Wczytywany po style.css ( header.php ); usuniecie pliku przywraca wyglad skorki LITE2.
   Kolory: rozowy #e7cec7 ( menu ), zielony #688474 ( tytuly ), szaroniebieski #b0c3ce ( logo po najechaniu ).
   Czcionki: Nunito ( menu, podpisy ), Sen ( tytuly ) - Google Fonts w header.php
   ========================================================================== */
:root{
  --sty-pink:#e7cec7;
  --sty-green:#688474;
  --sty-blue:#b0c3ce;
  --sty-font-menu:"Nunito", "Helvetica Neue", Arial, sans-serif;
  --sty-font-title:"Sen", "Helvetica Neue", Arial, sans-serif;
  --head-h:108px;
}
@media screen and (max-width:860px){ :root{ --head-h:72px; } }

/* --------------------------------------------------------------------------
   NAGLOWEK: zawsze bialy, logo graficzne, menu rozowe ( wersaliki, Nunito )
   -------------------------------------------------------------------------- */
html .header__navigation,
html .is-sub .header__navigation,
html .is-start .header__navigation:not(.is-solid),
html .header__navigation.is-solid,
html .is-start .header__navigation.is-on-dark:not(.is-solid){height:var(--head-h);padding-top:0;padding-bottom:0;background:#fff;color:#000;box-shadow:none;text-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
html .header__navigation.is-solid{box-shadow:0 5px 25px -15px rgba(0,0,0,.25);}
.is-start #hero{margin-top:var(--head-h);height:calc(100vh - var(--head-h));height:calc(100svh - var(--head-h));min-height:400px;}
/* zalogowany: belka administratora ( 40px ) albo dwie belki ( 80px ) nad naglowkiem - slider dalej miesci sie na ekranie */
html.has-user-bar .is-start #hero{height:calc(100vh - var(--head-h) - 40px);height:calc(100svh - var(--head-h) - 40px);}
html.has-two-bars .is-start #hero{height:calc(100vh - var(--head-h) - 80px);height:calc(100svh - var(--head-h) - 80px);}

/* logo: monogram + LOLA STYRYLSKA ( templates/lite/img/logo-header.svg ), czarne, po najechaniu szaroniebieskie */
#logo .logo__mark{display:none;}
#logo .logo__full{display:block;width:157px;height:63px;flex:none;color:#000;transition:color .4s ease;}
html #logo #title a, html .is-start .header__navigation.is-on-dark:not(.is-solid) #logo #title a{color:#000;text-shadow:none;}
#logo #title a:hover .logo__full, #logo #title a:focus-visible .logo__full{color:var(--sty-blue);}
#logo .logo__name{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
#logo .logo__slogan{display:none;}
@media screen and (max-width:860px){ #logo .logo__full{width:110px;height:44px;} }

/* menu gorne: rozowe wersaliki; po najechaniu od lewej "wjezdza" rozowe tlo z bialym napisem ( atrybut data-hover, _lists.php ) */
.header__menu .level-0-menu{gap:.4rem 2.4rem;align-items:center;}
@media screen and (max-width:1100px){ .header__menu .level-0-menu{column-gap:1.4rem;} }
html .header__menu .level-0-menu > li > .menu__link,
html .is-start .header__navigation.is-on-dark:not(.is-solid) .header__menu .level-0-menu > li > .menu__link{position:relative;padding:.05em 0;color:var(--sty-pink);font-family:var(--sty-font-menu);font-size:var(--menu-size, 1rem);font-weight:500;letter-spacing:1px;text-transform:uppercase;opacity:1;text-shadow:none;}
html .header__menu .level-0-menu > li > .menu__link:after{content:attr(data-hover);position:absolute;left:0;top:0;bottom:auto;width:auto;height:auto;max-width:0;padding:.05em 0;overflow:hidden;white-space:nowrap;background:var(--sty-pink);color:#fff;transition:max-width .35s;}
html .header__menu .level-0-menu > li > .menu__link:hover:after,
html .header__menu .level-0-menu > li > .menu__link:focus-visible:after,
html .header__menu .level-0-menu > li.selected > .menu__link:after,
html .header__menu .level-0-menu > li.selected-parent > .menu__link:after,
html .header__menu .level-0-menu > li.has-submenu.is-open > .menu__link:after{max-width:100%;width:auto;}
.header__menu .submenu__toggle{color:var(--sty-pink);opacity:1;}
html button.hamburger, html .is-start .header__navigation.is-on-dark:not(.is-solid) button.hamburger{color:var(--sty-pink);text-shadow:none;}
button.hamburger .hamburger-label{font-family:var(--sty-font-menu);font-weight:500;letter-spacing:1px;}
html .lang-switch a, html .is-start .header__navigation.is-on-dark:not(.is-solid) .lang-switch a{color:var(--sty-pink);text-shadow:none;}
/* ulubione ( serduszko w menu, core/works.php ) - w kolorze menu */
html .header__navigation .fav-menu, html .is-start .header__navigation.is-on-dark:not(.is-solid) .fav-menu{color:var(--sty-pink);opacity:1;}
html .header__navigation .fav-menu:hover, html .header__navigation .fav-menu.is-current{color:var(--sty-green);}
html .header__navigation.is-mega-open{background:#fff;}

/* mega menu: tytul sekcji i podpisy w kolorach strony */
.mega-menu__title{font-family:var(--sty-font-title);font-weight:700;color:var(--sty-green);}
.mega-menu__name{font-family:var(--sty-font-menu);font-weight:700;letter-spacing:1px;}
.mega-menu__all{color:var(--sty-green);font-family:var(--sty-font-menu);}

/* panel mobilny */
.mm-ocd .menu__link{font-family:var(--sty-font-menu);font-weight:500;letter-spacing:1px;}
.mm-ocd .selected > .menu__link{color:var(--sty-green);}

/* --------------------------------------------------------------------------
   TYTULY STRON: Sen, zielony, pierwsza litera wielka
   -------------------------------------------------------------------------- */
#page > h1, #page > h1 .page-name{font-family:var(--sty-font-title);font-size:2rem;font-weight:700;letter-spacing:normal;line-height:1.25;color:var(--sty-green);text-transform:none;}
#page > h1 .page-name{display:inline-block;}
#page > h1 .page-name::first-letter{text-transform:uppercase;}

/* --------------------------------------------------------------------------
   KAFELKI ( galeria zdjec na stronie, siatka okladek, prace ):
   po najechaniu od dolu wjezdza kolorowa maska ( 3 kolory na zmiane ), na niej bialy, pogrubiony tytul
   -------------------------------------------------------------------------- */
.images-3 > li:nth-child(3n+1), .pages-list--covers > .page:nth-child(3n+1), .works-tiles > .work-tile:nth-child(3n+1){--sty-mask:var(--sty-blue);}
.images-3 > li:nth-child(3n+2), .pages-list--covers > .page:nth-child(3n+2), .works-tiles > .work-tile:nth-child(3n+2){--sty-mask:var(--sty-green);}
.images-3 > li:nth-child(3n), .pages-list--covers > .page:nth-child(3n), .works-tiles > .work-tile:nth-child(3n){--sty-mask:var(--sty-pink);}

@media (hover: hover) and (min-width: 768px){
  .images-3 > li > a, .pages-list--covers .image a, .works-tiles .work-tile > a{position:relative;display:block;}
  .images-3 > li > a:before, .pages-list--covers .image a:before, .works-tiles .work-tile > a:before{content:"";position:absolute;left:0;bottom:0;z-index:1;width:100%;height:0;background:var(--sty-mask, var(--sty-green));transition:height .35s;pointer-events:none;}
  .images-3 > li:hover > a:before, .pages-list--covers .page:hover .image a:before, .works-tiles .work-tile > a:hover:before, .works-tiles .work-tile > a:focus-visible:before{height:100%;}
  /* bez powiekszania i wygaszania zdjecia - jak w oryginale, tylko maska */
  .images-3 img, .pages-list--covers .image img, .works-tiles .work-tile img{transition:none !important;}
  .pages-list--covers .page:hover .image img, .justified-gallery > li > a:hover > img{transform:none;}

  /* tytul na masce */
  .images-3 p, .pages-list--covers .title, .work-tile__caption{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;margin:0;padding:10%;background:none;color:#fff;font-family:var(--sty-font-menu);font-size:.95rem;font-weight:800;line-height:1.35;letter-spacing:normal;text-align:center;overflow-wrap:anywhere;opacity:0;transform:none;transition:opacity .35s;pointer-events:none;}
  .pages-list.pages-list--covers .title a, .pages-list.pages-list--covers .title a:hover, .pages-list.pages-list--covers .title a:focus-visible, .images-3 > li p, .works-tiles .work-tile__caption, .works-tiles .work-tile__caption *{color:#fff;} /* bialy tytul na masce - mocniej niz .pages-list .title a:hover ( style.css ) */
  .images-3 > li:hover p, .pages-list--covers .page:hover .title, .pages-list--covers .page:focus-within .title, .works-tiles .work-tile > a:hover .work-tile__caption, .works-tiles .work-tile > a:focus-visible .work-tile__caption{opacity:1;}
  .work-tile__name{font-weight:800;}
  .work-tile__cycle{font-weight:500;font-size:.8em;opacity:.9;}
}

/* galeria zdjec na stronie: uklad ( kolumny / rowne rzedy ) - ustawienie w oknie ustawien, style.css: GALERIA W KOLUMNACH */
/* telefon i dotyk: jak w oryginale - bez podpisow pod zdjeciami ( podpis jest w powiekszeniu ) */
@media (hover: none), (max-width: 767px){
  .images-3 p{display:none;}
}

/* pojawianie sie kafelkow przy przewijaniu - style.css ( POJAWIANIE SIE PRZY PRZEWIJANIU ), efekt w oknie ustawien */

/* --------------------------------------------------------------------------
   STOPKA jak w oryginale: szaroniebieskie tlo, biale napisy; monogram z lewej, kontakt na srodku, ikony z prawej ( footer.php )
   -------------------------------------------------------------------------- */
html #foot{--color-on-dark:#fff;--color-on-dark-muted:#fff;margin-top:clamp(3rem, 7vw, 6.25rem);background:var(--sty-blue);color:#fff;font-family:var(--sty-font-menu);font-size:1.125rem;line-height:1.5;}
#foot a{color:#fff;text-decoration:none;}
#foot a:hover, #foot a:focus-visible{text-decoration:underline;text-underline-offset:.2em;}
/* kolumny jak w PIETUCH ( footer.php ): artystka - znak, nazwisko, kontakt, ikony; dalej kazde menu z panelu w osobnej kolumnie */
#foot .foot__cols{max-width:1140px;margin:0 auto;gap:clamp(1.6rem, 4vw, 3rem);padding-top:clamp(2.4rem, 5vw, 4rem) !important;padding-bottom:clamp(2rem, 4vw, 3rem) !important;}
.foot__about{display:flex;align-items:flex-start;gap:1.4rem;}
.foot__logo{display:block;flex:none;width:84px;height:84px;color:#fff;transition:opacity .3s;}
.foot__logo:hover{opacity:.8;}
.foot__logo svg{display:block;width:100%;height:100%;}
.foot__info p{margin:0 0 .25rem;}
#foot .foot__name{margin:0 0 .2rem;color:#fff;font-family:inherit;font-size:1.25rem;font-weight:700;letter-spacing:normal;line-height:1.3;}
#foot .foot__slogan{margin:0 0 .8rem;font-size:.9rem;opacity:.8;}
#foot .foot__head{margin:0 0 .8rem;color:#fff;font-family:inherit;font-size:.78rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;opacity:.7;}
#foot .menu-foot .level-0-menu{margin:0;padding:0;list-style:none;}
#foot .menu-foot .menu__link{display:inline-block;padding:.22rem 0;color:#fff;font-size:1rem;opacity:.9;}
#foot .menu-foot .menu__link:hover, #foot .menu-foot .selected > .menu__link{opacity:1;}
.foot__social{display:flex;gap:1.2rem;margin-top:1rem;}
.foot__social:empty{display:none;}
.foot__social a{display:block;width:26px;height:26px;color:#fff;transition:opacity .3s;}
.foot__social a:hover{opacity:.75;}
.foot__social svg{display:block;width:100%;height:100%;}
#foot .foot__bottom{max-width:1140px;margin:0 auto;padding-top:1.1rem !important;padding-bottom:1.1rem !important;border-top:1px solid rgba(255,255,255,.22);font-size:.75rem;}
#foot .foot__bottom .copy{opacity:.85;}
#foot #powered{opacity:.7;}
@media screen and (max-width:767px){
  .foot__about{flex-direction:column;align-items:center;}
  .foot__logo{width:72px;height:72px;}
  .foot__social{justify-content:center;}
  html #foot{font-size:1rem;}
}
@media print{ .foot__social{display:none !important;} }
/* "zobacz wszystkie prace" przy tytule - zielony jak tytuly, rozowy po najechaniu */
html #page .works-all-button{color:var(--sty-green);font-family:var(--sty-font-menu);font-weight:600;letter-spacing:1px;}
html #page .works-all-button:hover, html #page .works-all-button:focus-visible{color:var(--sty-pink);}
