
.wme-library{--wme-bg:#0e0820;--wme-panel:#17102d;--wme-text:#f6f1ff;--wme-muted:#b9abc9;--wme-gold:#e7c777;--wme-line:rgba(231,199,119,.22);position:relative;margin:42px auto 0;padding:46px 30px;border:1px solid var(--wme-line);border-radius:28px;color:var(--wme-text);background:radial-gradient(circle at 14% 10%,rgba(101,70,170,.14),transparent 30%),radial-gradient(circle at 88% 0%,rgba(231,199,119,.08),transparent 24%),linear-gradient(180deg,#110a26 0%,#0b0718 100%);box-shadow:0 22px 60px rgba(0,0,0,.22)}
.wme-library *{box-sizing:border-box}.wme-library__header{max-width:800px;margin:0 auto 30px;text-align:center}.wme-library__eyebrow{margin:0 0 10px;font-size:12px;letter-spacing:.18em;font-weight:800;color:var(--wme-gold)}.wme-library h2{margin:0;font-size:clamp(30px,4vw,48px);line-height:1.08;color:#fff}.wme-library__intro{margin:15px auto 0;max-width:720px;color:var(--wme-muted);font-size:16px;line-height:1.75}.wme-library__controls{display:grid;gap:18px;margin:30px 0 16px}.wme-library__search-wrap{width:min(680px,100%);margin:auto;display:flex;align-items:center;gap:10px;min-height:52px;padding:0 16px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.05);color:var(--wme-muted)}.wme-library__search-wrap:focus-within{border-color:rgba(231,199,119,.65);box-shadow:0 0 0 3px rgba(231,199,119,.08)}.wme-library__search-wrap input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#fff!important;padding:13px 0!important;font:inherit}.wme-library__search-wrap input::placeholder{color:#978aa8}.wme-library__filters{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.wme-library__filters button,.wme-library__load{appearance:none;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#d8cee5;border-radius:999px;padding:10px 15px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:.2s ease}.wme-library__filters button:hover,.wme-library__filters button:focus-visible,.wme-library__load:hover,.wme-library__load:focus-visible{border-color:var(--wme-gold);color:#fff;transform:translateY(-1px)}.wme-library__filters button.is-active{background:var(--wme-gold);border-color:var(--wme-gold);color:#1c1530}.wme-library__meta{margin:18px 0 14px;color:#998ba9;font-size:13px}.wme-library__admin-warning{display:block;margin-top:6px;color:#e7c777}.wme-library__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wme-card{min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.wme-card:hover{transform:translateY(-3px);border-color:rgba(231,199,119,.35);box-shadow:0 18px 40px rgba(0,0,0,.2)}.wme-card[hidden]{display:none!important}.wme-card__media,.wme-card__placeholder{display:flex;aspect-ratio:16/8.6;overflow:hidden;background:radial-gradient(circle at 70% 25%,rgba(231,199,119,.17),transparent 18%),linear-gradient(135deg,#33185c,#6b2d8f);text-decoration:none!important;align-items:flex-end;padding:15px}.wme-card__placeholder span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#f4d984;font-weight:800}.wme-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.wme-card:hover .wme-card__media img{transform:scale(1.025)}.wme-card__body{padding:20px 20px 21px}.wme-card__topline{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.wme-card__category{color:var(--wme-gold);font-size:10px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;font-weight:800}.wme-card__readtime{color:#8f819e;font-size:11px;white-space:nowrap}.wme-card__title{margin:0!important;font-size:20px!important;line-height:1.35!important}.wme-card__title a{color:#fff!important;text-decoration:none!important}.wme-card__excerpt{margin:11px 0 17px!important;color:var(--wme-muted)!important;font-size:14px!important;line-height:1.68!important}.wme-card__link{display:inline-flex;gap:7px;align-items:center;color:var(--wme-gold)!important;text-decoration:none!important;font-weight:800;font-size:13px}.wme-library__footer{text-align:center;margin-top:26px}.wme-library__load{padding:12px 20px;border-color:rgba(231,199,119,.35);color:var(--wme-gold);background:rgba(231,199,119,.06)}.wme-library__load[hidden]{display:none!important}.wme-library__empty{text-align:center;padding:35px 15px;color:#c6b9d4}.wme-library__empty strong,.wme-library__empty span{display:block}.wme-single-meta{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.wme-single-meta span{display:inline-flex;padding:7px 11px;border:1px solid rgba(92,52,130,.18);border-radius:999px;font-size:12px;background:#faf7ff;color:#522d71;font-weight:700}@media(max-width:980px){.wme-library__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.wme-library{padding:34px 16px;border-radius:20px}.wme-library__grid{grid-template-columns:1fr}.wme-library__filters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 8px}.wme-library__filters button{white-space:nowrap}}@media(prefers-reduced-motion:reduce){.wme-library *{transition:none!important}}


/* v1.4 VISUAL OVERRIDES — keep these at the end */
.wme-library,
.wme-library p,
.wme-library span,
.wme-library div,
.wme-library label {
  color: #d7cde5;
}
.wme-library .wme-library__eyebrow {
  color: #e7c777 !important;
  opacity: 1 !important;
}
.wme-library .wme-library__header h2,
.wme-library #wme-library-heading {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.wme-library .wme-library__intro {
  color: #cfc4dc !important;
  opacity: 1 !important;
}
.wme-library .wme-library__meta {
  color: #bcaecb !important;
}
.wme-library .wme-library__admin-warning {
  color: #f2d373 !important;
}
.wme-library .wme-card__category {
  color: #f0d170 !important;
}
.wme-library .wme-card__readtime {
  color: #b5a7c6 !important;
}
.wme-library .wme-card__title,
.wme-library .wme-card__title a {
  color: #ffffff !important;
  opacity: 1 !important;
}
.wme-library .wme-card__excerpt {
  color: #c8bdd5 !important;
  opacity: 1 !important;
}
.wme-library .wme-card__link {
  color: #f0d170 !important;
}

/* Featured-image frame */
.wme-library .wme-card__media,
.wme-library .wme-card__placeholder {
  width: 100% !important;
  height: 190px !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 30%, rgba(126,72,180,.26), transparent 55%),
    linear-gradient(135deg,#2a1647,#5b2482) !important;
}
.wme-library .wme-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.wme-library .wme-card__placeholder {
  padding: 18px !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
}
.wme-library .wme-card__placeholder span {
  color: #f4d984 !important;
}

/* Make cards visually consistent with or without featured images */
.wme-library .wme-card {
  background: linear-gradient(180deg,#24133d 0%,#140c26 100%) !important;
}
.wme-library .wme-card__body {
  background: transparent !important;
}

@media (max-width: 620px) {
  .wme-library .wme-card__media,
  .wme-library .wme-card__placeholder {
    height: 210px !important;
  }
}


/* ============================================================
   White Magic Encyclopedia — single article master template v1.7
   IMPORTANT: everything below is scoped to the article shell or
   to the main article content area. It does NOT style the site header.
   ============================================================ */

/* Hide duplicate Newspaper post furniture ONLY inside the main content area. */
body.wme-single-page .td-main-content-wrap .td-post-title,
body.wme-single-page .td-main-content-wrap .td-post-featured-image,
body.wme-single-page .td-main-content-wrap .td-post-header .entry-title,
body.wme-single-page .td-main-content-wrap .td-post-header .td-post-date,
body.wme-single-page .td-main-content-wrap .td-post-header .td-post-author-name,
body.wme-single-page .td-main-content-wrap .td-post-header .td-post-views,
body.wme-single-page .td-main-content-wrap .td-post-sharing-top,
body.wme-single-page .td-main-content-wrap .tdb-title-text,
body.wme-single-page .td-main-content-wrap .tdb_single_featured_image,
body.wme-single-page .td-main-content-wrap .tdb_single_post_share,
body.wme-single-page .td-main-content-wrap .tdb-author-name {
  display:none!important;
}

/* Only the article content itself receives typography/background rules. */
body.wme-single-page .td-main-content-wrap .td-post-content {
  font-size:16px!important;
  line-height:1.78!important;
  color:#2c2736!important;
}

body.wme-single-page .td-main-content-wrap .td-post-content > .wme-single-meta {
  display:none!important;
}

body.wme-single-page .td-main-content-wrap .td-post-content .wme-article-shell {
  max-width:1280px;
  margin:0 auto;
  padding:24px 18px 80px;
  background:#f6f3fa;
  color:#2c2736;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  line-height:1.78;
}

/* No body, header, .td-container, .td-pb-row or global Newspaper styling below. */
.wme-article-shell,
.wme-article-shell *{box-sizing:border-box}

.wme-article-shell .wme-article-hero{
  position:relative;overflow:hidden;margin-bottom:28px;padding:70px 7%;
  border-radius:32px;color:#fff;
  background:
    radial-gradient(circle at 82% 20%,rgba(232,202,121,.25),transparent 25%),
    radial-gradient(circle at 12% 85%,rgba(112,73,155,.28),transparent 30%),
    linear-gradient(135deg,#090d1b 0%,#211638 48%,#704982 100%);
  box-shadow:0 24px 65px rgba(31,19,51,.28)
}
.wme-article-shell .wme-article-star{
  position:absolute;right:7%;top:22px;font-size:170px;line-height:1;
  color:rgba(232,202,121,.07);pointer-events:none
}
.wme-article-shell .wme-hero-kicker,
.wme-article-shell .wme-kicker{
  font-size:11px;letter-spacing:2.7px;text-transform:uppercase;
  color:#8a6a2e;font-weight:800;margin-bottom:8px
}
.wme-article-shell .wme-hero-kicker{
  position:relative;color:#e8ca79;font-size:12px;letter-spacing:3px;margin-bottom:14px
}
.wme-article-shell .wme-article-hero h1{
  position:relative;margin:0 0 16px!important;color:#fff!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(40px,5.7vw,70px)!important;font-weight:500!important;
  line-height:1.04!important;letter-spacing:-1.4px!important;text-transform:none!important
}
.wme-article-shell .wme-hero-deck{
  position:relative;max-width:920px;margin:0!important;
  color:rgba(255,255,255,.87)!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:20px!important;line-height:1.55!important
}
.wme-article-shell .wme-hero-pills{
  position:relative;display:flex;flex-wrap:wrap;gap:9px;margin-top:24px
}
.wme-article-shell .wme-hero-pills span{
  display:inline-block;padding:9px 14px;border:1px solid rgba(232,202,121,.4);
  border-radius:999px;color:#f2dfad;background:rgba(255,255,255,.055);
  font-size:12px;font-weight:700
}

.wme-article-shell .wme-article-image{
  background:#fff;border:1px solid #e6dfed;border-radius:28px;padding:20px;
  margin:0 0 30px;box-shadow:0 15px 42px rgba(55,35,80,.09)
}
.wme-article-shell .wme-article-image img{
  display:block!important;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:none!important;aspect-ratio:auto!important;
  object-fit:contain!important;border-radius:20px!important;
  box-shadow:0 12px 32px rgba(30,20,45,.14)!important;margin:0!important
}
.wme-article-shell .wme-article-image p{
  margin:13px 4px 0!important;text-align:center;color:#716b78!important;
  font-size:13px!important;line-height:1.55!important
}

.wme-article-shell .wme-article-central{
  background:linear-gradient(135deg,#fff,#f4eff8);
  border:1px solid #e2d8eb;border-radius:26px;padding:34px;margin:28px 0;
  box-shadow:0 10px 30px rgba(55,35,80,.06)
}
.wme-article-shell .wme-article-central blockquote{
  margin:12px 0 0!important;padding:0!important;border:0!important;
  background:transparent!important;color:#625c6a!important;
  font-family:inherit!important;font-size:16px!important;line-height:1.85!important;text-align:left!important
}
.wme-article-shell .wme-article-central blockquote p{
  margin:0!important;color:#625c6a!important;font-size:16px!important;line-height:1.85!important
}
.wme-article-shell .wme-article-central blockquote:before,
.wme-article-shell .wme-article-central blockquote:after{display:none!important}

.wme-article-shell .wme-article-section{
  background:#fff;border:1px solid #e6dfed;border-radius:25px;padding:32px;
  margin:28px 0;box-shadow:0 10px 30px rgba(55,35,80,.06)
}
.wme-article-shell .wme-article-section h2,
.wme-article-shell .wme-article-closing h2{
  margin:0 0 18px!important;color:#4f3970!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:32px!important;font-weight:600!important;line-height:1.18!important;text-transform:none!important
}
.wme-article-shell .wme-article-section h3{
  margin:25px 0 10px!important;color:#62457d!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:21px!important;font-weight:600!important;line-height:1.25!important
}
.wme-article-shell .wme-article-section p{
  margin:0 0 16px!important;color:#5c5664!important;font-size:16px!important;line-height:1.85!important
}
.wme-article-shell .wme-article-section strong{color:#44364f}
.wme-article-shell .wme-article-section a{
  color:#67428a!important;text-decoration:underline;
  text-decoration-color:rgba(103,66,138,.35);text-underline-offset:3px
}
.wme-article-shell .wme-article-section a:hover{color:#8a6a2e!important}
.wme-article-shell .wme-article-section ul,
.wme-article-shell .wme-article-section ol{
  margin:12px 0 20px!important;padding-left:24px!important;color:#5d5665!important;line-height:1.75!important
}
.wme-article-shell .wme-article-section li{padding:4px 0!important;color:#5d5665!important}
.wme-article-shell .wme-article-section hr{
  border:0;border-top:1px solid #e8e1ed;margin:26px 0
}

.wme-article-shell .wme-article-section blockquote{
  margin:20px 0!important;padding:22px 24px!important;
  border-left:5px solid #c5a55b!important;border-radius:0 16px 16px 0!important;
  background:#faf7ef!important;color:#5d4b2d!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:19px!important;line-height:1.6!important
}
.wme-article-shell .wme-article-section blockquote p{
  color:#5d4b2d!important;font-family:Georgia,'Times New Roman',serif!important;
  font-size:19px!important;line-height:1.6!important;margin:0!important
}
.wme-article-shell .wme-article-section blockquote:before,
.wme-article-shell .wme-article-section blockquote:after{display:none!important}

.wme-article-shell .wme-article-section table{
  width:100%!important;border-collapse:collapse!important;margin:18px 0 22px!important;
  min-width:620px;background:#fff!important;border:0!important;display:table
}
.wme-article-shell .wme-article-section table thead th,
.wme-article-shell .wme-article-section table th{
  padding:14px 15px!important;text-align:left!important;background:#514071!important;
  color:#fff!important;font-size:12px!important;letter-spacing:.7px!important;
  text-transform:uppercase!important;border:0!important;border-bottom:1px solid #675382!important
}
.wme-article-shell .wme-article-section table td{
  padding:13px 15px!important;border:0!important;border-bottom:1px solid #eeeaf2!important;
  color:#5f5a69!important;vertical-align:top!important;background:#fff!important;
  font-size:14px!important;line-height:1.55!important
}
.wme-article-shell .wme-article-section table td:first-child{
  color:#55466a!important;font-weight:600
}
.wme-article-shell .wme-article-section:has(table){overflow-x:auto}
.wme-article-shell .wme-article-section h2 + ul li a{font-weight:700}

.wme-article-shell .wme-article-closing{
  position:relative;overflow:hidden;background:linear-gradient(135deg,#21183b,#60427e);
  border-radius:28px;padding:40px 32px;margin:34px 0;color:#fff;
  box-shadow:0 18px 48px rgba(35,20,55,.2)
}
.wme-article-shell .wme-article-closing .wme-kicker{color:#e8ca79}
.wme-article-shell .wme-article-closing h2{color:#fff!important;font-size:34px!important}
.wme-article-shell .wme-article-closing p{
  margin:0!important;color:rgba(255,255,255,.86)!important;
  font-family:Georgia,'Times New Roman',serif!important;font-size:18px!important;line-height:1.65!important
}

@media(max-width:767px){
  body.wme-single-page .td-main-content-wrap .td-post-content .wme-article-shell{padding:12px 8px 54px}
  .wme-article-shell .wme-article-hero{padding:46px 24px;border-radius:22px}
  .wme-article-shell .wme-article-star{font-size:110px;right:4%;top:18px}
  .wme-article-shell .wme-article-hero h1{
    font-size:clamp(34px,11vw,48px)!important;letter-spacing:-.7px!important
  }
  .wme-article-shell .wme-hero-deck{font-size:17px!important}
  .wme-article-shell .wme-article-image{padding:12px;border-radius:20px}
  .wme-article-shell .wme-article-section,
  .wme-article-shell .wme-article-central{padding:23px 20px;border-radius:20px}
  .wme-article-shell .wme-article-section h2,
  .wme-article-shell .wme-article-closing h2{font-size:27px!important}
  .wme-article-shell .wme-article-section h3{font-size:20px!important}
  .wme-article-shell .wme-article-section p,
  .wme-article-shell .wme-article-central p{font-size:15.5px!important}
  .wme-article-shell .wme-article-section table{min-width:560px}
  .wme-article-shell .wme-article-closing{padding:30px 22px;border-radius:22px}
}
