/* IMU Press WP Plugin Stilleri - Sol Yan Menü (Arama & Tür) + Grid */
.imu-press-container,
.yayin-modal-overlay {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1c1917;
    -webkit-font-smoothing: antialiased;
}

.imu-press-container *,
.yayin-modal-overlay * {
    font-family: inherit;
    box-sizing: border-box;
}

.imu-press-container {
    max-width: 1240px;
    margin: 24px auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 960px) {
    .imu-press-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ========================================================
   SOL YAN MENÜ (SIDEBAR): Arama ve Yayın Türü
======================================================== */
.imu-press-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imu-sidebar-box {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.imu-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #44403c;
    margin-bottom: 12px;
}
.imu-icon {
    color: #7a1c1d;
}

/* Arama Kutusu */
.imu-search-wrapper {
    position: relative;
}
.imu-search-input {
    width: 100%;
    padding: 9px 30px 9px 12px;
    border: 1px solid #d6d3d1;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    background: #fafaf9;
    color: #1c1917;
    transition: all 0.2s ease;
}
.imu-search-input:focus {
    background: #ffffff;
    border-color: #7a1c1d;
    box-shadow: 0 0 0 3px rgba(122, 28, 29, 0.1);
}
.imu-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a8a29e;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
}
.imu-search-clear:hover {
    color: #1c1917;
}

/* Tür Filtre Butonları */
.imu-type-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.imu-type-btn {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e7e5e4;
    background: #fafaf9;
    color: #44403c;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}
.imu-type-btn.active, .imu-type-btn:hover {
    background: #7a1c1d;
    color: #ffffff;
    border-color: #7a1c1d;
}

.imu-reset-btn {
    width: 100%;
    padding: 8px;
    background: #ffffff;
    border: 1px dashed #d6d3d1;
    color: #57534e;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.imu-reset-btn:hover {
    border-color: #7a1c1d;
    color: #7a1c1d;
    background: #fdf2f2;
}

/* ========================================================
   SAĞ ALAN (MAIN CONTENT)
======================================================== */
.imu-press-main {
    min-width: 0;
}

.imu-main-header {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.imu-active-title {
    font-size: 18px;
    font-weight: 700;
    color: #1c1917;
    margin: 0 0 4px 0;
}
.imu-active-subtitle {
    font-size: 12px;
    color: #78716c;
    margin: 0;
}
.imu-count-badge {
    font-size: 12px;
    font-weight: 600;
    color: #57534e;
    background: #f5f5f4;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Yayın Izgarası (Grid) */
.yayin-grid {
    display: grid;
    gap: 20px;
}
.yayin-cols-3 {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.yayin-cols-4 {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* Yayın Kartı */
.yayin-card {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.yayin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.yayin-cover-link {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    background: #f5f5f4;
    overflow: hidden;
    cursor: pointer;
}
.yayin-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease-in-out;
}
.yayin-card:hover .yayin-cover-img {
    transform: scale(1.05);
}

/* Rozetler */
.yayin-cover-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
    pointer-events: none;
    backdrop-filter: blur(2px);
    line-height: 1.2;
}
.yayin-badge-konferans {
    background: #78350f !important;
}

.yayin-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(122, 28, 29, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 2;
}
.yayin-card:hover .yayin-cover-overlay {
    opacity: 1;
}
.yayin-hover-pill {
    background: #ffffff;
    color: #1c1917;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
}

.yayin-no-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    background: #292524;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

.yayin-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.yayin-card-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.35;
}
.yayin-card-title a {
    color: #1c1917;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}
.yayin-card-title a:hover {
    color: #7a1c1d;
}
.yayin-card-authors {
    font-size: 11px;
    color: #78716c;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yayin-card-detail-btn {
    display: inline-block;
    font-size: 11px;
    color: #7a1c1d;
    font-weight: 600;
    margin-top: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s;
}
.yayin-card-detail-btn:hover {
    color: #5c1415;
    text-decoration: underline;
}

/* ========================================================
   DETAY POPUP PENCERESİ STİLLERİ
======================================================== */
.yayin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.yayin-modal-box {
    background: #fff;
    border-radius: 12px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    padding: 30px;
    box-sizing: border-box;
    animation: yayinModalFadeIn 0.2s ease-out;
}

@keyframes yayinModalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.yayin-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 36px;
    text-align: center;
    padding: 0;
    transition: background 0.15s;
}
.yayin-modal-close:hover {
    background: #e5e7eb;
    color: #111;
}

.yayin-modal-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 768px) {
    .yayin-modal-grid {
        grid-template-columns: 1fr;
    }
}

.yayin-modal-cover-col {
    text-align: center;
}
.yayin-modal-img {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.yayin-modal-tur-badge {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: inline-block;
    padding: 3px 10px;
    background: #f3f4f6;
    border-radius: 4px;
}

.yayin-modal-kicker {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #a8a29e;
    display: block;
    margin-bottom: 2px;
}
.yayin-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.yayin-modal-table {
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding: 10px 0;
    margin-bottom: 15px;
}
.yayin-m-row {
    display: flex;
    font-size: 13px;
    padding: 5px 0;
}
.yayin-m-lbl {
    width: 140px;
    font-weight: 600;
    color: #4b5563;
    flex-shrink: 0;
}
.yayin-m-val {
    color: #111827;
}

.yayin-modal-about-section h4 {
    margin: 0 0 8px 0;
    font-size: 13px;
    text-transform: uppercase;
    color: #4b5563;
}
.yayin-modal-about-text {
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
    background: #f9fafb;
    padding: 12px;
    border-radius: 6px;
    max-height: 180px;
    overflow-y: auto;
    white-space: pre-line;
}

.yayin-modal-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.yayin-btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.yayin-btn-download {
    background: #059669;
    color: #fff !important;
}
.yayin-btn-link {
    background: #7a1c1d;
    color: #fff !important;
}
