/*
Theme Name: Universo Sobre Rodas
Theme URI: https://universo-sobre-rodas.fitefts4.chatgpt.site
Author: Redação Myth
Description: Tema editorial automotivo responsivo e amplamente configurável para notícias sobre carros, motos, lançamentos, manutenção, mobilidade, cuidado automotivo e curiosidades.
Version: 3.8.0
Requires at least: 6.4
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: universo-sobre-rodas
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --ink: #111315;
  --surface: #181b1e;
  --surface-2: #202429;
  --red: #e31b23;
  --red-dark: #b80f17;
  --paper: #f4f0e8;
  --white: #ffffff;
  --muted: #a6aaae;
  --line: rgba(255,255,255,.14);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
.usr-hide-language-switcher #trp-floater-ls,
.usr-hide-language-switcher #gt_float_wrapper,
.usr-hide-language-switcher .gt_float_switcher,
.usr-hide-language-switcher .gt_switcher_wrapper,
.usr-hide-language-switcher .gtranslate_wrapper,
.usr-hide-language-switcher .switcher.notranslate,
.usr-hide-language-switcher .trp-language-switcher-container,
.usr-hide-language-switcher .trp-floater-ls-disabled-language { display: none !important; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--foreground, var(--ink));
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; width: 100%; }
.shell { width: min(100% - 64px, var(--usr-container, 1480px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.ticker { height: 42px; background: #0b0c0e; color: #d8d9da; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .04em; }
.ticker-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.ticker-inner > strong { flex: 0 0 auto; }
.ticker-link, .ticker-inner > span { min-width: 0; flex: 1 1 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ticker strong { color: #ff2931; font-family: Impact, "Arial Narrow", sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: .08em; }
.ticker strong i, .section-kicker i { display: inline-block; width: 5px; height: 18px; margin-right: 10px; background: var(--red); transform: skew(-20deg); vertical-align: middle; }
.socials { display: flex; gap: 22px; margin-left: auto; font-weight: 800; color: #8f9296; font-size: 11px; }
.socials a:hover { color: var(--red); }

.site-header { position: sticky; top: 0; z-index: 20; height: 96px; background: rgba(17,19,21,.97); color: white; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 42px; }
.brand { max-width: 430px; color: #fff; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(28px, 3vw, 46px); font-style: italic; line-height: .86; letter-spacing: -.025em; text-transform: uppercase; white-space: nowrap; transform: skew(-4deg); }
.brand span { color: var(--red); }
.desktop-nav { display: flex; align-self: stretch; align-items: center; gap: clamp(24px, 3.2vw, 52px); margin-left: auto; }
.desktop-nav a { position: relative; display: grid; align-items: center; height: 100%; color: #b8bbbe; font-family: "Arial Narrow", Arial, sans-serif; font-size: 16px; font-weight: 800; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 4px; background: var(--red); transition: right .18s ease; transform: skew(-18deg); }
.desktop-nav a:hover, .desktop-nav a.active { color: white; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.search-box, .mobile-menu { position: relative; }
.search-box summary, .mobile-menu summary { list-style: none; cursor: pointer; }
.search-box summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.search-box summary { width: 38px; height: 38px; display: grid; place-items: center; }
.search-box summary span { position: relative; width: 19px; height: 19px; border: 2px solid white; border-radius: 50%; }
.search-box summary span::after { content: ""; position: absolute; width: 8px; height: 2px; background: white; right: -6px; bottom: -3px; transform: rotate(48deg); }
.search-box form { position: absolute; top: 52px; right: 0; width: 390px; padding: 12px; display: flex; background: white; box-shadow: 0 18px 60px rgba(0,0,0,.3); }
.search-box input { min-width: 0; flex: 1; padding: 12px 14px; border: 1px solid #ddd; color: #111; outline-color: var(--red); }
.search-box button { border: 0; padding: 0 18px; background: var(--red); color: white; font-weight: 800; cursor: pointer; }
.mobile-menu { display: none; }

.lead-grid { display: grid; grid-template-columns: minmax(0, 2.22fr) minmax(320px, .98fr); min-height: 660px; background: var(--ink); }
.hero-story { position: relative; min-width: 0; min-height: 660px; overflow: hidden; color: white; }
.hero-story-link { position: absolute; z-index: 1; inset: 0; display: block; }
.hero-story-link img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 52% 52%; transition: transform .65s ease; }
.hero-story:hover .hero-story-link img { transform: scale(1.025); }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(7,8,10,.1) 48%, rgba(7,8,10,.94) 100%); }
.hero-copy { position: absolute; z-index: 2; left: 46px; right: 38px; bottom: 40px; }
.eyebrow { margin: 0 0 12px; color: #ff2029; font-family: Impact, "Arial Narrow", sans-serif; font-size: 18px; font-style: italic; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 5px; height: 24px; margin-right: 14px; background: var(--red); transform: skew(-20deg); vertical-align: -5px; }
.hero-copy h1 { max-width: 880px; margin: 0 0 24px; font-family: Impact, "Arial Narrow", sans-serif; font-size: 60px; font-weight: 900; line-height: .94; letter-spacing: -.015em; text-wrap: balance; }
.primary-cta { position: relative; display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 30px; background: var(--red); color: white; font-weight: 850; box-shadow: 9px 0 0 var(--red-dark); transition: transform .18s ease, box-shadow .18s ease; }
.primary-cta::after { content: ""; position: absolute; right: -8px; width: 20px; height: 100%; background: var(--red); transform: skew(-18deg); }
.primary-cta span { position: relative; z-index: 1; font-size: 20px; transition: transform .18s ease; }
.primary-cta:hover { transform: translateX(3px); box-shadow: 5px 0 0 var(--red-dark); }
.primary-cta:hover span { transform: translateX(4px); }

.latest { padding: 25px 30px 28px; background: #101315; color: white; display: grid; grid-template-rows: auto 1fr 1fr; gap: 14px; }
.section-kicker { display: flex; align-items: center; gap: 3px; min-height: 26px; font-family: Impact, "Arial Narrow", sans-serif; font-style: italic; letter-spacing: .08em; text-transform: uppercase; }
.section-kicker span { height: 1px; flex: 1; margin-left: 12px; background: rgba(255,255,255,.2); }
.side-story { position: relative; min-height: 250px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.side-story > img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .5s ease; }
.side-story:hover > img { transform: scale(1.04); }
.side-story .shade { background: linear-gradient(180deg, transparent 20%, rgba(8,9,10,.16) 40%, rgba(8,9,10,.96) 100%); }
.side-copy { position: absolute; z-index: 2; inset: auto 20px 17px; display: flex; flex-direction: column; align-items: flex-start; }
.side-copy em { color: #ff2931; font-family: Impact, "Arial Narrow", sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: .08em; }
.side-copy strong { max-width: 420px; margin-top: 8px; font-family: Impact, "Arial Narrow", sans-serif; font-size: 27px; line-height: .98; }
.side-copy small { align-self: flex-end; margin-top: 12px; color: #c2c4c6; }

.topic-rail { overflow: hidden; background: #111416; color: #aeb1b4; border-top: 1px solid var(--line); }
.topic-inner { min-height: 44px; display: flex; align-items: center; gap: 0; white-space: nowrap; }
.topic-inner strong, .topic-inner a { flex: 0 0 auto; font-family: "Arial Narrow", Arial, sans-serif; font-size: 12px; font-style: italic; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.topic-inner strong { color: #ff2931; }
.topic-inner a { max-width: 380px; overflow: hidden; text-overflow: ellipsis; }
.topic-inner a::before { content: "/"; padding: 0 27px; color: var(--red); font-weight: 900; }
.topic-inner a:hover { color: white; }

.section-shell { padding-block: 34px; }
.highlights-section { padding-block: 52px 72px; }
.section-heading { display: flex; align-items: center; gap: 20px; }
.section-heading h2 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: 27px; font-style: italic; text-transform: uppercase; }
.section-heading h2::before { content: ""; display: inline-block; width: 8px; height: 32px; margin-right: 18px; background: var(--red); transform: skew(-20deg); vertical-align: -5px; }
.section-heading > span { flex: 1; height: 1px; background: #d7d2ca; }
.section-heading a { font-weight: 800; font-size: 13px; }
.section-heading a:hover { color: var(--red); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.story-card { min-width: 0; }
.card-image { position: relative; display: block; height: 260px; overflow: hidden; background: #24272a; }
.card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); }
.card-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .card-image img { transform: scale(1.035); }
.card-number { position: absolute; z-index: 2; right: 16px; bottom: 9px; color: rgba(255,255,255,.82); font-family: Impact, "Arial Narrow", sans-serif; font-size: 46px; font-style: italic; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: #777b7e; font-size: 12px; }
.card-meta span { color: var(--red); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.story-card h3 { margin: 10px 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: 28px; line-height: 1; }
.story-card h3 a:hover { color: var(--red); }
.story-card p { margin: 0; color: #686b6d; font-size: 14px; line-height: 1.55; }

.launch-feature { background: var(--ink); color: white; overflow: hidden; }
.launch-grid { min-height: 610px; display: grid; grid-template-columns: .78fr 1.22fr; }
.launch-copy { align-self: center; padding: 70px 56px 70px 0; }
.launch-copy h2, .maintenance-copy h2, .editorial-band h2 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: 48px; line-height: .94; text-transform: uppercase; }
.launch-copy > p:not(.eyebrow) { max-width: 520px; margin: 25px 0; color: #b4b7b9; font-size: 17px; line-height: 1.65; }
.outline-cta { display: inline-flex; align-items: center; gap: 18px; min-height: 50px; padding: 0 24px; border: 1px solid #52565a; font-weight: 850; transition: border-color .18s, color .18s; }
.outline-cta:hover { color: #ff2931; border-color: var(--red); }
.outline-cta span { font-size: 21px; }
.launch-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; padding-top: 25px; border-top: 1px solid var(--line); }
.launch-stats div { display: flex; flex-direction: column; }
.launch-stats strong { color: #ff2931; font-family: Impact, "Arial Narrow", sans-serif; font-size: 34px; }
.launch-stats span { color: #92969a; font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.launch-image { position: relative; min-height: 610px; margin-right: calc((100vw - min(100vw - 64px, 1480px)) / -2); overflow: hidden; }
.launch-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111315 0, rgba(17,19,21,.35) 28%, transparent 60%); }
.launch-image img { height: 100%; object-fit: cover; transition: transform 7s ease; }
.launch-feature:hover .launch-image img { transform: scale(1.035); }
.spec-tag { position: absolute; z-index: 2; right: 44px; bottom: 40px; width: 250px; padding: 18px 22px; background: rgba(17,19,21,.92); border-left: 5px solid var(--red); backdrop-filter: blur(8px); }
.spec-tag span, .spec-tag strong { display: block; }
.spec-tag span { color: #ff2931; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.spec-tag strong { margin-top: 6px; font-family: Impact, "Arial Narrow", sans-serif; font-size: 25px; }

.recent-section { padding-block: 66px 78px; }
.recent-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 38px; margin-top: 32px; }
.recent-main { position: relative; min-height: 530px; overflow: hidden; color: white; }
.recent-main-link { position: absolute; z-index: 1; inset: 0; display: block; }
.recent-main-link img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .6s ease; }
.recent-main:hover .recent-main-link img { transform: scale(1.025); }
.recent-main-copy { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 31px; }
.recent-main-copy em, .recent-item em { color: #ff2931; font-size: 12px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.recent-main-copy h3 { max-width: 680px; margin: 10px 0 20px; font-family: Impact, "Arial Narrow", sans-serif; font-size: 40px; line-height: .98; }
.recent-main-copy a { font-weight: 850; }
.recent-main-copy a:hover { color: #ff2931; }
.recent-list { display: grid; align-content: stretch; }
.recent-item { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid #d5d0c8; transition: padding .2s, color .2s; }
.recent-item:first-child { border-top: 1px solid #d5d0c8; }
.recent-item > span { color: #b4b0aa; font-family: Impact, "Arial Narrow", sans-serif; font-size: 32px; }
.recent-item div { display: flex; flex-direction: column; gap: 7px; padding-block: 18px; }
.recent-item strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: 28px; line-height: 1.02; }
.recent-item b { color: var(--red); font-size: 22px; transition: transform .18s; }
.recent-item:hover { padding-left: 8px; color: var(--red); }
.recent-item:hover b { transform: translateX(4px); }

.maintenance-band { padding-block: 76px; background: #1b1e21; color: white; }
.maintenance-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.maintenance-image { position: relative; min-height: 550px; overflow: hidden; box-shadow: -16px 16px 0 var(--red); }
.maintenance-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .5s ease; }
.maintenance-image:hover img { transform: scale(1.03); }
.image-label { position: absolute; left: 18px; top: 18px; padding: 9px 13px; background: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.maintenance-copy > p:not(.eyebrow) { max-width: 610px; margin: 24px 0; color: #b5b8bb; font-size: 17px; line-height: 1.65; }
.maintenance-copy ul { margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.maintenance-copy li { padding: 16px 0; border-bottom: 1px solid var(--line); color: #d7d8d9; font-weight: 750; }
.maintenance-copy li span { display: inline-block; width: 52px; color: var(--red); font-family: Impact, "Arial Narrow", sans-serif; font-size: 20px; }

.editorial-band { padding-block: 68px; background: var(--red); color: white; }
.editorial-band-inner { display: grid; gap: 10px; }
.editorial-band .eyebrow { color: #fff; }
.editorial-band .eyebrow::before { background: #111315; }
.editorial-band h2 { max-width: 920px; }

footer { padding-block: 64px 25px; background: #0e1012; color: #aeb1b4; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-grid .brand { font-size: 31px; color: white; }
.footer-grid p { max-width: 390px; line-height: 1.6; }
.footer-grid strong { margin-bottom: 7px; color: white; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div:not(:first-child) a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-grid .usr-widget { width: 100%; }
.footer-grid .usr-widget .widget-title { font-size: 23px; }
.socials .menu { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.ad-zone { clear: both; margin-block: 28px; text-align: center; }
.ad-zone .usr-widget { margin: 0; }
.ad-zone img { max-width: 100%; height: auto; margin-inline: auto; }
.ad-zone iframe { max-width: 100%; margin-inline: auto; }
.ad-zone-in-content { margin-block: 34px; }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 1080px; margin: 0 auto 28px; color: #777b7e; font-size: 12px; }
.breadcrumbs a:hover { color: var(--red); }
.sponsor-label { display: inline-block; margin-bottom: 15px; padding: 7px 10px; background: #ded9d1; color: #595d60; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.single-layout.layout-sidebar-left .article-sidebar { grid-column: 1; grid-row: 1; }
.single-layout.layout-sidebar-left .entry-content { grid-column: 2; }
.single-layout.layout-full { grid-template-columns: minmax(0, var(--usr-content-width, 780px)); }
.related-posts { max-width: 1150px; margin: 70px auto 0; padding-top: 28px; border-top: 1px solid #d1ccc4; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.related-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related-count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.highlights-count-2 .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.highlights-count-4 .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .shell { width: min(100% - 40px, 1480px); }
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 14px; }
  .lead-grid { grid-template-columns: 1.65fr .85fr; }
  .latest { padding-inline: 18px; }
  .launch-copy { padding-right: 34px; }
  .maintenance-grid { gap: 45px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 1480px); }
  .ticker { height: 36px; }
  .ticker span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .socials, .desktop-nav, .search-box { display: none; }
  .site-header { height: 74px; }
  .brand { font-size: 29px; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { width: 42px; display: grid; gap: 5px; padding: 10px; }
  .mobile-menu summary span { display: block; height: 2px; background: white; }
  .mobile-menu nav { position: absolute; top: 48px; right: 0; width: min(310px, calc(100vw - 28px)); padding: 12px; background: #141719; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
  .mobile-menu nav a { display: block; padding: 14px; border-bottom: 1px solid var(--line); color: white; font-weight: 800; }
  .lead-grid { width: 100%; grid-template-columns: 1fr; min-height: 0; }
  .hero-story { min-height: 610px; }
  .hero-copy { left: 24px; right: 24px; bottom: 28px; }
  .hero-copy h1 { font-size: 30px; }
  .latest { grid-template-columns: 1fr 1fr; grid-template-rows: auto 260px; padding: 24px 14px; }
  .section-kicker { grid-column: 1 / -1; }
  .side-story { min-height: 0; }
  .topic-inner { overflow-x: auto; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .story-card:last-child { grid-column: 1 / -1; }
  .launch-grid, .recent-grid, .maintenance-grid { grid-template-columns: 1fr; }
  .launch-copy { padding: 60px 0; }
  .launch-image { min-height: 490px; margin-right: -14px; margin-left: -14px; }
  .maintenance-image { min-height: 460px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (max-width: 560px) {
  .ticker-inner { gap: 12px; }
  .ticker strong { font-size: 11px; }
  .header-inner { gap: 12px; }
  .brand { font-size: 24px; }
  .hero-story { min-height: 550px; }
  .hero-copy h1 { font-size: 30px; }
  .primary-cta { min-height: 48px; padding-inline: 20px; }
  .latest { grid-template-columns: 1fr; grid-template-rows: auto 270px 270px; }
  .side-copy strong { font-size: 24px; }
  .section-heading h2 { font-size: 24px; }
  .story-card h3, .recent-item strong { font-size: 24px; }
  .launch-copy h2, .maintenance-copy h2, .editorial-band h2 { font-size: 32px; }
  .section-heading > span { display: none; }
  .section-heading a { margin-left: auto; }
  .card-grid { grid-template-columns: 1fr; }
  .story-card:last-child { grid-column: auto; }
  .card-image { height: 230px; }
  .launch-stats { grid-template-columns: 1fr; }
  .launch-stats div { flex-direction: row; align-items: center; gap: 15px; }
  .launch-image { min-height: 380px; }
  .recent-main { min-height: 480px; }
  .recent-main-copy { left: 22px; right: 22px; }
  .recent-main-copy h3 { font-size: 26px; line-height: 1.02; }
  .recent-item { grid-template-columns: 42px 1fr auto; gap: 10px; }
  .maintenance-band { padding-block: 54px; }
  .maintenance-image { min-height: 330px; box-shadow: -9px 9px 0 var(--red); }
  .editorial-band { padding-block: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.skip-link:focus { position: fixed; z-index: 99999; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: #fff; color: #111; font-weight: 800; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-width: 390px; max-height: 70px; object-fit: contain; }
.desktop-nav > .menu { display: flex; align-items: center; align-self: stretch; gap: clamp(24px, 3.2vw, 52px); height: 100%; margin: 0; padding: 0; list-style: none; }
.desktop-nav li { height: 100%; }
.desktop-nav li a { display: grid; height: 100%; align-items: center; }
.current-menu-item > a, .current-category-ancestor > a { color: white !important; }
.current-menu-item > a::after, .current-category-ancestor > a::after { right: 0 !important; }

.search-toggle, .menu-toggle { flex: 0 0 auto; border: 0; background: transparent; color: white; cursor: pointer; }
.search-toggle { position: relative; width: 42px; height: 42px; display: grid; place-items: center; }
.search-toggle > span:first-child { position: relative; width: 19px; height: 19px; border: 2px solid white; border-radius: 50%; }
.search-toggle > span:first-child::after { content: ""; position: absolute; width: 8px; height: 2px; right: -6px; bottom: -3px; background: white; transform: rotate(48deg); }
.menu-toggle { display: none; width: 42px; padding: 9px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; }
.header-search { position: absolute; z-index: 30; top: 96px; right: 32px; width: min(440px, calc(100vw - 32px)); padding: 12px; background: white; box-shadow: 0 18px 60px rgba(0,0,0,.32); }
.header-search[hidden], .mobile-navigation[hidden] { display: none !important; }
.search-form { display: flex; }
.search-form input { min-width: 0; flex: 1; padding: 13px 15px; border: 1px solid #d7d7d7; color: #111; background: white; outline-color: var(--red); }
.search-form button { border: 0; padding: 0 20px; background: var(--red); color: white; font-weight: 850; cursor: pointer; }
.mobile-navigation { display: none; }

.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: 12px; }
.footer-grid .menu a { color: #aeb1b4; }

/* Archives and search */
.content-shell, .page-shell, .single-shell { padding-block: 68px 90px; }
.archive-header { max-width: 980px; margin-bottom: 42px; }
.archive-header h1, .single-header h1, .error-page h1 { margin: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: 58px; line-height: .94; text-transform: uppercase; text-wrap: balance; }
.archive-description { max-width: 760px; margin-top: 18px; color: #65696b; font-size: 17px; line-height: 1.6; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 24px; }
.archive-card { min-width: 0; }
.archive-card-image { display: block; height: 255px; overflow: hidden; background: #25282b; }
.archive-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.archive-card:hover .archive-card-image img { transform: scale(1.035); }
.archive-card-body h2 { margin: 10px 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: 28px; line-height: 1; }
.archive-card-body h2 a:hover { color: var(--red); }
.archive-card-body p { margin: 0; color: #666a6d; line-height: 1.55; }
.navigation.pagination { margin-top: 54px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: 8px; border: 1px solid #ccc7bf; font-weight: 800; }
.page-numbers.current, .page-numbers:hover { border-color: var(--red); background: var(--red); color: white; }
.empty-state { padding: 60px; border: 1px solid #d7d2ca; background: #fff; }
.empty-state h2 { margin-top: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: 42px; }
.empty-state .search-form { max-width: 560px; margin-top: 25px; }

/* Single articles and pages */
.single-article, .single-header, .single-featured, .single-layout, .entry-content { min-width: 0; max-width: 100%; }
.single-header { max-width: 1080px; margin: 0 auto 38px; text-align: center; }
.single-category { margin-bottom: 17px; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.single-category a { color: inherit; }
.single-deck { max-width: 850px; margin: 25px auto 0; color: #5f6366; font-size: 20px; line-height: 1.5; }
.single-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 24px; color: #74787a; font-size: 13px; }
.single-featured { max-width: 1280px; margin: 0 auto 50px; }
.single-featured img { width: 100%; max-height: 720px; object-fit: cover; }
.single-layout { display: grid; grid-template-columns: minmax(0, 780px) 300px; justify-content: center; align-items: start; gap: 70px; }
.entry-content { width: 100%; font-size: 18px; line-height: 1.82; overflow-wrap: break-word; }
.entry-content > *, .entry-content .wp-block-group, .entry-content .wp-block-columns, .entry-content .wp-block-column { min-width: 0; max-width: 100%; }
.entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3 { overflow-wrap: anywhere; word-break: normal; }
.entry-content iframe, .entry-content video, .entry-content embed, .entry-content object { max-width: 100%; }
.entry-content pre, .entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; line-height: 1.13; }
.entry-content h1 { font-family: Impact, "Arial Narrow", sans-serif; font-size: 44px; }
.entry-content h2 { font-family: Impact, "Arial Narrow", sans-serif; font-size: 36px; }
.entry-content h3 { font-size: 26px; }
.entry-content h4 { font-size: 24px; }
.entry-content h5 { font-size: 20px; }
.entry-content h6 { font-size: 18px; }
.entry-content a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .wp-block-embed-youtube,
.entry-content .wp-block-embed__wrapper,
.entry-content .usr-video-frame { max-width: 100%; }
.entry-content .wp-block-embed-youtube .wp-block-embed__wrapper,
.entry-content .usr-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.entry-content iframe.usr-youtube-embed,
.entry-content iframe[src*="youtube.com/embed/"],
.entry-content iframe[src*="youtube-nocookie.com/embed/"] { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; border: 0; background: #000; }
.entry-content .usr-video-frame iframe.usr-youtube-embed,
.entry-content .usr-video-frame iframe[src*="youtube.com/embed/"],
.entry-content .usr-video-frame iframe[src*="youtube-nocookie.com/embed/"] { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.entry-content .usr-video-frame::before,
.entry-content .usr-video-frame::after { pointer-events: none; }
.entry-content blockquote { margin: 36px 0; padding: 20px 28px; border-left: 6px solid var(--red); background: #e9e4dc; font-size: 22px; font-weight: 650; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid #d3cec6; text-align: left; }
.entry-content th { background: #191c1f; color: white; }
.article-sidebar { position: sticky; top: 140px; }
.article-sidebar .usr-widget { margin-bottom: 26px; padding: 22px; border-top: 4px solid var(--red); background: #fff; }
.article-sidebar .usr-widget .widget-title,
.article-sidebar .usr-widget .wp-block-heading { margin: 0 0 17px; color: var(--ink); font-family: Impact, "Arial Narrow", sans-serif; font-size: 27px; text-transform: uppercase; }
.article-sidebar .usr-widget ul { margin: 0; padding: 0; list-style: none; }
.article-sidebar .usr-widget li + li { margin-top: 10px; }
.article-sidebar .usr-widget a:hover { color: var(--red); }
.article-widget { margin-bottom: 24px; padding: 24px; border-top: 5px solid var(--red); background: #1b1e21; color: #d5d7d8; }
.widget-title { margin-top: 0; color: white; font-family: Impact, "Arial Narrow", sans-serif; font-size: 28px; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 35px; }
.tag-list a { padding: 8px 11px; background: #e2ddd5; color: #333; text-decoration: none; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1150px; margin: 70px auto 0; padding-top: 28px; border-top: 1px solid #d1ccc4; font-weight: 800; }
.post-navigation div:last-child { text-align: right; }
.post-navigation a:hover { color: var(--red); }
.standard-page { max-width: 920px; margin: 0 auto; }
.standard-page .archive-header { max-width: none; }

.comments-area { max-width: 780px; margin: 70px auto 0; padding-top: 35px; border-top: 1px solid #d1ccc4; }
.comments-area h2, .comment-reply-title { font-family: Impact, "Arial Narrow", sans-serif; font-size: 34px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { margin-bottom: 20px; padding: 20px; background: #fff; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 750; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid #cbc6be; }
.comment-form .submit { border: 0; padding: 14px 22px; background: var(--red); color: white; font-weight: 850; cursor: pointer; }

.error-page { min-height: 65vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 90px; }
.error-page > p:not(.eyebrow) { max-width: 670px; color: #686c6e; font-size: 18px; line-height: 1.6; }
.error-page .search-form { width: min(100%, 600px); margin: 18px 0 28px; }

.alignwide { width: min(1100px, 100%); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: #707477; font-size: 13px; }
.bypostauthor { outline: 1px solid transparent; }
.sticky { position: relative; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

@media (max-width: 1100px) {
  .desktop-nav > .menu { gap: 22px; }
  .single-layout { grid-template-columns: minmax(0, 740px) 270px; gap: 38px; }
}

@media (max-width: 820px) {
  .admin-bar .site-header { top: 46px; }
  .desktop-nav, .search-toggle { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .mobile-navigation { position: absolute; z-index: 30; top: 74px; right: 14px; display: block; width: min(330px, calc(100vw - 28px)); padding: 12px; background: #141719; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
  .mobile-navigation ul { margin: 0; padding: 0; list-style: none; }
  .mobile-navigation a { display: block; padding: 14px; border-bottom: 1px solid var(--line); color: white; font-weight: 800; }
  .header-search { top: 74px; right: 14px; }
  .custom-logo { max-width: 280px; max-height: 55px; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
	.single-layout.layout-sidebar-left .article-sidebar, .single-layout.layout-sidebar-left .entry-content { grid-column: 1; }
	.single-layout.layout-sidebar-left .entry-content { grid-row: 1; }
	.single-layout.layout-sidebar-left .article-sidebar { grid-row: 2; }
	.related-grid, .related-count-4, .highlights-count-4 .card-grid { grid-template-columns: 1fr 1fr; }
  .article-sidebar { position: static; }
  .entry-content { font-size: 17px; }
}

@media (max-width: 600px) {
  html, body { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; }
  body { position: relative !important; right: auto !important; left: 0 !important; transform: none !important; }
  .admin-bar .site-header { top: 0; }
  .shell { width: calc(100% - 32px); }
  .single-shell.shell { position: relative !important; right: auto !important; left: 0 !important; width: 100% !important; max-width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; padding-right: 20px !important; padding-left: 20px !important; overflow: visible; transform: none !important; }
  .single-article, .single-header, .single-layout, .entry-content { position: relative !important; right: auto !important; left: auto !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-right: auto !important; margin-left: auto !important; transform: none !important; }
  .single-layout { display: block !important; grid-template-columns: none !important; justify-content: normal !important; gap: 0 !important; padding-right: 0 !important; padding-left: 0 !important; }
  .entry-content { display: block !important; inline-size: 100% !important; max-inline-size: 100% !important; padding-right: 0 !important; padding-left: 0 !important; contain: inline-size; font-size: 16px !important; line-height: 1.68; white-space: normal !important; overflow: visible !important; }
  .entry-content > * { min-width: 0 !important; max-width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; }
  .entry-content > p,
  .entry-content > h1,
  .entry-content > h2,
  .entry-content > h3,
  .entry-content > h4,
  .entry-content > ul,
  .entry-content > ol,
  .entry-content > blockquote { position: static !important; right: auto !important; left: auto !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-right: 0 !important; margin-left: 0 !important; padding-right: 0; padding-left: 0; white-space: normal !important; transform: none !important; }
  .entry-content :where(p, li, h1, h2, h3, h4, a, strong, em, span) { max-inline-size: 100%; overflow-wrap: anywhere; word-break: normal; }
  .entry-content .wp-block-columns { flex-wrap: wrap !important; }
  .entry-content .wp-block-column { flex-basis: 100% !important; }
  .entry-content .alignwide,
  .entry-content .alignfull { width: 100% !important; max-width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; transform: none !important; }
  .entry-content .alignleft,
  .entry-content .alignright { float: none; max-width: 100%; margin-right: auto; margin-left: auto; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card-image { height: 230px; }
  .content-shell, .page-shell, .single-shell { padding-block: 48px 65px; }
  .archive-header h1, .error-page h1 { font-size: 34px; }
  .single-header h1 { font-size: 28px; line-height: 1.02; overflow-wrap: anywhere; }
  .entry-content h2 { font-size: 25px; line-height: 1.12; }
  .single-header { text-align: left; }
  .single-meta { justify-content: flex-start; }
  .single-featured { width: 100%; margin-right: auto; margin-left: auto; }
  .single-featured { aspect-ratio: 16 / 9; max-height: 240px; overflow: hidden; background: #17191b; }
  .single-featured img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center center; }
  .entry-content > .wp-block-image { width: 100%; max-height: 320px; margin-right: auto; margin-left: auto; overflow: hidden; }
  .entry-content > .wp-block-image img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; object-position: center center; }
  .topic-inner a { max-width: 72vw; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation div:last-child { text-align: left; }
  .empty-state { padding: 30px 22px; }
	.breadcrumbs { justify-content: flex-start; }
	.related-grid, .related-count-2, .related-count-4, .highlights-count-2 .card-grid, .highlights-count-4 .card-grid { grid-template-columns: 1fr; }
}
