/* TRL interior pages, version 1. Canonical homepage visual lock is untouched.
   Reuse exact approved crest, sandstone / gold / cream palette. */
body.trl-interior-page { background:#f4e4cc; color:#492f1f; }
.trl-interior-page .trl-subpage-header,
.trl-interior-page .trl-interior-header {
  background:linear-gradient(115deg,#4b210e,#733817 55%,#4d240f);
  color:#ffe9bf; border-bottom:3px solid #c88a37; padding:0;
  box-shadow:0 7px 16px rgba(50,23,11,.18);
}
.trl-interior-page .trl-subpage-top,
.trl-interior-page .trl-interior-header .trl-interior-top {
  max-width:1180px; margin:0 auto; width:min(1180px,calc(100% - 2rem));
  display:flex;justify-content:space-between;align-items:center;gap:1.3rem;
  padding:.7rem 0;min-height:108px;
}
.trl-interior-page .trl-subpage-brand,
.trl-interior-page .trl-interior-brand {
  display:flex; align-items:center; gap:1rem; color:#fff0cf; text-decoration:none;
}
.trl-interior-page .trl-subpage-brand img,
.trl-interior-page .trl-interior-brand img {
  display:block;width:105px;height:92px;object-fit:contain;
  filter:drop-shadow(0 3px 4px rgba(28,10,3,.35));
}
.trl-interior-page .trl-subpage-brand span,
.trl-interior-page .trl-interior-brand span {display:block;border-left:1px solid #dda250;padding-left:1rem;}
.trl-interior-page .trl-subpage-brand strong,
.trl-interior-page .trl-interior-brand strong {
  display:block; font:600 clamp(1.25rem,2vw,1.8rem)/1.13 Georgia,'Times New Roman',serif;
  color:#ffe6b0;
}
.trl-interior-page .trl-subpage-brand small,
.trl-interior-page .trl-interior-brand small {display:block;color:#ffdfaa;font:italic .92rem Georgia,serif;margin-top:.25rem;}
.trl-interior-page .trl-subpage-header nav,
.trl-interior-page .trl-interior-header nav {
  display:flex;justify-content:flex-end;align-items:center;gap:.5rem 1.05rem;flex-wrap:wrap;
}
.trl-interior-page .trl-subpage-header nav a,
.trl-interior-page .trl-interior-header nav a {
  color:#fff1d6;font-size:.94rem;font-weight:600;text-decoration:none;
}
.trl-interior-page .trl-subpage-header nav a:hover,
.trl-interior-page .trl-interior-header nav a:hover {text-decoration:underline;text-underline-offset:4px;}
.trl-interior-page .trl-subpage-header nav a:last-child,
.trl-interior-page .trl-interior-header nav a:last-child {
  color:#44230f;background:linear-gradient(#fbe2a2,#c78631);
  border:1px solid #e6b35c;padding:.55rem 1rem;border-radius:999px;
}
.trl-interior-page .trl-editorial-page,
.trl-interior-page .trl-interior-main {
  background:linear-gradient(180deg,#f3e2c8 0%,#fff7eb 40%,#ead3b4 100%);
  min-height:65vh;padding:clamp(2.7rem,5vw,4.7rem) 0;
}
.trl-interior-page .trl-editorial-layout,
.trl-interior-page .trl-legal-article {max-width:850px;margin-inline:auto;}
.trl-interior-page .trl-interior-main h1,
.trl-interior-page .trl-editorial-page h1 {
  font-family:Georgia,'Times New Roman',serif;color:#512d18;font-size:clamp(2rem,4vw,3rem);
  line-height:1.15;letter-spacing:-.025em;
}
.trl-interior-page .trl-interior-main h2,
.trl-interior-page .trl-editorial-page h2 {font-family:Georgia,serif;color:#633a21;}
.trl-interior-page .trl-interior-main p,
.trl-interior-page .trl-editorial-page p {line-height:1.8;}
.trl-interior-page .trl-interior-footer,
.trl-interior-page .trl-subpage-footer {
  background:#48291a;color:#f2ddbd;border-top:2px solid #c0893d;
  padding:1.6rem 0;font-size:.94rem;
}
.trl-interior-page .trl-interior-footer a,
.trl-interior-page .trl-subpage-footer a {color:#ffe1a7;}
.trl-interior-page .trl-interior-footer .container {display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;}
.trl-interior-page .trl-interior-footer p {margin:.25rem 0;}
.trl-interior-page .trl-retrieve-intro {font:italic 1.18rem/1.7 Georgia,serif;color:#744725;}
.trl-interior-page .trl-retrieve-card {
  background:#fff9ef;border:1px solid #d6b383;border-radius:20px;
  box-shadow:0 13px 30px rgba(76,42,18,.09);
  padding:clamp(1.25rem,3vw,2rem);max-width:680px;
}
.trl-interior-page .trl-retrieve-form {display:grid;gap:.6rem;max-width:500px;}
.trl-interior-page .trl-retrieve-form label {font-weight:700;color:#5a371f;margin-top:.4rem;}
.trl-interior-page .trl-retrieve-form input {
  width:100%;padding:.87rem 1rem;background:#fffefb;border-radius:9px;
  border:1px solid #c9a579;color:#472b19;font-size:1rem;
}
.trl-interior-page .trl-retrieve-form input:focus-visible {outline:3px solid #c2944c;outline-offset:2px;}
.trl-interior-page .trl-retrieve-form button {justify-self:start;margin-top:.7rem;}
.trl-interior-page .trl-retrieve-status {min-height:1.5rem;margin-top:.8rem;line-height:1.7;}
.trl-interior-page .trl-retrieve-help {max-width:700px;margin-top:2rem;padding:1.25rem;background:#eddbc0;border-left:3px solid #bb8340;border-radius:0 12px 12px 0;}
.trl-interior-page .trl-legal-article {background:#fff8ed;padding:clamp(1.5rem,4vw,3rem);border:1px solid #ddbf96;border-radius:15px;box-shadow:0 9px 24px rgba(68,37,17,.06);}
.trl-interior-page .trl-legal-article h2 {margin-top:1.8rem;}
.trl-interior-page .trl-legal-article a {color:#75451f;}
.trl-interior-page .trl-legal-article .muted {color:#80654f;font-size:.95rem;}
@media(max-width:850px){
 .trl-interior-page .trl-subpage-top,.trl-interior-page .trl-interior-header .trl-interior-top {flex-direction:column;align-items:flex-start;}
 .trl-interior-page .trl-subpage-header nav,.trl-interior-page .trl-interior-header nav {justify-content:flex-start;}
 .trl-interior-page .trl-interior-brand img,.trl-interior-page .trl-subpage-brand img {width:77px;height:70px;}
}
@media(max-width:480px){
 .trl-interior-page .trl-subpage-header nav,.trl-interior-page .trl-interior-header nav {gap:.6rem;}
 .trl-interior-page .trl-retrieve-form button {width:100%;}
}

/* TRL INTERIOR HEADER MASTER — approved 2026-11-15
   Exactly one image asset and one set of positioned links for all interior pages.
   Homepage visual master remains untouched; do not add arch artwork here. */
.trl-interior-page .trl-approved-interior-header {
  display:block!important;
  position:relative;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box;
  width:100%;
  aspect-ratio:1672 / 195;
  min-height:0;
  background:#502309;
  border-bottom:2px solid #c48a42;
  isolation:isolate;
  overflow:hidden;
}
.trl-approved-interior-header > img {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:fill;
  filter:none!important;
}
.trl-interior-header-links {position:absolute;inset:0;pointer-events:none;}
.trl-interior-link {position:absolute;z-index:3;display:block;pointer-events:auto;background:transparent;text-decoration:none;border-radius:5px;}
.trl-interior-link:hover {background:rgba(255,219,140,.07);}
.trl-interior-link:focus-visible {outline:3px solid #ffdd8f;outline-offset:2px;background:rgba(80,35,9,.22);}
.trl-visually-hidden {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
.trl-interior-link-home {left:51.4%;top:25%;width:6.2%;height:37%;}
.trl-interior-link-books {left:58.8%;top:25%;width:6.9%;height:37%;}
.trl-interior-link-resources {left:67.9%;top:25%;width:10.2%;height:37%;}
.trl-interior-link-about {left:80.0%;top:25%;width:6%;height:37%;}
.trl-interior-link-contact {left:87.3%;top:23%;width:10%;height:38%;border-radius:999px;}
.trl-interior-page .trl-interior-mobile-header {display:none!important;}
@media (max-width:900px) {
  .trl-interior-page .trl-approved-interior-header {display:none!important;}
  .trl-interior-page .trl-interior-mobile-header {display:block!important;}
}

/* APPROVED INTERIOR PAGE SHADING — 2026-11-15
   Darker warm beige → creamy center → darker warm beige.
   Shared by About, How to Begin, Retrieval, Terms, Privacy and Disclaimer.
   Exact approved bronze header image and locked homepage are unchanged. */
html { margin:0; }
body.trl-interior-page { margin:0!important; padding:0!important; }
body.trl-interior-page > .trl-approved-interior-header {
  display:block;
  margin:0!important;
  border-top:0!important;
}
body.trl-interior-page .trl-editorial-page,
body.trl-interior-page .trl-interior-main {
  background:linear-gradient(
    180deg,
    #d8b58e 0%,
    #edcfaa 17%,
    #faecd8 37%,
    #fff7e9 52%,
    #f2ddbf 69%,
    #d9b18b 86%,
    #cfa47c 100%
  )!important;
  background-color:#f3e1c7!important;
  min-height:65vh;
}
body.trl-interior-page .trl-interior-footer,
body.trl-interior-page .trl-subpage-footer { margin:0; }

/* 2026-11-15 approved header edge repair.
   Source image contains 4px pale export fringe at top; crop it in presentation
   without changing artwork/crest, proportions, layout or hotspot coordinates. */
@media (min-width:901px) {
  body.trl-interior-page .trl-approved-interior-header > img {
    top:-5px!important;
    bottom:auto!important;
    height:calc(100% + 5px)!important;
  }
}

/* Interior legal-page width normalization — 2026-11-15.
   Legacy standalone legal-page inline CSS constrains <main> to 800px;
   the shared approved beige gradient must span the entire viewport.
   Keep article reading measure centered; do not touch header/hero or copy. */
body.trl-interior-page main.trl-interior-main {
  max-width:none;
  width:100%;
  margin-left:0;
  margin-right:0;
}

/* Clean top edge of the approved desktop interior header.
   Hide the remaining pale export seam without shifting/cropping the crest
   or changing the approved header artwork or navigational hotspots. */
@media (min-width:901px) {
  body.trl-interior-page .trl-approved-interior-header::after {
    content:"";
    position:absolute;
    z-index:2;
    inset:0 0 auto 0;
    height:5px;
    background:linear-gradient(90deg,#48200d,#52250e 50%,#48200d);
    pointer-events:none;
  }
}

/* Mobile header visibility safeguard — desktop asset must not reappear
   because of the later body-qualified header display rule above.
   Keep the existing accessible live-text header at <=900px. */
@media (max-width:900px) {
  body.trl-interior-page > .trl-approved-interior-header {
    display:none!important;
  }
  body.trl-interior-page > .trl-interior-mobile-header {
    display:block!important;
  }
}
