/*
Theme Name: The Conference - BBTMK
Theme URI: https://turkishregionalscience.org
Description: Turkish Regional Science Association custom child theme
Author: BBTMK
Template: the-conference
Version: 1.2
Text Domain: the-conference-child
*/

/* ===== BBTMK Custom Styles ===== */

:root {
    --bbtmk-primary: #1a3a6b;
    --bbtmk-secondary: #c8102e;
    --bbtmk-accent: #f0c040;
    --bbtmk-light: #f5f7fa;
    --bbtmk-dark: #1a1a2e;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--bbtmk-primary) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.site-header .container {
    display: flex;
    align-items: center;
}

/* Logo - beyaz kare çerçeve */
.site-header .custom-logo {
    max-height: 55px;
    width: auto;
    background: #fff;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.site-header .site-logo {
    margin-right: 15px;
}

.site-title a,
.site-header .site-branding .site-title a {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.site-description {
    color: rgba(255,255,255,0.85) !important;
    font-size: 14px;
}

/* ===== DİL BUTONU ===== */
.bbtmk-lang-switch {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 13px;
    z-index: 1000;
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
}

.bbtmk-lang-switch a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 2px 5px;
    transition: color 0.2s;
    border-bottom: none !important;
}

.bbtmk-lang-switch a.active,
.bbtmk-lang-switch a:hover {
    color: #fff !important;
}

.bbtmk-lang-switch span {
    color: rgba(255,255,255,0.4);
    margin: 0 2px;
}

/* ===== NAVIGATION ===== */
.nav-btn {
    display: none !important;
}

.main-navigation ul li a {
    color: #fff !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    color: var(--bbtmk-accent) !important;
}

.main-navigation ul ul {
    background: var(--bbtmk-primary) !important;
    border-top: 3px solid var(--bbtmk-secondary);
    min-width: 200px;
}

.main-navigation ul ul li a {
    font-size: 12px !important;
    padding: 8px 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Mobil menü - komple lacivert */
.mobile-menu-wrapper {
    background: var(--bbtmk-primary) !important;
}

.mobile-menu-wrapper .primary-menu-list {
    background: var(--bbtmk-primary) !important;
}

.mobile-menu-wrapper .mobile-menu {
    background: var(--bbtmk-primary) !important;
}

.mobile-menu-wrapper .nav-menu a {
    color: #fff !important;
    font-size: 14px;
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-wrapper .nav-menu .sub-menu a {
    padding-left: 35px;
    font-size: 13px;
    color: rgba(255,255,255,0.8) !important;
}

/* Kapatma X butonu beyaz */
.mobile-menu-wrapper .close-main-nav-toggle {
    border-color: #fff !important;
}

.mobile-menu-wrapper .close-main-nav-toggle .toggle-bar,
.mobile-menu-wrapper .close span {
    background: #fff !important;
}

/* Submenu ok/toggle beyaz (parent siyah yapıyor) */
.mobile-menu-wrapper .submenu-toggle,
.mobile-menu-wrapper .menu-item-has-children .submenu-toggle {
    color: #fff !important;
}

/* Hamburger buton */
button.toggle-btn {
    background: var(--bbtmk-primary) !important;
    border-color: #fff !important;
    z-index: 9999;
}

button.toggle-btn .bar {
    background: #fff !important;
}

/* ===== BANNER ===== */
#banner_section {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
}

#banner_section .item {
    height: 75vh !important;
    min-height: 500px;
}

#banner_section .item img,
#banner_section.site-banner img {
    height: 75vh !important;
    min-height: 500px;
    object-fit: cover !important;
    object-position: center 40% !important;
}

#banner_section .banner-caption,
#banner_section .banner-caption.static-banner {
    min-height: auto !important;
    height: 100%;
}

#banner_section .banner-caption {
    padding: 40px 0 60px !important;
}

/* Scroll-down butonu */
#banner_section .scroll-down {
    display: inline-block !important;
    bottom: 20px;
}

#banner_section .banner-caption {
    text-align: center;
    width: 100%;
}

#banner_section .banner-caption .container {
    text-align: center;
}

#banner_section .banner-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    text-align: center;
}

#banner_section .banner-desc {
    font-size: 22px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    text-align: center;
}

#banner_section .btn-wrap {
    text-align: center;
    margin-top: 20px;
}

#banner_section .btn-wrap a {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 5px;
    display: inline-block;
}

#banner_section .btn-wrap a.btn-transparent {
    border: 2px solid #fff;
    color: #fff;
}

#banner_section .btn-wrap a.btn-transparent:hover {
    background: #fff;
    color: var(--bbtmk-primary);
}

#banner_section .btn-wrap a.btn-filled {
    background: var(--bbtmk-secondary);
    color: #fff;
    border: 2px solid var(--bbtmk-secondary);
}

#banner_section .btn-wrap a.btn-filled:hover {
    background: #a00d24;
    border-color: #a00d24;
}

/* Countdown Timer */
.banner-caption .banner-countdown {
    width: auto !important;
    margin: 20px auto 0 !important;
    justify-content: center !important;
    gap: 12px !important;
}

.countdown-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(10px);
    border-radius: 8px !important;
    padding: 12px 18px 10px !important;
    margin: 0 !important;
    margin-right: 0 !important;
    min-height: auto !important;
    min-width: 80px !important;
    width: 80px !important;
    flex: 0 0 80px !important;
}

.countdown-wrap::before,
.countdown-wrap::after {
    display: none !important;
}

.countdown-wrap span {
    color: #fff;
    font-weight: 700;
    font-size: 1.6em !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
    padding-bottom: 4px !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
}

.countdown-wrap .smalltext {
    color: rgba(255,255,255,0.7);
    font-size: 0.7em !important;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== BLOG / DUYURULAR SECTION ===== */
.blog-section {
    padding: 80px 0;
    margin-top: 0 !important;
    border-top: none !important;
    background: var(--bbtmk-light);
}

.blog-section .section-title {
    color: var(--bbtmk-primary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.blog-section .section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Blog Grid */
.blog-section .article-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-section article.post {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-section article.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Post Thumbnail */
.blog-section article.post .post-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-section article.post .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Kategori etiketi */
.blog-section article.post .post-thumbnail .category {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.blog-section article.post .post-thumbnail .category a {
    background: var(--bbtmk-secondary);
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Entry Header - title üstte, meta (turuncu çizgi) ALTTA */
.blog-section article.post .entry-header {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-section article.post .entry-header .entry-title {
    font-size: 15px;
    line-height: 1.4;
    order: 1;
    flex: 1;
}

.blog-section article.post .entry-header .entry-title a {
    color: var(--bbtmk-primary);
    font-weight: 600;
}

.blog-section article.post .entry-header .entry-title a:hover {
    color: var(--bbtmk-secondary);
}

.blog-section article.post .entry-header .entry-meta {
    font-size: 12px;
    color: #888;
    order: 2;
    margin-top: auto;
    padding-top: 10px;
    border-top: 2px solid var(--bbtmk-secondary) !important;
}

/* Blog kart içindeki sarı/accent çizgileri kaldır */
.blog-section article.post .entry-header .entry-title {
    border-bottom: none !important;
}

.blog-section article.post hr,
.blog-section article.post .wp-block-separator {
    display: none !important;
}

.blog-section article.post .entry-header {
    border-bottom: none !important;
}

/* Kartın alt border'ını kaldır */
.blog-section article.post {
    border-bottom: none;
}

/* TÜM DUYURULAR butonu */
.blog-section .btn-wrap {
    text-align: center;
    margin-top: 30px;
}

.blog-section .btn-wrap a.btn-filled {
    background: var(--bbtmk-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-section .btn-wrap a.btn-filled:hover {
    background: var(--bbtmk-secondary);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bbtmk-primary) !important;
    color: rgba(255,255,255,0.8);
}

.site-footer .top-footer {
    padding: 40px 0 20px;
}

.site-footer .widget-title {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.site-footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bbtmk-accent);
}

.site-footer a {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--bbtmk-accent) !important;
}

.bottom-footer {
    background: rgba(0,0,0,0.15);
    padding: 25px 0;
    text-align: center;
}

/* RSAI logo - beyaz çerçeve */
.rsai-logo-frame {
    display: inline-block;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.rsai-logo-frame img {
    max-height: 40px;
    display: block;
    margin: 0 auto;
}

.bottom-footer .site-info {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.bottom-footer .site-info a {
    color: rgba(255,255,255,0.6) !important;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--bbtmk-primary);
}

/* ===== GENEL SAYFA YAPISI ===== */
.site-content {
    padding: 40px 0;
}

/* Sidebar gizle - tüm sayfalar full-width */
.sidebar {
    display: none !important;
}

.site-content .content-area {
    width: 100% !important;
    float: none !important;
}

/* Sayfa başlığı - tüm sayfalarda tutarlı */
.page .entry-header .entry-title,
.single .entry-header .entry-title {
    color: var(--bbtmk-primary);
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--bbtmk-accent);
    margin-bottom: 30px;
    text-align: center;
}

/* Sayfa kart stili */
.page .entry-content {
    background: #fff;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.page .site-content .container {
    max-width: 900px;
}

/* ===== İÇERİK FORMATLAMA ===== */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content strong {
    color: var(--bbtmk-primary);
}

.entry-content ul,
.entry-content ol {
    padding-left: 20px;
    margin-bottom: 1.5em;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.entry-content a {
    color: var(--bbtmk-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.entry-content a:hover {
    color: var(--bbtmk-secondary);
    border-bottom-color: var(--bbtmk-secondary);
}

.entry-content h4 {
    color: var(--bbtmk-primary);
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bbtmk-accent);
}

/* ===== YÖNETMELİK SAYFASI ===== */
/* Madde başlıkları */
.entry-content p strong:only-child,
.entry-content p > strong:first-child {
    font-size: 1.05em;
}

/* Separator / bölüm ayırıcı */
.entry-content hr,
.wp-block-separator {
    border: none !important;
    border-top: 2px solid var(--bbtmk-secondary) !important;
    margin: 20px 0;
}

/* Sayfa başlığı alt çizgi - turuncu */
.page .entry-header .entry-title,
.single .entry-header .entry-title {
    border-bottom-color: var(--bbtmk-accent);
}

/* ===== KİTAP/YAYIN KARTLARI ===== */
.entry-content .wp-block-media-text {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #eee;
}

.entry-content .wp-block-media-text__media img {
    max-height: 250px;
    object-fit: contain;
    padding: 15px;
    cursor: pointer;
}

.entry-content .wp-block-media-text__content {
    padding: 20px 25px;
}

/* Kitap adı koyu ve büyük */
.entry-content .wp-block-media-text__content p:first-child {
    font-size: 1.05em;
}

/* ===== YÖNETİM KURULU KART STİLİ (ortak) ===== */
.yonetim-kurulu-current {
    background: var(--bbtmk-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--bbtmk-primary);
}

.yonetim-kurulu-current h3 {
    margin-top: 0;
}

.yonetim-kurulu-current ul,
.yonetim-kurulu-current ol {
    margin-bottom: 0.5em;
    padding-left: 18px;
}

.yonetim-kurulu-current li {
    margin-bottom: 4px;
}

.yonetim-kurulu-current p {
    margin-bottom: 0.6em;
}

.yonetim-kurulu-past {
    margin-top: 30px;
}

.yonetim-kurulu-past details {
    background: var(--bbtmk-light);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: none;
    border-left: 4px solid var(--bbtmk-primary);
}

.yonetim-kurulu-past summary {
    padding: 20px 30px;
    font-weight: 700;
    font-size: 1.4em;
    color: var(--bbtmk-primary);
    cursor: pointer;
    transition: background 0.2s;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yonetim-kurulu-past summary::-webkit-details-marker {
    display: none;
}

.yonetim-kurulu-past summary::after {
    content: "+";
    font-size: 1.4em;
    font-weight: 300;
    color: var(--bbtmk-primary);
    transition: transform 0.2s;
}

.yonetim-kurulu-past details[open] summary::after {
    content: "−";
}

.yonetim-kurulu-past summary:hover {
    background: rgba(26,58,107,0.05);
}

.yonetim-kurulu-past details[open] summary {
    border-bottom: 1px solid rgba(26,58,107,0.1);
    background: transparent;
}

.yonetim-kurulu-past .details-content {
    padding: 20px 30px;
}

/* ===== GOOGLE DRIVE MODAL ===== */
.gdrive-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.gdrive-modal-overlay.active {
    display: flex;
}

.gdrive-modal {
    background: #fff;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gdrive-modal-close {
    display: none;
}

.gdrive-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== IMAGE LIGHTBOX ===== */
.bbtmk-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 100000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.bbtmk-lightbox.active {
    display: flex;
}

.bbtmk-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.bbtmk-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s;
}

.bbtmk-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

/* ===== İLETİŞİM FORMU ===== */
.bbtmk-contact-form {
    max-width: 600px;
    margin: 30px auto 0;
    background: var(--bbtmk-light);
    padding: 30px;
    border-radius: 12px;
}

.bbtmk-contact-form .form-group {
    margin-bottom: 20px;
}

.bbtmk-contact-form label {
    display: block;
    font-weight: 600;
    color: var(--bbtmk-primary);
    margin-bottom: 6px;
    font-size: 14px;
}

.bbtmk-contact-form input[type="text"],
.bbtmk-contact-form input[type="email"],
.bbtmk-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.bbtmk-contact-form input:focus,
.bbtmk-contact-form textarea:focus {
    border-color: var(--bbtmk-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}

.bbtmk-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.bbtmk-contact-form button[type="submit"] {
    background: var(--bbtmk-primary);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.bbtmk-contact-form button[type="submit"]:hover {
    background: var(--bbtmk-secondary);
}

.bbtmk-contact-form .form-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.bbtmk-contact-form .form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* ===== BİZE KATILIN ===== */
.membership-section {
    background: var(--bbtmk-light);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: center;
}

.membership-section .btn-download {
    display: inline-block;
    background: var(--bbtmk-primary);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    margin: 10px 5px;
    transition: background 0.3s;
    border-bottom: none !important;
}

.membership-section .btn-download:hover {
    background: var(--bbtmk-secondary);
}

/* ===== KONGRE KİTAPLARI ===== */
.kongre-kitaplari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.kongre-kitap-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.kongre-kitap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: var(--bbtmk-primary);
}

.kongre-kitap-card .kitap-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.kongre-kitap-card .kitap-title {
    font-weight: 600;
    color: var(--bbtmk-primary);
    font-size: 15px;
}

/* Single post */
.single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== DUYURULAR / ARŞİV SAYFASI ===== */
/* Kategori etiketi - thumbnail içinde ortalı */
.site-content article.post .post-thumbnail span.category,
.post-thumbnail span.category {
    position: static !important;
    display: block !important;
    text-align: center;
    order: 2;
    width: 100%;
    margin-top: 6px;
    bottom: auto !important;
    left: auto !important;
}

.site-content article.post .post-thumbnail span.category a {
    background: var(--bbtmk-secondary) !important;
    color: #fff !important;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Resmi category'den önce göster */
.site-content article.post .post-thumbnail a.post-thumbnail {
    order: 1;
}

span.category a {
    background: var(--bbtmk-secondary) !important;
    color: #fff !important;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 5px;
    margin-bottom: 5px;
}

span.category a:hover {
    background: var(--bbtmk-primary) !important;
    color: #fff !important;
}

/* Duyurular listesi - görsel sağda ortalı, başlık solda */
.classic-view .site-main article.post,
.site-content article.post {
    display: grid !important;
    grid-template-columns: 1fr 200px !important;
    grid-template-rows: auto auto 1fr auto !important;
    gap: 0 !important;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    margin-bottom: 25px !important;
    padding-bottom: 0 !important;
    border-left: 4px solid var(--bbtmk-primary);
    border-bottom: none !important;
}

.classic-view .site-main article figure.post-thumbnail,
.classic-view figure.post-thumbnail,
.site-content article.post .post-thumbnail {
    grid-column: 2 !important;
    grid-row: 1 / -1 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    margin: 0 !important;
    width: auto !important;
    position: relative !important;
    border-radius: 0 !important;
}

.site-content article.post .post-thumbnail img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 6px;
}

.classic-view .site-main article .entry-header,
.site-content article.post .entry-header {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding: 15px 25px 0 !important;
}

.site-content article.post .entry-header .entry-title {
    font-size: 17px;
    line-height: 1.4;
}

.site-content article.post .entry-header .entry-title a {
    color: var(--bbtmk-primary);
    font-weight: 600;
}

.site-content article.post .entry-header .entry-title a:hover {
    color: var(--bbtmk-secondary);
}

.classic-view .site-main article .entry-content,
.site-content article.post .entry-content {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding: 0 25px 5px !important;
    font-size: 14px;
    color: #666;
}

/* entry-meta ve boşluk sıkıştır */
.site-content article.post .entry-header .entry-meta {
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    font-size: 12px;
}

.site-content article.post .entry-header .entry-title {
    margin: 0 0 2px 0 !important;
}

.site-content article.post .entry-header {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.site-content article.post .entry-content {
    padding-top: 5px !important;
    margin-top: 0 !important;
}

.site-content article.post .entry-content p {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

/* DEVAMINI OKU butonu */
.classic-view .site-main article .entry-footer,
.site-content article.post .entry-footer {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding: 0 25px 15px !important;
}

.site-content article.post .entry-footer a {
    font-size: 13px;
    font-weight: 600;
    color: var(--bbtmk-secondary);
}

/* Görselsiz postlar full-width */
.site-content article.post:not(.has-post-thumbnail) {
    grid-template-columns: 1fr;
}

/* Blog section (homepage) override - kendi layout'unu koru */
.blog-section article.post {
    display: flex !important;
    grid-template-columns: unset;
    border-left: none;
}

@media (max-width: 768px) {
    .site-content article.post {
        grid-template-columns: 1fr;
    }
    .site-content article.post .post-thumbnail {
        grid-column: 1;
        grid-row: 1;
        max-height: 200px;
    }
}

/* ===== PAGİNATION ===== */
.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.posts-navigation .nav-links a {
    display: inline-block;
    background: var(--bbtmk-primary);
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.3s;
    border-bottom: none !important;
}

.posts-navigation .nav-links a:hover {
    background: var(--bbtmk-secondary);
}

/* ===== TRANSLATING OVERLAY ===== */
#bbtmkTranslatingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 100000;
    justify-content: center;
    align-items: center;
}

#bbtmkTranslatingOverlay.active {
    display: flex;
}

.bbtmk-translating-box {
    background: #fff;
    padding: 25px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--bbtmk-primary);
}

.bbtmk-translating-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--bbtmk-primary);
    border-radius: 50%;
    animation: bbtmkSpin 0.8s linear infinite;
}

@keyframes bbtmkSpin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    #banner_section .banner-title {
        font-size: 32px;
    }
    #banner_section .banner-desc {
        font-size: 18px;
    }
    .main-navigation ul li a {
        font-size: 12px;
        padding: 10px 8px;
    }

    /* Header mobilde düzgün hizalama */
    .site-header .container {
        padding: 8px 15px !important;
    }

    .site-header .site-branding {
        flex: 1;
        min-width: 0;
    }

    .site-header .site-branding .site-title {
        font-size: 14px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-header .site-branding .site-description {
        display: none;
    }

    .bbtmk-lang-switch {
        top: 8px;
        right: 60px;
        font-size: 11px;
        padding: 3px 6px;
    }

    /* Sayfa içerikleri mobilde sola hizalı */
    .page .entry-content {
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    /* Banner mobil */
    #banner_section {
        height: 100vh;
        min-height: 500px;
    }
    #banner_section .item {
        height: 100vh !important;
        min-height: 500px;
    }
    #banner_section .item img,
    #banner_section.site-banner img {
        height: 100vh !important;
        min-height: 500px;
    }
    #banner_section .banner-caption {
        height: 100vh !important;
        padding: 20px 15px 30px !important;
    }
    #banner_section .banner-caption .container {
        margin-top: 0 !important;
    }
    #banner_section .banner-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    #banner_section .banner-desc {
        font-size: 13px;
    }
    #banner_section .btn-wrap a {
        padding: 8px 16px;
        font-size: 11px;
        margin: 3px;
    }
    #banner_section .btn-wrap {
        margin-top: 10px;
    }

    /* WOW.js animasyonları mobilde bazen tetiklenmiyor - görünür yap */
    #banner_section .wow {
        visibility: visible !important;
        animation-name: none !important;
        -webkit-animation-name: none !important;
        opacity: 1 !important;
    }

    /* Countdown mobilde küçük */
    .banner-caption .banner-countdown {
        gap: 6px !important;
        margin: 10px auto 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .countdown-wrap {
        padding: 6px 8px 5px !important;
        min-width: 48px !important;
        width: 48px !important;
        flex: 0 0 48px !important;
        border-radius: 6px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .countdown-wrap span {
        font-size: 16px !important;
    }
    .countdown-wrap .smalltext {
        font-size: 0.55em !important;
    }

    /* Blog section */
    .blog-section {
        padding: 50px 0;
    }
    .blog-section .article-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .kongre-kitaplari-grid {
        grid-template-columns: 1fr;
    }
    .gdrive-modal {
        width: 95%;
        height: 75vh;
    }
    .page .entry-content {
        padding: 25px 15px;
    }

    /* Lang switch mobil */
    .bbtmk-lang-switch {
        top: 8px;
        right: 55px;
        font-size: 10px;
        padding: 2px 5px;
    }

    /* Yayınlar sayfası - mobilde altalta */
    .page .entry-content table {
        display: block !important;
        width: 100% !important;
    }
    .page .entry-content table tr {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 20px;
    }
    .page .entry-content table td {
        display: block !important;
        width: 100% !important;
        padding: 5px 0 !important;
    }
    .page .entry-content table td img {
        max-width: 200px !important;
        margin: 0 auto;
        display: block;
    }

    /* Yayınlar - flex divler mobilde altalta */
    .page .entry-content .yonetim-kurulu-current {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
    .page .entry-content .yonetim-kurulu-current img {
        max-width: 150px !important;
        margin-bottom: 10px;
    }

    /* Yayınlar ana sayfa - 3 kart grid mobilde altalta */
    .page .entry-content div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Logo mobilde küçük */
    .site-header .custom-logo {
        max-height: 40px;
    }

    .site-header .site-branding .site-title {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    #banner_section .banner-title {
        font-size: 18px;
    }
    #banner_section .banner-desc {
        font-size: 13px;
    }
    #banner_section .btn-wrap a {
        display: block;
        margin: 5px auto;
        max-width: 200px;
        font-size: 11px;
    }
    .countdown-wrap {
        min-width: 42px !important;
        width: 42px !important;
        flex: 0 0 42px !important;
        padding: 4px 5px 4px !important;
    }
    .countdown-wrap span {
        font-size: 14px !important;
    }

    .site-header .custom-logo {
        max-height: 32px;
    }

    .site-header .site-branding .site-title {
        font-size: 12px !important;
    }
}
