/* Generated Stabil Core 3 bundle. Source order is intentional. */

/* === SOURCE: media.css === */
.ia-media,
.ia-picture,
.ia-responsive-image {
    display:block;
    max-width:100%;
}

.ia-responsive-image {
    height:auto;
}

.ia-hero-media {
    position:absolute;
    inset:0;
    z-index:-2;
    overflow:hidden;
    background:#0f172a;
}

.ia-hero-media__picture,
.ia-hero-media__image {
    display:block;
    width:100%;
    height:100%;
}

.ia-hero-media__image {
    object-fit:cover;
    object-position:center center;
}

.district-hero-cover.has-semantic-media {
    background-image:none !important;
}

.district-hero-cover.has-semantic-media::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(90deg,rgba(15,23,42,.88) 0%,rgba(15,23,42,.62) 45%,rgba(15,23,42,.28) 100%);
    pointer-events:none;
}

.ia-card-media,
.ia-district-card__media,
.ia-province-card__media,
.archive-card-image {
    aspect-ratio:16 / 10;
    overflow:hidden;
}

.ia-card-media__image,
.ia-district-card__media img,
.ia-province-card__media img,
.archive-card-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.ia-card-media__placeholder,
.ia-district-card__placeholder {
    display:grid;
    width:100%;
    height:100%;
    place-items:center;
}

.district-gallery-card {
    overflow:hidden;
}

.district-gallery-card .ia-responsive-image,
.district-gallery-card__image {
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
}

.district-gallery-card figcaption {
    padding:10px 12px 0;
    color:var(--ia-text-muted, #64748b);
    font-size:13px;
    line-height:1.5;
}

.district-map-embed,
.ia-map-placeholder {
    min-height:320px;
    aspect-ratio:16 / 9;
}

.district-map-embed iframe,
.district-map-embed img,
.district-map-image__img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.district-chart-canvas,
.ia-chart-placeholder {
    min-height:280px;
}

@media (max-width: 767px) {
    .ia-hero-media__image {
        object-position:center center;
    }

    .district-map-embed,
    .ia-map-placeholder {
        min-height:260px;
    }
}


/* v2.1.8 V7 — province and region semantic media layers. */
.ia-province-hero.has-semantic-media,
.ia-region-hero.has-semantic-media{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background:#0f172a;
}

.ia-province-hero__media,
.ia-region-hero__media{
    z-index:-2;
}

.ia-province-hero.has-semantic-media .ia-province-hero__overlay{
    z-index:-1;
}

.ia-region-hero.has-semantic-media::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(circle at 16% 20%,color-mix(in srgb,var(--ia-region-accent,#2563eb) 26%,transparent),transparent 32%),
        linear-gradient(135deg,rgba(15,23,42,.7),rgba(15,23,42,.9));
}

/* Delayed external map: no third-party iframe before explicit interaction. */
.district-map-facade{
    position:relative;
    display:grid;
    place-items:center;
    min-height:320px;
    border:1px solid rgba(37,99,235,.16);
    border-radius:28px;
    background:
        radial-gradient(circle at 20% 20%,rgba(37,99,235,.15),transparent 34%),
        linear-gradient(135deg,#eff6ff,#f8fafc);
    overflow:hidden;
}

.district-map-facade__button{
    display:flex;
    width:min(520px,calc(100% - 32px));
    min-height:190px;
    padding:28px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid rgba(37,99,235,.2);
    border-radius:24px;
    background:rgba(255,255,255,.9);
    color:#0f172a;
    text-align:center;
    cursor:pointer;
    box-shadow:0 22px 58px rgba(15,23,42,.1);
}

.district-map-facade__button:hover,
.district-map-facade__button:focus-visible{
    border-color:#2563eb;
    transform:translateY(-2px);
}

.district-map-facade__button:focus-visible{
    outline:3px solid rgba(37,99,235,.34);
    outline-offset:4px;
}

.district-map-facade__button[disabled]{
    cursor:wait;
    opacity:.72;
}

.district-map-facade__icon{
    display:grid;
    width:54px;
    height:54px;
    place-items:center;
    border-radius:18px;
    background:#2563eb;
    color:#fff;
}

.district-map-facade__button strong{
    font-size:clamp(20px,3vw,28px);
    line-height:1.2;
}

.district-map-facade__button span:last-child{
    max-width:42ch;
    color:#64748b;
    line-height:1.6;
}

.district-map-facade__iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
}

.district-map-facade.is-loading::after{
    content:"Harita yükleniyor…";
    position:absolute;
    right:18px;
    bottom:18px;
    padding:8px 12px;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-size:13px;
    font-weight:800;
}

@media(max-width:767px){
    .district-map-facade{
        min-height:260px;
        border-radius:22px;
    }

    .district-map-facade__button{
        min-height:170px;
        padding:22px;
        border-radius:20px;
    }
}

@media(prefers-reduced-motion:reduce){
    .district-map-facade__button{
        transition:none;
    }

    .district-map-facade__button:hover,
    .district-map-facade__button:focus-visible{
        transform:none;
    }
}


.district-gallery-card__link{
    display:block;
    color:inherit;
    text-decoration:none;
    overflow:hidden;
}

.district-gallery-card__link:focus-visible{
    outline:3px solid #2563eb;
    outline-offset:-3px;
}

