/* The Tarantula Den: single-page editorial species prototype, 11 November 2026.
   Scoped to body.td-species-refresh. Existing site.css and all other pages remain unchanged. */
body.td-species-refresh {
  --td-ink: #1b211e;
  --td-moss: #26342c;
  --td-muted: #59635b;
  --td-brass: #ba9343;
  --td-line: #dad8cf;
  --td-paper: #f6f4ee;
  --td-max: 1170px;
  color: var(--td-ink);
  background: #fff;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}
body.td-species-refresh .site-header {
  position: relative !important;
  top: auto !important;
  background: #151a18 !important;
  border: 0 !important;
  border-bottom: 2px solid #b99855 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.td-species-refresh .site-header .header-inner {
  width: min(var(--td-max),calc(100% - 44px));
  min-height: 86px !important;
}
body.td-species-refresh .site-header .brand-copy b,
body.td-species-refresh .site-header .desktop-site-nav a {
  color: #f7f2e7 !important;
}
body.td-species-refresh .site-header .brand-copy small {
  color: #d3c7b2 !important;
}
body.td-species-refresh .site-header .desktop-site-nav a:hover {
  color: #eecb81 !important;
}
body.td-species-refresh .site-header details.mobile-menu summary {
  color: #201c16 !important;
  background: #f4d57d !important;
  border: 1px solid #d6ae5c !important;
  box-shadow: none !important;
}
body.td-species-refresh .td-breadcrumbs {
  margin: 0 auto;
  padding: 18px 0 8px;
  width: min(var(--td-max),calc(100% - 44px));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 11px;
  row-gap: 3px;
  font-size: .76rem;
  color: #706c61;
  letter-spacing: .01em;
}
body.td-species-refresh .td-breadcrumbs a {
  color: #38564b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.td-species-refresh .td-breadcrumbs .sep {
  color: #a8a69d;
}
body.td-species-refresh .article-hero {
  background: #f6f4ee !important;
  border: 0 !important;
  isolation: auto !important;
  overflow: visible !important;
}
body.td-species-refresh .article-hero::before,
body.td-species-refresh .article-hero::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
  opacity: 0 !important;
}
body.td-species-refresh .article-hero .article-hero-inner {
  display: grid !important;
  width: min(var(--td-max),calc(100% - 44px)) !important;
  grid-template-columns: minmax(0,1fr) minmax(330px,415px) !important;
  align-items: center !important;
  gap: clamp(38px,5.5vw,78px) !important;
  padding: 35px 0 55px !important;
  margin: 0 auto !important;
}
body.td-species-refresh .article-hero .hero-copy {
  max-width: 680px !important;
  min-width: 0;
  padding: 0 !important;
}
body.td-species-refresh .article-hero .hero-copy .eyebrow {
  color: #796034 !important;
  font-size: .70rem;
  letter-spacing: .18em;
  margin-bottom: 15px;
}
body.td-species-refresh .td-common-name {
  margin: 0 0 7px !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  font-weight: 400;
  line-height: 1.25;
  color: #8d6c34 !important;
}
body.td-species-refresh .article-hero h1 {
  max-width: 690px !important;
  margin: 0 0 22px !important;
  color: #17241c !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  font-size: clamp(2.6rem,4.3vw,4.25rem) !important;
  line-height: 1.10 !important;
  letter-spacing: -.035em !important;
}
body.td-species-refresh .article-hero .intro {
  max-width: 630px !important;
  color: #404b42 !important;
  font-size: clamp(.98rem,1.22vw,1.09rem) !important;
  line-height: 1.80 !important;
  margin: 0 0 27px !important;
}
body.td-species-refresh .td-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 24px;
}
body.td-species-refresh .td-hero-points span {
  display: inline-flex;
  border: 1px solid #c3c8bf;
  color: #355246;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .02em;
  background: transparent;
}
body.td-species-refresh .article-hero .alias-box {
  margin: 0 !important;
  padding: 18px 0 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  border-top: 1px solid #d3d1c7 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  max-width: none !important;
}
body.td-species-refresh .article-hero .alias-box p {
  font-size: .86rem !important;
  line-height: 1.55;
  color: #626c62 !important;
  margin: 2px 0 5px !important;
}
body.td-species-refresh .article-hero .species-photo {
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  max-width: 415px;
  margin: 0 !important;
  padding: 29px 24px 13px !important;
  background: #1e2722 !important;
  border: 1px solid #3b453e !important;
  border-top: 4px solid #b99855 !important;
  border-radius: 10px !important;
  box-shadow: 0 19px 42px rgba(28,38,30,.13) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden !important;
}
body.td-species-refresh .article-hero .species-photo::before {
  content: "SPECIES PHOTOGRAPH";
  position: relative;
  align-self: flex-start;
  margin: 0 0 6px;
  color: #cfbf98;
  font-size: .65rem;
  letter-spacing: .18em;
  font-weight: 750;
}
body.td-species-refresh .article-hero .species-photo img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 445px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 3px;
  background: #151b17;
  box-shadow: none !important;
}
body.td-species-refresh .article-hero .species-photo figcaption {
  position: static !important;
  align-self: flex-start;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: .72rem !important;
  font-weight: 450 !important;
  line-height: 1.5;
  text-align: left;
}
body.td-species-refresh .article-hero .species-photo figcaption a {
  color: #d5cdbd !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 500 !important;
}
body.td-species-refresh .species-facts-wide {
  width: min(var(--td-max),calc(100% - 44px)) !important;
  margin: 0 auto !important;
  padding: 46px 0 12px !important;
}
body.td-species-refresh .species-facts-wide .section-head {
  margin-bottom: 19px !important;
  border-bottom: 1px solid #e0e0d9;
  padding-bottom: 12px;
}
body.td-species-refresh .species-facts-wide .section-head .eyebrow {
  color: #8c6f3e !important;
}
body.td-species-refresh .species-facts-wide .section-head h2 {
  color: #1d2920 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.8rem,2.6vw,2.55rem) !important;
  font-weight: 500 !important;
  line-height: 1.18;
  margin: 3px 0 !important;
}
body.td-species-refresh .species-facts-wide .facts-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 0 23px !important;
}
body.td-species-refresh .species-facts-wide .facts-grid .fact,
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n),
body.td-species-refresh .species-facts-wide .facts-grid .fact--origin,
body.td-species-refresh .species-facts-wide .facts-grid .fact--form {
  width: auto !important;
  grid-column: auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  min-height: 91px !important;
  border: 0 !important;
  border-bottom: 1px solid #dedfd9 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1e2d21 !important;
  padding: 16px 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}
body.td-species-refresh .species-facts-wide .factTop {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 3px !important;
}
body.td-species-refresh .species-facts-wide .factLabel,
body.td-species-refresh .species-facts-wide .fact:nth-child(n) .factLabel {
  color: #768076 !important;
  font-size: .66rem !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
}
body.td-species-refresh .species-facts-wide .fact strong,
body.td-species-refresh .species-facts-wide .fact:nth-child(n) strong {
  color: #233229 !important;
  font-size: .86rem !important;
  line-height: 1.48 !important;
  font-weight: 600 !important;
  overflow-wrap: anywhere;
}
body.td-species-refresh .species-facts-wide .factIcon {
  background: #ece8da !important;
  color: #657b65 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: .92rem !important;
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px !important;
}
body.td-species-refresh .layout {
  display: grid !important;
  width: min(var(--td-max),calc(100% - 44px)) !important;
  grid-template-columns: minmax(0,1fr) 275px !important;
  gap: clamp(36px,5vw,75px) !important;
  padding: 38px 0 90px !important;
  border-top: 1px solid #d9dcd6;
  margin-top: 28px !important;
}
body.td-species-refresh .layout article {
  min-width: 0;
  max-width: 790px;
}
body.td-species-refresh .layout article section h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  color: #1f3127 !important;
  font-size: clamp(1.55rem,2.2vw,2rem) !important;
  font-weight: 550 !important;
  margin: 1.4em 0 .55em !important;
}
body.td-species-refresh .layout article p,
body.td-species-refresh .layout article li {
  font-size: 1rem !important;
  line-height: 1.86 !important;
  color: #39443e !important;
}
body.td-species-refresh .layout article>section:not(.facts):not(.related)+section:not(.facts):not(.related) {
  border-top: 1px solid #e8e9e3 !important;
  margin-top: 31px !important;
  padding-top: 13px !important;
}
body.td-species-refresh .layout article .related {
  margin-top: 52px;
  border-top: 1px solid #e8e9e3;
  padding-top: 16px;
}
body.td-species-refresh .layout aside.tss-ad-slot {
  position: relative !important;
  top: auto !important;
}
body.td-species-refresh .layout article .related-grid a {
  background: #f6f4ee;
  color: #27362b;
  border: 1px solid #e1dfd4;
  box-shadow: none;
}
/* Safety: the prototype changes visual presentation only; no ads, photos or care copy changed. */
@media (max-width:1000px) {
  body.td-species-refresh .article-hero .article-hero-inner {
    grid-template-columns: minmax(0,1fr) minmax(260px,360px) !important;
    gap: 28px !important;
  }
  body.td-species-refresh .article-hero h1 {
    font-size: clamp(2.5rem,4.4vw,3.35rem) !important;
  }
  body.td-species-refresh .species-facts-wide .facts-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}
@media (max-width:820px) {
  body.td-species-refresh .site-header .header-inner {
    width: 100% !important;
  }
  body.td-species-refresh .article-hero .article-hero-inner {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 29px !important;
    padding: 21px 0 31px !important;
  }
  body.td-species-refresh .article-hero .species-photo {
    margin: 0 auto !important;
    width: min(100%,420px) !important;
  }
  body.td-species-refresh .species-facts-wide .facts-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  body.td-species-refresh .layout {
    display: block !important;
    padding: 25px 0 55px !important;
  }
  body.td-species-refresh .layout article {max-width:none;}
}
@media (max-width:480px) {
  body.td-species-refresh .td-breadcrumbs,
  body.td-species-refresh .article-hero .article-hero-inner,
  body.td-species-refresh .species-facts-wide,
  body.td-species-refresh .layout {
    width: calc(100% - 30px) !important;
  }
  body.td-species-refresh .td-breadcrumbs {font-size:.70rem;padding:16px 0 0;}
  body.td-species-refresh .article-hero h1 {
    font-size: clamp(2.20rem,10vw,2.7rem) !important;
  }
  body.td-species-refresh .td-common-name {
    font-size: 1.43rem !important;
  }
  body.td-species-refresh .article-hero .intro {
    font-size: .99rem !important;
    line-height: 1.7 !important;
  }
  body.td-species-refresh .td-hero-points span {
    font-size: .70rem !important;
    padding: 6px 10px !important;
  }
  body.td-species-refresh .article-hero .species-photo {
    padding: 18px 15px 13px !important;
  }
  body.td-species-refresh .article-hero .species-photo img {max-height: 415px !important;}
  body.td-species-refresh .species-facts-wide {
    padding-top: 27px !important;
  }
  body.td-species-refresh .species-facts-wide .facts-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 0 13px !important;
  }
  body.td-species-refresh .species-facts-wide .facts-grid .fact,
  body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n) {
    grid-column: auto !important;
    min-height: 77px !important;
    padding: 12px 0 !important;
  }
  body.td-species-refresh .species-facts-wide .factLabel {font-size:.59rem!important;}
  body.td-species-refresh .species-facts-wide .fact strong {font-size:.79rem!important;}
}


/* Tarantula Den: coloured species facts, 150-profile rollout. */
body.td-species-refresh .species-facts-wide .facts-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
}
body.td-species-refresh .species-facts-wide .facts-grid .fact,
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n),
body.td-species-refresh .species-facts-wide .facts-grid .fact--origin,
body.td-species-refresh .species-facts-wide .facts-grid .fact--form {
  --td-fact-bg:#68513b;
  min-height:118px !important;
  padding:17px 16px 16px !important;
  border:1px solid rgba(0,0,0,.12) !important;
  border-radius:13px !important;
  background:var(--td-fact-bg) !important;
  color:#fff !important;
  box-shadow:0 7px 18px rgba(35,38,30,.09) !important;
  display:flex !important;
  flex-direction:column !important;
  gap:7px !important;
  justify-content:flex-start !important;
  grid-column:auto !important;
  transition:none !important;
}
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(6n+1) {--td-fact-bg:#816129}
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(6n+2) {--td-fact-bg:#704b39}
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(6n+3) {--td-fact-bg:#45634b}
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(6n+4) {--td-fact-bg:#456074}
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(6n+5) {--td-fact-bg:#695375}
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(6n+6) {--td-fact-bg:#965c40}
body.td-species-refresh .species-facts-wide .facts-grid .fact .factTop {margin:0 0 2px !important}
body.td-species-refresh .species-facts-wide .facts-grid .fact .factLabel,
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n) .factLabel {
  color:rgba(255,255,255,.87) !important;
  letter-spacing:.09em !important;
  font-size:.67rem !important;
  font-weight:800 !important;
  line-height:1.28 !important;
}
body.td-species-refresh .species-facts-wide .facts-grid .fact strong,
body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n) strong {
  color:#fff !important;
  font-size:.92rem !important;
  line-height:1.44 !important;
  font-weight:650 !important;
  text-shadow:0 1px 1px rgba(0,0,0,.04);
}
body.td-species-refresh .species-facts-wide .facts-grid .fact .factIcon {
  background:rgba(255,255,255,.14) !important;
  color:#fff !important;
  width:28px !important;
  height:28px !important;
  flex:0 0 28px !important;
}
body.td-species-refresh .td-additional-facts {
  margin:22px 0 8px !important;
  border:1px solid #d6d6ca !important;
  border-radius:11px !important;
  background:#f7f6f1 !important;
  overflow:hidden;
  color:#324036;
}
body.td-species-refresh .td-additional-facts summary {
  cursor:pointer;
  font-size:.84rem;
  font-weight:750;
  list-style:none;
  padding:15px 20px;
  color:#3d503f;
}
body.td-species-refresh .td-additional-facts summary::-webkit-details-marker{display:none}
body.td-species-refresh .td-additional-facts summary:after {
  content:"+";float:right;font-size:1.3rem;line-height:1;color:#66735f
}
body.td-species-refresh .td-additional-facts[open] summary:after{content:"−"}
body.td-species-refresh .td-additional-facts .td-additional-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 24px;
  padding:0 20px 20px;
}
body.td-species-refresh .td-additional-facts .fact {
  display:block !important;
  min-width:0 !important;
  background:#fff !important;
  border:1px solid #e0dfd5 !important;
  border-radius:8px !important;
  padding:15px !important;
  box-shadow:none !important;
  color:#28382b !important;
}
body.td-species-refresh .td-additional-facts .factTop {
  display:flex;align-items:center;gap:8px;margin:0 0 8px !important
}
body.td-species-refresh .td-additional-facts .factLabel{
  color:#667066 !important;font-size:.64rem !important;font-weight:800 !important;letter-spacing:.07em !important;text-transform:uppercase !important
}
body.td-species-refresh .td-additional-facts .fact strong{
  color:#23362c !important;font-size:.85rem !important;font-weight:550 !important;line-height:1.54 !important
}
body.td-species-refresh .td-additional-facts .factIcon {display:none !important}
@media(max-width:1000px){
 body.td-species-refresh .species-facts-wide .facts-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px !important;
 }
}
@media(max-width:700px){
 body.td-species-refresh .species-facts-wide .facts-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-flow:row !important;
    gap:9px !important;
 }
 body.td-species-refresh .species-facts-wide .facts-grid .fact,
 body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n){
   min-height:106px !important;
   padding:14px 12px !important;
   grid-column:auto !important;
 }
 body.td-species-refresh .species-facts-wide .facts-grid .fact strong,
 body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n) strong{
   font-size:.79rem !important;
 }
 body.td-species-refresh .species-facts-wide .facts-grid .fact .factLabel,
 body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n) .factLabel{
   font-size:.60rem !important;
 }
 body.td-species-refresh .td-additional-facts .td-additional-list{
   grid-template-columns:1fr;
 }
}
@media(max-width:370px){
 body.td-species-refresh .species-facts-wide .facts-grid{gap:7px !important}
 body.td-species-refresh .species-facts-wide .facts-grid .fact,
 body.td-species-refresh .species-facts-wide .facts-grid .fact:nth-child(n){
   padding:13px 10px !important;
 }
}


/* Honest fallback on species with no verified reuse-licensed photograph. */
body.td-species-refresh .article-hero .species-photo.td-species-no-photo{
  min-height:320px !important;max-height:none !important;
  justify-content:center !important;padding:25px !important;
  background:linear-gradient(145deg,#26352b,#111b16) !important;
}
body.td-species-refresh .article-hero .species-photo.td-species-no-photo::before{
  content:"NO PHOTOGRAPH AVAILABLE" !important;
}
body.td-species-refresh .td-species-fallback{
  padding:38px 12px 45px;text-align:center;color:#f7f3e7;
}
body.td-species-refresh .td-species-fallback .td-species-fallback-kicker{
  display:block;color:#c6ab78;font-size:.65rem;letter-spacing:.16em;
  font-weight:800;margin-bottom:18px;
}
body.td-species-refresh .td-species-fallback strong{
  display:block;font-family:Georgia,serif;font-weight:500;
  line-height:1.25;font-size:clamp(1.55rem,2.7vw,2.25rem);
}
body.td-species-refresh .td-species-fallback p{
  margin:21px 0 0;color:#c3c8bb;font-size:.83rem;line-height:1.5;
}
@media(max-width:700px){
  body.td-species-refresh .article-hero .species-photo.td-species-no-photo{min-height:260px !important;}
}


/* Match the shared site navigation header on species and keeper pages. */
body.species-page .site-header{background:rgba(255,255,255,.97);color:#171717;border-bottom:1px solid #e8e2d3}
body.species-page .desktop-site-nav a{color:#30302d}
body.species-page .brand-copy b{color:#171717}
body.species-page .brand-copy small{color:#89877f}
body.species-page .mobile-menu summary{background:#101113;color:#fff;border-color:#ded8c7}

/* Site-wide consistency: keep header identical on species and guides. */
html body.article-page.species-page.td-species-refresh header.site-header{background:rgba(255,255,255,.97)!important;color:#171717!important;border-bottom:1px solid #e8e2d3!important}
html body.article-page.species-page.td-species-refresh header.site-header .desktop-site-nav a{color:#30302d!important}
html body.article-page.species-page.td-species-refresh header.site-header .brand-copy b{color:#171717!important}
html body.article-page.species-page.td-species-refresh header.site-header .brand-copy small{color:#89877f!important}
html body.article-page.species-page.td-species-refresh header.site-header .mobile-menu summary{background:#101113!important;color:#fff!important;border:1px solid #ded8c7!important}
