/* ==========================================================================
   Registration pages, as picked from the demos on 2026-11-04
   (https://claude.ai/artifact/9rijxFmXD5ZoGY9CrWKmxx):
     Registration Guidelines = A, a contents card beside one reading column;
     Register Now = B, a centred column, three tiles and one large button.
   Important Dates keeps the shared table in page.css (.file-dates).
   Loaded after page.css by the two views that use it; builds on site.css tokens.
   ========================================================================== */

/* ------------------------------------------------------------- shared --- */

.btn-lg { min-height: 62px; padding: 0 52px; font-size: 1.12rem; }
.btn-lg svg { width: 20px; height: 20px; }

/* a centred heading or button with a gold hairline fading out on either side */
.gold-flank { display: flex; align-items: center; gap: 22px; }

.gold-flank::before,
.gold-flank::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(217, 154, 62, 0), var(--gold-line));
}

.gold-flank::after { background: linear-gradient(90deg, var(--gold-line), rgba(217, 154, 62, 0)); }

/* "What You Will Need": one tile per item (partials/registration-needs) */
.need-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.need-tiles li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 22px 24px;
    border: 1px solid var(--rule);
    border-radius: 18px;
    background: var(--paper);
}

.need-icon { color: var(--ember); }
.need-icon svg { display: block; width: 30px; height: 30px; }
.need-text { font-size: 1.06rem; font-weight: 600; line-height: 1.45; color: var(--ink); }

/* Register Now: centred tiles, each icon in a cream ring */
.need-tiles.centred { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.need-tiles.centred li {
    align-items: center;
    gap: 22px;
    padding: 38px 28px 36px;
    border-radius: 26px;
    text-align: center;
    box-shadow: 0 30px 60px -48px rgba(73, 33, 101, .6);
}

.need-tiles.centred .need-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: inset 0 0 0 1px rgba(217, 154, 62, .45);
}

.need-tiles.centred .need-icon svg { width: 38px; height: 38px; stroke-width: 1.6; }
.need-tiles.centred .need-text { font-size: 1.18rem; font-weight: 700; line-height: 1.4; }

/* ------------------------------------- Registration Guidelines: A --- */

.reg-guide { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }

.reg-toc {
    flex: 1 1 260px;
    max-width: 290px;
    padding: 14px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--paper);
}

.reg-toc ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.reg-toc nav a {
    display: block;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: .97rem;
    font-weight: 600;
    line-height: 1.35;
    color: #3A2648;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.reg-toc nav a:hover,
.reg-toc nav a:focus-visible { background: var(--lavender); color: var(--primary-deep); }
.reg-toc .toc-sub a { padding-left: 30px; font-size: .94rem; font-weight: 500; color: #5A4766; }

.reg-toc-action { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--rule); }

.reg-main { flex: 999 1 560px; min-width: 0; display: grid; gap: 64px; }
.reg-main section { scroll-margin-top: 100px; }
.reg-main a:not(.btn) { color: var(--primary-ink); font-weight: 700; text-underline-offset: 3px; }

.reg-main h2 {
    margin-bottom: 22px;
    font-size: 1.88rem;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.15;
    color: var(--primary-deep);
}

/* the opening words and each part of Fees & Payment on white cards, clear of the
   line work behind them (the client's edits of 2026-11-12) */
.reg-intro,
.reg-sub {
    border: 1px solid var(--rule);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 20px 44px -36px rgba(73, 33, 101, .5);
}

.reg-intro { display: grid; gap: 18px; padding: 30px 34px; }
.reg-intro p { font-size: 1.1rem; line-height: 1.75; color: #5A4766; }
.reg-intro .lead { font-size: 1.31rem; font-weight: 500; line-height: 1.65; color: var(--ink); }

.reg-action { margin-top: 28px; }


.reg-subs { display: grid; gap: 14px; }
.reg-sub { padding: 26px 32px 28px; }
.reg-sub h3 { margin-bottom: 12px; font-size: 1.31rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.reg-sub p { font-size: 1.1rem; line-height: 1.75; color: #3A2648; }
.reg-sub p + p { margin-top: 12px; }
.reg-sub strong { color: var(--ink); }

/* what the fee includes: two columns of orange ticks */
.reg-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px 28px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.reg-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.06rem; line-height: 1.55; color: var(--ink); }

.reg-checks li::before {
    content: "";
    flex: none;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    background: #FFF1E2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0540A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* the cancellation policy: a purple dot for the refund, an orange one for none */
.reg-policy p { position: relative; padding-left: 24px; }
.reg-policy p + p { margin-top: 10px; }

.reg-policy p::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.reg-policy p + p::before { background: var(--secondary); }

/* ------------------------------------------------ Register Now: B --- */

.reg-now { max-width: 1004px; margin-inline: auto; padding-block: 24px 40px; }

.reg-now-intro { display: grid; gap: 22px; max-width: 820px; margin-inline: auto; text-align: center; }
.reg-now-intro p { font-size: 1.12rem; line-height: 1.75; color: #4A3758; }
.reg-now-intro .lead { font-size: clamp(1.3rem, 2vw, 1.56rem); font-weight: 600; line-height: 1.5; color: var(--primary-deep); }
.reg-now-intro a { color: var(--primary-ink); font-weight: 800; text-underline-offset: 4px; }

.reg-now-needs { margin-top: 80px; }
.reg-now-needs .gold-flank { margin-bottom: 36px; }
.reg-now-needs h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; text-align: center; color: var(--primary-deep); }

.reg-now-action { margin-top: 56px; text-align: center; }

/* --------------------------------------------------------- responsive --- */

@media (max-width: 900px) {
    .reg-toc { max-width: none; }
}

@media (max-width: 820px) {
    .need-tiles.centred { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .reg-main { gap: 48px; }
    .reg-main h2 { font-size: 1.6rem; }
    .reg-intro .lead { font-size: 1.15rem; }
    .reg-sub p, .reg-intro p { font-size: 1.03rem; }
    .reg-intro { padding: 24px 22px; }
    .reg-sub { padding: 22px 22px 24px; }
    .need-tiles.centred li { flex-direction: row; gap: 18px; padding: 20px; text-align: left; }
    .need-tiles.centred .need-icon { flex: none; width: 60px; height: 60px; }
    .need-tiles.centred .need-icon svg { width: 28px; height: 28px; }
    .need-tiles.centred .need-text { font-size: 1.06rem; }
    .reg-now-needs { margin-top: 56px; }
    .reg-now-needs .gold-flank { gap: 14px; }
    .btn-lg { width: 100%; padding: 0 24px; }
}
