:root {
  --ink: #07110d;
  --forest: #063823;
  --green: #74c947;
  --green-light: #9ee96f;
  --paper: #ffffff;
  --mist: #f5f8f3;
  --line: #dce8dc;
  --text: #5b665e;
  --shadow: 0 28px 80px rgba(7, 17, 13, .1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
}

a {
  color: inherit;
}

.bepass-blog {
  min-height: 100vh;
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 6vw, 86px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(7, 17, 13, .92);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 172px;
  height: auto;
  display: block;
}

.blog-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  font-weight: 780;
}

.blog-header nav a {
  text-decoration: none;
}

.admin-link {
  color: var(--green-light) !important;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.language-switcher button {
  display: grid;
  min-width: 31px;
  height: 28px;
  place-items: center;
  padding: 0 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, .72);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .66rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .04em;
  transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--paper);
  transform: translateY(-1px);
}

.language-switcher button.is-active {
  color: var(--ink);
  background: var(--green-light);
  box-shadow: 0 0 20px rgba(116, 201, 71, .24);
}

.blog-hero,
.blog-list,
.blog-footer {
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
}

.blog-hero {
  padding: clamp(58px, 9vw, 126px) 0 clamp(32px, 5vw, 72px);
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 22px;
  color: #3c8f27;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--green);
}

.blog-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6.6rem);
  letter-spacing: -.065em;
  line-height: .94;
}

.blog-hero p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  padding-bottom: clamp(70px, 9vw, 128px);
}

.blog-post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.blog-post-card figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0d3a27, #07110d);
}

.blog-post-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
}

.blog-post-card:hover img {
  filter: saturate(1.06);
  transform: scale(1.035);
}

.blog-post-content {
  padding: clamp(24px, 2.5vw, 34px);
}

.blog-post-category {
  color: #478f25;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-post-content h2 {
  margin: 16px 0 14px;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  letter-spacing: -.04em;
  line-height: 1.06;
}

.blog-post-content p {
  color: var(--text);
  font-size: .96rem;
  line-height: 1.68;
}

.blog-post-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  color: #89918a;
  border-top: 1px solid var(--line);
  font-size: .76rem;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--text);
  border-top: 1px solid var(--line);
  font-size: .86rem;
}

.blog-footer a {
  color: #2f7621;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .blog-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .blog-footer {
    flex-direction: column;
  }
}
