/* Site-scoped, server validated design choices. Loaded after the existing theme. */
.source-headline-frame{display:block;width:100%;height:auto;min-height:0;border:0;aspect-ratio:2/1;background:transparent}
.source-headline-frame[data-source-headline='me-theme']{aspect-ratio:770/603}
.source-headline-frame[data-source-headline^='me-slider']{aspect-ratio:1920/800}
#main-content .section-slider.appearance-slider-civic .slider-caption h2,#main-content .section-slider .metro-panel-title h2{color:#fff}
/* Baseline header keeps the original two distinct bands and menu alignment. */
.main-header.appearance-header-classic .top-bar{background:color-mix(in srgb,var(--appearance-primary) 65%,#000)}
.main-header.appearance-header-classic.appearance-menu-plain .main-nav{background:var(--appearance-primary)}
.main-header.appearance-header-classic.appearance-menu-plain.appearance-menu-width-contained .municipality-links{margin-inline:auto 0;max-width:none}
.main-header.appearance-default-colors .top-bar{background:#0b2243}
.main-header.appearance-default-colors.appearance-menu-plain .main-nav{background:#123461}
.main-header.appearance-default-colors .brand-name small{color:#c7d5e7}
:where(html:has(#siteAppearanceTokens)) body{background:var(--appearance-bg);color:var(--appearance-text)}
:where(html:has(#siteAppearanceTokens)) body :is(.top-bar,.metro-panel-title,.main-footer,.section-baskan,.portal-style-contrast){background:var(--appearance-primary)}
:where(html:has(#siteAppearanceTokens)) body :is(.brand-name,.municipality-breadcrumb,.municipality-section h2,.quick-intro h2,.quick-grid>a>i:first-child,.detail-main>h1,.detail-main>article>h1,.portal-contact dt,.metro-contact-item dt,.metro-president .profile-cards h3){color:var(--appearance-primary)}
:where(html:has(#siteAppearanceTokens)) body :is(.municipality-quick-wrap,.section-iletisim,.slider-previews,.portal-style-soft){background:var(--appearance-surface)}
:where(html:has(#siteAppearanceTokens)) body :is(.nav-contact,.footer-invitation>a,.metro-panel-contact,.portal-button,.btn-read-more){background:var(--appearance-accent);color:#fff}
:where(html:has(#siteAppearanceTokens)) body :is(.quick-grid>a:hover,.footer-invitation>a:hover){background:var(--appearance-primary);color:#fff}
:where(html:has(#siteAppearanceTokens)) body :is(.eyebrow,.hero-eyebrow,.news-label){color:var(--appearance-accent)}
:where(html:has(#siteAppearanceTokens)) body :is(.main-footer .brand-name,.section-baskan h2,.section-baskan .profile-cards h3,.portal-style-contrast h2,.metro-panel-title h2,.metro-panel-title>span){color:#fff}
:where(html:has(#siteAppearanceTokens)) body :is(a,button,summary,input,select):focus-visible{outline:3px solid var(--appearance-accent);outline-offset:4px}
.main-header .municipality-links :is(a,summary){min-height:44px}
.main-footer.appearance-footer-light{background:var(--appearance-surface);color:var(--appearance-text)}
.main-footer.appearance-footer-light :is(.brand-name,.brand-name small,p,.configured-footer a,.footer-bottom){color:var(--appearance-primary)}
.appearance-footer-light :is(.footer-bottom,.footer-invitation){border-color:#0002}
.appearance-footer-compact .footer-invitation{display:none}.appearance-footer-compact .municipality-footer-grid{padding-top:20px;padding-bottom:20px}
.appearance-footer-width-fluid>.container,.appearance-footer-width-fluid .footer-bottom>.container{max-width:none}
.appearance-header-width-fluid .top-bar>.container{max-width:none}
@media(min-width:1051px){
 .appearance-header-width-fluid .nav-container,.appearance-menu-width-fluid .nav-container{max-width:none}
 .appearance-header-centered .nav-container{flex-direction:column;gap:8px;padding-top:20px;padding-bottom:16px}
 .appearance-header-centered .municipality-brand{max-width:none;text-align:center}.appearance-header-centered .municipality-links{width:100%;justify-content:center}
 .appearance-header-compact .top-bar{display:none}.appearance-header-compact .nav-container{min-height:84px}.appearance-header-compact .municipality-seal{width:52px;height:58px}.appearance-header-compact .brand-name{font-size:18px}
 .appearance-menu-band .nav-container{flex-wrap:wrap}.appearance-menu-band .municipality-links{flex-basis:100%;width:100%;background:var(--appearance-primary);padding:8px 18px;justify-content:center;border-radius:6px}
 .appearance-menu-band .municipality-links :is(.visitor-nav>ul>li>a,.visitor-nav>ul>li>details>summary){color:#fff}
 .appearance-menu-band .visitor-nav>ul{justify-content:center}.appearance-menu-band .municipality-links .nav-contact{background:var(--appearance-accent)}
 .appearance-menu-pills .municipality-links .visitor-nav>ul>li>:is(a,details)>summary,.appearance-menu-pills .municipality-links .visitor-nav>ul>li>a{background:var(--appearance-surface);color:var(--appearance-primary);border-radius:30px;padding:10px 14px}
 .appearance-menu-width-contained .municipality-links{max-width:1320px;margin-inline:auto}
 .appearance-menu-width-fluid .municipality-links{max-width:none}
}
@media(max-width:1050px){
 .municipality-js .main-header.appearance-mobile-right .municipality-links{inset:0 0 0 auto;transform:translateX(105%)}
 .municipality-js .main-header.appearance-mobile-left .municipality-links{inset:0 auto 0 0;transform:translateX(-105%)}
 .municipality-js .main-header.appearance-mobile-full .municipality-links{inset:0;width:100%;transform:translateY(-105%)}
 .municipality-js .main-header:is(.appearance-mobile-right,.appearance-mobile-left,.appearance-mobile-full) .municipality-links.is-open{transform:none;visibility:visible}
 .main-header .drawer-navigation :is(a,summary){color:var(--appearance-primary)}
}
/* Hero models share real slide records and the existing keyboard/controller contract. */
.municipality-section.section-slider.appearance-slider-width-fluid{max-width:none;padding-left:0;padding-right:0}
.municipality-section.section-slider:not(.appearance-slider-civic){display:block}
.appearance-slider-width-fluid:not(.appearance-slider-civic) .municipality-hero,.appearance-slider-width-fluid:not(.appearance-slider-civic) .portal-slide{border-radius:0}
.section-slider:not(.appearance-slider-civic) .portal-slider{position:relative}
.section-slider:not(.appearance-slider-civic) .slider-controls{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:var(--appearance-primary);color:#fff;border-radius:0 0 8px 8px}
.section-slider:not(.appearance-slider-civic) .slider-controls button{min-width:80px;min-height:44px;position:static;color:#fff;background:transparent;border:1px solid #ffffff80}
.section-slider:not(.appearance-slider-civic) .slider-status{position:static;color:#fff;background:none}
.section-slider.appearance-slider-panorama .portal-slide,.section-slider.appearance-slider-panorama .portal-slide img{height:570px;min-height:570px}
.section-slider.appearance-slider-panorama .slider-caption{background:linear-gradient(0deg,#07192ce8,transparent);justify-content:flex-end;inset:0;padding:48px;max-width:none}
.section-slider.appearance-slider-panorama .slider-caption h2{max-width:900px;font-size:48px}
.appearance-slider-panorama .hero-eyebrow{color:#fff}.appearance-slider-panorama .slider-previews{display:flex;justify-content:center;padding:16px;gap:12px;background:var(--appearance-surface)}
.appearance-slider-panorama .slider-preview{flex:none;width:44px;height:44px;border-radius:50%;background:var(--appearance-primary);color:#fff;display:grid;place-items:center}
.appearance-slider-panorama .slider-preview img{display:none}.appearance-slider-panorama .slider-preview span{display:none}.appearance-slider-panorama .slider-preview:after{content:attr(data-slide-number)}
.section-slider.appearance-slider-me-theme .portal-slide{height:auto;min-height:0;border-radius:0;border-bottom:4px solid var(--appearance-accent)}
.section-slider.appearance-slider-me-theme .portal-slide img{height:450px;min-height:0;border-radius:0}
.section-slider.appearance-slider-me-theme .slider-caption{position:static;display:block;padding:24px 32px;background:#fff;color:var(--appearance-text)}
.section-slider.appearance-slider-me-theme .slider-caption h2{font-size:30px;line-height:1.3;color:var(--appearance-primary);margin:8px 0 10px;max-width:none}
.section-slider.appearance-slider-me-theme .slider-caption p{color:var(--appearance-muted);margin-bottom:8px}.appearance-slider-me-theme .hero-eyebrow,.appearance-slider-me-theme .hero-discover{display:none}
.appearance-slider-me-theme .slider-previews{display:flex;gap:8px;padding:12px;background:var(--appearance-surface)}
.appearance-slider-me-theme .slider-preview{width:44px;height:44px;flex:none;background:#fff;display:grid;place-items:center;color:var(--appearance-primary)}
.appearance-slider-me-theme .slider-preview:after{content:attr(data-slide-number)}.appearance-slider-me-theme .slider-preview :is(img,span){display:none}
.section-slider.appearance-slider-me-slider .portal-slide,.section-slider.appearance-slider-me-slider .portal-slide img{height:560px;min-height:560px}
.section-slider.appearance-slider-me-slider .slider-caption{background:linear-gradient(90deg,#07192c99,transparent);padding:48px;justify-content:center;align-items:flex-start}
.section-slider.appearance-slider-me-slider .slider-caption h2{font-size:40px;background:var(--appearance-primary);color:#fff;padding:14px 20px;max-width:750px}
.section-slider.appearance-slider-me-slider .slider-caption p{background:#fff;color:var(--appearance-text);padding:12px 20px;max-width:650px;margin:6px 0 16px}
.appearance-slider-me-slider .hero-eyebrow{display:none}.appearance-slider-me-slider .hero-discover{background:var(--appearance-accent);color:#fff;border:0}
.appearance-slider-me-slider .portal-slide:not([hidden]) .slider-caption>*{animation:appearance-layer .4s ease-out both}.appearance-slider-me-slider .portal-slide:not([hidden]) .slider-caption p{animation-delay:.08s}
@keyframes appearance-layer{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:none}}
.section-slider.appearance-slider-split .portal-slide{height:auto;min-height:0;background:var(--appearance-surface)}
.appearance-slider-split .portal-slide>a,.appearance-slider-split .portal-slide:not(:has(>a)){display:grid;grid-template-columns:1.1fr 1fr;align-items:stretch}
.section-slider.appearance-slider-split .portal-slide img{height:480px;min-height:480px;width:100%;object-fit:cover}
.section-slider.appearance-slider-split .slider-caption{position:static;padding:40px;display:flex;justify-content:center;align-items:flex-start;background:var(--appearance-surface);color:var(--appearance-text)}
.section-slider.appearance-slider-split .slider-caption h2{font-size:36px;line-height:1.25;color:var(--appearance-primary)}.section-slider.appearance-slider-split .slider-caption p{color:var(--appearance-muted)}
.appearance-slider-split .hero-discover{color:var(--appearance-primary);border-color:var(--appearance-primary)}
@media(max-width:767px){
 .section-slider:not(.appearance-slider-civic) .portal-slide img{height:300px;min-height:300px}.section-slider.appearance-slider-me-theme .portal-slide img{height:260px;min-height:260px}
 .section-slider.appearance-slider-panorama .portal-slide,.section-slider.appearance-slider-me-slider .portal-slide{height:460px;min-height:460px}
 .section-slider.appearance-slider-panorama .portal-slide img,.section-slider.appearance-slider-me-slider .portal-slide img{height:460px;min-height:460px}
 .section-slider:is(.appearance-slider-panorama,.appearance-slider-me-slider) .slider-caption{padding:26px 22px}
 .section-slider:not(.appearance-slider-civic) .slider-caption h2{font-size:27px;letter-spacing:-.4px}.section-slider:not(.appearance-slider-civic) .slider-caption p{font-size:14px}
 .section-slider.appearance-slider-me-theme .slider-caption{padding:20px}.section-slider.appearance-slider-split .portal-slide{height:auto;min-height:0}
 .appearance-slider-split .portal-slide>a,.appearance-slider-split .portal-slide:not(:has(>a)){grid-template-columns:1fr}.section-slider.appearance-slider-split .slider-caption{padding:26px 22px}
 .section-slider:not(.appearance-slider-civic) .slider-controls{padding:10px}
}
@media(prefers-reduced-motion:reduce){.appearance-slider-me-slider .portal-slide .slider-caption>*{animation:none!important}}
/* Actual slider engines; fallback articles remain untouched until initialization succeeds. */
.section-slider .engine-stage{width:100%;min-width:0;overflow:hidden;border-radius:10px;background:var(--appearance-surface)}
.section-slider .engine-active .engine-fallback{display:none}.section-slider .engine-story{position:relative;min-width:0;height:540px;overflow:hidden;margin:0}
.section-slider .engine-story>a{display:block;position:relative;height:100%}.section-slider .engine-story img{display:block;width:100%;height:100%;object-fit:cover}
.section-slider .engine-story .slider-caption{position:absolute;inset:auto 0 0;padding:40px 44px;display:block;max-width:none;background:linear-gradient(0deg,#081d36f2,transparent);color:#fff}
#main-content .section-slider .engine-story .slider-caption h2{font-size:38px;line-height:1.25;color:#fff;margin:0 0 14px}
.section-slider .engine-story .slider-caption p{color:#fff;font-size:15px}.section-slider .engine-story .hero-eyebrow{color:#fff}
.section-slider.appearance-slider-me-theme .engine-story .slider-caption{background:#fff;position:absolute;inset:auto 0 0;padding:24px 30px;border-bottom:4px solid var(--appearance-accent)}
#main-content .section-slider.appearance-slider-me-theme .engine-story h2{color:var(--appearance-primary);font-size:30px}
.appearance-slider-me-theme .engine-story .slider-caption p{color:var(--appearance-muted)}.appearance-slider-me-theme .engine-story img{height:calc(100% - 120px)}
.engine-owl.owl-carousel{display:block!important}.engine-owl .owl-wrapper-outer{width:100%}.engine-owl .owl-item{min-width:0}
.engine-swiper{height:540px;--swiper-theme-color:var(--appearance-primary)}.engine-swiper .swiper-wrapper{height:100%}.engine-swiper .swiper-slide{height:100%;min-width:0}
.appearance-slider-swiper-coverflow .engine-stage{padding:20px 0;background:var(--appearance-primary)}.appearance-slider-swiper-coverflow .engine-story{border-radius:12px}.appearance-slider-swiper-coverflow .engine-story .slider-caption{padding:30px}
.engine-rotator{margin:0!important;border:0!important}.engine-rotator .br-layer{border:0!important}.engine-rotator h2{font-family:inherit!important;text-wrap:balance}.engine-rotator-link{display:inline-flex;align-items:center;min-height:44px;padding:12px 18px;background:var(--appearance-accent);color:#fff!important;border-radius:5px;font-size:14px;font-weight:600}
.engine-rotator .br-layers{color:#fff}.engine-rotator .br-cpanel,.engine-rotator .br-links{pointer-events:none}.engine-load-notice{font-size:13px;padding:12px;background:var(--appearance-surface);color:var(--appearance-text)}
.engine-current-details{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 20px;background:var(--appearance-surface);color:var(--appearance-primary)}.engine-current-details strong{font-size:15px;line-height:1.6}.engine-current-link{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:10px 18px;border-radius:5px;background:var(--appearance-primary);color:#fff;font-size:14px}.engine-rotator .engine-title-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:767px){.engine-current-details{display:block;padding:15px 18px}.engine-current-details strong{font-size:13px;display:block;margin-bottom:10px}.engine-current-link{font-size:13px}}
.section-slider .engine-active .slider-previews{position:static}.section-slider .engine-active .slider-controls{position:static;inset:auto;display:flex;justify-content:space-between;align-items:center;background:var(--appearance-primary);padding:12px;color:#fff}
.section-slider .engine-active .slider-controls button{position:static;min-width:70px;min-height:44px;color:#fff;border:1px solid #ffffff80;background:transparent}.section-slider .engine-active .slider-status{background:none;color:#fff;position:static}
#main-content .section-slider .engine-stage .engine-story h2{font-size:38px;line-height:1.25}
#main-content .section-slider.appearance-slider-me-theme .engine-stage .engine-story h2{font-size:30px}
@media(max-width:767px){#main-content .section-slider .engine-stage .engine-story h2{font-size:27px}#main-content .section-slider.appearance-slider-me-theme .engine-stage .engine-story h2{font-size:25px}}
@media(max-width:767px){.section-slider .engine-story,.engine-swiper{height:400px}.section-slider .engine-story .slider-caption{padding:24px 22px}#main-content .section-slider .engine-story .slider-caption h2{font-size:27px}.section-slider.appearance-slider-me-theme .engine-story .slider-caption{padding:20px}#main-content .section-slider.appearance-slider-me-theme .engine-story h2{font-size:25px}.section-slider .engine-story .slider-caption p{font-size:13px}.appearance-slider-swiper-coverflow .engine-story .slider-caption{padding:20px 16px}.appearance-slider-swiper-coverflow .engine-story h2{font-size:23px!important}}
/* Additional menu designs use the same recursive, accessible menu data. */
@media(min-width:1051px){.main-header:is(.appearance-menu-underline,.appearance-menu-boxed) .main-nav{background:#fff}.main-header:is(.appearance-menu-underline,.appearance-menu-boxed) .municipality-brand .brand-name{color:var(--appearance-primary)}.main-header:is(.appearance-menu-underline,.appearance-menu-boxed) .brand-name small{color:var(--appearance-muted)}.appearance-menu-underline .drawer-navigation .visitor-nav>ul>li>a,.appearance-menu-underline .drawer-navigation .visitor-nav>ul>li>details>summary{border-bottom:3px solid var(--appearance-accent);padding:13px 10px}.appearance-menu-boxed .drawer-navigation .visitor-nav>ul{gap:7px}.appearance-menu-boxed .drawer-navigation .visitor-nav>ul>li>a,.appearance-menu-boxed .drawer-navigation .visitor-nav>ul>li>details>summary{border:1px solid #d7e2eb;border-radius:6px;background:var(--appearance-surface);padding:11px 13px}}
/* Profile colors cover shared visitor archives, details, forms and secondary sections. */
:where(html:has(#siteAppearanceTokens)) body :is(main,.municipality-home,.municipality-quick-wrap,.municipality-content-grid){color:var(--appearance-text)}
:where(html:has(#siteAppearanceTokens)) body :is(.municipality-breadcrumb,.section-ihaleler,.section-duyurular,.section-etkinlikler,.section-kent_rehberi,.contact-channel-card,.contact-address-card,.contact-social-card,.contact-bottom-grid>.visitor-form,.contact-bottom-grid>.contact-map,.contact-home-grid .contact-group,.mayor-section-popover>summary:hover){background:var(--appearance-surface)}
:where(html:has(#siteAppearanceTokens)) body :is(.content-cards h3,.content-list h3,.gallery-cards h3,.gallery-list h3,.event-cards h3,.profile-cards h3,.detail-sidebar h2,.detail-sidebar h3,.contact-card h2,.contact-entry a,.mayor-profile h1,.mayor-section-popover>summary,.mayor-dialog-content h2,.mayor-dialog-close,.detail-metadata a,.public-detail-layout .published-content a){color:var(--appearance-primary)}
:where(html:has(#siteAppearanceTokens)) body :is(.contact-channel-card,.contact-address-card,.contact-social-card,.contact-home-grid .contact-group,.section-ihaleler .content-cards article){border-top-color:var(--appearance-accent)}
:where(html:has(#siteAppearanceTokens)) body :is(.visitor-form button[type=submit],.visitor-submit,.mayor-message-button,.mayor-section-links>a,.public-detail-layout .portal-button){background:var(--appearance-primary);color:#fff;border-color:var(--appearance-primary)}
:where(html:has(#siteAppearanceTokens)) body :is(.detail-main .published-content,.contact-entry small,.contact-entry dt,.content-meta,.event-meta,.quick-grid small){color:var(--appearance-muted)}
:where(html:has(#siteAppearanceTokens)) body :is(.public-detail-layout .published-content a,.content-cards a:hover h3,.detail-sidebar a:hover){text-decoration-color:var(--appearance-accent)}
.main-header .drawer-navigation .visitor-nav>ul>li>:is(a,details)>summary,.main-header .drawer-navigation .visitor-nav>ul>li>a{color:var(--appearance-primary)}
.section-slider .slider-caption .hero-eyebrow{color:#fff}.section-slider.appearance-slider-split .slider-caption .hero-eyebrow{color:var(--appearance-primary)}
.section-slider .portal-slide{touch-action:pan-y}
.appearance-slider-me-theme{--appearance-hero-size:30px}.appearance-slider-me-slider{--appearance-hero-size:40px}.appearance-slider-panorama{--appearance-hero-size:48px}.appearance-slider-split{--appearance-hero-size:36px}
#main-content .section-slider:not(.appearance-slider-civic) .slider-caption h2{font-size:var(--appearance-hero-size);line-height:1.25}
@media(max-width:767px){#main-content .section-slider:not(.appearance-slider-civic) .slider-caption h2{font-size:27px}}
.main-header .main-nav{background:var(--appearance-primary)}.main-header .brand-name,.main-header .brand-name small{color:#fff}
.main-header .municipality-brand .brand-name{color:#fff}.main-header .municipality-links .municipality-brand .brand-name{color:var(--appearance-primary)}
.section-slider.appearance-slider-split .slider-caption .hero-discover{background:var(--appearance-primary);color:#fff;border-color:var(--appearance-primary)}
@media(min-width:1051px){
 .main-header.appearance-menu-plain .drawer-navigation .visitor-nav>ul>li>details>summary,.main-header.appearance-menu-plain .drawer-navigation .visitor-nav>ul>li>a{color:#fff}
 .main-header:is(.appearance-menu-band,.appearance-menu-pills) .main-nav{background:#fff}
 .main-header:is(.appearance-menu-band,.appearance-menu-pills) .brand-name{color:var(--appearance-primary)}
 .main-header:is(.appearance-menu-band,.appearance-menu-pills) .municipality-brand .brand-name{color:var(--appearance-primary)}
 .main-header:is(.appearance-menu-band,.appearance-menu-pills) .brand-name small{color:var(--appearance-muted)}
}
@media(min-width:1051px){
 .appearance-header-width-fluid .nav-container,.appearance-menu-width-fluid .nav-container{max-width:none;flex-wrap:wrap}
 .appearance-header-width-fluid .municipality-links,.appearance-menu-width-fluid .municipality-links{flex-basis:100%;width:100%;justify-content:center}
 .appearance-header-width-fluid .municipality-links .visitor-nav>ul,.appearance-menu-width-fluid .municipality-links .visitor-nav>ul{justify-content:center}
 .appearance-header-width-contained.appearance-menu-width-fluid .municipality-brand{margin-left:max(0px,calc((100vw - 1400px)/2))}
 .appearance-header-width-fluid.appearance-menu-width-contained .municipality-links{max-width:1320px}
 .main-header.appearance-menu-band .drawer-navigation .visitor-nav>ul>li>details>summary,.main-header.appearance-menu-band .drawer-navigation .visitor-nav>ul>li>a{color:#fff}
}
