/* Custom CSS for Blog Details Page - Modern Premium Publication Layout */

/* Article Header Section */
.article-header {
    margin-bottom: 30px;
    padding-top: 10px;
}

.article-category-badge {
    display: inline-block;
    background-color: #fab012;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #201654;
    margin-bottom: 18px;
    font-family: 'Playfair Display', 'Georgia', serif;
}

/* Horizontal Meta Info Bar */
.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
    padding: 12px 0;
    margin-bottom: 25px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #666666;
}

.article-meta-item i {
    color: #006493;
}

.article-author-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #eef1f6;
}

.article-author-name {
    font-weight: 700;
    color: #201654;
}

/* Featured Image Wrapper */
.featured-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Post Typography Elements */
.blog-details-page-inner p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #333333;
    margin-bottom: 22px;
    font-family: 'Raleway', sans-serif;
}

.blog-details-page-inner h2 {
    font-size: 24px;
    font-weight: 700;
    color: #201654;
    margin-top: 35px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.blog-details-page-inner h3 {
    font-size: 19px;
    font-weight: 700;
    color: #006493;
    margin-top: 25px;
    margin-bottom: 12px;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.blog-details-page-inner ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-details-page-inner ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 8px;
    list-style-type: square;
}

/* Premium Related Blog Callout */
.related-blog-callout {
    background-color: #f0f7fc;
    border-left: 4px solid #006493;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 100, 147, 0.03);
}

.related-blog-callout .callout-icon {
    font-size: 18px;
    color: #006493;
    margin-top: 2px;
}

.related-blog-callout .callout-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-blog-callout .callout-label {
    font-size: 11px;
    font-weight: 800;
    color: #006493;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.related-blog-callout .callout-link {
    font-size: 14.5px;
    font-weight: 700;
    color: #201654;
    text-decoration: underline !important;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.related-blog-callout .callout-link:hover {
    color: #fab012;
}

/* Sleek Social Interaction Buttons */
.interaction-bar {
    display: flex;
    gap: 12px;
    padding: 25px 0;
    border-top: 1px solid #eef1f6;
    margin-top: 35px;
}

.interaction-btn {
    border: 1px solid #eef1f6;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    color: #555555;
    padding: 8px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.interaction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.interaction-btn.like-btn:hover {
    border-color: #fab012;
    color: #fab012;
}

.interaction-btn.share-btn:hover {
    border-color: #006493;
    color: #006493;
}

.interaction-btn.comment-btn:hover {
    border-color: #201654;
    color: #201654;
}

/* Author Box Style */
.author-area {
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eef1f6;
    padding: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.author-area .media img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.author-area .media-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #201654;
    margin-bottom: 6px;
}

.author-area .media-body p {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Consultation Sticky Widget Override */
#boxThis {
    background: linear-gradient(135deg, #006493 0%, #002d42 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 100, 147, 0.15) !important;
    padding: 24px !important;
    width: 100% !important;
    box-sizing: border-box;
}

#boxThis.box {
    margin-top: 80px !important;
    border-radius: 12px !important;
}

#boxThis form p {
    color: #ffffff !important;
    font-weight: 800;
    font-family: 'Barlow Semi Condensed', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#boxThis .single-input-inner input {
    background: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    color: #333333 !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
    height: 42px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
}

#boxThis .single-input-inner input:focus {
    border-color: #fab012 !important;
}

#boxThis .form-group select {
    background: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    color: #555555 !important;
    height: 42px !important;
    font-size: 13px !important;
    outline: none !important;
}

#boxThis .btn-white {
    background-color: #fab012 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(250, 176, 18, 0.2) !important;
}

#boxThis .btn-white:hover {
    background-color: #e09907 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 15px rgba(250, 176, 18, 0.3) !important;
}

/* Sidebar Tags & Categories Outline Pill Styling */
.category-sitebar .widget-social .tag-base {
    background: #ffffff !important;
    color: #555555 !important;
    border: 1px solid #eef1f6 !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    height: auto !important;
    line-height: normal !important;
    margin-right: 6px !important;
    margin-bottom: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01) !important;
}

.category-sitebar .widget-social .tag-base:hover {
    background-color: #006493 !important;
    color: #ffffff !important;
    border-color: #006493 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 100, 147, 0.1) !important;
}

/* Sidebar Widget Headings Override */
.category-sitebar .widget-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #201654 !important;
    border-bottom: 2.5px solid #eef1f6 !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative;
}

.category-sitebar .widget-title::after {
    content: "";
    position: absolute;
    bottom: -2.5px;
    left: 0;
    width: 35px;
    height: 2.5px;
    background-color: #fab012;
}

/* Sidebar Newsletter Widget Override */
.category-sitebar .widget .single-newsletter-inner {
    background: linear-gradient(135deg, #006493 0%, #002d42 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 10px 25px rgba(0, 100, 147, 0.08) !important;
}

.category-sitebar .widget .single-newsletter-inner h5 {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 15px !important;
}

.category-sitebar .widget .single-newsletter-inner .single-input-inner input {
    background: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    color: #333333 !important;
    height: 42px !important;
}

.category-sitebar .widget .single-newsletter-inner .btn-white {
    background-color: #fab012 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(250, 176, 18, 0.2) !important;
    transition: all 0.3s ease !important;
}

.category-sitebar .widget .single-newsletter-inner .btn-white:hover {
    background-color: #e09907 !important;
    transform: translateY(-1px) !important;
}

/*--------------------------------------------------
    ## Table of Contents Styling (Premium publication)
---------------------------------------------------*/
.table-of-contents-box {
    background-color: #f8fafc !important;
    border-left: 4px solid #006493 !important;
    border-radius: 4px 12px 12px 4px !important;
    padding: 24px !important;
    margin: 30px 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.toc-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #201654 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 18px !important;
    font-family: 'Barlow Semi Condensed', sans-serif !important;
    border-bottom: 1.5px solid #eef1f6 !important;
    padding-bottom: 10px !important;
}

.toc-header i {
    color: #fab012 !important;
    /* Gold list icon */
}

.toc-list,
.toc-sublist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.toc-list>li {
    margin-bottom: 12px !important;
}

.toc-list>li:last-child {
    margin-bottom: 0 !important;
}

.toc-list li a {
    color: #201654 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
}

.toc-list li a:hover {
    color: #fab012 !important;
}

/* Subsection nested list styling */
.toc-sublist {
    padding-left: 20px !important;
    margin-top: 8px !important;
    border-left: 1px dashed rgba(0, 100, 147, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

.toc-sublist li {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.toc-sublist li a {
    color: #555555 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.toc-sublist li a:hover {
    color: #006493 !important;
}

/* Premium Popular Course Widget Styling */
.popular-course-card {
    background-color: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.popular-course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(32, 22, 84, 0.08);
    border-color: rgba(0, 100, 147, 0.2);
}

.course-card-link {
    display: block;
    text-decoration: none !important;
    padding: 12px;
}

.course-card-media {
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-logo-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 1px solid #f1f5f9;
}

.course-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.course-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.course-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #201654 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    transition: color 0.2s ease;
}

.popular-course-card:hover .course-title {
    color: #006493 !important;
}

.course-badge {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    letter-spacing: 0.2px;
    display: inline-block;
}

/* View All Courses CTA Button */
.btn-view-all-courses {
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, #006493 0%, #004d70 100%);
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    padding: 0px 20px;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 100, 147, 0.2);
    text-decoration: none !important;
}

.btn-view-all-courses:hover {
    background: linear-gradient(135deg, #fab012 0%, #e09907 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(250, 176, 18, 0.3);
}

.btn-view-all-courses i {
    transition: transform 0.2s ease;
}

.btn-view-all-courses:hover i {
    transform: translateX(4px);
}
/* FAQ question headings */
.faq-section h4 {
    font-size: 18px;
}

/* Social share popover */
.social-share-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    max-width: min(360px, calc(100vw - 32px));
    padding: 10px;
    gap: 8px;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid rgba(16, 41, 80, 0.14);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(16, 41, 80, 0.18);
}

.social-share-menu a,
.social-share-menu button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 42px;
    min-height: 38px;
    padding: 8px 11px;
    color: #102950;
    background: #f4f7fa;
    border: 1px solid transparent;
    border-radius: 7px;
    font: 600 13px/1 Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.social-share-menu a:hover,
.social-share-menu a:focus,
.social-share-menu button:hover,
.social-share-menu button:focus {
    color: #ffffff;
    background: #102950;
    border-color: #102950;
    box-shadow: 0 4px 10px rgba(16, 41, 80, 0.22);
    outline: none;
    transform: translateY(-2px);
}

.social-share-menu a:nth-child(1):hover,
.social-share-menu a:nth-child(1):focus { background: #1877f2; border-color: #1877f2; }
.social-share-menu a:nth-child(2):hover,
.social-share-menu a:nth-child(2):focus { background: #25d366; border-color: #25d366; }
.social-share-menu a:nth-child(3):hover,
.social-share-menu a:nth-child(3):focus { background: #000000; border-color: #000000; }
.social-share-menu a:nth-child(4):hover,
.social-share-menu a:nth-child(4):focus { background: #0a66c2; border-color: #0a66c2; }
.social-share-menu button:hover,
.social-share-menu button:focus { background: #d62976; border-color: #d62976; }

@media (max-width: 480px) {
    .social-share-menu {
        justify-content: center;
    }

    .social-share-menu a,
    .social-share-menu button {
        flex: 1 1 calc(50% - 8px);
    }
}
