.gs-cb-block {
  padding: 20px;
  margin: 30px 0;
  border-radius: 6px;
}

.gs-cb-title {
  margin: 0 0 15px;
  font-size: 1.2em;
  font-weight: bold;
}

.gs-cb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.gs-cb-article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
  background-color: transparent;
}

.gs-cb-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;
}

.gs-cb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Optional: distinguish visual sizes */
.gs-cb-thumb.size-small {
  max-width: 150px;
  margin: 0 auto;
}

.gs-cb-thumb.size-medium {
  max-width: 300px;
  margin: 0 auto;
}

.gs-cb-thumb.size-large {
  max-width: 450px;
  margin: 0 auto;
}

.gs-cb-category {
  font-size: 0.75em;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 3px;
}

.gs-cb-title-link {
  font-weight: bold;
  text-decoration: none;
  display: block;
  line-height: 1.4;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.gs-cb-title-link:hover {
  opacity: 0.8;
}

.gs-cb-meta-extra {
  font-size: 0.75em;
}

.gs-cb-author,
.gs-cb-date {
  display: inline-block;
  margin-right: 8px;
  font-weight: normal;
  color: inherit;
}

.gs-cb-block.layout-2 .gs-cb-article {
  flex: 1 1 calc(50% - 20px);
}

.gs-cb-block.layout-3 .gs-cb-article {
  flex: 1 1 calc(33.333% - 20px);
}

.gs-cb-block.layout-4 .gs-cb-article {
  flex: 1 1 calc(25% - 20px);
}

@media (max-width: 768px) {
  .gs-cb-article {
    flex: 1 1 100% !important;
  }

  .gs-cb-thumb.size-small,
  .gs-cb-thumb.size-medium,
  .gs-cb-thumb.size-large {
    max-width: 100%;
  }
}

.gs-cb-related-box {
  background-color: #1e284a;
  padding: 15px;
  margin: 30px 0;
  color: white;
  font-size: 0.9em;
  border-radius: 4px;
}

.gs-cb-related-box h5 {
  margin: 0 0 15px;
  font-weight: bold;
  font-size: 1em;
}

.gs-cb-related-box a {
  color: white;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.gs-cb-related-box a:hover {
  color: #cccccc;
}

.gs-cb-block.layout-1 .gs-cb-article {
  flex: 1 1 100%;
}

/* Layout: Newsfeed */
.gs-cb-newsfeed-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.gs-cb-newsfeed-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.gs-cb-newsfeed-item .gs-cb-thumb {
  flex: 0 0 100px;
  max-width: 100px;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
}

.gs-cb-newsfeed-item .gs-cb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-cb-newsfeed-item .gs-cb-content {
  flex: 1;
}

.gs-cb-newsfeed-item .gs-cb-category {
  font-size: 0.75em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 3px;
  opacity: 1;
}

.gs-cb-newsfeed-item .gs-cb-title-link {
  font-size: 0.95em;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  line-height: 1.4;
}

.gs-cb-newsfeed-item .gs-cb-meta-extra {
  font-size: 0.75em;
}

.gs-cb-newsfeed-item .gs-cb-author,
.gs-cb-newsfeed-item .gs-cb-date {
  display: inline-block;
  margin-right: 8px;
  font-weight: normal;
  color: inherit;
}

/* Προαιρετική κλάση bold (αν ποτέ χρησιμοποιηθεί αντί για inline) */
.gs-cb-title-bold {
  font-weight: bold;
}

/* Κουμπί "Όλες οι Ειδήσεις" */
.gs-cb-more-button-wrapper {
  margin-top: 20px;
  text-align: center;
}

.gs-cb-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f60;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 0.9em;
}

.gs-cb-more-button:hover {
  background-color: #e05000;
  color: #fff;
}

.gs-cb-more-button i {
  margin-right: 5px;
  vertical-align: middle;
}
