@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@560;700&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  --bg: #f3f7f5;
  --panel: #ffffff;
  --ink: #24312c;
  --muted: #5d6d66;
  --sage: #5f8f7a;
  --teal: #3f7c76;
  --warm: #f7f1e8;
  --line: rgba(36,49,44,.1);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", sans-serif;
  --wrap: min(1360px, calc(100% - 2.5rem));
  --prose: min(1200px, 100%);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(95,143,122,.18), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(247,241,232,.95), transparent 50%),
    var(--bg);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--ink); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--teal); color: #fff; padding: .5rem 1rem; }
.wrap { width: var(--wrap); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,247,245,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand-logo { border-radius: 14px; }
.brand-name {
  font-family: var(--display); font-size: 1.55rem; font-weight: 700; color: var(--teal); display: block;
}
.brand-tag { font-size: .75rem; color: var(--muted); display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.05rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--sage); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  padding: .45rem .85rem; font: inherit; cursor: pointer; border-radius: 999px;
}

.hero, .page-hero {
  background:
    linear-gradient(165deg, var(--warm), #eef5f2 55%, #e5f0eb);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding: 4rem 0 3rem; display: grid; gap: .75rem; max-width: 720px; }
.eyebrow {
  color: var(--sage); text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; font-weight: 700; margin: 0;
}
.hero h1, .page-hero h1 {
  font-family: var(--display); font-size: clamp(2.7rem, 6vw, 4.2rem);
  line-height: 1.05; margin: 0; max-width: 13ch;
}
.lede { color: var(--muted); font-size: 1.12rem; margin: 0; max-width: 44ch; }

.site-main { padding: 2.6rem 0 4.5rem; }
.site-main > .wrap { display: flex; justify-content: center; }
.care-card {
  width: var(--prose);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.7rem, 3.8vw, 3rem);
  box-shadow: 0 18px 42px rgba(36,49,44,.06);
}
.care-card::before {
  content: "";
  display: block; width: 72px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--sage), var(--teal));
  margin-bottom: 1.4rem;
}

.prose { font-size: 1.05rem; }
.prose > *:first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3 {
  font-family: var(--display); line-height: 1.15; font-weight: 700; margin: 1.8rem 0 .75rem;
}
.prose h1 { font-size: 2.1rem; }
.prose h2 { font-size: 1.75rem; color: var(--teal); }
.prose h3 { font-size: 1.35rem; color: var(--sage); }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose img { margin: 1.2rem 0; border-radius: 16px; }
.prose blockquote {
  margin: 1.4rem 0; padding: 1rem 1.2rem; background: var(--warm);
  border-radius: 16px; color: var(--muted); border: 1px solid var(--line);
}

.site-footer {
  background: linear-gradient(180deg, #2f524d, #243f3b);
  color: #dceae6;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2rem;
  padding: 2.9rem 0 1.8rem;
}
.footer-brand { display: flex; gap: 1rem; }
.footer-brand strong {
  display: block; color: #fff; font-family: var(--display); font-size: 1.5rem;
}
.footer-brand p, .footer-note p { margin: .4rem 0 0; color: #b9cec8; }
.footer-label {
  margin: 0 0 .7rem; text-transform: uppercase; letter-spacing: .12em;
  font-size: .7rem; color: #c6e4b8; font-weight: 700;
}
.footer-links nav { display: grid; gap: .4rem; }
.footer-links a { color: #eef7f4; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1rem 0 1.4rem; color: #a9c0b9; font-size: .85rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; }
  .site-nav.is-open { display: flex; }
}
@media (max-width: 560px) {
  :root { --wrap: min(1360px, calc(100% - 1.2rem)); }
  .brand-tag { display: none; }
  .hero-inner { padding: 2.8rem 0 2.2rem; }
}
/* === FIX: short brand + working footer === */

.site-footer {
  position: relative;
  z-index: 5;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2.2rem 0 1.4rem;
}
.footer-brand { display: flex; }
.footer-home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.footer-home strong { font-size: 1.15rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff !important;
  background: rgba(255,255,255,0.08);
  transition: background .15s ease, transform .15s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0 1.35rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.brand-tag { display: none !important; }
.footer-links a{border-color:rgba(198,228,184,.35);}
.brand-name{font-family:var(--display);font-size:1.35rem;color:var(--teal);}
/* === POLISH V2 === */

/* polish v2 */
:root { --prose: min(1200px, 100%) !important; }
.site-main .wrap,
.literary,
.cinema-frame {
  display: flex !important;
  justify-content: center;
  width: var(--wrap);
  margin-inline: auto;
}
.shell {
  width: var(--wrap);
  margin-inline: auto;
}
.content-panel,
.prose.content-panel,
.care-card {
  width: min(960px, 100%) !important;
  max-width: 1200px !important;
  margin-inline: auto;
}
.prose { font-size: 1.1rem; }
.prose h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 1rem; line-height: 1.2; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2rem 0 .85rem; line-height: 1.25; }
.prose h3 { font-size: 1.22rem; margin: 1.5rem 0 .65rem; }
.prose p, .prose li { line-height: 1.75; }
.prose ul.story-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.prose ul.story-list li { margin: 0; border-bottom: 1px solid rgba(127,127,127,.22); }
.prose ul.story-list a {
  display: block; padding: 1rem .15rem; text-decoration: none; font-weight: 700;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .98rem;
  display: table;
}
.prose th, .prose td {
  border: 1px solid rgba(127,127,127,.28);
  padding: .75rem .9rem;
  text-align: left;
  vertical-align: top;
}
.prose th { font-weight: 700; }
.prose tr:nth-child(even) td { background: rgba(127,127,127,.07); }
.prose blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid currentColor;
}
.prose blockquote cite {
  display: block; margin-top: .55rem; font-style: normal; opacity: .75; font-size: .92rem;
}
.site-footer {
  position: relative !important;
  z-index: 30 !important;
  clear: both;
  margin-top: 2rem;
}
.footer-grid {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 2rem 0 1.25rem !important;
}
.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
}
.footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  padding: .65rem 1.05rem !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  color: #fff !important;
  background: rgba(255,255,255,.14) !important;
}
.footer-links a:hover { background: rgba(255,255,255,.24) !important; }
.footer-home {
  display: inline-flex !important;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
}
.brand-tag, .footer-note, .footer-label { display: none !important; }
@media (max-width: 700px) {
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
.prose h2{color:var(--teal);}


/* === premium tables v20260721e === */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.6rem 0;
  border-radius: 14px;
  border: 1px solid rgba(127,127,127,.22);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.04));
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.table-scroll table {
  margin: 0;
  min-width: 640px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  display: table;
  font-size: .95rem;
}
.prose .table-scroll table,
.prose table.premium,
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.prose th,
.prose td {
  border: none;
  border-bottom: 1px solid rgba(127,127,127,.18);
  padding: .85rem 1rem;
  text-align: left;
  vertical-align: middle;
}
.prose thead th,
.prose tr:first-child th {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .95rem 1rem;
  border-bottom: 1px solid rgba(127,127,127,.28);
  background: rgba(127,127,127,.1);
}
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:hover td { background: rgba(127,127,127,.08); }
.prose tr:nth-child(even) td { background: rgba(127,127,127,.04); }

/* Casino offers table */
.table-offers { min-width: 920px !important; }
.casino-cell {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 160px;
}
.casino-logo {
  /* superseded by lists + logo polish */
}
.casino-name { font-weight: 700; line-height: 1.2; }
.payout-pill {
  display: inline-block;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(127,127,127,.14);
  white-space: nowrap;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn-play:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-play:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.theme-hospice .prose thead th,
.theme-hospice .prose tr:first-child th { color: #2f5f5a; background: rgba(63,124,118,.1); }
.theme-hospice .btn-play {
  color: #fff; background: linear-gradient(135deg, #4f9a93, #3f7c76);
}
.theme-hospice .table-scroll { border-color: rgba(63,124,118,.22); }

/* === wider containers v20260721f === */
:root {
  --wrap: min(1360px, calc(100% - 2.5rem)) !important;
  --prose: min(1200px, 100%) !important;
}
.content-panel,
.prose.content-panel,
.care-card {
  max-width: 1200px !important;
  width: min(1200px, 100%) !important;
}
.cinema-frame,
.site-main .wrap,
.shell.wrap {
  width: var(--wrap) !important;
  max-width: none;
}
.table-offers { min-width: 860px !important; }
@media (max-width: 560px) {
  :root { --wrap: min(1360px, calc(100% - 1.2rem)) !important; }
}


/* === lists + logo polish v20260721h === */
.casino-logo {
  width: 72px !important;
  height: 48px !important;
  object-fit: contain;
  flex: 0 0 auto;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.casino-cell { gap: .9rem; }
.casino-name { font-size: 1.02rem; }

.prose ul,
.prose ol {
  list-style: none;
  padding-left: 0;
  margin: 1.1rem 0 1.4rem;
}
.prose ul > li,
.prose ol > li {
  position: relative;
  margin: 0 0 .7rem;
  padding: .55rem .85rem .55rem 2.35rem;
  border-radius: 10px;
  line-height: 1.55;
  border: 1px solid rgba(127,127,127,.16);
  background: rgba(127,127,127,.05);
}
.prose ul > li::before,
.prose ol > li::before {
  position: absolute;
  left: .75rem;
  top: .72rem;
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
}
.prose ul > li::before {
  content: "";
  background: currentColor;
  opacity: .85;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5.1z'/%3E%3C/svg%3E") center / 70% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5.1z'/%3E%3C/svg%3E") center / 70% no-repeat;
  background: currentColor;
}
.prose ol { counter-reset: prose-ol; }
.prose ol > li { counter-increment: prose-ol; }
.prose ol > li::before {
  content: counter(prose-ol);
  color: #fff;
  background: currentColor;
  color: #111;
  font-size: .7rem;
}
.prose ul ul > li,
.prose ol ol > li,
.prose ul ol > li,
.prose ol ul > li {
  margin-top: .45rem;
  background: transparent;
  border-style: dashed;
}
.prose ul.story-list > li {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.prose ul.story-list > li::before { display: none; }

.theme-hospice .prose ul > li,
.theme-hospice .prose ol > li {
  border: none;
  background: transparent;
}
.theme-hospice .prose ul > li::before { background-color: #3f7c76; }
.theme-hospice .prose ol > li::before { background: #3f7c76; color: #fff; }

/* === list borderless v20260721j === */
.prose ul > li,
.prose ol > li {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 2.1rem !important;
  padding-top: .2rem !important;
  padding-bottom: .2rem !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
}
.prose ul > li::before,
.prose ol > li::before {
  top: .35rem !important;
}

/* === hospice article TOC v20260721r === */
.theme-hospice.layout-article-toc .shell.wrap {
  display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 1.75rem; align-items: start; width: var(--wrap) !important; max-width: none;
  padding: 2.6rem 0 4.5rem;
}
.theme-hospice.layout-article-toc .shell.wrap > .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.theme-hospice.layout-article-toc .side-rail {
  position: sticky; top: 1.25rem; align-self: start; max-height: calc(100vh - 2rem);
  overflow: auto; padding: 1.15rem 1rem; border-radius: 12px;
  background: rgba(63,124,118,.07); border: 1px solid rgba(63,124,118,.2);
  scrollbar-width: thin; scrollbar-color: rgba(63,124,118,.55) rgba(63,124,118,.08);
}
.theme-hospice .side-rail::-webkit-scrollbar { width: 6px; }
.theme-hospice .side-rail::-webkit-scrollbar-track { background: rgba(63,124,118,.08); border-radius: 999px; margin: 6px 0; }
.theme-hospice .side-rail::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #4f9a93, #3f7c76); border-radius: 999px; }
.theme-hospice .side-rail::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #5aaba3, #478c85); }
.theme-hospice .rail-title { margin: 0 0 .75rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #2f5f5a; }
.theme-hospice .rail-toc { display: flex; flex-direction: column; gap: .12rem; }
.theme-hospice .rail-toc a { display: block; padding: .38rem .5rem; border-radius: 8px; font-size: .86rem; line-height: 1.35; text-decoration: none; color: inherit; opacity: .88; border-left: 2px solid transparent; }
.theme-hospice .rail-toc a:hover { opacity: 1; background: rgba(63,124,118,.12); border-left-color: #3f7c76; }
.theme-hospice .rail-toc a.toc-sub { padding-left: 1.05rem; font-size: .8rem; opacity: .72; }
.theme-hospice.layout-article-toc .content-panel, .theme-hospice.layout-article-toc .care-card { width: 100% !important; max-width: none !important; }
.theme-hospice .page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.4rem) !important; line-height: 1.2 !important; max-width: none !important; text-transform: none !important; letter-spacing: .01em !important; }
.theme-hospice .prose h2[id], .theme-hospice .prose h3[id] { scroll-margin-top: 1.25rem; }
.theme-hospice span.btn-play { cursor: default; pointer-events: none; user-select: none; }
.theme-hospice .payout-pill { display: inline-block; padding: .28rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(63,124,118,.14); color: #2f5f5a; white-space: nowrap; }
@media (max-width: 960px) {
  .theme-hospice.layout-article-toc .shell.wrap { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .theme-hospice.layout-article-toc .side-rail { position: relative; top: 0; max-height: none; margin-bottom: .5rem; }
}

