/* Base Styles & Typography */
body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Typography Enhancements for Readability */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Custom Ad Placeholder */
/* AdSense guidelines suggest ads should not overshadow content */
.ad-placeholder {
    background-color: #e9ecef;
    border: 1px dashed #ced4da;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin-bottom: 20px;
}

/* Sidebar Ad specific height */
.card-body.ad-placeholder {
    min-height: 250px;
}

/* Review Card Styles */
.card-review {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer; /* Suggests interactivity */
}

.card-review:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit text to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Styling */
.modal-content {
    border-radius: 12px;
}

.modal-header {
    border-bottom: 2px solid #000;
}

#modal-img {
    max-height: 400px;
    object-fit: contain;
    background-color: #000;
}

/* Comments Section - Preparation for future feature */
.comments-section {
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.comments-section form label {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-img-top {
        height: 150px;
    }
}