/* Xeretron blog — adapted from ELP blog chrome */
.blog-site{
  --primary:#a78bfa;
  --primary-2:#c4b0ff;
  --text:#e8ebef;
  --text-muted:var(--silver-5,#8b93a0);
  --surface:rgba(255,255,255,.03);
  --surface-2:rgba(255,255,255,.05);
  --border:rgba(255,255,255,.12);
  --radius:16px;
  color:var(--text);
}
.blog-site a{color:inherit}
}
.back-to-top--down:hover {
  background: #3a2745;
  transform: translateY(3px) scale(1.05);
}
@media (max-width: 640px) {
  .back-to-top--down { top: 5.2rem; }
}
.blog-site .back-to-top--down {
  top: 5.6rem;
}

/* ---------- Blog ---------- */
.blog-main { min-height: 60vh; }
.blog-index .blog-main { padding-top: 0; }
.blog-post-page .blog-main { padding-top: 0; }

.blog-hero {
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 4.2rem;
}
.blog-hero__overlay {
  background:
    linear-gradient(105deg,
      rgba(250, 247, 252, 0.96) 0%,
      rgba(250, 247, 252, 0.88) 36%,
      rgba(245, 240, 250, 0.55) 68%,
      rgba(245, 240, 250, 0.28) 100%),
    radial-gradient(ellipse 60% 70% at 85% 40%, rgba(130, 49, 167, 0.12), transparent 60%);
}
.blog-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}
.blog-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .92;
  color: #121014;
  margin: 0 0 .55rem;
}
.blog-hero__title {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  max-width: 18ch;
  margin-bottom: 1.1rem;
}
.blog-hero__sub {
  color: #3a3340;
  max-width: 32rem;
  margin-bottom: 1.8rem;
}
@media (max-width: 720px) {
  .blog-hero { min-height: auto; padding: 6.2rem 0 3rem; }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--surface, #fff);
  border: 1px solid rgba(32, 26, 36, .08);
  border-radius: 1rem;
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(32, 26, 36, .08);
}
.blog-card__date {
  font-size: .78rem;
  color: var(--silver-5,#8b93a0);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: #a78bfa; }
.blog-card__excerpt {
  color: var(--silver-5,#8b93a0);
  font-size: .95rem;
  margin: 0;
  flex: 1;
}
.blog-card__more {
  font-weight: 600;
  font-size: .92rem;
  color: #a78bfa;
  text-decoration: none;
}
.blog-empty { color: var(--silver-5,#8b93a0); }
.blog-article { padding-bottom: 4rem; }
.blog-post-mast {
  position: relative;
  overflow: hidden;
  padding: 6.4rem 0 2.75rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(168, 85, 212, .22) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(54, 137, 245, .12) 0%, transparent 50%),
    linear-gradient(145deg, #1a0f22 0%, #2a1638 42%, #551d70 100%);
  color: #fff;
  isolation: isolate;
}
.blog-post-mast__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 212, .35) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: blog-mast-glow 7s ease-in-out infinite alternate;
}
.blog-post-mast::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 28%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 11px,
      rgba(255,255,255,.015) 11px,
      rgba(255,255,255,.015) 12px
    );
  pointer-events: none;
  z-index: 0;
}
@keyframes blog-mast-glow {
  from { transform: translate(0, 0) scale(1); opacity: .85; }
  to { transform: translate(-6%, 8%) scale(1.08); opacity: 1; }
}
.blog-post-mast__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}
.blog-post-mast__back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.blog-post-mast__back:hover {
  color: #fff;
  transform: translateX(-2px);
}
.blog-post-mast__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.15rem;
}
.blog-post-mast__chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}
.blog-post-mast__chip--soft {
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  background: rgba(0, 0, 0, .18);
}
.blog-post-mast__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.blog-article__inner {
  max-width: 46rem;
  padding-top: 2rem;
}
.blog-article__inner--has-cover { padding-top: 0; }
.blog-article__inner--has-cover .blog-article__cover {
  margin-top: -1.6rem;
  margin-bottom: 2rem;
  box-shadow:
    0 24px 48px -20px rgba(33, 19, 41, .45),
    0 0 0 1px rgba(255, 255, 255, .08);
}
.blog-article__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1a151f;
}
.blog-article__body p { margin: 0 0 1.1rem; }
.blog-article__body h2,
.blog-article__body h3 {
  font-family: var(--font-display);
  margin: 1.8rem 0 .8rem;
}
.blog-article__body ul,
.blog-article__body ol { margin: 0 0 1.1rem 1.2rem; }
.blog-article__body a { color: #a78bfa; }
.blog-article__body img { max-width: 100%; height: auto; border-radius: .75rem; }

.blog-card { overflow: hidden; padding: 0; }
.blog-card__cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #efe8f4;
}
.blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card__cover img { transform: scale(1.04); }
.blog-card__date,
.blog-card__title,
.blog-card__excerpt,
.blog-card__meta {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}
.blog-card__date { padding-top: 1.15rem; }
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-bottom: 1.35rem;
}
.blog-card__likes { color: #a78bfa; font-size: .88rem; font-weight: 600; }
.blog-card__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}
.blog-card__views {
  color: var(--silver-5,#8b93a0);
  font-size: .82rem;
  font-weight: 500;
}
.blog-article__cover {
  margin: 0 0 1.8rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #efe8f4;
}
.blog-article__cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .blog-post-mast { padding: 5.6rem 0 2.1rem; }
  .blog-article__inner--has-cover .blog-article__cover {
    margin-top: -1rem;
    border-radius: 1rem;
  }
}
.blog-engage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(32, 26, 36, .08);
}
.blog-like-btn,
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(130, 49, 167, .28);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: .55rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.blog-like-btn__heart { color: #a78bfa; font-size: 1.1rem; line-height: 1; }
.blog-like-btn.is-liked {
  background: rgba(130, 49, 167, .12);
  border-color: #a78bfa;
  color: #a78bfa;
}
.blog-like-btn:hover,
.blog-share-btn:hover {
  border-color: #a78bfa;
  color: #a78bfa;
}
.blog-share { position: relative; }
.blog-share-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + .55rem);
  left: 0;
  min-width: 232px;
  background: #fff;
  border: 1px solid rgba(32, 26, 36, .1);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(32, 26, 36, .14);
  padding: .55rem;
  z-index: 20;
  gap: .3rem;
}
.blog-share-menu.is-open {
  display: grid;
  animation: blog-share-in .18s ease;
}
.blog-share-menu[hidden] { display: none !important; }
@keyframes blog-share-in {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.blog-share-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #1a151f;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  padding: .55rem .65rem;
  border-radius: .75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.blog-share-item:hover {
  background: rgba(130, 49, 167, .07);
  transform: translateX(2px);
}
.blog-share-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 14px rgba(32, 26, 36, .12);
}
.blog-share-item__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.blog-share-item--wa .blog-share-item__icon { background: linear-gradient(145deg, #25D366, #128C7E); }
.blog-share-item--li .blog-share-item__icon { background: linear-gradient(145deg, #0A66C2, #004182); }
.blog-share-item--fb .blog-share-item__icon { background: linear-gradient(145deg, #1877F2, #0C63D4); }
.blog-share-item--ig .blog-share-item__icon {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.blog-share-item--copy .blog-share-item__icon { background: linear-gradient(145deg, #8231A7, #5B1F7A); }
.blog-share-item.is-copied .blog-share-item__icon { background: linear-gradient(145deg, #16a34a, #15803d); }
