/* ==========================================
   Blog Detail Page - Oramet Brand
   ========================================== */

:root {
    /* Brand Colors - Oramet */
    --primary-color: #F5A623;
    --primary-dark: #D68910;
    --primary-light: #FFB84D;
    --secondary-color: #2E5090;
    --secondary-dark: #1F3A6B;
    --secondary-light: #4A6FB5;
    --accent-color: #F5A623;

    /* Neutral Colors */
    --dark-bg: #000000;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2E5090;
    --text-light: #6c757d;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ==========================================
   Blog Detail Hero Section
   Professional Clean Layout
   ========================================== */
.blog-detail-hero {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    /* background: url('../assets/images/3d-check-product-free-png.png') center/contain no-repeat; */
    /* background-color: var(--secondary-dark); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 0 90px;
    overflow: hidden;
}

/* Dark overlay for readability */
.blog-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
    );
    z-index: 1;
}

/* Ensure content stays above overlay */
.blog-detail-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.6);
}

/* Category badge */
.category-badge {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

/* Title */
.blog-detail-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

/* Meta layout */
.blog-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Author */
.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.author-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* Meta icons */
.meta-info {
    display: flex;
    gap: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.meta-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-info i {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 34px;
    }

    .blog-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}






/* ==========================================
   Featured Image
   ========================================== */
.featured-image-section {
    padding: 40px 0;
    background: var(--light-bg);
}

.featured-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ==========================================
   Blog Content
   ========================================== */
.blog-content-section {
    padding: 60px 0;
    background: var(--white);
}

.blog-article {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

.lead-paragraph {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid var(--primary-color);
}

.blog-article h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 45px 0 25px;
    line-height: 1.3;
}

.blog-article h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 35px 0 20px;
}

.blog-article h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.blog-article p {
    margin-bottom: 25px;
}

.blog-quote {
    background: linear-gradient(135deg, rgba(46, 80, 144, 0.05) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 10px;
    font-size: 19px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
}

.blog-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-color);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefit-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.benefit-icon i {
    font-size: 30px;
    color: var(--white);
}

.benefit-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 12px;
}

.benefit-card p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* Styled List */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.styled-list li {
    padding-left: 35px;
    margin-bottom: 15px;
    position: relative;
}

.styled-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 16px;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(46, 80, 144, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin: 35px 0;
    display: flex;
    gap: 20px;
}

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 24px;
    color: var(--white);
}

.info-content h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 0 0 10px;
}

.info-content p {
    margin: 0;
    font-size: 15px;
}

/* Conclusion Box */
.conclusion-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
}

.conclusion-box h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 20px;
}

.conclusion-box p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Tags */
.blog-tags {
    padding-top: 40px;
    margin-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.blog-tags h5 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-badge {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.tag-badge:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Share Section */
.share-section {
    padding-top: 35px;
    margin-top: 35px;
    border-top: 2px solid var(--primary-light);
    text-align: center;
}

.share-section h5 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

/* Share Buttons Layout */
.share-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Base Button Style */
.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    background: linear-gradient(
        135deg,
        var(--secondary-color),
        var(--primary-color)
    );
}

/* Alternate style for variety */
.share-btn:nth-child(even) {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-dark)
    );
}

/* Hover Effect */
.share-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--secondary-dark)
    );
}

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

.sidebar-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.sidebar-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* Author Card */
.author-card {
    text-align: center;
}

.author-large-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
    object-fit: cover;
}

.author-header h4 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.author-bio {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.author-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

.author-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Related Posts */
.related-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-post-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-post-content h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-post-content h5 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.related-post-content h5 a:hover {
    color: var(--primary-color);
}

.related-date {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-date i {
    color: var(--primary-color);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.newsletter-icon i {
    font-size: 24px;
}

.newsletter-widget h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-widget p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.sidebar-newsletter-form input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.btn-newsletter {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-newsletter:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Popular Tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cloud-tag {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.cloud-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ==========================================
   More Articles Section
   ========================================== */
.more-articles-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 0 auto;
    border-radius: 2px;
}

.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.article-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.article-content {
    padding: 25px;
}

.article-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.article-content h4 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.article-content h4 a:hover {
    color: var(--primary-color);
}

.article-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.article-link:hover {
    color: var(--primary-dark);
}

.article-link i {
    transition: var(--transition-fast);
}

.article-link:hover i {
    transform: translateX(5px);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .blog-detail-title {
        font-size: 36px;
    }

    .featured-image {
        height: 400px;
    }

    .blog-sidebar {
        position: relative;
        top: 0;
        margin-top: 40px;
    }

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

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

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

    .blog-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-info {
        flex-wrap: wrap;
    }

    .featured-image {
        height: 300px;
    }

    .blog-article {
        font-size: 16px;
    }

    .lead-paragraph {
        font-size: 18px;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .more-articles-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .blog-detail-title {
        font-size: 24px;
    }

    .category-badge {
        font-size: 12px;
        padding: 8px 20px;
    }

    .featured-image {
        height: 250px;
    }

    .blog-content-section {
        padding: 40px 0;
    }

    .blog-article h2 {
        font-size: 22px;
        margin: 35px 0 20px;
    }

    .blog-quote {
        padding: 20px;
        font-size: 16px;
    }

    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .conclusion-box {
        padding: 30px 20px;
    }

    .conclusion-box h3 {
        font-size: 22px;
    }

    .share-section,
    .blog-tags {
        padding-top: 25px;
        margin-top: 25px;
    }

    .sidebar-card {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 24px;
    }
}
