/* Office directory and branch pages: scoped to preserve booking controls. */
.castle-offices,.castle-office-page{background:#f7f8fa;padding-block:48px 64px}
.castle-offices .office_bottom_list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:0;list-style:none}
.castle-offices .office_bottom_list>li{width:auto!important;margin:0!important;min-width:0;background:#fff;border:1px solid #e7e8ec;border-radius:20px;overflow:hidden;box-shadow:0 8px 24px #18263808}
.castle-offices .office_bottom_list_top{display:block!important;width:100%;height:280px!important;overflow:hidden}
.castle-offices .office_bottom_list_top img{width:100%;height:100%!important;object-fit:cover;transition:transform .2s}
.castle-offices .office_bottom_list_top:hover img{transform:scale(1.025)}
.castle-offices .office_bottom_list_bottom{padding:28px!important}
.castle-offices .office_bottom_list_bottom_title{font-size:25px;line-height:1.35;margin:0 0 22px;color:#202735}
.castle-offices .office_bottom_list_bottom_title a{color:inherit}
.castle-offices .office_bottom_list_bottom_list_val{overflow-wrap:anywhere;line-height:1.6}
.castle-office-detail{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:26px;padding:15px 20px;border-radius:10px;background:#ed252a;color:#fff!important;font-weight:600;min-height:48px}
.castle-offices a:focus-visible,.castle-office-page a:focus-visible{outline:3px solid #202735;outline-offset:4px}
.castle-office-page .lokasyon-giris{max-width:1000px;font-size:20px;line-height:1.85;margin:0 0 48px;color:#414956}
.castle-office-page h2{font-size:clamp(25px,2.4vw,34px);line-height:1.3;margin:48px 0 24px;color:#202735}
.castle-office-page .lokasyon-ozellik{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;padding:0}
.castle-office-page .lokasyon-ozellik li{background:#fff;border:1px solid #e7e8ec;border-radius:16px;padding:28px;min-width:0}
.castle-office-page h3{font-size:20px;line-height:1.4;margin:0 0 12px;color:#202735}
.castle-office-page p{line-height:1.8}
.castle-office-page .lokasyon-ofis{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;background:#fff;border:1px solid #e7e8ec;border-radius:20px;padding:28px}
.castle-office-page .lokasyon-ofis-gorsel{max-width:none;margin:0;box-shadow:none;grid-row:span 2}
.castle-office-page .lokasyon-ofis-gorsel img{width:100%;height:100%;min-height:300px;max-height:480px;object-fit:cover}
.castle-office-page .lokasyon-ofis dl{margin:0;align-self:center;min-width:0}
.castle-office-page .lokasyon-ofis dt{font-size:13px;color:#6b7280;margin:16px 0 6px}
.castle-office-page .lokasyon-ofis dd{font-size:17px;line-height:1.7;margin:0;overflow-wrap:anywhere}
.castle-office-page .lokasyon-harita{justify-self:start;align-self:start;border-bottom:2px solid #ed252a;padding:8px 0;font-weight:600}
.castle-office-page .lokasyon-cta{display:flex;align-items:center;flex-wrap:wrap;gap:24px;padding:28px 0}
.castle-office-page .lokasyon-cta-btn{display:inline-flex;padding:17px 26px;background:#ed252a;color:#fff;border-radius:10px;font-weight:600}
.castle-office-page .lokasyon-cta-tel{font-size:23px;font-weight:600;color:#202735}
.castle-office-page .lokasyon-sss{background:#fff;border:1px solid #e7e8ec;border-radius:20px;padding:32px}
.castle-office-page .lokasyon-sss h3:not(:first-child){margin-top:28px;padding-top:28px;border-top:1px solid #e7e8ec}
.castle-office-page .lokasyon-diger{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0}
.castle-office-page .lokasyon-diger a{display:block;background:#fff;padding:15px 18px;border:1px solid #e7e8ec;border-radius:10px;color:#202735;line-height:1.5}
@media(max-width:767px){
.castle-offices,.castle-office-page{padding-block:24px 40px}
.castle-offices .office_bottom_list,.castle-office-page .lokasyon-ozellik,.castle-office-page .lokasyon-ofis{grid-template-columns:minmax(0,1fr);gap:20px}
.castle-offices .office_bottom_list_top{height:220px!important}
.castle-offices .office_bottom_list_bottom,.castle-office-page .lokasyon-ozellik li,.castle-office-page .lokasyon-ofis,.castle-office-page .lokasyon-sss{padding:20px!important}
.castle-office-page .lokasyon-ofis-gorsel{grid-row:auto}
.castle-office-page .lokasyon-ofis-gorsel img{min-height:0;height:230px}
.castle-office-page .lokasyon-giris{font-size:17px;margin-bottom:32px}
.castle-office-page h2{margin-top:32px}
.castle-office-page .lokasyon-cta-btn{width:100%;justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:reduce){.castle-offices .office_bottom_list_top img{transition:none}}
/* Remove the homepage's vertical offset from the branch booking form. */
.lokasyon-arama{display:flow-root;padding-block:24px}
.lokasyon-arama .showcase_reservation{top:auto!important;margin:0!important}
.castle-offices,.castle-office-page{margin-top:0!important}
.castle-offices .office-lokasyon-linkler{display:flex;flex-wrap:wrap;gap:12px;padding:20px 0;list-style:none}
.castle-offices .office-lokasyon-linkler a{display:block;padding:12px 16px;background:#fff;border:1px solid #e7e8ec;border-radius:10px;line-height:1.5}

.castle-office-placeholder-name{display:none}
.castle-offices .castle-office-placeholder{background:linear-gradient(135deg,#262b36,#434c5e);display:flex!important;align-items:center;justify-content:center;padding:28px;box-sizing:border-box}
.castle-office-placeholder img{display:none}
.castle-office-placeholder .castle-office-placeholder-name{display:block;font-size:30px;font-weight:700;line-height:1.3;color:white;text-align:center}
.castle-office-page .lokasyon-ofis:not(:has(.lokasyon-ofis-gorsel)){grid-template-columns:minmax(0,1fr)}
