/*
Theme Name: APG Magazine
Theme URI: https://github.com/nellist/apg-desk
Author: Ascend Publishing Group
Description: One fast magazine theme for every Ascend Publishing Group publication. Seventeen built-in styles, picked automatically from the site address. Changes presentation only: posts, pages, categories, tags, menus and media are never modified.
Version: 1.1.1
Requires at least: 5.9
Tested up to: 6.8
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: apg-magazine
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready
*/

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: clamp(16px, 2.4vw, 32px); padding-right: clamp(16px, 2.4vw, 32px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip-path: none; background: var(--fg); color: var(--bg); padding: 12px 16px; }
.t-label { line-height: 1.5; }

/* Header: one masthead block, no bars */
.mast { background: var(--mast-bg); color: var(--mast-fg); box-shadow: inset 0 -1px 0 rgba(128, 128, 128, 0.3); }
.mast__util { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.mast__date { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.mast__dim { opacity: 0.65; }
.mast__tools { display: none; align-items: center; gap: 22px; }
.mast__links, .mast__links ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.mast__search { display: flex; align-items: center; }
.mast__search input { width: 96px; height: 30px; border: 0; padding: 0; background: transparent; color: inherit; text-align: right; transition: width 0.2s; }
.mast__search input:focus { width: 180px; outline: 0; box-shadow: 0 1px 0 currentColor; }
.mast__search input::placeholder { color: inherit; opacity: 1; }
.mast__search button { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.mast__cta { border: 1px solid currentColor; border-radius: 999px; padding: 6px 14px; }
.mast__cta:hover { text-decoration: none; background: var(--mast-fg); color: var(--mast-bg); }
.mast__brand { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.4vw, 20px); text-align: center; padding-top: clamp(22px, 3.4vw, 52px); padding-bottom: clamp(22px, 3vw, 44px); }
.mast__kicker { margin: 0; display: flex; align-items: center; gap: 16px; }
.mast__kicker::before, .mast__kicker::after { content: ""; width: clamp(28px, 6vw, 96px); height: 1px; background: currentColor; opacity: 0.4; }
.site-logo { margin: 0; font-size: inherit; font-weight: inherit; line-height: 1; }
.site-logo a, .site-footer__mast a { display: block; text-decoration: none; }
.site-logo__img { display: block; max-height: 130px; width: auto; }
.navbar { position: relative; display: flex; align-items: center; gap: 8px; border-top: 1px solid currentColor; }
.sections { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.sections::-webkit-scrollbar { display: none; }
.sections .menu { display: flex; justify-content: safe center; gap: 0 clamp(20px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.sections .menu > li > a { display: block; padding: 17px 0 16px; background: linear-gradient(currentColor, currentColor) no-repeat 50% calc(100% - 10px) / 0 1px; transition: background-size 0.25s; }
.sections a:hover { text-decoration: none; }
.sections .menu > li > a:hover, .sections .menu > .current-menu-item > a, .sections .menu > .current-menu-ancestor > a, .sections .menu > .current-post-ancestor > a, .sections .menu > .current-category-ancestor > a { background-size: 100% 1px; }
.sections .sub-menu { display: none; }
.sections .menu-item-has-children > a::after { content: "\25BE"; font-size: 0.8em; margin-left: 5px; opacity: 0.7; }
.btn { display: inline-block; font-weight: 600; background: var(--accent); color: var(--on-accent); padding: 12px 16px; border-radius: var(--radius); border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(0.94); }
.search-toggle summary { list-style: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
.search-toggle summary::-webkit-details-marker { display: none; }
.search-toggle__panel { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--fg); padding: 16px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; min-width: 0; }
.search-form input[type="search"] { width: 100%; height: 48px; border: 1px solid var(--fg); border-radius: var(--radius); background: transparent; color: inherit; padding: 0 14px; font: inherit; font-size: 16px; }
.search-form button { height: 48px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 600; cursor: pointer; }
@media (max-width: 899px) { .mast__util { justify-content: center; } .sections { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); } }
@media (min-width: 900px) {
	.mast__brand .site-logo > a > span { zoom: 1.2; }
	.mast__tools { display: flex; }
	.sections { overflow: visible; }
	.sections .menu { flex-wrap: wrap; justify-content: center; }
	.search-toggle { display: none; }
	.sections .menu > li { position: relative; }
	.sections .menu > li:hover > .sub-menu, .sections .menu > li:focus-within > .sub-menu { display: block; }
	.sections .sub-menu { position: absolute; z-index: 20; left: -16px; top: 100%; min-width: 200px; list-style: none; margin: 0; padding: 8px 0; background: var(--bg); color: var(--fg); border: 1px solid var(--fg); border-radius: var(--radius); }
	.sections .sub-menu a { display: block; padding: 9px 16px; }
	.sections .sub-menu a:hover { background: var(--band); }
}

/* Ads: only printed when the area has a widget */
.ad { display: flex; justify-content: center; text-align: center; overflow: hidden; }
.ad--ad-header { padding-top: 24px; }
.ad .widget { max-width: 100%; }

/* Pictures */
.thumb { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--band); }
.thumb--empty { display: flex; align-items: center; justify-content: center; color: var(--line); font-size: 64px; line-height: 1; overflow: hidden; }

/* Labels */
.meta { color: var(--mute); }
.cat { color: var(--accent-text); font-weight: 600; }
.badge { align-self: flex-start; display: inline-block; font-weight: 600; background: var(--accent); color: var(--on-accent); padding: 5px 9px; border-radius: var(--radius); }

/* Featured grid */
.featured { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.featured__lead { flex: 5 1 440px; min-width: 0; min-height: clamp(340px, 38vw, 540px); display: flex; }
.featured__grid { flex: 4 1 340px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; flex: 1; min-height: 190px; height: 100%; border-radius: var(--radius); background: #000; color: #fff; display: flex; }
.tile--big { min-height: 340px; }
.tile .thumb { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.tile .thumb--empty { background: var(--dark); color: rgba(255, 255, 255, 0.16); font-size: 120px; }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.86)); }
.tile__body { position: relative; align-self: flex-end; width: 100%; padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.tile--big .tile__body { padding: clamp(18px, 2.6vw, 34px); gap: 14px; }
.tile__title { font-size: calc(21px * var(--k)); line-height: 1.04; }
.tile--big .tile__title { font-size: clamp(calc(28px * var(--k)), calc(3.3vw * var(--k)), calc(46px * var(--k))); }
.tile__title a::after { content: ""; position: absolute; inset: 0; }
.tile__text { max-width: 560px; font-size: 16.5px; line-height: 1.45; color: #e6e6e6; }
.tile .meta { color: #ddd; position: relative; z-index: 1; }
.tile .badge { position: relative; z-index: 1; }
.lead-tile { display: flex; min-height: clamp(300px, 30vw, 420px); margin-bottom: 26px; }

/* Columns */
.cols { padding-top: clamp(36px, 4.4vw, 60px); display: flex; flex-wrap: wrap; gap: 48px clamp(28px, 3.6vw, 56px); }
.cols__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: clamp(40px, 4.6vw, 64px); }
.sidebar { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.page-wrap { max-width: 900px; padding-top: clamp(36px, 4.4vw, 60px); }

/* Blocks */
.block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; border-bottom: 1px solid var(--fg); padding-bottom: 12px; margin-bottom: 24px; }
.block-head__title { font-size: clamp(calc(34px * var(--tk)), calc(3.6vw * var(--tk)), calc(50px * var(--tk))); line-height: 0.95; }
.block-head__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--mute); }
.block-head__nav .is-strong { color: var(--fg); }
.block__split { display: flex; flex-wrap: wrap; gap: 28px 36px; }
.block__split > .card { flex: 3 1 320px; min-width: 0; }
.block__list { flex: 2 1 280px; min-width: 0; }
.block__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 32px 28px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card__media { display: block; margin-bottom: 4px; }
.card .thumb { aspect-ratio: 3 / 2; }
.card__title { font-size: calc(23px * var(--k)); line-height: 1.1; }
.card--lead .card__title { font-size: clamp(calc(27px * var(--k)), calc(2.6vw * var(--k)), calc(36px * var(--k))); line-height: 1.05; }
.card__text { color: var(--mute); }
.row-s { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.row-s:first-child { padding-top: 0; border-top: 0; }
.row-s__media { flex: none; width: 96px; }
.row-s .thumb { aspect-ratio: 4 / 3; }
.row-s .thumb--empty { font-size: 32px; }
.row-s__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row-s__title { font-size: calc(17.5px * var(--k)); line-height: 1.15; }
.row-l { display: flex; flex-wrap: wrap; gap: 16px 26px; padding: 26px 0; border-top: 1px solid var(--line); }
.row-l:first-child { padding-top: 0; border-top: 0; }
.row-l__media { flex: 2 1 220px; min-width: 0; }
.row-l .thumb { aspect-ratio: 3 / 2; }
.row-l__body { flex: 3 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.row-l__title { font-size: clamp(calc(24px * var(--k)), calc(2.2vw * var(--k)), calc(30px * var(--k))); line-height: 1.08; }
.row-l__text { color: var(--mute); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--fg); }
.pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.pagination .page-numbers.current { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pagination .page-numbers.dots { border: 0; color: var(--mute); }
.pagination .next { margin-left: auto; padding: 0 18px; background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }
.pagination .prev { padding: 0 18px; }
.pagination a:hover { text-decoration: none; border-color: var(--fg); }

/* Widgets */
.widget { display: flex; flex-direction: column; gap: 16px; }
.widget__title { font-size: calc(27px * var(--tk)); line-height: 1; border-bottom: 1px solid var(--fg); padding-bottom: 10px; }
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 10px 0; border-top: 1px solid var(--line); }
.widget ul li:first-child { border-top: 0; padding-top: 0; }
.ranked { list-style: none; padding: 0; }
.ranked li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); }
.ranked li:first-child { padding-top: 0; border-top: 0; }
.ranked__n { flex: none; width: 30px; font-size: calc(32px * var(--tk)); line-height: 0.9; color: var(--accent-text); }
.ranked a { font-size: calc(17.5px * var(--k)); line-height: 1.18; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--row { align-items: center; gap: 10px; }
.chips__label { color: var(--mute); margin-right: 8px; }
.chip { border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; }
.chip--pill { border-radius: 999px; padding: 10px 16px; }
.chip:hover { text-decoration: none; border-color: var(--fg); }
.newsletter { background: var(--dark); color: var(--dark-fg); padding: 26px; border-radius: var(--radius); gap: 12px; }
.newsletter__kicker { color: var(--accent-on-dark); }
.newsletter__title { font-size: calc(34px * var(--tk)); line-height: 0.98; }
.newsletter__text { font-size: 15px; color: var(--dark-mute); }
.newsletter__form { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.newsletter__form input { width: 100%; height: 48px; border: 1px solid var(--dark-line); border-radius: var(--radius); background: transparent; color: inherit; padding: 0 14px; font: inherit; font-size: 15px; }
.newsletter__form button { height: 48px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 600; cursor: pointer; }

/* Section header band */
.band { background: var(--band); border-bottom: 1px solid var(--line); }
.band__in { padding-top: clamp(28px, 3.6vw, 48px); padding-bottom: clamp(28px, 3.6vw, 48px); }
.band__title { margin: 16px 0 12px; font-size: clamp(calc(48px * var(--tk)), calc(8vw * var(--tk)), calc(112px * var(--tk))); line-height: 0.92; overflow-wrap: anywhere; }
.band__desc { max-width: 640px; font-size: 18px; color: var(--mute); margin-bottom: 20px; }
.band__search { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--mute); }
.crumbs [aria-current] { color: var(--fg); }

/* Article */
.entry__title { margin: 18px 0 16px; font-size: clamp(calc(34px * var(--k)), calc(4.6vw * var(--k)), calc(64px * var(--k))); line-height: 1; overflow-wrap: anywhere; }
.entry__dek { margin-bottom: 22px; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; color: var(--mute); }
.byline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding: 14px 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line); }
.byline__who { display: flex; align-items: center; gap: 12px; }
.byline__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline__name { font-weight: 600; border-bottom: 1px solid var(--fg); }
.byline__dates { color: var(--mute); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.share a:hover { text-decoration: none; border-color: var(--fg); }
.entry__figure { margin-top: 26px; }
.entry__image { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.entry__figure figcaption { color: var(--mute); margin-top: 10px; }
.toc { background: var(--band); padding: 20px 22px; border-radius: var(--radius); margin-top: 32px; }
.toc__h { color: var(--mute); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.35; }
.toc li { display: flex; gap: 12px; }
.toc__n { color: var(--accent-text); padding-top: 2px; }
.toc a { border-bottom: 1px solid var(--line); }
.entry-content { margin-top: 32px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 24px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.18em; }
.entry-content h2 { margin: 40px 0 16px; font-size: 1.9em; line-height: 1.02; scroll-margin-top: 24px; }
.entry-content h3 { margin: 32px 0 12px; font-size: 1.45em; line-height: 1.08; }
.entry-content h4 { margin: 28px 0 10px; font-size: 1.15em; line-height: 1.15; }
.single-post .entry-content > p:first-of-type::first-letter { float: left; font-size: 4.6em; line-height: 0.78; padding: 0.06em 0.14em 0 0.02em; color: var(--accent-text); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote, .entry-content .wp-block-pullquote { margin: 36px 0; padding: 26px 0; border: 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); text-align: left; }
.entry-content blockquote p, .entry-content .wp-block-pullquote p { font-size: clamp(calc(26px * var(--k)), calc(3.2vw * var(--k)), calc(44px * var(--k))); line-height: 1.08; margin: 0 0 14px; }
.entry-content blockquote p:last-of-type { margin-bottom: 0; }
.entry-content blockquote cite, .entry-content blockquote footer { display: block; margin-top: 14px; font-size: 13px; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.entry-content img, .entry-content video, .entry-content iframe, .entry-content embed, .entry-content object { max-width: 100%; }
.entry-content img { height: auto; border-radius: var(--radius); }
.entry-content figure { max-width: 100%; }
.entry-content figcaption, .entry-content .wp-caption-text { font-size: 13px; line-height: 1.5; color: var(--mute); margin-top: 8px; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50%; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.85em; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { border-bottom-color: var(--fg); }
.entry-content pre { overflow-x: auto; padding: 16px; background: var(--band); border-radius: var(--radius); font-size: 0.8em; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.entry-content .gallery-item { margin: 0; }
.entry-content details { border-top: 1px solid var(--fg); padding: 16px 0; margin-bottom: 0; }
.entry-content details + details { margin-top: -24px; }
.entry-content summary { cursor: pointer; font-weight: 600; }
.page-links { display: flex; gap: 10px; margin-top: 24px; }
.entry__tags { margin-top: 32px; }
.author-box { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: center; margin-top: 44px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box__avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.author-box > div { flex: 1 1 240px; min-width: 0; }
.author-box__k { color: var(--mute); }
.author-box__name { font-size: calc(28px * var(--tk)); line-height: 1.05; margin: 4px 0 6px; }
.author-box p { font-size: 15.5px; color: var(--mute); }
.author-box__more { display: inline-block; margin-top: 10px; border-bottom: 1px solid var(--fg); padding-bottom: 3px; }
.prevnext { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--fg); }
.prevnext > * { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.prevnext .t-label { color: var(--mute); }
.prevnext .t-hd { font-size: calc(20px * var(--k)); line-height: 1.15; }
.prevnext__next { text-align: right; }
.empty { font-size: 18px; color: var(--mute); margin-bottom: 20px; }

/* Footer */
.site-footer { margin-top: clamp(48px, 6vw, 88px); background: var(--dark); color: var(--dark-fg); }
.site-footer__mast { background: var(--mast-bg); color: var(--mast-fg); text-align: center; padding: 30px 16px; }
.site-footer__mast .site-logo__img { max-height: 64px; margin: 0 auto; }
.site-footer__cols { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(36px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 36px 48px; }
.site-footer__about { flex: 2 1 280px; min-width: 0; }
.site-footer__about p { margin-top: 10px; max-width: 360px; font-size: 15px; line-height: 1.55; color: var(--dark-mute); }
.site-footer__col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__h { color: var(--dark-mute); }
.site-footer__base { border-top: 1px solid var(--dark-line); }
.site-footer__base-in { padding-top: 16px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--dark-mute); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .mast__util, .navbar, .sidebar, .site-footer, .share, .ad, .prevnext { display: none; } body { background: #fff; color: #000; } }

/* Widgets the site already had (block and classic) */
.sidebar .widget h2, .sidebar .widget h3, .sidebar .widget .wp-block-heading { font-size: calc(27px * var(--tk)); line-height: 1; border-bottom: 1px solid var(--fg); padding-bottom: 10px; margin-bottom: 16px; }
.sidebar .widget ol { padding-left: 1.2em; }
.sidebar .widget select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: inherit; padding: 0 10px; font: inherit; }
.sidebar .wp-block-search__label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.sidebar .wp-block-search__inside-wrapper, .sidebar .widget_search form:not(.wp-block-search) { display: flex; gap: 8px; }
.sidebar .wp-block-search__input, .sidebar .widget_search input[type="search"], .sidebar .widget_search input[type="text"] { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--fg); border-radius: var(--radius); background: transparent; color: inherit; padding: 0 12px; font: inherit; }
.sidebar .wp-block-search__button, .sidebar .widget_search button, .sidebar .widget_search input[type="submit"] { height: 44px; padding: 0 14px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; cursor: pointer; }
.sidebar .tagcloud, .sidebar .wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar .tagcloud a, .sidebar .wp-block-tag-cloud a { font-size: 13px !important; border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 10px; }

/* Large screens: scale the whole page up so it fills a wide window the way the designs do */
@media (min-width: 1700px) { html { zoom: 1.15; } }
@media (min-width: 1900px) { html { zoom: 1.3; } }
@media (min-width: 2300px) { html { zoom: 1.5; } }
@media (min-width: 2800px) { html { zoom: 1.8; } }
