/* ============================================
   BLOG PAGES STYLES (Index & Detail)
   ============================================ */

/* Blog Page Index */
.blog-page {
    padding: 60px 0 80px;
    background: linear-gradient(
        180deg,
        var(--white) 0%,
        rgba(255, 99, 71, 0.02) 100%
    );
    min-height: 70vh;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 42px;
    font-family: var(--font-primary);
    font-weight: var(--font-extra-bold);
    color: var(--primary);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    color: var(--text-light);
    margin: 0;
}

/* Search Section */
.search-section {
    margin-bottom: 40px;
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1);
}

.search-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(
        135deg,
        var(--primary, #ff6347) 0%,
        #ff6347 100%
    );
    color: var(--white, #ffffff);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(255, 99, 71, 0.15);
}

/* Override untuk search-button dengan cta cta_ani */
.search-button.cta.cta_ani {
    padding: 12px 24px;
    border-radius: 25px;
}

.search-button.cta.cta_ani:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.3);
}

.clear-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.clear-search:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.category-filter-wrapper {
    margin-top: 15px;
}

.category-filter {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.category-filter:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1);
}

/* Blog List Item */
.blog-item-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.blog-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-item-image-link {
    display: block;
    height: 100%;
}

.blog-item-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(255, 99, 71, 0.05) 0%,
        rgba(255, 99, 71, 0.1) 100%
    );
}

.blog-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-item-card:hover .blog-item-image {
    transform: scale(1.1);
}

.blog-item-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.blog-item-badge.featured {
    background: linear-gradient(135deg, #ff6347 0%, #ff6347 100%);
    color: var(--white);
}

.blog-item-content {
    padding: 25px;
}

.blog-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
}

.blog-item-category {
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.blog-item-category:hover {
    background: rgba(255, 99, 71, 0.9);
    color: var(--white);
    text-decoration: none;
}

.blog-item-date {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-item-title {
    font-size: 24px;
    font-family: var(--font-primary);
    font-weight: var(--font-extra-bold);
    color: var(--primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.blog-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-item-title a:hover {
    color: rgba(255, 99, 71, 0.8);
}

.blog-item-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 10px 0;
    font-weight: var(--font-medium);
}

.blog-item-excerpt {
    font-size: 15px;
    color: var(--text-light);
    margin: 0 0 15px 0;
    line-height: 1.7;
}

.blog-item-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-light);
}

.blog-item-author,
.blog-item-reading-time,
.blog-item-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-item-author i,
.blog-item-reading-time i,
.blog-item-views i {
    color: var(--primary);
}

/* Blog Detail Page - Modern & Elegant */
.blog-detail-page {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Main Content Card - Centered & Elegant */
.blog-detail-card {
    background: #ffffff;
    padding: 50px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

/* Header - Modern & Elegant Style */
.blog-detail-header {
    position: relative;
    padding-bottom: 40px;
    margin-bottom: 50px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.blog-date-simple {
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(255, 99, 71, 0.85) 100%);
    color: var(--white);
    padding: 18px 12px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(255, 99, 71, 0.25);
}

.blog-month {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.blog-day {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.blog-header-content {
    margin-left: 120px;
    padding-top: 10px;
}

.blog-detail-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.12) 0%, rgba(255, 99, 71, 0.08) 100%);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.blog-detail-category:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 99, 71, 0.3);
}

.blog-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6347 0%, #ff6347 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}

.blog-detail-badge i {
    font-size: 12px;
}

.blog-detail-title {
    font-size: 48px;
    font-family: var(--font-primary);
    font-weight: var(--font-extra-bold);
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.blog-detail-subtitle {
    font-size: 22px;
    color: #4a4a4a;
    margin: 0 0 25px 0;
    font-weight: var(--font-medium);
    line-height: 1.6;
}

.blog-detail-meta-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a4a4a;
    font-size: 15px;
    font-weight: 500;
}

.meta-item i {
    font-size: 14px;
    color: var(--primary);
}

.blog-detail-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        rgba(255, 99, 71, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 16px;
    color: #000000;
    font-weight: 600;
}

.publish-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    font-size: 14px;
}

.publish-date i {
    font-size: 12px;
}

.blog-detail-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(255, 99, 71, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 99, 71, 0.1);
}

.stat-item i {
    color: var(--primary);
    font-size: 14px;
}

.stat-item span {
    font-weight: 500;
}

/* Content */
.blog-detail-content {
    margin: 50px 0;
    line-height: 1.9;
    font-size: 18px;
    color: #2d2d2d;
}

/* Hero Image */
.blog-detail-hero-image-wrapper {
    margin: 40px 0 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-detail-hero-image {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-detail-hero-image-wrapper:hover .blog-detail-hero-image {
    transform: scale(1.02);
}

.blog-detail-excerpt {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.05) 0%, rgba(255, 99, 71, 0.02) 100%);
    padding: 35px 40px;
    border-left: 5px solid var(--primary);
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(255, 99, 71, 0.08);
}

.blog-detail-excerpt .lead {
    font-size: 22px;
    color: #2d2d2d;
    margin: 0;
    font-weight: 500;
    line-height: 1.75;
    font-style: normal;
}

.blog-content-body {
    color: #2d2d2d;
}

.blog-content-body h1,
.blog-content-body h2,
.blog-content-body h3,
.blog-content-body h4 {
    color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 25px;
    font-family: var(--font-primary);
    font-weight: var(--font-extra-bold);
    line-height: 1.3;
}

.blog-content-body h2 {
    font-size: 36px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(255, 99, 71, 0.15);
}

.blog-content-body h3 {
    font-size: 28px;
}

.blog-content-body h4 {
    font-size: 24px;
}

.blog-content-body p {
    margin-bottom: 28px;
    line-height: 1.9;
}

.blog-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.blog-content-body img:hover {
    transform: scale(1.01);
}

.blog-content-body ul,
.blog-content-body ol {
    margin: 30px 0;
    padding-left: 40px;
}

.blog-content-body li {
    margin-bottom: 15px;
    line-height: 1.85;
}

.blog-content-body a {
    color: var(--primary);
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-content-body a:hover {
    color: rgba(255, 99, 71, 0.8);
    text-decoration: none;
}

.blog-content-body blockquote {
    border-left: 5px solid var(--primary);
    padding: 25px 30px;
    margin: 40px 0;
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.06) 0%, rgba(255, 99, 71, 0.03) 100%);
    border-radius: 12px;
    font-style: italic;
    color: #2d2d2d;
    font-size: 20px;
    line-height: 1.8;
    box-shadow: 0 4px 16px rgba(255, 99, 71, 0.08);
}

/* Tags */
.blog-detail-tags {
    padding: 30px;
    background: linear-gradient(
        135deg,
        rgba(255, 99, 71, 0.03) 0%,
        rgba(255, 99, 71, 0.01) 100%
    );
    border-radius: 16px;
    margin-top: 40px;
    border: 1px solid rgba(255, 99, 71, 0.1);
}

.tags-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags-title i {
    color: var(--primary);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-badge {
    background: var(--white);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(255, 99, 71, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tag-badge:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 99, 71, 0.3);
    text-decoration: none;
}

/* Share Section - Modern & Elegant */
.blog-detail-share-simple {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.04) 0%, rgba(255, 99, 71, 0.02) 100%);
    border-radius: 16px;
    border: 2px solid rgba(255, 99, 71, 0.1);
}

.share-label {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

.share-buttons-simple {
    display: flex;
    gap: 12px;
    align-items: center;
}

.share-btn-simple {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.share-btn-simple.facebook {
    color: #ff6347;
}

.share-btn-simple.facebook:hover {
    background: #ff6347;
    color: var(--white);
    border-color: #ff6347;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 99, 71, 0.3);
}

.share-btn-simple.twitter {
    color: #ff6347;
}

.share-btn-simple.twitter:hover {
    background: #ff6347;
    color: var(--white);
    border-color: #ff6347;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 99, 71, 0.3);
}

.share-btn-simple.whatsapp {
    color: #ff6347;
}

.share-btn-simple.whatsapp:hover {
    background: #ff6347;
    color: var(--white);
    border-color: #ff6347;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 99, 71, 0.3);
}

.share-btn-simple.email {
    color: var(--primary);
}

.share-btn-simple.email:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 99, 71, 0.3);
}

.share-btn-simple i {
    font-size: 16px;
}

/* Related Blogs */
.related-blogs-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: var(--font-extra-bold);
    color: #000000;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary);
    font-size: 28px;
}

.section-subtitle {
    color: #000000;
    font-size: 16px;
    margin: 0;
}

.related-blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.related-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.related-blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-blog-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(255, 99, 71, 0.1) 0%,
        rgba(255, 99, 71, 0.05) 100%
    );
}

.related-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 99, 71, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.related-blog-overlay i {
    color: var(--white);
    font-size: 32px;
    transform: translateX(-10px);
    transition: transform 0.4s ease;
}

.related-blog-card:hover .related-blog-image {
    transform: scale(1.15);
}

.related-blog-card:hover .related-blog-overlay {
    opacity: 1;
}

.related-blog-card:hover .related-blog-overlay i {
    transform: translateX(0);
}

.related-blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-blog-category {
    display: inline-block;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        rgba(255, 99, 71, 0.9) 100%
    );
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}

.related-blog-title {
    font-size: 19px;
    font-weight: var(--font-extra-bold);
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    transition: color 0.3s ease;
}

.related-blog-card:hover .related-blog-title {
    color: var(--primary);
}

.related-blog-meta {
    font-size: 13px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.related-blog-meta i {
    font-size: 11px;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sidebar-widget-title {
    font-size: 22px;
    font-weight: var(--font-extra-bold);
    color: #000000;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 99, 71, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-widget-title i {
    color: var(--primary);
    font-size: 20px;
}

.featured-blogs-list,
.recent-blogs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-blog-item,
.recent-blog-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-blog-item:last-child,
.recent-blog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.featured-blog-link,
.recent-blog-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.featured-blog-link:hover,
.recent-blog-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateX(5px);
}

.recent-blog-thumb-wrapper,
.recommended-blog-thumb-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.recommended-blog-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-blog-thumb,
.recent-blog-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-blog-link:hover .featured-blog-thumb,
.recent-blog-link:hover .recent-blog-thumb {
    transform: scale(1.1);
}

.recent-blog-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.featured-blog-title,
.recent-blog-title {
    font-size: 15px;
    font-weight: var(--font-extra-bold);
    color: #000000;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.featured-blog-link:hover .featured-blog-title,
.recent-blog-link:hover .recent-blog-title {
    color: var(--primary);
}

.recent-blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    font-size: 12px;
}

.recent-blog-date i {
    font-size: 11px;
}

/* Recommended Blogs */
.recommended-blogs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommended-blog-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #000000;
    transition: all 0.3s ease;
}

.recommended-blog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recommended-blog-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.recommended-blog-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateX(5px);
}

.recommended-blog-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.recommended-blog-category {
    display: inline-block;
    background: rgba(255, 99, 71, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-bottom: 8px;
}

.recommended-blog-title {
    font-size: 15px;
    font-weight: var(--font-extra-bold);
    color: #000000;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.recommended-blog-link:hover .recommended-blog-title {
    color: var(--primary);
}

.recommended-blog-date {
    color: #000000;
    font-size: 12px;
}

.blog-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-categories-list li {
    margin-bottom: 10px;
}

.blog-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 99, 71, 0.03);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-weight: var(--font-medium);
}

.blog-categories-list a:hover,
.blog-categories-list a.active {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    transform: translateX(5px);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-wrapper .pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .pagination li {
    display: inline-block;
}

.pagination-wrapper .pagination li a,
.pagination-wrapper .pagination li span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    font-weight: var(--font-medium);
}

.pagination-wrapper .pagination li.active span,
.pagination-wrapper .pagination li a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-wrapper .pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-icon {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.empty-state-title {
    font-size: 28px;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 15px 0;
}

.empty-state-text {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 30px 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(
        135deg,
        var(--primary, #ff6347) 0%,
        #ff6347 100%
    );
    color: var(--white, #ffffff);
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(255, 99, 71, 0.15);
}

/* Override untuk btn-back dengan cta cta_ani */
.btn-back.cta.cta_ani {
    padding: 12px 24px;
    border-radius: 25px;
}

.btn-back.cta.cta_ani:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-detail-page {
        padding: 50px 0 70px;
    }

    .blog-detail-card {
        padding: 40px;
    }

    .blog-detail-title {
        font-size: 42px;
    }

    .blog-detail-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .blog-detail-page {
        padding: 40px 0 60px;
    }

    .blog-detail-card {
        padding: 35px;
        border-radius: 20px;
    }

    .blog-header-content {
        margin-left: 0;
        padding-top: 0;
    }

    .blog-date-simple {
        position: static;
        margin-bottom: 25px;
        display: inline-block;
    }

    .blog-sidebar {
        position: static;
        margin-top: 60px;
        top: 0;
    }

    .blog-detail-title {
        font-size: 36px;
    }

    .blog-detail-subtitle {
        font-size: 19px;
    }

    .section-title {
        font-size: 28px;
    }

    .blog-detail-hero-image-wrapper {
        margin: 35px 0 40px;
    }

    .page-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .blog-detail-page {
        padding: 30px 0 50px;
    }

    .blog-detail-card {
        padding: 25px;
        border-radius: 16px;
    }

    .blog-page {
        padding: 40px 0 60px;
    }

    .page-title {
        font-size: 30px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .search-input-wrapper {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
        justify-content: center;
    }

    .blog-date-simple {
        width: 75px;
        padding: 14px 10px;
        margin-bottom: 20px;
    }

    .blog-month {
        font-size: 13px;
    }

    .blog-day {
        font-size: 30px;
    }

    .blog-detail-title {
        font-size: 30px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .blog-detail-subtitle {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .blog-detail-meta-simple {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 18px;
        padding-top: 18px;
    }

    .blog-header-content {
        margin-left: 0;
    }

    .blog-detail-content {
        font-size: 17px;
        line-height: 1.85;
    }

    .blog-detail-hero-image-wrapper {
        margin: 25px 0 35px;
    }

    .blog-detail-hero-image {
        max-height: 400px;
    }

    .blog-detail-share-simple {
        margin-top: 40px;
        padding: 25px;
    }

    .blog-comments-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .related-blogs-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .blog-detail-excerpt {
        padding: 28px 32px;
    }

    .blog-detail-excerpt .lead {
        font-size: 19px;
    }

    .excerpt-icon {
        left: 15px;
        top: 25px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .blog-content-body h2 {
        font-size: 28px;
    }

    .blog-content-body h3 {
        font-size: 24px;
    }

    .blog-content-body h4 {
        font-size: 20px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 26px;
        flex-direction: column;
        gap: 8px;
    }

    .related-blog-image-wrapper {
        height: 180px;
    }

    .recent-blog-thumb-wrapper,
    .recommended-blog-thumb-wrapper {
        width: 90px;
        height: 70px;
    }

    .recent-blog-title,
    .recommended-blog-title {
        font-size: 14px;
    }
}


@media (max-width: 576px) {
    .blog-detail-page {
        padding: 25px 0 40px;
    }

    .blog-detail-card {
        padding: 20px;
        border-radius: 12px;
    }

    .page-title {
        font-size: 26px;
    }

    .blog-detail-header {
        padding-bottom: 30px;
        margin-bottom: 35px;
    }

    .blog-date-simple {
        width: 65px;
        padding: 12px 8px;
        margin-bottom: 15px;
    }

    .blog-month {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .blog-day {
        font-size: 26px;
    }

    .blog-detail-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .blog-detail-subtitle {
        font-size: 17px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .blog-detail-category {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 15px;
    }

    .blog-detail-meta-simple {
        gap: 12px;
        margin-top: 15px;
        padding-top: 15px;
    }

    .meta-item {
        font-size: 14px;
    }

    .blog-detail-share-simple {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 35px;
        padding: 20px;
    }

    .share-buttons-simple {
        width: 100%;
        justify-content: flex-start;
    }

    .blog-detail-hero-image-wrapper {
        margin: 20px 0 30px;
    }

    .blog-detail-hero-image {
        max-height: 280px;
    }

    .blog-content-body {
        font-size: 16px;
        line-height: 1.8;
    }

    .blog-detail-excerpt {
        padding: 20px 25px;
    }

    .blog-detail-excerpt .lead {
        font-size: 18px;
        line-height: 1.7;
    }

    .blog-content-body h2 {
        font-size: 24px;
    }

    .blog-content-body h3 {
        font-size: 20px;
    }

    .blog-content-body h4 {
        font-size: 18px;
    }

    .recent-blog-thumb-wrapper,
    .recommended-blog-thumb-wrapper {
        width: 80px;
        height: 65px;
    }

    .recent-blog-title,
    .recommended-blog-title {
        font-size: 14px;
    }

    .sidebar-widget {
        margin-bottom: 25px;
        padding: 25px;
    }

    .sidebar-widget-title {
        font-size: 19px;
        margin-bottom: 20px;
    }

    .blog-comments-section {
        margin-top: 40px;
        padding-top: 35px;
    }

    .related-blogs-section {
        margin-top: 40px;
        padding-top: 35px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .blog-detail-page {
        padding: 20px 0 35px;
    }

    .blog-detail-card {
        padding: 18px;
    }

    .blog-detail-title {
        font-size: 24px;
    }

    .blog-detail-subtitle {
        font-size: 16px;
    }

    .blog-date-simple {
        width: 60px;
        padding: 10px 6px;
    }

    .blog-month {
        font-size: 11px;
    }

    .blog-day {
        font-size: 24px;
    }

    .blog-detail-hero-image {
        max-height: 220px;
    }

    .share-btn-simple {
        width: 40px;
        height: 40px;
    }

    .share-btn-simple i {
        font-size: 14px;
    }

    .recent-blog-thumb-wrapper,
    .recommended-blog-thumb-wrapper {
        width: 75px;
        height: 60px;
    }

    .blog-detail-excerpt {
        padding: 18px 20px;
    }

    .blog-detail-excerpt .lead {
        font-size: 17px;
    }

    .section-title {
        font-size: 22px;
    }
}

/* Comments Section */
.blog-comments-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.comments-header {
    margin-bottom: 30px;
}

.comments-title {
    font-size: 28px;
    font-weight: var(--font-extra-bold);
    color: #000000;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.comments-title i {
    color: var(--primary);
    font-size: 24px;
}

.comments-count {
    color: #000000;
    font-weight: normal;
    font-size: 20px;
}

/* Comment Form */
.comment-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-form-title {
    font-size: 20px;
    font-weight: var(--font-extra-bold);
    color: #000000;
    margin-bottom: 25px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form .form-label {
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    display: block;
}

.comment-form .form-control {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1);
    outline: none;
}

.reply-to-info {
    margin-bottom: 20px;
}

.reply-to-info .alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    margin: 0;
}

.btn-close-reply {
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.btn-close-reply:hover {
    color: #000000;
}

.btn-submit-comment {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        rgba(255, 99, 71, 0.9) 100%
    );
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 99, 71, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit-comment:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 99, 71, 0.9) 0%,
        var(--primary) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.4);
}

.btn-submit-comment:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Comments List */
.comments-list {
    margin-top: 30px;
}

.comment-item {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment-header {
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        rgba(255, 99, 71, 0.8) 100%
    );
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.comment-author-info {
    flex: 1;
}

.comment-author-name {
    display: block;
    font-size: 16px;
    color: #000000;
    margin-bottom: 4px;
}

.comment-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    font-size: 13px;
}

.comment-body {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #000000;
}

.comment-body p {
    margin: 0;
}

.comment-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-reply {
    background: none;
    border: 2px solid rgba(255, 99, 71, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-reply:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Comment Replies */
.comment-replies {
    margin-top: 20px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 3px solid rgba(255, 99, 71, 0.1);
}

.comment-reply {
    background: rgba(255, 99, 71, 0.02);
    margin-bottom: 15px;
}

.no-comments {
    text-align: center;
    padding: 40px 20px;
}

.no-comments i {
    font-size: 48px;
    color: #000000;
    margin-bottom: 15px;
    display: block;
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comment-form-wrapper {
        padding: 20px;
    }

    .comment-item {
        padding: 20px;
    }

    .comment-replies {
        margin-left: 10px;
        padding-left: 15px;
    }

    .comments-title {
        font-size: 24px;
    }
}
