
body {
    padding: 0;
    margin: 0;
}

body * {
    box-sizing: border-box;
}

#i152d {
    width: 50%;
    /* 50% width for desktop views */
    height: auto;
    /* Maintains aspect ratio */
    max-width: 100%;
    /* Ensures image doesn't exceed its natural width */
}

/* Media query for mobile and smaller screens */

@media (max-width: 768px) {
    #i152d {
        width: 100%;
        /* Full width on mobile */
    }
}

/* Container styling for the comments section */

#comments-section {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    font-family: Arial, sans-serif;
    color: #333;
}

#comments-section h3 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
}

/* Comment container */

.comment {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.comment:last-of-type {
    border-bottom: none;
}

/* Comment header with profile pic and text */

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ccc;
    margin-right: 15px;
}

.header-text {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    color: #0066cc;
    font-size: 16px;
    margin-bottom: 4px;
    /* Added space between name and date */
}

.comment-date {
    font-size: 0.85em;
    color: #999;
    margin-top: 6px;
    /* Increased margin for spacing */
}

/* Comment text */

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Reply container: aligns the reply button to the right */

.reply-container {
    text-align: right;
    margin-top: 10px;
}

/* Reply button styling */

.reply-btn {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
    padding: 0 5px;
}

.reply-btn:hover {
    text-decoration: underline;
}

/* Comment Form styling */

#comment-form {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

#comment-form h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

#comment-form input,
#comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

#comment-form button {
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 15px;
}

#comment-form button:hover {
    background-color: #005bb5;
}

/* Hide comments initially (for dynamic reveal) */

.hidden {
    display: none;
}