.wc-single {
  color: #fff;
  background: linear-gradient(180deg, #07111e 0%, #0a1626 45%, #08111d 100%);
}

.wc-single a {
  text-decoration: none;
}

/* =========================
   Hero
   ========================= */
.wc-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 90px;
  background-size: cover;
  background-position: center center;
  text-align: center;
}

.wc-hero__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.wc-breadcrumb {
  margin-bottom: 26px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.wc-breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
}

.wc-breadcrumb span {
  margin: 0 6px;
}

.wc-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d6b36c;
}

.wc-hero__title {
  margin: 0 auto 10px;
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.wc-hero__year {
  margin-top: 10px;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #d6b36c;
}

.wc-hero__meta {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: clamp(15px, 2vw, 22px);
  line-height: 1.6;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.wc-hero__meta-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.26);
}

/* =========================
   Common layout
   ========================= */
.wc-section {
  padding: 82px 20px;
}

.wc-section--dark {
  background: rgba(255, 255, 255, 0.03);
}

.wc-section--result {
  padding-top: 70px;
  padding-bottom: 70px;
}

.wc-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.wc-container--narrow {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.wc-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 38px;
  text-align: center;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.wc-title::before,
.wc-title::after {
  content: "";
  display: block;
  width: 120px;
  max-width: 18vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.wc-text {
  margin: 0;
  text-align: center;
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================
   Result
   ========================= */
.wc-result--podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 22px;
  align-items: end;
  max-width: 1200px;
  margin: 0 auto;
}

.wc-result__item {
  position: relative;
  height: 220px;
  padding: 30px 22px;
  border-radius: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  overflow: hidden;
}

.wc-result__item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: rgba(255,255,255,0.12);
}

.wc-result__item--champion {
  padding-top: 38px;
  padding-bottom: 34px;
  transform: translateY(-10px);
  border-color: rgba(214,179,108,0.35);
  background: linear-gradient(180deg, rgba(214,179,108,0.12) 0%, rgba(255,255,255,0.03) 100%);
}

.wc-result__item--champion::before {
  background: linear-gradient(90deg, #d6b36c 0%, rgba(214,179,108,0.25) 100%);
}

.wc-result__item--runnerup::before {
  background: linear-gradient(90deg, rgba(220,220,220,0.9) 0%, rgba(220,220,220,0.2) 100%);
}

.wc-result__item--third::before {
  background: linear-gradient(90deg, rgba(191,133,92,0.9) 0%, rgba(191,133,92,0.2) 100%);
}

.wc-result__rank {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: rgba(255,255,255,0.28);
}

.wc-result__item--champion .wc-result__rank {
  font-size: 42px;
  color: #d6b36c;
}

.wc-result__label {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
}

.wc-result__team {
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.wc-result__item--champion .wc-result__team {
  color: #d6b36c;
}

.wc-result__summary {
  margin-top: 26px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
  color: rgba(255,255,255,0.84);
}

/* =========================
   Group stage
   ========================= */
.wc-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.wc-group-card {
  overflow: visible;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.wc-group-card__head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wc-group-card__head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
}

.wc-group-card__body {
  padding: 18px;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.wc-group-card__body a {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.wc-group-card__body a img,
.wc-group-card__body img {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
  aspect-ratio: auto !important;
  border-radius: 8px;
  overflow: visible !important;
}

/* =========================
   Bracket
   ========================= */
.wc-bracket-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.wc-bracket {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* =========================
   Custom content
   ========================= */
.wc-custom-content {
  color: rgba(255,255,255,0.92);
}

.wc-custom-content h3 {
  margin: 0 0 22px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: center;
}

.wc-custom-content h4 {
  margin: 40px 0 18px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #d6b36c;
  text-align: center;
}

.wc-custom-content p {
  font-size: 16px;
  line-height: 1.9;
}

/* =========================
   Gallery
   ========================= */
.wc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.wc-gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 14px 30px rgba(0,0,0,0.20);
  aspect-ratio: 1 / 1;
}

.wc-gallery-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(4,12,24,0.22) 100%);
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.wc-gallery-grid a:hover::after {
  opacity: 0.7;
}

.wc-gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.wc-gallery-grid a:hover img {
  transform: scale(1.06);
  filter: brightness(1.04);
}

/* PC用統一グリッド */
.wc-gallery-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* =========================
   Supporters
   ========================= */
.wc-supporters {
  text-align: center;
}

.wc-supporters p {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 2;
  color: rgba(255,255,255,0.9);
}

.wc-supporters p:last-child {
  margin-bottom: 0;
}

.wc-supporter-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

.wc-supporter-list p {
  margin: 0 0 10px;
  text-align: center;
}

/* =========================
   Pamphlet
   ========================= */
.wc-pamphlet {
  text-align: center;
}

.wc-pamphlet__thumb {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
}

.wc-pamphlet__thumb img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
  aspect-ratio: auto !important;
  margin: 0 auto !important;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
}

.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d6b36c 0%, #ad8131 100%);
  color: #111;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* =========================
   Lightbox
   ========================= */
.wc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wc-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.wc-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.86);
  backdrop-filter: blur(4px);
}

.wc-lightbox__inner {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 30px;
}

.wc-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.42);
}

.wc-lightbox__caption {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

.wc-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

body.wc-lightbox-open {
  overflow: hidden;
}

/* =========================
   Tablet
   ========================= */
@media (max-width: 980px) {
  .wc-result--podium {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wc-result__item--champion {
    transform: none;
  }

  .wc-group-grid {
    grid-template-columns: 1fr;
  }

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

/* =========================
   Strong mobile override
   ========================= */
@media screen and (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  #container,
  #site_wrap,
  #main_contents,
  #main_col,
  #left_col,
  #side_col,
  #header,
  #header_inner,
  #bread_crumb,
  #bread_crumb ul,
  #footer_top_inner,
  #footer_bottom_inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  body.page-template-page-world-cup-single #main_col,
  body.page-template-page-world-cup-single #left_col,
  body.page-template-page-world-cup-single #side_col {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  body.page-template-page-world-cup-single .flex_layout {
    display: block !important;
    gap: 0 !important;
  }

  body.page-template-page-world-cup-single #header,
  body.page-template-page-world-cup-single #header_inner {
    height: auto !important;
  }

  body.page-template-page-world-cup-single .wc-single,
  body.page-template-page-world-cup-single .wc-section,
  body.page-template-page-world-cup-single .wc-section--result,
  body.page-template-page-world-cup-single .wc-container,
  body.page-template-page-world-cup-single .wc-container--narrow,
  body.page-template-page-world-cup-single .wc-hero,
  body.page-template-page-world-cup-single .wc-hero__inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .wc-hero {
    min-height: 60vh;
    padding: 90px 16px 56px;
  }

  .wc-breadcrumb {
    display: none !important;
  }

  .wc-hero__title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 8px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .wc-hero__year {
    margin-top: 4px;
    font-size: 44px !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
  }

  .wc-hero__meta {
    display: block !important;
    margin-top: 14px !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
  }

  .wc-hero__meta-divider {
    display: none !important;
  }

  .wc-section,
  .wc-section--result {
    padding: 42px 12px !important;
  }

  .wc-container,
  .wc-container--narrow {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .wc-title {
    gap: 10px !important;
    margin-bottom: 22px !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.05em !important;
  }

  .wc-title::before,
  .wc-title::after {
    width: 52px !important;
    max-width: none !important;
  }

  .wc-text {
    font-size: 14px !important;
    line-height: 2 !important;
    text-align: left !important;
  }

  /* Result mobile */
  .wc-result--podium {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .wc-result__item--champion {
    order: 1 !important;
  }

  .wc-result__item--runnerup {
    order: 2 !important;
  }

  .wc-result__item--third {
    order: 3 !important;
  }

  .wc-result__item,
  .wc-result__item--champion,
  .wc-result__item--runnerup,
  .wc-result__item--third {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 150px !important;
    padding: 24px 16px !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
    border-radius: 14px !important;
  }

  .wc-result__rank {
    margin-bottom: 8px !important;
    font-size: 28px !important;
  }

  .wc-result__item--champion .wc-result__rank {
    font-size: 34px !important;
  }

  .wc-result__label {
    margin-bottom: 8px !important;
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
  }

  .wc-result__team {
    min-height: 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
  }

  .wc-result__summary {
    margin-top: 18px !important;
    text-align: center !important;
    font-size: 14px !important;
  }

  /* Group */
  .wc-group-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .wc-group-card {
    border-radius: 12px !important;
  }

  .wc-group-card__head {
    padding: 12px 14px !important;
  }

  .wc-group-card__head h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .wc-group-card__body {
    padding: 12px !important;
  }

  .wc-group-card__body img,
  .wc-group-card__body a img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
  }

  /* Tournament */
  .wc-bracket-card {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .wc-bracket {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
  }

  /* Gallery slider */
  .wc-gallery-slider,
  .wc-gallery-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 82% !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 12px 8px !important;
    margin: 0 -12px !important;
  }

  .wc-gallery-slider a,
  .wc-gallery-grid a {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    scroll-snap-align: center !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .wc-gallery-slider img,
  .wc-gallery-grid img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .wc-gallery-slider::-webkit-scrollbar,
  .wc-gallery-grid::-webkit-scrollbar {
    height: 6px;
  }

  .wc-gallery-slider::-webkit-scrollbar-track,
  .wc-gallery-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
  }

  .wc-gallery-slider::-webkit-scrollbar-thumb,
  .wc-gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(214,179,108,0.55);
    border-radius: 999px;
  }

  .wc-custom-content h3 {
    margin-bottom: 16px !important;
    font-size: 18px !important;
  }

  .wc-custom-content h4 {
    margin: 28px 0 14px !important;
    font-size: 15px !important;
  }

  .wc-custom-content p {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  /* Supporters */
  .wc-supporter-list,
  .wc-supporters {
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .wc-supporter-list p,
  .wc-supporters p {
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    margin: 0 0 14px !important;
  }

  /* Pamphlet */
  .wc-pamphlet,
  .wc-pamphlet__thumb,
  .wc-pamphlet__thumb img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .wc-pamphlet__thumb {
    display: block !important;
    margin: 0 auto 20px !important;
  }

  .wc-pamphlet__thumb img {
    display: block !important;
    object-fit: contain !important;
    object-position: center top !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
  }

  .wc-btn {
    min-width: 180px !important;
    min-height: 46px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
  }

  /* Lightbox */
  .wc-lightbox__inner {
    width: 100% !important;
    padding: 72px 12px 18px !important;
  }

  .wc-lightbox__image {
    max-width: 100% !important;
    max-height: 68vh !important;
    border-radius: 10px !important;
  }

  .wc-lightbox__caption {
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .wc-lightbox__close {
    top: 10px !important;
    right: 10px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 26px !important;
  }
}