/*
Theme Name: Wanderlens
Theme URI: https://example.com/wanderlens
Author: Akash
Description: A clean editorial travel-magazine theme in ocean blues: boxed topic tags, article table of contents, sticky "Related Topics / You May Also Like" sidebar, large hero images with captions, category pages with banners, and a clean editable footer. Includes one-click demo content (Appearance > Demo Content). Customize at Appearance > Customize > Wanderlens Theme.
Version: 1.6.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wanderlens
Tags: blog, travel, news, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Self-hosted fonts (variable) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(assets/fonts/montserrat-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url(assets/fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
	src: url(assets/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
	src: url(assets/fonts/source-serif-4-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
	src: url(assets/fonts/source-serif-4-latin-wght-italic.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--wl-accent: #1fa2d8;
	--wl-navy: #0a2540;
	--wl-ink: #0b1f3a;
	--wl-soft: #eef6fb;
	--wl-text: #1f2d3d;
	--wl-muted: #5b6b7c;
	--wl-line: #dde7ef;
	--wl-bg: #fff;
	--wl-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--wl-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--wl-header-h: 72px;
	--wl-max: 1280px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--wl-bg);
	color: var(--wl-text);
	font-family: var(--wl-serif);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--wl-sans); color: var(--wl-ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
ul { padding: 0; margin: 0; list-style: none; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; background: #fff; padding: 12px 18px; font-family: var(--wl-sans); font-weight: 700;
}
:focus-visible { outline: 3px solid var(--wl-ink); outline-offset: 2px; }

.wrap { max-width: var(--wl-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap--narrow { max-width: 820px; }
.site-main { padding-bottom: 72px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff; border-bottom: 1px solid var(--wl-line);
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.site-header__inner {
	display: flex; align-items: center; gap: 40px;
	height: var(--wl-header-h); padding-left: 32px;
}

.wl-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wl-ink); }
.wl-logo__box { width: 26px; height: 40px; border: 5px solid var(--wl-accent); flex: none; }
.wl-logo__text {
	font-family: var(--wl-sans); font-weight: 600; text-transform: uppercase;
	font-size: 17px; line-height: .95; letter-spacing: -0.04em; display: flex; flex-direction: column;
}
.wl-logo--light { color: #fff; }
.custom-logo { max-height: 44px; width: auto; }

.primary-nav { flex: 1; }
.primary-menu { display: flex; gap: 34px; align-items: center; }
.primary-menu li { position: relative; }
.primary-menu a {
	font-family: var(--wl-sans); font-weight: 600; font-size: 16px; text-decoration: none;
	color: var(--wl-ink); padding: 8px 0; display: inline-block; border-bottom: 3px solid transparent;
}
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current-cat > a { border-bottom-color: var(--wl-accent); }

.primary-menu .sub-menu {
	display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; background: #fff;
	padding: 12px 16px; border: 1px solid var(--wl-line); box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 8px 0; font-size: 15px; display: block; border-bottom: 0; }
.primary-menu .sub-menu a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; }

.header-actions { display: flex; align-items: center; gap: 28px; }
.icon-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--wl-ink); display: flex; }
.header-login { font-family: var(--wl-sans); font-weight: 600; text-decoration: none; }
.header-subscribe {
	align-self: stretch; display: flex; align-items: center; padding: 0 28px;
	background: var(--wl-accent); color: #fff; font-family: var(--wl-sans); font-weight: 700;
	font-size: 17px; text-decoration: none; margin-left: -12px;
}
.header-subscribe:hover { background: var(--wl-navy); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
	content: ""; display: block; width: 24px; height: 3px; background: var(--wl-ink); position: absolute; left: 10px; transition: transform .2s, opacity .2s;
}
.menu-toggle__bars { top: 20px; }
.menu-toggle__bars::before { top: -8px; left: 0; }
.menu-toggle__bars::after { top: 8px; left: 0; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

.search-panel { border-top: 1px solid var(--wl-line); background: var(--wl-soft); }
.search-panel__inner { max-width: 760px; margin: 0 auto; padding: 20px 32px; }

.wl-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--wl-accent); z-index: 200; }

/* Search form */
.search-form { display: flex; gap: 0; }
.search-field {
	flex: 1; font: 500 17px var(--wl-sans); padding: 14px 16px; border: 2px solid var(--wl-ink); border-right: 0; background: #fff; border-radius: 0;
}
.search-submit, .btn-accent {
	font: 700 14px var(--wl-sans); letter-spacing: .2em; text-transform: uppercase; background: var(--wl-accent);
	color: #fff; background: var(--wl-accent); border: 2px solid var(--wl-accent); padding: 14px 26px; cursor: pointer; text-decoration: none; display: inline-block; border-radius: 0;
}
.search-submit:hover, .btn-accent:hover { background: var(--wl-navy); border-color: var(--wl-navy); color: #fff; }


/* ==========================================================================
   Labels, chips, kickers
   ========================================================================== */
.wl-label, .chip {
	display: inline-block; font-family: var(--wl-sans); font-weight: 600; font-size: 13px; text-transform: uppercase;
	letter-spacing: .2em; color: var(--wl-ink); text-decoration: none; border: 2px solid var(--wl-ink);
	padding: 8px 14px 8px 16px; line-height: 1.1; background: #fff;
}
.wl-label { font-size: 14px; padding: 10px 16px 10px 18px; }
a.wl-label:hover, .chip:hover { background: var(--wl-accent); border-color: var(--wl-accent); color: #fff; }
.chip-list { display: flex; flex-wrap: wrap; gap: 12px 14px; }

.wl-kicker {
	display: block; font-family: var(--wl-sans); font-weight: 600; font-size: 12px; text-transform: uppercase;
	letter-spacing: .18em; color: var(--wl-muted); margin-bottom: 6px;
}

/* ==========================================================================
   Archives / home
   ========================================================================== */
.archive-header { padding: 56px 0 32px; }
.archive-title { font-size: clamp(34px, 5vw, 56px); margin: 18px 0 8px; }
.archive-desc { font-size: 20px; color: var(--wl-muted); max-width: 720px; }
.site-main.wrap > .hero-card, .cat-feature { margin-top: 48px; }

.hero-card { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.hero-card__media { display: block; overflow: hidden; background: var(--wl-soft); aspect-ratio: 16 / 10; }
.hero-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-card:hover .hero-card__media img { transform: scale(1.03); }
.hero-card__title { font-size: clamp(30px, 3.4vw, 46px); margin: 22px 0 14px; }
.hero-card__title a { text-decoration: none; }
.hero-card__title a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.hero-card__excerpt { font-size: 19px; color: #444; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.card__media { display: block; overflow: hidden; background: var(--wl-soft); aspect-ratio: 3 / 2; margin-bottom: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #bcd9ea, #e4f1f9); }
.card__title { font-size: 21px; font-weight: 700; line-height: 1.25; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }

.pagination { margin-top: 56px; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; font-family: var(--wl-sans); font-weight: 600; }
.nav-links .page-numbers { padding: 10px 16px; border: 2px solid var(--wl-ink); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--wl-accent); border-color: var(--wl-accent); color: #fff; }
.nav-links .dots { border: 0; }

/* ==========================================================================
   Single article
   ========================================================================== */
.article-layout {
	max-width: 1360px; margin: 0 auto; padding: 72px 32px 0;
	display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 96px; align-items: start;
}
.article-title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; margin: 28px 0 22px; letter-spacing: -0.02em; }
.article-deck { font-family: var(--wl-sans); font-weight: 500; font-size: 21px; line-height: 1.55; color: #333; margin: 0 0 20px; }
.article-meta { font-family: var(--wl-sans); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--wl-muted); margin: 0 0 28px; }
.article-meta a { color: var(--wl-ink); font-weight: 600; text-decoration: none; }
.article-meta a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); }

.article-hero { margin: 36px 0 40px; }
.article-hero img { width: 100%; }

/* Captions: yellow bar, grey text */
figcaption, .wp-element-caption, .wp-caption-text {
	position: relative; padding-left: 18px; margin-top: 14px; font-family: var(--wl-sans); font-size: 15px;
	line-height: 1.5; color: var(--wl-muted); text-align: left;
}
figcaption::before, .wp-element-caption::before, .wp-caption-text::before {
	content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--wl-accent);
}
figcaption cite, .wp-element-caption cite {
	display: block; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}

/* Body text */
.entry-content { font-size: 21px; line-height: 1.75; color: #1a1a1a; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 1.5em; }
.entry-content strong { color: #000; }
.entry-content a {
	color: inherit; text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; text-underline-offset: 3px;
}
.entry-content a:hover { background: var(--wl-soft); text-decoration-color: var(--wl-navy); }
.entry-content h2 { font-size: clamp(28px, 3vw, 38px); margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em 1.3em; padding: 0; }
.entry-content ul { list-style: disc; }
.entry-content li { margin-bottom: .4em; }
.entry-content figure { margin: 2em 0; }
.entry-content img { width: 100%; }
.entry-content blockquote {
	margin: 2em 0; padding: 0 0 0 28px; border-left: 5px solid var(--wl-accent); font-size: 1.15em; font-style: italic;
}
.entry-content blockquote cite { display: block; font: 600 13px var(--wl-sans); text-transform: uppercase; letter-spacing: .1em; font-style: normal; margin-top: 10px; }
.entry-content table { border-collapse: collapse; width: 100%; font-family: var(--wl-sans); font-size: 16px; margin: 2em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--wl-line); padding: 12px 14px; text-align: left; }
.entry-content th { background: var(--wl-navy); color: #fff; }
.entry-content hr { border: 0; border-top: 1px solid var(--wl-line); margin: 3em 0; }
.alignwide { max-width: 1100px; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }

/* Sidebar */
.sidebar-sticky { position: sticky; top: calc(var(--wl-header-h) + 32px); }
.side-block { margin-bottom: 40px; }
.side-block__title { font-size: 32px; margin: 0 0 28px; }
.side-block--rule { border-top: 2px solid var(--wl-accent); padding-top: 40px; }
.mini-list { display: grid; gap: 40px; }
.mini { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.mini__media { display: block; aspect-ratio: 1; background: var(--wl-soft); overflow: hidden; }
.mini__media img { width: 100%; height: 100%; object-fit: cover; }
.mini__title { font-family: var(--wl-sans); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--wl-ink); text-decoration: none; }
.mini__title:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; }

/* Bottom "You May Also Like" grid */
.more-stories { padding-top: 88px; }
.more-stories .side-block__title { margin-bottom: 28px; }
.more-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 36px 28px; }
.more-grid .card--large { grid-column: span 3; }
.more-grid .card--small { grid-column: span 2; }
.more-grid .card--large .card__media { aspect-ratio: 3 / 2; }
.more-grid .card--large .card__title { font-size: 24px; }

/* Page */
.page-article .article-header { padding-top: 64px; }
.page-article .article-title { margin-top: 0; }

/* Comments */
.comments-area { margin-top: 64px; padding-top: 40px; border-top: 2px solid var(--wl-accent); font-family: var(--wl-sans); font-size: 16px; }
.comments-title, .comment-reply-title { font-size: 26px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; margin-left: 32px; padding: 0; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--wl-line); }
.comment-author img { float: left; margin-right: 14px; border-radius: 50%; }
.comment-metadata, .comment-metadata a { font-size: 12px; color: var(--wl-muted); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 2px solid var(--wl-ink); font: inherit; border-radius: 0;
}
.comment-form .submit {
	font: 700 14px var(--wl-sans); letter-spacing: .2em; text-transform: uppercase; background: var(--wl-accent); color: #fff; border: 2px solid var(--wl-accent); padding: 14px 26px; cursor: pointer;
}
.comment-form .submit:hover { background: var(--wl-navy); border-color: var(--wl-navy); }

/* ==========================================================================
   Newsletter + footer
   ========================================================================== */
.newsletter {
	position: relative; color: #fff; text-align: center; padding: 120px 24px;
	background: var(--wl-navy) center / cover no-repeat;
	background-image: radial-gradient(circle at 25% 15%, #1d6fa5 0%, #0a2540 72%);
}
.newsletter::before { content: ""; position: absolute; inset: 0; background: rgba(10, 37, 64, .72); }
.newsletter:not([style])::before { display: none; }
.newsletter__inner { position: relative; max-width: 900px; margin: 0 auto; }
.newsletter__title { color: #fff; text-transform: uppercase; font-size: clamp(26px, 4vw, 46px); letter-spacing: .08em; margin: 0 0 18px; }
.newsletter__text { font-family: var(--wl-sans); font-size: 21px; margin: 0 0 36px; }
.newsletter .btn-accent { min-width: min(520px, 90%); padding: 26px 30px; font-size: 16px; }
.newsletter .btn-accent:hover { background: #fff; border-color: #fff; color: var(--wl-navy); }
.newsletter__form input[type="email"], .newsletter__form input[type="text"] { padding: 16px; font: 500 16px var(--wl-sans); border: 0; min-width: 280px; }
.newsletter__form input[type="submit"], .newsletter__form button {
	font: 700 14px var(--wl-sans); letter-spacing: .2em; text-transform: uppercase; background: var(--wl-accent); color: #fff; border: 0; padding: 17px 28px; cursor: pointer;
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
	.primary-menu { gap: 24px; }
}

@media (max-width: 960px) {
	:root { --wl-header-h: 64px; }
	.site-header__inner { gap: 12px; padding-left: 20px; }
	.site-branding { flex: 1; }
	.primary-nav {
		display: none; position: absolute; top: var(--wl-header-h); left: 0; right: 0; background: #fff;
		border-bottom: 1px solid var(--wl-line); padding: 12px 20px 24px; max-height: calc(100vh - var(--wl-header-h)); overflow: auto;
	}
	.menu-open .primary-nav { display: block; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--wl-line); font-size: 18px; }
	.primary-menu .sub-menu { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.primary-menu li.is-open > .sub-menu { display: block; }
	.menu-toggle { display: block; }
	.header-actions { gap: 8px; }
	.header-login { display: none; }
	.header-subscribe { padding: 0 18px; font-size: 15px; margin-left: 0; }

	.article-layout { grid-template-columns: minmax(0, 1fr); padding: 40px 20px 0; gap: 24px; }
	.article-sidebar, .cat-sidebar { display: none; }
	.entry-content { font-size: 19px; }

	.hero-card { grid-template-columns: 1fr; gap: 0; }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.wrap { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 600px) {
	body { font-size: 17px; }
	.card-grid { grid-template-columns: 1fr; }
	.more-grid { grid-template-columns: 1fr; }
	.more-grid .card--large, .more-grid .card--small { grid-column: auto; }
	.newsletter { padding: 80px 20px; }
	.search-form { flex-direction: column; }
	.search-field { border-right: 2px solid var(--wl-ink); border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ==========================================================================
   Menu caret, table of contents
   ========================================================================== */
.primary-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 9px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}

.entry-content h2, .entry-content h3 { scroll-margin-top: calc(var(--wl-header-h) + 24px); }

.toc {
	margin: 0 0 2.4em; font-family: var(--wl-sans); background: var(--wl-soft);
	border: 1px solid var(--wl-line); border-radius: 14px; overflow: hidden;
}
.toc__toggle {
	display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px; margin: 0;
	background: transparent; border: 0; cursor: pointer; text-align: left; color: var(--wl-ink); font: inherit;
}
.toc__toggle:hover .toc__title { color: var(--wl-accent); }
.toc__icon {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%; background: var(--wl-accent); color: #fff;
}
.toc__title { font-weight: 700; font-size: 16px; letter-spacing: -0.005em; transition: color .2s ease; }
.toc__count { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wl-muted); white-space: nowrap; }
.toc__chev {
	flex: none; width: 8px; height: 8px; margin: 0 4px 3px 2px; border-right: 2px solid var(--wl-muted); border-bottom: 2px solid var(--wl-muted);
	transform: rotate(-135deg) translate(-1px, -1px); transition: transform .3s ease;
}
.toc.is-collapsed .toc__chev { transform: rotate(45deg); margin-bottom: 4px; }

.toc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease; }
.toc.is-collapsed .toc__panel { grid-template-rows: 0fr; }
.toc__inner { overflow: hidden; min-height: 0; }
.toc.is-collapsed .toc__inner { visibility: hidden; transition: visibility 0s .35s; }

.entry-content .toc__list { list-style: none; margin: 0; padding: 2px 18px 16px; counter-reset: toc; }
.entry-content .toc--wide .toc__list { column-count: 2; column-gap: 28px; }
.entry-content .toc__list li { counter-increment: toc; margin: 0; break-inside: avoid; }
.entry-content .toc__list a {
	display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; margin: 0 -12px; border-radius: 9px;
	color: #34485d; font-size: 15.5px; line-height: 1.4; font-weight: 500; text-decoration: none;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.entry-content .toc__list a::before {
	content: counter(toc, decimal-leading-zero); flex: none; min-width: 22px;
	font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--wl-accent);
}
.entry-content .toc__list a:hover { background: #fff; color: var(--wl-ink); }
.entry-content .toc__list a.is-active { background: #fff; color: var(--wl-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--wl-accent); }

/* ==========================================================================
   Share buttons
   ========================================================================== */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 8px; font-family: var(--wl-sans); position: relative; }
.share__label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wl-muted); }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1.5px solid var(--wl-line); background: #fff; color: var(--wl-ink); cursor: pointer; padding: 0;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.share__btn svg { width: 19px; height: 19px; }
.share__btn:hover { background: var(--wl-accent); border-color: var(--wl-accent); color: #fff; transform: translateY(-2px); }
.share__toast {
	position: absolute; left: 0; bottom: -30px; font-size: 13px; font-weight: 600; color: var(--wl-accent);
	opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.share__toast.is-visible { opacity: 1; }
.share-end { margin: 3em 0 0; padding: 22px 0; border-top: 1px solid var(--wl-line); border-bottom: 1px solid var(--wl-line); }
.share-end .share { margin: 0; }
.article-header .share { margin-top: 4px; }

/* ==========================================================================
   Homepage sections
   ========================================================================== */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 64px 0 28px; }
.section-title { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.section-link {
	font-family: var(--wl-sans); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--wl-ink); text-decoration: none; border-bottom: 3px solid var(--wl-accent); padding-bottom: 3px;
}
.section-link:hover { color: var(--wl-accent); }

.tile-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tile-grid::-webkit-scrollbar { display: none; }
.tile-grid > .tile { flex: 0 0 calc((100% - 64px) / 5); scroll-snap-align: start; }
.tile-grid.tile-grid--fit > .tile { flex: 1 1 0; min-width: 0; }
.tile-arrows { display: flex; gap: 8px; }
.tile-arrow { width: 40px; height: 40px; border: 2px solid var(--wl-ink); background: #fff; color: var(--wl-ink); font: 700 18px/1 var(--wl-sans); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.tile-arrow:hover:not(:disabled) { background: var(--wl-accent); border-color: var(--wl-accent); color: #fff; }
.tile-arrow:disabled { opacity: .3; cursor: default; }
.tile {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 18px;
	color: #fff; text-decoration: none; overflow: hidden; background: var(--wl-navy);
}
.tile::before {
	content: ""; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; transition: transform .5s ease;
}
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 37, 64, 0) 35%, rgba(10, 37, 64, .88)); }
.tile:hover::before { transform: scale(1.06); }
.tile > span { position: relative; z-index: 1; }
.tile__name { font-family: var(--wl-sans); font-weight: 800; font-size: 20px; line-height: 1.15; }
.tile__count { font-family: var(--wl-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: 6px; }

/* ==========================================================================
   Category page
   ========================================================================== */
.cat-banner {
	position: relative; color: #fff; background: var(--wl-navy) var(--img) center / cover no-repeat;
	padding: 72px 0 60px; margin-bottom: 8px;
}
.cat-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 37, 64, .92) 0%, rgba(10, 37, 64, .7) 55%, rgba(10, 37, 64, .35) 100%); }
.cat-banner__inner { position: relative; max-width: var(--wl-max); margin: 0 auto; padding: 0 32px; }
.breadcrumb { font-family: var(--wl-sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; opacity: .9; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 10px; opacity: .6; }
.cat-banner .wl-label { background: transparent; color: #fff; border-color: #fff; }
.cat-banner__title { color: #fff; font-size: clamp(40px, 6vw, 76px); margin: 22px 0 14px; letter-spacing: -0.02em; }
.cat-banner__desc { font-size: 21px; max-width: 700px; margin: 0 0 22px; color: #e6f1f9; }
.cat-banner__count { font-family: var(--wl-sans); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--wl-accent); margin: 0 0 24px; }
.cat-banner .chip-list { margin-top: 4px; }
.chip--light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .85); }
.chip--light:hover { background: #fff; color: var(--wl-navy); border-color: #fff; }
.chip.is-current { background: var(--wl-accent); border-color: var(--wl-accent); color: #fff; }

.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; margin-top: 8px; }
.row-list { display: grid; gap: 40px; }
.card-row { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--wl-line); }
.card-row:last-child { border-bottom: 0; }
.card-row .card__media { margin: 0; }
.card-row__title { font-size: 26px; margin: 4px 0 10px; line-height: 1.2; }
.card-row__title a { text-decoration: none; }
.card-row__title a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.card-row__excerpt { margin: 0 0 12px; font-size: 17px; color: #46566a; }
.card-row__meta { font-family: var(--wl-sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--wl-muted); margin: 0; }

.cat-sidebar { position: sticky; top: calc(var(--wl-header-h) + 32px); display: grid; gap: 40px; }
.cat-sidebar .side-block { margin: 0; }
.cat-sidebar .side-block__title { font-size: 22px; margin-bottom: 18px; }
.cat-list li { border-bottom: 1px solid var(--wl-line); }
.cat-list a { display: flex; justify-content: space-between; padding: 12px 0; font-family: var(--wl-sans); font-weight: 600; font-size: 16px; text-decoration: none; color: var(--wl-ink); }
.cat-list a:hover { color: var(--wl-accent); }
.cat-list span { color: var(--wl-muted); font-weight: 500; }
.cta-card { background: var(--wl-navy); color: #fff; padding: 28px; }
.cta-card h2 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.cta-card p { font-family: var(--wl-sans); font-size: 15px; margin: 0 0 20px; color: #cfe3f1; }
.cta-card .btn-accent { padding: 14px 22px; font-size: 13px; }

.explore-more { margin-top: 24px; }

@media (max-width: 1200px) {
	.cat-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 960px) {
	.cat-layout { grid-template-columns: 1fr; }
	.cat-banner__inner { padding: 0 20px; }
	.cat-banner { padding: 48px 0 40px; }
	.card-row { grid-template-columns: 220px 1fr; gap: 20px; }
}
@media (max-width: 600px) {
	.tile-grid > .tile { flex-basis: calc((100% - 32px) / 3); }
	.card-row { grid-template-columns: 1fr; }
	.section-head { margin-top: 48px; }
}

/* ==========================================================================
   Polish and mobile refinements
   ========================================================================== */
.admin-note { margin: 0; padding: 12px 20px; background: #fff8e5; color: #5b4300; font: 500 14px/1.5 var(--wl-sans); text-align: center; border-top: 1px dashed #e6c76a; }
.search-field { min-width: 0; border-radius: 0; -webkit-appearance: none; appearance: none; }
.search-field:focus { outline: none; box-shadow: 0 0 0 3px rgba(31, 162, 216, .35); }
.primary-menu li.is-open > a::after { transform: rotate(-135deg); margin-bottom: 0; }
.entry-content, .article-title, .card__title, .hero-card__title { overflow-wrap: anywhere; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content figure img { height: auto; }

@media (max-width: 960px) {
	.hero-card__body { padding-top: 22px; }
	.hero-card__title { margin: 16px 0 12px; }
	.hero-card { margin-bottom: 40px; }
	.entry-content { font-size: 19px; line-height: 1.7; }
	.primary-nav { box-shadow: 0 18px 28px rgba(10, 37, 64, .14); }
	.primary-menu a { padding: 15px 0; }
	.primary-menu .sub-menu a { padding: 12px 0; font-size: 16px; font-weight: 500; }
	.primary-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
	.entry-content .toc--wide .toc__list { column-count: 1; }
	.archive-header { padding: 36px 0 24px; }
	.site-main { padding-bottom: 56px; }
	.more-stories { padding-top: 56px; }
}

@media (max-width: 600px) {
	body { font-size: 17px; }
	.entry-content { font-size: 18px; line-height: 1.65; }
	.entry-content h2 { margin-top: 1.6em; }
	.article-layout { padding-top: 28px; }
	.article-title { margin: 22px 0 16px; }
	.article-deck { font-size: 18px; }
	.search-submit { padding: 14px 18px; letter-spacing: .14em; }
	.search-field { padding: 14px 14px; font-size: 16px; }
	.search-form { flex-direction: row; }
	.search-field { border-right: 0; border-bottom: 2px solid var(--wl-ink); }
	.share__btn { width: 38px; height: 38px; }
	.toc__toggle { padding: 12px 14px; gap: 10px; }
	.toc__count { display: none; }
	.toc__chev { margin-left: auto; }
	.entry-content .toc__list { padding: 0 14px 12px; }
	.section-head { margin: 44px 0 20px; }
	.tile { aspect-ratio: 4 / 5; padding: 14px; }
	.tile-grid { gap: 12px; }
	.tile-grid > .tile { flex-basis: 42%; }
	.tile-arrow { width: 36px; height: 36px; }
	.tile__name { font-size: 17px; }
	.pagination { margin-top: 40px; }
	.cat-banner__title { margin-top: 18px; }
	.cat-banner__desc { font-size: 18px; }
	.card-row__title { font-size: 22px; }
	.newsletter__text { font-size: 18px; margin-bottom: 28px; }
	.newsletter .btn-accent { padding: 20px 24px; }
}

@media (max-width: 380px) {
	.site-header__inner { padding-left: 14px; }
	.wl-logo__text { font-size: 15px; }
	.wl-logo__box { width: 22px; height: 34px; border-width: 4px; }
	.header-subscribe { padding: 0 12px; font-size: 14px; }
	.header-actions { gap: 0; }
}

/* Header never overflows, even with a long site name */
.site-branding { min-width: 0; }
.wl-logo { max-width: 100%; }
.wl-logo__text { min-width: 0; }
.wl-logo__text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-subscribe, .header-actions { flex: none; }

@media (max-width: 480px) {
	.site-header__inner { gap: 6px; padding-left: 16px; }
	.wl-logo { gap: 8px; }
	.wl-logo__text { font-size: 16px; }
	.header-subscribe { padding: 0 14px; font-size: 15px; margin-left: 0; }
	.header-actions { gap: 0; }
	.icon-btn { padding: 8px; }
}

/* ==========================================================================
   v1.3: sidebar spacing, footer, header padding, speed
   ========================================================================== */

/* Right-hand sidebar (desktop only: hidden at 960px and below, see media rule above) */
.sidebar-sticky .side-block { margin-bottom: 28px; }
.sidebar-sticky .side-block__title, .cat-sidebar .side-block__title { font-size: 24px; margin: 0 0 16px; }
.sidebar-sticky .side-block--rule { border-top: 1px solid var(--wl-line); padding-top: 28px; margin-bottom: 0; }
.sidebar-sticky .chip-list { gap: 10px; }
.sidebar-sticky .mini-list { gap: 22px; }
.sidebar-sticky .mini { grid-template-columns: 104px 1fr; gap: 16px; }
.sidebar-sticky .mini__title { font-size: 17px; line-height: 1.3; }
.sidebar-sticky .mini .wl-kicker { margin-bottom: 4px; }
.more-stories .side-block__title { font-size: 28px; }
.cat-sidebar { gap: 28px; }

/* Header: even padding on both sides, subscribe button stays flush right */
:root { --wl-hpad: 32px; }
.site-header__inner { padding-left: var(--wl-hpad); padding-right: var(--wl-hpad); }
.header-subscribe { margin-right: calc(var(--wl-hpad) * -1); }
@media (max-width: 960px) { :root { --wl-hpad: 20px; } }
@media (max-width: 480px) { :root { --wl-hpad: 16px; } }
@media (max-width: 380px) { :root { --wl-hpad: 14px; } }

/* Footer */
.site-footer { background: var(--wl-navy); color: #fff; font-family: var(--wl-sans); }
.site-footer__main {
	max-width: 1240px; margin: 0 auto; padding: 72px 32px 52px;
	display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(var(--cols, 3), minmax(0, 1fr)); gap: 48px;
}
.footer-brand .wl-logo { margin-bottom: 20px; }
.site-footer .wl-logo__box { width: 28px; height: 44px; }
.site-footer .wl-logo__text { font-size: 20px; }
.footer-logo-img { display: block; max-height: 48px; width: auto; }
.footer-about { margin: 0; max-width: 380px; font: 400 15.5px/1.75 var(--wl-sans); color: rgba(255, 255, 255, .74); }
.footer-col__title { margin: 6px 0 22px; color: #fff; font-family: var(--wl-sans); font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.footer-menu li { margin: 0 0 13px; }
.footer-menu a {
	color: rgba(255, 255, 255, .84); font-size: 16px; font-weight: 500; text-decoration: none;
	background: linear-gradient(var(--wl-accent), var(--wl-accent)) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: color .2s ease, background-size .25s ease;
}
.footer-menu a:hover, .footer-menu a:focus-visible { color: #fff; background-size: 100% 2px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
	color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social a:hover, .footer-social a:focus-visible { background: var(--wl-accent); border-color: var(--wl-accent); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-hint { margin: 0; padding: 12px 14px; font: 500 13.5px/1.55 var(--wl-sans); color: #cfe3f1; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 8px; }
.site-footer__bottom {
	max-width: 1240px; margin: 0 auto; padding: 22px 32px; border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.copyright { margin: 0; color: #9fb3c8; font-size: 14px; }
.copyright a { color: #fff; }
.to-top { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.to-top:hover { opacity: 1; color: var(--wl-accent); }

@media (max-width: 960px) {
	.site-footer__main { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 52px 20px 36px; }
	.footer-brand, .footer-col--follow { grid-column: 1 / -1; }
	.footer-about { max-width: 520px; }
	.site-footer__bottom { padding: 20px; }
}
@media (max-width: 480px) {
	.site-footer .wl-logo__text { font-size: 18px; }
	.footer-menu a { font-size: 15.5px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Speed: skip rendering work for things far below the fold */
.newsletter, .site-footer, .more-stories, .comments-area { content-visibility: auto; contain-intrinsic-size: auto 480px; }

/* v1.4 – editorial home sections */
.to-top { cursor: pointer; }
.picks { background: var(--wl-navy); color: #fff; padding: 44px 40px 48px; margin: 0 0 64px; }
.picks__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .18); padding-bottom: 18px; }
.picks__title { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0; }
.picks__sub { font-family: var(--wl-sans); font-size: 14px; color: #a9c2d8; margin: 0; }
.picks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.pick__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #123a5e; }
.pick__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pick:hover .pick__media img { transform: scale(1.04); }
.pick__num { position: absolute; left: 0; bottom: 0; background: var(--wl-accent); color: #fff; font: 800 15px var(--wl-sans); letter-spacing: .08em; padding: 7px 12px; }
.pick__body { padding-top: 14px; }
.pick .wl-kicker { color: #7fd0f2; }
.pick__title { font-size: 19px; line-height: 1.25; margin: 4px 0 8px; }
.pick__title a { color: #fff; text-decoration: none; }
.pick__title a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; }
.pick__meta { font: 600 12px var(--wl-sans); letter-spacing: .1em; text-transform: uppercase; color: #a9c2d8; margin: 0; }

.spotlight { margin: 0 0 64px; }
.section-head--link { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-more { font: 700 13px var(--wl-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wl-ink); text-decoration: none; border-bottom: 3px solid var(--wl-accent); padding-bottom: 2px; white-space: nowrap; }
.section-more:hover { color: var(--wl-accent); }
.spotlight__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.spot-lead__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wl-soft); margin-bottom: 18px; }
.spot-lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.spot-lead:hover .spot-lead__media img { transform: scale(1.03); }
.spot-lead__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin: 6px 0 10px; }
.spot-lead__title a, .spot-item__title a { color: var(--wl-ink); text-decoration: none; }
.spot-lead__title a:hover, .spot-item__title a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; }
.spot-lead__excerpt { font-size: 18px; line-height: 1.6; color: var(--wl-muted); margin: 0; }
.spot-list { display: grid; gap: 0; }
.spot-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--wl-line); }
.spot-item:first-child { padding-top: 0; }
.spot-item:last-child { border-bottom: 0; }
.spot-item__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wl-soft); }
.spot-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-item__title { font-size: 19px; line-height: 1.25; margin: 4px 0 0; }

@media (max-width: 960px) {
	.picks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spotlight__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
	.picks { padding: 30px 20px 34px; margin-left: -20px; margin-right: -20px; margin-bottom: 44px; }
	.picks__grid { gap: 22px 14px; }
	.pick__title { font-size: 16px; }
	.spotlight { margin-bottom: 44px; }
	.spot-item { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
	.spot-item__title { font-size: 17px; }
	.spot-lead__excerpt { font-size: 16px; }
}
@media (max-width: 380px) { .picks__grid { grid-template-columns: minmax(0, 1fr); } }
.picks, .spotlight { content-visibility: auto; contain-intrinsic-size: auto 520px; }

/* v1.5 – author box */
.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; align-items: start; margin: 40px 0 0; padding: 32px; background: var(--wl-soft); border-top: 4px solid var(--wl-accent); }
.author-box__photo img, .author-box__initial { width: 96px; height: 96px; border-radius: 50%; display: block; object-fit: cover; }
.author-box__initial { background: var(--wl-navy); color: #fff; font: 800 38px/96px var(--wl-sans); text-align: center; }
.author-box__eyebrow { font: 700 11px var(--wl-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--wl-muted); margin: 0 0 4px; }
.author-box__name { font-size: 24px; margin: 0 0 2px; }
.author-box__name a { color: var(--wl-ink); text-decoration: none; }
.author-box__name a:hover { text-decoration: underline; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; }
.author-box__role { font: 600 14px var(--wl-sans); color: var(--wl-accent); margin: 0 0 12px; }
.author-box__bio { font-size: 17px; line-height: 1.6; margin: 0 0 14px; color: var(--wl-text); }
.author-box__tags, .author-box__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.author-box__tags { margin-bottom: 14px; }
.author-box__tags li { font: 600 11px var(--wl-sans); letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--wl-ink); padding: 5px 10px; background: #fff; }
.author-box__social a { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--wl-line); background: #fff; color: var(--wl-ink); }
.author-box__social a:hover { background: var(--wl-accent); border-color: var(--wl-accent); color: #fff; }
.author-box__social svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
	.author-box { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 20px; }
	.author-box__photo img, .author-box__initial { width: 72px; height: 72px; line-height: 72px; font-size: 30px; }
}

/* v1.6 – editable home */
.home-intro { max-width: 760px; margin: 0 auto 56px; }
.home-intro > *:first-child { margin-top: 0; }

/* Few categories: tiles stretch to fill the row (phones/tablets keep a swipeable row). */
@media (max-width: 960px) { .tile-grid.tile-grid--fit > .tile { flex: 1 0 calc((100% - 32px) / 3); } }
@media (max-width: 600px) { .tile-grid.tile-grid--fit > .tile { flex: 1 0 42%; } }

/* v1.6 – breadcrumb on posts */
.breadcrumb--post { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; font-size: 12px; margin: 0 0 22px; opacity: 1; color: var(--wl-muted); }
.breadcrumb--post a { color: var(--wl-muted); }
.breadcrumb--post a:hover { color: var(--wl-accent); }
.breadcrumb--post .breadcrumb__current { color: var(--wl-ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .breadcrumb--post { font-size: 11px; margin-bottom: 16px; } .breadcrumb--post .breadcrumb__current { max-width: 24ch; } .breadcrumb--post span[aria-hidden] { margin: 0 7px; } }

/* v1.6 – mobile submenu: arrow is its own button (opens AND closes) */
.submenu-toggle { display: none; }
@media (max-width: 960px) {
	.primary-menu > li { border-bottom: 1px solid var(--wl-line); }
	.primary-menu > li.is-open { border-bottom-color: var(--wl-accent); }
	.primary-menu > li > a { border-bottom: 0; }
	.primary-menu .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: stretch; }
	.primary-menu .menu-item-has-children > a { display: block; flex: 1 1 0; min-width: 0; }
	.primary-menu .menu-item-has-children > a::after { display: none; }
	.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: none; }
	.primary-menu li.is-open > .sub-menu { display: block; }
	.primary-menu .sub-menu { flex: 1 1 100%; padding-bottom: 8px; }
	.primary-menu .sub-menu a { border-bottom: 0; }
	.submenu-toggle { display: flex; align-items: center; justify-content: center; width: 56px; margin: 0; padding: 0; border: 0; background: none; color: var(--wl-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
	.submenu-toggle::before { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
	.submenu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
}

/* v1.6 – mobile header: menu left, logo centred, search right */
@media (max-width: 960px) {
	.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; padding-left: 8px; padding-right: 8px; }
	.header-actions { display: contents; }
	.menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
	.site-branding { grid-column: 2; grid-row: 1; flex: none; justify-self: center; text-align: center; max-width: 62vw; }
	.site-branding .custom-logo-link { display: block; }
	.site-branding .custom-logo { max-height: 40px; max-width: 100%; margin: 0 auto; }
	.wl-logo { justify-content: center; }
	.header-actions .icon-btn { grid-column: 3; grid-row: 1; justify-self: end; }
	.header-login, .header-subscribe { display: none; }
	.primary-nav { grid-column: 1 / -1; }
}

/* v1.6 – simple header search: one clean row, no tinted band, no double focus ring */
.search-panel { background: #fff; border-top: 1px solid var(--wl-line); box-shadow: 0 10px 24px rgba(10, 37, 64, .08); }
.search-panel__inner { padding: 14px var(--wl-hpad); }
.search-panel .search-form { display: flex; flex-direction: row; gap: 0; align-items: stretch; }
.search-panel .search-field { flex: 1 1 auto; height: 48px; padding: 0 16px; font-size: 16px; border: 1px solid #c9d6e2; border-right: 0; background: #fff; box-shadow: none; }
.search-panel .search-field:focus { outline: none; box-shadow: none; border-color: var(--wl-accent); }
.search-panel .search-submit { flex: none; height: 48px; padding: 0 22px; font-size: 13px; letter-spacing: .14em; }
@media (max-width: 480px) { .search-panel .search-submit { padding: 0 16px; } }
