/* ==========================================================================
   TJ SKOROTICE
   Fotbalový klub od roku 1946

   Styl:
   moderní / sportovní / výrazný / klubový / červenočerný
   ========================================================================== */


/* --------------------------------------------------------------------------
   0) Project palette
   -------------------------------------------------------------------------- */

:root {
  --project: #E31E24;
  --project-dark: #B8141A;
  --project-deep: #7F0D12;
  --project-light: #F04A4F;

  --club-black: #101112;
  --club-black-soft: #17191B;
  --club-anthracite: #222529;
  --club-graphite: #2D3136;

  --bg-body: #F3F4F5;
  --bg-soft: #F7F7F7;
  --bg-card: #FFFFFF;
  --bg-dark: #17191B;
  --bg-deep: #0D0E0F;

  --text-body: #17191B;
  --text-muted: #6C7075;
  --text-light: #FFFFFF;

  --border-base: rgba(16, 17, 18, .11);
  --border-soft: rgba(16, 17, 18, .07);
  --border-light: rgba(255, 255, 255, .12);

  --shadow-soft: 0 18px 48px rgba(16, 17, 18, .08);
  --shadow-card: 0 24px 64px rgba(16, 17, 18, .14);
  --shadow-red: 0 16px 36px rgba(227, 30, 36, .28);

  --gradient-project:
    linear-gradient(
      135deg,
      #F0282E 0%,
      #E31E24 48%,
      #A81116 100%
    );

  --gradient-dark:
    linear-gradient(
      135deg,
      #1B1D1F 0%,
      #0D0E0F 100%
    );

  --gradient-club:
    linear-gradient(
      135deg,
      #0D0E0F 0%,
      #1A1C1E 58%,
      #2B0B0D 100%
    );

  --radius-xl: 22px;
  --radius-lg: 14px;
  --radius-md: 9px;
  --radius-sm: 5px;

  --header-height: 104px;
}


/* --------------------------------------------------------------------------
   1) Base
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-body);
  color: var(--text-body);
}

body {
  overflow-x: hidden;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    opacity .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

a:hover {
  color: var(--project);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(227, 30, 36, .28);
  color: var(--text-body);
}

.text-muted {
  color: var(--text-muted) !important;
}

.bg-project {
  background: var(--project) !important;
  color: #fff !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-body);
  font-weight: 900;
  letter-spacing: -.035em;
}

.section-space {
  position: relative;
  padding: 6rem 0;
}

.section-soft-bg {
  background:
    radial-gradient(
      900px 420px at 10% 0%,
      rgba(227, 30, 36, .06),
      transparent 65%
    ),
    var(--bg-soft);
}


/* --------------------------------------------------------------------------
   2) Section headings
   -------------------------------------------------------------------------- */

.section-head {
  max-width: 760px;
  margin: 0 auto 3.4rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.section-head-row > div {
  max-width: 760px;
}

.section-head h2,
.section-head-row h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 950;
  line-height: 1.02;
  text-transform: uppercase;
}

.section-head p:not(.section-kicker),
.section-head-row p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-kicker,
.kicker {
  display: block;
  margin: 0 0 .82rem;
  color: var(--project);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.section-kicker::after {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-top: .65rem;
  background: var(--project);
  transform: skewX(-15deg);
}

.text-center .section-kicker::after,
.section-head.text-center .section-kicker::after {
  margin-right: auto;
  margin-left: auto;
}

.link-more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .5rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--project);
  color: var(--project);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.link-more:hover {
  color: var(--project-dark);
  border-color: var(--project-dark);
}

.link-more span {
  transition: transform .2s ease;
}

.link-more:hover span {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   3) Header / navigation
   -------------------------------------------------------------------------- */

#site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(8, 9, 10, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav,
#site-header .navbar {
  min-height: var(--header-height);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
}

.navbar-brand img {
  width: auto;
  max-height: 78px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, .88) !important;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
  padding-right: .9rem !important;
  padding-left: .9rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: #fff !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: .9rem;
  bottom: .15rem;
  left: .9rem;
  height: 3px;
  background: var(--project);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  width: 48px;
  height: 44px;
  padding: .5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(227, 30, 36, .24);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.header-phone {
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
}

.header-phone:hover {
  color: var(--project);
}

/* ==========================================================================
   Subpage hero
   ========================================================================== */

.subpage-hero {
       position: relative;
       min-height: 940px;
       display: flex;
       align-items: center;
       justify-content: center;
       background-size: cover;
       background-repeat: no-repeat;
       background-position: bottom;
   }

/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */
.subpage-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Title
   -------------------------------------------------------------------------- */
.subpage-hero__title {
       display: inline-block;
       position: relative;
       margin: 0;
       padding: 12px 45px;
       color: #fff;
       font-weight: 700;
       text-shadow:
           0 2px 4px rgba(0, 0, 0, .35),
           0 5px 15px rgba(0, 0, 0, .20);
       background: linear-gradient(
         90deg,
         rgba(24, 13, 15, 0) 0%, 
         rgba(24, 13, 15, .40) 12%,
         rgba(24, 13, 15, .70) 28%,
         rgba(24, 13, 15, .80) 50%,
         rgba(24, 13, 15, .70) 72%,
         rgba(24, 13, 15, .40) 88%,
         rgba(24, 13, 15, 0) 100%
     );
   }

/* --------------------------------------------------------------------------
   4) Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-project {
  border: 1px solid var(--project) !important;
  background: var(--gradient-project) !important;
  color: #fff !important;
  box-shadow: var(--shadow-red);
}

.btn-project:hover,
.btn-project:focus {
  border-color: var(--project-dark) !important;
  background:
    linear-gradient(
      135deg,
      #E31E24 0%,
      #C5161C 52%,
      #850C11 100%
    ) !important;
  color: #fff !important;
  box-shadow: 0 20px 44px rgba(227, 30, 36, .34);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .52) !important;
  background: rgba(0, 0, 0, .12) !important;
  color: #fff !important;
  backdrop-filter: blur(7px);
}

.btn-outline-light:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--bg-deep) !important;
}

.btn-dark {
  border: 1px solid var(--bg-deep) !important;
  background: var(--bg-deep) !important;
  color: #fff !important;
}

.btn-dark:hover {
  border-color: var(--project) !important;
  background: var(--project) !important;
  color: #fff !important;
}

.btn-lg {
  min-height: 56px;
  padding: .9rem 1.5rem;
}


/* --------------------------------------------------------------------------
   5) Hero
   -------------------------------------------------------------------------- */

.club-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--bg-deep);
}

.club-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.club-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.club-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 10, .98) 0%,
      rgba(8, 9, 10, .94) 25%,
      rgba(8, 9, 10, .76) 46%,
      rgba(8, 9, 10, .31) 72%,
      rgba(8, 9, 10, .12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 9, 10, .25) 0%,
      rgba(8, 9, 10, .05) 58%,
      rgba(8, 9, 10, .7) 100%
    );
}

.club-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .17;
  background:
    repeating-linear-gradient(
      116deg,
      transparent 0,
      transparent 70px,
      rgba(227, 30, 36, .19) 71px,
      rgba(227, 30, 36, .19) 73px
    );
}

.club-hero-container {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 760px;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
}

.club-hero-copy {
  width: min(640px, 100%);
}

.hero-kicker {
  margin: 0 0 1rem;
  color: var(--project);
  font-size: .88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.hero-title {
  max-width: 12ch;
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: clamp(3.5rem, 6vw, 6.2rem);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.hero-title span {
  color: #fff;
}

.hero-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 7px;
  margin-top: 1.2rem;
  background: var(--project);
  transform: skewX(-18deg);
}

.hero-text {
  max-width: 590px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.club-hero-logo {
  width: clamp(200px, 24vw, 350px);
  margin-right: 1rem;
  filter:
    drop-shadow(0 28px 46px rgba(0, 0, 0, .42))
    drop-shadow(0 0 34px rgba(227, 30, 36, .17));
}

.club-hero-logo img {
  width: 100%;
  height: auto;
}

.club-hero-brush {
  position: absolute;
  right: -6%;
  bottom: -35px;
  left: -6%;
  z-index: 5;
  height: 85px;
  background: var(--bg-body);
  clip-path:
    polygon(
      0 58%,
      8% 51%,
      16% 62%,
      27% 44%,
      38% 57%,
      49% 42%,
      61% 59%,
      73% 43%,
      86% 53%,
      100% 39%,
      100% 100%,
      0 100%
    );
}


/* --------------------------------------------------------------------------
   6) News
   -------------------------------------------------------------------------- */

.home-news {
  background:
    radial-gradient(
      700px 320px at 100% 0%,
      rgba(227, 30, 36, .07),
      transparent 65%
    ),
    var(--bg-body);
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.news-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-dark);
}

.news-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(0, 0, 0, .28) 100%
    );
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-date {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: .7rem .65rem;
  background: var(--project);
  color: #fff;
  text-align: center;
  line-height: 1;
}

.news-card-date strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 950;
}

.news-card-date span {
  margin-top: .25rem;
  color: rgba(255, 255, 255, .8);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.news-card-body {
  padding: 1.5rem 1.45rem 1.65rem;
}

.news-card-category {
  margin: 0 0 .55rem;
  color: var(--project);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.news-card h3 {
  margin: 0 0 .75rem;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.3;
}

.news-card p:not(.news-card-category) {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.68;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--project);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-card-link:hover {
  color: var(--project-dark);
}

.news-card-link span {
  transition: transform .2s ease;
}

.news-card-link:hover span {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   7) Club quick links
   -------------------------------------------------------------------------- */

.home-club-links {
  position: relative;
  padding: 0;
  background: var(--gradient-dark);
}

.club-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid rgba(255, 255, 255, .08);
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.club-link-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 180px;
  padding: 2rem 1.55rem;
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  overflow: hidden;
}

.club-link-item:last-child {
  border-right: 0;
}

.club-link-item::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--project);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.club-link-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, .025);
}

.club-link-item:hover::before {
  transform: scaleX(1);
}

.club-link-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-right: 1rem;
  border: 1px solid rgba(227, 30, 36, .38);
  background: rgba(227, 30, 36, .07);
  color: var(--project);
  font-size: 1.55rem;
}

.club-link-content {
  display: flex;
  flex-direction: column;
}

.club-link-content strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.club-link-content small {
  margin-top: .35rem;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  line-height: 1.45;
}

.club-link-arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  color: var(--project);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-5px);
  transition:
    opacity .2s ease,
    transform .2s ease;
}

.club-link-item:hover .club-link-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* --------------------------------------------------------------------------
   8) About club
   -------------------------------------------------------------------------- */

.home-about-club {
  background: #fff;
}

.about-club-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 4.5rem;
  align-items: center;
}

.about-club-media {
  position: relative;
}

.about-club-media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 150px;
  height: 150px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(227, 30, 36, .16) 0,
      rgba(227, 30, 36, .16) 3px,
      transparent 3px,
      transparent 11px
    );
}

.about-club-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.about-club-year {
  position: absolute;
  right: -22px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  padding: 1.25rem 1.45rem;
  background: var(--gradient-project);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.about-club-year strong {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 950;
  line-height: 1;
}

.about-club-year span {
  margin-top: .4rem;
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.about-club-copy h2 {
  margin: 0 0 1.35rem;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  font-weight: 950;
  line-height: 1.04;
  text-transform: uppercase;
}

.about-club-copy p {
  margin: 0 0 1.05rem;
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.8;
}

.about-club-copy .about-lead {
  color: var(--text-body);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.72;
}

.about-club-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  margin: 1.7rem 0 2rem;
}

.about-club-stat {
  padding: 1rem;
  border-left: 4px solid var(--project);
  background: var(--bg-soft);
}

.about-club-stat strong {
  display: block;
  color: var(--text-body);
  font-size: 1.3rem;
  font-weight: 950;
}

.about-club-stat span {
  display: block;
  margin-top: .15rem;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   9) Youth section
   -------------------------------------------------------------------------- */

.home-youth {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .025),
      transparent
    ),
    var(--gradient-club);
}

.home-youth-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .02);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.home-youth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.home-youth-copy h2 {
  margin: 0 0 1.2rem;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 950;
  line-height: 1.04;
  text-transform: uppercase;
}

.home-youth-copy > p:not(.section-kicker) {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, .67);
  line-height: 1.75;
}

.home-youth-list {
  display: grid;
  gap: .75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.home-youth-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  font-weight: 600;
}

.home-youth-list i {
  flex: 0 0 auto;
  margin-top: .1rem;
  color: var(--project);
}

.home-youth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.home-youth-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.home-youth-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(13, 14, 15, .5),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(13, 14, 15, .36)
    );
}

.home-youth-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   10) Matches
   -------------------------------------------------------------------------- */

.home-matches {
  background: #fff;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.match-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--project);
}

.match-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem 1.05rem 1.75rem;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
}

.match-competition {
  color: var(--project);
  font-size: .73rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.match-card-top time {
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 700;
}

.match-card-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem 1.5rem;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.match-team img,
.match-team-placeholder {
  width: 76px;
  height: 76px;
  margin-bottom: .75rem;
  object-fit: contain;
}

.match-team-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-base);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 900;
}

.match-team strong {
  color: var(--text-body);
  font-size: .92rem;
  font-weight: 900;
}

.match-versus {
  color: var(--project);
  font-size: .78rem;
  font-weight: 950;
}

.match-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 1rem 1.75rem;
  border-top: 1px solid var(--border-soft);
}

.match-card-bottom > span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-muted);
  font-size: .78rem;
}

.match-card-bottom a {
  color: var(--project);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
}


/* --------------------------------------------------------------------------
   11) Partners
   -------------------------------------------------------------------------- */

.home-partners {
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 135px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 17, 18, .05);
  filter: grayscale(1);
  opacity: .75;
}

.partner-item:hover {
  border-color: rgba(227, 30, 36, .22);
  box-shadow: var(--shadow-soft);
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
}

.partner-item img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.partners-action {
  margin-top: 2.2rem;
}


/* --------------------------------------------------------------------------
   12) Contact + recruitment
   -------------------------------------------------------------------------- */

.home-contact-recruit {
  position: relative;
  overflow: hidden;
}

.contact-recruit-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.club-contact-panel {
  background: #fff;
}

.club-contact-inner {
  max-width: 640px;
  margin-left: auto;
  padding: 5rem 4rem 5rem 2rem;
}

.club-contact-inner h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 950;
  text-transform: uppercase;
}

.club-contact-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.club-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  color: var(--text-body);
}

.club-contact-item:hover {
  color: var(--project);
  transform: translateX(3px);
}

.club-contact-item > i {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(227, 30, 36, .09);
  color: var(--project);
  font-size: 1rem;
}

.club-contact-item span {
  display: flex;
  flex-direction: column;
}

.club-contact-item small {
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.club-contact-item strong {
  color: var(--text-body);
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.5;
}

.club-recruit-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--bg-deep);
}

.club-recruit-media {
  position: absolute;
  inset: 0;
}

.club-recruit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-recruit-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(13, 14, 15, .96) 0%,
      rgba(13, 14, 15, .83) 42%,
      rgba(13, 14, 15, .38) 100%
    ),
    linear-gradient(
      180deg,
      transparent,
      rgba(13, 14, 15, .55)
    );
}

.club-recruit-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  min-height: 520px;
  padding: 4.5rem;
}

.club-recruit-content h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 950;
  line-height: .98;
  text-transform: uppercase;
}

.club-recruit-content > p:not(.section-kicker) {
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, .71);
  font-size: 1rem;
  line-height: 1.75;
}


/* --------------------------------------------------------------------------
   13) Footer compatibility
   -------------------------------------------------------------------------- */

#site-footer,
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, .63);
}

#site-footer h2,
#site-footer h3,
#site-footer h4,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: #fff;
}

#site-footer a,
.site-footer a {
  color: rgba(255, 255, 255, .72);
}

#site-footer a:hover,
.site-footer a:hover {
  color: var(--project);
}


/* --------------------------------------------------------------------------
   14) CMS content
   -------------------------------------------------------------------------- */

.cms-content {
  max-width: 840px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
}

.cms-content > * + * {
  margin-top: 1.2em;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
  margin-top: 1.8em;
  margin-bottom: .75em;
  font-weight: 950;
}

.cms-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  text-transform: uppercase;
}

.cms-content h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.cms-content a {
  color: var(--project);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(227, 30, 36, .32);
  text-underline-offset: 3px;
}

.cms-content a:hover {
  color: var(--project-dark);
}

.cms-content img {
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.cms-content blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 5px solid var(--project);
  background: var(--bg-soft);
  color: var(--text-body);
}

.cms-content ul,
.cms-content ol {
  padding-left: 1.35rem;
}

.cms-content li + li {
  margin-top: .45rem;
}


/* --------------------------------------------------------------------------
   15) Gallery categories
   -------------------------------------------------------------------------- */

.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-category-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  box-shadow: var(--shadow-soft);
}

.gallery-category-card a {
  display: block;
  height: 100%;
  color: #fff;
}

.gallery-category-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-category-card:hover img {
  transform: scale(1.05);
}

.gallery-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(13, 14, 15, .02) 25%,
      rgba(13, 14, 15, .94) 100%
    );
  pointer-events: none;
}

.gallery-category-card-content {
  position: absolute;
  right: 1.4rem;
  bottom: 1.3rem;
  left: 1.4rem;
  z-index: 2;
}

.gallery-category-card-content h3 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-category-card-content span {
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   16) Cookie preferences button
   -------------------------------------------------------------------------- */

#open_preferences_center {
  position: fixed;
  right: 0;
  bottom: 75px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 60px;
  padding: 4px 5px 4px 8px;
  border-radius: 30px 0 0 30px;
  background: var(--gradient-project);
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
  box-shadow: var(--shadow-red);
}

#open_preferences_center:hover {
  background: var(--project-dark);
  color: #fff;
}


/* --------------------------------------------------------------------------
   17) Responsive – large tablets
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {

  .club-hero-logo {
    width: 250px;
  }

  .news-grid,
  .partners-grid {
    gap: 1.15rem;
  }

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

  .club-link-item:nth-child(2) {
    border-right: 0;
  }

  .club-link-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .about-club-grid {
    gap: 3rem;
  }

  .home-youth-copy {
    padding: 3rem;
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-recruit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .club-contact-inner {
    padding-right: 3rem;
  }

  .club-recruit-content {
    padding: 3.5rem;
  }
}


/* --------------------------------------------------------------------------
   18) Responsive – tablets / mobile navigation
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {

  :root {
    --header-height: 82px;
  }

  #site-header {
    position: fixed;
  }

  .navbar-brand img {
    max-height: 60px;
  }

  #site-header .navbar-collapse {
    margin-top: .75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--radius-md);
    background: rgba(13, 14, 15, .98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  }

  .nav-link {
    padding: .85rem .7rem !important;
  }

  .nav-link::after {
    right: auto;
    bottom: .25rem;
    left: .7rem;
    width: 34px;
  }

  .club-hero,
  .club-hero-container {
    min-height: 720px;
  }

  .club-hero-logo {
    width: 210px;
    opacity: .88;
  }

  .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
  }

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

  .news-card:last-child {
    grid-column: 1 / -1;
  }

  .news-card:last-child .news-card-image {
    aspect-ratio: 16 / 7;
  }

  .about-club-grid {
    grid-template-columns: 1fr;
  }

  .about-club-media {
    max-width: 760px;
  }

  .about-club-media img {
    min-height: 440px;
  }

  .home-youth-panel {
    grid-template-columns: 1fr;
  }

  .home-youth-media {
    min-height: 420px;
  }

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

  .contact-recruit-grid {
    grid-template-columns: 1fr;
  }

  .club-contact-inner {
    max-width: none;
    padding: 4rem 2rem;
  }

  .club-recruit-content {
    max-width: 700px;
  }

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


/* --------------------------------------------------------------------------
   19) Responsive – phones
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {

  .section-space {
    padding: 4rem 0;
  }

  .section-head {
    margin-bottom: 2.4rem;
  }

  .section-head-row {
    display: block;
  }

  .section-head-row .link-more {
    margin-top: 1.2rem;
  }

  .club-hero {
    display: flex;
    align-items: flex-end;
    min-height: 760px;
  }

  .club-hero-media img {
    object-position: 62% center;
  }

  .club-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 10, .34) 0%,
        rgba(8, 9, 10, .58) 36%,
        rgba(8, 9, 10, .96) 72%,
        rgba(8, 9, 10, 1) 100%
      );
  }

  .club-hero-container {
    align-items: flex-end;
    min-height: 760px;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
  }

  .club-hero-logo {
    display: none;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(2.7rem, 11vw, 4.2rem);
  }

  .hero-text {
    font-size: 1rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .news-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .news-card:last-child {
    grid-column: auto;
  }

  .news-card:last-child .news-card-image {
    aspect-ratio: 16 / 10;
  }

  .club-links-grid {
    grid-template-columns: 1fr;
  }

  .club-link-item {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

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

  .about-club-media::before {
    top: -12px;
    left: -8px;
  }

  .about-club-media img {
    min-height: 340px;
  }

  .about-club-year {
    right: 14px;
    bottom: 14px;
    min-width: 180px;
  }

  .about-club-stats {
    grid-template-columns: 1fr;
  }

  .home-youth-copy {
    padding: 2.2rem;
  }

  .home-youth-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-youth-actions .btn {
    width: 100%;
  }

  .home-youth-media {
    min-height: 330px;
  }

  .match-card-top,
  .match-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-contact-inner {
    padding: 3.5rem 1.4rem;
  }

  .club-recruit-content {
    min-height: 500px;
    padding: 3rem 1.4rem;
  }

  .gallery-category-grid {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------------------
   20) Responsive – small phones
   -------------------------------------------------------------------------- */

@media (max-width: 575.98px) {

  :root {
    --header-height: 74px;
  }

  .container {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .navbar-brand img {
    max-height: 54px;
  }

  .club-hero,
  .club-hero-container {
    min-height: 720px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .hero-kicker {
    font-size: .73rem;
  }

  .club-link-item {
    padding: 1.6rem 1.2rem;
  }

  .club-link-icon {
    width: 52px;
    height: 52px;
  }

  .about-club-media img {
    min-height: 300px;
    border-radius: var(--radius-lg);
  }

  .about-club-year {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 2rem);
    margin: -32px auto 0;
  }

  .home-youth-copy {
    padding: 2rem 1.35rem;
  }

  .match-card-teams {
    gap: .5rem;
    padding: 1.6rem .8rem;
  }

  .match-team img,
  .match-team-placeholder {
    width: 62px;
    height: 62px;
  }

  .club-recruit-content h2 {
    font-size: 2.6rem;
  }

  #open_preferences_center {
    bottom: 24px;
    width: 58px;
    height: 54px;
    font-size: 10px;
  }
}


/* --------------------------------------------------------------------------
   21) Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .news-card:hover,
  .partner-item:hover,
  .btn:hover,
  .club-contact-item:hover {
    transform: none;
  }

  .news-card:hover .news-card-image img,
  .gallery-category-card:hover img {
    transform: none;
  }
}