/* News & Events Page Styles */

/* ========================================
   NAVBAR AND MOBILE MENU STYLES
   ======================================== */

/* Main Navbar */
.kpm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 20px 40px;
  box-sizing: border-box;
  position: fixed;
  z-index: 1000;
}

.kpm-nav__logo {
  flex-shrink: 0;
}

.kpm-nav__logo img {
  height: 40px;
  width: auto;
}

.kpm-nav__tabs {
  display: flex;
  gap: 30px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.kpm-nav__tab {
  font-family: 'NexaRegular', 'Nexa', sans-serif;
  font-size: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.kpm-nav__tab:hover {
  color: var(--accent-color, #B1974D) !important;
}

.kpm-nav__icons {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-shrink: 0;
}

.kpm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kpm-icon img {
  width: 20px;
  height: 20px;
}

.kpm-nav__divider {
  width: 100%;
  height: 1px;
  background: rgba(177, 151, 77, 0.3);
  margin: 0 auto;
  max-width: 1728px;
}

/* Mobile Menu Toggle (Hidden by default, shown on mobile) */
.kpm-nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.kpm-nav__mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #B1974D !important;
  background-color: #B1974D !important;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
  margin: 2px 0;
}

.kpm-nav__mobile-toggle.active span:nth-child(1) {
  background: #B1974D !important;
  background-color: #B1974D !important;
  transform: rotate(-45deg) translate(-5px, 6px);
}

.kpm-nav__mobile-toggle.active span:nth-child(2) {
  background: #B1974D !important;
  background-color: #B1974D !important;
  opacity: 0;
}

.kpm-nav__mobile-toggle.active span:nth-child(3) {
  background: #B1974D !important;
  background-color: #B1974D !important;
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.kpm-nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.kpm-nav__mobile-menu.active {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

/* Ensure mobile menu is visible on mobile devices */
@media screen and (max-width: 1024px) {
  .kpm-nav__mobile-menu {
    z-index: 9999 !important;
  }
  
  .kpm-nav__mobile-menu.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Mobile Menu Header */
.kpm-nav__mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(177, 151, 77, 0.3);
}

.kpm-nav__mobile-logo img {
  height: 40px;
  width: auto;
}

.kpm-nav__mobile-close {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.kpm-nav__mobile-close span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin: 2px 0;
}

.kpm-nav__mobile-close span:first-child {
  transform: rotate(45deg) translate(0px, 0px);
}

.kpm-nav__mobile-close span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Content */
.kpm-nav__mobile-content {
  padding: 40px 20px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Mobile Navigation Tabs */
.kpm-nav__mobile-tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kpm-nav__mobile-tab {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: left;
  border-left: 4px solid transparent;
  background-color: rgba(255, 255, 255, 0.05);
}

.kpm-nav__mobile-tab:hover {
  background-color: rgba(177, 151, 77, 0.2);
  border-left-color: #B1974D;
  transform: translateX(10px);
}

/* Mobile Toggle Section */
.kpm-nav__mobile-toggle-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(177, 151, 77, 0.3);
  border-bottom: 1px solid rgba(177, 151, 77, 0.3);
}

.kpm-nav__mobile-toggle-section .ui-switch {
  transform: scale(1.5);
}

/* Mobile Social Icons */
.kpm-nav__mobile-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.kpm-nav__mobile-social .kpm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(177, 151, 77, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.kpm-nav__mobile-social .kpm-icon:hover {
  background-color: rgba(177, 151, 77, 0.3);
  transform: scale(1.1);
  border-color: #B1974D;
}

.kpm-nav__mobile-social .kpm-icon img {
  width: 24px;
  height: 24px;
}

/* Light Mode Mobile Menu Styles */
.kpm-nav__mobile-menu .kpm-nav__mobile-tab[style*="color: black"] {
  color: black !important;
}

.kpm-nav__mobile-menu .kpm-nav__mobile-tab[style*="color: black"]:hover {
  background-color: rgba(177, 151, 77, 0.2);
  color: #B1974D !important;
}

/* Dark Mode Mobile Toggle Styles */
.t-dark-mode .kpm-nav__mobile-toggle span {
  background: #B1974D !important;
  background-color: #B1974D !important;
}

.t-dark-mode .kpm-nav__mobile-toggle.active span:nth-child(1) {
  background: #B1974D !important;
  background-color: #B1974D !important;
}

.t-dark-mode .kpm-nav__mobile-toggle.active span:nth-child(2) {
  background: #B1974D !important;
  background-color: #B1974D !important;
}

.t-dark-mode .kpm-nav__mobile-toggle.active span:nth-child(3) {
  background: #B1974D !important;
  background-color: #B1974D !important;
}

/* Mobile and Tablet Responsive - Desktop-like Layout */
@media screen and (max-width: 1024px) {

  /* Mobile Navbar - Keep desktop layout but smaller */
  .kpm-nav {
    justify-content: space-between;
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .kpm-nav__logo {
    margin: 0;
    order: 1;
  }

  .kpm-nav__mobile-toggle {
    display: flex;
    order: 3;
    margin: 0;
  }

  .kpm-nav__tabs {
    display: none;
  }

  .kpm-nav__icons {
    display: none;
  }
}

/* Mobile Menu styles are now handled by this file */

@media screen and (max-width: 992px) {
  #wrap.news-events-page {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-top: clamp(84px, 22vw, 128px);
  }

  #wrap.news-events-page>.kpm-nav {
    order: 0;
  }

  #wrap.news-events-page>.kpm-nav__mobile-menu {
    order: 8;
  }

  #wrap.news-events-page>.kpm-svg-about-us {
    order: 3;
    position: relative !important;
    top: -420px !important;
    height: 335px !important;
    margin: -420px auto -200px;
    display: flex;
    justify-content: center;
  }

  #wrap.news-events-page>.kpm-news-events-text-header {
    order: 4;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 24px auto 36px;
    text-align: center;
    z-index: 2;
  }

  #wrap.news-events-page>.kpm-news-events-rectangle-container {
    order: 1;
  }

  #wrap.news-events-page>.kpm-news-events-header-image {
    order: 2;
  }

  #wrap.news-events-page>.kpm-news-events-container {
    order: 5;
    height: auto !important;
  }

  #wrap.news-events-page>.kpm-news-events-numbers {
    order: 6;
  }

  #wrap.news-events-page>.KPM_WEBSITE_FOOTER_NEWS_EVENTS {
    order: 7;
  }

  #wrap.expo-detail {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-top: clamp(84px, 22vw, 128px);
    min-height: 100vh;
  }

  #wrap.expo-detail > div:first-child {
    order: 0;
    width: 100%;
  }

  #wrap.expo-detail > .kpm-nav__mobile-menu {
    order: 1;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-svg-end {
    order: 5 !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    height: auto !important;
    margin: clamp(12px, 3.6vw, 20px) auto 0 !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-desc {
    order: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    margin: 0 auto clamp(10px, 3.6vw, 18px) !important;
    padding: clamp(12px, 4vw, 22px) clamp(14px, 4vw, 22px) clamp(16px, 4.6vw, 24px) !important;
    border-radius: clamp(12px, 3.6vw, 18px) !important;
    display: grid !important;
    grid-template-columns: auto 1fr;
    column-gap: clamp(6px, 1.8vw, 12px) !important;
    row-gap: clamp(6px, 2vw, 12px) !important;
    box-sizing: border-box !important;
    height: fit-content !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-back {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 0 clamp(10px, 3vw, 16px) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: clamp(4px, 1.6vw, 10px) !important;
    grid-column: 1 / -1;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-back-text {
    width: auto !important;
    height: auto !important;
    font-size: clamp(15px, 4.4vw, 18px) !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    font-size: clamp(24px, 6vw, 32px) !important;
    line-height: 1.18 !important;
    grid-column: 1 / -1;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-header-svg-date,
  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-header-svg-location {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-top: clamp(6px, 2.2vw, 12px) !important;
    margin-right: clamp(4px, 1.5vw, 8px) !important;
    grid-column: 1 / 2;
    justify-self: flex-start !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-date-text,
  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-location-text {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-top: clamp(6px, 2.2vw, 12px) !important;
    margin-right: clamp(6px, 1.8vw, 10px) !important;
    font-size: clamp(14px, 4.2vw, 17px) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    grid-column: 2 / 3;
    justify-self: flex-start !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-date-text2,
  #wrap.expo-detail .Dubai-Jewelry-Expo-desc-location-text2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    margin: clamp(2px, 1vw, 6px) 0 0 0 !important;
    font-size: clamp(14px, 4.3vw, 17px) !important;
    line-height: 1.45 !important;
    grid-column: 2 / 3;
    justify-self: flex-start !important;
    width: 100% !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-image {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    height: auto !important;
    margin: clamp(12px, 3.6vw, 20px) auto 0 !important;
    display: block !important;
    object-fit: cover !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-descriptions {
    order: 3 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    margin: clamp(10px, 3.5vw, 18px) auto clamp(20px, 6vw, 32px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(10px, 3vw, 16px) !important;
    font-size: clamp(16px, 4.5vw, 18px) !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-image2 {
    order: 4 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    height: auto !important;
    margin: clamp(14px, 116.2vw, 430px) auto 0 !important;
    display: block !important;
    object-fit: cover !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-descriptions span,
  #wrap.expo-detail .Dubai-Jewelry-Expo-descriptions li {
    width: 100% !important;
  }

  #wrap.expo-detail .Dubai-Jewelry-Expo-descriptions li {
    margin-left: clamp(18px, 5vw, 28px) !important;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL {
    order: 6;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    margin-top: clamp(24px, 7vw, 40px) !important;
    padding: 30px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    background: #ffffff !important;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-flags-div {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px !important;
    padding: 20px 0 !important;
    justify-items: center !important;
    order: 1;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-social-media-icons {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(12px, 4.8vw, 18px) !important;
    padding: 0 !important;
    margin: 0 auto !important;
    order: 2;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-social-media-icons>div {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 80px !important;
    width: clamp(40px, 11vw, 48px) !important;
    height: clamp(40px, 11vw, 48px) !important;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-desc2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
    padding: 0 20px 10px 20px !important;
    order: 3;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-line {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 10px auto !important;
    order: 4;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-desc {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 10px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    white-space: normal !important;
    text-align: left !important;
    order: 5;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-desc span {
    display: block !important;
    white-space: normal !important;
    margin-left: 0 !important;
  }

  #wrap.dark-mode-events-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL {
    background: #000000 !important;
  }

  #wrap.dark-mode-events-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL,
  #wrap.dark-mode-events-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL * {
    color: #ffffff !important;
  }

  .kpm-news-events-header-image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 92% !important;
    max-width: 100%;
    height: auto !important;
    display: block !important;
    margin: clamp(0px, 3px, 0px) auto clamp(420px, 75vw, 580px) !important;
    object-fit: cover !important;
    max-height: clamp(220px, 58vw, 360px) !important;
  }

  .kpm-news-events-container>div[class^="kpm-news-events"] {
    border-radius: 0 !important;
    position: relative !important;
    height: auto !important;
    min-height: clamp(460px, 120vw, 640px) !important;
  }

  .kpm-news-events-container>div[class^="kpm-news-events"] .kpm-news-event-image {
    border-radius: 0 !important;
    width: 100% !important;
  }

  .kpm-news-events-container>div[class^="kpm-news-events"] .kpm-news-event-header {
    position: absolute !important;
    top: clamp(15px, 7vw, 30px) !important;
    left: clamp(16px, 7.5vw, 30px) !important;
    transform: none !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(4px, 1.5vw, 8px) clamp(10px, 3vw, 16px) !important;
  }

  .kpm-news-events-container>div[class^="kpm-news-events"] .kpm-news-event-readme {
    display: inline-flex !important;
    align-items: center !important;
    gap: clamp(6px, 2vw, 12px) !important;
    position: static !important;
    margin-top: clamp(16px, 20vw, 70px) !important;
    margin-right: 0 !important;
    white-space: nowrap !important;
    width: fit-content !important;
    height: auto !important;
    color: inherit !important;
  }

  .kpm-news-events-container>div[class^="kpm-news-events"] .kpm-news-event-readme::after {
    content: "\2192";
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 600;
    line-height: 1;
    color: #B1974D;
    margin-left: clamp(4px, 1.5vw, 12px);
  }

  .kpm-news-events-container>div[class^="kpm-news-events"] .kpm-news-event-svg {
    display: none !important;
  }

  .kpm-news-events-rectangle-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    height: auto !important;
    max-width: 540px !important;
    margin: clamp(0px, 0px, 0px) auto clamp(0px, 0px, 0px) !important;
    padding: clamp(20px, 5.2vw, 28px) clamp(20px, 5vw, 28px) clamp(26px, 6vw, 34px) !important;
    box-sizing: border-box !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: clamp(14px, 3.8vw, 22px) !important;
  }

  .kpm-news-events {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: fit-content !important;
    margin: 0 !important;
    padding: clamp(8px, 2.4vw, 12px) clamp(16px, 4.8vw, 24px) !important;
    background: #f0ead8 !important;
  }

  .kpm-news-events-text {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    display: inline-block !important;
    font-size: clamp(16px, 4.4vw, 20px) !important;
    letter-spacing: 0.01em !important;
    text-transform: none;
  }

  .kpm-news-events-text2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: clamp(8px, 2.8vw, 16px) 0 clamp(6px, 2vw, 12px) !important;
    font-size: clamp(28px, 7vw, 38px) !important;
    line-height: 1.2 !important;
    text-align: left !important;
    font-family: "Nexa-Bold", "Nexa", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }

  .kpm-event-btn {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 60% !important;
    margin: clamp(14px, 4vw, 20px) 0 0 !important;
  }

  .kpm-news-events-rectangle-container .kpm-event-btn {
    margin: clamp(16px, 4.2vw, 24px) 0 0 !important;
    align-self: stretch !important;
  }

  .kpm-event-btn a {
    width: 100% !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(6px, 2vw, 12px) !important;
    border-radius: 12px !important;
  }

  .kpm-news-events-text-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: clamp(0px, 0vw, 0px) 0 clamp(18px, 5vw, 28px) !important;
    text-align: center !important;
  }

  .kpm-news-events-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: clamp(18px, 5vw, 26px) 0 clamp(24px, 6vw, 36px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(24px, 6vw, 34px) !important;
    align-items: center !important;
  }

  .kpm-news-events-container>div[class^="kpm-news-events"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 32px) !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: clamp(20px, 5.5vw, 32px) clamp(18px, 5vw, 28px) clamp(24px, 6vw, 34px) !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(20px, 4.5vw, 25px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .kpm-news-event-image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 clamp(12px, 4vw, 16px) !important;
    border-radius: 14px !important;
    object-fit: cover !important;
  }

  .kpm-news-event-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(6px, 2vw, 10px) clamp(12px, 4vw, 18px) !important;
  }

  .kpm-news-event-date,
  .kpm-news-event-text,
  .kpm-news-event-desc {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .kpm-news-event-text {
    font-size: clamp(18px, 5.5vw, 24px) !important;
    line-height: 1.35 !important;
  }

  .kpm-news-event-desc {
    font-size: clamp(15px, 4.5vw, 18px) !important;
    line-height: 1.6 !important;
  }

  .kpm-news-event-readme {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: clamp(10px, 3vw, 16px) !important;
  }

  .kpm-news-event-svg {
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }

  .kpm-news-events-numbers {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: clamp(24px, 6vw, 36px) auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(12px, 4vw, 18px) !important;
  }

  .kpm-news-events-numbers svg,
  .kpm-news-events-numbers span {
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    margin-top: clamp(24px, 7vw, 40px) !important;
    padding: 30px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-flags-div {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px !important;
    padding: 20px 0 !important;
    justify-items: center !important;
    order: 1;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-social-media-icons {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(12px, 4.8vw, 18px) !important;
    padding: 0 !important;
    margin: 0 auto !important;
    order: 2;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-social-media-icons>div {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 80px !important;
    width: clamp(40px, 11vw, 48px) !important;
    height: clamp(40px, 11vw, 48px) !important;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-desc2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
    padding: 0 20px 10px 20px !important;
    order: 3;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-line {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 10px auto !important;
    order: 4;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-desc {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 10px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    white-space: normal !important;
    text-align: left !important;
    order: 5;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-desc span {
    display: block !important;
    white-space: normal !important;
    margin-left: 0 !important;
  }
}

@media screen and (max-width: 768px) {

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS {
    padding: 26px 16px !important;
    gap: 18px;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL {
    padding: 26px 16px !important;
    gap: 18px;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-flags-div {
    gap: 16px 18px !important;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-flags-div {
    gap: 16px 18px !important;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-social-media-icons {
    gap: 14px;
    padding: 0 15px 15px 15px !important;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-social-media-icons {
    gap: 14px;
    padding: 0 15px 15px 15px !important;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-desc2 {
    font-size: 14px;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-desc2 {
    font-size: 14px;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-desc {
    font-size: 12px;
  }

  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-desc {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS,
  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL {
    padding: 24px 14px !important;
    gap: 16px;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-flags-div,
  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-flags-div {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px !important;
    padding: 18px 12px !important;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-social-media-icons,
  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-social-media-icons {
    gap: clamp(10px, 6vw, 16px);
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-social-media-icons>div,
  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-social-media-icons>div {
    width: clamp(36px, 11vw, 44px);
    height: clamp(36px, 11vw, 44px);
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-social-media-icons img,
  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-social-media-icons img {
    width: clamp(18px, 5.5vw, 22px);
    height: clamp(18px, 5.5vw, 22px);
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-desc2,
  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-desc2 {
    font-size: 13px;
  }

  .KPM_WEBSITE_FOOTER_NEWS_EVENTS .kpm-footer-desc,
  #wrap.expo-detail .KPM_WEBSITE_FOOTER_CAREERS-DETIAL .kpm-footer-desc {
    font-size: 11px;
  }
}