/* ==================== BLOG NEWS FEED V2 ==================== */
.blog-feed-section {
    background: linear-gradient(180deg, #f4f5f7 0%, #eaecf0 100%);
    padding: 40px 0;
}

/* Banner */
.blog-feed-banner {
    background: linear-gradient(135deg, #8d050a 0%, #b8070e 50%, #8d050a 100%);
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(141, 5, 10, 0.25);
    position: relative;
    overflow: hidden;
}
.blog-feed-banner::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}
.banner-text h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}
.banner-text p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin: 0;
}

/* Card */
.blog-feed-card {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: visible;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    z-index: 1;
}
.blog-feed-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    z-index: 10;
}

/* Header */
.blog-feed-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8d050a, #c40d15);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.author-meta h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.author-meta span {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.blog-feed-badge span {
    background: #fef2f2;
    color: #8d050a;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Image */
.blog-feed-image {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    position: relative;
}
.blog-feed-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.blog-feed-image:hover img {
    transform: scale(1.03);
}
.blog-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.blog-feed-card:hover .blog-image-overlay {
    opacity: 1;
}
.overlay-btn {
    background: #fff;
    color: #8d050a;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.overlay-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Content */
.blog-feed-content {
    padding: 20px 20px 12px;
}
.blog-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}
.blog-feed-title {
    font-size: 21px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.5;
    transition: color 0.2s;
}
.blog-feed-title:hover {
    color: #8d050a;
}
.blog-feed-excerpt {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 10px;
}
.blog-feed-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8d050a;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 0;
    transition: gap 0.3s ease;
}
.blog-feed-readmore i {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.blog-feed-readmore:hover {
    gap: 12px;
}
.blog-feed-readmore:hover i {
    transform: translateX(5px);
}

/* Interaction Summary Bar */
.blog-feed-interaction-bar {
    padding: 8px 20px;
    border-top: 1px solid #f3f4f6;
}
.interaction-summary {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.summary-item {
    font-size: 13px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.summary-item i {
    font-size: 12px;
}
.summary-divider {
    color: #d1d5db;
    font-size: 16px;
    line-height: 1;
}

/* Action Buttons */
.blog-feed-actions {
    padding: 4px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    gap: 4px;
}
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    border: none;
    background: none;
    flex: 1;
    transition: all 0.2s ease;
    position: relative;
}
.action-btn i {
    font-size: 18px;
    transition: transform 0.25s ease, color 0.2s ease;
}
.action-badge {
    font-size: 12px;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}
.action-btn:hover {
    background: #f9fafb;
    color: #374151;
}
.action-btn:hover i {
    transform: scale(1.15);
}
.like-btn:hover { color: #e41e3f; }
.like-btn:hover i { color: #e41e3f; }
.like-btn.liked { color: #e41e3f; }
.like-btn.liked i { color: #e41e3f; }
.like-btn.animating i {
    animation: heartPulse 0.4s ease;
}
@keyframes heartPulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.35); }
    50% { transform: scale(0.85); }
    100% { transform: scale(1); }
}
.comment-btn:hover { color: #2563eb; }
.comment-btn:hover i { color: #2563eb; }
.share-btn:hover { color: #059669; }
.share-btn:hover i { color: #059669; }

/* Share Dropdown */
.share-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}
.share-wrapper .action-btn {
    width: 100%;
}
.share-dropdown {
    display: none;
    position: absolute;
    right: 0;
    bottom: 100%;
    margin-bottom: 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 999;
    min-width: 230px;
    padding: 8px 0;
    border: 1px solid #e5e7eb;
    animation: dropdownIn 0.2s ease;
}
.share-dropdown.open {
    display: block;
}
@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.share-dropdown-header {
    padding: 10px 16px 6px;
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dropdown-divider {
    margin: 6px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}
.share-action {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: left;
    transition: background 0.15s;
}
.share-action:hover {
    background: #f9fafb;
}
.share-action i {
    width: 22px;
    font-size: 17px;
    text-align: center;
}
.share-action i.fa-facebook-f { color: #1877f2; }
.share-action i.fa-twitter { color: #111; }
.share-action i.fa-linkedin-in { color: #0a66c2; }
.share-action i.fa-whatsapp { color: #25d366; }
.share-action i.fa-link { color: #6b7280; }
.share-action.copied {
    color: #059669;
    font-weight: 600;
}
.share-action.copied i { color: #059669; }

/* Comment Section */
.blog-comment-section {
    padding: 0 20px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 16px 16px;
}
.comment-form-wrapper {
    display: flex;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: flex-start;
}
.comment-form-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.blog-comment-form {
    flex: 1;
}
.comment-form-inner {
    flex: 1;
}

/* Social Login Bar */
.social-login-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.social-login-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
}
.social-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.fb-login-btn { background: #1877f2; }
.google-login-btn { background: #ea4335; }
.social-login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #9ca3af;
    font-size: 12px;
}
.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Contact Row (phone/email) */
.comment-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-contact-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.comment-contact-input:focus {
    border-color: #8d050a;
    box-shadow: 0 0 0 3px rgba(141, 5, 10, 0.1);
}
.contact-or {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

/* Provider Badge */
.comment-provider-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 4px;
}
.provider-facebook { background: #1877f2; color: #fff; }
.provider-google { background: #ea4335; color: #fff; }
.comment-provider-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* Detail page social login specifics */
.detail-cf-inner {
    flex: 1;
}
.comment-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.comment-name-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.comment-name-input:focus {
    border-color: #8d050a;
    box-shadow: 0 0 0 3px rgba(141, 5, 10, 0.1);
}
.comment-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    min-height: 42px;
}
.comment-textarea:focus {
    border-color: #8d050a;
    box-shadow: 0 0 0 3px rgba(141, 5, 10, 0.1);
}
.comment-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
}
.comment-submit-btn {
    background: #8d050a;
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.comment-submit-btn:hover {
    background: #a0060c;
    box-shadow: 0 4px 12px rgba(141, 5, 10, 0.3);
}
.comment-cancel-btn {
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.comment-cancel-btn:hover {
    background: #e5e7eb;
}

/* Comments List */
.blog-comments-list {
    padding: 8px 0;
}
.blog-comment-item {
    display: flex;
    gap: 10px;
    padding: 12px 0;
}
.comment-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8d050a, #c40d15);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.comment-body {
    flex: 1;
    min-width: 0;
}
.comment-header {
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-header strong {
    font-size: 13px;
    color: #1a1a1a;
}
.comment-time {
    font-size: 11px;
    color: #9ca3af;
}
.comment-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 6px;
    word-break: break-word;
}
.reply-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.reply-btn::before {
    content: '\f3e5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 700;
    font-size: 10px;
}
.reply-btn:hover {
    color: #8d050a;
}
.comment-replies {
    margin-left: 46px;
    margin-top: 6px;
    padding-left: 14px;
    border-left: 2px solid #e5e7eb;
}
.reply-form {
    margin-top: 8px;
}
.loading-comments {
    text-align: center;
    color: #6b7280;
    padding: 20px;
    font-size: 13px;
}
.loading-comments i {
    margin-right: 5px;
}

/* Pagination */
.blog-pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 20px 0;
}

.blog-pagination-wrapper nav {
    display: flex;
    justify-content: center;
    margin: 0;
}

.blog-pagination-wrapper .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.blog-pagination-wrapper .pagination .page-item {
    margin: 0;
    border-radius: 0;
}

.blog-pagination-wrapper .pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 0;
    line-height: 1.5;
    position: relative;
    float: none;
}

.blog-pagination-wrapper .pagination .page-link:hover {
    background: #fef2f2;
    border-color: #8d050a;
    color: #8d050a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 5, 10, 0.15);
    z-index: 2;
}

.blog-pagination-wrapper .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #8d050a, #c40d15);
    border-color: #8d050a;
    color: #fff;
    box-shadow: 0 4px 12px rgba(141, 5, 10, 0.3);
    z-index: 3;
}

.blog-pagination-wrapper .pagination .page-item.disabled .page-link {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.blog-pagination-wrapper .pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}
.sidebar-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card h4 i {
    color: #8d050a;
    font-size: 15px;
}

/* Search */
.sidebar-search .search-input-group {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.sidebar-search .search-input-group:focus-within {
    border-color: #8d050a;
}
.sidebar-search input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}
.sidebar-search button {
    background: #8d050a;
    color: #fff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    transition: background 0.2s;
}
.sidebar-search button:hover {
    background: #a0060c;
}

/* Sidebar Posts */
.sidebar-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
    border-radius: 8px;
    padding: 10px;
    margin: 0 -10px;
}
.sidebar-post:hover {
    background: #f9fafb;
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-img img {
    width: 75px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.sidebar-post:hover .sidebar-post-img img {
    transform: scale(1.05);
}
.sidebar-post-date {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
}
.sidebar-post-info a {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
    display: block;
}
.sidebar-post-info a:hover {
    color: #8d050a;
}

/* Sidebar Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-categories li {
    display: block;
}
.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}
.sidebar-categories li a i {
    font-size: 10px;
    color: #d1d5db;
    transition: color 0.2s, transform 0.2s;
}
.sidebar-categories li a:hover {
    background: #fef2f2;
    color: #8d050a;
}
.sidebar-categories li a:hover i {
    color: #8d050a;
    transform: translateX(3px);
}
.sidebar-categories li a span {
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ==================== BLOG DETAIL PAGE ==================== */
.blog-detail-wrapper {
    background: #f4f5f7;
    padding: 30px 0 50px;
}
.blog-detail-wrapper .col-lg-8 {
    padding-right: 30px;
}

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    flex-wrap: wrap;
}
.blog-breadcrumb a {
    color: #8d050a;
    font-weight: 500;
}
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-breadcrumb .separator {
    color: #d1d5db;
    font-size: 10px;
}
.blog-breadcrumb .current {
    color: #6b7280;
    font-weight: 500;
}

/* Article Card */
.blog-detail-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}
.detail-hero-image {
    position: relative;
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.detail-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.detail-image-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    display: flex;
    gap: 12px;
}
.detail-meta-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Article Header */
.detail-article-header {
    padding: 28px 30px 0;
}
.detail-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.detail-author-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8d050a, #c40d15);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}
.detail-author-info strong {
    font-size: 15px;
    color: #111827;
    display: block;
}
.detail-publish-info {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}
.detail-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Content */
.detail-content {
    padding: 24px 30px;
    font-size: 16px;
    color: #374151;
    line-height: 1.85;
}
.detail-content h2,
.detail-content h3,
.detail-content h4 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #111827;
}
.detail-content h2 { font-size: 24px; }
.detail-content h3 { font-size: 20px; }
.detail-content p {
    margin-bottom: 18px;
    text-align: left;
}
.detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}
.detail-content blockquote {
    border-left: 4px solid #8d050a;
    padding: 14px 20px;
    margin: 20px 0;
    background: #fef2f2;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #374151;
}
.detail-content ul, .detail-content ol {
    padding-left: 20px;
    margin-bottom: 18px;
}
.detail-content li {
    display: list-item;
    margin-bottom: 6px;
}

/* Stats Bar */
.detail-stats-bar {
    display: flex;
    gap: 24px;
    padding: 16px 30px;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}
.detail-stat-item {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}
.detail-stat-item i {
    font-size: 14px;
    color: #9ca3af;
}

/* Action Bar */
.detail-action-bar {
    display: flex;
    gap: 4px;
    padding: 8px 20px 14px;
    align-items: center;
    overflow: visible;
}
.detail-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    border: none;
    background: none;
    flex: 1;
    transition: all 0.2s;
}
.detail-action-btn i { font-size: 18px; transition: transform 0.25s; }
.detail-action-btn:hover { background: #f9fafb; color: #374151; }
.detail-action-btn:hover i { transform: scale(1.15); }
.detail-like-btn:hover { color: #e41e3f; }
.detail-like-btn:hover i { color: #e41e3f; }
.detail-like-btn.liked { color: #e41e3f; }
.detail-like-btn.liked i { color: #e41e3f; }
.detail-like-btn.animating i { animation: heartPulse 0.4s ease; }
.detail-scroll-comment:hover { color: #2563eb; }
.detail-scroll-comment:hover i { color: #2563eb; }
.detail-share-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.detail-share-wrapper .detail-action-btn { width: 100%; }
.detail-share-btn:hover { color: #059669; }
.detail-share-btn:hover i { color: #059669; }

/* Share Dropdown */
.detail-share-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    min-width: 220px;
    padding: 8px 0;
    border: 1px solid #e5e7eb;
    animation: dropdownIn 0.2s ease;
}
.detail-share-dropdown.open { display: block; }
.share-dd-header {
    padding: 10px 16px 6px;
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.share-dd-divider { margin: 6px 0; border: none; border-top: 1px solid #e5e7eb; }
.share-dd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: left;
    transition: background 0.15s;
}
.share-dd-item:hover { background: #f9fafb; }
.share-dd-item i { width: 22px; font-size: 17px; text-align: center; }
.share-dd-item.copied { color: #059669; font-weight: 600; }
.share-dd-item.copied i { color: #059669; }

/* Comments Card */
.detail-comments-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}
.detail-comments-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f3f4f6;
}
.detail-comments-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.detail-comment-count-badge {
    font-size: 14px;
    background: #f3f4f6;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #6b7280;
}

/* Comment Form */
.detail-comment-form-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start;
}
.detail-cf-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}
.detail-comment-form { flex: 1; }
.detail-cf-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.detail-cf-name {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.detail-cf-name:focus {
    border-color: #8d050a;
    box-shadow: 0 0 0 3px rgba(141,5,10,0.1);
}
.detail-cf-text {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    resize: none;
    outline: none;
    min-height: 44px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.detail-cf-text:focus {
    border-color: #8d050a;
    box-shadow: 0 0 0 3px rgba(141,5,10,0.1);
}
.detail-cf-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
}
.detail-cf-submit {
    background: #8d050a;
    color: #fff;
    border: none;
    padding: 9px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.detail-cf-submit:hover {
    background: #a0060c;
    box-shadow: 0 4px 12px rgba(141,5,10,0.3);
}
.detail-cf-cancel {
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.detail-no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}
.detail-no-comments i {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}
.detail-no-comments p { margin: 0; font-size: 15px; color: #9ca3af; text-align: center; }

/* Detail Comments List */
.detail-comments-list {
    padding-top: 8px;
}

/* Sidebar Author Card */
.sidebar-author-card {
    text-align: center;
    padding: 30px 24px !important;
}
.sidebar-author-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8d050a, #c40d15);
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    margin: 0 auto 12px;
}
.sidebar-author-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}
.sidebar-author-card > p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    text-align: center;
}
.author-card-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}
.acs-item strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}
.acs-item span {
    font-size: 12px;
    color: #9ca3af;
}

/* Share Widget */
.share-widget-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.sw-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 17px;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sw-btn:hover { transform: scale(1.12); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.sw-facebook { background: #1877f2; }
.sw-twitter { background: #111; }
.sw-linkedin { background: #0a66c2; }
.sw-whatsapp { background: #25d366; }
.sw-copy { background: #6b7280; }

/* ==================== MOBILE RESPONSIVE FIXES ==================== */
@media (max-width: 768px) {
    /* Blog feed wrapper */
    .blog-detail-wrapper .col-lg-8,
    .blog-feed-section .col-lg-8 {
        padding-right: 12px;
    }

    /* Cards */
    .blog-feed-card {
        border-radius: 12px;
        margin-bottom: 16px;
    }

    /* Header */
    .blog-feed-header {
        padding: 12px 14px;
    }
    .author-meta h5 {
        font-size: 14px;
    }
    .author-meta span {
        font-size: 11px;
    }
    .blog-feed-badge span {
        font-size: 10px;
        padding: 3px 10px;
    }

    /* Image */
    .blog-feed-image {
        max-height: 240px;
    }

    /* Content */
    .blog-feed-content {
        padding: 14px 14px 8px;
    }
    .blog-feed-title {
        font-size: 17px;
    }
    .blog-feed-excerpt {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Interaction Bar */
    .blog-feed-interaction-bar {
        padding: 6px 14px;
    }
    .summary-item {
        font-size: 11px;
    }

    /* Action Buttons */
    .blog-feed-actions {
        padding: 2px 6px 8px;
        gap: 2px;
    }
    .action-btn {
        padding: 8px 0;
        font-size: 12px;
        gap: 4px;
    }
    .action-btn i {
        font-size: 15px;
    }
    .action-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    .action-btn .action-label {
        display: none;
    }

    /* Share Dropdown */
    .share-dropdown {
        min-width: 180px;
        right: -40px;
    }

    /* Comment Section */
    .blog-comment-section {
        padding: 0 10px 10px;
    }
    .comment-form-wrapper {
        padding: 10px 0;
        gap: 8px;
    }
    .comment-form-avatar span {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Social Login Bar - Stack vertically */
    .social-login-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .social-login-label {
        font-size: 12px;
        text-align: center;
    }
    .social-btn {
        justify-content: center;
        padding: 8px 0;
        font-size: 12px;
        width: 100%;
    }

    /* Contact Row - Stack email above phone */
    .comment-contact-row {
        flex-direction: column;
        gap: 6px;
    }
    .contact-or {
        display: none;
    }
    .comment-contact-input {
        padding: 8px 12px;
        font-size: 13px;
        width: 100%;
    }

    /* Comment inputs */
    .comment-name-input {
        padding: 8px 12px;
        font-size: 13px;
    }
    .comment-textarea {
        padding: 8px 12px;
        font-size: 13px;
    }
    .comment-form-actions {
        justify-content: stretch;
    }
    .comment-submit-btn,
    .comment-cancel-btn {
        flex: 1;
        justify-content: center;
        padding: 9px 0;
        font-size: 13px;
    }

    /* Comments List */
    .blog-comment-item {
        gap: 6px;
        padding: 8px 0;
    }
    .comment-avatar span {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .comment-header strong {
        font-size: 12px;
    }
    .comment-time {
        font-size: 10px;
    }
    .comment-text {
        font-size: 13px;
    }
    .comment-replies {
        margin-left: 24px;
        padding-left: 8px;
    }

    /* Sidebar */
    .blog-sidebar {
        position: static;
        margin-top: 20px;
    }

    /* Pagination */
    .blog-pagination-wrapper {
        margin-top: 30px;
        padding: 16px 0;
    }

    .blog-pagination-wrapper .pagination {
        gap: 4px;
    }

    .blog-pagination-wrapper .pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 8px;
    }

    /* Banner */
    .blog-feed-banner {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .banner-text h3 {
        font-size: 18px;
    }
    .banner-text p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .action-btn {
        font-size: 11px;
        padding: 6px 0;
    }
    .action-btn i {
        font-size: 14px;
    }
    .action-badge {
        font-size: 10px;
        padding: 1px 5px;
    }

    .comment-submit-btn,
    .comment-cancel-btn {
        padding: 8px 0;
        font-size: 12px;
    }

    /* Blog Detail Page Mobile */
    .blog-detail-wrapper {
        padding: 15px 0 30px;
    }
    .blog-breadcrumb {
        margin-bottom: 10px;
        font-size: 11px;
    }
    .blog-detail-card {
        border-radius: 12px;
        margin-bottom: 16px;
    }
    .detail-hero-image {
        max-height: 220px;
    }
    .detail-article-header {
        padding: 16px 14px 0;
    }
    .detail-author-avatar span {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .detail-author-info strong {
        font-size: 13px;
    }
    .detail-publish-info {
        font-size: 11px;
    }
    .detail-title {
        font-size: 20px;
    }
    .detail-content {
        padding: 14px;
        font-size: 14px;
    }
    .detail-stats-bar {
        padding: 10px 14px;
        gap: 12px;
    }
    .detail-stat-item {
        font-size: 12px;
    }
    .detail-action-bar {
        padding: 4px 8px 10px;
    }
    .detail-action-btn {
        font-size: 12px;
        padding: 8px 0;
    }
    .detail-action-btn .detail-action-label {
        display: none;
    }
    .detail-comments-card {
        padding: 16px;
        border-radius: 12px;
    }
    .detail-comments-header h3 {
        font-size: 16px;
    }
    .detail-comment-form-wrapper {
        gap: 8px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }
    .detail-cf-avatar span {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .detail-cf-name,
    .detail-cf-text {
        padding: 8px 12px;
        font-size: 13px;
    }
    .detail-cf-submit {
        padding: 8px 16px;
        font-size: 13px;
    }
    .sidebar-author-avatar span {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    .detail-share-dropdown {
        right: -40px;
    }
}

@media (max-width: 576px) {
    .action-btn .action-label {
        display: none;
    }
}

/* Subscribe Sidebar */
.sidebar-subscribe-card {
    text-align: center;
    padding: 24px 20px;
    background: linear-gradient(135deg, #fef2f2, #faf5ff);
    border: 2px solid #fde8e8;
    border-radius: 16px;
}
.sidebar-subscribe-card .subscribe-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d71017, #e63946);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 6px 20px rgba(215,16,23,0.25);
}
.sidebar-subscribe-card .subscribe-icon-wrap i {
    font-size: 22px;
    color: #fff;
}
.sidebar-subscribe-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}
.sidebar-subscribe-card p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.5;
}
.subscribe-input-group {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}
.subscribe-input-group:focus-within {
    border-color: #d71017;
}
.subscribe-input-group input {
    flex: 1;
    border: none;
    padding: 11px 14px;
    font-size: 13px;
    outline: none;
    min-width: 0;
}
.subscribe-input-group button {
    background: linear-gradient(135deg, #d71017, #e63946);
    color: #fff;
    border: none;
    padding: 11px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.subscribe-input-group button:hover {
    background: linear-gradient(135deg, #b80d13, #cc2028);
}
</style>

