/* 2027 Editorial Monograph Layout for all 165 Sanctuary Deity Guides */

.deity-progress-bar {
    position: fixed;
    top: 62px;
    left: 0;
    height: 2px;
    width: 0%;
    z-index: 9050;
    background: linear-gradient(90deg, #b87c24, #f0c975, #e8952d);
    box-shadow: 0 0 8px rgba(232, 168, 73, 0.55);
    pointer-events: none;
    transition: width 0.08s linear;
}

.deity-layout-shell {
    max-width: 1140px;
    margin: 1.45rem auto 4.5rem auto;
    padding: 0 1.35rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 2rem;
    align-items: start;
}

.deity-monograph {
    background: rgba(14, 15, 20, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 106, 0.22);
    border-radius: 10px;
    padding: 2.35rem 2.65rem 2.5rem;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.52);
}

.deity-header-block {
    padding-bottom: 1.45rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(212, 175, 106, 0.18);
}

.deity-header-block h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.25rem, 4vw, 3.1rem);
    font-weight: 600;
    color: #f3dba0;
    margin: 0.25rem 0 0.45rem 0;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.deity-header-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.28rem;
    font-style: italic;
    color: #cfc6b6;
    line-height: 1.45;
    margin: 0;
}

/* Fast Lore & Surprising Trivia Box */
.deity-trivia-box {
    margin: 0 0 2rem 0;
    padding: 1.4rem 1.55rem;
    background: rgba(24, 19, 15, 0.76);
    border: 1px solid rgba(232, 168, 73, 0.32);
    border-left: 3px solid #e8a849;
    border-radius: 7px;
}

.deity-trivia-eyebrow {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e8a849;
    margin-bottom: 0.85rem;
}

.deity-trivia-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}

.deity-trivia-list li {
    position: relative;
    padding-left: 1.1rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.93rem;
    line-height: 1.66;
    color: #dfd8ca;
    margin: 0;
}

.deity-trivia-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e8a849;
    box-shadow: 0 0 6px rgba(232, 168, 73, 0.65);
}

.deity-trivia-list strong {
    color: #f4d898;
    font-weight: 600;
}

/* Golden Reading Measure Typography */
.deity-prose {
    max-width: 66ch;
}

.deity-prose > p.deity-lead-para {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.65;
    color: #efe7d8;
    margin: 0 0 1.35rem 0;
}

.deity-prose p {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.97rem;
    line-height: 1.82;
    color: #e4ddd0;
    margin: 0 0 1.25rem 0;
}

.deity-prose h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ebd092;
    margin: 2.35rem 0 0.85rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(212, 175, 106, 0.18);
    line-height: 1.2;
}

.deity-prose ul {
    margin: 0.7rem 0 1.45rem 0;
    padding-left: 1.2rem;
}

.deity-prose li {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.76;
    color: #dfd8ca;
    margin-bottom: 0.78rem;
}

.deity-prose strong {
    color: #f3d799;
}

.deity-stone-notes {
    background: rgba(11, 12, 17, 0.68);
    border: 1px solid rgba(212, 175, 106, 0.2);
    border-left: 3px solid #d4af6a;
    border-radius: 6px;
    padding: 1.25rem 1.4rem;
    margin: 1rem 0 1.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.deity-stone-note-item {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #dfd8ca;
}

.deity-stone-note-item strong {
    display: inline-block;
    margin-bottom: 0.15rem;
}

/* Prev / Next Guide Footer */
.deity-nav-footer {
    margin-top: 2.5rem;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(212, 175, 106, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1rem;
}

.deity-nav-link {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none !important;
    padding: 0.65rem 1rem;
    border-radius: 7px;
    border: 1px solid rgba(212, 175, 106, 0.22);
    background: rgba(10, 11, 16, 0.65);
    min-width: 180px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.deity-nav-link:hover {
    border-color: #e8a849;
    background: rgba(232, 168, 73, 0.08);
    transform: translateY(-1px);
}

.deity-nav-kicker {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a89b84;
}

.deity-nav-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    color: #efd292;
}

/* Right Sticky Sanctuary Dossier Rail */
.deity-dossier-rail {
    position: sticky;
    top: 82px;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

/* Optional Gilded Deity Portrait Card in Dossier Rail */
.dossier-portrait-card {
    padding: 0.65rem;
    background: rgba(14, 15, 20, 0.84);
    border: 1px solid rgba(212, 175, 106, 0.32);
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.dossier-portrait-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    background: #0b0c10;
    border: 1px solid rgba(212, 175, 106, 0.25);
}

.dossier-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.dossier-portrait-card:hover .dossier-portrait-frame img {
    transform: scale(1.03);
}

.dossier-card {
    background: rgba(14, 15, 20, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 106, 0.22);
    border-radius: 10px;
    padding: 1.3rem 1.35rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.dossier-eyebrow {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4af6a;
    margin-bottom: 0.85rem;
}

.dossier-fact-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dossier-fact-row {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(212, 175, 106, 0.12);
}

.dossier-fact-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.dossier-fact-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9b907d;
}

.dossier-fact-val {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.12rem;
    color: #efe5d3;
    line-height: 1.3;
}

/* Visual Altar Stone Specimen Cards inside Dossier Rail */
.dossier-stone-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dossier-stone-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem;
    border-radius: 7px;
    border: 1px solid rgba(212, 175, 106, 0.2);
    background: rgba(10, 11, 16, 0.72);
    text-decoration: none !important;
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.2s ease;
}

a.dossier-stone-card:hover {
    border-color: #e8a849;
    background: rgba(24, 21, 18, 0.86);
    transform: translateY(-1px);
}

.dossier-stone-thumb {
    width: 58px;
    height: 58px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 106, 0.22);
}

.dossier-stone-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dossier-stone-info {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.dossier-stone-role {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c9a76a;
}

.dossier-stone-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: #f3dba0;
    line-height: 1.15;
}

.dossier-stone-price {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72rem;
    color: #b7ac9a;
}

.dossier-table-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 7px;
    border: 1px solid rgba(212, 175, 106, 0.35);
    background: linear-gradient(135deg, rgba(216, 162, 72, 0.16) 0%, rgba(184, 124, 36, 0.08) 100%);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f3d799;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dossier-table-cta:hover {
    border-color: #e8a849;
    background: rgba(232, 168, 73, 0.22);
    color: #fff0c8;
}

@media (max-width: 960px) {
    .deity-layout-shell {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    .deity-dossier-rail {
        position: static;
    }
}

@media (max-width: 620px) {
    .deity-monograph {
        padding: 1.55rem 1.25rem;
    }
    .deity-progress-bar {
        top: 56px;
    }
}
