/* ============================================================================
   /kids-bjj-seasonal-local-competitions-guide/ — Season 7 (page 45604 ONLY).
   Port of the Claude Design file 2026-09-23-kids-comp-guide-design.html
   (comp7-page.jsx). Desktop values are the 1440 artboard, the <=900px block is
   the 390 artboard. Loaded only on this page (c7_enqueue_assets), after
   content-pages.css; every rule is scoped under .c7.
============================================================================ */

/* Fonts the sitewide set does not carry: Barlow 500 (Step 2 lead), and the
   latin-ext subsets for "Ocēlōtl" (ē U+0113, ō U+014D). unicode-range means the
   ext files download only when those glyphs are on the page. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anton-400-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF; }

.c7 {
  --c7-band: #ebe6db;
  --c7-body: rgba(13,13,12,0.78);
  --c7-px: clamp(20px, 8.34vw, 120px);
  /* Height of the site's sticky header; comp-guide.js measures the real one. */
  --c7-top: 83px;
  background: var(--canvas);
  font-family: var(--font-body);
}
@media (max-width: 980px) { .c7 { --c7-top: 69px; } }

/* (0,1,0): beats GeneratePress's bare h2/p margins, loses to the .c7-* rules below. */
.c7 :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.c7 :where(ul, ol) { list-style: none; }
.c7 a { text-decoration: none; }
.c7-in { max-width: 1200px; margin-inline: auto; }
.c7-sec { padding: 96px var(--c7-px); scroll-margin-top: calc(var(--c7-top) + 58px); }
.c7-band { background: var(--c7-band); }

/* --- Type atoms ---------------------------------------------------------- */
.c7-label { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.c7-label--ink { color: var(--ink); }
.c7-mb8 { margin-bottom: 8px; } .c7-mb10 { margin-bottom: 10px; } .c7-mb12 { margin-bottom: 12px; }
.c7-h1 { font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: 1; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.c7-h2 { font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 1.02; text-transform: uppercase; color: var(--ink); text-wrap: balance; margin-bottom: 40px; }
.c7-h2--dark { color: #fff; }
.c7-h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.08; text-transform: uppercase; color: var(--ink); text-wrap: balance; margin-bottom: 18px; }
.c7-h3--dark { color: #fff; }
.c7-p { font-family: var(--font-body); font-size: 17.5px; line-height: 1.6; color: var(--c7-body); text-wrap: pretty; }
.c7-p--dark { color: var(--text-on-dark-muted); }
.c7-p--dark.is-strong { color: #fff; font-weight: 600; }
.c7-sq { width: 6px; height: 6px; background: var(--red); display: inline-block; flex: 0 0 auto; }
.c7-stack10 { display: flex; flex-direction: column; gap: 10px; }
.c7-stack16 { display: flex; flex-direction: column; gap: 16px; }

/* --- Button (Btn7) -------------------------------------------------------- */
.c7 .c7-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; background: var(--red); color: #fff; border-radius: var(--radius-control);
  font-family: var(--font-label); font-weight: 600; font-size: 14.5px; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; box-shadow: 0 2px 0 var(--red-shadow);
  transition: transform .15s ease, filter .15s ease;
}
.c7 .c7-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff; }
.c7 .c7-btn--small { min-height: 44px; padding: 0 18px; font-size: 13px; }
.c7 .c7-btn--full { width: 100%; }
.c7 .c7-btn:focus-visible, .c7 .c7-tile:focus-visible, .c7-jump__link:focus-visible, .c7-faq__q:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* --- Photos (Photo7) ------------------------------------------------------ */
.c7-photo { border-radius: 5px; overflow: hidden; background: #d9d4c8; }
.c7 .c7-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; max-width: none; }
.c7-photo--hero { height: 400px; }
.c7 .c7-photo--hero img, .c7 .c7-photo--s7 img { object-position: 50% 35%; }
.c7-photo--pair { height: 210px; }
.c7-photo--tall { height: 520px; }
.c7-photo--side { height: 400px; }
.c7-photo--brackets { height: 380px; }
#day .c7-photo--side { height: 380px; }
.c7-photo--s7 { min-height: 300px; }

/* --- Hero ------------------------------------------------------------------ */
.c7-hero { padding: 64px var(--c7-px) 56px; }
.c7-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 64px; align-items: center; }
.c7-hero__label { margin-bottom: 18px; }
.c7-hero__intro { margin-top: 22px; font-size: 20px; color: var(--ink); }

/* --- Sticky jump nav (JumpNav7) ------------------------------------------- */
.c7-jump {
  position: sticky; top: var(--c7-top); z-index: 50;
  background: rgba(244,241,234,0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.c7-jump__in {
  display: flex; align-items: center; gap: 4px; max-width: 1440px; margin: 0 auto; padding: 0 var(--c7-px);
  overflow-x: auto; scrollbar-width: none;
}
.c7-jump__in::-webkit-scrollbar { display: none; }
.c7-jump__head { color: var(--text-faint); margin-right: 20px; font-size: 11px; }
.c7 .c7-jump__link {
  padding: 20px 16px 18px; border-bottom: 2px solid transparent; color: var(--text-muted);
  font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.c7 .c7-jump__link:hover { color: var(--ink); }
.c7 .c7-jump__link.is-active { color: var(--ink); border-bottom-color: var(--red); }
.c7-jump__cta { margin-left: auto; }

/* --- Getting started (Start7) --------------------------------------------- */
.c7-sec--start { padding: 80px var(--c7-px) 96px; }
.c7-start { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 40px; align-items: start; }
.c7-step1 { background: var(--ink); color: #fff; border-radius: 6px; padding: 34px 32px; }
.c7-step1__h { margin-bottom: 20px; }
.c7-deadline { border: 1px solid var(--line-on-dark); border-radius: 4px; padding: 16px 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 16px; }
.c7-deadline__date { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--red); }
.c7-deadline__txt { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-muted); line-height: 1.5; }
.c7-bullets { display: flex; flex-direction: column; gap: 14px; }
.c7-bullets li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.c7-bullets .c7-sq { margin-top: 10px; }
.c7-step1__list { margin-bottom: 24px; }
.c7-step1__list .c7-p { font-size: 16px; color: var(--text-on-dark-muted); }
.c7-step1__list .c7-p.is-strong { color: #fff; font-weight: 600; }
.c7-step2 { color: var(--ink); font-size: 19px; font-weight: 500; margin-bottom: 24px; }
.c7-groups { display: flex; flex-direction: column; gap: 26px; }
.c7-group__title { font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.c7-events { display: flex; flex-direction: column; gap: 8px; }
.c7-event { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 18px 22px; background: var(--paper); border-radius: 5px; }
.c7-event__date { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.c7-event__md { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--ink); }
.c7-event__yr { font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; color: var(--text-faint); margin-top: 5px; }
.c7-event__body { min-width: 0; }
.c7-event__name { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.c7-event__who { font-family: var(--font-body); font-size: 15.5px; line-height: 1.4; color: var(--ink); margin-top: 4px; }
.c7-event__dl { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-shadow); }

/* --- Season 7 (Season7) --------------------------------------------------- */
.c7-sec--season { background: var(--ink); overflow: hidden; }
.c7-season { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 72px; align-items: center; }
.c7-patch { position: relative; display: flex; justify-content: center; }
.c7-patch__glow { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(240,65,55,0.22), rgba(240,65,55,0) 68%); }
.c7 .c7-patch__img { position: relative; width: 420px; max-width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.5)); }
.c7-season__h { margin-bottom: 24px; }
.c7-season__sub { font-family: var(--font-display); font-size: 32px; text-transform: uppercase; color: var(--red); line-height: 1.1; margin-bottom: 26px; }
.c7-reqrow { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 40px; margin-top: 72px; align-items: stretch; }
.c7-reqs { border: 1px solid var(--line-on-dark); border-radius: 6px; padding: 32px; }
.c7-reqs__list { display: flex; flex-direction: column; gap: 10px; }
.c7-req { background: rgba(255,255,255,0.06); border-radius: 4px; padding: 20px 22px; }
.c7-req__v { font-family: var(--font-display); font-size: 32px; text-transform: uppercase; color: #fff; line-height: 1; }
.c7-reqs__cta { margin-top: 20px; }

/* --- Blocks + splits ------------------------------------------------------ */
.c7-block { padding-bottom: 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line); }
.c7-block--last { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.c7-split { display: grid; gap: 56px; }
.c7-split--7-5 { grid-template-columns: minmax(0,7fr) minmax(0,5fr); }
.c7-split--5-7 { grid-template-columns: minmax(0,5fr) minmax(0,7fr); }
.c7-split--8-4 { grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 40px; }
.c7-split--start { align-items: start; }
.c7-split--center { align-items: center; }

/* Rules tiles */
.c7-rules__head { margin: 32px 0 14px; }
.c7-rules { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.c7-rule {
  min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px;
  border-radius: 4px; font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
}
.c7 a.c7-rule { background: var(--paper); color: var(--ink); }
.c7-rule__arrow { color: var(--red); }
.c7-rule--soon { border: 1px dashed rgba(13,13,12,0.25); color: var(--text-muted); }
.c7 .c7-tile { transition: box-shadow .15s ease, transform .15s ease; }
.c7 .c7-tile:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -16px rgba(13,13,12,.5); color: var(--ink); }
.c7-pair { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: start; }

/* Numbered cards (Cards7) */
.c7-cards { display: grid; gap: 16px; }
.c7-cards--1 { grid-template-columns: minmax(0,1fr); }
.c7-cards--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.c7-cards--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.c7-cards--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.c7-card { border-radius: 5px; padding: 24px; display: grid; grid-template-columns: 1fr; gap: 14px; align-content: start; }
.c7-cards--paper .c7-card { background: var(--paper); box-shadow: 0 1px 0 rgba(13,13,12,0.05); }
.c7-cards--line .c7-card { border: 1px solid var(--line); }
.c7-card__n { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--red); }
.c7 .c7-card__t { font-size: 16px; }

/* Parents / coaches roles */
.c7-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.c7-role { background: var(--ink); border-radius: 5px; padding: 24px; }
.c7-role--red { background: var(--red); }
.c7-role__k { font-family: var(--font-label); font-weight: 600; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.c7-role__v { font-family: var(--font-display); font-size: 26px; line-height: 1.1; text-transform: uppercase; color: #fff; }

/* What to bring */
.c7-bring { background: var(--paper); border-radius: 5px; padding: 24px 26px; }
.c7 .c7-bring__t { font-size: 16.5px; }

/* --- Competition day (Day7) ----------------------------------------------- */
.c7-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.c7 .c7-video { display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 72px; background: var(--paper); border-radius: 5px; }
.c7-video__play { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; background: var(--red); display: flex; align-items: center; justify-content: center; }
.c7-video__play span { width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.c7-video__t { display: block; font-family: var(--font-display); font-size: 18px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.c7-video__sub { display: block; font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-top: 4px; }
.c7-note { background: var(--ink); border-radius: 5px; padding: 22px 24px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.c7-note__mark { width: 22px; height: 22px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-display); font-size: 14px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.c7 .c7-note__t { color: #fff; font-size: 16.5px; }

/* --- FAQ (FAQ7) — native <details>; answers always in the HTML ------------ */
.c7-sec--faq { padding: 96px var(--c7-px) 112px; }
.c7-faqgrid { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,8fr); gap: 56px; }
.c7-faq { border-top: 1px solid var(--line); }
.c7-faq__item { border-bottom: 1px solid var(--line); }
.c7-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; min-height: 56px; cursor: pointer; list-style: none; }
.c7-faq__q::-webkit-details-marker { display: none; }
.c7-faq__q::marker { content: ''; }
.c7-faq__qt { font-family: var(--font-display); font-size: 22px; line-height: 1.15; text-transform: uppercase; color: var(--ink); }
.c7-faq__mark {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; transition: transform .2s;
}
.c7-faq__item[open] .c7-faq__mark { border-color: var(--red); color: var(--red); transform: rotate(45deg); }
.c7-faq__a { padding-bottom: 26px; }
.c7-faq__a.c7-bullets { gap: 12px; }
.c7-faq__a.c7-bullets .c7-sq { margin-top: 11px; }

/* ============================================================================
   Mobile — the 390 artboard.
============================================================================ */
@media (max-width: 900px) {
  .c7-sec { padding: 44px 20px 48px; }
  .c7-h1 { font-size: 38px; }
  .c7-h2 { font-size: 34px; margin-bottom: 24px; }
  .c7-h3 { font-size: 23px; }
  .c7-p { font-size: 16px; }

  .c7-hero { padding: 28px 20px; }
  .c7-hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .c7-hero__label { margin-bottom: 12px; }
  .c7-hero__intro { margin-top: 14px; font-size: 17px; }
  .c7-photo--hero { height: 220px; }

  .c7-jump__in { gap: 8px; padding: 10px 16px; }
  .c7-jump__head, .c7-jump__cta { display: none; }
  .c7 .c7-jump__link {
    flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border: 0;
    border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12.5px; letter-spacing: 0.1em;
  }
  .c7 .c7-jump__link.is-active { background: var(--ink); color: #fff; }

  .c7-sec--start { padding: 36px 20px 44px; }
  .c7-start { grid-template-columns: 1fr; gap: 36px; }
  .c7-step1 { padding: 24px 20px; }
  .c7-deadline { padding: 14px 16px; }
  .c7-deadline__date { font-size: 36px; }
  .c7-step2 { font-size: 17px; }
  .c7-groups { gap: 22px; }
  .c7-event { grid-template-columns: 64px 1fr; gap: 12px 14px; padding: 16px; }
  .c7-event__date { padding-right: 12px; }
  .c7-event__md { font-size: 24px; }
  .c7-event__name { font-size: 19px; }
  .c7-event__who { font-size: 14.5px; }
  .c7-event__cta { grid-column: 1 / -1; }
  .c7-event__cta .c7-btn, .c7 .c7-btn--mfull { width: 100%; }

  .c7-season { grid-template-columns: 1fr; gap: 28px; }
  .c7-patch__glow { inset: 6% 14%; }
  .c7 .c7-patch__img { width: 240px; }
  .c7-season__h { margin-bottom: 16px; }
  .c7-season__sub { font-size: 24px; margin-bottom: 18px; }
  .c7-reqrow { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .c7-reqrow .c7-photo--s7 { order: 1; height: 210px; min-height: 0; }
  .c7-reqs { padding: 22px 20px; }
  .c7-req { padding: 16px; }
  .c7-req__v { font-size: 26px; }

  .c7-block { padding-bottom: 40px; margin-bottom: 40px; }
  .c7-block--last { padding-bottom: 0; margin-bottom: 0; }
  .c7-split, .c7-split--7-5, .c7-split--5-7, .c7-split--8-4 { grid-template-columns: 1fr; gap: 24px; }
  .c7-split--photo-after > .c7-photo { order: 1; }
  .c7-rules__head { margin: 26px 0 12px; }
  .c7-rule { font-size: 13px; }
  .c7-pair { grid-template-columns: 1fr 1fr; }
  .c7-photo--pair { height: 150px; }
  .c7-photo--tall, .c7-photo--side, .c7-photo--brackets, #day .c7-photo--side { height: 220px; }

  .c7-cards, .c7-cards--2, .c7-cards--3, .c7-cards--4 { grid-template-columns: 1fr; gap: 10px; }
  .c7-card { padding: 18px; grid-template-columns: 34px 1fr; gap: 8px; }
  .c7-card__n { font-size: 22px; }
  .c7 .c7-card__t { font-size: 15.5px; }

  .c7-roles { grid-template-columns: 1fr; }
  .c7-role { padding: 18px; }
  .c7-role__v { font-size: 22px; }
  .c7-bring { padding: 18px; }
  .c7 .c7-bring__t { font-size: 15.5px; }

  .c7-videos { grid-template-columns: 1fr; }
  .c7-note { padding: 18px; }
  .c7 .c7-note__t { font-size: 15.5px; }

  .c7-sec--faq { padding: 44px 20px 56px; }
  .c7-faqgrid { grid-template-columns: 1fr; gap: 0; }
  .c7-faq__q { padding: 20px 0; }
  .c7-faq__qt { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .c7 .c7-btn, .c7 .c7-tile, .c7-faq__mark { transition: none; }
}
