.tbd-q-source-paths{margin-top:20px;padding:18px;border:1px solid #cbdcd6;border-radius:14px;background:#eef6f2;color:#183343;overflow-wrap:anywhere}
.tbd-q-source-paths h4{margin:0 0 12px;font:750 16px/1.4 system-ui,sans-serif}.tbd-q-source-paths ul{margin:0;padding-left:20px}.tbd-q-source-paths li{margin:0 0 16px}.tbd-q-source-paths li:last-child{margin-bottom:0}.tbd-q-source-paths a{color:#21516a!important;text-decoration:underline!important;font-weight:700}.tbd-q-source-paths small{display:block;margin-top:5px;color:#405664;font:450 13px/1.6 system-ui,sans-serif}.tbd-q-source-paths p{font:450 13px/1.6 system-ui,sans-serif}.tbd-q-passage-links{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0!important}.tbd-q-passage-links li{margin:0}
#tbd-creation-readings{scroll-margin-top:120px}
/* Three peer sections; stack on small screens without horizontal scrolling. */
.tbdgateway-nav.tbd-q-three-sections>div{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
@media(max-width:600px){.tbdgateway-nav.tbd-q-three-sections>div{grid-template-columns:1fr;min-width:0}.tbdgateway-nav.tbd-q-three-sections a{padding:13px 12px}}

.tbd-q-deity-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.tbd-q-deity-links a{display:inline-block;padding:10px 14px;border-radius:14px;background:#e8f0eb;color:#183343;text-decoration:underline;text-underline-offset:3px}.tbd-q-deity-links a:nth-child(2){background:#f5e8cf}.tbd-q-deity-links a:nth-child(3){background:#eee6f3}
.tbd-q-pantheon-comparison{margin:32px auto;padding:clamp(22px,4vw,38px);border:1px solid #d9ded2;border-radius:24px;background:#f7f2e7;color:#183343;max-width:1200px;box-sizing:border-box}
.tbd-q-pantheon-comparison h2{font-family:Georgia,serif;font-size:clamp(28px,3vw,40px);line-height:1.2;margin:8px 0 18px}.tbd-q-comparison-kicker{font-size:11px;letter-spacing:.13em;font-weight:750;color:#54675b}
.tbd-q-comparison-table{overflow-x:auto;margin:22px 0}.tbd-q-comparison-table table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.65;background:white}.tbd-q-comparison-table caption{text-align:left;font-size:13px;padding:0 0 12px;color:#51616b}.tbd-q-comparison-table th,.tbd-q-comparison-table td{text-align:left;vertical-align:top;padding:18px;border:1px solid #dce2dc}.tbd-q-comparison-table thead{background:#183343;color:white}.tbd-q-comparison-table tbody th{background:#e6efe7}.tbd-q-comparison-table tbody tr:nth-child(even) td{background:#f6f5ef}.tbd-q-comparison-table a{color:#204f67;text-decoration:underline;text-underline-offset:3px}.tbd-q-comparison-note{font-size:14px}
@media(max-width:700px){.tbd-q-comparison-table table,.tbd-q-comparison-table tbody{display:block}.tbd-q-comparison-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tbd-q-comparison-table tr{display:block;margin-bottom:18px;border:1px solid #dce2dc;border-radius:14px;overflow:hidden}.tbd-q-comparison-table tbody th,.tbd-q-comparison-table td{display:block;border:0;border-bottom:1px solid #e2e6df}.tbd-q-comparison-table td:before{content:attr(data-label);display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:750;color:#52685e}.tbd-q-comparison-table caption{display:block}}

.tbdculture-pantheons{align-items:start}
.tbd-q-deity-directory{box-sizing:border-box;max-width:1200px;margin:28px auto;padding:clamp(20px,4vw,36px);border:1px solid #d9ded2;border-radius:24px;background:#fcf8ee;color:#183343}
.tbd-q-deity-directory h2{font-family:Georgia,serif;font-size:clamp(27px,3vw,38px);line-height:1.2;margin:0 0 12px}.tbd-q-deity-region{margin-top:24px}.tbd-q-deity-directory h3{font-family:inherit;font-size:17px;margin:0 0 12px}
.tbd-q-deity-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.tbd-q-deity-directory a.tbd-q-deity-button{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:14px 18px;border:1px solid #c7d9d2;border-radius:14px;background:#e5efe9;color:#183343;font-family:inherit;font-size:16px;font-weight:650;line-height:1.3;text-decoration:none;overflow-wrap:normal}.tbd-q-deity-directory a.tbd-q-deity-button:nth-child(3n+2){background:#f6eacb;border-color:#e7d8b0}.tbd-q-deity-directory a.tbd-q-deity-button:nth-child(3n){background:#eee5f4;border-color:#ddcee8}.tbd-q-deity-directory a.tbd-q-deity-button:hover{text-decoration:underline;box-shadow:0 4px 12px #18334316}.tbd-q-deity-directory a.tbd-q-deity-button:focus-visible{outline:3px solid #205d73;outline-offset:3px}@media(max-width:420px){.tbd-q-deity-buttons{grid-template-columns:1fr 1fr}.tbd-q-deity-directory a.tbd-q-deity-button{padding:13px;font-size:15px}}
/* Search results precede the broad discovery grid. */
.tbddirectory .tbddir-site-results[data-tbd-q-discovery]{margin:24px 0 36px;padding:22px;border:1px solid #cfddd8;border-radius:20px;background:#f5f8f5}.tbddirectory .tbddir-site-results[data-tbd-q-discovery] .tbddir-search-summary{margin:0 0 20px;font-size:1.1rem}.tbddirectory .tbd-q-result-type{display:block;margin:0 0 7px;color:#3d5b60;font-size:.76rem;font-weight:700;letter-spacing:.045em;text-transform:uppercase}.tbddirectory .tbddir-site-results article{overflow-wrap:anywhere}.tbddirectory .tbd-q-focused-result{background:#e7f0e8;padding:18px;border-radius:14px}.tbddirectory .tbd-q-search-examples{display:flex;flex-wrap:wrap;gap:10px}.tbddirectory .tbd-q-search-examples a{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;background:#e5efec;color:#214c47;border-radius:20px}.tbddirectory .tbd-q-search-examples a:focus-visible{outline:3px solid #86531e;outline-offset:3px}@media(max-width:600px){.tbddirectory .tbddir-site-results[data-tbd-q-discovery]{padding:17px}}

/* Deity names link directly from the existing regional card headings. */
.tbdculture-pantheons .tbdpantheon-copy h3 a[data-tbd-q-deity-name]{display:inline;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.tbdculture-pantheons .tbdpantheon-copy h3 a[data-tbd-q-deity-name]:hover{color:#24636b}.tbdculture-pantheons .tbdpantheon-copy h3 a[data-tbd-q-deity-name]:focus-visible{outline:3px solid #86531e;outline-offset:4px}
/* Historical context stays within its regional card. */
.tbdculture-pantheons .tbd-q-region-history{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.tbdculture-pantheons .tbd-q-region-history a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid #bacfc5;border-radius:10px;background:#e8f0e9;color:#214b45;font-size:.95rem;font-weight:650;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}.tbdculture-pantheons .tbd-q-region-history a:hover{text-decoration:underline;background:#dceadf}.tbdculture-pantheons .tbd-q-region-history a:focus-visible{outline:3px solid #86531e;outline-offset:3px}@media(max-width:600px){.tbdculture-pantheons .tbd-q-region-history a{max-width:100%}}
.tbd-q-chapters-reviewed h2{margin-top:1.7em}.tbd-q-chapters-reviewed h2:first-child{margin-top:0}.tbd-q-chapters-reviewed h3{margin-top:1.5em}.tbd-q-cv-sources{padding-left:1.5em}.tbd-q-cv-sources li{padding:12px 0;scroll-margin-top:110px}.tbd-q-cv-sources li p{font-size:.95rem;margin:.4em 0}.tbd-q-cv-further{margin-top:1rem;border:1px solid #d5ded7;border-radius:12px;padding:15px}.tbd-q-cv-further summary{cursor:pointer;font-weight:650}.tbd-q-chapters-reviewed a:focus-visible{outline:3px solid #86531e;outline-offset:3px}
