/* =========================================================
   components.css  ·  header, footer, kartlar, bölümler
   ========================================================= */

/* ============== ÜST KURUM ŞERİDİ ============== */
.topbar {
    background: var(--bordo-900);
    color: #e9d9db;
    font-size: .82rem
}

.topbar a {
    color: #e9d9db;
    opacity: .85;
    transition: .15s
}

.topbar a:hover {
    opacity: 1;
    color: #fff
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 40px
}

.topbar__links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.topbar__links li {
    position: relative
}

.topbar__links li + li::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 50%;
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, .18);
    transform: translateY(-50%)
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 16px
}

.lang-toggle {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 4px;
    overflow: hidden
}

.lang-toggle button {
    padding: .18em .6em;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
    color: #e9d9db;
    background: transparent;
    font-weight: 500
}

.lang-toggle button.is-active {
    background: var(--gold-600);
    color: var(--bordo-900);
    font-weight: 700
}

.topbar .icon-btn {
    background: transparent;
    border: 0;
    color: #e9d9db;
    display: grid;
    place-items: center;
    padding: 4px
}

.topbar .icon-btn:hover {
    color: #fff
}

@media (max-width: 760px) {
    .topbar__links {
        display: none
    }
}

/* ============== ANA HEADER ============== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--border)
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px
}

/* --- Logo kilidi (monogram + merkez adı) --- */
.brand {
    display: flex;
    align-items: center;
    gap: 14px
}

.brand__mark {
    width: 50px;
    height: 50px;
    flex: none;
    border-radius: 8px;
    background: transparent;
    border: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: none;
}

.brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    min-width: 0
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.01em;
    color: var(--ink);
    white-space: nowrap
}

.brand__sub {
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bordo-700);
    margin-top: 3px
}

.brand__uni {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .01em;
    margin-top: 2px
}

@media (max-width: 520px) {
    .brand__uni {
        display: none
    }
}

/* --- Navigasyon --- */
.mainnav {
    display: flex;
    align-items: center;
    gap: 2px
}

.mainnav a {
    position: relative;
    padding: .6em .8em;
    border-radius: 6px;
    font-weight: 600;
    font-size: .96rem;
    color: var(--ink-soft);
    transition: .15s;
    display: inline-flex;
    align-items: center;
    gap: .3em;
    white-space: nowrap;
}

.mainnav .caret svg {
    width: 14px;
    height: 14px;
    opacity: .6
}

.mainnav a:hover {
    color: var(--bordo-700);
    background: var(--bordo-50)
}

.mainnav a.is-active {
    color: var(--bordo-700)
}

.mainnav a.is-active::after {
    content: "";
    position: absolute;
    left: .85em;
    right: .85em;
    bottom: .18em;
    height: 2px;
    background: var(--gold-600);
    border-radius: 2px
}

.has-sub {
    position: relative
}

.has-sub__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 7px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .16s;
    z-index: 70;
}

.has-sub:hover .has-sub__menu, .has-sub:focus-within .has-sub__menu {
    opacity: 1;
    visibility: visible;
    transform: none
}

.has-sub__menu a {
    display: block;
    padding: 8px 14px;
    font-weight: 500;
    font-size: .88rem;
    color: #333;
    border-bottom: 1px solid #e3e3e3
}

.has-sub__menu a:hover {
    background: transparent;
    color: var(--bordo-700)
}

.has-sub__menu > a:last-child {
    border-bottom: 0
}

.header__tools {
    display: flex;
    align-items: center;
    gap: 6px
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    transition: .15s
}

.icon-circle:hover {
    border-color: var(--bordo-700);
    color: var(--bordo-700);
    background: var(--bordo-50)
}

.icon-circle svg {
    width: 19px;
    height: 19px
}

.nav-toggle {
    display: none
}

@media (max-width: 1000px) {
    .mainnav, .header__cta {
        display: none
    }

    .nav-toggle {
        display: grid
    }
}

/* ============== MOBİL MENÜ ============== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    pointer-events: none
}

.mobile-menu.open {
    visibility: visible;
    pointer-events: auto
}

.mobile-menu__scrim {
    position: absolute;
    inset: 0;
    background: rgba(31, 12, 18, .5);
    opacity: 0;
    transition: .22s
}

.mobile-menu.open .mobile-menu__scrim {
    opacity: 1
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 86vw);
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: .26s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto
}

.mobile-menu.open .mobile-menu__panel {
    transform: none
}

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border)
}

.mobile-menu__nav {
    padding: 10px 14px
}

.mobile-menu__nav a {
    display: block;
    padding: .85em .7em;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.18rem;
    border-bottom: 1px solid var(--border);
    color: var(--ink)
}

.mobile-menu__nav a:hover {
    color: var(--bordo-700)
}

.mobile-menu__nav .sub a {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding-left: 1.4em;
    color: var(--ink-soft)
}

.mobile-menu__foot {
    margin-top: auto;
    padding: 22px;
    background: var(--bordo-900);
    color: #e9d9db;
    font-size: .85rem
}

.mobile-menu__foot a {
    color: #fff;
    font-weight: 600
}

/* ============== ARAMA OVERLAY ============== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: grid;
    place-items: start center;
    padding-top: 14vh;
    background: rgba(31, 12, 18, .55);
    opacity: 0;
    visibility: hidden;
    transition: .2s
}

.search-overlay.open {
    opacity: 1;
    visibility: visible
}

.search-overlay__box {
    width: min(680px, 90vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 26px;
    transform: translateY(-12px);
    transition: .22s
}

.search-overlay.open .search-overlay__box {
    transform: none
}

.search-overlay__box form {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--bordo-700);
    padding-bottom: 12px
}

.search-overlay__box input {
    flex: 1;
    border: 0;
    font-size: 1.3rem;
    font-family: var(--font-display);
    background: transparent;
    color: var(--ink)
}

.search-overlay__box input:focus {
    outline: none
}

.search-overlay__hint {
    margin-top: 14px;
    font-size: .85rem;
    color: var(--muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.search-overlay__hint a {
    padding: .25em .6em;
    background: var(--surface-2);
    border-radius: 20px;
    font-size: .8rem;
    color: var(--ink-soft)
}

.search-overlay__hint a:hover {
    background: var(--bordo-50);
    color: var(--bordo-700)
}

/* ============== HERO ============== */
.hero {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border)
}

.hero__grid {
    display: grid;
    grid-template-columns:1.2fr .8fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
    padding-block: clamp(40px, 6vw, 72px)
}

.hero__title {
    margin-top: 18px;
    color: var(--ink)
}

.hero__excerpt {
    margin-top: 18px;
    max-width: 46ch
}

.hero__meta {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap
}

.hero__media {
    position: relative
}

.hero__media .ph {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md)
}

.hero__badge {
    position: absolute;
    left: -14px;
    bottom: -14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    max-width: 230px
}

.hero__badge .date {
    display: block;
    margin-bottom: 4px
}

.hero__badge strong {
    font-family: var(--font-display);
    font-size: .98rem;
    line-height: 1.25;
    display: block
}

@media (max-width: 880px) {
    .hero__grid {
        grid-template-columns:1fr
    }

    .hero__media {
        order: -1
    }

    .hero__badge {
        display: none
    }
}

/* hero alt — son eklenenler şeridi */
.hero-latest {
    border-top: 1px solid var(--border);
    background: var(--surface)
}

.hero-latest__inner {
    display: grid;
    grid-template-columns:auto 1fr;
    gap: 24px;
    align-items: center;
    padding-block: 16px
}

.hero-latest__label {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bordo-700);
    white-space: nowrap
}

.hero-latest__items {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none
}

.hero-latest__items::-webkit-scrollbar {
    display: none
}

.hero-latest__items a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-soft)
}

.hero-latest__items a:hover {
    color: var(--bordo-700)
}

.hero-latest__items .date {
    font-size: .75rem
}

@media (max-width: 680px) {
    .hero-latest__inner {
        grid-template-columns:1fr;
        gap: 10px
    }
}

/* ============== BÖLÜM BAŞLIĞI ============== */
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(24px, 3vw, 38px)
}

.sec-head__title {
    margin-top: 12px
}

.sec-head .link-more {
    margin-bottom: 6px;
    flex: none
}

@media (max-width: 560px) {
    .sec-head {
        flex-direction: column;
        align-items: flex-start
    }
}

/* ============== HABER / DUYURU KARTI ============== */
.cards-3 {
    grid-template-columns:repeat(3, 1fr)
}

.cards-2 {
    grid-template-columns:repeat(2, 1fr)
}

@media (max-width: 880px) {
    .cards-3 {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 600px) {
    .cards-3, .cards-2 {
        grid-template-columns:1fr
    }
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: .2s;
    height: 100%;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong)
}

.card__media {
    position: relative;
    aspect-ratio: 16/10
}

.card__media .ph {
    position: absolute;
    inset: 0;
    border: 0
}

.card__tag {
    position: absolute;
    top: 12px;
    left: 12px
}

.card__body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1
}

.card__title {
    font-size: 1.12rem;
    line-height: 1.25;
    letter-spacing: -.005em
}

.card__title a:hover {
    color: var(--bordo-700)
}

.card__excerpt {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.55
}

.card__foot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border)
}

/* yatay liste kartı (çalışmalar listesi) */
.list-item {
    display: grid;
    grid-template-columns:240px 1fr;
    gap: 26px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border)
}

.list-item__media {
    aspect-ratio: 16/10;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative
}

.list-item__media .ph {
    position: absolute;
    inset: 0;
    border: 0
}

.list-item__body {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.list-item__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap
}

.list-item__title {
    font-size: 1.4rem;
    line-height: 1.18
}

.list-item__title a:hover {
    color: var(--bordo-700)
}

.list-item__excerpt {
    color: var(--ink-soft);
    max-width: 64ch
}

@media (max-width: 680px) {
    .list-item {
        grid-template-columns:1fr;
        gap: 14px
    }
}

/* ============== ARAŞTIRMA ALANLARI BANDI ============== */
.band {
    padding-inline: var(--gutter);
}

.band--dark {
    background: var(--bordo-900);
    color: #f3e7e9;
    border-color: var(--bordo-800);
    border-radius: 12px;
}

/* .btn--ghost'un varsayılan rengi (--bordo-700) koyu bordo zeminde
   GÖRÜNMEZ — .band--dark içinde AYNI bileşen beyaz kontur/metne döner
   (bkz. page-iletisim.php'deki "Çağrı Merkezi" CTA'sı). */
.band--dark .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .5)
}

.band--dark .btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff
}

/* auto-fit: kutu sayısı kaça düşerse düşsün satırı doldurur.
   4 kutu → 4 sütun (ana sayfa), 2 kutu → 2 sütun (Hakkımızda).
   Sabit repeat(4,1fr) olsaydı 2 kutu yarım satırda asılı kalırdı. */
.focus-grid {
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr))
}

@media (max-width: 900px) {
    .focus-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 540px) {
    .focus-grid {
        grid-template-columns:1fr
    }
}

.focus {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: .18s;
    height: 100%
}

.focus:hover {
    border-color: var(--bordo-700);
    box-shadow: var(--shadow-sm)
}

.focus__num {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--gold-700);
    letter-spacing: .1em
}

.focus__title {
    font-size: 1.15rem;
    margin-top: 10px
}

.focus__desc {
    color: var(--muted);
    font-size: .92rem;
    margin-top: 8px;
    line-height: 1.55
}

/* ============== DERGİ / YAYIN FEATURE ============== */
.journal {
    display: grid;
    grid-template-columns:.8fr 1.2fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center
}

.journal__cover {
    position: relative
}

.journal__cover .ph {
    aspect-ratio: 3/4;
    border-radius: 8px;
    box-shadow: var(--shadow-lg)
}

.journal__cover::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    background: var(--bordo-100);
    border-radius: 8px;
    z-index: -1
}

.journal__issue {
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .1em;
    color: var(--gold-600)
}

@media (max-width: 760px) {
    .journal {
        grid-template-columns:1fr;
        gap: 32px
    }

    .journal__cover {
        max-width: 280px
    }
}

/* ============== FACTS STRIP ============== */
.facts {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden
}

.fact {
    background: #fff;
    padding: 26px 24px;
    text-align: center
}

.fact__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--bordo-700);
    line-height: 1
}

.fact__label {
    margin-top: 8px;
    font-size: .86rem;
    color: var(--muted)
}

@media (max-width: 680px) {
    .facts {
        grid-template-columns:repeat(2, 1fr)
    }
}

/* ============== E-BÜLTEN CTA ============== */
.cta-band {
    background: var(--bordo-800);
    color: #fff;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    margin-top: clamp(48px, 7vw, 90px);
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 14px, transparent 14px 28px);
    pointer-events: none
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:1.2fr 1fr;
    gap: 32px;
    align-items: center;
    padding: clamp(30px, 4vw, 52px)
}

.cta-band h2 {
    color: #fff
}

.cta-band p {
    color: #f0dde0;
    margin-top: 10px
}

.cta-form {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    padding: 7px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18)
}

.cta-form input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    padding: .7em .9em;
    font-size: 1rem
}

.cta-form input::placeholder {
    color: #e9c9cd
}

.cta-form input:focus {
    outline: none
}

@media (max-width: 760px) {
    .cta-band__inner {
        grid-template-columns:1fr;
        gap: 20px
    }
}

/* ============== SAYFA BAŞLIĞI (iç sayfalar) ============== */
.page-hero {
    background: var(--bordo-900);
    color: #f3e7e9;
    position: relative;
    overflow: hidden
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 16px, transparent 16px 32px)
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(40px, 6vw, 72px)
}

.page-hero .kicker {
    color: var(--gold-500);
    margin-top: 20px
}

.page-hero .kicker::before {
    background: var(--gold-500)
}

.page-hero h1 {
    color: #fff;
    margin-top: 14px
}

.page-hero p {
    color: #e9c9cd;
    margin-top: 14px;
    max-width: 60ch
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: .84rem;
    color: #cf9aa1;
    font-family: var(--font-mono);
    letter-spacing: .04em
}

.breadcrumb a:hover {
    color: black
}

.breadcrumb span {
    opacity: .5
}

/* ============== FOOTER ============== */
.site-footer {
    background: var(--lacivert-900);
    color: #d9c4c7;
    font-size: .92rem
}

.site-footer a {
    color: #d9c4c7;
    transition: .15s
}

.site-footer a:hover {
    color: #fff
}

.footer__top {
    display: grid;
    grid-template-columns:1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding-block: clamp(40px, 5vw, 62px)
}

.footer__brand .brand__name {
    color: #fff
}

.footer__brand .brand__sub {
    color: var(--gold-500)
}

.footer__brand .brand__uni {
    color: #bfa3a7
}

.footer__about {
    margin-top: 18px;
    line-height: 1.6;
    color: #c4abae;
    max-width: 34ch
}

.footer__col h4 {
    color: #fff;
    font-size: .82rem;
    font-family: var(--font-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500
}

.footer__col li + li {
    margin-top: 10px
}

.footer__contact p {
    margin-bottom: 10px;
    line-height: 1.5
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.footer__social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    display: grid;
    place-items: center
}

.footer__social a:hover {
    background: #fff;
    color: var(--bordo-800);
    border-color: #fff
}

.footer__social svg {
    width: 18px;
    height: 18px
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-block: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .84rem;
    color: #b09498
}

.footer__bottom a {
    font-weight: 600
}

.footer__legal {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-block: 16px;
    display: flex;
    align-items: center;
    gap: 8px 22px;
    flex-wrap: wrap;
    font-size: .84rem
}

.footer__legal a {
    position: relative;
    color: #c4abae
}

.footer__legal a:hover {
    color: #fff
}

.footer__legal a + a::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, .2);
    transform: translateY(-50%)
}

@media (max-width: 880px) {
    .footer__top {
        grid-template-columns:1fr 1fr;
        gap: 30px
    }
}

@media (max-width: 520px) {
    .footer__top {
        grid-template-columns:1fr
    }
}

/* ============== PROSE (tekil yazı) ============== */
/* ---------- Sayfa/yazı içeriği: global dikey ritim ----------
   base.css'te `p{margin:0}` global reset var (tema aralıkları utility
   sınıflarıyla veriyor). Blok editör içeriği bu yüzden bitişik çıkıyordu.
   .entry-content, .prose ile AYNI aralığı verir ama genişliği kısıtlamaz —
   böylece ızgara/bölüm içeren geniş sayfalarda da kullanılabilir. */
.entry-content {
    font-size: 1.12rem;
    line-height: 1.78;
    color: var(--ink-soft)
}

.entry-content > * + * {
    margin-top: 1.35em
}

/* Okunabilir satır uzunluğu YALNIZCA metin bloklarına verilir; ızgara/bölüm
   içeren bloklar (.grid, .facts, .focus-grid …) tam genişlikte kalır.
   .prose'un max-width'i kapsayıcıya uygulandığı için burada kullanılamaz. */
.entry-content > p, .entry-content > h2, .entry-content > h3, .entry-content > h4,
.entry-content > ul, .entry-content > ol, .entry-content > blockquote {
    max-width: 70ch
}

.entry-content > ul, .entry-content > ol {
    list-style: disc;
    padding-left: 1.3em
}

.entry-content > ul li + li, .entry-content > ol li + li {
    margin-top: .5em
}

/* :not(.btn) ŞART — .btn--primary (0,1,0) bu kuralı (0,2,0) yenemiyordu:
   metin rengi arka planla AYNI bordoya düşüyor, buton okunmaz oluyordu.
   Ayrıca .btn text-decoration tanımlamadığı için altın alt çizgi de miras alıyordu. */
.entry-content a:not(.btn):not(.hku-eventcard):not(.hku-progcard):not(.rapor-item):not(.hku-docview__dl):not(.quickaccess__item):not(.quickaccess__portal) {
    color: var(--bordo-700);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--gold-500)
}

.entry-content strong {
    color: var(--ink)
}

.entry-content h2, .entry-content h3, .entry-content h4 {
    color: var(--ink)
}

.entry-content h2 {
    font-size: 1.7rem
}

.entry-content h3 {
    font-size: 1.3rem
}

.entry-content h2 {
    margin-top: 1.8em
}

.entry-content h3 {
    margin-top: 1.6em
}

.entry-content h4 {
    margin-top: 1.4em
}

/* Ardışık başlıklarda üstteki büyük boşluk gereksiz.
   :not([class*="u-mt-"]) — AÇIKÇA bir margin utility'si verilmişse sıfırlama
   uygulanmaz. Aksi hâlde `.entry-content>:first-child` (0,2,0) `.u-mt-42`yi
   (0,1,0) ezer ve sayfanın İLK bloğuna verilen boşluk sessizce yok olur;
   eski satır içi style="margin-top:42px" ise (satır içi) kazandığı için
   bloklara geçerken sayfanın üstü 42px daralırdı. */
.entry-content > :first-child:not([class*="u-mt-"]) {
    margin-top: 0
}

.prose > :first-child, .entry-content h2 + h3, .entry-content h3 + h4 {
    margin-top: .6em
}

/* Kicker doğrudan başlığın üstünde durur — araya büyük boşluk girmesin. */
.entry-content .kicker + h2, .entry-content .kicker + h3 {
    margin-top: .35em
}

/* Blok görselleri. Eski statik sayfalarda <figure> inline style ile
   border-radius + width:100% taşıyordu; core/image bu stilleri üretmez.
   Kural burada BİR KEZ tanımlanır — 12 merkezin sayfaları aynı görünür ve
   editörde inline style tutmak gerekmez. Tam genişlik OPSİYONELDİR
   (.u-img-full): kayıtsız uygulansaydı metin arasına konan küçük görseller de
   gerilirdi. */
.entry-content .wp-block-image img {
    height: auto;
    border-radius: var(--radius-lg)
}

.entry-content .wp-block-image.u-img-full img {
    width: 100%;
    display: block
}

.prose {
    font-size: 1.12rem;
    line-height: 1.78;
    color: var(--ink-soft);
    max-width: 70ch
}

.prose > * + * {
    margin-top: 1.35em
}

.prose h2 {
    font-size: 1.7rem;
    margin-top: 1.8em;
    color: var(--ink)
}

.prose h3 {
    font-size: 1.3rem;
    margin-top: 1.6em;
    color: var(--ink)
}

.prose p {
    color: var(--ink-soft)
}

.prose strong {
    color: var(--ink)
}

.prose a:not(.btn):not(.hku-eventcard):not(.hku-progcard):not(.rapor-item):not(.hku-docview__dl):not(.quickaccess__item):not(.quickaccess__portal) {
    color: var(--bordo-700);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--gold-500)
}

.prose ul {
    list-style: disc;
    padding-left: 1.3em
}

.prose ul li + li {
    margin-top: .5em
}

.prose blockquote {
    border-left: 3px solid var(--gold-600);
    padding: .2em 0 .2em 1.3em;
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--ink);
    font-style: normal
}

.prose figure .ph {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg)
}

.prose figcaption {
    font-size: .85rem;
    color: var(--faint);
    margin-top: 10px;
    font-family: var(--font-mono)
}

/* ============== FORMLAR ============== */
.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px
}

.field label {
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-soft)
}

.field input, .field textarea, .field select {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: .78em .9em;
    font: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--ink);
    transition: .15s;
}

.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--bordo-700);
    box-shadow: var(--ring)
}

.field textarea {
    resize: vertical;
    min-height: 130px
}

/* ============== YÖNETİM / EKİP KARTI ============== */
.team-grid {
    grid-template-columns:repeat(4, 1fr)
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns:1fr
    }
}

.member {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: .18s
}

.member:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-strong)
}

.member__photo {
    aspect-ratio: 1/1;
    position: relative
}

.member__photo .ph {
    position: absolute;
    inset: 0;
    border: 0
}

.member__body {
    padding: 16px 18px 20px
}

.member__name {
    font-size: 1.05rem
}

.member__role {
    font-size: .85rem;
    color: var(--bordo-700);
    margin-top: 3px;
    font-weight: 600
}

.member__dept {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 6px
}

/* ============== UTIL: aside layout (tekil yazı) ============== */
.article-layout {
    display: grid;
    grid-template-columns:1fr 320px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start
}

@media (max-width: 920px) {
    .article-layout {
        grid-template-columns:1fr
    }
}

.aside-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px
}

.aside-card h4 {
    font-family: var(--font-mono);
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bordo-700);
    margin-bottom: 16px
}

.aside-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border)
}

.aside-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.aside-list a {
    font-weight: 600;
    font-size: .98rem;
    line-height: 1.3;
    display: block
}

.aside-list a:hover {
    color: var(--bordo-700)
}

.aside-list .date {
    display: block;
    margin-top: 5px
}

.aside-sticky {
    position: sticky;
    top: 104px
}

/* ============== FILTRE BAR ============== */
.filterbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px
}

.filterbar button {
    padding: .5em 1em;
    border-radius: 30px;
    border: 1px solid var(--border-strong);
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: .15s
}

.filterbar button:hover {
    border-color: var(--bordo-700);
    color: var(--bordo-700)
}

.filterbar button.is-active {
    background: var(--bordo-700);
    color: #fff;
    border-color: var(--bordo-700)
}

/* ============== PAGINATION ============== */
.pager {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 44px
}

.pager a, .pager span {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink-soft);
    transition: .15s
}

.pager a:hover {
    border-color: var(--bordo-700);
    color: var(--bordo-700)
}

.pager .is-active {
    background: var(--bordo-700);
    color: #fff;
    border-color: var(--bordo-700)
}

.pager .dots {
    border: 0
}

/* ============== HATA SAYFASI (404 / 50X) ============== */
.errpage {
    min-height: 62vh;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden
}

.errpage__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(48px, 8vw, 96px);
    max-width: 680px;
    margin-inline: auto
}

.errcode {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.03em;
    font-size: clamp(6rem, 20vw, 13rem);
    color: var(--bordo-700);
    position: relative;
    display: inline-block
}

.errcode::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .14em;
    height: .09em;
    background: var(--gold-500);
    border-radius: 4px
}

.errpage h1 {
    margin-top: 8px
}

.errpage p {
    margin-top: 14px
}

.errpage__actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.errpage__bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, var(--bordo-50) 0 16px, transparent 16px 32px);
    opacity: .7;
    pointer-events: none
}

.errpage__links {
    margin-top: 34px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    gap: 10px 26px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: .95rem
}

.errpage__links a {
    font-weight: 600;
    color: var(--bordo-700)
}

.errpage__links a:hover {
    color: var(--bordo-600)
}

/* ============== ARŞİV GRID (yayınlar) ============== */
.archive-grid {
    grid-template-columns:repeat(4, 1fr)
}

@media (max-width: 900px) {
    .archive-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 480px) {
    .archive-grid {
        grid-template-columns:1fr
    }
}

/* === WP eklentileri === */

/* ---- Pagination: WP page-numbers ↔ prototip pager eşlemesi ---- */
.pager .page-numbers {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink-soft);
    transition: .15s;
    text-decoration: none
}

.pager a.page-numbers:hover {
    border-color: var(--bordo-700);
    color: var(--bordo-700)
}

.pager .page-numbers.current, .pager .page-numbers.is-active {
    background: var(--bordo-700);
    color: #fff;
    border-color: var(--bordo-700)
}

.pager .page-numbers.dots {
    border: 0;
    background: transparent;
    min-width: auto;
    padding-inline: .25em
}

/* ---- İletişim ikonları (.ic-box) ---- */
.ic-box {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 8px;
    background: var(--bordo-50);
    color: var(--bordo-700);
    display: grid;
    place-items: center
}

.ic-box svg {
    width: 20px;
    height: 20px
}

/* ---- Polylang dil değiştirici ---- */
.lang-toggle a {
    display: inline-flex;
    align-items: center;
    padding: .18em .6em;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
    color: #e9d9db;
    background: transparent;
    font-weight: 500;
    text-decoration: none;
    transition: .15s
}

.lang-toggle a.is-active, .lang-toggle a.lang-item.is-active {
    background: var(--gold-600);
    color: var(--bordo-900);
    font-weight: 700
}

.lang-toggle a:hover:not(.is-active) {
    color: #fff
}

/* ---- Contact Form 7 ---- */
.wpcf7-not-valid-tip {
    display: block;
    margin-top: 4px;
    font-size: .82rem;
    color: var(--bordo-700)
}

.wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    font-size: .9rem
}

.wpcf7-mail-sent-ok {
    background: #f0faf0;
    border-color: #a3d6a3;
    color: #2a5a2a
}

.wpcf7-validation-errors, .wpcf7-acceptance-missing {
    background: var(--bordo-50);
    border-color: var(--bordo-100);
    color: var(--bordo-700)
}

/* ---- Varsayılan logo placeholder (.ph-logo) ---- */
.ph-logo {
    position: relative;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    width: 100%;
    height: 100%
}

.ph-logo img {
    width: 34%;
    max-width: 120px;
    height: auto;
    opacity: .55
}

.card__media .ph-logo, .list-item__media .ph-logo {
    position: absolute;
    inset: 0;
    border: 0
}

.hero__media .ph-logo {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md)
}

/* ---- Bordo zeminde beyaz amblem (footer) ---- */
.footer__brand .brand__mark.brand__mark--onbordo {
    background: transparent;
    border: 0;
    box-shadow: none
}

/* ---- İletişim: tam genişlik harita, footer'a bitişik ---- */
.map-full {
    line-height: 0
}

.map-full iframe {
    width: 100%;
    height: clamp(320px, 38vw, 480px);
    border: 0;
    display: block
}

/* ---- Brand lockup: logo ile yazı arasında dik ayraç ---- */
.brand__text {
    border-left: 1px solid var(--border-strong);
    padding-left: 14px
}

.footer__brand .brand__text {
    border-left-color: rgba(255, 255, 255, .28)
}

/* ---- İletişim form kartı ---- */
.contact-form-card {
    padding: clamp(26px, 3.4vw, 40px);
    border-top: 3px solid var(--gold-600);
    box-shadow: var(--shadow-md)
}

.contact-form-card .wpcf7-form .field label {
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-soft)
}

.contact-form-card .wpcf7-form input[type="submit"] {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    margin-top: 6px
}

.contact-form-card .wpcf7-spinner {
    display: block;
    margin: 8px auto 0
}

/* ---- Responsive: inline iki sütunlu grid'ler mobil/tablette tek sütun ---- */
@media (max-width: 760px) {
    .section .wrap-wide.grid {
        grid-template-columns:1fr !important
    }

    .footer__legal span[style*="margin-left:auto"] {
        margin-left: 0 !important;
        width: 100%
    }
}

/* ---- Footer: büyük amblem ---- */
.footer__brand .brand__mark {
    width: 84px;
    height: 84px
}

/* ---- Ekip portreleri: profesyonel kadraj ---- */
.member__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%
}

.member__photo .ph-logo {
    position: absolute;
    inset: 0
}

.member__photo {
    background: var(--surface-2)
}

/* ---- Footer: marka sütunu ortalı, sosyal ikonlar logonun tam altında ---- */
.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.footer__brand .brand__text {
    text-align: center
}

.footer__brand .footer__social {
    justify-content: center;
    margin-top: 18px
}

/* ---- Footer: marka yazısı logo (84px) ile orantılı, ayraç buna göre ---- */
.footer__brand .brand {
    gap: 18px
}

.footer__brand .brand__text {
    padding-left: 18px;
    justify-content: center
}

.footer__brand .brand__name {
    font-size: 1.5rem
}

.footer__brand .brand__sub {
    font-size: .8rem;
    letter-spacing: .2em;
    margin-top: 5px
}

.footer__brand .brand__uni {
    font-size: .88rem;
    margin-top: 4px
}

/* ---- Footer: ad altındaki satırlar logoya göre ortalı ---- */
.footer__brand .brand {
    flex-direction: column;
    gap: 12px;
    align-items: center
}

.footer__brand .brand__text {
    padding-left: 0;
    border-left: 0;
    align-items: center
}

/* ---- Hero: gerçek öne çıkan görsel de placeholder standardında (4:3, dolu, köşeli, gölgeli) ---- */
.hero__media > img {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block
}

/* ---- Çerez bildirimi (KVKK) ---- */
.cookie-banner[hidden] {
    display: none !important
}

.cookie-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: var(--bordo-900);
    color: #e9d9db;
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: .9rem;
    width: min(420px, calc(100vw - 32px))
}

.cookie-banner p {
    margin: 0
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px
}

.cookie-banner .btn {
    flex: none;
    padding: .5em 1.2em;
    font-size: .9rem
}

@media (max-width: 600px) {
    .cookie-banner {
        right: 12px;
        bottom: 72px
    }
}

/* ---- Erişilebilirlik aracı paneli ---- */

/* ---- Header: logo ile ayraç çizgisi arası daha sıkı ---- */
.site-header .brand {
    gap: 7px
}

.mobile-menu__head .brand {
    gap: 7px
}


/* ---- Çerez tercih modali ---- */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    background: rgba(20, 8, 12, .5);
    padding: 16px
}

.cookie-modal[hidden] {
    display: none
}

.cookie-modal__box {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    width: min(460px, 94vw)
}

.cookie-modal__box h3 {
    margin-bottom: 14px
}

.cookie-modal__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border)
}

.cookie-modal__row p {
    font-size: .85rem;
    color: var(--muted);
    margin-top: 2px
}

.cookie-modal__always {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--bordo-700);
    white-space: nowrap
}

.cookie-switch {
    position: relative;
    display: inline-block;
    flex: none
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer
}

.cookie-switch span[aria-hidden] {
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 13px;
    background: var(--border-strong);
    transition: .18s;
    position: relative
}

.cookie-switch span[aria-hidden]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: .18s
}

.cookie-switch input:checked + span[aria-hidden] {
    background: var(--bordo-700)
}

.cookie-switch input:checked + span[aria-hidden]::after {
    transform: translateX(20px)
}

.footer__legal .cookie-prefs-link {
    background: transparent;
    border: 0;
    font: inherit;
    font-size: .84rem;
    color: #c4abae;
    cursor: pointer;
    padding: 0
}

.footer__legal .cookie-prefs-link:hover {
    color: #fff
}

/* ---- Footer: belirgin telefon ---- */
.footer-tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: .01em
}

.footer-tel svg {
    width: 19px;
    height: 19px;
    color: var(--gold-500)
}

.footer-tel:hover {
    color: var(--gold-500) !important
}

/* İletişim satırları: adres/mail/telefon ikon+metin tutarlı */
.footer__contact .fc {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 11px;
    line-height: 1.55;
    color: #fff;
    text-decoration: none
}

.footer__contact .fc svg {
    width: 18px;
    height: 18px;
    color: var(--gold-500);
    flex: 0 0 auto;
    margin-top: 2px
}

.footer__contact a.fc:hover, .footer__contact a.fc:hover svg {
    color: var(--gold-500)
}

.footer__contact .fc--tel {
    align-items: center;
    margin-top: 4px;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: .01em
}

.footer__contact .fc--tel svg {
    width: 19px;
    height: 19px;
    margin-top: 0
}

/* Mobil uygulama butonları: footer-uyumlu beyaz outline (siyah badge değil) */
.footer-apps {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 20px
}

.footer-app {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    color: #fff !important;
    text-decoration: none;
    transition: background .2s, border-color .2s
}

.footer-app:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .55);
    color: #fff !important
}

.footer-app svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: #fff
}

.footer-app span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
    min-width: 0
}

.footer-app small {
    font-size: .56rem;
    opacity: .78;
    letter-spacing: .02em
}

.footer-app b {
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap
}

/* ---- Footer: boydan boya yasal bant ---- */
.footer__legalband {
    background: rgba(0, 0, 0, .28);
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.footer__legalband .footer__legal {
    border-top: 0
}

/* ============== GUTENBERG KLASİK TEMA UYUMU ==============
   Tema klasik (theme.json yok) → WP, wp_restore_group_inner_container() ile
   her core/group içine fazladan .wp-block-group__inner-container koyar.
   Izgara kabının tek çocuğu bu sarmalayıcı olur, .focus kutuları torun
   seviyesine düşer ve grid-template-columns onlara ulaşmaz.
   display:contents sarmalayıcıyı kaldırır → çocuklar doğrudan ızgara öğesi olur.

   DİKKAT: .sec-head bu listeye EKLENMEZ; o justify-content:space-between bir
   flex kabıdır, sarmalayıcı orada koruyucudur. */
.grid > .wp-block-group__inner-container,
.focus > .wp-block-group__inner-container,
.prose > .wp-block-group__inner-container,
.facts > .wp-block-group__inner-container,
.list-item > .wp-block-group__inner-container,
.list-item__body > .wp-block-group__inner-container,
.list-item__meta > .wp-block-group__inner-container,
.aside-card > .wp-block-group__inner-container {
    display: contents
}

/* DİKKAT — display:contents SEÇİCİ EŞLEŞMESİNİ DEĞİŞTİRMEZ, yalnızca kutu
   üretimini kaldırır. Izgaralarda bu yeterlidir (çocuklar doğrudan grid öğesi
   olur), ama kardeş seçicilerde DEĞİLDİR: `.prose>*+*` hâlâ yalnızca
   sarmalayıcıyı görür, onun İÇİNDEKİ paragrafları değil. Blok editöründen
   gelen .prose grubunda paragraflar bu yüzden dipdibe yapışıyordu
   (blockGap:0 olduğu için WP de aralık vermiyor). Ritim burada açıkça verilir. */
.prose > .wp-block-group__inner-container > * + * {
    margin-top: 1.35em
}

/* İletişim kartları (patterns/contact-cards.php) .entry-content içinde durur.
   Editör metni için kurulan tipografi ölçeği kartlara sızmasın: .entry-content
   1.12rem gövde ve altı çizili bağlantı dayatır, kart kendi ölçeğini korumalı. */
.entry-content .aside-card {
    font-size: 1rem;
    line-height: 1.6
}

.entry-content .aside-card a {
    text-decoration: none
}

/* Query Loop: öne çıkan görseli olmayan yazıda core/post-featured-image hiçbir
   şey basmaz; PHP sürümündeki .ph-logo yedeğini burada CSS ile karşılıyoruz.
   :has() desteklenmeyen tarayıcıda kutu yalnızca boş görünür, düzen bozulmaz. */
.list-item__media:not(:has(img)) {
    background: var(--surface-2);
    border: 1px solid var(--border);
    background-image: url("../img/hku-mark-bordo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 34% auto;
    opacity: .99;
}

/* =========================================================
   Fakülte hero (statik, tek "slide" — hku-faculty'ye özgü)
   Akademia'nın hero-slider bileşeninden, hku-merkez token'larıyla port
   edildi. Şimdilik tek slayt basılır; ok/nokta navigasyonu yalnızca
   front-page.php > 1 slayt üretirse render edilir (bkz. front-page.php).
   ========================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(540px, 72vh, 760px);
    overflow: hidden;
    background: var(--bordo-900)
}

.hero-slider__viewport {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
    will-change: transform
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center
}

.hero-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 8, 15, .92) 0%, rgba(31, 8, 15, .62) 48%, rgba(31, 8, 15, .2) 100%)
}

.hero-slide__inner {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 660px
}

.hero-slide__kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--gold-500);
    border-left: 3px solid var(--gold-600);
    padding-left: 11px;
    margin-bottom: 16px
}

.hero-slide__title {
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 18px;
    color: #fff
}

.hero-slide__lead {
    font-size: 1.07rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
    margin: 0 0 28px;
    max-width: 580px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.hero-slide__cta {
    display: flex;
    gap: 13px;
    flex-wrap: wrap
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .2s
}

.hero-slider__arrow:hover {
    background: var(--bordo-700);
    border-color: var(--bordo-700)
}

.hero-slider__arrow--prev {
    left: 28px
}

.hero-slider__arrow--next {
    right: 28px
}

.hero-slider__dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 9px
}

.hero-slider__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: .25s
}

.hero-slider__dot.is-active {
    background: var(--gold-500);
    width: 30px;
    border-radius: 6px
}

@media (max-width: 640px) {
    .hero-slider {
        height: clamp(440px, 64vh, 560px)
    }

    .hero-slide__shade {
        background: linear-gradient(180deg, rgba(31, 8, 15, .4), rgba(31, 8, 15, .9))
    }

    .hero-slider__arrow {
        display: none
    }

    .hero-slide__title {
        font-size: 1.75rem
    }

    .hero-slide__lead {
        font-size: .95rem
    }
}

/* =========================================================
   Akademik Profil kartları (Fakülte Ayarları → Akademik Profil Kartları)
   ========================================================= */
.hku-featgrid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 24px
}

.hku-feat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    transition: .2s;
    box-shadow: var(--shadow-sm)
}

.hku-feat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong)
}

.hku-feat__ic {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--bordo-800), var(--bordo-700));
    color: #fff;
    margin-bottom: 16px
}

.hku-feat__ic svg {
    width: 25px;
    height: 25px
}

.hku-feat h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px
}

.hku-feat p {
    font-size: .92rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0
}

/* =========================================================
   Hızlı Erişim widget'ı (header__tools) — akademia'nın faculty/mudurluk
   modundaki quickaccess panelinden port edildi.
   ========================================================= */
.quickaccess {
    position: relative
}

.quickaccess__panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 390px;
    max-width: 92vw;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 400
}

.quickaccess__panel[hidden] {
    display: none
}

.quickaccess__panel::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 30px;
    width: 13px;
    height: 13px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg)
}

.quickaccess__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: .88rem;
    font-weight: 500;
    transition: .15s
}

.quickaccess__item:hover {
    background: var(--bordo-50);
    color: var(--bordo-700)
}

.quickaccess__ic {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--bordo-50);
    color: var(--bordo-700)
}

.quickaccess__ic svg {
    width: 15px;
    height: 15px
}

.quickaccess__group + .quickaccess__group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border)
}

.quickaccess__gt {
    display: block;
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bordo-700);
    margin: 0 0 9px 2px
}

.quickaccess__grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 6px
}

@media (max-width: 520px) {
    .quickaccess__grid {
        grid-template-columns:1fr
    }
}

.quickaccess__portal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--bordo-800), var(--bordo-700));
    color: #fff;
    text-decoration: none;
    transition: .2s
}

.quickaccess__portal:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(90, 18, 32, .32)
}

.quickaccess__portal-ic {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .16)
}

.quickaccess__portal-ic svg {
    width: 21px;
    height: 21px
}

.quickaccess__portal-tx {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.quickaccess__portal-tx strong {
    font-size: 1.04rem
}

.quickaccess__portal-tx small {
    font-size: .76rem;
    opacity: .86;
    margin-top: 2px
}

.quickaccess__portal > svg {
    width: 18px;
    height: 18px;
    opacity: .85
}

@media (max-width: 400px) {
    .quickaccess__panel {
        width: 320px
    }
}

/* =========================================================
   Mega dropdown (çok kolonlu alt menü) — bir üst menü öğesine "mega" CSS
   sınıfı atanırsa nav walker bu düzeni üretir (bkz. inc/class-nav-walker.php,
   akademia'dan port edildi). Normal tek-kolon .has-sub__menu'yü etkilemez.
   ========================================================= */
.has-sub--mega {
    position: static
}

.has-sub__menu--mega {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    top: calc(100% + 8px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0 50px;
    align-items: start;
    padding: 22px 44px
}

.has-sub__menu--mega .mega-col {
    min-width: 180px
}

.has-sub__menu--mega .mega-col__head {
    display: block;
    font-weight: 700;
    font-size: .96rem;
    color: var(--ink);
    margin: 0 0 2px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e3e3e3
}

.has-sub__menu--mega .mega-col__links {
    display: flex;
    flex-direction: column
}

.has-sub__menu--mega .mega-col__links a {
    display: block;
    padding: 7px 0;
    border-radius: 0;
    border-bottom: 1px solid #e3e3e3;
    font-size: .88rem;
    color: #333
}

.has-sub__menu--mega .mega-col__links a:hover {
    background: transparent;
    color: var(--bordo-700)
}

.has-sub__menu--mega .mega-col__links a:last-child {
    border-bottom: 0
}
