/* ===================== */
/* GRID WIDGET (container) */
/* ===================== */
/* #grid-widget img {
  width: 100%;
  height: 430px;
  object-fit: cover;
} */


#grid-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#grid-items {
  display: flex;
  gap: 20px;
  width: 100%;
}

.grid-item {
  box-sizing: border-box;
  width: 100%;
}
#grid-widget .country-bubble {
  width: auto;
  height: auto;
  top: 12px;
  right: 12px;
  position: absolute;
}
/* ===================== */
/* CONTENT & LINKS */
/* ===================== */
.content-box a,
.grid-inner a {
  text-decoration: none;
}

.content-box h4,
.slide-inner h4 {
  color: #003366;
  padding-top: 8px;
  font-weight: bold;
}

.content-box h4:hover,
.slide-inner h4:hover {
  text-decoration: underline;
}

.content-box p,
.meta .price,
.meta .country,
.slide-inner p,
.slide-inner .meta .country,
.slide-inner .meta .price {
  font-size: 12px;
  font-weight: bold;
  color: #666;
}

.grid-inner .meta,
.slide-inner .meta {
  display: flex;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 12px;
}

.meta .price {
  margin-right: auto;
}
.meta .country {
  margin-left: 3px;
  font-family: Inter, sans-serif;
}

.grid-inner a .more-info {
  font-size: 14px;
  text-transform: uppercase;
  color: #000;
}

.content-box {
  min-height: 80px;
}

/* ===================== */
/* READ MORE ARROW */
/* ===================== */
#read-more {
  position: absolute;
  bottom: 12px;
  right: 20px;
  color: white;
  font-size: 40px;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.grid-item:hover #read-more,
.carousel-slide:hover #read-more {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===================== */
/* THUMBNAILS */
/* ===================== */
.thumb {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(130deg, #009462 40%, #002D73 100%);
}

.thumb-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, .9);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
}

.image-box {
  position: relative;
}

/* ===================== */
/* CAROUSEL */
/* ===================== */
#carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#carousel-slides {
  display: flex;
  gap: 16px;
  margin: 65px;
}

.carousel-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
}

#carousel-slides img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  pointer-events: none; /* για drag */
  user-drag: none;
  -webkit-user-drag: none;
}

.slide-inner > a {
  display: flex;
  flex-direction: column;
}

.carousel {
  position: relative;
  margin-top: 20px;
}

.carousel-btn.next {
  position: absolute;
  right: clamp(8px, 1.4vw, 14px);
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  z-index: 20;
}

/* ===================== */
/* UTILITIES */
/* ===================== */
.clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#prevPage,
#nextPage {
  font-family: "Material Symbols Outlined";
}


/* thumbnail titles */

#thumb-title-wrap {
  position: absolute;
  height: 90%;
  padding: 12px;
  display: flex;
  align-items: flex-end;
}

#thumb-title {
  min-height: 100px;
  font-family: Inter;
  color: white;
  font-size: 30px;
  line-height: 1.2;
}

#thumb-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}