/* General Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f0f0f0;
    color: #111;
}

/* Header */
.header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

.header-left {
    display: flex;
    align-items: center;
}

.pinterest-icon {
    color: #e60023;
    font-size: 24px;
    margin-right: 10px;
}

.nav-link {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 24px;
}

.nav-link.active {
    background-color: #111;
    color: #fff;
}

.header-search {
    flex-grow: 1;
    margin: 0 20px;
    background-color: #efefef;
    border-radius: 30px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.header-search i {
    color: #767676;
}

.header-search input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 12px 10px;
    font-size: 16px;
    outline: none;
}

.header-right .btn {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 24px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-login {
    background-color: #efefef;
    color: #111;
    margin-right: 10px;
}

.btn-signup {
    background-color: #e60023;
    color: #fff;
}

.header-mobile-icons {
    display: none; /* Sembunyikan di desktop */
    font-size: 24px;
}

/* Main Content */
.content-container {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    overflow: hidden;
}

.image-column, .details-column {
    flex: 1;
    min-width: 300px; /* Lebar minimum sebelum wrapping */
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.details-column {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.action-icons i {
    margin-left: 18px;
    font-size: 18px;
    color: #555;
    cursor: pointer;
}

.action-icons .likes {
    font-weight: 600;
    font-size: 16px;
    margin-left: 18px;
}
.action-icons .likes i {
    color: #e60023; /* Warna hati merah */
    margin-left: 0;
    margin-right: 5px;
}

.action-buttons .btn {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 24px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}
.btn-visit {
    background-color: #efefef;
    color: #111;
}
.btn-save {
    background-color: #e60023;
    color: #fff;
}

.source-link {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    margin-bottom: 10px;
}

h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.author-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-color: #efefef;
    border-radius: 50%;
    text-align: center;
    line-height: 48px;
    font-size: 24px;
    font-weight: bold;
    margin-right: 12px;
}

.author-name {
    font-weight: 600;
}

.comments-section h3 {
    margin-bottom: 20px;
}

.comment {
    display: flex;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

.comment-body p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

.comment-body p strong {
    font-weight: 600;
}


/* Mobile Friendly (Responsive) */
@media (max-width: 768px) {
    .header-search, .header-right, .header-left .nav-link {
        display: none;
    }
    .header-mobile-icons {
        display: block;
    }
    .header {
        justify-content: space-between;
    }
    .header-left {
        flex-grow: 1;
    }
    .content-container {
        padding: 0;
    }
    .card {
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
    }
    .details-column {
        padding: 20px;
    }
    h1 {
        font-size: 24px;
    }
    .actions-bar {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
    }
    .action-buttons {
        width: 100%;
        display: flex;
    }
    .action-buttons .btn {
        flex: 1;
        text-align: center;
    }
    .btn-visit {
        margin-left: 0;
        margin-right: 10px;
    }
    
}