/*
Theme Name: Volea
Theme URI: https://volea.futbol
Author: Volea
Description: Tema editorial de bloques para Volea.
Version: 0.7.1
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: volea
*/

:root {
  color-scheme: light;
}

.wp-site-blocks {
  min-height: 100vh;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

.wp-site-blocks main,
.wp-site-blocks header,
.wp-site-blocks footer {
  margin-block-start: 0;
}

.wp-block-post-template,
.wp-block-query ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-block-post-title a,
.wp-block-post-terms a,
.wp-block-post-author-name a {
  text-decoration: none;
}

.wp-block-post-excerpt__excerpt,
.wp-block-post-date,
.wp-block-post-author-name,
.wp-block-post-terms {
  margin: 0;
}

/* Header and footer */

.site-header .wordmark {
  line-height: 1;
}

.main-nav a[aria-current="page"]::after,
.main-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.footer-bottom a {
  color: inherit;
}

.footer-cookie-settings {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.match-rail-empty {
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
}

.match-rail-empty > p {
  margin: 0;
  color: rgba(255, 254, 249, 0.72);
  font-family: var(--serif);
  font-size: 0.9rem;
}

/* Query-based home page */

.home-lead .wp-block-query,
.home-lead .wp-block-post-template,
.home-lead .wp-block-post {
  min-width: 0;
}

.home-lead > .lead-story {
  display: block;
}

.lead-story .wp-block-post-template,
.lead-story .wp-block-post {
  height: 100%;
}

.lead-story .wp-block-post {
  position: relative;
  overflow: hidden;
}

.lead-media {
  height: 100%;
  margin: 0;
}

.lead-media a,
.lead-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.lead-media img {
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(0.84) contrast(1.04);
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.lead-story .wp-block-post:hover .lead-media img {
  transform: scale(1.018);
}

.lead-story .lead-copy {
  position: absolute;
  z-index: 2;
  inset: auto clamp(1.4rem, 4vw, 4rem) clamp(1.5rem, 5vw, 4.5rem);
  max-width: 850px;
}

.lead-story .wp-block-post::after {
  position: absolute;
  content: "";
  inset: 30% 0 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(8, 10, 7, 0.84));
}

.lead-story .wp-block-post-title {
  margin: 0.2rem 0 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 4.5vw, 5.1rem);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.lead-story .wp-block-post-excerpt {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 254, 249, 0.84);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  align-items: center;
  margin-top: 1.15rem;
  color: rgba(255, 254, 249, 0.72);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.story-meta > * + *::before {
  content: "·";
  margin-right: 0.8rem;
  color: var(--green);
}

.lead-support .wp-block-post-template {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  height: 100%;
}

.lead-support .wp-block-post {
  min-width: 0;
}

.lead-support .wp-block-post:first-child .support-media {
  height: clamp(310px, 28vw, 440px);
}

.support-media {
  margin: 0 0 1.15rem;
  overflow: hidden;
}

.support-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.lead-support .wp-block-post:nth-child(2) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.lead-support .wp-block-post:nth-child(2) .support-media {
  grid-column: 2;
  grid-row: 1;
  height: 145px;
  margin: 0;
}

.lead-support .wp-block-post:nth-child(2) .support-copy {
  grid-column: 1;
  grid-row: 1;
}

.support-copy .wp-block-post-title {
  margin: 0.25rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.55vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.support-copy .story-meta {
  color: var(--muted);
}

.latest-query .wp-block-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.latest-query .wp-block-post:first-child {
  padding-top: 0;
  border-top: 0;
}

.latest-query .news-row-image {
  grid-column: 2;
  grid-row: 1;
  height: 170px;
  margin: 0;
}

.latest-query .news-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.latest-query .news-row-copy {
  grid-column: 1;
  grid-row: 1;
}

.news-row-copy .wp-block-post-title {
  margin: 0.25rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.news-row-copy .wp-block-post-excerpt {
  color: var(--muted);
  font-family: var(--serif);
}

.news-row-copy .story-meta {
  margin-top: 1rem;
  color: var(--muted);
}

.deep-query .wp-block-post-template {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.deep-query {
  grid-column: 2 / -1;
}

.deep-query .wp-block-post:nth-child(2) {
  align-self: end;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  color: var(--ink);
  background: var(--green);
}

.deep-query .deep-media {
  height: clamp(320px, 38vw, 560px);
  margin: 0 0 1.2rem;
  overflow: hidden;
}

.deep-query .deep-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
}

.deep-query .wp-block-post:nth-child(2) .deep-media {
  display: none;
}

.deep-query .wp-block-post-title {
  margin: 0.25rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3.8rem);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.035em;
}

.deep-query .story-meta {
  color: rgba(255, 254, 249, 0.7);
}

.deep-feature-image {
  grid-column: 2 / -1;
  display: block;
  height: clamp(360px, 40vw, 620px);
  overflow: hidden;
}

.deep-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.16) saturate(0.82);
  transition: transform 500ms ease, filter 500ms ease;
}

.deep-feature-image:hover img,
.deep-feature-image:focus-visible img {
  transform: scale(1.02);
  filter: grayscale(0) saturate(0.95);
}

.deep-query .wp-block-post:nth-child(2) .story-meta {
  color: var(--ink-soft);
}

/* Consentimiento de analítica */

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(1.4rem, 3vw, 2.4rem) max(24px, calc((100vw - 1280px) / 2));
  color: var(--ink);
  border-top: 5px solid var(--green-dark);
  background: var(--paper);
  box-shadow: 0 -18px 55px rgba(14, 17, 14, 0.18);
}

.cookie-consent h2 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.cookie-consent p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
}

.cookie-consent .cookie-consent-kicker {
  margin-bottom: 0.65rem;
  color: var(--green-dark);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cookie-consent a {
  color: inherit;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.7rem;
}

.cookie-consent-actions button {
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--ink);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.cookie-consent-reject {
  color: var(--ink);
  background: transparent;
}

.cookie-consent-accept {
  color: var(--white);
  background: var(--ink);
}

.cookie-consent-actions button:hover,
.cookie-consent-actions button:focus-visible {
  color: var(--ink);
  border-color: var(--green);
  background: var(--green);
}

/* Competition archive */

.competition-opening .wp-block-post-template {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 4vw, 4.5rem);
}

.competition-opening {
  display: block;
}

.competition-opening .wp-block-post:first-child {
  grid-row: span 2;
}

.competition-opening .wp-block-post:nth-child(n + 2) {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ink);
}

.competition-opening .competition-opening-image {
  width: 100%;
  height: auto;
  margin: 0 0 1.5rem;
  overflow: hidden;
}

.competition-opening .competition-opening-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.competition-opening .wp-block-post:nth-child(n + 2) .competition-opening-image {
  height: auto;
  aspect-ratio: 4 / 3;
}

.competition-opening .wp-block-post-title {
  margin: 0.3rem 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.competition-opening .wp-block-post:first-child .wp-block-post-title {
  font-size: clamp(3rem, 5.2vw, 6rem);
}

.competition-opening .wp-block-post-excerpt {
  color: var(--muted);
  font-family: var(--serif);
}

.competition-opening .story-meta,
.competition-feed .story-meta {
  color: var(--muted);
}

.competition-list .wp-block-post {
  display: grid;
  grid-template-columns: minmax(200px, 31%) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.competition-list .wp-block-post:first-child {
  padding-top: 0;
  border-top: 0;
}

.competition-list .competition-row-image {
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
}

.competition-list .competition-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.competition-list .wp-block-post-title {
  margin: 0.3rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.competition-list .wp-block-post-excerpt {
  color: var(--muted);
  font-family: var(--serif);
}

/* Article */

.article-header .wp-block-post-terms {
  margin: 0;
}

.article-header .wp-block-post-title {
  max-width: 1180px;
  margin: 0.35rem 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7.2vw, 7.5rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.048em;
}

.article-header .wp-block-post-excerpt {
  max-width: 880px;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  line-height: 1.18;
}

.article-author .wp-block-post-author {
  display: flex;
  align-items: center;
  margin: 0;
}

.article-author .wp-block-post-author__avatar img {
  width: 46px;
  height: 46px;
  border: 4px solid var(--green);
  border-radius: 50%;
}

.article-author .wp-block-post-author__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.article-author .volea-author {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.article-meta .wp-block-post-date,
.article-meta .reading-time,
.article-meta .volea-post-date {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-hero-media {
  display: block;
}

.article-hero-media img {
  width: 100%;
  height: clamp(500px, 61vw, 790px);
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(0.82) contrast(1.02);
}

.article-photo-credit {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

.article-photo-credit span {
  color: var(--ink);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.article-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--green-dark);
  text-underline-offset: 0.18em;
}

.article-content .wp-block-post-content {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.45vw, 1.3rem);
  line-height: 1.68;
}

.article-share .copy-link {
  width: 100%;
  padding: 0.7rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  text-align: left;
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
}

.standard-page {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.standard-page .article-hero-media {
  margin-block: 2rem 4rem;
}

.article-content .wp-block-post-content > p {
  margin: 0 0 1.65em;
}

.article-content .wp-block-post-content > p:first-child {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.45;
}

.article-content .wp-block-post-content > p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--green-dark);
  font-size: 4.5em;
  font-weight: 700;
  line-height: 0.75;
}

.article-content .wp-block-post-content > h2 {
  margin: 2.2em 0 0.65em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.25vw, 3rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.article-content .wp-block-post-content blockquote {
  margin: 2.5rem 0 3rem;
  padding: 0.2rem 0 0.2rem clamp(1.5rem, 4vw, 3rem);
  border-left: 8px solid var(--green);
}

.article-content .wp-block-post-content blockquote p {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 600;
  line-height: 1.04;
}

.article-content .wp-block-post-content figure {
  margin: 3rem 0;
}

.article-content .wp-block-post-content figcaption {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.65rem;
  line-height: 1.45;
}

.article-content .wp-block-post-content .wp-block-table {
  position: relative;
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  overflow-x: auto;
  background: var(--white);
  border-top: 6px solid var(--green);
  box-shadow: 0 18px 52px rgba(17, 18, 15, 0.09);
  scrollbar-color: var(--green-dark) var(--paper-deep);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.article-content .wp-block-post-content .wp-block-table table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(0.76rem, 1vw, 0.9rem);
  line-height: 1.35;
}

.article-content .wp-block-post-content .wp-block-table thead {
  color: var(--white);
  background: var(--ink);
}

.article-content .wp-block-post-content .wp-block-table th,
.article-content .wp-block-post-content .wp-block-table td {
  padding: 1rem clamp(0.9rem, 2vw, 1.4rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.article-content .wp-block-post-content .wp-block-table th {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.085em;
}

.article-content .wp-block-post-content .wp-block-table tbody tr:nth-child(even) {
  background: rgba(234, 229, 217, 0.42);
}

.article-content .wp-block-post-content .wp-block-table tbody tr {
  transition: background-color 160ms ease;
}

.article-content .wp-block-post-content .wp-block-table tbody tr:hover {
  background: rgba(24, 199, 111, 0.11);
}

.article-content .wp-block-post-content .wp-block-table td:first-child {
  font-family: var(--serif);
  font-size: 1.08em;
  font-weight: 750;
}

.article-content .wp-block-post-content .wp-block-table td:nth-child(2) {
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.article-content .wp-block-post-content .wp-block-table figcaption {
  margin: 0;
  padding: 0.8rem 1.2rem;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.transfer-explorer {
  margin: clamp(3rem, 6vw, 5rem) 0;
  color: var(--ink);
  font-family: var(--sans);
}

.transfer-explorer-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: var(--ink);
  border-top: 6px solid var(--green);
}

.transfer-explorer-header > div {
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-right: 1px solid rgba(255, 254, 249, 0.2);
}

.transfer-explorer-header > div:last-child {
  border-right: 0;
}

.transfer-explorer-header span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 254, 249, 0.68);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.transfer-explorer-header strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.9;
}

.transfer-explorer-note {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem 1.15rem;
  background: var(--green);
}

.transfer-explorer-note span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--ink);
  border-radius: 50%;
}

.transfer-explorer-note p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 750;
}

.transfer-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.transfer-controls label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem;
  background: var(--white);
}

.transfer-controls label > span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}

.transfer-controls input[type="search"],
.transfer-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  font: 650 0.82rem/1.2 var(--sans);
}

.transfer-controls .transfer-checkbox {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: row;
  gap: 0.7rem;
  align-items: center;
  cursor: pointer;
}

.transfer-controls .transfer-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green-dark);
}

.transfer-controls .transfer-checkbox span {
  color: var(--ink);
}

.transfer-club-selector {
  margin: 2rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.transfer-club-selector-heading {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1rem;
}

.transfer-club-selector-heading span {
  color: var(--green-dark);
  font-size: 0.58rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.transfer-club-selector-heading h3 {
  margin: 0.15rem 0 0;
  font: 800 clamp(1.35rem, 3vw, 1.85rem)/1 var(--serif);
  letter-spacing: -0.025em;
}

.transfer-club-selector-heading p {
  max-width: 15rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
  text-align: right;
}

.transfer-club-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.transfer-club-grid > br,
.transfer-club-selector > p:empty {
  display: none;
}

.transfer-club-grid button {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 0.65rem;
  align-items: center;
  min-height: 88px;
  padding: 0.8rem;
  color: var(--ink);
  background: var(--white);
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: color 150ms ease, background-color 150ms ease;
}

.transfer-club-grid button:hover,
.transfer-club-grid button:focus-visible,
.transfer-club-grid button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
}

.transfer-club-grid button strong {
  grid-row: 1 / 3;
  font: 800 2rem/1 var(--serif);
  letter-spacing: -0.05em;
}

.transfer-club-grid button span {
  align-self: end;
  font: 800 0.66rem/1.15 var(--sans);
}

.transfer-club-grid button small {
  align-self: start;
  color: var(--muted);
  font: 750 0.56rem/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.transfer-club-grid button:hover small,
.transfer-club-grid button:focus-visible small,
.transfer-club-grid button[aria-pressed="true"] small {
  color: var(--green);
}

.transfer-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 2.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--ink);
}

.transfer-results-heading p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.transfer-results-heading button {
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  font: 800 0.62rem/1 var(--sans);
  text-transform: uppercase;
  cursor: pointer;
}

.article-content .wp-block-post-content .transfer-table-figure {
  margin-top: 0.8rem;
}

.transfer-table-figure a {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.transfer-more {
  display: block;
  width: 100%;
  padding: 1rem;
  color: var(--ink);
  background: var(--green);
  border: 0;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  cursor: pointer;
}

.transfer-more:hover {
  color: var(--white);
  background: var(--green-dark);
}

.transfer-empty {
  margin: 0;
  padding: 2rem;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
  text-align: center;
}

.article-tags .taxonomy-post_tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.article-tags .taxonomy-post_tag a {
  padding: 0.5rem 0.7rem;
  background: var(--paper);
}

.related-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.related-query .related-image {
  aspect-ratio: 4 / 3;
  margin: 0 0 1.2rem;
  overflow: hidden;
}

.related-query .related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.related-query .wp-block-post-title {
  margin: 0.25rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.query-empty {
  padding: 2rem;
  color: var(--muted);
  background: var(--paper);
  font-family: var(--serif);
}

.advertising-page {
  padding: clamp(3rem, 6vw, 6.5rem) 0 clamp(5rem, 9vw, 9rem);
}

.advertising-header {
  max-width: 1120px;
  padding-bottom: clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.advertising-header .wp-block-post-title {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8.6vw, 8.8rem);
  font-weight: 650;
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.advertising-page > .wp-block-post-content {
  margin-top: clamp(2rem, 4vw, 4rem);
}

.advertising-page .advertising-eyebrow,
.advertising-page .advertising-cta-label {
  margin: 0 0 1rem;
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.advertising-page .advertising-lede {
  max-width: 1040px;
  margin: 0 0 clamp(4rem, 8vw, 8rem);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.advertising-principles,
.advertising-standards {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(3rem, 6vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.advertising-page h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  font-weight: 620;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.advertising-principles > p,
.advertising-standards > ul {
  grid-column: 2;
}

.advertising-principles > p {
  max-width: 760px;
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.55;
}

.advertising-formats {
  margin: clamp(2rem, 5vw, 5rem) 0;
  padding: clamp(2.5rem, 5vw, 5rem);
  color: var(--white);
  background: var(--ink);
}

.advertising-formats h2 {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.advertising-formats .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.advertising-formats .wp-block-column {
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid rgba(255, 254, 249, 0.28);
}

.advertising-formats .wp-block-column:first-child {
  padding-left: 0;
  border-left: 0;
}

.advertising-formats h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1;
}

.advertising-formats p {
  margin: 0;
  color: rgba(255, 254, 249, 0.76);
  font-size: 0.9rem;
  line-height: 1.65;
}

.advertising-standards ul {
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.advertising-standards li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.4;
}

.advertising-standards li::before {
  position: absolute;
  left: 0;
  color: var(--green-dark);
  content: "✓";
  font-family: var(--sans);
  font-weight: 800;
}

.advertising-cta {
  margin-top: clamp(3rem, 6vw, 6rem);
  padding: clamp(2.5rem, 6vw, 6rem);
  background: var(--green);
}

.advertising-page .advertising-cta-label {
  color: var(--ink);
}

.advertising-cta h2 {
  max-width: 800px;
}

.advertising-cta > p:not(.advertising-cta-label, .advertising-email-address) {
  max-width: 700px;
  margin: 1.5rem 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.advertising-email-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0.95rem 1.3rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.advertising-email-button .wp-block-button__link:hover {
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}

.advertising-email-address {
  margin: 1rem 0 0;
  font-size: 0.76rem;
  font-weight: 700;
}

.advertising-email-address a {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.world-cup-header {
  position: relative;
}

.world-cup-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: clamp(80px, 14vw, 190px);
  height: 8px;
  background: var(--green);
  content: "";
}

.world-cup-guide {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.world-cup-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.world-cup-guide-grid article {
  min-height: 240px;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.world-cup-guide-grid article:first-child {
  border-left: 0;
}

.world-cup-guide-grid span {
  color: var(--green-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.world-cup-guide-grid h3 {
  margin: 2rem 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.world-cup-guide-grid p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.competition-feed-full {
  width: 100%;
}

@media (max-width: 900px) {
  .deep-feature-image {
    grid-column: 1 / -1;
    height: clamp(320px, 58vw, 520px);
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lead-support .wp-block-post-template {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .lead-support .wp-block-post:nth-child(2) {
    display: block;
  }

  .lead-support .wp-block-post:nth-child(2) .support-media {
    height: clamp(310px, 28vw, 440px);
    margin-bottom: 1.15rem;
  }

  .competition-opening .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .competition-opening .wp-block-post:first-child {
    grid-row: auto;
  }

  .related-query .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }

  .deep-query {
    grid-column: 1 / -1;
  }

  .advertising-formats .wp-block-columns {
    grid-template-columns: 1fr;
  }

  .advertising-formats .wp-block-column,
  .advertising-formats .wp-block-column:first-child {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 254, 249, 0.28);
    border-left: 0;
  }

  .world-cup-guide-grid {
    grid-template-columns: 1fr;
  }

  .world-cup-guide-grid article,
  .world-cup-guide-grid article:first-child {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .world-cup-guide-grid article:first-child {
    border-top: 0;
  }
}

@media (max-width: 620px) {
  .deep-feature-image {
    grid-column: auto;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .cookie-consent-actions {
    flex-direction: column-reverse;
  }

  .cookie-consent-actions button {
    width: 100%;
  }

  .lead-support .wp-block-post-template,
  .deep-query .wp-block-post-template,
  .related-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .latest-query .wp-block-post,
  .competition-list .wp-block-post {
    grid-template-columns: 1fr;
  }

  .latest-query .news-row-image,
  .latest-query .news-row-copy {
    grid-column: 1;
  }

  .latest-query .news-row-image {
    grid-row: 1;
    height: 58vw;
  }

  .latest-query .news-row-copy {
    grid-row: 2;
  }

  .competition-opening .wp-block-post:first-child .wp-block-post-title,
  .article-header .wp-block-post-title {
    font-size: clamp(3.2rem, 15vw, 4.15rem);
  }

  .competition-list .competition-row-image {
    aspect-ratio: 16 / 10;
  }

  .article-content .wp-block-post-content {
    font-size: 1.1rem;
  }

  .article-content .wp-block-post-content > h2 {
    font-size: 2.25rem;
  }

  .article-content .wp-block-post-content .wp-block-table {
    width: calc(100vw - 32px);
    margin-inline: calc((100vw - 32px - 100%) / -2);
    border-top-width: 5px;
    box-shadow: 0 12px 36px rgba(17, 18, 15, 0.08);
  }

  .article-content .wp-block-post-content .wp-block-table table {
    min-width: 620px;
  }

  .article-content .wp-block-post-content .wp-block-table th,
  .article-content .wp-block-post-content .wp-block-table td {
    padding: 0.9rem 1rem;
  }

  .transfer-explorer {
    width: calc(100vw - 32px);
    margin-inline: calc((100vw - 32px - 100%) / -2);
  }

  .transfer-explorer-header {
    grid-template-columns: 1fr 1fr;
  }

  .transfer-explorer-header > div:nth-child(2) {
    border-right: 0;
  }

  .transfer-explorer-header > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 254, 249, 0.2);
  }

  .transfer-controls {
    grid-template-columns: 1fr;
  }

  .transfer-controls .transfer-checkbox {
    grid-column: auto;
  }

  .transfer-club-selector-heading {
    display: block;
  }

  .transfer-club-selector-heading p {
    max-width: none;
    margin-top: 0.55rem;
    text-align: left;
  }

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

  .transfer-results-heading {
    padding-inline: 0.25rem;
  }

  .advertising-page {
    padding-top: 2.25rem;
  }

  .advertising-header .wp-block-post-title {
    font-size: clamp(3.55rem, 17vw, 5rem);
  }

  .advertising-principles,
  .advertising-standards {
    display: block;
  }

  .advertising-principles h2,
  .advertising-standards h2 {
    margin-bottom: 1.75rem;
  }

  .advertising-formats,
  .advertising-cta {
    margin-inline: calc((100vw - var(--shell)) / -2);
    padding-inline: calc((100vw - var(--shell)) / 2);
  }
}
