﻿/* Compatibility with current public forms/lists; the recovered Nest composition stays intact. */
html,body { max-width:100%; }
.nest-content img { max-width:100%; }
.nest-gallery-banner { background:#eee url('/public-defaults/foto_gallery_bg.jpg') center/cover no-repeat; }
.nest-gallery-banner .title { display:inline-block; padding:8px 14px; background:#0006; color:#fff; font-size:30px; line-height:1.4; overflow-wrap:anywhere; }
.nest-gallery { background:url('/themes/nest/published-defaults/bg8.png') repeat; }
.nest-gallery-card { display:block; height:100%; margin-bottom:0; background:#fff; overflow:hidden; }
.nest-gallery-cover { display:block; }
.nest-gallery-card > img { display:block; width:100%; height:auto; aspect-ratio:500/358; object-fit:cover; }
.nest-gallery-card .ling-section { padding:24px; bottom:0; color:#fff; pointer-events:none; }
.nest-gallery-card h2 { color:#fff; font-size:22px; font-weight:600; overflow-wrap:anywhere; }
.nest-gallery-card p { color:#fff; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nest-gallery-action { display:inline-block; border:1px solid #fff; border-radius:3px; padding:7px 14px; }
.nest-gallery-article,.nest-gallery-sidebar,.nest-gallery-empty { background:#fff; border-radius:6px; box-shadow:0 3px 15px #0002; overflow:hidden; }
.nest-gallery-article .detail,.nest-gallery-sidebar,.nest-gallery-empty { padding:28px; }
.nest-gallery-article .detail { overflow-wrap:anywhere; }
.nest-gallery-headline { display:block; width:100%; max-height:520px; object-fit:cover; }
.nest-gallery-meta { display:flex; flex-wrap:wrap; gap:20px; color:#666; font-size:14px; }
.nest-gallery-images { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.nest-gallery-images img { width:100%; height:auto; aspect-ratio:500/358; object-fit:cover; }
.nest-gallery-related { display:flex; gap:14px; align-items:center; margin:20px 0; overflow-wrap:anywhere; }
.nest-gallery-related img { width:90px; height:70px; object-fit:cover; flex:none; }
@media(max-width:575px){ .nest-gallery-images{grid-template-columns:1fr;} .nest-gallery-article .detail,.nest-gallery-sidebar,.nest-gallery-empty{padding:20px;} .nest-gallery-banner .title{font-size:24px;} }
.nest-category-block .comon-slick-inner .slick-arrow { display:inline-block!important; }
.nest-content .main-title-2 p { white-space:normal; text-wrap:wrap; overflow-wrap:anywhere; }
.nest-content .blog-page { max-width:1170px; margin:auto; padding:40px 15px; }
.nest-content .blog-page > .blog-box { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.nest-content .blog-post { background:white; border-radius:6px; overflow:hidden; box-shadow:0 4px 20px #0001; }
.nest-content .blog-post img { width:100%; object-fit:cover; }
.nest-content .blog-page .post-content { padding:20px; }
.nest-content .blog-body .detail { min-width:0; overflow-wrap:anywhere; }
.nest-content .blog-body .detail table { width:100%!important; max-width:100%; table-layout:fixed; }
.nest-content .blog-body .detail td,.nest-content .blog-body .detail th { overflow-wrap:anywhere; }
.nest-content .post-tags { list-style:none; display:flex; gap:16px; padding:0 20px; }
.nest-content .kappe-empty-state { grid-column:1/-1; padding:40px; text-align:center; }
.nest-content .kappe-contact-page { max-width:1200px; margin:auto; }
.nest-contact-banner { background: #eee url('/themes/nest/published-defaults/bg_iletisim_2.jpg') center/cover no-repeat; }
.nest-contact { background: url('/themes/nest/published-defaults/bg8.png') repeat; }
.nest-contact-details { margin-bottom:24px; }
.nest-contact-card { background:#fff; border-radius:8px; padding:30px; box-shadow:0 3px 15px #0002; height:100%; }
.nest-contact-cover { width:100%; border-radius:8px; margin-bottom:24px; }
.nest-contact-card h3 { margin-bottom:24px; }
.nest-contact-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.nest-contact-fields > div { min-width:0; }
.nest-contact-fields label,.nest-captcha > span { display:block; font-size:14px; font-weight:600; margin-bottom:8px; }
.nest-field-full { grid-column:1/-1; }
.nest-contact-fields .form-control { width:100%; min-height:46px; padding:10px 12px; border:1px solid #ddd; border-radius:4px; }
.nest-captcha-image { display:flex; align-items:center; gap:8px; min-width:0; }
.nest-captcha-image img { width:160px; max-width:calc(100% - 52px); height:48px; object-fit:contain; }
.nest-captcha-image button { width:44px; height:48px; flex:none; }
.nest-contact .btn-primary { background:var(--site-accent,#0e65d5); border-color:var(--site-accent,#0e65d5); color:#fff; min-height:46px; }
.nest-map-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; margin-top:20px; padding:12px 20px; white-space:normal; }
.nest-map-embed { aspect-ratio:1/1; background:#f3f3f3; border-radius:6px; overflow:hidden; }
.nest-map-embed iframe { width:100%; height:100%; border:0; display:block; }
.nest-contact-submit { padding:12px 24px; }
@media(max-width:575px){ .nest-contact-card{padding:20px;} .nest-contact-fields{grid-template-columns:1fr;} .nest-contact{padding-top:24px;} }
#drawer,#dismiss { min-width:44px; min-height:44px; }
/* Keep the close control in its own row above the logo and language selector. */
#sidebar #dismiss{position:relative;top:auto;right:auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:8px 12px 8px auto;line-height:1;font-size:26px;flex-shrink:0}
a:focus-visible,button:focus-visible { outline:2px solid var(--site-accent,#ed8b20); outline-offset:3px; }
@media(max-width:767px){ .nest-content .blog-page > .blog-box{grid-template-columns:1fr;} .main-header .navbar-brand img{max-width:200px;max-height:65px;object-fit:contain;} .navbar-brand{max-width:75%;} .banner-rotator .slideH1font{font-size:clamp(22px,5vw,42px)!important;} .banner-rotator .slideH2font{font-size:clamp(18px,4vw,30px)!important;} }
@media(prefers-reduced-motion:reduce){ .wow{animation:none!important;visibility:visible!important;} }
.nest-staff-categories{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:36px}.nest-staff-group{scroll-margin-top:100px;margin:0 0 55px}.nest-staff-card{background:#fff;border-radius:6px;overflow:hidden;height:100%}.nest-staff-card img{width:100%;height:300px;object-fit:cover}.nest-staff-card .agent-details{padding:22px}.nest-staff-card h3{font-size:23px}.nest-staff-card p{color:#666}.nest-staff-socials{display:flex;gap:16px;padding:12px 22px;font-size:23px}.nest-staff-portrait{width:100%;max-height:550px;object-fit:contain;background:#f4f4f4;margin-bottom:26px}.nest-video-frame{width:100%;aspect-ratio:16/9;border:0}.nest-rich-text img{max-width:100%;height:auto}.job-application-page{max-width:1200px;margin:40px auto}.job-application-card,.job-application-sidecard{border-radius:6px}
/* Keep the mobile drawer and its language list inside narrow viewports. */
@media(max-width:991px){#sidebar.nav-sidebar{max-width:100vw}}
