/* Editorial modules: catalogue, comparison, curated reading and search states. */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  padding: 24px;
  background: #f0f3ed;
  border-radius: 20px;
  margin: 28px 0;
}
.catalog-filters label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  flex: 1 1 140px;
}
.catalog-filters input,
.catalog-filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bac7bd;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
  color: #173d33;
}
.catalog-filters .text-link {
  padding: 12px 0;
}
.comparison-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 20px 0 28px;
}
.comparison-toolbar p {
  max-width: 540px;
  line-height: 1.7;
  color: #52645a;
}
.comparison-toolbar strong {
  display: block;
  color: #173d33;
}
.breed-dossier {
  padding: 26px;
  border: 1px solid #d6dfd6;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s;
}
.breed-dossier:hover {
  border-color: #35705c;
}
.dossier-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.breed-dossier h2 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 28px 0 12px;
}
.breed-dossier p {
  line-height: 1.7;
  color: #52645a;
}
.breed-dossier dl {
  margin: 20px 0;
  flex: 1;
}
.breed-dossier dl div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  border-top: 1px solid #e4e9e1;
  padding: 12px 0;
  font-size: 13px;
}
.breed-dossier dt {
  color: #52645a;
}
.breed-dossier dd {
  margin: 0;
  font-weight: 600;
}
.dossier-bottom {
  display: grid;
  gap: 20px;
}
.dossier-bottom label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
}
.dossier-bottom input {
  width: 20px;
  height: 20px;
  accent-color: #173d33;
  flex-shrink: 0;
}
.comparison-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid #cdd8ce;
  border-radius: 16px;
  margin: 32px 0;
}
.comparison-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
}
.comparison-table caption {
  text-align: left;
  padding: 20px;
  color: #52645a;
  font-size: 13px;
}
.comparison-table th,
.comparison-table td {
  text-align: left;
  vertical-align: top;
  padding: 24px;
  border-bottom: 1px solid #e1e7dd;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.comparison-table thead th {
  background: #173d33;
  color: #fff;
  font-size: 21px;
}
.comparison-table thead th:first-child {
  width: 20%;
  font-size: 14px;
}
.comparison-table small {
  display: block;
  font-size: 12px;
  color: #d0e5b4;
}
.comparison-table tbody th {
  background: #f1f4ee;
}
.comparison-table tr:last-child > * {
  border-bottom: 0;
}
.editor-selection {
  background: #173d33;
  color: #fff;
  padding: 48px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
}
.editor-selection .eyebrow {
  color: #c4e995;
}
.editor-selection h2 {
  font-size: 38px;
  letter-spacing: -1.5px;
}
.editor-selection p {
  color: #d4dfd4;
  line-height: 1.8;
}
.editor-links a {
  display: block;
  border-top: 1px solid #5d7b6b;
  padding: 24px 0;
}
.editor-links a:first-child {
  border-top: 0;
  padding-top: 0;
}
.editor-links a:last-child {
  padding-bottom: 0;
}
.editor-links span {
  font-size: 12px;
  letter-spacing: 1px;
  color: #c4e995;
}
.editor-links h3 {
  font-size: 25px;
  margin: 12px 0;
}
.editor-links strong {
  font-size: 13px;
  color: #d6f0ac;
}
.care-health {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.care-health h2 {
  font-size: 36px;
  letter-spacing: -1px;
}
.care-health > div > a:not(.text-link) {
  display: block;
  border-top: 1px solid #d1dccf;
  padding: 20px 0;
}
.care-health h3 {
  font-size: 20px;
  line-height: 1.5;
  margin: 6px 0;
}
.care-health span {
  color: #53665a;
  font-size: 12px;
}
.care-health .text-link {
  display: inline-block;
  margin-top: 20px;
}
.health-panel {
  background: #edf1e5;
  border-radius: 22px;
  padding: 34px;
}
.health-panel p {
  line-height: 1.8;
  color: #435b4a;
}
.breed-detail .article-header {
  border-left: 5px solid #a9d681;
  padding-left: 28px;
}
.breed-profile-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  padding: 26px;
  background: #173d33;
  color: #fff;
  border-radius: 16px;
  margin: 28px 0 48px;
}
.breed-profile-bar > div {
  flex: 1 1 140px;
}
.breed-profile-bar span {
  display: block;
  color: #cae2b5;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.breed-profile-bar strong {
  font-size: 16px;
}
.breed-profile-bar .button {
  background: #d3edac;
  color: #173d33;
}
.breed-detail .breed-facts {
  border: 1px solid #d3dfce;
  padding: 24px;
  border-radius: 16px;
}
.search-feedback {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  box-shadow: 0 16px 40px #173d331a;
  border: 1px solid #d3dfce;
  border-radius: 14px;
  padding: 20px;
  color: #435b4a;
  font-size: 14px;
}
.search-feedback[data-loading="true"]::after {
  content: "";
  display: block;
  height: 12px;
  max-width: 65%;
  background: #e7ede3;
  border-radius: 6px;
  margin-top: 14px;
}
.search-suggestions [aria-selected="true"] {
  background: #edf3e6;
  outline: 2px solid #35705c;
  outline-offset: -2px;
}
@media (max-width: 800px) {
  .editor-selection {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
  .care-health {
    gap: 24px;
  }
  .comparison-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .catalog-filters {
    padding: 18px;
  }
  .breed-profile-bar {
    gap: 20px;
  }
  .breed-detail .article-header {
    padding-left: 18px;
  }
}
@media (max-width: 600px) {
  .care-health {
    grid-template-columns: 1fr;
  }
  .health-panel {
    padding: 24px;
  }
  .editor-selection h2,
  .care-health h2 {
    font-size: 30px;
  }
  .breed-dossier {
    padding: 22px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 16px;
  }
  .catalog-filters label {
    flex-basis: calc(50% - 16px);
  }
  .catalog-filters label:first-child {
    flex-basis: 100%;
  }
  .breed-profile-bar .button {
    width: 100%;
  }
  .search-feedback {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .breed-dossier {
    transition: none;
  }
}
