/* Six conference theme – tokens live in Main.cshtml Tailwind config.
   Keep this file for any rare overrides not expressible as utilities. */

body {
    min-width: 0;
    font-family: Unna, Georgia, serif;
}
/* 重置 */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* 默认：手机 */
h2 {
    font-size: 28px !important;
    font-weight: 600;
    line-height: 1.5;
}
h3 {
    font-size: 22px !important;
    font-weight: 600;
    line-height: 1.5;
}
h4 {
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1.5;
}
p {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
    white-space: pre-wrap;
}
a,
.text-a {
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* ≥768：平板 → 36px */
@media (min-width: 768px) {
    h2 { font-size: 36px !important; }
    h3 { font-size: 28px !important; }
    h4 { font-size: 20px !important; }
    p  { font-size: 17px !important; }
}

/* ≥1280：大屏但 &lt;1920 → 42px（你说的「不到 1920 也该是 42」） */
@media (min-width: 1280px) {
    h2 { font-size: 42px !important; }
    h3 { font-size: 32px !important; }
    h4 { font-size: 22px !important; }
    p  { font-size: 18px !important; }
}

/* ≥1920：设计稿 → 48px */
@media (min-width: 1920px) {
    h2 {
        font-size: 48px !important;
        font-weight: 700;
    }
    h3 {
        font-size: 36px !important;
        font-weight: 700;
    }
    h4 {
        font-size: 24px !important;
        font-weight: 600;
    }
    p { font-size: 18px !important; }
    a,
    .text-a { font-size: 16px !important; }
}
.center {
    width: calc(100vw - 40px);
    max-width: 1340px;
    margin-inline: auto;
}

.max-center {
    width: calc(100vw - 40px);
    max-width: 1650px;
    margin-inline: auto;
}