/* Loading wrapper */
.rdi-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  font-size: 16px;
  color: #333;
}

/* Spinner */
.rdi-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #ddd;
  border-top-color: #FF6260;
  border-radius: 50%;
  animation: rdi-spin 1s linear infinite;
}

@keyframes rdi-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Animated loading text */
.rdi-loading-text {
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 18px;
  color: #000;
}

.rdi-loading-text span {
  animation: rdi-dots 1.5s infinite;
  display: inline-block;
}

.rdi-loading-text span:nth-child(2) {
  animation-delay: 0.3s;
}

.rdi-loading-text span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes rdi-dots {

  0%,
  80%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Category filter */
.rdi-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  justify-content: space-between;
  border-bottom: 1px solid #333333;
  padding-bottom: 30px
}

.rdi-cat {
  padding: 8px 10px;
  border: 1px solid #29527C;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none
}

.rdi-cat.is-active,
.rdi-cat:hover {
  background: #29527C;
  color: #fff;
  border-color: #29527C
}

/* Grid layout */
.rdi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}



/* Card */
.rdi-card {
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .20);
  display: flex;
  flex-direction: column;
  overflow: hidden
}

.rdi-card .rdi-thumb .bialty-container,
.rdi-card .rdi-thumb {
  height: 248px;
  overflow: hidden;
}

.rdi-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.rdi-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.rdi-title {
  font-size: 35px;
  line-height: 1;
  color: #333333;
  font-weight: 700;
  margin: 0 0 .5rem;
  text-transform:uppercase;
}

.rdi-meta {
  font-size: 20px;
  color: #333333;
  line-height: 26px;
  margin: 0 0 20px;
}

.rdi-excerpt {
  font-size: 20px;
  color: #333333;
  line-height: 26px;
  flex: 1
}

.rdi-btn {
  margin-top: 1rem;
  padding: .5rem 2rem;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #29527C;
  color: #29527C;
  text-decoration: none;
  text-transform: uppercase;
  align-self: flex-start;
  position: relative;
  min-width: 160px;
  text-align: center;
}
.rdi-btn:before {
  position: absolute;
  background: url(/wp-content/uploads/2025/08/submit-icon.svg) no-repeat;
  content: "";
  left:12px;
  width: 10px;
  height: 16px;
  background-size: cover;
  top: 50%;
  transform: translateY(-50%);
}
.rdi-btn:hover:before,
.rdi-btn:focus:before {
  filter: brightness(0) invert(1);
}



.rdi-btn:hover,
.rdi-btn:focus {
  background: #29527C;
  color: #fff
}

/* Pagination */
.rdi-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin: 2.7rem 0 0;
  align-items: center
}

.rdi-page {
  border: 1px solid #FF6260 !important;
  background: #fff !important;
  border-radius: 50% !important;
  width: 55px;
  height: 55px;
  text-align: center;
  cursor: pointer;
  font-size: 30px !important;
  color: #333333;
  font-family: "Karla", Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important
}

.rdi-page.is-current {
  background: #FF6260 !important;
  border-color: #FF6260 !important;
  color: #fff !important;
}

.rdi-ellipsis {
  padding: 0 .5rem;
  color: #333;
  font-size: 30px
}

.rdi-next {
  font-size: 30px;
  color: #333
}
@media(max-width:1199px) {
  .rdi-cat-filter {
    justify-content: center;
}
.rdi-title {
      font-size: 28px;
  }
}
@media(max-width:1024px) {
  .rdi-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media(max-width:992px) {
  .rdi-title {
      font-size: 26px;
  }
}

@media(max-width:767px) {
  .rdi-grid {
    grid-template-columns: 1fr
  }
  .rdi-cat {
    padding: 5px;
    border: 1px solid #29527C;
    font-size: 16px;
    font-weight: 700;
    text-transform: unset;
    text-decoration: none;
}
.rdi-meta {
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 15px;
}
.rdi-excerpt {
    font-size: 16px;
    color: #333333;
    line-height: 24px;
    flex: 1;
}
.rdi-page {
	width: 22px !important;
	font-size: 16px !important;
	height: 22px !important;
	padding: 15px !important;
	min-height: auto !important;
}
.rdi-pagination {
  margin: 1.5rem 0 0;
}
.rdi-ellipsis {
	padding: 0 3px;
	color: #333;
	font-size: 20px;
}
}