/*
Theme Name: RE-LAX Child
Description: Updategeschuetzte RE-LAX-Gestaltung mit ImmoZ-Karten und Du-Formularen.
Template: bike-repair-garage
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: re-lax-child
Update URI: false
License: GNU General Public License v3 or later
*/
body {font-family:"Livvic",sans-serif;}
.wp-site-blocks .has-rajdhani-font-family,
.wp-site-blocks .has-rubik-font-family,
.wp-site-blocks .has-raleway-font-family,
.wp-site-blocks .has-bricolage-grotesque-font-family {font-family:"Livvic",sans-serif!important;}
#banner-section .banner-heading {background-image:linear-gradient(90deg,rgb(147,121,57) 0%,rgb(235,194,92) 100%);}
/* Consistent mobile page gutters, including nested template wrappers. */
@media(max-width:781px){
  .wp-site-blocks>main{padding-inline:0!important}
  .wp-site-blocks>main.is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:100%!important}
  .wp-site-blocks>main>.wp-block-group:has(.wp-block-post-content){width:100%!important;max-width:100%!important;padding-inline:0!important;box-sizing:border-box}
  .wp-site-blocks main .wp-block-group:has(>.wp-block-post-content){width:100%!important;max-width:100%!important;padding-inline:0!important;box-sizing:border-box}
  body:not(.home) .wp-site-blocks>.wp-block-group>.wp-block-cover:has(.wp-block-post-title){padding-inline:12px!important}
  body:not(.home) .wp-site-blocks>main:not(:has(.wp-block-post-content)){padding-inline:12px!important}
}
/* Keep carousel swipes inside the mobile viewport. */
@media(max-width:781px){
  html{overflow-x:hidden;overscroll-behavior-x:none}
  body{overflow-x:clip;overscroll-behavior-x:none}
  @supports(overflow:clip){html{overflow-x:clip}}
  .relax-services,.relax-service-carousel{min-width:0;max-width:100%;box-sizing:border-box}
  .relax-services .relax-service-carousel.owl-loaded,
  .relax-services .relax-service-carousel.owl-loaded .owl-stage-outer{touch-action:pan-y pinch-zoom;overscroll-behavior-x:contain}
  .relax-services .relax-service-carousel .owl-stage-outer{overflow:hidden;width:100%;max-width:100%}
  .relax-service-carousel:not(.owl-loaded){overscroll-behavior-x:contain}
}
/* RE-LAX: compact mobile header, edge-aligned language switcher and mobile gutters. */
.relax-mobile-menu .relax-mobile-panel{background:rgba(0,0,0,.5)!important}
body .trp-floating-switcher{--left:auto!important;left:auto!important;right:8px!important}
@media(max-width:781px){
  header.wp-block-template-part .header-box-upper{padding:28px 12px 10px!important}
  header.wp-block-template-part .header-box-upper>.menu-group{display:grid!important;grid-template-columns:48px minmax(0,1fr) 44px;align-items:center;gap:10px!important;width:100%;max-width:none!important;margin:0!important;flex-wrap:nowrap!important}
  header.wp-block-template-part .menu-group>.wp-block-column{min-width:0;width:auto!important;max-width:none!important;flex-basis:auto!important;margin:0!important;padding:0!important}
  header.wp-block-template-part .header-logo{grid-column:2;grid-row:1}
  header.wp-block-template-part .header-inner-menu{grid-column:3;grid-row:1}
  header.wp-block-template-part .header-buttons{grid-column:1;grid-row:1;display:block!important}
  header.wp-block-template-part .header-logo .wp-block-site-title{font-size:clamp(16px,4.4vw,22px)!important;line-height:1.2!important;text-align:left!important;white-space:nowrap;margin:0!important;padding:0!important}
  header.wp-block-template-part .header-buttons figure{margin:0!important}
  header.wp-block-template-part .header-buttons img{display:block;width:48px!important;height:auto}
  header.wp-block-template-part .relax-mobile-menu:not([open])>summary{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important}
  .wp-site-blocks{padding-inline:0!important}
  .home #banner-section>.wp-block-columns{width:calc(100% - 24px)!important;max-width:none!important;margin-inline:auto!important}
  .home #aboutus>.wp-block-cover,.home .faq-section>.wp-block-cover{padding-inline:12px!important}
  .home #aboutus .wp-block-cover__inner-container,.home .faq-section .wp-block-cover__inner-container{width:100%!important;max-width:none!important}
  .home #aboutus .wp-block-cover__inner-container>.wp-block-columns,.home .faq-section .wp-block-cover__inner-container>.wp-block-columns{width:100%!important;max-width:none!important}
  .home .relax-services{padding-inline:12px!important}
  .wp-site-blocks main .wp-block-post-content{width:100%!important;max-width:100%!important;margin-inline:auto!important;padding-inline:12px!important;box-sizing:border-box}
  body:has(.relax-immoz) main .wp-block-post-content>.wp-block-columns{padding-inline:0!important}
  .wp-site-blocks>footer>.wp-block-group{padding-inline:12px!important}
  .wp-site-blocks>footer>.wp-block-group>.wp-block-columns{max-width:100%!important}
}

/* Additional live RE-LAX corrections, captured 2026-10-13. */
/* RE-LAX: compact spacing above ImmoZ search, results and details. */
body.page-id-1958 .wp-site-blocks main .wp-block-post-content {padding-top:24px!important}
body.page-id-1958 .wp-site-blocks main .wp-block-post-content>.wp-block-columns {padding-top:0!important;margin-block:0!important}
body.page-id-1958 .wp-site-blocks main .wp-block-post-content>.wp-block-columns>.wp-block-column>.wp-block-columns {margin-block:0!important}
@media(max-width:781px){body.page-id-1958 .wp-site-blocks main .wp-block-post-content{padding-top:20px!important}}

/* RE-LAX: readable investor contact form, including WPForms legends. */ body.page-id-490 .wp-block-post-content .wpforms-container-full { background: #f8f6f1 !important; --wpforms-label-color: #222; --wpforms-label-sublabel-color: #444; } body.page-id-490 .wpforms-container-full :is(.wpforms-field-label, .wpforms-field-label-inline, .wpforms-field-sublabel, .wpforms-field-description, legend) { color: #222 !important; } 

/* Mobile language controls and hero baseline, 2026-10-16. */
@media(max-width:781px){
 body .trp-floating-switcher .trp-language-item-name{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
 body .trp-floating-switcher .trp-language-item{min-width:44px;min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:8px!important}
 body .trp-floating-switcher .trp-flag-image{width:24px!important;height:24px!important;object-fit:contain}
 .home #banner-section .banner-image-section{transform:none}
 .relax-services .owl-stage-outer{overflow-anchor:none;touch-action:pan-y pinch-zoom}
 .relax-services .owl-stage{display:flex;align-items:stretch}
 .relax-services .owl-item{display:flex;float:none}
 .relax-services .relax-service-card{width:100%;height:100%}
}

/* Keep the complete FAQ introduction readable in every language. */
.home .faq-section .short-para-text{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;height:auto!important}

/* Hungarian copy for CSS-generated subtitles that TranslatePress cannot detect. */
html[lang^="hu"] body.page-id-147 .wp-site-blocks>.wp-block-group>.wp-block-cover .wp-block-cover__inner-container::after{content:"A következő lépésed egy beszélgetéssel kezdődik."}
html[lang^="hu"] body:is(.page-id-1708,.page-id-1490,.page-id-1543) .wp-site-blocks>.wp-block-group>.wp-block-cover .wp-block-cover__inner-container::after{content:"Személyesen melletted. Az ingatlancéljaidért."}
html[lang^="hu"] header .is-menu-open .wp-block-navigation__responsive-container-content::before{content:"Hová szeretnél továbblépni?"}
html[lang^="hu"] .relax-immoz--results .dataTables_filter label::before{content:"Ajánlatok keresése"}

/* RE-LAX mobile language tabs, aligned with the menu button. */
.rlx-language-switcher{display:none}
@media(max-width:781px){
 body:has(header .rlx-language-switcher) .trp-floating-switcher{display:none!important}
 header.wp-block-template-part .header-box-upper{padding:12px!important}
 header.wp-block-template-part .header-box-upper>.menu-group{grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important}
 header.wp-block-template-part .header-buttons img{width:44px!important}
 header.wp-block-template-part .header-logo .wp-block-site-title{font-size:clamp(14px,4.1vw,18px)!important;line-height:1.2!important;white-space:normal!important;max-width:110px!important}
 header.wp-block-template-part .header-inner-menu{display:flex!important;align-items:center;justify-content:flex-end;gap:8px!important;min-width:0}
 header.wp-block-template-part .header-inner-menu>.wp-block-navigation{display:none!important}
 header.wp-block-template-part .header-inner-menu>.rlx-language-switcher{display:inline-grid!important;grid-template-columns:44px 44px;flex:none;height:44px;box-sizing:border-box;margin:0!important;padding:0!important;overflow:hidden;border:1px solid #bd9d4b;border-radius:10px;background:#080808;color:#d0b160;box-shadow:none}
 header .rlx-language-switcher>.rlx-language-tab{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;height:42px;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;font:600 13px/1 "Livvic",sans-serif;letter-spacing:.025em;color:#d0b160!important;background:#080808;text-decoration:none!important;text-transform:uppercase}
 header .rlx-language-switcher>.rlx-language-tab+.rlx-language-tab{border-left:1px solid #bd9d4b!important}
 header .rlx-language-switcher>.is-current{background:#bd9d4b!important;color:#080808!important}
 header .rlx-language-switcher>a:hover{background:#292315;color:#f1d681!important}
 header .rlx-language-switcher>a:focus-visible{outline:2px solid #fff;outline-offset:-4px}
 header.wp-block-template-part .relax-mobile-menu{flex:none;margin:0!important}
 header.wp-block-template-part .relax-mobile-menu:not([open])>summary{border-radius:10px!important}
}

/* RE-LAX desktop language tabs: top right, scrolling with the page. */
@media(min-width:782px){
 body:has(header .rlx-language-switcher) .trp-floating-switcher{display:none!important}
 header.wp-block-template-part .header-box-upper{position:relative}
 header.wp-block-template-part .header-inner-menu>.rlx-language-switcher{display:inline-grid!important;position:absolute;top:10px;right:16px;z-index:25;grid-template-columns:48px 48px;width:98px;height:40px;box-sizing:border-box;margin:0!important;padding:0!important;overflow:hidden;border:1px solid #bd9d4b;border-radius:10px;background:#080808;color:#d0b160;box-shadow:none}
 header .rlx-language-switcher>.rlx-language-tab{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:48px;height:38px;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;font:600 14px/1 "Livvic",sans-serif;letter-spacing:.025em;color:#d0b160!important;background:#080808;text-decoration:none!important;text-transform:uppercase}
 header .rlx-language-switcher>.rlx-language-tab+.rlx-language-tab{border-left:1px solid #bd9d4b!important}
 header .rlx-language-switcher>.is-current{background:#bd9d4b!important;color:#080808!important}
 header .rlx-language-switcher>a:hover{background:#292315;color:#f1d681!important}
 header .rlx-language-switcher>a:focus-visible{outline:2px solid #fff;outline-offset:-4px}
}

/* RE-LAX privacy policy: readable sections and responsive topic navigation. */
body.page-id-111 .entry-content{max-width:960px!important;box-sizing:border-box;padding:36px!important;}
body.page-id-111 .entry-content h2{font-size:28px!important;line-height:1.25!important;color:#191916!important;font-weight:700!important;margin:44px 0 18px!important;padding-top:24px;border-top:1px solid #d7c695;scroll-margin-top:32px;}
body.page-id-111 .entry-content h3{font-size:21px!important;line-height:1.35!important;color:#6f561e!important;font-weight:700!important;margin:28px 0 12px!important;}
body.page-id-111 .entry-content p{font-size:17px;line-height:1.75;margin:0 0 20px;}
body.page-id-111 .entry-content p:empty{display:none;}
body.page-id-111 .entry-content a{overflow-wrap:anywhere;text-underline-offset:3px;}
body.page-id-111 .rlx-privacy-topics{background:#1c1c19;color:#f4f1e8;border:1px solid #b99a50;border-radius:14px;padding:24px;margin:0 0 32px;}
body.page-id-111 .rlx-privacy-topics .rlx-privacy-topics-title{font-size:20px!important;font-weight:700!important;color:#e1c477!important;margin:0 0 14px;}
body.page-id-111 .rlx-privacy-topics ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px;list-style:none;margin:0;padding:0;}
body.page-id-111 .rlx-privacy-topics li{margin:0;min-width:0;}
body.page-id-111 .rlx-privacy-topics a{display:block;color:#f4f1e8!important;font-size:16px;line-height:1.5;padding:6px 0;text-decoration:underline;text-decoration-color:#b99a50;}
body.page-id-111 .rlx-privacy-topics a:hover{color:#e1c477!important;}
@media(max-width:600px){body.page-id-111 .entry-content{width:calc(100% - 24px)!important;padding:22px 18px!important;}body.page-id-111 .entry-content h2{font-size:24px!important;margin-top:32px!important;padding-top:20px;overflow-wrap:anywhere;}body.page-id-111 .entry-content h3{font-size:20px!important;}body.page-id-111 .entry-content p{font-size:16px;line-height:1.7;}body.page-id-111 .rlx-privacy-topics{padding:18px;}body.page-id-111 .rlx-privacy-topics ul{grid-template-columns:1fr;gap:5px;}}
