/* ============================================================================
   AllDay Movers - Official Blog & Moving Insights Stylesheet
   Adapts reusable blog kit architecture to AllDay Movers visual theme
   ============================================================================ */

/* ── Blog Hero Section ── */
.blog-hero {
    background: #171717;
    color: #ffffff;
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 160, 23, 0.15) 0%, rgba(23, 23, 23, 0) 70%);
    pointer-events: none;
}

.blog-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.blog-hero p {
    color: #a1a1aa;
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Category Filter Pills ── */
.blog-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
    justify-content: center;
}

.blog-filter a {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #d4d4d8;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.blog-filter a.active,
.blog-filter a:hover {
    background: #D4A017;
    color: #171717;
    border-color: #D4A017;
}

/* ── Blog Grid Section ── */
.blog-section {
    padding: 60px 0 90px;
    background: #f8f7f3;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Blog Card ── */
.blog-card {
    background: #ffffff;
    border: 1px solid #e8e5dd;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.blog-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #ece9e2;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    background: #ece9e2;
}

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

.blog-card-cat {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b45309;
    background: #fef3c7;
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #171717;
    margin: 0 0 10px;
    line-height: 1.35;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #D4A017;
}

.blog-card-excerpt {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

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

.blog-card-meta {
    font-size: 12.5px;
    color: #888888;
}

.blog-card-read-more {
    font-size: 13px;
    font-weight: 700;
    color: #171717;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.blog-card-read-more:hover {
    color: #D4A017;
}

/* ── Pagination ── */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.blog-page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e8e5dd;
    background: #ffffff;
    color: #171717;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}

.blog-page-btn.active,
.blog-page-btn:hover {
    background: #D4A017;
    color: #171717;
    border-color: #D4A017;
}

/* ════════════════════════════════════════════════════════════
   SINGLE POST MODERN STYLES (/blog/<slug>/)
   ════════════════════════════════════════════════════════════ */

/* ── Reading Progress Bar ── */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4A017, #f59e0b, #fbbf24);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 12px rgba(212, 160, 23, 0.6);
}

/* ── Post Hero Header ── */
.post-hero-wrap {
    background: #171717;
    background-image: radial-gradient(circle at 50% 10%, rgba(212, 160, 23, 0.14) 0%, transparent 68%);
    color: #ffffff;
    padding: 55px 0 50px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.post-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.post-breadcrumb a:hover {
    color: #D4A017;
}

.post-breadcrumb-sep {
    color: #64748b;
    font-size: 11px;
}

.post-hero-badge-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #D4A017;
    color: #171717;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.post-category-badge:hover {
    background: #e5ac19;
    transform: translateY(-1px);
}

.post-hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 24px;
    max-width: 960px;
}

.post-meta-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #94a3b8;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.post-author-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1f5f9;
    font-weight: 600;
}

.post-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #D4A017;
    color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Featured Image Showcase (Zero Crop, Width Fixed, Height Auto) ── */
.post-hero-img-wrap {
    max-width: 1000px;
    width: 100%;
    margin: 36px auto 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 0;
}

.post-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0;
}

/* ── Modern 2-Column Article Layout ── */
.post-body-wrap {
    padding: 60px 0 90px;
    background: #fdfdfc;
}

.post-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .post-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ── Lead Callout Box ── */
.post-lead-callout {
    background: #fffbeb;
    border-left: 4px solid #D4A017;
    border-radius: 0 12px 12px 0;
    padding: 22px 26px;
    margin-bottom: 38px;
    font-size: 17.5px;
    line-height: 1.7;
    color: #78350f;
    font-weight: 500;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.06);
}

.post-lead-quote-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: #D4A017;
    margin-top: 2px;
}

/* ── Rich Article Content ── */
.post-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #27272a;
    word-break: break-word;
}

.post-content h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(23px, 2.6vw, 30px);
    font-weight: 800;
    color: #171717;
    margin: 44px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1ee;
    position: relative;
    scroll-margin-top: 100px;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: #D4A017;
}

.post-content h3 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(19px, 2.2vw, 23px);
    font-weight: 700;
    color: #171717;
    margin: 34px 0 14px;
    scroll-margin-top: 100px;
}

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

.post-content a {
    color: #b45309;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s;
}

.post-content a:hover {
    color: #D4A017;
}

.post-content ul, .post-content ol {
    margin: 0 0 26px 24px;
    line-height: 1.75;
}

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

.post-content blockquote {
    position: relative;
    background: #fbf7ee;
    border-left: 4px solid #D4A017;
    padding: 22px 28px 22px 32px;
    margin: 36px 0;
    border-radius: 0 14px 14px 0;
    font-size: 17px;
    font-style: italic;
    color: #171717;
    line-height: 1.75;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    font-size: 14.5px;
}

.post-content table th {
    background: #171717;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
}

.post-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.post-content table tr:nth-child(even) td {
    background: #f9fafb;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.post-content img.img-left { float: left; margin: 0 24px 20px 0; }
.post-content img.img-right { float: right; margin: 0 0 20px 24px; }
.post-content img.img-center { display: block; margin: 24px auto; }
.post-content img.img-full { width: 100%; display: block; margin: 24px 0; }

/* ── Author Bio Card ── */
.post-author-bio-card {
    margin-top: 50px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e8e5dd;
    border-radius: 14px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.bio-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #171717;
    color: #D4A017;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    border: 3px solid #fef3c7;
}

.bio-info h4 {
    font-size: 17px;
    font-weight: 800;
    color: #171717;
    margin-bottom: 6px;
}

.bio-info p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ── Share & Nav Strip ── */
.post-share-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding: 18px 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e5dd;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.post-share-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.share-pill-btn:hover {
    border-color: #D4A017;
    background: #fffbeb;
    color: #92400e;
}

/* ── Modern Sticky Sidebar ── */
.post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget-card {
    background: #ffffff;
    border: 1px solid #e8e5dd;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: #171717;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f1ee;
}

.sidebar-quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.sidebar-quick-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-quick-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.sidebar-quick-input:focus {
    border-color: #D4A017;
    outline: none;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-link {
    display: block;
    font-size: 13.5px;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 12px;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s;
    line-height: 1.45;
}

.toc-link:hover, .toc-link.is-active {
    color: #b45309;
    background: #fffbeb;
    border-left-color: #D4A017;
    font-weight: 700;
}

.sidebar-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1ee;
}

.sidebar-trust-badge-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trust-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* ── Modern FAQ Section on Single Post ── */
.post-faq-section {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 2px solid #f1f1ee;
}

.post-faq-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #171717;
    margin-bottom: 22px;
}

.faq-accordion-item {
    border: 1px solid #e8e5dd;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-accordion-item.is-open {
    border-color: #D4A017;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.08);
}

.faq-accordion-header {
    width: 100%;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #171717;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.2s;
}

.faq-accordion-header:hover {
    background: #fbfaf7;
}

.faq-accordion-item.is-open .faq-accordion-header {
    background: #fdfaf2;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #171717;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.faq-accordion-item.is-open .faq-toggle-icon {
    background: #D4A017;
    color: #171717;
    transform: rotate(45deg);
}

.faq-accordion-body {
    padding: 0 22px 20px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    display: none;
}

.faq-accordion-item.is-open .faq-accordion-body {
    display: block;
}

/* ── Related Posts Section ── */
.post-related-section {
    padding: 70px 0 90px;
    background: #f8f7f3;
    border-top: 1px solid #e8e5dd;
}

.post-related-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #171717;
    text-align: center;
    margin-bottom: 36px;
}
