/* Vertex replica (Elegant Themes "Vertex", used by 14 subsites). Values measured on the live
   sites and read from the theme stylesheet; written from scratch. Per-site colours and fonts
   (theme options) arrive as CSS variables from partials/head-assets.njk. */
:root {
  --vx-dark: #25383b;
  --vx-accent: #c24c4c;
  --vx-menu: #fff;
  --vx-menu-active: #fff;
  --wp-bg: #fff;
  --wp-text: #333;
  --wp-muted: #959494;
  --wp-link: #4bb6f5;
  --wp-link-hover: #2a8fc9;
  --wp-accent: var(--vx-accent);
  --wp-font-body: "Open Sans", Arial, sans-serif;
  --wp-font-head: "Raleway", Arial, sans-serif;
  --wp-font-size: 1rem;
  --wp-line: 1.75;
  --wp-wide-width: 980px;
  --wp-sidebar-width: 260px;
  --wp-gap: 60px;
  --wp-hero-bg: var(--vx-dark);
  --wp-hero-overlay: rgba(0, 0, 0, .25);
  --wp-footer-bg: var(--vx-dark);
  --wp-footer-text: #fff;
}
body { font-weight: 300; background: var(--vx-dark); }
strong, b { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { color: #333; font-weight: 400; }
.entry__content h1, .entry__content h2, .entry__content h3 { font-family: var(--wp-font-head); }
.entry__content p, .entry__content li { color: var(--wp-text); }

/* top bar */
.vx-top { background: var(--vx-dark); color: var(--vx-menu); box-shadow: 0 1px 0 rgba(255, 255, 255, .2); position: relative; z-index: 10; }
.vx-top .site-header__inner { padding: 18px 20px; justify-content: center; }
.vx-top .site-branding + .primary-nav { margin-left: auto; }
.vx-top .site-title { font-family: "Raleway", Arial, sans-serif; font-weight: 100; font-size: 2.6rem; }
.vx-top .primary-nav a { color: var(--vx-menu); font-size: 1rem; padding: 10px 12px; }
.vx-top .primary-nav a:hover { color: rgba(255, 255, 255, .85); }
.vx-top .primary-nav .current-menu-item > a { color: var(--vx-menu-active); font-weight: 800; }
.vx-top .primary-nav__wide > .menu { justify-content: center; }
.vx-top .sub-menu { background: var(--vx-dark); }
.vx-top .primary-nav__wide .sub-menu a { color: var(--vx-menu); }
.vx-top .primary-nav__toggle summary { color: #fff; }
.vx-top .primary-nav__toggle[open] > .menu { background: var(--vx-dark); }
.vx-top .primary-nav__toggle[open] > .menu a { color: #fff; }

/* hero: header image with the big thin title and the red tagline box */
.hero { min-height: 410px; }
.hero--home { min-height: 520px; }
.hero__title { font-family: "Raleway", Arial, sans-serif; font-weight: 100; font-size: clamp(3rem, 2rem + 6vw, 6.25rem); line-height: 1.1; }
.hero--post .hero__title, .hero--page .hero__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); }
.hero__tagline { display: inline-block; margin: 24px 0 0; padding: 14px 32px; background: var(--vx-accent); color: #fff; font-weight: 800; font-size: clamp(1rem, .8rem + 1vw, 1.5rem); text-transform: uppercase; }
.hero .vx-meta { display: inline-block; margin-top: 24px; padding: 12px 32px; background: var(--vx-accent); color: #fff; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.hero__kicker { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* content area: white panel, 640px column + 260px sidebar */
.site-content { background: #fff; max-width: none; padding: 60px max(20px, calc((100% - 960px) / 2)) 100px; }
.site-content.has-sidebar { grid-template-columns: minmax(0, 640px) 260px; justify-content: center; }
@media (max-width: 960px) { .site-content.has-sidebar { grid-template-columns: minmax(0, 1fr); } }

/* list entry: thumbnail + overlay title box + red meta strip */
.post-list { gap: 60px; }
.vx-thumb { position: relative; line-height: 0; margin-bottom: 32px; }
.vx-thumb img { display: block; width: 100%; height: auto; box-shadow: inset 0 0 8px rgba(0, 0, 0, .5); }
.vx-desc { position: absolute; left: 0; bottom: 0; line-height: 1.3; }
.vx-thumb--none .vx-desc { position: static; }
.vx-desc .card__title { display: inline-block; margin: 0; padding: 18px 30px 16px 52px; background: var(--vx-dark); font-family: "Raleway", Arial, sans-serif; font-weight: 100; font-size: 2.25rem; }
.vx-desc .card__title a { color: #fff; }
.vx-desc .card__title a:hover { color: rgba(255, 255, 255, .9); }
.vx-desc .vx-meta { display: table; margin: 0 17px 0 0; padding: 10px 25px 11px 52px; background: var(--vx-accent); color: #fff; font-weight: 800; font-size: 1.1rem; }
.vx-meta a { color: inherit; text-decoration: none; }
@media (max-width: 600px) {
  .vx-desc { position: static; }
  .vx-desc .card__title { display: block; padding: 14px 18px; font-size: 1.6rem; }
  .vx-desc .vx-meta { display: block; margin: 0; padding: 8px 18px; font-size: .95rem; }
}
.card__more { float: right; color: #333; font-weight: 800; }
.vx-entry::after { content: ""; display: table; clear: both; }
.entry__content blockquote { border-left: 7px solid var(--vx-accent); font-family: "Raleway", Arial, sans-serif; font-weight: 100; font-size: 1.5rem; font-style: normal; color: #333; }

/* sidebar: bold titles, red bullets */
.widget__title { font-family: var(--wp-font-body); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1rem; color: #333; }
.widget li { border: 0; padding: 4px 0 4px 15px; position: relative; line-height: 1.3; }
.widget li::before { content: ""; position: absolute; left: 0; top: .75em; border: 3px solid transparent; border-left: 4px solid var(--vx-accent); }
.widget li a { color: var(--wp-muted); }
.widget li a:hover { color: #333; }

.site-footer__inner { justify-content: center; padding: 80px 20px; }
.pagination .pagination__current { background: var(--vx-accent); border-color: var(--vx-accent); }
.post-nav { border-top: 1px solid #eee; }
@media (max-width: 600px) {
  .hero, .hero--home { min-height: 300px; }
  .hero .vx-meta { font-size: .85rem; padding: 10px 16px; }
  .site-content { padding-top: 32px; padding-bottom: 60px; }
}
