/* ============================================================
   Single Fatwa Page — Sidebar + Comments
   ============================================================ */

/* Recommended Sidebar */
.fatwa-single-sidebar {
    position: sticky;
    top: 100px;
}

.fatwa-rec-widget {
    background:#eef0f3;
    padding: 20px;
    margin-bottom: 24px;
}

.fatwa-rec-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #132337;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f7c55a;
}

.fatwa-rec-title svg {
    color: #f7c55a;
}

/* Recommended list */
.fatwa-rec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fatwa-rec-item {
    margin-bottom: 4px;
}

.fatwa-rec-link {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all .2s ease;
    align-items: flex-start;
}

.fatwa-rec-link:hover {
    background: #f8fafc;
}

.fatwa-rec-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #132337;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.fatwa-rec-link:hover .fatwa-rec-number {
    background: #132337;
    color: #fff;
}

.fatwa-rec-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: #475569;
    font-weight: 500;
    padding-top: 4px;
}

.fatwa-rec-link:hover .fatwa-rec-text {
    color: #132337;
}

/* Category list */
.fatwa-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fatwa-cat-list li {
    margin-bottom: 4px;
}

.fatwa-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: #475569;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 500;
    transition: all .2s ease;
}

.fatwa-cat-list a:hover {
    background: #132337;
    color: #fff !important;
}

.fatwa-cat-count {
    font-size: 12px;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 700;
}

.fatwa-cat-list a:hover .fatwa-cat-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ============================================================
   Comments (Shared between fatwa + default posts)
   ============================================================ */
.fatwa-single .comments-area {
    margin-top: 40px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef0f3;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.fatwa-single .comments-title,
.fatwa-single #reply-title {
    font-size: 20px;
    font-weight: 700;
    color: #132337;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f7c55a;
    display: inline-block;
}

.fatwa-single .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.fatwa-single .comment {
    padding: 20px 0;
    border-bottom: 1px solid #f1f3f5;
}

.fatwa-single .comment:last-child {
    border-bottom: none;
}

.fatwa-single .comment-body {
    display: flex;
    gap: 16px;
}

.fatwa-single .comment .avatar {
    border-radius: 50%;
    border: 2px solid #f7c55a;
    flex-shrink: 0;
}

.fatwa-single .comment-content {
    flex: 1;
}

.fatwa-single .comment-author {
    font-size: 15px;
    font-weight: 700;
    color: #132337;
    margin-bottom: 2px;
}

.fatwa-single .comment-meta {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.fatwa-single .comment-meta a {
    color: #94a3b8;
    text-decoration: none;
}

.fatwa-single .comment-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 8px;
}

.fatwa-single .reply {
    margin-top: 8px;
}

.fatwa-single .reply a {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1a6dd6;
    text-decoration: none;
    padding: 4px 14px;
    border-radius: 100px;
    background: #eef6ff;
    transition: all .2s ease;
}

.fatwa-single .reply a:hover {
    background: #1a6dd6;
    color: #fff;
}

.fatwa-single .comment-respond {
    background: #f8fafc;
    border-radius: 12px;
    padding: 28px;
    margin-top: 24px;
}

.fatwa-single .comment-form p {
    margin-bottom: 16px;
}

.fatwa-single .comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.fatwa-single .comment-form input[type="text"],
.fatwa-single .comment-form input[type="email"],
.fatwa-single .comment-form input[type="url"],
.fatwa-single .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #132337;
    outline: none;
    transition: border-color .2s ease;
}

.fatwa-single .comment-form input:focus,
.fatwa-single .comment-form textarea:focus {
    border-color: #f7c55a;
}

.fatwa-single .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.fatwa-single .comment-form input[type="submit"],
.fatwa-single .comment-form .submit {
    background: #132337;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.fatwa-single .comment-form input[type="submit"]:hover,
.fatwa-single .comment-form .submit:hover {
    background: #f7c55a;
    color: #111;
    transform: translateY(-2px);
}

.fatwa-single .comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fatwa-single .comment-form .comment-form-cookies-consent label {
    font-size: 14px;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .fatwa-single-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .fatwa-single .comments-area {
        padding: 24px 20px;
    }

    .fatwa-single .comment-respond {
        padding: 20px;
    }
}