/* JavaSense Lux Theme Styles (pairs with JavaSense UI Kit tokens) */

/* Fallback tokens when UI Kit plugin is not active */
:root{
  --js-bg:#050607;
  --js-surface:rgba(10,12,14,.92);
  --js-surface2:rgba(8,10,12,.92);
  --js-text:#EEEAE1;
  --js-muted:rgba(238,234,225,.70);
  --js-gold:#D0A233;
  --js-gold2:#D6B04C;
  --js-gold-bright:#FFE99A;
  --js-gold-foil-a:#FFE99A;
  --js-gold-foil-b:#FFFDF5;
  --js-gold-foil-c:#FFD86B;
  --js-border:rgba(208,162,51,.22);
  --js-shadow:0 14px 45px rgba(0,0,0,.35);
  --js-radius-lg:22px;
  --js-radius-md:16px;
}


/* Global hardening (prevents left-align/overflow due to plugin CSS) */
html, body{ width:100%; max-width:100%; margin:0; }
body{ overflow-x:hidden; }
*, *::before, *::after{ box-sizing: border-box; }
.js-container{ display:block; margin-left:auto !important; margin-right:auto !important; width:100%; }

/* Use the same “page” class as the landing */
body.js-page{
  background: var(--js-bg);
  color: var(--js-text);
}

/* Make sure WP logo inherits landing sizing when theme logo uses custom-logo */
.js-brand .custom-logo{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display:block;
}
@media (min-width: 900px){
  .js-brand .custom-logo{ width: 91px; height: 91px; border-radius: 18px; }
}


/* Theme wordmark: align with homepage/plugin brand image */
.js-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.js-brand .js-wordmark{
  display:inline-flex;
  align-items:center;
  height: clamp(30px, 3.1vw, 54px);
  width:auto;
  max-width:min(46vw, 420px);
  line-height:0;
  flex:0 1 auto;
  overflow:visible;
}
.js-brand .js-wordmark img,
.js-brand .js-wordmark .js-wordmark-img{
  display:block;
  height:100%;
  width:auto;
  max-width:100%;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.48)) drop-shadow(0 0 14px rgba(227,181,68,.18));
  transform-origin:center center;
  animation: jslx-wordmark-image-float 3.8s ease-in-out infinite, jslx-wordmark-image-glow 5.2s ease-in-out infinite;
  will-change: transform, filter;
}
@keyframes jslx-wordmark-image-float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-2px); }
}
@keyframes jslx-wordmark-image-glow{
  0%,100%{ filter: drop-shadow(0 2px 0 rgba(0,0,0,.48)) drop-shadow(0 0 12px rgba(227,181,68,.14)); }
  50%{ filter: drop-shadow(0 2px 0 rgba(0,0,0,.48)) drop-shadow(0 0 18px rgba(255,226,154,.24)); }
}

/* Wordmark text fallback */
.jslx-brand-wordmark{
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(120deg,#b57d1b,#ffe29a,#d0a233);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  font-size: 18px;
  line-height: 1;
}

/* Layout wrappers */
.jslx-main{ position: relative; z-index: 1; }

/* Hero */
.jslx-hero{ padding: 32px 0 18px; }
.jslx-hero-panel{
  background: linear-gradient(180deg, rgba(10,12,14,.72), rgba(10,12,14,.45));
  border: 1px solid rgba(208,162,51,.18);
  border-radius: var(--js-radius-lg);
  box-shadow: var(--js-shadow);
  padding: 26px 22px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow:hidden;
}
.jslx-hero-panel::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(700px 320px at 18% 10%, rgba(255,226,154,.12), transparent 60%),
              radial-gradient(680px 360px at 78% 20%, rgba(208,162,51,.14), transparent 65%);
  pointer-events:none;
}
.jslx-hero-kicker{ margin:0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--js-muted); }
.jslx-hero-title{ margin:0; font-size: clamp(28px, 3.3vw, 44px); line-height:1.08; }
.jslx-hero-sub{ margin: 10px 0 0; color: var(--js-muted); max-width: 62ch; }
.jslx-hero-cta{ display:flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.jslx-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(208,162,51,.30);
  background: rgba(12,14,16,.75);
  color: var(--js-text);
  text-decoration:none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.jslx-btn:hover{ transform: translateY(-1px); border-color: rgba(255,226,154,.38); }
.jslx-btn--ghost{ background: rgba(10,12,14,.35); }

/* Sections */
.jslx-section{ padding: 18px 0 34px; }
.jslx-section-head{ display:flex; align-items:baseline; justify-content: space-between; gap: 14px; margin: 10px 0 16px; }
.jslx-section-title{ margin:0; font-size: 18px; letter-spacing:.2px; }
.jslx-section-sub{ color: var(--js-muted); font-size: 13px; }

/* Grid cards */
.jslx-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .jslx-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .jslx-grid{ grid-template-columns: 1fr; gap: 22px; }
}

.jslx-card{
  border-radius: var(--js-radius-lg);
  background: rgba(10,12,14,.60);
  border: 1px solid rgba(208,162,51,.16);
  box-shadow: 0 14px 40px rgba(0,0,0,.30);
  overflow:hidden;
  position: relative;
}
.jslx-card::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(520px 280px at 18% 10%, rgba(255,226,154,.10), transparent 60%);
  opacity:.8;
  pointer-events:none;
}
.jslx-card-link{ display:block; color: inherit; text-decoration:none; }
.jslx-card-media img{ width:100%; height:auto; display:block; }
.jslx-card-body{ padding: 16px 16px 14px; position:relative; z-index:1; }
.jslx-card-meta{ display:flex; align-items:center; gap: 8px; color: var(--js-muted); font-size: 12px; }
.jslx-dot{ opacity:.6; }
.jslx-card-title{ margin: 10px 0 6px; font-size: 16px; line-height:1.28; }
.jslx-card-excerpt{ margin: 0; color: var(--js-muted); font-size: 13px; line-height: 1.55; }
.jslx-card-cta{ display:inline-block; margin-top: 12px; font-size: 12px; letter-spacing:.12em; text-transform: uppercase; background: linear-gradient(120deg,#d6b04c,#fff2d2,#ffd86b); -webkit-background-clip:text; background-clip:text; color:transparent; }

.jslx-card:hover{ transform: translateY(-2px); border-color: rgba(255,226,154,.28); }

.jslx-card--compact .jslx-card-body{ padding: 14px 14px 12px; }

.jslx-chip{
  display:inline-flex; align-items:center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(208,162,51,.24);
  background: rgba(0,0,0,.20);
  color: rgba(255,233,154,.92);
}

/* Pagination */
.jslx-pagination{ margin-top: 18px; }
.jslx-pagination .page-numbers{
  display:inline-flex; gap:10px; align-items:center;
}
.jslx-pagination a, .jslx-pagination span{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(208,162,51,.18);
  text-decoration:none;
  color: var(--js-text);
  background: rgba(10,12,14,.35);
}
.jslx-pagination .current{ background: rgba(208,162,51,.14); }

/* Article */
.jslx-article-head{ padding: 22px 0 8px; }
.jslx-article-kicker{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; color: var(--js-muted); font-size: 12px; }
.jslx-article-title{ margin: 12px 0 0; font-size: clamp(28px, 3.4vw, 46px); line-height:1.08; }
.jslx-article-sub{ margin: 10px 0 0; color: var(--js-muted); max-width: 70ch; }

.jslx-article{ padding: 10px 0 30px; }
.jslx-article-body{
  background: rgba(10,12,14,.50);
  border: 1px solid rgba(208,162,51,.14);
  border-radius: var(--js-radius-lg);
  box-shadow: var(--js-shadow);
  padding: 18px;
}

.jslx-article-heroimg{ margin:0 0 16px; overflow:hidden; border-radius: 18px; border: 1px solid rgba(208,162,51,.16); }
.jslx-article-heroimg img{ width:100%; height:auto; display:block; }

/* Content typography */
.jslx-content{ line-height: 1.75; font-size: 16px; }
.jslx-content p{ color: rgba(238,234,225,.86); }
.jslx-content h2, .jslx-content h3, .jslx-content h4{ margin-top: 1.8em; }
.jslx-content a{
  color: rgba(255,233,154,.94);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,233,154,.26);
  box-shadow: inset 0 -0.12em 0 rgba(208,162,51,.12);
  transition: color .18s ease, border-color .18s ease, box-shadow .18s ease, text-shadow .18s ease;
  /* Prevent long URLs from breaking layout on mobile */
  overflow-wrap: anywhere;
  word-break: break-word;
}
.jslx-content a:hover{
  color: rgba(255,242,205,.98);
  border-bottom-color: rgba(255,233,154,.62);
  box-shadow: inset 0 -0.18em 0 rgba(208,162,51,.18);
  text-shadow: 0 0 16px rgba(255,226,154,.12);
}



/* Optional mini related-card for important internal links.
   Use block style “JavaSense Related Link” or add class: jslx-related-card / baca-juga. */
.jslx-content .is-style-javasense-related,
.jslx-content .jslx-related-card,
.jslx-content .baca-juga,
.entry-content .is-style-javasense-related,
.entry-content .jslx-related-card,
.entry-content .baca-juga{
  margin: 22px 0;
  padding: 16px 18px 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(208,162,51,.24);
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(255,226,154,.12), transparent 62%),
    linear-gradient(180deg, rgba(16,18,20,.74), rgba(8,10,12,.86));
  box-shadow: 0 18px 48px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,226,154,.08);
  color: rgba(238,234,225,.88) !important;
  position: relative;
}

.jslx-content .is-style-javasense-related::before,
.jslx-content .jslx-related-card::before,
.jslx-content .baca-juga::before,
.entry-content .is-style-javasense-related::before,
.entry-content .jslx-related-card::before,
.entry-content .baca-juga::before{
  content: "Baca juga";
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,226,154,.22);
  color: rgba(255,226,154,.92);
  background: rgba(0,0,0,.22);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

html[lang^="en"] .jslx-content .is-style-javasense-related::before,
html[lang^="en"] .jslx-content .jslx-related-card::before,
html[lang^="en"] .jslx-content .baca-juga::before,
html[lang^="en"] .entry-content .is-style-javasense-related::before,
html[lang^="en"] .entry-content .jslx-related-card::before,
html[lang^="en"] .entry-content .baca-juga::before{
  content: "Read also";
}

.jslx-content .is-style-javasense-related a,
.jslx-content .jslx-related-card a,
.jslx-content .baca-juga a,
.entry-content .is-style-javasense-related a,
.entry-content .jslx-related-card a,
.entry-content .baca-juga a{
  color: rgba(255,233,154,.96);
  border-bottom-color: rgba(255,233,154,.30);
  font-weight: 800;
}

@media (max-width: 640px){
  .jslx-content figcaption,
  .jslx-content .wp-element-caption,
  .jslx-content .wp-caption-text,
  .entry-content figcaption,
  .entry-content .wp-element-caption,
  .entry-content .wp-caption-text{
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.58;
  }

  .jslx-content .is-style-javasense-related,
  .jslx-content .jslx-related-card,
  .jslx-content .baca-juga,
  .entry-content .is-style-javasense-related,
  .entry-content .jslx-related-card,
  .entry-content .baca-juga{
    margin: 18px 0;
    padding: 14px 15px;
    border-radius: 16px;
  }
}

/* Headings: gold foil (match landing luxury) */
.jslx-page-title,
.jslx-article-title,
.jslx-content h1,
.jslx-content h2,
.jslx-content h3,
.jslx-content h4{
  color: rgba(255,233,154,.98);
  text-shadow: 0 1px 0 rgba(0,0,0,.55), 0 0 26px rgba(255,226,154,.10);
}
@supports (-webkit-background-clip: text){
  .jslx-page-title,
  .jslx-article-title,
  .jslx-content h1,
  .jslx-content h2,
  .jslx-content h3,
  .jslx-content h4{
    background: linear-gradient(120deg,var(--js-gold-foil-a),var(--js-gold-foil-b),var(--js-gold-foil-c));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* FAQ / Details accordion (make questions gold, answers white) */
.jslx-content details{
  margin: 14px 0;
  border-radius: 18px;
  border: 1px solid rgba(208,162,51,.18);
  background: rgba(10,12,14,.40);
  box-shadow: 0 16px 50px rgba(0,0,0,.30);
  overflow:hidden;
}
.jslx-content details summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-weight: 700;
  letter-spacing: .15px;
  color: var(--js-gold-bright) !important;
  position: relative;
}
.jslx-content details summary::-webkit-details-marker{ display:none; }
.jslx-content details summary::after{
  content:"+";
  position:absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,233,154,.95);
  font-weight: 800;
}
.jslx-content details[open] summary::after{ content:"–"; }

@supports (-webkit-background-clip:text){
  .jslx-content details summary{
    background: linear-gradient(120deg,var(--js-gold-foil-a),var(--js-gold-foil-b),var(--js-gold-foil-c));
    -webkit-background-clip:text;
    background-clip:text;
    color: transparent !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.55), 0 0 30px rgba(255,226,154,.16);
  }
}

.jslx-content details > *:not(summary){
  padding: 0 16px 14px;
}
.jslx-content details p,
.jslx-content details li{
  color: rgba(238,234,225,.92) !important;
}

/* Luxury image framing (bolder, more visible) */
.jslx-content figure.wp-block-image,
.jslx-content .wp-block-image{
  margin: 20px 0;
  position: relative;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(208,162,51,.20);
  background: rgba(0,0,0,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.jslx-content figure.wp-block-image::before,
.jslx-content .wp-block-image::before{
  content:"";
  position:absolute; inset:0;
  border-radius: 22px;
  border: 1px solid rgba(255,226,154,.26);
  box-shadow: 0 0 0 1px rgba(208,162,51,.14) inset, 0 0 34px rgba(255,226,154,.06);
  pointer-events:none;
}

.jslx-content figure.wp-block-image img,
.jslx-content .wp-block-image img,
.jslx-content img:not(.js-brand-logo):not(.js-drawer-logo):not(.js-authorbox-avatar){
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 2px solid rgba(255,226,154,.30);
  box-shadow: 0 18px 55px rgba(0,0,0,.45), 0 0 0 1px rgba(208,162,51,.18) inset, 0 0 28px rgba(255,226,154,.06);
  background: rgba(0,0,0,.18);
}

/* Support generator markup like: <figure class="hero"><img ...></figure> */
.jslx-content figure{ max-width: 100%; box-sizing: border-box; }
.jslx-content figure.hero{
  margin: 16px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.jslx-content figure.hero::before{ display: none; }
.jslx-content figure.hero img{
  border-radius: 22px;
  border: 1px solid rgba(208,162,51,.18);
  box-shadow: 0 18px 55px rgba(0,0,0,.45), 0 0 0 1px rgba(208,162,51,.16) inset;
}

/* Editorial image captions: quieter than body text, magazine-like. */
.jslx-content figcaption,
.jslx-content .wp-element-caption,
.jslx-content .wp-caption-text,
.entry-content figcaption,
.entry-content .wp-element-caption,
.entry-content .wp-caption-text{
  margin: 10px 2px 0;
  color: rgba(238,234,225,.74) !important;
  font-size: clamp(13px, .93rem, 15px);
  line-height: 1.65;
  font-style: italic;
  letter-spacing: .01em;
}

.jslx-content figure.wp-block-image figcaption,
.jslx-content .wp-block-image figcaption{
  padding: 0 4px 2px;
}

.jslx-content figcaption a,
.jslx-content .wp-element-caption a,
.jslx-content .wp-caption-text a,
.entry-content figcaption a,
.entry-content .wp-element-caption a,
.entry-content .wp-caption-text a{
  color: rgba(255,226,154,.88);
  border-bottom-color: rgba(255,226,154,.22);
}


/* Author box image should stay crisp and not over-styled */
.js-authorbox-avatar{ border-radius: 18px; }




/* Quote block style: JavaSense luxury editorial quote card */
.jslx-content blockquote,
.jslx-content .wp-block-quote,
.jslx-content .wp-block-pullquote blockquote,
.entry-content blockquote,
.entry-content .wp-block-quote,
.wp-block-post-content blockquote,
.wp-block-quote.is-style-javasense-gold,
.wp-block-pullquote.is-style-javasense-gold blockquote{
  margin: 30px 0;
  padding: 34px 34px 30px 42px;
  border: 1px solid rgba(255,226,154,.20);
  border-left: 3px solid rgba(255,226,154,.68);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255,226,154,.10), transparent 18%),
    radial-gradient(640px 220px at 22% 0%, rgba(255,226,154,.10), transparent 58%),
    linear-gradient(180deg, rgba(47,47,47,.94), rgba(28,29,31,.96));
  box-shadow:
    0 26px 70px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 0 36px rgba(255,226,154,.055) inset;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.jslx-content blockquote::before,
.jslx-content .wp-block-quote::before,
.jslx-content .wp-block-pullquote blockquote::before,
.entry-content blockquote::before,
.entry-content .wp-block-quote::before,
.wp-block-post-content blockquote::before,
.wp-block-quote.is-style-javasense-gold::before,
.wp-block-pullquote.is-style-javasense-gold blockquote::before{
  content: "\201C";
  position: absolute;
  left: 28px;
  top: 8px;
  font-size: 92px;
  line-height: .74;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 800;
  color: rgba(255,226,154,.74);
  text-shadow: 0 8px 30px rgba(0,0,0,.42);
  pointer-events: none;
  z-index: 0;
}

.jslx-content blockquote::after,
.jslx-content .wp-block-quote::after,
.jslx-content .wp-block-pullquote blockquote::after,
.entry-content blockquote::after,
.entry-content .wp-block-quote::after,
.wp-block-post-content blockquote::after,
.wp-block-quote.is-style-javasense-gold::after,
.wp-block-pullquote.is-style-javasense-gold blockquote::after{
  content: "";
  position: absolute;
  left: 128px;
  top: 34px;
  width: min(270px, 42%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,226,154,.72), rgba(255,226,154,.10));
  pointer-events: none;
  z-index: 0;
}

.jslx-content blockquote > *,
.jslx-content .wp-block-quote > *,
.jslx-content .wp-block-pullquote blockquote > *,
.entry-content blockquote > *,
.entry-content .wp-block-quote > *,
.wp-block-post-content blockquote > *,
.wp-block-quote.is-style-javasense-gold > *,
.wp-block-pullquote.is-style-javasense-gold blockquote > *{
  position: relative;
  z-index: 1;
}

.jslx-content blockquote p,
.jslx-content .wp-block-quote p,
.jslx-content .wp-block-pullquote blockquote p,
.entry-content blockquote p,
.entry-content .wp-block-quote p,
.wp-block-post-content blockquote p,
.wp-block-quote.is-style-javasense-gold p,
.wp-block-pullquote.is-style-javasense-gold blockquote p{
  margin: 0 0 14px;
  padding-top: 34px;
  font-style: italic;
  font-size: clamp(1.04rem, 1.55vw, 1.30rem);
  font-weight: 650;
  line-height: 1.78;
  letter-spacing: .005em;
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 0 rgba(0,0,0,.38);
}

.jslx-content blockquote p + p,
.jslx-content .wp-block-quote p + p,
.entry-content blockquote p + p,
.entry-content .wp-block-quote p + p,
.wp-block-post-content blockquote p + p{
  padding-top: 0;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  color: rgba(238,234,225,.88);
}

.jslx-content blockquote p:last-child,
.jslx-content .wp-block-quote p:last-child,
.jslx-content .wp-block-pullquote blockquote p:last-child,
.entry-content blockquote p:last-child,
.entry-content .wp-block-quote p:last-child,
.wp-block-post-content blockquote p:last-child,
.wp-block-quote.is-style-javasense-gold p:last-child,
.wp-block-pullquote.is-style-javasense-gold blockquote p:last-child{
  margin-bottom: 0;
}

.jslx-content blockquote strong,
.jslx-content .wp-block-quote strong,
.jslx-content .wp-block-pullquote blockquote strong,
.entry-content blockquote strong,
.entry-content .wp-block-quote strong,
.wp-block-post-content blockquote strong,
.wp-block-quote.is-style-javasense-gold strong,
.wp-block-pullquote.is-style-javasense-gold blockquote strong{
  color: rgba(255,233,154,.98);
}

.jslx-content blockquote cite,
.jslx-content .wp-block-quote cite,
.jslx-content .wp-block-pullquote cite,
.entry-content blockquote cite,
.entry-content .wp-block-quote cite,
.wp-block-post-content blockquote cite,
.wp-block-quote.is-style-javasense-gold cite,
.wp-block-pullquote.is-style-javasense-gold cite{
  display: block;
  margin-top: 18px;
  text-align: right;
  font-style: normal;
  font-weight: 700;
  font-size: .95rem;
  color: rgba(255,226,154,.94);
}

@media (max-width: 640px){
  .jslx-content blockquote,
  .jslx-content .wp-block-quote,
  .jslx-content .wp-block-pullquote blockquote,
  .entry-content blockquote,
  .entry-content .wp-block-quote,
  .wp-block-post-content blockquote,
  .wp-block-quote.is-style-javasense-gold,
  .wp-block-pullquote.is-style-javasense-gold blockquote{
    margin: 24px 0;
    padding: 28px 22px 24px 26px;
    border-radius: 24px;
  }

  .jslx-content blockquote::before,
  .jslx-content .wp-block-quote::before,
  .jslx-content .wp-block-pullquote blockquote::before,
  .entry-content blockquote::before,
  .entry-content .wp-block-quote::before,
  .wp-block-post-content blockquote::before,
  .wp-block-quote.is-style-javasense-gold::before,
  .wp-block-pullquote.is-style-javasense-gold blockquote::before{
    left: 20px;
    top: 8px;
    font-size: 72px;
  }

  .jslx-content blockquote::after,
  .jslx-content .wp-block-quote::after,
  .jslx-content .wp-block-pullquote blockquote::after,
  .entry-content blockquote::after,
  .entry-content .wp-block-quote::after,
  .wp-block-post-content blockquote::after,
  .wp-block-quote.is-style-javasense-gold::after,
  .wp-block-pullquote.is-style-javasense-gold blockquote::after{
    left: 92px;
    top: 30px;
    width: min(190px, 46%);
  }

  .jslx-content blockquote p,
  .jslx-content .wp-block-quote p,
  .jslx-content .wp-block-pullquote blockquote p,
  .entry-content blockquote p,
  .entry-content .wp-block-quote p,
  .wp-block-post-content blockquote p,
  .wp-block-quote.is-style-javasense-gold p,
  .wp-block-pullquote.is-style-javasense-gold blockquote p{
    padding-top: 30px;
    font-size: 1.04rem;
    line-height: 1.74;
  }
}

/* TOC *//* TOC */
.jslx-toc{
  margin: 24px 0 28px;
  border: 1px solid rgba(208,162,51,.18);
  border-radius: 18px;
  background: rgba(8,10,12,.55);
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  overflow:hidden;
  clear: both;
}
.jslx-toc-toggle{
  width:100%;
  background: transparent;
  color: var(--js-text);
  border: 0;
  padding: 13px 16px;
  text-align:left;
  font-weight: 700;
  letter-spacing:.06em;
  text-transform: uppercase;
  cursor:pointer;
}
.jslx-toc-body{ padding: 0 14px 14px; }
.jslx-toc-summary{
  margin: 0;
  padding: 0 2px 12px;
  font-size: .95rem;
  color: rgba(238,234,225,.66);
}
.jslx-toc-list{ margin:0; padding-left: 0; }
.jslx-toc-item{
  margin: 0;
  list-style: none;
  padding-left: calc(var(--lvl) * 14px);
  border-top: 1px solid rgba(208,162,51,.10);
}
.jslx-toc-item:first-child{ border-top: 0; }
.jslx-toc-item a{
  display: block;
  padding: 10px 2px;
  border-bottom: 0;
  color: rgba(238,234,225,.84);
  line-height: 1.55;
}
.jslx-toc-item a:hover{ color: rgba(255,233,154,.95); }
.jslx-toc-item a.is-active{ color: rgba(255,233,154,.98); text-shadow: 0 0 18px rgba(255,226,154,.12); }
.jslx-toc-item.is-extra{ display:none; }
.jslx-toc.is-expanded .jslx-toc-item.is-extra{ display:list-item; }
.jslx-toc-more{
  margin-top: 12px;
  padding: 10px 12px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(208,162,51,.18);
  background: rgba(255,226,154,.06);
  color: rgba(255,233,154,.95);
  font-weight: 600;
  cursor: pointer;
}
.jslx-toc-more:hover{
  background: rgba(255,226,154,.10);
}

@media (min-width: 1040px){
  .jslx-toc{
    float: none;
    width: 100%;
    margin: 28px 0 32px;
    position: static;
    top: auto;
  }
}

/* === TOC: keep in normal flow (no floating / no fixed) === */
#toc_container,
.toc_container,
.toc,
.table-of-contents,
.ez-toc-container,
.ez-toc-widget-container,
.ez-toc-sticky-container,
.ez-toc-widget-sticky-container,
.ez-toc-widget-sticky,
.lwptoc,
.lwptoc_i,
.lwptoc-fixed,
.lwptoc-floating,
.rank-math-toc,
.wp-block-rank-math-toc-block,
.jslx-toc {
  position: static !important;
  float: none !important;
  clear: both !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 28px !important;
}

/* Optional: make TOC match lux panels */
#toc_container,
.ez-toc-container,
.lwptoc,
.rank-math-toc {
  background: linear-gradient(180deg, rgba(14,14,14,.75), rgba(10,10,10,.55));
  border: 1px solid rgba(212,175,55,.18);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* === JavaSense: TOC + Table fixes (auto) === */
:root {
  /* Align with theme's champagne/foil tokens (avoid “flat basic gold”). */
  --js-gold: #D0A233;
  --js-gold-soft: rgba(208,162,51,.22);
  --js-gold-softer: rgba(208,162,51,.14);
  --js-ink: #0b0b0b;
  --js-ink2: #111;
  --js-text: rgba(238,234,225,.90);
  --js-text-dim: rgba(238,234,225,.72);
}

/* ===== TOC (support: EasyTOC, LuckyWP, RankMath, toc_container) ===== */
#ez-toc-container,
#toc_container,
.lwptoc,
.rank-math-toc {
  background: linear-gradient(180deg, rgba(17,17,17,.78), rgba(10,10,10,.62));
  border: 1px solid var(--js-gold-soft);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--js-text);
  padding: 14px 16px;
}

#ez-toc-container .ez-toc-title,
#toc_container .toc_title,
.lwptoc_header,
.rank-math-toc .rank-math-toc-title {
  color: #f1d592;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 10px 0;
}

#ez-toc-container a,
#toc_container a,
.lwptoc a,
.rank-math-toc a {
  color: rgba(241,213,146,.92);
  text-decoration: none;
}

#ez-toc-container a:hover,
#toc_container a:hover,
.lwptoc a:hover,
.rank-math-toc a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(212,175,55,.35);
}

#ez-toc-container ul,
#toc_container ul,
.lwptoc_items,
.rank-math-toc ul {
  margin: 0;
  padding-left: 18px;
}

#ez-toc-container li,
#toc_container li,
.lwptoc_items li,
.rank-math-toc li {
  color: var(--js-text-dim);
  line-height: 1.55;
  margin: 6px 0;
}

/* Desktop: make TOC static (no sticky/fixed) + not too top */
@media (min-width: 1024px) {
  #ez-toc-container,
  #toc_container,
  .lwptoc,
  .rank-math-toc {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 24px !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Mobile: push TOC a bit lower so it doesn't feel glued to the top */
@media (max-width: 768px) {
  #ez-toc-container,
  #toc_container,
  .lwptoc,
  .rank-math-toc {
    margin-top: 18px !important;
  }
}




/* ===== Tables: JavaSense adaptive tables ===== */
/* WordPress wrappers stay neutral; the table itself is the component surface. */
.jslx-content figure.wp-block-table,
.entry-content figure.wp-block-table,
.jslx-content .wp-block-table,
.entry-content .wp-block-table{
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow-x: visible;
}

.jslx-content table,
.entry-content table,
.wp-block-table table,
.tablepress table{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  margin: 22px 0 32px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,226,154,.16);
  background:
    radial-gradient(720px 240px at 52% -10%, rgba(255,226,154,.055), transparent 60%),
    linear-gradient(180deg, rgba(14,17,21,.94), rgba(7,9,12,.98));
  box-shadow: 0 24px 64px rgba(0,0,0,.34);
}

.jslx-content th,
.jslx-content td,
.entry-content th,
.entry-content td,
.wp-block-table th,
.wp-block-table td,
.tablepress th,
.tablepress td{
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 16px 16px;
  border-right: 1px solid rgba(255,226,154,.07);
  border-bottom: 1px solid rgba(255,226,154,.075);
  vertical-align: top;
  text-align: left;
  line-height: 1.66;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.jslx-content tr > *:last-child,
.entry-content tr > *:last-child,
.wp-block-table tr > *:last-child,
.tablepress tr > *:last-child{ border-right: 0; }

.jslx-content tbody tr:last-child > *,
.entry-content tbody tr:last-child > *,
.wp-block-table tbody tr:last-child > *,
.tablepress tbody tr:last-child > *{ border-bottom: 0; }

/* Header: only real thead or JS-confirmed synthetic header. */
.jslx-content thead th,
.entry-content thead th,
.wp-block-table thead th,
.tablepress thead th,
.jslx-content table[data-jslx-synthetic-header="true"] tbody tr:first-child > *,
.entry-content table[data-jslx-synthetic-header="true"] tbody tr:first-child > *,
.wp-block-table table[data-jslx-synthetic-header="true"] tbody tr:first-child > *,
.tablepress table[data-jslx-synthetic-header="true"] tbody tr:first-child > *{
  background: linear-gradient(180deg, rgba(25,27,31,.98), rgba(12,15,18,.98)) !important;
  color: rgba(255,232,166,.96) !important;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  font-size: .84rem;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,226,154,.22);
}

.jslx-content tbody td,
.jslx-content tbody th,
.entry-content tbody td,
.entry-content tbody th,
.wp-block-table tbody td,
.wp-block-table tbody th,
.tablepress tbody td,
.tablepress tbody th{
  color: rgba(238,234,225,.91) !important;
  background: rgba(255,255,255,.012);
  font-weight: 500;
}

.jslx-content tbody tr:nth-child(even) td,
.jslx-content tbody tr:nth-child(even) th,
.entry-content tbody tr:nth-child(even) td,
.entry-content tbody tr:nth-child(even) th,
.wp-block-table tbody tr:nth-child(even) td,
.wp-block-table tbody tr:nth-child(even) th,
.tablepress tbody tr:nth-child(even) td,
.tablepress tbody tr:nth-child(even) th{
  background: rgba(255,255,255,.026);
}

.jslx-content tbody td strong,
.entry-content tbody td strong,
.wp-block-table tbody td strong,
.tablepress tbody td strong{
  color: #fff0bd;
  font-weight: 800;
}

/* Editorial/narrative table defaults: label / meaning / action. */
.jslx-content table[data-jslx-table-mode="editorial"] th:first-child,
.jslx-content table[data-jslx-table-mode="editorial"] td:first-child,
.entry-content table[data-jslx-table-mode="editorial"] th:first-child,
.entry-content table[data-jslx-table-mode="editorial"] td:first-child,
.wp-block-table table[data-jslx-table-mode="editorial"] th:first-child,
.wp-block-table table[data-jslx-table-mode="editorial"] td:first-child,
.tablepress table[data-jslx-table-mode="editorial"] th:first-child,
.tablepress table[data-jslx-table-mode="editorial"] td:first-child{ width: 16%; }

.jslx-content table[data-jslx-table-mode="editorial"] th:nth-child(2),
.jslx-content table[data-jslx-table-mode="editorial"] td:nth-child(2),
.entry-content table[data-jslx-table-mode="editorial"] th:nth-child(2),
.entry-content table[data-jslx-table-mode="editorial"] td:nth-child(2),
.wp-block-table table[data-jslx-table-mode="editorial"] th:nth-child(2),
.wp-block-table table[data-jslx-table-mode="editorial"] td:nth-child(2),
.tablepress table[data-jslx-table-mode="editorial"] th:nth-child(2),
.tablepress table[data-jslx-table-mode="editorial"] td:nth-child(2){ width: 42%; }

.jslx-content table[data-jslx-table-mode="editorial"] th:nth-child(3),
.jslx-content table[data-jslx-table-mode="editorial"] td:nth-child(3),
.entry-content table[data-jslx-table-mode="editorial"] th:nth-child(3),
.entry-content table[data-jslx-table-mode="editorial"] td:nth-child(3),
.wp-block-table table[data-jslx-table-mode="editorial"] th:nth-child(3),
.wp-block-table table[data-jslx-table-mode="editorial"] td:nth-child(3),
.tablepress table[data-jslx-table-mode="editorial"] th:nth-child(3),
.tablepress table[data-jslx-table-mode="editorial"] td:nth-child(3){ width: 42%; }

/* Compact data/list table: fit inside the article, never expand sideways. */
.jslx-content table[data-jslx-table-mode="compact"],
.entry-content table[data-jslx-table-mode="compact"],
.wp-block-table table[data-jslx-table-mode="compact"],
.tablepress table[data-jslx-table-mode="compact"]{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  margin: 18px 0 28px;
}

.jslx-content table[data-jslx-table-mode="compact"] th,
.jslx-content table[data-jslx-table-mode="compact"] td,
.entry-content table[data-jslx-table-mode="compact"] th,
.entry-content table[data-jslx-table-mode="compact"] td,
.wp-block-table table[data-jslx-table-mode="compact"] th,
.wp-block-table table[data-jslx-table-mode="compact"] td,
.tablepress table[data-jslx-table-mode="compact"] th,
.tablepress table[data-jslx-table-mode="compact"] td{
  padding: 13px 14px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

/* Prev/Next post cards */
.jslx-grid--navposts{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px){ .jslx-grid--navposts{ grid-template-columns: 1fr; } }
.jslx-navposts--inline{
  padding: 18px 0 8px;
  margin: 0;
}
.jslx-navposts--inline .jslx-grid--navposts{
  gap: 16px;
}
@media (max-width: 760px){
  .jslx-navposts--inline{
    padding: 16px 0 10px;
  }
  .jslx-navposts--inline .jslx-card--nav .jslx-card-body{
    padding: 20px 20px 22px;
  }
}


.jslx-card--nav .jslx-chip{ border-color: rgba(255,226,154,.22); background: rgba(0,0,0,.18); }

/* ===== TOC title bar: avoid “white strip” in some plugins ===== */
.ez-toc-title-container,
.lwptoc_header,
.rank-math-toc .rank-math-toc-title{
  background: transparent !important;
}


/* =========================================================
   v0.3.0 — Modernization Pack (Desktop + Mobile)
   - Sidebar layout
   - Breadcrumbs, share bar
   - Comments UI
   - Drawer/search/back-to-top (self-contained fallback)
   ========================================================= */

/* Container fallback (if UI Kit plugin isn't active) */
.js-container{
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 1200px){
  .js-container{ padding: 0 20px; }
}

/* Accessibility */
.jslx-skip{
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,226,154,.28);
  background: rgba(10,12,14,.92);
  color: var(--js-text);
  text-decoration: none;
}
.jslx-skip:focus{ left: 10px; }

/* Sticky header polish */
.jslx-header--sticky{ position: sticky; top: 0; z-index: 100; }
.js-nav.is-scrolled{
  background: rgba(5,6,7,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(208,162,51,.14);
}

/* Layout: main + sidebar */
.jslx-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px){
  .jslx-layout{ grid-template-columns: 1fr; }
}

.jslx-layout-side{
  min-width: 0;
}

.jslx-sidebar{
  display: grid;
  gap: 14px;
}

.jslx-sidebar--sticky{
  position: sticky;
  top: 92px;
}

/* Widgets */
.jslx-widget{
  border-radius: var(--js-radius-lg);
  background: rgba(10,12,14,.52);
  border: 1px solid rgba(208,162,51,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  padding: 14px;
}
.jslx-widget-title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,233,154,.92);
}
.jslx-list{ margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.jslx-list-item a{
  display: block;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(208,162,51,.12);
  background: rgba(0,0,0,.18);
  text-decoration: none;
  color: rgba(238,234,225,.92);
}
.jslx-list-item a:hover{ border-color: rgba(255,226,154,.28); transform: translateY(-1px); }

/* Breadcrumbs */
.jslx-breadcrumbs{ margin: 6px 0 16px; }
.jslx-bc{ margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jslx-bc-item{ display: inline-flex; gap: 8px; align-items: center; color: var(--js-muted); font-size: 12px; }
.jslx-bc-item:not(:last-child)::after{ content: "›"; opacity: .5; }
.jslx-breadcrumbs a{ color: rgba(238,234,225,.86); text-decoration: none; border-bottom: 1px solid rgba(208,162,51,.18); }
.jslx-breadcrumbs a:hover{ border-bottom-color: rgba(255,226,154,.35); }

/* Share bar */
.jslx-share{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.jslx-share-label{ color: var(--js-muted); font-size: 12px; margin-right: 4px; }
.jslx-share-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(208,162,51,.16);
  background: rgba(10,12,14,.45);
  color: rgba(238,234,225,.9);
  text-decoration: none;
  cursor: pointer;
}
.jslx-share-btn:hover{ border-color: rgba(255,226,154,.30); transform: translateY(-1px); }
.jslx-share-btn--copy{ font-weight: 700; }

/* Ads */
.jslx-ad{ margin: 14px 0; }
.jslx-grid-span--ad{ grid-column: 1 / -1; }

/* Empty state */
.jslx-empty{
  border-radius: var(--js-radius-lg);
  background: rgba(10,12,14,.45);
  border: 1px solid rgba(208,162,51,.14);
  box-shadow: 0 14px 45px rgba(0,0,0,.28);
  padding: 18px;
}
.jslx-empty-title{ margin: 0 0 6px; font-weight: 800; }
.jslx-empty-sub{ margin: 0 0 14px; color: var(--js-muted); }
.jslx-empty-code{ margin: 0 0 10px; font-size: 42px; }

/* Comments */
.jslx-comments{ padding: 18px 0 30px; }
.jslx-comments-inner{ max-width: 860px; margin: 0 auto; }
.jslx-comment-list{ margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.jslx-comment-card{
  border-radius: var(--js-radius-lg);
  background: rgba(10,12,14,.48);
  border: 1px solid rgba(208,162,51,.14);
  box-shadow: 0 14px 45px rgba(0,0,0,.22);
  padding: 14px;
}
.jslx-comment-head{ display: flex; gap: 10px; align-items: center; }
.jslx-comment-avatar img{ border-radius: 14px; }
.jslx-comment-author a{ color: rgba(255,233,154,.95); text-decoration: none; border-bottom: 1px solid rgba(255,233,154,.22); }
.jslx-comment-author a:hover{ border-bottom-color: rgba(255,233,154,.5); }
.jslx-comment-time{ display: block; font-size: 12px; color: var(--js-muted); margin-top: 2px; }
.jslx-comment-body{ margin-top: 10px; color: rgba(238,234,225,.88); }
.jslx-comment-body p{ margin: 0 0 10px; }
.jslx-comment-actions{ display: flex; gap: 12px; margin-top: 10px; font-size: 12px; }
.jslx-comment-reply a,
.jslx-comment-edit a{ color: rgba(238,234,225,.86); text-decoration: none; border-bottom: 1px solid rgba(208,162,51,.16); }
.jslx-comment-reply a:hover,
.jslx-comment-edit a:hover{ border-bottom-color: rgba(255,226,154,.3); }

.jslx-comment-form{
  margin-top: 16px;
  border-radius: var(--js-radius-lg);
  background: rgba(10,12,14,.42);
  border: 1px solid rgba(208,162,51,.14);
  box-shadow: 0 14px 45px rgba(0,0,0,.22);
  padding: 14px;
}
.jslx-comment-form label{ display: block; font-size: 12px; color: var(--js-muted); margin: 0 0 6px; }
.jslx-comment-form input,
.jslx-comment-form textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(208,162,51,.16);
  background: rgba(0,0,0,.18);
  color: rgba(238,234,225,.92);
  padding: 10px 12px;
}
.jslx-comment-form textarea{ min-height: 120px; resize: vertical; }
.jslx-comment-form input:focus,
.jslx-comment-form textarea:focus{ outline: 2px solid rgba(255,226,154,.18); border-color: rgba(255,226,154,.3); }
.jslx-btn--comment{ margin-top: 10px; }

/* Drawer/search fallback (works even without UI Kit) */
.js-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 120;
}
.js-overlay.is-open{ opacity: 1; pointer-events: auto; }

.js-drawer{
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: rgba(6,10,14,.92);
  border-left: 1px solid rgba(208,162,51,.18);
  box-shadow: 0 20px 80px rgba(0,0,0,.55);
  transform: translateX(102%);
  transition: transform .22s ease;
  z-index: 140;
}
.js-drawer.is-open{ transform: translateX(0); }

/* No-JS fallback: checkbox-driven drawer */
.jslx-offcanvas{ position: fixed; inset: 0; pointer-events:none; z-index: 120; }
.jslx-offcanvas .js-overlay{ position:absolute; inset:0; }
.jslx-offcanvas .js-drawer{ position:absolute; top:0; right:0; height:100%; }
.jslx-nav-toggle:checked + .jslx-offcanvas{ pointer-events:auto; }
.jslx-nav-toggle:checked + .jslx-offcanvas .js-overlay{ opacity: 1; pointer-events:auto; }
.jslx-nav-toggle:checked + .jslx-offcanvas .js-drawer{ transform: translateX(0); }

.js-drawer-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(208,162,51,.12);
}
.js-drawer-brand{ display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--js-text); }
.js-drawer-word{ font-weight: 800; }
.js-drawer-body{ padding: 12px; overflow: auto; height: calc(100vh - 60px); }

.js-drawer-links a{
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(208,162,51,.12);
  background: rgba(0,0,0,.18);
  color: rgba(238,234,225,.92);
  text-decoration: none;
  margin: 8px 0;
}

/* Drawer dropdown patch (moved from footer inline CSS) */
.js-drawer .js-drawer-links--main .js-drawer-group{
  margin: 6px 0 8px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.16);
  background: rgba(5,12,18,.38);
  overflow: hidden;
}
.js-drawer .js-drawer-links--main .js-drawer-group summary{
  list-style: none;
  cursor: pointer;
  user-select: none;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px 0 40px;
  color: #f5f7fb;
  font-weight: 600;
  border-radius: 16px;
  outline: none;
}
.js-drawer .js-drawer-links--main .js-drawer-group summary::-webkit-details-marker{ display: none; }
.js-drawer .js-drawer-links--main .js-drawer-group summary::before{
  content: "▸";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  color: #d7b35d;
  transition: transform .2s ease, color .2s ease;
}
.js-drawer .js-drawer-links--main .js-drawer-group[open] summary{
  border-bottom: 1px solid rgba(212,175,55,.12);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(255,255,255,.015);
}
.js-drawer .js-drawer-links--main .js-drawer-group[open] summary::before{
  transform: translateY(-50%) rotate(90deg);
  color: #f1cc73;
}
.js-drawer .js-drawer-links--main .js-drawer-submenu{
  display: grid;
  gap: 8px;
  padding: 10px 10px 10px;
  background: rgba(255,255,255,.01);
}
.js-drawer .js-drawer-links--main .js-drawer-submenu a{
  display: block;
  margin: 0 !important;
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.14);
  background: rgba(4,10,15,.55);
  color: #eef2f7;
  text-decoration: none;
  line-height: 1.25;
}
.js-drawer .js-drawer-links--main .js-drawer-submenu a:hover,
.js-drawer .js-drawer-links--main .js-drawer-submenu a:focus{
  border-color: rgba(212,175,55,.34);
  background: rgba(7,15,22,.72);
}
@media (min-width: 901px){
  .js-drawer .js-drawer-links--main .js-drawer-group{ display: none; }
}

/* Search modal */
.js-searchmodal{
  position: fixed;
  inset: 0;
  background: rgba(6,10,14,.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 150;
}
.js-searchmodal.is-open{ opacity: 1; pointer-events: auto; }

.js-searchmodal-head{
  padding: 12px;
  border-bottom: 1px solid rgba(208,162,51,.12);
}
.js-searchmodal-form{ display: flex; gap: 10px; align-items: center; }
.js-searchmodal-input{
  flex: 1;
  border-radius: 16px;
  border: 1px solid rgba(208,162,51,.18);
  background: rgba(0,0,0,.18);
  color: rgba(238,234,225,.92);
  padding: 12px 12px;
}

/* Icon button focus */
.js-icon-btn:focus,
button:focus,
a:focus{ outline: 2px solid rgba(255,226,154,.18); outline-offset: 2px; }

/* Back to top */
.jslx-top{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 160;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(208,162,51,.20);
  background: rgba(10,12,14,.72);
  color: rgba(255,233,154,.95);
  box-shadow: 0 12px 40px rgba(0,0,0,.38);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.jslx-top.is-show{ opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  .js-tri-bg{ display: none !important; }
  .jslx-card:hover,
  .jslx-share-btn:hover,
  .jslx-list-item a:hover{ transform: none !important; }
}

/* Search form (WP default) */
.search-form{ display: flex; gap: 10px; align-items: center; }
.search-form .search-field{
  flex: 1;
  border-radius: 14px;
  border: 1px solid rgba(208,162,51,.16);
  background: rgba(0,0,0,.18);
  color: rgba(238,234,225,.92);
  padding: 10px 12px;
}
.search-form .search-submit{
  border-radius: 14px;
  border: 1px solid rgba(208,162,51,.18);
  background: rgba(10,12,14,.55);
  color: rgba(238,234,225,.92);
  padding: 10px 12px;
  cursor: pointer;
}
.search-form .search-submit:hover{ border-color: rgba(255,226,154,.30); }

/* Pagination container for custom paginate_links() */
.jslx-pagination-inner{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ------------------------------------------------------------
   Header (mobile): luxury language switch and safe action spacing
   ------------------------------------------------------------ */
@media (max-width: 520px){
  .js-nav .js-nav-inner{
    padding-left: 12px;
    padding-right: 12px;
  }
  .js-nav .js-actions{
    flex-wrap: nowrap;
    max-width: 100%;
  }
}

/* Theme header: align mobile nav controls with homepage luxury system */
.js-nav .js-brand-logo,
.js-nav .custom-logo{
  background:
    radial-gradient(120% 120% at 30% 8%, rgba(255,244,210,.16), transparent 46%),
    linear-gradient(145deg, rgba(29,25,13,.72), rgba(4,6,6,.88) 62%, rgba(44,34,12,.62));
  border:1px solid rgba(227,181,68,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,246,210,.12),
    inset 0 -10px 20px rgba(0,0,0,.30),
    0 12px 28px rgba(0,0,0,.32),
    0 0 0 1px rgba(0,0,0,.46),
    0 0 22px rgba(227,181,68,.16);
  object-fit:contain;
}

.js-nav .js-langseg{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  gap:2px;
  height:42px;
  padding:3px;
  border-radius:17px;
  overflow:hidden;
  border:1px solid rgba(227,181,68,.34);
  background:
    radial-gradient(120% 130% at 18% 5%, rgba(255,236,190,.18), transparent 48%),
    linear-gradient(145deg, rgba(25,22,13,.82), rgba(4,6,6,.88) 56%, rgba(37,30,12,.70));
  box-shadow:
    inset 0 1px 0 rgba(255,244,210,.10),
    inset 0 -12px 22px rgba(0,0,0,.30),
    0 12px 28px rgba(0,0,0,.24),
    0 0 0 1px rgba(0,0,0,.50),
    0 0 24px rgba(212,175,55,.12);
  white-space:nowrap;
}
.js-nav .js-langseg::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:15px;
  background:linear-gradient(120deg, rgba(255,255,255,.12), transparent 34%, rgba(255,226,154,.06) 62%, transparent);
  pointer-events:none;
  z-index:0;
}
.js-nav .js-langseg-ico{
  position:relative;
  z-index:1;
  width:34px;
  height:36px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:rgba(255,232,170,.96);
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,226,154,.09), rgba(0,0,0,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.js-nav .js-langseg-ico::after{
  content:"";
  position:absolute;
  right:-2px;
  top:8px;
  bottom:8px;
  width:1px;
  background:linear-gradient(180deg, transparent, rgba(227,181,68,.30), transparent);
}
.js-nav .js-langseg-ico svg{
  width:18px;
  height:18px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 0 8px rgba(227,181,68,.26));
}
.js-nav .js-langseg-btn{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  min-width:38px;
  height:36px;
  padding:0 9px;
  border-radius:12px;
  font-size:12px;
  font-weight:850;
  line-height:1;
  letter-spacing:.50px;
  color:rgba(238,228,199,.82);
  text-decoration:none;
  text-shadow:0 1px 0 rgba(0,0,0,.62);
  transition:color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.js-nav .js-langseg-btn:hover,
.js-nav .js-langseg-btn:focus-visible{
  color:rgba(255,239,195,.98);
}
.js-nav .js-langseg-btn.is-active{
  color:rgba(255,241,201,.98);
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(255,246,210,.26), transparent 52%),
    linear-gradient(180deg, rgba(205,162,44,.48), rgba(104,82,20,.52));
  box-shadow:
    inset 0 1px 0 rgba(255,246,210,.26),
    inset 0 -1px 0 rgba(0,0,0,.42),
    0 7px 18px rgba(0,0,0,.22),
    0 0 16px rgba(212,175,55,.18);
}

/* Hamburger icon swap (works even without UI Kit CSS) */
[data-js-drawer] .js-ico-x{ display: none; }
[data-js-drawer][aria-expanded="true"] .js-ico-hamb{ display: none; }
[data-js-drawer][aria-expanded="true"] .js-ico-x{ display: inline-block; }

/* ------------------------------------------------------------
   Comments: tidy layout + cookies consent alignment
   ------------------------------------------------------------ */
.jslx-comment-form .comment-form-cookies-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}
.jslx-comment-form .comment-form-cookies-consent input{
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.jslx-comment-form .comment-form-cookies-consent label{
  margin: 0;
  font-size: 12px;
  color: var(--js-muted);
}

@media (min-width: 860px){
  .jslx-comment-form{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .jslx-comment-form > p{ margin: 0; }
  .jslx-comment-form .comment-form-author,
  .jslx-comment-form .comment-form-email{
    flex: 1 1 calc(50% - 7px);
  }
  .jslx-comment-form .comment-form-url,
  .jslx-comment-form .comment-form-comment,
  .jslx-comment-form .comment-form-cookies-consent,
  .jslx-comment-form .form-submit{
    flex: 1 1 100%;
  }
}

.jslx-layout-main{ min-width: 0; }
.jslx-article-body{ min-width: 0; }


/* Mobile header: keep homepage-style wordmark visible and balanced */
@media (max-width: 900px){
  .js-nav .js-nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 0; min-height:70px; }
  .js-nav .js-brand{ flex:1 1 auto; min-width:0; gap:9px; }
  .js-nav .js-brand-logo,
  .js-nav .custom-logo{ width:48px; height:48px; border-radius:12px; flex:0 0 48px; }
  .js-nav .js-brand .js-wordmark{
    display:inline-flex;
    flex:0 1 auto;
    height:28px;
    min-width:92px;
    max-width:min(34vw, 150px);
  }
  .js-nav .js-actions{ display:flex; align-items:center; gap:8px; margin-left:auto; justify-self:end; flex:0 0 auto; }
  .js-nav .js-langseg{ height:44px; padding:3px; border-radius:17px; flex:0 0 auto; }
  .js-nav .js-langseg-ico{ width:34px; height:38px; }
  .js-nav .js-langseg-btn{ min-width:38px; height:38px; padding:0 9px; font-size:12px; font-weight:850; }
  .js-nav .js-icon-btn--lux{
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    flex:0 0 46px;
    border-radius:16px;
    color:rgba(255,236,190,.96);
    border:1px solid rgba(227,181,68,.48);
    background:
      radial-gradient(120% 120% at 28% 8%, rgba(255,244,210,.24), transparent 48%),
      linear-gradient(145deg, rgba(31,27,14,.86), rgba(4,6,6,.92) 58%, rgba(46,36,13,.72));
    box-shadow:
      inset 0 1px 0 rgba(255,246,210,.13),
      inset 0 -12px 24px rgba(0,0,0,.34),
      0 12px 30px rgba(0,0,0,.26),
      0 0 0 1px rgba(0,0,0,.58),
      0 0 28px rgba(212,175,55,.16);
  }
  .js-nav .js-icon-btn--lux svg{ position:relative; z-index:2; width:21px; height:21px; filter:drop-shadow(0 0 9px rgba(227,181,68,.20)); }
}
@media (max-width: 520px){
  .js-nav .js-brand{ gap:8px; }
  .js-nav .js-brand .js-wordmark{ height:27px; min-width:90px; max-width:min(32vw, 132px); }
}
@media (max-width: 380px){
  .js-nav .js-nav-inner{ gap:7px; }
  .js-nav .js-brand-logo,
  .js-nav .custom-logo{ width:44px; height:44px; flex-basis:44px; border-radius:12px; }
  .js-nav .js-brand .js-wordmark{ display:inline-flex !important; height:26px; min-width:82px; max-width:min(29vw, 112px); }
  .js-nav .js-actions{ gap:6px; }
  .js-nav .js-langseg{ height:42px; padding:2px; }
  .js-nav .js-langseg-ico{ width:30px; height:38px; }
  .js-nav .js-langseg-ico svg{ width:17px; height:17px; }
  .js-nav .js-langseg-btn{ min-width:34px; height:38px; padding:0 7px; font-size:11.5px; }
  .js-nav .js-icon-btn--lux{ width:44px; height:44px; flex-basis:44px; }
}



/* ============================================================
   Footer sync to plugin footer premium v3
   ============================================================ */
.js-footer{
  margin-top:34px;
  padding:46px 0 56px;
  background:linear-gradient(to bottom, rgba(6,8,9,.36), rgba(6,8,9,.74));
  border-top:1px solid rgba(227,181,68,.18);
  position:relative;
  overflow:hidden;
}
.js-footer::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(700px 260px at 20% 20%, rgba(227,181,68,.18), transparent 60%),
    linear-gradient(to bottom, rgba(8,12,14,.88), rgba(8,12,14,.60) 45%, rgba(8,12,14,.92));
}
.js-footer-panel{
  position:relative;
  z-index:1;
  padding:28px 22px 0;
  border-radius:22px;
  border:1px solid transparent;
  background:
    linear-gradient(180deg, rgba(12,16,18,.74), rgba(0,0,0,.42)) padding-box,
    linear-gradient(115deg, rgba(212,175,55,.10), rgba(255,242,210,.22), rgba(212,175,55,.10)) border-box;
  box-shadow:0 28px 80px rgba(0,0,0,.45);
  backdrop-filter:blur(14px);
  overflow:hidden;
}
.js-footer-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 220px at 20% 0%, rgba(255,226,154,.10), transparent 60%),
    radial-gradient(700px 200px at 85% 10%, rgba(212,175,55,.08), transparent 55%);
  opacity:.85;
}
.js-footer-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(0,.9fr) minmax(0,.86fr) minmax(220px,1.18fr);
  gap:22px;
}
.js-footer-col{ min-width:0; }
.js-footer-col--social{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
.js-footer-col--social .js-footer-social{
  margin-top:2px;
  width:100%;
  justify-content:flex-start;
}
.js-footer-brand,
.js-footer-title,
.js-company-groundingLabel{
  font-family:"Cinzel","Playfair Display",Georgia,serif;
}
.js-footer-brand{
  font-weight:700;
  font-size:19px;
  letter-spacing:.06em;
  background:linear-gradient(120deg, rgba(214,176,76,.98), rgba(255,242,210,.96), rgba(227,181,68,.92));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 1px 0 rgba(0,0,0,.55), 0 0 22px rgba(255,226,154,.08);
  margin-bottom:10px;
}
.js-footer-quote{
  color:rgba(216,224,234,.62);
  font-family:"Inter","Montserrat",system-ui,-apple-system,sans-serif;
  font-weight:300;
  font-size:13px;
  line-height:1.85;
  max-width:34ch;
}
.js-footer-title{
  font-weight:700;
  font-size:13px;
  letter-spacing:.08em;
  color:rgba(255,242,210,.88);
  margin-bottom:12px;
}
.js-footer-links{
  display:grid;
  gap:10px;
}
.js-footer-links a{
  padding-left:0;
  color:rgba(216,224,234,.70);
  font-family:"Inter","Montserrat",system-ui,-apple-system,sans-serif;
  font-weight:300;
  transition:color .18s ease, transform .18s ease;
}
.js-footer-links a::before{ display:none; }
.js-footer-links a:hover{
  transform:translateX(2px);
  color:rgba(255,236,192,.95);
}
.js-footer-bottom{
  display:block;
  position:relative;
  z-index:1;
  margin:26px -22px 0;
  padding:16px 22px;
  border-top:1px solid rgba(212,175,55,.12);
  background:linear-gradient(180deg, rgba(5,7,9,.52), rgba(4,6,8,.80));
}
.js-footer-bottomInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.js-footer-meta{ width:100%; }
.js-company-grounding{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px 28px;
  width:100%;
}
.js-company-groundingSide{ min-width:0; }
.js-company-groundingSide--secondary{
  text-align:right;
  white-space:nowrap;
}
.js-company-groundingLabel{
  display:block;
  margin-bottom:5px;
  color:rgba(255,242,210,.84);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}
.js-company-groundingText{
  display:block;
  color:rgba(216,224,234,.66);
  font-family:"Inter","Montserrat",system-ui,-apple-system,sans-serif;
  font-size:12px;
  font-weight:300;
  line-height:1.7;
}
.js-footer .social-login-icons,
.social-login-icons{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:8px;
  width:100%;
  -webkit-box-reflect:unset;
  padding:0;
  margin:0;
}
.js-footer .socialcontainer,
.socialcontainer{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:auto;
  overflow:visible;
  border-radius:999px;
  cursor:pointer;
  text-decoration:none;
}
.js-footer .socialcontainer > .icon,
.socialcontainer > .icon{
  display:none;
}
.js-footer .social-icon-1, .js-footer .social-icon-2, .js-footer .social-icon-3, .js-footer .social-icon-4, .js-footer .social-icon-5,
.social-icon-1, .social-icon-2, .social-icon-3, .social-icon-4, .social-icon-5{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.18);
  background:rgba(255,255,255,.02);
  color:rgba(255,244,220,.80);
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  transform:none !important;
}
.js-footer .social-icon-1 svg, .js-footer .social-icon-2 svg, .js-footer .social-icon-3 svg, .js-footer .social-icon-4 svg, .js-footer .social-icon-5 svg,
.social-icon-1 svg, .social-icon-2 svg, .social-icon-3 svg, .social-icon-4 svg, .social-icon-5 svg{
  opacity:1;
  fill:currentColor;
  transition:inherit;
}
.js-footer .socialcontainer:hover .social-icon-1,
.js-footer .socialcontainer:hover .social-icon-2,
.js-footer .socialcontainer:hover .social-icon-3,
.js-footer .socialcontainer:hover .social-icon-4,
.js-footer .socialcontainer:hover .social-icon-5,
.socialcontainer:hover .social-icon-1,
.socialcontainer:hover .social-icon-2,
.socialcontainer:hover .social-icon-3,
.socialcontainer:hover .social-icon-4,
.socialcontainer:hover .social-icon-5{
  background:rgba(212,175,55,.12);
  border-color:rgba(255,226,154,.30);
  color:rgba(255,242,210,.96);
  transform:translateY(-1px) !important;
}
.js-footer .social-icon-1,
.js-footer .social-icon-2,
.js-footer .social-icon-3,
.js-footer .social-icon-4,
.js-footer .social-icon-5,
.js-footer .social-icon-1-1,
.js-footer .social-icon-2-2,
.js-footer .social-icon-3-3,
.js-footer .social-icon-4-4,
.js-footer .social-icon-5-5,
.social-icon-1,
.social-icon-2,
.social-icon-3,
.social-icon-4,
.social-icon-5,
.social-icon-1-1,
.social-icon-2-2,
.social-icon-3-3,
.social-icon-4-4,
.social-icon-5-5{
  background-image:none;
  background-color:transparent;
}
@media (max-width: 900px){
  .js-footer-panel{
    padding:24px 16px 0;
    border-radius:20px;
  }
  .js-footer-inner{
    grid-template-columns:1fr;
    gap:16px;
  }
  .js-footer-bottom{
    margin:22px -16px 0;
    padding:14px 16px;
  }
  .js-footer-bottomInner,
  .js-company-grounding{
    flex-direction:column;
    align-items:flex-start;
  }
  .js-company-groundingSide--secondary{
    width:100%;
    text-align:center;
    white-space:normal;
  }
  .js-company-groundingSide--secondary .js-company-groundingText{
    color:rgba(255,226,154,.92);
    font-weight:500;
  }
}
@media (max-width: 520px){
  .js-footer .social-login-icons,
  .social-login-icons{
    gap:8px;
    justify-content:center;
  }
  .js-footer .social-icon-1, .js-footer .social-icon-2, .js-footer .social-icon-3, .js-footer .social-icon-4, .js-footer .social-icon-5,
  .social-icon-1, .social-icon-2, .social-icon-3, .social-icon-4, .social-icon-5{
    width:38px;
    height:38px;
  }
}

/* Search UX: thumbnails, mobile drawer search, and article-bottom search */
.jslx-card-media--search{
  aspect-ratio:16/9;
  overflow:hidden;
  border-bottom:1px solid rgba(208,162,51,.14);
  background:rgba(0,0,0,.28);
}
.jslx-card-media--search img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.js-drawer-search{
  padding:14px;
  border:1px solid rgba(208,162,51,.18);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(12,14,16,.74),rgba(8,10,12,.58));
  box-shadow:0 14px 34px rgba(0,0,0,.24);
}
.js-drawer-search-label{
  display:block;
  margin:0 0 8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,233,154,.92);
}
.js-drawer-search-row{
  display:flex;
  gap:8px;
  align-items:center;
}
.js-drawer-search-input{
  min-width:0;
  flex:1 1 auto;
  border:1px solid rgba(208,162,51,.24);
  border-radius:14px;
  background:rgba(0,0,0,.28);
  color:var(--js-text);
  padding:11px 12px;
  outline:none;
}
.js-drawer-search-input:focus{
  border-color:rgba(255,226,154,.50);
  box-shadow:0 0 0 3px rgba(208,162,51,.10);
}
.js-drawer-search-btn{
  flex:0 0 auto;
  border:1px solid rgba(208,162,51,.30);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(208,162,51,.20),rgba(0,0,0,.42));
  color:rgba(255,233,154,.96);
  font-weight:800;
  padding:11px 14px;
  cursor:pointer;
}



/* =========================================================
   JavaSense mobile table scroll system v0.3.28
   One mobile model only: every article table gets a real
   scroll container, while table cells keep readable widths.
   ========================================================= */
@media (max-width: 820px){
  .jslx-content,
  .entry-content{
    overflow-x: visible !important;
  }

  .jslx-content figure.wp-block-table,
  .entry-content figure.wp-block-table,
  .jslx-content .wp-block-table,
  .entry-content .wp-block-table,
  .jslx-content .tablepress,
  .entry-content .tablepress,
  .jslx-content .jslx-table-scroll,
  .entry-content .jslx-table-scroll{
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px 0 30px !important;
    padding: 0 0 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border: 1px solid rgba(255,226,154,.13) !important;
    border-radius: 18px !important;
    background:
      radial-gradient(540px 170px at 50% -8%, rgba(255,226,154,.055), transparent 58%),
      linear-gradient(180deg, rgba(14,17,21,.88), rgba(7,9,12,.96)) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.28) !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(208,162,51,.62) rgba(255,255,255,.06);
  }

  .jslx-content figure.wp-block-table::before,
  .entry-content figure.wp-block-table::before,
  .jslx-content .wp-block-table::before,
  .entry-content .wp-block-table::before,
  .jslx-content .tablepress::before,
  .entry-content .tablepress::before,
  .jslx-content .jslx-table-scroll::before,
  .entry-content .jslx-table-scroll::before{
    content: "Geser tabel →";
    position: sticky;
    left: 0;
    z-index: 3;
    display: block;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px 8px;
    color: rgba(255,232,166,.84);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,226,154,.10);
    background: linear-gradient(180deg, rgba(12,14,17,.86), rgba(8,10,13,.72));
  }

  html[lang^="en"] .jslx-content figure.wp-block-table::before,
  html[lang^="en"] .entry-content figure.wp-block-table::before,
  html[lang^="en"] .jslx-content .wp-block-table::before,
  html[lang^="en"] .entry-content .wp-block-table::before,
  html[lang^="en"] .jslx-content .tablepress::before,
  html[lang^="en"] .entry-content .tablepress::before,
  html[lang^="en"] .jslx-content .jslx-table-scroll::before,
  html[lang^="en"] .entry-content .jslx-table-scroll::before{
    content: "Swipe table →";
  }

  .jslx-content figure.wp-block-table::-webkit-scrollbar,
  .entry-content figure.wp-block-table::-webkit-scrollbar,
  .jslx-content .wp-block-table::-webkit-scrollbar,
  .entry-content .wp-block-table::-webkit-scrollbar,
  .jslx-content .tablepress::-webkit-scrollbar,
  .entry-content .tablepress::-webkit-scrollbar,
  .jslx-content .jslx-table-scroll::-webkit-scrollbar,
  .entry-content .jslx-table-scroll::-webkit-scrollbar{
    height: 9px;
  }

  .jslx-content figure.wp-block-table::-webkit-scrollbar-track,
  .entry-content figure.wp-block-table::-webkit-scrollbar-track,
  .jslx-content .wp-block-table::-webkit-scrollbar-track,
  .entry-content .wp-block-table::-webkit-scrollbar-track,
  .jslx-content .tablepress::-webkit-scrollbar-track,
  .entry-content .tablepress::-webkit-scrollbar-track,
  .jslx-content .jslx-table-scroll::-webkit-scrollbar-track,
  .entry-content .jslx-table-scroll::-webkit-scrollbar-track{
    background: rgba(255,255,255,.055);
    border-radius: 999px;
  }

  .jslx-content figure.wp-block-table::-webkit-scrollbar-thumb,
  .entry-content figure.wp-block-table::-webkit-scrollbar-thumb,
  .jslx-content .wp-block-table::-webkit-scrollbar-thumb,
  .entry-content .wp-block-table::-webkit-scrollbar-thumb,
  .jslx-content .tablepress::-webkit-scrollbar-thumb,
  .entry-content .tablepress::-webkit-scrollbar-thumb,
  .jslx-content .jslx-table-scroll::-webkit-scrollbar-thumb,
  .entry-content .jslx-table-scroll::-webkit-scrollbar-thumb{
    background: linear-gradient(90deg, rgba(208,162,51,.58), rgba(255,226,154,.74));
    border-radius: 999px;
  }

  .jslx-content figure.wp-block-table table,
  .entry-content figure.wp-block-table table,
  .jslx-content .wp-block-table table,
  .entry-content .wp-block-table table,
  .jslx-content .tablepress table,
  .entry-content .tablepress table,
  .jslx-content .jslx-table-scroll table,
  .entry-content .jslx-table-scroll table,
  .jslx-content table[data-jslx-responsive-ready="true"],
  .entry-content table[data-jslx-responsive-ready="true"],
  .wp-block-table table[data-jslx-responsive-ready="true"],
  .tablepress table[data-jslx-responsive-ready="true"]{
    display: table !important;
    width: 100% !important;
    min-width: 640px !important;
    max-width: none !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .jslx-content table[data-jslx-table-mode="editorial"],
  .entry-content table[data-jslx-table-mode="editorial"],
  .wp-block-table table[data-jslx-table-mode="editorial"],
  .tablepress table[data-jslx-table-mode="editorial"]{
    min-width: 700px !important;
  }

  .jslx-content table[data-jslx-table-mode="compact"],
  .entry-content table[data-jslx-table-mode="compact"],
  .wp-block-table table[data-jslx-table-mode="compact"],
  .tablepress table[data-jslx-table-mode="compact"]{
    min-width: 620px !important;
  }

  .jslx-content table thead,
  .entry-content table thead,
  .wp-block-table table thead,
  .tablepress table thead{
    display: table-header-group !important;
  }

  .jslx-content table tbody,
  .entry-content table tbody,
  .wp-block-table table tbody,
  .tablepress table tbody{
    display: table-row-group !important;
  }

  .jslx-content table tr,
  .entry-content table tr,
  .wp-block-table table tr,
  .tablepress table tr,
  .jslx-content table[data-jslx-synthetic-header="true"] tbody tr:first-child,
  .entry-content table[data-jslx-synthetic-header="true"] tbody tr:first-child,
  .wp-block-table table[data-jslx-synthetic-header="true"] tbody tr:first-child,
  .tablepress table[data-jslx-synthetic-header="true"] tbody tr:first-child{
    display: table-row !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .jslx-content table th,
  .jslx-content table td,
  .entry-content table th,
  .entry-content table td,
  .wp-block-table table th,
  .wp-block-table table td,
  .tablepress table th,
  .tablepress table td{
    display: table-cell !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 440px !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    border-right: 1px solid rgba(255,226,154,.085) !important;
    border-bottom: 1px solid rgba(255,226,154,.085) !important;
    background: rgba(255,255,255,.012) !important;
    color: rgba(238,234,225,.91) !important;
    font-size: .88rem !important;
    line-height: 1.56 !important;
    text-align: left !important;
    vertical-align: top !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-transform: none !important;
  }

  .jslx-content table th,
  .entry-content table th,
  .wp-block-table table th,
  .tablepress table th,
  .jslx-content table[data-jslx-synthetic-header="true"] tbody tr:first-child > *,
  .entry-content table[data-jslx-synthetic-header="true"] tbody tr:first-child > *,
  .wp-block-table table[data-jslx-synthetic-header="true"] tbody tr:first-child > *,
  .tablepress table[data-jslx-synthetic-header="true"] tbody tr:first-child > *{
    background: linear-gradient(180deg, rgba(25,27,31,.98), rgba(12,15,18,.98)) !important;
    color: rgba(255,232,166,.97) !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    line-height: 1.38 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
  }

  .jslx-content table td::before,
  .jslx-content table th::before,
  .entry-content table td::before,
  .entry-content table th::before,
  .wp-block-table table td::before,
  .wp-block-table table th::before,
  .tablepress table td::before,
  .tablepress table th::before{
    display: none !important;
    content: none !important;
  }

  .jslx-content table td a,
  .entry-content table td a,
  .wp-block-table table td a,
  .tablepress table td a{
    color: rgba(255,226,154,.96) !important;
    font-weight: 720 !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* =========================================================
   JavaSense mobile typography compact override
   Scope: global theme pages/posts only. Keeps desktop untouched.
   ========================================================= */
@media (max-width: 640px){
  .jslx-page-head,
  .jslx-article-head-inner{
    max-width: 100%;
  }

  .jslx-page-title{
    margin: 8px 0 14px;
    font-size: clamp(1.56rem, 5.9vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  .jslx-article-title{
    margin-top: 8px;
    max-width: 100%;
    font-size: clamp(1.50rem, 5.55vw, 1.86rem);
    line-height: 1.13;
    letter-spacing: -0.04em;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
  }

  .jslx-content h1{
    font-size: clamp(1.58rem, 5.7vw, 1.92rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .jslx-content h2{
    margin-top: 1.45em;
    margin-bottom: .58em;
    font-size: clamp(1.28rem, 4.8vw, 1.56rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
  }

  .jslx-content h3{
    margin-top: 1.32em;
    margin-bottom: .52em;
    font-size: clamp(1.12rem, 4.15vw, 1.32rem);
    line-height: 1.22;
    letter-spacing: -0.018em;
  }

  .jslx-content h4{
    margin-top: 1.22em;
    margin-bottom: .48em;
    font-size: clamp(1.02rem, 3.8vw, 1.16rem);
    line-height: 1.28;
  }
}

@media (max-width: 380px){
  .jslx-page-title{
    font-size: clamp(1.48rem, 5.45vw, 1.72rem);
    letter-spacing: -0.04em;
  }

  .jslx-article-title{
    font-size: clamp(1.44rem, 5.3vw, 1.72rem);
  }
}
