:root {
  --asx-blog-ink: #17211c;
  --asx-blog-muted: #5d6963;
  --asx-blog-line: #dce4df;
  --asx-blog-bg: #f7faf8;
  --asx-blog-paper: #ffffff;
  --asx-blog-accent: #0f6b55;
  --asx-blog-accent-dark: #0a4c3d;
  --asx-blog-warm: #b88a44;
  --asx-blog-shadow: 0 18px 48px rgba(25, 39, 33, 0.12);
}

.asx-blog {
  color: var(--asx-blog-ink);
  background-color: #f7f7f4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    url("../img/asuxia-visual-fixed-bg.png");
  background-attachment: scroll, fixed;
  background-position: center, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, cover;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.asx-blog *,
.asx-blog *::before,
.asx-blog *::after {
  box-sizing: border-box;
}

.asx-blog a {
  color: inherit;
  text-decoration: none;
}

.asx-blog-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.asx-blog-eyebrow {
  margin: 0 0 10px;
  color: var(--asx-blog-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.asx-blog-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.98) 0%, rgba(247, 250, 248, 0.9) 46%, rgba(247, 250, 248, 0.45) 100%),
    url("/img/mainvisual__bg.webp") center / cover no-repeat;
}

.asx-blog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: center;
  padding: 72px 0 92px;
}

.asx-blog-hero__title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.85rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.asx-blog-hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--asx-blog-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.asx-blog-hero__actions,
.asx-blog-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.asx-blog-hero__actions {
  margin-top: 32px;
}

.asx-blog-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--asx-blog-line);
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.asx-blog-button:hover,
.asx-blog-button:focus-visible {
  transform: translateY(-1px);
}

.asx-blog-button--primary {
  border-color: var(--asx-blog-accent);
  background: var(--asx-blog-accent);
  color: #fff;
}

.asx-blog-button--primary:hover,
.asx-blog-button--primary:focus-visible {
  background: var(--asx-blog-accent-dark);
  border-color: var(--asx-blog-accent-dark);
  color: #fff;
}

.asx-blog-button--ghost {
  background: rgba(255, 255, 255, 0.78);
}

.asx-blog-featured {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--asx-blog-shadow);
  backdrop-filter: blur(12px);
}

.asx-blog-featured__link {
  display: block;
}

.asx-blog-featured__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.asx-blog-featured__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(15, 107, 85, 0.18), rgba(184, 138, 68, 0.18)),
    url("/img/logo-wide.png") center / 48% auto no-repeat;
}

.asx-blog-featured__body {
  padding: 24px;
}

.asx-blog-featured__label {
  margin: 0 0 8px;
  color: var(--asx-blog-warm);
  font-size: 0.78rem;
  font-weight: 800;
}

.asx-blog-featured__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.45;
}

.asx-blog-featured__excerpt {
  margin: 12px 0 0;
  color: var(--asx-blog-muted);
  line-height: 1.8;
}

.asx-blog-proof {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.asx-blog-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--asx-blog-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 39, 33, 0.08);
}

.asx-blog-proof__grid > div {
  padding: 24px;
  border-right: 1px solid var(--asx-blog-line);
}

.asx-blog-proof__grid > div:last-child {
  border-right: 0;
}

.asx-blog-proof strong,
.asx-blog-proof span {
  display: block;
}

.asx-blog-proof strong {
  color: var(--asx-blog-accent);
  font-size: 1.55rem;
}

.asx-blog-proof span {
  margin-top: 6px;
  color: var(--asx-blog-muted);
  font-size: 0.92rem;
}

.asx-blog-section {
  padding: 88px 0;
  background: transparent;
}

.asx-blog-section--muted {
  background: var(--asx-blog-bg);
}

.asx-blog-section__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.asx-blog-section__head h2,
.asx-blog-cta h2,
.asx-blog-empty h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.asx-blog-category-grid,
.asx-blog-card-grid {
  display: grid;
  gap: 18px;
}

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

.asx-blog-category {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--asx-blog-line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.asx-blog-category:hover,
.asx-blog-category:focus-visible,
.asx-blog-card:hover,
.asx-blog-card:focus-within {
  border-color: rgba(15, 107, 85, 0.44);
  box-shadow: 0 14px 34px rgba(25, 39, 33, 0.09);
}

.asx-blog-category span {
  font-size: 1.05rem;
  font-weight: 800;
}

.asx-blog-category small {
  color: var(--asx-blog-muted);
}

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

.asx-blog-card {
  overflow: hidden;
  border: 1px solid var(--asx-blog-line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.asx-blog-card__link {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
}

.asx-blog-card__media img,
.asx-blog-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.asx-blog-card__placeholder {
  background:
    linear-gradient(135deg, rgba(15, 107, 85, 0.18), rgba(184, 138, 68, 0.18)),
    url("/img/logo-wide.png") center / 46% auto no-repeat;
}

.asx-blog-card__body {
  padding: 20px;
}

.asx-blog-card__meta,
.asx-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--asx-blog-muted);
  font-size: 0.86rem;
}

.asx-blog-card__title {
  margin: 10px 0 0;
  font-size: 1.18rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.asx-blog-card__excerpt {
  margin: 12px 0 0;
  color: var(--asx-blog-muted);
  line-height: 1.8;
}

.asx-blog-faq__list {
  display: grid;
  gap: 12px;
}

.asx-blog-faq__item {
  border: 1px solid var(--asx-blog-line);
  border-radius: 8px;
  padding: 0 20px;
  background: #fff;
}

.asx-blog-faq__item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
}

.asx-blog-faq__item p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--asx-blog-muted);
  line-height: 1.9;
}

.asx-blog-cta {
  padding: 72px 0;
  background: var(--asx-blog-accent-dark);
  color: #fff;
}

.asx-blog-cta .asx-blog-eyebrow,
.asx-blog-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.asx-blog-cta__inner {
  justify-content: space-between;
}

.asx-blog-cta__inner > div {
  max-width: 680px;
}

.asx-blog-cta__inner p {
  margin: 14px 0 0;
  line-height: 1.9;
}

.asx-blog-article__header,
.asx-blog-archive__header {
  padding: 84px 0 56px;
  background: var(--asx-blog-bg);
}

.asx-blog-article__header-inner {
  max-width: 860px;
}

.asx-blog-article__header .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.asx-blog-article__header .post-categories a {
  display: inline-flex;
  border: 1px solid rgba(15, 107, 85, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--asx-blog-accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.asx-blog-article__title,
.asx-blog-archive__header h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: 0;
}

.asx-blog-meta {
  margin-top: 18px;
}

.asx-blog-article__visual {
  margin: 40px auto 0;
  overflow: hidden;
  border-radius: 8px;
}

.asx-blog-article__visual img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.asx-blog-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 320px);
  gap: 48px;
  align-items: start;
  padding: 56px 0 88px;
}

.asx-blog-content {
  font-size: 1.04rem;
  line-height: 1.95;
}

.asx-blog-content > *:first-child {
  margin-top: 0;
}

.asx-blog-content h2,
.asx-blog-content h3,
.asx-blog-content h4 {
  margin: 2em 0 0.75em;
  line-height: 1.35;
  letter-spacing: 0;
}

.asx-blog-content h2 {
  border-left: 4px solid var(--asx-blog-accent);
  padding-left: 14px;
  font-size: 1.7rem;
}

.asx-blog-content h3 {
  font-size: 1.35rem;
}

.asx-blog-content p,
.asx-blog-content li {
  color: #2f3c36;
}

.asx-blog-content a {
  color: var(--asx-blog-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.asx-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.asx-blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.95rem;
}

.asx-blog-content th,
.asx-blog-content td {
  border: 1px solid var(--asx-blog-line);
  padding: 12px;
  vertical-align: top;
}

.asx-blog-content th {
  background: var(--asx-blog-bg);
}

.asx-blog-aside {
  position: sticky;
  top: 24px;
}

.asx-blog-aside .asx-blog-cta {
  padding: 0;
  border-radius: 8px;
}

.asx-blog-aside .asx-blog-cta__inner {
  display: grid;
  width: 100%;
  padding: 24px;
}

.asx-blog-aside .asx-blog-cta h2 {
  font-size: 1.25rem;
}

.asx-blog-archive__description {
  max-width: 720px;
  margin-top: 16px;
  color: var(--asx-blog-muted);
  line-height: 1.8;
}

.asx-blog-pagination {
  margin-top: 40px;
}

.asx-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.asx-blog-pagination .page-numbers {
  min-width: 40px;
  border: 1px solid var(--asx-blog-line);
  border-radius: 6px;
  padding: 8px 12px;
  background: #fff;
  text-align: center;
}

.asx-blog-pagination .current {
  border-color: var(--asx-blog-accent);
  background: var(--asx-blog-accent);
  color: #fff;
}

.asx-blog-empty {
  max-width: 680px;
  border: 1px solid var(--asx-blog-line);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
}

.asx-blog-empty p {
  color: var(--asx-blog-muted);
  line-height: 1.9;
}

@media (max-width: 900px) {
  .asx-blog {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
      url("../img/asuxia-visual-mobile-bg.png");
    background-attachment: scroll, scroll;
    background-position: center top, center top;
    background-repeat: no-repeat, repeat-y;
    background-size: auto, 100% auto;
  }

  .asx-blog-hero {
    min-height: auto;
  }

  .asx-blog-hero__grid,
  .asx-blog-article__layout {
    grid-template-columns: 1fr;
  }

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

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

  .asx-blog-proof__grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--asx-blog-line);
  }

  .asx-blog-proof__grid > div:last-child {
    border-bottom: 0;
  }

  .asx-blog-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .asx-blog-container {
    width: min(100% - 24px, 1120px);
  }

  .asx-blog-hero__grid {
    padding: 56px 0 72px;
  }

  .asx-blog-hero__title {
    font-size: 2rem;
    line-height: 1.16;
  }

  .asx-blog-section,
  .asx-blog-cta {
    padding: 56px 0;
  }

  .asx-blog-section__head {
    display: block;
  }

  .asx-blog-category-grid,
  .asx-blog-card-grid {
    grid-template-columns: 1fr;
  }

  .asx-blog-article__header,
  .asx-blog-archive__header {
    padding: 56px 0 40px;
  }
}
