/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */


.splide__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 500px;
  border: 2px solid #151515;
  background-color: transparent;
  color: #151515;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  position: static;
  transform: none;
  top: auto;
  opacity: 1;
}
.splide__arrow--next {
  background-color: #0373f3;
  border-color: #0373f3;
  color: #fff;
  opacity: 1;
}
.splide__arrow:hover {
  background-color: #151515;
  border-color: #151515;
  color: #fff;
}
.splide__arrow--next:hover {
  background-color: #0252b0;
  border-color: #0252b0;
}
.splide__pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.splide__pagination__page {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #d1d5db;
  transition: background 0.2s;
}
.splide__pagination__page.is-active {
  background: #3b82f6;
  opacity: 1;
}

.splide__track {
  padding-bottom: 60px;
}

.splide__arrows {
  position: relative;
}

.custom-splide-arrows {
  position: relative;
  margin-top: 24px;
}

.splide-nav-divider {
  border: none;
  border-top: 1px solid #151515;
  margin: 0;
  opacity: 0.2;
}

.splide-nav-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 14px;
}

@media (min-width:769px) {
  .custom-splide-arrows.splide-arrows-hidden { 
    display: none;
  }
}

@media (min-width: 48rem) {
  .wp-block-latest-news {
    max-width: 100%;
  }
}

.latest-post-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.latest-post-categories-more {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}

.latest-post-categories-more:hover,
.latest-post-categories-more:focus-visible {
  color: #0373f3;
  text-decoration: underline;
}

.tippy-box[data-theme~='latest-news'] .tippy-content {
  padding: 0.375rem 0.5rem;
}

.latest-news-category-tooltip-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
}

.latest-news-category-tooltip-list > span {
  margin: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-transform: none;
}

/* Latest News Grid — responsive columns */
.latest-news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .latest-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .latest-news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
