/*
Theme Name: The Showroom
Template: twentytwentyfive
Description: The Showroom (theshowroom.hu) – az eredeti Squarespace-oldal megjelenését követő gyermektéma.
Version: 1.0.7
Text Domain: theshowroom
*/

@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/CormorantGaramond-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/CormorantGaramond-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Merriweather';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/Merriweather-400i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Merriweather';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/Merriweather-400i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Merriweather';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/Merriweather-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Merriweather';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/Merriweather-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Merriweather';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/Merriweather-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Merriweather';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/Merriweather-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/Montserrat-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/Montserrat-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/Montserrat-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/Montserrat-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ===== Alapok (az eredeti Squarespace-oldalról mért értékek) ===== */
:root {
	--ts-sand: #EDE7DE;
	--ts-navy: #030D2B;
	--ts-dark: #01070E;
	--ts-gutter: 3vw;
	--ts-fs-p: 1.14rem;
	--ts-fs-sub: 1.27rem;
	--ts-fs-title: 1.675rem;
	--ts-fs-h1: 2.95rem;
	--ts-fs-slide: 2.15rem;
	--ts-fs-h2: 2.08rem;
	--ts-fs-h3: 1.81rem;
}
@media (min-width: 768px) {
	:root {
		--ts-fs-p: calc(1rem + 0.23vw);
		--ts-fs-sub: calc(1rem + 0.48vw);
		--ts-fs-title: calc(1rem + 1.2vw);
		--ts-fs-h1: calc(1rem + 3.49vw);
		--ts-fs-slide: calc(1rem + 2.04vw);
		--ts-fs-h2: calc(1rem + 1.92vw);
		--ts-fs-h3: calc(1rem + 1.45vw);
	}
}
body { background: var(--ts-sand); color: var(--ts-navy); font-family: Merriweather, Georgia, serif; -webkit-font-smoothing: antialiased; }
.ts-main, .ts-main > .wp-block-post-content { margin: 0; padding: 0; }
.ts-main p { font-size: var(--ts-fs-p); line-height: 1.8; margin: 0 0 1rem; }
.ts-main :where(h1, h2, h3) { font-family: Montserrat, Helvetica, Arial, sans-serif; font-weight: 400; letter-spacing: normal; margin: 0 0 1.5rem; }
.ts-main h1 { font-size: var(--ts-fs-h1); line-height: 1.06; }
.ts-main h2 { font-size: var(--ts-fs-h2); line-height: 1.14; }
.ts-main h3 { font-size: var(--ts-fs-h3); line-height: 1.14; }
.ts-main a { color: inherit; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ===== Fejléc ===== */
.ts-header { background: var(--ts-sand); padding: 2.5vw var(--ts-gutter); min-height: 84px; box-sizing: border-box; align-items: center; }
.ts-header .ts-site-title { font-family: Montserrat, Helvetica, Arial, sans-serif; font-size: var(--ts-fs-title); font-weight: 400; line-height: 1.2; margin: 0; }
.ts-header .ts-site-title a { color: var(--ts-navy); text-decoration: none; }

/* ===== Szakaszok ===== */
.ts-sec { position: relative; padding: 6.6vw var(--ts-gutter); box-sizing: border-box; margin: 0 !important; }
.ts-sec--tight { padding-top: 3.3vw; padding-bottom: 3.3vw; }
.ts-sec--dark { background: var(--ts-dark); color: #fff; }
.ts-sec--sand { background: var(--ts-sand); color: var(--ts-navy); }
.ts-sec--white { background: #fff; color: var(--ts-navy); }
.ts-center { text-align: center; }
.ts-narrow { max-width: 46vw; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 767px) {
	.ts-sec { padding: 4rem 1.5rem; }
	.ts-narrow { max-width: none; }
}

/* ===== Diavetítés ===== */
.ts-slideshow { position: relative; overflow: hidden; min-height: 88vh; background: #000; margin: 0 !important; }
.ts-slideshow > .wp-block-cover { position: absolute; inset: 0; min-height: 0 !important; height: 100%; margin: 0 !important; padding: 2rem 1.5rem 9rem; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.ts-slideshow > .wp-block-cover.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; z-index: 1; }
.ts-slideshow:not(.is-ready) > .wp-block-cover:first-child { opacity: 1; visibility: visible; }
.ts-slideshow .wp-block-cover__inner-container { max-width: 45vw; margin: 0 auto; text-align: center; }
.ts-slideshow h2 { font-size: var(--ts-fs-slide); line-height: 1.12; color: #fff; margin: 0 0 1.6rem; }
.ts-slideshow p { font-size: var(--ts-fs-sub); line-height: 1.6; color: #fff; margin: 0; }
.ts-slideshow__nav { position: absolute; left: 0; right: 0; bottom: 4.4vw; z-index: 2; display: flex; justify-content: center; gap: 0.9rem; }
.ts-slideshow__btn { width: 3.75rem; height: 3.75rem; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, 0.35); display: grid; place-items: center; transition: background 0.2s; }
.ts-slideshow__btn:hover, .ts-slideshow__btn:focus-visible { background: rgba(255, 255, 255, 0.55); }
.ts-slideshow__btn svg { width: 1.9rem; height: auto; fill: none; stroke: #fff; stroke-width: 1.6; }
@media (max-width: 767px) {
	.ts-slideshow .wp-block-cover__inner-container { max-width: none; }
	.ts-slideshow__nav { bottom: 2.5rem; }
}

/* ===== Bevezető (sötét, íves aljjal) ===== */
.ts-intro { padding-bottom: 16vw; }
.ts-intro h3 { max-width: 75vw; margin-left: auto; margin-right: auto; color: #fff; }
.ts-intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 6vw; background: var(--ts-sand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 .168' preserveAspectRatio='none'%3E%3Cpath d='M0 .168C.25 .168 .5 .168 1 0V.168Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 .168' preserveAspectRatio='none'%3E%3Cpath d='M0 .168C.25 .168 .5 .168 1 0V.168Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }

/* ===== Rólunk ===== */
.ts-about { gap: 4vw !important; margin: 0 !important; }
.ts-about .ts-about__text { flex-basis: 42% !important; }
.ts-about .ts-about__text p { text-align: center; }
.ts-about .ts-about__text p.ts-label { text-align: left; margin-bottom: 2.4vw; }
.ts-about .ts-about__text h1 { margin-bottom: 0.6rem; }
.ts-about figure img { border-radius: 20px; width: 100%; height: auto; display: block; }
.ts-about .wp-block-buttons { margin-top: 2.5vw; padding-left: 1vw; }

/* ===== Gombok (Squarespace: kerek, keretes) ===== */
.ts-main .wp-block-button__link, .ts-btn {
	font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 1rem; line-height: 1.2;
	padding: 1.3rem 2.17rem; border-radius: 300px; border: 1.6px solid currentColor; background: transparent; color: var(--ts-navy); cursor: pointer; text-decoration: none; transition: opacity .2s; }
.ts-main .wp-block-button__link:hover, .ts-btn:hover { opacity: .7; }
.ts-btn--light { color: #fff; }

/* ===== Referenciák ===== */
.ts-refs-head h1 { margin-bottom: 1.8rem; }
.ts-refs { gap: 0.6vw !important; margin: 0 !important; align-items: flex-start !important; }
.ts-refs .ts-gal-title { text-align: center; margin: 0 0 1.1rem; }
.ts-refs .wp-block-gallery { gap: 0.55vw !important; margin: 0 0 3.6vw !important; }
.ts-refs .wp-block-gallery.has-nested-images figure.wp-block-image { width: calc((100% - 3 * 0.55vw) / 4) !important; flex-grow: 0 !important; aspect-ratio: 1; }
.ts-refs .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; aspect-ratio: 1; }
@media (max-width: 767px) {
	.ts-refs .wp-block-gallery.has-nested-images figure.wp-block-image { width: calc((100% - 2 * 0.55vw) / 3) !important; }
}

/* ===== Szolgáltatások ===== */
.ts-services-cols { gap: 1.2vw !important; margin: 0 !important; }
.ts-services-cols figure img { border-radius: 20px; aspect-ratio: 1.75; object-fit: cover; width: 100%; height: auto; display: block; }
.ts-services-cols h3 { text-align: center; margin: 0.4rem 0 2.2rem; color: #fff; }
.ts-services-cols p { text-align: center; padding: 0 1.5vw; }
.ts-services > h1 { color: #fff; margin-bottom: 2.2vw; }

/* ===== Kapcsolat + űrlap ===== */
.ts-contact { padding-top: 6vw; padding-bottom: 8vw; }
.ts-contact h2 { color: #fff; margin-bottom: 1.6rem; }
.ts-contact p { margin-bottom: 1.1rem; }
.ts-form { max-width: 38.6vw; margin: 9vw auto 0; text-align: left; font-family: Merriweather, Georgia, serif; }
.ts-form .ts-field { display: block; border: 0; padding: 0; margin: 0 0 1.6rem; }
.ts-form legend, .ts-form .ts-label { font-size: var(--ts-fs-p); display: block; margin-bottom: .5rem; padding: 0; }
.ts-form .ts-row { display: flex; gap: .6rem; }
.ts-form .ts-row label { flex: 1; font-size: .78rem; }
.ts-form .ts-row label span { display: block; margin-bottom: .4rem; }
.ts-form em { font-style: normal; font-size: .72rem; opacity: .8; margin-left: .25rem; }
.ts-form input, .ts-form textarea { width: 100%; box-sizing: border-box; background: #C9CACC; border: 1px solid #C9CACC; border-radius: 0; padding: .9rem 1rem; font: inherit; font-size: 1rem; color: #000; }
.ts-form textarea { min-height: 5.5rem; resize: vertical; }
.ts-form input:focus, .ts-form textarea:focus { outline: 2px solid #fff; outline-offset: 1px; }
.ts-form .ts-submit { text-align: center; }
.ts-form .ts-btn { font-size: .85rem; padding: 1rem 1.6rem; }
.ts-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-form-msg { text-align: center; margin-top: 2rem !important; }
@media (max-width: 767px) { .ts-form { max-width: none; } }

/* ===== Lábléc ===== */
.ts-footer { background: var(--ts-sand); color: var(--ts-navy); padding: 2.6rem 13vw 2.6rem 7.7vw; align-items: center; }
.ts-footer p { font-size: var(--ts-fs-p); margin: 0; }
.ts-footer a { color: var(--ts-navy); text-decoration: underline; }
@media (max-width: 767px) { .ts-footer { padding: 2rem 1.5rem; } }

/* ===== Finomhangolás az eredetivel való összevetés alapján ===== */
.ts-main strong, .ts-main b { font-weight: 700; }
.ts-slideshow { min-height: 90vh; }
@media (min-width: 768px) {
	.ts-slideshow > .wp-block-cover { align-items: flex-start; padding-top: 14.5vh; }
	.ts-slideshow .wp-block-cover__inner-container { max-width: 46.5vw; }
	.ts-slideshow__nav { bottom: 21vh; }
	.ts-about { gap: 12px !important; }
	.ts-about > .wp-block-column { flex: 1 1 0 !important; }
	.ts-about .ts-about__text > * { max-width: 38.5vw; }
	.ts-about .ts-about__text h1 { max-width: 37vw; }
	.ts-about figure img { aspect-ratio: 1.047; object-fit: cover; }
	.ts-contact .ts-narrow { max-width: 38.5vw; }
}
.ts-intro h3 { margin-bottom: 3.4vw; }
.ts-services-cols h3, .ts-services-cols p { padding: 0 2vw; }
.ts-services-cols > .wp-block-column:nth-child(n+2) figure img { filter: grayscale(1); }
@media (max-width: 767px) { .ts-slideshow { min-height: 83vh; } }

/* ===== Fejléc: ikonok + nyelvválasztó (az eredeti Squarespace-fejléc szerint) ===== */
.ts-header-actions { display: flex; align-items: center; gap: 41px; }
.ts-header-actions .ts-icon { display: block; width: 25px; height: 25px; color: var(--ts-navy); }
.ts-header-actions .ts-icon svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.ts-header-actions .ts-icon svg.ts-icon--stroke { fill: none; stroke: currentColor; stroke-width: 1.9; }
.ts-header-actions .ts-icon svg.ts-icon--stroke .ts-dot { fill: currentColor; stroke: none; }
.ts-header-actions .ts-icon:hover { opacity: .7; }
.ts-lang { position: relative; margin-left: 27px; font-family: Merriweather, Georgia, serif; font-size: var(--ts-fs-p); color: var(--ts-navy); }
.ts-lang summary { list-style: none; display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 8px 0; }
.ts-lang summary::-webkit-details-marker { display: none; }
.ts-lang .ts-globe { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.ts-lang .ts-chev { width: 12px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.2; margin-left: 3px; transition: transform .2s; }
.ts-lang[open] .ts-chev { transform: rotate(180deg); }
.ts-lang ul { position: absolute; right: 0; top: 100%; z-index: 20; margin: 6px 0 0; padding: 10px 18px; list-style: none; background: var(--ts-sand); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.ts-lang ul a { color: var(--ts-navy); text-decoration: none; }
@media (max-width: 767px) {
	.ts-header-actions { gap: 20px; }
	.ts-header-actions .ts-icon { width: 22px; height: 22px; }
	.ts-lang { display: none; }
}
