.section-index-posts {
    .carddd {

        &:hover {
            .content {
                .title {
                    color: var(--color-blue-700);
                }
            }

            .wrapper {
                img {
                    transform: scale(1.05);
                }



                .overlay {
                    opacity: 1;
                }
            }
        }

        .wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 15px;


            img {
                height: 262px;
                border-radius: 15px;
                width: 100%;
                object-fit: cover;
                transition: all 0.3s ease-out;
            }

            .overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(to bottom, rgba(0, 110, 181, 0), rgba(0, 88, 144, 1));
                border-radius: 15px;
                transition: all 0.3s ease-out;
                opacity: 0;
            }
        }

        .content {
            padding: 30px;

            .title {
                font-size: var(--text-h6);
                line-height: 140%;
                color: #0F0F0F;
                font-weight: bold;
                transition: all 0.3s ease-out;

                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }
    }


}

.section-detail-posts {

    a:hover {
        color: var(--color-blue-700);
    }

    .detail-posts-wrapper {
        @media(min-width: 992px) {
            max-width: 856px;
        }
    }

    .gambar-utama {
        width: 100%;
        aspect-ratio: 1296 / 547;
        height: auto;
        border-radius: clamp(10px, 1.55vw, 20px);
        overflow: hidden;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .main {
        padding: 30px;

        .kategori {
            font-size: var(--text-h6);
            line-height: 140%;
            font-weight: bold;
            color: #0F0F0F;
        }

        .title {
            font-size: var(--text-h3);
            font-weight: bold;
            color: #0F0F0F;
            line-height: 150%;
            margin-bottom: 12px;
        }

        .meta {
            font-size: var(--text-sub);
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            font-weight: 500;

            color: #94A3B8;
            margin-bottom: 12px;
        }

        .content {
            color: var(--text-secondary);
            margin-bottom: 24px;

            a {
                color: var(--color-blue-700);

                &:hover {
                    color: var(--color-blue-300);
                    text-decoration: underline;
                }
            }
        }

        .bagikan {

            display: flex;
            align-items: center;
            gap: 12px;


            p {
                font-size: var(--text-sub);
                margin-bottom: 0;
                font-weight: bold;
            }

            .copy-link {
                cursor: pointer;
            }

            .ikon {
                color: var(--text-muted);

                &:hover {
                    color: var(--color-blue-700);
                }
            }
        }
    }

    .posts-terkait {
        .title {
            font-size: var(--text-h5);
            color: var(--color-yellow-700);
            font-weight: bold;
            text-transform: uppercase;
        }

        .more {
            text-align: right;
            display: block;
            color: var(--color-blue-300);
            transform: translateX(-10px);

            &:hover {
                color: var(--text-link);

                .ikon {
                    transform: translateX(5px);
                }
            }

            .ikon {
                font-size: 12px;
                margin-left: 3px;

                transition: all ease-out 0.3s;
            }

            @media(max-width:991px) {
                text-align: left;
                /* margin-bottom: 30px; */
                padding-left: 24px;
            }

            @media(max-width: 450px) {
                padding-left: 12px;
            }
        }

        .carddd {
            padding: 30px 40px;
            background-color: white;
            border: 1px solid #DFF1FF;
            border-radius: 15px;
            margin-bottom: 30px;
            transition: all ease-out 0.3s;
            cursor: default;

            &:hover {
                border-color: var(--color-blue-700);
                box-shadow: 0 4px 25px 0 rgba(0, 90, 145, 0.12);

                .title {
                    color: var(--color-blue-700);
                }
            }

            .title {
                font-size: var(--text-h6);
                line-height: 140%;
                font-weight: 700;
                color: #0F0F0F;
                text-transform: none;
                margin-bottom: 12px;
                transition: all ease-out 0.3s;
                padding-left: 0;

                display: -webkit-box;
                -webkit-line-clamp: 3;
                /* Jumlah maksimal baris */
                -webkit-box-orient: vertical;
                overflow: hidden;

            }

            .tgl {
                font-size: var(--text-sub);
                line-height: 150%;
                color: var(--text-muted);
                margin-bottom: 0;
            }
        }
    }
}