:root {
  --primary: #0C2F36;
  --primary-2: #0F3A43;
  --accent: #C9A227;
  --muted: #5C6B70;
  --bg: #F7F3EA;
  --card: #FFFDF7;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --brand-ink: #0A272D;
  --brand-teal: #0F3A43;
  --brand-teal-soft: #EFE8D8;
  --brand-gold: #C9A227;
  --brand-gold-soft: #F6EED8;
  --brand-paper: #FFFDF7;
  --brand-line: #E4DCC8;
  --brand-text: #1A2A2F;
  --brand-muted: #5C6B70;
  --shadow-soft: 0 0 0 1px #E4DCC8;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--brand-text) !important;
  background: #F7F3EA !important;
  text-rendering: optimizeLegibility;
}

a {
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
}

.navbar,
body > nav {
  background: #0C2F36 !important;
  box-shadow: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

body > nav {
  padding-inline: clamp(1rem, 4vw, 2.5rem) !important;
}

.navbar-brand img,
.nav-logo img {
  object-fit: contain;
}

.nav-link,
.nav-links a {
  letter-spacing: 0.01em;
}

.btn-appointment,
.nav-cta,
.btn-gold,
.btn-outline,
.btn-wa,
.read-more,
.cta-box a {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-appointment:hover,
.nav-cta:hover,
.btn-gold:hover,
.btn-outline:hover,
.btn-wa:hover,
.cta-box a:hover,
.read-more:hover {
  transform: translateY(-1px);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.75rem, 6vw, 4.25rem) !important;
  background:
    linear-gradient(135deg, rgba(10, 39, 45, 0.97), rgba(15, 58, 67, 0.96)),
    radial-gradient(circle at 78% 20%, rgba(212, 175, 55, 0.24), transparent 20rem) !important;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75), transparent);
}

.blog-hero .container {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.blog-hero h1,
h1 {
  letter-spacing: 0 !important;
}

.blog-hero h1 {
  max-width: 880px;
  margin-inline: auto;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.12 !important;
}

.blog-hero p,
.blog-meta {
  max-width: 760px;
  margin-inline: auto;
}

.breadcrumb {
  justify-content: center;
  font-size: 0.9rem;
}

.blog-body {
  width: min(100%, 880px) !important;
  margin: 0 auto !important;
  padding: clamp(2.25rem, 5vw, 4.25rem) clamp(1rem, 3vw, 1.75rem) !important;
}

.blog-body > p:first-child {
  font-size: clamp(1.08rem, 2vw, 1.18rem);
  color: #344954;
}

.blog-body h2 {
  margin-top: clamp(2.5rem, 5vw, 3.5rem) !important;
  padding-left: 1rem !important;
  border-left-color: var(--brand-gold) !important;
  color: var(--brand-teal) !important;
  line-height: 1.25 !important;
}

.blog-body h2:first-child {
  margin-top: 0 !important;
}

.blog-body h3 {
  color: var(--brand-ink) !important;
}

.blog-body p,
.blog-body li {
  line-height: 1.85 !important;
}

.blog-body table {
  margin-bottom: 0;
}

.tip-box,
.warning-box,
.info-box,
.faq-item,
.checklist-item,
.review-card,
.comparison-table,
.table-wrap,
.sidebar-card,
.author-box {
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px #E4DCC8 !important;
}

.tip-box,
.info-box {
  background: linear-gradient(180deg, #f3fbf6, #ffffff) !important;
}

.warning-box {
  background: linear-gradient(180deg, #fff8e5, #ffffff) !important;
}

.faq-item,
.checklist-item,
.review-card {
  background: #ffffff !important;
  border: 1px solid var(--brand-line) !important;
}

.cta-box {
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, rgba(10, 39, 45, 0.98), rgba(15, 58, 67, 0.98)),
    radial-gradient(circle at 80% 15%, rgba(212, 175, 55, 0.24), transparent 16rem) !important;
  box-shadow: var(--shadow-soft);
}

.btn-gold,
.nav-cta,
.btn-appointment {
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.22);
}

.blog-card {
  min-height: 100%;
  border: 1px solid rgba(232, 237, 240, 0.95);
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px #E4DCC8 !important;
}

.blog-card:hover {
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.45) !important;
}

.blog-card-icon {
  min-height: 138px;
  background:
    linear-gradient(135deg, rgba(10, 39, 45, 0.97), rgba(15, 58, 67, 0.95)),
    radial-gradient(circle at 70% 10%, rgba(212, 175, 55, 0.24), transparent 10rem) !important;
}

.blog-card-body {
  min-height: 300px;
  padding: 1.4rem !important;
}

.blog-card-category {
  color: #a98218 !important;
}

.blog-card h2 {
  min-height: 4.2rem;
  color: var(--brand-teal) !important;
}

.blog-card p {
  color: #53636b !important;
}

.read-more {
  align-self: flex-start;
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
}

.footer,
footer {
  background: #0A272D !important;
}

.whatsapp-float {
  width: 58px !important;
  height: 58px !important;
  right: clamp(16px, 3vw, 24px) !important;
  bottom: clamp(16px, 3vw, 28px) !important;
}

.hero-image-block {
  background:
    linear-gradient(135deg, rgba(10, 39, 45, 0.98), rgba(15, 58, 67, 0.97)),
    radial-gradient(circle at 75% 20%, rgba(212, 175, 55, 0.18), transparent 22rem) !important;
}

.hero-image-block img {
  width: 100%;
  max-height: 380px !important;
  object-fit: cover;
}

.image-placeholder {
  border: 0 !important;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(10, 39, 45, 0.98), rgba(15, 58, 67, 0.97)),
    radial-gradient(circle at 75% 20%, rgba(212, 175, 55, 0.18), transparent 22rem) !important;
}

.page-wrap {
  width: min(100%, 1160px) !important;
  margin: clamp(2rem, 5vw, 4rem) auto clamp(3rem, 6vw, 5rem) !important;
  padding-inline: clamp(1rem, 3vw, 1.5rem) !important;
  gap: clamp(2rem, 5vw, 3.5rem) !important;
}

.page-wrap article,
.blog-body {
  overflow-wrap: anywhere;
}

.page-wrap article {
  max-width: 780px;
}

.page-wrap h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.16 !important;
  color: var(--brand-ink) !important;
}

.article-intro {
  color: #43545d !important;
}

.page-wrap h2 {
  color: var(--brand-teal) !important;
  border-left-color: var(--brand-gold) !important;
}

.sidebar {
  top: 88px !important;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(10px);
}

.sidebar-card h4 {
  color: var(--brand-ink) !important;
}

@media (min-width: 992px) {
  .blog-body {
    background: rgba(255, 255, 255, 0.64);
  }

  .blog-card-body {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto auto;
  }
}

@media (max-width: 991.98px) {
  .page-wrap {
    grid-template-columns: 1fr !important;
  }

  .page-wrap article {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    text-align: center;
  }

  .blog-body {
    padding-inline: 1rem !important;
  }

  .blog-card h2 {
    min-height: auto;
  }

  .blog-card-body {
    min-height: auto;
  }

  .footer,
  footer {
    padding-bottom: 5rem !important;
  }
}


/* ===== Assayer's Counter appendix ===== */
body { font-family: var(--sans) !important; }
h1, h2, h3, h4, .navbar-brand { font-family: var(--serif) !important; }
.num, .mono { font-family: var(--mono); font-feature-settings: "tnum"; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
