.atlas-library-hero, .atlas-entry { width: min(calc(100% - 32px), 1180px); margin-inline: auto; }
.atlas-library-hero { display: grid; gap: 14px; padding: clamp(70px,9vw,120px) 0 44px; text-align: center; }
.atlas-library-hero h1, .atlas-entry-header h1 { margin: 0; color: var(--ivory,#fff7e7); font: 600 clamp(44px,7vw,84px)/.98 "Cormorant Garamond",Georgia,serif; }
.atlas-library-hero > p:last-child { max-width: 720px; margin: 0 auto; color: var(--muted,#c9bda9); font-size: 17px; line-height: 1.7; }
.atlas-breadcrumbs { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted,#c9bda9); font-size: 12px; }
.atlas-breadcrumbs a:hover { color: var(--gold,#dfb866); }
.atlas-library-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; width: min(calc(100% - 32px),1180px); margin: 0 auto 70px; }
.atlas-library-card { overflow: hidden; border: 1px solid rgba(235,190,112,.18); border-radius: 22px; background: rgba(255,246,223,.045); box-shadow: 0 22px 60px rgba(0,0,0,.16); }
.atlas-card-image { display: block; aspect-ratio: 4/3; overflow: hidden; background: #25190f; }
.atlas-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.atlas-library-card:hover .atlas-card-image img { transform: scale(1.035); }
.atlas-card-image > span { display: grid; height: 100%; place-items: center; color: var(--gold,#dfb866); font: 28px Georgia,serif; }
.atlas-library-card > div { display: grid; gap: 9px; padding: 20px; }
.atlas-card-kicker, .atlas-related header > span { color: var(--gold,#dfb866); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.atlas-library-card h2 { margin: 0; color: var(--ivory,#fff7e7); font: 600 28px/1.05 "Cormorant Garamond",Georgia,serif; }
.atlas-library-card p { color: var(--muted,#c9bda9); line-height: 1.55; }
.atlas-read-link { color: var(--gold,#dfb866); font-weight: 700; }
.atlas-empty-library { grid-column: 1/-1; padding: 70px 20px; border: 1px dashed rgba(235,190,112,.25); border-radius: 20px; color: var(--muted,#c9bda9); text-align: center; }
.atlas-entry { padding: clamp(64px,8vw,110px) 0 80px; }
.atlas-entry-header { display: grid; justify-items: center; gap: 15px; max-width: 900px; margin: 0 auto 38px; text-align: center; }
.atlas-entry-lede { max-width: 780px; color: var(--muted,#c9bda9); font-size: clamp(17px,2.1vw,22px); line-height: 1.6; }
.atlas-entry-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 18px; color: var(--muted,#c9bda9); font-size: 12px; }
.atlas-entry-figure { margin: 0 0 30px; }
.atlas-image-open { position: relative; display: block; width: 100%; max-height: min(76vh,800px); overflow: hidden; border: 1px solid rgba(235,190,112,.25); border-radius: 26px; background: #120d09; padding: 0; cursor: zoom-in; }
.atlas-image-open img { display: block; width: 100%; max-height: min(76vh,800px); object-fit: contain; }
.atlas-image-open span { position: absolute; right: 18px; bottom: 18px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(10,8,6,.72); color: #fff; font-size: 26px; backdrop-filter: blur(10px); }
.atlas-entry-figure figcaption { margin-top: 9px; color: var(--muted,#c9bda9); font-size: 11px; text-align: center; }
.atlas-image-dialog { width: min(96vw,1500px); max-width: none; height: min(94vh,1000px); border: 1px solid rgba(235,190,112,.35); border-radius: 20px; background: rgba(10,8,6,.96); padding: 20px; color: #fff; }
.atlas-image-dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.atlas-image-dialog img { width: 100%; height: calc(100% - 30px); object-fit: contain; }
.atlas-image-dialog > button { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: #17110b; color: #fff; font-size: 26px; cursor: pointer; }
.atlas-image-dialog p { margin: 6px 0 0; text-align: center; }
.atlas-fact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0 0 36px; }
.atlas-fact-grid div { display: grid; gap: 5px; padding: 16px 18px; border: 1px solid rgba(235,190,112,.18); border-radius: 15px; background: rgba(255,246,223,.04); }
.atlas-fact-grid span { color: var(--gold,#dfb866); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.atlas-fact-grid strong { color: var(--ivory,#fff7e7); }
.atlas-entry-layout { display: grid; grid-template-columns: minmax(0,760px) 180px; justify-content: center; gap: 55px; }
.atlas-entry-content { color: #eee4d3; font: 18px/1.82 Manrope,Arial,sans-serif; }
.atlas-entry-content h2, .atlas-entry-content h3 { color: var(--ivory,#fff7e7); font-family: "Cormorant Garamond",Georgia,serif; line-height: 1.1; }
.atlas-entry-content h2 { margin: 2em 0 .6em; font-size: 38px; }
.atlas-entry-content a { color: var(--gold,#dfb866); text-decoration: underline; text-underline-offset: 3px; }
.atlas-entry-side { position: sticky; top: 110px; display: grid; align-content: start; gap: 8px; height: fit-content; padding: 15px; border-left: 1px solid rgba(235,190,112,.22); color: var(--muted,#c9bda9); font-size: 12px; }
.atlas-entry-side strong { color: var(--ivory,#fff7e7); }
.atlas-entry-side a:hover { color: var(--gold,#dfb866); }
.atlas-app-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 65px; padding: clamp(24px,4vw,42px); border: 1px solid rgba(235,190,112,.35); border-radius: 26px; background: linear-gradient(135deg,rgba(90,52,26,.75),rgba(11,19,36,.82)); }
.atlas-app-cta h2 { margin: 6px 0 8px; color: var(--ivory,#fff7e7); font: 600 clamp(30px,4vw,48px)/1 "Cormorant Garamond",Georgia,serif; }
.atlas-app-cta p { max-width: 690px; color: var(--muted,#c9bda9); line-height: 1.6; }
.atlas-app-stores { display: grid; grid-template-columns: repeat(2,minmax(140px,1fr)); gap: 8px; flex: 0 0 min(100%,360px); }
.atlas-app-stores > a { display: grid; gap: 1px; min-height: 58px; align-content: center; padding: 8px 16px; border: 1px solid rgba(255,226,139,.58); border-radius: 14px; background: linear-gradient(135deg,#f1d382,#b38332); color: #160e07; }
.atlas-app-stores small { font-size: 8px; letter-spacing: .03em; }
.atlas-app-stores strong { font-size: 16px; line-height: 1.1; }
.atlas-app-stores .atlas-app-open { grid-column: 1/-1; min-height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,246,223,.06); color: var(--ivory,#fff7e7); font-size: 12px; font-weight: 800; }
.atlas-related { margin-top: 60px; }
.atlas-related header { margin-bottom: 16px; }
.atlas-related h2 { margin: 5px 0; color: var(--ivory,#fff7e7); font: 600 38px/1 "Cormorant Garamond",Georgia,serif; }
.atlas-related > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.atlas-related a { display: grid; gap: 8px; padding: 18px; border: 1px solid rgba(235,190,112,.17); border-radius: 16px; background: rgba(255,246,223,.035); }
.atlas-related a span { color: var(--gold,#dfb866); font-size: 10px; text-transform: uppercase; }
.atlas-related a strong { color: var(--ivory,#fff7e7); }
.atlas-related a small { color: var(--gold,#dfb866); }
@media (max-width: 900px) { .atlas-library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .atlas-entry-layout { grid-template-columns: 1fr; gap: 24px; } .atlas-entry-side { position: static; grid-template-columns: auto auto auto; border: 1px solid rgba(235,190,112,.18); border-radius: 14px; } }
@media (max-width: 620px) { .atlas-library-grid { grid-template-columns: 1fr; } .atlas-library-hero { padding-top: 48px; } .atlas-library-hero h1, .atlas-entry-header h1 { font-size: 44px; } .atlas-entry { padding-top: 44px; } .atlas-image-open, .atlas-image-open img { max-height: 64vh; border-radius: 18px; } .atlas-fact-grid, .atlas-related > div { grid-template-columns: 1fr; } .atlas-entry-content { font-size: 16px; line-height: 1.75; } .atlas-entry-content h2 { font-size: 31px; } .atlas-app-cta { align-items: stretch; flex-direction: column; } .atlas-app-stores { grid-template-columns: 1fr; flex-basis: auto; } .atlas-app-stores .atlas-app-open { grid-column: auto; text-align: center; } }
