/* Modern Clean Securitas-Style Single Post Layout */
:root {
    --ns-navy: #061525;
    --ns-navy-light: #0f2744;
    --ns-red: #ec1b3b;
    --ns-red-hover: #c81833;
    --ns-red-subtle: #fef2f2;
    --ns-slate-900: #0f172a;
    --ns-slate-700: #334155;
    --ns-slate-600: #475569;
    --ns-slate-500: #64748b;
    --ns-slate-200: #e2e8f0;
    --ns-slate-100: #f1f5f9;
    --ns-slate-50: #f8fafc;
    --ns-font: inherit;
}

body {
    background-color: #ffffff;
    color: var(--ns-slate-700);
}

.ns-post-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

/* Breadcrumbs */
.ns-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--ns-slate-500);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ns-breadcrumbs a {
    color: var(--ns-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.ns-breadcrumbs a:hover {
    color: var(--ns-red);
}

.ns-breadcrumbs .sep {
    color: #cbd5e1;
}

.ns-breadcrumbs .current {
    color: var(--ns-navy);
    font-weight: 700;
}

/* Article Header */
.ns-post-header {
    margin-bottom: 30px;
}

.ns-post-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ns-red-subtle);
    color: var(--ns-red);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid rgba(236, 27, 59, 0.15);
}

.ns-post-title {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 800;
    color: var(--ns-navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* Meta Info Bar */
.ns-post-meta-bar {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--ns-slate-200);
    border-bottom: 1px solid var(--ns-slate-200);
    gap: 24px;
    font-size: 0.9rem;
    color: var(--ns-slate-500);
    flex-wrap: wrap;
}

.ns-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.ns-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--ns-slate-500);
}

/* Hero Image */
.ns-post-hero-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ns-slate-100);
    margin: 35px 0 45px;
    box-shadow: 0 4px 20px rgba(6, 21, 37, 0.06);
}

.ns-post-hero-image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* 2-Column Content Layout */
.ns-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 50px;
    align-items: start;
}

/* Article Main Content */
.ns-article-body {
    font-size: 1.125rem;
    color: var(--ns-slate-700);
    line-height: 1.8;
}

.ns-article-body p {
    margin-bottom: 22px;
}

.ns-article-body h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ns-navy);
    margin: 45px 0 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.ns-article-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ns-navy);
    margin: 35px 0 16px;
    line-height: 1.35;
}

.ns-article-body a {
    color: var(--ns-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.ns-article-body a:hover {
    color: var(--ns-red-hover);
}

/* Key Takeaway Box */
.ns-takeaway-box {
    background: #f8fafc;
    border-left: 4px solid var(--ns-red);
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 10px 0 35px;
}

.ns-takeaway-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ns-navy);
    margin-bottom: 12px;
}

.ns-takeaway-box p {
    margin-bottom: 0;
    color: var(--ns-slate-700);
    font-size: 1.05rem;
}

/* Quote */
.ns-quote {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 30px 35px;
    border-radius: 8px;
    margin: 40px 0;
    border-left: 4px solid var(--ns-navy);
}

.ns-quote p {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 600;
    color: var(--ns-navy);
    margin: 0;
    line-height: 1.6;
}

/* Styled Checklist */
.ns-checklist {
    list-style: none;
    margin: 25px 0 35px;
    padding: 0;
}

.ns-checklist li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
    font-size: 1.08rem;
}

.ns-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: var(--ns-red-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec1b3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;
    background-size: 12px;
    border-radius: 50%;
    border: 1px solid rgba(236, 27, 59, 0.2);
}

/* Accordion FAQ */
.ns-faq-section {
    margin: 45px 0;
    border-top: 1px solid var(--ns-slate-200);
    padding-top: 35px;
}

.ns-faq-item {
    border: 1px solid var(--ns-slate-200);
    border-radius: 6px;
    margin-bottom: 14px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ns-faq-item:hover {
    border-color: #cbd5e1;
}

.ns-faq-item[open] {
    border-color: var(--ns-navy);
}

.ns-faq-question {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ns-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.ns-faq-question::-webkit-details-marker {
    display: none;
}

.ns-faq-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.ns-faq-item[open] .ns-faq-chevron {
    transform: rotate(180deg);
}

.ns-faq-answer {
    padding: 0 22px 20px;
    font-size: 1.05rem;
    color: var(--ns-slate-600);
    line-height: 1.7;
}

/* Sidebar */
.ns-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ns-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--ns-slate-200);
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 2px 10px rgba(6, 21, 37, 0.03);
}

.ns-sidebar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ns-navy);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ns-red);
}

/* Table of Contents */
.ns-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ns-toc-list li {
    margin-bottom: 12px;
}

.ns-toc-list a {
    color: var(--ns-slate-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.ns-toc-list a:hover {
    color: var(--ns-red);
}

/* CTA Box in Sidebar mit index.php Phone-Pill */
.ns-cta-sidebar {
    background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-navy-light) 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 28px 24px;
}

.ns-cta-sidebar .ns-sidebar-title {
    color: #ffffff;
    border-bottom-color: var(--ns-red);
    font-size: 1.25rem;
}

.ns-cta-sidebar p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 22px;
    line-height: 1.55;
}

.ns-phone-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: var(--ns-red) !important;
    color: #ffffff !important;
    border: 2px solid var(--ns-red) !important;
    padding: 13px 20px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 1.05rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(236, 27, 59, 0.35);
}

.ns-phone-pill:hover {
    background-color: var(--ns-red-hover) !important;
    border-color: var(--ns-red-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 27, 59, 0.45);
}

.ns-phone-pill svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: -1px;
}

/* Related Articles Section */
.ns-related-section {
    margin-top: 80px;
    border-top: 1px solid var(--ns-slate-200);
    padding-top: 50px;
}

.ns-related-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ns-navy);
    margin-bottom: 30px;
}

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

.ns-related-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.ns-related-media {
    aspect-ratio: 16/10;
    border-radius: 4px;
    overflow: hidden;
    background: var(--ns-slate-100);
    margin-bottom: 12px;
}

.ns-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ns-related-card:hover .ns-related-media img {
    transform: scale(1.05);
}

.ns-related-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ns-navy);
    line-height: 1.35;
    transition: color 0.2s;
}

.ns-related-card:hover h4 {
    color: var(--ns-red);
}

@media (max-width: 960px) {
    .ns-post-wrapper {
        padding-top: 110px;
    }
    .ns-post-layout {
        grid-template-columns: 1fr;
    }
    .ns-sidebar {
        position: static;
    }
    .ns-related-grid {
        grid-template-columns: 1fr;
    }
}
