@import url("/css/mobile-readable.css?v=20261106-large1");
/* v5.8.3｜Global Layout Sync */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(16px);
  border-top: 4px solid #A30F1A;
  border-bottom: 1px solid #E6DED1;
  box-shadow: 0 8px 28px rgba(70,55,35,.05);
}

.site-header .nav,
.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #263328;
  flex: 0 0 auto;
}

.logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #263328;
  background: #FFFDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(70,55,35,.1);
}

.logo-text strong {
  display: block;
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.logo-text span {
  display: block;
  margin-top: 4px;
  color: #687463;
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 32px);
  flex-wrap: nowrap;
  font-weight: 950;
  font-size: clamp(15px, 1.4vw, 20px);
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #263328;
  text-decoration: none;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #A67C52;
  transition: width .2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #A67C52;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.site-footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(143,175,139,.16), transparent 24rem),
    radial-gradient(circle at 80% 0%, rgba(166,124,82,.15), transparent 22rem),
    #243128;
  color: #FFFDF8;
  clear: both;
}

.site-footer .footer-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 32px;
  padding: 64px 0 58px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
  color: #FFFDF8;
}

.site-footer p {
  margin: 0 0 8px;
  color: rgba(255,253,248,.75);
}

.site-footer a {
  color: rgba(255,253,248,.75);
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
  display: inline-block;
}

.site-footer a:hover {
  color: #FFFDF8;
  transform: translateX(2px);
}

.footer-brand p {
  max-width: 420px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 18px 0;
  color: rgba(255,253,248,.6);
  font-size: 14px;
}

@media (max-width: 1180px) {
  .site-header .nav,
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 980px) {
  .site-footer .footer-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .logo-mark {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  .logo-text strong {
    font-size: 22px;
  }

  .nav-links {
    gap: 18px;
    font-size: 16px;
  }

  .site-footer .footer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 38px 0;
  }
}

/* Article headers use the approved homepage avatar and a compact brand lockup. */
.article-page .site-header{display:block;padding:18px clamp(20px,4vw,48px);border-top:0}
.article-page .site-header .header-inner{max-width:1120px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px}
.article-page .site-header .brand{display:flex;align-items:center;gap:12px;flex:0 0 auto;letter-spacing:0}
.article-page .site-header .brand>img{content:url("/assets/img/logo-avatar.png?v=20261105-logo-fix");display:block;width:56px;height:56px;object-fit:contain;flex:0 0 56px;border-radius:50%}
.article-page .site-header .brand>span{display:block}
.article-page .site-header .brand>span>strong{display:block;font-size:18px;line-height:1.5}
.article-page .site-header .brand>span>span{display:block;font-size:12px;line-height:1.6;letter-spacing:.06em;color:#687463;font-weight:500}
.article-page .site-header .nav{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;min-height:0;padding:0;font-size:14px;font-weight:650}
.article-page .site-header .nav a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
@media(max-width:900px){.article-page .site-header .header-inner{flex-direction:column;align-items:flex-start;gap:10px}.article-page .site-header .nav{width:100%;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;gap:20px}.article-page .site-header .brand>span>strong{font-size:17px}}


/* Mobile article detail layout repair 20261106 */
@media(max-width:900px){
.article-page .site-header .header-inner{width:calc(100% - 32px);max-width:100%;box-sizing:border-box;min-width:0}
.article-page .site-header .brand{max-width:100%;min-width:0;white-space:normal}
.article-page .site-header .brand>span{min-width:0}.article-page .site-header .brand strong{white-space:normal;overflow-wrap:anywhere}
.article-page .site-header .nav{flex-wrap:wrap!important;overflow:visible!important;gap:4px 18px!important;min-width:0;max-width:100%}
.article-page .article-wrap{width:calc(100% - 32px);max-width:820px;min-width:0;box-sizing:border-box;padding-top:28px}
.article-page .article-title{font-size:clamp(28px,7vw,40px);line-height:1.5;overflow-wrap:anywhere}
.article-page .article-subtitle,.article-page .article-body{font-size:19px;line-height:1.95;overflow-wrap:anywhere}
.article-page .article-body h2{font-size:27px;line-height:1.6}.article-page .article-body h3{font-size:23px;line-height:1.6}
.article-page .article-body figure{margin-inline:0;max-width:100%}.article-page .article-body img{max-width:100%;height:auto}
.article-page .article-video{min-width:0;max-width:100%}.article-page .article-video iframe{min-height:0!important;max-width:100%;height:100%;aspect-ratio:16/9}
.article-page .article-video iframe[src*=instagram]{height:640px;aspect-ratio:auto}
.article-page .article-body blockquote,.article-page .source-note{margin-inline:0;padding:16px;overflow-wrap:anywhere}
.article-page .article-body pre{max-width:100%;overflow:auto}.article-page .article-actions a{box-sizing:border-box;max-width:100%;white-space:normal}
}
