:root {
  --brand-ink: #10242a;
  --brand-teal: #1d5c6d;
  --brand-teal-soft: #e8f3f5;
  --brand-gold: #d4af37;
  --brand-gold-soft: #fff8e5;
  --brand-paper: #fffdfa;
  --brand-line: #e8edf0;
  --brand-text: #20313a;
  --brand-muted: #65727a;
  --shadow-soft: 0 18px 45px rgba(16, 36, 42, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--brand-text) !important;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.11), transparent 32rem),
    linear-gradient(180deg, #fbfbfc 0%, #f6f8f9 42%, #fffdfa 100%) !important;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
}

.navbar,
body > nav {
  background: linear-gradient(135deg, #10242a 0%, #1d5c6d 70%, #256f7e 100%) !important;
  box-shadow: 0 10px 28px rgba(16, 36, 42, 0.18);
}

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(16, 36, 42, 0.96), rgba(29, 92, 109, 0.95)),
    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 10px 30px rgba(16, 36, 42, 0.07) !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(16, 36, 42, 0.98), rgba(29, 92, 109, 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 14px 38px rgba(16, 36, 42, 0.08) !important;
}

.blog-card:hover {
  box-shadow: 0 22px 48px rgba(16, 36, 42, 0.13) !important;
}

.blog-card-icon {
  min-height: 138px;
  background:
    linear-gradient(135deg, rgba(16, 36, 42, 0.96), rgba(29, 92, 109, 0.94)),
    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: linear-gradient(180deg, #10242a, #173f49 58%, #1d5c6d) !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(16, 36, 42, 0.98), rgba(29, 92, 109, 0.96)),
    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(16, 36, 42, 0.98), rgba(29, 92, 109, 0.96)),
    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;
  }
}
