/*
Theme Name: CfAS
Theme URI: http://example.com
Author: Romal Faizyar
Author URI: https://romalfaizyar.com
Description: A professional WordPress theme based on your HTML template.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: cfas
*/

/* Fallback variables */
:root {
  --navbar-bg: #f8f9fa;
  --navbar-text: #00274f;
  --link-hover: #0072ce;
  --mega-bg: #ffffff;
  --mega-text: #00274f;
  --hover-bg: #00274f;

  --topbar-bg: #00274f;
  --topbar-text: #ffffff;

  --c-primary: #0f5132;
  --c-accent: #f26a21;

  --fs-base: 18px;
  --radius: 0px;

  --body-bg: #f8f9fa;
  --text: #00274f;
  --link: #00274f;

  --footer-top-bg: #00274f;
  --footer-top-text: #ffffff;
  --footer-bottom-bg: #ffffff;
  --footer-bottom-text: #00274f;

  --border-soft: rgba(0, 0, 0, 0.12);
}

body {
  background: var(--body-bg);
  color: var(--text);
  font-size: var(--fs-base);
}

a {
  color: var(--link);
}
a:hover {
  color: var(--link-hover);
}

/* ===================== TOP BAR FIX ===================== */
.top-bar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  padding: 20px 0;
  font-size: 14px;
}

.top-bar .container.top-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar .menu-links,
.top-bar .lang-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-bar .menu-links li,
.top-bar .lang-links li {
  position: relative;
}

.top-bar .menu-links li a,
.top-bar .lang-links li a,
.top-bar .lang-links a {
  color: var(--topbar-text);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.top-bar .menu-links li:not(:last-child)::after,
.top-bar .lang-links li:not(:last-child)::after,
.top-bar .lang-links a:not(:last-child)::after {
  content: "|";
  color: var(--topbar-text);
  margin: 0 8px;
}

.top-bar .menu-links li a:hover,
.top-bar .lang-links li a:hover,
.top-bar .lang-links a:hover {
  color: var(--link-hover);
}

@media (max-width: 991px) {
  .top-bar .menu-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .top-bar .menu-links li::after,
  .top-bar .lang-links li::after,
  .top-bar .lang-links a::after {
    content: "";
    margin: 0;
  }

  .top-bar .menu-links li a {
    padding: 0 0px;
  }
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: relative;
  background: var(--navbar-bg);
  padding: 40px 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.navbar-nav .nav-link {
  color: var(--navbar-text) !important;
  margin-right: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--link-hover) !important;
}

/* MEGA MENU */
.nav-item.position-static {
  position: static;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  background: var(--mega-bg);
  color: var(--mega-text);
  padding: 30px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.mega-menu.show {
  opacity: 1;
  pointer-events: auto;
}

.mega-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--mega-text);
  text-transform: uppercase;
}

.mega-menu a {
  color: var(--mega-text);
  display: block;
  text-decoration: none;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.25s ease;
  position: relative;
  padding-left: 10px;
}
.mega-menu a:last-child {
  border-bottom: none;
}

.mega-menu a:hover {
  color: #fff !important;
  padding-left: 18px;
  background: linear-gradient(to right, var(--hover-bg) 100%, transparent 100%);
}

/* Arrow */
.nav-item.position-static > .nav-link {
  position: relative;
  padding-right: 30px;
}

.nav-item.position-static > .nav-link::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navbar-text);
  border-bottom: 2px solid var(--navbar-text);
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.top-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
}

/* MOBILE */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 30px;
  }
  .navbar-nav.show {
    display: flex;
  }

  .mega-menu {
    position: relative !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
    box-shadow: none;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.2s ease;
  }

  .nav-item.active > .mega-menu {
    max-height: 600px;
    opacity: 1;
    padding: 15px 0;
  }

  .top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .lang-links a:nth-child(1) {
    margin-left: 0 !important;
  }

  .menu-links a::after {
    content: "|";
    margin: 0 6px;
  }
  .menu-links a:last-child::after {
    content: "";
  }
  .lang-links a::after {
    content: "";
  }
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }
  .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .top-wrapper {
    display: flex;
    justify-content: flex-end !important;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .navbar-brand {
    margin-bottom: 25px;
  }
}

/* =========================
   NAVBAR RIGHT (Search + Toggle)
========================= */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto; /* ثابت بماند */
    flex-shrink: 0;
}

/* =========================
   SEARCH BUTTON
========================= */
.nav-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: 0.25s ease;
    flex: 0 0 auto;
}

.nav-search-btn:hover {
    background: rgba(0,0,0,0.06);
}

/* =========================
   مهم‌ترین بخش: جلوگیری از افتادن منو زیر سرچ
   فقط کانتینر اصلی navbar نباید wrap کند
========================= */
#main-navbar > .container.d-flex {
    flex-wrap: nowrap !important;
}

/* =========================
   Desktop: از 992 به بالا
   منو را مجبور کن افقی بماند و width:100% نشود
========================= */
@media (min-width: 992px) {

    /* چپ اجازه کوچک شدن داشته باشد */
    #main-navbar .navbar-left {
        flex: 1 1 auto;
        min-width: 0;
        gap: 18px;
    }

    /* لوگو ثابت */
    #main-navbar .navbar-left .navbar-brand {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
    }

    /* کلید حل: navbar-nav افقی و auto-width شود */
    #main-navbar .navbar-left .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;

        margin: 0;
        padding: 0;

        /* نگذار به خط بعد برود */
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow: hidden; /* اگر خیلی طولانی بود، پایین نمیفتد */
    }

    /* آیتم‌ها فشرده نشوند */
    #main-navbar .navbar-left .navbar-nav > li {
        flex: 0 0 auto;
    }

    /* لینک‌ها هم تک‌خطی */
    #main-navbar .navbar-left .navbar-nav > li > a {
        white-space: nowrap;
    }
}

/* =========================
   FIX RANGE: 992px to 1144px
   (جایی که جا کم می‌آید)
========================= */
@media (min-width: 992px) and (max-width: 1144px) {

    /* فاصله لوگو و منو کمتر */
    #main-navbar .navbar-left {
        gap: 12px;
    }

    /* فاصله آیتم‌های منو کمتر */
    #main-navbar .navbar-left .navbar-nav > li > a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 15px;
    }

    /* آیکن سرچ کوچکتر */
    .nav-search-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    #main-navbar .navbar-left .navbar-nav > li > a {
        padding-right: 10px;
    }

    .nav-item.position-static > .nav-link::after {
      content: "";
      position: absolute;
      right: -5px;
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
      width: 8px;
      height: 8px;
      border-right: 2px solid var(--navbar-text);
      border-bottom: 2px solid var(--navbar-text);
      opacity: 0.9;
      transition: transform 0.2s ease;
    }
}

/* =========================
   MOBILE MENU DEFAULT HIDDEN
   (اگر JS خودت برای toggle داری همین بماند)
========================= */
.mobile-menu {
    display: none;
}

/* =========================
   MOBILE: below 992px
========================= */
@media (max-width: 991px) {

    /* دسکتاپ منو مخفی */
    #main-navbar .navbar-left .navbar-nav.d-none.d-lg-flex {
        display: none !important;
    }

    /* آیکن کمی کوچک‌تر */
    .nav-search-btn {
        width: 36px;
        height: 36px;
    }
}

/* =================== STICKY HEADER + SMOOTH =================== */
/* ===============================
   FINAL: Jitter-free Sticky Header
   (Keep your current shrink style)
================================ */

/* حالت عادی */
.sticky-header{
  position: relative;
  width: 100%;
  z-index: 9999;
}

/* وقتی اسکرول شد: fixed (بدون لرزش) */
.sticky-header.is-fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* همون استایل خودت */
#main-navbar{
  transition: padding .25s ease, box-shadow .25s ease;
  will-change: padding;
}

#main-navbar.scrolled{
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Spacer که JS می‌سازه */
.sticky-spacer{
  height: 0;
}

/* =================== FOOTER STYLES =================== */
.site-footer {
  /* margin-top: 80px; */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-top {
  background: var(--footer-top-bg);
  color: var(--footer-top-text);
  padding: 60px 0 60px;
}

.footer-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.newsletter-section {
  max-width: 500px;
}

.newsletter-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.newsletter-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
}

.btn-subscribe {
  background: var(--footer-top-text);
  color: var(--footer-top-bg);
  border: none;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.btn-subscribe:hover {
  background: var(--body-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-links {
  margin-bottom: 30px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--footer-top-text);
  color: var(--footer-top-bg);
  border-radius: 50%;
  margin-left: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

.social-icon:hover {
  background: var(--footer-top-bg);
  color: var(--footer-top-text);
  transform: translateY(-3px);
}

.email-label {
  font-size: 15px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.email-link {
  display: inline-flex;
  align-items: center;
  color: var(--footer-top-text);
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s;
}

.email-link:hover {
  opacity: 0.85;
}

.email-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Footer Bottom */
.footer-bottom {
  background: var(--footer-bottom-bg);
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
}

.copyright {
  color: var(--footer-bottom-text);
  font-size: 14px;
  line-height: 1.6;
}

.funding-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--footer-bottom-text);
  margin-bottom: 15px;
}

.funding-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bm-logo-img {
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.back-to-top {
  width: 45px;
  height: 45px;
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
  .footer-top {
    padding: 40px 0 30px;
  }

  .footer-title {
    text-align: left !important;
  }

  .newsletter-section {
    text-align: left;
    max-width: 100%;
  }

  .social-links {
    text-align: left !important;
  }

  .email-section {
    text-align: left !important;
  }

  .footer-bottom {
    text-align: left;
  }

  .funding-logo {
    justify-content: left;
  }

  .funding-section {
    text-align: left;
  }

  .back-to-top {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .social-icon {
    width: 40px;
    height: 40px;
    margin: 5px;
  }

  .bm-logo-img {
    width: 70%;
  }
}

/* Footer Menu */
.footer-links {
  text-align: left;
  margin-bottom: 15px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-menu li {
  display: inline;
}

.footer-menu li a {
  color: var(--footer-bottom-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-menu li a:hover {
  color: var(--link-hover);
}

.footer-menu li:not(:last-child)::after {
  content: "|";
  margin: 0 8px;
  color: var(--footer-bottom-text);
}

@media (max-width: 576px) {
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-menu li:not(:last-child)::after {
    content: "";
  }
}

/* ============================= Home.php News Page Style ============================= */
.news-title {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.2px;
}

.news-subtitle {
  font-size: 20px;
  color: var(--c-primary);
  opacity: 0.85;
  font-weight: 500;
}

.news-filter-btn {
  border-width: 2px;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 600;
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.news-filter-btn.is-active {
  background: var(--c-primary);
  color: #fff;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-item {
  padding-top: 18px;
}

.news-accent-line {
  width: 180px;
  height: 3px;
  background: var(--c-accent);
  margin-bottom: 18px;
}

.news-meta {
  color: var(--c-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.news-meta-sep {
  margin: 0 10px;
  opacity: 0.8;
}

.news-item-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
}

.news-item-title a {
  color: var(--c-primary);
  text-decoration: none;
}

.news-item-title a:hover {
  text-decoration: underline;
}

.news-excerpt {
  font-size: 18px;
  color: var(--c-primary);
  opacity: 0.9;
  line-height: 1.6;
}

/* =========================================
   Premium Pagination Style (Exact Match)
========================================= */

/* UL */
.page-numbers {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* LI */
.page-numbers li {
  margin: 0;
}



/* Links + spans */
.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 48px;
  height: 48px;
  padding: 0 9px;

  background: #f1f3f4;
  color: #0a2f4f;

  border: 2px solid #d9dee2;
  border-radius: 6px;

  font-size: 18px;
  text-decoration: none;

  transition: all 0.2s ease;
  cursor: pointer;
}

/* Hover */
.page-numbers a:hover {
  transform: translateY(-2px);
  background: #e6eaed;
}

/* Active */
.page-numbers .current {
  background: #0a2f4f;
  color: #ffffff;
  border-color: #0a2f4f;
}

/* Next / Prev */
.page-numbers .next,
.page-numbers .prev {
  padding: 0 9px;
}

















/* Bootstrap container 1140px */
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1200px !important;
  }
}










/* ===== Search Overlay (LOCKED) ===== */
#searchOverlay{
  position:fixed !important;
  inset:0 !important;
  z-index:999999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:24px !important;
  background:rgba(8,10,14,.65) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  backdrop-filter:blur(12px) !important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
}

#searchOverlay.is-open{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

#searchOverlay .search-overlay-inner{
  width:100% !important;
  max-width:820px !important;
  position:relative !important;
  padding:0 !important;
  background:transparent !important;
  transform:translateY(14px) scale(.985);
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
}

#searchOverlay.is-open .search-overlay-inner{
  transform:translateY(0) scale(1) !important;
  opacity:1 !important;
}

#searchOverlay .search-close{
  position:absolute !important;
  top:-56px !important;
  right:0 !important;
  width:44px !important;
  height:44px !important;
  border-radius:16px !important;
  border:none !important;
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
  font-size:28px !important;
  cursor:pointer !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* قفل کامل فرم */
#searchOverlay form.search-form{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;

  background:#fff !important;
  border-radius:999px !important;
  padding:10px !important;
  box-shadow:0 24px 60px rgba(0,0,0,.18) !important;

  margin:0 !important;
}

#searchOverlay form.search-form *{
  box-sizing:border-box !important;
}

/* label باید حتماً فضای باقی‌مانده را بگیرد */
#searchOverlay form.search-form > label{
  flex:1 1 auto !important;
  display:flex !important;
  align-items:center !important;
  position:relative !important;
  margin:0 !important;
  min-width:0 !important;
}

/* آیکن سرچ سمت چپ */
#searchOverlay form.search-form > label::before{
  content:"" !important;
  position:absolute !important;
  left:18px !important;
  top:50% !important;
  width:20px !important;
  height:20px !important;
  transform:translateY(-50%) !important;
  opacity:.55 !important;
  background-repeat:no-repeat !important;
  background-size:20px 20px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
}

/* input باید حتماً دیده شود و کش نیاید */
#searchOverlay .search-field{
  flex:1 1 auto !important;
  display:block !important;
  width:100% !important;
  min-width:0 !important;

  height:56px !important;
  border:none !important;
  background:transparent !important;
  border-radius:999px !important;
  padding:0 18px 0 52px !important;

  font-size:18px !important;
  outline:none !important;
  color:#111 !important;
}

#searchOverlay .search-field::placeholder{
  color:rgba(0,0,0,.35) !important;
}

/* دکمه دقیق مثل عکس */
#searchOverlay .search-submit{
  flex:0 0 auto !important;

  height:56px !important;
  min-width:140px !important;
  padding:0 22px !important;
  border-radius:999px !important;
  border:none !important;

  cursor:pointer !important;
  font-size:18px !important;
  font-weight:700 !important;
  color:#fff !important;

  background:#5e5e5e !important;
  box-shadow:0 14px 30px rgba(15,109,255,.28) !important;
}

.no-scroll{ overflow:hidden !important; }

/* Fix: after search WP theme shows "Search for:" text */
#searchOverlay .screen-reader-text{
  display:none !important;
}

/* Extra lock: hide any accidental text nodes / spans inside label except input */
#searchOverlay form.search-form > label{
  font-size:0 !important; /* متن "Search for:" اگر نمایش داده شد، دیده نشود */
}

#searchOverlay form.search-form > label .search-field{
  font-size:18px !important; /* فونت input را دوباره برگردان */
}














/* =========================
   News Style Listing (Events/Press)
========================= */
/* ==========================================================================
   Events/Press Archive - News Style (uses Customizer CSS variables)
   Add this to style.css
   ========================================================================== */

/* Only affect Events + Press archives */
body.post-type-archive-event .dz-news-wrap,
body.post-type-archive-press .dz-news-wrap{
  padding: var(--dz-padt) 0 var(--dz-padb);
}

body.post-type-archive-event .dz-news-container,
body.post-type-archive-press .dz-news-container{
  max-width: var(--dz-container);
  margin: 0 auto;
  padding: 0 var(--dz-padx);
}

body.post-type-archive-event .dz-news-title,
body.post-type-archive-press .dz-news-title{
  font-size: var(--dz-title-size);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 18px;
  color: var(--dz-primary);
}

body.post-type-archive-event .dz-news-subtitle,
body.post-type-archive-press .dz-news-subtitle{
  font-size: var(--dz-subtitle-size);
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 26px;
  color: var(--dz-secondary);
  opacity: .9;
  max-width: 980px;
}

body.post-type-archive-event .dz-news-filters,
body.post-type-archive-press .dz-news-filters{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 10px 0 44px;
}

body.post-type-archive-event .dz-filter-btn,
body.post-type-archive-press .dz-filter-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--dz-btn-py) var(--dz-btn-px);
  border: var(--dz-btn-border) solid var(--dz-btn-border-color);
  border-radius: var(--dz-btn-radius);
  font-size: var(--dz-btn-font);
  font-weight: 700;
  text-decoration: none;
  color: var(--dz-btn-text);
  background: var(--dz-btn-bg);
  transition: .2s ease;
}

body.post-type-archive-event .dz-filter-btn:hover,
body.post-type-archive-press .dz-filter-btn:hover{
  transform: translateY(-1px);
}

body.post-type-archive-event .dz-filter-btn.is-active,
body.post-type-archive-press .dz-filter-btn.is-active{
  background: var(--dz-btn-bg-active);
  color: var(--dz-btn-text-active);
}

body.post-type-archive-event .dz-news-item,
body.post-type-archive-press .dz-news-item{
  padding: 18px 18px;
}

body.post-type-archive-event .dz-news-line,
body.post-type-archive-press .dz-news-line{
  display: block;
  width: 180px;
  height: 4px;
  background: var(--dz-line);
  margin: 8px 0 22px;
}

body.post-type-archive-event .dz-news-meta,
body.post-type-archive-press .dz-news-meta{
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--dz-meta-size);
  font-weight: 700;
  color: var(--dz-primary);
}

body.post-type-archive-event .dz-news-h2,
body.post-type-archive-press .dz-news-h2{
  margin: 16px 0 16px;
  font-size: var(--dz-h2-size);
  line-height: 1.08;
  letter-spacing: -.5px;
  font-weight: 700;
}

body.post-type-archive-event .dz-news-link,
body.post-type-archive-press .dz-news-link{
  color: var(--dz-primary);
  text-decoration: none;
}

body.post-type-archive-event .dz-news-link:hover,
body.post-type-archive-press .dz-news-link:hover{
  text-decoration: underline;
}

body.post-type-archive-event .dz-news-excerpt,
body.post-type-archive-press .dz-news-excerpt{
  margin: 0 0 12px;
  font-size: var(--dz-excerpt-size);
  line-height: 1.6;
  color: var(--dz-secondary);
  opacity: .95;
  max-width: 1050px;
}