.sh-blog{padding-top:5rem;color:var(--text-primary,#111827)}
.sh-wrap{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.sh-narrow{max-width:760px;margin:0 auto;padding:0 1.5rem}
.sh-section{padding-top:2.5rem;padding-bottom:5rem}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* hero */
.sh-blog-hero{background:linear-gradient(180deg,color-mix(in srgb,var(--brand,#4F46E5) 7%,#fff) 0%,#fff 100%);padding:4rem 0 2rem;border-bottom:1px solid var(--border-soft,#e5e7eb)}
.sh-blog-hero h1{font-size:clamp(2rem,4vw,3rem);line-height:1.15;font-weight:800;letter-spacing:-.02em;max-width:820px;margin:.5rem 0 1rem}
.sh-eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--brand,#4F46E5);margin:0}
.sh-lead{font-size:1.15rem;line-height:1.7;color:var(--text-ui,#374151);max-width:680px;margin:0}
.sh-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.75rem 0 0;padding:0;list-style:none}
.sh-pills a{display:inline-block;padding:.45rem 1rem;border:1px solid var(--border-soft,#e5e7eb);border-radius:999px;font-size:.875rem;font-weight:600;color:var(--text-ui,#374151);background:#fff;text-decoration:none;transition:all .15s}
.sh-pills a:hover,.sh-pills a.is-active{background:var(--brand,#4F46E5);border-color:var(--brand,#4F46E5);color:#fff}

/* cards */
.sh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.75rem}
.sh-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border-soft,#e5e7eb);border-radius:1rem;overflow:hidden;transition:box-shadow .2s,transform .2s}
.sh-card:hover{box-shadow:0 12px 32px rgba(0,0,0,.08);transform:translateY(-2px)}
.sh-card-media{display:block;aspect-ratio:16/9;overflow:hidden}
.sh-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.sh-card-ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,color-mix(in srgb,var(--brand,#4F46E5) 22%,#fff),color-mix(in srgb,var(--brand,#4F46E5) 6%,#fff))}
.sh-card-body{display:flex;flex-direction:column;gap:.6rem;padding:1.25rem 1.5rem 1.5rem;flex:1}
.sh-cat{align-self:flex-start;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand,#4F46E5);text-decoration:none}
.sh-card-title{font-size:1.2rem;line-height:1.35;font-weight:700;margin:0}
.sh-card-title a{color:inherit;text-decoration:none}
.sh-card-title a:hover{color:var(--brand,#4F46E5)}
.sh-card-excerpt{flex:1;margin:0;font-size:.95rem;line-height:1.6;color:var(--text-muted,#6b7280)}
.sh-meta{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.8125rem;color:var(--text-muted,#6b7280)}
.sh-card-featured{margin-bottom:2.5rem}
@media(min-width:900px){
  .sh-card-featured{flex-direction:row}
  .sh-card-featured .sh-card-media{flex:1.2;aspect-ratio:auto;min-height:340px}
  .sh-card-featured .sh-card-body{flex:1;justify-content:center;padding:2.5rem}
  .sh-card-featured .sh-card-title{font-size:1.9rem}
}

/* pagination */
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-top:3rem}
.pagination .page-numbers{padding:.5rem .9rem;border:1px solid var(--border-soft,#e5e7eb);border-radius:.5rem;font-weight:600;color:var(--text-ui,#374151);text-decoration:none}
.pagination .page-numbers.current,.pagination a.page-numbers:hover{background:var(--brand,#4F46E5);border-color:var(--brand,#4F46E5);color:#fff}
.sh-empty{padding:4rem 0;text-align:center;color:var(--text-muted,#6b7280)}

/* article */
.sh-article-head{padding:3rem 0 1.5rem}
.sh-article-head h1{font-size:clamp(2rem,4.5vw,2.75rem);line-height:1.15;font-weight:800;letter-spacing:-.02em;margin:.75rem 0 1rem}
.sh-article-img{max-width:1000px;margin:0 auto 2.5rem;padding:0 1.5rem}
.sh-article-img img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:1rem;display:block}
.sh-toc{background:color-mix(in srgb,var(--brand,#4F46E5) 5%,#fff);border:1px solid var(--border-soft,#e5e7eb);border-radius:.75rem;padding:1.25rem 1.5rem;margin-bottom:2rem}
.sh-toc-title{font-weight:700;margin:0 0 .5rem}
.sh-toc ol{margin:0;padding-left:1.25rem;list-style:decimal}
.sh-toc li+li{margin-top:.35rem}
.sh-toc a{color:var(--text-ui,#374151);text-decoration:none}
.sh-toc a:hover{color:var(--brand,#4F46E5)}

.sh-prose{font-size:1.0625rem;line-height:1.8;color:var(--text-ui,#374151)}
.sh-prose>*+*{margin-top:1.25rem}
.sh-prose h2{font-size:1.65rem;line-height:1.3;font-weight:700;margin-top:2.5rem;color:var(--text-primary,#111827);scroll-margin-top:6rem}
.sh-prose h3{font-size:1.3rem;line-height:1.35;font-weight:700;margin-top:2rem;color:var(--text-primary,#111827);scroll-margin-top:6rem}
.sh-prose ul,.sh-prose ol{padding-left:1.5rem}
.sh-prose ul{list-style:disc}
.sh-prose ol{list-style:decimal}
.sh-prose li+li{margin-top:.4rem}
.sh-prose a{color:var(--brand,#4F46E5);text-decoration:underline;text-underline-offset:2px}
.sh-prose strong{color:var(--text-primary,#111827)}
.sh-prose blockquote{border-left:4px solid var(--brand,#4F46E5);padding:.25rem 0 .25rem 1.25rem;font-style:italic}
.sh-prose code{background:#f3f4f6;padding:.15em .4em;border-radius:.3rem;font-size:.9em}
.sh-prose pre{background:#0f172a;color:#e2e8f0;padding:1.25rem;border-radius:.75rem;overflow-x:auto;font-size:.9rem;line-height:1.6}
.sh-prose pre code{background:none;padding:0;color:inherit}
.sh-prose table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.sh-prose th,.sh-prose td{border:1px solid var(--border-soft,#e5e7eb);padding:.6rem .9rem;text-align:left}
.sh-prose th{background:color-mix(in srgb,var(--brand,#4F46E5) 5%,#fff);color:var(--text-primary,#111827)}
.sh-prose img{height:auto;border-radius:.75rem}
.sh-prose figcaption{font-size:.85rem;text-align:center;color:var(--text-muted,#6b7280);margin-top:.5rem}
.sh-prose hr{border:0;border-top:1px solid var(--border-soft,#e5e7eb);margin:2.5rem 0}

.sh-cta{margin:3rem 0;padding:2rem;border-radius:1rem;background:linear-gradient(135deg,#1e1b4b,var(--brand,#4F46E5));color:#fff}
.sh-cta h2{font-size:1.5rem;font-weight:700;margin:0 0 .5rem;color:#fff}
.sh-cta p{margin:0;opacity:.9;line-height:1.6}
.sh-btn{display:inline-block;margin-top:1.25rem;padding:.75rem 1.5rem;background:#fff;color:var(--brand,#4F46E5);border-radius:.5rem;font-weight:700;text-decoration:none}
.sh-related{background:color-mix(in srgb,var(--brand,#4F46E5) 4%,#fff);padding:4rem 0;margin-top:3rem}
.sh-related-title{font-size:1.6rem;font-weight:700;margin:0 0 1.5rem}

/* logged-in admin bar vs fixed header */
body.admin-bar #site-header{top:32px}
@media(max-width:782px){body.admin-bar #site-header{top:46px}}

/* article layout with sidebar */
.sh-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:3rem;align-items:start;padding-bottom:1rem}
.sh-main{min-width:0}
.sh-main .sh-article-img{max-width:none;padding:0;margin:0 0 2rem}
.sh-article-head h1{max-width:820px}
.sh-sidebar{display:flex;flex-direction:column;gap:1.5rem}
@media(min-width:1024px){.sh-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(min-width:1024px) and (min-height:800px){.sh-sidebar{position:sticky;top:6.5rem}}
.sh-widget{background:#fff;border:1px solid var(--border-soft,#e5e7eb);border-radius:1rem;padding:1.25rem 1.5rem}
.sh-widget-title{font-size:1rem;font-weight:700;margin:0 0 .85rem;color:var(--text-primary,#111827)}
.sh-widget ul{margin:0;padding:0;list-style:none}
.sh-widget-list li{display:flex;justify-content:space-between;gap:.75rem;padding:.55rem 0;border-top:1px solid var(--border-soft,#e5e7eb);font-size:.95rem;line-height:1.45}
.sh-widget-list li:first-child{border-top:0;padding-top:0}
.sh-widget-list a{color:var(--text-ui,#374151);text-decoration:none}
.sh-widget-list a:hover{color:var(--brand,#4F46E5)}
.sh-widget-list span{color:var(--text-muted,#6b7280);font-size:.8125rem}
.sh-search{display:flex;gap:.5rem}
.sh-search input{flex:1;min-width:0;padding:.6rem .8rem;border:1px solid var(--border-soft,#e5e7eb);border-radius:.5rem;font-size:.95rem}
.sh-search button{padding:.6rem 1rem;background:var(--brand,#4F46E5);color:#fff;border:0;border-radius:.5rem;font-weight:600;cursor:pointer}
.sh-widget-cta{background:linear-gradient(135deg,#1e1b4b,var(--brand,#4F46E5));border:0;color:#fff}
.sh-widget-cta .sh-widget-title{color:#fff;font-size:1.15rem}
.sh-widget-cta p{margin:0;opacity:.9;line-height:1.6;font-size:.95rem}

/* ---- article polish ---- */
.sh-crumbs{display:flex;flex-wrap:wrap;gap:.4rem;font-size:.8125rem;color:var(--text-muted,#6b7280);margin:0 0 .85rem}
.sh-crumbs a{color:inherit;text-decoration:none}
.sh-crumbs a:hover{color:var(--brand,#4F46E5)}
.sh-progress{position:fixed;top:0;left:0;width:100%;height:3px;background:var(--brand,#4F46E5);transform:scaleX(0);transform-origin:0 50%;z-index:60;pointer-events:none}
body.admin-bar .sh-progress{top:32px}
.sh-anchor{margin-left:.4rem;color:var(--brand,#4F46E5);text-decoration:none;opacity:0;font-weight:400}
.sh-prose h2:hover .sh-anchor,.sh-prose h3:hover .sh-anchor,.sh-anchor:focus{opacity:.7}

.sh-code{position:relative}
.sh-code pre{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;tab-size:4}
.sh-copy{position:absolute;top:.6rem;right:.6rem;padding:.25rem .65rem;font-size:.75rem;font-weight:600;border:1px solid rgba(255,255,255,.25);border-radius:.375rem;background:rgba(255,255,255,.08);color:#e2e8f0;cursor:pointer}
.sh-copy:hover{background:rgba(255,255,255,.18)}

.sh-toc a.is-active{color:var(--brand,#4F46E5);font-weight:600}
.sh-toc-side{display:none;background:#fff;margin-bottom:0}
@media(min-width:1024px){
  .sh-toc-side{display:block}
  .sh-main .sh-toc{display:none}
  .sh-sidebar{position:sticky;top:6.5rem;max-height:calc(100vh - 7.5rem);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:.25rem}
}

.callout{padding:1rem 1.25rem;border:1px solid var(--border-soft,#e5e7eb);border-left-width:4px;border-radius:.75rem;background:#f9fafb}
.callout p{margin:0}
.callout>*+*{margin-top:.5rem}
.callout-note{border-left-color:var(--brand,#4F46E5);background:color-mix(in srgb,var(--brand,#4F46E5) 5%,#fff)}
.callout-tip{border-left-color:#059669;background:#ecfdf5}
.callout-warning{border-left-color:#d97706;background:#fffbeb}

.sh-prose table{font-size:.95rem}
.sh-prose tbody tr:nth-child(even){background:#f9fafb}

.sh-author{display:flex;gap:1rem;align-items:flex-start;margin:2.5rem 0 0;padding:1.5rem;border:1px solid var(--border-soft,#e5e7eb);border-radius:1rem;background:#fff}
.sh-author-avatar{flex:none;width:3rem;height:3rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;background:linear-gradient(135deg,#1e1b4b,var(--brand,#4F46E5))}
.sh-author-name{font-weight:700;margin:0}
.sh-author-bio{margin:.25rem 0 0;font-size:.95rem;line-height:1.6;color:var(--text-muted,#6b7280)}
.sh-postnav{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:2rem}
@media(min-width:640px){.sh-postnav{grid-template-columns:1fr 1fr}}
.sh-postnav a{display:block;padding:1rem 1.25rem;border:1px solid var(--border-soft,#e5e7eb);border-radius:.75rem;text-decoration:none;color:var(--text-ui,#374151);font-weight:600;line-height:1.4}
.sh-postnav a:hover{border-color:var(--brand,#4F46E5);color:var(--brand,#4F46E5)}
.sh-postnav small{display:block;font-weight:500;color:var(--text-muted,#6b7280);margin-bottom:.25rem}
.sh-postnav .next{text-align:right}

/* article header cover (used when no featured image is set) */
.sh-article-img--cover{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden}
.sh-article-img--cover .sh-cover-label{font-size:.85rem}

/* ---- batch 2: covers, section heads, 404 ---- */
.sh-card-media{position:relative}
.sh-cover{--c1:#1e1b4b;--c2:#4F46E5;position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;color:#fff;background:linear-gradient(135deg,var(--c1),var(--c2));overflow:hidden}
.sh-cover::before,.sh-cover::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}
.sh-cover::before{width:60%;aspect-ratio:1;top:-25%;right:-12%}
.sh-cover::after{width:38%;aspect-ratio:1;bottom:-18%;left:-8%}
.sh-cover svg{position:relative;width:18%;min-width:2.25rem;max-width:4rem;height:auto;opacity:.95}
.sh-cover-label{position:relative;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;opacity:.85}
.sh-cover--web-hosting{--c1:#312e81;--c2:#4F46E5}
.sh-cover--wordpress{--c1:#1e3a8a;--c2:#2563eb}
.sh-cover--servers{--c1:#0f172a;--c2:#4338ca}
.sh-cover--domains{--c1:#155e75;--c2:#0891b2}
.sh-cover--website-security{--c1:#064e3b;--c2:#059669}
.sh-cover--guides-tutorials{--c1:#581c87;--c2:#7c3aed}

.sh-section-head{margin:0 0 1.5rem}
.sh-section-head h2{font-size:1.5rem;font-weight:800;letter-spacing:-.01em;margin:0}
.sh-section-head p{margin:.35rem 0 0;color:var(--text-muted,#6b7280)}
.sh-start{padding-top:2.5rem}
.sh-start .sh-card-featured{margin-bottom:0}
.sh-blog-hero .sh-search{max-width:32rem;margin-top:1.5rem}
