/* Refined wrapper for the existing 27 September Forminator registration page. */
body.page-id-3151 {
    background: #0d0c0c;
    color: #211b18;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}

body.page-id-3151 #page {
    background: #f3eadb;
    border: 0;
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
}

body.page-id-3151 #header {
    background: #0d0c0c;
    border: 0;
    margin: 0;
    padding: 25px max(24px, calc((100vw - 1100px) / 2));
}

body.page-id-3151 #headerimg {
    height: auto;
    margin: 0;
    padding: 0;
    text-align: left;
    width: auto;
}

body.page-id-3151 #headerimg h1 {
    font-family: Cardo, "Noto Serif TC", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0;
}

body.page-id-3151 #headerimg h1 a {
    color: #f3eadb;
    text-decoration: none;
}

body.page-id-3151 #headerimg .description,
body.page-id-3151 #page > hr,
body.page-id-3151 #footer {
    display: none;
}

body.page-id-3151 #canvas-content {
    color: #211b18;
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 28px 100px;
}

.hanfu-event-hero {
    background: #941e25;
    color: #fff;
    margin: 0 calc(50% - 50vw) 0;
    overflow: hidden;
    padding: clamp(72px, 10vw, 125px) max(28px, calc((100vw - 1044px) / 2));
    position: relative;
}

.hanfu-event-hero::after {
    border: 1px solid rgba(196, 154, 74, 0.45);
    content: "";
    height: 500px;
    position: absolute;
    right: -170px;
    top: -170px;
    transform: rotate(45deg);
    width: 500px;
}

.hanfu-event-kicker {
    color: #c49a4a;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.hanfu-event-hero h1 {
    color: #fff;
    font-family: Cardo, Georgia, serif;
    font-size: clamp(3.8rem, 8vw, 7.2rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0;
    max-width: 900px;
}

.hanfu-event-title-zh {
    color: #f3eadb;
    font-family: "Noto Serif TC", "Songti TC", serif;
    font-size: 1.05rem;
    letter-spacing: 0.11em;
    margin: 28px 0 0;
}

.hanfu-event-lead {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.75;
    margin: 30px 0 0;
    max-width: 650px;
}

.hanfu-event-facts {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    display: grid;
    gap: 24px;
    grid-template-columns: 1.2fr 0.6fr 1.6fr;
    margin: 48px 0 0;
    max-width: 900px;
    padding-top: 24px;
}

.hanfu-event-facts dt {
    color: #c49a4a;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hanfu-event-facts dd {
    color: #fff;
    font-size: 0.88rem;
    margin: 4px 0 0;
}

.hanfu-event-register {
    padding-top: clamp(70px, 9vw, 110px);
}

.hanfu-event-register__heading {
    margin: 0 auto 45px;
    max-width: 720px;
    text-align: center;
}

.hanfu-event-register__heading h2 {
    color: #211b18;
    font-family: Cardo, Georgia, serif;
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 20px;
}

.hanfu-event-register__heading > p:last-child {
    color: #756a60;
    font-size: 0.88rem;
}

body.page-id-3151 #forminator-module-3150 {
    border: 1px solid rgba(33, 27, 24, 0.16);
    border-radius: 0;
    box-shadow: 0 28px 70px rgba(33, 27, 24, 0.11);
    margin-inline: auto;
    max-width: 850px;
    padding: clamp(24px, 5vw, 52px);
}

body.page-id-3151 #forminator-module-3150.forminator-ui .forminator-button-submit {
    background: #941e25;
    border-radius: 0;
    box-shadow: none;
    font-weight: 600;
    letter-spacing: 0.06em;
    min-height: 52px;
    padding-inline: 28px;
}

body.page-id-3151 #forminator-module-3150.forminator-ui .forminator-button-submit:hover,
body.page-id-3151 #forminator-module-3150.forminator-ui .forminator-button-submit:focus {
    background: #b22931;
    box-shadow: none;
}

@media (max-width: 700px) {
    body.page-id-3151 #header {
        padding-block: 19px;
    }

    body.page-id-3151 #headerimg h1 {
        font-size: 1rem;
    }

    body.page-id-3151 #canvas-content {
        padding-inline: 18px;
    }

    .hanfu-event-hero {
        padding-inline: 22px;
    }

    .hanfu-event-hero h1 {
        font-size: 3.6rem;
    }

    .hanfu-event-facts {
        grid-template-columns: 1fr;
    }

    .hanfu-event-register__heading {
        text-align: left;
    }
}
