/* The tutorial shares the site's type, palette, navigation and footer. */
.custom-map-guide #post-page { max-width: 1080px; }
.custom-map-guide .post-header { max-width: 850px; margin-bottom: 32px; }
.custom-map-guide .post-title { letter-spacing: .015em; font-size: clamp(28px, 4.5vw, 46px); }
.custom-map-guide .post-lede { max-width: 720px; font-size: 23px; }
.custom-map-guide .prose,
.guide-step > :not(figure):not(.image-pair):not(.settings-layout) { max-width: 740px; margin-left: auto; margin-right: auto; }
.custom-map-guide .intro { margin-top: 38px; }
.guide-step { margin-top: 64px; }
.guide-step > h2 { display: flex; align-items: baseline; gap: 14px; padding-top: 22px; scroll-margin-top: 90px; }
.step-number { color: var(--gold); font-size: 16px; font-weight: 400; flex-shrink: 0; }
.map-figure { margin: 30px 0 38px; min-width: 0; }
.map-figure a { display: block; border-radius: 8px; outline-offset: 5px; }
.map-figure img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--parchment-dark); }
.map-figure a:hover img { border-color: var(--gold); }
.map-figure figcaption { max-width: 720px; margin: 11px auto 0; text-align: center; font-size: 16px; line-height: 1.45; color: var(--text-primary); font-style: italic; padding: 0 8px; }
.hero-figure { margin-top: 0; }
.map-figure.board-figure { max-width: 940px; margin-left: auto; margin-right: auto; }
.map-figure.dialog-figure { max-width: 520px; margin-left: auto; margin-right: auto; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin: 28px 0; }
.image-pair .map-figure { margin: 0; }
.city-pair { grid-template-columns: 1.45fr 1fr; }
.guide-start { display: grid; grid-template-columns: 1.65fr 1fr; gap: 32px; align-items: center; padding: 30px 32px; background: var(--card-bg); border: 1px solid var(--parchment-dark); border-top: 3px solid var(--gold); border-radius: 8px; margin: 38px 0; }
.guide-eyebrow { display: block; font-family: 'Cinzel', serif; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.guide-start h2 { border: 0; margin: 0 0 14px; padding: 0; font-size: 21px; }
.guide-start p { margin: 0; font-size: 17px; }
.guide-start-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.guide-start-actions a.guild-btn { color: white; text-decoration: none; }
.download-link { font-size: 17px; }
.download-link span { display: block; color: var(--text-primary); font-size: 14px; margin-top: 4px; }
.guide-contents { max-width: 740px; margin: 42px auto 0; }
.guide-contents h2 { font-size: 17px; margin-top: 0; }
.guide-contents ol { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 35px; row-gap: 9px; font-size: 17px; }
.guide-contents a { text-decoration: none; }
.custom-map-guide .inline-strong { display: inline; }
.custom-map-guide .table-scroll { overflow-x: auto; margin-bottom: 24px; }
.custom-map-guide table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
.custom-map-guide caption { text-align: left; font-size: 15px; color: var(--text-primary); margin-bottom: 10px; }
.custom-map-guide th, .custom-map-guide td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--parchment-dark); }
.custom-map-guide thead { background: var(--card-bg); }
.settings-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 36px; max-width: 860px; margin: 36px auto; align-items: start; }
.settings-layout h3 { margin-top: 0; }
.settings-layout .map-figure { margin-top: 0; }
.settings-layout p { font-size: 17px; }
.guide-faq { max-width: 740px; margin-left: auto; margin-right: auto; }
.guide-faq details { border-bottom: 1px solid var(--parchment-dark); padding: 16px 0; }
.guide-faq summary { cursor: pointer; font-size: 19px; font-weight: 600; color: var(--dark-brown); padding-right: 10px; }
.guide-faq details p { margin: 12px 0 0; }
.further-reading { margin-top: 38px; }
.custom-map-guide .post-cta .guild-btn-ghost { color: var(--gold-light); border-color: var(--gold); }
@media (max-width: 760px) {
  .custom-map-guide #post-page { padding-left: 20px; padding-right: 20px; }
  .custom-map-guide .post-lede { font-size: 21px; }
  .guide-start, .image-pair, .settings-layout { grid-template-columns: 1fr; }
  .guide-start { padding: 24px 20px; gap: 24px; }
  .guide-start-actions { align-items: flex-start; text-align: left; }
  .image-pair { gap: 24px; }
  .city-pair .map-figure:last-child { max-width: 420px; width: 100%; margin: 0 auto; }
  .settings-layout .map-figure { max-width: 380px; width: 100%; margin: 0 auto; }
  .guide-step { margin-top: 48px; }
  .guide-step > h2 { font-size: 20px; gap: 10px; }
  .map-figure figcaption { font-size: 15px; }
}
@media (max-width: 420px) {
  .guide-contents ol { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .custom-map-guide th, .custom-map-guide td { padding: 10px; }
}
