.blog-page {
  background: #f7fbfb;
}

.blog-article-page #header {
  background: #004d4d;
  box-shadow: 0 2px 12px rgba(0, 45, 45, .2);
}

.blog-hero {
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  padding: 190px 0 100px;
}

.blog-hero .inner-hero-background::before {
  background: linear-gradient(130deg, rgba(0, 77, 77, .85), rgba(0, 45, 45, .7)), url("../img/doing-business-cover.jpg") center 25%/cover no-repeat;
}

.blog-eyebrow,
.blog-card-date {
  color: #b81c81;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: .9rem;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card,
.blog-message,
.blog-article {
  background: #fff;
  border: 1px solid rgba(0, 77, 77, .12);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 54, 54, .08);
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.blog-card-image-link {
  border-radius: 16px;
  display: block;
  margin: calc(clamp(1.5rem, 4vw, 2.4rem) * -1) calc(clamp(1.5rem, 4vw, 2.4rem) * -1) 1.5rem;
  overflow: hidden;
}

.blog-card-thumbnail {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.blog-card-image-link:hover .blog-card-thumbnail,
.blog-card-image-link:focus-visible .blog-card-thumbnail {
  transform: scale(1.035);
}

.blog-card h2 {
  color: #004d4d;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blog-card-title-link {
  color: inherit;
  text-decoration: none;
}

.blog-card-title-link:hover,
.blog-card-title-link:focus-visible {
  color: #b81c81;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.blog-card p:not(.blog-card-date) {
  color: #526b6b;
  line-height: 1.7;
}

.blog-card-link,
.blog-translation-link {
  align-items: center;
  color: #004d4d;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 800;
  gap: .45rem;
  margin-top: auto;
  text-decoration: none;
}

.blog-card-link:hover,
.blog-card-link:focus-visible,
.blog-translation-link:hover,
.blog-translation-link:focus-visible {
  color: #b81c81;
}

.blog-message {
  color: #004d4d;
  margin: 2rem auto;
  max-width: 760px;
  padding: 2rem;
  text-align: center;
}

.blog-message-error {
  border-color: rgba(184, 28, 129, .35);
}

.blog-article-section {
  padding-top: 170px;
  padding-bottom: 80px;
}

.blog-article-container {
  margin: 0 auto;
  max-width: 1440px;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
  width: 100%;
}

.blog-article {
  background: #fff;
  border: 1px solid rgba(0, 77, 77, .12);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 54, 54, .08);
  margin: 0 auto;
  max-width: 1360px;
  padding: clamp(2rem, 4.5vw, 4.25rem);
  width: 100%;
}

.blog-breadcrumb {
  align-items: center;
  color: #6b8181;
  display: flex;
  flex-wrap: wrap;
  font-size: .88rem;
  gap: .55rem;
  margin-bottom: 1.5rem;
}

.blog-breadcrumb a {
  color: #004d4d;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.blog-breadcrumb a:hover {
  color: #b81c81;
}

.blog-article-meta-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.2rem;
}

.blog-category-tag {
  background: rgba(0, 77, 77, .08);
  border: 1px solid rgba(0, 77, 77, .18);
  border-radius: 20px;
  color: #004d4d;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .28rem .85rem;
  text-transform: uppercase;
}

.blog-date-badge,
.blog-read-time {
  align-items: center;
  color: #657979;
  display: inline-flex;
  font-size: .85rem;
  font-weight: 600;
}

.blog-article h1,
.blog-article-title {
  color: #004d4d;
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.blog-article-meta-bottom {
  align-items: center;
  border-bottom: 1px solid rgba(0, 77, 77, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  padding-bottom: 1.25rem;
}

.blog-author-info {
  align-items: center;
  color: #556c6c;
  display: inline-flex;
  font-size: .92rem;
}

.blog-author-info strong {
  color: #004d4d;
  font-weight: 700;
  margin-left: .25rem;
}

.blog-lang-pill {
  align-items: center;
  background: #f0f7f7;
  border: 1px solid rgba(0, 77, 77, .2);
  border-radius: 20px;
  color: #004d4d;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 700;
  padding: .4rem .95rem;
  text-decoration: none;
  transition: all .2s ease;
}

.blog-lang-pill:hover,
.blog-lang-pill:focus-visible {
  background: #004d4d;
  border-color: #004d4d;
  box-shadow: 0 4px 12px rgba(0, 77, 77, .2);
  color: #fff;
}

.blog-article-content {
  color: #3b4e4e;
  font-size: 1.12rem;
  line-height: 1.85;
}

.blog-article-content p:first-of-type {
  color: #1a3030;
  font-size: 1.22rem;
  font-weight: 450;
  line-height: 1.82;
}

.blog-article-content p {
  margin-bottom: 1.5rem;
}

.blog-article-content h2 {
  color: #004d4d;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 750;
  letter-spacing: -.01em;
  margin: 2.8rem 0 1.2rem;
}

.blog-article-content ul {
  display: grid;
  gap: .9rem;
  list-style: none;
  margin: 1.4rem 0 2.2rem;
  padding-left: 0;
}

.blog-article-content li {
  background: #f8fbfb;
  border: 1px solid rgba(0, 77, 77, .1);
  border-left: 3.5px solid #004d4d;
  border-radius: 10px;
  color: #3b4e4e;
  font-size: 1.05rem;
  line-height: 1.75;
  padding: 1.05rem 1.4rem 1.05rem 2.5rem;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.blog-article-content li:hover {
  border-color: rgba(0, 77, 77, .25);
  border-left-color: #b81c81;
  box-shadow: 0 4px 16px rgba(0, 50, 50, .05);
}

.blog-article-content li::before {
  background: #b81c81;
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 1.05rem;
  position: absolute;
  top: 1.6rem;
  width: 7px;
}

.blog-article-content li strong {
  color: #004d4d;
  font-weight: 750;
  margin-right: .35rem;
}

.blog-documents {
  border-top: 1px solid rgba(0, 77, 77, .15);
  margin-top: 2.75rem;
  padding-top: 2.25rem;
}

.blog-documents-header {
  margin-bottom: 1.4rem;
}

.blog-documents-eyebrow {
  color: #b81c81;
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.blog-documents h2,
.blog-documents-title {
  color: #004d4d;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5rem;
}

.blog-documents-sub {
  color: #657979;
  font-size: .96rem;
  line-height: 1.6;
  margin: 0;
}

.blog-pdf-tabs-wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 1.6rem 0 1.25rem;
}

.blog-pdf-tabs-label {
  color: #004d4d;
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-pdf-tabs {
  background: #f0f7f7;
  border: 1px solid rgba(0, 77, 77, .16);
  border-radius: 14px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .35rem;
}

.blog-pdf-tab {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #3b5252;
  cursor: pointer;
  display: inline-flex;
  font-size: .88rem;
  font-weight: 650;
  gap: .5rem;
  padding: .5rem 1rem;
  transition: all .2s ease;
}

.blog-pdf-tab:hover {
  background: rgba(0, 77, 77, .08);
  color: #004d4d;
}

.blog-pdf-tab.is-active {
  background: #004d4d;
  box-shadow: 0 4px 12px rgba(0, 77, 77, .25);
  color: #fff;
}

.blog-pdf-tab-num {
  align-items: center;
  background: rgba(0, 77, 77, .12);
  border-radius: 6px;
  color: #004d4d;
  display: inline-flex;
  font-size: .75rem;
  font-weight: 800;
  height: 20px;
  justify-content: center;
  width: 22px;
}

.blog-pdf-tab.is-active .blog-pdf-tab-num {
  background: #b81c81;
  color: #fff;
}

.blog-document-panel {
  display: none;
}

.blog-document-panel.is-active {
  display: block;
}

.blog-document {
  margin-top: 1.25rem;
}

.blog-pdf-viewer {
  background: #101c1e;
  border: 1px solid rgba(0, 77, 77, .35);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 40, 40, .2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: box-shadow .3s ease;
}

.blog-pdf-viewer:hover {
  box-shadow: 0 24px 60px rgba(0, 40, 40, .28);
}

.blog-pdf-viewer.is-fullscreen {
  border-radius: 0;
  border: none;
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100vw !important;
}

.blog-pdf-toolbar {
  align-items: center;
  background: linear-gradient(180deg, #004d4d 0%, #003838 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: space-between;
  padding: .65rem 1rem;
  z-index: 5;
}

.blog-pdf-toolbar-left,
.blog-pdf-toolbar-right {
  align-items: center;
  display: flex;
  gap: .4rem;
}

.blog-pdf-page-pill {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .3rem .85rem;
  white-space: nowrap;
}

.blog-pdf-doc-badge {
  background: rgba(121, 194, 196, .2);
  border: 1px solid rgba(121, 194, 196, .35);
  border-radius: 20px;
  color: #79c2c4;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .25rem .8rem;
  text-transform: uppercase;
}

.blog-pdf-button {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: .88rem;
  font-weight: 600;
  gap: .35rem;
  height: 36px;
  justify-content: center;
  min-width: 36px;
  padding: 0 .55rem;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
}

.blog-pdf-button:hover:not(:disabled),
.blog-pdf-button:focus-visible:not(:disabled) {
  background: #b81c81;
  border-color: #b81c81;
  color: #fff;
  transform: translateY(-1px);
}

.blog-pdf-button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.blog-pdf-progress-track {
  background: rgba(255, 255, 255, .06);
  height: 3px;
  width: 100%;
}

.blog-pdf-progress-bar {
  background: linear-gradient(90deg, #79c2c4, #cf1db4);
  height: 100%;
  transition: width .25s ease;
}

.blog-pdf-stage {
  align-items: center;
  background: radial-gradient(circle at center, #1e2c30 0%, #10181b 100%);
  display: flex;
  height: clamp(620px, 82vh, 920px);
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.blog-pdf-viewer.is-fullscreen .blog-pdf-stage {
  height: calc(100vh - 54px - 3px - 32px);
}

.blog-pdf-canvas-wrap {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: auto;
  padding: 1.5rem;
  scrollbar-color: rgba(255, 255, 255, .2) transparent;
  scrollbar-width: thin;
  width: 100%;
}

.blog-pdf-canvas-wrap canvas {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55), 0 2px 10px rgba(0, 0, 0, .35);
  display: block;
  max-width: none;
  transition: opacity .15s ease-out;
}

.blog-pdf-side-arrow {
  align-items: center;
  backdrop-filter: blur(6px);
  background: rgba(0, 50, 50, .65);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.35rem;
  height: 52px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  width: 52px;
  z-index: 10;
}

.blog-pdf-side-arrow:hover {
  background: #b81c81;
  border-color: #b81c81;
  box-shadow: 0 8px 24px rgba(184, 28, 129, .4);
  color: #fff;
  transform: translateY(-50%) scale(1.12);
}

.blog-pdf-side-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.blog-pdf-side-prev {
  left: 18px;
}

.blog-pdf-side-next {
  right: 18px;
}

.blog-pdf-footer-hint {
  align-items: center;
  background: #091113;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .6);
  display: flex;
  font-size: .78rem;
  justify-content: center;
  padding: .45rem 1rem;
}

.blog-pdf-footer-hint strong {
  color: #79c2c4;
}

.blog-pdf-error {
  color: #ff85a1;
  margin: 0;
  padding: 1rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .blog-hero {
    min-height: 390px;
    padding: 150px 0 70px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-section {
    padding-top: 130px;
  }

  .blog-pdf-toolbar {
    justify-content: center;
  }

  .blog-pdf-stage {
    height: 540px;
  }

  .blog-pdf-side-arrow {
    font-size: 1.1rem;
    height: 40px;
    width: 40px;
  }

  .blog-pdf-side-prev {
    left: 8px;
  }

  .blog-pdf-side-next {
    right: 8px;
  }

  .blog-pdf-canvas-wrap {
    padding: .75rem;
  }
}

.blog-pdf-canvas-wrap [hidden], .blog-pdf-loading[hidden], .blog-pdf-retry[hidden] { display: none; }
.blog-pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  background: rgba(16, 24, 27, .8);
  color: #fff;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  padding: 1rem;
}
.blog-pdf-loading progress { width: min(280px, 80%); height: 12px; accent-color: #79c2c4; }
.blog-pdf-spinner { width: 36px; height: 36px; border: 3px solid rgba(255,255,255,.2); border-top-color: #79c2c4; border-radius: 50%; animation: blog-pdf-spin .8s linear infinite; }
.blog-pdf-retry { margin: .75rem; }
@keyframes blog-pdf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .blog-pdf-spinner { animation: none; } }
