/* ==========================================================================
   TDCDergi - Custom Overrides
   ========================================================================== */

/* --- Hero Section: Desktop side-by-side layout --- */
@media (min-width: 992px) {
    #hero .hero-row {
        position: relative;
    }
    #hero .hero-col-right {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
    }
    #hero .hero-col-right .post-tabs {
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    #hero .hero-col-right .post-tabs .tab-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
   
}

/* ==========================================================================
   MOBILE FIXES
   ========================================================================== */

/* --- 1. Cover image: show full image on mobile instead of cropping --- */
@media (max-width: 991.98px) {
    .featured-post-lg .thumb .inner {
        background-size: contain !important;
        background-repeat: no-repeat;
        background-position: center;
    }
}

/* --- 2 & 3. Öne Çıkanlar: scrollable on mobile --- */
@media (max-width: 991.98px) {
    #hero .hero-col-right .post-tabs {
        max-height: 480px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    #hero .hero-col-right .post-tabs .tab-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* --- 4. Side ads: keep on left/right on mobile --- */
@media (max-width: 991.98px) {
    .main-content > .container-xxl > .row.ad-content-row {
        flex-wrap: nowrap;
    }
    .main-content .side-ad-col {
        flex: 0 0 90px;
        max-width: 90px;
        padding-left: 4px;
        padding-right: 4px;
        position: sticky;
        top: 90px;
        align-self: flex-start;
        height: fit-content;
    }
    .main-content .side-ad-col img {
        width: 100%;
        height: auto;
    }
    .main-content .main-content-col {
        flex: 1 1 auto;
        max-width: calc(100% - 180px);
    }
}

/* --- İletişim formu placeholder rengi --- */
.contact-form .form-control::placeholder {
    color: #666;
    opacity: 1;
}
.contact-form .form-control:-ms-input-placeholder {
    color: #666;
}
.contact-form .form-control::-ms-input-placeholder {
    color: #666;
}
