/* ========================================
   SINGLE POST - BREADCRUMB STYLES
   ======================================== */

.single-breadcrumb-wrapper {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.single-breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.single-breadcrumb a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-breadcrumb a:hover {
    color: #005277;
}

.single-breadcrumb .breadcrumb-separator {
    color: #9ca3af;
}

.single-breadcrumb .breadcrumb-separator svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.single-breadcrumb .current {
    color: #005277;
    font-weight: 700;
}

.single-breadcrumb-container .kadence-breadcrumbs {
    font-size: 14px;
}

.single-breadcrumb-container .kadence-breadcrumbs a {
    color: #4b5563;
    text-decoration: none;
}

.single-breadcrumb-container .kadence-breadcrumbs a:hover {
    color: #005277;
}

/* ========================================
   SECTION 1: POST HEADER
   ======================================== */

.single-post-header-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 50px 0;
    border-bottom: 1px solid #e5e7eb;
}

.single-post-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-category-badge:hover {
    background: linear-gradient(135deg, #003d5c 0%, #008a94 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

.single-post-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.single-post-meta {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.post-author-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-author-labels {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.post-author-written {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.2);
}

.post-author-badge svg {
    width: 14px;
    height: 14px;
    color: #059669;
}

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

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

.post-author-details {
    display: flex;
    flex-direction: column;
}

.post-author-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
    text-transform: capitalize;
}

.post-author-name:hover {
    color: #005277;
}

.post-author-credential {
    font-size: 14px;
    color: #005277;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.post-date {
    font-size: 14px;
    color: #6b7280;
}

.post-dates-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #6b7280;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    letter-spacing: 0.3px;
}

.post-meta-item svg {
    width: 16px;
    height: 16px;
    color: #005277;
}

/* Featured Image in Header */
.single-post-featured-image {
    margin-top: 32px;
    overflow: hidden;
    max-width: 1200px;
    height: 70vh;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
}

.single-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   ARTICLE SUMMARY BOX
   ======================================== */

.article-summary-section {
    padding: 30px 0;
}

.article-summary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-summary-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-left: 4px solid #005277;
    border-radius: 12px;
    padding: 24px;
}

.summary-title {
    font-size: 19px;
    font-weight: 700;
    color: #005277;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.summary-text {
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    margin: 0;
}

@media (max-width: 768px) {
    .single-post-featured-image {
        height: 50vh;
        margin-top: 24px;
    }

    .article-summary-box {
        padding: 20px;
    }

    .summary-title {
        font-size: 16px;
    }

    .summary-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .single-post-featured-image {
        height: 40vh;
        margin-top: 20px;
        border-radius: 8px;
    }
}

/* ========================================
   SECTION 2: TABLE OF CONTENTS
   ======================================== */

.toc-section {
    background: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
}

.toc-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.toc-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.toc-title svg {
    width: 22px;
    height: 22px;
    color: #005277;
}

.toc-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
}

.toc-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1a1a2e;
}

.toc-toggle:active,
.toc-toggle:focus {
    background: #005277;
    border-color: #005277;
    color: #ffffff;
    outline: none;
}

.toc-toggle.collapsed {
    background: #005277;
    border-color: #005277;
    color: #ffffff;
}

.toc-toggle.collapsed:hover {
    background: #003d5c;
    border-color: #003d5c;
    color: #ffffff;
}

.toc-toggle.collapsed:active,
.toc-toggle.collapsed:focus {
    background: #002d47;
    border-color: #002d47;
    color: #ffffff;
}

.toc-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.toc-toggle.collapsed svg {
    transform: rotate(180deg);
    color: #ffffff;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.toc-list.collapsed {
    display: none;
}

.toc-item {
    margin: 0;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.toc-link::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.toc-link:hover {
    background: #eef7ff;
    border-color: #005277;
    color: #005277;
    transform: translateX(4px);
}

.toc-link:hover::before {
    background: #005277;
}

.toc-link.active {
    background: #005277;
    color: #ffffff;
    border-color: #005277;
}

.toc-link.active::before {
    background: #ffffff;
}

.toc-item.toc-h3 .toc-link {
    padding-left: 32px;
    font-size: 17px;
}

.toc-item.toc-h3 .toc-link::before {
    width: 6px;
    height: 6px;
}

.toc-item.toc-h4 .toc-link {
    padding-left: 48px;
    font-size: 16px;
}

.toc-item.toc-h4 .toc-link::before {
    width: 5px;
    height: 5px;
}

.toc-empty {
    grid-column: 1 / -1;
    font-size: 15px;
    color: #9ca3af;
    text-align: center;
    padding: 24px;
    background: #ffffff;
    border-radius: 10px;
}

/* ========================================
   SECTION 3: POST CONTENT
   ======================================== */

.content-section {
    background: #ffffff;
    padding: 50px 0;
}

.content-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.single-post-content {
    font-size: 18px;
    line-height: 1.85;
    color: #374151;
}

.single-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 48px 0 20px 0;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    scroll-margin-top: 100px;
}

.single-post-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.single-post-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 36px 0 16px 0;
    scroll-margin-top: 100px;
}

.single-post-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 28px 0 12px 0;
    scroll-margin-top: 100px;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.single-post-content li {
    margin-bottom: 10px;
}

.single-post-content a {
    color: #005277;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-post-content a:hover {
    color: #00a3ad;
}

/* Internal Links - Links to same site */
.single-post-content a.internal-link,
.single-post-content a.auto-internal-link {
    color: #005277;
    text-decoration: underline;
    text-decoration-color: #00a3ad;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.single-post-content a.internal-link:hover,
.single-post-content a.auto-internal-link:hover {
    color: #00a3ad;
    text-decoration-color: #005277;
}

/* External Links - Links to other sites */
.single-post-content a.external-link {
    color: #005277;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.single-post-content a.external-link:hover {
    color: #00a3ad;
}

.single-post-content a.external-link::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23005277'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #005277;
    padding: 24px 28px;
    margin: 28px 0;
    font-style: italic;
    color: #4b5563;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0 12px 12px 0;
    font-size: 17px;
}

.single-post-content pre {
    background: #1a1a2e;
    color: #e5e7eb;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
}

.single-post-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.single-post-content pre code {
    background: transparent;
    padding: 0;
}

/* ========================================
   SECTION 4: FAQ SECTION
   ======================================== */

.faq-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 50px 0;
    border-top: 1px solid #e5e7eb;
}

.faq-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.faq-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.faq-title svg {
    width: 28px;
    height: 28px;
    color: #005277;
}

.faq-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #00a3ad;
}

.faq-item.active {
    border-color: #005277;
    box-shadow: 0 4px 16px rgba(0, 82, 119, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-item.active .faq-question {
    background: #eef7ff;
}

.faq-question-text {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.5;
    scroll-margin-top: 100px;
    letter-spacing: 0.3px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    color: #005277;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    background: #005277;
}

.faq-item.active .faq-icon svg {
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
}

.faq-answer-content p {
    margin: 0 0 12px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.faq-answer-content a {
    color: #005277;
    text-decoration: underline;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-box {
        padding: 24px;
    }

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

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question-text {
        font-size: 16px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 32px 0;
    }

    .faq-section-container {
        padding: 0 16px;
    }

    .faq-box {
        padding: 20px;
        border-radius: 12px;
    }

    .faq-title {
        font-size: 20px;
    }

    .faq-question {
        padding: 14px 16px;
        gap: 12px;
    }

    .faq-question-text {
        font-size: 15px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .faq-answer-content {
        padding: 0 16px 18px 16px;
        font-size: 14px;
    }
}

/* ========================================
   SOCIAL SHARE BUTTONS
   ======================================== */

.social-share-section {
    background: #ffffff;
    padding: 0 0 40px 0;
}

.social-share-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.social-share-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

.share-label svg {
    width: 20px;
    height: 20px;
    color: #005277;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn.facebook {
        background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
}

.share-btn.facebook:hover {
        background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    transform: translateY(-2px);
}

.share-btn.twitter {
     background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
}

.share-btn.twitter:hover {
    background: #333333;
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
}

.share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    transform: translateY(-2px);
}

.share-btn.linkedin {
     background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
}

.share-btn.linkedin:hover {
     background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    transform: translateY(-2px);
}

.share-btn.copy-link {
    background: #ffffff;
    color: #4b5563;
    border: 1px solid #e2e8f0;
}

.share-btn.copy-link:hover {
    background: #005277;
    color: #ffffff;
    border-color: #005277;
    transform: translateY(-2px);
}

.share-btn.copy-link.copied {
     background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
    border-color: #00a3ad;
}

@media (max-width: 768px) {
    .social-share-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }

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

    .share-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .share-btn span {
        display: none;
    }

    .share-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   AUTHOR BIO BOX
   ======================================== */

.author-bio-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 50px 0;
    border-top: 1px solid #e5e7eb;
}

.author-bio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.author-bio-box {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* Header Section */
.author-bio-header {
    padding: 28px 32px 24px;
}

.author-bio-label {
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.author-bio-label.verified {
    color: #059669;
}

.author-bio-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-avatar img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0284c7;
}

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

.author-bio-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    text-transform: capitalize;
}

.author-bio-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-bio-name a:hover {
    color: #0284c7;
}

.author-bio-credential {
    font-size: 15px;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-bio-experience {
    font-size: 14px;
    color: #059669;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-bio-experience::before {
    content: "⏱";
    font-size: 13px;
}

.author-bio-role {
    font-size: 15px;
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: capitalize;
}


/* Author Bio Description */
.author-bio-description {
    padding: 20px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.author-bio-description p {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
    text-transform: capitalize;
}

/* Author Latest Post */
.author-latest-post {
    padding: 20px 32px;
    background: #f0f9ff;
    border-top: 1px solid #e2e8f0;
}

.latest-post-label {
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 12px;
}

.latest-post-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.latest-post-link:hover {
    opacity: 0.85;
}

.latest-post-link img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.latest-post-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer with Stats & Buttons */
.author-bio-footer {
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    gap: 20px;
}

.author-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.stat-item svg {
    color: #0284c7;
}

.stat-item strong {
    color: #1e293b;
    font-weight: 600;
}

.author-buttons {
    display: flex;
    gap: 12px;
}

.btn-view-profile {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: #0284c7;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-profile:hover {
    background: #0369a1;
    color: #ffffff;
}

.btn-view-profile:active,
.btn-view-profile:focus,
.btn-view-profile:visited {
    color: #ffffff;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: #ffffff;
    color: #0284c7;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #0284c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #eff6ff;
    color: #0284c7;
}

@media (max-width: 768px) {
    .author-bio-section {
        padding: 40px 0;
    }

    .author-bio-header {
        padding: 24px 20px 20px;
    }

    .author-bio-label {
        text-align: center;
    }

    .author-bio-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-bio-avatar img {
        width: 75px;
        height: 75px;
    }

    .author-bio-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .author-bio-name {
        font-size: 20px;
    }

    .author-bio-credential {
        font-size: 14px;
        text-align: center;
    }

    .author-bio-experience {
        font-size: 13px;
        justify-content: center;
    }

    .author-bio-role {
        font-size: 14px;
        text-align: center;
    }

    .author-bio-description {
        padding: 18px 20px;
        text-align: center;
    }

    .author-latest-post {
        padding: 18px 20px;
    }

    .latest-post-label {
        text-align: center;
    }

    .latest-post-link {
        flex-direction: column;
        text-align: center;
    }

    .latest-post-title {
        font-size: 14px;
    }

    .author-bio-footer {
        flex-direction: column;
        padding: 18px 20px;
        gap: 16px;
    }

    .author-buttons {
        width: 100%;
    }

    .btn-view-profile,
    .btn-contact {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
    }
}

/* ========================================
   RELATED POSTS SECTION
   ======================================== */

.related-posts-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 50px 0;
    border-top: 1px solid #e5e7eb;
}

.related-posts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.related-posts-header {
    text-align: center;
    margin-bottom: 32px;
}

.related-posts-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.related-posts-title svg {
    width: 28px;
    height: 28px;
    color: #005277;
}

.related-posts-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #005277;
}

.related-post-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-image .no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-post-image .no-image svg {
    width: 48px;
    height: 48px;
    color: #94a3b8;
}

.related-post-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    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;
}

.related-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-title a:hover {
    color: #005277;
}

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

.related-post-meta svg {
    width: 14px;
    height: 14px;
    color: #9ca3af;
}

.related-post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-posts-section {
        padding: 40px 0;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-post-card {
        flex-direction: row;
    }

    .related-post-image {
        width: 120px;
        height: auto;
        min-height: 120px;
    }

    /* Hide category badge on mobile - image too small */
    .related-post-category {
        display: none;
    }

    .related-post-content {
        padding: 16px;
    }

    .related-post-title {
        font-size: 15px;
    }
}

/* ========================================
   SECTION 5: POST TAGS
   ======================================== */

.tags-section {
    background: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
}

.tags-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tags-box {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.tags-label svg {
    width: 18px;
    height: 18px;
    color: #005277;
}

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

.tag-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #ffffff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: #005277;
    color: #ffffff;
    border-color: #005277;
    transform: translateY(-2px);
}

/* ========================================
   MEDICAL DISCLAIMER
   ======================================== */

.medical-disclaimer-section {
    background: #ffffff;
    padding: 0 0 40px 0;
}

.medical-disclaimer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.medical-disclaimer-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border: 1px solid #f59e0b;
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.disclaimer-icon svg {
    width: 28px;
    height: 28px;
    color: #f59e0b;
}

.disclaimer-content {
    flex: 1;
}

.disclaimer-title {
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.disclaimer-text {
    font-size: 17px;
    line-height: 1.7;
    color: #78350f;
    margin: 0;
}

.disclaimer-text a {
    color: #b45309;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .medical-disclaimer-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .disclaimer-title {
        justify-content: center;
    }
}

/* ========================================
   PREVIOUS/NEXT POST NAVIGATION
   ======================================== */

.post-navigation-section {
    background: #ffffff;
    padding: 50px 0;
    border-top: 1px solid #e5e7eb;
}

.post-navigation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.post-navigation-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.nav-post {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.nav-post:hover {
    border-color: #005277;
    box-shadow: 0 8px 24px rgba(0, 82, 119, 0.1);
    transform: translateY(-4px);
}

.nav-post.prev-post {
    align-items: flex-start;
}

.nav-post.next-post {
    align-items: flex-end;
    text-align: right;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #005277;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.nav-label svg {
    width: 18px;
    height: 18px;
}

.next-post .nav-label {
    flex-direction: row-reverse;
}

.nav-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.nav-post:hover .nav-title {
    color: #005277;
}

.nav-category {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.nav-empty {
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-empty span {
    font-size: 14px;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .post-navigation-box {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nav-post.next-post {
        align-items: flex-start;
        text-align: left;
    }

    .next-post .nav-label {
        flex-direction: row;
    }
}

/* ========================================
   COMMENTS SECTION
   ======================================== */

.comments-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 50px 0;
    border-top: 1px solid #e5e7eb;
}

.comments-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.comments-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.comments-header svg {
    width: 28px;
    height: 28px;
    color: #005277;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.comments-count {
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: auto;
}

/* Comment Form Styling */
.comments-box .comment-respond {
    margin-bottom: 32px;
}

.comments-box .comment-reply-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.comments-box .comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comments-box .comment-form-author,
.comments-box .comment-form-email,
.comments-box .comment-form-url {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comments-box .comment-form label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.comments-box .comment-form input[type="text"],
.comments-box .comment-form input[type="email"],
.comments-box .comment-form input[type="url"],
.comments-box .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a2e;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.comments-box .comment-form input:focus,
.comments-box .comment-form textarea:focus {
    outline: none;
    border-color: #005277;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 82, 119, 0.1);
}

.comments-box .comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comments-box .form-submit {
    margin-top: 8px;
}

.comments-box .submit {
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comments-box .submit:hover {
    background: linear-gradient(135deg, #003d5c 0%, #008a94 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 119, 0.3);
}

/* Comment List Styling */
.comments-box .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comments-box .comment {
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.comments-box .comment .children {
    list-style: none;
    padding-left: 24px;
    margin-top: 16px;
    border-left: 3px solid #00a3ad;
}

.comments-box .comment .children .comment {
    background: #ffffff;
}

.comments-box .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comments-box .comment-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comments-box .comment-author .fn {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

.comments-box .comment-author .fn a {
    color: inherit;
    text-decoration: none;
}

.comments-box .comment-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.comments-box .comment-meta a {
    color: #6b7280;
    text-decoration: none;
}

.comments-box .comment-content {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.comments-box .comment-content p {
    margin: 0 0 12px 0;
}

.comments-box .comment-content p:last-child {
    margin-bottom: 0;
}

.comments-box .reply {
    margin-top: 12px;
}

.comments-box .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #005277;
    text-decoration: none;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.comments-box .comment-reply-link:hover {
    background: #005277;
    color: #ffffff;
    border-color: #005277;
}

/* No Comments Message */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-comments svg {
    width: 48px;
    height: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-comments p {
    font-size: 16px;
    margin: 0;
}

/* Comments Closed */
.comments-closed {
    text-align: center;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    color: #6b7280;
    font-size: 15px;
}

@media (max-width: 768px) {
    .comments-box {
        padding: 24px;
    }

    .comments-header {
        flex-wrap: wrap;
    }

    .comments-count {
        margin-left: 0;
        margin-top: 8px;
    }

    .comments-box .comment {
        padding: 16px;
    }

    .comments-box .comment .children {
        padding-left: 16px;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .toc-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .single-breadcrumb-container,
    .single-post-header-container,
    .toc-section-container,
    .content-section-container,
    .tags-section-container {
        padding: 0 16px;
    }

    .single-post-header-section {
        padding: 36px 0;
    }

    .single-post-title {
        font-size: 30px;
    }

    .single-post-meta {
        gap: 16px;
        align-items: center;
    }

    .post-dates-info {
        justify-content: center;
        gap: 10px;
    }

    .post-meta-item {
        padding: 6px 12px;
        font-size: 13px;
    }

    .post-author-wrapper {
        align-items: center;
        text-align: center;
    }

    .toc-section {
        padding: 30px 0;
    }

    .toc-box {
        padding: 20px;
    }

    .toc-title {
        font-size: 18px;
    }

    .toc-link {
        font-size: 16px;
    }

    .toc-item.toc-h3 .toc-link {
        font-size: 15px;
    }

    .toc-item.toc-h4 .toc-link {
        font-size: 14px;
    }

    .content-section {
        padding: 30px 0;
    }

    .content-box {
        padding: 24px;
    }

    .single-post-content {
        font-size: 16px;
    }

    .single-post-content h2 {
        font-size: 24px;
    }

    .single-post-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .single-post-title {
        font-size: 26px;
    }

    .post-author-info {
        width: 100%;
    }

    .toc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .toc-link {
        font-size: 15px;
        padding: 10px 14px;
    }

    .toc-item.toc-h3 .toc-link {
        font-size: 14px;
    }

    .toc-item.toc-h4 .toc-link {
        font-size: 13px;
    }

    .content-box {
        padding: 20px;
        border-radius: 12px;
    }
}