/* =========================
   1. PENGATURAN DASAR
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f7fb;
    color: #333;
    line-height: 1.6;
}

/* =========================
   2. HEADER
========================= */

header {
    background-color: #ffffff;
    padding: 15px 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

header img {
    width: 100px;
    align-items: left;
}

/* =========================
   3. NAVIGASI
========================= */

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #000000;
}


/* =====================================================
   5. MAIN / CONTAINER ARTIKEL
===================================================== */

.artikel-detail {
    position: relative;

    width: 88%;
    max-width: 870px;

    margin: 0 auto;

    padding-top: 82px;
    padding-bottom: 60px;
}


/* =====================================================
   6. ICON BOOKMARK DAN LOVE
===================================================== */

.artikel-actions {
    position: absolute;

    top: 27px;
    right: 0;

    display: flex;
    align-items: center;

    gap: 34px;
}


.icon-button {
    width: 41px;
    height: 41px;

    margin: 0;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #ffffff;

    border: 1.7px solid #111111;
    border-radius: 50%;

    color: #111111;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;

    cursor: pointer;

    box-shadow: none;

    transition: 0.2s ease;
}


.icon-button:hover {
    background-color: #f5f5f5;

    color: #000000;
}


/* =====================================================
   7. JUDUL ARTIKEL
===================================================== */

.judul-artikel {
    width: 100%;

    margin: 0;
    padding: 0;

    text-align: center;

    background: transparent;
    box-shadow: none;
    border-radius: 0;
}


.judul-artikel h1 {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;

    color: #050505;

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: 35px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.4px;
}


/* =====================================================
   8. PENULIS
===================================================== */

.penulis {
    margin-top: 36px;
    margin-bottom: 25px;

    color: #444444;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 19px;
    font-weight: 400;

    text-align: center;
}


/* =====================================================
   9. GAMBAR UTAMA
===================================================== */

.gambar-utama {
    width: 610px;
    max-width: 100%;

    margin: 0 auto 31px;

    text-align: center;
}


.gambar-utama img {
    display: block;

    width: 100%;
    height: 330px;

    object-fit: cover;
    object-position: center;

    filter: grayscale(100%);
}


/* =====================================================
   10. SUMBER GAMBAR
===================================================== */

.gambar-utama figcaption {
    margin-top: 0;

    color: #777777;

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: 17px;

    line-height: 1.25;

    text-align: center;
}


/* =====================================================
   11. ISI ARTIKEL
===================================================== */

.isi-artikel {
    width: 100%;

    margin: 0;
    padding: 0;

    background-color: transparent;

    border: none;
    border-radius: 0;

    box-shadow: none;

    color: #111111;

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: 19px;

    line-height: 1.28;

    text-align: justify;
}


/* =====================================================
   12. PARAGRAF
===================================================== */

.isi-artikel p {
    margin: 0 0 30px;
}


/* =====================================================
   13. KUTIPAN
===================================================== */

.isi-artikel blockquote {
    margin: 3px 0 30px;

    padding: 0;

    color: #111111;

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.4;

    text-align: center;

    border: none;
}


/* =====================================================
   14. TAG SECTION
===================================================== */

.tag-section {
    width: 100%;

    margin-top: 67px;

    padding: 13px 17px 17px;

    background-color: transparent;

    border-top: 2px solid #333333;
    border-bottom: 2px solid #333333;

    border-radius: 0;

    box-shadow: none;
}


/* =====================================================
   15. JUDUL TAG
===================================================== */

.tag-section h2 {
    margin: 0 0 7px;

    color: #111111;

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: 26px;
    font-weight: 400;

    line-height: 1.2;
}


/* =====================================================
   16. CONTAINER TAG
===================================================== */

.tag-container {
    display: flex;
    align-items: center;

    gap: 13px;
}


/* =====================================================
   17. ITEM TAG
===================================================== */

.tag-container a {
    display: inline-block;

    padding: 0 5px;

    color: #111111;

    background-color: #ffffff;

    border: 2px solid #111111;

    font-family: Georgia, "Times New Roman", Times, serif;

    font-size: 17px;

    line-height: 1.15;

    text-decoration: none;
}


.tag-container a:hover {
    background-color: #111111;

    color: #ffffff;
}


/* =========================
   11. FOOTER
========================= */

footer {
    background-color: #333;
    color: #d1d5db;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
}

footer p {
    margin: 5px 0;
}


/* =====================================================
   19. RESPONSIVE TABLET
===================================================== */

@media screen and (max-width: 992px) {

    .artikel-detail {
        width: 90%;
    }


    .judul-artikel h1 {
        max-width: 700px;

        font-size: 32px;
    }


    .gambar-utama {
        width: 600px;
    }


    .isi-artikel {
        font-size: 18px;
    }

}


/* =====================================================
   20. RESPONSIVE HP
===================================================== */

@media screen and (max-width: 768px) {

    /* HEADER */

    header {
        height: auto;

        padding: 15px 5%;

        flex-direction: column;

        gap: 15px;
    }


    .logo-link img {
        width: 100px;
    }


    nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 10px;

        font-size: 12px;
    }


    nav a {
        font-size: 12px;
    }


    /* MAIN */

    .artikel-detail {
        width: 90%;

        padding-top: 90px;
    }


    /* ICON */

    .artikel-actions {
        top: 25px;

        right: 0;

        gap: 15px;
    }


    .icon-button {
        width: 38px;
        height: 38px;

        font-size: 23px;
    }


    /* JUDUL */

    .judul-artikel h1 {
        font-size: 28px;

        line-height: 1.3;
    }


    /* PENULIS */

    .penulis {
        margin-top: 25px;

        font-size: 16px;
    }


    /* GAMBAR */

    .gambar-utama {
        width: 100%;
    }


    .gambar-utama img {
        width: 100%;

        height: auto;
    }


    .gambar-utama figcaption {
        font-size: 14px;
        text-align: center;
    }


    /* ISI */

    .isi-artikel {
        font-size: 17px;

        line-height: 1.5;
    }


    .isi-artikel p {
        margin-bottom: 25px;
    }


    .isi-artikel blockquote {
        font-size: 18px;

        line-height: 1.5;
    }


    /* TAG */

    .tag-section {
        margin-top: 45px;
    }


    .tag-section h2 {
        font-size: 23px;
    }


    .tag-container {
        flex-wrap: wrap;
    }


    .tag-container a {
        font-size: 15px;
    }

}


/* =====================================================
   21. HP KECIL
===================================================== */

@media screen and (max-width: 480px) {

    .artikel-detail {
        width: 92%;
    }


    .judul-artikel h1 {
        font-size: 24px;
    }


    .penulis {
        font-size: 15px;
    }


    .isi-artikel {
        font-size: 16px;
    }


    footer {
        min-height: 55px;

        padding-block-end: 0 15px;
    }

}