/*
 * Crown — premium theme for casino affiliate sites (reference: nogamstopcasinos.uk).
 * Astra child theme. CSS prefix kept as linden- (shared internal framework).
 *
 * Visual personality:
 *  - Deep NAVY chrome (#020049 / #020729) — header + footer, galaxy vibe
 *  - Blue links (#0693e3) + purple->blue gradient CTAs (#9b51e0 -> #0693e3)
 *  - PINK accent (#f78da7) for highlights, prices, section accents
 *  - Teal pros (#00d084 / #7bdcb5), red cons (#cf2e2e), orange badges (#ff6900)
 *  - Poppins display + Inter body
 */

:root {
  /* Palette — reference nogamstopcasinos.uk: navy chrome, blue links,
     purple->blue gradient CTAs, pink accent, teal/red pros-cons */
  --linden-c-bg:                #ffffff;
  --linden-c-bg-deep:           #f3f6fb;
  --linden-c-surface:           #ffffff;
  --linden-c-surface-2:         #f1f6fd;
  --linden-c-text:              #232a45;
  --linden-c-text-soft:         #475069;
  --linden-c-heading:           #020049;
  --linden-c-muted:             #6b7596;
  --linden-c-border:            #e2e8f0;
  --linden-c-border-soft:       #eef2f8;
  --linden-c-primary:           #0693e3;
  --linden-c-primary-hover:     #0a7bc0;
  --linden-c-primary-deep:      #045f9a;
  --linden-c-primary-contrast:  #ffffff;
  --linden-c-primary-tint:      rgba(6, 147, 227, .10);
  --linden-c-link:              #0693e3;
  --linden-c-link-hover:        #045f9a;
  --linden-c-accent:            #f78da7;
  --linden-c-accent-deep:       #ef5f86;
  --linden-c-accent-tint:       rgba(247, 141, 167, .16);
  --linden-c-header-bg:         #020049;
  --linden-c-header-text:       #ffffff;
  --linden-c-footer-bg:         #020049;
  --linden-c-footer-text:       #abb8c3;
  /* Crown brand tokens (reference palette) */
  --crown-navy:                 #020049;
  --crown-navy-darkest:         #020729;
  --crown-navy-2:               #0a0a52;
  --crown-blue:                 #0693e3;
  --crown-purple:               #9b51e0;
  --crown-pink:                 #f78da7;
  --crown-pink-deep:            #ef5f86;
  --crown-gold:                 #fcb900;
  --crown-orange:               #ff6900;
  --crown-green:                #00d084;
  --crown-mint:                 #7bdcb5;
  --crown-red:                  #cf2e2e;
  --crown-on-navy-soft:         #abb8c3;
  --crown-cta-grad:             linear-gradient(135deg, #9b51e0 0%, #0693e3 100%);

  /* Typography — Poppins display + Inter body */
  --linden-fs-base:        16px;
  --linden-lh:             1.65;
  --linden-font-body:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --linden-font-heading:   'Poppins', 'Inter', system-ui, sans-serif;

  /* Layout */
  --linden-container:      1180px;
  --linden-content-width:  760px;
  --linden-radius:         12px;
  --linden-radius-lg:      16px;
  --linden-radius-pill:    100px;
  --linden-shadow-sm:      0 1px 2px rgba(2, 7, 41, .06);
  --linden-shadow-md:      0 6px 18px rgba(2, 7, 41, .10);
  --linden-shadow-lg:      0 16px 40px rgba(2, 7, 41, .16);
}

html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }

/* ===== BASE ===== */
body.linden-shell {
  margin: 0;
  background: var(--linden-c-bg);
  color: var(--linden-c-text);
  font-family: var(--linden-font-body);
  font-size: var(--linden-fs-base);
  line-height: var(--linden-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga', 'cv11';
}
body.linden-shell img { max-width: 100%; height: auto; }
body.linden-shell a {
  color: var(--linden-c-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
body.linden-shell a:hover, body.linden-shell a:focus {
  color: var(--linden-c-link-hover);
  text-decoration-thickness: 2px;
}
body.linden-shell :focus-visible {
  outline: 2px solid var(--linden-c-primary);
  outline-offset: 2px;
  border-radius: 2px;
}
body.linden-shell ::selection {
  background: rgba(6, 147, 227, .2);
  color: var(--linden-c-heading);
}

/* Reset Astra defaults */
body.linden-shell #page,
body.linden-shell .site-content,
body.linden-shell .ast-container,
body.linden-shell #primary,
body.linden-shell .content-area,
body.linden-shell .entry-content {
  max-width: none; padding: 0; margin: 0;
  background: transparent !important; box-shadow: none;
}
body.linden-shell #ast-scroll-top,
body.linden-shell .ast-scroll-top-icon { display: none; }
body.linden-shell button.linden-nav-toggle,
body.linden-shell button.linden-top-trigger,
body.linden-shell button.linden-btn {
  box-shadow: none; text-shadow: none;
  -webkit-appearance: none; appearance: none;
}

/* ===== LAYOUT CONTAINER ===== */
body.linden-shell .linden-constraint {
  width: 100%;
  max-width: var(--linden-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

body.linden-shell .linden-skip {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}
body.linden-shell .linden-skip:focus {
  left: 1rem; top: 1rem;
  width: auto; height: auto;
  padding: .5rem 1rem;
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast);
  z-index: 9999;
  border-radius: var(--linden-radius);
}

/* ===== HEADER — clean white, single band, minimal ===== */
body.linden-shell .linden-masthead {
  background: var(--linden-c-header-bg);
  color: var(--linden-c-header-text);
  border-bottom: 1px solid var(--linden-c-border);
  position: relative;
}
body.linden-shell .linden-masthead.is-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--linden-c-header-bg);
  box-shadow: 0 1px 0 var(--linden-c-border), 0 4px 12px rgba(0, 0, 0, .04);
}
body.linden-shell .linden-masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}
body.linden-shell .linden-masthead-rule {
  display: none;
}

body.linden-shell .linden-brand-block {
  flex: 0 1 auto;
}
body.linden-shell .linden-brand-block .custom-logo-link {
  display: inline-block;
  line-height: 0;
}
body.linden-shell .linden-brand-block .custom-logo,
body.linden-shell .linden-brand-block img.custom-logo,
body.linden-shell .linden-brand-block .astra-logo-svg {
  display: block !important;
  height: 70px !important;
  width: auto !important;
  max-width: 240px !important;
  min-width: 80px;
  object-fit: contain;
}
body.linden-shell .linden-wordmark {
  font-family: var(--linden-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--linden-c-header-text);
  text-decoration: none;
  letter-spacing: -.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
body.linden-shell .linden-wordmark::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--linden-c-primary);
}
body.linden-shell .linden-wordmark:hover {
  color: var(--linden-c-primary);
}

body.linden-shell .linden-primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}
body.linden-shell .linden-navlist {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: .15rem;
}
body.linden-shell .linden-navlist a {
  color: var(--linden-c-header-text);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: .55rem 1rem;
  border-radius: var(--linden-radius-pill);
  transition: background-color .15s ease, color .15s ease;
}
body.linden-shell .linden-navlist a:hover {
  background: var(--linden-c-surface-2);
  color: var(--linden-c-primary);
}
body.linden-shell .linden-navlist .current-menu-item > a {
  background: var(--linden-c-primary-tint);
  color: var(--linden-c-primary-deep);
}

/* Mobile nav toggle */
body.linden-shell .linden-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--linden-c-border);
  color: var(--linden-c-header-text);
  padding: 0;
  width: 40px; height: 40px;
  border-radius: var(--linden-radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
body.linden-shell .linden-nav-toggle:hover {
  background: var(--linden-c-surface-2);
}
body.linden-shell .linden-nav-toggle__icon { display: inline-flex; line-height: 0; }
body.linden-shell .linden-nav-toggle__icon--close { display: none; }
body.linden-shell .linden-nav-toggle[aria-expanded="true"] .linden-nav-toggle__icon--open { display: none; }
body.linden-shell .linden-nav-toggle[aria-expanded="true"] .linden-nav-toggle__icon--close { display: inline-flex; }

@media (max-width: 900px) {
  body.linden-shell .linden-nav-toggle { display: inline-flex; }
  body.linden-shell .linden-primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--linden-c-surface);
    border-top: 1px solid var(--linden-c-border);
    padding: 1rem 1.5rem;
    z-index: 50;
    box-shadow: var(--linden-shadow-md);
  }
  body.linden-shell .linden-primary-nav.is-open { display: flex; justify-content: stretch; }
  body.linden-shell .linden-navlist {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: .15rem;
  }
  body.linden-shell .linden-navlist a {
    display: block;
    padding: .75rem 1rem;
    text-align: left;
  }
  body.linden-shell .linden-brand-block .custom-logo,
  body.linden-shell .linden-brand-block img.custom-logo,
  body.linden-shell .linden-brand-block .astra-logo-svg {
    height: 48px !important;
    max-width: calc(100vw - 140px) !important;
  }
  body.linden-shell .linden-wordmark { font-size: 1.25rem; }
}

/* ===== MAIN CANVAS ===== */
body.linden-shell .linden-main-canvas {
  min-height: 60vh;
  padding: 3.5rem 0 5rem;
  background: var(--linden-c-bg) !important;
}
body.linden-shell .linden-page-frame { padding: 0; }
body.linden-shell .linden-page-doc {
  max-width: var(--linden-content-width);
  margin: 0 auto;
}

/* ===== ARTICLE HEADER ===== */
body.linden-shell .linden-article-header {
  margin-bottom: 3rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--linden-c-border);
}
body.linden-shell .linden-article-header > * { margin: 0; }
body.linden-shell .linden-article-header > * + * { margin-top: 1rem; }

body.linden-shell .linden-page-heading {
  font-family: var(--linden-font-heading);
  font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem);
  line-height: 1.05;
  color: var(--linden-c-heading);
  margin: 0;
  letter-spacing: -.03em;
  font-weight: 700;
  text-align: left;
}

/* Byline + date — modern inline */
body.linden-shell .linden-byline-stub {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  font-family: var(--linden-font-body);
  font-size: .95rem;
  color: var(--linden-c-muted);
}
body.linden-shell .linden-byline-stub-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--linden-c-surface-2);
  flex: 0 0 40px;
  border: 2px solid var(--linden-c-bg);
  box-shadow: 0 0 0 1px var(--linden-c-border);
}
body.linden-shell .linden-byline-stub-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--linden-c-heading);
}

/* Date chip — soft green pill */
body.linden-shell .linden-date-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .85rem;
  border-radius: var(--linden-radius-pill);
  background: var(--linden-c-primary-tint);
  color: var(--linden-c-primary-deep);
  font-size: .82rem;
  line-height: 1.2;
  border: 0;
  font-weight: 500;
}
body.linden-shell .linden-date-chip-icon {
  flex: 0 0 14px;
  width: 14px; height: 14px;
  color: var(--linden-c-primary);
}
body.linden-shell .linden-date-chip-label { font-weight: 600; }

/* ===== ENTRY TEXT ===== */
body.linden-shell .linden-entry-text {
  color: var(--linden-c-text);
  font-size: var(--linden-fs-base);
  line-height: var(--linden-lh);
}
body.linden-shell .linden-entry-text > *:first-child,
body.linden-shell .linden-entry-text > *:first-child > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Headings */
body.linden-shell .linden-entry-text h1,
body.linden-shell .linden-entry-text h2,
body.linden-shell .linden-entry-text h3,
body.linden-shell .linden-entry-text h4,
body.linden-shell .linden-entry-text h5,
body.linden-shell .linden-entry-text h6 {
  font-family: var(--linden-font-heading);
  color: var(--linden-c-heading);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
  scroll-margin-top: 90px;
}
/* h2 — green dot accent before */
body.linden-shell .linden-entry-text h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.1rem);
  margin: 2.75rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
body.linden-shell .linden-entry-text h2::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--linden-c-primary);
  flex-shrink: 0;
}
body.linden-shell .linden-entry-text h3 {
  font-size: 1.4rem;
  margin: 2rem 0 .75rem;
  font-weight: 600;
}
body.linden-shell .linden-entry-text h4 {
  font-size: 1.15rem;
  margin: 1.5rem 0 .5rem;
  font-weight: 600;
}

body.linden-shell .linden-entry-text p {
  margin: 0 0 1.25rem;
}
body.linden-shell .linden-entry-text strong,
body.linden-shell .linden-entry-text b {
  color: var(--linden-c-heading);
  font-weight: 700;
}

body.linden-shell .linden-entry-text ul,
body.linden-shell .linden-entry-text ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
body.linden-shell .linden-entry-text li { margin-bottom: .4rem; }
body.linden-shell .linden-entry-text ul li::marker {
  color: var(--linden-c-primary);
}
body.linden-shell .linden-entry-text ol li::marker {
  font-weight: 700;
  color: var(--linden-c-primary);
}

/* Blockquote — modern with subtle background and quote SVG */
body.linden-shell .linden-entry-text blockquote {
  margin: 2.25rem 0;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 0;
  background: var(--linden-c-surface-2);
  border-radius: var(--linden-radius-lg);
  color: var(--linden-c-text);
  position: relative;
  font-family: var(--linden-font-body);
  font-size: 1.1rem;
  line-height: 1.55;
  font-style: normal;
}
body.linden-shell .linden-entry-text blockquote::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 0 .65rem;
  background: var(--linden-c-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M9.6 7.2H6.4a3.2 3.2 0 0 0-3.2 3.2v6.4h6.4v-6.4H6.4a3.2 3.2 0 0 1 3.2-3.2zm10.8 0h-3.2a3.2 3.2 0 0 0-3.2 3.2v6.4h6.4v-6.4h-3.2a3.2 3.2 0 0 1 3.2-3.2z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M9.6 7.2H6.4a3.2 3.2 0 0 0-3.2 3.2v6.4h6.4v-6.4H6.4a3.2 3.2 0 0 1 3.2-3.2zm10.8 0h-3.2a3.2 3.2 0 0 0-3.2 3.2v6.4h6.4v-6.4h-3.2a3.2 3.2 0 0 1 3.2-3.2z'/></svg>") no-repeat center / contain;
}
body.linden-shell .linden-entry-text blockquote > *:first-child { margin-top: 0; }
body.linden-shell .linden-entry-text blockquote > *:last-child { margin-bottom: 0; }

/* Images */
body.linden-shell .linden-entry-text img {
  border-radius: var(--linden-radius);
  margin: 1.5rem auto;
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: var(--linden-shadow-md);
}
body.linden-shell .linden-entry-text p:has(> img:only-child) { margin: 0; }

/* Inline code */
body.linden-shell .linden-entry-text code {
  background: var(--linden-c-surface-2);
  padding: .15em .45em;
  border-radius: 6px;
  font-size: .9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--linden-c-primary-deep);
  border: 1px solid var(--linden-c-border-soft);
}

/* Tables — clean modern */
body.linden-shell .linden-entry-text table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: var(--linden-c-surface);
  color: var(--linden-c-text);
  border-radius: var(--linden-radius);
  overflow: hidden;
  border: 1px solid var(--linden-c-border);
  font-size: .95rem;
}
body.linden-shell .linden-entry-text table th {
  background: var(--linden-c-surface-2);
  color: var(--linden-c-heading);
  font-family: var(--linden-font-heading);
  font-weight: 600;
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--linden-c-border);
  letter-spacing: -.005em;
}
body.linden-shell .linden-entry-text table td {
  padding: .8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--linden-c-border-soft);
}
body.linden-shell .linden-entry-text table tr:last-child td { border-bottom: 0; }
body.linden-shell .linden-entry-text table tbody tr:hover td {
  background: var(--linden-c-surface-2);
}

body.linden-shell .linden-table-scroll {
  width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--linden-radius);
}
body.linden-shell .linden-table-scroll > table { margin: 0; border-radius: 0; }
/* v1.3.4: Removed mobile min-width:560px — now tables stack vertically on small screens
   via the migrator's responsive CSS. If users paste wide tables that need scroll,
   they can manually opt-in by adding the class .linden-table-wide to the wrapper. */
body.linden-shell .linden-table-wide > table { min-width: 560px; }
@media (max-width: 700px) {
  body.linden-shell .linden-table-scroll {
    /* Allow contained tables to shrink and stack — overrides default overflow scroll */
    overflow-x: visible;
  }
}

/* Details/summary */
body.linden-shell .linden-entry-text details {
  background: var(--linden-c-surface);
  border: 1px solid var(--linden-c-border);
  border-radius: var(--linden-radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
body.linden-shell .linden-entry-text details:hover {
  border-color: var(--linden-c-primary);
}
body.linden-shell .linden-entry-text details > summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-family: var(--linden-font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--linden-c-heading);
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  transition: color .15s ease;
}
body.linden-shell .linden-entry-text details > summary::-webkit-details-marker { display: none; }
body.linden-shell .linden-entry-text details > summary::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: var(--linden-c-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
  transition: transform .2s ease;
}
body.linden-shell .linden-entry-text details[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
body.linden-shell .linden-entry-text details > *:not(summary) {
  padding: 0 1.25rem 1.25rem;
}

/* ===== BUTTONS — Bold solid with scale on hover ===== */
body.linden-shell .linden-btn,
body.linden-shell button.linden-btn,
body.linden-shell a.linden-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: var(--linden-radius);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--linden-font-body);
  font-size: .98rem;
  border: 0;
  cursor: pointer;
  background: var(--linden-c-surface-2);
  color: var(--linden-c-heading);
  line-height: 1.2;
  letter-spacing: -.005em;
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
body.linden-shell .linden-btn:hover {
  background: var(--linden-c-border);
  transform: translateY(-1px);
}
body.linden-shell .linden-btn--primary,
body.linden-shell button.linden-btn--primary,
body.linden-shell a.linden-btn--primary {
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast);
  box-shadow: var(--linden-shadow-sm);
}
body.linden-shell .linden-btn--primary:hover,
body.linden-shell button.linden-btn--primary:hover,
body.linden-shell a.linden-btn--primary:hover {
  background: var(--linden-c-primary-hover);
  color: var(--linden-c-primary-contrast);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--linden-shadow-md);
}

/* Generic block/Astra buttons */
body.linden-shell .linden-entry-text .button,
body.linden-shell .linden-entry-text .wp-block-button__link {
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast) !important;
  text-decoration: none;
  padding: .8rem 1.6rem;
  border-radius: var(--linden-radius);
  font-weight: 600;
  display: inline-block;
  transition: background .15s ease, transform .12s ease;
}
body.linden-shell .linden-entry-text .button:hover,
body.linden-shell .linden-entry-text .wp-block-button__link:hover {
  background: var(--linden-c-primary-hover);
  color: var(--linden-c-primary-contrast) !important;
  transform: translateY(-2px);
}

/* ===== WRITER BIO ===== */
body.linden-shell .linden-writer-bio {
  margin: 3rem 0 0;
  padding: 1.75rem;
  background: var(--linden-c-surface-2);
  border: 1px solid var(--linden-c-border);
  border-radius: var(--linden-radius-lg);
  color: var(--linden-c-text);
}
body.linden-shell .linden-writer-bio-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
body.linden-shell .linden-writer-bio-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--linden-c-bg);
  flex: 0 0 72px;
  border: 4px solid var(--linden-c-bg);
  box-shadow: 0 0 0 1px var(--linden-c-border);
}
body.linden-shell .linden-writer-bio-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.linden-shell .linden-writer-bio-name {
  font-family: var(--linden-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--linden-c-heading);
  line-height: 1.2;
  letter-spacing: -.015em;
}
body.linden-shell .linden-writer-bio-role {
  font-size: .82rem;
  color: var(--linden-c-primary-deep);
  background: var(--linden-c-primary-tint);
  padding: .15rem .65rem;
  border-radius: var(--linden-radius-pill);
  line-height: 1.3;
  font-weight: 600;
  align-self: flex-start;
  margin-top: .25rem;
}
body.linden-shell .linden-writer-bio-bio {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--linden-c-text);
}
body.linden-shell .linden-writer-bio-bio p { margin: 0 0 .6em; }
body.linden-shell .linden-writer-bio-bio p:last-child { margin-bottom: 0; }
body.linden-shell .linden-writer-bio-links {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linden-c-border);
}
body.linden-shell .linden-writer-bio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--linden-radius);
  background: var(--linden-c-bg);
  color: var(--linden-c-heading);
  border: 1px solid var(--linden-c-border);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.linden-shell .linden-writer-bio-link:hover,
body.linden-shell .linden-writer-bio-link:focus {
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast);
  border-color: var(--linden-c-primary);
}

/* ===== 404 ===== */
body.linden-shell .linden-error-404 {
  padding: 5rem 0;
  text-align: center;
}
body.linden-shell .linden-error-inner { max-width: 600px; margin: 0 auto; }
body.linden-shell .linden-error-code {
  font-family: var(--linden-font-heading);
  font-size: clamp(6rem, 4rem + 10vw, 11rem);
  font-weight: 700;
  line-height: 1;
  color: var(--linden-c-primary);
  margin-bottom: 1rem;
  letter-spacing: -.05em;
}
body.linden-shell .linden-error-title {
  font-family: var(--linden-font-heading);
  font-size: 1.85rem;
  margin: 0 0 1rem;
  color: var(--linden-c-heading);
  font-weight: 700;
  letter-spacing: -.02em;
}
body.linden-shell .linden-error-text {
  color: var(--linden-c-muted);
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

/* ===== FOOTER — LIGHT (pure white with subtle border) ===== */
body.linden-shell .linden-site-base {
  background: var(--linden-c-footer-bg);
  color: var(--linden-c-footer-text);
  padding: 3rem 0 3rem;
  margin-top: 5rem;
  border-top: 1px solid var(--linden-c-border);
}
body.linden-shell .linden-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}
body.linden-shell .linden-foot-meta {
  font-size: .92rem;
  color: var(--linden-c-footer-text);
  text-align: center;
}
body.linden-shell .linden-foot-meta a {
  color: var(--linden-c-footer-text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--linden-c-border);
  transition: border-color .15s ease, color .15s ease;
}
body.linden-shell .linden-foot-meta a:hover {
  color: var(--linden-c-primary);
  border-bottom-color: var(--linden-c-primary);
}

/* ===== BACK-TO-TOP — green pill ===== */
body.linden-shell button.linden-top-trigger {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px; height: 48px;
  padding: 0; margin: 0;
  border: 0;
  border-radius: 50%;
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast);
  box-shadow: 0 8px 24px rgba(6, 147, 227, .35);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  z-index: 50;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
body.linden-shell button.linden-top-trigger.is-visible { display: inline-flex; }
body.linden-shell button.linden-top-trigger:hover {
  background: var(--linden-c-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(6, 147, 227, .45);
}
body.linden-shell button.linden-top-trigger svg {
  width: 20px; height: 20px;
  color: var(--linden-c-primary-contrast);
}

/* ===== RICH FOOTER (v1.1) ===== */

body.linden-shell .linden-site-base {
  /* Override base footer styles from v1.0 */
  background: var(--linden-c-bg) !important;
  color: var(--linden-c-text) !important;
  padding: 0 !important;
  margin-top: 5rem;
  border-top: 1px solid var(--linden-c-border);
}

/* TOP BAND: white, brand+badges+menus */
body.linden-shell .linden-foot-top {
  background: var(--linden-c-footer-bg);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--linden-c-border);
}

body.linden-shell .linden-foot-brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--linden-c-border-soft);
}
body.linden-shell .linden-foot-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
body.linden-shell .linden-foot-brand .custom-logo,
body.linden-shell .linden-foot-brand img.custom-logo,
body.linden-shell .linden-foot-brand .astra-logo-svg {
  display: block !important;
  height: 48px !important;
  width: auto !important;
  max-width: 180px !important;
  min-width: 80px;
  object-fit: contain;
}
body.linden-shell .linden-foot-wordmark {
  font-family: var(--linden-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--linden-c-footer-text);
  text-decoration: none;
  letter-spacing: -.02em;
}
body.linden-shell .linden-foot-brand-title {
  font-family: var(--linden-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--linden-c-footer-text);
  letter-spacing: -.01em;
  line-height: 1.2;
}

body.linden-shell .linden-foot-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  flex: 1 1 auto;
  justify-content: flex-end;
}
body.linden-shell .linden-foot-badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
  opacity: .82;
  transition: opacity .15s ease;
}
body.linden-shell .linden-foot-badge:hover { opacity: 1; }
body.linden-shell .linden-foot-badge img {
  height: 100%;
  width: auto;
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* 2-column menus */
body.linden-shell .linden-foot-menus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}
body.linden-shell .linden-foot-menu-col {}
body.linden-shell .linden-foot-menu-title {
  font-family: var(--linden-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--linden-c-footer-text);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
body.linden-shell .linden-foot-menu-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--linden-c-primary);
  flex-shrink: 0;
}
body.linden-shell .linden-foot-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.linden-shell .linden-foot-menu-list li {
  margin: 0;
  padding: 0;
}
body.linden-shell .linden-foot-menu-list a {
  display: inline-block;
  padding: .35rem 0;
  color: var(--linden-c-footer-text);
  text-decoration: none;
  font-size: .95rem;
  transition: color .15s ease;
}
body.linden-shell .linden-foot-menu-list a:hover {
  color: var(--linden-c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* BOTTOM BAND: subtle gray, description + copyright + bottom menu + social */
body.linden-shell .linden-foot-bottom {
  background: var(--linden-c-footer-bg);
  padding: 2.25rem 0 2rem;
  border-top: 1px solid var(--linden-c-border-soft);
}
body.linden-shell .linden-foot-description {
  max-width: 920px;
  margin: 0 auto 1rem;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--linden-c-footer-text);
  opacity: .85;
  text-align: center;
}
body.linden-shell .linden-foot-description p:first-child { margin-top: 0; }
body.linden-shell .linden-foot-description p:last-child  { margin-bottom: 0; }

body.linden-shell .linden-foot-copyright {
  text-align: center;
  font-size: .9rem;
  color: var(--linden-c-footer-text);
  opacity: .85;
  margin: 0 0 1.25rem;
}
body.linden-shell .linden-foot-copyright a {
  color: var(--linden-c-footer-text);
  text-decoration: none;
  opacity: 1;
}
body.linden-shell .linden-foot-copyright a:hover {
  color: var(--linden-c-primary);
}

body.linden-shell .linden-foot-bottom-menu {
  margin: 0 0 1.25rem;
}
body.linden-shell .linden-foot-bottom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}
body.linden-shell .linden-foot-bottom-list li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
body.linden-shell .linden-foot-bottom-list li + li::before {
  content: '';
  width: 1px;
  height: 14px;
  background: var(--linden-c-border);
  margin: 0 1rem;
}
body.linden-shell .linden-foot-bottom-list a {
  color: var(--linden-c-footer-text);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: .35rem 0;
  transition: color .15s ease;
}
body.linden-shell .linden-foot-bottom-list a:hover {
  color: var(--linden-c-primary);
}

body.linden-shell .linden-foot-social {
  display: flex;
  justify-content: center;
  gap: .65rem;
  margin: 0;
}
body.linden-shell .linden-foot-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--linden-c-footer-text);
  border: 1px solid var(--linden-c-border);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.linden-shell .linden-foot-social-link:hover {
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast);
  border-color: var(--linden-c-primary);
}
body.linden-shell .linden-foot-social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Mobile adjustments */
@media (max-width: 700px) {
  body.linden-shell .linden-foot-brand-row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  body.linden-shell .linden-foot-badges {
    justify-content: flex-start;
  }
}

/* ===== HEADER v1.2: multi-level menu + search + improved mobile (Linden v1.2) ===== */

/* Header actions cluster (search button + burger) */
body.linden-shell .linden-header-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
body.linden-shell .linden-search-toggle {
  background: transparent;
  border: 1px solid var(--linden-c-border);
  color: var(--linden-c-header-text);
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--linden-radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.linden-shell .linden-search-toggle:hover {
  background: var(--linden-c-surface-2);
  color: var(--linden-c-primary);
}

/* Multi-level menu — parent items get relative positioning to host dropdowns */
body.linden-shell .linden-navlist {
  position: relative;
}
body.linden-shell .linden-navlist .menu-item-has-children {
  position: relative;
}
body.linden-shell .linden-navlist .menu-item-has-children > a,
body.linden-shell .linden-navlist .menu-item-has-children > span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
/* Chevron indicator on parent items (desktop) */
body.linden-shell .linden-navlist .menu-item-has-children > a::after,
body.linden-shell .linden-navlist .menu-item-has-children > span::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
  opacity: .65;
  transition: transform .15s ease;
}
body.linden-shell .linden-navlist .menu-item-has-children:hover > a::after,
body.linden-shell .linden-navlist .menu-item-has-children:hover > span::after {
  transform: rotate(180deg);
}

/* Make the parent label "clickable" feel even when it's a <span> (non-link parent) */
body.linden-shell .linden-navlist .menu-item-has-children > span.a,
body.linden-shell .linden-navlist .menu-item-has-children > span {
  cursor: pointer;
  user-select: none;
}

/* DESKTOP: hover dropdowns ===== */
@media (min-width: 901px) {

  /* Level 1 submenu — drops below parent */
  body.linden-shell .linden-navlist .sub-menu,
  body.linden-shell .linden-navlist .submenu-wrapper {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    background: var(--linden-c-surface);
    border: 1px solid var(--linden-c-border);
    border-radius: var(--linden-radius);
    padding: .35rem;
    margin: 0;
    list-style: none;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08), 0 4px 8px rgba(15, 23, 42, .04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 50;
  }
  body.linden-shell .linden-navlist .submenu-wrapper .sub-menu {
    /* If wrapper exists, inner sub-menu is just plain list */
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }
  body.linden-shell .linden-navlist > li:hover > .sub-menu,
  body.linden-shell .linden-navlist > li:hover > .submenu-wrapper,
  body.linden-shell .linden-navlist > li:focus-within > .sub-menu,
  body.linden-shell .linden-navlist > li:focus-within > .submenu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Submenu items */
  body.linden-shell .linden-navlist .sub-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
  }
  body.linden-shell .linden-navlist .sub-menu a {
    display: block;
    padding: .55rem .85rem;
    color: var(--linden-c-text);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    border-radius: 6px;
    line-height: 1.3;
    transition: background .12s ease, color .12s ease;
  }
  body.linden-shell .linden-navlist .sub-menu a:hover,
  body.linden-shell .linden-navlist .sub-menu .current-menu-item > a {
    background: var(--linden-c-primary-tint);
    color: var(--linden-c-primary-deep);
  }
  body.linden-shell .linden-navlist .sub-menu a i,
  body.linden-shell .linden-navlist .sub-menu a svg {
    margin-right: .4rem;
    opacity: .65;
    color: var(--linden-c-primary);
  }

  /* Chevron on parent inside submenu — points right (for nested level 2 → level 3) */
  body.linden-shell .linden-navlist .sub-menu .menu-item-has-children > a::after,
  body.linden-shell .linden-navlist .sub-menu .menu-item-has-children > span::after {
    transform: rotate(-90deg);
    margin-left: auto;
  }
  body.linden-shell .linden-navlist .sub-menu .menu-item-has-children:hover > a::after,
  body.linden-shell .linden-navlist .sub-menu .menu-item-has-children:hover > span::after {
    transform: rotate(-90deg);
  }
  body.linden-shell .linden-navlist .sub-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
  }

  /* Level 2 submenu — slides out to the right of parent */
  body.linden-shell .linden-navlist .sub-menu .sub-menu {
    position: absolute;
    top: -.35rem;
    left: 100%;
    margin-left: 4px;
    min-width: 220px;
    background: var(--linden-c-surface);
    border: 1px solid var(--linden-c-border);
    border-radius: var(--linden-radius);
    padding: .35rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08), 0 4px 8px rgba(15, 23, 42, .04);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  }
  body.linden-shell .linden-navlist .sub-menu .menu-item-has-children:hover > .sub-menu,
  body.linden-shell .linden-navlist .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  /* Hide mobile submenu toggle buttons on desktop */
  body.linden-shell .linden-submenu-toggle { display: none !important; }
}

/* ===== MOBILE menu (≤900px) — accordion behavior ===== */
@media (max-width: 900px) {

  body.linden-shell .linden-primary-nav {
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* Reset desktop hover dropdowns on mobile */
  body.linden-shell .linden-navlist .sub-menu,
  body.linden-shell .linden-navlist .submenu-wrapper {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 0;
    display: none;
  }
  body.linden-shell .linden-navlist .menu-item-has-children.is-expanded > .sub-menu,
  body.linden-shell .linden-navlist .menu-item-has-children.is-expanded > .submenu-wrapper {
    display: block;
  }
  body.linden-shell .linden-navlist .menu-item-has-children.is-expanded > .submenu-wrapper .sub-menu {
    display: block;
  }

  /* Hide desktop chevron on parent links — we use a separate toggle button on mobile */
  body.linden-shell .linden-navlist .menu-item-has-children > a::after,
  body.linden-shell .linden-navlist .menu-item-has-children > span::after {
    display: none;
  }

  /* Make parent rows flex to fit the toggle chevron */
  body.linden-shell .linden-navlist .menu-item-has-children {
    display: block;
    position: relative;
  }
  body.linden-shell .linden-navlist .menu-item-has-children > a,
  body.linden-shell .linden-navlist .menu-item-has-children > span {
    padding-right: 44px;
    display: block;
  }

  /* Mobile submenu toggle button (added by JS) */
  body.linden-shell .linden-submenu-toggle {
    position: absolute;
    right: .25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--linden-c-header-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .12s ease, transform .15s ease;
  }
  body.linden-shell .linden-submenu-toggle:hover {
    background: var(--linden-c-surface-2);
  }
  body.linden-shell .linden-submenu-toggle[aria-expanded="true"] {
    transform: translateY(-50%) rotate(180deg);
    color: var(--linden-c-primary);
  }
  body.linden-shell .linden-submenu-toggle svg { display: block; }

  /* Indent submenus on mobile */
  body.linden-shell .linden-navlist .sub-menu {
    padding-left: 1rem !important;
    border-left: 2px solid var(--linden-c-primary-tint) !important;
    margin: .25rem 0 .25rem .5rem !important;
  }
  body.linden-shell .linden-navlist .sub-menu li {
    margin: 0;
    border-bottom: 0;
  }
  body.linden-shell .linden-navlist .sub-menu a {
    padding: .55rem 1rem !important;
    font-size: .92rem;
    color: var(--linden-c-text);
    display: block;
  }

  /* Hide the chevron toggle inside submenu items (only on top-level parents would be confusing) */
  /* Actually we want it on ALL parents recursively. Keep it. */
}

/* ===== SEARCH FORM ===== */
body.linden-shell .linden-search-form {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--linden-c-surface-2);
  border: 1px solid var(--linden-c-border);
  border-radius: var(--linden-radius);
  padding: .5rem;
  margin: 0 0 1rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
body.linden-shell .linden-search-form.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.linden-shell .linden-search-form[hidden] { display: none; }
body.linden-shell .linden-search-input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: .5rem .75rem;
  font-size: 1rem;
  font-family: var(--linden-font-body);
  color: var(--linden-c-text);
  outline: 0;
  min-width: 0;
}
body.linden-shell .linden-search-input::placeholder {
  color: var(--linden-c-muted);
}
body.linden-shell .linden-search-submit {
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast);
  border: 0;
  padding: .55rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s ease;
  font-family: var(--linden-font-body);
  font-size: .92rem;
}
body.linden-shell .linden-search-submit:hover {
  background: var(--linden-c-primary-hover);
}
body.linden-shell .linden-search-close {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--linden-c-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s ease, color .12s ease;
}
body.linden-shell .linden-search-close:hover {
  background: var(--linden-c-border);
  color: var(--linden-c-heading);
}

/* Screen-reader-only utility */
body.linden-shell .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Improve logo display from custom_logo — handled above at line 167 (v1.3.2) */


/* ===== USER REVIEWS section (v1.3) ===== */

body.linden-shell .linden-reviews-section {
  max-width: var(--linden-content-width);
  margin: 4rem auto 0;
  scroll-margin-top: 90px;
}

/* Section header */
body.linden-shell .linden-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--linden-c-border);
}
body.linden-shell .linden-reviews-title {
  font-family: var(--linden-font-heading);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  color: var(--linden-c-heading);
  margin: 0;
  letter-spacing: -.015em;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
body.linden-shell .linden-reviews-count {
  font-family: var(--linden-font-body);
  font-size: .9em;
  color: var(--linden-c-muted);
  text-decoration: none;
  font-weight: 500;
}
body.linden-shell .linden-reviews-count:hover {
  color: var(--linden-c-primary);
}

/* Overall rating summary */
body.linden-shell .linden-reviews-summary {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--linden-c-surface-2);
  border-radius: var(--linden-radius-lg);
  margin-bottom: 2.5rem;
}
@media (max-width: 600px) {
  body.linden-shell .linden-reviews-summary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

body.linden-shell .linden-reviews-summary-score {
  text-align: center;
}
body.linden-shell .linden-reviews-summary-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .15rem;
  margin-bottom: .5rem;
}
body.linden-shell .linden-reviews-summary-number strong {
  font-family: var(--linden-font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--linden-c-heading);
  line-height: 1;
  letter-spacing: -.03em;
}
body.linden-shell .linden-reviews-summary-number span {
  font-size: 1.1rem;
  color: var(--linden-c-muted);
  font-weight: 500;
}
body.linden-shell .linden-reviews-summary-stars {
  margin-bottom: .35rem;
  display: flex;
  justify-content: center;
}
body.linden-shell .linden-reviews-summary-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--linden-c-primary-deep);
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.linden-shell .linden-reviews-summary-bars {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
body.linden-shell .linden-reviews-bar {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  gap: .75rem;
  align-items: center;
  font-size: .88rem;
}
body.linden-shell .linden-reviews-bar-label {
  color: var(--linden-c-text);
  font-weight: 500;
}
body.linden-shell .linden-reviews-bar-track {
  background: var(--linden-c-border-soft);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
}
body.linden-shell .linden-reviews-bar-fill {
  background: var(--linden-c-primary);
  height: 100%;
  transition: width .3s ease;
  border-radius: 100px;
}
body.linden-shell .linden-reviews-bar-count {
  text-align: right;
  color: var(--linden-c-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Star icons */
body.linden-shell .linden-star-row {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
body.linden-shell .linden-star {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--linden-c-border);
}
body.linden-shell .linden-star.is-active {
  color: #f59e0b; /* amber-500 — universal "star" color, more recognizable than green */
}
body.linden-shell .linden-star svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Reviews list — comment cards */
body.linden-shell .linden-review-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
body.linden-shell .linden-review-card {
  background: var(--linden-c-surface);
  border: 1px solid var(--linden-c-border);
  border-radius: var(--linden-radius);
  padding: 1.5rem;
  margin: 0 0 1rem;
  list-style: none;
}
body.linden-shell .linden-review-card article > * { margin: 0; }
body.linden-shell .linden-review-card article > * + * { margin-top: .75rem; }

body.linden-shell .linden-review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
body.linden-shell .linden-review-card-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
body.linden-shell .linden-review-card-author {
  font-weight: 700;
  color: var(--linden-c-heading);
  font-size: 1rem;
}
body.linden-shell .linden-review-card-time {
  font-size: .82rem;
  color: var(--linden-c-muted);
  font-variant-numeric: tabular-nums;
}
body.linden-shell .linden-review-card-rating .linden-star {
  width: 16px;
  height: 16px;
}

body.linden-shell .linden-review-card-title {
  font-family: var(--linden-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--linden-c-heading);
  margin-top: .5rem !important;
  letter-spacing: -.005em;
  line-height: 1.3;
}

body.linden-shell .linden-review-card-content {
  color: var(--linden-c-text);
  font-size: .98rem;
  line-height: 1.65;
}
body.linden-shell .linden-review-card-content p { margin: 0 0 .75rem; }
body.linden-shell .linden-review-card-content p:last-child { margin-bottom: 0; }

body.linden-shell .linden-review-card-pending {
  font-size: .85rem;
  color: var(--linden-c-muted);
}

body.linden-shell .linden-review-card-footer {
  padding-top: .75rem;
  border-top: 1px solid var(--linden-c-border-soft);
  margin-top: 1rem !important;
}
body.linden-shell .linden-review-card-votes {
  display: flex;
  gap: 1rem;
}
body.linden-shell .linden-review-card-vote {
  font-size: .85rem;
  font-weight: 500;
  color: var(--linden-c-muted);
  font-variant-numeric: tabular-nums;
}
body.linden-shell .linden-review-card-vote--up   { color: #1e6e3f; }
body.linden-shell .linden-review-card-vote--down { color: #a02020; }

/* Empty state */
body.linden-shell .linden-reviews-empty {
  text-align: center;
  padding: 2rem;
  background: var(--linden-c-surface-2);
  border-radius: var(--linden-radius-lg);
  color: var(--linden-c-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ===== REVIEW SUBMIT FORM ===== */
body.linden-shell .linden-review-form,
body.linden-shell #linden-review-form {
  background: var(--linden-c-surface-2);
  border: 1px solid var(--linden-c-border);
  border-radius: var(--linden-radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
}
body.linden-shell .linden-review-form .comment-reply-title,
body.linden-shell .linden-review-form #reply-title {
  font-family: var(--linden-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--linden-c-heading);
  margin: 0 0 1.25rem;
  letter-spacing: -.015em;
}
body.linden-shell .linden-review-form .logged-in-as,
body.linden-shell .linden-form-notes {
  font-size: .88rem;
  color: var(--linden-c-muted);
  margin: 0 0 1.25rem;
  padding: .65rem .85rem;
  background: var(--linden-c-bg);
  border-radius: var(--linden-radius);
  border-left: 3px solid var(--linden-c-primary);
}

body.linden-shell .linden-form-row {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: 0 0 1rem;
}
body.linden-shell .linden-form-row label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--linden-c-heading);
}
body.linden-shell .linden-form-row label .required {
  color: #c53f07;
  font-weight: 700;
}
body.linden-shell .linden-form-row input[type="text"],
body.linden-shell .linden-form-row input[type="email"],
body.linden-shell .linden-form-row input[type="url"],
body.linden-shell .linden-form-row textarea {
  width: 100%;
  padding: .65rem .85rem;
  font-family: var(--linden-font-body);
  font-size: 1rem;
  color: var(--linden-c-text);
  background: var(--linden-c-bg);
  border: 1px solid var(--linden-c-border);
  border-radius: var(--linden-radius);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.linden-shell .linden-form-row input:focus,
body.linden-shell .linden-form-row textarea:focus {
  border-color: var(--linden-c-primary);
  box-shadow: 0 0 0 3px var(--linden-c-primary-tint);
}
body.linden-shell .linden-form-row textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

/* Two-column rows for name/email */
@media (min-width: 600px) {
  body.linden-shell .linden-review-form .comment-form-author,
  body.linden-shell .linden-review-form .comment-form-email {
    display: inline-flex;
    width: calc(50% - .5rem);
    vertical-align: top;
  }
  body.linden-shell .linden-review-form .comment-form-author { margin-right: 1rem; }
}

/* Star rating input */
body.linden-shell .linden-rating-input-row label:first-of-type {
  margin-bottom: .25rem;
}
body.linden-shell .linden-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0;
}
body.linden-shell .linden-rating-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
body.linden-shell .linden-rating-input label {
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
  margin: 0 !important;
  font-weight: normal !important;
  background: var(--linden-c-border);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 2l2.9 6.9L22 10l-5.5 4.7L18 22l-6-3.4L6 22l1.5-7.3L2 10l7.1-1.1z'/></svg>") no-repeat center / 28px 28px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 2l2.9 6.9L22 10l-5.5 4.7L18 22l-6-3.4L6 22l1.5-7.3L2 10l7.1-1.1z'/></svg>") no-repeat center / 28px 28px;
  transition: background .12s ease;
}
/* On hover: highlight current + all stars to the right (which are visually to its LEFT due to row-reverse) */
body.linden-shell .linden-rating-input label:hover,
body.linden-shell .linden-rating-input label:hover ~ label,
body.linden-shell .linden-rating-input input:checked ~ label {
  background: #f59e0b;
}

/* Submit button */
body.linden-shell .linden-form-submit {
  margin: 1.25rem 0 0;
}
body.linden-shell .linden-review-form input[type="submit"],
body.linden-shell .linden-review-form button[type="submit"] {
  background: var(--linden-c-primary);
  color: var(--linden-c-primary-contrast);
  border: 0;
  padding: .85rem 1.75rem;
  border-radius: var(--linden-radius);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--linden-font-body);
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
  box-shadow: var(--linden-shadow-sm);
}
body.linden-shell .linden-review-form input[type="submit"]:hover,
body.linden-shell .linden-review-form button[type="submit"]:hover {
  background: var(--linden-c-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--linden-shadow-md);
}

/* WP default comment-form cleanup */
body.linden-shell #linden-review-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--linden-c-muted);
  margin: 0 0 1rem;
}
body.linden-shell #linden-review-form .comment-form-cookies-consent label {
  font-weight: normal;
  color: var(--linden-c-muted);
}


/* ============================================================ */
/*  v1.3.8 — pokatheme-migrator block theming (parity with Ember).  */
/*  Ported from the sibling theme; colors come from the --linden-c-* */
/*  variables above, so these adopt Linden's green palette.          */
/* ============================================================ */
/* ============================================================ */
/* ============ LINDEN LIGHT-THEME OVERRIDES ==================== */
/* ============================================================ */
/* The pokatheme-migrator plugin renders content blocks (.poka-*) with
   its own inlined styling. These overrides ensure consistent visual
   identity with the Linden palette — warm accent CTAs, clean white cards,
   solid dark header/footer.                                          */

/* Bold accent CTA buttons — high contrast on white surface.
   v1.0.3: exclude .poka-btn-outline — that's a secondary outline button with its own styling. */
body.linden-shell .poka-btn:not(.poka-btn-outline),
body.linden-shell .poka-visit-site,
body.linden-shell .poka-btn-large:not(.poka-btn-outline) {
  background: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
  border: 0 !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  border-radius: 8px !important;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease !important;
  box-shadow: 0 4px 14px rgba(6, 147, 227, .25);
}
body.linden-shell .poka-btn:not(.poka-btn-outline):hover,
body.linden-shell .poka-visit-site:hover,
body.linden-shell .poka-btn-large:not(.poka-btn-outline):hover {
  background: var(--linden-c-primary-hover) !important;
  color: var(--linden-c-primary-contrast) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 147, 227, .35);
}

/* v1.0.3: Outline button (secondary CTA, e.g. "Full Review" in mini-reviews).
   Transparent bg + accent border + accent text. Fills on hover.
   Higher specificity ensures this beats the plain .poka-btn filled style. */
body.linden-shell .poka-btn.poka-btn-outline,
body.linden-shell a.poka-btn.poka-btn-outline,
body.linden-shell .poka-brand-card-review-btn {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--linden-c-primary) !important;
  -webkit-text-fill-color: var(--linden-c-primary) !important;
  border: 2px solid var(--linden-c-primary) !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: background .15s ease, color .15s ease, transform .1s ease !important;
}
body.linden-shell .poka-btn.poka-btn-outline:hover,
body.linden-shell a.poka-btn.poka-btn-outline:hover,
body.linden-shell .poka-brand-card-review-btn:hover {
  background: var(--linden-c-primary) !important;
  background-color: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
  -webkit-text-fill-color: var(--linden-c-primary-contrast) !important;
  border-color: var(--linden-c-primary) !important;
  transform: translateY(-1px);
}

/* User-review write button — was bright red #c53f07, swap to Linden accent */
body.linden-shell .poka-ur-write-btn {
  background: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
  border: 0 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: background .15s ease, transform .1s ease !important;
}
body.linden-shell .poka-ur-write-btn:hover {
  background: var(--linden-c-primary-hover) !important;
  color: var(--linden-c-primary-contrast) !important;
  transform: translateY(-1px);
}

/* User-review progress bars — accent fill */
body.linden-shell .poka-ur-bar-fill {
  background: var(--linden-c-primary) !important;
}

/* Brand-card show button — outline accent */
body.linden-shell .grw-brand-table-box .brand-card .show-button {
  background: transparent !important;
  border: 1px solid var(--linden-c-primary) !important;
  color: var(--linden-c-primary) !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: background .15s ease, color .15s ease !important;
}
body.linden-shell .grw-brand-table-box .brand-card .show-button:hover {
  background: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
}

/* Last-updated pill — subtle warm tint */
body.linden-shell .poka-date-wrap {
  background: var(--linden-c-primary-tint) !important;
  border: 1px solid rgba(6, 147, 227, .2) !important;
  color: var(--linden-c-text) !important;
}
body.linden-shell .poka-date-label {
  color: var(--linden-c-primary-deep) !important;
  font-weight: 600;
}

/* Author profile link — accent */
body.linden-shell .poka-author-profile {
  color: var(--linden-c-primary) !important;
  font-weight: 600;
}
body.linden-shell .poka-author-profile:hover {
  color: var(--linden-c-primary-hover) !important;
}

/* Inline content links in entry text — accent (excluding action buttons) */
body.linden-shell .linden-entry-text a:not(.poka-btn):not(.poka-visit-site):not(.poka-btn-large) {
  color: var(--linden-c-primary) !important;
}
body.linden-shell .linden-entry-text a:not(.poka-btn):hover {
  color: var(--linden-c-primary-deep) !important;
}

/* Section headings — keep dark but with subtle accent underline accent */
body.linden-shell .poka-section-title {
  position: relative;
  padding-bottom: .5rem;
}
body.linden-shell .poka-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--linden-c-primary);
  border-radius: 2px;
}

/* Pros (still green for semantic clarity) + Cons (semantic red) */
body.linden-shell .poka-pros-list li::before {
  color: #00d084 !important;
}
body.linden-shell .poka-cons-list li::before {
  color: #cf2e2e !important;
}

/* Form inputs — soft focus with accent ring */
body.linden-shell .poka-ur-form input:focus,
body.linden-shell .poka-ur-form textarea:focus,
body.linden-shell #linden-review-form input:focus,
body.linden-shell #linden-review-form textarea:focus {
  border-color: var(--linden-c-primary) !important;
  outline: 2px solid var(--linden-c-primary-tint) !important;
}

/* Mobile table data-label prefix — slightly accent to match identity */
@media (max-width: 640px) {
  body.linden-shell .poka-block table td[data-label]::before,
  body.linden-shell .linden-table-scroll table td[data-label]::before {
    color: var(--linden-c-primary-deep) !important;
  }
}

/* Bonus card promo code — accent highlight */
body.linden-shell .poka-bonus-card-promo code {
  background: var(--linden-c-primary-tint) !important;
  color: var(--linden-c-primary-deep) !important;
  border: 1px solid rgba(6, 147, 227, .2) !important;
  font-weight: 700 !important;
}

/* Headings get a slight accent-on-hover for clickable ones (review titles, etc) */
body.linden-shell .poka-large-feature h2 a:hover,
body.linden-shell .poka-large-feature h3 a:hover {
  color: var(--linden-c-primary) !important;
}

/* Subtle card elevation on the home page list — surfaces brighter than bg */
body.linden-shell .poka-block,
body.linden-shell .poka-author-card,
body.linden-shell .poka-large-feature,
body.linden-shell .poka-ur-card,
body.linden-shell .poka-faq-item {
  background: var(--linden-c-surface) !important;
  border: 1px solid var(--linden-c-border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

/* ============================================================ */
/* ============ v1.0.1 — MORE PLUGIN BLOCK OVERRIDES =========== */
/* ============================================================ */

/* Bonus-card ranking badge — plugin hardcodes dark red #c53f07, swap to Linden accent */
body.linden-shell .poka-bonus-card-rank {
  background: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
}

/* Comment submit button + Reply button (Astra default → Linden palette) */
body.linden-shell #commentform input[type="submit"],
body.linden-shell .comment-form input[type="submit"],
body.linden-shell .comment-reply-link,
body.linden-shell .ast-button,
body.linden-shell .wp-block-button__link {
  background: var(--linden-c-primary) !important;
  background-color: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
  border-color: var(--linden-c-primary) !important;
  font-weight: 600 !important;
  transition: background .15s ease, color .15s ease, transform .1s ease !important;
}
body.linden-shell #commentform input[type="submit"]:hover,
body.linden-shell .comment-form input[type="submit"]:hover,
body.linden-shell .comment-reply-link:hover,
body.linden-shell .ast-button:hover,
body.linden-shell .wp-block-button__link:hover {
  background: var(--linden-c-primary-hover) !important;
  background-color: var(--linden-c-primary-hover) !important;
  color: var(--linden-c-primary-contrast) !important;
  transform: translateY(-1px);
}

/* Any other generic input[type=submit] / button.button (e.g. search forms) */
body.linden-shell input[type="submit"],
body.linden-shell button.button:not(.button-secondary):not(.button-link),
body.linden-shell .search-submit {
  background: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
  border: 0 !important;
}

/* Pagination "next/prev" links */
body.linden-shell .nav-links a.page-numbers,
body.linden-shell .page-numbers.current {
  color: var(--linden-c-text) !important;
  border-color: var(--linden-c-border) !important;
}
body.linden-shell .page-numbers.current {
  background: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
  border-color: var(--linden-c-primary) !important;
}
body.linden-shell .nav-links a.page-numbers:hover {
  color: var(--linden-c-primary) !important;
}

/* Mini-review preview "Visit the Site" / "Full Review" links */
body.linden-shell .poka-mini-review-cta,
body.linden-shell .poka-mini-review-link {
  color: var(--linden-c-primary) !important;
  font-weight: 600;
}
body.linden-shell .poka-mini-review-cta:hover {
  color: var(--linden-c-primary-deep) !important;
}

/* "Show More" toggle on brand tables */
body.linden-shell .grw-brand-table-box .show-more,
body.linden-shell .poka-show-more {
  background: var(--linden-c-primary) !important;
  color: var(--linden-c-primary-contrast) !important;
  border: 0 !important;
}

/* =====================================================================
   CROWN CHROME — dark navy header + navy footer, purple->blue gradient CTAs,
   pink accents (reference: nogamstopcasinos.uk). Appended last to win.
   ===================================================================== */

/* ---- Masthead: navy base (from --linden-c-header-bg); drop the light rule ---- */
body.linden-shell .crown-masthead.linden-masthead { border-bottom: 0 !important; }
body.linden-shell .crown-masthead.linden-masthead.is-sticky {
  background: var(--crown-navy) !important;
  box-shadow: 0 6px 22px rgba(2, 7, 41, .5);
}

/* ---- Top utility bar (darkest navy) ---- */
body.linden-shell .crown-topbar {
  background: var(--crown-navy-darkest);
  color: var(--crown-on-navy-soft);
  font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
body.linden-shell .crown-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding: .5rem 0;
}
body.linden-shell .crown-topbar-note { display: inline-flex; align-items: center; gap: .5rem; }
body.linden-shell .crown-topbar a { color: var(--crown-blue); text-decoration: none; font-weight: 600; }
body.linden-shell .crown-topbar a:hover { color: #4db8f0; text-decoration: underline; }
body.linden-shell .crown-age {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--crown-orange); color: #fff;
  font-weight: 800; font-size: .72rem; line-height: 1;
  padding: .2rem .42rem; border-radius: 5px;
}
body.linden-shell .crown-topbar-tagline { color: var(--crown-on-navy-soft); opacity: .8; }

/* ---- Main bar (navy) ---- */
body.linden-shell .crown-mainbar { background: transparent; }
body.linden-shell .crown-mainbar-inner {
  display: flex; align-items: center; gap: 1.75rem; padding: .95rem 0;
}
body.linden-shell .crown-brand { flex: 0 0 auto; line-height: 0; }
body.linden-shell .crown-brand .custom-logo,
body.linden-shell .crown-brand img.custom-logo {
  display: block !important; height: 46px !important; width: auto !important; max-width: 220px !important; object-fit: contain;
}
body.linden-shell .crown-wordmark {
  font-family: var(--linden-font-heading);
  font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em;
  color: #fff; text-decoration: none; line-height: 1;
  display: inline-flex; align-items: center;
}
body.linden-shell .crown-wordmark::before {
  content: ''; display: inline-block; width: 8px; height: 22px; margin-right: .55rem;
  border-radius: 3px; background: var(--crown-pink);
}
body.linden-shell .crown-wordmark:hover { color: var(--crown-pink); }

/* ---- Nav: white links, pink hover/active + pink underline ---- */
body.linden-shell .crown-mainbar .linden-navlist a { color: #fff; font-weight: 600; position: relative; }
body.linden-shell .crown-mainbar .linden-navlist a:hover { background: transparent; color: var(--crown-pink); }
body.linden-shell .crown-mainbar .linden-navlist > li > a::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .32rem; height: 2px;
  background: var(--crown-pink); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
body.linden-shell .crown-mainbar .linden-navlist > li > a:hover::after { transform: scaleX(1); }
body.linden-shell .crown-mainbar .linden-navlist .current-menu-item > a { background: rgba(255,255,255,.08); color: var(--crown-pink); }

/* desktop dropdown panels: dark navy, light links, pink hover */
body.linden-shell .crown-mainbar .linden-navlist .sub-menu {
  background: var(--crown-navy-darkest) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 12px 30px rgba(2,7,41,.5) !important;
}
body.linden-shell .crown-mainbar .linden-navlist .sub-menu a { color: #dfe5f2 !important; }
body.linden-shell .crown-mainbar .linden-navlist .sub-menu a:hover,
body.linden-shell .crown-mainbar .linden-navlist .sub-menu .current-menu-item > a { color: var(--crown-pink) !important; background: rgba(255,255,255,.05) !important; }
body.linden-shell .crown-mainbar .linden-navlist .sub-menu > li > a::after { display: none; }

/* ---- Actions: search + gradient CTA + burger (light on navy) ---- */
body.linden-shell .crown-actions { display: inline-flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
body.linden-shell .crown-search-toggle.linden-search-toggle,
body.linden-shell .crown-nav-toggle.linden-nav-toggle {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: #fff; width: 40px; height: 40px; border-radius: var(--linden-radius);
  align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
/* search toggle: always visible; burger: framework controls visibility (none on desktop, shown ≤900px) */
body.linden-shell .crown-search-toggle.linden-search-toggle { display: inline-flex; }
body.linden-shell .crown-search-toggle.linden-search-toggle:hover,
body.linden-shell .crown-nav-toggle.linden-nav-toggle:hover { background: rgba(255,255,255,.12); border-color: var(--crown-blue); }
body.linden-shell .crown-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--linden-font-heading); font-weight: 700; font-size: .92rem;
  background: var(--crown-cta-grad); color: #fff;
  padding: .58rem 1.2rem; border-radius: var(--linden-radius-pill);
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(155, 81, 224, .4);
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
body.linden-shell .crown-cta:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(6, 147, 227, .45); }

/* ---- Search form ---- */
body.linden-shell .crown-search-form.linden-search-form { padding-bottom: 1rem; }
body.linden-shell .crown-search-form .linden-search-input { background: #fff; color: var(--crown-navy); }
body.linden-shell .crown-search-form .linden-search-submit { background: var(--crown-cta-grad); color: #fff; border: 0; }

/* ---- Mobile (≤900px): nav drops below in dark navy ---- */
@media (max-width: 900px) {
  body.linden-shell .crown-mainbar .linden-primary-nav {
    background: var(--crown-navy-darkest) !important;
    border-top: 1px solid rgba(255,255,255,.1) !important;
  }
  body.linden-shell .crown-mainbar .linden-navlist a { color: #fff !important; }
  body.linden-shell .crown-mainbar .linden-navlist > li > a::after { display: none; }
}
@media (max-width: 600px) {
  body.linden-shell .crown-topbar-tagline { display: none; }
  body.linden-shell .crown-cta { display: none; }
}

/* =====================================================================
   MIGRATOR BLOCKS — purple->blue gradient CTAs + dark navy pros/cons.
   ===================================================================== */
/* Style 4 (migrator "outlined editorial"): drive its accent from Crown's palette.
   The plugin uses var(--pokamig-accent,#0f766e) etc. with a teal fallback, so themes
   that don't set these keep Style 4's original look; Crown maps them to navy/blue. */
body.linden-shell.pokamig-style-4 {
  --pokamig-accent:      var(--crown-blue);          /* left-bars, badges, buttons, links, FAQ/rating accent */
  --pokamig-accent-dark: #0571ad;                    /* hovers + accent text */
  --pokamig-accent-tint: #e7f3fc;                    /* light tint backgrounds */
  --pokamig-accent-soft: rgba(6,147,227,.28);        /* translucent accent border */
  --pokamig-table-head:  var(--crown-navy);          /* lined-table header */

  /* pokamig-migrator v2.16.226+ — extended variables */
  --pokamig-card-bg:          var(--linden-c-bg);
  --pokamig-card-bg-deep:     var(--linden-c-bg-deep);
  --pokamig-card-border:      var(--linden-c-border);
  --pokamig-card-text:        var(--linden-c-text);
  --pokamig-card-heading:     var(--linden-c-heading);
  --pokamig-card-muted:       var(--linden-c-muted);
  --pokamig-card-shadow:      var(--linden-shadow-sm, 0 1px 3px rgba(0,0,0,.04));
  --pokamig-pros-color:       #059669;
  --pokamig-cons-color:       #dc2626;
  --pokamig-success:          var(--linden-c-primary);
  --pokamig-link:             var(--linden-c-primary);
  --pokamig-accent-contrast:  var(--linden-c-primary-contrast);
  --pokamig-accent-hover:     var(--linden-c-primary-hover);
  --pokamig-section-bg:       transparent;
  --pokamig-section-border:   var(--linden-c-border);

}

/* Tame inline-styled content toggles (e.g. a hand-built "Disclaimer" baked into
   page content — no class, only an onclick hook) so they match the theme.
   !important is required to beat the element's inline styles. Display is left to
   the inline toggle JS. */
body.linden-shell button[onclick*="nextElementSibling"] {
  background: var(--crown-navy) !important;
  color: #fff !important;
  border: 1px solid var(--crown-navy) !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  font-weight: 700 !important;
}
body.linden-shell button[onclick*="nextElementSibling"]:hover { background: var(--crown-navy-2) !important; }
body.linden-shell button[onclick*="nextElementSibling"] + div {
  background: #eef3fb !important;
  border: 1px solid var(--crown-blue) !important;
  border-radius: 8px !important;
  color: var(--crown-navy) !important;
}
body.linden-shell button[onclick*="nextElementSibling"] + div p { color: var(--crown-navy) !important; }

/* Primary CTAs -> gradient (override the solid-primary block rules above) */
body.linden-shell .poka-btn:not(.poka-btn-outline),
body.linden-shell .poka-visit-site,
body.linden-shell .poka-btn-large:not(.poka-btn-outline),
body.linden-shell .poka-ur-write-btn,
body.linden-shell a.poka-brand-card-cta,
body.linden-shell a.poka-bonus-card-cta {
  background: var(--crown-cta-grad) !important;
  background-color: #9b51e0 !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(155, 81, 224, .35) !important;
}
body.linden-shell .poka-btn:not(.poka-btn-outline):hover,
body.linden-shell .poka-visit-site:hover,
body.linden-shell .poka-btn-large:not(.poka-btn-outline):hover,
body.linden-shell .poka-ur-write-btn:hover,
body.linden-shell a.poka-brand-card-cta:hover,
body.linden-shell a.poka-bonus-card-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(6, 147, 227, .45) !important;
}

/* Dual-CTA wrapper (stacked "Visit the Site" + "Full Review") is a layout
   container, not a button — keep it flat so the outline button stays readable. */
body.linden-shell div.poka-brand-card-cta,
body.linden-shell div.poka-bonus-card-cta { background: none !important; box-shadow: none !important; }

/* Section-title underline -> pink */
body.linden-shell .poka-section-title::after { background: var(--crown-pink) !important; }

/* Pros / Cons -> dark navy cards, light text (matches reference) */
body.linden-shell .poka-pros,
body.linden-shell .poka-cons {
  background: var(--crown-navy) !important;
  border: 0 !important;
  border-radius: var(--linden-radius-lg) !important;
  padding: 1.75rem !important;
}
body.linden-shell .poka-pros-title,
body.linden-shell .poka-cons-title { color: #fff !important; }
body.linden-shell .poka-pros-list li,
body.linden-shell .poka-cons-list li { color: #dfe5f2 !important; }
body.linden-shell .poka-pros-list li::before { color: var(--crown-mint) !important; }
body.linden-shell .poka-cons-list li::before { color: var(--crown-red) !important; }

/* =====================================================================
   CROWN FOOTER — navy with blue/pink accents.
   ===================================================================== */
body.linden-shell .crown-foot.linden-site-base {
  background: var(--crown-navy) !important;
  color: var(--crown-on-navy-soft) !important;
  border-top: 0 !important;
  padding: 0 !important;
  margin-top: 5rem;
}

/* Responsible-gambling band */
body.linden-shell .crown-foot-rg { background: var(--crown-navy-2); border-top: 3px solid var(--crown-blue); }
body.linden-shell .crown-foot-rg-inner { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; }
body.linden-shell .crown-foot-rg-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  background: var(--crown-orange); color: #fff; font-weight: 800; font-size: .85rem; line-height: 1;
  width: 38px; height: 38px; border-radius: 9px;
}
body.linden-shell .crown-foot-rg-text { margin: 0; font-size: .86rem; color: var(--crown-on-navy-soft); }
body.linden-shell .crown-foot-rg-text strong { color: #fff; }
body.linden-shell .crown-foot-rg-text a { color: var(--crown-blue); text-decoration: none; font-weight: 600; }
body.linden-shell .crown-foot-rg-text a:hover { text-decoration: underline; }

/* Main grid */
body.linden-shell .crown-foot-main { padding: 3rem 0 2.5rem; }
body.linden-shell .crown-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2rem; }
body.linden-shell .crown-foot-brand .custom-logo,
body.linden-shell .crown-foot-brand img.custom-logo { display: block !important; height: 44px !important; width: auto !important; max-width: 200px !important; }
body.linden-shell .crown-foot-wordmark { font-family: var(--linden-font-heading); font-weight: 800; font-size: 1.4rem; color: #fff; text-decoration: none; letter-spacing: -.02em; }
body.linden-shell .crown-foot-desc { margin-top: .9rem; font-size: .88rem; line-height: 1.7; color: var(--crown-on-navy-soft); max-width: 46ch; }
body.linden-shell .crown-foot-social { display: flex; gap: .5rem; margin-top: 1.1rem; }
body.linden-shell .crown-foot-social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.06); color: var(--crown-on-navy-soft);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
body.linden-shell .crown-foot-social-link:hover { background: var(--crown-blue); color: #fff; transform: translateY(-2px); }
body.linden-shell .crown-foot-social-link svg { width: 18px; height: 18px; }
body.linden-shell .crown-foot-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; align-items: center; }
body.linden-shell .crown-foot-badge img { height: 34px; width: auto; opacity: .92; }
body.linden-shell .crown-foot-col-title {
  font-family: var(--linden-font-heading); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; margin: 0 0 1rem;
}
body.linden-shell .crown-foot-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
body.linden-shell .crown-foot-menu a { color: var(--crown-on-navy-soft); text-decoration: none; font-size: .9rem; transition: color .15s ease; }
body.linden-shell .crown-foot-menu a:hover { color: var(--crown-blue); }

/* Bottom bar */
body.linden-shell .crown-foot-bottom { border-top: 1px solid rgba(255,255,255,.08); }
body.linden-shell .crown-foot-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.25rem 0; }
body.linden-shell .crown-foot-copyright { font-size: .85rem; color: var(--crown-on-navy-soft); }
body.linden-shell .crown-foot-copyright a { color: var(--crown-blue); text-decoration: none; }
body.linden-shell .crown-foot-bottom-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
body.linden-shell .crown-foot-bottom-list a { color: var(--crown-on-navy-soft); text-decoration: none; font-size: .85rem; }
body.linden-shell .crown-foot-bottom-list a:hover { color: #fff; }

@media (max-width: 880px) {
  body.linden-shell .crown-foot-grid { grid-template-columns: 1fr 1fr; }
  body.linden-shell .crown-foot-brandcol { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body.linden-shell .crown-foot-grid { grid-template-columns: 1fr; }
  body.linden-shell .crown-foot-bottom-inner { justify-content: flex-start; }
}

/* ---- Back-to-top -> gradient pill ---- */
body.linden-shell button.linden-top-trigger {
  background: var(--crown-cta-grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(155, 81, 224, .45);
}
body.linden-shell button.linden-top-trigger:hover { filter: brightness(1.08); box-shadow: 0 12px 28px rgba(6, 147, 227, .5); }
body.linden-shell button.linden-top-trigger svg { color: #fff; }
