/* Blog Single Page Styles - Enhanced & Responsive */

.blog-single-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

/* Hero Image */
.blog-hero-image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-main-image:hover {
    transform: scale(1.02);
}

/* Article Container */
.blog-article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #ffffff;
}

/* Article Header */
.blog-article-header {
    margin-bottom: 4rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 3rem;
}

.blog-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f4650f 0%, #ff6b35 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(244, 101, 15, 0.3);
}

.blog-main-title {
    font-family: "Poppins", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #242424;
    margin-bottom: 2.5rem;
    text-align: left;
    background: linear-gradient(135deg, #242424 0%, #f4650f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-meta-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.blog-meta-item i {
    color: #f4650f;
    font-size: 1.1rem;
}

.blog-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #f4650f;
    object-fit: cover;
}

/* Content Text */
.blog-content-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #242424;
    text-align: left;
}

.blog-intro-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #495057;
    font-style: italic;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(244, 101, 15, 0.08) 0%, rgba(2, 114, 185, 0.08) 100%);
    border-radius: 15px;
    border-left: 5px solid #f4650f;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-intro-text::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: #f4650f;
    opacity: 0.3;
    font-family: serif;
}

.blog-content-text p {
    margin-bottom: 1.8rem;
    text-align: justify;
}

.blog-content-text h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #242424;
    margin: 4rem 0 2rem;
    border-left: 5px solid #f4650f;
    padding-left: 1.5rem;
    position: relative;
}

.blog-content-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f4650f 0%, #0272b9 100%);
    border-radius: 2px;
}

.blog-content-text h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #242424;
    margin: 3rem 0 1.5rem;
    color: #0272b9;
}

.blog-content-text ul,
.blog-content-text ol {
    margin: 2rem 0;
    padding-left: 2.5rem;
}

.blog-content-text li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-content-text li strong {
    color: #f4650f;
}

/* Content Images */
.blog-content-image {
    margin: 4rem 0;
    text-align: center;
}

.blog-inline-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-inline-image:hover {
    transform: scale(1.02);
}

.blog-image-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Highlight Section */
.blog-highlight-section {
    background: linear-gradient(135deg, #f4650f 0%, #ff6b35 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(244, 101, 15, 0.3);
}

.blog-highlight-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    100% {
        transform: translateX(20px) translateY(20px) rotate(360deg);
    }
}

.blog-highlight-section h3 {
    color: white !important;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.blog-highlight-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Quote */
.blog-quote {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 5px solid #0272b9;
    padding: 3rem;
    margin: 4rem 0;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.7;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.blog-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: #0272b9;
    opacity: 0.2;
    font-family: serif;
}

.blog-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: #f4650f;
    font-style: normal;
    font-size: 1rem;
}

/* Stats Section */
.blog-stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #242424 0%, #1a1a1a 100%);
    border-radius: 15px;
    color: white;
}

.blog-stat-item {
    text-align: center;
    padding: 1.5rem;
}

.blog-stat-item h4 {
    font-size: 3rem;
    font-weight: 800;
    color: #f4650f;
    margin-bottom: 0.5rem;
    font-family: "Poppins", sans-serif;
}

.blog-stat-item p {
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Share */
.blog-social-share {
    margin: 5rem 0 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-social-share h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #242424;
    font-size: 1.5rem;
}

.blog-social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-social-btn.blog-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
}

.blog-social-btn.blog-twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #42a5f5 100%);
}

.blog-social-btn.blog-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
}

.blog-social-btn.blog-email {
    background: linear-gradient(135deg, #f4650f 0%, #ff6b35 100%);
}

.blog-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Related Articles */
.blog-related-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid #e9ecef;
}

.blog-related-section h3 {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #242424;
    margin-bottom: 3rem;
    text-align: center;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.blog-related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.blog-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(244, 101, 15, 0.15);
}

.blog-related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-related-card:hover .blog-related-image {
    transform: scale(1.05);
}

.blog-related-content {
    padding: 2rem;
}

.blog-related-content h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #242424;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-related-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-related-link {
    color: #f4650f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-related-link:hover {
    color: #f4650f;
    transform: translateX(5px);
}

/* Responsive Design */

/* Large screens */
@media (min-width: 1200px) {
    .blog-article-container {
        padding: 5rem 3rem;
    }

    .blog-main-title {
        font-size: 3.5rem;
    }

    .blog-content-text {
        font-size: 1.2rem;
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .blog-article-container {
        padding: 3rem 2rem;
    }

    .blog-main-title {
        font-size: 2.5rem;
    }

    .blog-content-text h2 {
        font-size: 2rem;
    }

    .blog-stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens */
@media (max-width: 768px) {
    .blog-hero-image {
        height: 40vh;
    }

    .blog-article-container {
        padding: 2rem 1.5rem;
    }

    .blog-main-title {
        font-size: 2rem;
        text-align: center;
    }

    .blog-meta-info {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .blog-content-text {
        font-size: 1.1rem;
    }

    .blog-intro-text {
        font-size: 1.2rem;
        padding: 2rem;
    }

    .blog-content-text h2 {
        font-size: 1.8rem;
        margin: 3rem 0 1.5rem;
    }

    .blog-content-text h3 {
        font-size: 1.4rem;
    }

    .blog-social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .blog-social-btn {
        width: 250px;
        justify-content: center;
    }

    .blog-stats-section {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .blog-hero-image {
        height: 30vh;
    }

    .blog-article-container {
        padding: 1.5rem 1rem;
    }

    .blog-main-title {
        font-size: 1.8rem;
    }

    .blog-content-text h2 {
        font-size: 1.5rem;
        padding-left: 1rem;
    }

    .blog-intro-text {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .blog-highlight-section {
        padding: 2rem;
    }

    .blog-quote {
        padding: 2rem;
        font-size: 1.2rem;
    }

    .blog-social-share {
        padding: 2rem;
    }

    .blog-related-content {
        padding: 1.5rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .blog-main-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .blog-content-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .blog-content-text h2 {
        font-size: 1.4rem;
    }

    .blog-content-text h3 {
        font-size: 1.2rem;
    }

    .blog-stat-item h4 {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {

    .blog-social-share,
    .blog-related-section {
        display: none;
    }

    .blog-hero-image {
        height: 20vh;
    }

    .blog-article-container {
        padding: 1rem;
    }

    .blog-main-title {
        color: #242424 !important;
        -webkit-text-fill-color: #242424 !important;
    }
}