.variety-seo-profile h2{font-size:1.45rem;margin:28px 0 12px}
.profile-hero{margin:24px 0;border-radius:14px;background:#edf2eb;overflow:hidden;min-height:240px;display:flex;justify-content:center;align-items:center}
.profile-hero img{width:100%;height:min(52vw,410px);object-position:center}
.profile-placeholder{font-weight:650;color:#68786b;padding:24px;text-align:center}
.profile-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:14px 0 25px}
.profile-facts div{padding:11px 14px;border:1px solid #dce7d8;background:#f4f8f1;border-radius:10px}
.profile-facts dt{font-size:.78rem;font-weight:650;color:#597563}
.profile-facts dd{margin:4px 0 0;color:#285139;font-weight:700;overflow-wrap:anywhere}
.profile-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:11px;margin:16px 0 22px}
.profile-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#f3f6f1;border-radius:9px}
.profile-primary{display:inline-flex;background:#2d603c;color:white;border-radius:10px;padding:12px 18px;text-decoration:none;font-weight:700}
.profile-primary:hover{color:white;background:#204b2e}
.profile-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));gap:16px}
.profile-card{background:white;border:1px solid #dce5d9;border-radius:13px;overflow:hidden}
.profile-card-link{display:block;text-decoration:none;color:#275536}
.profile-card-link:hover{background:#f6faf4;color:#275536}
.profile-card-link img,.profile-thumb-fallback{width:100%;height:174px;display:flex;align-items:center;justify-content:center;background:#f0f4ed;object-fit:contain}
.profile-card-content{display:grid;gap:5px;padding:14px}
.profile-card-content small{font-size:.72rem;color:#69806a}
.profile-card-content strong{font-family:Georgia,serif;font-size:1.22rem}
@media(max-width:600px){.profile-hero img{height:290px}.profile-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))}.profile-card-link img,.profile-thumb-fallback{height:130px}}

/* Prehľadné filtre verejného archívu odrôd */
.profile-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px;margin:22px 0 12px;border:1px solid #dce7d8;border-radius:14px;background:#f5f8f2}
.profile-filter-field{flex:1 1 200px;min-width:0;display:grid;gap:6px}
.profile-filter-field label{font-size:.85rem;font-weight:650;color:#315b3b}
.profile-filter-field input,.profile-filter-field select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #b5c9b3;border-radius:9px;background:#fff;color:#243e2b;font:inherit}
.profile-filter-field input:focus-visible,.profile-filter-field select:focus-visible,.profile-reset:focus-visible,.profile-card-link:focus-visible{outline:3px solid #7ba781;outline-offset:2px}
.profile-reset{min-height:44px;padding:10px 14px;border:1px solid #9eba9a;border-radius:9px;background:#fff;color:#285139;font:inherit;font-weight:600;cursor:pointer}
.profile-reset:hover{background:#e4eee0}
.profile-result-count{margin:10px 0 18px;font-size:.9rem;font-weight:600;color:#41634a}
.profile-empty{margin:18px 0 25px;padding:16px;border:1px dashed #c2d3bd;border-radius:10px;color:#41634a}
.profile-card[hidden],.profile-empty[hidden]{display:none!important}
@media(max-width:600px){.profile-filters{padding:14px}.profile-filter-field{flex-basis:100%}.profile-reset{width:100%}}

/* Odkazy na ďalšie verejné odrody a existujúce pestovateľské články */
.profile-explore{margin:30px 0 4px;padding:20px;border:1px solid #dce7d8;border-radius:13px;background:#f7faf5}
.profile-explore h2{margin:0 0 14px;font-size:1.3rem}
.profile-explore h3{margin:16px 0 8px;font-size:.98rem;color:#315b3b}
.profile-explore ul{display:flex;flex-wrap:wrap;gap:9px;list-style:none;padding:0;margin:0}
.profile-explore li a{display:inline-block;padding:9px 12px;border:1px solid #c4d7c0;border-radius:9px;background:white;color:#285139;text-decoration:none}
.profile-explore li a:hover,.profile-explore li a:focus-visible{background:#eaf3e8;text-decoration:underline}

.profile-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.profile-marker{display:inline-flex;align-items:center;padding:11px 16px;border-radius:9px;text-decoration:none;font-weight:700;border:1px solid #a2c69b;background:#f2f9f0;color:#285638}
.profile-marker:hover{background:#e5f1e2;color:#20452d}
.profile-marker:focus-visible{outline:3px solid #8ac48a;outline-offset:2px}
.profile-marker[hidden]{display:none!important}


/* Zjednotenie verejných profilov s hlavným katalógom Herba et Fructus.
   Tieto pravidlá sa zachovajú aj pri automatickom pre-generovaní /odrody/. */
body.hf-unified-page:has(.profile-grid) .article-container{
  width:min(100% - 32px,1200px);
  max-width:1200px;
  padding:30px 0 72px;
}
body.hf-unified-page .breadcrumbs{
  font-family:"Poppins",sans-serif;
  font-size:.85rem;
  color:#718096;
}
body.hf-unified-page .archive-heading{
  position:relative;
  overflow:hidden;
  margin-bottom:22px;
  padding:clamp(25px,4vw,48px);
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:linear-gradient(115deg,#e8f0e9 0%,#fff 75%);
  box-shadow:0 4px 6px -1px rgba(0,0,0,.05);
}
body.hf-unified-page .archive-heading h1{
  margin:8px 0 12px;
  font:700 clamp(2rem,4vw,3rem)/1.2 "Playfair Display",Georgia,serif;
  color:#2c5530;
}
body.hf-unified-page .archive-heading>p:last-child{
  max-width:780px;
  margin:0;
  font-size:1rem;
  line-height:1.8;
  color:#4a5b50;
}
body.hf-unified-page .profile-filters{
  padding:18px 20px;
  margin:0 0 14px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 6px -1px rgba(0,0,0,.05);
}
body.hf-unified-page .profile-filter-field label{
  font:600 .84rem/1.5 "Poppins",sans-serif;
  color:#2d3748;
}
body.hf-unified-page .profile-filter-field input,
body.hf-unified-page .profile-filter-field select{
  font-family:"Poppins",sans-serif;
  border-color:#d5dfd7;
  border-radius:10px;
}
body.hf-unified-page .profile-reset{
  font-family:"Poppins",sans-serif;
  border:1px solid #cbdccf;
  border-radius:30px;
  padding-inline:20px;
  background:#e8f0e9;
  color:#2c5530;
}
body.hf-unified-page .profile-grid{
  grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));
  gap:20px;
}
body.hf-unified-page .profile-card{
  min-width:0;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 4px 6px -1px rgba(0,0,0,.05);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
body.hf-unified-page .profile-card:hover,
body.hf-unified-page .profile-card:focus-within{
  transform:translateY(-3px);
  border-color:#bad2bd;
  box-shadow:0 16px 26px -8px rgba(28,60,35,.15);
}
body.hf-unified-page .profile-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
  color:#2d3748;
}
body.hf-unified-page .profile-card-link:hover{background:#fff;color:#2c5530}
body.hf-unified-page .profile-card-link img,
body.hf-unified-page .profile-thumb-fallback{
  display:flex;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:contain;
  background:#f3f6f1;
}
body.hf-unified-page .profile-card-content{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  padding:16px 18px 19px;
}
body.hf-unified-page .profile-card-content small{
  font:600 .72rem/1.6 "Poppins",sans-serif;
  letter-spacing:.02em;
  color:#c05621;
}
body.hf-unified-page .profile-card-content strong{
  font:700 1.22rem/1.35 "Playfair Display",Georgia,serif;
  color:#2c5530;
}
body.hf-unified-page .page-footer{
  font-family:"Poppins",sans-serif;
  background:#fff;
  border-color:#e2e8f0;
}
body.hf-unified-page .variety-seo-profile .profile-primary{
  border-radius:30px;
  background:#2c5530;
  font-family:"Poppins",sans-serif;
}
body.hf-unified-page .variety-seo-profile .profile-primary:hover{background:#1e3d22}
@media(max-width:600px){
  body.hf-unified-page:has(.profile-grid) .article-container{width:calc(100% - 28px);padding-top:20px}
  body.hf-unified-page .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.hf-unified-page .profile-card-content{padding:12px}
  body.hf-unified-page .profile-card-content strong{font-size:1.02rem}
  body.hf-unified-page .profile-filters{padding:14px}
}
@media(max-width:350px){
  body.hf-unified-page .profile-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  body.hf-unified-page .profile-card{transition:none}
  body.hf-unified-page .profile-card:hover{transform:none}
}
