/* =========================================
   GO SAMOS – ΠΡΟΒΕΒΛΗΜΕΝΕΣ ΕΠΙΧΕΙΡΗΣΕΙΣ
   ΑΡΧΙΚΗ ΣΕΛΙΔΑ
   ========================================= */


/* =========================================
   1. ΤΙΤΛΟΣ ΕΝΟΤΗΤΑΣ
   ========================================= */

.gosamos-home-featured-businesses .gosamos-featured-heading {
  margin: 0 0 22px;
  text-align: center;
}

.gosamos-home-featured-businesses .gosamos-featured-heading h5 {
  margin: 0;
  padding: 0;

  color: #3d3d3d;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}


/* =========================================
   2. GRID – ΚΕΝΤΡΑΡΙΣΜΑ ΚΑΡΤΩΝ
   ========================================= */

.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;

  gap: 28px;

  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* =========================================
   3. DESKTOP – COMPACT ΚΑΡΤΕΣ
   ========================================= */

@media (min-width: 992px) {

  .gosamos-home-featured-businesses
  #views-bootstrap-banner-stin-1i-selida-block-1
  > [class*="col-"] {
    flex: 0 0 230px !important;
    width: 230px !important;
    max-width: 230px !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* =========================================
   4. ΕΙΚΟΝΑ ΚΑΡΤΑΣ
   ========================================= */

.gosamos-home-featured-businesses
.views-field-field-image .field-content,
.gosamos-home-featured-businesses
.views-field-field-image a {
  display: block;
  overflow: hidden;

  border-radius: 14px 14px 0 0;
}

.gosamos-home-featured-businesses
.views-field-field-image img {
  display: block;
  width: 100%;
  height: auto;

  margin: 0 !important;

  border-radius: 0 !important;
}


/* =========================================
   5. ΠΕΡΙΟΧΗ ΤΙΤΛΟΥ ΚΑΡΤΑΣ
   ========================================= */

.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1
> [class*="col-"]
> div:not(.views-field) {
  margin: 0;
  padding: 10px 12px;

  background: #f4f7fa;

  color: #17324d;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;

  text-align: center;

  border-radius: 0 0 12px 12px;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
}


/* =========================================
   6. ΤΙΤΛΟΣ / LINK ΕΠΙΧΕΙΡΗΣΗΣ
   ========================================= */

.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1
> [class*="col-"]
> div:not(.views-field)
> span {
  display: block;

  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;

  text-align: center;
}

.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1
> [class*="col-"]
> div:not(.views-field)
a,
.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1
> [class*="col-"]
> div:not(.views-field)
a:link,
.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1
> [class*="col-"]
> div:not(.views-field)
a:visited {
  color: #17324d !important;

  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;

  text-decoration: none !important;

  transition: color 0.2s ease;
}


/* =========================================
   7. HOVER ΤΙΤΛΟΥ
   ========================================= */

.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1
> [class*="col-"]
> div:not(.views-field)
a:hover,
.gosamos-home-featured-businesses
#views-bootstrap-banner-stin-1i-selida-block-1
> [class*="col-"]
> div:not(.views-field)
a:focus {
  color: #0877b9 !important;
  text-decoration: none !important;
}


/* =========================================
   8. TABLET
   ========================================= */

@media (min-width: 576px) and (max-width: 991.98px) {

  .gosamos-home-featured-businesses .gosamos-featured-heading {
    margin-bottom: 20px;
  }

  .gosamos-home-featured-businesses .gosamos-featured-heading h5 {
    font-size: 18px;
  }

  .gosamos-home-featured-businesses
  #views-bootstrap-banner-stin-1i-selida-block-1 {
    gap: 22px;
  }
}


/* =========================================
   9. MOBILE
   ========================================= */

@media (max-width: 575.98px) {

  /* Τίτλος ενότητας */
  .gosamos-home-featured-businesses .gosamos-featured-heading {
    margin-bottom: 16px;
  }

  .gosamos-home-featured-businesses .gosamos-featured-heading h5 {
    font-size: 16px;
    line-height: 1.25;
  }

  /* Απόσταση μεταξύ καρτών */
  .gosamos-home-featured-businesses
  #views-bootstrap-banner-stin-1i-selida-block-1 {
    gap: 18px;
  }

  /* Τίτλος επιχείρησης */
  .gosamos-home-featured-businesses
  #views-bootstrap-banner-stin-1i-selida-block-1
  > [class*="col-"]
  > div:not(.views-field) {
    padding: 9px 10px;

    font-size: 16px;
    line-height: 1.35;
  }
}

/* Για τον τίτλο Προβεβλημένες επιχειρήσεις */ 
/* =========================================
   ΠΡΟΒΕΒΛΗΜΕΝΕΣ ΕΠΙΧΕΙΡΗΣΕΙΣ - HEADING
   ========================================= */

.gosamos-home-featured-businesses .gosamos-featured-heading {
  margin: 0 0 24px;
  text-align: center;
}

.gosamos-home-featured-businesses .gosamos-featured-heading h2 {
  margin: 0 0 6px;

  color: #3d3d3d;

  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.gosamos-home-featured-businesses .gosamos-featured-heading p {
  margin: 0;

  color: #5f6872;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}


/* Mobile */
@media (max-width: 767px) {

  .gosamos-home-featured-businesses .gosamos-featured-heading {
    margin-bottom: 20px;
    padding: 0 2px;
  }

  .gosamos-home-featured-businesses .gosamos-featured-heading h2 {
    font-size: 25px;
  }

  .gosamos-home-featured-businesses .gosamos-featured-heading p {
    font-size: 14px;
  }
}