body {
    margin: 0;
    color: var(--black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* 1. 定义西文字体：Geist Regular (400) */
@font-face {
  font-family: 'LineMapsFont';
  /* 请确保路径指向你的 Geist 字体文件 */
  src: url('/fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* 涵盖基本拉丁文、数字及常用标点 */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. 定义中文字体：IBM Plex Sans SC Text (静态 450) */
@font-face {
  font-family: 'LineMapsFont';
  /* 请确保路径指向你的 IBM Plex Sans SC Text 字体文件 */
  src: url('/fonts/IBMPlexSansSC-Text.woff2') format('woff2');
  /* 关键点：在 LineMapsFont 这个族群里，它被注册为 400 权重 */
  font-weight: 400; 
  font-style: normal;
  font-display: swap;
  /* 涵盖中文字符、全角标点、CJK 符号 */
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}

/* 3. Geist Medium (500) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 4. IBM Plex Sans SC Medium (500) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/IBMPlexSansSC-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}

/* 5. Geist SemiBold (600) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 6. IBM Plex Sans SC SemiBold (600) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/IBMPlexSansSC-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}

/* 7. Geist Bold (700) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 8. IBM Plex Sans SC Bold (700) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/IBMPlexSansSC-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}

/* 9. Geist Italic (400) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/Geist-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 10. Geist Medium Italic (500) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/Geist-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 11. Geist SemiBold Italic (600) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/Geist-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 12. Geist Bold Italic (700) */
@font-face {
  font-family: 'LineMapsFont';
  src: url('/fonts/Geist-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



body {
  font-family: 'LineMapsFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
    --black: #231F20;
    --gray-1: #717171;
    --gray-2: #959595;
    --gray-3: #B8B8B8;
    --gray-4: #EAEAEA;
}

h1 {
    font-size: 27px;
    line-height: 120%;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 20px;
    line-height: 120%;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

p {
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

a {
    color: var(--black);
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.2s;
}

a:hover {
    background-color: var(--gray-4);
    transition: all 0.2s;
}

nav {
    width: 100%;
    padding: 32px 64px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-3);
}

nav a {
    font-weight: 400;
}

.lh-120 {
    line-height: 120%;
}

.fl-nw {
    flex-wrap: nowrap;
}

.fl-w {
    flex-wrap: wrap;
}

.fl-row {
    display: flex;
    flex-direction: row;
}

.fl-col {
    display: flex;
    flex-direction: column;
}

.ai-baseline {
    align-items: baseline;
}

.ai-center {
    align-items: center;
}

.jc-center {
    justify-content: center;
}

.gap-6 {
    gap: 6px;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

.gap-64 {
    gap: 64px;
}

.no-a {
    text-decoration: none;
    color: var(--black);
    border-radius: 0;
}

.g1 {
    color: var(--gray-1);
}

#nav-left-container {
    display: flex;
    flex-flow: row nowrap;
    gap: 64px;
    align-items: center;
}

#logo-container {
    display: flex;
    flex-flow: column nowrap;
    gap: 4px;
    align-items: flex-start;
    z-index: 10;
}

#logo-container:hover {
    background-color: transparent;
}

#logo {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
}

#logo-bar {
    width: 12px;
    height: 29px;
    background: url(/assets/logo-bar/empty.svg);
}

.nav-list {
    display: flex;
    flex-flow: row nowrap;
    gap: 32px;
}

.nav-item {
    display: flex;
    flex-flow: column nowrap;
    gap: 2px;
    align-items: center;
    text-decoration: none;
    font-weight: 400;
    padding: 3px;
}

.nav-item span {
    line-height: 120%;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.nav-item span:first-child {
    font-size: 20px;
    color: var(--black);
}

.nav-item span:nth-child(2) {
    font-size: 12px;
    color: var(--gray-1);
}

.search-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 输入框样式：165x44px，仅下边框 */
.search-input {
    width: 165px;
    height: 44px;
    border: none;
    border-bottom: 2px solid var(--gray-1);
    outline: none;
    font-size: 18px;
    padding: 0 5px;
    background: transparent;
    font-family: 'LineMapsFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 按钮样式：圆角矩形，指定字体和内边距 */
.search-button {
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 8px 16px; 
    border: 2px solid #000;
    border-radius: 50px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: #f0f0f0;
}

#mobile-menu, #menu-button {
    display: none;
    z-index: 10;
}

footer {
    width: 100%;
    height: 72px;
    background: radial-gradient(82.82% 100% at 50.13% 100%, rgba(79, 210, 179, 0.5) 0%, rgba(79, 210, 179, 0) 100%);
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 6px;
    color: #0C4F3F;
}

.break {
    width: 85vw;
    min-width: 690px;
    border-bottom: 1px solid;
    border-image: repeating-linear-gradient(90deg, var(--gray-1) 0px, var(--gray-1) 2px, transparent 1px, transparent 5px) 0 0 1 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#main {
    max-width: 682px;
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    gap: 32px;
    margin: auto;
    padding: 32px 0;
    flex-grow: 1;
}

.sect-title {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 12px;
}

.sect-title-open {
    align-items: center;
    gap: 6px;
}

#news-list {
    display: flex;
    flex-flow: column nowrap;
    gap: 0px;
}

.news-container {
    display: flex;
    flex-flow: column nowrap;
    padding: 12px;
    gap: 6px;
    border-bottom: 1px solid var(--gray-1);
    text-decoration: none;
}

.news-container:first-child {
    border-top: 1px solid var(--gray-1);
}

.news-desc {
    color: var(--gray-1);
}

.news-info {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 6px;
}

.news-info span {
    font-size: 14px;
    font-weight: 400;
}

.news-type {
    display: flex;
    flex-flow: row nowrap;
    gap: 4px;
}

.news-type-icon {
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 12px;
}

.maps-section {
    flex: 1 1 calc(50% - 12px);
    gap: 6px;
}

#slogan {
    padding-bottom: 32px;
}

#slogan span {
    padding: 4px;
    background-color: var(--black);
    color: #ffffff;
    font-weight: 500;
    line-height: 18px;
    border-radius: 4px;
    width: fit-content;
}

.city {
    display: flex;
    flex-flow: column nowrap;
    gap: 4px;
    width: fit-content;
}

.city-name {
    display: flex;
    width: 329px;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: baseline;
}

.city-name :nth-child(1) {
    line-height: 120%;
    font-weight: 500;
    font-size: 32px;
}

.city-name :nth-child(2) {
    line-height: 120%;
    font-weight: 500;
    font-size: 24px;
    color: var(--gray-1);
}

.city-bar {
    padding: 0;
    margin: 0;
    line-height: 0;
}

.map-thumbnail, .map-thumbnail img {
    width: 329px;
    height: 329px;
}

/* Responsive styles for Mobile Navigation */

@media (max-width: 920px) {
    #searchForm {
        display: none;
    }
}

@media (max-width: 690px) {
    nav {
        border: none;
        padding: 32px;
    }

    #pc-nav-list {
        display: none;
    }

    #menu-button {
        display: flex!important;
        width: 44px;
        height: 44px;
        background: transparent;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0);
        cursor: pointer;
        padding: 0;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    
    #menu-button:hover {
        border: 1px solid var(--gray-3);
        transition: all 0.2s;
    }
    
    #menu-button img {
        width: 24px;
        height: 24px;
    }
    
    #mobile-menu {
        position: absolute;
        display: block!important;
        z-index: 5;
        top: 0px;
        left: 0px;
        width: 100%;
        padding: 0;
        margin: 0;
        background-color: var(--gray-4);
        box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in, padding 0.4s ease-in;
        transition-delay: .2s; 
    }
    
    #mobile-menu.active {
        max-height: 500px;
        padding-top: 111px;
        padding-bottom: 24px;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    }
    
    #mobile-menu #mobile-nav-list .nav-item {
        opacity: 0;
        transition: all 0.2s ease-in;
    }

    #mobile-menu.active #mobile-nav-list .nav-item {
        opacity: 1;
        transition: all 0.3s ease-out;
        transition-delay: 0.3s;
    }
    
    #mobile-nav-list {
        justify-content: center;
    }

    #mobile-nav-list a:hover {
        background-color: rgba(0, 0, 0, 0.1);
        transition: all 0.2s;
    }
    .two-row {
        flex-flow: column nowrap;
    }
    #main {
        padding: 32px;
    }

    .break {
        width: 100%;
        min-width: 0;
    }
    
    #maps-list {
        flex-flow: column nowrap;
    }

    .city, .city-name {
        width: 100%;
    }

    .city-bar img {
        width: 100%;
        height: 6px;
    }

    
    .map-thumbnail, .map-thumbnail img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    #slogan span {
        margin: auto;
    }
}
