/* ==========================================================================
   CERTECHS Indonesia — Guides Hub & Buyer-Intent Articles Stylesheet
   Enqueued strictly on Guide Hub (14108, 14117) and Guide Article subpages.
   ========================================================================== */

/* 1. Page Hero Alignment & Comfortable Title Sizing */
body.cer-page-guides-hub .cer-native-page-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 24px 8px;
  text-align: center;
  box-sizing: border-box;
}
body.cer-page-guides-hub .cer-native-page-hero .section-heading.left {
  text-align: center;
  margin: 0 auto;
}
body.cer-page-guides-hub .cer-native-page-hero h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: #0A0A0C;
  margin: 6px 0 0;
}

body.cer-page-guide-article .cer-native-page-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 24px 12px;
  box-sizing: border-box;
}
body.cer-page-guide-article .cer-native-page-hero .section-heading.left {
  max-width: 100%;
}
body.cer-page-guide-article .cer-native-page-hero h1 {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0A0A0C;
  margin: 8px 0 0;
  overflow-wrap: break-word;
}

/* 2. Hub Directory Container & Hero */
.cer-guides-hub-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0A0A0C;
  box-sizing: border-box;
}
.cer-hub-hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
}
.cer-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D10A22;
  margin-bottom: 12px;
}
.cer-hub-hero h1,
.cer-hub-hero h2.cer-hub-title {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 800;
  color: #0A0A0C;
}
.cer-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #4A4A52;
  margin: 0;
}

/* 3. Two-Track Grid on Hub */
.cer-tracks-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .cer-tracks-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.cer-track-column {
  background: #f5f6f8;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  padding: 28px;
  box-sizing: border-box;
  min-width: 0;
}
@media (max-width: 540px) {
  .cer-track-column {
    padding: 20px;
  }
}
.cer-track-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  background: #0A0A0C;
  color: #fff;
}
.cer-track-industry .cer-track-tag,
.cer-track-industri .cer-track-tag {
  background: #D10A22;
}
.cer-track-horeca .cer-track-tag {
  background: #0A0A0C;
}
.cer-track-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #0A0A0C;
  letter-spacing: -0.015em;
}
.cer-track-header p {
  font-size: 15px;
  line-height: 1.55;
  color: #55555E;
  margin: 0 0 24px;
}
.cer-article-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cer-article-card {
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  padding: 22px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.cer-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.cer-card-cat {
  font-size: 11px;
  font-weight: 700;
  color: #D10A22;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.cer-article-card h3 {
  font-size: 17px;
  line-height: 1.38;
  margin: 0 0 10px;
  font-weight: 700;
}
.cer-article-card h3 a {
  color: #0A0A0C;
  text-decoration: none;
}
.cer-article-card h3 a:hover {
  color: #D10A22;
}
.cer-article-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 14px;
}
.cer-read-link {
  font-size: 13px;
  font-weight: 700;
  color: #D10A22;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cer-read-link:hover {
  text-decoration: underline;
}

/* 4. Hub CTA Banner */
.cer-hub-cta {
  background: #0A0A0C;
  color: #fff;
  border-radius: 12px;
  padding: 44px 32px;
  text-align: center;
  box-sizing: border-box;
}
.cer-hub-cta h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}
.cer-hub-cta p {
  font-size: 16px;
  line-height: 1.6;
  color: #A0A0AB;
  max-width: 640px;
  margin: 0 auto 28px;
}
.cer-hub-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 5. Buttons */
.cer-btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 6px;
  transition: all 0.2s;
  box-sizing: border-box;
  text-align: center;
}
.cer-btn-primary {
  background: #D10A22;
  color: #fff !important;
  border: 1px solid #D10A22;
}
.cer-btn-primary:hover {
  background: #b2081c;
  color: #fff !important;
}
.cer-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.35);
}
.cer-btn-outline:hover {
  border-color: #fff;
  color: #fff !important;
}

/* 6. Single Guide Article Container & Typography */
.cer-guide-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 24px 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.75;
  font-size: 16.5px;
  color: #1a1a1f;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
.cer-guide-meta-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1e5ea;
}
.cer-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  background: #0A0A0C;
  color: #fff;
}
.cer-badge.industry,
.cer-badge.industri {
  background: #D10A22;
}
.cer-badge.horeca {
  background: #0A0A0C;
}
.cer-read-time {
  font-size: 13px;
  color: #666;
}
.cer-guide-article h2 {
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.3;
  font-weight: 800;
  color: #0A0A0C;
  margin: 38px 0 14px;
  letter-spacing: -0.015em;
}
.cer-guide-article h3 {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.35;
  font-weight: 700;
  color: #0A0A0C;
  margin: 26px 0 10px;
}
.cer-guide-article p {
  margin: 0 0 18px;
  color: #222228;
}
.cer-guide-article a {
  color: #D10A22;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.cer-guide-article a:hover {
  color: #9e0719;
}
.cer-guide-article ul,
.cer-guide-list,
.cer-guide-checklist {
  list-style: disc outside !important;
  margin: 0 0 22px;
  padding-left: 24px;
  line-height: 1.7;
}
.cer-guide-article ol,
.cer-guide-list-num {
  list-style: decimal outside !important;
  margin: 0 0 22px;
  padding-left: 24px;
  line-height: 1.7;
}
.cer-guide-article ul li,
.cer-guide-article ol li,
.cer-guide-list li,
.cer-guide-list-num li,
.cer-guide-checklist li {
  display: list-item !important;
  margin-bottom: 8px;
}
.cer-guide-article ul li::marker,
.cer-guide-article ol li::marker {
  color: #D10A22;
  font-weight: 700;
}
.cer-guide-box {
  background: #f5f6f8;
  border-left: 4px solid #D10A22;
  padding: 22px 24px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
  box-sizing: border-box;
}
.cer-guide-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #0A0A0C;
}
.cer-guide-box p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 10px;
  color: #444;
}
.cer-guide-checklist {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #222;
}
.cer-guide-checklist li {
  margin-bottom: 8px;
}

/* 7. Responsive Data Tables */
.cer-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 26px 0;
  border-radius: 8px;
  border: 1px solid #e1e5ea;
  max-width: 100%;
}
.cer-guide-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.cer-guide-table th,
.cer-guide-table td {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
.cer-guide-table th {
  background: #0A0A0C;
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
}
.cer-guide-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e1e5ea;
  color: #333;
  vertical-align: top;
}
.cer-guide-table tr:last-child td {
  border-bottom: none;
}
.cer-guide-table tr:nth-child(even) td {
  background: #f5f6f8;
}

/* 8. Bottom Article CTA Card & Footer Nav */
.cer-guide-cta-card {
  background: #0A0A0C;
  color: #fff;
  border-radius: 10px;
  padding: 28px;
  margin: 40px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.cer-guide-cta-card .cer-cta-copy {
  flex: 1 1 320px;
}
.cer-guide-cta-card .cer-cta-copy h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}
.cer-guide-cta-card .cer-cta-copy p {
  font-size: 15px;
  line-height: 1.5;
  color: #A0A0AB;
  margin: 0;
}
.cer-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .cer-guide-cta-card {
    padding: 22px 20px;
  }
  .cer-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .cer-cta-actions .cer-btn {
    width: 100%;
  }
}
.cer-guide-footer-nav {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e1e5ea;
}
.cer-guide-footer-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #D10A22;
  text-decoration: none !important;
}
.cer-guide-footer-nav a:hover {
  text-decoration: underline !important;
}


/* ==========================================================================
   V7.17: Answer-First Block (.cer-guide-answer) & Comparison Tables
   ========================================================================== */
.cer-guide-answer {
  background: #fbfbfb;
  border: 1px solid #e1e5ea;
  border-left: 4px solid #a30d18;
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
}
.cer-guide-answer strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a30d18;
  margin-bottom: 8px;
}
.cer-guide-answer p {
  margin: 0;
  color: #1a1a1f;
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive Comparison Table */
.cer-guide-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 28px;
  font-size: 15px;
  line-height: 1.5;
}
.cer-guide-article th,
.cer-guide-article td {
  padding: 12px 16px;
  border: 1px solid #e1e5ea;
  text-align: left;
  vertical-align: top;
}
.cer-guide-article th {
  background: #f5f6f8;
  font-weight: 700;
  color: #0A0A0C;
}
.cer-guide-article tr:nth-child(even) td {
  background: #fafbfc;
}
@media (max-width: 768px) {
  .cer-guide-article table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
}
