.guide-hub-page {
  background: #f7f5f0;
}

.guide-hub-page .site-header {
  background: #fff;
}

.guide-nav {
  border-bottom-color: #b59665;
  background: #183246;
}

.guide-nav .nav-inner {
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: thin;
}

.guide-nav .nav-inner a {
  flex: 0 0 auto;
  padding-inline: 13px;
  font-size: 0.64rem;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.guide-nav .nav-inner .guide-return {
  position: sticky;
  left: 0;
  z-index: 2;
  color: #142a3c;
  background: #d5bd88;
  font-weight: 900;
}

.guide-main {
  overflow: hidden;
}

.guide-main h1,
.guide-main h2,
.guide-main h3 {
  color: #142a3c;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

.guide-main h1,
.guide-main h2 {
  font-weight: 600;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  min-height: 610px;
  padding-block: 54px 64px;
  align-items: stretch;
  gap: 46px;
}

.guide-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0;
}

.guide-hero-copy .overline,
.guide-topic .overline,
.guide-pathways .overline,
.guide-author .overline,
.guide-books .overline,
.guide-archive .overline,
.guide-search .overline {
  color: #9f5057;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-hero-copy h1 {
  max-width: 780px;
  margin: 12px 0 22px;
  overflow-wrap: normal;
  hyphens: none;
  font-size: clamp(2rem, 3.7vw, 3.75rem);
  line-height: 1.05;
}

.guide-hero-copy > p:not(.overline) {
  max-width: 670px;
  margin: 0;
  color: #53616c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.45vw, 1.27rem);
  line-height: 1.62;
}

.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.guide-hero-actions a {
  display: inline-flex;
  min-height: 44px;
  padding: 11px 18px;
  align-items: center;
  color: #fff;
  background: #142a3c;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guide-hero-actions a + a {
  color: #142a3c;
  background: transparent;
  border: 1px solid #b9b4aa;
}

.guide-lead-story,
.guide-lead-story > a {
  min-width: 0;
  height: 100%;
}

.guide-lead-story > a {
  display: grid;
  grid-template-rows: minmax(310px, 1fr) auto;
  color: #fff;
  background: #142a3c;
  box-shadow: 0 24px 58px rgba(20, 42, 60, 0.16);
}

.guide-lead-story figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #d9d4ca;
}

.guide-lead-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.guide-lead-story a:hover img {
  transform: scale(1.018);
}

.guide-lead-story div {
  padding: 26px 30px 30px;
}

.guide-lead-story span {
  color: #d9bd83;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-lead-story h2 {
  margin: 9px 0 10px;
  color: #fff;
  font-size: clamp(1.55rem, 2.7vw, 2.75rem);
  line-height: 1.05;
}

.guide-lead-story p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #dce4e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.guide-lead-story b {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-pathways {
  padding-block: 64px 76px;
  border-top: 1px solid #d9d4ca;
}

.guide-pathways > header,
.guide-books > header,
.guide-archive > header {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(420px, 1.35fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.guide-pathways h2,
.guide-books h2,
.guide-archive h2,
.guide-search h2 {
  margin: 8px 0 0;
  font-size: clamp(1.85rem, 3.6vw, 3.6rem);
  line-height: 1.05;
}

.guide-pathways header > p:last-child,
.guide-books header > p:last-child,
.guide-archive header > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #5c6871;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.55;
}

.guide-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d6d0c5;
  background: #fff;
}

.guide-path-grid a {
  display: flex;
  min-width: 0;
  min-height: 220px;
  padding: 25px 24px;
  flex-direction: column;
  color: #142a3c;
  border-right: 1px solid #d6d0c5;
  transition: background 170ms ease, transform 170ms ease;
}

.guide-path-grid a:last-child {
  border-right: 0;
}

.guide-path-grid a:hover,
.guide-path-grid a:focus-visible {
  background: #f1ede4;
  transform: translateY(-2px);
}

.guide-path-grid small {
  color: #9f5057;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-path-grid strong {
  margin-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  font-weight: 600;
  line-height: 1.14;
}

.guide-path-grid span {
  margin-top: auto;
  padding-top: 22px;
  color: #66717a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.guide-topic {
  padding-block: 74px 82px;
  border-top: 1px solid #d9d4ca;
  scroll-margin-top: 30px;
}

.guide-topic:nth-of-type(even) {
  position: relative;
}

.guide-topic:nth-of-type(even)::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: #f0ede6;
  content: "";
}

.guide-topic-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 32px;
}

.guide-topic-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.guide-topic-heading > p {
  max-width: 760px;
  margin: 0;
  color: #55636d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.58;
}

.guide-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guide-story-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #d8d2c8;
}

.guide-story-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: 164px 1fr;
  color: #142a3c;
}

.guide-story-card figure {
  margin: 0;
  overflow: hidden;
  background: #d8d2c8;
}

.guide-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.guide-story-card a:hover img {
  transform: scale(1.025);
}

.guide-story-card > a > div {
  display: flex;
  min-width: 0;
  padding: 20px 20px 22px;
  flex-direction: column;
}

.guide-story-card span {
  color: #9f5057;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-story-card h3 {
  margin: 9px 0 11px;
  overflow-wrap: anywhere;
  font-size: clamp(1.12rem, 1.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.12;
}

.guide-story-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #63707a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.guide-story-card b {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-topic-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  margin-top: 18px;
  padding: 21px 24px;
  align-items: center;
  background: #e9eef0;
  border-left: 3px solid #b59665;
}

.guide-topic-offer > div {
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(260px, 0.75fr) minmax(320px, 1.4fr);
  gap: 24px;
  align-items: center;
}

.guide-topic-offer span {
  color: #9f5057;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-topic-offer strong {
  color: #142a3c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.guide-topic-offer p {
  margin: 0;
  color: #53616b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.guide-topic-offer > a {
  display: inline-flex;
  min-height: 40px;
  padding: 9px 14px;
  align-items: center;
  color: #fff;
  background: #142a3c;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.guide-author {
  display: grid;
  grid-template-columns: 230px minmax(0, 0.9fr) minmax(480px, 1.5fr);
  gap: 34px;
  padding-block: 80px;
  align-items: start;
  border-top: 5px solid #142a3c;
  scroll-margin-top: 30px;
}

.guide-author-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.9);
}

.guide-author-intro h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  line-height: 1.08;
}

.guide-author-intro p:not(.overline) {
  margin: 0;
  color: #59656e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.58;
}

.guide-author-intro > a {
  display: inline-block;
  margin-top: 20px;
  color: #142a3c;
  border-bottom: 1px solid #9f5057;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.guide-author-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-author-stories .guide-story-card > a {
  grid-template-rows: 118px 1fr;
}

.guide-author-stories .guide-story-card p {
  -webkit-line-clamp: 2;
}

.guide-books {
  position: relative;
  padding-block: 78px 88px;
  scroll-margin-top: 30px;
}

.guide-books::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: #e8e3d9;
  content: "";
}

.guide-book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-book-grid article {
  background: #fff;
  border: 1px solid #d2cbbb;
}

.guide-book-grid article > a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  color: #142a3c;
}

.guide-book-grid img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.guide-book-grid .guide-book-cover img {
  padding: 14px;
  object-fit: contain;
  background: #f4f0e8;
}

.guide-book-grid article div {
  display: flex;
  padding: 23px 24px 26px;
  flex-direction: column;
}

.guide-book-grid span {
  color: #9f5057;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guide-book-grid h3 {
  margin: 9px 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.08;
}

.guide-book-grid p {
  margin: 0;
  color: #5d6972;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

.guide-book-grid .guide-book-authors {
  margin: -2px 0 11px;
  color: #8b4a51;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.guide-book-grid b {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.guide-archive {
  padding-block: 76px 82px;
}

.guide-archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cbc5ba;
}

.guide-archive-list a {
  display: grid;
  grid-template-columns: 115px 1fr auto;
  min-width: 0;
  gap: 20px;
  padding: 21px 12px 21px 0;
  align-items: center;
  color: #142a3c;
  border-bottom: 1px solid #cbc5ba;
}

.guide-archive-list a:nth-child(odd) {
  margin-right: 24px;
  border-right: 1px solid #cbc5ba;
  padding-right: 24px;
}

.guide-archive-list span {
  color: #9f5057;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-archive-list strong {
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.25;
}

.guide-archive-list b {
  font-size: 0.66rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.guide-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  gap: 56px;
  margin-bottom: 86px;
  padding: 38px 40px;
  align-items: center;
  color: #fff;
  background: #142a3c;
}

.guide-search h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.7vw, 2.55rem);
}

.guide-search p:not(.overline) {
  margin: 13px 0 0;
  color: #d9e1e5;
  line-height: 1.5;
}

.guide-search form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.guide-search input,
.guide-search button {
  min-height: 48px;
  border: 0;
}

.guide-search input {
  min-width: 0;
  padding: 11px 14px;
  color: #142a3c;
  background: #fff;
  font: inherit;
}

.guide-search button {
  padding: 11px 16px;
  color: #142a3c;
  background: #d5bd88;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .guide-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 28px;
  }

  .guide-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-topic-offer > div {
    grid-template-columns: minmax(150px, 0.45fr) minmax(220px, 0.75fr) 1fr;
  }

  .guide-author {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .guide-author-stories {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .guide-nav .nav-inner {
    display: grid;
    overflow: visible;
  }

  .guide-nav .nav-inner .guide-return {
    position: static;
  }

  .guide-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 36px 54px;
  }

  .guide-hero-copy {
    padding: 10px 0;
  }

  .guide-lead-story > a {
    grid-template-rows: minmax(280px, 45vw) auto;
  }

  .guide-pathways > header,
  .guide-books > header,
  .guide-archive > header,
  .guide-topic-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .guide-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-path-grid a:nth-child(2) {
    border-right: 0;
  }

  .guide-path-grid a:nth-child(-n + 2) {
    border-bottom: 1px solid #d6d0c5;
  }

  .guide-topic-offer,
  .guide-topic-offer > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-topic-offer > a {
    width: max-content;
  }

  .guide-author-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-book-grid {
    grid-template-columns: 1fr;
  }

  .guide-book-grid article > a {
    grid-template-columns: minmax(240px, 0.8fr) 1fr;
    grid-template-rows: 1fr;
  }

  .guide-book-grid img {
    height: 100%;
    aspect-ratio: auto;
  }

  .guide-archive-list {
    grid-template-columns: 1fr;
  }

  .guide-archive-list a:nth-child(odd) {
    margin-right: 0;
    padding-right: 12px;
    border-right: 0;
  }

  .guide-search {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .guide-hero-copy h1 {
    font-size: clamp(1.75rem, 8.2vw, 2.25rem);
    line-height: 1.08;
  }

  .guide-lead-story > a {
    grid-template-rows: 220px auto;
  }

  .guide-lead-story div {
    padding: 22px 20px 24px;
  }

  .guide-pathways,
  .guide-topic,
  .guide-author,
  .guide-books,
  .guide-archive {
    padding-block: 52px;
  }

  .guide-path-grid,
  .guide-story-grid {
    grid-template-columns: 1fr;
  }

  .guide-path-grid a {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid #d6d0c5;
  }

  .guide-path-grid a:last-child {
    border-bottom: 0;
  }

  .guide-topic-heading h2 {
    font-size: 2.25rem;
  }

  .guide-story-card > a {
    grid-template-columns: 118px 1fr;
    grid-template-rows: 1fr;
  }

  .guide-story-card figure {
    min-height: 100%;
  }

  .guide-story-card p {
    -webkit-line-clamp: 3;
  }

  .guide-topic-offer {
    padding: 19px;
  }

  .guide-topic-offer > a {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .guide-author {
    grid-template-columns: 92px 1fr;
    gap: 18px;
  }

  .guide-author-stories {
    grid-template-columns: 1fr;
  }

  .guide-author-intro h2 {
    font-size: 1.45rem;
  }

  .guide-author-intro p:not(.overline) {
    font-size: 0.9rem;
  }

  .guide-book-grid article > a {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .guide-book-grid img {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .guide-archive-list a {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding-block: 17px;
  }

  .guide-archive-list span {
    grid-column: 1 / -1;
  }

  .guide-search {
    margin-bottom: 58px;
    padding: 28px 20px;
  }

  .guide-search form {
    grid-template-columns: 1fr;
  }
}
