:root {
    --theme: #003366;   /* navy blue */
    --accent: #ff6600;  /* orange accent */
    --gray: #444444;    /* slightly darker for English readability */
    --bg: #f7f9fc;
    --gap: 28px;
    --radius: 6px;
    --scale: 1.2;       /* global font scaler */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gray);
    line-height: 1.8;
    padding: 0 0px 60px; /* remove top gap, keep bottom & side */
    font-size: calc(16px * var(--scale)); /* base 19.2 px */
}

.card {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    padding: var(--gap) calc(var(--gap) * 1.5);
}

.layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.text {
    flex: 1 1 600px;
}

h1 {
    font-size: calc(32px * var(--scale)); /* ≈ 38.4 px */
    color: var(--theme);
    margin-bottom: 8px;
    font-weight: 700;
}

.subtitle {
    font-size: calc(18px * var(--scale)); /* ≈ 21.6 px */
    color: var(--accent);
    margin-bottom: var(--gap);
    font-weight: 600;
}

.divider {
    height: 2px;
    background: var(--accent);
    width: 60px;
    margin-bottom: var(--gap);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap);
}

.grid p {
    font-size: calc(15px * var(--scale)); /* ≈ 18 px */
    text-align: justify;
}

/* blue & bold highlight */
.blue {
    color: var(--theme);
    font-weight: 700;
}

.footer {
    margin-top: var(--gap);
    font-size: calc(14px * var(--scale));
    /*text-align: center;*/
    text-align: left;
    color: #888;
}

.pic {
    flex: 0 0 420px;
}

.pic img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
}
/* 文字环绕图片 */
.float-right {
    float: right;
    width: 300px;          /* 可任意调 */
    margin: 0 0 1em 1em;   /* 下、左留白，避免贴字 */
    border-radius: var(--radius);
}

/* responsive stack */
@media (max-width: 900px) {
    .layout {
        flex-direction: column;
    }
    .pic {
        flex: 1 1 100%;
    }
    .float-right { 
        width: 100%;
        margin: 0 0 1em 0;
	float: none; 
    }
}
