/*
Theme Name: Stayingyor
Description: Lightweight block theme for stayingyor.com (no page builder). Colours and type from the live site; content types and dynamic blocks come from the "Stayingyor alap" plugin.
Author: Dudics Dávid e.v.
Version: 0.3.12
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: stayingyor
*/

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { scroll-padding-top: 80px; }
body { overflow-x: hidden; }
.wp-site-blocks { overflow-x: clip; }
img { height: auto; }
.sy-fejlec { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(29, 34, 40, .08); }
.admin-bar .sy-fejlec { top: 32px; }
@media (max-width: 782px) { .admin-bar .sy-fejlec { top: 0; position: relative; } }
.sy-fejlec .wp-block-navigation a { color: var(--wp--preset--color--szoveg); text-decoration: none; }
.sy-fejlec .wp-block-navigation a:hover, .sy-fejlec .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--narancs); }
.sy-fejlec__foglalas .wp-block-button__link { padding: 10px 22px; }
@media (max-width: 600px) { .sy-fejlec__foglalas .wp-block-button__link { padding: 9px 14px; font-size: 12px; letter-spacing: 1px; } }
.sy-felirat { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 2.4px; margin-bottom: 8px !important; }
.sy-csillagok { color: var(--wp--preset--color--narancs); letter-spacing: 3px; }
.sy-oszto { width: 120px; height: 2px; background: var(--wp--preset--color--zold); border: 0; margin-left: auto; margin-right: auto; }
.sy-ikondoboz img { width: 75px; height: 75px; object-fit: contain; }
.sy-ikondoboz h3 { font-size: 26px !important; margin-top: 10px; }
.sy-kep-szoveg .wp-block-media-text__content { padding: clamp(16px, 4vw, 48px); }
.sy-kep-szoveg h3 { color: var(--wp--preset--color--sotetzold); }
.sy-hos-cover h1, .sy-hos-cover h2 { color: #fff; }
.sy-hos-cover .wp-block-cover__inner-container { max-width: 1260px; margin: 0 auto; padding-left: clamp(0px, 6vw, 80px); }
.sy-oldalfej h1 { position: relative; padding-right: 22px; }
.sy-oldalfej h1::after { content: ""; position: absolute; right: 0; top: 12%; height: 76%; width: 7px; background: #fff; }
.sy-pipas li { list-style: none; position: relative; padding-left: 30px; margin: 6px 0; font-weight: 500; }
.sy-pipas { padding-left: 0; }
.sy-pipas li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--narancs); font-weight: 700; }
.sy-kartya-szines { padding: 20px; height: 100%; }
.sy-kartya { height: 100%; }
.sy-kartya > :not(.wp-block-post-featured-image):not(.sy-gomblink) { padding-left: 22px; padding-right: 22px; }
.sy-kartya .wp-block-post-title a { color: var(--wp--preset--color--sotetzold); text-decoration: none; }
.sy-kartya .wp-block-post-featured-image img { transition: transform .4s; }
.sy-kartya .wp-block-post-featured-image { overflow: hidden; margin: 0; }
.sy-kartya:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.sy-gomblink { display: inline-block; background: var(--wp--preset--color--narancs); color: #fff !important; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 500; letter-spacing: 1.5px; padding: 10px 24px; margin-left: 22px; }
.sy-gomblink:hover { background: var(--wp--preset--color--sotetzold); }
.sy-oldalsav { align-self: flex-start; }
.sy-oldalsav .sy-velemeny { padding: 20px; }
.sy-oldalsav .is-style-velemeny .sy-csuszka__gomb { bottom: -50px; }
.sy-lablec__cim { font-size: 21px !important; font-weight: 600; border-left: 5px solid var(--wp--preset--color--zold); padding-left: 10px; }
.sy-lablec__lista { list-style: none; padding-left: 0; }
.sy-lablec__lista li { margin: 6px 0; }
.sy-lablec__lista a { display: inline-block; padding: 3px 0; }
.sy-lablec .wp-block-social-links.is-style-logos-only .wp-social-link .wp-block-social-link-anchor { padding: 4px; }
.sy-lablec a { text-decoration: none; }
.sy-lablec a:hover { color: #fff; }
.sy-lablec__logo img { background: #fff; padding: 8px; }
@media (max-width: 781px) {
	.sy-hos-cover .wp-block-cover__inner-container { padding-left: 0; }
	.wp-block-columns.sy-forditott { flex-direction: column-reverse; }
}
.sy-kep-szoveg .wp-block-media-text__media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
.sy-apartman-cim { margin: 0; font-size: clamp(22px, 2.4vw, 28px) !important; font-weight: 700; }
.sy-kartya-szines .sy-elerhetoseg { font-size: 14px; }
.sy-dia-cim { font-size: clamp(30px, 5.2vw, 72px) !important; }
@media (max-width: 781px) { .sy-hos .sy-csuszka__gomb { display: none; } }
@media (max-width: 1000px) { .sy-kapcsolat-dobozok { flex-wrap: wrap !important; } }
@media (max-width: 600px) { .sy-fejlec .wp-block-site-logo img { width: 76px !important; height: auto; } }
@media (min-width: 782px) { .single-apartman main .wp-block-columns > .wp-block-column:first-child { flex: 0 1 756px; max-width: 756px; min-width: 0; } }
.sy-anim-be [class*="sy-anim-"]:not(.sy-anim-fut) { opacity: 0; }
@media print { [class*="sy-anim-"] { animation: none !important; opacity: 1 !important; transform: none !important; } }
.sy-anim-fut { animation-duration: 1.25s; animation-fill-mode: both; animation-delay: var(--sy-keses, 0ms); }
.sy-kes-360 { --sy-keses: 360ms; } .sy-kes-480 { --sy-keses: 480ms; } .sy-kes-720 { --sy-keses: 720ms; } .sy-kes-1080 { --sy-keses: 1080ms; }
.sy-anim-fut.sy-anim-zoomIn { animation-name: sy-zoomIn; }
.sy-anim-fut.sy-anim-fadeInUp { animation-name: sy-fadeInUp; }
.sy-anim-fut.sy-anim-fadeInDown { animation-name: sy-fadeInDown; }
.sy-anim-fut.sy-anim-fadeInLeft { animation-name: sy-fadeInLeft; }
.sy-anim-fut.sy-anim-fadeInRight { animation-name: sy-fadeInRight; }
.sy-anim-fut.sy-anim-slideInUp { animation-name: sy-slideInUp; }
.sy-anim-fut.sy-anim-bounceInRight { animation-name: sy-bounceInRight; }
.sy-anim-fut.sy-anim-bounceInUp { animation-name: sy-bounceInUp; }
.sy-anim-fut.sy-anim-rotateInUpLeft { animation-name: sy-rotateInUpLeft; }
@keyframes sy-zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@keyframes sy-fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes sy-fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes sy-fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes sy-fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes sy-slideInUp { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes sy-bounceInRight {
	from, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
	from { opacity: 0; transform: translate3d(120px, 0, 0); } 60% { opacity: 1; transform: translate3d(-25px, 0, 0); }
	75% { transform: translate3d(10px, 0, 0); } 90% { transform: translate3d(-5px, 0, 0); } to { transform: none; } }
@keyframes sy-bounceInUp {
	from, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
	from { opacity: 0; transform: translate3d(0, 120px, 0); } 60% { opacity: 1; transform: translate3d(0, -20px, 0); }
	75% { transform: translate3d(0, 10px, 0); } 90% { transform: translate3d(0, -5px, 0); } to { transform: none; } }
@keyframes sy-rotateInUpLeft { from { opacity: 0; transform-origin: left bottom; transform: rotate3d(0, 0, 1, 45deg); } to { opacity: 1; transform-origin: left bottom; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sy-anim-fut { animation: none !important; } }
.sy-panel-jobb, .sy-panel-bal { position: relative; isolation: isolate; }
.sy-panel-jobb::before, .sy-panel-bal::before { content: ""; position: absolute; top: 0; bottom: 0; z-index: -1; }
.sy-panel-jobb::before { left: 25%; right: 0; background: var(--wp--preset--color--vilagos); }
.sy-panel-bal::before { left: 0; right: 5%; background: var(--wp--preset--color--szurke); }
.sy-ket-oszlop { gap: 30px !important; }
.sy-kepparos { position: relative; min-height: 568px; }
.sy-kepparos > * { margin: 0 !important; }
.sy-kepparos__nagy { margin-left: 6px !important; width: 528px; max-width: calc(100% - 6px); }
.sy-kepparos__nagy img { width: 100%; height: 500px; object-fit: cover; display: block; }
.sy-kepparos .sy-video.sy-kepparos__nagy { aspect-ratio: auto; height: 500px; }
.sy-kepparos .sy-video__jel { top: 0; left: 0; margin: 0; width: 96px; height: 96px; border-radius: 0; background: var(--wp--preset--color--sotetzold); }
.sy-kepparos .sy-video__jel::before { content: ""; position: absolute; inset: 22px; border: 2px solid #fff; border-radius: 50%; }
.sy-kepparos .sy-video__jel::after { margin: -9px 0 0 -4px; border-width: 9px 0 9px 14px; }
.sy-kepparos__kis { position: absolute !important; left: 380px; top: 237px; width: 237px; z-index: 2; }
.sy-kepparos--rolunk .sy-kepparos__kis { left: 333px; top: 188px; }
.sy-kepparos__kis img { width: 100%; height: 347px; object-fit: cover; border: 8px solid #fff; box-sizing: border-box; display: block; }
.sy-sor { gap: 0 !important; margin-top: 0 !important; margin-bottom: 20px !important; }
.sy-sor__szoveg { padding: 0 50px; box-sizing: border-box; }
.sy-sor__szoveg h2 { color: var(--wp--preset--color--sotetzold); }
.sy-sor__kep img { width: 100%; height: 300px; object-fit: cover; display: block; }
.sy-sor--elso .sy-sor__kep img { height: 362px; }
.sy-sor__kep figure { margin: 0; }
.sy-szemelyzet { position: relative; }
.sy-szemelyzet > figure { margin: 0 !important; }
.sy-szemelyzet > figure img { width: 100%; height: 460px; object-fit: cover; display: block; }
.sy-szamlalo-doboz { position: absolute; left: -12px; top: -16px; z-index: 2; background: #fff; padding: 14px 18px 12px; box-shadow: 0 8px 26px rgba(29, 34, 40, .12); margin: 0 !important; }
.sy-szamlalo-doboz__szam { font-size: 46px; font-weight: 700; line-height: 1; color: var(--wp--preset--color--sotetzold); margin: 0; }
.sy-szamlalo-doboz__cim { font-size: 11px; font-weight: 700; line-height: 1.3; text-transform: uppercase; color: var(--wp--preset--color--sotetzold); margin: 6px 0 0; }
.sy-kis-keretes img { width: 276px; max-width: 100%; height: 180px; object-fit: cover; border: 8px solid #fff; box-sizing: content-box; box-shadow: 0 10px 30px rgba(29, 34, 40, .15); display: block; }
.sy-ajanlat-kep { position: relative; margin-left: 32px !important; width: 576px; max-width: calc(100% - 32px); }
.sy-ajanlat-kep > figure { margin: 0 !important; }
.sy-ajanlat-kep__fo { position: relative; z-index: 1; }
.sy-ajanlat-kep__fo img { width: 100%; height: 420px; object-fit: cover; display: block; }
.sy-ajanlat-kep::before { content: ""; position: absolute; right: -62px; top: -62px; width: 240px; height: 240px; background: url(assets/hatter/pottyok.webp) center / contain no-repeat; z-index: 0; }
.sy-ajanlat-kep__ertekeles { position: absolute !important; left: -32px; bottom: -32px; width: 240px; z-index: 2; }
.sy-ajanlat-kep__ertekeles img { width: 240px; height: 80px; object-fit: contain; display: block; background: #fff; }
.sy-pipas--ket { display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 40px; }
.sy-ajanlat-oszlopok { justify-content: space-between; }
.sy-rolunk-irtak .sy-oszto { margin-left: 0; }
.sy-kartya .wp-block-post-title { font-size: 19px !important; }
.sy-rolunk-kep { position: relative; isolation: isolate; }
.sy-rolunk-kep::before { content: ""; position: absolute; left: -41px; top: 312px; width: 350px; height: 375px; border: 8px solid var(--wp--preset--color--szurke); box-sizing: border-box; z-index: -1; }
.sy-rolunk-kep > figure { margin: 0 !important; }
.sy-rolunk-kep > figure img { width: 100%; height: 480px; object-fit: cover; display: block; }
.sy-rolunk-kep__idezo { position: absolute; top: 18px; left: 22px; z-index: 2; margin: 0 !important; font: 700 110px/1 Georgia, serif; color: rgba(255, 255, 255, .85); }
.sy-rolunk-irtak .sy-velemeny { background: var(--wp--preset--color--vilagos); padding: 30px; }
.sy-minta-hatter { background: #f5f5f5 url(assets/hatter/hattermotivum.webp) center / 1000px repeat; }
.sy-kenyelem .sy-pipas li { color: #fff; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.sy-kenyelem h2, .sy-kenyelem p { color: #fff; }

@media (max-width: 781px) {
	.sy-panel-jobb > .sy-ket-oszlop { flex-direction: column-reverse; }
	.sy-sor__kep { order: -1; }
	.sy-kepparos { min-height: 0; }
	.sy-kepparos__nagy { width: 92%; margin-left: 0 !important; max-width: 92%; }
	.sy-kepparos__nagy img, .sy-kepparos .sy-video.sy-kepparos__nagy { height: auto; aspect-ratio: 528 / 500; }
	.sy-kepparos__kis, .sy-kepparos--rolunk .sy-kepparos__kis { position: relative !important; left: auto; top: auto; width: 42%; margin: -200px 0 0 auto !important; }
	.sy-kepparos__kis img { height: auto; aspect-ratio: 221 / 331; }
	.sy-sor__szoveg { padding: 20px 24px 30px; }
	.sy-sor__kep img, .sy-sor--elso .sy-sor__kep img { height: auto; aspect-ratio: 328 / 180; }
	.sy-szemelyzet > figure img { height: auto; aspect-ratio: 556 / 460; }
	.sy-szamlalo-doboz { left: auto; right: 0; top: 0; }
	.sy-ajanlat-kep { margin: 0 0 40px !important; width: auto; max-width: 100%; }
	.sy-ajanlat-kep::before { right: -16px; top: -16px; width: 120px; height: 120px; }
	.sy-ajanlat-kep__fo img { height: auto; aspect-ratio: 576 / 420; }
	.sy-ajanlat-kep__ertekeles { left: 0; bottom: -40px; width: 180px; }
	.sy-ajanlat-kep__ertekeles img { width: 180px; height: 60px; }
	.sy-rolunk-kep::before { display: none; }
	.sy-rolunk-kep > figure img { height: auto; aspect-ratio: 492 / 480; }
	.sy-pipas--ket { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}
.sy-ket-hasab { columns: 2; column-gap: 30px; }
.sy-ket-hasab > p { margin: 0 0 1em; break-inside: auto; }
.sy-ket-hasab > p:first-child::first-letter { float: left; font-size: 46px; line-height: .85; font-weight: 300; margin: 4px 8px 0 0; }
@media (max-width: 781px) { .sy-ket-hasab { columns: 1; } }
.wp-block-cover.sy-kenyelem .wp-block-cover__inner-container { width: 100% !important; max-width: 1260px; margin: 0 auto !important; padding-left: 0; padding-right: 0; }
@media (max-width: 781px) { .sy-kenyelem .wp-block-cover__inner-container { padding-left: 16px; padding-right: 16px; } }
@media print { .sy-fejlec, .sy-lablec, #cc--main, #cm, .sy-csuszka__gomb, .sy-csuszka__pottyok { display: none !important; } body { overflow: visible; } }
