/*
Theme Name: Código Noticias
Theme URI: https://www.codigotelevision.com/
Author: Xcomunicaciones
Author URI: https://www.xcomunicaciones.com/
Description: Tema editorial personalizado para Código: portada de noticias, secciones, artículos y contenido inicial.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: codigo-noticias
*/

:root {
	--red: #e30613;
	--red-dark: #8d0710;
	--ink: #17191e;
	--ink-soft: #3b3e45;
	--muted: #73767c;
	--line: #e7e7e8;
	--surface: #f6f6f5;
	--white: #ffffff;
	--container: 1220px;
	--shadow: 0 16px 40px rgba(23, 25, 30, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; display: block; height: auto; left: 10px; padding: 12px 16px; top: 10px; width: auto; z-index: 1000; background: var(--ink); color: #fff; }

.topline { background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.topline-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline-breaking { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 6, 19, .18); }
.topline-date { opacity: .72; }
.topline-radio { opacity: .72; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-main { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-branding { display: flex; align-items: center; gap: 24px; min-width: 0; }
.site-logo { display: block; width: 205px; line-height: 0; }
.site-logo img { display: block; width: auto; height: 66px; max-width: 100%; object-fit: contain; object-position: left center; }
.site-tagline { border-left: 1px solid var(--line); padding-left: 24px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.header-radio { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.header-social { display: flex; align-items: center; gap: 7px; }
.header-social a { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: 9px; font-weight: 900; text-transform: lowercase; }
.header-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.search-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; }
.search-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 5px; }
.main-navigation { background: #fff; }
.nav-inner { overflow-x: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 31px; }
.main-navigation li { flex: 0 0 auto; }
.main-navigation > .container > ul > li { position: relative; }
.main-navigation a { display: block; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 14px 0 13px; border-bottom: 2px solid transparent; }
.main-navigation li.current-menu-item a, .main-navigation a:hover { color: var(--red); border-bottom-color: var(--red); }
.main-navigation .menu-item-has-children { display: flex; align-items: center; gap: 4px; }
.main-navigation .menu-item-has-children > a { padding-right: 2px; }
.dropdown-toggle { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dropdown-toggle span { display: block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.menu-item-has-children:hover > .dropdown-toggle span, .menu-item-has-children:focus-within > .dropdown-toggle span, .menu-item-has-children.is-open > .dropdown-toggle span { transform: rotate(225deg) translate(-1px, -1px); }
.main-navigation .sub-menu { position: absolute; z-index: 20; top: calc(100% - 1px); left: -18px; display: block; min-width: 196px; padding: 9px 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(7px); transition: opacity .2s ease, transform .2s ease; }
.main-navigation .menu-item-has-children:hover > .sub-menu, .main-navigation .menu-item-has-children:focus-within > .sub-menu, .main-navigation .menu-item-has-children.is-open > .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.main-navigation .sub-menu li { display: block; }
.main-navigation .sub-menu a { padding: 10px 18px; border: 0; font-size: 10px; letter-spacing: .06em; }
.main-navigation .sub-menu a:hover { background: var(--surface); }

.site-main { overflow: hidden; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.56fr) minmax(310px, .74fr); gap: 54px; padding-top: 54px; padding-bottom: 62px; }
.hero-image { display: block; position: relative; overflow: hidden; background: var(--ink); }
.hero-image img { aspect-ratio: 1.67 / 1; width: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-image:hover img { transform: scale(1.03); }
.hero-image-label { position: absolute; top: 20px; left: 20px; background: var(--red); color: #fff; padding: 8px 12px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-image-stamp { position: absolute; top: 20px; right: 20px; padding: 10px 12px; color: #fff; border: 1px solid rgba(255,255,255,.65); background: rgba(23,25,30,.38); font-size: 10px; font-weight: 900; letter-spacing: .14em; line-height: 1.2; text-align: center; }
.hero-image-stamp b { color: #ffb1b4; font-size: 9px; }
.hero-float-card { position: absolute; right: 24px; bottom: 23px; display: flex; align-items: center; gap: 11px; width: min(270px, 45%); padding: 10px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: 11px; font-weight: 900; line-height: 1.15; }
.hero-float-card img { flex: 0 0 54px; width: 54px; height: 48px; aspect-ratio: auto; object-fit: cover; }
.hero-copy { padding: 26px 0 0; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.red-line { display: inline-block; width: 27px; height: 3px; background: var(--red); }
.small-eyebrow { font-size: 9px; letter-spacing: .1em; }
.hero-copy h1 { margin: 14px 0 12px; font-size: clamp(32px, 4vw, 60px); font-weight: 900; letter-spacing: -.045em; line-height: .98; max-width: 850px; }
.hero-copy h1 a:hover { color: var(--red); }
.hero-copy p { max-width: 640px; margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.article-meta { display: flex; align-items: center; gap: 15px; margin-top: 18px; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.article-meta span + span { border-left: 1px solid var(--line); padding-left: 15px; }
.home-latest { padding-top: 3px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.section-heading h2 { margin: 7px 0 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.05; }
.compact-heading { align-items: center; margin-bottom: 13px; }
.compact-heading h2 { font-size: 19px; margin: 0; letter-spacing: -.02em; }
.heading-rule { flex: 1; height: 1px; background: var(--line); }
.latest-item { display: grid; grid-template-columns: 96px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.latest-item:first-of-type { border-top: 1px solid var(--line); }
.latest-thumb { display: block; overflow: hidden; background: var(--surface); }
.latest-thumb img { width: 100%; height: 74px; object-fit: cover; transition: transform .4s ease; }
.latest-thumb:hover img { transform: scale(1.07); }
.latest-copy h3 { margin: 5px 0 6px; font-size: 15px; line-height: 1.16; letter-spacing: -.02em; }
.latest-copy h3 a:hover { color: var(--red); }
.item-date { color: var(--muted); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }

.ticker-strip { background: var(--red); color: #fff; }
.ticker-inner { min-height: 42px; display: flex; align-items: center; gap: 25px; overflow: hidden; }
.ticker-label { flex: 0 0 auto; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.ticker-track { min-width: 0; display: flex; align-items: center; gap: 70px; font-size: 12px; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-track span::after { content: '•'; margin-left: 70px; opacity: .6; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-34%); } }

.newsroom-section { padding-top: 76px; padding-bottom: 70px; }
.section-link { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.section-link span { font-size: 20px; font-weight: 400; line-height: 0; }
.news-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 37px 26px; }
.news-card { min-width: 0; }
.card-image { display: block; position: relative; overflow: hidden; background: var(--surface); }
.card-image img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; transition: transform .5s ease; }
.card-image:hover img { transform: scale(1.04); }
.card-category { position: absolute; bottom: 0; left: 0; background: var(--red); color: #fff; padding: 7px 10px; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.card-body { padding: 17px 2px 0; }
.card-body h2, .card-body h3 { margin: 0 0 9px; font-size: 23px; letter-spacing: -.035em; line-height: 1.08; }
.card-body h3 a:hover, .card-body h2 a:hover { color: var(--red); }
.card-body p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.card-body .article-meta { margin-top: 13px; }

.ad-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 42px 52px; margin-bottom: 78px; overflow: hidden; background: var(--ink); color: #fff; }
.ad-banner::after { content: ''; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; right: 6%; top: -125px; box-shadow: 0 0 0 28px rgba(255,255,255,.03), 0 0 0 56px rgba(255,255,255,.02); }
.ad-copy { position: relative; z-index: 1; }
.ad-kicker { color: #ff858a; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.ad-copy h2 { margin: 6px 0 2px; font-size: 31px; letter-spacing: -.04em; }
.ad-copy p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid transparent; padding: 13px 18px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: all .2s ease; }
.button span { font-size: 18px; font-weight: 400; line-height: .6; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--red); color: #fff; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--red); color: #fff; }

.ad-slider-wrap { margin-bottom: 74px; }
.ad-slider { position: relative; min-height: 260px; overflow: hidden; background: var(--ink); }
.ad-slide { position: relative; display: none; min-height: 260px; align-items: center; justify-content: space-between; gap: 35px; padding: 42px 58px 54px; color: #fff; }
.ad-slide.is-active { display: flex; animation: ad-fade .45s ease both; }
@keyframes ad-fade { from { opacity: .35; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.ad-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(102deg, rgba(23,25,30,.96) 0%, rgba(23,25,30,.76) 47%, rgba(23,25,30,.12) 100%); }
.ad-slide-red { background: linear-gradient(120deg, #8d0710, #e30613); }
.ad-slide-red::before { background: linear-gradient(102deg, rgba(85,0,7,.75), rgba(227,6,19,.22)); }
.ad-slide-light { background: #e7e7e8; color: var(--ink); }
.ad-slide-light::before { background: linear-gradient(102deg, rgba(255,255,255,.94), rgba(255,255,255,.55)); }
.ad-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .46; }
.ad-slide-content { position: relative; z-index: 1; max-width: 610px; }
.ad-slide-kicker { color: #ffb1b4; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.ad-slide-light .ad-slide-kicker { color: var(--red); }
.ad-slide h2 { margin: 7px 0 7px; font-size: clamp(26px, 4vw, 44px); letter-spacing: -.05em; line-height: .98; }
.ad-slide p { max-width: 500px; margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.ad-slide-light p { color: var(--ink-soft); }
.ad-slide .button { margin-top: 20px; }
.ad-slide-visual { position: relative; z-index: 1; flex: 0 0 225px; width: 225px; height: 165px; overflow: hidden; border: 7px solid rgba(255,255,255,.85); box-shadow: 0 18px 38px rgba(0,0,0,.25); transform: rotate(3deg); }
.ad-slide-visual img { width: 100%; height: 100%; object-fit: cover; }
.ad-slider-controls { position: absolute; z-index: 2; right: 22px; bottom: 17px; display: flex; align-items: center; gap: 7px; }
.ad-slider-arrow, .ad-slider-dot { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); background: rgba(23,25,30,.28); color: #fff; cursor: pointer; }
.ad-slider-arrow { width: 28px; height: 28px; border-radius: 50%; font-size: 15px; line-height: 1; }
.ad-slider-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; }
.ad-slider-dot.is-active { background: #fff; }
.ad-inline { position: relative; display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; gap: 25px; min-height: 100px; padding: 22px 28px; overflow: hidden; background: var(--surface); border-left: 5px solid var(--red); }
.ad-inline::after { content: 'PUBLICIDAD'; position: absolute; right: 24px; bottom: -7px; color: rgba(227,6,19,.08); font-size: 56px; font-weight: 900; letter-spacing: -.08em; }
.ad-inline-copy { position: relative; z-index: 1; }
.ad-inline-copy span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.ad-inline-copy h3 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.04em; }
.ad-inline .button { position: relative; z-index: 1; padding: 10px 14px; }

.category-section { padding-bottom: 90px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card { position: relative; display: block; min-height: 140px; overflow: hidden; color: #fff; background: var(--ink); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .76; transition: transform .5s ease, opacity .3s ease; }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.68), rgba(0,0,0,.03)); }
.category-card:hover img { transform: scale(1.08); opacity: .92; }
.category-card span, .category-card b { position: absolute; z-index: 1; bottom: 13px; }
.category-card span { left: 16px; font-size: 17px; font-weight: 900; letter-spacing: -.03em; }
.category-card b { right: 16px; color: #fff; font-size: 19px; font-weight: 400; }

.site-footer { background: var(--ink); color: #fff; padding-top: 62px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr .8fr; gap: 45px; padding-bottom: 54px; }
.footer-logo { display: block; width: 190px; line-height: 0; }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-brand p { max-width: 270px; margin: 18px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }
.footer-column h3 { margin: 0 0 17px; color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-column p, .footer-column li { margin: 0 0 9px; color: rgba(255,255,255,.62); font-size: 13px; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column a:hover { color: #fff; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; font-size: 10px; font-weight: 800; }
.social-links a:hover { border-color: var(--red); background: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.43); font-size: 10px; letter-spacing: .04em; }

.single-article { padding-top: 68px; padding-bottom: 90px; }
.single-header { max-width: 880px; margin-bottom: 38px; }
.single-header h1 { margin: 15px 0 16px; font-size: clamp(38px, 6vw, 76px); letter-spacing: -.06em; line-height: .98; }
.single-excerpt { max-width: 740px; margin: 0; color: var(--ink-soft); font-size: 19px; line-height: 1.5; }
.single-meta { display: flex; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.single-meta span + span { padding-left: 18px; border-left: 1px solid var(--line); }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 70px; align-items: start; }
.single-image { margin: 0 0 34px; }
.single-image img { width: 100%; max-height: 620px; object-fit: cover; }
.single-image figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; }
.single-content { max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.8; }
.single-content p { margin: 0 0 1.2em; }
.single-content h2, .single-content h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.03em; line-height: 1.1; }
.single-share { display: flex; align-items: center; gap: 8px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.single-share a { display: grid; place-items: center; width: 30px; height: 30px; margin-left: 2px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: 10px; font-weight: 800; text-transform: none; }
.single-share a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.sidebar-box { padding: 25px; background: var(--surface); }
.sidebar-box h2 { margin: 9px 0 10px; font-size: 25px; letter-spacing: -.05em; line-height: 1.05; }
.sidebar-box p { margin: 0 0 22px; color: var(--ink-soft); font-size: 13px; }
.widget { margin-top: 28px; }
.widget-title { margin: 0 0 12px; font-size: 15px; }

.archive-header { padding-top: 65px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.archive-header h1 { margin: 13px 0 0; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.06em; line-height: .98; }
.archive-description { max-width: 650px; margin-top: 16px; color: var(--ink-soft); }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 70px; padding-top: 48px; padding-bottom: 90px; }
.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.archive-sidebar { padding-top: 2px; }
.pagination-wrap { padding-bottom: 80px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--line); font-size: 12px; }
.page-numbers.current, .page-numbers:hover { border-color: var(--red); background: var(--red); color: #fff; }
.basic-page { max-width: 850px; padding-top: 70px; padding-bottom: 110px; }
.basic-page h1 { margin: 14px 0 35px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.06em; line-height: .98; }
.basic-content { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.8; }
.error-page p { max-width: 520px; color: var(--ink-soft); margin-bottom: 28px; }

@media (max-width: 900px) {
	.container { width: min(calc(100% - 34px), var(--container)); }
	.site-tagline { display: none; }
	.header-main { min-height: 85px; }
	.site-logo { width: 180px; }
	.site-logo img { height: 57px; }
	.menu-toggle { display: inline-flex; flex-direction: column; gap: 4px; }
	.menu-toggle > span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: var(--ink); }
	.main-navigation { display: none; border-top: 1px solid var(--line); }
	.main-navigation.is-open { display: block; }
	.main-navigation ul { justify-content: flex-start; gap: 22px; padding: 5px 0; }
	.main-navigation a { padding: 11px 0; }
	.header-main { justify-content: flex-start; }
	.header-actions { margin-left: auto; gap: 13px; }
	.header-radio { display: none; }
	.header-social { display: none; }
	.main-navigation .sub-menu { position: static; display: none; width: 100%; min-width: 0; padding: 4px 0 5px 15px; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
	.main-navigation .menu-item-has-children.is-open > .sub-menu { display: block; }
	.main-navigation .menu-item-has-children { display: block; }
	.main-navigation .menu-item-has-children > a { display: inline-block; }
	.main-navigation .dropdown-toggle { display: inline-grid; margin-left: 5px; vertical-align: middle; }
	.home-hero { grid-template-columns: 1fr; gap: 45px; }
	.hero-copy h1 { max-width: 680px; }
	.home-latest { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
	.home-latest .compact-heading { grid-column: 1 / -1; }
	.latest-item { grid-template-columns: 84px 1fr; }
	.latest-item:nth-of-type(2) { border-top: 1px solid var(--line); }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.single-layout, .archive-layout { grid-template-columns: 1fr; gap: 42px; }
	.single-sidebar, .archive-sidebar { max-width: 550px; }
}

@media (max-width: 600px) {
	.topline-date { display: none; }
	.topline-inner { justify-content: space-between; }
	.container { width: min(calc(100% - 28px), var(--container)); }
	.site-logo { width: 150px; }
	.site-logo img { height: 48px; }
	.search-button { width: 36px; height: 36px; }
	.home-hero { padding-top: 30px; padding-bottom: 42px; }
	.hero-copy { padding-top: 20px; }
	.hero-copy h1 { font-size: 38px; }
	.hero-image-stamp { top: 12px; right: 12px; padding: 8px; font-size: 8px; }
	.hero-float-card { right: 12px; bottom: 12px; width: min(220px, 62%); font-size: 10px; }
	.hero-float-card img { flex-basis: 42px; width: 42px; height: 40px; }
	.hero-copy p { font-size: 15px; }
	.home-latest { display: block; }
	.latest-item { grid-template-columns: 90px 1fr; }
	.ticker-inner { gap: 15px; }
	.ticker-track { font-size: 11px; }
	.newsroom-section { padding-top: 48px; padding-bottom: 48px; }
	.section-heading { align-items: start; flex-direction: column; gap: 13px; }
	.section-heading h2 { font-size: 29px; }
	.news-grid, .archive-grid { grid-template-columns: 1fr; gap: 33px; }
	.card-body h2, .card-body h3 { font-size: 25px; }
	.ad-banner { align-items: start; flex-direction: column; padding: 32px 25px; margin-bottom: 52px; }
	.ad-copy h2 { font-size: 28px; }
	.category-section { padding-bottom: 60px; }
	.ad-slide { align-items: start; min-height: 330px; flex-direction: column; padding: 30px 25px 56px; }
	.ad-slide-visual { position: absolute; right: 20px; top: 28px; width: 135px; height: 100px; opacity: .75; }
	.ad-slide-content { max-width: 100%; padding-right: 8px; }
	.ad-slide h2 { max-width: 65%; font-size: 29px; }
	.ad-slide p { max-width: 65%; font-size: 12px; }
	.ad-inline { align-items: start; flex-direction: column; padding: 18px 20px; }
	.ad-inline::after { font-size: 38px; right: 12px; bottom: 21px; }
	.category-grid { gap: 9px; }
	.category-card { min-height: 112px; }
	.category-card span { left: 11px; bottom: 10px; font-size: 14px; }
	.category-card b { right: 11px; bottom: 8px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { align-items: start; flex-direction: column; gap: 7px; }
	.single-article { padding-top: 42px; padding-bottom: 62px; }
	.single-header h1 { font-size: 43px; }
	.single-excerpt { font-size: 17px; }
	.single-content { font-size: 18px; }
	.archive-header { padding-top: 45px; padding-bottom: 30px; }
	.archive-header h1, .basic-page h1 { font-size: 47px; }
}
