:root {
  --bg: #fcf8f3;
  --bg-soft: #f5ebdf;
  --card: #ffffff;
  --ink: #172330;
  --text: #51606f;
  --accent: #b85e2b;
  --accent-soft: #f3e2d2;
  --line: #e7ddcf;
  --shadow: 0 15px 38px rgba(19, 31, 43, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(135deg, #fcf8f3 0%, #f8efe4 100%);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  width: 100%;
  min-height: 100px;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.8rem 2rem;
  gap: 3rem;
  min-height: 100px;
}

.brand {
  position: absolute;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-name span {
  color: var(--accent);
}

.brand-tag {
  font-size: 0.8rem;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.site-nav a {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink);
  transition: 0.2s ease;
  background: rgba(243, 226, 210, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.site-nav a i {
  color: var(--accent);
  font-size: 1.1rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 0;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle i {
  display: block;
  line-height: 1;
}

.menu-toggle:focus {
  outline: none;
}

.hero,
.page-hero {
  padding: 2.5rem 0 1.8rem;
}

.sports-news {
  padding: 1.8rem 0 1.2rem;
  background: linear-gradient(135deg, #fcf8f3 0%, #f8efe4 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-kicker,
.news-category {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.article-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.news-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 0.8rem;
  align-items: stretch;
}

.news-feature,
.news-tile,
.article-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.news-feature {
  position: relative;
  min-height: 390px;
}

.news-feature img,
.news-tile img {
  position: absolute;
  inset: 0;
}

.news-feature img,
.news-tile img,
.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 17, 28, 0.88) 0%, rgba(8, 17, 28, 0.52) 48%, rgba(8, 17, 28, 0.16) 100%);
}

.news-overlay {
  position: absolute;
  left: clamp(1rem, 4vw, 2.2rem);
  bottom: clamp(1rem, 4vw, 2.2rem);
  z-index: 1;
  max-width: 620px;
  color: white;
}

.news-overlay .news-category {
  color: #ffcfb0;
  margin-bottom: 0.35rem;
}

.news-overlay h2 {
  max-width: 620px;
  margin-bottom: 0.6rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 0.96;
}

.news-overlay p:last-child {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.news-stack {
  display: grid;
  gap: 0.8rem;
}

.news-tile {
  position: relative;
  min-height: 124px;
}

.news-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 28, 0.04) 0%, rgba(8, 17, 28, 0.78) 100%);
}

.news-tile div {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 1;
  color: white;
}

.news-tile .news-category {
  color: #ffcfb0;
  margin-bottom: 0.25rem;
}

.news-tile h2 {
  font-size: 0.95rem;
  line-height: 1.1;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.article-card img {
  aspect-ratio: 16 / 10;
  height: 170px;
}

.article-card .news-category,
.article-card h2,
.article-card p {
  margin-left: 1rem;
  margin-right: 1rem;
}

.article-card .news-category {
  margin-top: 0.85rem;
  margin-bottom: 0.45rem;
}

.article-card h2 {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}

.article-card p {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.sport-sections {
  display: grid;
  gap: 2rem;
  margin-top: 2.4rem;
}

.sport-section {
  padding-top: 0.2rem;
}

.sport-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(230px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.sport-card,
.more-stories {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sport-card {
  min-width: 0;
  overflow: hidden;
}

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

.sport-card h2,
.sport-card p {
  margin-left: 0.9rem;
  margin-right: 0.9rem;
}

.sport-card h2 {
  margin-top: 0.85rem;
  margin-bottom: 0.45rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.15;
}

.sport-card p {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.more-stories {
  padding: 1.1rem;
  background: linear-gradient(135deg, #fffaf4 0%, #f5ebdf 100%);
}

.more-stories .article-kicker {
  margin-bottom: 0.9rem;
}

.more-stories a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(184, 94, 43, 0.16);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.more-stories a:last-child {
  border-bottom: 0;
}

.more-stories a:hover {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.hero-copy,
.page-hero p {
  font-size: 0.95rem;
  color: var(--accent);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.1rem;
}

.hero-card h3,
.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.hero-card ul {
  list-style: none;
  margin-top: 0.6rem;
  display: grid;
  gap: 0.3rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.hero-card li i,
.card h3 i {
  color: var(--accent);
  margin-right: 0.45rem;
}

.section {
  padding: 1.5rem 0 2rem;
}

.alt-bg {
  background: rgba(255, 255, 255, 0.35);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.section-heading p {
  color: var(--accent);
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.magazine-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 3px solid var(--accent-soft);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-bottom: 4px solid transparent;
  transition: 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab-btn:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(184, 94, 43, 0.08);
  border-radius: 4px 4px 0 0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.card {
  padding: 1.2rem;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 48px rgba(184, 94, 43, 0.15);
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  background: rgba(184, 94, 43, 0.12);
  border-radius: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(135deg, rgba(184, 94, 43, 0.15), rgba(243, 226, 210, 0.3));
  border: 1px solid rgba(184, 94, 43, 0.3);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s ease;
  margin-top: 0.8rem;
}

.tag:hover {
  background: linear-gradient(135deg, rgba(184, 94, 43, 0.25), rgba(243, 226, 210, 0.5));
  border-color: var(--accent);
  transform: scale(1.05);
}

.list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.card p {
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.card p mark,
.card strong {
  background: transparent;
  color: #999999;
  padding: 0;
  border-radius: 0;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 94, 43, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  border-radius: 18px;
  resize: vertical;
}

.contact-form button {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 700;
  background: var(--accent);
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 94, 43, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-left .card {
  padding: 1.3rem;
}

.contact-left .card h3 {
  margin-bottom: 0.8rem;
}

.contact-left .card p {
  line-height: 1.8;
}

.contact-left .card i {
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 1.05rem;
}

.contact-right .card {
  padding: 1.5rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 0.75rem;
}

.footer-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 800px) {
  .news-lead,
  .article-grid,
  .sport-section-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-feature,
  .more-stories {
    grid-column: 1 / -1;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-up,
  .three-up {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 1.5rem, 1120px);
  }

  .sports-news {
    padding-top: 1.2rem;
  }

  .news-lead,
  .article-grid,
  .news-stack,
  .sport-section-grid {
    grid-template-columns: 1fr;
  }

  .sport-sections {
    gap: 1.6rem;
    margin-top: 1.8rem;
  }

  .sport-card img {
    height: 205px;
  }

  .sport-card h2 {
    font-size: 1.08rem;
  }

  .news-feature {
    min-height: 430px;
  }

  .news-feature::after {
    background: linear-gradient(180deg, rgba(8, 17, 28, 0.12) 0%, rgba(8, 17, 28, 0.86) 100%);
  }

  .news-overlay {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .news-overlay h2 {
    font-size: 2.15rem;
    line-height: 1;
  }

  .news-tile {
    min-height: 190px;
  }

  .article-card h2 {
    font-size: 1.05rem;
  }

  .article-card img {
    height: 205px;
  }

  .brand {
    left: 0.5rem;
  }

  .menu-toggle {
    right: 0.5rem;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 22px rgba(19, 31, 43, 0.08);
    font-size: 1.35rem;
    z-index: 2;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    border: 1px solid var(--line);
    padding: 0.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .magazine-tabs {
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 0.6rem 0.5rem;
    background: rgba(243, 226, 210, 0.45);
    border-bottom-width: 3px;
    border-radius: 6px 6px 0 0;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .card-grid,
  .four-up {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1rem;
    min-width: 0;
  }

  .card h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .card p {
    font-size: 0.9rem;
  }

  .meta {
    gap: 0.45rem;
  }

  .meta span {
    padding: 0.28rem 0.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
