/* King Kong IPSC 2027 — isolated front-end styles */
body.kkipsc27-page { overflow-x: hidden !important; background: #030504 !important; }
.kkipsc27-host { overflow: visible !important; }
.page_content_wrap.kkipsc27-host { padding-top: 0 !important; padding-bottom: 0 !important; }
body.kkipsc27-page .page_content_wrap > .content_wrap,
body.kkipsc27-page .page_content_wrap > .content_wrap > .content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
body.kkipsc27-page .page_content_wrap > .content_wrap > .sidebar { display: none !important; }
body.kkipsc27-page .post_content > p:empty,
body.kkipsc27-page .post_content > p:has(+ .kkipsc27) {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.kkipsc27 > code {
  all: unset !important;
  display: contents !important;
}
.kkipsc27 {
  --kk-bg: #07100b;
  --kk-panel: #0d1711;
  --kk-panel-2: #132018;
  --kk-gold: #d2ad59;
  --kk-gold-pale: #f1d99c;
  --kk-cream: #f2eee2;
  --kk-muted: #9ea99f;
  --kk-line: rgba(222, 190, 111, .22);
  position: relative;
  left: auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--kk-cream);
  background: var(--kk-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  isolation: isolate;
  z-index: 20;
}
.kkipsc27 *, .kkipsc27 *::before, .kkipsc27 *::after { box-sizing: border-box; }
.kkipsc27 a { color: inherit; text-decoration: none; }
.kkipsc27 h1, .kkipsc27 h2, .kkipsc27 h3, .kkipsc27 p { margin-top: 0; }
.kkipsc27-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.kkipsc27-hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 9, 5, .92) 0%, rgba(3, 9, 5, .68) 46%, rgba(3, 9, 5, .14) 82%),
    linear-gradient(0deg, #07100b 0%, transparent 28%),
    url('../images/king-kong-jungle-hero.webp') center / cover no-repeat;
}
.kkipsc27-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 24%, rgba(220, 174, 74, .19), transparent 28%);
  pointer-events: none;
}
.kkipsc27-hero::after {
  content: "2027";
  position: absolute;
  right: -2vw;
  bottom: -10vw;
  color: rgba(230, 198, 126, .035);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(220px, 32vw, 520px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .78;
  pointer-events: none;
}
.kkipsc27-hero__texture {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.kkipsc27-hero__inner { position: relative; z-index: 1; padding: 120px 0 150px; }
.kkipsc27-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--kk-gold-pale);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.kkipsc27-kicker::before { content: ""; width: 52px; height: 1px; background: var(--kk-gold); }
.kkipsc27-hero h1 {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(64px, 9.5vw, 150px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .83;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.kkipsc27-hero h1::after { content: ""; display: block; width: clamp(100px, 15vw, 210px); height: 6px; margin-top: 30px; background: var(--kk-gold); }
.kkipsc27-hero__lead { max-width: 650px; margin: 28px 0 42px; color: #d8ddd6; font-size: clamp(18px, 2vw, 25px); line-height: 1.45; }
.kkipsc27-hero__dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(890px, 100%); border: 1px solid rgba(232, 210, 157, .3); background: rgba(5, 13, 8, .6); backdrop-filter: blur(12px); }
.kkipsc27-hero__dates a { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 86px; padding: 18px 20px; transition: background .22s ease, color .22s ease; }
.kkipsc27-hero__dates a + a { border-left: 1px solid rgba(232, 210, 157, .2); }
.kkipsc27-hero__dates a:hover, .kkipsc27-hero__dates a:focus-visible { color: #07100b; background: var(--kk-gold-pale); outline: none; }
.kkipsc27-hero__dates span { color: var(--kk-gold); font-size: 11px; font-weight: 900; }
.kkipsc27-hero__dates a:hover span { color: #5b481f; }
.kkipsc27-hero__dates strong { font-size: 14px; line-height: 1.2; text-transform: uppercase; }
.kkipsc27-hero__dates em { padding: 3px 6px; border: 1px solid currentColor; font-size: 11px; font-style: normal; font-weight: 900; }
.kkipsc27-scroll { position: absolute; z-index: 2; bottom: 25px; left: 50%; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transform: translateX(-50%); }
.kkipsc27-scroll span { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(255,255,255,.22); }
.kkipsc27-scroll span::after { content: ""; position: absolute; inset: -100% 0 100%; background: var(--kk-gold); animation: kkipsc27-scroll 2.2s ease-in-out infinite; }
@keyframes kkipsc27-scroll { 50%,100% { transform: translateY(200%); } }

.kkipsc27-events { position: relative; padding: 110px 0 125px; background: linear-gradient(180deg, #07100b, #0a140e 55%, #07100b); }
.kkipsc27-events::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 72px 72px; pointer-events: none; }
.kkipsc27-section-heading { position: relative; display: grid; grid-template-columns: .55fr 1.1fr 1fr; align-items: end; gap: 32px; margin-bottom: 58px; }
.kkipsc27-section-heading p, .kkipsc27-how__heading > p { margin: 0; color: var(--kk-gold); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.kkipsc27-section-heading h2, .kkipsc27-how__heading h2 { margin: 0; color: #fff; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(42px, 5vw, 70px); font-weight: 900; letter-spacing: .01em; line-height: .95; text-transform: uppercase; }
.kkipsc27-section-heading > span { color: var(--kk-muted); font-size: 15px; }
.kkipsc27-event { position: relative; margin: 0 0 22px; padding: 34px 36px 36px 110px; overflow: hidden; border: 1px solid var(--kk-line); background: linear-gradient(125deg, rgba(18,32,23,.98), rgba(9,19,13,.93)); box-shadow: 0 22px 60px rgba(0,0,0,.16); }
.kkipsc27-event--featured { border-color: rgba(210,173,89,.55); background: linear-gradient(125deg, rgba(30,39,22,.98), rgba(10,20,13,.94)); }
.kkipsc27-event::after { content: ""; position: absolute; inset: auto -90px -140px auto; width: 360px; height: 260px; opacity: .11; border: 1px solid var(--kk-gold); border-radius: 50%; box-shadow: 0 0 0 45px rgba(210,173,89,.2), 0 0 0 90px rgba(210,173,89,.12); pointer-events: none; }
.kkipsc27-event__number { position: absolute; top: 0; bottom: 0; left: 0; display: grid; width: 76px; place-items: center; color: var(--kk-gold); border-right: 1px solid var(--kk-line); font-family: Impact, sans-serif; font-size: 24px; writing-mode: vertical-rl; transform: rotate(180deg); }
.kkipsc27-event__header { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .8fr; align-items: end; gap: 30px; margin-bottom: 28px; }
.kkipsc27-event__level { margin-bottom: 9px; color: var(--kk-gold); font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.kkipsc27-event__header h3 { margin: 0; color: #fff; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(34px, 4vw, 56px); line-height: 1; text-transform: uppercase; }
.kkipsc27-event__name { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.kkipsc27-event__name strong { color: var(--kk-gold-pale); font-size: 17px; text-transform: uppercase; }
.kkipsc27-event__name span { color: var(--kk-muted); font-size: 13px; }
.kkipsc27-event__actions { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.kkipsc27-action { min-height: 105px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 18px 16px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.kkipsc27-action.is-active:hover, .kkipsc27-action.is-active:focus-visible { border-color: var(--kk-gold); background: rgba(210,173,89,.12); transform: translateY(-3px); outline: none; }
.kkipsc27-action.is-disabled { opacity: .58; cursor: default; }
.kkipsc27-action__icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--kk-gold); border: 1px solid rgba(210,173,89,.35); }
.kkipsc27-action__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.kkipsc27-action__copy { min-width: 0; }
.kkipsc27-action__copy strong { display: block; color: #fff; font-size: 14px; line-height: 1.25; text-transform: uppercase; }
.kkipsc27-action__copy small { display: block; margin-top: 4px; overflow: hidden; color: var(--kk-muted); font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.kkipsc27-action.is-active .kkipsc27-action__copy small { color: var(--kk-gold-pale); }
.kkipsc27-action__arrow { color: var(--kk-gold); font-size: 16px; }
.kkipsc27-action.is-disabled .kkipsc27-action__arrow { visibility: hidden; }

.kkipsc27-how { padding: 105px 0; color: #1a211b; background: #e8e2d3; }
.kkipsc27-how .kkipsc27-shell { display: grid; grid-template-columns: .9fr 1.5fr; gap: 90px; }
.kkipsc27-how__heading h2 { margin-top: 12px; color: #0d1711; }
.kkipsc27-how__steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(25,34,26,.25); }
.kkipsc27-how__steps li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(25,34,26,.25); }
.kkipsc27-how__steps li > span { color: #99752f; font-weight: 900; }
.kkipsc27-how__steps strong { font-size: 18px; text-transform: uppercase; }
.kkipsc27-how__steps p { margin: 5px 0 0; color: #5c655e; }
.kkipsc27-footer { padding: 48px 0; border-top: 1px solid var(--kk-line); background: #050b07; }
.kkipsc27-footer .kkipsc27-shell { display: grid; grid-template-columns: .7fr 1fr 1.2fr; align-items: center; gap: 30px; }
.kkipsc27-footer p { margin: 0; color: var(--kk-gold); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.kkipsc27-footer strong { color: #fff; font-family: Impact, "Arial Narrow", sans-serif; font-size: 28px; letter-spacing: .05em; text-transform: uppercase; }
.kkipsc27-footer span { color: var(--kk-muted); font-size: 13px; text-align: right; }

@media (max-width: 980px) {
  .kkipsc27-section-heading { grid-template-columns: 1fr 2fr; }
  .kkipsc27-section-heading > span { grid-column: 2; }
  .kkipsc27-event__actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kkipsc27-how .kkipsc27-shell { gap: 50px; }
}
@media (max-width: 720px) {
  .kkipsc27-shell { width: min(100% - 30px, 1180px); }
  .kkipsc27-hero { min-height: auto; background-position: 62% center; }
  .kkipsc27-hero__inner { padding: 110px 0 125px; }
  .kkipsc27-hero h1 { font-size: clamp(58px, 19vw, 94px); }
  .kkipsc27-hero__lead { font-size: 18px; }
  .kkipsc27-hero__dates { grid-template-columns: 1fr; }
  .kkipsc27-hero__dates a { min-height: 66px; padding: 13px 16px; }
  .kkipsc27-hero__dates a + a { border-top: 1px solid rgba(232,210,157,.2); border-left: 0; }
  .kkipsc27-events { padding: 78px 0 82px; }
  .kkipsc27-section-heading { display: block; margin-bottom: 38px; }
  .kkipsc27-section-heading h2 { margin: 10px 0 18px; }
  .kkipsc27-event { padding: 25px 18px 22px; }
  .kkipsc27-event__number { position: static; display: block; width: auto; margin-bottom: 12px; border: 0; font-size: 14px; writing-mode: initial; transform: none; }
  .kkipsc27-event__header { display: block; }
  .kkipsc27-event__name { align-items: flex-start; margin-top: 16px; text-align: left; }
  .kkipsc27-event__actions { grid-template-columns: 1fr; }
  .kkipsc27-action { min-height: 84px; }
  .kkipsc27-how { padding: 74px 0; }
  .kkipsc27-how .kkipsc27-shell { display: block; }
  .kkipsc27-how__heading { margin-bottom: 38px; }
  .kkipsc27-footer .kkipsc27-shell { grid-template-columns: 1fr; gap: 8px; }
  .kkipsc27-footer span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .kkipsc27 *, .kkipsc27 *::before, .kkipsc27 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Poster-led art direction: cracked sandstone, jungle ruins and red L badges. */
.kkipsc27 {
  --kk-bg: #050807;
  --kk-panel: #17140f;
  --kk-panel-2: #211c14;
  --kk-gold: #d0a14e;
  --kk-gold-pale: #ead19a;
  --kk-red: #a81713;
  --kk-cream: #e9dcc0;
  --kk-muted: #a79f8d;
  --kk-line: rgba(224, 187, 112, .28);
  background: #050807;
}
.kkipsc27-hero {
  min-height: min(920px, 100svh);
  background:
    linear-gradient(90deg, rgba(2, 4, 3, .94) 0%, rgba(2, 4, 3, .72) 39%, rgba(2, 4, 3, .08) 68%),
    linear-gradient(0deg, #050807 0%, transparent 31%),
    url('../images/king-kong-poster-hero-v2.webp') 62% center / cover no-repeat;
}
.kkipsc27-hero::before {
  background:
    radial-gradient(circle at 81% 20%, rgba(255, 176, 42, .23), transparent 26%),
    linear-gradient(115deg, transparent 60%, rgba(159, 23, 17, .1));
}
.kkipsc27-hero::after { content: none; }
.kkipsc27-hero__texture { opacity: .38; mix-blend-mode: overlay; }
.kkipsc27-kicker { color: #d9ba79; text-shadow: 0 2px 4px #000; }
.kkipsc27-hero h1 {
  max-width: 760px;
  color: #cda45e;
  background:
    linear-gradient(180deg, #f1d69b 0%, #b57d32 46%, #e2bc70 62%, #7d5427 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 7px 0 #2b1e12) drop-shadow(0 16px 12px rgba(0,0,0,.82));
  font-size: clamp(70px, 9.2vw, 148px);
  letter-spacing: -.02em;
  line-height: .98;
  padding-bottom: .08em;
}
.kkipsc27-hero h1::after {
  width: min(470px, 72%);
  height: 8px;
  margin-top: 31px;
  background: linear-gradient(90deg, transparent, #d5a953 12%, #d5a953 88%, transparent);
  box-shadow: 0 3px 0 #2b1d10;
}
.kkipsc27-hero__lead { color: #efe5cf; font-weight: 650; text-shadow: 0 3px 12px #000; }
.kkipsc27-hero__dates {
  border: 0;
  background: transparent;
  backdrop-filter: none;
  gap: 8px;
}
.kkipsc27-hero__dates a {
  min-height: 82px;
  padding: 18px 20px;
  border: 1px solid rgba(225, 190, 118, .38) !important;
  background:
    linear-gradient(120deg, rgba(30, 27, 20, .96), rgba(8, 9, 7, .93)),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 2px);
  box-shadow: inset 0 0 24px rgba(0,0,0,.68), 0 8px 22px rgba(0,0,0,.35);
  clip-path: polygon(2% 4%, 98% 0, 100% 88%, 96% 100%, 3% 96%, 0 12%);
}
.kkipsc27-hero__dates a:hover, .kkipsc27-hero__dates a:focus-visible { color: #fff4d9; background: linear-gradient(120deg, #3e2d1b, #17120d); }
.kkipsc27-hero__dates em { padding: 8px 11px; color: #fff0d1; border: 0; background: var(--kk-red); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13), 0 3px 0 #4f0907; transform: skew(-5deg); }
.kkipsc27-events {
  background:
    linear-gradient(rgba(5,8,7,.9), rgba(5,8,7,.97)),
    url('../images/king-kong-poster-hero-v2.webp') center 28% / cover fixed;
}
.kkipsc27-section-heading h2, .kkipsc27-how__heading h2, .kkipsc27-event__header h3 {
  color: #d3aa62;
  background: linear-gradient(#f0d7a4, #a86f2e 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #261a10);
}
.kkipsc27-event {
  padding-top: 39px;
  padding-bottom: 42px;
  border: 0;
  background:
    linear-gradient(115deg, rgba(34,30,22,.98), rgba(10,11,9,.98)),
    radial-gradient(circle, rgba(255,255,255,.15) 0 1px, transparent 1.5px);
  background-size: auto, 9px 9px;
  box-shadow: inset 0 0 0 1px rgba(224,187,112,.22), inset 0 -18px 32px rgba(0,0,0,.42), 0 20px 36px rgba(0,0,0,.35);
  clip-path: polygon(.7% 3%, 6% 0, 18% 2%, 31% .5%, 50% 2%, 69% 0, 87% 2%, 99.4% .5%, 100% 92%, 97% 100%, 80% 98%, 61% 100%, 45% 98%, 25% 100%, 8% 97%, 0 99%);
  isolation: isolate;
  container-type: inline-size;
}
.kkipsc27-event--featured { background: linear-gradient(115deg, rgba(48,36,22,.99), rgba(12,12,9,.98)); }
.kkipsc27-event::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -52px -6px -8px -38px;
  background: url('../images/jungle-vine-overlay.webp') center / 100% 100% no-repeat;
  filter: saturate(1.42) brightness(1.1) contrast(1.05) drop-shadow(0 6px 5px rgba(0,0,0,.62));
  pointer-events: none;
}
.kkipsc27-event::after {
  content: none;
}
.kkipsc27-event__number {
  z-index: 3;
  width: 80px;
  color: #e9cb8e;
  border-right: 2px solid rgba(220,181,101,.4);
  font-size: 30px;
  text-shadow: 0 4px 0 #281b10;
}
.kkipsc27-event__header, .kkipsc27-event__actions { position: relative; z-index: 3; }
.kkipsc27-event__level { color: #e0b65e; }
.kkipsc27-event__name strong { color: #efd69d; font-size: 20px; text-shadow: 0 3px 0 #20150d; }
.kkipsc27-calendar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -5px 0 22px;
}
.kkipsc27-calendar__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 5px;
  color: #d8c495;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kkipsc27-calendar__label svg { width: 18px; height: 18px; fill: none; stroke: #dda94d; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.kkipsc27-calendar a {
  padding: 7px 12px;
  color: #f5e5c2;
  border: 1px solid rgba(218,180,105,.35);
  background: rgba(0,0,0,.3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.kkipsc27-calendar a:hover, .kkipsc27-calendar a:focus-visible { color: #fff4da; border-color: #d7a84f; background: #7d251d; transform: translateY(-2px); outline: none; }
.kkipsc27-action {
  min-height: 104px;
  border: 1px solid rgba(218,180,105,.2);
  background: linear-gradient(145deg, rgba(65,53,35,.48), rgba(7,8,7,.72));
  box-shadow: inset 0 0 20px rgba(0,0,0,.42);
  clip-path: polygon(2% 3%, 96% 0, 100% 92%, 97% 100%, 1% 97%);
}
.kkipsc27-action.is-active { border-color: rgba(218,180,105,.52); background: linear-gradient(145deg, rgba(99,72,34,.58), rgba(18,14,9,.78)); }
.kkipsc27-action.is-active:hover, .kkipsc27-action.is-active:focus-visible { background: linear-gradient(145deg, rgba(126,87,36,.68), rgba(28,18,10,.86)); }
.kkipsc27-action__icon { color: #efce88; border: 0; background: rgba(0,0,0,.33); box-shadow: inset 0 0 0 1px rgba(225,187,112,.23); }
.kkipsc27-action__copy strong { color: #f3e4c3; }
.kkipsc27-action__copy {
  writing-mode: horizontal-tb;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.kkipsc27-action__copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kkipsc27-action.is-active .kkipsc27-action__arrow { display: grid; width: 28px; height: 28px; place-items: center; color: #fff3d5; background: var(--kk-red); box-shadow: 0 3px 0 #4f0907; }
.kkipsc27-partners {
  position: relative;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 12% 18%, rgba(176,112,27,.12), transparent 24%),
    linear-gradient(180deg, #080a08, #10100c 52%, #070907);
  border-top: 1px solid rgba(221,183,105,.18);
}
.kkipsc27-partners__heading { margin-bottom: 42px; }
.kkipsc27-partners__grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
.kkipsc27-partner {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 168px;
  place-items: center;
  padding: 26px 20px;
  overflow: hidden;
  border: 1px solid rgba(218,180,105,.24);
  clip-path: polygon(2% 2%, 98% 0, 100% 96%, 96% 100%, 1% 98%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.kkipsc27-partner.is-light { background: linear-gradient(145deg, #f3eee2, #d9d0be); box-shadow: inset 0 0 26px rgba(83,62,30,.12); }
.kkipsc27-partner.is-dark { background: linear-gradient(145deg, #171914, #080a08); box-shadow: inset 0 0 28px rgba(0,0,0,.58); }
.kkipsc27-partner[href]:hover, .kkipsc27-partner[href]:focus-visible { z-index: 2; border-color: rgba(230,190,108,.72); box-shadow: 0 14px 28px rgba(0,0,0,.35); transform: translateY(-4px); outline: none; }
.kkipsc27-partner img { display: block; width: var(--kkipsc27-logo-scale); max-width: 100%; height: 104px; object-fit: contain; }
.kkipsc27-partner > span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kkipsc27-ranking {
  position: relative;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 86% 5%, rgba(179,116,28,.16), transparent 25%),
    linear-gradient(180deg, #050807, #0b100b 50%, #050706);
  border-top: 1px solid rgba(221,183,105,.2);
}
.kkipsc27-ranking__heading { margin-bottom: 40px; }
.kkipsc27-ranking__frame {
  position: relative;
  padding: 15px;
  background: linear-gradient(120deg, #30291c, #0a0b09);
  box-shadow: inset 0 0 0 1px rgba(226,190,117,.26), inset 0 0 35px rgba(0,0,0,.62), 0 22px 48px rgba(0,0,0,.36);
  clip-path: polygon(.6% 1%, 8% 0, 23% .6%, 40% 0, 57% .8%, 76% 0, 92% .6%, 99.4% 0, 100% 99%, 85% 99.5%, 67% 99%, 49% 100%, 31% 99%, 13% 100%, 0 99%);
}
.kkipsc27-ranking__frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 5px;
  border: 9px solid transparent;
  border-radius: 25px;
  background: repeating-linear-gradient(38deg, #30401f 0 8px, #85663a 8px 14px, #27371d 14px 21px) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 5px 4px #000);
  pointer-events: none;
}
.kkipsc27-ranking__frame iframe { display: block; width: 100% !important; max-width: none !important; border: 0 !important; background: #080b08; }
.kkipsc27-how { color: #e7d8b8; background: linear-gradient(135deg, #15130f, #080a08); border-top: 1px solid rgba(221,183,105,.26); }
.kkipsc27-how__heading h2 { color: #d7ad64; }
.kkipsc27-how__steps { border-top-color: rgba(221,183,105,.28); }
.kkipsc27-how__steps li { border-bottom-color: rgba(221,183,105,.22); }
.kkipsc27-how__steps li > span { color: #c99b49; font-family: Impact, sans-serif; font-size: 25px; }
.kkipsc27-how__steps strong { color: #f1dfb9; }
.kkipsc27-how__steps p { color: #aaa18e; }
.kkipsc27-footer { background: #030504; }
@media (max-width: 720px) {
  .kkipsc27-hero { background-position: 68% center; }
  .kkipsc27-hero h1 { max-width: 88%; font-size: clamp(61px, 18vw, 92px); }
  .kkipsc27-event { padding-top: 30px; padding-bottom: 30px; clip-path: polygon(1% 1%, 98% 0, 100% 98%, 2% 100%); }
  .kkipsc27-event::before {
    inset: auto -8px -6px auto;
    width: 148px;
    height: 98px;
    background-size: 720px auto;
    background-position: right bottom;
    opacity: .9;
  }
  .kkipsc27-ranking { padding: 76px 0 82px; }
  .kkipsc27-ranking__frame { padding: 10px; }
  .kkipsc27-calendar { align-items: flex-start; margin: 0 0 20px; }
  .kkipsc27-calendar__label { flex: 0 0 100%; margin-bottom: 3px; }
  .kkipsc27-calendar a { flex: 1 1 auto; text-align: center; }
  .kkipsc27-partners { padding: 76px 0 82px; }
  .kkipsc27-partners__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .kkipsc27-partner { min-height: 128px; padding: 16px 12px; }
  .kkipsc27-partner img { height: 78px; }
}

@media (min-width: 721px) and (max-width: 1050px) {
  .kkipsc27-partners__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* The WordPress theme can place the shortcode in a narrow desktop column.
   These rules react to the card's real width, not only to the screen width. */
@container (max-width: 900px) {
  .kkipsc27-event__header { grid-template-columns: 1fr; gap: 18px; }
  .kkipsc27-event__name { align-items: flex-start; text-align: left; }
  .kkipsc27-event__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 520px) {
  .kkipsc27-event__actions { grid-template-columns: 1fr; }
}

