/*
Theme Name: Rundomain Studio
Template: generatepress
Author: Rundomain
Description: Motyw potomny. Wyglad sekcji ustawiany w edytorze blokowym.
Version: 1.1.0
*/
/* Only remove the parent theme frame on the custom home page. */
body.page:has(.rd-site) #masthead,body.page:has(.rd-site) #site-navigation,body.page:has(.rd-site) .site-footer,body.page:has(.rd-site) .entry-header,body.page:has(.rd-site) #right-sidebar,body.page:has(.rd-site) #left-sidebar{display:none}
body.page:has(.rd-site) .site.grid-container{max-width:none}
body.page:has(.rd-site) .site-content{display:block;padding:0}
body.page:has(.rd-site) .content-area{width:100%}
body.page:has(.rd-site) .inside-article{background:transparent;padding:0}
body.page:has(.rd-site) .entry-content{margin:0}
/* Prevent GeneratePress from adding a second padding inside native groups. */
.rd-site .wp-block-group__inner-container{padding:0}
.rd-site a:not(.wp-block-button__link){color:inherit;text-decoration:none}
.rd-site a:not(.wp-block-button__link):hover{text-decoration:underline}
.rd-site a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.rd-site *{box-sizing:border-box}

/* Motion and interactions only. Colors, type sizes and spacing remain in blocks. */
.rd-site .wp-block-columns{margin-bottom:0}
.rd-hero{overflow:hidden;isolation:isolate}
.rd-hero .wp-block-cover__image-background{animation:rdPhoto 18s ease-in-out infinite alternate;will-change:transform}
.rd-hero h1{animation:rdIntro .85s cubic-bezier(.2,.7,.2,1) both}
.rd-hero .wp-block-buttons{animation:rdIntro .9s .15s cubic-bezier(.2,.7,.2,1) both}
.rd-marquee{overflow:hidden}
.rd-marquee p{white-space:nowrap;width:max-content;max-width:none;animation:rdMarquee 26s linear infinite}
.rd-marquee:hover p{animation-play-state:paused}
.rd-project{transition:transform .3s ease,border-color .3s ease}
.rd-project:hover{transform:translateY(-7px);border-color:#d8fa74}
.rd-project figure{overflow:hidden}
.rd-project img{display:block;width:100%;height:auto;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.rd-project:hover img{transform:scale(1.035)}
.rd-site .wp-block-button__link{transition:transform .25s ease,filter .25s ease}
.rd-site .wp-block-button__link:hover{transform:translateY(-3px);filter:brightness(1.08)}
.rd-nav a{transition:opacity .2s ease}
.rd-nav a:hover{opacity:.72}
@keyframes rdPhoto{from{transform:scale(1)}to{transform:scale(1.055)}}
@keyframes rdIntro{from{opacity:.25;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes rdMarquee{to{transform:translateX(-50%)}}
@keyframes rdReveal{from{opacity:.2;transform:translateY(35px)}to{opacity:1;transform:translateY(0)}}
@supports(animation-timeline:view()){
.rd-reveal,.is-style-rd-reveal{animation:rdReveal linear both;animation-timeline:view();animation-range:entry 0% entry 25%}
}
@media(prefers-reduced-motion:reduce){.rd-site *{animation:none!important;transition:none!important;will-change:auto!important}}

/* Full-width outer canvas; inner content widths stay editable in blocks. */
.rd-site>.wp-block-group__inner-container{max-width:none}

.rd-site>.wp-block-group__inner-container>.wp-block-group>.wp-block-group__inner-container{max-width:none}
