/* ==================== 公共基础样式 ==================== */

/* 全站图片默认自适应，防止溢出 */
img {
  max-width: 100%;
  height: auto;
}
*{
  min-width: 0;
}

/* 页面容器：限定最大宽度，居中展示 */
.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

/* ==================== banner 区块样式 ==================== */

/* banner 容器：以 1920×1021 为基准保持宽高比，背景图使用 background-image。
   为精确定位 logo，容器保留 position: relative。 */
.banner {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 1021;
  margin: 0 auto;
  overflow: hidden;
  background-color: #c8161d;
  background-image: url("../images/banner-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* banner 顶部 logo：按 Figma 坐标精确定位 */
.banner-logo {
  position: absolute;
  left: 17.7625%;
  top: 8.619%;
  width: 12.866%;
}

.banner-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== part_1 校园动态 ==================== */

/* 校园动态区块 */
.part_1 {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  padding: 75.74px 0 48.41px;
  background-image: url("../images/part1-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

/* 标题图：按 Figma 坐标居中定位 */
.part-1-title {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
}

.part-1-title img {
  width: 100%;
  height: auto;
  display: block;
}

/* 内容面板：半透明橙色圆角卡片 */
.part-1-panel {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 40px auto 0;
  background: rgba(254, 184, 107, 0.26);
  border-radius: 8px;
  padding: 40px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 20px;
}

/* 左侧焦点新闻 */
.news-feature {
  background-color: #970303;
  outline: 1.17px solid #dddddd;
  outline-offset: -1.17px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-feature-image {
  width: 100%;
  aspect-ratio: 633 / 397;
  overflow: hidden;
}

.news-feature-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-feature-body {
  flex: 1;
  padding: 55.5px 40px 55px;
  display: flex;
  flex-direction: column;
}

.news-feature-title {
  font-size: 24px;
  font-weight: 400;
  color: #f6f6f6;
  line-height: 1.4;
  margin: 0 0 14px;
}

.news-feature-desc {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.8;
  margin: 0 0 auto;
}

/* 右侧新闻列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-item {
  width: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-tag {
  width: 52px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c70915;
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  flex-shrink: 0;
}

.news-item-title {
  flex: 1;
  font-size: 24px;
  font-weight: 400;
  color: #333333;
  line-height: 1.25;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-item-desc {
  font-size: 14px;
  color: #333333;
  line-height: 1.6;
  margin: 0;
}

/* 新闻元信息：日期与来源 */
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.news-meta-light,
.news-meta-light .news-date,
.news-meta-light .news-source {
  color: #ffffff;
}

.news-date {
  display: inline-flex;
  align-items: center;
  color: #c70915;
}

.news-source {
  color: #c70915;
}

/* ==================== part_2 教育强国建设成果 ==================== */

.part_2 {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  padding: 103px 0 194px;
  background-image: url("../images/part2-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.part-2-title {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
}

.part-2-title img {
  width: 100%;
  height: auto;
  display: block;
}

.part-2-panel {
  width: 1320px;
  max-width: calc(100% - 40px);
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 32.1999% 32.1999% 32.2693%;
  gap: 1.6655%;
  box-sizing: border-box;
}

.data-card {
  background: #ffffff;
  outline: 1.17px solid #dddddd;
  outline-offset: -1.17px;
  padding: 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.data-card-tag {
  width: 92px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}

.data-card-tag--edu {
  background-color: #faa810;
}

.data-card-tag--basic {
  background-color: #c70915;
}

.data-card-tag--teacher {
  background-color: #62bdb4;
}

.data-card-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 13px;
}

.data-card-value {
  font-size: 30px;
  color: #000000;
  font-weight: 400;
  line-height: 1;
}

.data-card-unit {
  font-size: 18px;
  color: #000000;
  font-weight: 500;
}

.data-card-title {
  font-size: 24px;
  color: #000000;
  font-weight: 400;
  margin: 13px 0 0;
  line-height: 1.4;
}

.data-card-desc {
  font-size: 18px;
  color: #7f574f;
  font-weight: 500;
  line-height: 1.6;
  margin: 12px 0 12px;
  text-align: justify;
}

.data-card-source {
  font-size: 16px;
  color: #999999;
  font-weight: 400;
  margin-top: auto;
}

/* ==================== part_3 看国旗·知中国 ==================== */

.part_3 {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  padding: 125px 0 138px;
  background-image: url("../images/part3-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.part-3-title {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
}

.part-3-title img {
  width: 100%;
  height: auto;
  display: block;
}

/* 国旗概况面板 */
.flag-overview {
  width: 1439px;
  max-width: calc(100% - 40px);
  margin: 41px auto 0;
  background: rgba(251, 233, 214, 0.5);
  border-radius: 20px;
  outline: 1px solid #bea77d;
  outline-offset: -1px;
  padding: 17px 21px;
  box-sizing: border-box;
}

.flag-overview-body {
  display: grid;
  grid-template-columns: 365px 1fr;
  gap: 20px;
  align-items: start;
}

.flag-image-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding-bottom: 10px;
  text-align: center;
  overflow: hidden;
}

.flag-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.flag-caption {
  font-size: 20px;
  color: #000000;
  font-weight: 400;
  margin: 10px 0 0;
}

.flag-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flag-info-item {
  background: #ffffff;
  border-radius: 40px;
  outline: 1px solid #e58787;
  outline-offset: -1px;
  padding: 11px 89.5px;
  display: flex;
  align-items: center;
  min-height: 52px;
  box-sizing: border-box;
}

.flag-info-label {
  font-size: 20px;
  color: #9e2b25;
  font-weight: 400;
  margin-right: 60px;
  flex-shrink: 0;
}

.flag-info-value {
  font-size: 18px;
  color: #333333;
  font-weight: 500;
}

/* 官方下载入口 */
.flag-download {
  background: #ffffff;
  border-radius: 10px;
  outline: 1px solid #f1dcb8;
  outline-offset: -1px;
  padding: 26.5px 41px;
  margin-top: 30px;
}

.flag-download-title {
  font-size: 18px;
  color: #000000;
  font-weight: 500;
  margin: 0 0 10px;
}

.flag-download-links {
  display: flex;
  gap: 17px;
  margin-bottom: 10px;
}

.flag-download-link {
  width: 151px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  outline: 1px solid #e8bc63;
  outline-offset: -1px;
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
}

.flag-download-note {
  font-size: 18px;
  color: #9e2b25;
  font-weight: 500;
  margin: 0;
}

/* 国旗知识卡片 */
.flag-cards {
  width: 1439px;
  max-width: calc(100% - 40px);
  margin: 41px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26.33px;
}

.flag-card {
  background: #ffffff;
  border-radius: 20px;
  outline: 1px solid #bea77d;
  outline-offset: -1px;
  padding: 41px 18px;
  min-height: 942px;
  box-sizing: border-box;
}

.flag-card-title {
  font-size: 30px;
  color: #9e2b25;
  font-weight: 400;
  margin: 0 0 21px;
  line-height: 1.2;
}

.flag-card-intro {
  font-size: 18px;
  color: #000000;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 17px;
  padding-bottom: 17px;
  border-bottom: 1px solid #f1dcb8;
}

.flag-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.flag-card-item {
  display: block;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

.flag-card-item::before {
  content: "★";
  color: #c70915;
  margin-right: 8px;
}

.flag-item-label {
  color: #000000;
}

/* 不带冒号的标签与正文之间补充间距 */
.flag-item-label--gap {
  margin-right: 12px;
}

.flag-item-text {
  color: #989283;
}

/* 互动拼图 */
.flag-puzzle {
  width: 1440px;
  max-width: calc(100% - 40px);
  margin: 32px auto 0;
  background: #ffffff;
  border-radius: 20px;
  outline: 1px solid #bea77d;
  outline-offset: -1px;
  padding: 21px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 504px 1fr;
  gap: 49px;
  align-items: center;
}

.flag-puzzle-board {
  width: 100%;
  max-width: 504px;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background-color: #f2c14e;
}

.puzzle-piece {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s;
}

.puzzle-piece img {
  width: 100%;
  height: auto;
  display: block;
}

.puzzle-piece.selected {
  outline: 4px solid #c70915;
  transform: scale(0.95);
  z-index: 2;
}

.puzzle-piece.solved {
  outline: 4px solid #4caf50;
}

.flag-puzzle-content {
  display: flex;
  flex-direction: column;
}

.flag-puzzle-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 27px;
}

.flag-puzzle-stat {
  width: 201px;
  height: 55px;
  background: #fdf0f0;
  border-radius: 40px;
  outline: 1px solid #e58787;
  outline-offset: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat-label {
  font-size: 24px;
  color: #ab3e3e;
  font-weight: 400;
}

.stat-value {
  font-size: 36px;
  color: #ab3e3e;
  font-weight: 400;
}

.stat-unit {
  font-size: 24px;
  color: #ab3e3e;
  font-weight: 400;
}

.flag-puzzle-title {
  font-size: 24px;
  color: #9e2b25;
  font-weight: 400;
  margin: 0 0 15px;
}

.flag-puzzle-tip {
  font-size: 18px;
  color: #bea77d;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 27px;
  padding: 27px 11px;
  background: #fdf8ec;
  outline: 1px solid #f1dcb8;
  outline-offset: -1px;
}

.flag-puzzle-actions {
  display: flex;
  gap: 17px;
}

.flag-puzzle-btn {
  width: 151px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.flag-puzzle-btn:hover {
  transform: translateY(-2px);
}

.flag-puzzle-btn:active {
  transform: translateY(0);
}

.flag-puzzle-btn-primary {
  background: #c70915;
  color: #ffffff;
  outline: 1px solid #e8bc63;
  outline-offset: -1px;
  box-shadow: 0 4px 12px rgba(199, 9, 21, 0.25);
}

.flag-puzzle-btn-primary:hover {
  box-shadow: 0 6px 16px rgba(199, 9, 21, 0.35);
}

.flag-puzzle-btn-outline {
  background: transparent;
  color: #9e2b25;
  outline: 1px solid #9e2b25;
  outline-offset: -1px;
}

.flag-puzzle-btn-outline:hover {
  background: rgba(199, 9, 21, 0.06);
  box-shadow: 0 4px 12px rgba(199, 9, 21, 0.15);
}

/* 日历图标：使用 CSS 绘制，避免引入 SVG。
   此处 position 仅用于伪元素定位以绘制装饰性小图标，不属于页面布局。 */
.icon-calendar {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 2px;
  margin-right: 4px;
  position: relative;
  vertical-align: middle;
}

.icon-calendar::before,
.icon-calendar::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 3px;
  height: 5px;
  background-color: currentColor;
  border-radius: 1px;
}

.icon-calendar::before {
  left: 2px;
}

.icon-calendar::after {
  right: 2px;
}

/* ==================== part_4 精品文旅 ==================== */

.part_4 {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 0 130px;
  background-image: url("../images/part4-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.part-4-title {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0;
}

.part-4-title img {
  width: 100%;
  height: auto;
  display: block;
}

.part-4-grid {
  width: 1437px;
  max-width: calc(100% - 40px);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  row-gap: 42px;
}

.activity-card {
  background-color: #ffffff;
  outline: 1px solid #dddddd;
  outline-offset: -1px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.activity-card-image {
  width: 100%;
  aspect-ratio: 449 / 146;
  overflow: hidden;
}

.activity-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.activity-card-body {
  padding: 20px 40px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.activity-card-title {
  min-height: 40px;
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  line-height: 1.25;
  margin: 0 0 13px;
}

.activity-card-meta {
  font-size: 16px;
  font-weight: 400;
  color: #9e2b25;
  line-height: 1.4;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.activity-card-desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 12px 0 0;
  color: #0f1322;
}

.activity-card-source {
  font-size: 16px;
  font-weight: 400;
  color: #989283;
  line-height: 1.5;
  margin: auto 0 0;
  padding-top: 20px;
}

/* 定位图标：纯 CSS 绘制，用于活动卡片地点信息 */
.icon-location {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  vertical-align: middle;
  position: relative;
}

.icon-location::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  background-color: currentColor;
  border-radius: 50%;
}

/* ==================== part_5 假期安全提示 ==================== */

.part_5 {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 92px 0 200px;
  background-image: url("../images/part5-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.part-5-title {
  width: 700px;
  max-width: 100%;
  margin: 0 auto 48px;
}

.part-5-title img {
  width: 100%;
  height: auto;
  display: block;
}

.part-5-grid {
  width: 1440px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 406px);
  gap: 24px;
  row-gap: 23px;
  justify-content: center;
}

.safety-card {
  width: 406px;
  max-width: 100%;
  padding: 41px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 20px;
  outline: 1px solid #9e2b25;
  outline-offset: -1px;
  display: flex;
  flex-direction: column;
}

.safety-card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1px;
}

.safety-card-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.safety-card-title {
  font-size: 30px;
  font-weight: 700;
  color: #9e2b25;
  line-height: 1.2;
  margin: 0 0 32px;
}

.safety-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.safety-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  line-height: 1.6;
}

.safety-bullet {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safety-bullet img {
  width: auto;
  height: 100%;
  display: block;
}

.safety-card-decoration {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
}

.safety-card-decoration img {
  width: 100%;
  height: auto;
  display: block;
}

.safety-card-source {
  font-size: 14px;
  font-weight: 400;
  color: #9e2b25;
  line-height: 1.5;
  margin: 16px 0 0;
}

/* ==================== 拼图完成弹框 ==================== */
.puzzle-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.puzzle-modal.is-open {
  display: flex;
}

.puzzle-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.puzzle-modal-content {
  position: relative;
  width: 90%;
  max-width: 480px;
  padding: 48px 32px 40px;
  background-color: #ffffff;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.puzzle-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #c70915 0%, #f2c14e 100%);
}

.puzzle-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #c70915 0%, #e64a19 100%);
  box-shadow: 0 8px 20px rgba(199, 9, 21, 0.3);
}

.puzzle-modal-icon::after {
  content: '';
  width: 28px;
  height: 48px;
  border-style: solid;
  border-color: #ffffff;
  border-width: 0 6px 6px 0;
  transform: rotate(45deg) translate(-2px, 2px);
}

.puzzle-modal-title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 600;
  color: #c70915;
}

.puzzle-modal-text {
  margin: 0 0 32px;
  font-size: 18px;
  color: #333333;
}

.puzzle-modal-text strong {
  color: #c70915;
  font-weight: 600;
}

.puzzle-modal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.puzzle-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #c70915 0%, #d62c18 100%);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(199, 9, 21, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.puzzle-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(199, 9, 21, 0.35);
}

.puzzle-modal-btn:active {
  transform: translateY(0);
}

.puzzle-modal-btn--secondary {
  background: #ffffff;
  color: #c70915;
  outline: 2px solid #c70915;
  outline-offset: -2px;
  box-shadow: none;
}

.puzzle-modal-btn--secondary:hover {
  background: #fff5f5;
  box-shadow: 0 4px 12px rgba(199, 9, 21, 0.15);
}

/* ==================== 响应式媒体查询 ==================== */

/* 手机适配：768px 及以下 */
@media (max-width: 768px) {
  /* 保持 banner 比例，让背景图继续等比缩放 */
  .banner {
    aspect-ratio: 1920 / 1021;
  }

  /* 移动端适当放大 logo，保证可识别性 */
  .banner-logo {
    left: 5%;
    top: 5%;
    width: 30%;
  }

  /* 校园动态改为流式布局 */
  .part_1 {
    padding: 40px 16px;
  }

  .part-1-title {
    width: 100%;
    margin: 0 auto 24px;
  }

  .part-1-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 24px;
  }

  .news-feature-body {
    padding: 24px 16px;
  }

  .news-list {
    gap: 20px;
  }

  .news-item {
    min-height: auto;
    gap: 10px;
  }

  .news-item-header {
    flex-wrap: wrap;
  }

  .news-item-title {
    font-size: 18px;
  }

  .news-feature-title {
    font-size: 20px;
  }

  /* 教育强国建设成果改为单列 */
  .part_2 {
    padding: 40px 16px;
  }

  .part-2-title {
    width: 100%;
    margin: 0 auto 24px;
  }

  .part-2-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .data-card {
    height: auto;
    min-height: 445px;
  }

  /* 看国旗·知中国改为单列 */
  .part_3 {
    padding: 40px 0;
  }

  .part-3-title {
    width: 100%;
    margin: 0 auto 24px;
  }

  .flag-overview {
    margin: 0 auto;
  }

  .flag-overview-body {
    grid-template-columns: 1fr;
  }

  .flag-info-item {
    padding: 11px 16px;
    flex-wrap: wrap;
  }

  .flag-info-label {
    margin-right: 16px;
  }

  .flag-download {
    padding: 20px 16px;
  }

  .flag-download-links {
    flex-wrap: wrap;
  }

  .flag-cards {
    margin: 24px auto 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flag-card {
    min-height: auto;
  }

  .flag-puzzle {
    width: calc(100% - 32px);
    max-width: 100%;
    margin: 24px auto 0;
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flag-puzzle-board {
    max-width: 100%;
  }

  .flag-puzzle-stats {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }

  .flag-puzzle-stat {
    width: auto;
    min-width: 90px;
    flex: 1 1 30%;
    height: auto;
    min-height: 44px;
    padding: 8px 12px;
  }

  .stat-label,
  .stat-unit {
    font-size: 14px;
  }

  .stat-value {
    font-size: 22px;
  }

  .flag-puzzle-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .flag-puzzle-tip {
    font-size: 14px;
    padding: 16px;
    margin-bottom: 16px;
  }

  .flag-puzzle-actions {
    flex-direction: column;
    gap: 12px;
  }

  .flag-puzzle-btn {
    width: 100%;
    height: 44px;
    font-size: 16px;
  }

  /* 精品文旅改为单列 */
  .part_4 {
    padding: 40px 16px;
  }

  .part-4-title {
    width: 100%;
    margin: 0 auto 24px;
  }

  .part-4-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .activity-card-body {
    padding: 16px;
  }

  .activity-card-title {
    font-size: 20px;
  }

  .activity-card-desc {
    font-size: 16px;
  }

  /* 假期安全提示改为单列 */
  .part_5 {
    padding: 40px 16px;
  }

  .part-5-title {
    width: 100%;
    margin: 0 auto 24px;
  }

  .part-5-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .safety-card {
    width: 100%;
    padding: 24px;
  }

  .safety-card-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .safety-card-list li {
    font-size: 16px;
  }
}
