/*
Theme Name: Steel Saga
Theme URI: https://steelsaga.com/
Author: Steel Saga
Description: A premium digital newspaper theme for Steel Saga – steel industry news, knowledge and insight.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: steelsaga
*/

/* ---------- Brand colours and type (change these to restyle the whole site) ---------- */
:root {
	--navy: #0d1b2e;
	--blue: #2b6cc4;
	--blue-dark: #1f549c;
	--charcoal: #252525;
	--muted: #5b6470;
	--metal: #a7adb5;
	--rule: #d9dde2;
	--grey: #f3f5f7;
	--white: #fff;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--charcoal);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; color: var(--white); }
.icon { display: block; }

.btn {
	display: inline-block; border: 0; background: var(--navy); color: var(--white);
	font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	padding: 13px 22px; border-radius: 2px;
}
.btn:hover { background: var(--blue); color: var(--white); }

/* ---------- A. Top information bar ---------- */
.topbar { background: var(--navy); color: #d5dbe3; font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.topbar__date { margin: 0; margin-right: auto; }
.topbar__links, .topbar__social { display: flex; gap: 18px; }
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--metal); text-decoration: underline; }
.topbar__social { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .25); }

/* ---------- B. Masthead ---------- */
.masthead { background: var(--white); border-bottom: 1px solid var(--rule); }
.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 18px; }
.masthead__edition { margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); line-height: 1.5; }
.masthead__edition span { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.masthead__brand { text-align: center; }
.masthead__title { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(2.2rem, 6.4vw, 4.4rem); line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.masthead__title a:hover { color: var(--navy); }
.masthead__logo { margin: 0; }
.masthead__logo img { margin: 0 auto; max-height: 90px; width: auto; }
.masthead__tagline { margin: 10px 0 0; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.masthead__tagline::before, .masthead__tagline::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--metal); vertical-align: middle; margin: 0 12px; }
.masthead__tools { display: flex; justify-content: flex-end; }
.search-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--rule); border-radius: 2px; padding: 9px 14px; font-size: 13px; font-weight: 500; color: var(--navy); }
.search-toggle:hover { border-color: var(--navy); }

/* ---------- C. Main navigation ---------- */
.mainnav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 3px double var(--navy); }
.admin-bar .mainnav { top: 32px; }
.mainnav__inner { display: flex; align-items: center; position: relative; }
.mainnav__brand { display: none; }
.nav-toggle { display: none; }
.nav-list { display: flex; flex: 1; justify-content: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 14px 4px 14px 13px; font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.nav-item:not(.has-sub) .nav-link { padding-right: 13px; }
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--blue); }
.nav-item.is-active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; background: var(--blue); }
.sub-toggle { background: none; border: 0; padding: 12px 9px 12px 2px; color: var(--muted); display: flex; align-items: center; }
.sub-toggle .icon { width: 14px; height: 14px; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu {
	display: none; position: absolute; top: 100%; left: 0; z-index: 110; min-width: 260px;
	background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--navy);
	box-shadow: 0 12px 28px rgba(13, 27, 46, .12); padding: 8px 0;
}
.nav-item:nth-last-child(-n+2) .sub-menu { left: auto; right: 0; }
.nav-item.is-open > .sub-menu { display: block; }
.sub-item a { display: block; padding: 9px 18px; font-size: 14px; color: var(--charcoal); border-left: 3px solid transparent; }
.sub-item a:hover, .sub-item a:focus-visible { background: var(--grey); color: var(--navy); border-left-color: var(--blue); }
.sub-item.is-active a { color: var(--blue); font-weight: 600; border-left-color: var(--blue); }
.nav-search { background: none; border: 0; padding: 12px; color: var(--navy); display: flex; align-items: center; }
.nav-search:hover { color: var(--blue); }

@media (hover: hover) and (min-width: 1100px) {
	.nav-item.has-sub:hover > .sub-menu { display: block; }
}

/* Search panel */
.search-panel { border-top: 1px solid var(--rule); background: var(--grey); }
.search-panel__inner { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.search-panel .search-form { flex: 1; }
.search-panel__close { background: none; border: 0; padding: 10px; color: var(--navy); }
.search-form { display: flex; gap: 8px; max-width: 760px; }
.search-form__input, .newsletter input[type="email"] {
	flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 11px 14px; color: var(--charcoal);
	background: var(--white); border: 1px solid var(--metal); border-radius: 2px;
}
.search-form__input:focus, .newsletter input[type="email"]:focus { border-color: var(--blue); outline: 2px solid rgba(43, 108, 196, .25); }

/* ---------- D. Breaking news ticker ---------- */
.ticker { background: var(--grey); border-bottom: 1px solid var(--rule); font-size: 14px; }
.ticker__inner { display: flex; align-items: stretch; }
.ticker__label { margin: 0; flex: none; display: flex; align-items: center; background: var(--blue); color: var(--white); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 0 14px; }
.ticker__viewport { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker__viewport::-webkit-scrollbar { display: none; }
.ticker__track { display: flex; width: max-content; white-space: nowrap; }
.ticker__track li { padding: 10px 0 10px 28px; }
.ticker__track li::after { content: "◆"; font-size: 8px; color: var(--metal); margin-left: 28px; vertical-align: middle; }
.ticker__track a { color: var(--navy); font-weight: 500; }
.ticker__track a:hover { color: var(--blue); text-decoration: underline; }
.ticker.is-ready .ticker__viewport { overflow: hidden; }
.ticker.is-ready .ticker__track { animation: ss-ticker var(--ticker-time, 60s) linear infinite; }
.ticker.is-ready:hover .ticker__track, .ticker.is-ready:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ss-ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-top: 40px; padding-bottom: 8px; }
.band { margin-top: 40px; padding-bottom: 40px; }
.band .section { padding-top: 40px; padding-bottom: 0; }
.band--grey { background: var(--grey); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band--navy { background: var(--navy); color: #d5dbe3; }
.band + .band { margin-top: 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 3px solid var(--navy); border-bottom: 1px solid var(--rule); padding: 12px 0 11px; margin-bottom: 24px; }
.section-head__title { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.section-head__more { flex: none; font-size: 13px; font-weight: 600; color: var(--blue); }
.section-head__more:hover { text-decoration: underline; }
.band--navy .section-head { border-top-color: var(--white); border-bottom-color: rgba(255, 255, 255, .2); }
.band--navy .section-head__title, .band--navy .section-head__title a { color: var(--white); }
.band--navy .section-head__more { color: #9fc3f2; }

.empty-note { color: var(--muted); font-style: italic; padding: 8px 0 24px; margin: 0; }
.band--navy .empty-note { color: #b9c2ce; }

/* ---------- Article cards ---------- */
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey); margin-bottom: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__media img { transform: scale(1.03); }
.ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px 14px; background: #c9ced5 repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 2px, transparent 2px 9px); }
.ph span { font-family: var(--serif); font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(13, 27, 46, .55); }
.card__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.card__labels:empty { display: none; }
.kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.kicker:hover { text-decoration: underline; }
.sample-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a4b00; background: #fff3d6; border: 1px solid #e6c98a; padding: 1px 6px; border-radius: 2px; }
.card__title { font-size: 1.2rem; line-height: 1.25; margin-bottom: 8px; }
.card__title a:hover { color: var(--blue); }
.card__excerpt { font-size: 14.5px; color: #414955; margin-bottom: 10px; }
.meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.meta__sep { margin: 0 4px; }

.card--lead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.card--lead .card__media { margin-bottom: 0; aspect-ratio: 16 / 9; }
.card--lead .card__title { font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.12; font-weight: 800; margin-bottom: 14px; }
.card--lead .card__excerpt { font-size: 1.08rem; color: var(--charcoal); margin-bottom: 14px; }
.section--lead { padding-top: 32px; }

.card--feature .card__media { aspect-ratio: 16 / 9; }
.card--feature .card__title { font-size: 1.65rem; }

.card--compact { flex-direction: row; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
.card--compact:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.card--compact .card__media { flex: 0 0 116px; aspect-ratio: 4 / 3; margin-bottom: 0; }
.card--compact .card__media .ph span { display: none; }
.card--compact .card__body { min-width: 0; }
.card--compact .card__title { font-size: 1.02rem; }

.card--text { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.card--text:last-child { border-bottom: 0; margin-bottom: 0; }
.card--text .card__title { font-size: 1.15rem; }

.card--video .card__title a, .band--navy .card__title a { color: var(--white); }
.band--navy .card__title a:hover { color: #9fc3f2; }
.band--navy .kicker { color: #9fc3f2; }
.band--navy .meta { color: #b9c2ce; }
.play-badge { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-latest { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; }
.grid-latest__side { border-left: 1px solid var(--rule); padding-left: 36px; }
.grid-global { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; }
.grid-global__list { border-left: 1px solid var(--rule); padding-left: 36px; }
.grid-knowledge { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 36px; }

/* Voices */
.voices .card--text { border-bottom: 0; margin: 0; padding: 0 0 0 20px; border-left: 3px solid var(--blue); }
.voices .card__title { font-size: 1.3rem; font-style: italic; }

/* Topics list */
.topics { border-left: 1px solid var(--rule); padding-left: 28px; }
.topics__title { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.topics li { border-bottom: 1px solid var(--rule); }
.topics li:last-child { border-bottom: 0; }
.topics a { display: block; padding: 9px 0; font-family: var(--serif); font-weight: 700; color: var(--navy); }
.topics a:hover { color: var(--blue); }

/* ---------- I. Market watch ---------- */
.market__note { font-size: 13.5px; color: var(--muted); margin: -8px 0 20px; }
.market { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.market__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-top: 1px solid var(--rule); }
.market__date { margin: 0; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.market__date span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.market__title { font-size: 1.12rem; margin-bottom: 6px; }
.market__excerpt { font-size: 14px; color: #414955; margin-bottom: 6px; }
.market__source { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- K. Products ---------- */
.products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--rule); }
.product { padding: 22px 20px; border-left: 1px solid var(--rule); border-top: 3px solid var(--metal); }
.product:first-child { border-left: 0; }
.product:hover { border-top-color: var(--blue); }
.product__title { font-size: 1.15rem; margin-bottom: 8px; }
.product__intro { font-size: 13.5px; color: #414955; margin-bottom: 12px; }
.product__latest { font-size: 13.5px; margin: 0; padding-top: 12px; border-top: 1px solid var(--rule); }
.product__latest span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.product__latest a { font-weight: 600; color: var(--navy); }
.product__latest a:hover { color: var(--blue); }

/* ---------- O. Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 48px; padding-bottom: 48px; scroll-margin-top: 70px; }
.newsletter__title { font-size: 1.9rem; margin-bottom: 8px; }
.newsletter__text p { margin: 0; color: #414955; }
.newsletter form { display: flex; gap: 8px; }
.hp { position: absolute; left: -9999px; }
.notice { font-size: 14px; padding: 10px 14px; margin-bottom: 12px; border-left: 3px solid; }
.notice--ok { background: #eaf5ee; border-color: #2e7d4f; color: #1d5234; }
.notice--error { background: #fdecea; border-color: #b3261e; color: #7a1a15; }

/* ---------- P. Footer ---------- */
.footer { background: var(--navy); color: #c3cbd6; font-size: 14px; margin-top: 24px; border-top: 4px solid var(--metal); }
.footer a { color: #e3e8ee; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 48px; padding: 48px 0 36px; }
.footer__title { font-family: var(--serif); font-weight: 900; font-size: 1.8rem; letter-spacing: .05em; text-transform: uppercase; margin: 0; }
.footer__title a { color: var(--white); }
.footer__tagline { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--metal); margin: 6px 0 16px; }
.footer__about { margin-bottom: 14px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.footer__heading { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.footer__heading a { color: var(--white); }
.footer__col li { margin-bottom: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 20px; }

/* ---------- Category, search and article pages ---------- */
.page-main { padding-top: 22px; padding-bottom: 40px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: var(--metal); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

.page-head { border-top: 3px solid var(--navy); border-bottom: 1px solid var(--rule); padding: 22px 0 22px; margin-bottom: 32px; }
.page-head__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.page-head__intro { max-width: 760px; margin-top: 10px; font-size: 1.08rem; color: #414955; }
.page-head__intro p:last-child { margin-bottom: 0; }
.page-head__intro a { color: var(--blue); text-decoration: underline; }
.page-head__search { margin-top: 18px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.subcats a { display: block; font-size: 13px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 2px; color: var(--navy); }
.subcats a:hover { border-color: var(--blue); color: var(--blue); }
.list-feature { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--rule); }
.list-grid { row-gap: 36px; }
.empty-state { padding: 24px 0 48px; color: var(--muted); }

.pagination { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: block; min-width: 40px; text-align: center; padding: 8px 12px; font-size: 14px; font-weight: 600; border: 1px solid var(--rule); border-radius: 2px; color: var(--navy); }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

.article { max-width: 780px; margin: 0 auto; }
.article__head { border-top: 3px solid var(--navy); padding-top: 22px; margin-bottom: 24px; }
.article__title { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; line-height: 1.12; }
.article__subtitle { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: #414955; margin: 14px 0 0; }
.article__meta { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.article__author { font-weight: 600; color: var(--navy); }
.article__figure { margin: 0 0 28px; }
.article__figure img { width: 100%; }
.article__figure figcaption { font-size: 13px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--rule); }

.entry { font-size: 1.12rem; line-height: 1.75; }
.entry > * { margin-top: 0; margin-bottom: 1.25em; }
.entry h2 { font-size: 1.65rem; margin-top: 1.7em; margin-bottom: .55em; }
.entry h3 { font-size: 1.3rem; margin-top: 1.5em; margin-bottom: .5em; }
.entry a { color: var(--blue); text-decoration: underline; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: .4em; }
.entry blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--navy); }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { text-align: left; padding: 9px 12px; border: 1px solid var(--rule); }
.entry th { background: var(--grey); color: var(--navy); }
.entry iframe { max-width: 100%; }

.article__foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); }
.share__title { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.share__list a, .share__copy { display: block; font-size: 13px; font-weight: 600; padding: 7px 14px; background: var(--white); border: 1px solid var(--rule); border-radius: 2px; color: var(--navy); }
.share__list a:hover, .share__copy:hover { border-color: var(--blue); color: var(--blue); }
.article__tags { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.article__tags a { color: var(--blue); }
.article__tags span { font-weight: 600; color: var(--navy); }
.related { margin-top: 56px; }

/* ---------- Tablet and mobile ---------- */
@media (max-width: 1099px) {
	.masthead__inner { grid-template-columns: 1fr; padding-top: 18px; padding-bottom: 14px; }
	.masthead__edition, .masthead__tools { display: none; }

	.mainnav__inner { justify-content: space-between; min-height: 50px; }
	.nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 12px 8px 12px 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
	.mainnav__brand { display: block; font-family: var(--serif); font-weight: 900; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
	.nav-list {
		display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 110;
		flex-direction: column; background: var(--white); border-top: 1px solid var(--rule); border-bottom: 3px solid var(--navy);
		box-shadow: 0 16px 28px rgba(13, 27, 46, .14); max-height: calc(100vh - 110px); overflow-y: auto; padding: 0 var(--gutter);
	}
	.mainnav.is-open .nav-list { display: flex; }
	.nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.nav-item:last-child { border-bottom: 0; }
	.nav-item.is-active::after { display: none; }
	.nav-link { flex: 1; padding: 15px 0; font-size: 14px; }
	.sub-toggle { padding: 15px 4px 15px 20px; }
	.sub-toggle .icon { width: 18px; height: 18px; }
	.sub-menu, .nav-item:nth-last-child(-n+2) .sub-menu { position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 10px; }
	.sub-item a { padding: 10px 14px; }

	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product { border-left: 0; border-bottom: 1px solid var(--rule); }
	.product:nth-child(even) { border-left: 1px solid var(--rule); }
	.grid-knowledge { grid-template-columns: 1fr; }
	.topics { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
	.topics ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	.footer__top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 782px) {
	.admin-bar .mainnav { top: 46px; }
}

@media (max-width: 760px) {
	:root { --gutter: 16px; }
	.topbar__inner { flex-wrap: wrap; gap: 4px 16px; padding-top: 6px; padding-bottom: 6px; }
	.topbar__social { display: none; }
	.masthead__tagline { font-size: 10px; letter-spacing: .22em; }
	.masthead__tagline::before, .masthead__tagline::after { width: 14px; margin: 0 8px; }

	.section { padding-top: 32px; }
	.card--lead, .grid-latest, .grid-global, .newsletter { grid-template-columns: 1fr; gap: 20px; }
	.grid-latest__side, .grid-global__list { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
	.grid--3, .market { grid-template-columns: 1fr; }
	.grid--4 { grid-template-columns: 1fr; }
	.products { grid-template-columns: 1fr; }
	.product:nth-child(even) { border-left: 0; }
	.market__row { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
	.footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter form, .search-form { flex-wrap: wrap; }
	.newsletter form .btn { flex: 1 0 100%; }
	.ticker__label { font-size: 10.5px; padding: 0 10px; }
	.entry { font-size: 1.05rem; }
}

@media (max-width: 600px) {
	.admin-bar .mainnav { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ticker.is-ready .ticker__viewport { overflow-x: auto; }
	.ticker.is-ready .ticker__track { animation: none; }
	.card__media img, .sub-toggle .icon { transition: none; }
}

@media print {
	.topbar, .mainnav, .ticker, .newsletter, .footer, .share, .related { display: none; }
}
