/* ==========================================================================
   PERU BY LOCALS - BLOG STYLESHEET (INTERACTIVE & ANIMATED)
   Features:
     - Interactive Tooltips (.pbl-tooltip)
     - Interactive Packing Checklist (strikethrough & progress bar)
     - Scrollspy Table of Contents (active section tracking)
     - Floating Share Bar & Quick Actions
     - Modern Callout Boxes (.tip-box, .note-box, .cultural-box)
     - Responsive Comparison & Checklist Tables
     - High-Converting In-Content CTAs
     - Animated FAQ Accordion & Author Bio
   ========================================================================== */

/* Breadcrumbs Navigation */
.breadcrumbs-nav {
    background: #f8fafc;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}

.breadcrumbs-nav .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
}

.breadcrumbs-nav a {
    color: #475569;
    font-weight: 500;
}

.breadcrumbs-nav a:hover {
    color: var(--pbl-teal);
}

.breadcrumbs-nav span.separator {
    color: #cbd5e1;
    font-size: 11px;
}

.breadcrumbs-nav span.current {
    color: var(--pbl-teal-dark);
    font-weight: 600;
    max-width: 480px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Single Post Layout */
.content.single.blog {
    display: flex;
    padding: 48px 24px 80px;
    gap: 48px;
    background-color: #ffffff;
    position: relative;
}

.content.single.blog article.article-main {
    flex: 1 1 70%;
    min-width: 0;
}

/* Post Header */
.post-header {
    margin-bottom: 34px;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.post-badge {
    background: linear-gradient(135deg, var(--pbl-teal) 0%, var(--pbl-teal-dark) 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--pbl-radius-full);
    letter-spacing: 0.6px;
    box-shadow: 0 2px 8px rgba(0, 120, 110, 0.2);
}

.post-date, .reading-time, .post-read-time, .post-author-top {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.post-date i, .reading-time i, .post-read-time i, .post-author-top i {
    color: var(--pbl-teal);
    font-size: 14px;
}

.post-header h1,
.post-title {
    font-size: 40px;
    line-height: 1.25;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-top: 10px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.post-author-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14.5px;
    color: #0f172a;
}

.author-desc {
    font-size: 12.5px;
    color: #64748b;
}

/* Featured Image Banner with Subtle Zoom on Hover */
.post-featured-image {
    margin: 32px 0 42px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-featured-image:hover img {
    transform: scale(1.02);
}

.post-caption, figcaption.post-caption {
    padding: 13px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    text-align: center;
    display: block;
    line-height: 1.5;
}

/* ==========================================================================
   POST TYPOGRAPHY & SPACING (Supports BOTH .article-body and .post-content)
   ========================================================================== */

.article-body,
.post-content {
    font-size: 17.5px;
    line-height: 1.85;
    color: #334155;
    position: relative;
}

.lead-text {
    font-size: 20px;
    line-height: 1.65;
    color: #1e293b;
    font-weight: 400;
    margin-bottom: 32px;
    border-left: 4px solid var(--pbl-teal);
    padding-left: 20px;
}

.article-body p,
.post-content p {
    font-size: 17.5px;
    line-height: 1.85;
    color: #334155;
    margin-top: 0;
    margin-bottom: 26px;
    font-weight: 400;
}

.article-body p strong,
.post-content p strong {
    color: #0f172a;
    font-weight: 700;
}

.article-body h2,
.post-content h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    line-height: 1.32;
    margin-top: 56px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
    scroll-margin-top: 100px;
    font-family: 'Outfit', sans-serif;
}

.article-body h2::after,
.post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 4px;
    background: linear-gradient(90deg, var(--pbl-teal) 0%, var(--pbl-orange) 100%);
    border-radius: 2px;
}

.article-body h3,
.post-content h3 {
    font-size: 23px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-top: 40px;
    margin-bottom: 18px;
    scroll-margin-top: 100px;
    font-family: 'Outfit', sans-serif;
}

.article-body h4,
.post-content h4 {
    font-size: 19px;
    font-weight: 700;
    color: #334155;
    margin-top: 30px;
    margin-bottom: 14px;
    line-height: 1.45;
}

.article-body ul,
.post-content ul {
    margin: 20px 0 30px 0;
    padding-left: 0;
    list-style: none;
}

.article-body ul li,
.post-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.75;
    color: #334155;
}

.article-body ul li::before,
.post-content ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--pbl-teal);
    font-size: 16px;
}

.article-body ol,
.post-content ol {
    margin: 20px 0 30px 24px;
    padding-left: 0;
}

.article-body ol li,
.post-content ol li {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.75;
    color: #334155;
    padding-left: 8px;
}

.article-body a,
.post-content a {
    color: var(--pbl-teal);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: var(--pbl-transition-fast);
}

.article-body a:hover,
.post-content a:hover {
    color: var(--pbl-orange);
    text-decoration-color: var(--pbl-orange);
}

/* ==========================================================================
   INTERACTIVE TOOLTIPS (.pbl-tooltip)
   ========================================================================== */

.pbl-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--pbl-teal-dark);
    border-bottom: 2px dashed var(--pbl-teal-light);
    padding: 0 2px;
    transition: var(--pbl-transition-fast);
}

.pbl-tooltip::after {
    content: '\f059';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    margin-left: 4px;
    color: var(--pbl-teal-light);
    opacity: 0.7;
}

.pbl-tooltip:hover {
    color: var(--pbl-orange);
    border-bottom-color: var(--pbl-orange);
}

.pbl-tooltip:hover::after {
    color: var(--pbl-orange);
    opacity: 1;
}

/* Floating Tooltip Card (Rendered via JS for absolute positioning freedom) */
.pbl-tooltip-card {
    position: fixed;
    z-index: 2000;
    max-width: 290px;
    background: #0f172a;
    color: #f8fafc;
    padding: 12px 16px;
    border-radius: var(--pbl-radius-sm);
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pbl-tooltip-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pbl-tooltip-card::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #0f172a transparent transparent;
}

/* ==========================================================================
   INTERACTIVE PACKING CHECKLIST
   ========================================================================== */

.packing-progress-bar-wrap {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--pbl-radius-md);
    padding: 16px 20px;
    margin: 24px 0 20px;
}

.packing-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.packing-progress-track {
    width: 100%;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: var(--pbl-radius-full);
    overflow: hidden;
}

.packing-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pbl-teal) 0%, #22c55e 100%);
    border-radius: var(--pbl-radius-full);
    transition: width 0.35s ease;
}

.interactive-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 5px;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
    display: inline-grid;
    place-content: center;
    transition: var(--pbl-transition-fast);
}

.interactive-checkbox:checked {
    background-color: #16a34a;
    border-color: #16a34a;
}

.interactive-checkbox:checked::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    font-size: 11px;
}

tr.item-checked td, li.item-checked {
    text-decoration: line-through;
    color: #94a3b8;
    background-color: rgba(34, 197, 94, 0.05);
}

/* ==========================================================================
   SCROLLSPY TABLE OF CONTENTS (TOC) - ULTRA MODERN & ANIMATED
   ========================================================================== */

.toc-container, .blog-toc {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--pbl-teal);
    border-radius: 16px;
    padding: 26px 30px;
    margin: 40px 0 46px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 120, 110, 0.06);
    transition: box-shadow 0.3s ease;
}

.toc-container:hover, .blog-toc:hover {
    box-shadow: 0 12px 32px rgba(0, 120, 110, 0.1);
}

.toc-title, .blog-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    user-select: none;
    cursor: pointer;
}

.toc-title h3, .blog-toc-header h3,
.toc-title > span {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-title h3 i, .blog-toc-header h3 i,
.toc-title > span i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--pbl-teal-subtle);
    color: var(--pbl-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.toc-toggle-btn, .blog-toc-toggle {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.toc-toggle-btn:hover, .blog-toc-toggle:hover {
    background: var(--pbl-teal);
    color: #ffffff;
    border-color: var(--pbl-teal);
    box-shadow: 0 2px 8px rgba(0, 120, 110, 0.25);
}

.toc-toggle-btn i, .blog-toc-toggle i {
    transition: transform 0.3s ease;
}

.toc-collapsed .toc-toggle-btn i,
.toc-collapsed .blog-toc-toggle i {
    transform: rotate(180deg);
}

.toc-body ol, .blog-toc-list,
.article-body .blog-toc ol, .article-body .toc-container ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: toc-counter;
}

.toc-body li, .blog-toc-list li,
.article-body .blog-toc ol li, .article-body .toc-container ol li {
    counter-increment: toc-counter;
    margin-bottom: 8px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    list-style: none !important;
    position: relative !important;
    padding-left: 44px !important; /* Ample space to prevent badge collision */
}

.toc-body li::before, .blog-toc-list li::before,
.article-body .blog-toc ol li::before, .article-body .toc-container ol li::before {
    content: counter(toc-counter, decimal-leading-zero);
    position: absolute !important;
    left: 2px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 25px !important;
    background: #f0fdfa !important;
    color: var(--pbl-teal, #00786e) !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(0, 120, 110, 0.25) !important;
    pointer-events: none !important;
    transition: all 0.25s ease;
}

.toc-body li a, .blog-toc-list li a,
.article-body .blog-toc ol li a, .article-body .toc-container ol li a {
    color: #334155 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    display: block !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.toc-body li a:hover, .blog-toc-list li a:hover,
.article-body .blog-toc ol li a:hover, .article-body .toc-container ol li a:hover {
    color: var(--pbl-teal, #00786e) !important;
    background: rgba(0, 120, 110, 0.08) !important;
    text-decoration: none !important;
}

.toc-body li a.toc-active, .blog-toc-list li a.toc-active,
.article-body .blog-toc ol li a.toc-active, .article-body .toc-container ol li a.toc-active {
    color: #00524a !important;
    font-weight: 700 !important;
    background: rgba(0, 120, 110, 0.12) !important;
    text-decoration: none !important;
}

.toc-body li:hover::before, .blog-toc-list li:hover::before,
.article-body .blog-toc ol li:hover::before, .article-body .toc-container ol li:hover::before {
    background: var(--pbl-teal, #00786e) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   CALLOUT BOXES (CONSEJOS, ALERTS, CULTURE) - ANIMATED & VIBRANT
   ========================================================================== */

.note-box, .tip-box, .cultural-box {
    border-radius: 14px;
    padding: 24px 28px;
    margin: 40px 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.note-box:hover, .tip-box:hover, .cultural-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.note-box {
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 6px solid #d97706;
}

.tip-box {
    background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
    border-left: 6px solid var(--pbl-teal);
}

.cultural-box {
    background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
    border-left: 6px solid #9333ea;
}

.callout-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tip-box .callout-header {
    color: #00786e;
}

.tip-box .callout-header i {
    width: 32px;
    height: 32px;
    background: #00786e;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0, 120, 110, 0.3);
}

.note-box .callout-header {
    color: #b45309;
}

.note-box .callout-header i {
    width: 32px;
    height: 32px;
    background: #d97706;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
}

.cultural-box .callout-header {
    color: #7e22ce;
}

.cultural-box .callout-header i {
    width: 32px;
    height: 32px;
    background: #9333ea;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(147, 51, 234, 0.3);
}

.note-box p, .tip-box p, .cultural-box p {
    margin-bottom: 0 !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #334155 !important;
}

.note-box p strong, .tip-box p strong, .cultural-box p strong {
    color: #0f172a;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.pbl-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pbl-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   COMPARISON & GEAR TABLES (Supports .comparison-table, .pbl-table, .checklist-table)
   ========================================================================== */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.comparison-table, .pbl-table, .checklist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #ffffff;
    text-align: left;
}

.comparison-table th, .pbl-table th, .checklist-table th {
    background: linear-gradient(135deg, var(--pbl-teal-dark) 0%, #033631 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 20px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
    font-size: 15px;
}

.comparison-table td, .pbl-table td, .checklist-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    line-height: 1.6;
}

.comparison-table tr:last-child td, .pbl-table tr:last-child td, .checklist-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) td, .pbl-table tr:nth-child(even) td, .checklist-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.comparison-table tr:hover td, .pbl-table tr:hover td, .checklist-table tr:hover td {
    background-color: rgba(0, 120, 110, 0.05);
}

/* ==========================================================================
   IN-CONTENT CTA BOX
   ========================================================================== */

.pbl-cta-box {
    background: linear-gradient(135deg, #00786e 0%, #02433e 100%);
    border-radius: 16px;
    padding: 32px 36px;
    margin: 46px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 12px 30px rgba(0, 120, 110, 0.25);
    position: relative;
    overflow: hidden;
}

.pbl-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pbl-cta-box h4 {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    font-family: 'Outfit', sans-serif;
}

.pbl-cta-box p {
    color: #e6fffa !important;
    font-size: 15.5px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.pbl-cta-btn {
    background: var(--pbl-orange);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.pbl-cta-btn:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

@media screen and (max-width: 768px) {
    .pbl-cta-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 24px 20px;
        gap: 18px;
        margin: 32px 0;
    }

    .pbl-cta-box > div {
        width: 100%;
        text-align: center;
    }

    .pbl-cta-box h4 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    .pbl-cta-box p {
        font-size: 14.5px !important;
        text-align: center !important;
    }

    .pbl-cta-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 13px 20px;
        white-space: normal;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-section {
    margin: 54px 0 44px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
}

.faq-section h2 {
    margin-bottom: 26px;
}

.pbl-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pbl-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--pbl-transition-fast);
}

.pbl-faq-item.active {
    border-color: var(--pbl-teal);
    box-shadow: 0 4px 16px rgba(0, 120, 110, 0.08);
}

.pbl-faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16.5px;
    color: #0f172a;
    transition: var(--pbl-transition-fast);
}

.pbl-faq-question:hover {
    color: var(--pbl-teal);
}

.pbl-faq-icon {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.pbl-faq-item.active .pbl-faq-icon {
    transform: rotate(180deg);
    color: var(--pbl-teal);
}

.pbl-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background-color: #f8fafc;
}

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

.pbl-faq-answer p {
    padding: 20px 24px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* ==========================================================================
   AUTHOR BIO CARD (EDITORIAL REVIEW SIGNATURE - NO DUPLICATE PHOTO)
   ========================================================================== */

.author-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--pbl-teal);
    border-radius: 14px;
    padding: 26px 30px;
    margin: 50px 0 36px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.editorial-signature-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--pbl-teal-subtle);
    color: var(--pbl-teal);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.author-card-info h4 {
    font-size: 20px !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif;
}

.author-card-info .role {
    font-size: 13.5px;
    color: var(--pbl-teal);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.author-card-info p {
    font-size: 15px !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
    line-height: 1.65 !important;
}

/* ==========================================================================
   FLOATING ARTICLE SHARING & INTERACTION DOCK
   ========================================================================== */

.floating-share-dock {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--pbl-radius-full);
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 900;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--pbl-transition-fast);
}

.share-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.share-btn.share-wa:hover { background: #25d366; }
.share-btn.share-fb:hover { background: #1877f2; }
.share-btn.share-tw:hover { background: #000000; }
.share-btn.share-copy:hover { background: var(--pbl-orange); }

/* ==========================================================================
   BLOG HOMEPAGE (INDEX.PHP) - SEARCH & CATEGORY FILTERING
   ========================================================================== */

.blog-hero {
    background: linear-gradient(135deg, #02201d 0%, #004d46 50%, #032b27 100%);
    color: #ffffff;
    padding: 70px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 132, 22, 0.15), transparent 70%);
}

.blog-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-pill-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fed7aa;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--pbl-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-hero h1 {
    font-size: 46px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 800;
}

.blog-hero p {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Live Instant Search Bar */
.blog-search-box {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
}

.blog-search-box input {
    width: 100%;
    padding: 16px 24px 16px 52px;
    background: #ffffff;
    border: none;
    border-radius: var(--pbl-radius-full);
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    outline: none;
    color: #0f172a;
}

.blog-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pbl-teal);
    font-size: 18px;
}

/* Filter Category Pills */
.category-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 36px 0 20px;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: var(--pbl-radius-full);
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: var(--pbl-transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--pbl-teal);
    color: #ffffff;
    border-color: var(--pbl-teal);
    box-shadow: 0 4px 14px rgba(0, 120, 110, 0.25);
}

/* Post Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin: 40px 0 70px;
}

.blog-card {
    background: #ffffff;
    border-radius: var(--pbl-radius-md);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: var(--pbl-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--pbl-transition-smooth);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pbl-shadow-lg);
    border-color: rgba(0, 120, 110, 0.3);
}

.card-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .card-thumb img {
    transform: scale(1.05);
}

.card-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 120, 110, 0.9);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--pbl-radius-full);
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
}

.card-title {
    font-size: 20px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.card-title a {
    color: #0f172a;
}

.blog-card:hover .card-title a {
    color: var(--pbl-teal);
}

.card-excerpt {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.card-read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--pbl-teal);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-read-more i {
    transition: transform 0.2s ease;
}

.blog-card:hover .card-read-more i {
    transform: translateX(4px);
}

/* ==========================================================================
   SIDEBAR RIGHT & FEATURED TOURS COMPONENT
   ========================================================================== */

aside.sidebarRight {
    flex: 0 0 340px;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--pbl-radius-md);
    padding: 24px;
    box-shadow: var(--pbl-shadow-sm);
}

.sidebar-widget h3 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--pbl-orange);
    border-radius: 2px;
}

/* Similar Posts List */
.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.sidebar-posts-list li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    list-style: none !important;
}

.sidebar-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-posts-list img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--pbl-radius-sm);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.sidebar-posts-list li:hover img {
    transform: scale(1.05);
}

.post-title-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
    transition: var(--pbl-transition-fast);
}

.post-title-link:hover {
    color: var(--pbl-teal);
}

.post-meta-mini {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta-mini i {
    color: var(--pbl-teal);
}

/* Contact 24/7 Expert Card */
.sidebar-contact-card {
    background: linear-gradient(135deg, #00786e 0%, #004d46 100%);
    color: #ffffff;
    border-radius: var(--pbl-radius-md);
    padding: 26px 22px;
    box-shadow: 0 10px 25px rgba(0, 120, 110, 0.22);
    position: relative;
    overflow: hidden;
}

.sidebar-contact-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 132, 22, 0.25), transparent 70%);
    border-radius: 50%;
}

.sidebar-contact-card h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.sidebar-contact-card p {
    color: #e2e8f0;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.sidebar-contact-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding: 0;
}

.sidebar-contact-card ul li {
    list-style: none !important;
}

.sidebar-contact-card ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13.5px;
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 14px;
    border-radius: var(--pbl-radius-sm);
    text-decoration: none !important;
    transition: var(--pbl-transition-fast);
}

.sidebar-contact-card ul li a i {
    font-size: 16px;
}

.sidebar-contact-card ul li a:hover {
    background: var(--pbl-orange);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--pbl-orange-glow);
}

/* Featured Treks / Expeditions Cards */
.sidebar-trek-item {
    display: flex;
    flex-direction: column;
    border-radius: var(--pbl-radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 18px;
    transition: var(--pbl-transition-smooth);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-trek-item:last-child {
    margin-bottom: 0;
}

.sidebar-trek-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--pbl-shadow-md);
    border-color: rgba(0, 120, 110, 0.3);
}

.sidebar-trek-item > a {
    display: block;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.sidebar-trek-item > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sidebar-trek-item:hover > a img {
    transform: scale(1.06);
}

.sidebar-trek-info {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-trek-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.sidebar-trek-info h4 a {
    color: #0f172a;
    text-decoration: none !important;
    transition: var(--pbl-transition-fast);
}

.sidebar-trek-info h4 a:hover {
    color: var(--pbl-teal);
}

.sidebar-trek-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.sidebar-trek-price {
    color: var(--pbl-teal-dark);
    font-weight: 800;
    font-size: 14px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    padding: 3px 10px;
    border-radius: var(--pbl-radius-full);
}

/* ==========================================================================
   Bilingual & Polylang Header / Footer Styles
   ========================================================================== */

/* Polylang Dropdown Switcher */
.lang {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.pll-switcher-select {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--pbl-transition-fast);
}

.pll-switcher-select:hover,
.pll-switcher-select:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

.pll-switcher-select option {
    background: #004d46;
    color: #ffffff;
}

/* ==========================================================================
   MODERN FOOTER & NEWSLETTER CARD FIXES
   ========================================================================== */

.pbl-modern-footer .footer-newsletter-container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.pbl-modern-footer .footer-newsletter-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1.25fr 1fr !important;
    gap: 40px !important;
    align-items: center !important;
    background: linear-gradient(135deg, rgba(0, 120, 110, 0.28) 0%, rgba(4, 30, 27, 0.98) 100%) !important;
    border: 1px solid rgba(13, 148, 136, 0.4) !important;
    border-radius: var(--pbl-radius-lg, 16px) !important;
    padding: 38px 46px !important;
    margin: -10px auto 50px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(12px) !important;
}

.footer-newsletter-card .newsletter-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-newsletter-card .newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pbl-orange, #ff8416);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.footer-newsletter-card h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 6px 0 10px 0 !important;
    line-height: 1.3 !important;
}

.footer-newsletter-card p {
    font-size: 14.5px !important;
    color: #cbd5e1 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.footer-newsletter-card .newsletter-form {
    width: 100%;
}

.footer-newsletter-card .newsletter-input-group {
    position: relative;
    display: flex !important;
    align-items: center;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 9999px !important;
    padding: 6px 8px 6px 46px !important;
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.footer-newsletter-card .newsletter-input-group:focus-within {
    border-color: var(--pbl-orange, #ff8416) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 0 0 3px rgba(255, 132, 22, 0.25);
}

.footer-newsletter-card .newsletter-input-group .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.footer-newsletter-card .newsletter-input-group input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    min-width: 0;
    padding: 8px 12px !important;
}

.footer-newsletter-card .newsletter-input-group input::placeholder {
    color: #94a3b8 !important;
}

.footer-newsletter-card .newsletter-btn {
    background: linear-gradient(135deg, var(--pbl-orange, #ff8416) 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 26px !important;
    border-radius: 9999px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    white-space: nowrap !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 16px rgba(255, 132, 22, 0.35) !important;
}

.footer-newsletter-card .newsletter-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 132, 22, 0.5) !important;
}

@media (max-width: 900px) {
    .pbl-modern-footer .footer-newsletter-card {
        grid-template-columns: 1fr !important;
        padding: 30px 24px !important;
        gap: 24px !important;
        text-align: center;
    }
    .footer-newsletter-card .newsletter-content {
        align-items: center;
        text-align: center;
    }
    .footer-newsletter-card .newsletter-input-group {
        flex-direction: column !important;
        padding: 12px 16px !important;
        border-radius: 16px !important;
        gap: 12px;
    }
    .footer-newsletter-card .newsletter-input-group .input-icon {
        display: none;
    }
    .footer-newsletter-card .newsletter-input-group input {
        width: 100%;
        text-align: center;
    }
    .footer-newsletter-card .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}


