/* ═══════════════════════════════════════════
   FAZOM Product Site - main.css
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg: #F0F4F8;
  --white: #FFFFFF;
  --accent: #0091D5;
  --accentHover: #007AB8;
  --accentLight: rgba(0,145,213,0.08);
  --accentBorder: rgba(0,145,213,0.2);
  --text: #0B1628;
  --textSub: #5C6878;
  --textMuted: #8B95A3;
  --border: #D1DAE6;
  --borderLight: #E2E8F0;
  --success: #009068;
  --warning: #E09A2D;
  --shadow1: 0 1px 3px rgba(11,22,40,0.06);
  --shadow2: 0 4px 12px rgba(11,22,40,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  line-height: 1.7;
}
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--borderLight);
  padding: 0 24px;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(11,22,40,0.06);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }

/* ── Navigation ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav .nav-link,
.main-nav .nav-dropdown-button {
  font-size: 13px;
  color: var(--textSub);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 2px;
  margin: 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  display: inline-block;
  vertical-align: baseline;
  box-sizing: border-box;
  transition: color 0.2s, border-bottom-color 0.2s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.main-nav .nav-dropdown-button:hover,
.main-nav .nav-dropdown-button.active,
.nav-dropdown-trigger.is-current .nav-dropdown-button,
.nav-dropdown-trigger:hover .nav-dropdown-button,
.nav-dropdown-trigger:focus-within .nav-dropdown-button {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.main-nav .nav-dropdown-trigger {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav .nav-dropdown-button {
  display: block;
  position: relative;
  top: 0px;
}

.nav-dropdown-trigger {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 16px;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--borderLight);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11,22,40,0.1);
  padding: 8px 0;
  min-width: 220px;
  z-index: 1100;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown-trigger:hover .nav-dropdown,
.nav-dropdown-trigger:focus-within .nav-dropdown,
.nav-dropdown-trigger.is-open .nav-dropdown {
  display: block;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--textSub);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: var(--accentLight);
  color: var(--accent);
  outline: none;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  border: none;
  background: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Mobile Nav ── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 24px;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.show { display: flex; opacity: 1; }
.mobile-nav-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--borderLight);
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--accent); }
.mobile-nav-cta { margin-top: 24px; }

/* ── Floating CTA ── */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: 9999px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,145,213,0.25);
}
.btn-primary:hover {
  background: var(--accentHover);
  box-shadow: 0 4px 16px rgba(0,145,213,0.3);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accentLight);
  box-shadow: var(--shadow2);
}
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── Sections ── */
.sec {
  padding: 88px 24px;
  max-width: 1120px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sec.in-view { opacity: 1; transform: translateY(0); }
.sec-dark {
  background: #0D1726;
  padding: 88px 24px;
}
.sec-dark .stitle h2 { color: #fff; }

/* ── Section Title ── */
.stitle { text-align: center; margin-bottom: 56px; }
.stitle-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.stitle h2 {
  font-size: clamp(25px, 3.7vw, 38px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.stitle-desc {
  font-size: 15px;
  color: var(--textSub);
  line-height: 1.8;
  max-width: 620px;
  margin: 14px auto 0;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px;
  border: 1px solid var(--borderLight);
  box-shadow: var(--shadow1);
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--accentBorder);
  box-shadow: 0 8px 24px rgba(11,22,40,0.08);
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--borderLight);
  padding: 18px 0;
  cursor: pointer;
}
.faq-q { display: flex; justify-content: space-between; align-items: center; }
.faq-q span:first-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  padding-right: 16px;
}
.faq-icon {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  font-size: 14px;
  color: var(--textSub);
  line-height: 1.8;
  margin-top: 10px;
  padding-right: 32px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ── Page Shell ── */
.page-shell { padding-top: 0; }
.page-shell-header {
  background: var(--white);
  border-bottom: 1px solid var(--borderLight);
  padding: 36px 24px 32px;
}
.page-shell-header-inner { max-width: 1120px; margin: 0 auto; }
.page-shell-breadcrumb {
  font-size: 12px;
  color: var(--textMuted);
  margin-bottom: 8px;
}
.page-shell-breadcrumb a { color: var(--accent); }
.page-shell-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
}
.page-shell-body { max-width: 1120px; margin: 0 auto; padding: 56px 24px 72px; }

/* ── News List ── */
.news-list { display: grid; gap: 0; }
.news-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--borderLight);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.news-item:hover { background: var(--accentLight); }
.news-date {
  min-width: 96px;
  color: var(--textMuted);
  font-size: 14px;
  padding-top: 2px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--borderLight);
  border-radius: 9999px;
  font-size: 12px;
  color: #4b5563;
  background: var(--white);
}

/* ── Seminar Card ── */
.seminar-card { transition: transform 0.2s, box-shadow 0.2s; }
.seminar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,22,40,0.1);
}
.seminar-thumb { overflow: hidden; }

/* ── Illustrations ── */
.illust { display: block; }
.illust-sm { width: 60px; height: 60px; }
.illust-md { width: 120px; height: 120px; }
.illust-lg { width: 160px; height: 160px; }
.illust-xl { width: 220px; height: 220px; }

/* ── Feat flex ── */
.feat-flex { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }

/* ── Hero ── */
.hero-flex { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-helper-note {
  font-size: 11px;
  color: var(--textMuted);
  margin-top: 12px;
  line-height: 1.6;
}

/* ── Footer ── */
.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-block img { height: 36px; width: auto; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: var(--textSub);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }
.corp-link { font-size: 12px; color: var(--textMuted); }
.corp-link a { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--borderLight);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 12px; color: var(--textMuted); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ── CheckList ── */
.checklist { display: flex; gap: 16px; flex-wrap: wrap; }
.checklist-item { flex: 1 1 280px; display: flex; gap: 8px; align-items: flex-start; }
.checklist-icon { color: var(--accent); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.checklist-text { font-size: 13px; color: var(--textSub); line-height: 1.6; }

/* ── The Content (WP本文) ── */
.the-content h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 32px 0 12px; }
.the-content h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.the-content p { margin: 0 0 16px; }
.the-content ul, .the-content ol { padding-left: 20px; margin: 0 0 16px; color: var(--textSub); }
.the-content li { margin-bottom: 6px; line-height: 1.8; }
.the-content a { color: var(--accent); text-decoration: underline; }
.the-content blockquote {
  margin: 16px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  color: var(--textSub);
}
.the-content img { border-radius: 8px; }

/* ── Pagination ── */
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--textSub);
  border: 1px solid var(--borderLight);
  background: var(--white);
  transition: all 0.2s;
}
.page-numbers:hover { color: var(--accent); border-color: var(--accent); }
.page-numbers.current {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .floating-cta { display: block; }

  .hero-flex { flex-direction: column; }
  .feat-flex { flex-direction: column !important; }
  .footer-wrap { grid-template-columns: 1fr; gap: 24px; }
  .page-shell-title { font-size: 22px; }

  .sec { padding: 56px 16px; }
  .sec-dark { padding: 56px 16px; }
  .page-shell-body { padding: 32px 16px 48px; }
}

@media (max-width: 600px) {
  .btn { padding: 12px 20px; font-size: 14px; }
  .stitle h2 { font-size: 22px; }
}
/* Added for fixed pages: features / program / scenes */
.feat-layout { display: flex; gap: 40px; align-items: flex-start; }
.feat-content { flex: 1 1 0; min-width: 0; }
.feat-sidebar { flex: 0 0 240px; position: sticky; top: 88px; }
.phase-nav { display: flex; flex-direction: column; gap: 8px; }
.phase-nav-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 10px; cursor: pointer; transition: all 0.3s; background: var(--white); border: 1px solid var(--borderLight); }
.phase-nav-item:hover { border-color: var(--accentBorder); }
.phase-nav-item.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.phase-nav-item .phase-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: var(--bg); color: var(--textSub); flex-shrink: 0; }
.phase-nav-item.active .phase-num { background: rgba(255,255,255,0.2); color: #fff; }
.phase-nav-item .phase-label { font-size: 14px; font-weight: 700; }
.phase-nav-item .phase-sublabel { font-size: 11px; opacity: 0.7; }
.scene-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.scene-grid-3 .card { max-width: none !important; height: 100%; }
.feat-detail { transition: max-height 0.4s ease; }

@media (max-width: 768px) {
  .feat-layout { flex-direction: column !important; gap: 0 !important; }
  .feat-sidebar { display: none !important; }
  .feat-content { flex: 1 1 100% !important; }
  .feat-phase-wrapper { border-radius: 12px; padding: 28px 20px; margin-bottom: 16px; }
  .scene-grid-3 { grid-template-columns: 1fr; }
}


/* ── Mini redesign: fixed pages ── */
.page-shell-header { background:var(--white); border-bottom:1px solid var(--borderLight); }
.page-shell-header-inner { max-width:1120px; margin:0 auto; padding:44px 24px 36px; }
.page-shell-breadcrumb { font-size:12px; color:var(--textMuted); margin-bottom:12px; }
.page-shell-title { margin:0; font-size:clamp(28px,4vw,42px); line-height:1.25; font-weight:900; color:var(--text); }
.page-shell-body { max-width:1120px; margin:0 auto; padding:56px 24px 72px; }
.page-generic-content { max-width:800px; color:var(--textSub); font-size:15px; line-height:1.9; }
.page-generic-content > *:first-child { margin-top:0; }
.page-generic-content > *:last-child { margin-bottom:0; }
.page-generic-content h2, .page-generic-content h3, .page-generic-content h4 { color:var(--text); line-height:1.5; }
.page-contact-wrap { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:28px; align-items:start; }
.page-contact-side { position:sticky; top:96px; }
.checklist { display:grid; gap:10px; }
.checklist-item { display:flex; align-items:flex-start; gap:10px; }
.checklist-icon { font-weight:900; line-height:1.6; }
.checklist-text { font-size:13px; line-height:1.8; }
.footer-bottom-links a, .footer-brand-block .corp-link a { text-decoration:none; }
@media (max-width:900px) { .page-contact-wrap { grid-template-columns:1fr; } .page-contact-side { position:static; } }
@media (max-width:768px) { .page-shell-header-inner { padding:32px 16px 24px; } .page-shell-body { padding:32px 16px 56px; } }

/* ── Contact Form 7 ── */
.page-contact-main .wpcf7 {
  width: 100%;
}

.page-contact-main .wpcf7 form {
  display: block;
}

.page-contact-main .wpcf7 label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-contact-main .wpcf7 p {
  margin: 0 0 20px;
}

.page-contact-main .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.page-contact-main .wpcf7 input[type="text"],
.page-contact-main .wpcf7 input[type="email"],
.page-contact-main .wpcf7 input[type="tel"],
.page-contact-main .wpcf7 select,
.page-contact-main .wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.page-contact-main .wpcf7 select {
  min-height: 52px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--textSub) 50%),
    linear-gradient(135deg, var(--textSub) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.page-contact-main .wpcf7 textarea {
  min-height: 220px;
  resize: vertical;
}

.page-contact-main .wpcf7 input[type="text"]:focus,
.page-contact-main .wpcf7 input[type="email"]:focus,
.page-contact-main .wpcf7 input[type="tel"]:focus,
.page-contact-main .wpcf7 select:focus,
.page-contact-main .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,145,213,0.12);
}

.page-contact-main .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 32px;
  border: none;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,145,213,0.25);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
  cursor: pointer;
}

.page-contact-main .wpcf7 input[type="submit"]:hover {
  background: var(--accentHover);
  box-shadow: 0 4px 16px rgba(0,145,213,0.3);
  transform: translateY(-1px);
}

.page-contact-main .wpcf7 input[type="submit"]:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.page-contact-main .wpcf7-spinner {
  margin: 12px 0 0 12px;
}

.page-contact-main .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #d92d20;
  margin-top: 6px;
}

.page-contact-main .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-contact-main .wpcf7 input[type="submit"] {
    width: 100%;
  }
}

/* featuresページはテキスト→UI画像の縦積みに固定 */
.page-shell--features #feat-before,
.page-shell--features #feat-during,
.page-shell--features #feat-after {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start !important;
  gap: 32px;
}

.page-shell--features #feat-before > div:first-child,
.page-shell--features #feat-during > div:first-child,
.page-shell--features #feat-after > div:first-child,
.page-shell--features #feat-before > div:last-child,
.page-shell--features #feat-during > div:last-child,
.page-shell--features #feat-after > div:last-child {
  flex: 1 1 100% !important;
  max-width: 100% !important;
}

.page-shell--features #feat-before img,
.page-shell--features #feat-during img,
.page-shell--features #feat-after img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── HubSpot Forms ── */
.fazom-hs-form-wrap { width:100%; }
.fazom-hs-form-title {
  margin:0 0 12px; font-size:18px; font-weight:800; color:var(--text);
}
.fazom-hs-form-desc {
  margin:0 0 20px; font-size:14px; color:var(--textSub); line-height:1.8;
}
.fazom-hs-form .hs-form-field,
.fazom-hs-form .legal-consent-container,
.fazom-hs-form .hs-richtext {
  margin-bottom:16px;
}
.fazom-hs-form label,
.fazom-hs-form .hs-richtext,
.fazom-hs-form .legal-consent-container {
  font-size:14px; color:var(--text); line-height:1.7;
}
.fazom-hs-form .hs-form-field > label,
.fazom-hs-form .hs-field-desc {
  display:block; margin-bottom:8px;
}
.fazom-hs-form input[type="text"],
.fazom-hs-form input[type="email"],
.fazom-hs-form input[type="tel"],
.fazom-hs-form input[type="number"],
.fazom-hs-form textarea,
.fazom-hs-form select {
  width:100% !important;
  max-width:100% !important;
  padding:14px 16px !important;
  border:1px solid var(--border) !important;
  border-radius:10px !important;
  background:var(--white) !important;
  color:var(--text) !important;
  font-size:14px !important;
  line-height:1.6 !important;
  box-shadow:none !important;
  appearance:none;
  -webkit-appearance:none;
}
.fazom-hs-form textarea { min-height:180px; resize:vertical; }
.fazom-hs-form input:focus,
.fazom-hs-form textarea:focus,
.fazom-hs-form select:focus {
  outline:none !important;
  border-color:var(--accent) !important;
  box-shadow:0 0 0 4px rgba(0,145,213,0.12) !important;
}
.fazom-hs-form fieldset { max-width:none !important; }
.fazom-hs-form .inputs-list {
  margin:8px 0 0 !important;
  padding:0 !important;
  list-style:none;
}
.fazom-hs-form .inputs-list li {
  display:flex; align-items:flex-start; gap:10px; margin:0 0 10px !important;
}
.fazom-hs-form .inputs-list input[type="checkbox"],
.fazom-hs-form .inputs-list input[type="radio"] {
  width:18px !important; height:18px !important; margin-top:2px;
}
.fazom-hs-form .hs-error-msgs,
.fazom-hs-form .no-list {
  margin:6px 0 0 !important; padding:0 !important; list-style:none;
}
.fazom-hs-form .hs-error-msg,
.fazom-hs-form .hs-main-font-element {
  font-size:12px !important; color:#d92d20 !important;
}
.fazom-hs-form .submitted-message {
  padding:16px 18px; border-radius:12px; background:var(--accentLight); color:var(--text); line-height:1.8;
}
.fazom-hs-form .hs-button,
.fazom-hs-form input[type="submit"] {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:52px;
  padding:14px 20px !important;
  border:none !important;
  border-radius:9999px !important;
  background:var(--accent) !important;
  color:var(--white) !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
  box-shadow:0 2px 8px rgba(0,145,213,0.25) !important;
  transition:all .25s ease !important;
}
.fazom-hs-form .hs-button:hover,
.fazom-hs-form input[type="submit"]:hover {
  background:var(--accentHover) !important;
  box-shadow:0 4px 16px rgba(0,145,213,0.3) !important;
  transform:translateY(-1px);
}
.fazom-hs-form .actions { margin-top:20px !important; }
.fazom-hs-form .hs-form-booleancheckbox-display,
.fazom-hs-form .legal-consent-container label {
  color:var(--textSub); font-size:13px; line-height:1.8;
}
@media (max-width: 768px) {
  .fazom-hs-form-title { font-size:16px; }
}


/* ===== Blog Single UI refinement ===== */
.blog-single-body-wrap {
  background: #f3f6fa;
}

.blog-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.blog-single-main {
  background: #fff;
  padding: 32px;
}

.blog-single-sidebar {
  position: relative;
}

.blog-sidebar-card {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: #fff;
}

.blog-sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.blog-sidebar-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-sidebar-category-list li + li {
  margin-top: 0;
}

.blog-sidebar-category-link {
  display: block;
  color: var(--textSub);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.7;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}

.blog-sidebar-category-link:hover,
.blog-sidebar-category-link.is-current {
  color: var(--accent);
  background: var(--accentLight);
}

.blog-single-primary-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--accentLight);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.blog-single-title {
  margin-bottom: 12px;
}

.blog-single-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  color: var(--textMuted);
  font-size: 13px;
}

.blog-single-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 28px;
}

.blog-single-content {
  background: #fff;
  color: var(--textSub);
  font-size: 16px;
  line-height: 2;
}

.blog-single-content p {
  margin: 0 0 1.4em;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
  color: var(--text);
  line-height: 1.5;
  font-weight: 900;
}

.blog-single-content h2 {
  font-size: 28px;
  margin: 2.4em 0 0.9em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--borderLight);
}

.blog-single-content h3 {
  font-size: 22px;
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.blog-single-content h4 {
  font-size: 18px;
  margin: 1.8em 0 0.7em;
}

.blog-single-content ul,
.blog-single-content ol {
  margin: 0 0 1.5em 1.4em;
  padding: 0;
}

.blog-single-content li {
  margin-bottom: 0.5em;
}

.blog-single-content blockquote {
  margin: 1.5em 0;
  padding: 18px 20px;
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  color: var(--textSub);
}

.blog-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14px;
}

.blog-single-content th,
.blog-single-content td {
  border: 1px solid var(--borderLight);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.blog-single-content th {
  background: #f8fafc;
  color: var(--text);
}

.blog-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-single-taxonomies {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--borderLight);
}

.blog-single-tax-group + .blog-single-tax-group {
  margin-top: 12px;
}

.blog-single-tax-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--textMuted);
  margin-bottom: 8px;
}

.blog-single-tax-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-author-box {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--borderLight);
  border-radius: 20px;
  background: #fff;
}

.blog-author-box-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.blog-author-box-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.blog-author-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 9999px;
  overflow: hidden;
  background: #eef2f7;
}

.blog-author-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.blog-author-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.blog-author-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.blog-author-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--textSub);
}

.blog-related-posts {
  margin-top: 40px;
}

.blog-section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--borderLight);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.blog-related-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-related-data {
  padding: 14px 16px 18px;
}

.blog-related-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.7;
}

.blog-footer-cta {
  margin-top: 40px;
}

.blog-footer-cta .card {
  background: #fff;
  border: 1px solid var(--borderLight);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.blog-back-link-wrap {
  margin-top: 24px;
}

.blog-back-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .blog-single-layout {
    grid-template-columns: 1fr;
  }

  .blog-single-sidebar {
    order: -1;
  }

  .blog-sidebar-card {
    position: static;
    top: auto;
  }

  .blog-related-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Blogcard shortcode ===== */
.blogcard-link {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--borderLight);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}

.blogcard-link:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.blogcard-thumb {
  display: block;
  width: 220px;
  max-width: 42%;
  flex: 0 0 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.blogcard-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.blogcard-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 9999px;
  background: var(--accentLight);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.blogcard-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.6;
}

.blogcard-excerpt {
  display: block;
  font-size: 14px;
  color: var(--textSub);
  line-height: 1.8;
}

@media (max-width: 767px) {
  .blogcard-link {
    flex-direction: column;
  }

  .blogcard-thumb {
    width: 100%;
    max-width: none;
    flex: none;
  }
}

/* ===== Sticky sidebar form layout ===== */
.entry-two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.entry-two-col-main {
  min-width: 0;
}

.entry-two-col-sidebar {
  min-width: 0;
}

.entry-two-col-sticky {
  position: sticky;
  top: 96px;
}

@media (max-width: 1024px) {
  .entry-two-col-layout {
    grid-template-columns: 1fr;
  }

  .entry-two-col-sticky {
    position: static;
    top: auto;
  }
}




.download-body-content {
  color: var(--textSub);
  font-size: 16px;
  line-height: 2;
}

.download-body-content p {
  margin: 0 0 1.4em;
}

.download-body-content h2,
.download-body-content h3,
.download-body-content h4 {
  color: var(--text);
  line-height: 1.5;
  font-weight: 900;
}

.download-body-content h2 {
  font-size: 28px;
  margin: 2.4em 0 0.9em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--borderLight);
}

.download-body-content h3 {
  font-size: 22px;
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.download-body-content h4 {
  font-size: 18px;
  margin: 1.8em 0 0.7em;
}

.download-body-content ul,
.download-body-content ol {
  margin: 0 0 1.5em 1.4em;
  padding: 0;
}

.download-body-content li {
  margin-bottom: 0.5em;
}

.download-body-content blockquote {
  margin: 1.5em 0;
  padding: 18px 20px;
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  color: var(--textSub);
}

.download-body-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14px;
}

.download-body-content th,
.download-body-content td {
  border: 1px solid var(--borderLight);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.download-body-content th {
  background: #f8fafc;
  color: var(--text);
}

.download-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
/* ===== Download page headings aligned with blog ===== */
.download-section-heading {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.5;
}


/* ===== Blog archive refresh ===== */
.blog-archive-header-inner {
  max-width: 1120px;
}

.blog-archive-description {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--textSub);
}

.blog-archive-body-wrap {
  display: grid;
  gap: 32px;
}

.blog-archive-section-head {
  margin-bottom: 18px;
}

.blog-archive-section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
}

.blog-archive-picked-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-archive-picked-card,
.blog-archive-card {
  display: block;
  border: 1px solid var(--borderLight);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.blog-archive-picked-card:hover,
.blog-archive-card:hover {
  border-color: var(--accentBorder);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.blog-archive-picked-thumb,
.blog-archive-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-archive-picked-thumb--fallback,
.blog-archive-card-thumb--fallback {
  background: var(--accentLight);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-archive-picked-data,
.blog-archive-card-data {
  padding: 18px 18px 20px;
}

.blog-archive-picked-meta,
.blog-archive-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.blog-archive-date {
  font-size: 12px;
  color: var(--textMuted);
}

.blog-archive-picked-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--text);
}

.blog-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.blog-archive-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.blog-archive-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--text);
}

.blog-archive-sidebar {
  display: grid;
  gap: 16px;
}

.blog-archive-sidebar-card {
  padding: 24px;
}

.blog-archive-sidebar-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.blog-archive-sidebar-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--textSub);
}

@media (max-width: 1024px) {
  .blog-archive-picked-grid,
  .blog-archive-list-grid,
  .blog-archive-layout {
    grid-template-columns: 1fr;
  }
}
