/* ─── LIST PAGE ─── */
.cat-hero {
  background: #fff;
  border-top: 1px solid var(--cat);
  border-bottom: 1px solid var(--border);
  padding: var(--section-gap) 0 24px;
}
.cat-hero::before {
  display: none;
}
.cat-hero-inner {
  position: relative;
  z-index: 1;
}
.cat-hero h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--navy) 75%, black);
}
.cat-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}
.cat-banner {
  display: none;
}
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}
.filter-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.month-select {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--muted);
  border: none;
  padding: 5px 10px;
}
.month-select svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
}
.month-arc-desk {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 4px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.month-arc-desk::-webkit-scrollbar {
  display: none;
}
.m-pill {
  flex-shrink: 0;
  padding: 3px 10px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.m-pill:hover:not(.active) {
  background: var(--bg2);
}
.m-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.mobile-filter-bar {
  display: none;
}
.month-arc {
  display: none;
}
.feat-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.feat-big {
  display: contents;
}
.feat-big .feat-img {
  width: 520px;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 2px;
  overflow: hidden;
}
.feat-big .feat-img .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feat-big .feat-body {
  flex: 1;
  padding-top: 4px;
}
.feat-cat-tag {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--earth-yellow-dark);
}
.feat-big .feat-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 14px;
  transition: color 0.2s;
}
.feat-big .feat-title:hover {
  color: #972018;
}
.feat-big .feat-excerpt {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-big .feat-meta {
  font-size: 14px;
  color: var(--muted);
}
.feat-wrap-mob {
  display: none;
}
.about-wrap {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.list-feat-row .about-wrap {
  margin: 0;
}
.about-head {
  background: var(--red);
  color: #fff;
  padding: 14px 16px;
  border-left: 1px solid var(--cat);
}
.about-head h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
}
.about-body {
  padding: 14px 16px;
  background: #f2ebe4;
}
.about-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.sb-about {
  background: transparent;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  padding: 0;
  margin-bottom: 8px;
}
.sb-about-title {
  display: block;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  border-left: 1px solid var(--cat);
  margin: 0;
}
.sb-about-sep {
  display: inline;
  font-weight: 700;
  margin: 0 0.12em;
  color: rgba(255, 255, 255, 0.55);
}
.sb-about-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  background: #f2ebe4;
  padding: 14px 16px;
  margin: 0;
}
.list-cover-ad-pc {
  width: 300px;
  height: 250px;
}

/* List page: feat row + main / sidebar row */
.body-grid--list-feat {
  grid-template-rows: auto 1fr;
}
.body-grid--list-feat > .list-feat-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
/* List 頁：「更多文章」標題下方不要線段（緊接 art-list） */
.body-grid--list-feat main > .sec-hd {
  border-bottom: none;
}
.body-grid--list-feat > main {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
.body-grid--list-feat > .sidebar {
  grid-column: 2;
  grid-row: 2;
}
.body-grid--list-feat > .sidebar > .sb-block:first-child {
  margin-top: 0;
}
.body-grid--list-feat .list-feat-row .sb-block--feat-pair {
  margin-top: 0;
  margin-bottom: 0;
}
.body-grid--list-feat .feat-top {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.body-grid--list-feat .feat-big .feat-img {
  width: 500px;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  height: auto;
}
.body-grid--list-feat .feat-big .feat-body {
  min-width: 0;
  max-width: 320px;
  flex: 0 1 auto;
}
.body-grid--list-feat .feat-big .feat-excerpt {
  -webkit-line-clamp: 3;
}
.list-ad-mb {
  width: 300px;
  height: 250px;
  margin: 0 auto;
  display: none;
}
.list-top-ad-pc {
  width: 970px;
  height: 250px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .list-cover-ad-pc {
    display: none;
  }
  .list-top-ad-pc {
    display: none;
  }
  .body-grid--list-feat > .list-feat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* List mobile */
  .cat-hero {
    display: none;
  }
  .cat-banner {
    display: block;
    background: #fff;
    padding: 44px 16px 32px;
    margin-top: 0;
    border-top: none;
    border-bottom: 1px solid var(--border);
  }
  .cat-badge {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cat);
    border: 1px solid var(--cat);
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 0;
  }
  .feat-top {
    display: none;
  }
  .feat-wrap-mob {
    display: block;
    margin-bottom: 16px;
  }
  .feat-wrap-mob .feat-img-mob {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
  }
  .feat-wrap-mob .feat-card {
    padding: 18px 16px 22px;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .feat-wrap-mob .feat-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cat);
    margin-bottom: 8px;
  }
  .feat-wrap-mob .feat-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 8px;
    color: var(--text);
  }
  .feat-wrap-mob .feat-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .feat-wrap-mob .feat-meta {
    font-size: 14px;
    color: var(--muted);
  }
  .filter-bar {
    position: static;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    background: #fff;
  }
  .filter-inner {
    display: none;
  }
  .mobile-filter-bar {
    display: flex;
    align-items: center;
    padding: 26px 16px 14px;
    border-bottom: none;
    background: transparent;
  }
  .month-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 5px 9px;
    border-radius: 2px;
  }
  .month-btn svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
  }
  .month-arc {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 16px 18px;
    background: transparent;
    border-bottom: none;
    scrollbar-width: none;
  }
  .month-arc::-webkit-scrollbar {
    display: none;
  }
  .month-pill {
    flex-shrink: 0;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
    transition:
      background 0.2s,
      border-color 0.2s,
      color 0.2s;
  }
  .month-pill:hover:not(.active) {
    background: var(--bg2);
  }
  .month-pill.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }
  .body-grid--list-feat > .list-feat-row {
    display: none;
  }
}
@media (max-width: 576px) {
  .list-ad-mb {
    display: block;
  }
}
