/* ============================================================
   Neo Cybertech Solutions — style.css
   Pure custom CSS — no frameworks, no external fonts (system stack)
   Mobile-First, fully responsive
   ============================================================ */

/* -------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ------------------------------------------------------- */
:root {
    --color-primary:      #0a2540;
    --color-accent:       #0066ff;
    --color-accent-dark:  #004ecc;
    --color-accent-light: #e6f0ff;
    --color-text:         #1a1a2e;
    --color-textmid:      #444466;
    --color-textlight:    #6b7280;
    --color-bg:           #ffffff;
    --color-bgsub:        #f7f9fc;
    --color-border:       #e2e8f0;
    --color-success:      #16a34a;
    --color-error:        #dc2626;
    --color-footer-bg:    #0a1628;
    --color-footer-text:  #a8b8cc;

    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.14);
    --shadow-hover: 0 12px 40px rgba(0,102,255,0.18);

    --transition: 0.22s ease;

    --container-max: 1200px;
    --container-pad: 1.25rem;

    --header-h:      68px;
    --sidebar-width: 240px;
}

/* -------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover, a:focus { color: var(--color-accent-dark); }

ul, ol { list-style: none; }

address { font-style: normal; }

em { font-style: normal; }

/* -------------------------------------------------------
   3. Skip Nav
   ------------------------------------------------------- */
.skipnav {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skipnav:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    background: var(--color-accent);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
}

/* -------------------------------------------------------
   4. Utility Classes
   ------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section       { padding-block: 4rem; }
.section--bg   { background: var(--color-bgsub); }

.sectiontitle {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.sectionsubtitle {
    color: var(--color-textlight);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.sectionheader         { margin-bottom: 2.5rem; }
.sectionheader--center { text-align: center; }

/* Tag pill */
.tag {
    display: inline-block;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Section title that follows a tag pill inherits spacing */
.tag + .sectiontitle { margin-top: 0.5rem; }

.text-center { text-align: center; }
.text-muted  { color: var(--color-textlight); }

/* Spacing helpers (replaces inline style="margin-top / margin-bottom") */
.mt-sm  { margin-top: 0.5rem; }
.mt-md  { margin-top: 1rem; }
.mt-lg  { margin-top: 1.5rem; }
.mt-xl  { margin-top: 2rem; }
.mb-sm  { margin-bottom: 0.5rem; }
.mb-md  { margin-bottom: 1rem; }
.mb-lg  { margin-bottom: 1.5rem; }
.mb-xl  { margin-bottom: 2rem; }

/* -------------------------------------------------------
   5. Buttons
   ------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.7rem 1.75rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--transition), color var(--transition),
                transform var(--transition), box-shadow var(--transition);
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn--outline:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Ghost: transparent with white border — for use on dark backgrounds */
.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn--white {
    background: #fff;
    color: var(--color-accent);
    border-color: #fff;
}
.btn--white:hover {
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
}

.btn--sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }

.btn--danger {
    background: var(--color-error);
    color: #fff;
    border-color: var(--color-error);
}
.btn--danger:hover { background: #b91c1c; border-color: #b91c1c; }

/* -------------------------------------------------------
   6. Header / Navigation
   ------------------------------------------------------- */
.siteheader {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    height: var(--header-h);
    display: flex;
    align-items: center;
}

.headerinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logomark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.logotext {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.15;
    display: flex;
    flex-direction: column;
}

.logotext em {
    font-size: 0.7rem;
    font-weight: 400;
    color: #a8c4e8;
}

/* Primary nav — mobile hidden by default */
.primarynav        { display: none; }
.primarynav.open   { display: block; }

.navlist {
    display: flex;
    flex-direction: column;
    background: var(--color-primary);
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.navlink {
    display: block;
    padding: 0.7rem 0.5rem;
    color: #c8d8ec;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color var(--transition);
}
.navlink:hover, .navlink:focus { color: #fff; }

.navlink--cta {
    display: inline-block;
    margin-top: 0.5rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    border-bottom: none;
}
.navlink--cta:hover { background: var(--color-accent-dark); color: #fff; }

/* Hamburger */
.navtoggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navtoggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle.active .bar:nth-child(2) { opacity: 0; }
.navtoggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------
   7. Hero Section
   ------------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #132f58 60%, #1a4b82 100%);
    color: #fff;
    padding-block: 5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 80% 50%, rgba(0,102,255,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 30% 40% at 15% 80%, rgba(0,200,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.herocontent { position: relative; z-index: 1; }

.herotag {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #a8d0ff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.herotitle {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.herotitle span { color: #4db8ff; }

.herodesc {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #b8d0ec;
    max-width: 580px;
    margin-bottom: 2.25rem;
    line-height: 1.7;
}

.herobtngroup {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.herostats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.herostat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.herostat-label {
    font-size: 0.8rem;
    color: #8aadcc;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* -------------------------------------------------------
   8. Cards — Portfolio / Blog teaser
   ------------------------------------------------------- */
.grid {
    display: grid;
    gap: 1.5rem;
}

/* Mobile base — all grids single column */
.grid--2,
.grid--3,
.grid--4 { grid-template-columns: 1fr; }

.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cardimg {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.cardimgplaceholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--color-accent-light), #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.cardbody { padding: 1.25rem 1.5rem 1.5rem; }

.cardtag { margin-bottom: 0.75rem; }

.cardtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.carddesc {
    font-size: 0.9rem;
    color: var(--color-textmid);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cardlink {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.cardlink::after { content: ' \2192'; }
.cardlink:hover  { color: var(--color-accent-dark); }

/* -------------------------------------------------------
   9. Blog Layout — Magazine Style
   ------------------------------------------------------- */
.bloghero {
    background: var(--color-bgsub);
    border-bottom: 1px solid var(--color-border);
    padding-block: 2.5rem;
}

.blogheadline {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.bloglayout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3rem;
}

/* Featured post */
.postfeatured {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.postfeaturedimg {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.postfeaturedimg-placeholder {
    width: 100%;
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, #0a2540, #1a4b82);
}

.postfeaturedbody { padding: 1.75rem 2rem 2rem; }

.postmeta {
    font-size: 0.8rem;
    color: var(--color-textlight);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.postmeta-dot::before { content: '\00B7'; margin-right: 0.75rem; }

.posttitle {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.posttitle a { color: inherit; }
.posttitle a:hover { color: var(--color-accent); }

.postexcerpt {
    color: var(--color-textmid);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.readmore {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
}
.readmore:hover { color: var(--color-accent-dark); }

/* Blog post list items */
.postlist { display: flex; flex-direction: column; gap: 1.25rem; }

.postitem {
    display: flex;
    gap: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition);
    padding: 1rem;
}
.postitem:hover { box-shadow: var(--shadow-md); }

.postitemimg {
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-accent-light), #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.postitembody { flex: 1; min-width: 0; }

.postitemtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}
.postitemtitle a { color: inherit; }
.postitemtitle a:hover { color: var(--color-accent); }

.postitemmeta { font-size: 0.75rem; color: var(--color-textlight); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.75rem; }

.sidebarwidget {
    background: var(--color-bgsub);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.sidebarwidgetheading {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--color-accent);
}

.popularpost {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding-block: 0.65rem;
    border-bottom: 1px solid var(--color-border);
}
.popularpost:last-child { border-bottom: none; padding-bottom: 0; }

.popularpostnum {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.popularposttitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.35;
}
.popularposttitle a { color: inherit; }
.popularposttitle a:hover { color: var(--color-accent); }

.popularpostdate { font-size: 0.73rem; color: var(--color-textlight); margin-top: 0.15rem; }

/* -------------------------------------------------------
   10. Single Article
   ------------------------------------------------------- */
.articlehero {
    background: var(--color-primary);
    padding-block: 3.5rem;
}

.articleheading {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 820px;
}

.articlemeta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #a8c4e8;
    font-size: 0.875rem;
}

.articlelayout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3rem;
}

.articlecontent {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 720px;
}

.articlecontent h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.articlecontent h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1.5rem 0 0.5rem;
}

.articlecontent p  { margin-bottom: 1.25rem; }

.articlecontent ul,
.articlecontent ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.articlecontent ul { list-style: disc; }
.articlecontent ol { list-style: decimal; }

.articlecontent li { margin-bottom: 0.4rem; }

.articlecontent blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 0.75rem 1.25rem;
    background: var(--color-accent-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-primary);
}

.articlecontent a { text-decoration: underline; }

.articlefeatureimg {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    max-height: 480px;
    object-fit: cover;
}

.articlenav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.articlenav .btn--outline { margin-left: auto; }
.articlenav .btn--outline:first-child { margin-left: 0; }

/* -------------------------------------------------------
   11. Forms
   ------------------------------------------------------- */
.formgroup { margin-bottom: 1.25rem; }

.formlabel {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.formlabel .required { color: var(--color-error); margin-left: 3px; }

.forminput,
.formtextarea,
.formselect {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.forminput:focus,
.formtextarea:focus,
.formselect:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}

.forminput[type="file"] { padding: 0.5rem; cursor: pointer; }

.formtextarea { resize: vertical; min-height: 130px; }

.formselect {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.formhint  { font-size: 0.78rem; color: var(--color-textlight); margin-top: 0.3rem; }
.formerror { font-size: 0.82rem; color: var(--color-error); margin-top: 0.3rem; }

.alertbox {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alertbox--success { background: #f0fdf4; border-color: #86efac; color: var(--color-success); }
.alertbox--error   { background: #fef2f2; border-color: #fca5a5; color: var(--color-error); }

.contactform-wrap {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* Two-column form row helper */
.formrow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* -------------------------------------------------------
   12. Contact Page
   ------------------------------------------------------- */
.contactlayout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3rem;
}

.contactinfocard {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.contactinfocard h2 { color: #fff; font-size: 1.4rem; margin-bottom: 0.75rem; }
.contactinfocard p  { color: #a8c4e8; line-height: 1.7; margin-bottom: 1.5rem; }

.contactinfolist { display: flex; flex-direction: column; gap: 1.25rem; }

.contactinfoitem {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contacticon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contactinfotxt strong { display: block; color: #fff; font-size: 0.85rem; margin-bottom: 0.15rem; }
.contactinfotxt span  { color: #a8c4e8; font-size: 0.88rem; }
.contactinfotxt a     { color: #6bc8ff; }

/* -------------------------------------------------------
   13. Static Pages (Privacy, Terms)
   ------------------------------------------------------- */
.pagehero {
    background: linear-gradient(135deg, var(--color-primary), #132f58);
    padding-block: 3rem;
    text-align: center;
}

.pagehero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pagehero p { color: #a8c4e8; font-size: 0.95rem; }

.staticcontent {
    max-width: 860px;
    margin-inline: auto;
    padding-block: 3rem;
    padding-inline: var(--container-pad);
}

.staticcontent h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 2.25rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-accent-light);
}

.staticcontent h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1.5rem 0 0.4rem;
}

.staticcontent p  { color: var(--color-textmid); line-height: 1.8; margin-bottom: 1rem; }

.staticcontent ul,
.staticcontent ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }

.staticcontent li { color: var(--color-textmid); line-height: 1.8; margin-bottom: 0.3rem; }
.staticcontent a  { color: var(--color-accent); text-decoration: underline; }

/* -------------------------------------------------------
   14. App Deletion Page
   ------------------------------------------------------- */
.deletionhero {
    background: linear-gradient(135deg, #1a0505, #4a0e0e);
    padding-block: 3rem;
    text-align: center;
}

.deletionhero h1 {
    color: #fff;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.deletionhero p { color: #f5b8b8; }

.deletionbadge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffecb5;
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.deletionform-wrap {
    max-width: 680px;
    margin-inline: auto;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
}

.deletioninfo {
    background: var(--color-bgsub);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-accent);
}

.deletioninfo h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.deletioninfo p {
    font-size: 0.9rem;
    color: var(--color-textmid);
    margin: 0;
    line-height: 1.7;
}

.processlist { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }

.processitem {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-bgsub);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-border);
}

.processnum {
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.processbody strong { display: block; font-size: 0.9rem; color: var(--color-primary); margin-bottom: 0.2rem; }
.processbody p      { font-size: 0.85rem; color: var(--color-textmid); margin: 0; }

/* Warning box inside deletion form */
.warningbox {
    background: #fff8f8;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.warningbox p {
    font-size: 0.85rem;
    color: #7f1d1d;
    line-height: 1.65;
    margin: 0;
}

.warningbox a { color: #b91c1c; }

/* -------------------------------------------------------
   15. Footer
   ------------------------------------------------------- */
.sitefooter {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    margin-top: auto;
}

.footergrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3.5rem;
}

.footerlogo .logotext     { color: #fff; }
.footerlogo .logotext em  { color: #6a8ab8; }

.footertagline {
    font-size: 0.875rem;
    color: var(--color-footer-text);
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    max-width: 260px;
}

.footercontact       { font-size: 0.85rem; color: var(--color-footer-text); line-height: 1.8; }
.footercontact p     { margin-bottom: 0.75rem; }
.footercontact a     { color: #6bc8ff; }
.footercontact a:hover { color: #a8e0ff; }

.footerheading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1rem;
}

.footerlinks { display: flex; flex-direction: column; gap: 0.6rem; }
.footerlinks a { font-size: 0.875rem; color: var(--color-footer-text); transition: color var(--transition); }
.footerlinks a:hover { color: #fff; }

.footerbadges { margin-top: 1rem; }

.footerbottom { border-top: 1px solid rgba(255,255,255,0.07); padding-block: 1.25rem; }

.footerbottominner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
}

.footerbottom p { font-size: 0.8rem; color: #5a7a9a; }

.footerbottomlinks a { font-size: 0.78rem; color: #5a7a9a; margin-left: 0.5rem; }
.footerbottomlinks a:hover { color: #a8c4e8; }

/* -------------------------------------------------------
   16. Admin Dashboard
   ------------------------------------------------------- */
.adminpage {
    font-family: var(--font-sans);
    background: #f0f4fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.adminwrap {
    display: flex;
    flex: 1;
}

/* ---- Sidebar (mobile: hidden, slides in) ---- */
.adminsidebar {
    width: var(--sidebar-width);
    background: var(--color-primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    /* Fixed position on all screen sizes — main content uses margin-left on desktop */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
}

.adminsidebar.open { transform: translateX(0); }

.adminbrand {
    padding: 1.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.adminbrand-name { font-size: 0.95rem; font-weight: 700; color: #fff; display: block; }
.adminbrand-sub  { font-size: 0.72rem; color: #6a8ab8; }

.adminnav { padding: 1rem 0; flex: 1; }

.adminnavlink {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.25rem;
    color: #a8c0d8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}

.adminnavlink:hover,
.adminnavlink.active {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-left-color: var(--color-accent);
}

.adminnavlink svg { width: 18px; height: 18px; flex-shrink: 0; }

.adminnav-section {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4a6a8a;
    padding: 1.25rem 1.25rem 0.4rem;
}

.adminlogout { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }

.adminlogout a {
    display: block;
    padding: 0.65rem 1rem;
    background: rgba(220,38,38,0.12);
    color: #fca5a5;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: background var(--transition);
    text-decoration: none;
}
.adminlogout a:hover { background: rgba(220,38,38,0.22); color: #fca5a5; }

/* ---- Main content area ---- */
.adminmain {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* No margin on mobile (sidebar is hidden) */
}

.adminheader {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 0 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.admintoggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: var(--radius-sm);
}

.admintoggle .bar { width: 22px; height: 2px; background: var(--color-textmid); border-radius: 2px; }

.adminheader-title { font-weight: 700; font-size: 0.95rem; color: var(--color-primary); }

.adminheader-user {
    font-size: 0.82rem;
    color: var(--color-textlight);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.adminheader-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.admincontent { padding: 1.75rem 1.5rem; flex: 1; }

/* Admin overlay (blocks page behind open sidebar on mobile) */
.adminoverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 150;
}
.adminoverlay.show { display: block; }

/* ---- Stat cards ---- */
.adminstats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.adminstat {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.adminstat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.adminstat-label { font-size: 0.8rem; color: var(--color-textlight); font-weight: 500; }

/* ---- Admin cards / tables ---- */
.admincard {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.admincard-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admincard-title { font-size: 0.95rem; font-weight: 700; color: var(--color-primary); }

.admintable-wrap { overflow-x: auto; }

.admintable { width: 100%; border-collapse: collapse; font-size: 0.85rem; }

.admintable th {
    background: var(--color-bgsub);
    text-align: left;
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-textmid);
    white-space: nowrap;
}

.admintable td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-textmid);
    vertical-align: middle;
}

.admintable tr:last-child td  { border-bottom: none; }
.admintable tr:hover td       { background: var(--color-bgsub); }
.admintable-tdtitle {
    font-weight: 600;
    color: var(--color-primary);
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status badges */
.statusbadge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.statusbadge--published { background: #dcfce7; color: #16a34a; }
.statusbadge--draft     { background: #fef9c3; color: #92400e; }
.statusbadge--pending   { background: #fef9c3; color: #92400e; }
.statusbadge--deleted   { background: #dcfce7; color: #16a34a; }
.statusbadge--featured  { background: #dbeafe; color: #1d4ed8; }

.tableactions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

.adminform { padding: 1.5rem; }

/* ---- Admin login ---- */
.adminlogin-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #1a4b82);
    padding: 1.5rem;
}

.adminlogin-box {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.adminlogin-logo            { text-align: center; margin-bottom: 1.75rem; }
.adminlogin-logo .logomark  { margin-inline: auto; width: 54px; height: 54px; font-size: 1rem; }
.adminlogin-logo h1         { font-size: 1.1rem; font-weight: 700; color: var(--color-primary); margin-top: 0.75rem; }
.adminlogin-logo p          { font-size: 0.82rem; color: var(--color-textlight); }

/* -------------------------------------------------------
   17. Portfolio Page
   ------------------------------------------------------- */
.portfoliohero {
    background: linear-gradient(135deg, var(--color-primary), #1a3f6f);
    padding-block: 3.5rem;
    text-align: center;
    color: #fff;
}

.portfoliohero h1 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfoliohero p { color: #a8c4e8; max-width: 560px; margin-inline: auto; }

.portfoliofilter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filterbtn {
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    border: 1.5px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-textmid);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
    display: inline-block;
}

.filterbtn:hover,
.filterbtn.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* -------------------------------------------------------
   18. Pagination
   ------------------------------------------------------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.paglink {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding-inline: 0.5rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-border);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-textmid);
    background: var(--color-bg);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
}

.paglink:hover,
.paglink.current {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* -------------------------------------------------------
   19. Home Page — Services & CTA
   ------------------------------------------------------- */
.servicesgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.servicecard {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.servicecard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.serviceicon { font-size: 2rem; margin-bottom: 1rem; display: block; }

.servicecard h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.servicecard p { font-size: 0.88rem; color: var(--color-textmid); line-height: 1.65; }

.ctabanner {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    margin-block: 2rem;
}

.ctabanner h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.ctabanner p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; font-size: 1rem; }

/* -------------------------------------------------------
   20. Compliance footer bar
   ------------------------------------------------------- */
.compliancebar {
    background: var(--color-bgsub);
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
    text-align: center;
}

.compliancebar p { font-size: 0.82rem; color: var(--color-textlight); }

/* -------------------------------------------------------
   21. Media Queries — Progressive Enhancement
   ------------------------------------------------------- */

/* Tablet: 640px+ */
@media (min-width: 640px) {
    :root { --container-pad: 1.5rem; }

    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }

    .servicesgrid { grid-template-columns: repeat(2, 1fr); }
    .footergrid   { grid-template-columns: repeat(2, 1fr); }
    .formrow      { grid-template-columns: 1fr 1fr; }
}

/* Desktop: 768px+ */
@media (min-width: 768px) {
    :root { --container-pad: 2rem; }

    /* ---- Navbar: switch to horizontal ---- */
    .navtoggle { display: none; }

    .primarynav { display: block !important; }

    .navlist {
        flex-direction: row;
        position: static;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        align-items: center;
        gap: 0.25rem;
        z-index: auto;
    }

    .navlink {
        padding: 0.45rem 0.9rem;
        color: #c8d8ec;
        border-bottom: none;
        border-radius: var(--radius-md);
    }

    /* ---- Admin sidebar: always visible, page content offset ---- */
    .adminsidebar {
        transform: none !important;    /* Always shown */
        position: fixed;
        height: 100vh;
    }

    .adminmain { margin-left: var(--sidebar-width); }

    .admintoggle  { display: none; }
    .adminoverlay { display: none !important; }

    /* ---- Layouts ---- */
    .bloglayout   { grid-template-columns: 1fr 300px; align-items: start; }
    .articlelayout { grid-template-columns: 1fr 260px; align-items: start; }
    .contactlayout { grid-template-columns: 360px 1fr; }

    .adminstats { grid-template-columns: repeat(4, 1fr); }
}

/* Large Desktop: 1024px+ */
@media (min-width: 1024px) {
    :root { --container-pad: 2.5rem; }

    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }

    .servicesgrid { grid-template-columns: repeat(4, 1fr); }
    .footergrid   { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

    .bloglayout   { grid-template-columns: 1fr 320px; }
    .articlelayout { grid-template-columns: 1fr 280px; }
}

/* Wide: 1280px+ */
@media (min-width: 1280px) {
    :root { --container-pad: 3rem; }
}

/* -------------------------------------------------------
   22. Custom Modal — neoAlert / neoConfirm
   ------------------------------------------------------- */
.neomodal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.6);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    backdrop-filter: blur(2px);
}

.neomodal-backdrop.show {
    display: flex;
}

.neomodal {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 440px;
    animation: neomodal-in 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes neomodal-in {
    from { opacity: 0; transform: scale(0.88) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.neomodal-header {
    padding: 1.75rem 1.75rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.neomodal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.neomodal-icon--info    { background: var(--color-accent-light); color: var(--color-accent); }
.neomodal-icon--danger  { background: #fef2f2; color: var(--color-error); }
.neomodal-icon--success { background: #f0fdf4; color: var(--color-success); }
.neomodal-icon--warning { background: #fffbeb; color: #d97706; }

.neomodal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.neomodal-body {
    padding: 1rem 1.75rem 0;
    text-align: center;
}

.neomodal-message {
    font-size: 0.92rem;
    color: var(--color-textmid);
    line-height: 1.65;
    margin: 0;
}

.neomodal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem 1.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.neomodal-footer .btn { min-width: 100px; }

/* -------------------------------------------------------
   23. SEO Panel (blog editor)
   ------------------------------------------------------- */
.seopanel {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 1.5rem;
}

.seopanel-toggle {
    width: 100%;
    background: var(--color-bgsub);
    border: none;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-sans);
    gap: 0.5rem;
    transition: background var(--transition);
}

.seopanel-toggle:hover { background: var(--color-border); }

.seopanel-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.seopanel-toggle-icon {
    width: 28px;
    height: 28px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.seopanel-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.22s ease;
    color: var(--color-textlight);
    flex-shrink: 0;
}

.seopanel.open .seopanel-chevron { transform: rotate(180deg); }

.seopanel-body {
    display: none;
    padding: 1.5rem 1.25rem;
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.seopanel.open .seopanel-body { display: block; }

.seopanel-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--color-border);
}

.seopanel-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.seopanel-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-textlight);
    margin-bottom: 1rem;
}

/* Character counter */
.seocounter {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-textlight);
    float: right;
    margin-top: -0.4rem;
    margin-bottom: 0.3rem;
}

.seocounter--warn { color: #d97706; }
.seocounter--over { color: var(--color-error); }

/* SEO score preview bar */
.seopreview {
    background: var(--color-bgsub);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
}

.seopreview-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-textlight);
    margin-bottom: 0.4rem;
}

.seopreview-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a0dab;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seopreview-url {
    color: #006621;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seopreview-desc {
    color: var(--color-textmid);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slug row with edit toggle */
.slugrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bgsub);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.slugrow-base  { color: var(--color-textlight); flex-shrink: 0; }
.slugrow-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-family: var(--font-sans);
    color: var(--color-accent);
    font-weight: 600;
    min-width: 80px;
    outline: none;
}
.slugrow-input:focus { color: var(--color-primary); }

/* Quill editor overrides */
.ql-container { font-family: var(--font-sans) !important; font-size: 1rem; min-height: 380px; }
.ql-toolbar  { border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
               border-color: var(--color-border) !important; background: var(--color-bgsub); }
.ql-container { border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
                border-color: var(--color-border) !important; }
.ql-editor { min-height: 380px; line-height: 1.75; }
.ql-editor:focus { outline: none; }
.ql-editor.ql-blank::before { color: var(--color-textlight); font-style: normal; }

/* Word count / reading time bar */
.editorstats {
    display: flex;
    gap: 1.25rem;
    padding: 0.5rem 0;
    font-size: 0.78rem;
    color: var(--color-textlight);
    flex-wrap: wrap;
}

.editorstats span { display: flex; align-items: center; gap: 0.3rem; }

/* Focus keyword indicator */
.kwstatus {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    margin-top: 0.3rem;
}

.kwstatus--good { background: #dcfce7; color: #16a34a; }
.kwstatus--warn { background: #fef9c3; color: #92400e; }
.kwstatus--miss { background: #fef2f2; color: #dc2626; }

/* -------------------------------------------------------
   24. Print
   ------------------------------------------------------- */
@media print {
    .siteheader, .sitefooter, .sidebar, .navtoggle, .adminsidebar { display: none; }
    .adminmain { margin-left: 0; }
    .articlecontent { max-width: 100%; }
    a { color: inherit; text-decoration: none; }
}
