/* =====================================================
   BLOG PAGE
===================================================== */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    font-family: "DM Sans", sans-serif;

    color: #080808;

    background: #ffffff;
}


/* =====================================================
   BLOG HERO
===================================================== */

.blog-hero {

    width: 100%;

    min-height: 325px;

    background: turquoise;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 60px 20px;
}


.blog-hero-content {

    width: 100%;

    max-width: 850px;

    margin: 0 auto;
}


.blog-hero h1 {

    font-family: "Playfair Display", serif;

    font-size: 52px;

    line-height: 1.2;

    color: #ffffff;

    margin: 0 0 20px;
}


.blog-hero p {

    font-family: "DM Sans", sans-serif;

    font-size: 20px;

    line-height: 1.7;

    color: #ffffff;

    max-width: 760px;

    margin: 0 auto;
}



/* =====================================================
   BLOG SECTION
===================================================== */

.blog-section {

    width: 100%;

    background: #ffffff;

    padding: 75px 20px 100px;

    overflow: hidden;
}


.blog-container {

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;
}



/* =====================================================
   BLOG HEADING
===================================================== */

.blog-heading {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 50px;
}


.blog-heading h2 {

    font-family: "Playfair Display", serif;

    font-size: 38px;

    line-height: 1.3;

    color: #080808;

    margin: 0 0 15px;
}


.blog-heading p {

    font-family: "DM Sans", sans-serif;

    font-size: 17px;

    line-height: 1.7;

    color: #50657a;

    margin: 0;
}



/* =====================================================
   BLOG CARD
===================================================== */

.blog-card {

    width: 100%;

    background: #ffffff;

    border: 1px solid #cbd9dc;

    border-radius: 15px;

    overflow: hidden;

    margin-bottom: 40px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.blog-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.09);
}



/* =====================================================
   BLOG IMAGE
===================================================== */

.blog-image {

    width: 100%;

    height: 400px;

    overflow: auto;
}


.blog-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}


.blog-card:hover .blog-image img {

    transform: scale(1.03);
}



/* =====================================================
   BLOG CONTENT
===================================================== */

.blog-content {

    padding: 30px 35px 35px;
}



/* =====================================================
   BLOG META
===================================================== */

.blog-meta {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-bottom: 12px;
}


.blog-category {

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.8px;

    color: #08b8bd;
}


.blog-date {

    font-size: 13px;

    color: #718096;
}



/* =====================================================
   BLOG TITLE
===================================================== */

.blog-content h3 {

    font-family: "DM Sans", sans-serif;

    font-size: 30px;

    line-height: 1.35;

    color: #080808;

    margin: 0 0 15px;
}



/* =====================================================
   BLOG SUMMARY
===================================================== */

.blog-summary {

    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    line-height: 1.8;

    color: #50657a;

    margin: 0 0 20px;
}



/* =====================================================
   FULL ARTICLE
===================================================== */

.blog-full-content {

    max-height: 0;

    overflow: auto;

    opacity: 0;

    transition:
        max-height 0.6s ease,
        opacity 0.4s ease;
}


.blog-full-content p {

    font-family: "DM Sans", sans-serif;

    font-size: 16px;

    line-height: 1.8;

    color: #50657a;

    margin: 0 0 18px;
}



/* =====================================================
   EXPANDED ARTICLE
===================================================== */

.blog-card.expanded .blog-full-content {

    max-height: 1000px;

    opacity: 1;

    margin-top: 10px;
}



/* =====================================================
   SHOW MORE BUTTON
===================================================== */

.show-more-btn {

    border: none;

    background: #08b8bd;

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    font-weight: 600;

    padding: 12px 20px;

    border-radius: 8px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.show-more-btn:hover {

    background: #069da2;

    transform: translateY(-1px);
}


.show-more-btn .arrow {

    display: inline-block;

    margin-left: 8px;

    transition: transform 0.3s ease;
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .blog-container {

        max-width: 900px;
    }

}



/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 900px) {

    .blog-hero {

        min-height: 290px;

        padding: 55px 25px;
    }


    .blog-hero h1 {

        font-size: 45px;
    }


    .blog-hero p {

        font-size: 18px;
    }


    .blog-section {

        padding: 65px 20px 80px;
    }


    .blog-image {

        height: 330px;
    }


    .blog-content {

        padding: 28px;
    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .blog-hero {

        min-height: 270px;

        padding: 50px 20px;
    }


    .blog-hero h1 {

        font-size: 38px;
    }


    .blog-hero p {

        font-size: 16px;

        line-height: 1.6;
    }


    .blog-section {

        padding: 55px 15px 70px;
    }


    .blog-heading {

        margin-bottom: 40px;
    }


    .blog-heading h2 {

        font-size: 32px;
    }


    .blog-heading p {

        font-size: 16px;
    }


    .blog-card {

        margin-bottom: 30px;

        border-radius: 12px;
    }


    .blog-image {

        height: 240px;
    }


    .blog-content {

        padding: 23px 20px 25px;
    }


    .blog-content h3 {

        font-size: 25px;

        line-height: 1.35;
    }


    .blog-summary {

        font-size: 15px;

        line-height: 1.7;
    }


    .blog-full-content p {

        font-size: 15px;

        line-height: 1.7;
    }


    .show-more-btn {

        font-size: 13px;

        padding: 11px 17px;
    }

}



/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 480px) {

    .blog-hero {

        min-height: 250px;

        padding: 45px 18px;
    }


    .blog-hero h1 {

        font-size: 34px;
    }


    .blog-hero p {

        font-size: 15px;
    }


    .blog-section {

        padding: 50px 12px 60px;
    }


    .blog-heading h2 {

        font-size: 29px;
    }


    .blog-heading p {

        font-size: 15px;
    }


    .blog-image {

        height: 210px;
    }


    .blog-content {

        padding: 20px 17px 22px;
    }


    .blog-content h3 {

        font-size: 23px;
    }


    .blog-summary {

        font-size: 14px;
    }


    .blog-full-content p {

        font-size: 14px;

        line-height: 1.7;
    }


    .show-more-btn {

        font-size: 13px;

        padding: 10px 16px;
    }

}