/*
Theme Name: Canon
Theme URI: https://example.com/canon
Author: Canon Team
Author URI: https://example.com
Description: Minimal starter theme for the Canon WordPress site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: canon
*/

@font-face {
  font-family: "SVN-Gotham";
  src: url("fonts/SVN-Gotham/SVN-Gotham%20Book.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gotham";
  src: url("fonts/SVN-Gotham/SVN-Gotham%20Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gotham";
  src:
    url("fonts/SVN-Gotham/SVN-Gotham%20Bold.otf") format("opentype"),
    url("fonts/SVN-Gotham/SVN-Gotham%20Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "SVN-Gotham";
  src:
    url("fonts/SVN-Gotham/SVN-Gotham%20Light.otf") format("opentype"),
    url("fonts/SVN-Gotham/SVN-Gotham%20Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Tungsten";
  src: url("fonts/Tungsten/Tungsten-Semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --canon-text: #043a61;
  --canon-red: #fe0000;
  --canon-border: #dbdbdb;
  --canon-bg: #81cfff;
  --canon-light: #f4f4f4;
  --canon-dark: #1a1a1a;
  --canon-cta: #f5bf1f;
  --canon-cta-hover: #dea300;
  --canon-font-sans: "SVN-Gotham";
  --canon-font-size-body: 1rem;
  --canon-font-size-label: 0.8125rem;
  --canon-font-size-title: 36px;
  --canon-line-body: 1.4;
  --canon-line-title: 1.1;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--canon-font-sans);
  font-size: var(--canon-font-size-body);
  color: var(--canon-text);
  line-height: var(--canon-line-body);
}

/* Lightweight reveal animations for section entrance. */
.ca-reveal {
  --ca-reveal-from-transform: translate3d(0, 22px, 0);
  --ca-reveal-to-transform: translate3d(0, 0, 0);
  opacity: 0;
  transform: var(--ca-reveal-from-transform);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.ca-reveal.is-visible {
  opacity: 1;
  transform: var(--ca-reveal-to-transform);
}

.ca-reveal--fast {
  transition-duration: 0.38s, 0.38s;
}

.ca-reveal--slow {
  transition-duration: 0.75s, 0.75s;
}

.ca-reveal--up {
  --ca-reveal-from-transform: translate3d(0, 22px, 0);
  --ca-reveal-to-transform: translate3d(0, 0, 0);
}

.ca-reveal--down {
  --ca-reveal-from-transform: translate3d(0, -22px, 0);
  --ca-reveal-to-transform: translate3d(0, 0, 0);
}

.ca-reveal--left {
  --ca-reveal-from-transform: translate3d(-24px, 0, 0);
  --ca-reveal-to-transform: translate3d(0, 0, 0);
}

.ca-reveal--right {
  --ca-reveal-from-transform: translate3d(24px, 0, 0);
  --ca-reveal-to-transform: translate3d(0, 0, 0);
}

.ca-reveal--centered {
  --ca-reveal-from-transform: translate(-50%, calc(-50% + 22px));
  --ca-reveal-to-transform: translate(-50%, -50%);
}

@media (prefers-reduced-motion: reduce) {
  .ca-reveal,
  .ca-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .contest-intro__play.is-visible::before,
  .contest-hero__countdown-cta.is-visible,
  .contest-timeline__card.is-active.is-visible,
  .contest-prize.is-visible .contest-prize__medal,
  .contest-hero__countdown.is-visible::before,
  .contest-hero__clock-value,
  .contest-hero__headline-title.is-visible,
  .contest-prize:nth-child(2).is-visible,
  .contest-prize.is-visible .contest-prize__badge,
  .contest-section--prizes::after {
    animation: none;
  }
}

@keyframes ca-ring-pulse {
  0% {
    opacity: 0.75;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.14);
  }

  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

@keyframes ca-cta-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-3px);
  }
}

@keyframes ca-card-breathe {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 9px 20px rgb(11 30 52 / 18%);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgb(10 28 48 / 24%);
  }
}

@keyframes ca-medal-spin-in {
  0% {
    opacity: 0;
    transform: rotate(-24deg) scale(0.88);
  }

  100% {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes ca-hero-sweep {
  0% {
    transform: rotate(18deg) translateX(-160%);
    opacity: 0;
  }

  16% {
    opacity: 0.45;
  }

  36% {
    transform: rotate(18deg) translateX(260%);
    opacity: 0;
  }

  100% {
    transform: rotate(18deg) translateX(260%);
    opacity: 0;
  }
}

@keyframes ca-hero-digit-pop {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: inset 0 0 0 0 rgb(255 255 255 / 0%);
  }

  25% {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 60%);
  }
}

@keyframes ca-hero-title-glow {
  0%,
  100% {
    text-shadow:
      0 0 0 rgb(255 255 255 / 0%),
      0 0 0 rgb(255 0 0 / 0%);
  }

  50% {
    text-shadow:
      0 0 14px rgb(255 255 255 / 38%),
      0 0 28px rgb(254 0 0 / 30%);
  }
}

@keyframes ca-prize-spotlight-drift {
  0% {
    transform: translate3d(-4%, -1%, 0) scale(1);
    opacity: 0.38;
  }

  100% {
    transform: translate3d(5%, 3%, 0) scale(1.08);
    opacity: 0.58;
  }
}

@keyframes ca-prize-champion {
  0%,
  100% {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 14px 28px rgb(11 32 56 / 24%);
  }

  50% {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 22px 38px rgb(11 32 56 / 32%);
  }
}

@keyframes ca-prize-badge-flare {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(254 0 0 / 0%);
    filter: saturate(1);
  }

  50% {
    box-shadow: 0 8px 20px rgb(254 0 0 / 28%);
    filter: saturate(1.12);
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
  font-family: var(--canon-font-sans);
}

.site-wrap {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 16px;
}

.contest-landing-template {
  max-width: 1200px;
}

.contest-section--hero {
  position: relative;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  min-height: 720px;
}

.contest-hero__image {
  display: block;
  width: 100vw;
  height: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
}

.contest-hero__headline {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: min(90vw, 860px);
  text-align: center;
  pointer-events: none;
  display: none;
}

.contest-hero__headline-title {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contest-hero__headline-title.is-visible {
  animation: ca-hero-title-glow 3.2s ease-in-out 1.1s infinite;
}

.contest-hero__headline-year {
  color: #fe0000;
  margin-left: 0.24em;
}

.contest-hero__headline-badge-image {
  display: block;
  width: auto;
  margin: clamp(12px, 1.8vw, 20px) auto 0;
}

.contest-hero__headline-badge-fallback {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 22px;
  border-radius: 4px;
  background: #fe0000;
  color: #ffffff;
  font-size: clamp(18px, 2.4vw, 33px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contest-hero__countdown {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 5;
  display: grid;
  grid-template-columns: max-content auto max-content;
  align-items: center;
  gap: 16px;
  width: 1134px;
  min-height: 128px;
  padding: 18px 32px;
  border-radius: 10px;
  border: 1px solid #fffdeb;
  background: rgb(255 255 255 / 50%);
  box-shadow: 0 4px 10px 5px rgb(0 0 0 / 10%);
  backdrop-filter: blur(3px);
  overflow: hidden;
}

.contest-hero__countdown::before {
  content: "";
  position: absolute;
  top: -58%;
  left: -30%;
  width: 48%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 0%) 0%,
    rgb(255 255 255 / 74%) 48%,
    rgb(255 255 255 / 0%) 100%
  );
  transform: rotate(18deg) translateX(-160%);
  opacity: 0;
  pointer-events: none;
}

.contest-hero__countdown.is-visible::before {
  animation: ca-hero-sweep 4.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s infinite;
}

.contest-hero__countdown > * {
  position: relative;
  z-index: 1;
}

.contest-hero__countdown-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 18px;
  border-right: 1px solid #dde1e7;
  min-width: 0;
}

.contest-hero__countdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  color: #043a61;
}

.contest-hero__countdown-icon svg {
  fill: currentcolor;
}

.contest-hero__countdown-copy {
  display: grid;
  gap: 7px;
}

.contest-hero__countdown-title {
  margin: 10px 0;
  color: var(--canon-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.contest-hero__countdown-title strong {
  color: var(--canon-red);
  font-weight: 700;
}

.contest-hero__countdown-range {
  margin-bottom: 10px;
  color: var(--canon-text);
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  margin-top: 0;
}

.contest-hero__countdown-clock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.contest-hero__clock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.contest-hero__clock-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  padding: 15px 0;
  border: 1px solid var(--canon-border);
  border-radius: 10px;
  color: var(--canon-text);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  font-family: "Tungsten";
  animation: ca-hero-digit-pop 2.6s ease-in-out 1.2s infinite;
}

.contest-hero__clock-item:nth-of-type(1) .contest-hero__clock-value {
  animation-delay: 1.25s;
}

.contest-hero__clock-item:nth-of-type(2) .contest-hero__clock-value {
  animation-delay: 1.45s;
}

.contest-hero__clock-item:nth-of-type(3) .contest-hero__clock-value {
  animation-delay: 1.65s;
}

.contest-hero__clock-item:nth-of-type(4) .contest-hero__clock-value {
  animation-delay: 1.85s;
}

.contest-hero__clock-label {
  margin-top: 18px;
  color: var(--canon-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.contest-hero__clock-sep {
  display: inline-flex;
  align-items: center;
  height: 54px;
  color: #043a61;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  padding: 18px 0;
}

.contest-hero__countdown-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 90px;
  width: 200px;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--canon-red);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.contest-hero__countdown-cta:hover,
.contest-hero__countdown-cta:focus-visible {
  background: #c60000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgb(165 5 5 / 34%);
}

.contest-hero__countdown-cta.is-visible {
  animation: ca-cta-bob 2.8s ease-in-out 0.7s infinite;
}

.contest-hero__countdown.is-ended .contest-hero__countdown-title strong {
  color: #7f8b98;
}

.contest-hero__menu {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 18px;
}

.contest-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #3fa7ee;
  border: 0;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* .contest-site-header.is-scrolled {
  background: linear-gradient(95deg, #56a6dd 0%, #2f8fd1 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(13, 45, 75, 0.15);
} */

.contest-hero__menu-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 98px;
}

.contest-hero__menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.contest-hero__menu-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.contest-hero__menu-toggle-bars span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentcolor;
}

.contest-hero__menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contest-hero__menu-list li {
  margin: 0;
}

.contest-hero__menu-list a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 16px;
  font-family: var(--canon-font-sans);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
  position: relative;
  display: inline-block;
}

.contest-hero__menu-list a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;              /* chỉnh theo line-height */
  width:100%;
  height:2px;
  border-radius: 2px;

  background: #fff;          /* underline màu trắng */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
  opacity: .95;
}

.contest-hero__menu-list a:hover,
.contest-hero__menu-list a:focus-visible{
  color: #fff;
}

.contest-hero__menu-list a:hover::after,
.contest-hero__menu-list a:focus-visible::after{
  transform: scaleX(1);
}

.contest-hero__menu-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 5px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: var(--canon-text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.contest-hero__menu-submit-desktop,
.contest-hero__menu-submit-mobile {
  display: inline;
}

.contest-hero__menu-submit-mobile {
  display: none;
}

.contest-hero__menu-list a:hover,
.contest-hero__menu-list a:focus-visible {
  color: #ffffff;
}

.contest-hero__menu-submit:hover,
.contest-hero__menu-submit:focus-visible {
  color: #0d4c84;
  background: #eef8ff;
}

.contest-hero__menu-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 46px;
}

.contest-hero__menu-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.contest-hero__menu-brand .custom-logo {
  display: block;
  width: auto;
  max-height: 50px;
}

.contest-hero__mobile-menu {
  display: none;
}

.contest-hero__logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
}

.contest-hero__logo-fallback-main {
  color: #d50000;
  font-size: 1.95rem;
  font-weight: 700;
}

.contest-hero__logo-fallback-sub {
  color: #10395f;
  font-size: 1.4rem;
  font-weight: 700;
}

.contest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.contest-anchor-target {
  position: relative;
  top: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

#contest-intro,
#contest-timeline,
#contest-rules,
#contest-showcase,
#contest-prizes,
#contest-news,
#contest-partners,
#contest-site-footer,
#contest-submit {
  scroll-margin-top: 96px;
}

/* .contest-section:not(.contest-section--hero) {
  margin-top: 18px;
  padding: 20px;
  border-radius: 14px;
  background: #ffffffd9;
} */
.contest-section--intro {
  padding: 0;
  margin-top: -57px;
  border-radius: 63px;
}
/* .contest-section__heading {
  font-size: 72px;
  line-height: 1.2;
} */

.contest-section__note {
  margin: 0;
  max-width: 62ch;
}

.contest-section__placeholder-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.contest-section__placeholder-list li {
  margin-top: 6px;
}

.contest-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.contest-btn--primary {
  color: #2a1800;
  background-color: var(--canon-cta);
}

.contest-btn--primary:hover,
.contest-btn--primary:focus-visible {
  background-color: var(--canon-cta-hover);
}

.contest-btn--ghost {
  color: var(--canon-red);
  border-color: var(--canon-red);
  background-color: #ffffff;
}

.contest-btn--ghost:hover,
.contest-btn--ghost:focus-visible {
  color: #ffffff;
  background-color: var(--canon-red);
}

/* .contest-section:not(.contest-section--hero) {
  margin-top: 0;
  padding: 24px 16px;
  border-radius: 0;
} */

.contest-site-footer {
  background: var(--canon-bg);
  color: #ffffff;
}

.contest-site-footer__col--org h3 {
  font-size: 24px;
  margin: 0;
}

.contest-site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 134px 20px 114px;
}

.contest-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px 54px;
  align-items: start;
}

.contest-site-footer__title {
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 2px;
  color: #ffffff;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.05;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contest-site-footer__text {
  margin: 10px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  max-width: 31ch;
  font-weight: 300;
}

.contest-site-footer__text a {
  color: #fff;
  font-weight: 300;
}

.contest-site-footer__text a:hover,
.contest-site-footer__text a:focus-visible {
  text-decoration: underline;
}

.contest-site-footer__logos {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.contest-site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.contest-site-footer__logo img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contest-site-footer__logo--canon img {
  max-width: 214px;
  max-height: 62px;
}

.contest-site-footer__logo--travellive img {
  max-width: 164px;
  max-height: 52px;
}

.contest-site-footer__logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contest-site-footer__socials {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.contest-site-footer__social {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.96;
  transition:
    transform 0.15s ease,
    opacity 0.2s ease;
}

.contest-site-footer__social:hover,
.contest-site-footer__social:focus-visible {
  opacity: 0.85;
  transform: translateY(-1px);
}

.contest-site-footer__social svg {
  width: 20px;
  height: 20px;
}

.contest-site-footer__address-text {
  max-width: 33ch;
  white-space: normal;
}

.contest-site-footer__address-text + .contest-site-footer__address-text {
  margin-top: 18px;
}

.contest-site-footer__bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  gap: 20px;
}

.contest-site-footer__bottom-note {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 300;
}

.contest-section--judges {
  background: #ffffff;
  color: var(--canon-dark);
  padding-top: 4px;
  padding-bottom: 0;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.contest-section--news {
  color: var(--canon-text);
  padding-top: 100px;
  padding-bottom: 50px;
}

.contest-section--news .contest-section__heading {
  position: relative;
  margin: 0;
  color: var(--canon-text);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contest-section--news .contest-section__heading::after {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 12px;
  background: var(--canon-red);
}

.contest-section--intro {
  display: grid;
  grid-template-columns: 545px auto;
  align-items: center;
  gap: 38px;
  margin-top: 0;
  padding: 100px 0;
  border-radius: 0;
  /* background: #f1f1f1; */
  color: var(--canon-text);
}

.contest-intro__content {
  max-width: 560px;
}

.contest-intro__content .contest-section__heading {
  position: relative;
  margin: 0;
  color: #043a61;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contest-intro__content .contest-section__heading::after {
  content: "";
  display: block;
  width: 112px;
  height: 6px;
  margin-top: 12px;
  background: var(--canon-red);
}

.contest-intro__content .contest-section__note {
  margin: 30px 0 0;
  color: var(--canon-text);
  font-size: 16px;
  text-align: justify;
  line-height: 28px;
}

.contest-intro__organizers {
  margin-top: 50px;
}

.contest-intro__organizers-title {
  margin-bottom: 30px;
  color: var(--canon-text);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.contest-intro__organizers-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 16px;
}

.contest-intro__organizer-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contest-intro__organizer-card img {
  display: block;
  max-width: 100%;
  width: auto;
}

.contest-intro__organizer-card span {
  color: #2c2f34;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.contest-intro__organizer-card--travellive span {
  font-size: 28px;
}

.contest-intro__visual {
  position: relative;
  width: min(612px, 100%);
  height: 511px;
}

.contest-intro__grid {
  display: grid;
  grid-template-columns: 322px 280px;
  grid-template-rows: 245px 250px;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.contest-intro__dot {
  position: absolute;
  z-index: 4;
  border-radius: 8px;
  background: var(--canon-bg);
}

.contest-intro__dot--top {
  width: 71px;
  height: 57px;
  top: 30px;
  left: 338px;
}

.contest-intro__dot--middle {
  width: 25px;
  height: 50px;
  top: 263px;
  left: -2px;
}

.contest-intro__card {
  position: relative;
  border-radius: 16px;
  background-color: #bad5e8;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 14px 26px #12304f24;
  overflow: hidden;
}

.contest-intro__card.is-placeholder {
  background-image: linear-gradient(140deg, #94b6cf, #4d81a6);
}

/* Left top */
.contest-intro__card--a {
  grid-column: 1;
  grid-row: 1;
  width: 322px;
  height: 245px;
}

/* Left bottom */
.contest-intro__card--b {
  grid-column: 1;
  grid-row: 2;
  width: 280px;
  height: 250px;
  margin-left: 39px;
}

/* Right tall */
.contest-intro__card--c {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 380px;
  align-self: start;
  margin-top: 96px;
}

.contest-intro__play {
  position: absolute;
  z-index: 5;
  left: 53.4%;
  top: 49.1%;
  width: 139px;
  height: 139px;
  border-radius: 999px;
  background: var(--canon-red);
  box-shadow: 0 14px 28px #8f1c1c4a;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

button.contest-intro__play {
  cursor: pointer;
}

.contest-intro__play::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid #ffffff;
  border-radius: 999px;
}

.contest-intro__play-icon {
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 0;
  height: 0;
  margin-left: 9px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 34px solid #ffffff;
}

.contest-intro__play.is-visible::before {
  animation: ca-ring-pulse 2.3s ease-out 0.55s infinite;
}

.contest-intro__play:hover,
.contest-intro__play:focus-visible {
  background: #d50800;
  transform: translate(-50%, -50%) scale(1.04);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.contest-intro__play:focus-visible {
  outline: 2px solid #0f4b85;
  outline-offset: 2px;
}

/* Video lightbox */
.civ-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}

.civ-overlay[hidden] {
  display: none;
}

.civ-box {
  position: relative;
  width: min(900px, 94vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.civ-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.civ-close {
  position: absolute;
  top: -38px;
  right: 0;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.civ-close:hover {
  opacity: 1;
}

.contest-section__note {
  margin-top: 10px;
  max-width: none;
}

.contest-section--timeline {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  box-sizing: border-box;
}

.contest-timeline__heading {
  position: relative;
  z-index: 2;
  margin: 0 0 80px;
  padding: 0;
  color: var(--canon-text);
  text-align: center;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.contest-timeline__heading::after {
  content: "";
  display: block;
  width: 112px;
  height: 6px;
  margin: 12px auto 0;
  background: var(--canon-red);
}

.contest-timeline {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 200px 0 168px;
  border-radius: 0;
  background-color: #eef3f7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.contest-timeline::before,
.contest-timeline::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 168px;
  pointer-events: none;
  z-index: 1;
}

.contest-timeline::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / 72%),
    rgb(255 255 255 / 0%)
  );
}

.contest-timeline::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgb(255 255 255 / 90%),
    rgb(255 255 255 / 0%)
  );
}

.contest-timeline__inner {
  --timeline-gap: 24px;
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px;
}

.contest-timeline__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--timeline-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.contest-timeline__track::before {
  content: "";
  position: absolute;
  left: calc((100% - (var(--timeline-gap) * 3)) / 8);
  right: calc((100% - (var(--timeline-gap) * 3)) / 8);
  top: 50%;
  height: 11px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
}

.contest-timeline__track-item {
  position: relative;
  z-index: 1;
  justify-self: center;
}

.contest-timeline__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: 6px solid #cecece;
  background: #f0f0f0;
  color: #8d8d8d;
  font-family: "Tungsten";
  font-size: 46px;
  font-weight: 700;
  box-shadow:
    0 0 0 10px #d5d5d5,
    0 6px 10px rgb(12 31 54 / 18%);
}

.contest-timeline__track-item.is-active .contest-timeline__dot {
  background: var(--canon-red);
  color: #ffffff;
  box-shadow:
    0 0 0 10px #d5d5d5,
    0 7px 11px rgb(9 28 50 / 20%);
}

.contest-timeline__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--timeline-gap);
  margin-top: 42px;
  padding: 0;
  align-items: stretch;
}

.contest-timeline__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  padding-bottom: 94px;
  border-radius: 10px;
  border: 0;
  background: #f2f2f2;
  box-shadow: 0 9px 20px rgb(11 30 52 / 18%);
  color: #999;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.contest-timeline__card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -23px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 24px solid rgb(235 235 236 / 92%);
}

.contest-timeline__card::after {
  content: none;
}

.contest-timeline__card.is-active {
  color: var(--canon-text);
  background: #fff;
}

.contest-timeline__card.is-active::before {
  border-bottom-color: #fff;
}

.contest-timeline__card.is-active.is-visible {
  animation: ca-card-breathe 3.2s ease-in-out 1s infinite;
}

.contest-timeline__card-title {
  margin: 0;
  color: #8c8f93;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.contest-timeline__card-title-line {
  display: block;
}
.contest-timeline__card-title-line + .contest-timeline__card-title-line {
  margin-top: 2px;
}

.contest-timeline__card.is-active .contest-timeline__card-title {
  color: var(--canon-text);
}

.contest-timeline__card-line {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.36;
  font-weight: 500;
}

.contest-timeline__card-line.is-label {
  margin-top: 16px;
  font-weight: 700;
}

.contest-timeline__card:not(.is-active) .contest-timeline__card-line {
  color: #999;
}

.contest-timeline__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 5px;
  background: #999;
  color: var(--canon-border);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.contest-timeline__card.is-active .contest-timeline__card-btn {
  background: var(--canon-red);
  color: #fff;
}

.contest-timeline__card:not(.is-active) .contest-timeline__card-btn {
  color: var(--canon-border);
}

.contest-timeline__card-btn:hover,
.contest-timeline__card-btn:focus-visible {
  filter: brightness(0.95);
}

.contest-timeline__card.is-active .contest-timeline__card-btn:hover,
.contest-timeline__card.is-active .contest-timeline__card-btn:focus-visible {
  background: #ca0000;
}

.contest-rules__list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contest-section--rules {
  width: 100%;
  margin-top: 0;
  padding: 50px 0 44px;
  color: #0f3d67;
}

.contest-rules__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.contest-section--rules .contest-section__heading {
  position: relative;
  margin: 0;
  color: #043a61;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contest-section--rules .contest-section__heading::after {
  content: "";
  display: block;
  width: 112px;
  height: 6px;
  margin-top: 12px;
  background: var(--canon-red);
}

.contest-rules__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  background: #fe0000;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.contest-rules__download:hover,
.contest-rules__download:focus-visible {
  background: #cc0000;
}

.contest-rules__item {
  position: relative;
  border-radius: 6px;
  border: 2px solid #fff;
  background: #ffffff;
  box-shadow: 0px 4px 4px 0px #00000026;

  overflow: hidden;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.contest-rules__item[open] {
  background: #ebf3fa;
  border-color: #ced8e4;
}

.contest-rules__summary {
  position: relative;
  display: block;
  padding: 25px 64px 25px 24px;
  color: var(--canon-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.contest-rules__summary::-webkit-details-marker {
  display: none;
}

.contest-rules__summary::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-right: 4px solid #111;
  border-bottom: 4px solid #111;
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.2s ease;
}

.contest-rules__item[open] .contest-rules__summary::after {
  transform: translateY(-38%) rotate(-135deg);
}

.contest-rules__panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 10px 0 24px;
  margin: 0 24px;
  border-top: 1px solid var(--canon-border);
  background: transparent;
  color: var(--canon-text);
  font-size: 16px;
  line-height: 1.42;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.36s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease,
    transform 0.22s ease,
    padding 0.28s ease,
    border-color 0.28s ease;
}

.contest-rules__item[open] .contest-rules__panel {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
}

.contest-rules__item:not([open]) .contest-rules__panel {
  padding-top: 0;
  padding-bottom: 0;
  border-top-color: transparent;
}

.contest-rules__panel p {
  margin: 6px 0;
}

.contest-rules__panel ul,
.contest-rules__panel ol {
  margin: 2px 0 6px;
  padding-left: 20px;
}

.contest-rules__panel table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.contest-rules__panel th,
.contest-rules__panel td {
  border: 1px solid #c4d0dd;
  padding: 6px 8px;
  text-align: left;
}

/* --- Judges heading --- */
.contest-judges__heading {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  color: var(--canon-text);
  text-align: center;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  text-transform: uppercase;
}

.contest-judges__heading::after {
  content: "";
  display: block;
  width: 112px;
  height: 6px;
  background: var(--canon-red);
  margin: 9px auto 0;
}

.contest-judges {
  display: block;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  transform: translateX(-50%);
  padding: 12px 0 0;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

/* --- 3-column grid --- */
.contest-judges__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
  align-items: end;
  max-width: 1176px;
  margin: 0 auto;
}

/* --- Individual judge card --- */
.contest-judges__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

/* --- Photo wrapper: photo sits above the rule line --- */
.contest-judges__photo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 388px;
  overflow: visible;
}

.contest-judges__photo {
  display: block;
  max-height: 418px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 10%));
  transition:
    transform 0.24s ease,
    filter 0.24s ease;
}

.contest-judges__card:hover .contest-judges__photo,
.contest-judges__card:focus-within .contest-judges__photo {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 16%));
}

.contest-judges__card:nth-child(1) .contest-judges__photo {
  max-height: 330px;
}

.contest-judges__card:nth-child(2) .contest-judges__photo {
  max-height: 344px;
}

.contest-judges__card:nth-child(3) .contest-judges__photo {
  max-height: 402px;
}

.contest-judges__photo--placeholder {
  width: 180px;
  height: 280px;
  background: linear-gradient(160deg, #e2e8f0, #b0c0d4);
  border-radius: 8px;
}

/* --- Meta: name + rule line + role --- */
.contest-judges__meta {
  width: 100%;
  max-width: 392px;
  margin-top: 0;
  padding-top: 16px;
  border-top: 3px solid var(--canon-text);
  text-align: center;
  /* box-shadow: 0 -3px 10px rgb(19 63 104 / 9%); */
  min-height: 82px;
}

.contest-judges__name {
  font-family: var(--font-primary);
  font-size: 25px;
  font-weight: 700;
  color: var(--canon-text);
  margin: 0 0 20px;
  letter-spacing: 0;
  line-height: 1.1;
}

.contest-judges__role {
  font-family: var(--font-primary);
  font-size: 16px;
  color: #999;
  margin: 0;
  line-height: 1.4;
  max-width: 290px;
  margin-inline: auto;
  text-transform: none;
}

.contest-judges__role-line {
  display: block;
}

.contest-judges__role-line + .contest-judges__role-line {
  margin-top: 2px;
}

.contest-section--prizes {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  padding: 120px 0 100px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}


/* .contest-section--prizes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(236 241 246 / 62%),
    rgb(214 225 234 / 34%)
  );
  pointer-events: none;
} */

.contest-section--prizes .contest-section__heading {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
  text-align: center;
  color: var(--canon-text);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contest-section--prizes .contest-section__heading::after {
  content: "";
  display: block;
  width: 112px;
  height: 6px;
  margin: 12px auto 0;
  background: var(--canon-red);
}

.contest-prizes__strategic {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 12px;
}

.contest-prizes__strategic-title {
  margin: 0;
  color: var(--canon-text);
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contest-prizes__strategic-title::after {
  content: "";
  display: block;
  width: 112px;
  height: 6px;
  margin: 12px auto 0;
  background: var(--canon-red);
}

.contest-prizes__strategic-note {
  margin: 30px auto 0;
  color: var(--canon-text);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.contest-prizes__strategic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  background: rgb(255 255 255 / 78%);
	overflow: hidden;
}

.contest-prizes__strategic-item {
	position: relative;	
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
  justify-content: center;
  min-height: 156px;
}

.contest-prizes__strategic-item + .contest-prizes__strategic-item {
  border-left:0;
}

.contest-prizes__strategic-item + .contest-prizes__strategic-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: calc(100% - 20px);
  max-height: 144px;
  transform: translateY(-50%);
  background: #d7dde2;
}

.contest-prizes__strategic-badge {
  margin: 0;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--canon-red);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.contest-prizes__strategic-amount {
  margin: 16px 0 8px;
  color: var(--canon-red);
  font-family: "Tungsten";
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.contest-prizes__strategic-item-note {
  margin: 0;
  color: var(--canon-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.contest-prizes__surface {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 80px auto 90px;
  padding: 10px 0 0;
  border-radius: 0;
}

.contest-prizes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 30px;
}

.contest-prize {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  border-radius: 10px;
  border: 1px solid var(--canon-border);
  background: rgb(245 246 248 / 94%);
  box-shadow: 0 2px 8px rgb(15 35 58 / 16%);
  color: var(--canon-text);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contest-prize:hover,
.contest-prize:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgb(11 32 56 / 24%);
}

.contest-prize:nth-child(2) {
  min-height: 364px;
  margin-top: -50px;
}

.contest-prize:nth-child(4) {
  grid-column: 2 / span 5;
}

.contest-prize:nth-child(5) {
  grid-column: 7 / span 5;
}

.contest-prize__badge {
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  margin: 0;
  min-height: 29px;
  padding: 12px 24px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background: var(--canon-red);
  color: #ffffff;
  font-size: 24px;
  line-height: 120%;
  white-space: nowrap;
  text-transform: uppercase;
}

.contest-prize__medal-wrap {
  position: relative;
  margin: 40px auto 2px;
}

.contest-prize__medal {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.contest-prize.is-visible .contest-prize__medal {
  animation: ca-medal-spin-in 0.75s cubic-bezier(0.2, 0.9, 0.25, 1) both;
  animation-delay: calc(var(--reveal-delay, 0ms) + 110ms);
}

.contest-prize.is-visible .contest-prize__badge {
  animation: ca-prize-badge-flare 2.8s ease-in-out 0.9s infinite;
}

.contest-prize:nth-child(2).is-visible {
  animation: ca-prize-champion 3.6s ease-in-out 1.2s infinite;
}

.contest-prize__medal--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 17px;
  border: 4px solid rgb(255 255 255 / 58%);
  color: rgb(0 0 0 / 35%);
  font-family: "Tungsten";
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 2px 3px rgb(255 255 255 / 60%),
    0 2px 5px rgb(0 0 0 / 22%);
}

.contest-prize--gold .contest-prize__medal--fallback {
  background: radial-gradient(
    circle at 32% 26%,
    #fff9cb 0,
    #edc24f 44%,
    #b98514 100%
  );
}

.contest-prize--silver .contest-prize__medal--fallback {
  background: radial-gradient(
    circle at 32% 26%,
    #ffffff 0,
    #d7dce2 46%,
    #8e969f 100%
  );
}

.contest-prize--bronze .contest-prize__medal--fallback {
  background: radial-gradient(
    circle at 32% 26%,
    #ffd9ba 0,
    #db8c52 45%,
    #a85b2b 100%
  );
}

.contest-prize--gray .contest-prize__medal--fallback {
  background: radial-gradient(
    circle at 32% 26%,
    #f2f2f2 0,
    #c9ced3 46%,
    #8f979f 100%
  );
}

.contest-prize--gray .contest-prize__medal {
  margin-bottom: 8px;
}

.contest-prize--gray .contest-prize__medal--fallback {
  margin-left: 0;
  display: inline-flex;
}

.contest-prize__amount {
  margin: 16px 0;
  color: var(--canon-red);
  font-family: "Tungsten";
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.contest-prize__cash-label {
  margin-bottom: 16px;
  margin-top: -10px;
  color: var(--canon-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.contest-prize--no-medal {
  padding-top: 26px;
}

.contest-prize--no-medal .contest-prize__amount {
  margin-top: 40px;
}

.contest-prize__content {
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid var(--canon-border);
  color: var(--canon-text);
  font-size: 16px;
  line-height: 28px;
}

.contest-prize__content p {
  margin: 0;
}

.contest-prize__content ul,
.contest-prize__content ol {
  margin: 2px 0 0;
  padding-left: 16px;
}

.contest-prize__content li + li {
  margin-top: 1px;
}

.contest-prizes__note {
  position: relative;
  z-index: 1;
  margin: 30px 0 0;
  color: var(--canon-text);
  font-size: 16px;
  text-align: center;
}

.contest-news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 38px;
}

.contest-news__item {
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease;
}

.contest-news__thumb-link {
  display: block;
  text-decoration: none;
}

.contest-news__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: 320px;
  transition: transform 0.28s ease;
}

.contest-news__item:hover,
.contest-news__item:focus-within {
  transform: translateY(-4px);
}

.contest-news__item:hover .contest-news__thumb,
.contest-news__item:focus-within .contest-news__thumb {
  transform: scale(1.04);
}

.contest-news__thumb--placeholder {
  background: linear-gradient(145deg, #ced9e5, #a4b7cb);
}

.contest-news__title {
  margin: 12px 0 16px;
  font-size: 24px;
  line-height: 1.14;
  font-weight: 700;
  height: 73px;
}

.contest-news__title a,
.contest-news__title {
  color: var(--canon-text);
  text-decoration: none;
}

.contest-news__title a:hover,
.contest-news__title a:focus-visible {
  color: #0f2f50;
}

.contest-news__meta {
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--canon-border);
  font-size: 16px;
  line-height: 1;
}

.contest-news__dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #c0c5cb;
}

.contest-news__excerpt {
  margin: 12px 0 0;
  color: #273d52;
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
}

.contest-news__actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.contest-news__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 3px;
  background: #fe0000;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.contest-news__more:hover,
.contest-news__more:focus-visible {
  background: #cb0000;
}

.contest-partners__heading-wrap {
  display: flex;
  align-items: center;
  gap: 46px;
}

.contest-partners__heading-line {
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: var(--canon-text);
}

.contest-partners__heading {
  margin: 0;
  color: var(--canon-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.contest-partners {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 62px;
}

.contest-partners__item {
  min-width: 0;
}

.contest-partners__card {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--canon-border);
  border-radius: 5px;
  text-decoration: none;
  padding: 20px;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contest-partners__card:hover,
.contest-partners__card:focus-visible {
  border-color: #99abc0;
  background: #f8fbff;
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgb(13 38 64 / 14%);
}

.contest-partners__logo {
  display: block;
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.contest-partners__logo-fallback {
  color: #123c65;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

/* @media (min-width: 760px) {


  .contest-hero__media {
    min-height: 360px;
    gap: 12px;
  }

  .contest-hero__tile {
    min-height: 340px;
  }

  .contest-section--intro {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
    gap: 32px;
    align-items: center;
  }

  .contest-intro__content {
    margin-top: 0;
  }

  .contest-timeline {
    grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr);
  }

  .contest-timeline__panel {
    min-height: 620px;
  }

  .contest-timeline__center {
    padding-inline: 10px;
  }

  .contest-judges {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .contest-prizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contest-news {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
    align-items: start;
  }

  .contest-news__stack {
    margin-top: 0;
  }
} */

/* =============================================================================
   SUBMIT MODAL  (prefix: csm-)
   ============================================================================= */

.csm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.csm-overlay[hidden] {
  display: none;
}

.csm-box {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 105px);
  overflow-y: auto;
  padding: 50px 36px 40px;
}

.csm-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--canon-bg);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color:  var(--canon-text);;
  transition: background 0.15s;
  z-index: 1;
}

.csm-close:hover {
  background: #d0d0d0;
  color: #222;
}

/* Two columns */
.csm-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.csm-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fe0000;
}

/* Fields */
.csm-field {
  margin-bottom: 12px;
}

.csm-field:last-child {
  margin-bottom: 0;
}

.csm-label {
  display: block;
  font-size:14px;
  margin-bottom: 4px;
}

.csm-label abbr {
  text-decoration: none;
  color: #fe0000;
  margin-left: 2px;
}

.csm-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--canon-border);
  border-radius: 4px;
  font-size: 0.84rem;
  background: #fff;
  transition: border-color 0.15s;
  font-family: inherit;
  color: var(--canon-text);
}

.csm-input:focus {
  outline: none;
  border-color: #2f8fd1;
  box-shadow: 0 0 0 2px rgba(47, 143, 209, 0.18);
}

.csm-textarea {
  height: auto;
  padding-top: 8px;
  resize: vertical;
}

.csm-select-wrap {
  position: relative;
}

.csm-select-wrap select.csm-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  cursor: pointer;
}

.csm-select-wrap::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--canon-border);
  pointer-events: none;
}

/* Side-by-side row */
.csm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Character counter */
.csm-char-count {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  margin-top: 3px;
}

/* File upload */
.csm-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.csm-file-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  overflow: hidden;
}

.csm-file-name {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  font-size: 0.82rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 36px;
}

.csm-file-btn {
  flex-shrink: 0;
  padding: 0 14px;
  background: #f0f0f0;
  border-left: 1px solid #c5c5c5;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  line-height: 36px;
  transition: background 0.15s;
}

.csm-file-btn:hover {
  background: #e0e0e0;
}

.csm-hint {
  display: block;
  font-size: 0.72rem;
  color: #888;
  margin-top: 4px;
  line-height: 1.4;
}

/* Terms */
.csm-terms {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.csm-check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.csm-check {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #fe0000;
}

input::placeholder, textarea::placeholder {
  opacity: 0.3; /* Ensures color isn't translucent in Firefox */
} 

.csm-check-text {
  font-size: 13px;
  line-height: 1.55;
}

.csm-terms-list {
  margin: 6px 0 0 0;
  padding-left: 18px;
}

.csm-terms-list li {
  margin-bottom: 4px;
}

/* Error */
.csm-error {
  margin-top: 12px;
  padding: 10px 14px;
  background: #fff2f2;
  border: 1px solid #f5c6c6;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #c0392b;
}

/* Actions */
.csm-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.csm-btn {
     display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    font-family: inherit;
}

.csm-btn--primary {
  background: #fe0000;
  color: #fff;
}

.csm-btn--primary:hover:not(:disabled) {
  background: #c90000;
}

.csm-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Spinner */
.csm-btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: csm-spin 0.7s linear infinite;
}

@keyframes csm-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success state */
.csm-feedback {
  text-align: center;
  padding: 40px 20px;
}

.csm-feedback h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin: 16px 0 8px;
}

.csm-feedback p {
  font-size: 0.9rem;
  color: #555;
  max-width: 380px;
  margin: 0 auto 24px;
}

.contest-section--news,
.contest-section--partners {
  display: none;
}

.contest-timeline__card-line.is-label:nth-of-type(3) {
  border-top: 1px solid var(--canon-border);
  padding-top: 16px;
}

.csm-note {
   font-size: 12px;
   font-weight: 300;
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .contest-hero__countdown {
    bottom: -30px;
  }
}
