/*
Theme Name: Hunmanby FC
Author: Dermot Flanagan
Text Domain: hunfc
*/

:root {
  --color-white: #f4f1ea;
  --color-orange: #ff6b10;
  --color-gold: #c9a24b;
  --color-black: #1c1b19;
  --color-surface: #2e2c26;
  --color-surface-dark: #1a1916;
  --color-border: #c7c6c4;
  --color-border-2: rgba(244, 241, 234, 0.12);
  --color-black-muted: #a8a59e;
  --color-orange-muted: #b9774d9f;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/ArchivoBlack-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Road Rage";
  src: url("assets/fonts/RoadRage-Regular.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  background-color: var(--color-white);
  color: var(--color-black);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
}

.overline {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
}
h1,
.h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
h2,
.h2 {
  font-size: 2.25rem;
  line-height: 1.2;
}
h3,
.h3 {
  font-size: 2rem;
  line-height: 1.2;
}
h4,
.h4 {
  font-size: 1.5rem;
  line-height: 1.5rem;
}
h5,
.h5 {
  font-size: 1.25rem;
  line-height: 1.25rem;
}
h6,
.h6 {
  font-size: 1.125rem;
  line-height: 1.4;
}

ul {
  padding-inline-start: 0;
}

.container,
.block-group,
.rank-math-html-sitemap {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 24px;
}

.fluentform {
}

#fluentform_3 .ff-el-input--content {
  display: flex;
  flex-wrap: wrap;
}

.ff-el-form-check-label input[type="radio"] {
  width: 0px;
  height: 0px;
}

.block-group .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  margin-block: 48px;
  gap: 24px;
}

.accent {
  color: var(--color-orange);
}

.hero-slider .splide__pagination {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap !important;
  padding-block: 0 !important;
  padding-inline: 24px !important;
}

.splide__pagination li {
  width: 100%;
}

.splide__pagination__page {
  height: 4px !important;
  border-radius: 0 !important;
  width: 100% !important;
  background-color: var(--color-surface);
  padding: 0;
  margin-bottom: 8px !important;
  margin-inline: 0 !important;
}
.splide__pagination__page.is-active {
  transform: unset !important;
  background-color: var(--color-orange) !important;
  opacity: 1 !important;
}

#main-content > .sponsors-grid__container:last-child {
  margin-bottom: -60px;
}

.cta {
  text-decoration: none;
  color: var(--color-white);
  padding: 12px 24px;
  border: 1px solid var(--color-border-2);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: fit-content;
}

.cta--primary {
  color: var(--color-black);
  background-color: var(--color-orange);
}

.cta:hover {
  transform: scale(1.05);
  text-decoration: underline;
  color: var(--color-black);
  background-color: var(--color-white);
}

.cta--glass {
  backdrop-filter: blur(2px);
  background: #ffffff20;
}

.rank-math-html-sitemap__list {
  padding-inline-start: 20px;
}

.rank-math-html-sitemap__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-math-html-sitemap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.container .container {
  padding-inline: 0;
}

.wp-block-image {
  max-height: 500px;
}
.wp-block-image img {
  object-fit: cover;
}

.wp-block-gallery {
  max-width: 1000px;
  margin-inline: auto;
  margin-block: 24px;
}

@media (min-width: 980px) {
  .container,
  .block-group .rank-math-html-sitemap {
    padding-inline: 48px;
  }
  .block-group .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
}
