/* =========================================================
   Japanese Adult Site Guide / JIN child UI
   ========================================================= */

:root {
  --jasg-bg: #ffffff;
  --jasg-bg-soft: #f5f7f8;
  --jasg-bg-tint: #eef5f3;
  --jasg-text: #1d2a32;
  --jasg-muted: #64727b;
  --jasg-border: #dce3e6;
  --jasg-border-strong: #c9d3d7;
  --jasg-navy: #153047;
  --jasg-teal: #176f67;
  --jasg-teal-dark: #105950;
  --jasg-teal-soft: #e9f5f2;
  --jasg-warm: #a3543f;
  --jasg-warm-soft: #fff2ed;
  --jasg-shadow: 0 12px 32px rgba(27, 47, 58, .08);
  --jasg-radius: 14px;
  --jasg-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------------------------------------------------------
   GLOBAL / JIN RESET LAYER
   --------------------------------------------------------- */
body.jasg-site {
  color: var(--jasg-text);
  background: var(--jasg-bg);
  font-family: var(--jasg-font) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.jasg-site :where(p, li, a, span, strong, em, small, div, h1, h2, h3, h4, h5, h6, th, td, label, button, input, select, textarea):not(i):not(.jic):not([class*="jin-ifont"]):not(.dashicons):not([class^="fa-"]):not([class*=" fa-"]) {
  font-family: var(--jasg-font) !important;
}

body.jasg-site a {
  text-underline-offset: 3px;
}

body.jasg-site #header-box,
body.jasg-site header {
  box-shadow: none !important;
}

body.jasg-site #header-box {
  border-bottom: 1px solid var(--jasg-border) !important;
  background: rgba(255,255,255,.97) !important;
}

body.jasg-site #site-info,
body.jasg-site #site-info a,
body.jasg-site #site-info .site-title {
  color: var(--jasg-navy) !important;
}

body.jasg-site #site-info img {
  max-height: 44px;
  width: auto;
}

body.jasg-site #global-nav a,
body.jasg-site .global-nav a,
body.jasg-site .header-menu a {
  color: #34454f !important;
  font-weight: 650 !important;
  letter-spacing: .01em;
}

body.jasg-site #global-nav a:hover,
body.jasg-site .global-nav a:hover,
body.jasg-site .header-menu a:hover {
  color: var(--jasg-teal) !important;
}

/* ---------------------------------------------------------
   FRONT PAGE: remove JIN blog shell feel
   --------------------------------------------------------- */
body.jasg-front-page #sidebar,
body.jasg-front-page .sidebar {
  display: none !important;
}

body.jasg-front-page #main-contents,
body.jasg-front-page .main-contents,
body.jasg-front-page .cps-post-main,
body.jasg-front-page .post-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.jasg-front-page .cps-post-header,
body.jasg-front-page .cps-post-title,
body.jasg-front-page .post-title,
body.jasg-front-page .cps-post-meta {
  display: none !important;
}

.jasg-home {
  width: 100%;
  margin: 0;
  color: var(--jasg-text);
  background: var(--jasg-bg);
}

.jasg-home *,
.jasg-home *::before,
.jasg-home *::after {
  box-sizing: border-box;
}

.jasg-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.jasg-section {
  padding: 74px 0;
}

.jasg-section--muted {
  background: var(--jasg-bg-soft);
  border-top: 1px solid #edf1f2;
  border-bottom: 1px solid #edf1f2;
}

.jasg-section__head {
  max-width: 760px;
  margin: 0 0 34px;
}

.jasg-home h1,
.jasg-home h2,
.jasg-home h3 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  color: var(--jasg-text) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  letter-spacing: -.025em;
}

.jasg-home h1::before,
.jasg-home h1::after,
.jasg-home h2::before,
.jasg-home h2::after,
.jasg-home h3::before,
.jasg-home h3::after {
  content: none !important;
  display: none !important;
}

.jasg-home h2 {
  margin: 0 0 14px !important;
  font-size: clamp(29px, 3.2vw, 42px) !important;
  line-height: 1.16 !important;
  font-weight: 780 !important;
}

.jasg-home h3 {
  margin: 0 0 12px !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 740 !important;
}

.jasg-home p {
  margin-top: 0;
  color: #55646d;
  font-size: 16px;
  line-height: 1.75;
}

.jasg-kicker,
.jasg-eyebrow {
  margin-bottom: 12px !important;
  color: var(--jasg-teal) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.jasg-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(circle at 82% 15%, rgba(23,111,103,.10), transparent 34%),
    linear-gradient(180deg, #fbfdfd 0%, #ffffff 100%);
  border-bottom: 1px solid #e8edef;
}

.jasg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: 64px;
  align-items: center;
}

.jasg-hero h1 {
  max-width: 780px;
  margin: 0 0 24px !important;
  color: var(--jasg-navy) !important;
  font-size: clamp(46px, 5.5vw, 70px) !important;
  font-weight: 800 !important;
  line-height: 1.03 !important;
  letter-spacing: -.052em;
}

.jasg-hero__lead {
  max-width: 710px;
  margin-bottom: 30px !important;
  color: #4f606a !important;
  font-size: 18px !important;
  line-height: 1.72 !important;
}

.jasg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jasg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.jasg-button--primary {
  color: #fff !important;
  background: var(--jasg-teal) !important;
  border-color: var(--jasg-teal) !important;
  box-shadow: 0 8px 20px rgba(23,111,103,.18);
}

.jasg-button--primary:hover {
  color: #fff !important;
  background: var(--jasg-teal-dark) !important;
  transform: translateY(-1px);
}

.jasg-button--secondary {
  color: var(--jasg-navy) !important;
  background: #fff !important;
  border-color: var(--jasg-border-strong) !important;
}

.jasg-button--secondary:hover {
  border-color: #9fb2ba !important;
  transform: translateY(-1px);
}

.jasg-hero__panel {
  padding: 30px 30px 27px;
  background: #fff;
  border: 1px solid var(--jasg-border);
  border-radius: 16px;
  box-shadow: var(--jasg-shadow);
}

.jasg-panel__label {
  display: block;
  margin-bottom: 18px;
  color: var(--jasg-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.jasg-hero__panel ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.jasg-hero__panel li {
  position: relative;
  margin: 0 !important;
  padding: 12px 0 12px 27px !important;
  color: #34464f;
  font-size: 14px;
  line-height: 1.55;
  border-bottom: 1px solid #edf1f2;
}

.jasg-hero__panel li:last-child {
  border-bottom: 0;
}

.jasg-hero__panel li::before {
  content: "✓";
  position: absolute;
  left: 1px;
  top: 11px;
  color: var(--jasg-teal);
  font-weight: 800;
}

/* ---------------------------------------------------------
   CARDS
   --------------------------------------------------------- */
.jasg-card-grid {
  display: grid;
  gap: 20px;
}

.jasg-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jasg-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jasg-card {
  position: relative;
  min-width: 0;
  padding: 27px 26px 24px;
  background: #fff;
  border: 1px solid var(--jasg-border);
  border-radius: var(--jasg-radius);
  box-shadow: 0 5px 18px rgba(26,48,60,.045);
}

.jasg-card--featured {
  border-color: #b9d7d1;
  background: linear-gradient(180deg, #f9fdfc 0%, #fff 100%);
}

.jasg-card__tag {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 5px 9px;
  color: var(--jasg-teal-dark);
  background: var(--jasg-teal-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .025em;
}

.jasg-card p {
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.7;
}

.jasg-card__data {
  min-height: 49px;
  color: #394b55 !important;
  font-weight: 650;
}

.jasg-card__link,
.jasg-text-link {
  color: var(--jasg-teal-dark) !important;
  font-weight: 750;
  text-decoration: none !important;
}

.jasg-card__link:hover,
.jasg-text-link:hover {
  text-decoration: underline !important;
}

.jasg-centered-action {
  margin: 24px 0 0 !important;
  text-align: center;
}

/* ---------------------------------------------------------
   VERIFICATION
   --------------------------------------------------------- */
.jasg-section--verification {
  background: var(--jasg-navy);
}

.jasg-section--verification .jasg-kicker {
  color: #83d0c5 !important;
}

.jasg-section--verification h2,
.jasg-section--verification p,
.jasg-section--verification .jasg-text-link {
  color: #fff !important;
}

.jasg-verification {
  display: grid;
  grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr);
  gap: 54px;
  align-items: start;
}

.jasg-verification__body p {
  color: #d7e0e5 !important;
}

/* ---------------------------------------------------------
   LATEST
   --------------------------------------------------------- */
.jasg-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.jasg-latest-card {
  padding: 19px 18px;
  background: #fff;
  border: 1px solid var(--jasg-border);
  border-radius: 11px;
}

.jasg-latest-card__date {
  margin-bottom: 9px !important;
  color: #849098 !important;
  font-size: 11px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.jasg-latest-card h3 {
  margin-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  letter-spacing: -.01em;
}

.jasg-latest-card h3 a {
  color: var(--jasg-navy) !important;
  text-decoration: none !important;
}

.jasg-empty-state,
.jasg-plugin-note {
  padding: 18px 20px;
  color: #596871 !important;
  background: #fff;
  border: 1px dashed var(--jasg-border-strong);
  border-radius: 10px;
}

/* ---------------------------------------------------------
   JASG DATA MANAGER OUTPUT
   --------------------------------------------------------- */
body.jasg-site .jasg-price,
body.jasg-site .jasg-trial {
  color: var(--jasg-navy);
  font-weight: 760;
}

body.jasg-site .jasg-cta-wrap {
  align-items: stretch;
  gap: 8px;
  margin: 30px 0;
  padding: 22px;
  background: #fbfcfc;
  border: 1px solid var(--jasg-border);
  border-radius: 13px;
}

body.jasg-site .jasg-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  color: #fff !important;
  background: var(--jasg-teal) !important;
  border: 1px solid var(--jasg-teal) !important;
  border-radius: 9px !important;
  box-shadow: 0 7px 18px rgba(23,111,103,.18);
  font-size: 15px;
  font-weight: 780;
  text-align: center;
}

body.jasg-site .jasg-cta:hover {
  background: var(--jasg-teal-dark) !important;
  opacity: 1 !important;
}

body.jasg-site .jasg-cta-details {
  color: #40535e;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

body.jasg-site .jasg-disclosure {
  color: #7c888f;
  font-size: 10.5px;
  text-align: center;
}

body.jasg-site .jasg-table-wrap {
  width: 100%;
  margin: 24px 0 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--jasg-border);
  border-radius: 12px;
  background: #fff;
}

body.jasg-site .jasg-table-wrap:focus {
  outline: 3px solid rgba(23,111,103,.18);
  outline-offset: 2px;
}

body.jasg-site table.jasg-comparison {
  min-width: 720px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
  font-size: 13.5px !important;
}

body.jasg-site .jasg-comparison th,
body.jasg-site .jasg-comparison td {
  padding: 13px 14px !important;
  border: 0 !important;
  border-right: 1px solid #e8edef !important;
  border-bottom: 1px solid #e8edef !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  vertical-align: top;
}

body.jasg-site .jasg-comparison th {
  color: var(--jasg-navy) !important;
  background: #f2f6f6 !important;
  font-weight: 780 !important;
}

body.jasg-site .jasg-comparison td {
  color: #41525c !important;
  background: #fff !important;
}

body.jasg-site .jasg-comparison tr:last-child td {
  border-bottom: 0 !important;
}

/* ---------------------------------------------------------
   SINGLE POSTS: modern one-column reading layout
   --------------------------------------------------------- */
body.jasg-site.single-post #sidebar,
body.jasg-site.single-post .sidebar {
  display: none !important;
}

body.jasg-site.single-post #main-contents,
body.jasg-site.single-post .main-contents {
  width: min(860px, calc(100% - 40px)) !important;
  max-width: 860px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  float: none !important;
}

body.jasg-site.single-post .cps-post-main {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.jasg-site.single-post .cps-post-title.post-title,
body.jasg-site.single-post h1.entry-title {
  margin: 24px 0 18px !important;
  color: var(--jasg-navy) !important;
  font-size: clamp(33px, 4.2vw, 48px) !important;
  font-weight: 790 !important;
  line-height: 1.13 !important;
  letter-spacing: -.038em !important;
}

body.jasg-site.single-post .post-content {
  color: #354750;
  font-size: 16.5px;
  line-height: 1.86;
}

body.jasg-site.single-post .post-content > p {
  margin: 0 0 1.35em;
}

body.jasg-site.single-post .post-content h2,
body.jasg-site.single-post .post-content h3,
body.jasg-site.single-post .post-content h4 {
  color: var(--jasg-navy) !important;
  background: none !important;
  box-shadow: none !important;
  letter-spacing: -.02em;
}

body.jasg-site.single-post .post-content h2::before,
body.jasg-site.single-post .post-content h2::after,
body.jasg-site.single-post .post-content h3::before,
body.jasg-site.single-post .post-content h3::after {
  content: none !important;
  display: none !important;
}

body.jasg-site.single-post .post-content h2 {
  margin: 58px 0 22px !important;
  padding: 0 0 13px !important;
  border: 0 !important;
  border-bottom: 2px solid #dce6e8 !important;
  font-size: 29px !important;
  font-weight: 770 !important;
  line-height: 1.3 !important;
}

body.jasg-site.single-post .post-content h3 {
  margin: 40px 0 17px !important;
  padding: 0 0 0 14px !important;
  border: 0 !important;
  border-left: 4px solid var(--jasg-teal) !important;
  font-size: 22px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
}

body.jasg-site.single-post .post-content h4 {
  margin: 30px 0 13px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 740 !important;
}

body.jasg-site.single-post .post-content a:not(.jasg-cta) {
  color: #176b8a;
  text-decoration-color: rgba(23,107,138,.35);
}

body.jasg-site.single-post .post-content strong {
  color: #253b47;
  font-weight: 760;
}

/* JIN info boxes kept familiar but modernized */
body.jasg-site.single-post .simple-box1,
body.jasg-site.single-post .simple-box2 {
  width: 100% !important;
  max-width: none !important;
  margin: 28px 0 32px !important;
  padding: 20px 22px !important;
  color: #394b55 !important;
  background: #f7f9fa !important;
  border: 1px solid var(--jasg-border) !important;
  border-radius: 11px !important;
  box-shadow: none !important;
}

body.jasg-site.single-post .simple-box1 {
  border-left: 4px solid var(--jasg-teal) !important;
}

body.jasg-site.single-post .simple-box1::before,
body.jasg-site.single-post .simple-box1::after,
body.jasg-site.single-post .simple-box2::before,
body.jasg-site.single-post .simple-box2::after {
  content: none !important;
  display: none !important;
}

/* Generic article tables */
body.jasg-site.single-post .post-content table:not(.jasg-comparison) {
  width: 100% !important;
  margin: 28px 0 34px !important;
  border-collapse: collapse !important;
  border: 1px solid var(--jasg-border) !important;
  border-radius: 10px;
  font-size: 14px !important;
}

body.jasg-site.single-post .post-content table:not(.jasg-comparison) th,
body.jasg-site.single-post .post-content table:not(.jasg-comparison) td {
  padding: 12px 13px !important;
  border: 1px solid #e4eaec !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.jasg-site.single-post .post-content table:not(.jasg-comparison) th {
  color: var(--jasg-navy) !important;
  background: #f1f5f6 !important;
  font-weight: 750 !important;
}

/* Category badges */
body.jasg-site .cps-post-cat a,
body.jasg-site .meta-cat,
body.jasg-site .popular-cat {
  color: #fff !important;
  background: var(--jasg-teal) !important;
  border-color: var(--jasg-teal) !important;
  border-radius: 999px !important;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
body.jasg-site #footer-box,
body.jasg-site footer {
  color: #d3dde2;
  background: #152630 !important;
}

body.jasg-site #footer-box a,
body.jasg-site footer a {
  color: #e7eef1 !important;
}

body.jasg-site #footer-box .widgettitle,
body.jasg-site footer .widgettitle {
  color: #fff !important;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 900px) {
  .jasg-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .jasg-hero__panel {
    max-width: 620px;
  }

  .jasg-card-grid--three,
  .jasg-latest-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .jasg-verification {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .jasg-shell {
    width: min(100% - 28px, 1160px);
  }

  .jasg-section {
    padding: 54px 0;
  }

  .jasg-hero {
    padding: 64px 0 56px;
  }

  .jasg-hero h1 {
    font-size: clamp(39px, 11vw, 53px) !important;
  }

  .jasg-hero__lead {
    font-size: 16px !important;
  }

  .jasg-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jasg-button {
    width: 100%;
  }

  .jasg-card-grid--three,
  .jasg-card-grid--two,
  .jasg-latest-grid {
    grid-template-columns: 1fr;
  }

  .jasg-card {
    padding: 23px 20px 21px;
  }

  body.jasg-site.single-post #main-contents,
  body.jasg-site.single-post .main-contents {
    width: calc(100% - 28px) !important;
  }

  body.jasg-site.single-post .cps-post-title.post-title,
  body.jasg-site.single-post h1.entry-title {
    font-size: 33px !important;
    line-height: 1.18 !important;
  }

  body.jasg-site.single-post .post-content {
    font-size: 15.5px;
    line-height: 1.82;
  }

  body.jasg-site.single-post .post-content h2 {
    margin-top: 48px !important;
    font-size: 25px !important;
  }

  body.jasg-site.single-post .post-content h3 {
    margin-top: 34px !important;
    font-size: 20px !important;
  }

  body.jasg-site .jasg-cta-wrap {
    margin: 26px 0;
    padding: 18px 15px;
  }

  body.jasg-site .jasg-cta {
    min-height: 52px;
    font-size: 14px;
  }

  /* Generic tables: allow horizontal scrolling rather than overflow */
  body.jasg-site.single-post .post-content table:not(.jasg-comparison) {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jasg-button,
  body.jasg-site .jasg-cta {
    transition: none !important;
  }
}

/* =========================================================
   v0.2.0 — Dedicated site chrome + mobile comparison UI
   ========================================================= */

/* ---------------------------------------------------------
   RETIRE JIN'S VISIBLE SITE CHROME
   Keep JIN as the parent/runtime, but do not expose its header,
   drawer, footer, or floating page-top control on this site.
   --------------------------------------------------------- */
body.jasg-site #header-box,
body.jasg-site .header-box,
body.jasg-site .fixed-content,
body.jasg-site #drawernav,
body.jasg-site .drawer-menu,
body.jasg-site #footer-box,
body.jasg-site footer,
body.jasg-site #page-top,
body.jasg-site .page-top,
body.jasg-site #scroll-top,
body.jasg-site .scroll-top,
body.jasg-site .totop,
body.jasg-site .to-top,
body.jasg-site .cps-scroll-top {
  display: none !important;
}

html.jasg-menu-open,
html.jasg-menu-open body {
  overflow: hidden;
}

/* ---------------------------------------------------------
   DEDICATED HEADER
   --------------------------------------------------------- */
.jasg-site-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  width: 100%;
  color: var(--jasg-text);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--jasg-border);
  box-shadow: 0 1px 0 rgba(20,48,71,.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.admin-bar .jasg-site-header {
  top: 32px;
}

.jasg-site-header__inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.jasg-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--jasg-navy) !important;
  text-decoration: none !important;
}

.jasg-site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 30px;
  color: #fff;
  background: var(--jasg-teal);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}

.jasg-site-brand__name {
  overflow: hidden;
  color: var(--jasg-navy);
  font-size: 17px;
  font-weight: 790;
  letter-spacing: -.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.jasg-desktop-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.jasg-desktop-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: #42545d !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 690;
  text-decoration: none !important;
  transition: color .16s ease, background-color .16s ease;
}

.jasg-desktop-nav > a:hover {
  color: var(--jasg-teal) !important;
  background: #f2f7f6;
}

.jasg-desktop-nav > .jasg-header-cta {
  margin-left: 8px;
  padding: 0 17px;
  color: #fff !important;
  background: var(--jasg-teal);
  box-shadow: 0 6px 16px rgba(23,111,103,.14);
}

.jasg-desktop-nav > .jasg-header-cta:hover {
  color: #fff !important;
  background: var(--jasg-teal-dark);
}

.jasg-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.jasg-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--jasg-navy);
  border-radius: 2px;
  transition: transform .16s ease, opacity .16s ease;
}

.jasg-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.jasg-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.jasg-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.jasg-mobile-nav {
  border-top: 1px solid #edf1f2;
  background: #fff;
  box-shadow: 0 18px 34px rgba(21,48,71,.10);
}

.jasg-mobile-nav[hidden] {
  display: none !important;
}

.jasg-mobile-nav__inner {
  width: min(100% - 28px, 760px);
  margin: 0 auto;
  padding: 12px 0 18px;
  display: grid;
  gap: 4px;
}

.jasg-mobile-nav__inner > a {
  display: flex;
  min-height: 47px;
  align-items: center;
  padding: 0 12px;
  color: var(--jasg-navy) !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 720;
  text-decoration: none !important;
}

.jasg-mobile-nav__inner > a:hover {
  background: var(--jasg-bg-soft);
}

.jasg-mobile-nav__inner > .jasg-mobile-nav__cta {
  justify-content: center;
  margin-top: 7px;
  color: #fff !important;
  background: var(--jasg-teal);
}

/* ---------------------------------------------------------
   TYPOGRAPHY / INFORMATION DENSITY
   --------------------------------------------------------- */
.jasg-home p {
  font-size: 17px;
  line-height: 1.78;
}

.jasg-hero__lead {
  font-size: 18px !important;
}

.jasg-card p,
.jasg-card__data {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
}

body.jasg-site .jasg-comparison {
  font-size: 15px !important;
}

body.jasg-site .jasg-comparison th,
body.jasg-site .jasg-comparison td {
  padding: 14px 15px !important;
  line-height: 1.55 !important;
}

/* ---------------------------------------------------------
   MOBILE COMPARISON CARDS
   Desktop keeps the semantic table; JS creates an equivalent
   card presentation for narrow screens.
   --------------------------------------------------------- */
.jasg-mobile-comparison {
  display: none;
}

.jasg-mobile-comparison__card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jasg-border);
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(27,47,58,.045);
}

.jasg-mobile-comparison__title {
  margin: 0 !important;
  padding: 16px 17px !important;
  color: #fff !important;
  background: var(--jasg-navy) !important;
  border: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  letter-spacing: -.015em !important;
}

.jasg-mobile-comparison__list {
  margin: 0;
}

.jasg-mobile-comparison__row {
  display: grid;
  grid-template-columns: minmax(116px, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid #e8edef;
}

.jasg-mobile-comparison__row:last-child {
  border-bottom: 0;
}

.jasg-mobile-comparison__row dt,
.jasg-mobile-comparison__row dd {
  margin: 0;
}

.jasg-mobile-comparison__row dt {
  color: #52636c;
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.45;
}

.jasg-mobile-comparison__row dd {
  color: var(--jasg-text);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   LATEST UPDATES
   --------------------------------------------------------- */
.jasg-latest-card {
  padding: 20px 20px 18px;
}

.jasg-latest-card__date {
  margin-bottom: 9px !important;
  font-size: 11px !important;
  font-weight: 780;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.jasg-empty-state {
  margin: 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px dashed var(--jasg-border-strong);
  border-radius: 12px;
  color: var(--jasg-muted) !important;
}

/* ---------------------------------------------------------
   DEDICATED ENGLISH FOOTER
   --------------------------------------------------------- */
.jasg-site-footer {
  position: relative;
  z-index: 2;
  color: #cbd7dd;
  background: #132a3a;
}

.jasg-site-footer__inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, .6fr) minmax(190px, .75fr);
  gap: 72px;
}

.jasg-site-footer__brand {
  max-width: 520px;
}

.jasg-site-footer__title {
  display: inline-block;
  margin-bottom: 13px;
  color: #fff !important;
  font-size: 20px;
  font-weight: 790;
  letter-spacing: -.025em;
  text-decoration: none !important;
}

.jasg-site-footer__brand p {
  margin: 0;
  color: #aebfc8;
  font-size: 14px;
  line-height: 1.72;
}

.jasg-site-footer__heading {
  margin: 1px 0 13px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 820 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.jasg-site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.jasg-site-footer__column a {
  color: #cbd7dd !important;
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none !important;
}

.jasg-site-footer__column a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.jasg-site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  background: #102532;
}

.jasg-site-footer__bottom-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #90a4af;
  font-size: 11.5px;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   RESPONSIVE v0.2
   --------------------------------------------------------- */
@media (max-width: 900px) {
  .jasg-desktop-nav {
    display: none;
  }

  .jasg-menu-toggle {
    display: block;
  }

  .jasg-site-footer__inner {
    grid-template-columns: 1.25fr .75fr .8fr;
    gap: 38px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .jasg-site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  .jasg-site-header__inner {
    width: calc(100% - 28px);
    min-height: 60px;
  }

  .jasg-site-brand {
    gap: 9px;
  }

  .jasg-site-brand__mark {
    width: 36px;
    height: 27px;
    font-size: 9px;
  }

  .jasg-site-brand__name {
    max-width: calc(100vw - 126px);
    font-size: 15px;
  }

  .jasg-home p {
    font-size: 15.75px;
    line-height: 1.76;
  }

  .jasg-hero {
    padding-top: 52px;
  }

  .jasg-hero h1 {
    font-size: clamp(38px, 10.6vw, 50px) !important;
    line-height: 1.05 !important;
  }

  .jasg-hero__panel {
    padding: 24px 20px 20px;
  }

  .jasg-section__head {
    margin-bottom: 26px;
  }

  .jasg-home h2 {
    font-size: clamp(27px, 7.8vw, 35px) !important;
  }

  .jasg-card p,
  .jasg-card__data {
    font-size: 14.75px !important;
  }

  .jasg-js body.jasg-site .jasg-table-wrap {
    display: none !important;
  }

  .jasg-mobile-comparison {
    display: grid;
    gap: 14px;
  }

  .jasg-mobile-comparison__row {
    grid-template-columns: 118px minmax(0,1fr);
  }

  .jasg-site-footer__inner {
    width: calc(100% - 28px);
    padding: 42px 0 34px;
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .jasg-site-footer__brand {
    grid-column: 1 / -1;
  }

  .jasg-site-footer__bottom-inner {
    width: calc(100% - 28px);
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 430px) {
  .jasg-mobile-comparison__row {
    grid-template-columns: 105px minmax(0,1fr);
    padding-left: 13px;
    padding-right: 13px;
  }

  .jasg-site-footer__inner {
    grid-template-columns: 1fr;
  }

  .jasg-site-footer__brand {
    grid-column: auto;
  }
}
