
/* Restored responsive Bookseek home layout. */
.home-page {
  background: #f7f8f2;
  color: #25342d;
}

.home-page main {
  width: 100%;
  display: block;
}

.home-page .discovery-hero {
  width: min(1232px, calc(100% - 48px));
  min-height: 500px;
  margin: 28px auto 18px;
  padding: clamp(34px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  overflow: hidden;
  border: 1px solid #e7e9e0;
  border-radius: 28px;
  background: linear-gradient(125deg, #f5f5ec 0%, #fff 72%);
}

.home-page .hero-text { max-width: 590px; }
.home-page .micro-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #6a786f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.home-page .micro-label span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #dd653e;
}
.home-page .hero-text h1 {
  margin: 0;
  color: #21392f;
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -.055em;
}
.home-page .hero-text h1 em { color: #dd653e; font-style: normal; }
.home-page .hero-description {
  margin: 22px 0 0;
  color: #66736b;
  font-size: 16px;
  line-height: 1.9;
}
.home-page .home-entry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.home-page .home-entry-primary,
.home-page .home-entry-secondary,
.home-page .dark-btn,
.home-page .method-link,
.home-page .about-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 650;
}
.home-page .home-entry-primary,
.home-page .dark-btn { background: #234e3d; color: #fff; }
.home-page .home-entry-primary svg { width: 18px; height: 18px; }
.home-page .home-entry-secondary { border: 1px solid #d8ddd4; background: #fff; color: #294b3c; }
.home-page .home-entry-note { margin: 15px 0 0; color: #788079; font-size: 12px; }

.home-page .hero-shelf {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 27px 26px 22px;
  border: 1px solid #e7e9e0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(34, 60, 47, .09);
}
.home-page .shelf-heading,
.home-page .shelf-foot,
.home-page .column-topics-heading,
.home-page .new-section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.home-page .shelf-heading { color: #68766d; font-size: 11px; letter-spacing: .08em; }
.home-page .shelf-orbit {
  position: absolute;
  inset: 70px 12% 58px;
  border: 1px solid #edf0e8;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #f4f4e9 0%, #fff 70%);
}
.home-page .shelf-books {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 20px);
  min-height: 230px;
  padding: 22px 4px 16px;
  perspective: 900px;
}
.home-page .shelf-book {
  display: block;
  width: clamp(86px, 9vw, 128px);
  height: clamp(132px, 14vw, 190px);
  overflow: hidden;
  border: 1px solid #e7e7df;
  border-radius: 4px 8px 8px 4px;
  background: linear-gradient(145deg, #e9e7da, #f5f3e9);
  box-shadow: 0 15px 25px rgba(33, 57, 47, .17);
}
.home-page .shelf-book img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-page .shelf-book-0 { transform: rotate(-8deg) translateY(10px); }
.home-page .shelf-book-1 { z-index: 2; transform: translateY(-5px); }
.home-page .shelf-book-2 { transform: rotate(8deg) translateY(10px); }
.home-page .shelf-foot { color: #67756c; font-size: 12px; }
.home-page .shelf-foot a { color: #234e3d; font-weight: 700; }
.home-page .discovery-note {
  width: min(1232px, calc(100% - 48px));
  margin: 0 auto 70px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 14px;
  background: #edf1e9;
  color: #52635a;
  font-size: 13px;
}
.home-page .discovery-note p { margin: 0; }
.home-page .discovery-note a { white-space: nowrap; color: #234e3d; font-weight: 700; }

.home-page .home-width,
.home-page .home-method,
.home-page .home-books,
.home-page .home-about,
.home-page .home-extra-guides {
  width: min(1232px, calc(100% - 48px));
  margin: 0 auto 76px;
}
.home-page .first-book-home,
.home-page .home-method,
.home-page .home-about {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid #e7e9e0;
  border-radius: 22px;
  background: #fff;
}
.home-page .first-book-home,
.home-page .home-method { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.home-page .first-book-home h2,
.home-page .home-method h2,
.home-page .column-topics h2,
.home-page .home-books h2,
.home-page .home-about h2 { margin: 0; color: #253b31; font-size: clamp(24px, 3vw, 34px); line-height: 1.4; letter-spacing: -.04em; }
.home-page .first-book-home p:not(.micro-label),
.home-page .home-method p,
.home-page .home-about p { color: #6f7a72; line-height: 1.8; }
.home-page .column-topics { padding-top: 16px; }
.home-page .column-topics-heading,
.home-page .new-section-heading { margin-bottom: 24px; }
.home-page .column-topics-heading p:not(.micro-label),
.home-page .new-section-heading p { margin: 8px 0 0; color: #788079; }
.home-page .column-topics-count { padding: 8px 13px; border-radius: 999px; background: #edf1e9; color: #496353; font-size: 12px; white-space: nowrap; }










.home-page .home-books { padding-top: 6px; }
.home-page .catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-page .catalog-card { overflow: hidden; border: 1px solid #e7e9e0; border-radius: 16px; background: #fff; }
.home-page .catalog-card .real-cover { display: block; height: 220px; padding: 18px; background: #f2f3ec; text-align: center; }
.home-page .catalog-card .real-cover img { max-width: 100%; height: 100%; object-fit: contain; }
.home-page .catalog-info { padding: 17px; }
.home-page .catalog-info h3 { margin: 0 0 8px; font-size: 16px; }
.home-page .catalog-info .author { color: #788079; font-size: 12px; }
.home-page .content-kicker { color: #dd653e; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.home-page .card-end { margin-top: 12px; color: #52685a; font-size: 12px; }
.home-page .home-about { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 25px; }
.home-page .about-symbol { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: #eff2e9; color: #234e3d; font-size: 32px; }
.home-page .about-arrow,.home-page .method-link { color: #234e3d; border: 1px solid #d8ddd4; background: #fff; white-space: nowrap; }
.home-page .quiet-link { color: inherit; }
.home-page .site-footer { margin-top: 80px; }

@media (max-width: 1000px) {
  
  .home-page .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .discovery-hero { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .home-page .discovery-hero { width: min(100% - 28px, 560px); grid-template-columns: 1fr; min-height: 0; margin-top: 14px; padding: 30px 24px; border-radius: 20px; }
  .home-page .hero-text h1 { font-size: clamp(36px, 10vw, 48px); }
  .home-page .hero-description { font-size: 14px; }
  .home-page .hero-shelf { min-height: 300px; }
  .home-page .shelf-book { width: 92px; height: 142px; }
  .home-page .discovery-note,.home-page .home-width,.home-page .home-method,.home-page .home-books,.home-page .home-about,.home-page .home-extra-guides { width: calc(100% - 28px); margin-bottom: 48px; }
  .home-page .discovery-note { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-page .first-book-home,.home-page .home-method { align-items: flex-start; flex-direction: column; }
  
  .home-page .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-page .catalog-card .real-cover { height: 170px; }
  .home-page .home-about { grid-template-columns: 1fr; }
  .home-page .home-about .about-symbol { width: 64px; height: 64px; }
  .home-page .column-topics-heading,.home-page .new-section-heading { align-items: flex-start; }
}

