/* Only the requested images, home search, shipping flags and brood section. */
body.dh-home #dh-home-search,
body.dh-home #dh-home-search:focus,
body.dh-home #dh-home-search:focus-visible {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}
body.dh-home #dh-home-search::placeholder {
  font: inherit;
  opacity: 1;
}
/* A 16px input prevents automatic zoom on iOS; the placeholder stays quieter. */
@media (max-width: 700px) {
  body.dh-home #dh-home-search,
  body.dh-home #dh-home-search:focus,
  body.dh-home #dh-home-search:focus-visible { font-size: 16px; }
  body.dh-home #dh-home-search::placeholder { font-size: 13px; }
}
/* Fit the complete aquarium photograph on wide displays, aligned with the right edge. */
@media (min-width: 1024px) {
  body.dh-home .dh-portal .dh-hero-photo {
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
    mask-image: linear-gradient(90deg, transparent, #000 24%);
  }
}
/* Retain the original 3:2 image instead of cropping the tall fins into a fixed height. */
.species-card[href*="/wissen/beifische/"][href*="skalar"] > img,
.species-hero img[src*="skalar.webp"],
.species-compare-image img[src*="skalar.webp"],
img.species-compare-image[src*="skalar.webp"] {
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 3 / 2;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
  width: 100%;
}
/* Eliminate the second inset and give the text the wider column on desktop. */
@media (min-width: 901px) {
  .dh-knowledge-article .history-page-v2 .history-section.brood-section {
    box-sizing: border-box;
    width: min(var(--hp-width, 1120px), calc(100% - 2 * var(--hp-gutter, 32px))) !important;
    max-width: var(--hp-width, 1120px) !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap: clamp(28px, 3vw, 48px) !important;
    align-items: center !important;
  }
  .dh-knowledge-article .history-page-v2 .brood-section > * { min-width: 0; }
  .dh-knowledge-article .history-page-v2 .brood-section h2 {
    font-size: clamp(30px, 2.6vw, 40px) !important;
    line-height: 1.18 !important;
    text-wrap: pretty;
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  .dh-knowledge-article .history-page-v2 .history-section.brood-section {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
/* Real SVG flags work on Windows as well as macOS, iOS and Android. */
.shipping-v3 img.dh-country-flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  max-width: none;
  object-fit: contain;
  flex: 0 0 24px;
  vertical-align: -.15em;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #153c431a;
  margin-right: 8px;
  pointer-events: none;
}
.shipping-v3 .dh-country-picker { position: relative; width: 100%; }
.shipping-v3 .dh-country-trigger {
  width: 100%; min-height: 48px; padding: 11px 14px;
  display: flex; align-items: center; gap: 0;
  background: #fff; color: var(--sv-ink, #153c43);
  border: 1px solid #bbd2d7; border-radius: 7px;
  font: inherit; font-size: 15px; text-align: left; cursor: pointer;
}
.shipping-v3 .dh-country-trigger::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin: -4px 2px 0 auto; flex-shrink: 0;
}
.shipping-v3 .dh-country-trigger:focus-visible {
  outline: 2px solid #087f8d; outline-offset: 3px;
}
.shipping-v3 .dh-country-list {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  max-height: min(330px, 45vh); overflow: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid #bbd2d7; border-radius: 8px;
  padding: 5px; box-shadow: 0 10px 28px #153c4324;
}
.shipping-v3 .dh-country-list[hidden] { display: none; }
.shipping-v3 .dh-country-option {
  display: flex; align-items: center; min-height: 42px; padding: 9px 10px;
  font: inherit; font-size: 14px; color: var(--sv-ink, #153c43);
  border-radius: 4px; cursor: pointer;
}
.shipping-v3 .dh-country-option[aria-selected="true"] { background: #eaf4f4; font-weight: 650; }
.shipping-v3 .dh-country-option.is-active { outline: 2px solid #087f8d; outline-offset: -2px; }
.shipping-v3 .dh-country-option:hover { background: #f0f7f7; }
.shipping-v3 .dh-country-option[aria-disabled="true"] { opacity: .5; cursor: default; }

.shipping-v3 #sv-country[hidden] { display: none !important; }
