/* =====================================================
   HOME SECURE CONNECT — Blog Post Detail Page CSS
   Clean, responsive, no bloat
   ===================================================== */

:root {
    --text-main: #334155;
    --text-muted: #64748b;
    --border-light: rgba(0, 0, 0, 0.08);
}

/* ── HERO ─────────────────────────────────────────── */
.blog-post-hero {
    position: relative;
    padding: 60px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.blog-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.50) 0%, rgba(17, 42, 70, 0.72) 100%);
    z-index: 1;
}

.blog-post-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.blog-post-cat-badge:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.blog-post-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 22px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
}

.blog-post-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-meta .meta-item i {
    color: var(--hsc-orange);
}

/* ── HERO SOCIAL SHARE BAR ───────────────────────── */
.blog-hero-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.hero-share-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 2px;
}

.hero-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero-share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.hero-share-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-share-x {
    background: #000;
}

.hero-share-fb {
    background: #1877F2;
}

.hero-share-li {
    background: #0A66C2;
}

/* ── HERO SHARE: MOBILE ──────────────────────────── */
@media (max-width: 576px) {
    .blog-hero-share {
        gap: 8px;
        margin-top: 16px;
    }

    .hero-share-label {
        font-size: 0.8rem;
    }

    .hero-share-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* ── BOTTOM POST SHARE BUTTONS ───────────────────── */
.blog-post-share .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.blog-post-share .share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.blog-post-share .share-btn.twitter {
    background: #000;
}

.blog-post-share .share-btn.facebook {
    background: #1877F2;
}

.blog-post-share .share-btn.linkedin {
    background: #0A66C2;
}


/* ── CONTENT SECTION ──────────────────────────────── */
.blog-post-content-section {
    padding: 50px 0 80px;
    background: #f8f9fa;
}

/* Breadcrumbs */
.blog-post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-post-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-breadcrumb a:hover {
    color: var(--hsc-blue);
}

.blog-post-breadcrumb .sep {
    color: rgba(0, 0, 0, 0.15);
}

.blog-post-breadcrumb .current {
    color: var(--hsc-dark);
    font-weight: 600;
}

/* Main Card */
.blog-post-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 42px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* ── BODY TYPOGRAPHY ──────────────────────────────── */
.blog-post-body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-main);
}

.blog-post-body [id] {
    scroll-margin-top: 100px;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--hsc-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-body h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hsc-dark);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.blog-post-body h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hsc-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.4rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}

.blog-post-body blockquote {
    margin: 1.8rem 0;
    padding: 20px 24px;
    background: #f0f7ff;
    border-left: 4px solid var(--hsc-blue);
    font-style: italic;
    color: var(--hsc-dark);
    border-radius: 0 10px 10px 0;
}

.blog-post-body blockquote strong {
    font-style: normal;
}

.blog-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.blog-post-body a {
    color: var(--hsc-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-post-body a:hover {
    color: var(--hsc-orange);
}

/* ── TABLE OF CONTENTS ────────────────────────────── */
.article-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 2rem;
}

.article-toc h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hsc-dark);
    margin: 0 0 14px !important;
}

.article-toc ol {
    margin: 0 !important;
    padding-left: 1.2rem !important;
    counter-reset: toc;
}

.article-toc li {
    margin-bottom: 6px !important;
    font-size: 0.92rem;
}

.article-toc a {
    color: var(--hsc-blue) !important;
    text-decoration: none !important;
    font-weight: 500;
}

.article-toc a:hover {
    text-decoration: underline !important;
}

/* ── QUICK ANSWER BOX ─────────────────────────────── */
.quick-answer-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border: 1px solid rgba(0, 87, 184, 0.15);
    border-left: 5px solid var(--hsc-blue);
    border-radius: 0 12px 12px 0;
    padding: 28px 30px;
    margin-bottom: 2rem;
}

.quick-answer-box h2 {
    font-size: 1.3rem !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    color: var(--hsc-blue) !important;
}

/* ── KEY TAKEAWAYS BOX ────────────────────────────── */
.key-takeaways-box {
    background: #fffbf0;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-left: 5px solid var(--hsc-orange);
    border-radius: 0 12px 12px 0;
    padding: 28px 30px;
    margin-bottom: 2rem;
}

.key-takeaways-box h2 {
    font-size: 1.3rem !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    color: var(--hsc-orange) !important;
}

.key-takeaways-box ul {
    margin-bottom: 0 !important;
    list-style: none !important;
    padding-left: 0 !important;
}

/* ── STATS GRID ───────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 1.5rem 0 2rem;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--hsc-blue);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.stat-label a {
    font-size: 0.85rem;
}

/* ── INLINE CTA BOX ──────────────────────────────── */
.cta-inline-box {
    background: linear-gradient(135deg, #0d1b2a 0%, #112a46 100%);
    border-radius: 14px;
    padding: 30px;
    margin: 2rem 0;
    text-align: center;
    color: #fff;
}

.cta-inline-box h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #fff !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.cta-inline-box p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.95rem;
    margin-bottom: 18px !important;
}

.cta-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hsc-blue);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
}

.cta-inline-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* ── SCENARIO BOX ─────────────────────────────────── */
.scenario-box {
    background: #f0fdf4;
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-left: 5px solid #22c55e;
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin: 2rem 0;
}

.scenario-box h3 {
    font-size: 1.15rem !important;
    margin-top: 0 !important;
    color: #166534 !important;
}

/* ── CHECKLIST BOX ────────────────────────────────── */
.checklist-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 1.5rem 0 2rem;
}

.checklist-box ol {
    margin-bottom: 0 !important;
}

/* ── FAQ SECTION ──────────────────────────────────── */
.faq-section {
    margin-top: 1rem;
}

.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item[open] {
    background: #fff;
    border-color: var(--hsc-blue);
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    color: var(--hsc-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.98rem;
    line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--hsc-blue);
}

.faq-item p {
    padding: 0 20px 16px;
    margin: 0 !important;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
}

/* ── TLDR BOX ─────────────────────────────────────── */
.tldr-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 1.5rem 0 2rem;
}

/* ── DISCLAIMER ───────────────────────────────────── */
.article-disclaimer {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6 !important;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-top: 2rem !important;
}

/* ── TAGS ─────────────────────────────────────────── */
.tag-pill {
    display: inline-block;
    background: #e2e8f0;
    color: var(--hsc-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.tag-pill:hover {
    background: var(--hsc-blue);
    color: #fff;
}

/* ── SIDEBAR ──────────────────────────────────────── */
.blog-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.sidebar-widget .widget-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hsc-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-links li {
    border-bottom: 1px solid #f1f5f9;
}

.widget-links li:last-child {
    border: 0;
}

.widget-links li a {
    display: block;
    padding: 10px 0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.widget-links li a:hover {
    color: var(--hsc-blue);
    padding-left: 5px;
}

.widget-trending-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.trending-item:hover {
    transform: translateY(-2px);
}

.trending-item-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.trending-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-item-info h5 {
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hsc-dark);
    margin: 0 0 3px;
    line-height: 1.35;
}

.trending-item:hover .trending-item-info h5 {
    color: var(--hsc-blue);
}

.trending-item-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Advisor Widget */
.advisor-widget {
    background: linear-gradient(135deg, #0d1b2a, #112a46);
    color: #fff;
    border: 0;
    text-align: center;
}

.advisor-widget-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.avatar-stack {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-stack .av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0d1b2a;
    margin: 0 -5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advisor-widget h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #fff !important;
}

.advisor-widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--hsc-blue);
    color: #fff;
    border: 0;
    padding: 11px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* ── PICK CARDS & COMPARISON TABLES ───────────────── */
.wirecutter-pick-card,
.provider-callout-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin: 1.8rem 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.wirecutter-pick-card.adt-pick {
    border-left: 4px solid var(--hsc-blue);
}

.wirecutter-pick-card.vivint-pick {
    border-left: 4px solid var(--hsc-orange);
}

.pick-header {
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.adt-pick .pick-header {
    background: rgba(0, 86, 179, 0.05);
    color: var(--hsc-blue);
}

.vivint-pick .pick-header {
    background: rgba(249, 115, 22, 0.05);
    color: var(--hsc-orange);
}

.pick-content {
    padding: 24px;
}

.pick-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hsc-dark);
    margin-top: 0 !important;
    margin-bottom: 12px;
}

.pick-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 0;
}

.highlight-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    margin-top: 0 !important;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.comparison-table th {
    background: #f8fafc;
    color: var(--hsc-dark);
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    font-size: 0.88rem;
}

.comparison-table td {
    color: var(--text-main);
}

.comparison-table tr:hover td {
    background: #fafbfc;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 991.98px) {
    .blog-post-hero {
        padding: 80px 0;
        min-height: auto;
    }

    .blog-post-title {
        font-size: 1.8rem;
    }

    .blog-post-card {
        padding: 24px;
    }

    .blog-post-sidebar {
        position: static;
        margin-top: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .blog-post-hero {
        padding: 60px 0;
    }

    .blog-post-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
    }

    .blog-post-meta {
        gap: 10px;
        font-size: 0.8rem;
    }

    .blog-post-card {
        padding: 18px;
        border-radius: 12px;
    }

    .blog-post-body {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .blog-post-body h2 {
        font-size: 1.35rem;
        margin-top: 2rem;
    }

    .blog-post-body h3 {
        font-size: 1.15rem;
    }

    .article-toc {
        padding: 18px 20px;
    }

    .quick-answer-box,
    .key-takeaways-box,
    .scenario-box,
    .checklist-box,
    .tldr-box {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .cta-inline-box {
        padding: 22px;
    }

    .cta-inline-box h3 {
        font-size: 1.1rem !important;
    }

    .faq-item summary {
        padding: 14px 16px;
        font-size: 0.92rem;
    }

    .faq-item p {
        padding: 0 16px 14px;
        font-size: 0.9rem;
    }

    .comparison-table {
        font-size: 0.82rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 10px;
    }

    .blog-post-breadcrumb {
        font-size: 0.78rem;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-post-hero {
        padding: 50px 0;
    }

    .blog-post-title {
        font-size: 1.3rem;
    }

    .blog-post-card {
        padding: 14px;
    }

    .blog-post-body {
        font-size: 0.93rem;
    }
}

/* ── SOCIAL SHARE BUTTONS ─────────────────────────── */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.share-btn.twitter {
    background: #000;
}

.share-btn.twitter:hover {
    background: #222;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.linkedin {
    background: #0A66C2;
}

.share-btn.linkedin:hover {
    background: #0958a7;
}

/* ── MYTH-BUSTER CARDS ───────────────────────────── */
.myth-buster-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 1.5rem 0 2rem;
}

.myth-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #ef4444;
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    transition: all 0.2s ease;
}

.myth-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.myth-card h3 {
    font-size: 1.1rem !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    color: var(--hsc-dark) !important;
    line-height: 1.4 !important;
}

.myth-label {
    display: inline-block;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
}

.myth-card p {
    margin-bottom: 0 !important;
    font-size: 0.95rem;
    line-height: 1.7;
}

.myth-card p strong {
    color: #16a34a;
}

/* ── EFFECTIVENESS BADGES (Prevention Table) ──────── */
.effectiveness-table td:nth-child(2) {
    white-space: nowrap;
}

.effectiveness-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.effectiveness-badge.very-high {
    background: #dcfce7;
    color: #166534;
}

.effectiveness-badge.high {
    background: #e0f2fe;
    color: #075985;
}

.effectiveness-badge.medium-high {
    background: #fef9c3;
    color: #854d0e;
}

.effectiveness-badge.medium {
    background: #fff7ed;
    color: #9a3412;
}

/* ── HOLIDAY CHECKLIST ────────────────────────────── */
.holiday-checklist ol {
    counter-reset: holiday-step;
}

.holiday-checklist ol li {
    position: relative;
    padding-left: 8px;
}

.holiday-checklist ol li::marker {
    color: var(--hsc-blue);
    font-weight: 700;
}

/* ── RESPONSIVE ADDITIONS ─────────────────────────── */
@media (max-width: 767.98px) {
    .myth-card {
        padding: 18px 20px;
    }

    .myth-card h3 {
        font-size: 1rem !important;
    }

    .myth-label {
        font-size: 0.68rem;
        padding: 2px 8px;
        margin-right: 6px;
    }

    .effectiveness-badge {
        font-size: 0.72rem;
        padding: 3px 8px;
    }
}

/* ── CHOOSE DIY / PRO CARDS (Comparison Post) ─────── */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 1.5rem 0 2rem;
}

.choose-card {
    border-radius: 12px;
    padding: 28px;
    transition: all 0.2s ease;
}

.choose-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.choose-card h3 {
    font-size: 1.15rem !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.choose-card h3 i {
    font-size: 1.3rem;
}

.choose-card ul {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.choose-card li {
    font-size: 0.95rem;
    margin-bottom: 6px !important;
}

.choose-diy {
    background: #f0fdf4;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-top: 4px solid #22c55e;
}

.choose-diy h3 {
    color: #166534 !important;
}

.choose-pro {
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-top: 4px solid #3b82f6;
}

.choose-pro h3 {
    color: #1e40af !important;
}

/* ── TRADE-OFFS BOX ──────────────────────────────── */
.trade-offs-box {
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-left: 5px solid #f59e0b;
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin: 1.5rem 0 2rem;
}

.trade-offs-box h3 {
    font-size: 1.15rem !important;
    margin-top: 0 !important;
    color: #92400e !important;
}

.trade-offs-box ul {
    margin-bottom: 0 !important;
}

/* ── DIY / PRO STRENGTHS BOX VARIANTS ─────────────── */
.diy-strengths {
    border-left-color: #22c55e !important;
}

.diy-strengths h3 {
    color: #166534 !important;
}

.pro-strengths {
    background: #eff6ff !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-left: 5px solid #3b82f6 !important;
}

.pro-strengths h3 {
    color: #1e40af !important;
}

/* ── COMPARISON TABLE COLUMN HEADERS ──────────────── */
.comparison-highlight-table .diy-col {
    background: rgba(34, 197, 94, 0.06);
}

.comparison-highlight-table .pro-col {
    background: rgba(59, 130, 246, 0.06);
}

/* ── COST TABLE TOTAL ROW ─────────────────────────── */
.cost-table .total-row td {
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    font-weight: 700;
}

/* ── RESPONSIVE: COMPARISON POST ──────────────────── */
@media (max-width: 767.98px) {
    .choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .choose-card {
        padding: 22px;
    }

    .choose-card h3 {
        font-size: 1.05rem !important;
    }

    .trade-offs-box {
        padding: 18px 20px;
    }
}

/* ── DISPATCH TIMELINE (Post 5: 24/7 Monitoring) ──── */
.timeline-section {
    margin: 2rem 0;
    position: relative;
    padding-left: 40px;
}

.timeline-section::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--hsc-blue) 0%, rgba(0, 87, 184, 0.15) 100%);
    border-radius: 3px;
}

.timeline-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-number {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--hsc-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    margin-left: -40px;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(0, 87, 184, 0.25);
}

.timeline-step-content {
    flex: 1;
    padding-top: 4px;
}

.timeline-step-content h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem !important;
    font-weight: 700;
    color: var(--hsc-dark) !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.timeline-time {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.timeline-step-content p {
    margin-bottom: 0 !important;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── MONITORING TYPE TABLE COLUMNS (Post 5) ──────── */
.monitoring-type-table .self-col {
    background: rgba(156, 163, 175, 0.06);
}

.monitoring-type-table .pro-col {
    background: rgba(59, 130, 246, 0.06);
}

.monitoring-type-table .interactive-col {
    background: rgba(34, 197, 94, 0.06);
}

/* ── CHOOSE-SKIP CARD (Post 5: might skip it) ────── */
.choose-skip {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-top: 4px solid #ef4444;
}

.choose-skip h3 {
    color: #991b1b !important;
}

/* ── WIRELESS / WIRED CHOOSE CARDS (Post 6) ──────── */
.choose-wireless {
    background: #f0fdf4;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-top: 4px solid #22c55e;
}

.choose-wireless h3 {
    color: #166534 !important;
}

.choose-wired {
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-top: 4px solid #3b82f6;
}

.choose-wired h3 {
    color: #1e40af !important;
}

/* ── WIRED/WIRELESS TABLE COLUMNS (Post 6) ────────── */
.wired-wireless-table .wireless-col {
    background: rgba(34, 197, 94, 0.06);
}

.wired-wireless-table .wired-col {
    background: rgba(59, 130, 246, 0.06);
}

/* ── WIRED / WIRELESS STRENGTHS BOX VARIANTS ─────── */
.wired-strengths {
    background: #eff6ff !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-left: 5px solid #3b82f6 !important;
}

.wired-strengths h3 {
    color: #1e40af !important;
}

.wireless-strengths {
    border-left-color: #22c55e !important;
}

.wireless-strengths h3 {
    color: #166534 !important;
}

/* ── RESPONSIVE: TIMELINE ─────────────────────────── */
@media (max-width: 767.98px) {
    .timeline-section {
        padding-left: 32px;
    }

    .timeline-section::before {
        left: 14px;
    }

    .timeline-step-number {
        width: 32px;
        height: 32px;
        font-size: 0.82rem;
        margin-left: -32px;
    }

    .timeline-step-content h4 {
        font-size: 0.95rem !important;
    }

    .timeline-step-content p {
        font-size: 0.9rem;
    }
}

/* ══════════════════════════════════════════════════════
   CUSTOM BULLET POINT MARKERS — Blog Content Sections
   Colored square/circle markers for list items
   ══════════════════════════════════════════════════════ */

/* ── BASE: Remove default bullets, set up pseudo-element markers ── */
.scenario-box ul,
.trade-offs-box ul,
.choose-card ul,
.key-takeaways-box ul,
.highlight-box ul,
.quick-answer-box ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.scenario-box ul li,
.trade-offs-box ul li,
.choose-card ul li,
.key-takeaways-box ul li,
.highlight-box ul li,
.quick-answer-box ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px !important;
    line-height: 1.65;
}

.scenario-box ul li:last-child,
.trade-offs-box ul li:last-child,
.choose-card ul li:last-child,
.key-takeaways-box ul li:last-child,
.highlight-box ul li:last-child,
.quick-answer-box ul li:last-child {
    margin-bottom: 0 !important;
}

.scenario-box ul li::before,
.trade-offs-box ul li::before,
.choose-card ul li::before,
.key-takeaways-box ul li::before,
.highlight-box ul li::before,
.quick-answer-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 7px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── SCENARIO BOX (Green — Strengths / Wins) ────────── */
.scenario-box ul li::before {
    background: #22c55e;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.35);
}

/* ── Wired Strengths (Blue variant) ──────────────────── */
.scenario-box.wired-strengths ul li::before,
.scenario-box.pro-strengths ul li::before {
    background: #3b82f6;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.35);
}

/* ── Wireless Strengths (Green variant — default) ──── */
.scenario-box.wireless-strengths ul li::before,
.scenario-box.diy-strengths ul li::before {
    background: #22c55e;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.35);
}

/* ── TRADE-OFFS BOX (Amber/Red — Weaknesses) ────────── */
.trade-offs-box ul li::before {
    background: #ef4444;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
}

/* ── KEY TAKEAWAYS BOX (Orange markers) ──────────────── */
.key-takeaways-box ul li::before {
    background: var(--hsc-orange, #f97316);
    box-shadow: 0 1px 4px rgba(249, 115, 22, 0.3);
    border-radius: 50%;
}

/* ── QUICK ANSWER BOX (Blue markers) ─────────────────── */
.quick-answer-box ul li::before {
    background: var(--hsc-blue, #0057b8);
    box-shadow: 0 1px 4px rgba(0, 87, 184, 0.3);
    border-radius: 50%;
}

/* ── HIGHLIGHT BOX (Neutral slate markers) ───────────── */
.highlight-box ul li::before {
    background: #64748b;
    box-shadow: 0 1px 4px rgba(100, 116, 139, 0.25);
    border-radius: 50%;
}

/* ── CHOOSE CARDS: DIY / Wireless (Green markers) ──── */
.choose-card.choose-diy ul li::before,
.choose-card.choose-wireless ul li::before {
    background: #22c55e;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.35);
}

/* ── CHOOSE CARDS: Pro / Wired (Blue markers) ────────── */
.choose-card.choose-pro ul li::before,
.choose-card.choose-wired ul li::before {
    background: #3b82f6;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.35);
}

/* ── CHOOSE CARDS: Skip (Red markers) ────────────────── */
.choose-card.choose-skip ul li::before {
    background: #ef4444;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
}

/* ── CHECKLIST BOX (numbered list enhancement) ──────── */
.checklist-box ol {
    counter-reset: checklist-step;
    padding-left: 0 !important;
    list-style: none !important;
}

.checklist-box ol li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 14px !important;
    counter-increment: checklist-step;
}

.checklist-box ol li::before {
    content: counter(checklist-step);
    position: absolute;
    left: 0;
    top: 1px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--hsc-blue, #0057b8);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 87, 184, 0.25);
}

/* ── Holiday Checklist variant ───────────────────────── */
.holiday-checklist ol li::before {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}

/* ── RESPONSIVE: Custom bullets ──────────────────────── */
@media (max-width: 767.98px) {
    .scenario-box ul li,
    .trade-offs-box ul li,
    .choose-card ul li,
    .key-takeaways-box ul li,
    .highlight-box ul li,
    .quick-answer-box ul li {
        padding-left: 24px;
        margin-bottom: 8px !important;
    }

    .scenario-box ul li::before,
    .trade-offs-box ul li::before,
    .choose-card ul li::before,
    .key-takeaways-box ul li::before,
    .highlight-box ul li::before,
    .quick-answer-box ul li::before {
        width: 8px;
        height: 8px;
        top: 8px;
    }

    .checklist-box ol li {
        padding-left: 34px;
    }

    .checklist-box ol li::before {
        width: 22px;
        height: 22px;
        font-size: 0.68rem;
    }
}

/* ── Blog Post 7: Renter's Guide Additions ──────────────── */

.legal-disclaimer-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 22px 28px;
    margin: 30px 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #78350f;
}

.legal-disclaimer-box p {
    margin-bottom: 0 !important;
}

.legal-disclaimer-box strong {
    color: #92400e;
}

.tldr-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-left: 4px solid #3b82f6;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 35px 0;
}

.tldr-box h2 {
    font-size: 1.3rem !important;
    color: #1e40af !important;
    margin-bottom: 10px !important;
}

.tldr-box p {
    color: #1e3a5f;
    line-height: 1.75;
}

@media (max-width: 767px) {
    .legal-disclaimer-box {
        padding: 18px 20px;
        font-size: 0.85rem;
    }

    .tldr-box {
        padding: 22px 20px;
    }
}