.elementor-200 .elementor-element.elementor-element-af24814{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-200 .elementor-element.elementor-element-c08e5f1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-archive-posts .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-archive-posts .elementor-post__title, .elementor-widget-archive-posts .elementor-post__title a{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-archive-posts .elementor-post__meta-data{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-archive-posts .elementor-post__excerpt p{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-archive-posts .elementor-post__read-more{color:var( --e-global-color-accent );}.elementor-widget-archive-posts a.elementor-post__read-more{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-archive-posts .elementor-post__card .elementor-post__badge{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-archive-posts .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-archive-posts .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-archive-posts .elementor-posts-nothing-found{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-200 .elementor-element.elementor-element-b392879{--grid-row-gap:35px;--grid-column-gap:30px;}.elementor-200 .elementor-element.elementor-element-b392879 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.66 * 100% );}.elementor-200 .elementor-element.elementor-element-b392879:after{content:"0.66";}.elementor-200 .elementor-element.elementor-element-b392879 .elementor-post__thumbnail__link{width:100%;}.elementor-200 .elementor-element.elementor-element-b392879 .elementor-post__meta-data span + span:before{content:"///";}.elementor-200 .elementor-element.elementor-element-b392879.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{margin-right:20px;}.elementor-200 .elementor-element.elementor-element-b392879.elementor-posts--thumbnail-right .elementor-post__thumbnail__link{margin-left:20px;}.elementor-200 .elementor-element.elementor-element-b392879.elementor-posts--thumbnail-top .elementor-post__thumbnail__link{margin-bottom:20px;}.elementor-200 .elementor-element.elementor-element-b392879 .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-200 .elementor-element.elementor-element-b392879 .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-200 .elementor-element.elementor-element-b392879 .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-200 .elementor-element.elementor-element-b392879 .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-200 .elementor-element.elementor-element-b392879 .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}@media(max-width:767px){.elementor-200 .elementor-element.elementor-element-b392879 .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.5 * 100% );}.elementor-200 .elementor-element.elementor-element-b392879:after{content:"0.5";}.elementor-200 .elementor-element.elementor-element-b392879 .elementor-post__thumbnail__link{width:100%;}}/* Start custom CSS for archive-posts, class: .elementor-element-b392879 *//* ============================================================
   AcuMax Blog Archive — Elementor Posts Widget
   Paste into: Theme Builder > Archive Template > Custom CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

/* Grid container */
.elementor-posts-container.elementor-grid {
  gap: 24px !important;
}

/* Card reset & base */
.elementor-post.elementor-grid-item {
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  box-shadow:
    0 2px 12px rgba(39, 43, 86, 0.06),
    0 8px 32px rgba(39, 43, 86, 0.08) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  border: none !important;
}

/* Gradient border via outline trick — works without ::before in Elementor custom CSS */
.elementor-post.elementor-grid-item {
  outline: 1.5px solid transparent !important;
  background-clip: padding-box !important;
  box-shadow:
    0 2px 12px rgba(39, 43, 86, 0.06),
    0 8px 32px rgba(39, 43, 86, 0.08),
    0 0 0 1.5px rgba(167, 0, 215, 0.2) !important;
}

.elementor-post.elementor-grid-item:hover {
  transform: translateY(-4px) !important;
  box-shadow:
    0 4px 20px rgba(39, 43, 86, 0.08),
    0 16px 48px rgba(39, 43, 86, 0.12),
    0 0 0 1.5px rgba(167, 0, 215, 0.5) !important;
}

/* Thumbnail */
.elementor-post__thumbnail__link {
  display: block !important;
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
  aspect-ratio: 16/9 !important;
}

.elementor-post__thumbnail {
  width: 100% !important;
  height: 100% !important;
}

.elementor-post__thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  image-rendering: -webkit-optimize-contrast !important;
  transition: transform 0.4s ease !important;
}

.elementor-post.elementor-grid-item:hover .elementor-post__thumbnail img {
  transform: scale(1.03) !important;
}

/* Text area */
.elementor-post__text {
  padding: 28px 28px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 0 !important;
}

/* Category label above title */
.elementor-post__meta-data {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  order: -1 !important;
}

.elementor-post-date,
.elementor-post-avatar {
  font-family: 'Lato', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: rgba(39, 43, 86, 0.45) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}

/* Title */
.elementor-post__title {
  font-family: 'Lato', sans-serif !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  color: #272b56 !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.2px !important;
}

.elementor-post__title a {
  color: #272b56 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.elementor-post__title a:hover {
  color: #a700d7 !important;
  text-decoration: none !important;
}

/* Excerpt */
.elementor-post__excerpt {
  flex: 1 !important;
  margin-bottom: 20px !important;
}

.elementor-post__excerpt p {
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: rgba(39, 43, 86, 0.65) !important;
  margin: 0 !important;
}

/* Read more CTA */
.elementor-post__read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  color: #a700d7 !important;
  text-decoration: none !important;
  margin-top: auto !important;
  transition: gap 0.2s ease, color 0.2s ease !important;
}

.elementor-post__read-more:hover {
  color: #272b56 !important;
  gap: 10px !important;
  text-decoration: none !important;
}

/* Pagination */
.elementor-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 56px !important;
  font-family: 'Lato', sans-serif !important;
}

.elementor-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #272b56 !important;
  text-decoration: none !important;
  background: #faf5ff !important;
  border: 1.5px solid rgba(39, 43, 86, 0.1) !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.elementor-pagination .page-numbers:hover {
  background: #a700d7 !important;
  color: #ffffff !important;
  border-color: #a700d7 !important;
}

.elementor-pagination .page-numbers.current {
  background: #a700d7 !important;
  color: #ffffff !important;
  border-color: #a700d7 !important;
}

/* ── Archive page hero — reduce top space so posts appear above fold ── */
.elementor-location-archive .elementor-section:first-child,
.elementor-location-archive .e-con:first-child {
  padding-top: 40px !important;
  padding-bottom: 32px !important;
}

/* Reduce the resources hero heading size to match brand and save vertical space */
.elementor-location-archive h1.elementor-heading-title {
  font-size: 48px !important;
  line-height: 1.05 !important;
  margin-bottom: 12px !important;
}

/* Tighten section above posts grid */
.elementor-location-archive .elementor-section + .elementor-section,
.elementor-location-archive .e-con + .e-con {
  padding-top: 0 !important;
}

/* Posts widget — no top padding so grid butts up close to hero */
.elementor-location-archive .elementor-widget-posts {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Thumbnail hover — scale only, no translate on the image itself */
.elementor-post__thumbnail__link {
  overflow: hidden !important;
}

.elementor-post.elementor-grid-item:hover .elementor-post__thumbnail img {
  transform: scale(1.05) !important;
  transition: transform 0.4s ease !important;
}/* End custom CSS */