/*=====================================================
    Blog Single Post - Additional Styles & Utilities
    Theme: Nihon Infotech
    Description: Extra utility classes and enhancements
=======================================================*/

/* ============================================
   1. UTILITY CLASSES
============================================ */

/* Text Alignment */
.single-post-content .text-center { text-align: center; }
.single-post-content .text-left { text-align: left; }
.single-post-content .text-right { text-align: right; }
.single-post-content .text-justify { text-align: justify; }

/* Spacing Utilities */
.single-post-content .mb-10 { margin-bottom: 10px; }
.single-post-content .mb-20 { margin-bottom: 20px; }
.single-post-content .mb-30 { margin-bottom: 30px; }
.single-post-content .mt-10 { margin-top: 10px; }
.single-post-content .mt-20 { margin-top: 20px; }
.single-post-content .mt-30 { margin-top: 30px; }

/* ============================================
   2. ENHANCED CONTENT BLOCKS
============================================ */

/* Highlighted Text Box */
.single-post-content .highlight-box {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.single-post-content .highlight-box p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.single-post-content .info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* Success Box */
.single-post-content .success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* Warning Box */
.single-post-content .warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* Error Box */
.single-post-content .error-box {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* ============================================
   3. BUTTON STYLES
============================================ */

/* Primary Button */
.single-post-content .btn-primary-blog {
    display: inline-block;
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    margin: 10px 5px;
}

.single-post-content .btn-primary-blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    color: white;
    text-decoration: none;
}

/* Secondary Button */
.single-post-content .btn-secondary-blog {
    display: inline-block;
    background: transparent;
    color: #e91e63;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e91e63;
    margin: 10px 5px;
}

.single-post-content .btn-secondary-blog:hover {
    background: #e91e63;
    color: white;
    text-decoration: none;
}

/* ============================================
   4. ICON LIST STYLES
============================================ */

/* Check Icon List */
.single-post-content .icon-list-check li::before {
    content: '✓';
    color: #4caf50;
}

/* Arrow Icon List */
.single-post-content .icon-list-arrow li::before {
    content: '→';
    color: #e91e63;
}

/* Star Icon List */
.single-post-content .icon-list-star li::before {
    content: '★';
    color: #ffc107;
}

/* ============================================
   5. STATISTIC/NUMBER BOXES
============================================ */

.single-post-content .stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.single-post-content .stat-box .stat-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.single-post-content .stat-box .stat-label {
    font-size: 16px;
    opacity: 0.95;
}

/* ============================================
   6. AUTHOR BIO BOX
============================================ */

.single-post-content .author-bio {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.single-post-content .author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
}

.single-post-content .author-bio .author-info h4 {
    margin: 0 0 10px 0;
    color: #050748;
}

.single-post-content .author-bio .author-info p {
    margin: 0;
    color: #6a6a8e;
}

/* ============================================
   7. RELATED POSTS SECTION
============================================ */

.single-post-content .related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.single-post-content .related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.single-post-content .related-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

.single-post-content .related-post-card .card-content {
    padding: 20px;
}

.single-post-content .related-post-card h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

/* ============================================
   8. SOCIAL SHARE BUTTONS
============================================ */

.single-post-content .social-share-buttons {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.single-post-content .social-share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.single-post-content .social-share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.single-post-content .social-share-buttons .facebook { background: #3b5998; }
.single-post-content .social-share-buttons .twitter { background: #1da1f2; }
.single-post-content .social-share-buttons .linkedin { background: #0077b5; }
.single-post-content .social-share-buttons .pinterest { background: #bd081c; }
.single-post-content .social-share-buttons .whatsapp { background: #25d366; }

/* ============================================
   9. PROGRESS BARS
============================================ */

.single-post-content .progress-bar-wrapper {
    margin: 20px 0;
}

.single-post-content .progress-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #050748;
}

.single-post-content .progress-bar-container {
    background: #e0e0e0;
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
}

.single-post-content .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e63 0%, #ff6b9d 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

/* ============================================
   10. TESTIMONIAL QUOTES
============================================ */

.single-post-content .testimonial-quote {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid #e91e63;
}

.single-post-content .testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: #e91e63;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.single-post-content .testimonial-quote p {
    font-style: italic;
    color: #4a4a68;
    position: relative;
    z-index: 1;
}

.single-post-content .testimonial-quote .author {
    margin-top: 15px;
    font-weight: 600;
    color: #050748;
    font-style: normal;
}

/* ============================================
   11. VIDEO EMBED WRAPPER
============================================ */

.single-post-content .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.single-post-content .video-wrapper iframe,
.single-post-content .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* ============================================
   12. ACCORDION/FAQ STYLING
============================================ */

.single-post-content .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-content .faq-question {
    background: #f8f9fa;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #050748;
    position: relative;
    transition: all 0.3s ease;
}

.single-post-content .faq-question:hover {
    background: #e9ecef;
}

.single-post-content .faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #e91e63;
    transition: transform 0.3s ease;
}

.single-post-content .faq-question.active::after {
    content: '−';
}

.single-post-content .faq-answer {
    padding: 20px;
    background: #fff;
    display: none;
}

.single-post-content .faq-answer.show {
    display: block;
}

/* ============================================
   13. PRICING TABLE
============================================ */

.single-post-content .pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.single-post-content .pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.single-post-content .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #e91e63;
}

.single-post-content .pricing-card.featured {
    border-color: #e91e63;
    position: relative;
}

.single-post-content .pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.single-post-content .pricing-card .plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #050748;
    margin-bottom: 15px;
}

.single-post-content .pricing-card .plan-price {
    font-size: 48px;
    font-weight: 900;
    color: #e91e63;
    margin-bottom: 10px;
}

.single-post-content .pricing-card .plan-price span {
    font-size: 18px;
    font-weight: 400;
    color: #6a6a8e;
}

.single-post-content .pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.single-post-content .pricing-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* ============================================
   14. MOBILE RESPONSIVE ADJUSTMENTS
============================================ */

@media (max-width: 768px) {
    .single-post-content .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .single-post-content .pricing-table {
        grid-template-columns: 1fr;
    }

    .single-post-content .social-share-buttons {
        justify-content: center;
    }

    .single-post-content .stat-box .stat-number {
        font-size: 36px;
    }
}

/* ============================================
   15. SCROLL TO TOP BUTTON (Optional)
============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e91e63 0%, #ff6b9d 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

.scroll-to-top.show {
    display: flex;
}

/* ============================================
   16. READING TIME INDICATOR
============================================ */

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #6a6a8e;
    margin: 15px 0;
}

.reading-time i {
    color: #e91e63;
}

/* ============================================
   17. NEWSLETTER SIGNUP BOX
============================================ */

.single-post-content .newsletter-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.single-post-content .newsletter-box h3 {
    color: white;
    margin-bottom: 15px;
}

.single-post-content .newsletter-box p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
}

.single-post-content .newsletter-box form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.single-post-content .newsletter-box input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    min-width: 250px;
}

.single-post-content .newsletter-box button {
    background: white;
    color: #667eea;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.single-post-content .newsletter-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .single-post-content .newsletter-box form {
        flex-direction: column;
    }

    .single-post-content .newsletter-box input[type="email"],
    .single-post-content .newsletter-box button {
        width: 100%;
    }
}

