/* Orientamenti Vetrine — base layout (override nel tema) */
.ov-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.ov-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.ov-lead {
  color: #444;
  margin-bottom: 2rem;
}

.ov-filters {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f5f7fa;
  border-radius: 8px;
}

.ov-filters__group legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ov-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
  padding: 0.35rem 0.75rem;
  background: #fff;
  border: 1px solid #ccd3dc;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}

.ov-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #0066a1;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}

.ov-btn--ghost {
  background: transparent;
  color: #0066a1;
  border: 1px solid #0066a1;
}

.ov-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ov-tab {
  padding: 0.5rem 1rem;
  border: 1px solid #ccd3dc;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.ov-tab.is-active {
  background: #0066a1;
  color: #fff;
  border-color: #0066a1;
}

.ov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ov-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.ov-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ov-card__link {
  display: block;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}

.ov-card__thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.ov-card__title {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.1rem;
}

.ov-card__sub {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.ov-card__bookmark {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 1.1rem;
}

.ov-card__bookmark.is-active {
  color: #dba617;
}

.ov-vetrina-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ov-vetrina-hero {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.ov-vetrina-body {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .ov-vetrina-body {
    grid-template-columns: 2fr 1fr;
  }
}

.ov-badge {
  display: inline-block;
  margin: 0.15rem;
  padding: 0.2rem 0.6rem;
  background: #e8f4fc;
  color: #0066a1;
  border-radius: 4px;
  font-size: 0.85rem;
}

.ov-evidenza__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.ov-evidenza__card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
}

.ov-evidenza__card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.ov-evidenza__title {
  display: block;
  padding: 0.75rem;
  font-weight: 600;
}

.ov-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: #666;
}

.ov-area-espositore {
  max-width: 720px;
  margin: 0 auto;
}

.ov-area-espositore__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ov-form-msg--ok {
  color: #0a6b0a;
}

.ov-form-msg--err {
  color: #b32d2e;
}

.ov-editor-espositore {
  max-width: 800px;
  margin: 0 auto;
}

.ov-editor-espositore__notice {
  background: #f0f6fa;
  border-left: 4px solid #0066a1;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}

.ov-editor-fieldset {
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.ov-editor-fieldset legend {
  font-weight: 700;
  padding: 0 0.5rem;
}

.ov-sezioni-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.ov-sezione-card {
  border: 1px solid #ccd3dc;
  border-radius: 8px;
  background: #fafbfc;
}

.ov-sezione-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #eef2f6;
  border-bottom: 1px solid #dde3ea;
}

.ov-sezione-card__body {
  padding: 1rem;
}

.ov-sezione-remove {
  background: none;
  border: none;
  color: #b32d2e;
  cursor: pointer;
  text-decoration: underline;
}

.ov-media-preview img {
  max-width: 200px;
  height: auto;
}

.ov-btn--primary {
  font-size: 1.05rem;
}
