/* ── How It Works page — Minecraft Club design system ── */

body:has(.mc-hiw-hero) #page { width: 100%; max-width: none; background: #f4f1e7; }
body:has(.mc-hiw-hero) .site-content { width: 100%; max-width: none; padding: 0; }
body:has(.mc-hiw-hero) .content-area { width: 100% !important; max-width: none; flex: 0 0 100% !important; float: none; }
body:has(.mc-hiw-hero) .site-main { margin: 0 !important; }
body:has(.mc-hiw-hero) .inside-article { padding: 0; background: transparent; }
body:has(.mc-hiw-hero) .entry-header,
body:has(.mc-hiw-hero) .widget-area { display: none; }
body:has(.mc-hiw-hero) .entry-content { margin: 0; }

/* ---------- HERO ---------- */
.mc-hiw-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 88px 24px 56px;
    color: #263c2c;
    background: #eadfbd;
    border-top: 8px solid #69b84a;
    border-bottom: 8px solid #765438;
    box-sizing: border-box;
}
.mc-hiw-hero > .wp-block-group__inner-container,
.mc-hiw-hero__inner > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-hiw-hero > .wp-block-group__inner-container {
    width: min(1440px, 100%);
    margin: 0 auto !important;
}
.mc-hiw-hero__inner > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 24px;
    align-items: start;
}
.mc-hiw-hero__copy > .wp-block-group__inner-container,
.mc-hiw-hero__card > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-hiw-hero__eyebrow {
    width: fit-content;
    margin: 0 0 18px !important;
    padding: 9px 11px;
    color: #fffdf3;
    background: #2f6b3f;
    border: 2px solid #173c27;
    border-radius: 3px;
    box-shadow: 4px 4px 0 #765438;
    font: 400 10px/1.4 "Press Start 2P", monospace;
    text-transform: uppercase;
}
.mc-hiw-hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: #214a30;
    font: 400 clamp(34px, 3.55vw, 54px)/1.18 "Press Start 2P", monospace;
    letter-spacing: -.045em;
    text-transform: uppercase;
}
.mc-hiw-hero__lead {
    max-width: 670px;
    margin: 0 !important;
    color: #40543f;
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 700;
    line-height: 1.7;
}
.mc-hiw-hero__card {
    padding: 24px;
    background: #fff8df;
    border: 3px solid #765438;
    border-radius: 5px;
    box-shadow: 8px 8px 0 #8a633e;
}
.mc-hiw-hero__card h3 {
    margin: 0 0 14px;
    color: #214a30;
    font: 400 16px/1.45 "Press Start 2P", monospace;
    text-transform: uppercase;
}
.mc-hiw-hero__card p {
    margin: 0 0 16px !important;
    color: #52634f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.65;
}
.mc-hiw-hero__card p strong { color: #214a30; }
.mc-hiw-hero__card-action { margin: 0 !important; }
.mc-hiw-hero__card-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    color: #214a30;
    background: #f4c451;
    border: 2px solid #9a6f1e;
    border-radius: 4px;
    box-shadow: 4px 4px 0 #173c27;
    font: 400 10px/1.4 "Press Start 2P", monospace;
    text-decoration: none;
    text-transform: uppercase;
}
.mc-hiw-hero__card-action a:hover,
.mc-hiw-hero__card-action a:focus-visible { color: #fffdf3; background: #2f6b3f; border-color: #173c27; }
.mc-hiw-hero__card-action a:focus-visible { outline: 3px solid #173c27; outline-offset: 3px; }

/* ---------- STEPS ---------- */
.mc-hiw-steps {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 82px 24px 92px;
    scroll-margin-top: 120px;
    color: #263c2c;
    background: #f4f1e7;
    box-sizing: border-box;
}
.mc-hiw-steps > .wp-block-group__inner-container,
.mc-hiw-steps__inner > .wp-block-group__inner-container,
.mc-hiw-steps__heading > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-hiw-steps > .wp-block-group__inner-container { width: min(1440px, 100%); margin: 0 auto !important; }
.mc-hiw-steps__heading > .wp-block-group__inner-container {
    margin-bottom: 38px !important;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: 44px;
    align-items: end;
}
.mc-hiw-steps h2 {
    margin: 0;
    color: #214a30;
    font: 400 clamp(25px, 3vw, 42px)/1.25 "Press Start 2P", monospace;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.mc-hiw-steps__heading p {
    max-width: 720px;
    margin: 0 !important;
    color: #52634f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}

.mc-hiw-timeline {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    list-style: none;
}
.mc-hiw-step {
    padding: 22px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    background: #fff8df;
    border: 3px solid #765438;
    border-radius: 5px;
    box-shadow: 6px 6px 0 #8a633e;
    transition: transform 140ms ease, box-shadow 140ms ease;
}
.mc-hiw-step:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #8a633e; }
.mc-hiw-step__badge {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #214a30;
    background: #f4c451;
    border: 2px solid #9a6f1e;
    border-radius: 4px;
    box-shadow: 4px 4px 0 #173c27;
    font: 400 14px/1 "Press Start 2P", monospace;
}
.mc-hiw-step:nth-child(even) .mc-hiw-step__badge {
    color: #fffdf3;
    background: #3f8150;
    border-color: #173c27;
    box-shadow: 4px 4px 0 #765438;
}
.mc-hiw-step__copy { display: grid; gap: 10px; align-content: start; }
.mc-hiw-step__copy h3 {
    margin: 0;
    color: #214a30;
    font: 400 16px/1.4 "Press Start 2P", monospace;
    text-transform: uppercase;
}
.mc-hiw-step__copy p {
    margin: 0 !important;
    color: #40543f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.65;
}

/* ---------- DETAILS ---------- */
.mc-hiw-details {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px 82px;
    color: #263c2c;
    background: #f4f1e7;
    box-sizing: border-box;
}
.mc-hiw-details > .wp-block-group__inner-container,
.mc-hiw-details__inner > .wp-block-group__inner-container,
.mc-hiw-details__heading > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-hiw-details > .wp-block-group__inner-container { width: min(1440px, 100%); margin: 0 auto !important; }
.mc-hiw-details__heading > .wp-block-group__inner-container {
    margin-bottom: 38px !important;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: 44px;
    align-items: end;
}
.mc-hiw-details h2 {
    margin: 0;
    color: #214a30;
    font: 400 clamp(25px, 3vw, 42px)/1.25 "Press Start 2P", monospace;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.mc-hiw-details__heading p {
    max-width: 680px;
    margin: 0 !important;
    color: #52634f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}
.mc-hiw-details__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.mc-hiw-detail-card {
    padding: 20px;
    background: #fff8df;
    border: 3px solid #765438;
    border-radius: 5px;
    box-shadow: 6px 6px 0 #8a633e;
}
.mc-hiw-detail-card h4 {
    margin: 0 0 10px;
    color: #214a30;
    font: 400 13px/1.5 "Press Start 2P", monospace;
    text-transform: uppercase;
}
.mc-hiw-detail-card p {
    margin: 0 !important;
    color: #40543f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
}

/* ---------- FAQ ---------- */
.mc-hiw-faq {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px 82px;
    color: #263c2c;
    background: #f4f1e7;
    box-sizing: border-box;
}
.mc-hiw-faq > .wp-block-group__inner-container,
.mc-hiw-faq__inner > .wp-block-group__inner-container,
.mc-hiw-faq__heading > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-hiw-faq > .wp-block-group__inner-container { width: min(1440px, 100%); margin: 0 auto !important; }
.mc-hiw-faq__heading > .wp-block-group__inner-container {
    margin-bottom: 38px !important;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: 44px;
    align-items: end;
}
.mc-hiw-faq h2 {
    margin: 0;
    color: #214a30;
    font: 400 clamp(25px, 3vw, 42px)/1.25 "Press Start 2P", monospace;
    letter-spacing: -.035em;
    text-transform: uppercase;
}
.mc-hiw-faq__heading p {
    margin: 0 !important;
    color: #52634f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}
.mc-hiw-faq__grid {
    display: grid;
    gap: 10px;
}
.mc-hiw-faq__grid details {
    overflow: hidden;
    background: #fff8df;
    border: 2px solid #765438;
    border-radius: 5px;
    box-shadow: 6px 6px 0 #8a633e;
}
.mc-hiw-faq__grid summary {
    position: relative;
    min-height: 72px;
    padding: 18px 58px 18px 20px;
    display: flex;
    align-items: center;
    color: #214a30;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
    list-style: none;
    box-sizing: border-box;
}
.mc-hiw-faq__grid summary::-webkit-details-marker { display: none; }
.mc-hiw-faq__grid summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    content: "+";
    transform: translateY(-50%);
    color: #fffdf3;
    background: #2f6b3f;
    border: 2px solid #173c27;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}
.mc-hiw-faq__grid details[open] summary {
    background: #f4c451;
    border-bottom: 2px solid #765438;
}
.mc-hiw-faq__grid details[open] summary::after { content: "−"; }
.mc-hiw-faq__grid details > p {
    margin: 0 !important;
    padding: 18px 20px 20px;
    color: #40543f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}
.mc-hiw-faq__grid summary:focus-visible { outline: 3px solid #2f6b3f; outline-offset: -6px; }

/* ---------- CTA ---------- */
.mc-hiw-cta {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px 88px;
    color: #263c2c;
    background: #f4f1e7;
    box-sizing: border-box;
}
.mc-hiw-cta > .wp-block-group__inner-container,
.mc-hiw-cta__inner > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-hiw-cta > .wp-block-group__inner-container { width: min(1440px, 100%); margin: 0 auto !important; }
.mc-hiw-cta__inner > .wp-block-group__inner-container {
    padding: 42px 38px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: #2f6b3f;
    border: 3px solid #173c27;
    border-radius: 5px;
    box-shadow: 8px 8px 0 #765438;
}
.mc-hiw-cta__copy > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}
.mc-hiw-cta__copy h2 {
    margin: 0 0 10px;
    color: #fffdf3;
    font: 400 clamp(22px, 2.5vw, 28px)/1.2 "Press Start 2P", monospace;
    text-transform: uppercase;
}
.mc-hiw-cta__copy p {
    margin: 0 !important;
    color: #d8e7d5;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.65;
}
.mc-hiw-cta__action { margin: 0 !important; }
.mc-hiw-cta__action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    color: #214a30;
    background: #f4c451;
    border: 2px solid #9a6f1e;
    border-radius: 4px;
    box-shadow: 4px 4px 0 #173c27;
    font: 400 10px/1.4 "Press Start 2P", monospace;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.mc-hiw-cta__action a:hover,
.mc-hiw-cta__action a:focus-visible { color: #fffdf3; background: #214a30; border-color: #173c27; }
.mc-hiw-cta__action a:focus-visible { outline: 3px solid #fffdf3; outline-offset: 3px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
    .mc-hiw-hero__inner > .wp-block-group__inner-container { grid-template-columns: 1fr; }
    .mc-hiw-details__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .mc-hiw-hero { padding: 72px 12px 48px; border-top-width: 6px; border-bottom-width: 6px; }
    .mc-hiw-hero h1 { font-size: clamp(29px, 10vw, 42px); }
    .mc-hiw-hero__eyebrow { font-size: 8px; }
    .mc-hiw-hero__lead { font-size: 15px; }
    .mc-hiw-hero__card { padding: 20px; }
    .mc-hiw-step { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
    .mc-hiw-step__badge { width: 52px; height: 52px; font-size: 12px; }
    .mc-hiw-step__copy h3 { font-size: 14px; }
    .mc-hiw-step:hover { transform: none; box-shadow: 6px 6px 0 #8a633e; }
}
@media (max-width: 700px) {
    .mc-hiw-steps,
    .mc-hiw-details,
    .mc-hiw-faq,
    .mc-hiw-cta { padding-left: 12px; padding-right: 12px; }
    .mc-hiw-steps { padding-top: 58px; padding-bottom: 68px; }
    .mc-hiw-details { padding-bottom: 58px; }
    .mc-hiw-faq { padding-bottom: 58px; }
    .mc-hiw-cta { padding-bottom: 68px; }
    .mc-hiw-steps__heading > .wp-block-group__inner-container,
    .mc-hiw-details__heading > .wp-block-group__inner-container,
    .mc-hiw-faq__heading > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px !important; }
    .mc-hiw-steps h2,
    .mc-hiw-details h2,
    .mc-hiw-faq h2 { font-size: clamp(23px, 8.5vw, 32px); }
    .mc-hiw-steps__heading p,
    .mc-hiw-details__heading p,
    .mc-hiw-faq__heading p { font-size: 15px; }
    .mc-hiw-detail-card { padding: 16px; }
    .mc-hiw-faq__grid summary { min-height: 0; padding: 17px 52px 17px 16px; font-size: 14px; }
    .mc-hiw-faq__grid summary::after { right: 14px; }
    .mc-hiw-faq__grid details > p { padding: 16px; }
    .mc-hiw-cta__inner > .wp-block-group__inner-container { flex-direction: column; align-items: flex-start; padding: 22px; }
    .mc-hiw-cta__action { width: 100%; }
    .mc-hiw-cta__action a { width: 100%; box-sizing: border-box; }
}
@media (max-width: 480px) {
    .mc-hiw-hero { padding-top: 62px; }
    .mc-hiw-hero__card-action a { width: 100%; box-sizing: border-box; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .mc-hiw-step { transition: none; }
}