/* ==========================================================================
   Blog Banner
   ========================================================================== */

.blog-banner {
    min-height: 100vh;
    padding-top: 160px;
    position: relative;
    padding-inline: 80px;
    display: flex;
    align-items: center;
}

.blog-banner::before {
    display: none;
}

.blog-banner .img-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: 1;
}

.blog-banner .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-banner .content-wrapper {
    position: relative;
    z-index: 2;
    width: 50%;
    max-width: 814px;
}

.blog-banner .content-wrapper h1 {
    font-size: 72px;
    line-height: 84px;
    color: var(--color-title);
    font-weight: 400;
    margin-bottom: 20px;
    font-family: 'GC saphone DEMO', serif;
}

.blog-banner .content-wrapper .actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 50px;
}

.blog-banner .content-wrapper .actions .btn {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    text-decoration: none;
}

.blog-banner .content-wrapper .actions .btn.btn-secondary {
    background: #FFFFFF0D;
    border: 1.5px solid #FFFFFF;
    backdrop-filter: blur(44px);
    -webkit-backdrop-filter: blur(44px);
    color: var(--color-title);
    border-radius: 40px;
    padding: 17px 28px;
}


/* ==========================================================================
   Blog Detail
   ========================================================================== */

.blog-detail .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px;
    padding-top: 64px;
}


/* ----- Left Content ----- */

.blog-detail .left-content h3.title {
    font-size: 48px;
    line-height: 56px;
    color: var(--color-title);
    margin-bottom: 16px;
    font-family: 'GC saphone DEMO', serif;
    font-weight: 400;
}

.blog-detail .left-content .intro {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-primary);
}

.blog-detail .left-content .image-wrapper {
    overflow: auto;
    margin-bottom: 60px;
}

.blog-detail .left-content .image-wrapper img {
    border-radius: 18px;
    width: 100%;
    max-width: 630px;
}

.blog-detail .left-content h5 {
    font-size: 32px;
    line-height: 37px;
    font-weight: 400;
    font-family: 'GC saphone DEMO', serif;
    margin-bottom: 34px;
    color: var(--color-title);
}

.blog-detail .left-content ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style-position: inside;
    margin-bottom: 40px;
}

.blog-detail .left-content ul li strong {
    font-size: 20px;
    line-height: 24px;
    color: var(--color-title);
}

.blog-detail .left-content ul li span {
    font-size: 16px;
    line-height: 19px;
    color: var(--color-primary);
}

.blog-detail .left-content .divider {
    display: flex;
    align-items: center;
    margin-block: 60px 40px;
}

.blog-detail .left-content .divider img {
    width: 100%;
}

.blog-detail .left-content .conclution {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-primary);
    margin-top: 12px;
}

.blog-detail .left-content .impacts {
    margin-block: 60px;
}

.blog-detail .left-content .impacts ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-detail .left-content .impacts ul li {
    display: flex;
    gap: 22px;
}

.blog-detail .left-content .impacts ul li .number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    font-size: 15px;
    line-height: 18px;
    color: #FFFFFF;
    background-color: #4B3A2F;
    border-radius: 50%;
}

.blog-detail .left-content .impacts ul li .content strong {
    font-size: 22px;
    line-height: 27px;
    margin-bottom: 10px;
    color: var(--color-title);
    display: block;
}

.blog-detail .left-content .impacts ul li .content p {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-primary);
}

.blog-detail .left-content .share h6 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-title);
    margin-bottom: 17px;
}

.blog-detail .left-content .share img {
    width: 126px;
}


/* ----- Right Content ----- */

.blog-detail .right-content .about-card {
    position: relative;
    overflow: hidden;
    border: 3px solid #F4F5EE;
    box-shadow: 0px 0px 0px 6px #FFFFFF inset;
    padding: 34px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
}

.blog-detail .right-content .about-card::before {
    content: '';
    background-image: url('../images/author-detail-bg.png');
    background-repeat: no-repeat;
    position: absolute;
    top: 6px;
    right: 6px;
    width: 100%;
    height: 100%;
    max-width: 260px;
    pointer-events: none;
}

.blog-detail .right-content .about-card h5 {
    font-size: 20px;
    line-height: 23px;
    color: var(--color-title);
    font-family: 'GC saphone DEMO', serif;
    margin-bottom: 20px;
    font-weight: 400;
}

.blog-detail .right-content .about-card .author-img {
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-detail .right-content .about-card .author-img img {
    border-radius: 50%;
    max-width: 96px;
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
}

.blog-detail .right-content .about-card .author-name {
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
    color: var(--color-title);
    margin-bottom: 10px;
}

.blog-detail .right-content .about-card .author-info {
    font-size: 16px;
    line-height: 25px;
    color: var(--color-primary);
}

.blog-detail .right-content .about-card .author-social {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-detail .right-content .about-card .author-social img {
    width: 126px;
}

.blog-detail .intro-wrapper p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 16px;
}
.conclusion-wrapper p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 12px;
}

/* ==========================================================================
   Related Posts Section
   ========================================================================== */

.related-posts-section .title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 400;
    color: var(--color-title);
    font-family: 'GC saphone DEMO', serif;
    margin-bottom: 40px;
    text-align:center;
}

.related-posts-section .related-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.related-posts-section .related-posts .card {
    background: linear-gradient(180deg, #FEECDE 0%, rgba(254, 236, 222, 0.44) 100%);
    border: 3px solid #F4F5EE;
    box-shadow: 0px 0px 0px 6px #FFFFFF inset;
    border-radius: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-posts-section .related-posts .card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 0px 0px 6px #FFFFFF inset, 0 12px 30px rgba(0, 0, 0, 0.08);
}

.related-posts-section .related-posts .card .image-wrapper {
    overflow: hidden;
    height: 258px;
}

.related-posts-section .related-posts .card .image-wrapper img {
    height: 100%;
    width: 100%;
    padding: 6px;
    padding-bottom: 0;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
}

.related-posts-section .related-posts .card .content {
    padding: 24px;
}

.related-posts-section .related-posts .card .content h3 {
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 1px;
    color: var(--color-title);
    font-family: 'GC saphone DEMO', serif;
    margin-bottom: 12px;
}



.related-posts-section .related-posts .card .content .date-time {
    font-size: 14px;
    line-height: 17px;
    color: var(--color-primary);
}


/* ==========================================================================
   Responsive Styles
   ========================================================================== */


/* ---- Large Desktop (max-width: 1440px) ---- */

@media (max-width: 1440px) {
    .blog-banner {
        padding-inline: 40px;
    }

    .blog-banner .content-wrapper {
        width: 60%;
    }
}


/* ---- Small Desktop / Large Tablet (max-width: 1200px) ---- */

@media (max-width: 1200px) {
    .blog-detail .container {
        gap: 36px;
    }

    .blog-detail .left-content h3.title {
        font-size: 40px;
        line-height: 48px;
    }

    .blog-detail .left-content h5 {
        font-size: 28px;
        line-height: 34px;
    }

    .related-posts-section .title {
        font-size: 40px;
        line-height: 48px;
    }

    .related-posts-section .related-posts {
        gap: 28px;
    }

    .related-posts-section .related-posts .card .image-wrapper {
        height: 220px;
    }
}


/* ---- Tablet (max-width: 1024px) ---- */

@media (max-width: 1024px) {
    .blog-banner .content-wrapper {
        width: 90%;
    }

    .blog-banner .content-wrapper h1 {
        font-size: 52px;
        line-height: 64px;
    }

    .blog-detail .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .blog-detail .right-content .about-card {
        max-width: 500px;
    }

    .related-posts-section .related-posts {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* .related-posts-section .related-posts .card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    } */
}


@media screen and (min-width:768px) {
    .related-posts-section .related-posts .card .content h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 60px;
    }
}

/* ---- Small Tablet / Large Phone (max-width: 767px) ---- */

@media (max-width: 767px) {
    .blog-banner {
        padding-inline: 20px;
        padding-top: 100px;
    }

    .blog-banner .content-wrapper {
        width: 100%;
    }

    .blog-banner .content-wrapper h1 {
        font-size: 42px;
        line-height: 54px;
    }

    .blog-banner .content-wrapper .actions {
        flex-wrap: wrap;
        margin-top: 36px;
    }

    .blog-banner .content-wrapper .actions .btn.btn-secondary {
        padding: 14px 22px;
    }

    .blog-detail .container {
        gap: 40px;
    }

    .blog-detail .left-content h3.title {
        font-size: 32px;
        line-height: 40px;
    }

    .blog-detail .left-content h5 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 24px;
    }

    .blog-detail .left-content .image-wrapper {
        margin-bottom: 40px;
    }

    .blog-detail .left-content .divider {
        margin-block: 40px 30px;
    }

    .blog-detail .left-content .impacts {
        margin-block: 40px;
    }

    .blog-detail .left-content .impacts ul li {
        gap: 16px;
    }

    .blog-detail .left-content .impacts ul li .content strong {
        font-size: 19px;
        line-height: 24px;
    }

    .blog-detail .left-content .impacts ul li .content p {
        font-size: 16px;
        line-height: 24px;
    }

    .blog-detail .right-content .about-card {
        padding: 24px;
    }

    .blog-detail .right-content .about-card::before {
        max-width: 180px;
        opacity: 0.6;
    }

    .related-posts-section .title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 28px;
    }

    .related-posts-section .related-posts {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .related-posts-section .related-posts .card:last-child {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
    }

    .related-posts-section .related-posts .card .image-wrapper {
        height: 240px;
    }

    .related-posts-section .related-posts .card .content {
        padding: 20px;
    }

    .related-posts-section .related-posts .card .content h3 {
        font-size: 20px;
        line-height: 28px;
    }
}


/* ---- Small Phone (max-width: 480px) ---- */

@media (max-width: 480px) {
    .blog-banner {
        padding-top: 80px;
    }

    .blog-banner .content-wrapper h1 {
        font-size: 34px;
        line-height: 44px;
        margin-bottom: 14px;
    }

    .blog-banner .content-wrapper .actions {
        gap: 12px;
        margin-top: 28px;
    }

    .blog-banner .content-wrapper .actions .btn.btn-secondary {
        padding: 12px 18px;
        font-size: 14px;
    }

    .blog-detail .left-content h3.title {
        font-size: 28px;
        line-height: 36px;
    }

    .blog-detail .left-content .intro {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-detail .left-content h5 {
        font-size: 21px;
        line-height: 28px;
    }

    .blog-detail .left-content ul {
        gap: 16px;
    }

    .blog-detail .left-content ul li strong {
        font-size: 16px;
        line-height: 20px;
        padding-right: 5px;
    }

    .blog-detail .left-content ul li span {
        font-size: 15px;
        line-height: 20px;
    }

    .blog-detail .left-content .conclution {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-detail .left-content .impacts ul li {
        gap: 14px;
    }

    .blog-detail .left-content .impacts ul li .number {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .blog-detail .left-content .impacts ul li .content strong {
        font-size: 17px;
        line-height: 22px;
        margin-bottom: 6px;
    }

    .blog-detail .left-content .impacts ul li .content p {
        font-size: 15px;
        line-height: 22px;
    }

    .blog-detail .left-content .share h6 {
        font-size: 18px;
    }

    .blog-detail .right-content .about-card {
        padding: 20px;
    }

    .blog-detail .right-content .about-card h5 {
        font-size: 18px;
        line-height: 22px;
    }

    .blog-detail .right-content .about-card .author-img img {
        max-width: 80px;
    }

    .blog-detail .right-content .about-card .author-name {
        font-size: 15px;
    }

    .blog-detail .right-content .about-card .author-info {
        font-size: 15px;
        line-height: 23px;
    }

    .related-posts-section .title {
        font-size: 28px;
        line-height: 36px;
    }

    .related-posts-section .related-posts .card .image-wrapper {
        height: 200px;
    }

    .related-posts-section .related-posts .card .content h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .related-posts-section .related-posts .card .content .date-time {
        font-size: 13px;
    }
}


/* ==========================================================================
   Author & Article Social Links (Theme Standard)
   ========================================================================== */

.social-links-wrapper,
.author-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-links-wrapper a,
.author-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links-wrapper a:hover,
.author-social a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-links-wrapper svg,
.author-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-link-instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social-link-facebook,
.social-icon.facebook {
    background: #1877F2;
}

.social-link-twitter,
.social-icon.twitter {
    background: #1DA1F2;
}

.social-icon.whatsapp {
    background: #25D366;
}