/* Shared editorial layout for the static TeleportHQ export. */
.editorial-page {
  width: min(100% - 2.5rem, 1100px);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  color: #191919;
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.6;
}
.editorial-hero { max-width: 850px; margin: 0 0 2.5rem; }
.editorial-hero h1 { margin: 0 0 1rem; font-family: 'Fira Sans', sans-serif; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.12; letter-spacing: -.025em; }
.editorial-hero p { max-width: 760px; margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; }
.editorial-eyebrow { margin: 0 0 .7rem !important; color: #875b1f; font: 700 .82rem/1.3 'Fira Sans', sans-serif !important; letter-spacing: .08em; text-transform: uppercase; }
.editorial-intro { max-width: 750px; margin: 0 0 2rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.editorial-card { min-width: 0; padding: clamp(1.4rem, 2.8vw, 2rem); border: 1px solid #e1ded8; border-top: 4px solid #ce983e; border-radius: 10px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.035); }
.editorial-card h2, .editorial-card h3 { margin: 0 0 .7rem; font-family: 'Fira Sans', sans-serif; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.25; }
.editorial-card p { margin: 0 0 .85rem; }
.editorial-card p:last-child, .editorial-card ul:last-child { margin-bottom: 0; }
.editorial-card--wide { grid-column: 1 / -1; }
.editorial-card ul, .editorial-list { padding-left: 1.35rem; margin: .6rem 0 1rem; list-style: disc outside; }
.editorial-card li, .editorial-list li { display: list-item; margin: .45rem 0; padding-left: .1rem; }
.editorial-card a:not(.editorial-button), .editorial-page a:not(.editorial-button) { text-decoration: underline; text-underline-offset: 3px; }
.editorial-button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: .9rem 1.45rem; border-radius: 999px; background: #ce983e; color: #fff; font: 600 1rem/1.35 'Fira Sans', sans-serif; text-align: center; text-decoration: none; }
.editorial-button:hover { background: #ad7629; }
.editorial-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 0; }
.editorial-note { max-width: 820px; margin: 2rem 0 0; font-size: .9rem; color: #3f3f3f; }
.editorial-page a:focus-visible, .editorial-button:focus-visible, .photo-grid a:focus-visible { outline: 3px solid #235536; outline-offset: 3px; }

.editorial-about-copy { width: min(100% - 2rem, 850px); margin: 2rem auto 4rem; text-align: left; }
.editorial-about-copy p, .editorial-about-copy .about-thq-paragraph-elm5 { font-size: clamp(1.05rem, 1.65vw, 1.2rem); line-height: 1.7; text-align: left; margin: 0 0 1.2rem; }
.editorial-about-copy .about-thq-paragraph-elm5 { border: 0; display: block; font-style: normal; }
.editorial-about-copy a { color: #795016; text-decoration: underline; text-underline-offset: 3px; }

.editorial-form-shell { width: min(100% - 2rem, 760px); margin: 0 auto 3rem; text-align: center; }
.editorial-form-shell .editorial-actions { justify-content: center; }
.editorial-form-shell iframe { width: min(100%, 640px); max-width: 100%; border: 0; }
.editorial-form-shell .component1-container1, .editorial-form-shell .component2-container1 { display: block; }
.editorial-form-shell .contact-container4, .editorial-form-shell .join-thq-actions-elm { border: 0; }
.editorial-form-shell .contact-container4 { justify-content: center; }
.editorial-form-shell .site-form-fallback { padding: 1rem 0; }
.editorial-form-shell .site-form-fallback .editorial-button { color: #fff; text-decoration: none; }
.editorial-form-shell .site-form-fallback .editorial-form-hint { display: block; margin-top: .7rem; }
.editorial-form-hint { margin: .8rem 0 1.5rem; color: #464646; }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0 0; }
.photo-grid figure { min-width: 0; margin: 0; }
.photo-grid a { display: block; background: #eeece8; border-radius: 8px; overflow: hidden; }
.photo-grid img { display: block; width: 100%; height: 250px; object-fit: cover; }
.photo-grid figcaption { margin-top: .5rem; color: #444; font-size: .88rem; line-height: 1.45; }
.photo-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.photo-lightbox { width: min(95vw, 1100px); max-height: 94vh; padding: 2.5rem 1rem 1rem; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 12px 60px rgba(0,0,0,.4); }
.photo-lightbox::backdrop { background: rgba(0,0,0,.82); }
.photo-lightbox img { display: block; width: 100%; max-height: 75vh; object-fit: contain; }
.photo-lightbox p { margin: .65rem 0 0; text-align: center; line-height: 1.4; }
.photo-lightbox button { position: absolute; right: .65rem; top: .4rem; padding: .35rem .65rem; background: #fff; color: #111; font-size: 1.6rem; cursor: pointer; }

/* Keep the existing documentary images, but display them as a stable grid. */
.record-gallery { width: min(100% - 2.5rem, 1100px); }
.record-gallery-heading { align-items: flex-end; }
.record-gallery-controls { display: none; }
.record-gallery-track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; gap: 1.2rem; padding: 0; }
.record-photo img { height: 235px; aspect-ratio: auto; object-fit: cover; border-radius: 8px; }
.record-photo figcaption { padding: .45rem 0; }
.record-topic-link { width: min(100% - 2.5rem, 1000px); margin: .8rem auto 2rem; line-height: 1.6; }
.record-topic-link a { color: #795016; text-decoration: underline; text-underline-offset: 3px; }
.the-record-thq-column-elm { width: min(100% - 2.5rem, 1000px); align-items: stretch; text-align: left; }
.the-record-thq-content-elm1 { align-items: stretch; text-align: left; }
.the-record-thq-text-elm1, .the-record-thq-text-elm2, .the-record-thq-text-elm3 { text-align: left; }
.the-record-thq-text-elm1 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.15; }
.the-record-thq-text-elm2, .the-record-thq-text-elm3 { max-width: 760px; line-height: 1.65; }
.the-record-thq-text-elm4 { width: min(100% - 2.5rem, 1000px); margin: 0 auto 2rem; gap: 1.3rem; }
.the-record-thq-text-elm4 iframe { display: block; width: min(100%, 640px); height: auto; aspect-ratio: 16 / 9; }
.the-record-thq-text-elm4 h2 { line-height: 1.2; }

/* Smaller guide pages retain their copy while sharing one measure and panel style. */
.editorial-guide { width: min(100% - 2rem, 1000px); margin: 0 auto; }
.editorial-guide [class*='thq-column-elm'] { width: 100%; padding: 3.5rem 0 1.3rem; }
.editorial-guide [class*='thq-content-elm1'] { align-items: stretch; text-align: left; }
.editorial-guide h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.15; text-align: left; }
.editorial-guide h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.3; text-align: left; }
.editorial-guide p { max-width: 850px; font-size: 1.05rem; line-height: 1.65; text-align: left; }
.editorial-guide .guide-panel { width: 100%; max-width: 900px; padding: 1.2rem 1.5rem; border: 1px solid #e1ded8; border-left: 4px solid #ce983e; border-radius: 8px; margin: .6rem 0; background: #fff; }
.editorial-guide .guide-links { width: 100%; max-width: 900px; padding: 1.2rem; border-radius: 8px; background: #f7f4ed; }
.editorial-guide .guide-links ul { margin: .6rem 0 0; padding-left: 1.3rem; list-style: disc; }
.editorial-guide .guide-links li { margin: .4rem 0; }
.editorial-guide .start-button { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; max-width: 100%; margin: 1.5rem 0 3rem; text-align: center; }
.editorial-guide [class*='thq-row-container-elm'] { display: none; }
.editorial-guide .elfsight-app-0c696210-ee07-45ed-b5e7-fcb85c7333d1 { min-height: 300px; }
.review-editorial { width: 100%; padding: 0 0 2rem; }
.editorial-guide .the-bowie-reviews-austin-tx-text16 { max-width: 820px; margin: .2rem 0 1.2rem; font-size: 1.15rem; font-weight: 400; line-height: 1.6; }

.editorial-faq { width: min(100% - 2.5rem, 1000px); margin: 0 auto 3rem; padding: 0; }
.editorial-faq [class*='thq-list-item'] { padding: 1.2rem 0; border-bottom: 1px solid #e5e1da; }
.editorial-faq [class*='faq'][class*='question'] { font-weight: 700; }
.editorial-faq .thq-body-small { display: block; max-width: 850px; line-height: 1.65; }
.editorial-faq .editorial-list { margin: .5rem 0 1rem; padding-left: 1.4rem; list-style: disc outside; }
.editorial-faq .editorial-list li { display: list-item; margin: .35rem 0; }
.editorial-faq .editorial-steps { margin: .5rem 0 1rem; padding-left: 1.4rem; list-style: decimal outside; }
.editorial-faq .editorial-steps li { display: list-item; margin: .35rem 0; }
.editorial-home-links { width: min(100% - 2rem, 1000px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 2rem auto 3rem; }
.editorial-home-links a { padding: 1.4rem; border-top: 4px solid #ce983e; border-radius: 8px; background: #f7f4ed; color: #171717; text-decoration: none; line-height: 1.45; }
.editorial-home-links strong { display: block; margin-bottom: .35rem; font-family: 'Fira Sans', sans-serif; font-size: 1.25rem; }
.editorial-home-links a:hover { background: #ede5d4; }
.editorial-not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
.editorial-not-found .not-found-text2 { line-height: .9; }

@media (max-width: 767px) {
  .editorial-page { width: min(100% - 2rem, 1100px); padding: 2.5rem 0; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card--wide { grid-column: auto; }
  .photo-grid, .record-gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-home-links { grid-template-columns: 1fr; }
  .editorial-guide [class*='thq-column-elm'] { padding: 2.5rem 0 1rem; }
}
@media (max-width: 520px) {
  .editorial-page { width: min(100% - 2rem, 1100px); }
  .editorial-hero h1 { overflow-wrap: anywhere; }
  .editorial-actions { flex-direction: column; align-items: stretch; }
  .photo-grid, .photo-grid--two, .record-gallery-track { grid-template-columns: 1fr; }
  .photo-grid img { height: auto; aspect-ratio: 4 / 3; }
  .record-photo img { height: auto; aspect-ratio: 4 / 3; }
  .editorial-guide .guide-panel { padding: 1rem; }
}

/* Issue guide hub inside The Record; the shared header remains uncluttered. */
.record-issue-guides { width: min(100% - 2.5rem, 1000px); margin: 1.5rem auto 2rem; padding: 1.5rem; border-radius: 10px; background: #f7f4ed; text-align: left; }
.record-issue-guides h2 { margin: 0 0 1rem; font: 700 clamp(1.35rem, 2vw, 1.7rem)/1.25 'Fira Sans', sans-serif; }
.record-issue-guides ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; list-style: none; padding: 0; margin: 0; }
.record-issue-guides li { min-width: 0; }
.record-issue-guides a { display: block; height: 100%; padding: .85rem 1rem; border-radius: 7px; background: #fff; color: #191919; font-weight: 700; text-decoration: none; }
.record-issue-guides a:hover, .record-issue-guides a:focus-visible { outline: 2px solid #ce983e; }
.record-issue-guides span { display: block; margin-top: .2rem; color: #5b4b34; font-size: .85rem; font-weight: 400; }
@media (max-width: 600px) { .record-issue-guides ul { grid-template-columns: 1fr; } }
