/* ─────────────── 常规 ─────────────── */

/* 隐藏作者框 */
.author-box {
  display: none；
}

/* 📄 菜单栏下方有间距的白色容器（仅限主页） */
.home .site-main {
  background-color: #ffffffff；
  margin-top: 15px; /* 显示背景图片 */
  padding-top: 0；
}

/* 🖼️ 第一篇文章：图片上方无双倍行距 + 白色 */
.home .inside-article:first-of-type、
.home .inside-article:first-of-type .entry-header {
  margin-top: 0；
  padding-top: 4px；
  background-color: #ffffffff；
}

/* 隐藏主页上空的 H1 */
.home .page-title {
  display: none；
  margin: 0；
  padding: 0；
}

/* 📚 文章的标准间距 */
.inside-article {
  margin: 30px 0；
}

.inside-article h2 {
  margin: 50px 0 30px；
}

.single .inside-article {
  margin: 40px 0 50px；
}

/* ─────────────── 照片 ─────────────── */

.inside-article figure.wp-block-image {
  margin-top: 45px；
  margin-bottom: 40px；
}

.inside-article figure.wp-block-image img {
  margin-top: 0；
  margin-bottom: 0；
  display: block；
}

.inside-article figure.wp-block-image figcaption {
  margin-top: 5px; /* 缩小与标题的距离 */
}


/* ─────────────── 按钮样式 ─────────────── */

/* 🟦 按钮（如 "加载更多文章"） */
.wp-block-button__link {
  background-color: #384b0c !important; /* 深蓝色 */
  color: #ffffff !important; /* 白色文本 */
  padding: 10px 25px !important；
  border-radius: 30px !important；
  font-size: 15px；
  width: 50% !important; /* 50 % 宽 */
  margin: 30px auto !important; /* 居中 */
  text-align: center；
  display: block !important；
  text-decoration: none；
  transition: all 0.3s ease-in-out；
}

/* 悬停状态 */
.wp-block-button__link:hover {
  background-color: #f4e7c4 !important; /*悬停时为淡蓝色 */
  color: #384b0c !important; /* 深蓝色字体 */
}


/* ─────────────── 菜单样式 ─────────────── */

.main-navigation li a {
  border: 1px solid #ffffffff; /* 所有菜单链接周围都有白色边框 */
  font-size: 168x；
	padding: 6px 12px；
  margin: 0 4px；
  border-radius: 4px；
  display: inline-block；
  color: #ffffffffffff; /* 默认文本颜色：白色 */
  text-decoration: none；
  transition: all 0.3s ease; /*悬停时平滑过渡 */
}

.main-navigation li a:hover {
  background-color: #ffffff; /* 悬停背景：白色 */
  color: #cc0000; /* 悬停字体：意大利红 */
  border-color: #cc0000; /*悬停时的红色边框 */
}
.main-navigation .sub-menu a {
  font-size: 18px !important；
}

/* ─────────────── 摘录 ─────────────── */

/* 🧩 新闻包文章预览：字体更小 + 更窄 */
.wp-block-newspack-blocks-homepage-articles p {
  font-size: 0.85em !important；
  line-height: 1.3 !important；
  color: #333333 !important；
  margin-bottom: 0.5em !important；
}

@media screen and (max-width: 768px) {
  .wp-block-newspack-blocks-homepage-articles p {
    font-size: 0.9em !important；
    line-height: 1.35 !important；
  }
}



/* 高亮显示文章中的白色日期 */
.wp-block-newspack-blocks-homepage-articles:first-of-type article:nth-of-type(-n+3) .entry-meta、
.wp-block-newspack-blocks-homepage-articles:first-of-type article:nth-of-type(-n+3) .entry-meta a、
.wp-block-newspack-blocks-homepage-articles:first-of-type article:nth-of-type(-n+3) time {
  color: #ffffff !important；
}

.main-navigation .main-nav ul ul li {
  margin-bottom: 6px; /* 下拉菜单项目之间的空间 */
}

.main-navigation .main-nav &gt; ul &gt; li {
  margin-bottom: 8px; /* 主菜单项之间的间距 */
}

.wp-block-gallery、
画廊
{
  margin-top: 40px；
  margin-bottom: 35px；
}

h3 {
  margin-top: 40px；
  margin-bottom: 20px；
}

/* 测验按钮上方的灰色线条 */
.qsm-quiz-container .qsm-question-container &gt; hr {
    display: none !important；
}

.qsm-quiz-container hr {
    display: none !important；
}

/* ✅ 开始按钮 (#384b0c) */
.qsm-start-button {
    background-color: #384b0c !important；
    color: #ffffff !important；
    font-family: 'Libre Franklin', sans-serif !important；
    font-weight: 700 !important；
    padding: 12px 24px !important；
    border: none !important；
    border-radius: 8px !important；
    display: block；
    margin: 0 auto；
}

.qsm-main {
    margin-top: 20px !important；
}
.qsm-quiz-container {
    padding-top: 10px !important；
}

.inside-article .qsm-question-answers label、
.inside-article .qsm-question-answers label span、
.inside-article .qsm-question-answers input[type="radio"] + label span、
.inside-article .qsm-question-answers input[type="checkbox"] + label span {
    font-size: 20px !important；
    line-height: 1.6 !important；
    display: inline-block !important；
    color: #222 !important；
}

.qsm-input-label {
    font-size: 20px !important；
    line-height: 1.6 !important；
    color: #222 !important；
    display: inline-block；
}

a.cover-full-link {
  display: block；
  position: relative；
  text-decoration: none；
}

a.cover-full-link::before {
  content: ""；
  position: absolute；
  top: 0; left: 0; right: 0; bottom: 0；
  z-index: 1；
}

.map-square、
.map-square .leaflet-container、
.leaflet-container[style] {
    height: auto !important；
    aspect-ratio: 1 / 1 !important；
    width: 100% !important；
    max-width: 100%；
    margin-bottom: 1.5rem；
}

.leaflet-map + script + p {
    display: none !important；
    margin: 0 !important；
    padding: 0 !important；
}

.leaflet-map + script + br {
    display: none !important；
    margin: 0 !important；
    padding: 0 !important；
}

/* 投票按钮水平、居中、正常 */
.crowdsignal-forms-poll__block-button .wp-block-button__link {
    writing-mode: horizontal-tb !important；
    transform: none !important；
    padding: 10px 20px !important；
    height: auto !important；
    width: auto !important；
    white-space: nowrap !important；
    display: inline-block !important；
    font-size: 16px !important；
    text-align: center !important；
}

/* 按钮容器居中，水平对齐 */
.crowdsignal-forms-poll__actions {
    display: flex !important；
    justify-content: center !important；
    align-items: center !important；
    flex-direction: row !important；
}

/* 隐藏品牌文字（crowdsignal 链接） */
.crowdsignal-forms-poll__vote-branding {
    display: none !important；
}

.crowdsignal-forms-poll__vote-branding、
.crowdsignal-forms__footer-branding {
    font-size: 11px !important；
    opacity: 0.4 !important；
    text-align: center !important；
    margin-top: 10px；
}

a.customise-unpreviewable {
    display: block；
    margin-top: 35px；
    margin-bottom: 35px；
}

.wp-block-embed、
.wp-block-embed-youtube、
iframe[src*="youtube"]、
iframe[src*="skylinewebcams"] {
  display: block；
  margin-top: 35px；
  margin-bottom: 35px；
}

.wp-block-embed img、
.wp-block-image img {
  margin-top: 35px；
  margin-bottom: 35px；
  display: block；
}

a[href*="skylinewebcams"] img {
  display: block；
  margin-top: 50px；
  margin-bottom: 50px；
}