
:root{
  --ffc-red:#d71920;
  --ffc-blue:#0d2b57;
  --ffc-navy:#08192d;
  --ffc-ink:#111820;
  --ffc-muted:#6f7882;
  --ffc-bg:#f4f6f8;
  --ffc-white:#fff;
  --ffc-radius:22px;
  --ffc-content:820px;
  --ffc-wide:1240px;
}

.ffc-news{background:#fff;color:var(--ffc-ink);overflow:hidden}
.ffc-news *, .ffc-news *:before, .ffc-news *:after{box-sizing:border-box}

.ffc-hero{
  position:relative;
  max-width:var(--ffc-wide);
  margin:28px auto 60px;
  padding:0 24px;
}

.ffc-hero__media{
  overflow:hidden;
  border-radius:30px;
  background:linear-gradient(135deg,var(--ffc-blue),var(--ffc-navy));
  min-height:520px;
}

.ffc-hero__image{
  display:block;
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
}

.ffc-hero--landscape .ffc-hero__media{aspect-ratio:16/8.7}
.ffc-hero--landscape .ffc-hero__image{aspect-ratio:16/8.7}

.ffc-hero--landscape:after{
  content:"";
  position:absolute;
  left:24px;right:24px;bottom:0;
  height:72%;
  border-radius:0 0 30px 30px;
  background:linear-gradient(to top,rgba(4,11,20,.88),rgba(4,11,20,.44) 45%,transparent);
  pointer-events:none;
}

.ffc-hero__copy{
  position:absolute;
  z-index:2;
  left:clamp(48px,7vw,105px);
  right:clamp(48px,7vw,105px);
  bottom:clamp(48px,6vw,90px);
  color:#fff;
}

.ffc-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:13px;
  line-height:1;
  letter-spacing:.16em;
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:18px;
}

.ffc-hero__eyebrow:before{
  content:"";
  width:36px;height:4px;
  border-radius:99px;
  background:var(--ffc-red);
}

.ffc-hero__title{
  margin:0;
  max-width:1000px;
  color:#fff!important;
  font-size:clamp(42px,6vw,88px)!important;
  line-height:.95!important;
  letter-spacing:-.045em;
  font-weight:900!important;
  text-transform:uppercase;
}

.ffc-hero__meta{
  margin-top:22px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  opacity:.88;
}

.ffc-hero__meta span{padding:0 7px;color:var(--ffc-red)}

.ffc-hero__claim{
  position:absolute;
  right:0;
  bottom:-36px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  color:#fff;
}

.ffc-news--portrait .ffc-hero,
.ffc-news--square .ffc-hero{
  display:grid;
  grid-template-columns:minmax(330px,.8fr) minmax(0,1.2fr);
  min-height:650px;
}

.ffc-news--portrait .ffc-hero__media,
.ffc-news--square .ffc-hero__media{
  border-radius:30px 0 0 30px;
  min-height:650px;
}

.ffc-news--portrait .ffc-hero__image,
.ffc-news--square .ffc-hero__image{
  min-height:650px;
  object-fit:cover;
}

.ffc-news--portrait .ffc-hero__copy,
.ffc-news--square .ffc-hero__copy{
  position:relative;
  inset:auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(145deg,var(--ffc-navy),var(--ffc-blue));
  border-radius:0 30px 30px 0;
  padding:clamp(42px,6vw,90px);
}

.ffc-news--portrait .ffc-hero__claim,
.ffc-news--square .ffc-hero__claim{
  position:static;
  margin-top:50px;
}

.ffc-news--portrait .ffc-hero__title,
.ffc-news--square .ffc-hero__title{
  font-size:clamp(42px,5vw,76px)!important;
}

.ffc-news__rail{
  width:min(var(--ffc-content),calc(100% - 48px));
  margin:0 auto;
}

.ffc-news__lead{
  font-size:clamp(23px,2.6vw,34px);
  line-height:1.32;
  font-weight:750;
  letter-spacing:-.025em;
  margin:0 0 46px;
  color:#24313e;
}

.ffc-news__content{
  font-size:18px;
  line-height:1.78;
  color:#27323c;
}

.ffc-news__content p{margin:0 0 1.5em}
.ffc-news__content h2,
.ffc-news__content h3{
  color:var(--ffc-navy)!important;
  font-weight:900!important;
  letter-spacing:-.03em;
  line-height:1.08!important;
  margin:2em 0 .75em;
}
.ffc-news__content h2{font-size:clamp(30px,4vw,48px)!important}
.ffc-news__content h3{font-size:clamp(24px,3vw,34px)!important}

.ffc-news__content img{
  border-radius:18px;
  height:auto;
  max-width:100%;
}

.ffc-news__content figure.wp-block-image{
  margin:48px 0;
}

.ffc-news__content .alignwide{
  width:min(1080px,calc(100vw - 48px));
  max-width:none;
  margin-left:50%;
  transform:translateX(-50%);
}

.ffc-news__content .alignfull{
  width:100vw;
  max-width:none;
  margin-left:50%;
  transform:translateX(-50%);
}








.ffc-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 22px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  color:#fff!important;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-decoration:none!important;
}
.ffc-button--primary{background:var(--ffc-red);border-color:var(--ffc-red)}
.ffc-button:hover{transform:translateY(-1px);filter:brightness(1.08)}

.ffc-news__statement{
  width:min(1050px,calc(100vw - 48px));
  margin:70px 50%;
  transform:translateX(-50%);
  padding:58px clamp(34px,6vw,78px);
  background:var(--ffc-red);
  border-radius:26px;
  color:#fff;
}

.ffc-news__statement span{
  display:block;
  max-width:900px;
  font-size:clamp(34px,6vw,72px);
  line-height:.97;
  letter-spacing:-.045em;
  font-weight:950;
  text-transform:uppercase;
}

.ffc-next-match,
.ffc-more{
  width:min(var(--ffc-wide),calc(100% - 48px));
  margin:90px auto 0;
}

.ffc-next-match{
  padding:46px;
  border-radius:26px;
  background:var(--ffc-bg);
}

.ffc-section-label{
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ffc-red);
  margin-bottom:18px;
}

.ffc-more{
  padding-bottom:90px;
  border-top:1px solid #e7ebef;
  padding-top:72px;
}

.ffc-more__head h2{
  margin:0 0 30px;
  color:var(--ffc-navy)!important;
  font-size:clamp(34px,4.6vw,58px)!important;
  line-height:1!important;
  font-weight:950!important;
}

.ffc-more__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.ffc-card{
  display:block;
  overflow:hidden;
  background:#fff;
  border:1px solid #e7ebef;
  border-radius:20px;
  text-decoration:none!important;
  color:inherit!important;
  transition:.22s ease;
}
.ffc-card:hover{transform:translateY(-5px);box-shadow:0 18px 48px rgba(15,31,50,.12)}
.ffc-card__media{aspect-ratio:16/10;background:#e9edf1;overflow:hidden}
.ffc-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:.35s ease}
.ffc-card:hover .ffc-card__media img{transform:scale(1.035)}
.ffc-card__body{padding:22px}
.ffc-card__date{font-size:11px;font-weight:800;letter-spacing:.09em;color:var(--ffc-muted);text-transform:uppercase}
.ffc-card h3{margin:9px 0 22px!important;color:var(--ffc-navy)!important;font-size:22px!important;line-height:1.12!important;font-weight:900!important}
.ffc-card__link{font-size:11px;font-weight:900;letter-spacing:.09em;color:var(--ffc-red)}

@media (max-width:980px){
  .ffc-hero{margin-top:18px}
  .ffc-news--portrait .ffc-hero,
  .ffc-news--square .ffc-hero{grid-template-columns:44% 56%;min-height:560px}
  .ffc-news--portrait .ffc-hero__media,
  .ffc-news--square .ffc-hero__media,
  .ffc-news--portrait .ffc-hero__image,
  .ffc-news--square .ffc-hero__image{min-height:560px}
  .ffc-more__grid{grid-template-columns:1fr 1fr}
}

@media (max-width:767px){
  .ffc-hero{padding:0 14px;margin:12px auto 38px}
  .ffc-hero__media{border-radius:18px;min-height:540px}
  .ffc-hero__image{min-height:540px}
  .ffc-hero--landscape .ffc-hero__media,
  .ffc-hero--landscape .ffc-hero__image{aspect-ratio:auto}
  .ffc-hero--landscape:after{left:14px;right:14px;border-radius:0 0 18px 18px;height:78%}
  .ffc-hero__copy{left:34px;right:34px;bottom:36px}
  .ffc-hero__title{font-size:clamp(37px,11vw,58px)!important}
  .ffc-hero__claim{display:none}

  .ffc-news--portrait .ffc-hero,
  .ffc-news--square .ffc-hero{
    display:block;
    min-height:0;
  }
  .ffc-news--portrait .ffc-hero__media,
  .ffc-news--square .ffc-hero__media{
    min-height:440px;
    border-radius:18px 18px 0 0;
    aspect-ratio:4/5;
  }
  .ffc-news--portrait .ffc-hero__image,
  .ffc-news--square .ffc-hero__image{
    min-height:440px;
    aspect-ratio:4/5;
  }
  .ffc-news--portrait .ffc-hero__copy,
  .ffc-news--square .ffc-hero__copy{
    border-radius:0 0 18px 18px;
    padding:34px 28px 40px;
  }

  .ffc-news__rail{width:min(100% - 34px,var(--ffc-content))}
  .ffc-news__lead{font-size:23px;margin-bottom:34px}
  .ffc-news__content{font-size:17px;line-height:1.72}


  .ffc-news__statement{
    width:calc(100vw - 28px);
    padding:38px 27px;
    margin:54px 50%;
    border-radius:18px;
  }

  .ffc-next-match,.ffc-more{width:calc(100% - 28px);margin-top:60px}
  .ffc-next-match{padding:28px 20px}
  .ffc-more{padding-top:52px;padding-bottom:60px}
  .ffc-more__grid{grid-template-columns:1fr}
}


/* v0.1.1 – native Divi Post Content */
.ffc-news-module-wrap{
  width:min(var(--ffc-content),calc(100% - 48px));
  margin:0 auto;
}

/*
 * Give the Divi Post Content module this CSS class:
 * ffc-news-content
 * This keeps the real WordPress/Divi article content editable.
 */
.ffc-news-content{
  width:min(var(--ffc-content),calc(100% - 48px))!important;
  max-width:var(--ffc-content)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

.ffc-news-content .et_pb_module_inner,
.ffc-news-content .et_pb_post_content,
.ffc-news-content .et_pb_post_content_inner{
  width:100%!important;
  max-width:none!important;
}

.ffc-news-content,
.ffc-news-content p,
.ffc-news-content li{
  font-size:18px;
  line-height:1.78;
  color:#27323c;
}

.ffc-news-content p{margin-bottom:1.5em}
.ffc-news-content h2,
.ffc-news-content h3{
  color:var(--ffc-navy)!important;
  font-weight:900!important;
  letter-spacing:-.03em;
  line-height:1.08!important;
}
.ffc-news-content h2{font-size:clamp(30px,4vw,48px)!important}
.ffc-news-content h3{font-size:clamp(24px,3vw,34px)!important}
.ffc-news-content img{border-radius:18px;height:auto;max-width:100%}

@media (max-width:767px){
  .ffc-news-module-wrap,
  .ffc-news-content{
    width:calc(100% - 34px)!important;
  }
  .ffc-news-content,
  .ffc-news-content p,
  .ffc-news-content li{
    font-size:17px;
    line-height:1.72;
  }
}


/* v0.1.2 – Matchday stage + NewsHub */

/* Matchday: one centered game, no white-on-lightgrey card */
.ffc-news-module-wrap{
  width:100%;
  max-width:none;
}












/* Existing MatchCenter fallback inside TV-style stage */


/* NewsHub as the one canonical news surface */
.ffc-news-hub{
  width:min(var(--ffc-wide),calc(100% - 48px));
  margin:90px auto 0;
  padding:72px 0 90px;
  border-top:1px solid #e7ebef;
}

.ffc-news-hub__head{
  margin-bottom:30px;
}

.ffc-news-hub__head h2{
  margin:0;
  color:var(--ffc-navy)!important;
  font-size:clamp(34px,4.6vw,58px)!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.04em;
}

@media (max-width:767px){




  .ffc-news-hub{
    width:calc(100% - 28px);
    margin-top:60px;
    padding:52px 0 60px;
  }
}


/* v0.1.4 – use the exact FFC-TV MatchCenter presentation */
.ffc-tv-match-reference{
  width:min(1180px,calc(100% - 48px));
  margin:24px auto 64px;
  padding:0;
  background:transparent;
  text-align:center;
}

.ffc-tv-match-reference > *{
  margin-left:auto!important;
  margin-right:auto!important;
}

/*
 * Important:
 * Do not restyle the MatchCenter card here.
 * The nested output keeps the original FFC MatchCenter CSS, exactly as used on FFC-TV.
 */
.ffc-tv-match-reference .ffc-match,
.ffc-tv-match-reference [class*="matchcenter"]{
  transform:none!important;
}

@media (max-width:767px){
  .ffc-tv-match-reference{
    width:calc(100% - 28px);
    margin:18px auto 46px;
  }
}

/* v0.1.5 – MatchCenter CSS isolation + true wide layout
   IMPORTANT: No .ffc-match* rules live in this plugin anymore.
   The nested MatchCenter keeps exactly its own FFC-TV styling. */
.ffc-tv-match-reference{
  width:100vw;
  max-width:none;
  margin:28px 0 64px calc(50% - 50vw);
  padding:0 clamp(14px,3vw,36px);
  box-sizing:border-box;
  overflow:visible;
}

.ffc-tv-match-reference > *{
  width:min(1280px,100%)!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media (max-width:767px){
  .ffc-tv-match-reference{
    margin-top:18px;
    margin-bottom:46px;
    padding-left:14px;
    padding-right:14px;
  }
}


/* v0.1.6 – TV layout without FFC-TV heading in news context */

/* Hide common title/header variants only inside the news match wrapper */
.ffc-tv-match-reference .ffc-tv-title,
.ffc-tv-match-reference .ffc-tv-heading,
.ffc-tv-match-reference .ffc-matchcenter-tv-title,
.ffc-tv-match-reference .ffc-matchcenter-tv-heading,
.ffc-tv-match-reference [class*="tv-title"],
.ffc-tv-match-reference [class*="tv-heading"]{
  display:none!important;
}

/* Fallback: if the heading is the first textual block in TV layout */
.ffc-tv-match-reference > * > h1:first-child,
.ffc-tv-match-reference > * > h2:first-child,
.ffc-tv-match-reference > * > h3:first-child{
  display:none!important;
}
