/* Independent comparison page: photo-first browsing, with the existing filters. */
.works-study { background: #fff; }
.works-study .works-theme { width: min(1252px, calc(100% - 80px)); }
.works-study .works-theme__breadcrumbs { padding-top: 24px; font-size: 11px; }
.works-study .works-theme__hero { padding: 46px 0 38px; text-align: left; }
.works-study .works-theme__hero > p { font-size: 11px; color: #657064; }
.works-study .works-theme__hero h1 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 48px); line-height: 1.5; }
.works-study .works-theme__hero > span { font-size: 15px; line-height: 1.9; color: #596158; }
.works-study .works-theme__hero > span > span { display: inline-block; }
.works-study .works-catalog-link { display: table; margin-top: 22px; padding: 10px 0; color: #465943; font-size: 15px; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; }
.works-study .works-types { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; }
.works-study .works-types .theme-picker__button { min-height: 46px; min-width: 94px; padding: 10px 22px; border: 1px solid #b8bdb3; border-radius: 0; font-size: 14px; font-weight: 400; letter-spacing: .02em; }
.works-study .works-types .theme-picker__button.is-active { background: #283a30; border-color: #283a30; color: #fff; }
.works-study .theme-filters { border: 0; border-block: 1px solid #dedfd8; scroll-margin-top: calc(var(--header-height) + 16px); }
.works-study .theme-filters > summary { display: flex; align-items: center; gap: 20px; padding: 16px 0; list-style: none; font-size: 14px; font-weight: 400; }
.works-study .theme-filters > summary::-webkit-details-marker { display: none; }
.works-study .theme-filters > summary::after { content: "+"; margin-left: auto; font-size: 24px; line-height: 1; font-weight: 300; }
.works-study .theme-filters[open] > summary::after { content: "−"; }
.works-study .theme-filters__hint { margin: 0; font-size: 12px; color: #6b726a; }
.works-study .theme-filters .theme-picker { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 20px; border: 0; }
.works-study .theme-filters .theme-picker__button { min-height: 44px; padding: 10px 18px; border: 1px solid #dedfd8; background: #fafaf7; font-size: 13px; font-weight: 400; letter-spacing: .02em; }
.works-study .theme-filters .theme-picker__button > span { display: none; }
.works-study .theme-filters .theme-picker__button.is-active { color: #fff; background: #283a30; border-color: #283a30; }
.works-study .theme-picker__button[hidden] { display: none; }
.works-study .theme-picker__button:focus-visible, .works-study .theme-filters > summary:focus-visible { outline: 2px solid #476750; outline-offset: 3px; }
.works-study .works-theme__results { padding: 28px 0 72px; }
.works-study .works-theme__selected { align-items: center; gap: 20px; margin-bottom: 24px; padding: 0; border: 0; }
.works-study .works-theme__selected h2 { margin: 0; font: 400 20px/1.6 var(--serif); letter-spacing: .03em; }
.works-study .works-theme__selected > strong { flex-shrink: 0; padding: 0; font: 400 22px/1.4 var(--sans); }
.works-study .works-theme__selected > strong span { font-size: 12px; }
.works-study .theme-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 26px; }
.works-study .theme-work-card { position: relative; display: flex; flex-direction: column; border: 0; border-bottom: 1px solid #dedfd8; background: transparent; }
.works-study .theme-work-card[hidden] { display: none; }
.works-study .theme-work-card > img { display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.works-study .theme-work-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px 0 16px; }
.works-study .theme-work-card__body .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.works-study .theme-work-card__body .tag-row span { border: 0; padding: 0; font-size: 12px; font-weight: 400; color: #657064; background: none; }
.works-study .theme-work-card__body .tag-row span + span::before { content: "/"; margin-right: 8px; color: #a2a79e; }
.works-study .theme-work-card__body h3 { margin-bottom: 10px; min-height: 0; font-size: 21px; line-height: 1.6; letter-spacing: .02em; }
.works-study .theme-work-card__body > p:not(.tag-row) { min-height: 0; font-size: 14px; line-height: 1.9; color: #596158; }
.works-study .theme-work-card__more { margin-top: auto; padding-top: 12px; min-height: 44px; font-size: 13px; font-weight: 400; }
.works-study .theme-work-card__more::after { position: absolute; inset: 0; content: ""; }
.works-study .theme-work-card:focus-within { outline: 2px solid #476750; outline-offset: 6px; }
.works-study .theme-work-card__more:focus-visible { outline: none; }
.works-study .works-theme__more { margin-top: 38px; padding: 14px 24px; background: #fff; color: #283a30; border-color: #283a30; font-size: 14px; font-weight: 400; }
.works-study .works-theme__empty { background: #fafaf7; font-size: 15px; line-height: 1.9; }
.works-study .works-theme__contact { background: #f7f7f2; color: var(--ink); }
.works-study .works-theme__contact p, .works-study .works-theme__contact > div > span { color: #596158; }
.works-study .works-theme__contact > div > span { display: block; font-size: 14px; line-height: 1.9; }
.works-study .works-theme__contact h2 { font-size: clamp(25px, 2.4vw, 34px); }
.works-study .works-theme__contact a { font-size: 14px; border-color: #283a30; }
@media (hover: hover) {
  .works-study .theme-work-card:hover h3 { color: #52704c; }
  .works-study .works-theme__more:hover, .works-study .works-theme__contact a:hover { background: #283a30; color: #fff; }
}
@media (max-width: 1100px) {
  .works-study .theme-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .works-study .works-theme { width: calc(100% - 44px); padding-bottom: 56px; }
  .works-study .works-theme__breadcrumbs { padding: 18px 0 0; }
  .works-study .works-theme__hero { padding: 24px 0 26px; }
  .works-study .works-theme__hero > p { font-size: 10px; margin-bottom: 8px; }
  .works-study .works-theme__hero h1 { margin-bottom: 14px; font-size: 32px; }
  .works-study .works-theme__hero > span { font-size: 14px; }
  .works-study .works-types { gap: 7px; padding-bottom: 16px; }
  .works-study .works-types .theme-picker__button { min-width: 0; min-height: 44px; padding: 10px 13px; font-size: 13px; }
  .works-study .theme-filters > summary { min-height: 48px; padding: 12px 0; font-size: 13px; }
  .works-study .theme-filters__hint { display: none; }
  .works-study .theme-filters .theme-picker { gap: 8px; }
  .works-study .theme-filters .theme-picker__button { padding: 9px 13px; }
  .works-study .works-theme__results { padding: 24px 0 48px; }
  .works-study .works-theme__selected { margin-bottom: 18px; gap: 12px; }
  .works-study .works-theme__selected h2 { font-size: 19px; }
  .works-study .works-theme__selected > strong { font-size: 20px; }
  .works-study .theme-work-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .works-study .theme-work-card__body { padding-top: 14px; }
  .works-study .theme-work-card__body h3 { font-size: 21px; }
  .works-study .works-theme__contact { padding: 28px 22px; gap: 24px; }
}
@media (max-width: 359px) {
  .works-study .works-theme { width: calc(100% - 32px); }
  .works-study .works-types { gap: 5px; }
  .works-study .works-types .theme-picker__button { padding-inline: 9px; font-size: 12px; }
}
