/* ==================================================
   HS POPUP – PREMIUM CLEAN VERSION
   (NO GALLERY MODIFICATION)
================================================== */

#hs-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999999;
    display: none;
    font-family: 'Fondamento', cursive,'-apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
}

/* Layout */
.hs-popup-content {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* =========================
   LEFT IMAGE (60%)
========================= */

.hs-popup-left {
    width: 75%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hs-popup-left img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Navigation */
.hs-nav span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    padding: 15px;
    opacity: 0.7;
    user-select: none;
}

.hs-prev { left: 20px; }
.hs-next { right: 20px; }

.hs-nav span:hover {
    opacity: 1;
}

/* Close */
.hs-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
}

/* =========================
   RIGHT PANEL (40%)
========================= */

.hs-popup-right {
    width: 25%;
    background: #ffffff;
    padding: 50px 45px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Title */
.hs-popup-right h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
    line-height: 1.3;
}

/* Meta Sections */
.hs-meta {
    margin-bottom: 18px;
    font-size: 14px;
    color: #555;
}

.hs-meta strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 6px;
}

/* Tags & Categories Text */
#hs-popup-cats,
#hs-popup-tags {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* Caption */
.hs-caption {
    margin-top: 10px;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

/* =========================
   COMMENTS – LIGHT STYLE
========================= */

.hs-comments {
    margin-top: 30px;
}

/* Reset theme interference */
.hs-comments * {
    font-family: inherit !important;
}

/* Comment Title */
.hs-comments h3,
.hs-comments h2 {
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

/* Comment Textarea */
.hs-comments textarea {
    width: 100% !important;
    background: #f5f6f7 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-size: 14px !important;
    resize: vertical;
}

/* Inputs */
.hs-comments input[type="text"],
.hs-comments input[type="email"] {
    width: 100% !important;
    padding: 10px !important;
    background: #fafafa !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    margin-bottom: 10px;
}

/* Submit Button */
.hs-comments input[type="submit"] {
    background: #1877f2 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    cursor: pointer;
}

.hs-comments input[type="submit"]:hover {
    background: #166fe5 !important;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .hs-popup-content {
        flex-direction: column;
    }

    .hs-popup-left,
    .hs-popup-right {
        width: 100%;
        height: 50vh;
    }

    .hs-popup-right {
        padding: 30px 25px;
    }

    .hs-popup-right h2 {
        font-size: 22px;
    }
}

/* =========================================
   COMMENTS AREA WRAPPER – PREMIUM CLEAN
========================================= */

.hs-comments .comments-area-wrapper {
    background: #ffffff !important;
    padding: 25px 0 !important;
}

/* Comment Title */
.hs-comments .comments-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    color: #111 !important;
}

/* Comment List */
.hs-comments .comment-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Each Comment */
.hs-comments .comment {
    display: flex !important;
    gap: 15px !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid #eee !important;
}

/* Avatar */
.hs-comments .comment .avatar {
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
}

/* Comment Content */
.hs-comments .comment-body {
    flex: 1 !important;
}

/* Author Name */
.hs-comments .comment-author {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111 !important;
}

/* Date */
.hs-comments .comment-metadata {
    font-size: 12px !important;
    color: #888 !important;
    margin-bottom: 8px !important;
}

/* Comment Text */
.hs-comments .comment-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 0 !important;
}

/* Reply Link */
.hs-comments .reply a {
    font-size: 13px !important;
    color: #1877f2 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.hs-comments .reply a:hover {
    text-decoration: underline !important;
}

/* =========================
   LEAVE A REPLY FORM
========================= */

.hs-comments .comment-reply-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 25px 0 15px !important;
    color: #111 !important;
}

.hs-comments form.comment-form {
    margin-top: 10px !important;
}

/* Logged in message */
.hs-comments .logged-in-as {
    font-size: 13px !important;
    color: #666 !important;
    margin-bottom: 12px !important;
}

/* Labels */
.hs-comments label {
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
    display: block !important;
    color: #555 !important;
}

/* Textarea */
.hs-comments textarea {
    width: 100% !important;
    background: #f5f6f7 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-size: 14px !important;
}

/* Inputs */
.hs-comments input[type="text"],
.hs-comments input[type="email"] {
    width: 100% !important;
    background: #fafafa !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 10px !important;
}

/* Submit */
.hs-comments input[type="submit"] {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: 0.2s ease;
}

.hs-comments input[type="submit"]:hover {
    background: #333 !important;
}
