/*
Theme Name: BestFit Studie (Blocksy Child)
Theme URI: https://bestfitstudie.com
Description: Child theme for BestFit Studie, based on Blocksy.
Author: BestFit Studie Inc.
Template: blocksy
Version: 1.0.7
Text Domain: bestfit-child
*/

/* Custom CSS for BestFit Studie goes below this line. */

/* About page principles: keep title and text together when cards in a row have different heights (2026-11-29) */
.bV-g > .vi { align-content: start; }

/* Mobile menu icons (2026-11-29) */
#offcanvas .menu-item[class*="bf-mi-"] > a{display:flex;align-items:center}
#offcanvas .menu-item[class*="bf-mi-"] > a::before{content:"";flex:0 0 22px;width:22px;height:22px;margin-right:14px;background:#F0444C;-webkit-mask:var(--bf-ic) no-repeat center/contain;mask:var(--bf-ic) no-repeat center/contain}
#offcanvas .bf-mi-hs{--bf-ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21h18M5 21V10l7-5 7 5v11M10 21v-5h4v5%22/%3E%3Ccircle cx=%2212%22 cy=%2211%22 r=%221.6%22/%3E%3C/svg%3E")}
#offcanvas .bf-mi-lang{--bf-ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H9l-4 3v-3H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z%22/%3E%3Cpath d=%22M19 9h1a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-1v3l-4-3h-3%22/%3E%3C/svg%3E")}
#offcanvas .bf-mi-col{--bf-ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%227%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 13h18%22/%3E%3C/svg%3E")}
#offcanvas .bf-mi-uni{--bf-ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 9l10-5 10 5-10 5z%22/%3E%3Cpath d=%22M6 11v5c0 1.7 2.7 3 6 3s6-1.3 6-3v-5M22 9v6%22/%3E%3C/svg%3E")}
#offcanvas .bf-mi-about{--bf-ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21c0-4 3.6-7 8-7s8 3 8 7%22/%3E%3C/svg%3E")}
#offcanvas .bf-mi-contact{--bf-ic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 7l9 6 9-6%22/%3E%3C/svg%3E")}

/* Language toggle: globe + other language (2026-11-30) */
[data-id="language-switcher"] .ct-language li.current-lang{display:none!important}
[data-id="language-switcher"] .ct-language li::before,[data-id="language-switcher"] .ct-language li::after{content:none!important;display:none!important}
[data-id="language-switcher"] .ct-language{gap:0!important;margin:0}
[data-id="language-switcher"] .ct-language li a{display:inline-flex!important;align-items:center;gap:7px;height:38px;padding:0 13px;border:1px solid #E3E8EF;border-radius:8px;background:#fff;color:#03264E!important;font-family:"DM Sans",sans-serif;font-size:14px;font-weight:500;line-height:1;text-decoration:none;text-transform:none!important;letter-spacing:normal!important;transition:border-color .15s}
[data-id="language-switcher"] .ct-language li a:hover,[data-id="language-switcher"] .ct-language li a:focus-visible{border-color:#03264E}
[data-id="language-switcher"] .ct-language li a::before{content:"";width:16px;height:16px;flex:0 0 16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z%22/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z%22/%3E%3C/svg%3E") no-repeat center/contain}
[data-id="language-switcher"] .ct-language .ct-label{opacity:1!important;color:inherit!important;font:inherit!important}
[data-device="desktop"] [data-id="language-switcher"] .ct-language a .ct-label{display:none}
[data-device="desktop"] [data-id="language-switcher"] .ct-language a[lang^="en"]::after{content:"English"}
[data-device="desktop"] [data-id="language-switcher"] .ct-language a[lang^="tr"]::after{content:"T\00FC rk\00E7 e"}
[data-device="mobile"] [data-id="language-switcher"] .ct-language li a{height:34px;padding:0 10px;gap:6px;font-size:13.5px}

/* 404 page (2026-12-01) */
.bf-404{background:#F4F7FB;padding:72px 5vw 88px}
.bf-404-in{max-width:720px;margin:0 auto;text-align:center}
.bf-404-k{margin:0 0 10px;color:#D3121C;font:700 13px/1.3 "DM Sans",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.bf-404 h1{margin:0 0 14px;color:#03264E;font-family:Poppins,sans-serif;font-size:36px;line-height:1.2}
.bf-404-p{margin:0 auto 28px;max-width:560px;color:#3B4656}
.bf-404-l{list-style:none;margin:0 0 30px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.bf-404-l a{display:block;padding:14px 10px;background:#fff;border:1px solid #E3E8EF;border-radius:10px;color:#03264E;font-weight:500;text-decoration:none}
.bf-404-l a:hover{border-color:#03264E}
.bf-404-b{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.bf-404-btn,.bf-404-btn2{display:inline-flex;align-items:center;min-height:52px;padding:0 24px;border-radius:10px;font-weight:700;text-decoration:none}
.bf-404-btn{background:#03264E;color:#fff!important}
.bf-404-btn:hover{background:#021C3B}
.bf-404-btn2{border:1px solid #03264E;color:#03264E!important;background:#fff}
@media (max-width:689px){.bf-404{padding:48px 6vw 56px}.bf-404 h1{font-size:26px}.bf-404-l{grid-template-columns:1fr 1fr;gap:10px}.bf-404-l a{font-size:14.5px;padding:13px 6px;white-space:nowrap}.bf-404-b a{width:100%;justify-content:center}}

/* Form thank-you: booking button (2026-12-06) */
.bf-ty .bf-ty-b{display:flex;flex-wrap:wrap;gap:12px}
.bf-ty a.bf-ty-book{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 22px;border-radius:10px;background:#03264E;border:1.5px solid #03264E;color:#fff!important;font-weight:700;font-size:16px;text-decoration:none}
.bf-ty a.bf-ty-book:hover{background:#021C3B;border-color:#021C3B}
@media (max-width:689px){.bf-ty .bf-ty-b a{width:100%}}
