/*
Theme Name: fmufc-news
Theme URI: https://live-footballtickts.lat
Author: live-footballtickts.lat Editorial Team
Author URI: https://live-footballtickts.lat
Description: A modern, editorial-style football news theme focused on clean typography, image-led cards, and performance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fmufc-news
*/

:root {
  --bg: #f6f7f9;
  --text: #1b1f24;
  --muted: #5b6775;
  --card: #ffffff;
  --line: #e3e6ea;
  --accent: #0f172a;
  --accent-soft: #111827;
  --link: #0f172a;
  --link-hover: #111827;
  --max: 1200px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover,
a:focus {
  color: var(--link-hover);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.site-title a {
  color: var(--accent);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  border-color: var(--accent);
}

.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-card,
.story-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image {
  position: relative;
  overflow: hidden;
  background: #dde3ea;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.card-title {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0;
}

.card-title a {
  color: var(--accent);
}

.card-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-excerpt {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.section-title {
  font-size: 1.25rem;
  margin: 2.5rem 0 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.story-card .card-title {
  font-size: 1.2rem;
}

.article-header {
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 2.2rem;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

.article-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.article-hero {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-content {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-content h2,
.article-content h3 {
  margin-top: 1.8rem;
}

.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list a {
  background: #eef1f5;
  color: var(--accent);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.page-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  background: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: var(--muted);
}

.cta {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.notice {
  background: #0f172a;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  display: inline-block;
}

.faq {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-item h3 {
  margin-bottom: 0.4rem;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .site-nav ul {
    flex-wrap: wrap;
    gap: 0.7rem;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-content {
    padding: 1.5rem;
  }
}
