:root {
  --red: #cc0000;
  --green: #669900;
  --cyan: #0099cc;
  --blue: #0077bb;
  --orange: #ff8800;
  --purple: #8c5de4;
  --violet: #bf5fff;
  --gray: #7f8c8d;
  --black: #111111;
  --text: #333333;
  --muted: #999999;
  --line: #e5e5e5;
  --bg-soft: #f8f8f8;
  --font: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-alt: "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-serif: "Roboto Slab", Cambria, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

button,
input {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-main {
  min-height: 50vh;
  padding-bottom: 48px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
}

.page-grid > * {
  min-width: 0;
}

@media (max-width: 991px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
}

.topbar-search {
  position: absolute;
  right: 15px;
  bottom: calc(100% + 18px);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
}

.topbar-search input {
  border: 0;
  border-bottom: 1px solid transparent;
  outline: none;
  width: 180px;
  padding: 6px 0;
  font-size: 13px;
}

.topbar-search input:focus {
  border-bottom-color: var(--line);
}

.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* Header */
.t3-header {
  padding: 18px 0 10px;
}

.t3-header .container {
  position: relative;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 42%;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.logo img {
  display: block;
  
  width: 100%;
}

.logo-sm {
  display: none;
}

.logo span,
.site-slogan {
  display: none;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.header-widgets {
  display: flex;
  height: 96px;
}

.trending {
  width: 340px;
  border: 1px solid var(--line);
  border-right: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.trending-label {
  position: absolute;
  z-index: 1;
  left: 108px;
  top: 10px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}

.trending a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 96px;
  padding-right: 12px;
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

.trending a img,
.trending-photo {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  object-fit: cover;
  background: #e5e5e5;
}

.trending-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-top: 16px;
}

.trending a:hover {
  color: var(--red);
}

.calendar,
.whatsnew {
  width: 96px;
  height: 96px;
  text-align: center;
}

.calendar {
  background: #e5e5e5;
}

.whatsnew {
  background: var(--red);
  color: #fff;
  text-decoration: none;
}

.whatsnew:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.95);
}

.hw-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  height: 60px;
  line-height: 70px;
}

.hw-text {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.weather-bar {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text);
}

/* Navigation */
.t3-mainnav {
  border-top: 2px solid var(--cat-color, var(--black));
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  background: #fff;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  height: 48px;
  font-family: var(--font-alt);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 1199px) {
  .nav-list > li > a {
      font-size: 16px;
      padding: 12px 13.33333333px;
  }
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  color: #fff;
  background: var(--cat-color, var(--black));
}

.nav-item > a > .caret {
  display: none;
}

.nav-item.active > a > .caret {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  margin: 0;
  border-style: solid;
  border-width: 5px;
  border-color: transparent #fff #fff transparent;
}

.mega {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: min(1100px, 90vw);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 20;
  padding: 20px;
}

.nav-list > li:hover .mega {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.mega-title {
  display: block;
  background: var(--cat-color, var(--cyan));
  color: #fff;
  padding: 8px 12px;
  font-family: var(--font-alt);
  font-size: 14px;
  margin-bottom: 12px;
}

.mega-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-cats a {
  display: block;
  padding: 8px 0;
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-serif);
}

.mega-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mega-news a {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  display: block;
}

.mega-news img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  margin-bottom: 8px;
}

/* Cards */
.section-title {
  font-family: var(--font-alt);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--black);
}

.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.media-card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.media-card:hover {
  text-decoration: none;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.featured-lead .media-frame {
  aspect-ratio: 16 / 10;
}

.featured-side .media-frame {
  aspect-ratio: 16 / 9;
}

.card-meta {
  position: absolute;
  left: 0;
  bottom: 12px;
}

.cat-badge {
  display: inline-block;
  color: #fff;
  background: var(--red);
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px;
}

.card-title {
  margin: 12px 0 6px;
  font-size: 22px;
}

.featured-lead .card-title {
  font-size: 28px;
}

.card-title a,
.media-card .card-title {
  color: var(--text);
  text-decoration: none;
}

.card-title a:hover,
.media-card:hover .card-title {
  color: var(--red);
}

.card-date {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.card-excerpt {
  color: #666;
  margin: 8px 0 0;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.grid-cards .media-frame {
  aspect-ratio: 16 / 10;
}

.list-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.list-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.list-item .media-frame {
  aspect-ratio: 4 / 3;
}

.list-item:hover {
  text-decoration: none;
}

/* Sidebar */
.sidebar {
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 16px;
}

.tabs {
  display: flex;
  border-bottom: 2px solid var(--line);
  margin-bottom: 16px;
}

.tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 6px;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
}

.tabs button.active {
  color: var(--text);
  border-bottom: 2px solid var(--red);
  margin-bottom: -2px;
}

.side-item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.side-item:last-child {
  border-bottom: 0;
}

.side-item:hover {
  text-decoration: none;
}

.side-item small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 4px;
}

.side-item strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--text);
  font-size: 14px;
}

.side-item:hover strong {
  color: var(--red);
}

/* Article */
.article-hero {
  position: relative;
  margin: 0 0 20px;
}

.article-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.article-kicker {
  box-sizing: border-box;
  display: inline-block;
  border: 1px solid #000;
  color: #333;
}

.article-hero .article-kicker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  line-height: 1;
  background: #fff;
}

.article-kicker a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 3px 6px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 400;
  display: inline-block;
  font-family: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.article-kicker:hover {
  background: var(--cat-color, var(--red));
  color: #fff;
}

.article-kicker:hover a {
  color: #fff;
  text-decoration: none;
}

.article-page h1 {
  margin: 0 0 8px;
  font-size: 34px;
}

.article-tools {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.article-body p {
  margin: 0 0 16px;
  font-size: 16px;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.article-nav-cell {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--text);
  border-right: 1px solid var(--line);
  transition: background 0.15s ease;
}

.article-nav-cell:last-child {
  border-right: 0;
}

.article-nav-cell:hover {
  background: #f2f2f2;
}

.article-nav-prev {
  justify-content: flex-start;
}

.article-nav-next {
  justify-content: flex-end;
}

.article-nav-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.article-nav-prev .article-nav-text {
  text-align: right;
  align-items: flex-end;
}

.article-nav-next .article-nav-text {
  text-align: left;
  align-items: flex-start;
}

.article-nav-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-nav-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
}

.article-nav-cell:hover .article-nav-title {
  color: var(--red);
}

.article-nav-arrow {
  flex: 0 0 10px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  opacity: 0.45;
}

.article-nav-prev .article-nav-arrow {
  border-right: 10px solid var(--text);
}

.article-nav-next .article-nav-arrow {
  border-left: 10px solid var(--text);
}

.article-nav-empty {
  pointer-events: none;
}

@media (max-width: 767px) {
  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding: 18px 16px;
  }

  .article-nav-cell:last-child {
    border-bottom: 0;
  }

  .article-nav-prev .article-nav-text,
  .article-nav-next .article-nav-text {
    text-align: left;
    align-items: flex-start;
  }

  .article-nav-title {
    font-size: 15px;
  }
}

.related {
  margin-top: 36px;
}

/* Weather */
.weather-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  background: #111;
  color: #fff;
  padding: 28px;
  margin-bottom: 28px;
}

.weather-now {
  display: flex;
  align-items: center;
  gap: 18px;
}

.weather-hero h1 {
  color: #fff;
  font-size: 42px;
  margin: 8px 0;
}

.weather-hero p {
  color: #ccc;
}

.weather-forecast {
  margin-bottom: 32px;
}

.forecast {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.forecast-day {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 12px 8px;
  text-align: center;
}

.forecast-weekday {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

.forecast-day strong {
  display: block;
  font-size: 18px;
}

.forecast-temp {
  display: contents;
}

.forecast-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin: 4px auto 0;
  background: url('/media/images/medium-day2x-27c1.png') no-repeat;
  background-size: 28px auto;
}

.weather-hero .weather-hero-icon {
  width: 64px;
  height: 64px;
  margin: 0;
  flex: 0 0 64px;
  background-size: 64px auto;
}

.forecast-icon[hidden] {
  display: none;
}

.sport-rss {
  margin-bottom: 36px;
}

.sport-rss-head .section-title {
  margin-bottom: 8px;
}

.sport-rss-head .section-title a {
  color: inherit;
  text-decoration: none;
}

.sport-rss-head .section-title a:hover {
  color: var(--red);
}

.feed-date {
  margin: 0 0 8px;
  font-family: var(--font-alt);
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.feed-desc {
  margin: 0 0 16px;
  color: #666;
}

.feed-image {
  display: block;
  max-width: 180px;
  height: auto;
  margin-bottom: 16px;
}

.newsfeed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.newsfeed li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.feed-link a {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.feed-link a:hover {
  color: var(--red);
}

.feed-item-date {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.feed-item-description {
  margin-top: 6px;
  color: #666;
}

.text-btn {
  border: 0;
  background: none;
  color: var(--red);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.fx-box {
  background: #111;
  color: #fff;
  padding: 20px;
}

.fx-box h3 {
  color: #fff;
}

.fx-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #333;
}

/* Footer */
.t3-footer {
  margin-top: 24px;
}

.t3-footer .container {
  background: #111;
  color: #999;
  padding: 48px 40px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
}

.footer-logo {
  background: #222;
  padding: 24px;
  position: relative;
}

@media (max-width: 992px) {
  .footer-logo {
      display:none
  }
}

@media (min-width: 1199px) {
  .footer-logo {
      padding-left:40px;
      margin-left: -60px;
  }
}
.footer-logo:before {
  border-right: 20px solid var(--red);
  border-top: 20px solid transparent;
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
}

.footer-logo img {
  max-height: 56px;
}

.footer-logo p {
  margin: 10px 0 0;
  color: #ccc;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.footer-links a {
  color: #e5e5e5;
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 992px) {
  .footer-links {
    display: none;
  }
}

.copyright {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #222;
  font-size: 12px;
}

.footer-contacts {
  margin: 0 0 8px;
  color: #ccc;
}

.footer-contacts a {
  color: #e5e5e5;
}

.footer-contacts a:hover {
  color: #fff;
}

/* Off canvas */
.off-canvas {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.off-canvas.open {
  pointer-events: auto;
}

.off-canvas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}

.off-canvas.open .off-canvas-backdrop {
  opacity: 1;
}

.off-canvas-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: #111;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.25s;
  padding: 24px 20px;
  overflow: auto;
}

.off-canvas.open .off-canvas-panel {
  transform: none;
}

.off-canvas-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #222;
  font-family: var(--font-alt);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
  z-index: 10;
}

.back-to-top.visible {
  display: block;
}

.empty-state,
.page-title {
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.search-form input {
  flex: 1;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 15px;
}

.search-form button,
.btn {
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.search-summary {
  margin: -8px 0 20px;
  font-size: 15px;
  color: #555;
}

.search-summary .search-term {
  color: #111;
  font-weight: 700;
}

.search-summary .search-count {
  color: var(--red);
  font-weight: 700;
}

mark.search-hit {
  background: #ffe34d;
  color: inherit;
  padding: 0 0.05em;
  font-weight: inherit;
}

.search-results .card-title {
  color: var(--red);
}

.btn.ghost {
  background: #e5e5e5;
  color: #666;
  width: 100%;
}

.spotlight {
  margin-bottom: 32px;
  max-width: 100%;
}

.spotlight .spotlight-slide {
  min-width: 0;
}

.spotlight-media {
  position: relative;
}

.spotlight-image {
  display: block;
  overflow: hidden;
  background: #ddd;
}

.spotlight-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.spotlight-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.spotlight-label {
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.spotlight-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spotlight-count {
  font-size: 13px;
  opacity: 0.9;
}

.spotlight-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.spotlight-btn:hover {
  background: #fff;
  color: #111;
}

.spotlight-cat {
  position: absolute;
  left: 0;
  bottom: -12px;
}

.spotlight-title {
  margin: 24px 0 8px;
  font-size: 32px;
}

.spotlight-title a {
  color: var(--text);
  text-decoration: none;
}

.spotlight-title a:hover {
  color: var(--red);
}

.spotlight-date {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.spotlight-excerpt {
  color: #666;
  font-size: 15px;
  margin: 0;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar {
    display: none;
  }

  .logo-lg { display: none; }
  .logo .logo-sm { display: block; max-height: 34px; width: auto; max-width: none; }

  .header-left {
    flex: 0 0 auto;
  }

  .header-right {
    display: none;
  }

  .topbar-search {
    position: static;
    height: auto;
    margin-left: auto;
    flex: 0 1 auto;
    min-width: 0;
  }

  .topbar-search input {
    width: min(160px, 36vw);
    min-width: 0;
  }

  .header-widgets,
  .t3-mainnav,
  .sidebar {
    display: none;
  }

  .featured,
  .grid-cards,
  .forecast,
  .footer-grid,
  .footer-links,
  .weather-hero {
    grid-template-columns: 1fr;
  }

  .list-item {
    grid-template-columns: 120px 1fr;
  }

  .article-page h1 {
    font-size: 26px;
  }

  .spotlight-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .forecast {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .forecast-day {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "weekday temp"
      "date temp"
      "label label";
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 10px;
  }

  .forecast-day:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .forecast-weekday {
    grid-area: weekday;
    font-size: 14px;
    color: var(--text);
  }

  .forecast-day .card-date {
    grid-area: date;
    font-size: 12px;
  }

  .forecast-temp {
    display: flex;
    grid-area: temp;
    align-items: center;
    gap: 4px;
  }

  .forecast-icon {
    margin: 0;
    flex: 0 0 28px;
  }

  .forecast-day strong {
    font-size: 22px;
    line-height: 1;
  }

  .forecast-temp span {
    color: var(--muted);
    font-size: 12px;
  }

  .forecast-day small {
    grid-area: label;
    color: #666;
    font-size: 12px;
    line-height: 1.3;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .list-cards {
    gap: 28px;
  }

  .list-item {
    position: relative;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .list-item .media-frame {
    aspect-ratio: 4 / 3;
  }

  .list-item .cat-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: #fff !important;
    color: #333;
    border: 1px solid #000;
    font-family: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
    padding: 3px 6px;
  }

  .list-item .card-title {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.3;
  }

  .list-item .card-excerpt {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .list-cards {
    gap: 28px;
  }

  .list-item {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-width: 0;
  }

  .list-item > div:not(.media-frame) {
    display: contents;
  }

  .list-item .media-frame {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .list-item .media-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .list-item .cat-badge {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    z-index: 1;
    background: #fff !important;
    color: #333;
    border: 1px solid #000;
    font-family: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
    padding: 3px 6px;
  }

  .list-item .card-title {
    grid-column: 1;
    grid-row: 2;
    margin: 12px 0 6px;
    font-size: 22px;
    line-height: 1.3;
  }

  .list-item .card-date {
    grid-column: 1;
    grid-row: 3;
  }

  .list-item .card-excerpt {
    grid-column: 1;
    grid-row: 4;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 768px) {
  .weather-bar {
    display: none;
  }

  .card-title,
  .featured-lead .card-title {
    font-size: 20px;
  }
}
