/*
Theme Name: Gianni Rodari
Description: Блочная тема по оформлению giannirodari.ru. Локальные изображения и шрифт, редактируемые паттерны и шаблоны.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Custom theme
Text Domain: gianni-rodari
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face{font-family:'Fira Sans Extra Condensed';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/fira-regular.ttf') format('truetype')}
*{box-sizing:border-box}body{margin:0}img{max-width:100%;height:auto}a{transition:opacity .15s}a:hover{opacity:.75}a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:5px}.wp-site-blocks>*,.wp-site-blocks>main>*{margin-block-start:0}.gr-section,.gr-header{width:calc(100% - 48px);max-width:1104px;margin-inline:auto}.gr-section{padding-block:20px}.gr-section h2{margin-block:0 28px}.gr-section p{margin-block:0 28px}.gr-header{min-height:104px;display:flex;gap:32px;align-items:center;padding-block:24px}.gr-header>*{margin:0}.gr-header .gr-logo{width:200px;flex-shrink:0}.gr-logo img{width:200px;display:block}.gr-header .gr-navigation{margin-left:auto}.gr-header .wp-block-buttons{flex-shrink:0}.gr-header a{text-decoration:none}.gr-hero{margin:0!important}.gr-hero figure{margin:0}.gr-hero img{display:block;width:100%;height:484px;object-fit:cover;object-position:center}.gr-section:has(.gr-events){padding-block:72px}.gr-events{margin-top:56px!important;min-height:154px}.gr-events h3{margin:0 0 8px}.gr-feature{align-items:center!important}.gr-feature>.wp-block-column:first-child{flex-basis:40%!important}.gr-feature>.wp-block-column:last-child{flex-basis:60%!important}.gr-square img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.gr-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px!important}.gr-grid>*{margin:0!important}.gr-caption{font-size:20px;line-height:28px}.gr-card figure{margin:0 0 24px}.gr-card a{text-underline-offset:3px}.gr-live{display:flex!important;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:20px}.gr-live figure{flex:0 0 78%;margin:0;scroll-snap-align:start}.gr-live img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.gr-live-section{padding-bottom:72px}.gr-footer{padding-block:36px 72px}.gr-footer .wp-block-columns{align-items:flex-start}.gr-footer-logo img{width:300px}.gr-footer-links{columns:2}.gr-footer-links p{margin:0 0 12px}.gr-footer a{text-decoration:none}.gr-footer p{font-size:16px;line-height:24px}.wp-block-post-content{overflow-wrap:anywhere}.wp-block-post-template>li{margin-bottom:56px}.wp-block-search__input{background:#222;color:#fff;border:1px solid #999;padding:12px}.wp-block-search__button{font:inherit;background:#fff;color:#111;border:0;padding:12px 24px}.wp-block-navigation__responsive-container.is-menu-open{background:#111!important;color:white!important}.wp-block-video video{max-width:100%}.gr-live-tools{display:flex;gap:12px;justify-content:flex-end;margin:0 0 20px}.gr-live-tools button{border:1px solid #999;background:transparent;color:#fff;border-radius:50%;width:44px;height:44px;font:inherit;font-size:24px;cursor:pointer}.gr-live-tools button:disabled{opacity:.3;cursor:default}
@media(min-width:960px) and (max-width:1359px){.gr-section,.gr-header{max-width:912px}.gr-header{gap:24px}.gr-header .gr-logo{width:160px}.gr-header .gr-navigation{font-size:14px}.gr-header .wp-block-navigation__container{gap:12px}}
@media(max-width:959px){.gr-section,.gr-header{max-width:592px}.gr-header{gap:20px}.gr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gr-hero img{height:360px}.gr-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.gr-header .wp-block-navigation__responsive-container-open{display:flex!important}.gr-header .gr-logo{width:180px}.gr-feature{flex-wrap:wrap!important}.gr-feature>.wp-block-column{flex-basis:100%!important}}
@media(max-width:639px){.gr-section,.gr-header{width:calc(100% - 40px)}.gr-header{min-height:88px;gap:16px}.gr-header .gr-logo{width:140px}.gr-header .wp-block-button__link{padding:7px 14px}.gr-header .wp-block-buttons{margin-left:0}.gr-hero img{height:260px}.gr-grid{grid-template-columns:1fr}.gr-section:has(.gr-events){padding-block:48px}.gr-events{margin-top:36px!important}.gr-section h2{font-size:36px;line-height:44px}.gr-live figure{flex-basis:92%}.gr-footer-links{columns:2}.gr-footer .wp-block-columns{gap:36px}.gr-feature{gap:24px}.gr-events{gap:28px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.wp-block-button.is-style-outline>.wp-block-button__link{border-color:#999999}
@media(max-width:639px){h1.wp-block-post-title{font-size:40px}}

h2.wp-block-heading{font-size:56px;line-height:64px}@media(max-width:639px){h2.wp-block-heading{font-size:36px;line-height:44px}}
