.thoughts-index-page { background: #faf6ed; }
.thoughts-index-page .thoughts-hero { min-height: clamp(560px, 64vw, 780px); }

.thoughts-view-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(760px, calc(100% - 40px)); margin: -1px auto 0; border-inline: 1px solid rgba(174,139,83,.24); background: rgba(253,249,241,.96); position: relative; z-index: 2; }
.thoughts-view-nav a { display: flex; min-height: 78px; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border-right: 1px solid rgba(174,139,83,.24); color: #79694f; text-decoration: none; letter-spacing: .08em; }
.thoughts-view-nav a:last-child { border-right: 0; }
.thoughts-view-nav small { color: #aa8d5c; font-family: var(--font-en-serif); font-style: italic; letter-spacing: .02em; }
.thoughts-view-nav a:hover, .thoughts-view-nav a.is-active { background: #fffdf8; color: #92713d; }
.thoughts-view-nav a.is-active { box-shadow: inset 0 -2px #b89961; }

.thoughts-index-featured { padding-top: 82px; }
.thoughts-latest { padding: 96px 0 110px; background: linear-gradient(180deg, #fbf8f1, #f7f0e4); border-top: 1px solid rgba(174,139,83,.14); }
.thoughts-volume-nav { display: flex; justify-content: center; margin-top: 46px; border-block: 1px solid rgba(174,139,83,.24); overflow-x: auto; scrollbar-width: none; }
.thoughts-volume-nav::-webkit-scrollbar { display: none; }
.thoughts-volume-nav button { min-width: 140px; height: 64px; padding: 0 22px; border: 0; border-right: 1px solid rgba(174,139,83,.2); background: transparent; color: #786b58; font: inherit; letter-spacing: .08em; cursor: pointer; white-space: nowrap; }
.thoughts-volume-nav button:first-child { border-left: 1px solid rgba(174,139,83,.2); }
.thoughts-volume-nav button:hover, .thoughts-volume-nav button.is-active { color: #95713d; background: rgba(255,255,255,.55); }
.thoughts-volume-nav button.is-active { box-shadow: inset 0 -2px #b5965e; }
.thoughts-more-toggle span { display: inline-block; margin-left: 5px; transition: transform .25s ease; }
.thoughts-more-toggle[aria-expanded="true"] span { transform: rotate(45deg); }

.thoughts-more-filters { display: grid; grid-template-columns: 1.2fr 1fr 1.15fr .75fr; gap: 28px; padding: 30px 32px 25px; border: 1px solid rgba(174,139,83,.23); border-top: 0; background: rgba(255,253,248,.7); }
.thoughts-more-filters[hidden] { display: none; }
.thoughts-more-filters fieldset { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 15px; min-width: 0; padding: 0; border: 0; }
.thoughts-more-filters legend { width: 100%; margin-bottom: 9px; color: #7d6847; font-size: 15px; letter-spacing: .12em; }
.thoughts-more-filters legend small { margin-left: 5px; color: #b0a28d; font-size: 11px; letter-spacing: .04em; }
.thoughts-more-filters label { color: #756b5c; font-size: 13px; white-space: nowrap; cursor: pointer; }
.thoughts-more-filters input { accent-color: #8d9673; }
.thoughts-more-filters .is-pending { opacity: .55; }
.thoughts-filter-reset { grid-column: 1 / -1; justify-self: end; padding: 8px 14px; border: 1px solid rgba(174,139,83,.24); background: transparent; color: #8b734d; font: inherit; cursor: pointer; }
.thoughts-year-options { display: flex; flex-wrap: wrap; gap: 10px 15px; }

.thoughts-results-bar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 6px; border-bottom: 1px solid rgba(174,139,83,.24); color: #91816a; font-size: 14px; }
.thoughts-results-bar p { margin: 0; }
.thoughts-results-bar a { color: #8c7148; text-decoration: none; }

.thoughts-article-feed { border-bottom: 1px solid rgba(174,139,83,.24); }
.thoughts-feed-year { display: grid; grid-template-columns: 155px 1fr 26px; align-items: baseline; gap: 28px; min-height: 92px; padding: 30px 12px 18px; border-bottom: 1px solid rgba(174,139,83,.18); color: #a48858; font-family: var(--font-en-serif); font-size: 27px; font-weight: 500; letter-spacing: .04em; }
.thoughts-feed-item { display: grid; grid-template-columns: 112px 132px 1fr 26px; align-items: center; gap: 26px; min-height: 132px; padding: 24px 12px; border-bottom: 1px solid rgba(174,139,83,.18); }
.thoughts-feed-item:last-child { border-bottom: 0; }
.thoughts-feed-media { display: block; width: 112px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: #e9dfcc; box-shadow: 0 5px 16px rgba(91,72,42,.09); }
.thoughts-feed-media img, .thoughts-feed-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.thoughts-feed-fallback { background-size: cover; background-position: center; }
.thoughts-feed-date { color: #a28e6e; font-family: var(--font-en-serif); font-size: 14px; letter-spacing: .05em; }
.thoughts-feed-copy { min-width: 0; }
.thoughts-feed-meta { display: flex; flex-wrap: wrap; gap: 7px 17px; margin-bottom: 7px; color: #95815e; font-size: 12px; letter-spacing: .08em; }
.thoughts-feed-meta span + span { position: relative; }
.thoughts-feed-meta span + span::before { content: ""; position: absolute; top: 50%; left: -9px; width: 2px; height: 2px; border-radius: 50%; background: currentColor; }
.thoughts-feed-title { margin: 0; font-size: clamp(19px, 2vw, 25px); font-weight: 400; line-height: 1.55; letter-spacing: .04em; }
.thoughts-feed-title a { color: #695a44; text-decoration: none; }
.thoughts-feed-title a:hover { color: #a47c40; }
.thoughts-feed-arrow { color: #b09666; font-size: 18px; transition: transform .2s ease; }
.thoughts-feed-item:hover .thoughts-feed-arrow { transform: translate(3px, -3px); }
.thoughts-filter-empty { margin: 0; padding: 80px 20px; text-align: center; color: #8c806e; border-bottom: 1px solid rgba(174,139,83,.24); }

.thoughts-theme-explore { padding: 104px 0 20px; }
.thoughts-theme-heading { margin-bottom: 42px; text-align: center; }
.thoughts-theme-heading p { margin: 0 0 9px; color: #a18454; font-family: var(--font-en-serif); font-style: italic; font-size: 17px; }
.thoughts-theme-heading h2 { margin: 0; color: #816942; font-size: clamp(29px, 3.8vw, 42px); font-weight: 400; letter-spacing: .12em; }
.thoughts-theme-heading span { display: block; margin-top: 15px; color: #b89961; }
.thoughts-theme-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid rgba(174,139,83,.22); }
.thoughts-theme-grid > a { display: flex; min-width: 0; min-height: 250px; align-items: center; justify-content: center; flex-direction: column; padding: 28px 14px 24px; border-right: 1px solid rgba(174,139,83,.2); color: #756246; text-align: center; text-decoration: none; background: rgba(255,255,255,.25); transition: background .25s ease, transform .25s ease; }
.thoughts-theme-grid > a:first-child { border-left: 1px solid rgba(174,139,83,.2); }
.thoughts-theme-grid > a:hover { background: rgba(255,255,255,.68); transform: translateY(-2px); }
.thoughts-theme-grid strong { margin-top: 17px; font-size: 18px; font-weight: 400; letter-spacing: .08em; }
.thoughts-theme-grid small { min-height: 34px; margin-top: 6px; color: #aa8c5b; font-family: var(--font-en-serif); font-style: italic; line-height: 1.35; }
.thoughts-theme-cover { display: block; width: 66px; height: 94px; flex: 0 0 auto; background-size: cover; background-position: center; filter: drop-shadow(0 5px 7px rgba(79,61,33,.15)); }
.thoughts-theme-duo { position: relative; display: block; width: 92px; height: 94px; }
.thoughts-theme-duo .thoughts-theme-cover { position: absolute; top: 0; width: 61px; }
.thoughts-theme-duo .thoughts-theme-cover:first-child { left: 0; transform: rotate(-3deg); }
.thoughts-theme-duo .thoughts-theme-cover:last-child { right: 0; transform: rotate(3deg); }
.thoughts-theme-actions { display: flex; justify-content: center; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.thoughts-theme-actions a { display: inline-flex; min-width: 170px; min-height: 46px; align-items: center; justify-content: center; padding: 8px 22px; border: 1px solid rgba(151,125,77,.35); border-radius: 3px; color: #776345; text-decoration: none; background: rgba(255,255,255,.55); }
.thoughts-theme-actions a:hover { background: #fffdf8; }

.thoughts-index-closing { padding: 110px 0; text-align: center; background: radial-gradient(circle at 50% 18%, #fffefa, transparent 56%), #eee7d9; }
.thoughts-index-closing p { margin: 0 0 16px; color: #a08354; font-family: var(--font-en-serif); font-style: italic; font-size: 18px; }
.thoughts-index-closing h2 { margin: 0; color: #816942; font-size: clamp(29px, 4vw, 43px); font-weight: 400; line-height: 1.75; letter-spacing: .1em; }
.thoughts-index-closing > div > span { display: block; margin: 20px 0 28px; color: #b89a62; }
.thoughts-index-closing > div > div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.thoughts-index-closing a { display: inline-flex; min-width: 170px; min-height: 46px; align-items: center; justify-content: center; padding: 8px 22px; border: 1px solid rgba(151,125,77,.35); border-radius: 3px; color: #776345; text-decoration: none; background: rgba(255,255,255,.55); }

@media (max-width: 860px) {
  .thoughts-view-nav { margin-top: 0; }
  .thoughts-view-nav a { min-height: 68px; flex-direction: column; gap: 2px; padding-inline: 12px; }
  .thoughts-volume-nav { justify-content: flex-start; margin-inline: -16px; padding-inline: 16px; }
  .thoughts-volume-nav button { min-width: auto; padding-inline: 18px; }
  .thoughts-more-filters { grid-template-columns: 1fr 1fr; }
  .thoughts-feed-year { grid-template-columns: 112px 1fr 22px; gap: 20px; }
  .thoughts-feed-item { grid-template-columns: 92px 104px 1fr 22px; gap: 18px; }
  .thoughts-feed-media { width: 92px; }
  .thoughts-theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .thoughts-theme-grid > a:nth-child(3) { border-right: 1px solid rgba(174,139,83,.2); }
}

@media (max-width: 620px) {
  .thoughts-index-page .thoughts-hero { min-height: 680px; }
  .thoughts-view-nav { width: 100%; }
  .thoughts-view-nav a { font-size: 14px; }
  .thoughts-index-featured, .thoughts-latest, .thoughts-index-closing { padding-block: 72px; }
  .thoughts-more-filters { grid-template-columns: 1fr; gap: 25px; padding: 25px 22px; }
  .thoughts-filter-reset { grid-column: auto; justify-self: start; }
  .thoughts-results-bar { align-items: flex-start; gap: 10px; padding-block: 18px; }
  .thoughts-results-bar a { max-width: 160px; text-align: right; }
  .thoughts-feed-year { grid-template-columns: 1fr; min-height: 70px; padding: 26px 4px 13px; }
  .thoughts-feed-item { grid-template-columns: 82px 1fr 18px; gap: 14px; padding: 24px 4px; }
  .thoughts-feed-media { grid-column: 1; grid-row: 1 / 3; width: 82px; }
  .thoughts-feed-date { grid-column: 2; margin-bottom: -4px; }
  .thoughts-feed-copy { grid-column: 2; }
  .thoughts-feed-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .thoughts-feed-title { font-size: 20px; }
  .thoughts-theme-explore { padding-top: 78px; }
  .thoughts-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thoughts-theme-grid > a { min-height: 220px; }
  .thoughts-theme-grid > a:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .thoughts-more-toggle span, .thoughts-feed-arrow, .thoughts-theme-grid > a { transition: none; }
}
