/* Independent baseline; source theme's global.css and home.css remain unmodified. */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}a{color:inherit}img{max-width:100%;height:auto}button,input,select{font:inherit}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px)!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important}
.site-content{max-width:960px;margin:26px auto;padding:0 18px}.inside-article{max-width:860px;margin:0 auto;background:#fff;border-radius:18px;padding:30px 28px;box-shadow:0 15px 30px rgba(15,23,42,.08)}
.jd-poster-missing{display:flex;align-items:center;justify-content:center;min-height:180px;background:#eee;border-radius:6px;color:#555}
.film-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.film-item img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:8px}.film-item a{text-decoration:none}
.jd-site-header{background:#212d3b;color:#fff}.jd-site-header__top,.jd-primary-nav__inner{max-width:1160px;margin:auto;padding-left:18px;padding-right:18px}.jd-site-header__top{display:flex;align-items:center;justify-content:space-between;padding-top:12px;padding-bottom:12px}.jd-site-brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;color:#fff;text-decoration:none}.jd-primary-nav{background:#28354a}.jd-primary-nav ul{display:flex;list-style:none;align-items:center;gap:0;padding:0;margin:0}.jd-primary-nav li a{display:block;text-decoration:none;color:#ffd700;font-weight:700;padding:12px 15px}.jd-primary-nav li a:hover,.jd-primary-nav .is-current a{color:#fff}.jd-menu-toggle{display:none;background:transparent;color:#ffd700;border:1px solid #ffd700;border-radius:999px;padding:6px 12px;cursor:pointer}
.site-footer{background:#212d3b;color:#eee;margin-top:48px}.footer-wrap-inner{max-width:1160px;margin:auto;padding:28px 18px;text-align:center}.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-bottom:15px}.footer-links a{color:#ffd700;text-decoration:none}.footer-copy{line-height:1.8}
.entry-content img{max-width:100%;height:auto}.entry-content iframe{max-width:100%}.wp-caption{max-width:100%;margin:20px auto;text-align:center}.wp-caption-text{font-size:14px;color:#667085}.jd-download-btn{display:inline-block;border-radius:7px;background:#1e73be;color:#fff;text-decoration:none;padding:12px 18px;font-weight:700}.migration-blocked{border:1px solid #a94442;color:#822;padding:12px;border-radius:5px}
@media(max-width:768px){.jd-menu-toggle{display:block}.jd-primary-nav{display:none}.is-menu-open .jd-primary-nav{display:block}.jd-primary-nav ul{flex-direction:column;align-items:stretch}.jd-primary-nav a{padding:11px 20px}.film-list{grid-template-columns:repeat(2,minmax(0,1fr))}.site-content{margin:16px auto}.inside-article{padding:20px 16px}}

/*
 * jingdianmovie – GeneratePress 子主题
 * global.css：全站通用样式（清理重复 + 修复：站名菜单不显示、内容不居中、链接发虚看不清、导航色块、首页文案居中、页脚导航换行、相关推荐标题/布局）
 */

:root {
  --jd-bg: #f5f5f5;
  --jd-surface: #ffffff;
  --jd-header-bg: #212d3b;
  --jd-nav-bg: #28354a;
  --jd-brand: #ffd700;
  --jd-text-main: #222222;
  --jd-text-muted: #5b6475;
  --jd-border-soft: #e2e6f0;
  --jd-radius-lg: 18px;
  --jd-shadow-soft: 0 15px 30px rgba(15, 23, 42, 0.08);
}

/* ========= 基础 ========= */

html, body { height: 100%; }

body {
  background: var(--jd-bg);
  color: var(--jd-text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

/* 通用宽度容器（首页模板/全站复用） */
.cv-auto,
.jd-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ========= 头部 & 导航（GeneratePress） ========= */

.site-header {
  background: var(--jd-header-bg);
  border-bottom: 1px solid rgba(15, 23, 42, 0.6);
}

.inside-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 站名可见 */
.site-header .site-title,
.site-header .main-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.site-header .site-title a,
.site-header .main-title a {
  color: #ffffff !important;
  text-decoration: none;
}

/* 描述隐藏 */
.site-branding .site-description { display: none; }

/* 主导航链接（颜色/加粗） */
.main-navigation .main-nav > ul > li > a,
.main-navigation .menu-bar-item > a {
  color: var(--jd-brand) !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.main-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
  color: #ffffff !important;
}

/* 移动端菜单按钮 */
.main-navigation .menu-toggle {
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.7);
  color: var(--jd-brand) !important;
}

/* ========= FIX：导航中间“色块/盒子感” ========= */
/* 目标：背景只属于整条 nav；inside-navigation 不当盒子（取消 max-width + 透明） */

.main-navigation { background: var(--jd-nav-bg) !important; }

.main-navigation .inside-navigation,
.main-navigation .inside-navigation.grid-container {
  background: transparent !important;
  box-shadow: none !important;
  max-width: none !important; /* 关键：去掉中间盒子宽度 */
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-navigation .main-nav {
  max-width: 1160px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
}

.main-navigation .inside-navigation::before,
.main-navigation .inside-navigation::after {
  background: transparent !important;
  box-shadow: none !important;
}

/* ========= 首页模板灰色块兜底修复（top-bar 类名撞车） ========= */
body.home header .top-bar { background: var(--jd-header-bg) !important; }

/* ========= 首页：隐藏长标题 + 文案居中 ========= */
body.home .intro-wrap h2 { display: none !important; }

body.home .intro-wrap .intro-text { text-align: center !important; }

body.home .intro-wrap .intro-text p {
  max-width: 980px;
  margin: 0 auto !important;
  line-height: 1.8;
}

/* ========= 文章/栏目/归档：布局居中修复 ========= */
body.single .site-content,
body.page .site-content,
body.category .site-content,
body.archive .site-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 18px;
}

body.single .content-area,
body.page .content-area,
body.category .content-area,
body.archive .content-area {
  float: none !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.single .page-header,
.page .page-header,
.archive .page-header {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  margin: 1.5rem auto 0;
}

.single .entry-title,
.page .entry-title,
.archive .page-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}

.separate-containers .inside-article {
  background: var(--jd-surface);
  border-radius: var(--jd-radius-lg);
  box-shadow: var(--jd-shadow-soft);
  padding: 32px 28px 36px;
}

.single .entry-content,
.page .entry-content {
  font-size: 17px;
  line-height: 1.9;
  color: var(--jd-text-main);
}

.single .entry-content p,
.page .entry-content p { margin: 0 0 1.3em; }

.single .entry-content h2,
.page .entry-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 2em;
  margin-bottom: 0.8em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.single .entry-content h2::before,
.page .entry-content h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ff9f1a);
}

.single .entry-content h3,
.page .entry-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

/* 正文链接：用更稳的蓝，hover 再变金（避免黄色发虚） */
.separate-containers .inside-article a,
.jd-copyright a,
.jd-related-block a {
  color: #1a4d9b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.separate-containers .inside-article a:hover,
.jd-copyright a:hover,
.jd-related-block a:hover {
  color: var(--jd-brand);
}

.single .entry-content img,
.page .entry-content img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 1.5em auto;
}

/* ========= 面包屑 ========= */
.jd-breadcrumb {
  max-width: 860px;
  margin: 1.1rem auto 0.5rem;
  padding: 0 18px;
  font-size: 13px;
  color: var(--jd-text-muted);
}

.jd-breadcrumb a {
  color: #1a4d9b;
  text-decoration: none;
}
.jd-breadcrumb a:hover {
  color: var(--jd-brand);
  text-decoration: underline;
}

/* ========= 版权声明 ========= */
.jd-copyright {
  margin: 32px 0 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 100%);
  border: 1px solid #ffe8a3;
  border-left: 4px solid var(--jd-brand);
  border-radius: 10px;
  color: #555;
  line-height: 1.8;
  font-size: 14px;
}

.jd-copyright strong {
  color: #1a1a1a;
  font-weight: 800;
}

/* ========= 通用区块标题（首页/专题/排行等） ========= */
.section-title {
  font-size: 24px;
  font-weight: 800;
  margin: 28px 0 20px;
  color: #1a1a1a;
  position: relative;
  padding-left: 12px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #ffd700, #ff9f1a);
  border-radius: 2px;
}

.section-title a {
  color: inherit;
  text-decoration: none;
}
.section-title a:hover { color: var(--jd-brand); }

/* ========= 相关推荐 ========= */
.jd-related-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #f0f0f0;
}

/* ✅相关推荐标题缩小，和首页卡片区更协调 */
.jd-related-block .section-title {
  font-size: 20px !important;
  margin: 20px 0 16px !important;
}
.jd-related-block .section-title::before { height: 18px !important; }

/* 默认：电脑端 3 列（配合 functions.php 的 3 篇） */
.jd-related-block .film-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ========= 页脚 ========= */
.footer-wrap {
  border-top: 1px solid var(--jd-border-soft);
  background: #ffffff;
  padding: 32px 0 24px;
}

.footer-wrap-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.footer-links {
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
}

.footer-links strong {
  color: #1a1a1a;
  margin-right: 12px;
}

.footer-links a {
  margin: 0 10px;
  color: #1a4d9b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--jd-brand);
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: var(--jd-text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ========= 响应式 ========= */
@media (max-width: 768px) {
  .inside-header { flex-wrap: wrap; }

  .separate-containers .inside-article { padding: 24px 20px 28px; }

  .single .entry-title,
  .page .entry-title,
  .archive .page-title { font-size: 26px; }

  /* ✅手机端相关推荐：2列（配合 4 篇=2x2） */
  .jd-related-block .film-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* ✅手机端页脚快速导航：两行换行，不要一行一个 */
  .footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px 14px !important;
    text-align: center !important;
  }
  .footer-links strong {
    width: 100% !important;
    margin: 0 0 6px 0 !important;
  }
  .footer-links a {
    margin: 0 !important;
    white-space: nowrap;
  }
}


/* ========= 无障碍与阅读体验 ========= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========= 全站统一自定义头部 ========= */
/* JDM_BRAND_V3_20261107: same-row site logo and original menu. */
.jd-site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: var(--jd-header-bg);
  border-bottom: 1px solid rgba(15,23,42,.65);
}
.jd-site-header__top {
  width: min(100%, 1200px);
  min-height: 76px;
  margin-inline: auto;
  padding: 6px 18px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.jd-site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  width: clamp(150px, 17vw, 184px);
  min-width: 0;
  color: var(--jd-brand);
  line-height: 1;
  text-decoration: none;
}
.jd-site-brand__picture,
.jd-site-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.jd-site-brand img { border-radius: 0; }
.jd-primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  background: transparent !important;
}
.jd-primary-nav__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.jd-site-header .jd-primary-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.jd-site-header .jd-primary-nav li {
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  list-style: none;
}
.jd-site-header .jd-primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px clamp(5px, .95vw, 12px);
  white-space: nowrap;
  font-size: clamp(13px, 1.13vw, 15px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--jd-brand) !important;
  text-decoration: none !important;
  transition: color .2s ease, background-color .2s ease;
}
.jd-site-header .jd-primary-nav a:hover,
.jd-site-header .jd-primary-nav a:focus-visible,
.jd-site-header .jd-primary-nav .is-current > a {
  color: #fff !important;
  background: rgba(255,255,255,.08);
}
.jd-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(255,215,0,.72);
  border-radius: 999px;
  background: transparent;
  color: var(--jd-brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.jd-menu-toggle__icon { width: 19px; display: grid; gap: 4px; }
.jd-menu-toggle__icon i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
/* Only the brand area changes at smaller widths; the rest of the site retains its styles. */
@media (max-width: 900px) {
  .jd-site-header__top { min-height: 68px; flex-wrap: wrap; gap: 0; padding: 5px 14px; }
  .jd-site-brand { width: 155px; }
  .jd-menu-toggle { display: inline-flex; margin-left: auto; }
  .jd-primary-nav { display: none; flex: 0 0 100%; order: 3; width: 100%; }
  .jd-site-header.is-menu-open .jd-primary-nav { display: block; }
  .jd-primary-nav__inner { padding: 6px 0 10px; }
  .jd-site-header .jd-primary-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
  }
  .jd-site-header .jd-primary-nav li { width: 100%; }
  .jd-site-header .jd-primary-nav a {
    display: flex;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .jd-site-header .jd-primary-nav li:last-child a { border-bottom: 0; }
  .jd-site-header.is-menu-open .jd-menu-toggle__icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .jd-site-header.is-menu-open .jd-menu-toggle__icon i:nth-child(2) { opacity: 0; }
  .jd-site-header.is-menu-open .jd-menu-toggle__icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 420px) { .jd-site-brand { width: 140px; } }
.jd-footer-brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 14px;
  width: 144px;
  text-decoration: none;
}
.jd-footer-brand picture,
.jd-footer-brand img { display: block; width: 100%; height: auto; }

/* 通用电影卡片样式也放到全站，分类页与专题页共用。 */
.film-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.film-item {
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  overflow: hidden;
}

.film-item > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.film-item picture,
.film-item img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.film-item .film-title {
  min-height: 42px;
  margin: 0;
  padding: 12px 14px 6px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.film-item .film-meta {
  padding: 0 14px 4px;
  color: #4b5563;
  font-size: 13px;
}

.film-item .film-desc {
  padding: 0 14px 12px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}

/* 自定义模板由模板自身控制宽度，避免主题容器再套一层。 */
body.page-template-page-sample-page .site-content,
body.page-template-page-eu-cult-films .site-content,
body.page-template-page-hk-restricted-top10 .site-content,
body.page-template-page-kr-teen-romance .site-content,
body.page-template-page-topic .site-content {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 768px) {
  /* 手机端每行一个文章卡片。 */
  .film-list,
  .jd-related-block .film-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* 去掉 GeneratePress/主题外层的白色框、圆角与重复留白。 */
  body:not(.home) #page,
  body:not(.home) #content,
  body:not(.home) .site-content,
  body:not(.home) .content-area,
  body:not(.home) .site-main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.single .site-content,
  body.page .site-content,
  body.category .site-content,
  body.archive .site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .separate-containers .inside-article,
  body.single .inside-article {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px 15px 28px !important;
  }

  /* About 与其他自定义页面只保留自身一层内边距。 */
  .jd-about-page,
  .jd-forbidden-page,
  .jd-article-page,
  .jd-korean-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .jd-about-hero {
    margin-bottom: 32px;
    padding: 34px 20px;
    border-radius: 12px;
    box-shadow: none;
  }
}

/*
 * 首页样式（只保留首页专属）
 * 通用类如 .cv-auto / .section-title 建议继续放 global.css
 */

:root {
  --jd-brand: #ffd700;
  --jd-brand-dark: #ff9f1a;
  --jd-bg: #212d3b;
  --jd-text: #222;
  --jd-card-bg: #fff;
  --jd-radius: 12px;
  --jd-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

body {
  margin: 0;
  background: #f5f5f5;
  color: var(--jd-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.jd-home-masthead {
  background: var(--jd-bg);
}

.top-bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  display: flex;
  align-items: center;
  color: var(--jd-brand);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 1px;
}

.site-logo img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.site-logo span {
  font-size: 22px;
  line-height: 1.15;
}

nav {
  background: #28354a;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav li {
  list-style: none;
  margin: 0 14px;
}

nav a {
  display: inline-block;
  padding: 12px 0;
  color: var(--jd-brand);
  text-decoration: none;
  font-weight: 800;
}

nav a:focus-visible,
.search-form button:focus-visible,
.search-form input:focus-visible,
.hs-nav:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
  border-radius: 10px;
}

.home-strip__card:focus-visible,
.film-item > a:focus-visible,
.hero-btn:focus-visible,
.jd-topic:focus-visible,
.jd-topitem__title:focus-visible,
.jd-tags a:focus-visible,
.seo-content a:focus-visible,
.site-logo:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 3px;
}

.screen-reader-text:focus,
.skip-link:focus {
  position: fixed;
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0,0,0,.24);
}

.intro-wrap {
  background: var(--jd-bg);
  padding: 10px 0 8px;
}

.intro-wrap h2,
.intro-wrap p {
  color: #fff;
  margin: 0;
}

.intro-wrap h2 {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.intro-wrap p {
  font-size: 1rem;
  line-height: 1.7;
}

.intro-text--inner {
  max-width: 1160px;
  margin: 12px auto 0;
  padding: 0 18px;
}

.search-wrap {
  max-width: 1160px;
  margin: 12px auto 0;
  padding: 0 18px 10px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form input[type="search"] {
  flex: 1;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid #d9dee5;
  border-radius: 10px;
  background: #fff;
}

.search-form button {
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--jd-brand);
  color: #2a1a00;
  font-weight: 900;
  cursor: pointer;
}

.hero-wrap {
  max-width: 1160px;
  margin: 10px auto 0;
  padding: 0 18px 10px;
}

.hero-inner {
  display: flex;
  gap: 18px;
  align-items: stretch;
  background: #101724;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.hero-poster {
  flex: 0 0 38%;
  min-width: 0;
  position: relative;
  display: block;
}

.hero-poster picture,
.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-info {
  flex: 1;
  padding: 18px 20px 18px 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-tagline {
  font-size: .9rem;
  color: var(--jd-brand);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 4px 0 6px;
  line-height: 1.4;
}

.hero-meta {
  font-size: .9rem;
  color: #b8c4d4;
  margin-bottom: 10px;
}

.hero-excerpt {
  font-size: .95rem;
  color: #e5edf5;
  line-height: 1.6;
  max-height: 12.8em;
  overflow: hidden;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--jd-brand), var(--jd-brand-dark));
  color: #301b00;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.35);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--jd-brand);
  border: 1px solid rgba(255,215,0,.65);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* 首页横向滑动卡片 */
.home-strip {
  max-width: 1160px;
  margin: 22px auto 30px;
  padding: 0 18px;
}

.home-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.home-strip__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: #212d3b;
  letter-spacing: 1px;
}

.home-strip__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.home-strip__box {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 18px 16px;
  overflow: hidden;
}

.home-strip__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 3;
  pointer-events: none;
  transition: opacity .2s ease;
}

.home-strip__fade--left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.home-strip__fade--right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.home-strip__box.is-at-start .home-strip__fade--left {
  opacity: 0;
}

.home-strip__box.is-at-end .home-strip__fade--right {
  opacity: 0;
}

.home-strip__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #cfd6df transparent;
  cursor: grab;
}

.home-strip__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}

.home-strip__viewport::-webkit-scrollbar {
  height: 8px;
}

.home-strip__viewport::-webkit-scrollbar-thumb {
  background: #d9dee5;
  border-radius: 999px;
}

.home-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 6);
  gap: 12px;
}

.home-strip__item {
  min-width: 0;
}

.home-strip__card {
  display: block;
  min-width: 0;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-strip__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  border-color: #e2c04d;
}

.home-strip__thumb {
  position: relative;
}

.home-strip__thumb picture,
.home-strip__thumb img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

.home-strip__watch {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  background: rgba(16, 23, 36, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.home-strip__body {
  padding: 10px 12px 12px;
}

.home-strip__name {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.home-strip__meta {
  font-size: 13px;
  color: #4b5563;
  margin: 0 0 6px;
}

.home-strip__desc {
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.hs-nav {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--jd-brand), var(--jd-brand-dark));
  color: #2a1a00;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hs-nav:hover {
  transform: translateY(-2px);
}

.hs-nav[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* 电影卡片网格（首页） */
.film-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.film-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.film-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.film-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.film-item picture,
.film-item img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.film-item:hover picture img,
.film-item:hover img {
  transform: scale(1.05);
}

.film-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 14px 6px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.film-meta {
  font-size: 13px;
  padding: 0 14px 4px;
  color: #4b5563;
}

.film-desc {
  font-size: 13px;
  line-height: 1.5;
  padding: 0 14px 12px;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anchor-link {
  color: #1a4d9b;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  margin-left: 4px;
}

.anchor-link:hover {
  color: #7a4d00;
}

/* 专题合集 */
.jd-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.jd-topic {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--jd-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: block;
}

.jd-topic:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.jd-topic picture,
.jd-topic img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.jd-topic:hover picture img,
.jd-topic:hover img {
  transform: scale(1.05);
}

.jd-topic__title {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
}

/* 热门排行 */
.jd-toplist {
  list-style: none;
  padding: 20px;
  margin: 0 0 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--jd-shadow);
}

.jd-topitem {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.jd-topitem:last-child {
  border-bottom: none;
}

.jd-topitem__no {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jd-brand), var(--jd-brand-dark));
  color: #2a1a00;
  font-weight: 900;
  border-radius: 6px;
  margin-right: 12px;
  font-size: 14px;
  flex-shrink: 0;
}

.jd-topitem:nth-child(n+4) .jd-topitem__no {
  background: #e0e0e0;
  color: #4a4a4a;
}

.jd-topitem__title {
  flex: 1;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.jd-topitem__title:hover {
  color: #7a4d00;
}

/* 热门标签 */
.jd-tags {
  text-align: center;
  margin-bottom: 40px;
}

.jd-tags a {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jd-tags a:hover {
  background: linear-gradient(135deg, var(--jd-brand), var(--jd-brand-dark));
  color: #2a1a00;
  border-color: var(--jd-brand);
  transform: translateY(-2px);
}

/* SEO 内容 */
.seo-content {
  max-width: 1160px;
  margin: 30px auto;
  padding: 0 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--jd-shadow);
}

.seo-content h2 {
  font-size: 1.6rem;
  color: #212d3b;
  margin: 24px 0 16px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.seo-content h2:first-child {
  border-top: none;
  padding-top: 24px;
}

.seo-content h3 {
  font-size: 1.3rem;
  color: #28354a;
  margin: 20px 0 12px;
}

.seo-content p {
  line-height: 1.85;
  color: #444;
  margin: 14px 0;
  font-size: 1.02rem;
}

.seo-content ul,
.seo-content ol {
  line-height: 1.85;
  color: #444;
  margin: 14px 0;
  padding-left: 28px;
}

.seo-content li {
  margin: 8px 0;
}

.seo-content strong {
  color: #212d3b;
  font-weight: 700;
}

.seo-content a {
  color: #1a73e8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.seo-content a:hover {
  border-bottom-color: #1a73e8;
}

.seo-content__last {
  margin-bottom: 0;
}

.seo-content__more {
  font-weight: 800;
}

/* 首屏以下区块跳过离屏布局与绘制，降低 Style & Layout 主线程开销 */
.main-section > section.cv-auto:not(.home-strip),
.seo-content {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .home-strip__card:hover,
  .film-item:hover,
  .jd-topic:hover,
  .jd-tags a:hover {
    transform: none;
  }
}

/* 响应式 */
@media (max-width: 1024px) {
  .home-strip__track {
    grid-auto-columns: calc((100% - 36px) / 4);
  }
}

@media (max-width: 820px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-poster {
    flex-basis: auto;
    max-height: 58vw;
  }

  .home-strip__track {
    grid-auto-columns: calc((100% - 14px) / 2.5);
  }

  .home-strip__box {
    padding: 14px;
  }
}

@media (max-width: 768px) {
  .film-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jd-topics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-strip__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-strip__controls {
    width: 100%;
    justify-content: flex-end;
  }

  /* 手机端减少嵌套容器：区块本身不再套白色圆角框 */
  .home-strip__box {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .home-strip__fade { display: none; }

  .seo-content {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding-left: 18px;
    padding-right: 18px;
  }
}


@media (max-width: 520px) {
  .site-logo span {
    font-size: 18px;
  }

  .home-strip__track {
    grid-auto-columns: calc((100% - 12px) / 2.2);
    gap: 10px;
  }

  .home-strip__title {
    font-size: 1.2rem;
  }

  .home-strip__body {
    padding: 9px 10px 12px;
  }

  .home-strip__name {
    font-size: 13px;
    min-height: 38px;
  }

  .home-strip__desc {
    font-size: 13px;
  }

  .home-strip__fade {
    width: 42px;
  }
}

@media (max-width: 480px) {
  .film-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .film-title {
    font-size: 14px;
    padding: 10px 12px 4px;
  }
}
/* JDM visual refresh: header, article pagination, author profiles, accessibility. */
:root{--jdm-blue:#174b88;--jdm-ink:#172637;--jdm-muted:#526176;--jdm-border:#e2e8f0;--jdm-card:#fff;--jdm-bg:#f5f7fa;--jdm-focus:#dc8412}
.jdm-header-brand-picture{display:inline-flex;align-items:center;max-width:100%;vertical-align:middle;line-height:0}
.jdm-header-brand-picture img{display:block;width:clamp(140px,12.5vw,178px);max-width:100%;height:auto;max-height:62px;object-fit:contain}
.jdm-skip-link,a[href="#main-content"]{position:absolute;top:-130px;left:12px;z-index:99999;background:#fff;color:#152d50;padding:12px 16px;border:3px solid #d4831d;border-radius:8px;text-decoration:none}
.jdm-skip-link:focus,a[href="#main-content"]:focus{top:8px}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--jdm-focus)!important;outline-offset:3px!important}
/* Prev / next: two equal columns instead of two links crowded to the left. */
.jdm-post-pager,.post-navigation,.post-nav,.jd-post-nav,.jd-article-nav,.article-nav{width:100%;max-width:100%;grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important;align-items:stretch;margin:28px 0!important;clear:both;box-sizing:border-box}
.jdm-post-pager > a,.jdm-post-pager > div,.post-navigation > a,.post-navigation > div,.post-nav > a,.post-nav > div,.jd-post-nav > a,.jd-post-nav > div,.jd-article-nav > a,.jd-article-nav > div,.article-nav > a,.article-nav > div{min-width:0;overflow-wrap:anywhere;white-space:normal;box-sizing:border-box}
.jdm-post-pager a,.post-navigation a,.post-nav a,.jd-post-nav a,.jd-article-nav a,.article-nav a{display:flex!important;align-items:center;min-width:0;max-width:100%;padding:15px 18px;border:1px solid var(--jdm-border);border-radius:12px;background:#f8fafc;color:var(--jdm-blue);text-decoration:none!important;line-height:1.6;font-size:clamp(14px,1.15vw,17px)!important;font-weight:650;overflow-wrap:anywhere;min-height:58px}
.jdm-post-pager a:hover,.post-navigation a:hover,.post-nav a:hover,.jd-post-nav a:hover,.jd-article-nav a:hover,.article-nav a:hover{border-color:#9ab8da;background:#eef5ff}
.jdm-post-pager > :last-child,.post-navigation > :last-child,.post-nav > :last-child,.jd-post-nav > :last-child,.jd-article-nav > :last-child,.article-nav > :last-child{grid-column:2;text-align:right;justify-self:stretch}
.jdm-post-pager > :last-child a,.post-navigation > :last-child a,.post-nav > :last-child a,.jd-post-nav > :last-child a,.jd-article-nav > :last-child a,.article-nav > :last-child a{justify-content:flex-end;text-align:right}
.jdm-post-pager > a:last-child,.post-navigation > a:last-child,.post-nav > a:last-child,.jd-post-nav > a:last-child,.jd-article-nav > a:last-child,.article-nav > a:last-child{justify-content:flex-end;text-align:right}
/* Modern author layout inspired by an editorial profile, not a copied site design. */
.jdm-author-page{max-width:1180px;margin:26px auto 64px;padding:0 22px;color:var(--jdm-ink);font-size:16px;line-height:1.7;box-sizing:border-box}
.jdm-author-page *{box-sizing:border-box}
.jdm-author-breadcrumb{font-size:14px;color:var(--jdm-muted);margin:0 0 20px}
.jdm-author-breadcrumb a{color:var(--jdm-blue);text-underline-offset:3px}
.jdm-author-hero{display:grid;grid-template-columns:124px minmax(0,1fr);gap:30px;align-items:center;padding:36px 40px;background:linear-gradient(125deg,#142b49 0%,#1d3e62 68%,#25466b 100%);border-radius:22px;color:#fff;box-shadow:0 12px 34px rgba(20,43,73,.13)}
.jdm-author-portrait{width:124px;height:124px;border-radius:22px;border:3px solid rgba(255,255,255,.38);object-fit:cover;background:#eff3f7}
.jdm-author-avatar-fallback{display:flex;align-items:center;justify-content:center;width:124px;height:124px;border-radius:22px;background:#d6e5f5;color:#17375c;font-weight:750;font-size:52px}
.jdm-author-page .jdm-author-name{font-size:clamp(28px,3.8vw,44px);line-height:1.23;color:#fff;margin:0 0 8px;letter-spacing:.025em}
.jdm-author-byline{margin:0 0 13px;color:#f3d99d;font-weight:650}
.jdm-author-summary{margin:0;max-width:850px;color:#f0f4fa;font-size:15px;line-height:1.86}
.jdm-author-metrics{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0 0}
.jdm-author-metric{padding:8px 14px;border-radius:9px;background:rgba(255,255,255,.12);color:#fff;font-size:13px}
.jdm-author-info{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.8fr);gap:20px;margin-top:22px}
.jdm-author-panel{background:var(--jdm-card);border:1px solid var(--jdm-border);border-radius:17px;padding:26px 28px;box-shadow:0 4px 14px rgba(22,42,62,.04);min-width:0}
.jdm-author-panel h2,.jdm-author-stories h2{font-size:23px;font-weight:750;line-height:1.35;color:#162f50;margin:0 0 15px}
.jdm-author-bio-content{overflow-wrap:anywhere;line-height:1.9;color:#35465a}
.jdm-author-bio-content p{margin:.55em 0 1em}
.jdm-author-expertise{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.jdm-author-expertise li{background:#eef4fb;color:#224a79;border-radius:8px;padding:8px 12px;font-size:14px;font-weight:600}
.jdm-author-stories{margin-top:36px}
.jdm-author-section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:18px}
.jdm-author-section-heading h2{margin:0}
.jdm-author-count{color:var(--jdm-muted);font-size:14px;margin:0}
.jdm-author-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;margin:0;padding:0}
.jdm-author-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--jdm-border);border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(21,45,72,.06);transition:box-shadow .16s,border-color .16s}
.jdm-author-card:hover{box-shadow:0 11px 28px rgba(21,45,72,.12);border-color:#abc5e2}
.jdm-author-card-image-link{display:block;background:#e9eef5;aspect-ratio:3/4;overflow:hidden}
.jdm-author-card-image-link img{width:100%;height:100%;object-fit:contain;display:block}
.jdm-author-card-no-image{display:flex;justify-content:center;align-items:center;height:100%;font-weight:700;color:#536983;background:linear-gradient(140deg,#e2eaf3,#f2f5f9)}
.jdm-author-card-body{display:flex;flex:1;flex-direction:column;padding:18px 20px 20px;gap:10px}
.jdm-author-card-date{color:#65758a;font-size:13px;margin:0}
.jdm-author-card h3{font-size:17px;line-height:1.5;margin:0;font-weight:720;overflow-wrap:anywhere}
.jdm-author-card h3 a{color:#164b87;text-decoration:none}
.jdm-author-card h3 a:hover{text-decoration:underline}
.jdm-author-card-excerpt{font-size:14px;line-height:1.75;color:#526275;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.jdm-author-card-read{margin-top:auto;align-self:flex-start;color:#174b88;font-size:14px;font-weight:720;min-height:36px;display:inline-flex;align-items:center;text-underline-offset:3px}
.jdm-author-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:30px 0 12px}
.jdm-author-pagination a,.jdm-author-pagination span[aria-current]{display:inline-flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px 13px;border-radius:9px;border:1px solid #cbd8e6;background:#fff;color:#174b88;text-decoration:none;font-weight:650}
.jdm-author-pagination a:hover{background:#edf4fc}
.jdm-author-pagination span[aria-current]{background:#174b88;color:#fff;border-color:#174b88}
.jdm-author-pagination .jdm-ellipsis{display:inline-flex;align-items:center;justify-content:center;color:#526176;padding:0 3px}
.jdm-author-empty{padding:28px;border:1px dashed #b7c9da;border-radius:12px;background:#fff;color:#526176}
@media(max-width:900px){.jdm-author-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jdm-author-info{grid-template-columns:1fr}.jdm-author-hero{padding:28px}.jdm-author-page{padding:0 17px}}
@media(max-width:630px){.jdm-header-brand-picture img{width:134px;max-height:57px}.jdm-author-card-grid{grid-template-columns:1fr}.jdm-author-hero{grid-template-columns:1fr;text-align:center;justify-items:center;gap:18px;padding:25px 20px}.jdm-author-metrics{justify-content:center}.jdm-author-panel{padding:21px}.jdm-author-portrait,.jdm-author-avatar-fallback{width:96px;height:96px}.jdm-post-pager,.post-navigation,.post-nav,.jd-post-nav,.jd-article-nav,.article-nav{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.jdm-post-pager > :last-child,.post-navigation > :last-child,.post-nav > :last-child,.jd-post-nav > :last-child,.article-nav > :last-child{grid-column:1}.jdm-author-page{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.jdm-author-card{transition:none!important}*{scroll-behavior:auto!important}}

.jdm-post-pager > :only-child,.post-navigation > :only-child,.jd-post-nav > :only-child{grid-column:1}

/* Exact live article markup: .entry-footer-nav > .nav-prev + .nav-next. */
.entry-footer-nav{display:grid!important;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px;align-items:stretch;clear:both;margin:28px 0!important}
.entry-footer-nav>.nav-prev,.entry-footer-nav>.nav-next{min-width:0;min-height:64px;box-sizing:border-box}
.entry-footer-nav>.nav-prev{grid-column:1;text-align:left}
.entry-footer-nav>.nav-next{grid-column:2;text-align:right}
.entry-footer-nav>.nav-prev>a,.entry-footer-nav>.nav-next>a{display:flex!important;align-items:center;width:100%;height:100%;min-height:64px;box-sizing:border-box;padding:15px 18px;border:1px solid #cad8e7;border-radius:12px;background:#f8fafc;color:#174b88;text-decoration:none!important;line-height:1.65;font-size:clamp(14px,1.15vw,17px);font-weight:650;overflow-wrap:anywhere}
.entry-footer-nav>.nav-next>a{justify-content:flex-end;text-align:right}
.entry-footer-nav>.nav-prev>a{justify-content:flex-start;text-align:left}
.entry-footer-nav>.nav-prev>a:hover,.entry-footer-nav>.nav-next>a:hover{border-color:#94b9de;background:#eef5ff}
@media(max-width:630px){.entry-footer-nav{grid-template-columns:minmax(0,1fr)!important;gap:12px}.entry-footer-nav>.nav-prev,.entry-footer-nav>.nav-next{grid-column:1!important}}

/* JDM_SEO_MORE_AA_CONTRAST_20261109: Lighthouse .seo-content__more */
main#main-content .seo-content__last a.seo-content__more,
main#main-content article.seo-content a.seo-content__more,
a.seo-content__more:link,
a.seo-content__more:visited {
  color: #153e69 !important;
  background-color: #ffffff !important;
  border: 2px solid #153e69 !important;
  opacity: 1 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 700;
}
main#main-content .seo-content__last a.seo-content__more:hover,
main#main-content .seo-content__last a.seo-content__more:focus-visible,
main#main-content article.seo-content a.seo-content__more:hover,
main#main-content article.seo-content a.seo-content__more:focus-visible,
a.seo-content__more:hover,
a.seo-content__more:focus-visible {
  color: #ffffff !important;
  background-color: #153e69 !important;
  border-color: #153e69 !important;
  opacity: 1 !important;
  outline-offset: 3px;
}

