/*
Theme Name: Celebrate Naija
Theme URI: https://celebratenaija.com
Author: Celebrate Naija
Description: A fast, mobile-first news-portal theme for celebratenaija.com: lead story with headline rows, ranked Trending rail, Menu and Search overlays, Load more feed, a module for every section, light and dark mode, SEO and AEO markup, a built-in human-approved AI news desk (Naija Desk), and a reporter sign-up and posting hub. Keeps all existing posts, categories and URLs.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.5
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: celebrate-naija
Tags: news, blog, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, dark-mode
*/

:root {
	--bg: #ffffff; --bg2: #f3f5f4; --ink: #16201b; --muted: #5d6a63; --line: #dde2df;
	--green: #008751; --green-d: #0b3d2a; --accent: #007a49; --gold: #c99a16; --gold-ink: #1a1400;
	--util: #0e1411; --nav: #008751; --nav-ink: #ffffff; --shadow: 0 10px 30px rgba(0,0,0,.18);
	--serif: Georgia, "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
}
:root[data-theme="dark"] {
	--bg: #0e1411; --bg2: #161f1a; --ink: #e9efeb; --muted: #9fada5; --line: #26332c;
	--green: #2fc185; --green-d: #0a1f16; --accent: #3ccf94; --gold: #e0b43a; --gold-ink: #1a1400;
	--util: #070b09; --nav: #0f3a28; --nav-ink: #ffffff; --shadow: 0 10px 30px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
html.no-scroll { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
a.trend-img, a.row-img, a.card-img, a.lead-img, a.mod-img, a.spot-img, a.trend-img:hover, a.row-img:hover, a.lead-img:hover { text-decoration: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.22; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 10px 16px; z-index: 300; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 24px 16px 40px; }
.meta { font-size: 13px; color: var(--muted); margin: 0; }
.hide-sm { display: none; }

/* Buttons */
.btn, .search-form button, .widget button, .comment-form .submit { display: inline-block; background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 6px; padding: 11px 18px; font: 700 15px var(--sans); cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(.93); text-decoration: none; color: var(--gold-ink); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--ink); background: var(--bg2); }
.btn[disabled] { opacity: .6; cursor: wait; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: inherit; font: 600 14px var(--sans); cursor: pointer; padding: 8px; border-radius: 6px; }
.icon-btn:hover { background: var(--bg2); }

/* Utility bar */
.util { background: var(--util); color: #cfe0d6; font-size: 13px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.util a { color: #fff; text-decoration: none; margin-right: 16px; }
.util a:hover { text-decoration: underline; }
.util-right { display: flex; align-items: center; gap: 14px; }
.util-right a { margin: 0; }
.today { display: none; }
.theme-toggle { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 20px; width: 34px; height: 24px; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.theme-toggle .t-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .t-dark { display: inline; }
:root[data-theme="dark"] .theme-toggle .t-light { display: none; }

/* Masthead */
.masthead { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; }
.brand { text-align: center; flex: 1; }
.brand-name { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.brand-name a { color: var(--green); text-decoration: none; }
.brand-tag { margin: 0; font-size: 12px; color: var(--muted); font-style: italic; }
.custom-logo { max-height: 44px; width: auto; }
.mast-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn .lbl, .mast-actions .icon-btn .lbl { display: none; }

/* Section nav */
.mainnav { display: none; background: var(--nav); color: var(--nav-ink); position: sticky; top: 0; z-index: 55; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.nav-in { display: flex; align-items: center; justify-content: space-between; }
.mainnav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; overflow: hidden; }
.mainnav .menu a { display: block; padding: 14px 13px; color: var(--nav-ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.mainnav .menu a:hover, .mainnav .current-menu-item > a, .mainnav .current-cat > a { background: rgba(0,0,0,.18); }
.mainnav .menu > li { position: relative; }
.mainnav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 210px; background: var(--green-d); list-style: none; margin: 0; padding: 0; z-index: 70; }
.mainnav li:hover > .sub-menu, .mainnav li:focus-within > .sub-menu { display: block; }
.nav-more { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.2); border: 0; color: var(--nav-ink); font: 700 14px var(--sans); padding: 9px 14px; border-radius: 6px; cursor: pointer; white-space: nowrap; margin-left: 10px; }
.nav-more:hover { background: rgba(0,0,0,.34); }

/* Overlays */
.overlay { position: fixed; inset: 0; z-index: 200; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.overlay[hidden] { display: none; }
.ov-in { padding-bottom: 48px; }
.ov-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); min-height: 60px; margin-bottom: 20px; }
.ov-title { font: 800 22px var(--serif); margin: 0; }
.ov-h { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 26px 0 10px; }
.ov-cols { display: grid; gap: 10px; grid-template-columns: 1fr; }
.ov-list, .overlay .menu { list-style: none; padding: 0; margin: 0; }
.ov-list li a, .overlay .menu li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; }
.ov-list li a:hover, .overlay .menu li a:hover { color: var(--accent); }
.ov-list.two { columns: 1; }
#search-panel .search-form { margin-top: 0; }
#search-panel input[type=search] { font-size: 20px; padding: 14px 16px; }
.social a { color: inherit; margin-right: 16px; font-weight: 600; text-decoration: none; }
.overlay .social a { color: var(--accent); }

/* Search form */
.search-form { display: flex; gap: 6px; }
.search-form input[type=search] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--bg); color: var(--ink); }

/* Breadcrumbs */
.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Section titles */
.sec-title { font-size: 24px; border-bottom: 3px solid var(--green); padding-bottom: 8px; margin: 34px 0 6px; display: block; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); text-decoration: none; }
.ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 60px; background: linear-gradient(135deg, var(--green), var(--green-d)); color: rgba(255,255,255,.85); font: 700 44px var(--serif); }

/* Layout */
.home-wrap { padding-top: 18px; padding-bottom: 24px; }
.home-grid, .with-side { display: block; }
.side { margin-top: 30px; }

/* Lead story */
.lead-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--bg2); }
.lead-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-body { padding-top: 12px; }
.lead-title { font-size: 28px; margin: 4px 0 8px; }
.lead-title a { color: var(--ink); text-decoration: none; }
.lead-title a:hover { color: var(--accent); }
.lead-ex { font-size: 18px; color: var(--muted); margin-bottom: 8px; }

/* Rows */
.rows { margin: 0; }
.row { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.row-body { flex: 1; min-width: 0; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.row-meta span + span::before, .row-meta .kicker + span::before { content: "\00b7"; margin-right: 10px; }
.row-title { font-size: 19px; margin: 0 0 4px; }
.row-title a { color: var(--ink); text-decoration: none; }
.row-title a:hover { color: var(--accent); }
.row-ex { color: var(--muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-img { flex: 0 0 104px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--bg2); display: block; }
.row-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-img .ph { font-size: 28px; }

/* Cards (related, 404) */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--bg2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding-top: 10px; }
.card-title { font-size: 18px; margin: 0 0 6px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); }

/* Sidebar boxes and trending */
.box { background: var(--bg2); border-radius: 10px; padding: 16px; margin-bottom: 22px; }
.box-title { font-size: 18px; border-bottom: 3px solid var(--green); padding-bottom: 6px; margin-bottom: 10px; display: inline-block; }
.box-cta { background: var(--green-d); color: #e5f1ea; }
.box-cta .box-title { color: #fff; border-color: var(--gold); }
.trend { list-style: none; margin: 0; padding: 0; }
.trend li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trend li:last-child { border-bottom: 0; }
.rank { flex: 0 0 24px; font: 800 24px var(--serif); color: var(--gold); text-align: center; }
.trend-img { flex: 0 0 64px; height: 64px; border-radius: 6px; overflow: hidden; background: var(--bg); display: block; }
.trend-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trend-img .ph { font-size: 22px; }
.trend-title { display: block; font: 700 15px/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.trend-title:hover { color: var(--accent); }
.trend .meta { display: block; margin-top: 2px; }
.widget { margin-bottom: 26px; }
.widget-title { font-size: 18px; border-bottom: 3px solid var(--green); padding-bottom: 6px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget a { text-decoration: none; }
.widget .wp-block-search__label { display: none; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget input[type=search], .widget .wp-block-search__input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--bg); color: var(--ink); }
.chips, .menu.cols { list-style: none; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 5px 13px; font-size: 14px; text-decoration: none; color: var(--ink); }
.chips a:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* Celebrating Nigeria spotlight */
.spot { background: var(--green-d); color: #e5f1ea; border-radius: 12px; padding: 20px 16px; margin: 34px 0 6px; }
.spot-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.2); margin-bottom: 16px; }
.spot-head h2 { color: #fff; font-size: 24px; margin: 0 0 8px; }
.spot-head a { color: var(--gold); font-weight: 700; font-size: 14px; }
.spot-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.spot-img { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.spot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-main h3 { font-size: 26px; margin: 12px 0 6px; }
.spot-main h3 a { color: #fff; text-decoration: none; }
.spot-main p { color: #c6dbd0; }
.spot-list { list-style: none; margin: 0; padding: 0; }
.spot-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.spot-list li:last-child { border: 0; }
.spot-list a { color: #fff; font: 700 18px/1.3 var(--serif); text-decoration: none; display: block; }
.spot-list a:hover { color: var(--gold); }
.spot .meta { color: #9fc0ae; }

/* Section modules */
.mods { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 18px; }
.mod-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--line); margin-bottom: 12px; }
.mod-head h2 { font-size: 20px; margin: 0; padding-bottom: 6px; border-bottom: 4px solid var(--green); margin-bottom: -2px; }
.mod-head a { font-size: 13px; font-weight: 700; text-decoration: none; }
.mod-img { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--bg2); margin-bottom: 8px; }
.mod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li { padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line); position: relative; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.bullets li:last-child { border: 0; }
.bullets a { display: block; font: 700 16px/1.35 var(--serif); color: var(--ink); text-decoration: none; }
.bullets a:hover { color: var(--accent); }
.load-wrap { margin: 22px 0 0; }

/* Archive */
.archive-title { font-size: 30px; border-left: 6px solid var(--green); padding-left: 12px; margin: 10px 0 14px; }
.archive-desc { color: var(--muted); }
.navigation.pagination { margin: 30px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }

/* Article */
.entry-head { margin-bottom: 16px; }
.entry-title { font-size: 32px; line-height: 1.15; margin: 4px 0 12px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.entry-img { margin: 0 0 22px; }
.entry-img img { width: 100%; border-radius: 8px; display: block; }
.entry-img figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }
.entry-content { font-size: 19px; line-height: 1.75; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); font-family: var(--serif); font-size: 1.1em; }
.entry-content .cn-key-facts { background: var(--bg2); border-left: 5px solid var(--green); padding: 14px 18px; font-size: 1.02em; border-radius: 0 8px 8px 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.tags a { display: inline-block; background: var(--bg2); border-radius: 20px; padding: 3px 12px; margin: 0 6px 6px 0; font-size: 13px; text-decoration: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.share span { font-weight: 700; font-size: 14px; }
.share a { border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-size: 14px; text-decoration: none; color: var(--ink); }
.share a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.author-box { display: flex; gap: 14px; align-items: flex-start; background: var(--bg2); border-radius: 10px; padding: 16px; margin: 20px 0; }
.author-box img { border-radius: 50%; }
.author-box p { margin: 0 0 4px; font-size: 15px; }
.author-name { font-weight: 700; font-size: 17px !important; }
.post-navigation .nav-links { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 24px 0; }
.post-navigation a { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-navigation .meta { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.related { margin-top: 36px; }
.block-title { font-size: 22px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 4px solid var(--green); display: inline-block; }

/* Comments */
.comments { margin-top: 36px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { border-bottom: 1px solid var(--line); padding: 14px 0; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--bg); color: var(--ink); }

/* Reporter forms and hub */
.cn-form { max-width: 760px; }
.cn-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.cn-form input[type=text], .cn-form input[type=email], .cn-form input[type=password], .cn-form input[type=url], .cn-form select, .cn-form textarea, .cn-form input[type=file] { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--bg); color: var(--ink); }
.cn-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0 0 1.1em; }
.cn-form legend { font-weight: 700; padding: 0 6px; }
.cn-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.cn-checks label, .cn-check label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.cn-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.cn-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cn-field { margin-bottom: 1.1em; }
.cn-alert { border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; }
.cn-alert ul { margin: 0; padding-left: 1.2em; }
.cn-alert-ok { background: #e4f4ec; color: #0b3d2a; border: 1px solid #b6dfc8; }
.cn-alert-error { background: #fdeaea; color: #7a1c1c; border: 1px solid #f0bcbc; }
:root[data-theme="dark"] .cn-alert-ok { background: #123324; color: #cdeedd; border-color: #1f5a3d; }
:root[data-theme="dark"] .cn-alert-error { background: #3a1616; color: #f6cccc; border-color: #6b2a2a; }
.cn-hub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.cn-hub-head h2 { margin: 0; }
.cn-hub-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-table { width: 100%; border-collapse: collapse; }
.cn-table th, .cn-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cn-table .meta { display: block; }
.cn-note { background: var(--bg2); border-left: 4px solid var(--gold); padding: 8px 12px; margin-top: 8px; font-size: 14px; }
.cn-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--bg2); }
.cn-status-publish { background: #d8f0e3; color: #0b3d2a; }
.cn-status-pending { background: #fdf1cf; color: #5c4400; }
.cn-status-draft { background: #e8ecea; color: #33403a; }
.linklike { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.cn-hub-login .login-username input, .cn-hub-login .login-password input { width: 100%; max-width: 420px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--bg); color: var(--ink); }
.cn-hub-login input[type=submit] { background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 6px; padding: 11px 20px; font: 700 15px var(--sans); cursor: pointer; }

/* Footer */
.site-footer { background: var(--green-d); color: #cfe3d9; margin-top: 30px; padding-top: 26px; }
.site-footer a { color: #fff; }
.foot-social { border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 16px; font-size: 15px; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: 1fr; padding-top: 10px; }
.foot-brand { font: 800 24px var(--serif); color: #fff; margin-bottom: 6px; }
.foot-h { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-family: var(--sans); }
.site-footer .menu { list-style: none; padding: 0; margin: 0; }
.site-footer .menu li { padding: 5px 0; }
.site-footer .menu a { text-decoration: none; }
.site-footer .menu a:hover { text-decoration: underline; }
.site-footer .menu.cols { columns: 2; column-gap: 20px; }
.copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 26px; padding: 14px 0 22px; font-size: 13px; }
.copy p { margin: 0; }

/* Block editor and page-builder content stay usable */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--muted); }

@media (max-width: 699px) { .row .row-meta span:nth-child(3) { display: none; } }

/* Tablet */
@media (min-width: 700px) {
	.today { display: inline; }
	.hide-sm { display: inline-block; }
	.grid.g2 { grid-template-columns: repeat(2, 1fr); }
	.grid.g3 { grid-template-columns: repeat(3, 1fr); }
	.ov-cols { grid-template-columns: 1.4fr 1fr; gap: 40px; }
	.ov-list.two { columns: 2; column-gap: 28px; }
	.lead-title { font-size: 36px; }
	.row-img { flex-basis: 150px; }
	.row-title { font-size: 21px; }
	.spot { padding: 24px; }
	.spot-grid { grid-template-columns: 1.4fr 1fr; gap: 28px; }
	.mods { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1.4fr 1.4fr 1fr; }
	.post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
	.entry-title { font-size: 42px; }
}

/* Desktop: the menu bar replaces the hamburger; sidebar goes beside the content */
@media (min-width: 980px) {
	.masthead { position: static; }
	.mast-in { min-height: 84px; }
	.menu-btn { display: none; }
	.brand { text-align: left; flex: 0 1 auto; }
	.brand-name { font-size: 38px; }
	.custom-logo { max-height: 60px; }
	.mast-actions .icon-btn .lbl { display: inline; }
	.mainnav { display: block; }
	.home-grid, .with-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
	.side { margin-top: 0; }
	.home-grid .side, .with-side .side { position: sticky; top: 64px; }
	.lead-title { font-size: 40px; }
	.mods { grid-template-columns: repeat(3, 1fr); }
	.with-side { padding-bottom: 40px; }
	.row-img { flex-basis: 170px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
	.util, .masthead, .mainnav, .overlay, .site-footer, .side, .share, .related, .comments, .post-navigation { display: none !important; }
	body { font-size: 12pt; }
}
