/*
 * Site styles that belong to the CMS code (not edited in the panel; Site -> CSS is for that).
 * Loaded on every page after the theme (layouts/site.blade.php).
 */

/* cms-title-band: Title band, "not responsive" variant (most imported pages and every new page): the image is a background at its natural 1920px width, so on wider screens the theme's band colour showed on both sides. Stretch it, keep the middle of taller (3:1) images in view, and shade the left side so the white heading stays readable on them. */
.qodef-title.qodef-has-background.qodef-title-image-not-responsive:not(.qodef-has-parallax-background){background-size:cover;background-position:50% 50%;position:relative}
.qodef-title.qodef-has-background.qodef-title-image-not-responsive::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(5,14,36,.7) 0,rgba(5,14,36,.45) 35%,rgba(5,14,36,0) 62%);pointer-events:none}
.qodef-title.qodef-has-background.qodef-title-image-not-responsive .qodef-title-holder{position:relative;z-index:1}
@media (max-width:1024px){.qodef-title.qodef-has-background.qodef-title-image-not-responsive[style*="--cms-band"]{background-image:var(--cms-band)!important;background-size:cover!important;background-position:50% 50%!important;height:clamp(180px,40vw,300px)!important}
.qodef-title.qodef-has-background.qodef-title-image-not-responsive[style*="--cms-band"] .qodef-title-image{display:none}
.qodef-title.qodef-has-background.qodef-title-image-not-responsive[style*="--cms-band"] .qodef-title-holder{position:absolute}
}

/* cms-valign: Row "Dikey hizalama" (blocks/row): columns of different heights centred / at the bottom; they still wrap to full width on phones, 30px apart (a spacer at the top of a column is no longer needed to line it up). The clearfix pseudo elements would be flex items, so they go. */
.cms-valign{display:flex;flex-wrap:wrap}
.cms-valign-middle{align-items:center}
.cms-valign-bottom{align-items:flex-end}
.cms-valign::before,.cms-valign::after{display:none}
.cms-valign>.wpb_column{float:none}
@media (max-width:767px){.cms-valign{row-gap:30px}
.cms-valign>.wpb_column{width:100%}
}

/* cms-slider: Slider (blocks/slider): focus side, phone image, text off the screen edge on phones; heights in js/cms-slider.js */
.carousel-inner .item .qodef-image[style*="--cms-focus"]{background-position:var(--cms-focus) 0}
.cms-slider-ratio .carousel-inner .item .qodef-image{background-position-y:center}
@media (max-width:1024px) and (orientation:portrait){.carousel-inner .item .qodef-image[style*="--cms-mobile-bg"]{background-image:var(--cms-mobile-bg)!important}
}
@media (max-width:767px){.qodef-slider .carousel .carousel-inner .qodef-slider-content-outer{padding-left:20px;padding-right:20px}
}
