/* V41 — Unique source for book colors and Club door layout. */

/* Every appearance of a book inherits the palette defined by book.tone. */
.tone-ivory { background-color:#f3e6e5; }
.tone-golden { background-color:#ecdbb6; }
.tone-peach { background-color:#f6ddc8; }
.tone-copper { background-color:#e1c4b0; }
.tone-lilac { background-color:#e8dce8; }
.tone-paper { background-color:#e9dce2; }
/* These base selectors previously overrode the tone in the recommendation areas. */
.related-thumb.tone-ivory,.series-next-art.tone-ivory,.feature-stage.tone-ivory{background-color:#f3e6e5;}
.related-thumb.tone-golden,.series-next-art.tone-golden,.feature-stage.tone-golden{background-color:#ecdbb6;}
.related-thumb.tone-peach,.series-next-art.tone-peach,.feature-stage.tone-peach{background-color:#f6ddc8;}
.related-thumb.tone-copper,.series-next-art.tone-copper,.feature-stage.tone-copper{background-color:#e1c4b0;}
.related-thumb.tone-lilac,.series-next-art.tone-lilac,.feature-stage.tone-lilac{background-color:#e8dce8;}
.related-thumb.tone-paper,.series-next-art.tone-paper,.feature-stage.tone-paper{background-color:#e9dce2;}

/* Three cards: common structure, no per-card offsets or hard-coded text shifts.
   Rows: category, illustration, title, description and CTA. */
body[data-page="club"] .club-door-cards {
  align-items:stretch;
  grid-auto-rows:1fr;
}
body[data-page="club"] .club-door-cards .club-door-card {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto 188px auto minmax(0,1fr) auto;
  min-height:465px;
  padding:28px 26px 30px;
  align-items:stretch;
  overflow:hidden;
}
body[data-page="club"] .club-door-cards .club-door-card .club-door-kicker {
  position:relative;
  top:auto;
  align-self:start;
}
body[data-page="club"] .club-door-cards .club-door-card .club-door-art {
  height:188px;
  margin:0;
  align-self:center;
  min-width:0;
}
body[data-page="club"] .club-door-cards .club-door-card .club-door-title {
  position:relative;
  top:auto;
  max-width:none;
  min-width:0;
  margin:9px 0 10px;
  font-size:33px;
  line-height:1.06;
  font-weight:400;
  letter-spacing:-.025em;
  text-wrap:initial;
  align-self:start;
}
body[data-page="club"] .club-door-cards .club-door-card .club-door-title span {
  display:block;
  width:max-content;
  max-width:none;
  white-space:nowrap;
  line-height:inherit;
}
body[data-page="club"] .club-door-cards .club-door-card > p {
  position:relative;
  top:auto;
  align-self:start;
  margin:0 0 20px;
  min-width:0;
}
body[data-page="club"] .club-door-cards .club-door-card > a {
  position:relative;
  top:auto;
  display:inline-block;
  align-self:end;
  justify-self:start;
  margin:0;
}
/* Important: preserve the validated phone dimensions; adjust only its input arrow. */
body[data-page="club"] .club-door-iphone .fake-input {
  position:relative;
  justify-content:flex-start;
  padding:0 16px 0 5px;
  white-space:nowrap;
}
body[data-page="club"] .club-door-iphone .fake-input::after {
  content:'➜';
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  font-size:7px;
  line-height:1;
}

/* Two rows plus a comfortably scaled title on narrow screens. */
@media (max-width:1100px) {
  body[data-page="club"] .club-door-cards .club-door-card {padding:24px 20px 26px;}
  body[data-page="club"] .club-door-cards .club-door-card .club-door-title {font-size:30px;}
}
@media (max-width:900px) {
  body[data-page="club"] .club-door-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  body[data-page="club"] .club-door-cards .club-door-card--ad {grid-column:1/-1;}
  body[data-page="club"] .club-door-cards .club-door-card {min-height:442px;}
}
@media (max-width:700px) {
  body[data-page="club"] .club-door-cards {grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;}
  body[data-page="club"] .club-door-cards .club-door-card--ad {grid-column:auto;}
  body[data-page="club"] .club-door-cards .club-door-card {
    min-height:0;
    grid-template-rows:auto 174px auto minmax(70px,1fr) auto;
    padding:26px 25px 29px;
  }
  body[data-page="club"] .club-door-cards .club-door-card .club-door-art {height:174px;}
  body[data-page="club"] .club-door-cards .club-door-card .club-door-title {
    font-size:clamp(26px,7.7vw,32px);
    line-height:1.06;
    margin:6px 0 12px;
  }
  body[data-page="club"] .club-door-cards .club-door-card > p {margin:0 0 20px;}
}
