 .galeri-kutusu {
     height: 300px;
     /* Burayı istediğin yüksekliğe ayarla */
     width: 100%;
     overflow: hidden;
     /* Dışarı taşan kısımları gizler */
     border-radius: 0.25rem;
     /* Bootstrap rounded ile uyum için */
 }

 .galeri-kutusu img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     /* RESMİ KESER AMA ASLA BOZMAZ VE KUTUYA TAM OTURTUR */
     object-position: center;
 }

 .custom-galeri-img {
     width: 100%;
     /* Sütun genişliğini tam kapla */
     height: 300px;
     /* İki resmin de yüksekliğini burada eşitledik */
     object-fit: cover;
     /* Sihirli dokunuş: Resmi bozmadan kutuya sığdırır ve fazlalığı kırpar */
     display: block;
     border-radius: 0.95rem;
 }

 /* Mobilde (küçük ekranlarda) resimlerin çok uzun görünmemesi için yüksekliği azaltabilirsin */
 @media (max-width: 768px) {
     .custom-galeri-img {
         height: 250px;
     }
 }

 .col-md-6 {
     padding-left: 5px !important;
     padding-right: 5px !important;
 }

/* ==========================================================================
   ÜST BAR + HEADER + MENÜ  (2026 düzenlemesi)
   Tema kurallarını (style.css / responsive.css / materialize) burada ezeriz.
   ========================================================================== */

:root {
    --brand: #a21d21;
    --brand-dark: #7d1519;
    --menu-text: #2b2b2b;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* --- Üst bar: üstte ve altta boşluk kalmasın --- */
.top-bar {
    height: auto;
    min-height: 32px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* içerideki float'ların header'ı aşağı itmesini engeller */
}

.top-bar .container {
    max-width: 1180px !important;
    width: 100% !important;
}

.top-bar ul.row {
    margin: 0;
    padding: 0;
}

.top-bar ul li {
    margin: 0 20px 0 0;
}

.top-bar p {
    line-height: 32px;
    text-align: left;
}

/* --- Header --- */
header.coporate-header {
    display: block;
    margin: 0 !important;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #ece6e6;
}

header.coporate-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 92px;
}

/* bootstrap clearfix pseudo elemanları flex düzenini bozmasın */
header.coporate-header .header-inner::before,
header.coporate-header .header-inner::after {
    display: none;
}

header.coporate-header .logo {
    position: static;
    float: none;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

header.coporate-header .logo img {
    display: block;
    max-width: 200px !important;
    height: auto;
}

header.coporate-header nav {
    flex: 0 1 auto;
    float: none;
    width: auto;
    height: auto;
    min-height: 0;
    line-height: normal;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
}

header.coporate-header .ownmenu {
    float: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    width: auto;
}

header.coporate-header nav .ownmenu > li {
    float: none;
    padding: 0 !important;
    line-height: normal;
}

header.coporate-header nav .ownmenu > li > a {
    float: none;
    display: block;
    width: auto;
    margin: 0;
    padding: 10px 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    line-height: 20px;
    color: var(--menu-text);
    transition: color .2s;
}

/* alt çizgi: ortadan açılan ince bordo çizgi */
header.coporate-header nav .ownmenu > li > a::after {
    left: 7px;
    right: 7px;
    bottom: 2px;
    width: auto;
    height: 2px;
    background-color: var(--brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

header.coporate-header nav .ownmenu > li > a:hover,
header.coporate-header nav .ownmenu > li > a:focus-visible,
header.coporate-header nav .ownmenu > li > a.active {
    color: var(--brand);
}

header.coporate-header nav .ownmenu > li > a:hover::after,
header.coporate-header nav .ownmenu > li > a:focus-visible::after,
header.coporate-header nav .ownmenu > li > a.active::after {
    width: auto;
    transform: scaleX(1);
}

/* Aşağı kaydırınca sabitlenen menü */
header.coporate-header .is-sticky .sticky {
    padding: 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
}

header.coporate-header .is-sticky .sticky .header-inner {
    min-height: 70px;
}

header.coporate-header .is-sticky .sticky .logo {
    margin: 0;
    padding: 0;
}

header.coporate-header .is-sticky .sticky .logo img {
    max-width: 170px !important;
}

header.coporate-header .is-sticky .sticky nav li a {
    padding-bottom: 10px;
}

/* --- 992–1199px: tek satırda sığsın --- */
@media (min-width: 992px) and (max-width: 1199px) {
    header.coporate-header .logo img {
        max-width: 150px !important;
    }

    header.coporate-header .header-inner {
        gap: 10px;
    }

    header.coporate-header nav .ownmenu > li > a {
        padding: 10px 4px;
        font-size: 11px;
        letter-spacing: 0;
    }

    header.coporate-header nav .ownmenu > li > a::after {
        left: 4px;
        right: 4px;
    }
}

/* --- 768–991px: logo üstte ortada, menü altında ortalı --- */
@media (min-width: 768px) and (max-width: 991px) {
    header.coporate-header .header-inner {
        flex-direction: column;
        gap: 4px;
        padding-top: 14px;
        padding-bottom: 6px;
    }

    header.coporate-header .logo {
        height: auto;
        margin: 0;
    }

    header.coporate-header .ownmenu {
        flex-wrap: wrap;
        justify-content: center;
    }

    header.coporate-header nav .ownmenu > li > a {
        padding: 8px 9px;
    }
}

/* --- Mobil: logo ortada, hamburger menü --- */
@media (max-width: 767px) {
    header.coporate-header {
        padding: 0;
        background: #fff;
    }

    header.coporate-header .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding-top: 12px;
    }

    header.coporate-header .logo img {
        max-width: 190px !important;
        margin: 0 auto;
    }

    header.coporate-header nav {
        width: 100%;
    }

    header.coporate-header .ownmenu {
        display: block;
        float: none;
        width: 100%;
        background: #fff;
    }

    header.coporate-header .ownmenu > li.showhide {
        color: var(--menu-text);
    }

    header.coporate-header .ownmenu > li.showhide span {
        line-height: 48px;
    }

    header.coporate-header nav .ownmenu > li:not(.showhide) {
        border-top: 1px solid #f0eaea;
    }

    header.coporate-header nav .ownmenu > li > a {
        padding: 12px 6px;
        font-size: 13px;
    }

    header.coporate-header nav .ownmenu > li > a::after {
        display: none;
    }
}


/* ==========================================================================
   SAYFA DÜZENİ: içerik kartı + "Important Deadlines" kutusu (2026)
   ========================================================================== */

.page-wrap {
    padding-top: 36px;
    padding-bottom: 56px;
}

/* Hafif gri zemin: kartlar öne çıksın */
body.is-subpage,
body.is-home {
    background: #f6f3f2;
}

/* Kolonların eşit uzaması gerekiyor ki kutu kaydırırken birlikte gelsin */
@media (min-width: 992px) {
    .page-layout {
        display: flex;
        align-items: stretch;
    }

    .page-layout::before,
    .page-layout::after {
        display: none;
    }

    .page-main {
        padding-right: 28px;
    }
}

/* --- İçerik kartı (alt sayfalar) --- */
body .page-main > section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent;
}

body .page-main .text-block {
    margin-bottom: 0 !important;
    padding: 30px 36px 36px;
    background: #fff;
    border: 1px solid #eee6e5;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 18px 40px -24px rgba(90, 20, 20, .25);
}

/* Kart başlığı: sayfa başlığı (h3) kartın üst şeridi olur */
body .page-main .text-block > h3 {
    position: relative;
    margin: -30px -36px 26px;
    padding: 22px 36px 20px 50px;
    font-size: 24px;
    line-height: 1.25;
    border-bottom: 1px solid #f1e9e8;
    background: linear-gradient(180deg, #fff 0%, #fcf8f8 100%);
    border-radius: 14px 14px 0 0;
}

body .page-main .text-block > h3::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    width: 4px;
    height: 24px;
    margin-top: -12px;
    border-radius: 2px;
    background: var(--brand);
}

body .page-main .text-block > hr {
    display: none;
}

body .page-main .text-block > .margin-top-20 {
    margin-top: 0 !important;
}

/* --- Important Deadlines kutusu --- */
.page-aside {
    padding-left: 15px;
}

.deadlines-card {
    background: #fff;
    border: 1px solid #eee6e5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 18px 40px -24px rgba(90, 20, 20, .25);
}

@media (min-width: 992px) {

    /* Sayfa kaydırıldıkça kutular da ekranda kalır (sabit menünün altında) */
    .aside-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 96px;
    }
}

.deadlines-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.deadlines-card__head .fa {
    font-size: 16px;
    opacity: .9;
}

.deadlines-card__head h6 {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.deadlines {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.deadline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    position: relative;
}

.deadline + .deadline {
    border-top: 1px dashed #efe6e5;
}

.deadline__badge {
    flex: 0 0 50px;
    width: 50px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fbf0f0;
    color: var(--brand);
    line-height: 1;
}

.deadline__day {
    font-size: 21px;
    font-weight: 700;
}

.deadline__month {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.deadline__body {
    flex: 1 1 auto;
    min-width: 0;
}

.deadline__label {
    display: block;
    margin-bottom: 3px;
    font-size: 12.5px;
    line-height: 1.35;
    color: #6f6969;
}

.deadline__date {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.deadline__icon {
    flex: 0 0 auto;
    color: #b9b1b0;
    font-size: 16px;
}

/* Geçmiş tarihler sönük, sıradaki tarih vurgulu */
.deadline.is-past .deadline__badge {
    background: #f3f1f1;
    color: #9c9595;
}

.deadline.is-past .deadline__date {
    color: #8d8686;
}

.deadline.is-next {
    background: #fffafa;
}

.deadline.is-next::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--brand);
}

.deadline.is-next .deadline__badge {
    background: var(--brand);
    color: #fff;
}

/* --- Tablet / mobil --- */
@media (max-width: 991px) {
    .page-main {
        padding-right: 15px;
    }

    .page-aside {
        margin-top: 28px;
    }
}

@media (max-width: 767px) {
    .page-wrap {
        padding-top: 20px;
        padding-bottom: 36px;
    }

    body .page-main .text-block {
        padding: 22px 18px 26px;
    }

    body .page-main .text-block > h3 {
        margin: -22px -18px 20px;
        padding: 18px 18px 16px 32px;
        font-size: 21px;
    }

    body .page-main .text-block > h3::before {
        left: 16px;
        height: 20px;
        margin-top: -10px;
    }
}


/* --- Kurum logoları kutusu (sidebar) --- */
.partners-card {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #eee6e5;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 18px 40px -24px rgba(90, 20, 20, .25);
}

.partners-card__title {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8d8686;
}

.partners-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.partners-card__list li + li {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #efe6e5;
}

.partners-card__list a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 10px;
    transition: background-color .2s;
}

.partners-card__list a:hover {
    background: #faf6f6;
}

.partners-card__list img {
    display: block;
    width: auto;
    max-width: min(100%, 200px);
    max-height: 80px;
}

/* Ekran yüksekliği kısaysa kutular sabitlenmesin (alt kısmı görünmez olmasın) */
@media (max-height: 640px) {
    .aside-sticky {
        position: static !important;
    }
}

/* --- Ana sayfa slider --- */
.home-slider .tp-banner-container {
    position: relative;
}

/* altta içerikle yumuşak geçiş */
.home-slider .tp-banner-container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    z-index: 20;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(246, 243, 242, 0) 0%, rgba(246, 243, 242, .55) 100%);
}

.home-slider .tp-bullets {
    z-index: 30 !important;
}


/* ==========================================================================
   PROGRAM TABLOSU (2026/programme)
   Sayfadaki <style> bloğunu ezmek için seçiciler "body .page-main" ile başlar.
   Metinlere dokunulmaz; boş satır/hücreler js/main.js ile işaretlenir.
   ========================================================================== */

body .page-main table.program {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 3px;
    font-size: 14px;
    line-height: 1.45;
    color: #2b2b2b;
}

body .page-main table.program tbody {
    display: table-row-group;
}

body .page-main table.program tr {
    display: table-row;
    border: 0;
    background: transparent;
}

body .page-main table.program th,
body .page-main table.program td {
    display: table-cell;
    position: static;
    border: 0;
    vertical-align: top;
}

/* Gün başlığı */
body .page-main table.program th {
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .02em;
    text-align: left;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 10px;
}

/* Normal satırlar */
body .page-main table.program td {
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #f2ecec;
}

body .page-main table.program td:first-child {
    width: 120px;
    white-space: nowrap;
    font-weight: 600;
    color: #6f6969;
    font-variant-numeric: tabular-nums;
}

body .page-main table.program td:last-child {
    width: 28%;
    color: #5a5555;
}

/* Boşluk satırları */
body .page-main table.program tr.is-spacer td {
    height: 6px;
    padding: 0;
    border: 0;
    background: transparent;
}

/* Renkli satırlar: yumuşak zemin + solda renkli çizgi + yuvarlak köşeler */
body .page-main table.program tr.session td,
body .page-main table.program tr.session-alt td,
body .page-main table.program tr.break td,
body .page-main table.program tr.opening td,
body .page-main table.program tr.oral td {
    border-bottom: 0;
}

body .page-main table.program tr.session td:first-child,
body .page-main table.program tr.session-alt td:first-child,
body .page-main table.program tr.break td:first-child,
body .page-main table.program tr.opening td:first-child,
body .page-main table.program tr.oral td:first-child {
    border-radius: 8px 0 0 8px;
    box-shadow: inset 4px 0 0 var(--row-accent, transparent);
}

body .page-main table.program tr.session td:last-child,
body .page-main table.program tr.session-alt td:last-child,
body .page-main table.program tr.break td:last-child,
body .page-main table.program tr.opening td:last-child,
body .page-main table.program tr.oral td:last-child {
    border-radius: 0 8px 8px 0;
}

/* Oturum başlığı (Plenary Session) */
body .page-main table.program tr.session {
    --row-accent: var(--brand);
}

body .page-main table.program tr.session td {
    background: #f8e6e6;
    color: var(--brand-dark);
    font-weight: 700;
}

/* Oturum başkanları (Chairs) */
body .page-main table.program tr.session-alt {
    --row-accent: #e3b9b9;
}

body .page-main table.program tr.session-alt td {
    background: #fcf4f4;
    color: #6f5a5a;
    font-size: 13px;
    font-style: italic;
}

/* Kahve arası / öğle yemeği */
body .page-main table.program tr.break {
    --row-accent: #d8c98a;
}

body .page-main table.program tr.break td {
    background: #f8f5e8;
    color: #7d6f2e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

/* Açılış / kapanış */
body .page-main table.program tr.opening {
    --row-accent: #e8894a;
}

body .page-main table.program tr.opening td {
    background: #fdeee3;
    color: #8f4312;
    font-weight: 700;
}

/* Seçilmiş bildiri sunumları */
body .page-main table.program tr.oral {
    --row-accent: #3f9e5a;
}

body .page-main table.program tr.oral td {
    background: #e6f4ea;
    color: #1f6b34;
    font-weight: 700;
}

/* --- Tablet (768–1200): tablo düzeni korunur (sayfadaki eski kural blok yapıyordu) --- */
@media (max-width: 991px) {
    body .page-main table.program td:first-child {
        width: 100px;
    }

    body .page-main table.program td:last-child {
        width: 30%;
    }
}

/* --- Mobil: her satır kart gibi; saat solda, başlık ve konuşmacı sağda --- */
@media (max-width: 767px) {

    body .page-main table.program,
    body .page-main table.program tbody {
        display: block;
    }

    body .page-main table.program tr {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 2px;
        margin: 0;
        padding: 10px 12px;
        border-bottom: 1px solid #f2ecec;
        border-radius: 0;
    }

    body .page-main table.program th,
    body .page-main table.program td {
        display: block;
        width: auto !important;
        padding: 0;
        border: 0;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        white-space: normal;
    }

    body .page-main table.program td:first-child {
        grid-column: 1;
        grid-row: 1 / span 2;
        font-size: 12.5px;
        white-space: nowrap;
    }

    body .page-main table.program td:nth-child(2) {
        grid-column: 2;
    }

    body .page-main table.program td:nth-child(3) {
        grid-column: 2;
        font-size: 13px;
    }

    body .page-main table.program td.is-empty,
    body .page-main table.program tr.is-spacer {
        display: none;
    }

    /* Gün başlığı */
    body .page-main table.program tr.is-day {
        display: block;
        padding: 0;
        margin: 18px 0 6px;
        border: 0;
    }

    body .page-main table.program tr.is-day:first-child {
        margin-top: 0;
    }

    body .page-main table.program tr.is-day th {
        font-size: 16px;
        padding: 12px 14px;
        border-radius: 10px !important;
        background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%) !important;
    }

    /* Renkli satırlar mobilde de renkli kalsın */
    body .page-main table.program tr.session,
    body .page-main table.program tr.session-alt,
    body .page-main table.program tr.break,
    body .page-main table.program tr.opening,
    body .page-main table.program tr.oral {
        margin: 4px 0;
        border-bottom: 0;
        border-radius: 8px;
        box-shadow: inset 4px 0 0 var(--row-accent, transparent);
    }

    body .page-main table.program tr.session { background: #f8e6e6; }
    body .page-main table.program tr.session-alt { background: #fcf4f4; margin-top: -4px; border-radius: 0 0 8px 8px; }
    body .page-main table.program tr.break { background: #f8f5e8; }
    body .page-main table.program tr.opening { background: #fdeee3; }
    body .page-main table.program tr.oral { background: #e6f4ea; }

    body .page-main table.program tr.session + tr.session-alt {
        margin-top: -4px;
    }

    body .page-main table.program tr.session:has(+ tr.session-alt) {
        border-radius: 8px 8px 0 0;
        margin-bottom: 0;
    }
}


/* --- Google Maps (Venue) --- */
.map-embed {
    position: relative;
    width: 100%;
    height: 420px;
    margin: 6px 0 24px;
    border-radius: 0.95rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 28px -18px rgba(90, 20, 20, .35);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .map-embed {
        height: 300px;
    }
}
