/* TolongBeli — soft blue + brown palette for Astra inner pages */

html:root {
  --ast-global-color-0: #007fa8;
  --ast-global-color-1: #a06a48;
  --ast-global-color-2: #082a3a;
  --ast-global-color-3: #234657;
  --ast-global-color-4: #ffffff;
  --ast-global-color-5: #f2fcff;
  --ast-global-color-6: #7b4f35;
  --ast-global-color-7: #cfeaf3;
  --ast-global-color-8: #00bfff;
}

body.tb-palette {
  background-color: #f2fcff;
  color: #234657;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.tb-palette h1,
body.tb-palette h2,
body.tb-palette h3,
body.tb-palette h4,
body.tb-palette h5,
body.tb-palette h6,
body.tb-palette .entry-title,
body.tb-palette .site-title {
  color: #0b4760;
  font-family: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
}

body.tb-palette .entry-title {
  color: #082a3a;
  letter-spacing: -0.02em;
}

body.tb-palette a {
  color: #007fa8;
}

body.tb-palette a:hover,
body.tb-palette a:focus {
  color: #a06a48;
}

body.tb-palette .entry-content {
  color: #234657;
  font-size: 17px;
  line-height: 1.78;
}

body.tb-palette .entry-content > h2 {
  margin-top: 1.8em;
  padding-bottom: 8px;
  border-bottom: 1px solid #cfeaf3;
}

body.tb-palette .entry-content > h3 {
  margin-top: 1.5em;
  color: #007fa8;
}

body.tb-palette .entry-content ul,
body.tb-palette .entry-content ol {
  padding-left: 1.35em;
}

body.tb-palette .entry-content li {
  margin-bottom: 0.45em;
}

body.tb-palette .entry-content li::marker {
  color: #a06a48;
  font-weight: 700;
}

body.tb-palette .entry-content blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  border: 1px solid #f2e6dc;
  border-radius: 14px;
  background: #faf6f1;
  color: #3d4f5e;
}

body.tb-palette .entry-content table {
  width: 100%;
  margin: 1.6em 0;
  border-collapse: collapse;
  border: 1px solid #cfeaf3;
  border-radius: 14px;
  overflow: hidden;
  font-size: 15px;
}

body.tb-palette .entry-content th,
body.tb-palette .entry-content td {
  padding: 11px 13px;
  border: 1px solid #cfeaf3;
  text-align: left;
  vertical-align: top;
}

body.tb-palette .entry-content thead th,
body.tb-palette .entry-content th {
  background: #e5f9ff;
  color: #0b4760;
  font-weight: 700;
}

body.tb-palette .entry-content tbody tr:nth-child(even) {
  background: #fafcfe;
}

body.tb-palette .entry-content img {
  border-radius: 12px;
}

body.tb-palette .entry-meta,
body.tb-palette .entry-meta * {
  color: #5f7280;
}

body.tb-palette .entry-meta a {
  color: #007fa8;
}

body.tb-palette .cat-links a,
body.tb-palette .tags-links a {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 3px 10px;
  border: 1px solid #cfeaf3;
  border-radius: 999px;
  background: #e5f9ff;
  color: #007fa8;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

body.tb-palette .cat-links a:hover,
body.tb-palette .tags-links a:hover {
  border-color: #a06a48;
  background: #f2e6dc;
  color: #7b4f35;
}

body.tb-palette .ast-separate-container .site-content,
body.tb-palette.ast-separate-container {
  background-color: #f2fcff;
}

body.tb-palette.ast-separate-container .ast-article-single,
body.tb-palette.ast-separate-container .ast-article-post,
body.tb-palette.ast-separate-container .comments-area,
body.tb-palette.ast-separate-container .ast-archive-description {
  border: 1px solid #cfeaf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(34, 56, 74, 0.08);
}

body.tb-palette .wp-block-button__link,
body.tb-palette .ast-button,
body.tb-palette button,
body.tb-palette input[type="submit"] {
  border-radius: 12px;
}

body.tb-palette .wp-block-button__link {
  background: #00bfff;
  color: #082a3a;
}

body.tb-palette .wp-block-button__link:hover {
  background: #a06a48;
  color: #fff;
}

body.tb-palette ::selection {
  background: #dbeaf4;
  color: #082a3a;
}

@media (max-width: 680px) {
  body.tb-palette {
    font-size: 16px;
  }

  body.tb-palette .entry-content {
    font-size: 16px;
  }

  body.tb-palette .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.tb-palette.ast-separate-container .ast-article-single,
  body.tb-palette.ast-separate-container .ast-article-post {
    border-radius: 16px;
  }
}

/* Elementor pages (calculator) follow the same blue/brown palette */
body.tb-palette .elementor-widget-heading .elementor-heading-title {
  color: #0b4760;
}

body.tb-palette .elementor-widget-text-editor {
  color: #234657;
}

body.tb-palette .elementor-button {
  border-radius: 12px;
  background-color: #007fa8;
  color: #fff;
}

body.tb-palette .elementor-button:hover {
  background-color: #a06a48;
  color: #fff;
}

body.tb-palette .tolong-beli-calculator .tbc-btn-primary {
  background: #00bfff;
  color: #082a3a;
}

body.tb-palette .tolong-beli-calculator .tbc-btn-primary:hover {
  background: #a06a48;
}

body.tb-palette .tolong-beli-calculator .tbc-rate-val,
body.tb-palette .tolong-beli-calculator h2,
body.tb-palette .tolong-beli-calculator h3 {
  color: #0b4760;
}

body.tb-palette .tolong-beli-calculator {
  --tbc-teal: #00bfff;
  --tbc-teal-dark: #007fa8;
  --tbc-teal-soft: #e5f9ff;
}

body.tb-palette .tolong-beli-calculator .tbc-add {
  background: #00bfff;
  color: #082a3a;
}

body.tb-palette .tolong-beli-calculator .tbc-add:hover {
  background: #a06a48;
  color: #fff;
}
