.blog-page,
.blog-detail-page {
  background: #f7fafc;
  color: #162033;
  font-family: inherit;
  overflow-x: clip;
}

body.blog-page .body_wrapper,
body.blog-detail-page .body_wrapper {
  overflow: visible;
}

.blog-hero {
  position: relative;
  padding: 148px 0 76px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(240, 253, 250, 0.95)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.1), rgba(37, 99, 235, 0.07));
  border-bottom: 1px solid #dfe8f3;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 118, 110, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 78%);
  pointer-events: none;
}

.blog-hero__inner,
.blog-shell,
.blog-detail__shell,
.blog-cta,
.blog-related {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 360px;
  gap: 36px;
  align-items: center;
}

body.blog-page .blog-hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

body.blog-page .blog-hero__inner > div:first-child {
  max-width: 920px;
}

.blog-kicker,
.blog-card__category,
.blog-detail__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid #b9e8df;
  border-radius: 999px;
  background: #fff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.blog-kicker,
.blog-detail__kicker {
  margin-bottom: 18px;
  padding: 9px 13px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.blog-hero h1,
.blog-detail__hero h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  color: #0f172a;
}

.blog-hero p,
.blog-detail__hero p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
}

.blog-actions,
.blog-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  padding: 17px 26px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.blog-btn--primary {
  background: #0f766e;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.24);
}

.blog-btn--secondary {
  background: #fff;
  color: #0f172a !important;
  border: 1px solid #d4dee9;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.blog-btn:hover {
  transform: translateY(-2px);
}

.blog-hero__panel {
  background: #fff;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

.blog-proof {
  display: grid;
  gap: 14px;
}

.blog-proof__item {
  padding: 16px;
  border-radius: 8px;
  background: #f8fbfd;
  border: 1px solid #e2edf6;
}

.blog-proof__item strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: #0f766e;
}

.blog-proof__item span {
  display: block;
  margin-top: 6px;
  color: #526276;
  font-size: 14px;
  line-height: 1.45;
}

.blog-shell {
  padding-top: 64px;
  padding-bottom: 74px;
}

.blog-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  align-items: end;
}

.blog-section-heading h2,
.blog-cta h2,
.blog-related h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.blog-section-heading p,
.blog-cta p {
  margin: 0;
  max-width: 760px;
  color: #5b6b80;
  font-size: 16px;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #b9e8df;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.11);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8f2f5;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.blog-card__category {
  padding: 7px 11px;
  margin-bottom: 16px;
}

.blog-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: 0;
}

.blog-card h3 a {
  color: #0f172a !important;
  text-decoration: none !important;
}

.blog-card h3 a:hover {
  color: #0f766e !important;
}

.blog-card p {
  margin: 0 0 22px;
  color: #5b6b80;
  font-size: 15px;
  line-height: 1.65;
}

.blog-card__footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}

.blog-card__read {
  color: #0f766e !important;
  font-weight: 800;
  text-decoration: none !important;
}

.blog-card__meta {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.blog-cta {
  margin-top: 10px;
  margin-bottom: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.15);
}

.blog-cta h2,
.blog-cta p {
  color: #fff;
}

.blog-cta p {
  color: #d5e1ed;
}

.blog-detail__hero {
  position: relative;
  padding: 142px 0 66px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(240, 253, 250, 0.95)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.1), rgba(37, 99, 235, 0.07));
  border-bottom: 1px solid #dfe8f3;
}

.blog-detail__hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.blog-breadcrumb a {
  color: #0f766e !important;
  text-decoration: none !important;
}

.blog-detail__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 76px;
  align-items: start;
}

.blog-article {
  background: #fff;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.blog-article__image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.blog-article__content {
  padding: 34px;
}

.blog-article__content h2 {
  margin: 34px 0 14px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.blog-article__content h2:first-child {
  margin-top: 0;
}

.blog-article__content p,
.blog-article__content li {
  color: #48576b;
  font-size: 16px;
  line-height: 1.78;
}

.blog-article__content ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.blog-article__quote {
  margin: 30px 0;
  padding: 22px;
  border-left: 4px solid #0f766e;
  background: #f6fbfa;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 700;
}

.blog-sidebar {
  display: grid;
  gap: 20px;
}

.blog-sidebar__panel {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce7f2;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.blog-sidebar__panel h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
}

.blog-sidebar__panel p {
  margin: 0 0 18px;
  color: #45566d;
  line-height: 1.65;
}

.blog-sidebar__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-sidebar__list a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 15px;
  color: #0f172a !important;
  background: #f8fbfd;
  border: 1px solid #e2edf6;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.blog-sidebar__list a:hover {
  background: #eefaf7;
  border-color: #b9e8df;
  color: #0f766e !important;
  transform: translateY(-1px);
}

.blog-sidebar__list a i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #0f766e;
}

.blog-sidebar__panel > a.blog-card__read {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  padding: 13px 15px;
  color: #0f172a !important;
  background: #f8fbfd;
  border: 1px solid #e2edf6;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none !important;
  word-break: break-word;
}

.blog-sidebar__panel > a.blog-card__read:hover {
  color: #0f766e !important;
  background: #eefaf7;
  border-color: #b9e8df;
}

.blog-sidebar__panel > a.blog-card__read i {
  flex: 0 0 auto;
  width: 20px;
  color: #0f766e;
  text-align: center;
}

.blog-related {
  padding-bottom: 76px;
}

.blog-detail__hero--article {
  padding-bottom: 54px;
}

.blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #506174;
  font-size: 14px;
  font-weight: 700;
}

.blog-detail__meta span {
  padding: 8px 12px;
  border: 1px solid #dbe7f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.blog-article__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

.blog-toc,
.blog-note,
.blog-sources {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
  background: #f8fbfd;
}

.blog-note {
  border-left: 4px solid #0f766e;
  color: #25364b;
}

.blog-toc strong {
  display: block;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 18px;
}

.blog-toc ol,
.blog-sources ul,
.blog-link-columns ul {
  margin: 0;
  padding-left: 20px;
}

.blog-toc a,
.blog-sources a,
.blog-link-columns a {
  color: #0f766e;
  font-weight: 800;
  text-decoration: none;
}

.blog-toc a:hover,
.blog-sources a:hover,
.blog-link-columns a:hover {
  color: #0f172a;
}

.blog-table-wrap {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
}

.blog-table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.blog-table th,
.blog-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #e6eef5;
  color: #25364b;
  vertical-align: top;
}

.blog-table th {
  color: #0f172a;
  background: #eefaf7;
  font-weight: 900;
}

.blog-link-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.blog-link-columns > div {
  padding: 20px;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
  background: #fff;
}

.blog-faq {
  margin: 38px 0 26px;
  padding: 26px;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
  background: #f8fbfd;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.blog-faq h2 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.blog-faq details {
  margin: 12px 0;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
  background: #fff;
}

.blog-faq summary {
  min-height: 52px;
  padding: 15px 18px;
  color: #0f172a;
  font-weight: 900;
  cursor: pointer;
  line-height: 1.45;
}

.blog-faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: #526276;
  line-height: 1.7;
}

.blog-cta--inside {
  margin: 38px 0 18px;
  background: #fff;
  border: 1px solid #dbe7f0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.blog-cta--inside h2 {
  color: #0f172a;
}

.blog-cta--inside p {
  color: #526276;
}

.blog-service-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  margin: 38px 0 28px;
  padding: 30px;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fbfd 55%, #eefaf7 100%);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.blog-service-focus__content {
  min-width: 0;
}

.blog-service-focus__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid #bfe5dc;
  border-radius: 999px;
  background: #eefaf7;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-service-focus h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.blog-service-focus p {
  margin: 0 0 14px;
  color: #526276;
  font-size: 16px;
  line-height: 1.75;
}

.blog-service-focus ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.blog-service-focus li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 54px;
  padding: 12px;
  border: 1px solid #e1ebf4;
  border-radius: 8px;
  background: #fff;
  color: #25364b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.blog-service-focus li i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #0f766e;
}

.blog-service-focus__cta {
  align-self: start;
  padding: 24px;
  border: 1px solid #bfe5dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.1);
}

.blog-service-focus__cta h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.blog-service-focus__cta .blog-btn {
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  padding-right: 18px;
  padding-left: 18px;
}

.blog-service-focus__cta .blog-btn--secondary:hover {
  color: #0f172a !important;
  background: #f8fbfd;
}

.blog-category-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 0 0 42px;
  padding: 22px;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.blog-category-panel__kicker {
  display: inline-flex;
  margin-bottom: 7px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-category-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.2;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid #b9d8e7;
  border-radius: 999px;
  background: #f8fbfd;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
}

.blog-filter:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #eefaf7;
}

.blog-filter.is-active {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.blog-card[hidden] {
  display: none !important;
}

.blog-grid--featured {
  margin-bottom: 8px;
}

body.blog-page .blog-whatsapp-float,
body.blog-detail-page .blog-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.blog-page .blog-whatsapp-float:hover,
body.blog-page .blog-whatsapp-float:focus,
body.blog-detail-page .blog-whatsapp-float:hover,
body.blog-detail-page .blog-whatsapp-float:focus {
  transform: translateY(-2px) scale(1.04);
  background: #1fbd5a;
  color: #fff !important;
  box-shadow: 0 22px 46px rgba(37, 211, 102, 0.45);
}

body.blog-page .blog-whatsapp-float svg,
body.blog-detail-page .blog-whatsapp-float svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: currentColor;
}

@media (max-width: 991px) {
  .blog-hero__inner,
  .blog-detail__shell {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-service-focus {
    grid-template-columns: 1fr;
  }

  .blog-category-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-categories {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .blog-hero,
  .blog-detail__hero {
    padding-top: 104px;
    padding-bottom: 44px;
  }

  .blog-hero h1,
  .blog-detail__hero h1 {
    font-size: 34px;
  }

  .blog-hero p,
  .blog-detail__hero p {
    font-size: 16px;
  }

  .blog-hero__inner {
    gap: 22px;
  }

  .blog-actions,
  .blog-detail__actions {
    margin-top: 22px;
  }

  .blog-hero__panel {
    padding: 16px;
  }

  .blog-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .blog-proof__item {
    padding: 11px 8px;
  }

  .blog-proof__item strong {
    font-size: 22px;
  }

  .blog-proof__item span {
    font-size: 12px;
    line-height: 1.35;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article__content {
    padding: 24px;
  }

  .blog-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-category-panel {
    margin-bottom: 32px;
    padding: 18px;
  }

  .blog-category-panel h2 {
    font-size: 22px;
  }

  .blog-categories {
    flex-wrap: nowrap;
    margin: 0 -18px;
    padding: 0 18px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .blog-filter {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .blog-link-columns {
    grid-template-columns: 1fr;
  }

  .blog-service-focus {
    gap: 18px;
    padding: 20px;
  }

  .blog-service-focus h2 {
    font-size: 25px;
  }

  .blog-service-focus ul {
    grid-template-columns: 1fr;
  }

  .blog-service-focus__cta {
    padding: 20px;
  }

  .blog-faq {
    padding: 18px;
  }

  .blog-faq h2 {
    font-size: 24px;
  }

  .blog-toc,
  .blog-note,
  .blog-sources {
    padding: 18px;
  }

  body.blog-page .blog-whatsapp-float,
  body.blog-detail-page .blog-whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  body.blog-page .blog-whatsapp-float svg,
  body.blog-detail-page .blog-whatsapp-float svg {
    width: 31px;
    height: 31px;
  }
}
