/*
Theme Name: 夜の作品案内所
Theme URI: https://otonapicks.jp/
Author: COLOR MOTION
Author URI: https://otonapicks.jp/
Description: 大人向け動画・配信サービスの比較・作品レビューに特化した、高速・レスポンシブ対応のオリジナルWordPressテーマです。
Version: 1.2.8
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: yoru-guide
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --yg-bg: #f5f2ee;
  --yg-surface: #ffffff;
  --yg-surface-soft: #ece7e1;
  --yg-ink: #17151a;
  --yg-muted: #6c6870;
  --yg-line: #ded8d1;
  --yg-night: #151522;
  --yg-night-2: #202033;
  --yg-accent: #8a1f3d;
  --yg-accent-deep: #64152d;
  --yg-gold: #b18a4a;
  --yg-success: #1f6f50;
  --yg-radius-sm: 10px;
  --yg-radius: 18px;
  --yg-radius-lg: 28px;
  --yg-shadow: 0 14px 40px rgba(20, 18, 26, .08);
  --yg-shadow-hover: 0 20px 52px rgba(20, 18, 26, .14);
  --yg-container: 1180px;
  --yg-content: 780px;
  --yg-font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", "Segoe UI", sans-serif;
  --yg-font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--yg-ink);
  background: var(--yg-bg);
  font-family: var(--yg-font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--yg-accent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--yg-accent-deep); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(177, 138, 74, .6); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto !important;
  width: auto; height: auto;
  left: 16px; top: 16px;
  z-index: 99999;
  padding: 10px 14px;
  color: #fff;
  background: var(--yg-accent);
  border-radius: 8px;
}

.yg-container { width: min(calc(100% - 40px), var(--yg-container)); margin-inline: auto; }
.yg-content-width { width: min(calc(100% - 40px), var(--yg-content)); margin-inline: auto; }

/* Top notices */
.yg-disclosure-bar {
  background: #0f0f18;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .03em;
}
.yg-disclosure-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.yg-age-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
}
.yg-age-label::before {
  content: "18+";
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  color: #fff;
  background: var(--yg-accent);
  border-radius: 50%;
  font-size: 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 242, 238, .94);
  border-bottom: 1px solid rgba(222, 216, 209, .84);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-branding { min-width: 0; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 50px; width: auto; }
.site-title {
  margin: 0;
  font-family: var(--yg-font-serif);
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.2;
  letter-spacing: .06em;
}
.site-title a { color: var(--yg-ink); text-decoration: none; }
.site-description {
  margin: 5px 0 0;
  color: var(--yg-muted);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .04em;
}
.primary-navigation { margin-left: auto; }
.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-navigation a {
  color: var(--yg-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
}
.primary-navigation a:hover { color: var(--yg-accent); }
.yg-menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--yg-line);
  border-radius: 50%;
  background: var(--yg-surface);
}
.yg-menu-toggle span,
.yg-menu-toggle::before,
.yg-menu-toggle::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: var(--yg-ink);
  transition: .25s ease;
}
.yg-menu-toggle.is-open span { opacity: 0; }
.yg-menu-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.yg-menu-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.yg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 132px) 0 clamp(76px, 9vw, 118px);
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(177, 138, 74, .26), transparent 24%),
    radial-gradient(circle at 15% 90%, rgba(138, 31, 61, .34), transparent 30%),
    linear-gradient(135deg, #11111b 0%, #202034 56%, #171522 100%);
}
.yg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.yg-hero__inner { position: relative; z-index: 1; max-width: 880px; }
.yg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #d8bf8f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.yg-eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.yg-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--yg-font-serif);
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.24;
  letter-spacing: .04em;
}
.yg-hero__lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2;
}
.yg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.yg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.yg-button:hover { transform: translateY(-2px); }
.yg-button--primary { color: #fff; background: var(--yg-accent); box-shadow: 0 12px 30px rgba(138,31,61,.28); }
.yg-button--primary:hover { color: #fff; background: #9d2949; }
.yg-button--ghost { color: #fff; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.06); }
.yg-button--ghost:hover { color: #fff; background: rgba(255,255,255,.12); }

/* Sections */
.yg-section { padding: clamp(64px, 8vw, 104px) 0; }
.yg-section--surface { background: var(--yg-surface); }
.yg-section--night { color: #fff; background: var(--yg-night); }
.yg-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.yg-section-heading__title {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "BIZ UDPMincho", "Noto Serif JP", serif !important;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .035em;
  font-feature-settings: "palt" 1;
  font-kerning: normal;
  text-wrap: balance;
}
.yg-section-heading__title--start { white-space: nowrap; }
.yg-section-heading__title--start .yg-heading-line { display: inline; }
.yg-section-heading__text { max-width: 520px; margin: 0; color: var(--yg-muted); font-size: 14px; }
.yg-section--night .yg-section-heading__text { color: rgba(255,255,255,.68); }
.yg-text-link { font-weight: 800; text-decoration: none; white-space: nowrap; }
.yg-text-link::after { content: " →"; }

.yg-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.yg-guide-card {
  position: relative;
  min-height: 240px;
  padding: 30px;
  overflow: hidden;
  color: var(--yg-ink);
  background: var(--yg-surface);
  border: 1px solid var(--yg-line);
  border-radius: var(--yg-radius);
  box-shadow: var(--yg-shadow);
}
.yg-guide-card__number {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  color: var(--yg-accent);
  background: #f7e9ee;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}
.yg-guide-card h2 { margin: 34px 0 10px; font-family: var(--yg-font-serif); font-size: 22px; }
.yg-guide-card p { margin: 0; color: var(--yg-muted); font-size: 14px; }

/* Post cards */
.yg-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.yg-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--yg-surface);
  border: 1px solid var(--yg-line);
  border-radius: var(--yg-radius);
  box-shadow: var(--yg-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.yg-post-card:hover { transform: translateY(-5px); box-shadow: var(--yg-shadow-hover); }
.yg-post-card__image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2939, #6c203c);
}
.yg-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.yg-post-card:hover .yg-post-card__image img { transform: scale(1.035); }
.yg-post-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.78);
  font-family: var(--yg-font-serif);
  font-size: 18px;
  letter-spacing: .08em;
}
.yg-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.yg-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--yg-muted); font-size: 11px; }
.yg-category-label {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--yg-accent);
  background: #f7e9ee;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}
.yg-post-card__title { margin: 0; font-size: 18px; line-height: 1.6; }
.yg-post-card__title a { color: var(--yg-ink); text-decoration: none; }
.yg-post-card__excerpt { margin: 12px 0 0; color: var(--yg-muted); font-size: 13px; line-height: 1.75; }
.yg-post-card__more { margin-top: auto; padding-top: 18px; font-size: 12px; font-weight: 900; text-decoration: none; }

/* Category chips */
.yg-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.yg-category-card {
  display: block;
  padding: 22px;
  color: #fff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--yg-radius-sm);
  text-decoration: none;
}
.yg-category-card:hover { color: #fff; background: rgba(255,255,255,.10); }
.yg-category-card strong { display: block; font-family: var(--yg-font-serif); font-size: 17px; }
.yg-category-card span { display: block; margin-top: 4px; color: rgba(255,255,255,.55); font-size: 11px; }

/* Archive / page hero */
.yg-page-hero { padding: 62px 0 48px; background: var(--yg-surface); border-bottom: 1px solid var(--yg-line); }
.yg-page-hero h1 { margin: 8px 0 0; font-family: var(--yg-font-serif); font-size: clamp(34px, 5vw, 56px); line-height: 1.35; }
.yg-page-hero p { max-width: 720px; margin: 16px 0 0; color: var(--yg-muted); }
.yg-breadcrumbs { color: var(--yg-muted); font-size: 11px; }
.yg-breadcrumbs a { color: inherit; text-decoration: none; }
.yg-breadcrumbs__separator { margin: 0 8px; opacity: .5; }

/* Single article */
.yg-article-hero { padding: clamp(54px, 8vw, 94px) 0 42px; background: var(--yg-surface); border-bottom: 1px solid var(--yg-line); }
.yg-article-hero__inner { max-width: 1000px; }
.yg-article-hero h1 {
  margin: 15px 0 17px;
  font-family: var(--yg-font-serif);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.5;
  letter-spacing: .008em;
  text-wrap: pretty;
}
.yg-article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--yg-muted); font-size: 12px; }
.yg-article-visual { margin: 0 auto; width: min(calc(100% - 40px), 1100px); transform: translateY(38px); }
.yg-article-visual img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--yg-radius-lg); box-shadow: var(--yg-shadow); }
.yg-article-wrap { padding: 84px 0 96px; }
.yg-article-layout { display: grid; grid-template-columns: minmax(0, var(--yg-content)) 240px; justify-content: center; gap: 54px; align-items: start; }
.yg-article-main { min-width: 0; }
.yg-affiliate-notice {
  margin: 0 0 30px;
  padding: 16px 18px;
  color: #554e45;
  background: #f7f1e7;
  border-left: 4px solid var(--yg-gold);
  border-radius: 0 var(--yg-radius-sm) var(--yg-radius-sm) 0;
  font-size: 12px;
}
.yg-article-content { font-size: 16px; }
.yg-article-content > *:first-child { margin-top: 0; }
.yg-article-content p { margin: 0 0 1.55em; }
.yg-article-content h2 {
  margin: 2.6em 0 .9em;
  padding: 0 0 .55em;
  font-family: var(--yg-font-serif);
  font-size: clamp(23px, 2.65vw, 30px);
  line-height: 1.5;
  border-bottom: 2px solid var(--yg-ink);
}
.yg-article-content h3 {
  margin: 2.1em 0 .75em;
  padding-left: 15px;
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.55;
  border-left: 4px solid var(--yg-accent);
}
.yg-article-content h4 { margin: 1.8em 0 .65em; font-size: 19px; }
.yg-article-content ul, .yg-article-content ol { margin: 0 0 1.6em; padding-left: 1.45em; }
.yg-article-content li + li { margin-top: .45em; }
.yg-article-content blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  color: #4b4650;
  background: var(--yg-surface-soft);
  border-left: 4px solid var(--yg-accent);
  border-radius: 0 var(--yg-radius-sm) var(--yg-radius-sm) 0;
}
.yg-article-content figure { margin: 2em 0; }
.yg-article-content figcaption { margin-top: 8px; color: var(--yg-muted); font-size: 12px; text-align: center; }
.yg-article-content img { border-radius: var(--yg-radius-sm); }
.yg-article-content table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--yg-surface); }
.yg-article-content th, .yg-article-content td { padding: 13px 14px; border: 1px solid var(--yg-line); text-align: left; vertical-align: top; }
.yg-article-content th { background: var(--yg-surface-soft); font-weight: 800; }
.yg-article-content .wp-block-button__link { color: #fff; background: var(--yg-accent); border-radius: 999px; }
.yg-article-content .wp-block-group { margin-block: 2em; }

.yg-toc {
  margin: 0 0 34px;
  padding: 24px 26px;
  background: var(--yg-surface);
  border: 1px solid var(--yg-line);
  border-radius: var(--yg-radius);
  box-shadow: var(--yg-shadow);
}
.yg-toc__title { margin: 0 0 14px; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.yg-toc ol { margin: 0; padding-left: 1.35em; }
.yg-toc li + li { margin-top: 7px; }
.yg-toc li.yg-toc--h3 { margin-left: 16px; font-size: 13px; }
.yg-toc a { color: var(--yg-ink); text-decoration: none; }
.yg-toc a:hover { color: var(--yg-accent); }

.yg-article-sidebar { position: sticky; top: 120px; }
.yg-sidebar-box { padding: 22px; background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); }
.yg-sidebar-box + .yg-sidebar-box { margin-top: 16px; }
.yg-sidebar-box__title { margin: 0 0 10px; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.yg-sidebar-box p { margin: 0; color: var(--yg-muted); font-size: 12px; }

.yg-author-box { margin-top: 50px; padding: 28px; background: var(--yg-night); color: #fff; border-radius: var(--yg-radius); }
.yg-author-box__label { margin: 0 0 9px; color: #d8bf8f; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.yg-author-box h2 { margin: 0; font-family: var(--yg-font-serif); font-size: 22px; }
.yg-author-box p { margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: 13px; }

.yg-post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.yg-post-navigation a { display: block; padding: 18px; color: var(--yg-ink); background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius-sm); text-decoration: none; }
.yg-post-navigation span { display: block; color: var(--yg-muted); font-size: 10px; }
.yg-post-navigation strong { display: block; margin-top: 5px; font-size: 13px; line-height: 1.5; }

/* Pagination */
.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; color: var(--yg-ink); background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: 50px; text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--yg-accent); border-color: var(--yg-accent); }

/* Empty */
.yg-empty { padding: 38px; text-align: center; background: var(--yg-surface); border: 1px dashed var(--yg-line); border-radius: var(--yg-radius); }
.yg-empty h2 { margin-top: 0; font-family: var(--yg-font-serif); }
.yg-empty p { margin-bottom: 0; color: var(--yg-muted); }

/* Search */
.search-form { display: flex; gap: 8px; }
.search-field { width: 100%; min-height: 46px; padding: 9px 13px; background: #fff; border: 1px solid var(--yg-line); border-radius: 9px; }
.search-submit { min-height: 46px; padding: 9px 16px; color: #fff; background: var(--yg-accent); border: 0; border-radius: 9px; font-weight: 800; }

/* Footer */
.site-footer { padding: 64px 0 26px; color: rgba(255,255,255,.72); background: #0f0f18; }
.site-footer__top { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding-bottom: 46px; }
.site-footer__brand { color: #fff; font-family: var(--yg-font-serif); font-size: 25px; letter-spacing: .05em; }
.site-footer__description { max-width: 480px; margin: 15px 0 0; font-size: 13px; }
.site-footer h2 { margin: 0 0 14px; color: #fff; font-size: 12px; letter-spacing: .12em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: rgba(255,255,255,.74); text-decoration: none; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.site-footer__warning { color: #d8bf8f; font-weight: 800; }

/* WordPress */
.alignwide { max-width: 1040px; margin-left: 50%; transform: translateX(-50%); width: calc(100vw - 40px); }
.alignfull { max-width: none; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.wp-caption { max-width: 100%; }
.sticky { position: relative; }
.bypostauthor { display: block; }
.gallery-caption { color: var(--yg-muted); }

@media (max-width: 1040px) {
  .yg-article-layout { grid-template-columns: minmax(0, var(--yg-content)); }
  .yg-article-sidebar { display: none; }
  .yg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .admin-bar .site-header { top: 46px; }
  .site-header__inner { min-height: 68px; }
  .site-description { display: none; }
  .yg-menu-toggle { display: block; }
  .primary-navigation {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    padding: 16px 20px 22px;
    background: var(--yg-bg);
    border-bottom: 1px solid var(--yg-line);
    box-shadow: 0 20px 30px rgba(20,18,26,.08);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: block; }
  .primary-navigation li + li { margin-top: 3px; }
  .primary-navigation a { display: block; padding: 10px 4px; }
  .yg-guide-grid, .yg-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yg-section-heading { display: block; }
  .yg-section-heading__text { margin-top: 12px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .yg-section-heading__title--start { white-space: normal; }
  .yg-section-heading__title--start .yg-heading-line { display: block; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .yg-container, .yg-content-width { width: min(calc(100% - 28px), var(--yg-container)); }
  .yg-disclosure-bar__inner { min-height: 42px; }
  .yg-disclosure-bar__text { font-size: 10px; }
  .yg-age-label { font-size: 0; }
  .yg-hero { padding-top: 62px; }
  .yg-hero h1 { font-size: 40px; }
  .yg-hero__lead { font-size: 15px; }
  .yg-guide-grid, .yg-post-grid, .yg-category-grid { grid-template-columns: 1fr; }
  .yg-guide-card { min-height: 0; }
  .yg-post-grid { gap: 18px; }
  .yg-page-hero { padding: 44px 0 34px; }
  .yg-article-hero { padding-top: 42px; }
  .yg-article-hero h1 { font-size: 24px; line-height: 1.5; }
  .yg-article-visual { width: min(calc(100% - 20px), 1100px); transform: translateY(24px); }
  .yg-article-wrap { padding-top: 54px; }
  .yg-article-content h2 { font-size: 22px; line-height: 1.55; }
  .yg-article-content h3 { font-size: 21px; }
  .yg-article-content table { min-width: 620px; }
  .yg-article-content .wp-block-table, .yg-article-content > table { overflow-x: auto; display: block; -webkit-overflow-scrolling: touch; }
  .yg-post-navigation { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__about { grid-column: auto; }
  .site-footer__bottom { display: block; }
  .site-footer__warning { margin-top: 8px; }
}

@media (max-width: 380px) {
  .yg-article-hero h1 { font-size: 23px; }
}


/* First-visit age verification */
html.yg-age-locked,
html.yg-age-locked body {
  overflow: hidden;
}

.yg-age-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(138, 31, 61, .30), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(177, 138, 74, .18), transparent 30%),
    #0f0f18;
}

html.yg-age-locked .yg-age-gate {
  display: grid;
}

.yg-age-gate__panel {
  width: min(100%, 620px);
  padding: clamp(32px, 6vw, 58px);
  text-align: center;
  background: rgba(27, 27, 43, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

.yg-age-gate__eyebrow {
  margin: 0 0 14px;
  color: #d5b77f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.yg-age-gate__title {
  margin: 0;
  color: #fff;
  font-family: var(--yg-font-serif);
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.35;
}

.yg-age-gate__text {
  max-width: 480px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  line-height: 1.9;
}

.yg-age-gate__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.yg-age-gate__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.yg-age-gate__button:hover {
  transform: translateY(-1px);
}

.yg-age-gate__button--enter {
  color: #fff;
  background: var(--yg-accent);
}

.yg-age-gate__button--enter:hover {
  color: #fff;
  background: var(--yg-accent-deep);
}

.yg-age-gate__button--leave {
  color: rgba(255, 255, 255, .82);
  background: transparent;
  border-color: rgba(255, 255, 255, .22);
}

.yg-age-gate__button--leave:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.yg-age-gate__note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .yg-age-gate {
    padding: 16px;
  }

  .yg-age-gate__panel {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .yg-age-gate__actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   v1.2.0 — Premium visual hero based on the selected left design
   ========================================================= */
.site-header {
  color: #fff;
  background: rgba(7, 8, 16, .97);
  border-bottom-color: rgba(177, 138, 74, .22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}
.site-header .custom-logo {
  display: block;
  max-height: 52px;
  width: auto;
  filter: none;
}
.site-title a,
.primary-navigation a { color: rgba(255, 255, 255, .92); }
.site-description { color: rgba(255, 255, 255, .54); }
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a { color: #d9b875; }
.yg-menu-toggle {
  border-color: rgba(216, 183, 119, .38);
  background: rgba(255, 255, 255, .04);
}
.yg-menu-toggle span,
.yg-menu-toggle::before,
.yg-menu-toggle::after { background: #d8b777; }

.yg-hero {
  position: relative;
  display: grid;
  min-height: clamp(570px, 45vw, 710px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #070811;
}
.yg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 17, .44) 0%, rgba(7, 8, 17, .18) 47%, rgba(7, 8, 17, .05) 75%, rgba(7, 8, 17, .13) 100%),
    linear-gradient(0deg, rgba(6, 7, 14, .56) 0%, transparent 34%, rgba(6, 7, 14, .08) 100%);
}
.yg-hero::after { display: none; }
.yg-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/images/hero-night-guide-desktop.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: scale(1.002);
}
.yg-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), var(--yg-container));
  max-width: none;
  min-height: inherit;
}
.yg-hero__content {
  width: min(100%, 520px);
  padding: 72px 0 78px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}
.yg-hero .yg-eyebrow {
  margin-bottom: 15px;
  color: #d8b777;
  font-size: 10px;
  letter-spacing: .22em;
}
.yg-hero h1 {
  max-width: 510px;
  margin: 0;
  font-size: clamp(34px, 3.65vw, 52px);
  line-height: 1.42;
  letter-spacing: .055em;
  text-wrap: balance;
}
.yg-hero__lead {
  max-width: 470px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.9;
}
.yg-hero__actions {
  gap: 14px;
  margin-top: 28px;
}
.yg-hero .yg-button {
  min-width: 190px;
  min-height: 52px;
  gap: 18px;
  padding: 12px 22px;
  border-radius: 7px;
  letter-spacing: .035em;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
}
.yg-hero .yg-button--primary {
  border-color: rgba(224, 173, 96, .55);
  background: linear-gradient(135deg, #9a2044, #6e1531);
}
.yg-hero .yg-button--primary:hover {
  background: linear-gradient(135deg, #ad2b50, #7c1938);
  box-shadow: 0 18px 38px rgba(117, 20, 52, .38);
}
.yg-hero .yg-button--ghost {
  border-color: rgba(216, 183, 119, .58);
  background: rgba(9, 10, 19, .54);
  backdrop-filter: blur(8px);
}
.yg-hero .yg-button--ghost:hover {
  border-color: rgba(216, 183, 119, .9);
  background: rgba(24, 19, 27, .74);
}

.yg-trust-strip {
  color: #fff;
  background: #090b15;
  border-top: 1px solid rgba(216, 183, 119, .58);
  border-bottom: 1px solid rgba(216, 183, 119, .16);
}
.yg-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 116px;
}
.yg-trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 25px 22px;
}
.yg-trust-item + .yg-trust-item { border-left: 1px solid rgba(255, 255, 255, .1); }
.yg-trust-item__icon {
  display: grid;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #d7ae62;
  border: 1px solid rgba(215, 174, 98, .45);
  border-radius: 50%;
  background: rgba(215, 174, 98, .06);
}
.yg-trust-item__icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
.yg-trust-item span:last-child { display: block; min-width: 0; }
.yg-trust-item strong {
  display: block;
  color: #f1dfbb;
  font-family: var(--yg-font-serif);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: .035em;
}
.yg-trust-item small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .54);
  font-size: 10px;
  line-height: 1.55;
}

.yg-section--intro {
  background:
    radial-gradient(circle at 8% 6%, rgba(138, 31, 61, .07), transparent 25%),
    var(--yg-bg);
}
.yg-guide-card {
  display: block;
  color: var(--yg-ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.yg-guide-card:hover {
  color: var(--yg-ink);
  transform: translateY(-5px);
  border-color: rgba(138, 31, 61, .28);
  box-shadow: var(--yg-shadow-hover);
}
.yg-guide-card__link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--yg-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* v1.2.2 — refined section typography and controlled heading wraps */
@media (max-width: 1080px) {
  .yg-section-heading { display: block; }
  .yg-section-heading__text { margin-top: 12px; }
}

@media (max-width: 1020px) {
  .yg-hero { min-height: 610px; }
  .yg-hero__content { width: min(100%, 470px); }
  .yg-hero h1 { font-size: clamp(33px, 4.8vw, 47px); }
  .yg-trust-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yg-trust-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .yg-trust-item:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 860px) {
  .primary-navigation {
    background: rgba(7, 8, 16, .99);
    border-bottom-color: rgba(216, 183, 119, .22);
  }
  .primary-navigation a { color: rgba(255, 255, 255, .9); }
  .yg-hero {
    min-height: 780px;
    background: #070811;
  }
  .yg-hero__media {
    background-image: url("assets/images/hero-night-guide-mobile.webp");
    background-position: 57% top;
  }
  .yg-hero::before {
    background:
      linear-gradient(0deg, rgba(7, 8, 17, .99) 0%, rgba(7, 8, 17, .94) 30%, rgba(7, 8, 17, .46) 55%, rgba(7, 8, 17, .04) 76%),
      linear-gradient(90deg, rgba(7, 8, 17, .16), transparent 52%, rgba(7, 8, 17, .08));
  }
  .yg-hero__inner { align-items: flex-end; }
  .yg-hero__content {
    width: min(100%, 560px);
    padding: 420px 0 38px;
  }
  .yg-hero h1 { max-width: 520px; font-size: clamp(32px, 7.2vw, 44px); }
  .yg-hero__lead { max-width: 520px; }
}

@media (max-width: 600px) {
  .site-header__inner { min-height: 64px; }
  .custom-logo { max-width: min(72vw, 280px); max-height: 42px; }
  .yg-hero {
    min-height: 735px;
    padding: 0;
  }
  .yg-hero__inner { width: min(calc(100% - 28px), var(--yg-container)); }
  .yg-hero__content { padding: 388px 0 30px; }
  .yg-hero .yg-eyebrow { margin-bottom: 10px; font-size: 9px; }
  .yg-hero h1 { font-size: clamp(29px, 8.5vw, 37px); line-height: 1.42; }
  .yg-hero__lead { margin-top: 12px; font-size: 13px; line-height: 1.75; }
  .yg-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 19px;
  }
  .yg-hero .yg-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    justify-content: space-between;
  }
  .yg-trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .yg-trust-item {
    display: block;
    min-height: 142px;
    padding: 20px 10px;
    text-align: center;
  }
  .yg-trust-item + .yg-trust-item { border-left: 1px solid rgba(255, 255, 255, .1); }
  .yg-trust-item:nth-child(3) { border-left: 0; }
  .yg-trust-item__icon { width: 38px; height: 38px; margin: 0 auto 10px; }
  .yg-trust-item strong { font-size: 12px; }
  .yg-trust-item small { font-size: 9px; }
}

/* v1.2.3 — prevent the final two characters of the START GUIDE support copy from wrapping alone on desktop */
@media (min-width: 1081px) {
  .yg-section-heading__text--start-copy {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
  }
}


/* v1.2.4 — richer editorial design for long-form guide articles */
.yg-article-main {
  padding: clamp(26px, 4vw, 46px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(222, 216, 209, .9);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(20, 18, 26, .075);
}

.yg-article-content h2 {
  position: relative;
  margin: 2.8em 0 1em;
  padding: 18px 22px 19px 25px;
  background: linear-gradient(135deg, rgba(138, 31, 61, .085), rgba(177, 138, 74, .055));
  border: 1px solid rgba(138, 31, 61, .15);
  border-left: 5px solid var(--yg-accent);
  border-bottom-width: 1px;
  border-radius: 13px;
  box-shadow: 0 9px 28px rgba(20, 18, 26, .045);
}
.yg-article-content h2::after {
  content: "";
  position: absolute;
  left: 25px;
  bottom: -1px;
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--yg-gold), rgba(177, 138, 74, 0));
}
.yg-article-content h3 {
  padding: 12px 16px 12px 18px;
  background: linear-gradient(90deg, rgba(138, 31, 61, .055), rgba(138, 31, 61, 0));
  border-left-color: var(--yg-accent);
  border-radius: 0 10px 10px 0;
}

.yg-article-content blockquote {
  position: relative;
  overflow: hidden;
  padding: 25px 28px 24px 32px;
  color: #3f3540;
  background: linear-gradient(135deg, #fff8fa, #f7f1e7);
  border: 1px solid rgba(138, 31, 61, .16);
  border-left: 5px solid var(--yg-accent);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(20, 18, 26, .055);
}
.yg-article-content blockquote::after {
  content: "“";
  position: absolute;
  right: 18px;
  top: -34px;
  color: rgba(138, 31, 61, .08);
  font-family: Georgia, serif;
  font-size: 124px;
  line-height: 1;
  pointer-events: none;
}
.yg-article-content blockquote > * { position: relative; z-index: 1; }

/* Default editorial lists: calm, readable, and visibly separated from body copy. */
.yg-article-content ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list),
.editor-styles-wrapper ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list) {
  list-style: none;
  margin: 1.5em 0 1.9em;
  padding: 20px 24px 20px 50px;
  background: #fff;
  border: 1px solid var(--yg-line);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(20, 18, 26, .045);
}
.yg-article-content ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list) > li,
.editor-styles-wrapper ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list) > li {
  position: relative;
}
.yg-article-content ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list) > li::before,
.editor-styles-wrapper ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list) > li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: .72em;
  width: 8px;
  height: 8px;
  background: var(--yg-accent);
  border: 2px solid #f1dfe5;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(138, 31, 61, .08);
}

.yg-article-content ol,
.editor-styles-wrapper ol {
  list-style: none;
  counter-reset: yg-ordered-list;
  margin: 1.5em 0 1.9em;
  padding: 0;
}
.yg-article-content ol > li,
.editor-styles-wrapper ol > li {
  position: relative;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px 8px 48px;
}
.yg-article-content ol > li + li,
.editor-styles-wrapper ol > li + li { margin-top: 7px; }
.yg-article-content ol > li::before,
.editor-styles-wrapper ol > li::before {
  counter-increment: yg-ordered-list;
  content: counter(yg-ordered-list);
  position: absolute;
  left: 0;
  top: 5px;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--yg-accent), var(--yg-accent-deep));
  border: 1px solid rgba(177, 138, 74, .55);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 7px 17px rgba(100, 21, 45, .18);
}

/* Two-column visual cards for service/category lists. */
.yg-article-content ul.is-style-yg-service-cards,
.editor-styles-wrapper ul.is-style-yg-service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 1.7em 0 2.1em;
  padding: 0;
  list-style: none;
}
.yg-article-content ul.is-style-yg-service-cards > li,
.editor-styles-wrapper ul.is-style-yg-service-cards > li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90px;
  margin: 0;
  padding: 20px 20px 20px 72px;
  overflow: hidden;
  color: var(--yg-ink);
  background: linear-gradient(145deg, #fff, #faf6f7);
  border: 1px solid rgba(138, 31, 61, .15);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 18, 26, .055);
  font-family: var(--yg-font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.yg-article-content ul.is-style-yg-service-cards > li:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 31, 61, .3);
  box-shadow: 0 15px 36px rgba(20, 18, 26, .09);
}
.yg-article-content ul.is-style-yg-service-cards > li::before,
.editor-styles-wrapper ul.is-style-yg-service-cards > li::before {
  position: absolute;
  left: 18px;
  top: 50%;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--yg-gold);
  background: var(--yg-night);
  border: 1px solid rgba(177, 138, 74, .62);
  border-radius: 50%;
  font-family: var(--yg-font-serif);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 7px 18px rgba(21, 21, 34, .18);
}
.yg-article-content ul.is-style-yg-service-cards > li::after,
.editor-styles-wrapper ul.is-style-yg-service-cards > li::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -33px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(138, 31, 61, .08), transparent 68%);
  border-radius: 50%;
}
.yg-article-content ul.is-style-yg-service-cards > li:nth-child(1)::before,
.editor-styles-wrapper ul.is-style-yg-service-cards > li:nth-child(1)::before { content: "本"; }
.yg-article-content ul.is-style-yg-service-cards > li:nth-child(2)::before,
.editor-styles-wrapper ul.is-style-yg-service-cards > li:nth-child(2)::before { content: "同"; }
.yg-article-content ul.is-style-yg-service-cards > li:nth-child(3)::before,
.editor-styles-wrapper ul.is-style-yg-service-cards > li:nth-child(3)::before { content: "遊"; }
.yg-article-content ul.is-style-yg-service-cards > li:nth-child(4)::before,
.editor-styles-wrapper ul.is-style-yg-service-cards > li:nth-child(4)::before { content: "話"; }
.yg-article-content ul.is-style-yg-service-cards > li:nth-child(5)::before,
.editor-styles-wrapper ul.is-style-yg-service-cards > li:nth-child(5)::before { content: "販"; }
.yg-article-content ul.is-style-yg-service-cards > li:nth-child(6)::before,
.editor-styles-wrapper ul.is-style-yg-service-cards > li:nth-child(6)::before { content: "籤"; }

/* Compact recommendation/check lists. */
.yg-article-content ul.is-style-yg-check-list,
.editor-styles-wrapper ul.is-style-yg-check-list {
  margin: 1.6em 0 2em;
  padding: 22px 24px;
  list-style: none;
  background: linear-gradient(135deg, #f6fbf8, #fff);
  border: 1px solid rgba(31, 111, 80, .18);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(20, 18, 26, .045);
}
.yg-article-content ul.is-style-yg-check-list > li,
.editor-styles-wrapper ul.is-style-yg-check-list > li {
  position: relative;
  margin: 0;
  padding-left: 34px;
}
.yg-article-content ul.is-style-yg-check-list > li + li,
.editor-styles-wrapper ul.is-style-yg-check-list > li + li { margin-top: 10px; }
.yg-article-content ul.is-style-yg-check-list > li::before,
.editor-styles-wrapper ul.is-style-yg-check-list > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05em;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--yg-success);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

/* Reusable Gutenberg group boxes. */
.yg-article-content .wp-block-group.is-style-yg-point-box,
.editor-styles-wrapper .wp-block-group.is-style-yg-point-box {
  position: relative;
  padding: 25px 26px 22px;
  background: linear-gradient(135deg, #fff8fa, #fff);
  border: 1px solid rgba(138, 31, 61, .17);
  border-top: 4px solid var(--yg-accent);
  border-radius: 15px;
  box-shadow: 0 12px 32px rgba(20, 18, 26, .05);
}
.yg-article-content .wp-block-group.is-style-yg-caution-box,
.editor-styles-wrapper .wp-block-group.is-style-yg-caution-box {
  position: relative;
  padding: 25px 26px 22px;
  background: linear-gradient(135deg, #fffaf1, #fff);
  border: 1px solid rgba(177, 138, 74, .25);
  border-left: 5px solid var(--yg-gold);
  border-radius: 15px;
  box-shadow: 0 12px 32px rgba(20, 18, 26, .05);
}

/* More editorial tables and images. */
.yg-article-content table {
  overflow: hidden;
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(20, 18, 26, .05);
}
.yg-article-content thead th,
.yg-article-content tr:first-child > th {
  color: #fff;
  background: linear-gradient(135deg, var(--yg-accent), var(--yg-accent-deep));
  border-color: rgba(255, 255, 255, .16);
}
.yg-article-content tbody tr:nth-child(even) td { background: #fbf8f5; }
.yg-article-content figure img,
.yg-article-content > img {
  box-shadow: 0 13px 38px rgba(20, 18, 26, .09);
}

@media (max-width: 800px) {
  .yg-article-main {
    padding: 25px 20px 34px;
    border-radius: 18px;
  }
  .yg-article-content h2 {
    padding: 15px 16px 16px 19px;
  }
}

@media (max-width: 600px) {
  .yg-article-content ul.is-style-yg-service-cards,
  .editor-styles-wrapper ul.is-style-yg-service-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .yg-article-content ul.is-style-yg-service-cards > li,
  .editor-styles-wrapper ul.is-style-yg-service-cards > li {
    min-height: 78px;
    padding: 17px 16px 17px 66px;
  }
  .yg-article-content ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list),
  .editor-styles-wrapper ul:not(.is-style-yg-service-cards):not(.is-style-yg-check-list) {
    padding: 17px 17px 17px 43px;
  }
}


/* v1.2.5 — restrained single-article title sizing for long SEO headlines */

/* v1.2.6 — calmer H1/H2 scale for long comparison and guide articles */


/* v1.2.7 — quieter H3 styling so secondary headings do not overpower H2 */
.yg-article-content h3 {
  margin: 2em 0 .72em;
  padding: 9px 14px 9px 15px;
  color: #4b454d;
  font-family: var(--yg-font-serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .01em;
  background: linear-gradient(90deg, rgba(138, 31, 61, .03), rgba(138, 31, 61, 0));
  border-left: 3px solid rgba(138, 31, 61, .72);
  border-radius: 0 8px 8px 0;
}

@media (max-width: 600px) {
  .yg-article-content h3 {
    padding: 8px 12px 8px 13px;
    font-size: 19px;
    line-height: 1.65;
  }
}

/* v1.2.8 — refine article heading hierarchy */
/* H2: slightly smaller and less visually dominant for long comparison headings. */
.yg-article-content h2 {
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.55;
  padding: 15px 19px 16px 21px;
}
.yg-article-content h2::after {
  left: 21px;
}

/* H3: retain the compact scale from v1.2.7, but return to a clear Gothic/sans-serif face. */
.yg-article-content h3 {
  font-family: var(--yg-font-sans);
  font-weight: 700;
  letter-spacing: .005em;
}

@media (max-width: 600px) {
  .yg-article-content h2 {
    padding: 13px 15px 14px 17px;
    font-size: 20px;
    line-height: 1.55;
  }
  .yg-article-content h2::after {
    left: 17px;
  }
}
