/*
Theme Name: ViewShipping Editorial
Theme URI: https://www.viewshipping.com/
Author: ViewShipping Editorial Team
Author URI: https://www.viewshipping.com/
Description: A configurable editorial maritime WordPress theme with cinematic photography, large typography, flexible homepage sections, editable colours, fonts, images, menus and widget areas.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viewshipping-editorial
Tags: blog, news, one-column, two-columns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --vs-navy: #071a2b;
  --vs-navy-deep: #03111d;
  --vs-accent: #d52b32;
  --vs-cream: #f4f1ea;
  --vs-paper: #ffffff;
  --vs-ink: #172631;
  --vs-muted: #60717d;
  --vs-line: #dce2e5;
  --vs-header-bg: #ffffff;
  --vs-footer-bg: #03111d;
  --vs-card-radius: 2px;
  --vs-content-width: 1320px;
  --vs-reading-width: 760px;
  --vs-section-space: 128px;
  --vs-heading-font: Manrope, Arial, sans-serif;
  --vs-body-font: Manrope, Arial, sans-serif;
  --vs-ui-font: Manrope, Arial, sans-serif;
  --vs-shadow: 0 18px 55px rgba(3, 17, 29, .12);
  --vs-archive-card-ratio: 4 / 5;
  --vs-archive-overlay: .68;
  --vs-single-featured-width: 1200px;
  --vs-single-featured-height: 620px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--vs-ink);
  background: var(--vs-paper);
  font-family: var(--vs-body-font);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.admin-bar .site-header.is-sticky { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--vs-accent); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--vs-accent); outline-offset: 3px; }

.vs-container { width: min(calc(100% - 56px), var(--vs-content-width)); margin-inline: auto; }
.vs-reading { width: min(calc(100% - 40px), var(--vs-reading-width)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; padding: 12px 16px; background: #fff; color: #000; z-index: 99999; top: 8px; left: 8px; }

/* Header */
.utility-bar { background: var(--vs-navy-deep); color: rgba(255,255,255,.72); font-family: var(--vs-ui-font); font-size: 12px; letter-spacing: .04em; }
.utility-bar__inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.utility-bar__menu, .utility-bar__meta { display: flex; gap: 24px; align-items: center; }
.utility-menu { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.utility-bar a:hover { color: #fff; }
.site-header { position: relative; z-index: 100; background: var(--vs-header-bg); border-bottom: 1px solid var(--vs-line); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-sticky { position: sticky; top: 0; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(3,17,29,.08); }
.site-header__inner { min-height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.site-branding { display: inline-flex; align-items: center; gap: 14px; min-width: max-content; }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: auto; max-height: 50px; }
.vs-wordmark { display: inline-flex; align-items: center; gap: 13px; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: 25px; font-weight: 700; letter-spacing: -.045em; }
.vs-wordmark__mark { width: 43px; height: 43px; display: grid; place-items: center; background: var(--vs-navy); color: #fff; }
.vs-wordmark__mark svg { width: 27px; height: 27px; }
.vs-wordmark__accent { color: var(--vs-accent); }
.primary-navigation { justify-self: end; font-family: var(--vs-ui-font); }
.primary-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(17px, 2.1vw, 34px); }
.primary-navigation li { position: relative; }
.primary-navigation a { display: inline-flex; align-items: center; min-height: 88px; color: var(--vs-navy); font-size: 13px; font-weight: 650; letter-spacing: .015em; }
.primary-navigation .current-menu-item > a, .primary-navigation .current-menu-ancestor > a { color: var(--vs-accent); }
.primary-navigation a::after { content: ''; position: absolute; left: 0; bottom: 19px; width: 0; height: 2px; background: var(--vs-accent); transition: width .22s ease; }
.primary-navigation a:hover::after, .primary-navigation .current-menu-item > a::after { width: 100%; }
.primary-navigation .sub-menu { position: absolute; top: calc(100% - 12px); left: -22px; min-width: 260px; padding: 16px 22px; background: #fff; border: 1px solid var(--vs-line); box-shadow: var(--vs-shadow); display: none; flex-direction: column; align-items: stretch; gap: 0; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: flex; }
.primary-navigation .sub-menu a { min-height: auto; padding: 10px 0; font-size: 13px; }
.primary-navigation .sub-menu a::after { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search, .menu-toggle { width: 44px; height: 44px; border: 1px solid var(--vs-line); background: transparent; color: var(--vs-navy); display: grid; place-items: center; }
.header-search svg, .menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.vs-header-cta { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; background: var(--vs-accent); color: #fff; font-family: var(--vs-ui-font); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vs-header-cta:hover { color: #fff; filter: brightness(.93); }
.search-overlay { position: fixed; inset: 0; z-index: 999; background: rgba(3,17,29,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.search-overlay.is-open { display: flex; }
.search-overlay__inner { width: min(840px, 100%); }
.search-overlay__close { position: absolute; top: 28px; right: 28px; border: 0; background: transparent; color: #fff; font-size: 36px; }
.search-overlay .search-form { display: grid; grid-template-columns: 1fr auto; gap: 0; }
.search-overlay .search-field { min-height: 70px; padding: 0 22px; border: 0; border-radius: 0; font-size: 21px; }
.search-overlay .search-submit { border: 0; min-width: 140px; background: var(--vs-accent); color: #fff; font-weight: 700; }

/* Hero */
.vs-hero { min-height: var(--vs-hero-height, 720px); position: relative; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--vs-navy); }
.vs-hero__media, .vs-hero__overlay { position: absolute; inset: 0; }
.vs-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--vs-hero-position, center center); transform: scale(1.015); }
.vs-hero__overlay { background: linear-gradient(90deg, rgba(3,17,29,var(--vs-overlay, .78)) 0%, rgba(3,17,29,.52) 48%, rgba(3,17,29,.12) 100%); }
.vs-hero__content { position: relative; z-index: 2; padding: 115px 0 92px; max-width: 970px; }
.vs-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; color: inherit; font-family: var(--vs-ui-font); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.vs-kicker::before { content: ''; width: 30px; height: 2px; background: var(--vs-accent); }
.vs-hero h1 { margin: 0; font-family: var(--vs-heading-font); font-size: clamp(48px, 7.2vw, 96px); line-height: .98; letter-spacing: -.058em; font-weight: 500; max-width: 940px; }
.vs-hero__lead { max-width: 720px; margin: 30px 0 0; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.vs-actions { margin-top: 36px; display: flex; gap: 13px; flex-wrap: wrap; }
.vs-button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; font-family: var(--vs-ui-font); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.vs-button:hover { transform: translateY(-2px); }
.vs-button--primary { background: var(--vs-accent); color: #fff; }
.vs-button--primary:hover { color: #fff; filter: brightness(.94); }
.vs-button--light { background: #fff; color: var(--vs-navy); }
.vs-button--outline { border-color: rgba(255,255,255,.55); color: #fff; }
.vs-button--outline:hover { background: #fff; color: var(--vs-navy); }
.vs-scroll-cue { position: absolute; right: max(28px, calc((100vw - var(--vs-content-width))/2)); bottom: 42px; z-index: 2; writing-mode: vertical-rl; color: rgba(255,255,255,.66); font-family: var(--vs-ui-font); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

/* Editorial sections */
.vs-section { padding: var(--vs-section-space) 0; }
.vs-section--cream { background: var(--vs-cream); }
.vs-section--navy { background: var(--vs-navy); color: #fff; }
.vs-section--tight { padding-top: calc(var(--vs-section-space) * .7); padding-bottom: calc(var(--vs-section-space) * .7); }
.vs-section-heading { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.7fr); gap: 60px; align-items: end; margin-bottom: 66px; }
.vs-section-heading h2 { margin: 0; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: clamp(38px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -.052em; font-weight: 500; }
.vs-section--navy .vs-section-heading h2 { color: #fff; }
.vs-section-heading p { margin: 0; color: var(--vs-muted); font-size: 18px; }
.vs-section--navy .vs-section-heading p { color: rgba(255,255,255,.68); }

.vs-principles { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--vs-line); }
.vs-principle { padding: 32px 36px 16px 0; border-right: 1px solid var(--vs-line); }
.vs-principle + .vs-principle { padding-left: 36px; }
.vs-principle:last-child { border-right: 0; }
.vs-principle__number { display: block; color: var(--vs-accent); font-family: var(--vs-ui-font); font-size: 11px; font-weight: 750; letter-spacing: .14em; margin-bottom: 38px; }
.vs-principle h3 { margin: 0 0 14px; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: 29px; letter-spacing: -.035em; }
.vs-principle p { margin: 0; color: var(--vs-muted); font-size: 15px; }

.vs-topic-directory { border-top: 1px solid rgba(255,255,255,.25); }
.vs-topic-row { position: relative; display: grid; grid-template-columns: 80px minmax(0,1fr) minmax(220px,420px) 44px; gap: 30px; align-items: center; min-height: 112px; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; }
.vs-topic-row__num { color: rgba(255,255,255,.48); font-family: var(--vs-ui-font); font-size: 11px; letter-spacing: .12em; }
.vs-topic-row h3 { margin: 0; font-family: var(--vs-heading-font); font-size: clamp(27px,3vw,42px); line-height: 1.1; letter-spacing: -.04em; font-weight: 500; }
.vs-topic-row p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }
.vs-topic-row__arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); transition: background .2s ease, transform .2s ease; }
.vs-topic-row:hover { color: #fff; }
.vs-topic-row:hover .vs-topic-row__arrow { background: var(--vs-accent); border-color: var(--vs-accent); transform: translateX(4px); }

.vs-feature { display: grid; grid-template-columns: 1.22fr .78fr; min-height: 620px; background: var(--vs-navy); color: #fff; }
.vs-feature__media { min-height: 620px; overflow: hidden; }
.vs-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vs-feature:hover .vs-feature__media img { transform: scale(1.025); }
.vs-feature__content { padding: clamp(42px,6vw,88px); display: flex; flex-direction: column; justify-content: space-between; }
.vs-feature__meta { color: rgba(255,255,255,.62); font-family: var(--vs-ui-font); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vs-feature h2 { margin: 20px 0; font-family: var(--vs-heading-font); font-size: clamp(38px,5vw,66px); line-height: 1.04; letter-spacing: -.05em; font-weight: 500; }
.vs-feature p { color: rgba(255,255,255,.72); font-size: 17px; }
.vs-text-link { display: inline-flex; align-items: center; gap: 13px; color: inherit; font-family: var(--vs-ui-font); font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.vs-text-link::after { content: '→'; transition: transform .2s ease; }
.vs-text-link:hover::after { transform: translateX(5px); }

.vs-mosaic { display: grid; grid-template-columns: 1.05fr .65fr .8fr; grid-template-rows: 250px 310px; gap: 18px; }
.vs-mosaic figure { margin: 0; overflow: hidden; background: var(--vs-line); }
.vs-mosaic figure:nth-child(1) { grid-row: 1 / 3; }
.vs-mosaic figure:nth-child(2) { grid-column: 2 / 4; }
.vs-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vs-mosaic figure:hover img { transform: scale(1.025); }

.vs-posts-list { border-top: 1px solid var(--vs-line); }
.vs-post-row { display: grid; grid-template-columns: 150px minmax(0,1fr) 160px 44px; gap: 30px; align-items: center; min-height: 126px; border-bottom: 1px solid var(--vs-line); }
.vs-post-row__category { color: var(--vs-accent); font-family: var(--vs-ui-font); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.vs-post-row h3 { margin: 0; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: clamp(23px,2.4vw,35px); line-height: 1.15; letter-spacing: -.037em; font-weight: 500; }
.vs-post-row__date { color: var(--vs-muted); font-family: var(--vs-ui-font); font-size: 12px; }
.vs-post-row__arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--vs-line); }
.vs-post-row:hover .vs-post-row__arrow { background: var(--vs-accent); border-color: var(--vs-accent); color: #fff; }

/* Cards and archives */
.archive-hero { padding: 95px 0 80px; background: var(--vs-cream); }
.archive-hero__eyebrow { color: var(--vs-accent); font-family: var(--vs-ui-font); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.archive-hero h1 { margin: 14px 0 0; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: clamp(50px,7vw,90px); line-height: .98; letter-spacing: -.058em; font-weight: 500; }
.archive-hero p { max-width: 760px; margin: 26px 0 0; color: var(--vs-muted); font-size: 19px; }
.vs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px 26px; }
.vs-card { background: var(--vs-paper); border: 1px solid var(--vs-line); border-radius: var(--vs-card-radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
body.vs-card-shadow .vs-card, body.vs-card-shadow .article-sidebar .widget { border-color: transparent; box-shadow: 0 10px 32px rgba(3,17,29,.08); }
body.vs-card-editorial .vs-card, body.vs-card-editorial .article-sidebar .widget { border-width: 0 0 1px; padding-left: 0; padding-right: 0; }
.vs-card:hover { transform: translateY(-4px); box-shadow: var(--vs-shadow); }
.vs-card__image { display: block; aspect-ratio: var(--vs-archive-card-ratio); overflow: hidden; background: var(--vs-cream); }
.vs-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vs-card:hover .vs-card__image img { transform: scale(1.03); }
.vs-card__body { padding: 26px; }
.vs-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--vs-accent); font-family: var(--vs-ui-font); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.vs-card h2, .vs-card h3 { margin: 13px 0 12px; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: 27px; line-height: 1.18; letter-spacing: -.038em; font-weight: 500; }
.vs-card p { margin: 0; color: var(--vs-muted); font-size: 14px; }

/* Optional image-overlay archive cards */
body.vs-archive-overlay .vs-card { position: relative; aspect-ratio: var(--vs-archive-card-ratio); min-height: 0; border: 0; background: var(--vs-navy); }
body.vs-archive-overlay .vs-card__image { position: absolute; inset: 0; aspect-ratio: auto; }
body.vs-archive-overlay .vs-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,17,29,.08) 16%, rgba(3,17,29,.28) 46%, rgba(3,17,29,var(--vs-archive-overlay)) 100%); }
body.vs-archive-overlay .vs-card__body { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 38px); color: #fff; pointer-events: none; }
body.vs-archive-overlay .vs-card__body a { pointer-events: auto; }
body.vs-archive-overlay .vs-card__meta { position: absolute; top: clamp(22px, 2.4vw, 30px); left: clamp(24px, 3vw, 38px); right: clamp(24px, 3vw, 38px); color: #fff; }
body.vs-archive-overlay .vs-card__meta span:not(:first-child) { display: none; }
body.vs-archive-overlay .vs-card__meta span:first-child { display: inline-flex; width: fit-content; padding: 8px 11px; border: 1px solid rgba(255,255,255,.52); border-radius: 999px; background: rgba(3,17,29,.30); backdrop-filter: blur(7px); }
body.vs-archive-overlay .vs-card h2, body.vs-archive-overlay .vs-card h3 { margin: 0 0 15px; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.09; letter-spacing: -.045em; }
body.vs-archive-overlay .vs-card h2 a, body.vs-archive-overlay .vs-card h3 a { color: #fff; }
body.vs-archive-overlay .vs-card p { color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.55; }
body.vs-archive-overlay .vs-card:hover { transform: translateY(-4px); }
body.vs-archive-overlay .vs-card:hover .vs-card__image img { transform: scale(1.045); }

.vs-pagination { margin-top: 58px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--vs-line); font-family: var(--vs-ui-font); font-size: 12px; }
.page-numbers.current, .page-numbers:hover { background: var(--vs-navy); color: #fff; border-color: var(--vs-navy); }

/* Single article */
.single-hero { padding: 86px 0 60px; background: var(--vs-cream); }
.single-hero__category { color: var(--vs-accent); font-family: var(--vs-ui-font); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.single-hero h1 { max-width: 1150px; margin: 17px 0 0; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: clamp(46px,6.5vw,86px); line-height: 1.01; letter-spacing: -.058em; font-weight: 500; }
.single-hero__dek { max-width: 850px; margin: 27px 0 0; color: var(--vs-muted); font-size: clamp(19px,2vw,24px); line-height: 1.5; }
.single-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 32px; color: var(--vs-muted); font-family: var(--vs-ui-font); font-size: 12px; }
.single-featured { width: min(calc(100% - 48px), var(--vs-single-featured-width)); height: var(--vs-single-featured-height); margin-inline: auto; overflow: hidden; background: var(--vs-cream); }
.single-featured img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
body.vs-single-image-contain .single-featured img { object-fit: contain; }
body.vs-single-image-natural .single-featured { height: auto; background: transparent; }
body.vs-single-image-natural .single-featured img { height: auto; object-fit: contain; }
.article-shell { display: grid; grid-template-columns: 210px minmax(0,var(--vs-reading-width)) 250px; justify-content: center; gap: clamp(34px,5vw,76px); padding: 78px 28px 110px; }
.article-toc, .article-sidebar { position: sticky; top: 125px; align-self: start; }
.article-toc__title, .widget-title { display: block; margin: 0 0 18px; color: var(--vs-navy); font-family: var(--vs-ui-font); font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.article-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--vs-line); }
.article-toc li { margin: 0; }
.article-toc a { display: block; padding: 7px 0 7px 18px; color: var(--vs-muted); font-size: 12px; line-height: 1.45; }
.article-toc a.is-active { color: var(--vs-accent); border-left: 2px solid var(--vs-accent); margin-left: -1px; }
.entry-content { min-width: 0; font-family: var(--vs-body-font); font-size: 18px; line-height: 1.78; }
.entry-content > * { max-width: var(--vs-reading-width); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1120px; margin-left: 50%; transform: translateX(-50%); width: min(1120px, calc(100vw - 48px)); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content p { margin-top: 0; margin-bottom: 1.35em; }
.entry-content > p:first-child { color: var(--vs-navy); font-size: 21px; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--vs-navy); font-family: var(--vs-heading-font); line-height: 1.14; letter-spacing: -.04em; font-weight: 550; }
.entry-content h2 { margin-top: 2.2em; margin-bottom: .7em; font-size: 38px; }
.entry-content h3 { margin-top: 1.8em; margin-bottom: .55em; font-size: 29px; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: .6em; }
.entry-content blockquote { margin-top: 2.2em; margin-bottom: 2.2em; padding: 0 0 0 30px; border-left: 4px solid var(--vs-accent); color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: 30px; line-height: 1.35; letter-spacing: -.03em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 14px; border: 1px solid var(--vs-line); text-align: left; }
.entry-content th { background: var(--vs-cream); color: var(--vs-navy); }
.entry-content figure { margin-top: 2.5em; margin-bottom: 2.5em; }
.entry-content figcaption { margin-top: 9px; color: var(--vs-muted); font-size: 12px; text-align: left; }
.vs-note, .wp-block-group.vs-note, .article-note, .wp-block-group.article-note { padding: 24px 26px; background: var(--vs-cream); border-left: 4px solid var(--vs-accent); font-size: 15px; }
.article-sidebar .widget { margin-bottom: 28px; padding: 22px; border: 1px solid var(--vs-line); }
.article-sidebar ul { list-style: none; margin: 0; padding: 0; }
.article-sidebar li + li { margin-top: 10px; }
.article-sidebar a { color: var(--vs-muted); font-size: 13px; }
.post-navigation { margin-top: 70px; padding-top: 35px; border-top: 1px solid var(--vs-line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.post-navigation a { display: block; }
.post-navigation .nav-subtitle { display: block; color: var(--vs-accent); font-family: var(--vs-ui-font); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.post-navigation .nav-title { display: block; margin-top: 8px; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: 22px; line-height: 1.25; }

/* Pages, forms, widgets */
.page-hero { padding: 90px 0 70px; background: var(--vs-cream); }
.page-hero h1 { margin: 0; color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: clamp(48px,7vw,86px); line-height: 1; letter-spacing: -.055em; font-weight: 500; }
.page-content { padding: 80px 0 110px; }
input[type='text'], input[type='email'], input[type='url'], input[type='search'], textarea, select { width: 100%; border: 1px solid var(--vs-line); background: #fff; padding: 13px 14px; border-radius: 0; }
textarea { min-height: 150px; resize: vertical; }
input[type='submit'], button[type='submit'] { border: 0; min-height: 48px; padding: 0 20px; background: var(--vs-accent); color: #fff; font-weight: 700; }

/* Newsletter */
.vs-newsletter { padding: 86px 0; background: var(--vs-accent); color: #fff; }
.vs-newsletter__inner { display: grid; grid-template-columns: 1fr minmax(360px, .72fr); gap: 70px; align-items: center; }
.vs-newsletter h2 { margin: 0; font-family: var(--vs-heading-font); font-size: clamp(37px,5vw,66px); line-height: 1.05; letter-spacing: -.052em; font-weight: 500; }
.vs-newsletter p { max-width: 640px; margin: 17px 0 0; color: rgba(255,255,255,.78); }
.vs-newsletter form { display: grid; grid-template-columns: 1fr auto; }
.vs-newsletter input { min-height: 56px; border: 0; padding: 0 17px; }
.vs-newsletter button { min-height: 56px; background: var(--vs-navy); padding: 0 22px; }

/* Footer */
.site-footer { background: var(--vs-footer-bg); color: rgba(255,255,255,.65); }
.site-footer__image { height: 260px; overflow: hidden; position: relative; }
.site-footer__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 20%, var(--vs-footer-bg)); }
.site-footer__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.footer-main { padding: 68px 0 54px; display: grid; grid-template-columns: minmax(260px,1.3fr) repeat(3,1fr); gap: 52px; }
.footer-brand .custom-logo { filter: brightness(0) invert(1); }
.footer-wordmark { color: #fff; }
.footer-brand p { max-width: 330px; margin: 20px 0 0; font-size: 14px; }
.footer-widget h2, .footer-widget .widget-title { color: #fff; }
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-widget li + li { margin-top: 9px; }
.footer-widget a { font-size: 13px; }
.footer-widget a:hover { color: #fff; }
.footer-bottom { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11px; }
.footer-bottom__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Image treatment options */
body.vs-images-muted img:not(.custom-logo) { filter: saturate(.72) contrast(1.03); }
body.vs-images-contrast img:not(.custom-logo) { filter: saturate(.9) contrast(1.13); }

/* Comments */
.comments-area { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--vs-line); }
.comments-title { color: var(--vs-navy); font-family: var(--vs-heading-font); font-size: 30px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 24px 0; border-bottom: 1px solid var(--vs-line); }

/* Responsive */
@media (max-width: 1160px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 24px 28px 34px; background: #fff; border-top: 1px solid var(--vs-line); box-shadow: var(--vs-shadow); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation a { min-height: auto; padding: 12px 0; }
  .primary-navigation a::after { display: none; }
  .primary-navigation .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .menu-toggle { display: grid; }
  .header-actions { justify-self: end; }
  .article-shell { grid-template-columns: minmax(0,var(--vs-reading-width)) 240px; }
  .article-toc { display: none; }
}
@media (max-width: 900px) {
  :root { --vs-section-space: 92px; }
  .utility-bar { display: none; }
  .site-header__inner { min-height: 74px; }
  .vs-header-cta { display: none; }
  .vs-section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 48px; }
  .vs-principles { grid-template-columns: 1fr; }
  .vs-principle, .vs-principle + .vs-principle { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--vs-line); }
  .vs-feature { grid-template-columns: 1fr; }
  .vs-feature__media { min-height: 460px; }
  .vs-topic-row { grid-template-columns: 55px 1fr 44px; min-height: 96px; }
  .vs-topic-row p { display: none; }
  .vs-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 240px; }
  .vs-mosaic figure:nth-child(1) { grid-row: auto; }
  .vs-mosaic figure:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .vs-post-row { grid-template-columns: 110px 1fr 44px; }
  .vs-post-row__date { display: none; }
  .vs-grid { grid-template-columns: repeat(2,1fr); }
  .article-shell { grid-template-columns: 1fr; padding-inline: 24px; }
  .article-sidebar { position: static; }
  .vs-newsletter__inner { grid-template-columns: 1fr; gap: 35px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  :root { --vs-section-space: 72px; }
  .vs-container { width: min(calc(100% - 32px), var(--vs-content-width)); }
  .site-header__inner { gap: 12px; }
  .vs-wordmark { font-size: 20px; gap: 9px; }
  .vs-wordmark__mark { width: 37px; height: 37px; }
  .header-search, .menu-toggle { width: 40px; height: 40px; }
  .vs-hero { min-height: 650px; }
  .vs-hero__content { padding: 86px 0 72px; }
  .vs-scroll-cue { display: none; }
  .vs-topic-row { grid-template-columns: 38px 1fr 38px; gap: 15px; }
  .vs-feature__media { min-height: 340px; }
  .vs-feature__content { padding: 35px 25px 42px; }
  .vs-mosaic { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3,250px); }
  .vs-mosaic figure:nth-child(2) { grid-column: auto; grid-row: auto; }
  .vs-post-row { grid-template-columns: 1fr 38px; gap: 16px; padding: 24px 0; }
  .vs-post-row__category { grid-column: 1 / 3; }
  .vs-grid { grid-template-columns: 1fr; }
  body:not(.vs-single-image-natural) .single-featured { width: calc(100% - 32px); height: min(var(--vs-single-featured-height), 72vw); }
  body.vs-archive-overlay .vs-card h2, body.vs-archive-overlay .vs-card h3 { font-size: 28px; }
  body.vs-archive-overlay .vs-card p { font-size: 14px; }
  .single-hero { padding-top: 62px; }
  .entry-content { font-size: 17px; }
  .entry-content h2 { font-size: 31px; }
  .entry-content blockquote { font-size: 25px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .vs-newsletter form { grid-template-columns: 1fr; gap: 10px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 24px 0; }
}
@media (max-width: 782px) { body.admin-bar .site-header.is-sticky { top: 46px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
