/*
Theme Name: ViewShipping
Theme URI: https://viewshipping.com
Author: Nameer Khan
Author URI: https://viewshipping.com/about
Description: A professional maritime technical blog theme for ViewShipping — built for Technical Superintendents writing about engine maintenance, drydocking, class surveys, and the maritime industry.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viewshipping
Tags: blog, maritime, professional, custom-colors, custom-logo, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* =====================================================
   VIEWSHIPPING WORDPRESS THEME
   Professional Maritime Blog
   Version 1.0.0
   ===================================================== */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
    --navy:          #0d1f35;
    --navy-mid:      #1a3352;
    --steel:         #2e5f8a;
    --steel-light:   #4a82b0;
    --accent:        #1d6fa4;
    --accent-bright: #2589c7;
    --accent-hover:  #1e7ab8;
    --horizon:       #e8f2f9;
    --sand:          #f4f6f8;
    --white:         #ffffff;
    --ink:           #0f1923;
    --ink-mid:       #2c3e50;
    --ink-muted:     #5a6a7a;
    --ink-subtle:    #8a9aaa;
    --border:        #dde5ed;
    --border-light:  #edf2f7;
    --font-display:  'Inter Tight', sans-serif;
    --font-body:     'Inter', sans-serif;
    --font-serif:    'Merriweather', Georgia, serif;
    --radius:        8px;
    --radius-lg:     12px;
    --shadow-sm:     0 1px 4px rgba(13,31,53,0.06);
    --shadow-md:     0 4px 16px rgba(13,31,53,0.09);
    --shadow-lg:     0 8px 32px rgba(13,31,53,0.12);
    --transition:    0.18s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ─── TYPOGRAPHY SCALE ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin-bottom: 1rem; color: var(--ink-mid); }

/* ─── LAYOUT ─── */
.vs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.vs-container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.vs-section { padding: 60px 0; }
.vs-section--alt { background: var(--sand); }
.vs-section--dark { background: var(--navy); }

/* ─── SECTION HEADERS ─── */
.vs-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}
.vs-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    display: block;
}
.vs-section-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.vs-see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: gap var(--transition);
}
.vs-see-all:hover { gap: 8px; color: var(--accent-hover); }

/* ─── BUTTONS ─── */
.vs-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    line-height: 1;
    text-align: center;
}
.vs-btn--primary {
    background: var(--accent-bright);
    color: #fff;
}
.vs-btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,137,199,0.3);
}
.vs-btn--secondary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.vs-btn--secondary:hover {
    background: var(--accent);
    color: #fff;
}
.vs-btn--dark {
    background: var(--navy);
    color: #fff;
}
.vs-btn--dark:hover {
    background: var(--navy-mid);
    color: #fff;
}

/* ─── POST TAGS / BADGES ─── */
.vs-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    line-height: 1.6;
}
.vs-tag--engines    { background: #fdf0e0; color: #b5620a; }
.vs-tag--maintenance{ background: #e8f4fd; color: #1d6fa4; }
.vs-tag--class      { background: #f0fdf4; color: #1a7a4a; }
.vs-tag--drydock    { background: #fff5e6; color: #b5620a; }
.vs-tag--electrical { background: #f5f0ff; color: #6b3fa0; }
.vs-tag--safety     { background: #fff0f0; color: #c0392b; }
.vs-tag--industry   { background: #e6fafa; color: #0e6b6b; }
.vs-tag--default    { background: var(--horizon); color: var(--accent); }

/* ─── CARD BASE ─── */
.vs-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.vs-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.vs-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: linear-gradient(135deg, var(--navy-mid), var(--steel));
}
.vs-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #0d2a45, #1a4a70);
}
.vs-card__body { padding: 20px; }
.vs-card__title {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 8px;
    display: block;
}
.vs-card__title:hover { color: var(--accent); }
.vs-card__excerpt {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}
.vs-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--ink-subtle);
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.vs-card__meta-sep { color: var(--border); }
.vs-card__read-time { color: var(--accent); font-weight: 600; }

/* ─── TOPBAR ─── */
.vs-topbar {
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 7px 0;
}
.vs-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vs-topbar__links {
    display: flex;
    gap: 18px;
}
.vs-topbar__links a {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.vs-topbar__links a:hover { color: #fff; }
.vs-topbar__date {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    font-family: var(--font-body);
}

/* ─── NAVIGATION ─── */
.vs-navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--shadow-sm);
}
.vs-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.vs-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.vs-logo__mark {
    width: 36px; height: 36px;
    background: var(--navy);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vs-logo__mark svg { width: 20px; height: 20px; }
.vs-logo__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
    letter-spacing: -0.03em;
}
.vs-logo__text span { color: var(--accent); }
.vs-nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}
.vs-nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-mid);
    padding: 6px 13px;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
}
.vs-nav-menu a:hover,
.vs-nav-menu .current-menu-item > a,
.vs-nav-menu .current_page_item > a {
    background: var(--sand);
    color: var(--navy);
}
.vs-nav-cta {
    background: var(--navy) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.vs-nav-cta:hover { background: var(--steel) !important; }
.vs-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--navy);
}
.vs-nav-toggle svg { width: 24px; height: 24px; }

/* ─── TICKER ─── */
.vs-ticker {
    background: var(--steel);
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
}
.vs-ticker__track {
    display: inline-flex;
    gap: 48px;
    animation: vs-ticker 35s linear infinite;
}
.vs-ticker__item {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.vs-ticker__item::before {
    content: '▸';
    color: rgba(255,255,255,0.4);
    font-size: 10px;
}
@keyframes vs-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── HERO ─── */
.vs-hero {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.vs-hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,1) 39px, rgba(255,255,255,1) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.5) 79px, rgba(255,255,255,0.5) 80px);
}
.vs-hero__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: center;
    padding: 72px 0 80px;
    position: relative;
    z-index: 1;
}
.vs-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel-light);
    margin-bottom: 20px;
}
.vs-hero__eyebrow::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--accent-bright);
    border-radius: 1px;
}
.vs-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}
.vs-hero__title em { font-style: italic; color: #7dbfea; }
.vs-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}
.vs-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.vs-hero__btn-primary {
    background: var(--accent-bright);
    color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition);
    display: inline-block;
}
.vs-hero__btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.vs-hero__btn-secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 14px; font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15);
    transition: background var(--transition);
    display: inline-block;
}
.vs-hero__btn-secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }
.vs-hero__stats {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.vs-hero__stat-num {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    color: #fff; line-height: 1;
    margin-bottom: 4px;
}
.vs-hero__stat-label { font-size: 12px; color: rgba(255,255,255,0.4); }
.vs-hero__featured {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.vs-hero__featured-img {
    height: 190px;
    background: linear-gradient(135deg, #1a3352 0%, #0d4a7a 60%, #1a6da0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vs-hero__featured-badge {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--accent-bright);
    color: #fff;
    padding: 4px 10px; border-radius: 4px;
}
.vs-hero__featured-body { padding: 20px; }
.vs-hero__featured-title {
    font-family: var(--font-serif);
    font-size: 16px; font-weight: 700;
    color: #fff; line-height: 1.35;
    margin-bottom: 10px;
    display: block;
}
.vs-hero__featured-title:hover { color: #7dbfea; }
.vs-hero__featured-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    display: flex; gap: 10px;
}

/* ─── CATEGORIES ─── */
.vs-categories { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.vs-cat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
    color: inherit;
    text-decoration: none;
}
.vs-cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}
.vs-cat-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(29,111,164,0.1); transform: translateY(-2px); }
.vs-cat-card:hover::before { opacity: 1; }
.vs-cat-card--engines::before   { background: #b5620a; }
.vs-cat-card--class::before     { background: #1a7a4a; }
.vs-cat-card--drydock::before   { background: #b5620a; }
.vs-cat-card--electrical::before{ background: #6b3fa0; }
.vs-cat-card--safety::before    { background: #c0392b; }
.vs-cat-card--industry::before  { background: #0e6b6b; }
.vs-cat-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
}
.vs-cat-name { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.vs-cat-count { font-size: 11px; color: var(--ink-subtle); }

/* ─── FEATURED POSTS GRID ─── */
.vs-featured-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}
.vs-post-large {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}
.vs-post-large:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.vs-post-large__img {
    height: 260px;
    object-fit: cover;
    background: linear-gradient(135deg, #0d2a45, #1a4a70);
    display: flex; align-items: center; justify-content: center;
    font-size: 60px;
}
.vs-post-large__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.vs-post-large__title {
    font-family: var(--font-serif);
    font-size: 22px; font-weight: 700;
    color: var(--navy); line-height: 1.3;
    margin: 10px 0 10px;
    display: block;
}
.vs-post-large__title:hover { color: var(--accent); }
.vs-post-large__excerpt { font-size: 14px; color: var(--ink-muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.vs-post-large__meta {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: var(--ink-subtle);
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.vs-post-large__read-time { color: var(--accent); font-weight: 600; }

.vs-post-stack { display: flex; flex-direction: column; gap: 14px; }
.vs-post-small {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 100px 1fr;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.vs-post-small:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.vs-post-small__img {
    min-height: 90px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, #1a3352, #2e5f8a);
}
.vs-post-small__body { padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; }
.vs-post-small__title {
    font-family: var(--font-serif);
    font-size: 13px; font-weight: 700;
    color: var(--navy); line-height: 1.35;
    margin: 6px 0 8px;
    display: block;
}
.vs-post-small__title:hover { color: var(--accent); }
.vs-post-small__meta { font-size: 11px; color: var(--ink-subtle); display: flex; gap: 6px; }

/* ─── ARTICLES GRID ─── */
.vs-articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ─── NEWSLETTER ─── */
.vs-newsletter {
    background: linear-gradient(135deg, var(--navy) 0%, #0a2d50 40%, #0d4070 100%);
    position: relative;
    overflow: hidden;
}
.vs-newsletter__inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 72px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.vs-newsletter__icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
}
.vs-newsletter__title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2; margin-bottom: 12px;
}
.vs-newsletter__sub { font-size: 15px; color: rgba(255,255,255,0.58); line-height: 1.65; margin-bottom: 32px; }
.vs-newsletter__form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto 14px;
}
.vs-newsletter__input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 13px 16px;
    font-size: 14px; color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}
.vs-newsletter__input::placeholder { color: rgba(255,255,255,0.35); }
.vs-newsletter__input:focus { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.12); }
.vs-newsletter__btn {
    background: var(--accent-bright);
    color: #fff; border: none;
    border-radius: var(--radius);
    padding: 13px 22px;
    font-size: 14px; font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}
.vs-newsletter__btn:hover { background: var(--accent-hover); }
.vs-newsletter__note { font-size: 12px; color: rgba(255,255,255,0.3); }
.vs-newsletter__perks { display: flex; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.vs-newsletter__perk { font-size: 12px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; }
.vs-newsletter__perk::before { content: '✓'; color: #7dbfea; font-weight: 700; }

/* ─── AUTHOR STRIP ─── */
.vs-author-strip {
    background: var(--horizon);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}
.vs-author-strip__inner {
    display: flex;
    align-items: center;
    gap: 28px;
}
.vs-author-strip__avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.vs-author-strip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.vs-author-strip__body { flex: 1; }
.vs-author-strip__name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.vs-author-strip__role { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 6px; }
.vs-author-strip__bio { font-size: 13px; color: var(--ink-muted); line-height: 1.6; max-width: 580px; margin: 0; }
.vs-author-strip__cta {
    font-size: 13px; font-weight: 600;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    padding: 9px 18px;
    border-radius: var(--radius);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}
.vs-author-strip__cta:hover { background: var(--accent); color: #fff; }

/* ─── SINGLE POST ─── */
.vs-single {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 48px 0 64px;
    align-items: start;
}
.vs-single__header { margin-bottom: 28px; }
.vs-single__title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 12px 0 16px;
}
.vs-single__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--ink-subtle);
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}
.vs-single__meta-sep { color: var(--border); }
.vs-single__cover {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    aspect-ratio: 16/7;
    object-fit: cover;
    background: linear-gradient(135deg, var(--navy-mid), var(--steel));
}
.vs-single__content {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-mid);
}
.vs-single__content h2 { font-family: var(--font-display); font-size: 22px; margin: 36px 0 14px; color: var(--navy); }
.vs-single__content h3 { font-family: var(--font-display); font-size: 18px; margin: 28px 0 10px; color: var(--navy); }
.vs-single__content p { margin-bottom: 1.4em; }
.vs-single__content ul, .vs-single__content ol { list-style: initial; margin: 0 0 1.4em 1.4em; }
.vs-single__content li { margin-bottom: 0.5em; }
.vs-single__content blockquote {
    border-left: 4px solid var(--accent);
    margin: 28px 0;
    padding: 16px 24px;
    background: var(--horizon);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--navy);
}
.vs-single__content img { border-radius: var(--radius); margin: 24px 0; }
.vs-single__content a { color: var(--accent); text-decoration: underline; }
.vs-single__content strong { color: var(--ink); font-weight: 700; }
.vs-single__content code {
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 14px;
}
.vs-single__content pre {
    background: var(--navy);
    color: #e8f2f9;
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
}
.vs-single__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    font-family: var(--font-body);
}
.vs-single__content th {
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}
.vs-single__content td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}
.vs-single__content tr:nth-child(even) td { background: var(--sand); }

/* ─── SIDEBAR ─── */
.vs-sidebar { position: sticky; top: 80px; }
.vs-widget {
    background: var(--sand);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 20px;
}
.vs-widget__title {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.vs-widget-post {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}
.vs-widget-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.vs-widget-post__img {
    width: 60px; height: 50px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--navy-mid), var(--steel));
    object-fit: cover;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.vs-widget-post__title {
    font-size: 13px; font-weight: 600;
    color: var(--navy); line-height: 1.35;
    display: block;
}
.vs-widget-post__title:hover { color: var(--accent); }
.vs-widget-post__date { font-size: 11px; color: var(--ink-subtle); margin-top: 4px; }
.vs-widget-cats { list-style: none; }
.vs-widget-cats li {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}
.vs-widget-cats li:last-child { border-bottom: none; }
.vs-widget-cats a { color: var(--ink-mid); font-weight: 500; }
.vs-widget-cats a:hover { color: var(--accent); }
.vs-widget-cats span { color: var(--ink-subtle); font-size: 12px; }
.vs-widget-nl {
    background: var(--navy);
    border: none;
    padding: 22px;
}
.vs-widget-nl .vs-widget__title { color: #fff; border-bottom-color: var(--accent-bright); }
.vs-widget-nl p { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.vs-widget-nl input {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: 13px; color: #fff;
    font-family: var(--font-body);
    margin-bottom: 8px;
    outline: none;
}
.vs-widget-nl input::placeholder { color: rgba(255,255,255,0.35); }
.vs-widget-nl button {
    width: 100%;
    background: var(--accent-bright);
    color: #fff; border: none;
    border-radius: var(--radius);
    padding: 10px;
    font-size: 13px; font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background var(--transition);
}
.vs-widget-nl button:hover { background: var(--accent-hover); }

/* ─── POST FOOTER ─── */
.vs-post-footer { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--border); }
.vs-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.vs-post-share { display: flex; align-items: center; gap: 12px; }
.vs-post-share__label { font-size: 13px; font-weight: 600; color: var(--ink-mid); }
.vs-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px; font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius);
    transition: opacity var(--transition);
    color: #fff;
}
.vs-share-btn:hover { opacity: 0.85; color: #fff; }
.vs-share-btn--li { background: #0a66c2; }
.vs-share-btn--tw { background: #000; }
.vs-share-btn--copy { background: var(--steel); }

/* ─── BREADCRUMB ─── */
.vs-breadcrumb {
    background: var(--sand);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.vs-breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-subtle);
}
.vs-breadcrumb__inner a { color: var(--ink-subtle); }
.vs-breadcrumb__inner a:hover { color: var(--accent); }
.vs-breadcrumb__sep { color: var(--border); }
.vs-breadcrumb__current { color: var(--ink-mid); font-weight: 500; }

/* ─── ARCHIVE / CATEGORY ─── */
.vs-archive-header {
    background: var(--navy);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.vs-archive-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.01) 10px, rgba(255,255,255,0.01) 20px);
}
.vs-archive-header__inner { position: relative; z-index: 1; }
.vs-archive-header__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 8px; display: block; }
.vs-archive-header__title { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.vs-archive-header__count { font-size: 14px; color: rgba(255,255,255,0.45); }
.vs-archive-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 48px 0 64px;
    align-items: start;
}
.vs-archive-posts { display: grid; grid-template-columns: 1fr; gap: 20px; }
.vs-archive-post {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.vs-archive-post:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.vs-archive-post__img {
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    background: linear-gradient(135deg, #0d2a45, #1a4a70);
    display: flex; align-items: center; justify-content: center;
    font-size: 44px;
}
.vs-archive-post__body { padding: 20px; display: flex; flex-direction: column; }
.vs-archive-post__title {
    font-family: var(--font-serif);
    font-size: 18px; font-weight: 700;
    color: var(--navy); line-height: 1.3;
    display: block; margin: 8px 0 8px;
}
.vs-archive-post__title:hover { color: var(--accent); }
.vs-archive-post__excerpt { font-size: 13px; color: var(--ink-muted); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.vs-archive-post__meta { font-size: 12px; color: var(--ink-subtle); display: flex; gap: 8px; }
.vs-pagination {
    display: flex;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.vs-pagination a, .vs-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--border);
    color: var(--ink-mid);
    transition: all var(--transition);
}
.vs-pagination a:hover, .vs-pagination .current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ─── ABOUT PAGE ─── */
.vs-about { padding: 64px 0; }
.vs-about__grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.vs-about__content h2 { font-family: var(--font-display); color: var(--navy); margin: 28px 0 12px; font-size: 22px; }
.vs-about__content p { font-size: 16px; color: var(--ink-mid); line-height: 1.75; margin-bottom: 1.2em; }
.vs-about__sidebar {}
.vs-about__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    margin-bottom: 20px;
}
.vs-about__avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: 32px; font-weight: 700;
    margin: 0 auto 16px;
    overflow: hidden;
}
.vs-about__avatar img { width: 100%; height: 100%; object-fit: cover; }
.vs-about__name { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.vs-about__role { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 16px; }
.vs-credentials { list-style: none; text-align: left; }
.vs-credentials li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: var(--ink-mid);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.45;
}
.vs-credentials li:last-child { border-bottom: none; }
.vs-credentials li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── FOOTER ─── */
.vs-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.55);
    padding: 52px 0 28px;
}
.vs-footer__top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 24px;
}
.vs-footer__tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.65; margin-top: 14px; max-width: 230px; }
.vs-footer__col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.vs-footer__links { display: flex; flex-direction: column; gap: 9px; }
.vs-footer__links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.vs-footer__links a:hover { color: #fff; }
.vs-footer__bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.vs-footer__copy { color: rgba(255,255,255,0.28); }
.vs-footer__bottom-links { display: flex; gap: 18px; }
.vs-footer__bottom-links a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.vs-footer__bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ─── SEARCH FORM ─── */
.vs-search { position: relative; }
.vs-search input {
    width: 100%;
    padding: 11px 44px 11px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px; font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition);
    color: var(--ink);
}
.vs-search input:focus { border-color: var(--accent); }
.vs-search button {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; color: var(--ink-subtle);
}

/* ─── NOTICE BARS ─── */
.vs-notice {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
}
.vs-notice--info { background: var(--horizon); border: 1px solid #b3d4ec; color: var(--navy); }
.vs-notice--warning { background: #fff8e6; border: 1px solid #f0d080; color: #7a5a00; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .vs-hero__inner { grid-template-columns: 1fr; }
    .vs-hero__featured { display: none; }
    .vs-categories { grid-template-columns: repeat(3,1fr); }
    .vs-featured-grid { grid-template-columns: 1fr; }
    .vs-articles-grid { grid-template-columns: repeat(2,1fr); }
    .vs-single { grid-template-columns: 1fr; }
    .vs-sidebar { position: static; }
    .vs-archive-grid { grid-template-columns: 1fr; }
    .vs-footer__top { grid-template-columns: 1fr 1fr; }
    .vs-about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .vs-nav-menu { display: none; }
    .vs-nav-menu.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        z-index: 199;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }
    .vs-nav-menu.is-open a { padding: 10px 14px; border-radius: var(--radius); display: block; }
    .vs-nav-toggle { display: flex; }
    .vs-topbar__links { display: none; }
    .vs-categories { grid-template-columns: repeat(2,1fr); }
    .vs-articles-grid { grid-template-columns: 1fr; }
    .vs-archive-post { grid-template-columns: 1fr; }
    .vs-archive-post__img { height: 160px; }
    .vs-newsletter__form { flex-direction: column; }
    .vs-author-strip__inner { flex-direction: column; text-align: center; }
    .vs-hero__stats { gap: 20px; }
    .vs-footer__top { grid-template-columns: 1fr; gap: 28px; }
    .vs-footer__bottom { flex-direction: column; text-align: center; }
    .vs-post-share { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .vs-ticker__track { animation: none; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ─── WORDPRESS CORE CLASSES ─── */
.alignleft  { float: left;  margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left:  20px; margin-bottom: 10px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--ink-subtle); text-align: center; margin-top: 6px; }
.sticky {}
.bypostauthor {}
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute;
    height: 1px; width: 1px;
    overflow: hidden;
}
