.module-page{
    min-height:100vh;
    background:#f3f8f9;
    color:#17343b;
}

.module-container{
    width:min(1320px, calc(100% - 36px));
    margin:0 auto;
}

.module-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:18px;
    color:#6f858b;
    font-size:13px;
    font-weight:850;
}

.module-breadcrumb a{
    color:#00796f;
    text-decoration:none;
}

.module-breadcrumb strong{
    color:#05313a;
}

.organization-hero{
    position:relative;
    overflow:hidden;
    padding:220px 0 68px;
    min-height:310px;
    display:flex;
    align-items:flex-end;
    background:#eef6f7;
}

.organization-hero:before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg,rgba(238,246,247,.97),rgba(238,246,247,.84),rgba(238,246,247,.97)),
        linear-gradient(180deg,rgba(238,246,247,.5),#f3f8f9),
        url('/v2/img/slide/2.jpg') center/cover no-repeat;
}

.organization-hero:after{
    content:"";
    position:absolute;
    left:-140px;
    bottom:-170px;
    width:430px;
    height:430px;
    border-radius:50%;
    background:rgba(0,121,111,.11);
    filter:blur(7px);
}

.organization-hero .module-container{
    position:relative;
    z-index:2;
}

.organization-heading span{
    display:inline-flex;
    margin-bottom:12px;
    color:#00796f;
    font-size:12px;
    font-weight:950;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.organization-heading h1{
    margin:0;
    color:#05313a;
    font-size:50px;
    line-height:1.04;
    font-weight:950;
    letter-spacing:-.055em;
}

.organization-shell{
    padding:42px 0 96px;
}

.org-chart{
    position:relative;
}

/* PRESIDENT */
.org-root-wrap{
    display:flex;
    justify-content:center;
    position:relative;
    padding-bottom:48px;
}

.org-root-wrap:after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:3px;
    height:48px;
    transform:translateX(-50%);
    background:linear-gradient(180deg,#00796f,#b6cbd1);
    border-radius:999px;
}

.org-card-president{
    position:relative;
    width:560px;
    min-height:230px;
    display:grid;
    grid-template-columns:150px 1fr;
    gap:26px;
    align-items:center;
    padding:28px;
    border-radius:40px;
    overflow:hidden;
    background:
        radial-gradient(circle at 90% 12%,rgba(255,255,255,.24),transparent 34%),
        linear-gradient(135deg,#003f47 0%,#009b85 100%);
    box-shadow:0 34px 90px rgba(0,80,88,.30);
}

.org-card-president:after{
    content:"";
    position:absolute;
    right:-70px;
    bottom:-80px;
    width:240px;
    height:240px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
}

.org-president-bg-text{
    position:absolute;
    right:18px;
    bottom:-8px;
    color:rgba(255,255,255,.075);
    font-size:76px;
    font-weight:950;
    line-height:1;
    letter-spacing:-.06em;
    pointer-events:none;
}

.org-president-photo{
    position:relative;
    z-index:2;
    width:150px;
    height:170px;
    border-radius:31px;
    overflow:hidden;
    background:#fff;
    border:8px solid rgba(255,255,255,.18);
    box-shadow:0 20px 48px rgba(0,0,0,.22);
}

.org-president-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    display:block;
}

.org-president-info{
    position:relative;
    z-index:2;
    color:#fff;
}

.org-president-info span{
    display:inline-flex;
    margin-bottom:10px;
    padding:8px 13px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-size:12px;
    font-weight:950;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.org-president-info h2{
    margin:0 0 8px;
    color:#fff;
    font-size:38px;
    line-height:1.05;
    font-weight:950;
    letter-spacing:-.045em;
}

.org-president-info p{
    margin:0;
    color:rgba(255,255,255,.86);
    font-size:15px;
    font-weight:850;
}

/* GOVERNANCE */
.org-governance-row{
    position:relative;
    display:flex;
    justify-content:center;
    gap:22px;
    margin-bottom:34px;
    padding-top:34px;
}

.org-governance-row:before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:3px;
    height:34px;
    transform:translateX(-50%);
    background:#b8cbd1;
    border-radius:999px;
}

.org-governance-row:after{
    content:"";
    position:absolute;
    top:34px;
    left:calc(50% - 170px);
    width:340px;
    height:3px;
    background:#b8cbd1;
    border-radius:999px;
}

.org-special-top-card{
    position:relative;
    z-index:2;
    width:260px;
    min-height:118px;
    display:grid;
    grid-template-columns:74px 1fr;
    gap:14px;
    align-items:center;
    padding:18px;
    border-radius:30px;
    background:linear-gradient(135deg,#ffffff,#f7ffff);
    border:2px solid rgba(0,121,111,.12);
    box-shadow:0 18px 44px rgba(0,45,55,.09);
    color:#05313a;
    text-decoration:none;
    transition:.24s ease;
}

.org-special-top-card:before{
    content:"";
    position:absolute;
    top:-34px;
    left:50%;
    width:3px;
    height:34px;
    transform:translateX(-50%);
    background:#b8cbd1;
}

.org-special-top-card:hover{
    transform:translateY(-5px);
    box-shadow:0 28px 64px rgba(0,45,55,.15);
}

.org-special-icon{
    width:74px;
    height:80px;
    border-radius:24px;
    background:linear-gradient(135deg,#00796f,#22c5a8);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    box-shadow:0 18px 30px rgba(0,121,111,.18);
}

.org-special-top-card strong{
    display:block;
    color:#05313a;
    font-size:21px;
    line-height:1.12;
    font-weight:950;
    letter-spacing:-.035em;
}

.org-special-top-card span{
    display:block;
    margin-top:8px;
    color:#6f858b;
    font-size:13px;
    font-weight:850;
}

/* DIRECT ROW */
.org-direct-row{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:24px;
    margin-bottom:40px;
    padding-top:34px;
    flex-wrap:wrap;
}

.org-direct-row:before{
    content:"";
    position:absolute;
    top:0;
    left:14%;
    right:14%;
    height:3px;
    background:linear-gradient(90deg,transparent,#b8cbd1 10%,#b8cbd1 90%,transparent);
    border-radius:999px;
}

.org-direct-node{
    position:relative;
    width:250px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.org-direct-node:before{
    content:"";
    position:absolute;
    top:-34px;
    left:50%;
    width:3px;
    height:34px;
    transform:translateX(-50%);
    background:#b8cbd1;
    border-radius:999px;
}

/* CARD */
.org-card{
    position:relative;
    width:250px;
    min-height:156px;
    display:block;
    padding:0;
    border-radius:30px;
    background:#fff;
    border:1px solid rgba(0,63,70,.08);
    box-shadow:0 18px 44px rgba(0,45,55,.09);
    text-align:left;
    text-decoration:none;
    color:#05313a;
    overflow:hidden;
    transition:.25s ease;
}

.org-card:hover{
    transform:translateY(-5px);
    box-shadow:0 28px 64px rgba(0,45,55,.15);
}

.org-unit-strip{
    width:100%;
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    background:linear-gradient(135deg,#006d68,#00a889);
    color:#fff;
    font-size:12px;
    line-height:1.2;
    font-weight:950;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:.035em;
}

.org-card-inner{
    display:grid;
    grid-template-columns:76px 1fr;
    gap:14px;
    align-items:center;
    padding:16px;
}

.org-photo{
    width:76px;
    height:86px;
    border-radius:21px;
    overflow:hidden;
    background:#eef6f7;
    box-shadow:0 12px 24px rgba(0,45,55,.08);
}

.org-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    display:block;
}

.org-card-body{
    min-width:0;
}

.org-card h3,
.org-card h4{
    margin:0 0 6px;
    color:#05313a;
    font-size:19px;
    line-height:1.15;
    font-weight:950;
    letter-spacing:-.035em;
}

.org-card p{
    margin:0;
    color:#6f858b;
    font-size:13px;
    line-height:1.35;
    font-weight:800;
}

/* TOGGLE */
.org-toggle{
    margin-top:13px;
    height:40px;
    padding:0 17px;
    border:0;
    border-radius:999px;
    background:#00796f;
    color:#fff;
    font-size:12px;
    font-weight:950;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    box-shadow:0 14px 28px rgba(0,121,111,.18);
    transition:.22s ease;
}

.org-toggle:hover{
    background:#005f58;
    transform:translateY(-2px);
}

.org-toggle i{
    transition:.25s ease;
}

.org-direct-node.is-open > .org-toggle i,
.org-sub-node.is-open > .org-toggle i{
    transform:rotate(180deg);
}

.org-toggle-small{
    height:36px;
    font-size:11px;
    margin-top:11px;
}

/* LOCAL CHILDREN */
.org-local-children{
    display:none;
    width:260px;
    margin-top:18px;
    gap:10px;
}

.org-direct-node.is-open > .org-local-children{
    display:grid;
}

/* ASSISTANT SECTION */
.org-section-title{
    position:relative;
    margin:50px auto 24px;
    text-align:center;
}

.org-section-title:before{
    content:"";
    position:absolute;
    top:-34px;
    left:50%;
    width:3px;
    height:30px;
    transform:translateX(-50%);
    background:#b8cbd1;
    border-radius:999px;
}

.org-section-title span{
    display:inline-flex;
    margin-bottom:8px;
    padding:8px 14px;
    border-radius:999px;
    background:#eef8f7;
    color:#00796f;
    font-size:12px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.org-section-title h2{
    margin:0;
    color:#05313a;
    font-size:28px;
    font-weight:950;
    letter-spacing:-.04em;
}

.org-assistant-grid{
    position:relative;
    display:grid;
    grid-template-columns:repeat(3, minmax(230px, 1fr));
    gap:22px;
    max-width:900px;
    margin:0 auto;
    padding-top:34px;
}

.org-assistant-grid:before{
    content:"";
    position:absolute;
    top:0;
    left:80px;
    right:80px;
    height:3px;
    background:linear-gradient(90deg,transparent,#b8cbd1 10%,#b8cbd1 90%,transparent);
    border-radius:999px;
}

.org-sub-node{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.org-sub-node:before{
    content:"";
    position:absolute;
    top:-34px;
    left:50%;
    width:3px;
    height:34px;
    transform:translateX(-50%);
    background:#b8cbd1;
    border-radius:999px;
}

.org-card-sub{
    width:100%;
}

/* MINI CARDS */
.org-leaf-grid{
    display:none;
    grid-template-columns:1fr;
    gap:10px;
    width:260px;
    margin-top:18px;
}

.org-sub-node.is-open > .org-leaf-grid{
    display:grid;
}

.org-mini-card{
    overflow:hidden;
    border-radius:22px;
    background:#fff;
    color:#05313a;
    text-decoration:none;
    box-shadow:0 14px 30px rgba(0,45,55,.08);
    border:1px solid rgba(0,63,70,.08);
    transition:.22s ease;
}

.org-mini-card:hover{
    transform:translateY(-4px);
    box-shadow:0 22px 44px rgba(0,45,55,.13);
}

.org-mini-strip{
    min-height:38px;
    padding:8px 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#006d68,#00a889);
    color:#fff;
    font-size:11px;
    line-height:1.2;
    font-weight:950;
    text-align:center;
    text-transform:uppercase;
}

.org-mini-body{
    display:grid;
    grid-template-columns:48px 1fr;
    gap:10px;
    align-items:center;
    padding:12px;
}

.org-mini-photo,
.org-mini-icon{
    width:48px;
    height:52px;
    border-radius:15px;
    overflow:hidden;
    background:#eef8f7;
    color:#00796f;
    display:flex;
    align-items:center;
    justify-content:center;
}

.org-mini-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
}

.org-mini-body strong{
    display:block;
    color:#05313a;
    font-size:13px;
    line-height:1.2;
    font-weight:950;
}

.org-mini-body span{
    display:block;
    margin-top:4px;
    color:#6f858b;
    font-size:11px;
    font-weight:800;
}

.organization-empty{
    padding:70px 24px;
    border-radius:28px;
    background:#fff;
    text-align:center;
    border:1px dashed #cbd5e1;
    box-shadow:0 18px 42px rgba(0,45,55,.08);
}

.organization-empty i{
    color:#00796f;
    font-size:48px;
}

.organization-empty h2{
    margin:18px 0 8px;
    color:#05313a;
    font-size:26px;
    font-weight:950;
}

.organization-empty p{
    margin:0;
    color:#6f858b;
    font-weight:750;
}

/* RESPONSIVE */
@media(max-width:1100px){
    .org-assistant-grid{
        grid-template-columns:repeat(2, minmax(230px, 1fr));
    }
}

@media(max-width:768px){
    .module-container{
        width:calc(100% - 24px);
    }

    .organization-hero{
        padding:150px 0 46px;
        min-height:auto;
    }

    .organization-heading h1{
        font-size:35px;
    }

    .org-card-president{
        width:330px;
        grid-template-columns:100px 1fr;
        min-height:160px;
        padding:18px;
        border-radius:30px;
    }

    .org-president-bg-text{
        font-size:48px;
    }

    .org-president-photo{
        width:100px;
        height:116px;
        border-radius:24px;
    }

    .org-president-info h2{
        font-size:24px;
    }

    .org-governance-row,
    .org-direct-row{
        flex-direction:column;
        align-items:center;
    }

    .org-governance-row:after,
    .org-direct-row:before,
    .org-assistant-grid:before{
        display:none;
    }

    .org-assistant-grid{
        grid-template-columns:1fr;
        max-width:260px;
    }
}

/* FINAL ORGANIZATION FIXES */

/* Başkan Yardımcısı üst sırada ortada dursun */
.org-direct-row{
    display:grid;
    grid-template-columns:repeat(3, 310px);
    justify-content:center;
    align-items:start;
}

.org-assistant-node{
    grid-column:2;
    grid-row:1;
}

/* Başkan yardımcısı altındaki gereksiz başlık bloğunu gizle */
.org-section-title{
    display:none;
}

/* Başkan Yardımcısından aşağı doğru ana bağlantı */
.org-assistant-grid{
    margin-top:72px;
    padding-top:46px;
}

.org-assistant-grid:before{
    top:0;
}

.org-assistant-grid:after{
    content:"";
    position:absolute;
    top:-72px;
    left:50%;
    width:3px;
    height:72px;
    transform:translateX(-50%);
    background:linear-gradient(180deg,#00796f,#b8cbd1);
    border-radius:999px;
}

/* Müdürlüklerin başkan yardımcısına bağlı olduğu daha net görünsün */
.org-assistant-grid .org-sub-node:before{
    background:#b8cbd1;
}

/* Fotoğraf olmayanlarda belediye logosu düzgün görünsün */
.org-photo{
    background:#eef8f7;
}

.org-photo img[src*="logo"],
.org-president-photo img[src*="logo"],
.org-mini-photo img[src*="logo"]{
    object-fit:contain;
    padding:12px;
    background:#eef8f7;
}

.org-president-photo img[src*="logo"]{
    padding:20px;
}

/* Üst sıranın taşmasını engelle */
@media(max-width:1100px){
    .org-direct-row{
        grid-template-columns:repeat(2, 310px);
    }

    .org-assistant-node{
        grid-column:auto;
    }
}

@media(max-width:768px){
    .org-direct-row{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .org-assistant-grid{
        margin-top:48px;
        padding-top:34px;
    }

    .org-assistant-grid:after{
        top:-48px;
        height:48px;
    }
}
.admin-sort-handle{
    width:34px;
    height:34px;
    border-radius:12px;
    background:#eef8f7;
    color:#00796f;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:grab;
}

.admin-sort-handle:active{
    cursor:grabbing;
}

.admin-sort-ghost{
    opacity:.45;
}

.council-hero,
.unit-hero,
.unit-hero-v3,
.news-detail-top,
.organization-hero,
.page-hero,
.module-hero{
    display:none !important;
}