/* Dynamic landing blogs. Uses the existing Healthiga design tokens from index.html. */
[hidden] { display: none !important; }

#homeBlogGrid,
.hl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hl-blog-list-main {
  min-height: 100vh;
  background: #f8fafc;
}

.hl-blog-hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: #edf7f4;
  border-bottom: 1px solid var(--line, #e0e6eb);
}

.hl-blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237,247,244,.94), rgba(237,247,244,.76));
}

.hl-blog-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hl-blog-hero__container {
  position: relative;
  z-index: 1;
  height: 100%;
  padding-top: 65px;
  display: flex;
  align-items: center;
}

.hl-blog-hero__content {
  width: 100%;
  max-height: 100%;
  max-width: 768px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hl-blog-hero__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--mint-dark, #109379);
  background: rgba(16,147,121,.10);
  border-radius: 8px;
}

.hl-blog-hero__icon svg { width: 24px; height: 24px; }

.hl-blog-hero .hl-blog-page-title {
  max-width: 768px;
  margin: 16px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #17214d;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hl-blog-hero .hl-blog-page-intro {
  max-width: 672px;
  margin: 12px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #334155;
  font-size: 18px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hl-blog-banner-dots {
  min-height: 8px;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hl-blog-banner-dot {
  width: 32px;
  height: 8px;
  padding: 0;
  background: #cbd5e1;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}

.hl-blog-banner-dot:hover { background: #94a3b8; }
.hl-blog-banner-dot.is-active { background: var(--mint-dark, #109379); }
.hl-blog-banner-dot:focus-visible { outline: 3px solid rgba(16,147,121,.25); outline-offset: 3px; }

.hl-blog-list-section { padding: 48px 0; }

.hl-blog-status {
  width: 100%;
  margin: 22px 0;
  padding: 18px 20px;
  color: var(--muted, #68718e);
  border: 1px solid var(--line, #e0e6eb);
  border-radius: 12px;
  background: var(--white, #fff);
  text-align: center;
}

.hl-blog-status--loading::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: -3px;
  border: 2px solid rgba(56, 69, 128, .18);
  border-top-color: var(--mint, #01cc8f);
  border-radius: 50%;
  animation: hl-blog-spin .75s linear infinite;
}

.hl-blog-status--error {
  color: #8b2f35;
  border-color: #f0c9cd;
  background: #fff7f8;
}

.hl-blog-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line, #e0e6eb);
  border-radius: var(--radius, 16px);
  background: var(--white, #fff);
  box-shadow: 0 8px 24px rgba(21, 42, 92, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hl-blog-card:hover,
.hl-blog-card:focus-within {
  border-color: #cbd5df;
  box-shadow: var(--shadow, 0 18px 45px rgba(21, 42, 92, .10));
  transform: translateY(-4px);
}

.hl-blog-card__media-link,
.hl-blog-card__title-link {
  color: inherit;
  text-decoration: none;
}

.hl-blog-card__media-link { display: block; }

.hl-blog-card__media-link:focus-visible,
.hl-blog-card__title-link:focus-visible,
.hl-blog-back:focus-visible,
.hl-blog-view-all:focus-visible {
  outline: 3px solid rgba(1, 204, 143, .45);
  outline-offset: 3px;
}

.hl-blog-card__media {
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hero, #eef6f5);
}

.hl-blog-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .28s ease;
}

.hl-blog-card:hover .hl-blog-card__image { transform: scale(1.025); }

.hl-blog-card__body {
  min-height: 240px;
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.hl-blog-card__date,
.hl-blog-detail__date {
  margin-bottom: 10px;
  color: var(--mint-dark, #109379);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hl-blog-card__title {
  margin: 0 0 12px;
  color: var(--indigo, #384580);
  font-size: 22px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hl-blog-card__excerpt {
  display: -webkit-box;
  margin: 0 0 22px;
  overflow: hidden;
  color: var(--muted, #68718e);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hl-blog-card__read {
  margin-top: auto;
  color: var(--indigo, #384580);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.hl-blog-card__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hl-blog-card__likes {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -6px -8px -6px 0;
  padding: 6px 8px;
  color: #475569;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.hl-blog-card__likes svg { width: 16px; height: 16px; }
.hl-blog-card__likes:hover { color: #334155; background: #f1f5f9; }
.hl-blog-card__likes:focus-visible { outline: 3px solid rgba(1, 204, 143, .45); outline-offset: 2px; }
.hl-blog-card__likes.is-liked { color: var(--mint-dark, #109379); }
.hl-blog-card__likes.is-liked svg { fill: currentColor; }
.hl-blog-card__likes:disabled { cursor: default; }

.hl-blog-list-grid .hl-blog-card {
  cursor: pointer;
  border-color: #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15,23,42,.08);
}

.hl-blog-list-grid .hl-blog-card:hover,
.hl-blog-list-grid .hl-blog-card:focus-within {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15,23,42,.10);
  transform: translateY(-2px);
}

.hl-blog-list-grid .hl-blog-card__media { width: 100%; height: 192px; aspect-ratio: auto; background: #f1f5f9; }
.hl-blog-list-grid .hl-blog-card__body { min-height: 250px; padding: 20px; }

.hl-blog-card__byline {
  min-height: 40px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #64748b;
}

.hl-blog-card__avatar {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  border-radius: 50%;
}

.hl-blog-card__avatar svg { width: 16px; height: 16px; }
.hl-blog-card__author-meta { min-width: 0; }
.hl-blog-card__author { margin: 0; overflow: hidden; color: #334155; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

.hl-blog-list-grid .hl-blog-card__date {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.hl-blog-list-grid .hl-blog-card__title {
  min-height: 56px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hl-blog-list-grid .hl-blog-card__excerpt {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  -webkit-line-clamp: 3;
}

.hl-blog-list-grid .hl-blog-card__excerpt-slot {
  min-height: 67px;
  margin: 8px 0 20px;
}

.hl-blog-list-grid .hl-blog-card__read { color: var(--mint-dark, #109379); }
.hl-blog-list-grid .hl-blog-card__read:hover { text-decoration: underline; }
.hl-blog-list-grid .hl-blog-card__read:focus { outline: 0; }
.hl-blog-list-grid .hl-blog-card__read::after { content: ""; position: absolute; z-index: 1; inset: 0; }
.hl-blog-list-grid .hl-blog-card__read:focus-visible::after { outline: 3px solid rgba(1, 204, 143, .45); outline-offset: 3px; }

.hl-blog-view__main {
  min-height: 75vh;
  padding: 112px 0 80px;
  background: var(--soft, #f6f9f9);
}

.hl-blog-container {
  width: min(1392px, calc(100% - 40px));
  margin-inline: auto;
}

.hl-blog-container--article { width: min(900px, calc(100% - 40px)); }

.hl-blog-back,
.hl-blog-view-all {
  color: var(--mint-dark, #109379);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hl-blog-back:hover,
.hl-blog-view-all:hover { text-decoration: underline; }

.hl-blog-eyebrow {
  margin: 26px 0 12px;
  color: var(--mint-dark, #109379);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hl-blog-page-title,
.hl-blog-detail__title {
  margin: 0 0 18px;
  color: var(--indigo, #384580);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

.hl-blog-page-intro {
  max-width: 720px;
  margin-bottom: 38px;
  color: var(--muted, #68718e);
  font-size: 18px;
  line-height: 1.7;
}

.hl-blog-banner__media {
  max-height: 360px;
  margin: 0 0 38px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--hero, #eef6f5);
  box-shadow: var(--shadow, 0 18px 45px rgba(21, 42, 92, .10));
}

.hl-blog-banner__media .hl-blog-card__image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.hl-blog-detail-nav {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hl-blog-detail {
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line, #e0e6eb);
  border-radius: 22px;
  background: var(--white, #fff);
  box-shadow: var(--shadow, 0 18px 45px rgba(21, 42, 92, .10));
}

.hl-blog-detail__header .hl-blog-eyebrow { margin-top: 0; }
.hl-blog-detail__title { font-size: clamp(34px, 5vw, 52px); }
.hl-blog-detail__meta {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.hl-blog-detail__author {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.hl-blog-detail__date { margin: 0; display: block; }

.hl-blog-detail__subtitle,
.hl-blog-detail__lead {
  color: var(--muted, #68718e);
  font-size: 18px;
  line-height: 1.75;
}

.hl-blog-detail__media {
  margin: 30px 0;
  aspect-ratio: auto;
  border-radius: 14px;
}

.hl-blog-detail__media .hl-blog-card__image {
  max-height: 560px;
  object-fit: cover;
}

.hl-blog-prose {
  color: #3e4968;
  font-size: 16px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.hl-blog-prose h1,
.hl-blog-prose h2,
.hl-blog-prose h3,
.hl-blog-prose h4,
.hl-blog-prose h5,
.hl-blog-prose h6 {
  margin: 1.5em 0 .6em;
  color: var(--indigo, #384580);
  line-height: 1.25;
}

.hl-blog-prose h2 { font-size: 30px; }
.hl-blog-prose h3 { font-size: 24px; }
.hl-blog-prose p { margin: 0 0 1.15em; }
.hl-blog-prose ul,
.hl-blog-prose ol { padding-left: 1.5em; }
.hl-blog-prose a { color: var(--mint-dark, #109379); }
.hl-blog-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.hl-blog-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--mint, #01cc8f); }
.hl-blog-prose table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.hl-blog-prose th,
.hl-blog-prose td { padding: 10px 12px; border: 1px solid var(--line, #e0e6eb); text-align: left; }

.hl-blog-faqs { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line, #e0e6eb); }
.hl-blog-faqs__title { color: var(--indigo, #384580); font-size: 28px; }
.hl-blog-faq { margin-top: 12px; border: 1px solid var(--line, #e0e6eb); border-radius: 10px; }
.hl-blog-faq__question { padding: 16px 18px; color: var(--indigo, #384580); font-weight: 800; cursor: pointer; }
.hl-blog-faq__answer { padding: 0 18px 16px; }
.hl-blog-actions { margin-top: 28px; }

@keyframes hl-blog-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  #homeBlogGrid,
  .hl-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-blog-hero { height: 520px; }
}

@media (max-width: 640px) {
  #homeBlogGrid,
  .hl-blog-grid { grid-template-columns: 1fr; }
  .hl-blog-view__main { padding: 92px 0 56px; }
  .hl-blog-hero { height: 500px; }
  .hl-blog-hero__container { padding-top: 72px; }
  .hl-blog-hero__content { padding: 24px 0; }
  .hl-blog-hero .hl-blog-page-title { font-size: clamp(34px, 10vw, 42px); line-height: 1.08; -webkit-line-clamp: 4; }
  .hl-blog-hero .hl-blog-page-intro { font-size: 16px; line-height: 1.65; }
  .hl-blog-list-section { padding: 40px 0 48px; }
  .hl-blog-card__body { min-height: 0; }
  .hl-blog-list-grid .hl-blog-card__body { min-height: 0; }
  .hl-blog-page-title,
  .hl-blog-detail__title { font-size: clamp(32px, 10vw, 42px); }
  .hl-blog-page-intro,
  .hl-blog-detail__subtitle,
  .hl-blog-detail__lead { font-size: 16px; }
  .hl-blog-detail { padding: 24px 18px; border-radius: 16px; }
  .hl-blog-prose { font-size: 15px; line-height: 1.72; }
  .hl-blog-prose h2 { font-size: 25px; }
  .hl-blog-prose h3 { font-size: 21px; }
  .hl-blog-detail-nav { align-items: center; flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
  .hl-blog-card,
  .hl-blog-card__image { transition: none; }
  .hl-blog-banner-dot { transition: none; }
  .hl-blog-status--loading::before { animation-duration: 1.5s; }
}

/* Blog detail parity with the React public page. Header and footer styles stay in site.css. */
.hl-blog-view__main.hl-blog-detail-main {
  min-height: 100vh;
  padding: 112px 0 64px;
  background: #f8fafc;
}

.hl-blog-detail-main .hl-blog-container--article {
  width: min(1180px, calc(100% - 40px));
}

.hl-blog-detail-main .hl-blog-detail-nav {
  margin: 0 0 24px -12px;
  justify-content: flex-start;
  gap: 4px;
  flex-wrap: wrap;
}

.hl-blog-detail-main .hl-blog-back {
  min-height: 36px;
  margin-left: 0;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #109379;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease, background-color .18s ease;
}

.hl-blog-detail-main .hl-blog-back:hover {
  background: rgba(16, 147, 121, .06);
  text-decoration: none;
}

.hl-blog-detail-main .hl-blog-back svg {
  width: 16px;
  height: 16px;
}

.hl-blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.hl-blog-detail-main .hl-blog-detail {
  min-width: 0;
  padding: 32px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.hl-blog-detail-main .hl-blog-detail__header {
  width: 100%;
  min-width: 0;
}

.hl-blog-detail-main .hl-blog-detail__title {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #17214d;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: left;
  text-wrap: wrap;
  overflow-wrap: break-word;
}

.hl-blog-detail-main .hl-blog-detail__subtitle {
  margin: 12px 0 0;
  color: #334155;
  font-size: 18px;
  line-height: 28px;
}

.hl-blog-detail-main .hl-blog-detail__meta {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  color: #384580;
  font-size: 14px;
}

.hl-blog-detail-main .hl-blog-detail__author,
.hl-blog-detail-main .hl-blog-detail__date {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #384580;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 20px;
  text-transform: none;
}

.hl-blog-detail-main .hl-blog-detail__author-name {
  color: #17214d;
  font-weight: 500;
}

.hl-blog-detail-main .hl-blog-detail__meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hl-blog-detail-main .hl-blog-detail__like {
  min-height: 32px;
  margin: -6px 0 -6px auto;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #64748b;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.hl-blog-detail-main .hl-blog-detail__like:hover { color: #475569; background: #f8fafc; }
.hl-blog-detail-main .hl-blog-detail__like:focus-visible {
  color: #64748b;
  background: #f8fafc;
  outline: 3px solid rgba(16, 147, 121, .35);
  outline-offset: 2px;
}
.hl-blog-detail-main .hl-blog-detail__like.is-liked { color: #109379; background: #f0fdf9; }
.hl-blog-detail-main .hl-blog-detail__like.is-liked svg { fill: currentColor; }
.hl-blog-detail-main .hl-blog-detail__like[disabled] { opacity: .65; cursor: wait; }

.hl-blog-detail-main .hl-blog-detail__lead {
  margin: 24px 0 0;
  color: #384580;
  font-size: 16px;
  line-height: 28px;
}

.hl-blog-detail-main .hl-blog-detail__media {
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f5f9;
}

.hl-blog-detail-main .hl-blog-detail__media .hl-blog-card__image {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}

.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose {
  margin-top: 24px;
  color: #384580;
  font-size: 16px;
  line-height: 1.75;
}

.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h1,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h2,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h3,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h4,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h5,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h6 {
  color: #17214d;
  font-weight: 800;
  letter-spacing: -.01em;
}

.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h1 {
  margin: 32px 0 12px;
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.25;
}

.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h2 {
  margin: 28px 0 10px;
  font-size: 21.6px;
  line-height: 1.3;
}

.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h3 {
  margin: 22px 0 10px;
  font-size: 18.4px;
  line-height: 1.35;
}

.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h4,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h5,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose h6 {
  margin: 18px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose p { margin: 0 0 14px; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose ul,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose ol { margin: 0 0 14px; padding-left: 24px; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose li { margin: 0 0 6px; padding-left: 2px; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose strong,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose b { color: #17214d; font-weight: 800; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose a { color: #109379; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose blockquote { margin: 22px 0; padding: 10px 0 10px 16px; border-left: 4px solid #109379; background: #f1f5f9; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose table { width: 100%; margin: 20px 0; display: block; overflow-x: auto; border-collapse: collapse; font-size: 15.2px; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose th,
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose td { padding: 10px 12px; border: 1px solid #e2e8f0; vertical-align: top; }
.hl-blog-detail-main .hl-blog-detail > .hl-blog-prose th { color: #17214d; background: #f1f5f9; font-weight: 800; }

.hl-blog-detail-sidebar {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.hl-blog-author-card,
.hl-blog-detail-main .hl-blog-faqs,
.hl-blog-related-card {
  margin: 0;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.hl-blog-sidebar-title,
.hl-blog-detail-main .hl-blog-faqs__title {
  margin: 0;
  color: #17214d;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.hl-blog-author-list {
  margin-top: 16px;
  display: grid;
  gap: 20px;
}

.hl-blog-author {
  min-width: 0;
  display: flow-root;
}

.hl-blog-author__avatar {
  width: 40px;
  height: 40px;
  margin: 0 12px 4px 0;
  float: left;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #109379;
  background: rgba(16, 147, 121, .1);
  border-radius: 50%;
}

.hl-blog-author__avatar svg { width: 20px; height: 20px; }
.hl-blog-author__image { width: 100%; height: 100%; display: block; object-fit: cover; }
.hl-blog-author__content { min-width: 0; }
.hl-blog-author__name { margin: 0; display: inline; color: #17214d; font-size: 14px; font-weight: 600; line-height: 24px; }
.hl-blog-author__description { margin: 0; display: inline; color: #384580; font-size: 14px; line-height: 24px; }
.hl-blog-author__learn-more {
  margin: 0;
  padding: 0;
  display: inline;
  color: #109379;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
.hl-blog-author__learn-more:hover { color: #0d7f69; text-decoration: underline; text-underline-offset: 2px; }
.hl-blog-author__learn-more:focus-visible { border-radius: 2px; outline: 3px solid rgba(16, 147, 121, .35); outline-offset: 2px; }
.hl-blog-author__social { margin-top: 12px; clear: both; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }

body.hl-blog-author-modal-open { overflow: hidden; }
.hl-blog-author-modal[hidden] { display: none; }
.hl-blog-author-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(15, 23, 42, .62);
}
.hl-blog-author-modal__panel {
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  padding: 28px;
  overflow-y: auto;
  color: #384580;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .28);
}
.hl-blog-author-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.hl-blog-author-modal__title { margin: 0; color: #17214d; font-size: 22px; font-weight: 700; line-height: 1.35; }
.hl-blog-author-modal__close {
  width: 36px;
  height: 36px;
  margin: -6px -6px 0 0;
  padding: 0;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #384580;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.hl-blog-author-modal__close:hover { color: #109379; background: #eefbf7; border-color: rgba(16, 147, 121, .35); }
.hl-blog-author-modal__description { margin: 20px 0 0; color: #384580; font-size: 16px; line-height: 1.7; white-space: pre-line; }
.hl-blog-author-modal__social { margin-top: 20px; }

.hl-blog-social-link {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.hl-blog-social-link:hover { transform: translateY(-2px); box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }
.hl-blog-social-link svg { width: 16px; height: 16px; }
.hl-blog-social-link--facebook { color: #1877f2; }
.hl-blog-social-link--instagram { color: #e4405f; }
.hl-blog-social-link--twitter { color: #111827; }
.hl-blog-social-link--linkedin { color: #0a66c2; }

.hl-blog-detail-main .hl-blog-faqs { padding-bottom: 4px; }
.hl-blog-detail-main .hl-blog-faq { margin: 8px 0 16px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.hl-blog-detail-main .hl-blog-faq__question { position: relative; padding: 12px 34px 12px 12px; color: #17214d; font-size: 14px; font-weight: 600; line-height: 20px; list-style: none; }
.hl-blog-detail-main .hl-blog-faq__question::-webkit-details-marker { display: none; }
.hl-blog-detail-main .hl-blog-faq__question::after { content: "⌄"; position: absolute; top: 11px; right: 13px; color: #64748b; font-size: 18px; transition: transform .18s ease; }
.hl-blog-detail-main .hl-blog-faq[open] .hl-blog-faq__question::after { transform: rotate(180deg); }
.hl-blog-detail-main .hl-blog-faq__answer { padding: 0 12px 12px; color: #384580; font-size: 14px; line-height: 24px; }
.hl-blog-detail-main .hl-blog-faq__answer p:last-child { margin-bottom: 0; }
.hl-blog-faq__preview { margin: 0; }
.hl-blog-faq__learn-more {
  margin: 0;
  padding: 0;
  display: inline;
  color: #109379;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
.hl-blog-faq__learn-more:hover { color: #0d7f69; text-decoration: underline; text-underline-offset: 2px; }
.hl-blog-faq__learn-more:focus-visible { border-radius: 2px; outline: 3px solid rgba(16, 147, 121, .35); outline-offset: 2px; }
.hl-blog-faq-modal__answer { margin-top: 20px; color: #384580; font-size: 16px; line-height: 1.7; }
.hl-blog-faq-modal__answer > :first-child { margin-top: 0; }
.hl-blog-faq-modal__answer > :last-child { margin-bottom: 0; }

.hl-blog-related-list { margin: 16px 0 0; padding: 0; display: grid; gap: 16px; list-style: none; }
.hl-blog-related-item { min-width: 0; }
.hl-blog-related-link { min-width: 0; display: flex; gap: 12px; color: inherit; text-decoration: none; }
.hl-blog-related__media { width: 64px; height: 64px; flex: 0 0 auto; overflow: hidden; background: #f1f5f9; border-radius: 6px; }
.hl-blog-related__media .hl-blog-card__image { width: 100%; height: 100%; display: block; object-fit: cover; }
.hl-blog-related__media--fallback { display: grid; place-items: center; color: #109379; background: rgba(16, 147, 121, .1); }
.hl-blog-related__media--fallback svg { width: 20px; height: 20px; }
.hl-blog-related__content { min-width: 0; display: block; }
.hl-blog-related__title { display: block; color: #109379; font-size: 14px; font-weight: 600; line-height: 1.35; }
.hl-blog-related-link:hover .hl-blog-related__title { text-decoration: underline; }
.hl-blog-related__description { margin-top: 4px; display: -webkit-box; overflow: hidden; color: #384580; font-size: 12px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hl-blog-related__date { margin-top: 4px; display: block; color: #64748b; font-size: 12px; line-height: 18px; }

.hl-blog-share {
  position: fixed;
  z-index: 30;
  top: 50%;
  right: 16px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .1);
}

.hl-blog-share__label { color: #64748b; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.hl-blog-share__button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; color: #64748b; background: #fff; border: 1px solid #e2e8f0; border-radius: 50%; cursor: pointer; transition: transform .18s ease, color .18s ease, background-color .18s ease; }
.hl-blog-share__button:hover { transform: scale(1.05); }
.hl-blog-share__button svg { width: 16px; height: 16px; }
.hl-blog-share__button--facebook { color: #fff; background: #1877f2; border-color: #1877f2; }
.hl-blog-share__button--twitter { color: #fff; background: #000; border-color: #000; }
.hl-blog-share__button--linkedin { color: #fff; background: #0a66c2; border-color: #0a66c2; }
.hl-blog-share__button--instagram { color: #fff; background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); border-color: transparent; }
.hl-blog-share__button--like:hover { color: #475569; background: #f8fafc; }
.hl-blog-share__button--like:focus-visible { color: #64748b; background: #f8fafc; }
.hl-blog-share__button--like.is-liked { color: #109379; background: #f0fdf9; border-color: rgba(16, 147, 121, .3); }
.hl-blog-share__button--like.is-liked svg { fill: currentColor; }
.hl-blog-share__button--like[disabled] { opacity: .65; cursor: wait; transform: none; }
.hl-blog-share__button--copy.is-copied { color: #109379; }

.hl-blog-detail-loading { display: grid; place-items: center; }
.hl-blog-detail-loading__status { display: grid; place-items: center; }
.hl-blog-detail-loading__spinner { width: 32px; height: 32px; border: 3px solid rgba(16, 147, 121, .18); border-top-color: #109379; border-radius: 50%; animation: hl-blog-spin .75s linear infinite; }
.hl-blog-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hl-blog-detail-state { padding-block: 64px; text-align: center; }
.hl-blog-detail-state__title { margin: 0; color: #17214d; font-size: 36px; line-height: 1.25; }
.hl-blog-detail-state__message { max-width: 576px; margin: 12px auto 0; color: #384580; font-size: 16px; line-height: 26px; }
.hl-blog-detail-state__action { min-height: 40px; margin-top: 24px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; color: #fff; background: #109379; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.hl-blog-detail-state__action:hover { background: #0d7f69; }
.hl-blog-detail-state__action svg { width: 16px; height: 16px; }

.hl-blog-detail-main :where(a, button, summary):focus-visible {
  outline: 3px solid rgba(16, 147, 121, .35);
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .hl-blog-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .hl-blog-share { display: none; }
}

@media (max-width: 720px) {
  .hl-blog-container:not(.hl-blog-container--article) { width: min(100% - 28px, 1180px); }
  .hl-blog-detail-main .hl-blog-container--article { width: min(100% - 28px, 1180px); }
}

@media (max-width: 640px) {
  .hl-blog-view__main.hl-blog-detail-main { padding: 94px 0 56px; }
  .hl-blog-detail-main .hl-blog-detail { padding: 24px; border-radius: 8px; }
  .hl-blog-detail-main .hl-blog-detail__title { font-size: 30px; }
  .hl-blog-detail-main .hl-blog-detail__subtitle { font-size: 17px; line-height: 26px; }
  .hl-blog-detail-main .hl-blog-detail__like { margin-left: 0; }
  .hl-blog-detail-layout { gap: 24px; }
  .hl-blog-detail-state { padding-block: 48px; }
  .hl-blog-detail-state__title { font-size: 30px; }
  .hl-blog-author-modal { padding: 16px; }
  .hl-blog-author-modal__panel { max-height: calc(100vh - 32px); padding: 22px; }
  .hl-blog-author-modal__title { font-size: 20px; }
}

@media (max-width: 520px) {
  .hl-blog-container:not(.hl-blog-container--article) { width: min(100% - 24px, 1180px); }
  .hl-blog-detail-main .hl-blog-container--article { width: min(100% - 24px, 1180px); }
}

@media (prefers-reduced-motion: reduce) {
  .hl-blog-social-link,
  .hl-blog-share__button,
  .hl-blog-faq__question::after { transition: none; }
}
