﻿/* ANA ALAN */
.ay-hbr-detay-section {
    width: 100%;
    padding: 60px 0;
}

/* İÇERİK GENİŞLİĞİ */
.ay-hbr-detay-container {
    width: 70%;
    max-width: 1500px;
    margin: 0 auto;
}

/* BAŞLIK ALANI */
.ay-hbr-detay-ust {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

/* TARİH */
.ay-hbr-detay-tarih {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 14px;
    color: #888;
}

/* BAŞLIK */
.ay-hbr-detay-baslik {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #333;
    margin: 0;
    padding: 0 120px;
}

/* HABER İÇERİĞİ */
.ay-hbr-detay-icerik {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* HABER RESMİ */
.ay-hbr-detay-img {
    float: left;
    width: 50%;
    max-width: 500px;
    height: auto;
    margin: 0 20px 12px 0;
    border-radius: 6px;
}

/* HABER METNİ */
.ay-hbr-detay-metin {
    width: 100%;
}

/* FLOAT TEMİZLEME */
.ay-hbr-detay-icerik::after {
    content: "";
    display: block;
    clear: both;
}


/* MOBİL */
@media (max-width: 768px) {

    .ay-hbr-detay-section {
        padding: 30px 0;
    }

    .ay-hbr-detay-container {
        width: 94%;
        display: flex;
        flex-direction: column;
    }

    /* TARİH */
    .ay-hbr-detay-ust {
        display: flex;
        flex-direction: column;
        order: 1;
        margin-bottom: 20px;
    }

    .ay-hbr-detay-tarih {
        position: static;
        order: 1;
        text-align: center;
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* BAŞLIK */
    .ay-hbr-detay-baslik {
        order: 2;
        font-size: 23px;
        text-align: center;
        padding: 0 10px;
    }

    /* RESİM */
    .ay-hbr-detay-img {
        display: block;
        float: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 0 20px 0;
    }

    /* HABER İÇERİĞİ */
    .ay-hbr-detay-icerik {
        display: flex;
        flex-direction: column;
        order: 2;
        font-size: 14px;
        line-height: 1.7;
    }

    /* DETAY */
    .ay-hbr-detay-metin {
        width: 100%;
        order: 2;
        text-align: justify;
    }
}