/* Korea Guidebook article components (used by the autoblog bot). */
.kgb-tip, .kgb-warning, .kgb-note {
  padding: 14px 18px;
  border-left: 4px solid;
  border-radius: 6px;
  margin: 1.5em 0;
}
.kgb-tip     { background: rgba(22, 163, 74, .08);  border-color: #16a34a; }
.kgb-warning { background: rgba(234, 88, 12, .08);  border-color: #ea580c; }
.kgb-note    { background: rgba(37, 99, 235, .08);  border-color: #2563eb; }
.kgb-tip::before     { content: "Tip: ";     font-weight: 700; }
.kgb-warning::before { content: "Heads up: "; font-weight: 700; }
.kgb-note::before    { content: "Note: ";    font-weight: 700; }

.kgb-toc {
  border: 1px solid rgba(128, 128, 128, .3);
  border-radius: 8px;
  padding: 14px 20px;
  margin: 1.5em 0 2em;
  background: rgba(128, 128, 128, .05);
}
.kgb-toc p { margin: 0 0 .4em; }
.kgb-toc ol { margin: 0; padding-left: 1.3em; }
.kgb-toc li { margin: .2em 0; }

.kgb-recipe {
  border: 2px solid #c2410c;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 2em 0;
}
.kgb-recipe h2 { margin-top: 0; }
.kgb-recipe-meta { font-size: .95em; opacity: .85; }

.kgb-figure { margin: 1.8em 0; }
.kgb-figure img { width: 100%; height: auto; border-radius: 8px; }
.kgb-figure figcaption, .kgb-credit { font-size: .8em; opacity: .7; text-align: center; }

.entry-content h2[id], .kgb-toc + h2 { scroll-margin-top: 80px; }

/* Quick Verdict / Key Takeaways box (top of every guide) */
.kgb-summary {
  border: 2px solid #e08315;
  border-radius: 10px;
  background: rgba(224, 131, 21, .07);
  padding: 16px 20px;
  margin: 0 0 1.8em;
}
.kgb-summary p { margin: 0 0 .6em; }
.kgb-summary-title { font-size: 1.05em; color: #d37401; text-transform: uppercase; letter-spacing: .04em; }
.kgb-summary-sub { font-size: .95em; margin-top: .4em !important; }
.kgb-summary ul { margin: 0; padding-left: 1.2em; }
.kgb-summary li { margin: .25em 0; }

/* Comparison tables: scroll sideways inside the box on phones instead of breaking the page */
.kgb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5em 0; }
.kgb-table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; margin: 0; }
.kgb-table-wrap th, .kgb-table-wrap td { border: 1px solid rgba(128, 128, 128, .35); padding: 8px 10px; text-align: left; vertical-align: top; }
.kgb-table-wrap thead th { background: rgba(224, 131, 21, .12); }
.kgb-table-wrap caption { caption-side: top; text-align: left; font-weight: 600; padding-bottom: 6px; }

/* Step-by-step checklist */
.kgb-checklist { list-style: none; padding-left: 0; counter-reset: kgb-step; }
.kgb-checklist li { counter-increment: kgb-step; position: relative; padding: 8px 0 8px 2.4em; border-bottom: 1px dashed rgba(128, 128, 128, .3); }
.kgb-checklist li::before {
  content: counter(kgb-step); position: absolute; left: 0; top: 7px;
  width: 1.7em; height: 1.7em; border-radius: 50%; background: #e08315; color: #fff;
  font-weight: 700; font-size: .85em; display: flex; align-items: center; justify-content: center;
}
