/* SUMATEN MAG - Combined Stylesheet */

/* === COMMON (from index) === */
:root {
      --bg: #769FB9;
      --bg-dark: #4e7a96;
      --bg-deeper: #3a5f76;
      --white: #ffffff;
      --text-dark: #1a2a35;
      --accent: #e8c87a;
      --accent-deep: #c9a44a;
      --card-bg: rgba(255,255,255,0.93);
      --shadow: 0 8px 40px rgba(26,42,53,0.18);
      --font-jp: 'Noto Sans JP', sans-serif;
      --font-en: 'Noto Sans JP', sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--text-dark); font-family: var(--font-jp); line-height: 1.7; overflow-x: hidden; }

    /* ─── HEADER ─── */
    .site-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 68px;
      background: rgba(26,42,53,0.94);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(232,200,122,0.22);
    }

    .logo { display: block; text-decoration: none; flex-shrink: 0; }
    .logo-img {
      display: flex; align-items: center; justify-content: center;
      width: 172px; height: 40px;
      background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 100%);
      position: relative; overflow: hidden;
    }
    .logo-img::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(-45deg, transparent, transparent 6px, rgba(255,255,255,0.06) 6px, rgba(255,255,255,0.06) 7px);
    }
    .logo-img span {
      font-family: var(--font-en); font-size: 16px; font-weight: 900;
      letter-spacing: 0.12em; color: var(--text-dark); position: relative; z-index: 1;
    }

    .header-nav { display: flex; align-items: center; gap: 28px; }
    .header-nav a {
      text-decoration: none; color: rgba(255,255,255,0.8);
      font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
      transition: color 0.2s; position: relative;
    }
    .header-nav a::after {
      content: ''; position: absolute; bottom: -4px; left: 0; right: 100%;
      height: 1px; background: var(--accent); transition: right 0.3s ease;
    }
    .header-nav a:hover { color: var(--accent); }
    .header-nav a:hover::after { right: 0; }
    .header-cta {
      background: var(--accent) !important; color: var(--text-dark) !important;
      padding: 8px 18px !important; font-weight: 700 !important; font-size: 12px !important;
      letter-spacing: 0.08em; transition: background 0.2s, transform 0.2s !important; white-space: nowrap;
    }
    .header-cta:hover { background: var(--accent-deep) !important; transform: translateY(-1px); }
    .header-cta::after { display: none !important; }

    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

    /* ─── HERO ─── */
    .hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
    .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
    .slide.active { opacity: 1; z-index: 2; }
    .slide.prev { z-index: 1; }
    .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 8s ease; }
    .slide.active .slide-bg { transform: scale(1); }
    .slide:nth-child(1) .slide-bg { background: linear-gradient(135deg, #1a2a35 0%, #2e6080 40%, #769FB9 100%); }
    .slide:nth-child(2) .slide-bg { background: linear-gradient(135deg, #2a1a20 0%, #6b3040 40%, #9b5060 100%); }
    .slide:nth-child(3) .slide-bg { background: linear-gradient(135deg, #1a2a20 0%, #2e5040 40%, #4a7a60 100%); }
    .slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,20,28,0.82) 0%, rgba(10,20,28,0.28) 60%, transparent 100%); }
    .slide-deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 580px; height: 580px; border: 1px solid rgba(232,200,122,0.15); border-radius: 50%; pointer-events: none; }
    .slide-deco::before { content: ''; position: absolute; inset: 40px; border: 1px solid rgba(232,200,122,0.1); border-radius: 50%; }
    .slide-content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0 80px 120px; z-index: 3; }
    .slide-inner { max-width: 620px; opacity: 0; transform: translateY(24px); transition: opacity 0.8s 0.5s ease, transform 0.8s 0.5s ease; }
    .slide.active .slide-inner { opacity: 1; transform: translateY(0); }
    .slide-cat {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--accent); color: var(--text-dark);
      font-size: 11px; font-weight: 700; letter-spacing: 0.14em; padding: 5px 14px; margin-bottom: 20px;
    }
    .slide-cat::before { content: ''; width: 16px; height: 1px; background: var(--text-dark); }
    .slide-title { font-size: clamp(26px, 4vw, 48px); font-weight: 800; color: var(--white); line-height: 1.35; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
    .slide-desc { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.8; margin-bottom: 28px; font-weight: 300; }
    .slide-read { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 6px; transition: border-color 0.3s, gap 0.3s; }
    .slide-read:hover { border-color: var(--accent); gap: 18px; }

    .slide-controls { position: absolute; bottom: 50px; right: 80px; display: flex; align-items: center; gap: 20px; z-index: 10; }
    .slide-dots { display: flex; gap: 8px; }
    .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; border: none; }
    .dot.active { background: var(--accent); transform: scale(1.3); }
    .slide-arrows { display: flex; gap: 8px; }
    .arrow-btn { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: var(--white); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; backdrop-filter: blur(6px); }
    .arrow-btn:hover { background: var(--accent); color: var(--text-dark); border-color: var(--accent); }
    .slide-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--accent); z-index: 10; animation: prog 5s linear infinite; }
    @keyframes prog { from { width: 0; } to { width: 100%; } }

    /* ─── COMMON ─── */
    .section { padding: 80px 40px; max-width: 1240px; margin: 0 auto; }
    .section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .section-label { font-family: var(--font-en); font-size: 10px; font-weight: 500; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 5px; display: block; }
    .section-title { font-family: var(--font-en); font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--white); line-height: 1.1; letter-spacing: 0.04em; }
    .section-sub { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.55); margin-top: 4px; display: block; }
    .view-all { display: flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; transition: gap 0.3s; white-space: nowrap; }
    .view-all:hover { gap: 14px; }

    /* ─── THUMBNAILS 16:9 ─── */
    .thumb-wrap { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
    .thumb-inner { width: 100%; height: 100%; transition: transform 0.6s ease; display: flex; align-items: center; justify-content: center; }
    a:hover .thumb-inner, .article-card:hover .thumb-inner { transform: scale(1.06); }
    .thumb-ghost { position: absolute; font-family: var(--font-en); font-size: 44px; font-weight: 900; color: rgba(255,255,255,0.08); letter-spacing: 0.1em; pointer-events: none; }

    .g1 { background: linear-gradient(135deg, #2e5070 0%, #769FB9 100%); }
    .g2 { background: linear-gradient(135deg, #503040 0%, #906070 100%); }
    .g3 { background: linear-gradient(135deg, #304020 0%, #608050 100%); }
    .g4 { background: linear-gradient(135deg, #403010 0%, #906030 100%); }
    .g5 { background: linear-gradient(135deg, #202040 0%, #504080 100%); }
    .g6 { background: linear-gradient(135deg, #103030 0%, #307060 100%); }
    .g7 { background: linear-gradient(135deg, #2a1a35 0%, #5a3870 100%); }
    .g8 { background: linear-gradient(135deg, #1a2a10 0%, #3a6030 100%); }

    /* ─── TAG / BADGE ─── */
    .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 10px; background: var(--bg); color: var(--white); }
    .new-badge { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); border: 1px solid var(--accent); padding: 2px 7px; }
    .art-date { font-size: 11px; color: #aaa; }
    .art-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

    /* ─── PICKUP SECTION ─── */
    .pickup-section { background: rgba(26,42,53,0.45); backdrop-filter: blur(6px); }
    .pickup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .pickup-card { background: var(--card-bg); overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; display: block; position: relative; }
    .pickup-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .pickup-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--accent); color: var(--text-dark); font-family: var(--font-en); font-size: 10px; font-weight: 900; letter-spacing: 0.16em; padding: 4px 12px; }
    .pickup-num { position: absolute; bottom: 16px; right: 16px; z-index: 2; font-family: var(--font-en); font-size: 52px; font-weight: 900; color: rgba(0,0,0,0.06); line-height: 1; pointer-events: none; }
    .pickup-body { padding: 20px 22px 26px; }
    .pickup-title { font-size: 16px; font-weight: 500; color: var(--text-dark); line-height: 1.65; margin-bottom: 10px; }
    .pickup-excerpt { font-size: 13px; color: #667; line-height: 1.75; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* ─── NEW ARTICLES ─── */
    .articles-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; }
    .article-card { background: var(--card-bg); overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
    .article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); z-index: 2; }
    .article-card.featured { grid-column: 1 / 4; display: grid; grid-template-columns: 1fr 1fr; }
    .article-card.featured .thumb-wrap { aspect-ratio: 16 / 9; height: auto; min-height: unset; align-self: stretch; }
    .article-card.featured .thumb-wrap .thumb-inner { height: 100%; }
    .art-body { padding: 22px 26px 26px; }
    .article-card.featured .art-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
    .article-card.featured .thumb-wrap { aspect-ratio: 16 / 9; height: auto; min-height: unset; }
    .art-title { font-size: 15px; font-weight: 500; color: var(--text-dark); line-height: 1.65; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .article-card.featured .art-title { font-size: 20px; font-weight: 600; }
    .art-excerpt { font-size: 13px; color: #667; line-height: 1.8; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* ─── CATEGORIES ─── */
    .categories-section { background: rgba(26,42,53,0.5); backdrop-filter: blur(8px); }
    .categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
    .cat-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); padding: 28px 16px; text-align: center; cursor: pointer; transition: all 0.3s; text-decoration: none; display: block; position: relative; overflow: hidden; }
    .cat-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: var(--accent); transition: height 0.3s; }
    .cat-card:hover::before { height: 3px; }
    .cat-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }
    .cat-icon { font-size: 28px; display: block; margin-bottom: 10px; transition: transform 0.3s; }
    .cat-card:hover .cat-icon { transform: scale(1.15); }
    .cat-name { font-size: 13px; color: var(--white); font-weight: 500; display: block; margin-bottom: 3px; }
    .cat-en { font-size: 10px; color: var(--accent); letter-spacing: 0.14em; display: block; margin-bottom: 8px; font-weight: 500; }
    .cat-count { font-size: 11px; color: rgba(255,255,255,0.5); }

    /* ─── CATEGORY ARTICLES (no tabs) ─── */
    .cat-block { margin-bottom: 64px; }
    .cat-block:last-child { margin-bottom: 0; }
    .cat-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid rgba(255,255,255,0.18); }
    .cat-block-info { display: flex; align-items: center; gap: 12px; }
    .cb-icon { font-size: 22px; }
    .cb-name { font-size: 18px; font-weight: 600; color: var(--white); }
    .cb-en { font-family: var(--font-en); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; color: var(--accent); display: block; margin-top: 1px; }
    .cat-arts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .cat-art-card { background: var(--card-bg); overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; display: block; }
    .cat-art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .cab { padding: 16px 18px 18px; }
    .cat-art-title { font-size: 14px; font-weight: 500; color: var(--text-dark); line-height: 1.65; margin-bottom: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .cab .art-meta { margin-bottom: 0; }

    /* ─── CTA ─── */
    .cta-section { background: var(--bg-deeper); position: relative; overflow: hidden; }
    .cta-deco { position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; border: 1px solid rgba(232,200,122,0.1); border-radius: 50%; pointer-events: none; }
    .cta-deco::before { content: ''; position: absolute; inset: 60px; border: 1px solid rgba(232,200,122,0.07); border-radius: 50%; }
    .cta-inner { max-width: 1240px; margin: 0 auto; padding: 80px 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; position: relative; z-index: 2; }
    .cta-eyebrow { font-family: var(--font-en); font-size: 10px; font-weight: 500; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
    .cta-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
    .cta-title { font-size: clamp(24px, 3.2vw, 40px); font-weight: 600; color: var(--white); line-height: 1.5; margin-bottom: 18px; }
    .cta-desc { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.85; font-weight: 300; max-width: 540px; }
    .cta-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
    .cta-feat { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.75); }
    .cta-feat-ico { width: 28px; height: 28px; background: rgba(232,200,122,0.15); border: 1px solid rgba(232,200,122,0.3); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
    .cta-btns { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex-shrink: 0; }
    .btn-primary { display: inline-flex; align-items: center; gap: 12px; background: var(--accent); color: var(--text-dark); text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: 0.1em; padding: 18px 36px; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
    .btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,164,74,0.35); }

    /* ─── FOOTER ─── */
    footer { background: var(--text-dark); color: rgba(255,255,255,0.7); }
    .footer-top { max-width: 1240px; margin: 0 auto; padding: 60px 40px 48px; display: grid; grid-template-columns: 260px 1fr 1fr; gap: 56px; }
    .footer-desc { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.8; margin-top: 14px; margin-bottom: 22px; font-weight: 300; }
    .social-links { display: flex; gap: 10px; }
    .social-link { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; transition: all 0.2s; }
    .social-link:hover { background: var(--accent); border-color: var(--accent); }
    .footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.1em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-links a { text-decoration: none; color: rgba(255,255,255,0.48); font-size: 13px; font-weight: 300; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
    .footer-links a::before { content: '—'; font-size: 10px; color: var(--accent); opacity: 0.55; }
    .footer-links a:hover { color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); max-width: 1240px; margin: 0 auto; padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }
    .footer-policy { display: flex; gap: 24px; }
    .footer-policy a { font-size: 12px; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
    .footer-policy a:hover { color: rgba(255,255,255,0.6); }

    /* ─── MOBILE MENU ─── */
    .mobile-menu { display: none; position: fixed; inset: 0; background: rgba(26,42,53,0.97); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { text-decoration: none; color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: 0.1em; transition: color 0.2s; }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }

    .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1100px) {
      .categories-grid { grid-template-columns: repeat(3, 1fr); }
      .cat-arts-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    }
    @media (max-width: 900px) {
      .articles-grid { grid-template-columns: 1fr 1fr; }
      .article-card.featured { grid-column: 1 / 3; display: block; }
      .article-card.featured .thumb-wrap { aspect-ratio: 16/9; height: auto; min-height: unset; }
      .pickup-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
      .cta-inner { grid-template-columns: 1fr; gap: 40px; }
    }
    @media (max-width: 768px) {
      .site-header { padding: 0 20px; }
      .header-nav { display: none; }
      .hamburger { display: flex; }
      .slide-content { padding: 0 24px 100px; }
      .slide-deco { display: none; }
      .slide-controls { right: 24px; bottom: 40px; }
      .section { padding: 60px 20px; }
      .section-header { flex-direction: column; align-items: flex-start; gap: 14px; }
      .articles-grid { grid-template-columns: 1fr; }
      .article-card.featured { grid-column: 1; display: block; }
      .article-card.featured .thumb-wrap { aspect-ratio: 16/9; height: auto; min-height: unset; }
      .pickup-grid { grid-template-columns: 1fr; }
      .categories-grid { grid-template-columns: repeat(2, 1fr); }
      .cat-arts-grid { grid-template-columns: 1fr 1fr; }
      .cat-block-head { flex-direction: column; align-items: flex-start; gap: 10px; }
      .cta-inner { padding: 60px 20px; }
      .cta-stats { gap: 24px; }
      .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 36px; }
      .footer-bottom { flex-direction: column; gap: 12px; padding: 20px; text-align: center; }
    }
    @media (max-width: 480px) {
      .cat-arts-grid { grid-template-columns: 1fr; }
      .cta-stats { flex-wrap: wrap; gap: 20px; }
    }

/* === LIST PAGE === */


    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--text-dark); font-family: var(--font-jp); line-height: 1.7; overflow-x: hidden; }

    /* ─── HEADER ─── */
    .site-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 68px;
      background: rgba(26,42,53,0.94);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(232,200,122,0.22);
    }
    .logo { display: block; text-decoration: none; flex-shrink: 0; }
    .logo-img {
      display: flex; align-items: center; justify-content: center;
      width: 172px; height: 40px;
      background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 100%);
      position: relative; overflow: hidden;
    }
    .logo-img::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(-45deg, transparent, transparent 6px, rgba(255,255,255,0.06) 6px, rgba(255,255,255,0.06) 7px);
    }
    .logo-img span { font-size: 16px; font-weight: 900; letter-spacing: 0.12em; color: var(--text-dark); position: relative; z-index: 1; }

    .header-nav { display: flex; align-items: center; gap: 28px; }
    .header-nav a {
      text-decoration: none; color: rgba(255,255,255,0.8);
      font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
      transition: color 0.2s; position: relative;
    }
    .header-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 100%; height: 1px; background: var(--accent); transition: right 0.3s ease; }
    .header-nav a:hover { color: var(--accent); }
    .header-nav a:hover::after { right: 0; }
    .header-nav a.active { color: var(--accent); }
    .header-nav a.active::after { right: 0; }
    .header-cta {
      background: var(--accent) !important; color: var(--text-dark) !important;
      padding: 8px 18px !important; font-weight: 700 !important; font-size: 12px !important;
      letter-spacing: 0.08em; transition: background 0.2s, transform 0.2s !important; white-space: nowrap;
    }
    .header-cta:hover { background: var(--accent-deep) !important; transform: translateY(-1px); }
    .header-cta::after { display: none !important; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

    /* ─── MOBILE MENU ─── */
    .mobile-menu { display: none; position: fixed; inset: 0; background: rgba(26,42,53,0.97); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { text-decoration: none; color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: 0.1em; transition: color 0.2s; }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }

    /* ─── PAGE HEADER ─── */
    .page-header {
      margin-top: 68px;
      background: rgba(26,42,53,0.55);
      backdrop-filter: blur(8px);
      padding: 48px 40px 40px;
    }
    .page-header-inner {
      max-width: 1120px;
      margin: 0 auto;
    }
    .page-header-en {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.24em;
      color: var(--accent);
      margin-bottom: 8px;
      display: block;
    }
    .page-header-title {
      font-size: clamp(24px, 3vw, 36px);
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 12px;
    }
    .page-header-desc {
      font-size: 13px;
      color: rgba(255,255,255,0.55);
      font-weight: 300;
      max-width: 560px;
      line-height: 1.8;
    }

    /* ─── BREADCRUMB ─── */
    .breadcrumb-wrap {
      background: rgba(26,42,53,0.3);
      padding: 12px 40px;
    }
    .breadcrumb {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: rgba(255,255,255,0.5);
    }
    .breadcrumb a { text-decoration: none; color: rgba(255,255,255,0.5); transition: color 0.2s; }
    .breadcrumb a:hover { color: var(--accent); }
    .breadcrumb-sep { font-size: 10px; color: rgba(255,255,255,0.28); }
    .breadcrumb-current { color: rgba(255,255,255,0.75); }

    /* ─── CATEGORY NAV TABS ─── */
    .cat-nav-wrap {
      background: rgba(26,42,53,0.4);
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .cat-nav {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 40px;
      display: flex;
      align-items: center;
      gap: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .cat-nav::-webkit-scrollbar { display: none; }
    .cat-nav-item {
      text-decoration: none;
      color: rgba(255,255,255,0.5);
      font-size: 13px;
      font-weight: 500;
      padding: 14px 20px;
      white-space: nowrap;
      border-bottom: 3px solid transparent;
      margin-bottom: -1px;
      transition: color 0.2s, border-color 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .cat-nav-item:hover { color: rgba(255,255,255,0.85); }
    .cat-nav-item.active { color: var(--accent); border-bottom-color: var(--accent); }
    .cat-nav-count {
      font-size: 10px;
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.4);
      padding: 1px 6px;
      border-radius: 20px;
    }
    .cat-nav-item.active .cat-nav-count { background: rgba(232,200,122,0.2); color: var(--accent); }

    /* ─── MAIN LAYOUT ─── */
    .list-wrap {
      max-width: 1120px;
      margin: 0 auto;
      padding: 48px 40px 80px;
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 48px;
      align-items: start;
    }

    /* ─── FILTER / SORT BAR ─── */
    .filter-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 28px;
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(255,255,255,0.15);
      flex-wrap: wrap;
      gap: 12px;
    }
    .filter-count {
      font-size: 13px;
      color: rgba(255,255,255,0.65);
      font-weight: 300;
    }
    .filter-count strong {
      color: var(--white);
      font-weight: 700;
    }
    .sort-select {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.18);
      color: rgba(255,255,255,0.75);
      font-size: 12px;
      font-family: var(--font-jp);
      padding: 7px 14px;
      cursor: pointer;
      outline: none;
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 10px center;
      padding-right: 30px;
    }
    .sort-select option { background: var(--bg-deeper); }

    /* ─── ARTICLE LIST ─── */
    .article-list { display: flex; flex-direction: column; gap: 2px; }

    /* Standard list card */
    .list-card {
      background: var(--card-bg);
      display: flex;
      text-decoration: none;
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); z-index: 2; }

    .list-thumb {
      width: 220px;
      flex-shrink: 0;
      aspect-ratio: 16 / 9;
      overflow: hidden;
    }
    .list-thumb-inner {
      width: 100%; height: 100%;
      transition: transform 0.6s;
    }
    .list-card:hover .list-thumb-inner { transform: scale(1.05); }

    .list-body {
      padding: 22px 28px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .list-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .tag {
      font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
      padding: 3px 10px; background: var(--bg-deeper); color: var(--white);
    }
    .new-badge {
      font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
      color: var(--accent); border: 1px solid var(--accent); padding: 2px 7px;
    }
    .art-date { font-size: 11px; color: #aaa; }

    .list-title {
      font-size: 16px;
      font-weight: 500;
      color: var(--text-dark);
      line-height: 1.65;
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    /* ─── PAGINATION ─── */
    .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-top: 40px;
    }
    .page-btn {
      width: 40px; height: 40px;
      display: flex; align-items: center; justify-content: center;
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.7);
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.15);
      transition: all 0.2s;
    }
    .page-btn:hover { background: rgba(255,255,255,0.2); color: var(--white); }
    .page-btn.active { background: var(--accent); color: var(--text-dark); border-color: var(--accent); font-weight: 700; }
    .page-btn.arrow { font-size: 16px; }
    .page-btn.disabled { opacity: 0.3; pointer-events: none; }

    /* ─── SIDEBAR ─── */
    .sidebar {
      position: sticky;
      top: 88px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .sidebar-widget { background: var(--card-bg); overflow: hidden; }
    .widget-title {
      background: var(--bg-deeper);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .widget-title::before { content: ''; width: 3px; height: 14px; background: var(--accent); }

    /* Search */
    .search-box {
      padding: 16px;
      display: flex;
      gap: 0;
    }
    .search-input {
      flex: 1;
      border: 1px solid rgba(118,159,185,0.35);
      border-right: none;
      padding: 9px 14px;
      font-size: 13px;
      font-family: var(--font-jp);
      color: var(--text-dark);
      outline: none;
      background: #fff;
    }
    .search-input::placeholder { color: #bbb; }
    .search-btn {
      width: 40px;
      background: var(--bg-dark);
      border: 1px solid var(--bg-dark);
      color: var(--white);
      font-size: 15px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .search-btn:hover { background: var(--bg-deeper); }

    /* Category list */
    .cat-list { padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; }
    .cat-list-item {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 0; text-decoration: none; color: var(--text-mid);
      font-size: 13px; border-bottom: 1px solid rgba(118,159,185,0.12);
      transition: color 0.2s;
    }
    .cat-list-item:last-child { border-bottom: none; }
    .cat-list-item:hover { color: var(--bg-dark); }
    .cat-list-item.active { color: var(--bg-dark); font-weight: 700; }
    .cat-left { display: flex; align-items: center; gap: 8px; }
    .cat-ico { font-size: 16px; }
    .cat-cnt { font-size: 11px; color: #bbb; }

    /* Popular */
    .popular-list { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
    .popular-card {
      display: flex; gap: 12px; align-items: flex-start;
      padding: 10px; text-decoration: none; transition: background 0.2s;
    }
    .popular-card:hover { background: rgba(118,159,185,0.08); }
    .popular-num {
      font-size: 18px; font-weight: 900; color: rgba(118,159,185,0.3);
      line-height: 1; flex-shrink: 0; min-width: 24px; margin-top: 2px;
    }
    .popular-card:nth-child(1) .popular-num { color: var(--accent); }
    .popular-card:nth-child(2) .popular-num { color: rgba(232,200,122,0.6); }
    .popular-thumb {
      width: 68px; aspect-ratio: 16/9; flex-shrink: 0; overflow: hidden;
    }
    .popular-thumb-inner { width: 100%; height: 100%; }
    .popular-title {
      font-size: 12px; font-weight: 500; color: var(--text-dark);
      line-height: 1.6;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }

    /* Banner slots */
    .banner-slot {
      display: block; width: 100%; text-decoration: none; transition: opacity 0.2s;
    }
    .banner-slot:hover { opacity: 0.85; }
    .banner-placeholder {
      width: 100%; aspect-ratio: 300/169;
      background: rgba(255,255,255,0.07);
      border: 2px dashed rgba(255,255,255,0.22);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 6px;
    }
    .banner-size { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; }
    .banner-label { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; color: rgba(255,255,255,0.22); }

    /* Gradient palettes */
    .g1 { background: linear-gradient(135deg, #2e5070 0%, #769FB9 100%); }
    .g2 { background: linear-gradient(135deg, #503040 0%, #906070 100%); }
    .g3 { background: linear-gradient(135deg, #304020 0%, #608050 100%); }
    .g4 { background: linear-gradient(135deg, #403010 0%, #906030 100%); }
    .g5 { background: linear-gradient(135deg, #202040 0%, #504080 100%); }
    .g6 { background: linear-gradient(135deg, #103030 0%, #307060 100%); }
    .g7 { background: linear-gradient(135deg, #2a1a35 0%, #5a3870 100%); }
    .g8 { background: linear-gradient(135deg, #1a2a10 0%, #3a6030 100%); }

    /* ─── FOOTER ─── */
    footer { background: var(--text-dark); color: rgba(255,255,255,0.7); }
    .footer-top { max-width: 1240px; margin: 0 auto; padding: 60px 40px 48px; display: grid; grid-template-columns: 260px 1fr 1fr; gap: 56px; }
    .footer-desc { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.8; margin-top: 14px; margin-bottom: 22px; font-weight: 300; }
    .social-links { display: flex; gap: 10px; }
    .social-link { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; transition: all 0.2s; }
    .social-link:hover { background: var(--accent); border-color: var(--accent); }
    .footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.1em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-links a { text-decoration: none; color: rgba(255,255,255,0.48); font-size: 13px; font-weight: 300; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
    .footer-links a::before { content: '—'; font-size: 10px; color: var(--accent); opacity: 0.55; }
    .footer-links a:hover { color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); max-width: 1240px; margin: 0 auto; padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }
    .footer-policy { display: flex; gap: 24px; }
    .footer-policy a { font-size: 12px; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
    .footer-policy a:hover { color: rgba(255,255,255,0.6); }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1000px) {
      .list-wrap { grid-template-columns: 1fr; gap: 36px; }
      .sidebar { position: static; }
    }
    @media (max-width: 768px) {
      .site-header { padding: 0 20px; }
      .header-nav { display: none; }
      .hamburger { display: flex; }
      .page-header { padding: 36px 20px 28px; }
      .breadcrumb-wrap { padding: 12px 20px; }
      .cat-nav { padding: 0 20px; }
      .list-wrap { padding: 32px 20px 60px; }
      .list-thumb { width: 140px; }
      .list-body { padding: 16px 18px; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 20px 32px; }
      .footer-bottom { flex-direction: column; gap: 12px; padding: 20px; text-align: center; }
    }
    @media (max-width: 480px) {
      .list-card { flex-direction: column; }
      .list-thumb { width: 100%; aspect-ratio: 16 / 9; }
      .footer-top { grid-template-columns: 1fr; }
    }

/* === ARTICLE PAGE === */


    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--text-dark); font-family: var(--font-jp); line-height: 1.7; overflow-x: hidden; }

    /* ─── HEADER ─── */
    .site-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 68px;
      background: rgba(26,42,53,0.94);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(232,200,122,0.22);
    }
    .logo { display: block; text-decoration: none; flex-shrink: 0; }
    .logo-img {
      display: flex; align-items: center; justify-content: center;
      width: 172px; height: 40px;
      background: linear-gradient(90deg, var(--accent-deep) 0%, var(--accent) 100%);
      position: relative; overflow: hidden;
    }
    .logo-img::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(-45deg, transparent, transparent 6px, rgba(255,255,255,0.06) 6px, rgba(255,255,255,0.06) 7px);
    }
    .logo-img span { font-size: 16px; font-weight: 900; letter-spacing: 0.12em; color: var(--text-dark); position: relative; z-index: 1; }

    .header-nav { display: flex; align-items: center; gap: 28px; }
    .header-nav a {
      text-decoration: none; color: rgba(255,255,255,0.8);
      font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
      transition: color 0.2s; position: relative;
    }
    .header-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 100%; height: 1px; background: var(--accent); transition: right 0.3s ease; }
    .header-nav a:hover { color: var(--accent); }
    .header-nav a:hover::after { right: 0; }
    .header-cta {
      background: var(--accent) !important; color: var(--text-dark) !important;
      padding: 8px 18px !important; font-weight: 700 !important; font-size: 12px !important;
      letter-spacing: 0.08em; transition: background 0.2s, transform 0.2s !important; white-space: nowrap;
    }
    .header-cta:hover { background: var(--accent-deep) !important; transform: translateY(-1px); }
    .header-cta::after { display: none !important; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

    /* ─── MOBILE MENU ─── */
    .mobile-menu { display: none; position: fixed; inset: 0; background: rgba(26,42,53,0.97); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { text-decoration: none; color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: 0.1em; transition: color 0.2s; }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }

    /* ─── HERO EYECATCH ─── */
    .article-hero {
      margin-top: 68px;
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
    }
    .article-hero-bg {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, #2e5070 0%, #4e7a96 50%, #769FB9 100%);
    }
    .article-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(10,20,28,0.75) 0%, rgba(10,20,28,0.2) 60%, transparent 100%);
    }
    .article-hero-content {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 40px 60px;
      max-width: 1000px;
    }
    .hero-cat-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--accent); color: var(--text-dark);
      font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
      padding: 5px 14px; margin-bottom: 16px;
    }
    .hero-cat-badge::before { content: ''; width: 12px; height: 1px; background: var(--text-dark); }
    .article-hero-title {
      font-size: clamp(22px, 3.5vw, 40px);
      font-weight: 700;
      color: var(--white);
      line-height: 1.45;
      text-shadow: 0 2px 16px rgba(0,0,0,0.35);
    }

    /* ─── BREADCRUMB ─── */
    .breadcrumb-wrap {
      background: rgba(26,42,53,0.35);
      padding: 12px 60px;
    }
    .breadcrumb {
      max-width: 1000px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: rgba(255,255,255,0.55);
    }
    .breadcrumb a { text-decoration: none; color: rgba(255,255,255,0.55); transition: color 0.2s; }
    .breadcrumb a:hover { color: var(--accent); }
    .breadcrumb-sep { font-size: 10px; color: rgba(255,255,255,0.3); }
    .breadcrumb-current { color: rgba(255,255,255,0.8); }

    /* ─── LAYOUT ─── */
    .article-wrap {
      max-width: 1120px;
      margin: 0 auto;
      padding: 48px 40px 80px;
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 48px;
      align-items: start;
    }

    /* ─── ARTICLE MAIN ─── */
    .article-main {}

    /* Article meta bar */
    .article-meta-bar {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      flex-wrap: wrap;
    }
    .tag {
      font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
      padding: 4px 12px; background: var(--bg-deeper); color: var(--white);
    }
    .art-date { font-size: 12px; color: rgba(255,255,255,0.65); }
    .art-update { font-size: 12px; color: rgba(255,255,255,0.45); }
    .meta-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

    /* Article body */
    .article-body {
      background: var(--card-bg);
      padding: 40px 48px;
    }

    .article-body p {
      font-size: 15px;
      line-height: 2;
      color: #2a3a45;
      font-weight: 400;
      margin-bottom: 24px;
    }

    .article-body h2 {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.5;
      margin: 48px 0 20px;
      padding: 16px 20px;
      background: rgba(118,159,185,0.12);
      border-left: 4px solid var(--bg-dark);
      position: relative;
    }

    .article-body h3 {
      font-size: 17px;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.5;
      margin: 36px 0 16px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--bg-light, #a0bfd4);
    }

    .article-body ul, .article-body ol {
      padding-left: 1.6em;
      margin-bottom: 24px;
    }
    .article-body li {
      font-size: 15px;
      line-height: 1.9;
      color: #2a3a45;
      margin-bottom: 6px;
    }

    .article-body strong {
      font-weight: 700;
      color: var(--text-dark);
    }

    /* Callout / 注意ボックス */
    .callout {
      background: rgba(118,159,185,0.1);
      border: 1px solid rgba(118,159,185,0.35);
      border-left: 4px solid var(--bg-dark);
      padding: 20px 24px;
      margin: 32px 0;
      font-size: 14px;
      line-height: 1.85;
      color: var(--text-mid);
    }
    .callout-title {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--bg-dark);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .callout.warning {
      background: rgba(232,200,122,0.1);
      border-color: rgba(232,200,122,0.4);
      border-left-color: var(--accent-deep);
    }
    .callout.warning .callout-title { color: var(--accent-deep); }

    /* Table */
    .article-table-wrap {
      overflow-x: auto;
      margin: 32px 0;
    }
    .article-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }
    .article-table th {
      background: var(--bg-deeper);
      color: var(--white);
      padding: 12px 16px;
      text-align: left;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.04em;
    }
    .article-table td {
      padding: 12px 16px;
      border-bottom: 1px solid rgba(118,159,185,0.2);
      color: #2a3a45;
      line-height: 1.7;
    }
    .article-table tr:nth-child(even) td { background: rgba(118,159,185,0.06); }
    .article-table tr:hover td { background: rgba(118,159,185,0.12); }

    /* Article footer meta */
    .article-footer-meta {
      margin-top: 48px;
      padding-top: 28px;
      border-top: 1px solid rgba(118,159,185,0.25);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .article-tags {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .article-tag-label { font-size: 12px; color: #888; }
    .article-tag {
      font-size: 11px;
      color: var(--bg-darker, #3a5f76);
      border: 1px solid rgba(118,159,185,0.5);
      padding: 3px 10px;
      text-decoration: none;
      transition: all 0.2s;
    }
    .article-tag:hover { background: var(--bg); color: var(--white); border-color: var(--bg); }

    /* CTA inline */
    .article-cta {
      background: var(--bg-deeper);
      padding: 32px 36px;
      margin: 40px 0;
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .article-cta-text h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 6px;
      line-height: 1.5;
    }
    .article-cta-text p {
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      margin: 0;
      font-weight: 300;
    }
    .article-cta-btn {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent);
      color: var(--text-dark);
      text-decoration: none;
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.08em;
      padding: 14px 28px;
      transition: background 0.2s, transform 0.2s;
      white-space: nowrap;
    }
    .article-cta-btn:hover { background: var(--accent-deep); transform: translateY(-2px); }

    /* ─── PREV / NEXT ─── */
    .article-nav {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      margin-top: 40px;
    }
    .article-nav-card {
      background: var(--card-bg);
      padding: 20px 24px;
      text-decoration: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: background 0.2s;
    }
    .article-nav-card:hover { background: rgba(255,255,255,0.98); }
    .article-nav-card.next { text-align: right; }
    .nav-direction {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.16em;
      color: var(--bg-dark);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .article-nav-card.next .nav-direction { justify-content: flex-end; }
    .nav-title {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-dark);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .nav-cat { font-size: 11px; color: #aaa; }

    /* ─── SIDEBAR ─── */
    .sidebar {
      position: sticky;
      top: 88px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .sidebar-widget {
      background: var(--card-bg);
      overflow: hidden;
    }
    .widget-title {
      background: var(--bg-deeper);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .widget-title::before { content: ''; width: 3px; height: 14px; background: var(--accent); }

    /* TOC */
    .toc-list {
      list-style: none;
      padding: 18px;
    }
    .toc-item {
      border-bottom: 1px solid rgba(118,159,185,0.15);
    }
    .toc-item:last-child { border-bottom: none; }
    .toc-link {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 10px 0;
      text-decoration: none;
      color: var(--text-mid);
      font-size: 13px;
      font-weight: 400;
      line-height: 1.6;
      transition: color 0.2s;
    }
    .toc-link:hover { color: var(--bg-dark); }
    .toc-num {
      font-size: 10px;
      font-weight: 700;
      color: var(--accent-deep);
      background: rgba(232,200,122,0.15);
      padding: 2px 6px;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .toc-item.sub .toc-link { padding-left: 16px; font-size: 12px; color: #888; }
    .toc-item.sub .toc-num { display: none; }
    .toc-item.sub .toc-link::before { content: '└'; font-size: 11px; color: #ccc; flex-shrink: 0; }

    /* Related articles */
    .related-list { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
    .related-card {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 10px;
      text-decoration: none;
      transition: background 0.2s;
    }
    .related-card:hover { background: rgba(118,159,185,0.08); }
    .related-thumb {
      width: 72px;
      aspect-ratio: 16/9;
      flex-shrink: 0;
      overflow: hidden;
    }
    .related-thumb-inner {
      width: 100%; height: 100%;
    }
    .related-info {}
    .related-title {
      font-size: 12px;
      font-weight: 500;
      color: var(--text-dark);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 4px;
    }
    .related-date { font-size: 10px; color: #aaa; }

    /* Category sidebar */
    .cat-list { padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; }
    .cat-list-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 0;
      text-decoration: none;
      color: var(--text-mid);
      font-size: 13px;
      border-bottom: 1px solid rgba(118,159,185,0.12);
      transition: color 0.2s;
    }
    .cat-list-item:last-child { border-bottom: none; }
    .cat-list-item:hover { color: var(--bg-dark); }
    .cat-list-left { display: flex; align-items: center; gap: 8px; }
    .cat-list-icon { font-size: 16px; }
    .cat-list-count { font-size: 11px; color: #bbb; }

    /* Gradient palettes */
    .g1 { background: linear-gradient(135deg, #2e5070 0%, #769FB9 100%); }
    .g2 { background: linear-gradient(135deg, #503040 0%, #906070 100%); }
    .g3 { background: linear-gradient(135deg, #304020 0%, #608050 100%); }
    .g4 { background: linear-gradient(135deg, #403010 0%, #906030 100%); }
    .g5 { background: linear-gradient(135deg, #202040 0%, #504080 100%); }
    .g6 { background: linear-gradient(135deg, #103030 0%, #307060 100%); }
    .g7 { background: linear-gradient(135deg, #2a1a35 0%, #5a3870 100%); }
    .g8 { background: linear-gradient(135deg, #1a2a10 0%, #3a6030 100%); }

    /* Banner slots */
    .banner-slot {
      display: block;
      width: 300px;
      height: 169px;
      text-decoration: none;
      flex-shrink: 0;
      transition: opacity 0.2s;
    }
    .banner-slot:hover { opacity: 0.85; }
    .banner-placeholder {
      width: 100%; height: 100%;
      background: rgba(255,255,255,0.07);
      border: 2px dashed rgba(255,255,255,0.25);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
    .banner-size {
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.06em;
    }
    .banner-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.22em;
      color: rgba(255,255,255,0.25);
    }

    /* ─── FOOTER ─── */
    footer { background: var(--text-dark); color: rgba(255,255,255,0.7); }
    .footer-top { max-width: 1240px; margin: 0 auto; padding: 60px 40px 48px; display: grid; grid-template-columns: 260px 1fr 1fr; gap: 56px; }
    .footer-desc { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.8; margin-top: 14px; margin-bottom: 22px; font-weight: 300; }
    .social-links { display: flex; gap: 10px; }
    .social-link { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; transition: all 0.2s; }
    .social-link:hover { background: var(--accent); border-color: var(--accent); }
    .footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.1em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-links a { text-decoration: none; color: rgba(255,255,255,0.48); font-size: 13px; font-weight: 300; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
    .footer-links a::before { content: '—'; font-size: 10px; color: var(--accent); opacity: 0.55; }
    .footer-links a:hover { color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); max-width: 1240px; margin: 0 auto; padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }
    .footer-policy { display: flex; gap: 24px; }
    .footer-policy a { font-size: 12px; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
    .footer-policy a:hover { color: rgba(255,255,255,0.6); }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {
      .article-wrap { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px 60px; }
      .sidebar { position: static; }
      .article-hero-content { padding: 28px 24px; }
      .breadcrumb-wrap { padding: 12px 24px; }
      .article-body { padding: 28px 24px; }
      .article-cta { flex-direction: column; gap: 20px; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 768px) {
      .site-header { padding: 0 20px; }
      .header-nav { display: none; }
      .hamburger { display: flex; }
      .article-hero { aspect-ratio: 16/7; }
      .article-nav { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 32px; }
      .footer-bottom { flex-direction: column; gap: 12px; padding: 20px; text-align: center; }
    }