
.blog-hero, .content-hero {
    background: linear-gradient(135deg, #1c1c2e 0%, #2d2d4a 60%, #e31e25 140%);
    color: #fff;
    padding: 72px 48px 56px;
}
.blog-hero__inner, .content-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.blog-hero h1, .content-hero h1 {
    font-family: var(--font-headings);
    /* font-size: clamp(32px, 4vw, 48px); */
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.blog-hero p, .content-hero p {
    max-width: 640px;
    color: rgba(255,255,255,0.72);
    font-size: 16px;
    line-height: 1.7;
}
.blog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}
.blog-filters a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-size: 13px;
    font-weight: 600;
    background: #fff;
}
.blog-filters a.is-active,
.blog-filters a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(15,17,21,0.04);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15,17,21,0.1);
}
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f3f3f1;
}
.blog-card__body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.blog-card h2 {
    font-family: var(--font-headings);
    font-size: 18px;
    line-height: 1.35;
}
.blog-card__meta {
    color: #888;
    font-size: 13px;
}
.blog-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}
.blog-card .read-more {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
}
.blog-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.blog-article img.hero-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 24px;
    /* max-height: 420px; */
    object-fit: cover;
}
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-weight: 700;
    font-family: var(--font-headings);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    padding: 0 20px 18px;
    color: #555;
    line-height: 1.7;
}
.event-meta {
    display: flex;
    gap: 16px;
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}
.pagination-wrap { margin-top: 32px; text-align: center; }
@media (max-width: 992px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .blog-hero, .content-hero { padding: 56px 24px 40px; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card img { height: 160px; }
}


/* =========================================================
   BLOG ARTICLE — typography-first reading layout
   Scoped to .blog-article so it never leaks into other pages.
   Inherits design tokens from :root.
   ========================================================= */

.blog-article {
  /* ---------- local tokens ---------- */
  --article-measure:    1100px;
  --article-text:       #2c2f36;
  --article-muted:      #6b6f77;
  --article-heading:    #0f1115;
  --article-rule:       #ececec;
  --article-link:       var(--color-primary, #e31e25);

  /* ---------- shell ---------- */
  width: 100%;
  max-width: var(--article-measure);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 32px);

  font-family: var(--font-body, "Inter", sans-serif);
  font-size: clamp(16px, 0.95rem + 0.15vw, 17.5px);
  line-height: 1.75;
  color: var(--article-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   HERO IMAGE
   ========================================================= */
.blog-article .hero-img {
  display: block;
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-xl, 24px);
  margin: 0 0 clamp(32px, 4vw, 48px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 20px 48px -20px rgba(0, 0, 0, 0.18);
  background: #f2f2f2;
}

/* =========================================================
   PARAGRAPHS
   ========================================================= */
.blog-article p {
  margin: 0 0 1.4em;
  font-size: inherit;
  line-height: inherit;
  color: var(--article-text);
}

/* lede — the first paragraph after the hero image */
.blog-article .hero-img + p {
  font-size: clamp(17.5px, 1rem + 0.35vw, 20px);
  line-height: 1.7;
  color: #1f2228;
  font-weight: 450;
  margin-bottom: 1.6em;
}

.blog-article p:last-child { margin-bottom: 0; }

/* =========================================================
   HEADINGS
   ========================================================= */
.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4 {
  font-family: var(--font-headings, "Hermetic", sans-serif);
  font-weight: 700;
  color: var(--article-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.blog-article h2 {
  position: relative;
  font-size: clamp(24px, 1.2rem + 1.2vw, 32px);
  line-height: 1.2;
  margin: clamp(40px, 5vw, 56px) 0 20px;
  padding-top: 18px;
}

/* red accent bar above each h2 */
.blog-article h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-primary, #e31e25);
}

.blog-article h3 {
  font-size: clamp(19px, 1rem + 0.6vw, 23px);
  line-height: 1.3;
  margin: 36px 0 14px;
}

.blog-article h1 {
  font-size: clamp(28px, 1.4rem + 1.8vw, 42px);
  line-height: 1.15;
  margin: clamp(48px, 6vw, 72px) 0 20px;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--article-rule);
}

.blog-article h4 {
  font-size: clamp(17px, 1rem + 0.3vw, 19px);
  margin: 28px 0 10px;
}

/* =========================================================
   LISTS — custom bullets
   ========================================================= */
.blog-article ul,
.blog-article ol {
  margin: 0 0 1.6em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.blog-article ol { counter-reset: article-ol; }

.blog-article ul li,
.blog-article ol li {
  position: relative;
  padding-left: 28px;
  color: var(--article-text);
  line-height: 1.7;
}

.blog-article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary, #e31e25);
  box-shadow: 0 0 0 4px rgba(227, 30, 37, 0.1);
}

.blog-article ol li {
  counter-increment: article-ol;
  padding-left: 40px;
}

.blog-article ol li::before {
  content: counter(article-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  min-width: 28px;
  font-family: var(--font-headings, inherit);
  font-weight: 700;
  font-size: 0.95em;
  color: var(--color-primary, #e31e25);
  line-height: 1.7;
}

/* neutralise the <p role="presentation"> wrappers that rich-text
   editors (WordPress, Google Docs export, etc.) place inside <li> */
.blog-article li p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* nested lists */
.blog-article ul ul,
.blog-article ul ol,
.blog-article ol ul,
.blog-article ol ol {
  margin: 10px 0 0;
  gap: 8px;
}

/* =========================================================
   INLINE ELEMENTS
   ========================================================= */
.blog-article a {
  color: var(--article-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(227, 30, 37, 0.35);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.blog-article a:hover {
  text-decoration-color: currentColor;
}

.blog-article strong,
.blog-article b {
  font-weight: 700;
  color: var(--article-heading);
}

.blog-article em,
.blog-article i { font-style: italic; }

.blog-article ::selection {
  background: rgba(227, 30, 37, 0.18);
  color: var(--article-heading);
}

/* =========================================================
   BLOCKQUOTE
   ========================================================= */
.blog-article blockquote {
  margin: clamp(28px, 4vw, 40px) 0;
  padding: 20px 0 20px 28px;
  border-left: 3px solid var(--color-primary, #e31e25);
  font-family: var(--font-headings, inherit);
  font-size: clamp(18px, 1rem + 0.6vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  color: #1f2228;
}

.blog-article blockquote p:last-child { margin-bottom: 0; }

/* =========================================================
   FIGURES (if you add captioned images later)
   ========================================================= */
.blog-article figure {
  margin: clamp(28px, 4vw, 40px) 0;
}

.blog-article figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 16px);
}

.blog-article figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--article-muted);
  text-align: center;
  font-style: italic;
}

/* =========================================================
   SEPARATOR
   ========================================================= */
.blog-article hr {
  border: none;
  height: 1px;
  background: var(--article-rule);
  margin: clamp(36px, 5vw, 56px) 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 640px) {
  .blog-article {
    padding: 32px 20px 56px;
  }

  .blog-article .hero-img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg, 16px);
    margin-bottom: 28px;
  }

  .blog-article h2 { margin-top: 40px; }

  .blog-article h1 {
    margin-top: 44px;
    padding-top: 20px;
  }
}

@media (max-width: 420px) {
  .blog-article {
    font-size: 16px;
    line-height: 1.7;
  }

  .blog-article .hero-img { aspect-ratio: 1 / 1; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .blog-article {
    max-width: 100%;
    padding: 0;
    font-size: 11pt;
    color: #000;
  }

  .blog-article .hero-img {
    box-shadow: none;
    border-radius: 0;
    aspect-ratio: auto;
  }

  .blog-article h2::before { background: #000; }

  .blog-article a {
    color: #000;
    text-decoration: underline;
  }
}

/* ===========================================================
   KNOWLEDGE CENTER PAGE STYLES (blogs.html)
   =========================================================== */

/* Hero Section */
.msafe-kc-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.msafe-kc-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80');
    transform: scale(1.06);
    animation: msafeKcHeroZoom 16s ease-out forwards;
}
@keyframes msafeKcHeroZoom {
    to {
        transform: scale(1);
    }
}
.msafe-kc-hero__overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.58) 50%, rgba(227, 30, 37, 0.35) 100%); */
}
.msafe-kc-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 72px 48px;
}
.msafe-kc-hero__eyebrow {
    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-bottom: 24px;
}
.msafe-kc-hero__title {
    font-family: var(--font-headings, "Hermetic", sans-serif);
    font-weight: 700;
    /* font-size: clamp(38px, 5.5vw, 68px); */
    letter-spacing: -1.8px;
    line-height: 0.98;
    color: #fff;
    margin-bottom: 16px;
    max-width: 800px;
}
.msafe-kc-hero__subtitle {
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 700px;
    margin-bottom: 20px;
    font-family: var(--font-body, "Inter", sans-serif);
}
.msafe-kc-hero__desc {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin-bottom: 36px;
    font-family: var(--font-body, "Inter", sans-serif);
}
.msafe-kc-hero__search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
}
.msafe-kc-hero__search-input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 16px;
    color: #111;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.msafe-kc-hero__search-input::placeholder {
    color: rgba(17, 17, 17, 0.35);
}
.msafe-kc-hero__search-input:focus {
    outline: none;
    border-color: var(--color-primary, #e31e25);
    background: #fff;
}
.msafe-kc-hero__search-btn {
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--color-primary, #e31e25);
    color: #fff;
    font-family: var(--font-body, "Inter", sans-serif);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.msafe-kc-hero__search-btn:hover {
    background: #c0181f;
    transform: translateY(-2px);
}

/* Articles Section */
.msafe-kc-articles {
    background: #fff;
    padding: 96px 48px;
    max-width: 1440px;
    margin: 0 auto;
}
.msafe-kc-articles__header {
    margin-bottom: 44px;
}
.msafe-kc-articles__title {
    font-family: var(--font-headings, "Hermetic", sans-serif);
    font-weight: 700;
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -1.5px;
    color: #111;
    margin-bottom: 14px;
}
.msafe-kc-articles__subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    font-family: var(--font-body, "Inter", sans-serif);
}

/* Category Filters */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.blog-filters a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 99px;
    border: 1px solid #ececec;
    font-size: 13.5px;
    font-weight: 600;
    background: #f8f8f8;
    color: #444;
    transition: all 0.25s ease;
    text-decoration: none;
}
.blog-filters a.is-active,
.blog-filters a:hover {
    background: var(--color-primary, #e31e25);
    border-color: var(--color-primary, #e31e25);
    color: #fff;
}

/* Grid & Cards */
.msafe-kc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.msafe-kc-card {
    border-radius: 20px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid #ececec;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.msafe-kc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}
/* .msafe-kc-card__image {
    width: 100%;
    height: 320px;
    overflow: hidden;
} */

.msafe-kc-card__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    object-fit: cover;
}


.msafe-kc-card__image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform 0.5s ease;
}
.msafe-kc-card:hover .msafe-kc-card__image img {
    transform: scale(1.03);
}
.msafe-kc-card__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.msafe-kc-card__tag {
    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 99px;
    background: #fff5f5;
    color: var(--color-primary, #e31e25);
    border: 1px solid #ffd0d1;
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
}
.msafe-kc-card__title {
    font-family: var(--font-headings, "Hermetic", sans-serif);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.3px;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}
.msafe-kc-card__excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
    font-family: var(--font-body, "Inter", sans-serif);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.msafe-kc-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #ececec;
}
.msafe-kc-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary, #e31e25) 0%, rgba(227, 30, 37, 0.6) 100%);
}
.msafe-kc-card__author {
    font-size: 12px;
    font-weight: 600;
    color: #111;
    font-family: var(--font-body, "Inter", sans-serif);
    margin: 0;
}
.msafe-kc-card__date,
.msafe-kc-card__readtime {
    font-size: 12px;
    color: #999;
    font-family: var(--font-body, "Inter", sans-serif);
}
.msafe-kc-card__readmore {
    margin-top: 20px;
    font-family: var(--font-body, "Inter", sans-serif);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary, #e31e25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.3s ease;
}
.msafe-kc-card__readmore:hover {
    gap: 12px;
}

/* Newsletter Section */
.msafe-kc-newsletter {
    padding: 96px 48px;
    background: linear-gradient(135deg, var(--color-primary, #e31e25) 0%, #c41a1f 100%);
}
.msafe-kc-newsletter__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.msafe-kc-newsletter__title {
    font-family: var(--font-headings, "Hermetic", sans-serif);
    font-weight: 700;
    font-size: clamp(36px, 4vw, 52px);
    letter-spacing: -1.5px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}
.msafe-kc-newsletter__desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 32px;
    font-family: var(--font-body, "Inter", sans-serif);
}
.msafe-kc-newsletter__form {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    max-width: 100%;
}
.msafe-kc-newsletter__form input {
    flex: 1;
    max-width: 500px;
    padding: 16px 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 16px;
    color: #111;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.msafe-kc-newsletter__form input::placeholder {
    color: #999;
}
.msafe-kc-newsletter__form input:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
}
.msafe-kc-newsletter__form button {
    padding: 16px 40px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-family: var(--font-body, "Inter", sans-serif);
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.msafe-kc-newsletter__form button:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}
.msafe-kc-newsletter__note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 24px;
    font-family: var(--font-body, "Inter", sans-serif);
}

/* Scroll reveal animations */
.msafe-reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.msafe-reveal[data-reveal="fade-up"] {
    transform: translateY(28px);
}
.msafe-reveal[data-reveal="fade-down"] {
    transform: translateY(-20px);
}
.msafe-reveal.msafe-is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion:reduce) {
    .msafe-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Responsive */
@media (max-width: 860px) {
    .msafe-kc-hero__content,
    .msafe-kc-articles {
        padding-left: 24px;
        padding-right: 24px;
    }
    .msafe-kc-grid {
        grid-template-columns: 1fr;
    }
    .msafe-kc-hero__search {
        flex-direction: column;
        max-width: 100%;
    }
    .msafe-kc-hero__search-btn {
        width: 100%;
        justify-content: center;
    }
    .msafe-kc-newsletter__form {
        flex-direction: column;
    }
    .msafe-kc-newsletter__form button {
        width: 100%;
        justify-content: center;
    }
    .msafe-kc-newsletter {
        padding: 64px 24px;
    }
    .msafe-kc-articles {
        padding: 64px 24px;
    }
}
@media (max-width: 600px) {
    .msafe-kc-card__image {
        height: 220px;
    }
    .msafe-kc-card__body {
        padding: 24px;
    }
}

/* ---------- Pagination ---------- */
        .msafe-events-pagination {
            background: #fff;
            border-top: 1px solid #ececec;
            padding: 28px 48px 36px;
            max-width: 1440px;
            margin: 0 auto;
        }
        .msafe-events-pagination__inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 900px;
            margin: 0 auto;
        }
        .msafe-events-pagination__nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .msafe-events-pagination__btn {
            font-family: var(--msafe-font-body);
            font-weight: 600;
            font-size: 14px;
            padding: 8px 18px;
            border-radius: var(--msafe-radius-sm);
            border: 1px solid #ececec;
            background: #fff;
            color: #666;
            cursor: pointer;
            transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .msafe-events-pagination__btn:hover {
            background: #f0f0f0;
        }
        .msafe-events-pagination__btn--active {
            background: var(--msafe-red);
            color: #fff;
            border-color: var(--msafe-red);
        }
        .msafe-events-pagination__btn--active:hover {
            background: var(--msafe-red-dark);
        }
        .msafe-events-pagination__num {
            width: 40px;
            height: 40px;
            border-radius: var(--msafe-radius-sm);
            border: 1px solid #ececec;
            background: #fff;
            color: #666;
            font-family: var(--msafe-font-body);
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
        }
        .msafe-events-pagination__num:hover {
            background: #f0f0f0;
        }
        .msafe-events-pagination__num--active {
            background: var(--msafe-red);
            color: #fff;
            border-color: var(--msafe-red);
        }
        .msafe-events-pagination__num--active:hover {
            background: var(--msafe-red-dark);
        }
        .msafe-events-pagination__info {
            font-family: var(--msafe-font-body);
            font-size: 12px;
            color: #999;
            text-align: center;
            margin-top: 20px;
        }
