.oea-post-grid {
  display: grid;
  gap: 30px;
}

.oea-post-grid.oea-post-grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
  font-size: 16px;
}

.oea-post-grid.oea-post-grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
  font-size: 16px;
}

.oea-post-grid.oea-post-grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
  font-size: 16px;
}

.oea-post-grid.oea-post-grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
  font-size: 14px;
  gap: 20px;
}

.oea-post-grid.oea-post-grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
  font-size: 14px;
  gap: 20px;
}

.oea-post-grid.oea-post-grid-cols-6 {
  grid-template-columns: repeat(6, 1fr);
  font-size: 14px;
  gap: 10px;
}

.oea-post-grid .post {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeIn 0.8s ease-in-out;
}

.oea-post-grid .post-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.oea-post-grid .post-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: all 0.6s ease;
  will-change: transform, filter;
}

.oea-post-grid .post-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.oea-post-grid .post-content {
  padding: 1em;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.oea-post-grid .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.oea-post-grid .post-categories.cat-top {
  position: absolute;
  z-index: 1;
  top: 0.6em;
  left: 0.6em;
  margin-bottom: 0;
}

.oea-post-grid .post-categories.cat-top .post-category {
  background-color: var(--main-color-transparent);
}

.oea-post-grid .post-category {
  font-size: 0.75em;
  font-weight: 600;
  color: #fff;
  background-color: var(--main-color);
  padding: 0.4em 0.8em;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  text-transform: uppercase;
  margin-bottom: 0;
}

.oea-post-grid .post-title {
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 0.5em 0;
}

.oea-post-grid .post-title a {
  color: var(--main-text-color);
}

.oea-post-grid .post-meta {
  display: inline-block;
  align-items: center;
  gap: 5px;
  font-size: 0.85em;
  color: #73757c;
  font-style: italic;
  margin-bottom: 0.5em;
  margin-right: 0.5em;
}

.oea-post-grid .post-meta img {
  display: inline-block;
  border-radius: 50%;
  vertical-align: middle;
}

.oea-post-grid .post-meta span {
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
  text-transform: capitalize;
}

.oea-post-grid .post-meta:last-child {
  margin-right: 0;
}

.oea-post-grid .post-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.5em 0 0 0;
}

.oea-post-grid .post-excerpt p {
  margin: 0;
}

@media (max-width: 768px) {
  .oea-post-grid {
    gap: 2vw;
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .oea-post-grid .post-image-wrapper {
    height: 170px;
  }
}

[id^="oea-posts-"][data-image_hover_effect="scale"] .post:hover .post-image {
  transform: scale(1.2);
}

[id^="oea-posts-"][data-image_hover_effect="blur"] .post:hover .post-image {
  filter: blur(5px);
}

[id^="oea-posts-"][data-image_hover_effect="grayscale"]
  .post:hover
  .post-image {
  filter: grayscale(100%);
}

[id^="oea-posts-"][data-image_hover_effect="sepia"] .post:hover .post-image {
  filter: sepia(100%);
}

[id^="oea-posts-"][data-image_hover_effect="invert"] .post:hover .post-image {
  filter: invert(100%);
}

[id^="oea-posts-"][data-image_hover_effect="brightness"]
  .post:hover
  .post-image {
  filter: brightness(1.5);
}

[id^="oea-posts-"][data-image_hover_effect="contrast"] .post:hover .post-image {
  filter: contrast(2);
}

[id^="oea-posts-"][data-post_hover_effect="translate_up"] .post:hover {
  transform: translateY(-10px);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="translate_down"] .post:hover {
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="scale_up"] .post:hover {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="scale_down"] .post:hover {
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="rotate"] .post:hover {
  transform: rotate(5deg);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="tilt"] .post:hover {
  transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="darken"] .post:hover {
  filter: brightness(0.8);
  transition: filter 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="lighten"] .post:hover {
  filter: brightness(1.2);
  transition: filter 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="zoom_rotate"] .post:hover {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="hover"] .post:hover {
  transform: translateY(-5px) scale(1.02);
  transition: transform 0.4s ease;
}

[id^="oea-posts-"][data-post_hover_effect="none"] .post:hover {
  transform: none;
  transition: none;
}

[id^="oea-posts-"][data-post_hover_effect="pulse"] .post,
[id^="oea-posts-"][data-post_hover_effect="bounce"] .post,
[id^="oea-posts-"][data-post_hover_effect="flash"] .post,
[id^="oea-posts-"][data-post_hover_effect="expand_contract"] .post,
[id^="oea-posts-"][data-post_hover_effect="shake"] .post,
[id^="oea-posts-"][data-post_hover_effect="wave"] .post,
[id^="oea-posts-"][data-post_hover_effect="zoom_fade"] .post,
[id^="oea-posts-"][data-post_hover_effect="circle_shake"] .post,
[id^="oea-posts-"][data-post_hover_effect="slide_up_fade"] .post,
[id^="oea-posts-"][data-post_hover_effect="stretch_vertical"] .post,
[id^="oea-posts-"][data-post_hover_effect="stretch_horizontal"] .post,
[id^="oea-posts-"][data-post_hover_effect="zigzag"] .post,
[id^="oea-posts-"][data-post_hover_effect="whirl"] .post,
[id^="oea-posts-"][data-post_hover_effect="shine"] .post {
  transition: all 0.6s ease;
}

[id^="oea-posts-"][data-post_hover_effect="shine"] .post::before {
  transition: all 0.3s ease;
}



[id^="oea-posts-"][data-post_hover_effect] .post-content {
  will-change: transform, opacity;
}

.oea-pagination[data-pagination_hover_effect="scale"] .oea-page-number:hover,
.oea-pagination[data-pagination_hover_effect="scale"] .prev-page-button:hover,
.oea-pagination[data-pagination_hover_effect="scale"] .next-page-button:hover,
.oea-pagination-numbers[data-pagination_hover_effect="scale"]
  .oea-page-number:hover,
.oea-load-more-wrapper[data-pagination_hover_effect="scale"]
  [id^="oea-load-more-"]:hover {
  transform: scale(1.1) !important;
  transition: transform 0.4s ease !important;
}

.oea-pagination[data-pagination_hover_effect="rotate"] .oea-page-number:hover,
.oea-pagination[data-pagination_hover_effect="rotate"] .prev-page-button:hover,
.oea-pagination[data-pagination_hover_effect="rotate"] .next-page-button:hover,
.oea-pagination-numbers[data-pagination_hover_effect="rotate"]
  .oea-page-number:hover,
.oea-load-more-wrapper[data-pagination_hover_effect="rotate"]
  [id^="oea-load-more-"]:hover {
  transform: rotate(15deg) !important;
  transition: transform 0.4s ease !important;
}

.oea-pagination[data-pagination_hover_effect="translate_up"]
  .oea-page-number:hover,
.oea-pagination[data-pagination_hover_effect="translate_up"]
  .prev-page-button:hover,
.oea-pagination[data-pagination_hover_effect="translate_up"]
  .next-page-button:hover,
.oea-pagination-numbers[data-pagination_hover_effect="translate_up"]
  .oea-page-number:hover,
.oea-load-more-wrapper[data-pagination_hover_effect="translate_up"]
  [id^="oea-load-more-"]:hover {
  transform: translateY(-5px) !important;
  transition: transform 0.4s ease !important;
}

.oea-pagination[data-pagination_hover_effect="translate_down"]
  .oea-page-number:hover,
.oea-pagination[data-pagination_hover_effect="translate_down"]
  .prev-page-button:hover,
.oea-pagination[data-pagination_hover_effect="translate_down"]
  .next-page-button:hover,
.oea-pagination-numbers[data-pagination_hover_effect="translate_down"]
  .oea-page-number:hover,
.oea-load-more-wrapper[data-pagination_hover_effect="translate_down"]
  [id^="oea-load-more-"]:hover {
  transform: translateY(5px) !important;
  transition: transform 0.4s ease !important;
}

.oea-pagination[data-pagination_hover_effect="none"] .oea-page-number:hover,
.oea-pagination[data-pagination_hover_effect="none"] .prev-page-button:hover,
.oea-pagination[data-pagination_hover_effect="none"] .next-page-button:hover,
.oea-pagination-numbers[data-pagination_hover_effect="none"]
  .oea-page-number:hover,
.oea-load-more-wrapper[data-pagination_hover_effect="none"]
  [id^="oea-load-more-"]:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  animation: none !important;
  transition: background-color 0.3s ease !important;
}



.oea-pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.oea-pagination .prev-page-button,
.oea-pagination .next-page-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: var(--main-color);
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.oea-pagination .prev-page-button:hover,
.oea-pagination .next-page-button:hover {
  background-color: var(--main-color-transparent);
}

.oea-pagination .prev-page-button i,
.oea-pagination .next-page-button i {
  font-size: 14px;
  vertical-align: middle;
}

.oea-pagination .prev-page-button i {
  margin-right: 8px;
}

.oea-pagination .next-page-button i {
  margin-left: 8px;
}

.oea-load-more-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  position: relative;
}

.oea-load-more-wrapper [id^="oea-load-more-"] {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: var(--main-color);
  text-decoration: none;
  border-radius: 25px;
  cursor: pointer;
  border-width: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.oea-load-more-wrapper [id^="oea-load-more-"]:hover {
  background-color: var(--main-color-transparent);
  transform: translateY(-3px);
}

.oea-load-more-wrapper [id^="oea-load-more-"]:active {
  transform: translateY(0);
}

.oea-load-more-wrapper [id^="oea-load-more-"].oea-load-more-full-width {
  width: 100%;
  border-radius: 0;
  background-color: #f5f5f5;
  color: var(--main-text-color);
  transition: all 0.3s ease;
}

.oea-load-more-wrapper [id^="oea-load-more-"].oea-load-more-full-width:hover {
  transform: none;
  background-color: var(--main-color);
  color: white;
}

.oea-load-more-wrapper .loading-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  width: 60px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.oea-load-more-wrapper .loading-icon div {
  width: 6px;
  height: 20px;
  border-radius: 3px;
  animation: pulseLoadingIcon 1.2s infinite ease-in-out;
  animation-delay: calc(var(--i) * 0.2s);
}

.oea-load-more-wrapper .loading-icon div:nth-child(1) {
  --i: 0;
  background-color: #e74c3c;
}

.oea-load-more-wrapper .loading-icon div:nth-child(2) {
  --i: 1;
  background-color: #f39c12;
}

.oea-load-more-wrapper .loading-icon div:nth-child(3) {
  --i: 2;
  background-color: #2ecc71;
}

.oea-load-more-wrapper .loading-icon div:nth-child(4) {
  --i: 3;
  background-color: #3498db;
}

.oea-load-more-wrapper .loading-icon div:nth-child(5) {
  --i: 4;
  background-color: #9b59b6;
}

.oea-taxonomy-menu {
  position: relative;
  z-index: 3;
  height: 60px;
  display: flex;
  width: auto;
  align-items: center;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.oea-taxonomy-menu.loaded {
  opacity: 1;
  transform: translateY(0);
}

.oea-taxonomy-menu.no-heading .oea-taxonomy-heading {
  display: none;
}

.oea-taxonomy-menu.no-heading ul.links {
  justify-content: flex-start;
  flex: unset;
  align-items: center;
}

.oea-taxonomy-menu .oea-taxonomy-heading {
  display: flex;
  align-self: stretch;
  align-items: center;
  color: var(--main-text-color);
  padding: 0 1.5rem;
  font-weight: bold;
  font-size: 26px;
  padding: 0;
  margin: 0;
  margin-right: 5rem;
}

.oea-taxonomy-menu .dropdown-toggle {
  position: relative;
  padding: 5px 10px;
  text-decoration: none;
  color: var(--main-text-color);
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #ddd;
  background-color: #e8e8e8;
  border-radius: 25px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-transform: capitalize;
  margin-left: 12px;
}

.oea-taxonomy-menu .dropdown-toggle:hover {
  background-color: #f5f5f5;
  border-color: var(--main-color);
  color: var(--main-color);
}

.oea-taxonomy-menu .dropdown-toggle:hover .hidden-links {
  color: var(--main-text-color);
}

.oea-taxonomy-menu .dropdown-toggle.active {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.oea-taxonomy-menu .dropdown-toggle.active .hidden-links {
  color: var(--main-text-color);
}

.oea-taxonomy-menu .dropdown-toggle::after {
  content: "\276F";
  display: inline-block;
  margin-left: 0.5em;
  transform: rotate(90deg);
  transition: transform 0.35s ease;
}

.oea-taxonomy-menu .dropdown-toggle.active::after {
  transform: rotate(270deg);
}

.oea-taxonomy-menu .dropdown-toggle:hover:not(.active)::after {
  /* animation: oeaHoverBounce 0.5s infinite; */
  transform: rotate(270deg);
}

.oea-taxonomy-menu .dropdown-toggle.hidden {
  transition: none;
  border-right: 0.5rem solid #b6b6b6;
  width: 0;
  padding: 0;
  overflow: hidden;
  display: none;
}

.oea-taxonomy-menu ul.links {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  overflow: hidden;
  padding: 0;
}

.oea-taxonomy-menu .taxonomy-menu-item {
  position: relative;
  list-style: none;
  padding: 5px 5px 5px 10px;
  text-decoration: none;
  color: var(--main-text-color);
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 25px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  text-transform: capitalize;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 12px;
  white-space: nowrap;
}

.oea-taxonomy-menu .taxonomy-menu-item:hover {
  background-color: #f5f5f5;
  border-color: var(--main-color);
  color: var(--main-color);
}

.oea-taxonomy-menu .taxonomy-menu-item.active {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

.oea-taxonomy-menu .taxonomy-menu-item[data-term-id="all"] {
  padding: 5px 10px;
}

.oea-taxonomy-menu .taxonomy-menu-item .term-name {
  margin-right: 5px;
}

.oea-taxonomy-menu .taxonomy-menu-item .term-count {
  margin-left: 5px;
  width: 26px;
  height: 26px;
  background-color: var(--main-color);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.oea-taxonomy-menu .taxonomy-menu-item:hover .term-count {
  background-color: #333;
  color: #fff;
  transform: scale(1.1);
}

.oea-taxonomy-menu .taxonomy-menu-item.active .term-count {
  background-color: #fff;
  color: var(--main-color);
}

.oea-taxonomy-menu .taxonomy-menu-item:last-child {
  margin-right: 0;
}

.oea-taxonomy-menu .hidden-links {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  color: var(--main-text-color);
  background: #fff;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 999 !important;
  border-radius: 10px;
  padding: 10px 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.oea-taxonomy-menu .hidden-links.hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.oea-taxonomy-menu .hidden-links li {
  list-style: none;
  border: none;
  border-radius: 0;
  display: flex;
  justify-content: flex-end;
  color: var(--main-text-color);
  padding: 5px 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s;
}

.oea-taxonomy-menu .hidden-links li:active {
  background-color: var(--main-color);
  color: #fff;
}

.oea-taxonomy-menu .hidden-links li:not(.active):hover {
  color: var(--main-color);
}

.oea-taxonomy-menu .hidden-links li:last-child {
  margin-bottom: 0;
}

.oea-taxonomy-menu.classic {
  border-bottom: 2px solid var(--main-color);
  height: 40px;
}

.oea-taxonomy-menu.classic .oea-taxonomy-heading {
  background: var(--main-color);
  padding: 0 2rem;
  color: white;
}

.oea-taxonomy-menu.classic .taxonomy-menu-item {
  border: none;
  background: none;
}

.oea-taxonomy-menu.classic .taxonomy-menu-item.active {
  color: var(--main-color);
}

.oea-taxonomy-menu.classic .taxonomy-menu-item:hover .term-count {
  background-color: var(--main-color-transparent);
  color: #fff;
  transform: scale(1.1);
}

.oea-taxonomy-menu.classic .taxonomy-menu-item.active .term-count {
  background-color: var(--main-color);
  color: #fff;
}

.oea-taxonomy-menu.classic .dropdown-toggle {
  border: none;
  background: none;
}

.oea-taxonomy-menu.reversed {
  justify-content: flex-start !important;
  width: 100%;
  position: relative;
}

.oea-taxonomy-menu.reversed .oea-taxonomy-heading {
  margin: 0 0 0 5rem;
}

.oea-taxonomy-menu.reversed .links {
  justify-content: flex-start;
  order: 1;
  flex: unset;
}

.oea-taxonomy-menu.reversed .dropdown-toggle {
  order: 2;
  position: relative;
  z-index: 3;
}

.oea-taxonomy-menu.reversed .oea-taxonomy-heading {
  order: 3;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

.oea-no-posts-found {
  grid-column: 1 / -1;
  text-align: center;
  margin: auto;
  font-size: 1.5em;
  color: #ff6f61;
  padding: 20px;
  background-color: #fff6f6;
  border: 2px dashed #ff6f61;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease-in-out;
  max-width: 600px;
}

.oea-pagination-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}

.oea-pagination-numbers .oea-page-number {
  padding: 5px 10px;
  text-decoration: none;
  color: var(--main-text-color);
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #ddd;
  background-color: #e8e8e8;
  border-radius: 10px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-transform: capitalize;
}

.oea-pagination-numbers .oea-page-number:hover {
  background-color: #f5f5f5;
  border-color: var(--main-color);
  color: var(--main-color);
}

.oea-pagination-numbers .oea-page-number.active {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}

[id^="oea-posts-"].loading-overlay {
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

[id^="oea-posts-"].loading-overlay::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 4px solid #ccc;
  border-top-color: var(--main-color) de;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

/* Grid container for the posts */
.oea-post-grid-cards {
  display: grid;
  gap: 30px;
}

.oea-post-grid-cards .post {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.oea-post-grid-cards .post:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.oea-post-grid-cards .post-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.oea-post-grid-cards .post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  will-change: transform, filter;
}

.oea-post-grid-cards .post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(20px);
}

.oea-post-grid-cards .post-content {
  text-align: center;
}

.oea-post-grid-cards .post:hover .post-overlay {
  opacity: 1;
  transform: translateY(0);
}

.oea-post-grid-cards .post-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.oea-post-grid-cards .post-title a {
  color: #ffffff;
}

.oea-post-grid-cards .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin: 0;
}

/* .oea-post-grid-cards .post-category {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
} */

.oea-post-grid-cards .post-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.5em 0 0 0;
}

.oea-post-grid-cards .post-excerpt p {
  margin: 0;
}

.oea-post-grid-cards .read-more {
  color: white;
  font-weight: 700;
}

.oea-post-grid-cards .post-meta {
  display: inline-block;
  align-items: center;
  gap: 5px;
  font-size: 0.85em;
  color: #73757c;
  font-style: italic;
  margin-bottom: 0.5em;
  margin-right: 0.5em;
}

.oea-post-grid-cards .post-meta img {
  display: inline-block;
  border-radius: 50%;
  vertical-align: middle;
}

.oea-post-grid-cards .post-meta span {
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
  text-transform: capitalize;
  color: #ccc;
}

.oea-post-grid-cards .post-meta:last-child {
  margin-right: 0;
}

/* Grid container for the posts */
.oea-post-grid-list {
  display: grid;
  gap: 30px;
}

.oea-post-grid-list .post {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oea-post-grid-list .post:hover {
  transform: translateY(-5px);
}

.oea-post-grid-list .post-image-wrapper {
  flex: 1 1 40%;
  overflow: hidden;
  height: 100%;
}

.oea-post-grid-list .post-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  will-change: transform, filter;
}

.oea-post-grid-list .post-content {
  flex: 1 1 60%;
  padding: 20px;
}

.oea-post-grid-list .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* .oea-post-grid-list .post-category {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
} */

.oea-post-grid-list .post-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--main-text-color);
  line-height: 1.2;
}

.oea-post-grid-list .post-title a {
  color: var(--main-text-color);
}

.oea-post-grid-list .post-title:hover {
  color: #ff6200;
}

.oea-post-grid-list .post-meta {
  display: inline-block;
  align-items: center;
  gap: 5px;
  font-size: 0.85em;
  color: #73757c;
  font-style: italic;
  margin-bottom: 0.5em;
  margin-right: 0.5em;
}

.oea-post-grid-list .post-meta img {
  display: inline-block;
  border-radius: 50%;
  vertical-align: middle;
}

.oea-post-grid-list .post-meta span {
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
  text-transform: capitalize;
}

.oea-post-grid-list .post-meta:last-child {
  margin-right: 0;
}

.oea-post-grid-list .post-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.5em 0 0 0;
}

.oea-post-grid-list .post-excerpt p {
  margin: 0;
}

@media (max-width: 768px) {
  .oea-post-grid-list .post-content {
    padding: 0.5em;
  }

  .oea-post-grid-list .post-title {
    font-size: 1em;
  }
}

@media (min-width: 1025px) {
  .hide-on-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hide-on-tablet {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }

  .oea-post-grid-cards .post .post-overlay {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: translateY(20px);
  }

  .oea-post-grid-cards .post.content-visible .post-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .oea-post-grid-cards .post:hover .post-overlay {
    opacity: 0 !important;
    transform: translateY(20px) !important;
  }

  .oea-post-grid-cards .post:hover {
    transform: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
  }
}
@media (min-width: 769px) {
  .oea-post-grid-cards .post:hover .post-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-touch-hover.touch-device .post {
  animation: none !important;
  transition: none !important;
}
.no-touch-hover.touch-device .post:hover {
  animation: none !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
}

.no-touch-hover.touch-device[id^="oea-posts-"][data-image_hover_effect="scale"]
  .post:hover
  .post-image,
.no-touch-hover.touch-device[id^="oea-posts-"][data-image_hover_effect="blur"]
  .post:hover
  .post-image,
.no-touch-hover.touch-device[id^="oea-posts-"][data-image_hover_effect="grayscale"]
  .post:hover
  .post-image,
.no-touch-hover.touch-device[id^="oea-posts-"][data-image_hover_effect="sepia"]
  .post:hover
  .post-image,
.no-touch-hover.touch-device[id^="oea-posts-"][data-image_hover_effect="invert"]
  .post:hover
  .post-image,
.no-touch-hover.touch-device[id^="oea-posts-"][data-image_hover_effect="brightness"]
  .post:hover
  .post-image,
.no-touch-hover.touch-device[id^="oea-posts-"][data-image_hover_effect="contrast"]
  .post:hover
  .post-image {
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="translate_up"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="translate_down"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="scale_up"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="scale_down"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="rotate"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="tilt"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="darken"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="lighten"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="zoom_rotate"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="hover"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="none"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="pulse"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="bounce"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="flash"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="expand_contract"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="shake"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="wave"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="zoom_fade"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="circle_shake"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="slide_up_fade"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="stretch_vertical"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="stretch_horizontal"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="zigzag"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="whirl"]
  .post:hover,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="spin"]
  .post:hover {
  animation: none !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
}

.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="shine"]
  .post:hover::before,
.no-touch-hover.touch-device[id^="oea-posts-"][data-post_hover_effect="shine"]
  .post::before {
  animation: none !important;
  opacity: 0 !important;
  transform: none !important;
  transition: none !important;
}

.no-touch-hover.touch-device .post:hover *,
.no-touch-hover.touch-device .post:hover *::before,
.no-touch-hover.touch-device .post:hover *::after {
  animation: none !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
}

.no-touch-hover.touch-device .post:hover .post-overlay {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: none !important;
}
