﻿/*
Theme Name: Foot ile de France
Author: SEOO 500 France
Description: Theme WordPress
Version: 1.0
*/

:root {
  --bg: #070b13;
  --bg-soft: #0f172a;
  --panel: #111827;
  --panel-2: #0b1220;
  --line: #1f2937;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --brand: #e11b35;
  --brand-soft: #fb7185;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(1200px 600px at 85% -20%, rgba(225, 27, 53, 0.16), transparent 65%),
    radial-gradient(800px 500px at -10% 0%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.55;
  padding-top: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.38);
}

body.admin-bar .topbar,
html.wp-toolbar .topbar {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .topbar,
  html.wp-toolbar .topbar {
    top: 46px;
  }
}

main {
  animation: fade-in 0.45s ease-out both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: #f8fafc;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brand-soft);
}

.text-inherit {
  color: inherit;
}

.hero {
  margin-top: 0;
  padding: 1.25rem 0 0.5rem;
}

.page-title,
.retro-title {
  letter-spacing: -0.02em;
}

.btc-line {
  height: 1px;
  width: 100%;
  margin: 0.75rem 0 0;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.6), transparent);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.25rem 0 1.25rem;
}

.tag-pill {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.75rem;
  text-transform: uppercase;
}

.hero-main {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--panel);
}

.hero-main .card-bg {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 12%, rgba(2, 6, 23, 0.84) 100%);
}

.hero-title {
  font-size: clamp(1.2rem, 1.65vw, 1.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.meta,
.news-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-sidebar {
  display: grid;
  gap: 0.85rem;
}

.card-small {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(11, 18, 32, 0.95));
  padding: 0.65rem;
}

.card-small img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 0.7rem;
}

.card-small .card-label {
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(2, 6, 23, 0.72);
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-card {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.78));
  margin-bottom: 0.85rem;
}

.news-thumb,
.news-card img {
  width: 170px;
  height: 102px;
  object-fit: cover;
  border-radius: 0.7rem;
}

.news-category {
  color: #fda4af;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.news-content h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.blog-card,
.related-posts,
.comment-respond,
.comment-list > li {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0.95rem;
  background: rgba(15, 23, 42, 0.8);
}

.entry-content p,
.entry-content li {
  color: #dbe4f0;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.entry-content img {
  border-radius: 0.8rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  margin: 0 0.2rem;
  padding: 0 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.88rem;
}

.page-numbers.current {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.subnav-link {
  color: #e2e8f0;
  text-decoration: none;
}

.subnav-link:hover {
  color: #fff;
}

ul.related-posts-list {
  margin: 0;
}

ul.related-posts-list a {
  text-decoration: none;
}

.others-articles a {
  color: #7dd3fc;
}

.others-articles a:hover {
  color: #bae6fd;
}

.footer-widget .widget-title {
  margin: 0 0 0.65rem;
  color: #f8fafc;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget li + li {
  margin-top: 0.4rem;
}

.archive-side-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-side-menu a {
  display: block;
  border-radius: 0.55rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.92rem;
  color: #dbe4f0;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.archive-side-menu a:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #fff;
}

@media (max-width: 1024px) {
  .hero-main .card-bg {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 0.85rem;
  }

  .news-card {
    gap: 0.65rem;
    padding: 0.72rem;
  }

  .news-thumb,
  .news-card img {
    width: 120px;
    height: 80px;
  }

  .hero-main .card-bg {
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .news-card {
    flex-direction: column;
  }

  .news-thumb,
  .news-card img {
    width: 100%;
    height: 180px;
  }
}
