/* SRZ Trenčín 0.1.41 – theme-driven Fish Atlas, independent of plugin styles. */
.srzt-atlas-page{--atlas-forest:#103c2c;--atlas-green:#176b48;--atlas-soft:#f2f7f3;--atlas-border:#dbe8de;color:#243c2e;background:linear-gradient(180deg,#f5f8f4 0%,#fff 72%)}
.srzt-atlas-page *{box-sizing:border-box}
.srzt-atlas-page .srz-atlas-banner{background:linear-gradient(110deg,rgba(12,61,44,.95),rgba(24,102,73,.85)),linear-gradient(135deg,#134331,#337756);padding:48px 0 52px;color:#fff;position:relative;overflow:hidden}
.srzt-atlas-page .srz-atlas-banner-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.srzt-atlas-page .srz-atlas-banner h1{font-family:var(--srz-display),sans-serif;font-weight:850;color:#fff;font-size:clamp(34px,4.6vw,57px);letter-spacing:-.055em;line-height:1.08;margin:10px 0 12px}
.srzt-atlas-page .srz-atlas-banner p:not(.srz-atlas-eyebrow){max-width:690px;color:#dbece2;font-size:15px;line-height:1.6;margin:0}
.srzt-atlas-page .srz-atlas-eyebrow{font-size:10px!important;line-height:1.5!important;letter-spacing:.16em!important;font-weight:850!important;text-transform:uppercase;color:var(--atlas-green);margin:0!important}
.srzt-atlas-page .srz-atlas-banner .srz-atlas-eyebrow{color:#bce2c9}
.srzt-atlas-page .srz-atlas-banner-icon{width:125px;height:125px;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:grid;place-items:center;color:#d2ebd2;opacity:.7;flex-shrink:0}
.srzt-atlas-page .srz-atlas-banner-icon svg{height:88px;width:88px;stroke-width:1}
.srzt-atlas-page .srz-atlas-layout{display:grid;grid-template-columns:minmax(0,1.09fr) minmax(0,.91fr);align-items:start;gap:24px;padding-top:36px;padding-bottom:90px;max-width:1420px}
.srzt-atlas-page .srz-atlas-directory,.srzt-atlas-page .srz-atlas-preview{min-width:0;background:#fff;border:1px solid #e2eae4;border-radius:19px;padding:25px;box-shadow:0 14px 45px rgba(27,66,47,.06)}
.srzt-atlas-page .srz-atlas-preview{position:sticky;top:26px}
.admin-bar .srzt-atlas-page .srz-atlas-preview{top:60px}
.srzt-atlas-page .srz-atlas-section-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:18px}
.srzt-atlas-page .srz-atlas-section-head h2{font-family:var(--srz-display),sans-serif;font-size:26px;color:#113d2b;letter-spacing:-.04em;margin:5px 0 6px;line-height:1.25}
.srzt-atlas-page .srz-atlas-section-head p:not(.srz-atlas-eyebrow){margin:0;font-size:13px;color:#6d8072}
.srzt-atlas-page .srz-atlas-search-wrap{display:flex;align-items:center;gap:8px;border:1px solid #cadbd0;border-radius:11px;background:#f9fcfa;min-height:47px;padding:0 12px;margin-bottom:13px}
.srzt-atlas-page .srz-atlas-search-icon{font-size:26px;line-height:1;color:#57816b}
.srzt-atlas-page .srz-atlas-search-wrap input{border:0;outline:0;background:transparent;flex:1;min-width:0;font-size:13px;color:#193d2c;padding:12px 0;width:100%}
.srzt-atlas-page .srz-atlas-search-wrap:focus-within{border-color:#2b845b;box-shadow:0 0 0 3px rgba(43,132,91,.14)}
.srzt-atlas-page .srz-atlas-filter{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 13px}
.srzt-atlas-page .srz-atlas-filter button{border:1px solid #d5e2da;color:#3a5847;background:#f8faf8;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.35;cursor:pointer;transition:background .15s}
.srzt-atlas-page .srz-atlas-filter button.is-active{background:#176b48;border-color:#176b48;color:#fff}
.srzt-atlas-page .srz-atlas-filter button:focus-visible,.srzt-atlas-page .srz-atlas-tile:focus-visible,.srzt-atlas-page .srz-atlas-tabs button:focus-visible{outline:3px solid #9cdaa8;outline-offset:2px}
.srzt-atlas-page .srz-atlas-result-count{font-size:12px;color:#728377;margin:0 0 13px}
.srzt-atlas-page .srz-atlas-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.srzt-atlas-page .srz-atlas-tile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:10px 9px 12px;border:1px solid #dfe8e1;border-radius:12px;background:linear-gradient(180deg,#fff,#fafcfb);text-decoration:none!important;color:#123d2c!important;min-width:0;min-height:175px;transition:transform .17s,box-shadow .17s,border-color .17s;overflow:hidden}
.srzt-atlas-page .srz-atlas-tile:hover,.srzt-atlas-page .srz-atlas-tile.is-selected{border-color:#348c61;box-shadow:0 6px 20px rgba(18,85,48,.12);transform:translateY(-1px)}
.srzt-atlas-page .srz-atlas-tile.is-selected{box-shadow:inset 0 0 0 1px #368b5f}
.srzt-atlas-page .srz-atlas-tile-image{display:flex;justify-content:center;align-items:center;width:100%;height:110px;overflow:hidden;background:#f7faf7;border-radius:8px;margin-bottom:5px}
.srzt-atlas-page .srz-atlas-tile-image img{width:100%;height:100%;max-width:100%;object-fit:contain!important;object-position:center;display:block;padding:5px;box-sizing:border-box}
.srzt-atlas-page .srz-atlas-image-fallback{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,#eef7f0,#e1ede4);color:#7aab8a}
.srzt-atlas-page .srz-atlas-image-fallback svg{width:50px;height:50px;stroke-width:1.1}
.srzt-atlas-page .srz-atlas-tile strong{font-size:13px;font-weight:800;line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
.srzt-atlas-page .srz-atlas-tile em{font-size:10px;color:#58715e;line-height:1.35;overflow-wrap:anywhere}
.srzt-atlas-page .srz-atlas-tile[hidden]{display:none!important}
.srzt-atlas-page .srz-atlas-no-results,.srzt-atlas-page .srz-atlas-empty{padding:20px;background:#f1f7f1;border:1px solid #dce9dd;border-radius:10px;color:#466251;font-size:14px}
.srzt-atlas-page .srz-atlas-preview-top{background:linear-gradient(180deg,#f0f8f2,#fff);border-radius:14px 14px 6px 6px;padding:22px 22px 17px;text-align:left}
.srzt-atlas-page .srz-atlas-preview-top h2{font-family:var(--srz-display),sans-serif;font-size:clamp(28px,3vw,40px);line-height:1.18;letter-spacing:-.05em;color:#11412e;margin:8px 0 5px}
.srzt-atlas-page .srz-atlas-preview-latin{font-size:15px;color:#526d5a;margin:0 0 8px}
.srzt-atlas-page .srz-atlas-preview-image{width:100%;height:245px;display:flex;justify-content:center;align-items:center;overflow:hidden;background:linear-gradient(145deg,#eef6f0,#fff);border-radius:12px;margin:13px 0 14px}
.srzt-atlas-page .srz-atlas-preview-image img{height:100%;width:100%;max-width:100%;display:block;object-fit:contain!important;padding:9px;box-sizing:border-box}
.srzt-atlas-page .srz-atlas-preview-description{font-size:14px;line-height:1.65;color:#324b39;margin:0}
.srzt-atlas-page .srz-atlas-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:16px 0 13px}
.srzt-atlas-page .srz-atlas-tabs button{font-size:12px;font-weight:800;line-height:1.3;border:1px solid #dbe7de;border-radius:9px;padding:11px 7px;background:#f3f7f3;color:#2d5940;cursor:pointer;min-width:0}
.srzt-atlas-page .srz-atlas-tabs button.is-active{color:#fff;background:#166747;border-color:#166747}
.srzt-atlas-page .srz-atlas-tab-panel{padding:17px;background:#f8fbf9;border:1px solid var(--atlas-border);border-radius:12px;min-height:142px}
.srzt-atlas-page .srz-atlas-tab-panel h3{font-size:15px;color:#18583b;margin:0 0 7px;line-height:1.45}
.srzt-atlas-page .srz-atlas-tab-panel p{font-size:13px;line-height:1.65;margin:0 0 10px;white-space:pre-line}
.srzt-atlas-page .srz-atlas-tab-panel p:last-child{margin-bottom:0}
.srzt-atlas-page .srz-atlas-tab-panel ul{padding-left:18px;margin:0 0 8px}
.srzt-atlas-page .srz-atlas-tab-panel li{font-size:13px;line-height:1.6;margin:0 0 4px}
.srzt-atlas-page .srz-atlas-tab-panel a{color:#126140;font-weight:700;text-decoration:underline}
.srzt-atlas-page .srz-atlas-detail-link{display:flex;align-items:center;justify-content:center;gap:8px;background:#146543;color:#fff!important;font-size:14px;font-weight:850;padding:13px 16px;border-radius:10px;text-decoration:none!important;margin-top:16px}
.srzt-atlas-page .srz-atlas-detail-link:hover{background:#0b492e}
.srzt-atlas-page .srz-atlas-data-note{font-size:11px;line-height:1.5;color:#698072;margin:14px 0 0}
/* Detail ryby: one hero image, the plugin continues to own the editable text. */
.srzt-atlas-page .srz-atlas-banner-single{padding:33px 0 45px}
.srzt-atlas-page .srz-atlas-back-top{display:inline-block;color:#d0eadb!important;font-size:13px;text-decoration:none;margin-bottom:17px}
.srzt-atlas-page .srz-atlas-single-latin{color:#c5e3ce!important;font-size:16px!important;margin-top:3px!important}
.srzt-atlas-page .srz-atlas-single-layout{max-width:1100px;padding-top:34px;padding-bottom:72px}
.srzt-atlas-page .srz-atlas-fish-article{background:#fff;border:1px solid #e3ebe4;box-shadow:0 16px 38px rgba(15,53,35,.06);border-radius:18px;padding:26px;min-width:0}
.srzt-atlas-page .srz-atlas-single-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;align-items:center;border-radius:16px;padding:20px;background:linear-gradient(120deg,#eef7f1,#fff);border:1px solid #dbe9de}
.srzt-atlas-page .srz-atlas-fish-image{display:flex;align-items:center;justify-content:center;margin:0;height:290px;min-width:0;background:rgba(255,255,255,.62);border-radius:13px}
.srzt-atlas-page .srz-atlas-fish-image img{height:100%;max-height:100%;width:100%;object-fit:contain!important;display:block;padding:10px;box-sizing:border-box}
.srzt-atlas-page .srz-atlas-fish-image-empty{color:#83ae90}
.srzt-atlas-page .srz-atlas-fish-image-empty svg{width:90px;height:90px}
.srzt-atlas-page .srz-atlas-single-intro h2{font-family:var(--srz-display),sans-serif;color:#124a32;font-size:clamp(24px,3vw,36px);letter-spacing:-.04em;margin:9px 0}
.srzt-atlas-page .srz-atlas-single-intro p:not(.srz-atlas-eyebrow){font-size:14px;line-height:1.75;color:#426250;margin:0}
.srzt-atlas-page .srz-atlas-jump-nav{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}
.srzt-atlas-page .srz-atlas-jump-nav a{padding:10px 14px;background:#eff7f0;border:1px solid #d7e5d9;border-radius:9px;color:#19583c!important;font-size:12px;font-weight:800;text-decoration:none!important}
.srzt-atlas-page .srz-atlas-jump-nav a:hover{background:#dcefe1}
.srzt-atlas-page .srz-atlas-detail-content{font-size:15px;line-height:1.7;color:#354e3d;min-width:0}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-profile{max-width:none;margin:0}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-profile>.srz-fish-latin{display:none}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section{background:#f8fbf9;border:1px solid #dbe9de;border-radius:14px;margin:14px 0;padding:22px 24px;scroll-margin-top:95px}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section h2{font-size:22px;line-height:1.2;margin:0 0 14px;color:#145739}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section h3{font-size:15px;margin:8px 0 4px;color:#215c3e}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section p{font-size:14px;line-height:1.7;margin:0 0 9px}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-intro{margin:0 0 10px}
.srzt-atlas-page .srz-atlas-bottom-back{border-top:1px solid #e1ece4;padding-top:20px;margin:26px 0 0}
.srzt-atlas-page .srz-atlas-bottom-back a{font-size:13px;color:#146744;font-weight:800;text-decoration:none}
@media(max-width:1100px){.srzt-atlas-page .srz-atlas-layout{grid-template-columns:minmax(0,1fr)}.srzt-atlas-page .srz-atlas-preview{position:static}.srzt-atlas-page .srz-atlas-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.srzt-atlas-page .srz-atlas-layout{padding-top:20px;gap:16px}.srzt-atlas-page .srz-atlas-banner{padding:38px 0}.srzt-atlas-page .srz-atlas-banner-icon{display:none}.srzt-atlas-page .srz-atlas-directory,.srzt-atlas-page .srz-atlas-preview{padding:15px;border-radius:14px}.srzt-atlas-page .srz-atlas-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.srzt-atlas-page .srz-atlas-tile{min-height:157px;padding:7px 5px}.srzt-atlas-page .srz-atlas-tile-image{height:90px}.srzt-atlas-page .srz-atlas-tile strong{font-size:12px}.srzt-atlas-page .srz-atlas-tile em{font-size:9px}.srzt-atlas-page .srz-atlas-single-hero{grid-template-columns:minmax(0,1fr)}.srzt-atlas-page .srz-atlas-single-layout{padding-top:20px}.srzt-atlas-page .srz-atlas-fish-article{padding:14px}.srzt-atlas-page .srz-atlas-fish-image{height:225px}.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section{padding:16px}}
@media(max-width:480px){.srzt-atlas-page .srz-atlas-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.srzt-atlas-page .srz-atlas-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.srzt-atlas-page .srz-atlas-preview-image{height:205px}.srzt-atlas-page .srz-atlas-filter button{font-size:11px;padding:7px 9px}.srzt-atlas-page .srz-atlas-section-head h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.srzt-atlas-page .srz-atlas-tile{transition:none}}

/* 0.1.42 – základné údaje a kvalitnejšia typografia na profile druhu. */
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-basic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-basic-item{border:1px solid #dce9df;background:#fff;border-radius:11px;padding:13px 15px}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-basic-item dt{font-size:12px;line-height:1.4;color:#52705d;font-weight:750;margin-bottom:5px}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-basic-item dd{margin:0;font-size:15px;line-height:1.5;color:#173f2b;font-weight:650}
.srzt-atlas-page .srz-atlas-single-intro p:not(.srz-atlas-eyebrow){overflow-wrap:anywhere}
@media(max-width:640px){.srzt-atlas-page .srz-atlas-detail-content .srz-fish-basic-grid{grid-template-columns:minmax(0,1fr)}}

/* 0.1.43 — compact tabs and reliable links to independent New Revíry. */
.srzt-atlas-page .srz-atlas-preview-revirs{margin-top:16px;padding:13px 15px;border:1px solid #dcebdd;background:#fff;border-radius:12px}
.srzt-atlas-page .srz-atlas-preview-revirs h3{font-size:13px;color:#145038;font-weight:800;margin:0 0 7px}
.srzt-atlas-page .srz-atlas-preview-revirs ul{list-style:disc;padding-left:19px;margin:0}
.srzt-atlas-page .srz-atlas-preview-revirs li{margin:0 0 4px;font-size:13px}
.srzt-atlas-page .srz-atlas-preview-revirs a{color:#145f42;font-weight:700;text-decoration:underline}
.srzt-atlas-page .srz-atlas-preview-revirs p{color:#6d8072;margin:4px 0 0;font-size:12px}
.srzt-atlas-page .srz-atlas-detail-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 15px;padding-bottom:3px}
.srzt-atlas-page .srz-atlas-detail-tabs a{display:inline-flex;align-items:center;justify-content:center;padding:11px 13px;border:1px solid #d7e5d9;border-radius:11px;background:#eff7f0;color:#19583c!important;font-weight:750;text-decoration:none!important;font-size:13px;line-height:1.35;white-space:normal;text-align:center}
.srzt-atlas-page .srz-atlas-detail-tabs a:hover{background:#e3f1e7}
.srzt-atlas-page .srz-atlas-detail-tabs a.is-active{background:#176b48;color:#fff!important;border-color:#176b48}
.srzt-atlas-page .srz-atlas-detail-tabs a[hidden]{display:none!important}
.srzt-atlas-page .srz-atlas-detail-tabs a:focus-visible{outline:3px solid #a0dba8;outline-offset:2px}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section[hidden]{display:none!important}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section{margin-bottom:12px}
.srzt-atlas-page .srz-atlas-detail-content .srz-fish-section:last-child{margin-bottom:0}
@media(max-width:680px){.srzt-atlas-page .srz-atlas-detail-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.srzt-atlas-page .srz-atlas-detail-tabs a{font-size:12px;padding:10px 8px}}

/* 0.1.44 – Sticky fish preview: scroll content inside the right panel,
   keep the profile link visible even beside a long list of fish. */
@media (min-width:1101px){
  .srzt-atlas-page .srz-atlas-preview{
    display:flex;
    flex-direction:column;
    max-height:calc(100vh - 100px);
    max-height:calc(100dvh - 100px);
    overflow:hidden;
    padding:16px;
  }
  .srzt-atlas-page .srz-atlas-preview-body{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior-y:contain;
    padding-right:5px;
    scrollbar-width:thin;
    scrollbar-color:#afc9b7 transparent;
  }
  .srzt-atlas-page .srz-atlas-preview-body:focus-visible{
    outline:2px solid #78a88a;
    outline-offset:-2px;
    border-radius:12px;
  }
  .srzt-atlas-page .srz-atlas-preview-top{padding:15px 16px 14px}
  .srzt-atlas-page .srz-atlas-preview-top h2{font-size:clamp(27px,2.5vw,35px)}
  .srzt-atlas-page .srz-atlas-preview-image{height:185px;margin:10px 0}
  .srzt-atlas-page .srz-atlas-detail-link{
    flex:none;
    margin:10px 0 0;
    box-shadow:0 -5px 18px rgba(255,255,255,.96);
  }
}
@media (max-width:1100px){
  .srzt-atlas-page .srz-atlas-preview-body{
    overflow:visible;
    max-height:none;
  }
}
