/* help-detail — extracted from blade inline styles */
:root {
    --b-primary: #0f766e;
    --b-accent:  #14b8a6;
    --b-dark:    #0f172a;
    --b-text:    #1e293b;
    --b-muted:   #64748b;
    --b-border:  #e2e8f0;
    --b-bg:      #f8fafc;
    --b-radius:  12px;
    --b-shadow:  0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
    --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Breadcrumb ── */
.blog-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--b-border);
    padding: 12px 0;
    font-size: .84rem;
}
.blog-breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.blog-breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--b-muted); }
.blog-breadcrumb li a { color: var(--b-primary); text-decoration: none; }
.blog-breadcrumb li a:hover { text-decoration: underline; }
.blog-breadcrumb .separator { color: var(--b-border); }
.blog-breadcrumb li:last-child { color: var(--b-text); font-weight: 500; }

/* ── Article Hero ── */
.article-hero {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 70%, #0f766e 100%);
    padding: 56px 0;
    position: relative; overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.article-hero-inner { position: relative; z-index: 1; }
.article-cat-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 50px;
    font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 18px; text-decoration: none;
}
.article-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 20px;
    max-width: 780px;
}
.article-meta-row {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 18px; font-size: .87rem; color: rgba(255,255,255,.7);
}
.article-meta-row span { display: flex; align-items: center; gap: 6px; }
.article-meta-row .author-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: #fff;
}

/* ── Featured image ── */
.article-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 0 0 var(--b-radius) var(--b-radius);
    display: block;
}

/* ── Article layout ── */
.article-layout { background: var(--b-bg); padding: 48px 0 72px; }

/* ── Article content card ── */
.article-content-card {
    background: #fff;
    border-radius: var(--b-radius);
    box-shadow: var(--b-shadow);
    padding: 48px;
    margin-bottom: 32px;
}

/* ── Article typography ── */
.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--b-text);
}
.article-body h2 {
    font-size: 1.6rem; font-weight: 700;
    color: var(--b-dark); margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--b-border);
}
.article-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--b-dark); margin: 28px 0 12px; }
.article-body h4 { font-size: 1.05rem; font-weight: 600; color: var(--b-dark); margin: 24px 0 10px; }
.article-body p { margin-bottom: 1.4em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em 1.5em; padding: 0; }
.article-body li { margin-bottom: .5em; line-height: 1.7; }
.article-body blockquote {
    border-left: 4px solid var(--b-accent);
    background: #f0fdfa;
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic; color: var(--b-primary);
    font-size: 1.05rem;
}
.article-body code {
    background: #f1f5f9; color: #dc2626;
    padding: 2px 6px; border-radius: 4px;
    font-size: .9em; font-family: 'Courier New', monospace;
}
.article-body pre {
    background: #0f172a; color: #e2e8f0;
    padding: 24px; border-radius: 10px;
    overflow-x: auto; margin: 24px 0;
    font-size: .9rem; line-height: 1.7;
}
.article-body pre code { background: none; color: inherit; padding: 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.article-body a { color: var(--b-primary); text-decoration: underline; }
.article-body a:hover { color: var(--b-accent); }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .93rem; }
.article-body th { background: var(--b-primary); color: #fff; padding: 12px 16px; text-align: left; }
.article-body td { padding: 10px 16px; border-bottom: 1px solid var(--b-border); }
.article-body tr:nth-child(even) td { background: var(--b-bg); }
.article-body hr { border: none; border-top: 2px solid var(--b-border); margin: 32px 0; }

/* ── Tags & Share ── */
.article-tags { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--b-border); }
.article-tags h4 { font-size: .85rem; font-weight: 700; color: var(--b-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.tag-chip {
    display: inline-block; padding: 5px 14px;
    background: var(--b-bg); border: 1px solid var(--b-border);
    border-radius: 50px; color: var(--b-text);
    font-size: .82rem; text-decoration: none; margin: 3px 3px 3px 0;
    transition: var(--transition);
}
.tag-chip:hover { background: var(--b-primary); color: #fff; border-color: var(--b-primary); }

/* ── Social share ── */
.share-bar {
    background: #fff;
    border-radius: var(--b-radius);
    box-shadow: var(--b-shadow);
    padding: 24px;
    margin-bottom: 32px;
}
.share-bar h4 { font-size: .85rem; font-weight: 700; color: var(--b-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 8px;
    font-size: .84rem; font-weight: 600; text-decoration: none;
    transition: var(--transition);
}
.share-btn-fb  { background: #1877f2; color: #fff; }
.share-btn-tw  { background: #1da1f2; color: #fff; }
.share-btn-li  { background: #0a66c2; color: #fff; }
.share-btn-wa  { background: #25d366; color: #fff; }
.share-btn:hover { opacity: .85; transform: translateY(-1px); }

/* ── Author box ── */
.author-box {
    background: #fff;
    border-radius: var(--b-radius);
    box-shadow: var(--b-shadow);
    padding: 28px;
    display: flex; gap: 20px; align-items: flex-start;
    margin-bottom: 32px;
}
.author-avatar-lg {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--b-primary), var(--b-accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff; flex-shrink: 0;
}
.author-info h4 { font-size: 1.05rem; font-weight: 700; color: var(--b-dark); margin-bottom: 4px; }
.author-info .author-title { font-size: .83rem; color: var(--b-accent); font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: .9rem; color: var(--b-muted); line-height: 1.6; margin: 0; }

/* ── Related Posts ── */
.related-section h3 {
    font-size: 1.2rem; font-weight: 700; color: var(--b-dark);
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
    background: #fff; border-radius: var(--b-radius);
    box-shadow: var(--b-shadow); overflow: hidden;
    text-decoration: none; transition: var(--transition); display: block;
}
.related-card:hover { box-shadow: 0 8px 32px rgba(15,118,110,.12); transform: translateY(-2px); }
.related-card-img {
    height: 140px;
    background: linear-gradient(145deg, #f0f4f8, #e2e8f0);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.related-card-img > i { color: #94a3b8; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 16px; }
.related-card-body h4 { font-size: .9rem; font-weight: 700; color: var(--b-dark); line-height: 1.4; margin-bottom: 8px; }
.related-card-body .date { font-size: .78rem; color: var(--b-muted); }

/* ── Sidebar ── */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
    background: #fff; border-radius: var(--b-radius);
    padding: 20px 22px; box-shadow: var(--b-shadow);
}
.sidebar-widget-title {
    font-size: .85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--b-primary); margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--b-border);
    display: flex; align-items: center; gap: 8px;
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { border-bottom: 1px solid var(--b-border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list li a {
    display: block; padding: 9px 0;
    color: var(--b-text); text-decoration: none;
    font-size: .87rem; transition: var(--transition);
}
.toc-list li a:hover { color: var(--b-primary); padding-left: 6px; }
/* ── Post progress bar ── */
#read-progress {
    position: fixed; top: 0; left: 0; z-index: 9999;
    height: 3px; background: linear-gradient(90deg, #0f766e, #14b8a6);
    width: 0%; transition: width .1s linear;
}

/* ── Key Takeaways (AI-ready summary) ── */
.key-takeaways {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border: 1px solid #99f6e4;
    border-left: 4px solid #0d9488;
    border-radius: 0 12px 12px 0;
    padding: 22px 24px;
    margin: 0 0 32px;
}
.key-takeaways-label {
    display: flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em;
    color: #0f766e; margin-bottom: 12px;
}
.key-takeaways ul {
    margin: 0; padding-left: 20px;
    list-style: none;
}
.key-takeaways ul li {
    font-size: .93rem; line-height: 1.65; color: #134e4a;
    margin-bottom: 7px; padding-left: 4px;
    position: relative;
}
.key-takeaways ul li::before {
    content: '✓';
    position: absolute; left: -18px;
    color: #0d9488; font-weight: 700;
}

/* ── Insider Tip box (inline in article content) ── */
.insider-tip, .article-body .insider-tip {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 28px 0;
    color: #e2e8f0;
    font-size: .95rem;
    line-height: 1.7;
    position: relative;
}
.insider-tip::before {
    content: '⚡ WebsNP Insider Tip';
    display: block;
    font-size: .72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em;
    color: #fbbf24; margin-bottom: 10px;
}
.insider-tip code { background: rgba(255,255,255,.12); color: #5eead4; }
.insider-tip a { color: #5eead4; }

/* ── Table of Contents (sidebar) ── */
.toc-widget {
    background: #fff;
    border-radius: var(--b-radius);
    padding: 20px 22px;
    box-shadow: var(--b-shadow);
    margin-bottom: 24px;
    border-top: 3px solid #0d9488;
}
.toc-widget-title {
    font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em;
    color: #0f766e; margin-bottom: 14px;
    display: flex; align-items: center; gap: 7px;
}
.toc-nav { list-style: none; margin: 0; padding: 0; }
.toc-nav li { margin: 0; }
.toc-nav > li > a {
    display: block; padding: 7px 0 7px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #374151; text-decoration: none;
    font-size: .85rem; line-height: 1.45;
    transition: all .2s;
    font-weight: 500;
}
.toc-nav > li > a:hover, .toc-nav > li > a.toc-active {
    color: #0f766e; padding-left: 6px;
}
.toc-nav > li > a.toc-active { font-weight: 700; }
.toc-nav > li:last-child > a { border-bottom: none; }
.toc-nav .toc-h3 > a {
    padding-left: 14px; font-size: .82rem;
    font-weight: 400; color: #64748b;
}
.toc-nav .toc-h3 > a:hover { color: #0f766e; padding-left: 18px; }

/* ── Contextual Primary CTA sidebar ── */
.primary-cta-widget {
    background: linear-gradient(135deg, #0f172a, #134e4a);
    border-radius: var(--b-radius);
    padding: 22px;
    margin-bottom: 24px;
    color: #fff;
}
.primary-cta-widget .cta-badge {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: #5eead4; margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}
.primary-cta-widget h4 {
    font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 8px;
}
.primary-cta-widget p {
    font-size: .82rem; color: rgba(255,255,255,.68); line-height: 1.6; margin-bottom: 14px;
}
.primary-cta-widget a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: #0d9488; color: #fff !important;
    padding: 10px 18px; border-radius: 8px;
    font-weight: 700; font-size: .85rem; text-decoration: none !important;
    transition: background .2s, transform .15s;
}
.primary-cta-widget a:hover { background: #0f766e; transform: translateY(-1px); }

/* ── Last Updated badge in article header ── */
.updated-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.3);
    color: #86efac;
    font-size: .78rem; font-weight: 600;
    padding: 3px 10px; border-radius: 50px;
}

/* ── Copy-to-clipboard button on code blocks ── */
.code-wrap { position: relative; }
.copy-btn {
    position: absolute; top: 10px; right: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #94a3b8; border-radius: 6px;
    padding: 4px 10px; font-size: .75rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
    display: flex; align-items: center; gap: 5px;
}
.copy-btn:hover { background: rgba(255,255,255,.2); color: #e2e8f0; }
.copy-btn.copied { color: #4ade80; border-color: rgba(74,222,128,.3); }

/* ── Sticky sidebar ── */
@media (min-width: 992px) {
    #sidebar { position: sticky; top: 72px; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .article-hero h1 { font-size: 1.9rem; }
}
@media (max-width: 767px) {
    .article-hero { padding: 36px 0; }
    .article-hero h1 { font-size: 1.5rem; }
    .article-content-card { padding: 24px 20px; }
    .related-grid { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
}

