.reading-room-page {
  --room-paper: #f3efe7;
  --room-ink: #282e29;
  --room-accent: #95604b;
  background: var(--room-paper);
  color: var(--room-ink);
}
.reading-room-page .header {
  background: var(--room-paper);
  border-bottom: 1px solid #d8d1c4;
}
.reading-room-page main > section {
  padding: 90px 0;
  scroll-margin-top: 100px;
}
.reading-room-page h1,
.reading-room-page h2,
.reading-room-page h3 {
  color: var(--room-ink);
}
.room-label {
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 22px;
}
.reading-hero > .container:first-child {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
  align-items: center;
}
.room-heading h1 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1.02;
  margin: 0 0 30px;
  letter-spacing: -2px;
}
.reading-room-page em {
  font-weight: 400;
  color: var(--room-accent);
}
.room-intro {
  font-size: 22px;
  line-height: 1.6;
  max-width: 470px;
  margin-bottom: 32px;
}
.reading-hero figure {
  margin: 0;
}
.reading-hero figure img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 160px 160px 0 0;
}
.reading-hero figcaption {
  font-size: 12px;
  font-family: Inter, Arial, sans-serif;
  margin-top: 16px;
  color: #675d52;
}
.room-button {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  background: var(--room-ink);
  color: white;
  padding: 16px 25px;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  border: 1px solid var(--room-ink);
}
.room-button:hover {
  color: white;
  background: #485347;
}
.room-stories {
  margin-top: 85px;
  padding-top: 42px;
  border-top: 1px solid #d0c8ba;
}
.room-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  margin-bottom: 35px;
}
.room-section-heading h2,
.room-guide h2 {
  font-size: 46px;
  line-height: 1.1;
  margin: 0;
}
.room-section-heading > p {
  max-width: 380px;
  font-size: 20px;
  line-height: 1.6;
}
.room-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.room-cards article {
  border-top: 3px solid var(--room-accent);
  padding: 28px 24px;
  background: #faf8f3;
}
.room-cards h3 {
  font-size: 31px;
  margin: 15px 0;
}
.room-cards p {
  font-size: 19px;
  line-height: 1.6;
}
.room-cards a,
.room-guide a,
.room-actions > a:last-child {
  color: var(--room-accent);
  font-size: 17px;
}
.room-studio {
  background: var(--room-ink);
  color: #e5e8df;
}
.room-studio h2,
.room-studio h3 {
  color: #f3efe7;
}
.room-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 45px 0;
}
.room-services article {
  border-top: 1px solid #727b6d;
  padding-top: 25px;
  scroll-margin-top: 110px;
}
.room-services span {
  color: #b8c5af;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
}
.room-services h3 {
  font-size: 29px;
  margin: 16px 0;
}
.room-services p {
  font-size: 19px;
  line-height: 1.6;
}
.room-button-light {
  background: #e2e7d8;
  color: var(--room-ink);
  border-color: #e2e7d8;
}
.room-guide {
  background: #e9e3d8;
}
.room-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
}
.room-guide-grid > div:first-child > p {
  font-size: 21px;
  line-height: 1.6;
  margin: 25px 0;
  max-width: 360px;
}
.room-guide details {
  border-top: 1px solid #bcb4a5;
  padding: 22px 0;
  scroll-margin-top: 110px;
}
.room-guide summary {
  font-size: 25px;
  cursor: pointer;
}
.room-guide details p {
  font-size: 18px;
  line-height: 1.7;
  padding-top: 16px;
  margin-bottom: 0;
}
.room-community {
  text-align: center;
  background: radial-gradient(ellipse at bottom, #dfd9c9, transparent 70%);
}
.room-community h2 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.05;
}
.room-community .container > p:not(.room-label) {
  max-width: 610px;
  margin: 25px auto 35px;
  font-size: 22px;
  line-height: 1.6;
}
.room-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.room-endnote {
  display: block;
  margin-top: 55px;
  font-style: italic;
  font-size: 18px;
  color: #766b5d;
}
#room-search {
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
#room-query {
  background: transparent;
  border: 1px solid #b8ae9f;
  padding: 10px;
  min-width: 200px;
  max-width: 100%;
}
#room-search button {
  background: var(--room-ink);
  border: 1px solid var(--room-ink);
  padding: 10px 14px;
  color: white;
}
#room-status {
  font-size: 15px;
  color: #6b5e52;
}
.reading-room-page a:focus-visible,
.reading-room-page button:focus-visible,
.reading-room-page input:focus-visible,
.reading-room-page summary:focus-visible {
  outline: 3px solid #a56d4b;
  outline-offset: 5px;
}
.room-cards [hidden] {
  display: none !important;
}
@media (max-width: 991px) {
  .reading-hero > .container:first-child {
    gap: 30px;
  }
  .reading-hero figure img {
    height: 350px;
  }
  .room-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  .room-guide-grid {
    gap: 35px;
  }
  .room-cards {
    gap: 14px;
  }
  .room-cards article {
    padding: 24px 18px;
  }
  .room-services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .reading-room-page main > section {
    padding: 55px 0;
  }
  .reading-hero > .container:first-child,
  .room-guide-grid {
    grid-template-columns: 1fr;
  }
  .reading-hero figure img {
    height: 310px;
    border-radius: 100px 100px 0 0;
  }
  .room-cards,
  .room-services {
    grid-template-columns: 1fr;
  }
  .room-stories {
    margin-top: 45px;
  }
  .room-section-heading h2,
  .room-guide h2 {
    font-size: 36px;
  }
  .room-actions {
    flex-direction: column;
    gap: 22px;
  }
  .room-intro {
    font-size: 20px;
  }
  .room-guide-grid {
    gap: 30px;
  }
  #room-search {
    width: 100%;
  }
  #room-search label {
    flex-basis: 100%;
  }
  #room-query {
    min-width: 0;
    flex: 1;
  }
}
