/* ==========================================
   ÖZEL HABER MANŞET SLIDER - TÜM CSS
   ========================================== */

/* Ana Kapsayıcı */
.ohm-news-wrapper {
    display: flex;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.ohm-news-wrapper * {
    box-sizing: border-box;
}

/* Sol Slider Yapısı */
.ohm-main-slider {
    flex: 2;
    position: relative;
    background: #000;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ohm-slides {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    cursor: pointer !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y; /* Mobilde dikey kaydırmayı engellemeden yatay swipe imkanı sağlar */
}

/* Kayan Şerit Yapısı */
.ohm-slides-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.ohm-slides-track.has-transition {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ohm-slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.ohm-slide-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

.ohm-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto !important;
}

/* Overlay & H2 Ana Metin */
.ohm-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    z-index: 2;
    pointer-events: none;
}

.ohm-cat-tag {
    background: #d91b1b;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 6px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.ohm-title, .ohm-main-slider h2 {
    margin: 0 !important;
    font-family: var(--te-secondary-font), "Arial", sans-serif !important;
    font-size: 1.6em !important;
    font-weight: 600 !important;
    letter-spacing: -1px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ==========================================
   İLERİ / GERİ OK BUTONLARI (HOVER İLE GÖZÜKÜR)
   ========================================== */
.ohm-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 48px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    border: none;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    opacity: 0; /* Varsayılanda gizli */
    visibility: hidden;
    transition: all 0.3s ease;
}

.ohm-arrow-prev {
    left: 0;
}

.ohm-arrow-next {
    right: 0;
}

/* Slider alanına fare gelince okları göster */
.ohm-main-slider:hover .ohm-arrow-btn {
    opacity: 1;
    visibility: visible;
}

.ohm-arrow-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* Nav Bar */
.ohm-nav-bar {
    display: flex;
    background: #ffffff !important;
    height: 44px !important;
    z-index: 20;
    width: 100%;
    border: 1px solid #e5e5e5;
    border-top: none;
}

.ohm-nav-btn {
    flex: 1;
    border: none !important;
    background: #ffffff !important;
    font-size: 15px !important;
    font-weight: bold !important;
    color: #333333 !important;
    cursor: pointer !important;
    border-right: 1px solid #e5e5e5 !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
}

.ohm-nav-btn.active, .ohm-nav-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Sağ Haberler */
.ohm-side-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
    height: 564px;
}

.ohm-side-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    height: calc(50% - 7.5px);
    overflow: hidden;
}

.ohm-side-img-wrapper {
    width: 100%;
    height: 100%;
    display: block !important;
    text-decoration: none !important;
    position: relative;
}

.ohm-side-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-news h4 {
    bottom: 0;
    color: #444 !important;
    left: 0;
    line-height: 24px;
    padding: 10px 12px;
    position: absolute;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
    box-sizing: border-box;
    font-size: 18px !important;
    font-weight: 700;
}

.featured-news h4:hover {
    color: #000000 !important;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .ohm-news-wrapper { flex-direction: column; }
    .ohm-slides { height: 280px; }
    .ohm-side-container { height: auto; }
    .ohm-side-card { height: 200px; }
    .ohm-title, .ohm-main-slider h2 { font-size: 1.3em !important; }
    .featured-news h4 { font-size: 15px !important; }
    /* Mobilde oklar hafif şeffaf görünür kalabilir */
    .ohm-arrow-btn { opacity: 0.7; visibility: visible; width: 36px; height: 40px; font-size: 20px; }
}