/*
Theme Name: Ultra Fixed Matches
Theme URI: https://example.com/ultra-fixed-matches
Author: ProBets
Author URI: https://example.com
Description: Ultra lightweight WordPress theme for fixed matches and football tips websites. Built for fast loading, clean SEO structure, responsive tables, and direct WordPress upload.
Version: 1.0.0
Requires at least: 5.8
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: ultra-fixed-matches
Tags: blog, news, custom-menu, custom-logo, featured-images, one-column, two-columns
*/

:root {
  --bg: #080a0e;
  --surface: #ffffff;
  --surface-soft: #f3f6f9;
  --ink: #121821;
  --muted: #5c6673;
  --line: #d7dde5;
  --green: #098c46;
  --green-dark: #076934;
  --red: #d3152b;
  --gold: #f0c646;
  --blue: #123c69;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

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

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

.site {
  width: min(1160px, calc(100% - 28px));
  margin: 14px auto 24px;
  background: var(--surface);
  border: 1px solid #ffffff;
}

.site-header {
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .38)),
    repeating-linear-gradient(90deg, #0d1117 0 34px, #141a22 34px 68px);
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 190px;
  padding: 30px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  border: 4px solid #ffffff;
  background: var(--green);
  color: #ffffff;
  font-size: 46px;
  font-weight: 900;
}

.custom-logo-link {
  display: block;
  width: 96px;
}

.site-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 7vw, 76px);
  line-height: .92;
  text-transform: uppercase;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-description {
  margin: 8px 0 0;
  color: var(--gold);
  font-size: clamp(17px, 3vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav {
  background: var(--green);
  border-top: 1px solid rgba(255, 255, 255, .24);
}

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

.main-nav a {
  display: block;
  padding: 12px 16px;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--green-dark);
  color: #ffffff;
}

.layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.content,
.sidebar {
  min-width: 0;
}

.content {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.entry,
.widget {
  margin: 0 0 18px;
}

.section-title,
.entry-title,
.widget-title {
  margin: 0 0 12px;
  padding: 8px 10px;
  background: var(--green);
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.entry-title {
  background: #111827;
  font-size: clamp(24px, 4vw, 38px);
}

.lead {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.notice {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-strip {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 18px;
  background: #111827;
  color: #ffffff;
  text-align: center;
}

.hero-strip strong {
  color: var(--gold);
  font-size: clamp(24px, 5vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.hero-strip span {
  font-weight: 700;
}

.cta-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.cta-card,
.stat-card {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  text-align: center;
}

.cta-card strong,
.stat-card strong {
  display: block;
  color: var(--red);
  font-size: 24px;
  line-height: 1.1;
}

.button-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--red);
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

.button-link:hover,
.button-link:focus {
  background: #a80f21;
  color: #ffffff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 9px;
  border: 1px solid var(--line);
  text-align: center;
}

th {
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
}

td:first-child,
td:nth-child(2) {
  text-align: left;
}

tbody tr:nth-child(even) {
  background: #f8fafc;
}

.win {
  color: var(--green);
  font-weight: 900;
}

.loss {
  color: var(--red);
  font-weight: 900;
}

.widget ul {
  margin: 0;
  padding-left: 18px;
}

.widget li {
  margin-bottom: 7px;
}

.contact-box {
  padding: 14px;
  background: #111827;
  color: #ffffff;
}

.contact-box a {
  color: var(--gold);
  overflow-wrap: anywhere;
}

.seo-block {
  color: #2f3742;
  font-size: 13px;
  text-align: justify;
}

.site-footer {
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #111827;
  color: #ffffff;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .content {
    border-left: 0;
    padding-left: 0;
  }

  .sidebar {
    order: 2;
  }
}

@media (max-width: 620px) {
  .site {
    width: 100%;
    margin: 0;
    border: 0;
  }

  .brand {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px 16px;
  }

  .brand-mark,
  .custom-logo-link {
    width: 72px;
  }

  .main-nav li {
    flex: 1 1 50%;
  }

  .main-nav a {
    min-height: 42px;
    padding: 11px 8px;
    text-align: center;
  }

  .layout {
    padding: 14px;
  }

  .cta-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
