/* FerryEU ferry-companies.html page-specific styles */
.operator-search-card {
  text-align: center;
}

.operator-search-card h2 {
  margin: 0 0 .7rem;
}

.operator-filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.operator-filter-row p {
  margin: 0;
  color: #5b6773;
}

.operator-filter-row select {
  width: 230px;
  min-height: 42px;
  border: 1px solid #d8e0e7;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  font: inherit;
  color: #16324a;
}

.operator-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d8e0e7;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
}

.operator-search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 15px 0;
  font: inherit;
  background: transparent;
}

.az-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.az-filter button {
  min-width: 34px;
  height: 34px;
  border: 1px solid #d8e0e7;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  color: #16324a;
}

.az-filter button:hover,
.az-filter button.active {
  background: #062b4f;
  color: #fff;
  border-color: #062b4f;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.operator-card {
  overflow: hidden;
  border: 1px solid #e2e8ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 43, 79, .06);
}

.operator-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #edf2f5;
}

.operator-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.operator-card:hover .operator-card-image img {
  transform: scale(1.025);
}

.operator-card-copy {
  padding: 18px;
}

.operator-card-copy h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.operator-card-copy h3 a {
  text-decoration: none;
  color: inherit;
}

.operator-card-copy p {
  margin: 0 0 14px;
  color: #5b6773;
  line-height: 1.55;
}

.operator-no-results {
  text-align: center;
  padding: 30px 0;
  font-weight: 700;
}

.operator-card[hidden] {
  display: none !important;
}

.operator-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 42px;
  align-items: center;
  width: 100%;
}

.operator-hero-copy {
  min-width: 0;
}

.operator-hero-search {
  background: rgba(255, 255, 255, .96);
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
}

.operator-hero-search .operator-search-box {
  height: 52px;
}

.operator-hero-search .operator-search-box input {
  padding: 10px 0;
}

.operator-filter-section {
  padding-top: 0;
  margin-top: -115px;
  position: relative;
  z-index: 5;
}

.operator-filter-section .search-card {
  box-shadow: 0 14px 38px rgba(0, 0, 0, .20);
}

.operator-filter-section .operator-search-card {
  padding-top: 22px;
  padding-bottom: 22px;
}

@media (max-width: 1100px) {
  .operator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .operator-hero-layout { grid-template-columns: 1fr; gap: 22px; }
  .operator-hero-search { max-width: 460px; }
  .operator-filter-section { margin-top: -70px; }
}

@media (max-width: 800px) {
  .operator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .operator-grid { grid-template-columns: 1fr; }
  .az-filter { gap: 5px; }
  .az-filter button { min-width: 32px; }
  .operator-filter-row { flex-direction: column; }
  .operator-filter-row select { width: min(100%, 280px); }
}


/* Hero refinement — match the approved homepage/destinations overlay treatment */
.hero-overlay-clean{
  background:linear-gradient(90deg,rgba(3,31,59,.92) 0%,rgba(6,43,79,.78) 48%,rgba(6,43,79,.30) 78%,rgba(6,43,79,.12) 100%);
}
.hero-content-clean{color:#fff;}
.hero-content-clean h1{
  max-width:830px;
  color:#fff;
  text-shadow:none;
}
.hero-content-clean .hero-lead{
  max-width:720px;
  color:#edf5fa;
}
.hero-content-clean .section-kicker{margin-bottom:12px;}
@media(max-width:760px){
  .hero-overlay-clean{background:linear-gradient(90deg,rgba(3,31,59,.94) 0%,rgba(6,43,79,.84) 62%,rgba(6,43,79,.56) 100%);}
  .hero-content-clean .hero-lead{max-width:90%;}
}
