:root {
  --hebt-primary: #210029;
  --hebt-accent: #008ba3;
  --hebt-text: #210029;
  --hebt-muted: #756f7c;
  --hebt-border: #e9e6ec;
  --hebt-surface: #ffffff;
  --hebt-soft: #f6f4f8;
}

.hebt-blog-page,
.hebt-single-page {
  color: var(--hebt-text);
  background: var(--hebt-surface);
  max-width:100% !important;
}

.hebt-blog-page *,
.hebt-single-page * {
  box-sizing: border-box;
}

.hebt-container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.hebt-hero {
  width: 100%;
  color: #ffffff;
  /*background: var(--hebt-primary);*/
      background-color: transparent;
    background-image: radial-gradient(at top right, var( --e-global-color-primary ) 18%, var( --e-global-color-secondary ) 76%);
}

.hebt-archive-hero {
  padding: clamp(58px, 8vw, 100px) 0 clamp(50px, 7vw, 84px);
}

.hebt-hero-inner {
  max-width: 1200px;
}

.hebt-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 22px;
  padding: 6px 13px;
  color: #5ed4e2;
  border: 1px solid rgba(65, 207, 225, 0.68);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

a.hebt-eyebrow:hover,
a.hebt-eyebrow:focus {
  color: #ffffff;
  border-color: #ffffff;
}

.hebt-hero-title,
.hebt-single-title {
  margin: 0;
  font-size: 52px;
    font-weight: 600 !important;
    line-height: 1.08em;
    letter-spacing: -0.02em;
    color: #FFFFFF !important;
}

.hebt-hero-description {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}

.hebt-archive-content {
  padding-top: 42px;
  padding-bottom: 90px;
}

.hebt-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 38px;
}

.hebt-filter-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 17px;
  color: #625a68;
  background: #ffffff;
  border: 1px solid var(--hebt-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hebt-filter-pill:hover,
.hebt-filter-pill:focus-visible {
  color: var(--hebt-primary);
  border-color: var(--hebt-primary);
  transform: translateY(-1px);
}

.hebt-filter-pill.is-active {
  color: #ffffff;
  background: var(--hebt-primary);
  border-color: var(--hebt-primary);
}

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

.hebt-post-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--hebt-border);
  border-radius: 18px;
  box-shadow: 0 5px 24px rgba(33, 0, 41, 0.035);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hebt-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(33, 0, 41, 0.09);
}

.hebt-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f2f0f6;
}

.hebt-card-media img,
.hebt-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.hebt-card-media img {
  object-fit: cover;
  transition: transform 260ms ease;
}

.hebt-post-card:hover .hebt-card-media img {
  transform: scale(1.035);
}

.hebt-card-placeholder {
  background-color: #f4f3f8;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(33, 0, 41, 0.035) 0,
    rgba(33, 0, 41, 0.035) 5px,
    transparent 5px,
    transparent 13px
  );
}

.hebt-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 22px 22px;
}

.hebt-card-category {
  margin-bottom: 14px;
  color: #1765bd;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
}

.hebt-card-category:hover,
.hebt-card-category:focus {
  color: var(--hebt-accent);
}

.hebt-card-title {
  margin: 0 0 15px;
  color: var(--hebt-text);
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hebt-card-title a {
  color: inherit;
  text-decoration: none;
}

.hebt-card-title a:hover,
.hebt-card-title a:focus {
  color: var(--hebt-accent);
}

.hebt-card-meta {
  margin: 0 0 24px;
  color: var(--hebt-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hebt-read-more {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-top: auto;
  color: #1765bd;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.hebt-read-more span {
  font-size: 17px;
  line-height: 1;
  transition: transform 150ms ease;
}

.hebt-read-more:hover,
.hebt-read-more:focus {
  color: var(--hebt-accent);
}

.hebt-read-more:hover span,
.hebt-read-more:focus span {
  transform: translateX(3px);
}

.hebt-no-posts {
  padding: 64px 24px;
  text-align: center;
  background: var(--hebt-soft);
  border-radius: 18px;
}

.hebt-no-posts h2 {
  margin: 0 0 8px;
}

.hebt-no-posts p {
  margin: 0;
  color: var(--hebt-muted);
}

.hebt-archive-content .navigation.pagination {
  margin-top: 50px;
}

.hebt-archive-content .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hebt-archive-content .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--hebt-text);
  background: #ffffff;
  border: 1px solid var(--hebt-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.hebt-archive-content .page-numbers.current,
.hebt-archive-content a.page-numbers:hover,
.hebt-archive-content a.page-numbers:focus {
  color: #ffffff;
  background: var(--hebt-primary);
  border-color: var(--hebt-primary);
}

/* Single post */
.hebt-single-hero {
  padding: clamp(64px, 9vw, 116px) 0 clamp(62px, 8vw, 104px);
  text-align: center;
}

.hebt-single-hero-inner {
  max-width: 960px;
}

.hebt-single-title {
  max-width: 1040px;
  margin-inline: auto;
}

.hebt-single-meta {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.hebt-single-shell {
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: 90px;
}

.hebt-single-featured-image {
  width: min(100%, 1040px);
  margin: 0 auto clamp(42px, 6vw, 72px);
}

.hebt-single-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: cover;
  border-radius: 20px;
}

.hebt-single-content {
  width: min(100%, 1040px);
  margin-inline: auto;
  color: #332d37;
  font-size: 16px;
  line-height: 1.82;
}

.hebt-single-content > *:first-child {
  margin-top: 0;
}

.hebt-single-content > *:last-child {
  margin-bottom: 0;
}

.hebt-single-content h2,
.hebt-single-content h3,
.hebt-single-content h4 {
  color: var(--hebt-text);
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hebt-single-content h2 {
  margin: 2.2em 0 0.65em;
  font-size: clamp(28px, 3vw, 40px);
}

.hebt-single-content h3 {
  margin: 1.9em 0 0.6em;
  font-size: clamp(23px, 2.4vw, 31px);
}

.hebt-single-content p,
.hebt-single-content ul,
.hebt-single-content ol,
.hebt-single-content blockquote {
  margin-top: 0;
  margin-bottom: 1.4em;
}

.hebt-single-content a {
  color: #1765bd;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hebt-single-content a:hover,
.hebt-single-content a:focus {
  color: var(--hebt-accent);
}

.hebt-single-content img,
.hebt-single-content .wp-block-image img {
  height: auto;
  border-radius: 14px;
}

.hebt-single-content blockquote {
  padding: 22px 26px;
  color: var(--hebt-text);
  background: var(--hebt-soft);
  border-left: 4px solid var(--hebt-accent);
  border-radius: 0 12px 12px 0;
}

.hebt-single-content pre,
.hebt-single-content table {
  max-width: 100%;
  overflow-x: auto;
}

.hebt-single-content table {
  width: 100%;
  border-collapse: collapse;
}

.hebt-single-content th,
.hebt-single-content td {
  padding: 10px 12px;
  border: 1px solid var(--hebt-border);
  text-align: left;
}

.hebt-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--hebt-border);
  font-size: 14px;
}

.hebt-post-tags span {
  font-weight: 750;
}

.hebt-post-tags a {
  display: inline-flex;
  padding: 5px 10px;
  background: var(--hebt-soft);
  border-radius: 999px;
  text-decoration: none;
}

.hebt-back-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 34px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.hebt-back-link span {
  font-size: 22px;
}

.hebt-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1040px);
  margin: 70px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--hebt-border);
}

.hebt-post-navigation > div:last-child {
  text-align: right;
}

.hebt-post-navigation a {
  color: var(--hebt-text);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.35;
  text-decoration: none;
}

.hebt-post-navigation a:hover,
.hebt-post-navigation a:focus {
  color: var(--hebt-accent);
}

.hebt-nav-label {
  display: block;
  margin-bottom: 7px;
  color: var(--hebt-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hebt-single-shell .comments-area {
  width: min(100%, 780px);
  margin: 70px auto 0;
}

@media (max-width: 1024px) {
  .hebt-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
    
    .hebt-hero-title, .hebt-single-title
    {
        font-size: 34px;
    }
  .hebt-container {
    width: min(100% - 30px, 1400px);
  }

  .hebt-archive-hero {
    padding-block: 52px;
  }

  .hebt-category-filter {
    flex-wrap: nowrap;
    margin-inline: -15px;
    padding: 0 15px 7px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .hebt-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hebt-card-body {
    padding: 21px 18px 19px;
  }

  .hebt-post-navigation {
    grid-template-columns: 1fr;
  }

  .hebt-post-navigation > div:last-child {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hebt-post-grid {
    grid-template-columns: 1fr;
  }

  .hebt-card-title {
    font-size: 21px;
  }

  .hebt-single-featured-image img {
    border-radius: 14px;
  }
}
