/* Author website interior pages. All content is Gutenberg blocks. */
.dnj-page-shell {min-height:70vh; padding:150px 24px 95px; margin-block:0; background:radial-gradient(ellipse at 10% 10%,rgba(147,51,234,.13),transparent 38%),radial-gradient(ellipse at 90% 50%,rgba(34,211,238,.08),transparent 40%),#080d1f;color:#fff;box-sizing:border-box}
.dnj-page-shell > .wp-block-group__inner-container {max-width:1152px;margin:auto}
.dnj-page-shell h1 {font-size:clamp(2.5rem,5vw,4rem);line-height:1.1; margin:0 0 28px; color:#fff}
.dnj-page-shell h2 {color:#fff;font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.2}
.dnj-page-shell h3{color:#fff;font-size:1.4rem}
.dnj-page-shell p {color:#cbd5e1;line-height:1.8}
.dnj-page-shell .dnj-eyebrow {color:#22d3ee;font-size:.86rem;letter-spacing:.24em;font-weight:700;text-transform:uppercase}
.dnj-page-shell .dnj-lead {font-size:1.14rem;max-width:760px}
.dnj-page-shell .dnj-card {border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(255,255,255,.045);padding:32px;box-sizing:border-box}
.dnj-page-shell .dnj-card h2,.dnj-page-shell .dnj-card h3{margin-top:0}
.dnj-page-shell .dnj-card p {margin-bottom:14px}
.dnj-page-shell .wp-block-columns {gap:42px;align-items:center}
.dnj-page-shell figure.wp-block-image img {max-width:100%;height:auto;border-radius:16px;box-shadow:0 25px 65px rgba(147,51,234,.22)}
.dnj-page-shell .wp-block-buttons {margin-top:24px;gap:14px}
.dnj-page-shell .wp-block-button__link{padding:14px 23px;border-radius:12px;background:#9333ea;color:#fff;font-weight:700;text-decoration:none}
.dnj-page-shell .is-style-outline .wp-block-button__link{border:1px solid rgba(34,211,238,.55);background:transparent;color:#67e8f9}
.dnj-page-shell a:not(.wp-block-button__link){color:#67e8f9}
.dnj-page-shell .dnj-note {font-size:.89rem;color:#94a3b8}
.dnj-page-shell .dnj-grid .wp-block-column{align-self:stretch}
.dnj-page-shell .dnj-grid .wp-block-column .dnj-card{height:100%}
.dnj-homepage-extra:empty {display:none}
.dnj-site-content {min-height:55vh;padding:120px 24px 75px;background:#080d1f;color:#fff;box-sizing:border-box}
.dnj-site-content > *{max-width:900px;margin-left:auto;margin-right:auto}
.dnj-site-content p{color:#cbd5e1}
@media(max-width:781px){.dnj-page-shell{padding:120px 20px 70px}.dnj-page-shell .dnj-card{padding:24px}.dnj-page-shell .wp-block-columns{gap:28px}}

.dnj-contact-form{display:flex;flex-direction:column;gap:12px}.dnj-contact-form label{font-weight:600;color:#e2e8f0}.dnj-contact-form input,.dnj-contact-form select,.dnj-contact-form textarea{box-sizing:border-box;width:100%;border:1px solid #475569;border-radius:12px;background:#111b35;color:#fff;padding:13px 15px;font:inherit}.dnj-contact-form button{border:none;border-radius:12px;background:#9333ea;color:#fff;font:inherit;font-weight:700;padding:15px;cursor:pointer}.dnj-contact-form button:disabled{opacity:.5;cursor:not-allowed}.dnj-contact-hint{font-size:12px;color:#94a3b8}.dnj-contact-feedback{padding:12px;border:1px solid #22d3ee;border-radius:10px;color:#a5f3fc}


/* Singularity and media page enhancements */
.dnj-singularity-page .dnj-feature-split,
.dnj-media-page .dnj-media-feature{margin-top:26px}
.dnj-singularity-page .dnj-feature-columns,
.dnj-media-page .dnj-feature-columns{gap:48px}
.dnj-singularity-page .dnj-book-cover img{border-radius:22px;box-shadow:0 25px 70px rgba(147,51,234,.28)}
.dnj-singularity-page .dnj-pill-list{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.dnj-singularity-page .dnj-pill-list li{padding:10px 14px;border:1px solid rgba(103,232,249,.28);border-radius:999px;background:rgba(255,255,255,.04);color:#dbeafe;font-size:.95rem}
.dnj-inline-buttons .wp-block-button__link{min-width:172px;text-align:center}
.dnj-quote-card{text-align:left;background:linear-gradient(135deg,rgba(147,51,234,.14),rgba(255,255,255,.035))}
.dnj-embed-shell{border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:14px;background:rgba(255,255,255,.03);box-shadow:0 20px 50px rgba(2,6,23,.35)}
.dnj-gallery-grid{margin-top:24px}
.dnj-gallery-grid .wp-block-image img{width:100%;height:100%;object-fit:cover;border-radius:18px;box-shadow:0 16px 38px rgba(2,6,23,.35)}
.dnj-gallery-grid .wp-block-image{overflow:hidden}
.dnj-mini-card{height:100%;padding:0;border:0;background:transparent}
.dnj-mini-card p{margin-bottom:0}
.dnj-theme-grid .wp-block-column{align-self:stretch}
.dnj-theme-grid .wp-block-column>.wp-block-group{height:100%;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:rgba(255,255,255,.03);padding:24px}
.dnj-resource-band{background:linear-gradient(135deg,rgba(34,211,238,.08),rgba(147,51,234,.16))}
.dnj-author-inline-image img{max-width:300px}
.dnj-media-feature-image img{border-radius:18px}
.dnj-card + .dnj-card{margin-top:28px}
.dnj-page-shell .wp-block-columns.dnj-grid{margin-top:18px}
@media (max-width: 781px){
  .dnj-singularity-page .dnj-pill-list{display:grid;grid-template-columns:1fr}
  .dnj-inline-buttons .wp-block-button,
  .dnj-inline-buttons .wp-block-button__link{width:100%}
  .dnj-resource-band .wp-block-buttons{justify-content:flex-start !important}
  .dnj-gallery-grid .wp-block-image img{min-height:220px}
}


/* ==========================================
   BOOKS PAGE — COVER SIZE FIX
   ========================================== */

/* Contain the featured book cover */
.dnj-page-shell .dnj-books-cover {
    display: block !important;
    width: auto !important;
    max-width: min(100%, 310px) !important;
    max-height: 430px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto 24px !important;
    border-radius: 12px;
    box-shadow: 0 20px 55px rgba(147, 51, 234, 0.24);
}

/* Keep the three smaller book covers consistent */
.dnj-page-shell .dnj-grid .dnj-books-cover {
    max-width: min(100%, 210px) !important;
    max-height: 300px !important;
}

/* Prevent covers from overflowing their columns */
.dnj-page-shell .wp-block-column {
    min-width: 0;
}

/* Center the book cards */
.dnj-page-shell .dnj-grid .dnj-card {
    text-align: center;
    height: 100%;
}

.dnj-page-shell .dnj-grid .wp-block-buttons {
    justify-content: center;
}

/* Mobile sizing */
@media (max-width: 781px) {
    .dnj-page-shell .dnj-books-cover {
        max-width: min(100%, 240px) !important;
        max-height: 340px !important;
    }

    .dnj-page-shell .dnj-grid .dnj-books-cover {
        max-width: min(100%, 190px) !important;
        max-height: 270px !important;
    }
}

/* ==========================================
   BOOKS PAGE — EVEN CARD IMAGE SIZES
   ========================================== */

.dnj-grid .wp-block-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 290px;
  margin-bottom: 24px;
}

.dnj-grid .wp-block-image img {
  width: 100%;
  max-width: 190px;
  height: 260px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
}

/* Optional: keep card content spaced evenly */
.dnj-grid .dnj-card {
  height: 100%;
  text-align: center;
}

.dnj-grid .wp-block-buttons {
  justify-content: center;
}

/* Mobile */
@media (max-width: 781px) {
  .dnj-grid .wp-block-image {
    min-height: 250px;
  }

  .dnj-grid .wp-block-image img {
    max-width: 170px;
    height: 230px;
  }
}

/* Append to assets/css/pages.css in the active WordPress theme */
.dnj-sword-page .dnj-book-detail-cover{display:block;max-width:min(100%,325px);height:auto;margin-inline:auto;filter:drop-shadow(0 20px 34px rgba(147,51,234,.24))}
.dnj-sword-page .dnj-sword-audio{margin-top:52px;padding:clamp(24px,4vw,46px);border:1px solid rgba(103,232,249,.28);border-radius:24px;background:linear-gradient(135deg,rgba(34,211,238,.08),rgba(147,51,234,.12))}
.dnj-sword-page .dnj-sword-player{margin:26px 0 12px;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#151d35}
.dnj-sword-page .dnj-sword-player audio{width:100%;color-scheme:dark}
.dnj-sword-page .dnj-book-detail-about{margin-top:32px}
@media(max-width:781px){.dnj-sword-page .dnj-book-detail-cover{max-width:250px}.dnj-sword-page .dnj-sword-player{padding:10px}}


/* ==========================================
   SWORD OF A THOUSAND SUNS — CENTERING FIX
   ========================================== */

/* Center the contents of both sections */
.dnj-sword-prologue,
.dnj-sword-about {
    text-align: center !important;
}

/* Center nested Gutenberg groups */
.dnj-sword-prologue .wp-block-group,
.dnj-sword-about .wp-block-group {
    text-align: center !important;
}

/* Center headings and paragraphs */
.dnj-sword-prologue h2,
.dnj-sword-about h2,
.dnj-sword-prologue p,
.dnj-sword-about p {
    text-align: center !important;
}

/* Center the audio container */
.dnj-sword-prologue .wp-block-audio,
.dnj-sword-prologue audio {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center the Gutenberg buttons */
.dnj-sword-about .wp-block-buttons,
.dnj-sword-prologue .wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
}

/* Center constrained Gutenberg layout children */
.dnj-sword-prologue.is-layout-constrained > *,
.dnj-sword-about.is-layout-constrained > *,
.dnj-sword-prologue .is-layout-constrained > *,
.dnj-sword-about .is-layout-constrained > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Allow text blocks to occupy available width */
.dnj-sword-prologue p,
.dnj-sword-about p {
    max-width: 760px;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* SWORD PAGE — CORRECT SECTION CENTERING */

.dnj-sword-page .dnj-sword-audio,
.dnj-sword-page .dnj-book-detail-about {
    text-align: center !important;
}

/* Center all headings, descriptions, and labels */
.dnj-sword-page .dnj-sword-audio h2,
.dnj-sword-page .dnj-sword-audio p,
.dnj-sword-page .dnj-book-detail-about h2,
.dnj-sword-page .dnj-book-detail-about p {
    text-align: center !important;
}

/* Keep descriptions readable and centered */
.dnj-sword-page .dnj-sword-audio p,
.dnj-sword-page .dnj-book-detail-about p {
    max-width: 760px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center the audio player */
.dnj-sword-page .dnj-sword-player {
    width: 100%;
    max-width: 800px;
    margin: 26px auto 12px !important;
    box-sizing: border-box;
}

.dnj-sword-page .dnj-sword-player audio {
    display: block;
    width: 100%;
    margin: 0 auto !important;
}

/* Center both buttons below the description */
.dnj-sword-page .dnj-book-detail-about .wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* FEATURED BOOK — PORTABLE COVER IMAGE */

.dnj-featured-promo .dnj-promo-cover {
    width: 100%;
    max-width: 180px;
    margin: 0 auto !important;
    text-align: center;
}

.dnj-featured-promo .dnj-featured-cover-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 9px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(147,51,234,.22);
}

/* As the Butte Burns — paste at END of assets/css/pages.css */
.dnj-butte-page .dnj-butte-cover{display:block;width:auto;max-width:min(100%,320px);max-height:460px;height:auto;object-fit:contain;margin:0 auto;filter:drop-shadow(0 20px 35px rgba(147,51,234,.22))}
.dnj-butte-page .dnj-card{margin-top:32px;padding:clamp(22px,3.4vw,42px);border-radius:22px}
.dnj-butte-page .dnj-butte-intro,.dnj-butte-page .dnj-butte-film-section,.dnj-butte-page .dnj-butte-colradio,.dnj-butte-page .dnj-butte-spotify,.dnj-butte-page .dnj-butte-gallery,.dnj-butte-page .dnj-butte-cta{text-align:center}
.dnj-butte-page .dnj-butte-intro p,.dnj-butte-page .dnj-butte-colradio p,.dnj-butte-page .dnj-butte-spotify p,.dnj-butte-page .dnj-butte-film-section>p,.dnj-butte-page .dnj-butte-cta p{max-width:790px;margin-left:auto!important;margin-right:auto!important}
.dnj-butte-page .dnj-butte-video-card{max-width:850px;margin:32px auto 0;padding:25px 20px;border:1px solid rgba(103,232,249,.22);background:rgba(20,28,53,.75);border-radius:18px;text-align:left}
.dnj-butte-page .dnj-butte-video-card h3{text-align:center}
.dnj-butte-page .dnj-butte-video-card p{max-width:740px;margin:14px auto;text-align:center}
.dnj-butte-page .dnj-butte-video-frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:13px;background:#090e1e}
.dnj-butte-page .dnj-butte-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.dnj-butte-page .dnj-butte-spotify-frame{max-width:760px;margin:24px auto;overflow:hidden;border-radius:15px}
.dnj-butte-page .dnj-butte-gallery-row{gap:20px;margin-bottom:20px}
.dnj-butte-page .dnj-butte-gallery-item{padding:13px;border-radius:16px;background:rgba(20,28,53,.75);border:1px solid rgba(255,255,255,.1);height:100%;box-sizing:border-box}
.dnj-butte-page .dnj-butte-gallery-image{display:block;width:100%;height:195px;object-fit:contain;margin:auto; border-radius:9px}
.dnj-butte-page .dnj-butte-gallery-item p{font-size:14px;margin:12px auto 0;color:#cbd5e1;text-align:center}
.dnj-butte-page .dnj-butte-cta .wp-block-buttons{justify-content:center}
@media(max-width:781px){.dnj-butte-page .dnj-butte-cover{max-width:245px}.dnj-butte-page .dnj-butte-gallery-image{height:230px}.dnj-butte-page .dnj-butte-video-card{padding:15px 12px}}

/* Sometimes...I Don't Remember Much of the '70s — append to assets/css/pages.css */
.dnj-seventies-page > .dnj-eyebrow,.dnj-seventies-page > h1,.dnj-seventies-page > .dnj-lead{text-align:center}
.dnj-seventies-page > h1{max-width:1000px;margin-left:auto!important;margin-right:auto!important}
.dnj-seventies-page > .dnj-lead{max-width:790px;margin-left:auto!important;margin-right:auto!important}
.dnj-seventies-page .dnj-seventies-cover{display:block;width:auto;max-width:min(100%,310px);max-height:450px;height:auto;object-fit:contain;margin:12px auto 24px;filter:drop-shadow(0 18px 32px rgba(213,125,193,.25))}
.dnj-seventies-page .dnj-card{margin-top:34px;padding:clamp(22px,3.5vw,44px);border-radius:22px}
.dnj-seventies-page .dnj-seventies-story,.dnj-seventies-page .dnj-seventies-films,.dnj-seventies-page .dnj-seventies-music,.dnj-seventies-page .dnj-seventies-cta{text-align:center}
.dnj-seventies-page .dnj-seventies-story p,.dnj-seventies-page .dnj-seventies-films > p,.dnj-seventies-page .dnj-seventies-music > p,.dnj-seventies-page .dnj-seventies-cta p{max-width:800px;margin-left:auto!important;margin-right:auto!important}
.dnj-seventies-page .dnj-seventies-story p:not(.dnj-eyebrow){line-height:1.85}
.dnj-seventies-page .dnj-seventies-note{font-size:.85rem;color:#b1bfd4}
.dnj-seventies-page .dnj-seventies-video{max-width:850px;margin:28px auto 0;padding:20px;border-radius:18px;background:rgba(14,24,48,.78);border:1px solid rgba(103,232,249,.18);text-align:center}
.dnj-seventies-page .dnj-seventies-video h3,.dnj-seventies-page .dnj-seventies-video p{text-align:center}
.dnj-seventies-page .dnj-seventies-video p{max-width:720px;margin:12px auto}
.dnj-seventies-page .dnj-seventies-video-frame{width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:13px;background:#080d1b}
.dnj-seventies-page .dnj-seventies-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.dnj-seventies-page .dnj-seventies-playlist{max-width:820px;margin:28px auto 0;padding:18px;border:1px solid rgba(213,125,193,.22);border-radius:18px;background:rgba(14,24,48,.78);text-align:center}
.dnj-seventies-page .dnj-seventies-playlist h3,.dnj-seventies-page .dnj-seventies-playlist p{text-align:center}
.dnj-seventies-page .dnj-seventies-spotify-frame{width:100%;max-width:760px;margin:16px auto;overflow:hidden;border-radius:14px}
.dnj-seventies-page .dnj-seventies-cta .wp-block-buttons{justify-content:center}
@media(max-width:781px){.dnj-seventies-page .dnj-seventies-cover{max-width:235px}.dnj-seventies-page .dnj-seventies-video,.dnj-seventies-page .dnj-seventies-playlist{padding:12px}.dnj-seventies-page .dnj-card{padding:20px 14px}}

/* ==========================================
   TV / FILMS LANDING PAGE
========================================== */

.dnj-tvfilms-page .dnj-page-title {
  margin-bottom: 1.25rem;
}

.dnj-tvfilms-page .dnj-lead {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.dnj-tvfilms-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.dnj-tvfilm-card {
  background: rgba(17, 27, 53, 0.88);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.dnj-tvfilm-columns {
  align-items: center;
  gap: 2rem;
}

.dnj-tvfilm-image-col {
  display: flex;
  justify-content: center;
}

.dnj-tvfilm-thumb {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.dnj-tvfilm-content-col h2 {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.dnj-tvfilm-content-col p {
  max-width: 620px;
}

.dnj-tvfilms-note {
  margin-top: 3rem;
  padding: 2rem;
}

@media (max-width: 900px) {
  .dnj-tvfilm-card {
    padding: 1.5rem;
  }

  .dnj-tvfilm-columns {
    gap: 1.5rem;
  }
}

@media (max-width: 781px) {
  .dnj-tvfilm-columns {
    flex-direction: column;
  }

  .dnj-tvfilm-image-col,
  .dnj-tvfilm-content-col {
    flex-basis: 100% !important;
  }

  .dnj-tvfilm-content-col {
    text-align: center;
  }

  .dnj-tvfilm-content-col p {
    margin-left: auto;
    margin-right: auto;
  }

  .dnj-tvfilm-content-col .wp-block-buttons {
    justify-content: center;
  }
}

/* LEILANI page only — add to bottom of assets/css/pages.css */
.dnj-leilani-page .dnj-film-intro {text-align:center;max-width:820px;margin:0 auto 2.5rem}
.dnj-leilani-page .dnj-leilani-hero {align-items:center;gap:2.25rem;margin-bottom:2rem}
.dnj-leilani-page .dnj-leilani-poster {display:block;width:auto;max-width:100%;max-height:560px;height:auto;object-fit:contain;border-radius:14px;margin:0 auto;box-shadow:0 22px 55px rgba(0,0,0,.45)}
.dnj-leilani-page .dnj-leilani-intro-card {text-align:left;padding:2rem}
.dnj-leilani-page .dnj-leilani-intro-card h2 {font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.18}
.dnj-leilani-page .dnj-leilani-intro-card p {line-height:1.7}
.dnj-leilani-page .dnj-leilani-story,.dnj-leilani-page .dnj-leilani-resources,.dnj-leilani-page .dnj-leilani-links {text-align:center;margin:1.6rem auto;padding:2rem}
.dnj-leilani-page .dnj-leilani-story p,.dnj-leilani-page .dnj-leilani-resources p,.dnj-leilani-page .dnj-leilani-links p {max-width:760px;margin:1rem auto;line-height:1.75}
.dnj-leilani-page .dnj-leilani-resources .dnj-project-file {display:inline-flex;margin:.5rem}
.dnj-leilani-page .dnj-leilani-links .wp-block-buttons {justify-content:center}
@media(max-width:781px){.dnj-leilani-page .dnj-leilani-hero{gap:1.3rem}.dnj-leilani-page .dnj-leilani-poster{max-height:410px}.dnj-leilani-page .dnj-leilani-intro-card{text-align:center;padding:1.4rem}.dnj-leilani-page .dnj-leilani-intro-card .wp-block-buttons{justify-content:center}.dnj-leilani-page .dnj-leilani-story,.dnj-leilani-page .dnj-leilani-resources,.dnj-leilani-page .dnj-leilani-links{padding:1.4rem}}


/* KOKOPELLI PROJECT ONLY — append to assets/css/pages.css */
.dnj-kokopelli-page .dnj-koko-intro {text-align:center;max-width:850px;margin:0 auto 2.5rem}
.dnj-kokopelli-page .dnj-koko-intro .dnj-lead {margin-left:auto;margin-right:auto}
.dnj-kokopelli-page .dnj-koko-hero {align-items:center;gap:2.25rem;margin-bottom:2rem}
.dnj-kokopelli-page .dnj-koko-cover {display:block;max-width:100%;width:auto;height:auto;max-height:540px;object-fit:contain;margin:0 auto;border-radius:16px;box-shadow:0 22px 50px rgba(0,0,0,.4)}
.dnj-kokopelli-page .dnj-koko-feature {padding:2rem;text-align:left}
.dnj-kokopelli-page .dnj-koko-feature h2 {font-size:clamp(1.5rem,2.6vw,2.25rem);line-height:1.2}
.dnj-kokopelli-page .dnj-koko-feature p {line-height:1.7}
.dnj-kokopelli-page .dnj-koko-story,.dnj-kokopelli-page .dnj-koko-world,.dnj-kokopelli-page .dnj-koko-resources {text-align:center;padding:2rem;margin:1.75rem auto}
.dnj-kokopelli-page .dnj-koko-story p,.dnj-kokopelli-page .dnj-koko-world > p,.dnj-kokopelli-page .dnj-koko-resources p {max-width:780px;margin:1rem auto;line-height:1.75}
.dnj-kokopelli-page .dnj-koko-art-grid {max-width:800px;margin:2rem auto 0;gap:1.5rem}
.dnj-kokopelli-page .dnj-koko-art-grid .wp-block-column {text-align:center;min-width:0}
.dnj-kokopelli-page .dnj-koko-art {width:100%;height:250px;max-width:360px;object-fit:cover;border-radius:14px;margin:0 auto;display:block}
.dnj-kokopelli-page .dnj-koko-art-grid p {font-size:.95rem;margin-top:.8rem}
.dnj-kokopelli-page .dnj-koko-resources .dnj-project-file {display:inline-flex;margin:.5rem}
@media(max-width:781px){.dnj-kokopelli-page .dnj-koko-hero{gap:1.3rem}.dnj-kokopelli-page .dnj-koko-cover{max-height:390px}.dnj-kokopelli-page .dnj-koko-feature{padding:1.4rem;text-align:center}.dnj-kokopelli-page .dnj-koko-feature .wp-block-buttons{justify-content:center}.dnj-kokopelli-page .dnj-koko-story,.dnj-kokopelli-page .dnj-koko-world,.dnj-kokopelli-page .dnj-koko-resources{padding:1.4rem}.dnj-kokopelli-page .dnj-koko-art{height:auto;max-height:290px;object-fit:contain}}

/* CUL-DU-SAC ONLY — add to active theme assets/css/pages.css */
.dnj-cul-page .dnj-cul-intro{text-align:center;max-width:850px;margin:0 auto 2.5rem}
.dnj-cul-page .dnj-cul-intro .dnj-lead{margin-left:auto;margin-right:auto}
.dnj-cul-page .dnj-cul-hero{align-items:center;gap:2.25rem;margin-bottom:2rem}
.dnj-cul-page .dnj-cul-poster{display:block;width:auto;max-width:100%;height:auto;max-height:540px;object-fit:contain;margin:0 auto;border-radius:16px;box-shadow:0 22px 50px rgba(0,0,0,.4)}
.dnj-cul-page .dnj-cul-feature{padding:2rem;text-align:left}
.dnj-cul-page .dnj-cul-feature h2{font-size:clamp(1.5rem,2.6vw,2.25rem);line-height:1.2}
.dnj-cul-page .dnj-cul-feature p{line-height:1.7}
.dnj-cul-page .dnj-cul-story,.dnj-cul-page .dnj-cul-resources{text-align:center;padding:2rem;margin:1.75rem auto}
.dnj-cul-page .dnj-cul-story p,.dnj-cul-page .dnj-cul-resources p{max-width:780px;margin:1rem auto;line-height:1.75}
.dnj-cul-page .dnj-cul-resources .dnj-project-file{display:inline-flex;margin:.5rem}
@media(max-width:781px){.dnj-cul-page .dnj-cul-hero{gap:1.3rem}.dnj-cul-page .dnj-cul-poster{max-height:390px}.dnj-cul-page .dnj-cul-feature{padding:1.4rem;text-align:center}.dnj-cul-page .dnj-cul-feature .wp-block-buttons{justify-content:center}.dnj-cul-page .dnj-cul-story,.dnj-cul-page .dnj-cul-resources{padding:1.4rem}}


/* Cul-Du-Sac screenplay PDF reader — append to assets/css/pages.css */
.dnj-cul-page .dnj-screenplay-reader {
  width: 100%;
  max-width: 950px;
  margin: 1.75rem auto;
  padding: 10px;
  box-sizing: border-box;
  background: #161e36;
  border: 1px solid rgba(34, 211, 238, .25);
  border-radius: 18px;
  overflow: hidden;
}
.dnj-cul-page .dnj-screenplay-reader iframe {
  display: block;
  width: 100%;
  height: 750px;
  border: 0;
  background: #fff;
  border-radius: 10px;
}
@media (max-width: 781px) {
  .dnj-cul-page .dnj-screenplay-reader iframe { height: 520px; }
}

