/* SRZ Trenčín 0.1.30 – three-page design pilot.
   Scope intentionally limited: Kaprové, Biskupický kanál č. 8, Organizácia.
   Header, navigation, other pages and database content are untouched. */
body.srzt-pilot-page {
  --srzt-pilot-heading: "Montserrat", "Manrope", "Segoe UI", Arial, sans-serif;
  --srzt-pilot-body: "Open Sans", "DM Sans", "Segoe UI", Arial, sans-serif;
  --srzt-pilot-ink:#253b32;
  --srzt-pilot-green:#104735;
  --srzt-pilot-tint:#f1f6f2;
  --srzt-pilot-edge:#dce9df;
}
body.srzt-pilot-page .srz-page-banner {
  padding: clamp(39px, 5vw, 62px) 0 clamp(42px, 5vw, 66px);
  background: linear-gradient(106deg,#104735 0%,#175541 70%,#267358 100%);
}
body.srzt-pilot-page .srz-page-banner h1 {
  font-family:var(--srzt-pilot-heading); font-size:clamp(31px,4.2vw,49px);
  letter-spacing:-.037em; font-weight:800; line-height:1.19;
}
body.srzt-pilot-page .srz-page-banner .srz-kicker {
  font-family:var(--srzt-pilot-body);font-size:11px;letter-spacing:.15em;margin-bottom:12px;
}
body.srzt-pilot-page .srz-article-layout {
  padding:clamp(28px,4.5vw,58px) 0 clamp(54px,7vw,98px);
}
body.srzt-pilot-page .srz-single-content {
  max-width:1040px; margin:auto;
}
body.srzt-pilot-detail .srz-single-content {max-width:890px;}
body.srzt-pilot-page .srz-pilot-content {
  font:400 16px/1.75 var(--srzt-pilot-body); color:var(--srzt-pilot-ink);
  overflow-wrap:anywhere;
}
body.srzt-pilot-page .srz-pilot-content > :not(.srz-child-directory) {
  max-width:100%;
}
body.srzt-pilot-page .srz-pilot-content :is(h2,h3,h4,h5,h6),
body.srzt-pilot-page .srz-child-directory-title {
  font-family:var(--srzt-pilot-heading);color:var(--srzt-pilot-green);
  line-height:1.27; letter-spacing:-.025em;
}
body.srzt-pilot-page .srz-pilot-content h2 {font-size:clamp(23px,2.5vw,29px);font-weight:750;margin:30px 0 15px;}
body.srzt-pilot-page .srz-pilot-content h3 {font-size:clamp(20px,2vw,23px);font-weight:700;margin:27px 0 11px;}
body.srzt-pilot-page .srz-pilot-content h4 {font-size:18px;font-weight:700;margin:23px 0 10px;}
body.srzt-pilot-page .srz-pilot-content p {font-size:16px;line-height:1.78;margin:0 0 18px;}
body.srzt-pilot-page .srz-pilot-content p:empty {display:none;}
body.srzt-pilot-page .srz-pilot-content strong {font-weight:750;color:#183d2f;}
body.srzt-pilot-page .srz-pilot-content a:not(.srz-child-card):not(.wp-block-button__link) {
  color:#21664e;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;
}
body.srzt-pilot-page .srz-pilot-content :is(ul,ol) {margin:0 0 24px;padding-left:25px;}
body.srzt-pilot-page .srz-pilot-content li {margin:6px 0;}
body.srzt-pilot-page .srz-pilot-content :is(table,.wp-block-table table) {
  width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--srzt-pilot-edge);
  border-radius:10px;overflow:hidden; margin:21px 0 27px;font-size:14px;line-height:1.55;
}
body.srzt-pilot-page .srz-pilot-content :is(th,td){border:0;border-bottom:1px solid var(--srzt-pilot-edge);padding:12px 15px;text-align:left;}
body.srzt-pilot-page .srz-pilot-content :is(th){background:#eaf3ed;font-weight:750;color:#12442f;}
body.srzt-pilot-page .srz-pilot-content tr:last-child td{border-bottom:0;}
body.srzt-pilot-page .srz-pilot-content :is(figure,img) {max-width:100%;height:auto;}
body.srzt-pilot-page .srz-pilot-content figure img {border-radius:12px;}
body.srzt-pilot-page .srz-featured-image {margin:0 0 26px;}
body.srzt-pilot-page .srz-featured-image img {display:block;width:100%;max-height:440px;object-fit:cover;}
body.srzt-pilot-page .srz-pilot-content .wp-block-group.is-style-srz-panel,
body.srzt-pilot-page .srz-pilot-content div.is-style-srz-panel{
  background:var(--srzt-pilot-tint);border:1px solid var(--srzt-pilot-edge);
  border-radius:14px;padding:24px 28px;margin:22px 0;
}
body.srzt-pilot-page .srz-pilot-content .wp-block-group.is-style-srz-alert,
body.srzt-pilot-page .srz-pilot-content div.is-style-srz-alert{
  background:#fff9ed;border:1px solid #efddb9;border-left:4px solid #a97924;
  border-radius:12px;padding:21px 25px;margin:24px 0;
}
body.srzt-pilot-page .srz-pilot-content .wp-block-button__link {
  border-radius:9px;font:750 14px/1.35 var(--srzt-pilot-body);padding:12px 21px;
}
/* Kaprové: numbered revír overview as a clean information surface. */
body.srzt-pilot-overview .srz-revir-overview {
  background:var(--srzt-pilot-tint);border:1px solid var(--srzt-pilot-edge);
  border-left:5px solid #247a58;box-shadow:0 9px 30px rgba(24,65,43,.035);
  padding:28px 33px;border-radius:14px;margin:0 0 37px;
}
body.srzt-pilot-overview .srz-revir-overview > :first-child {margin-top:0;}
body.srzt-pilot-overview .srz-revir-overview p {font-size:15px;line-height:1.72;margin:0 0 13px;}
body.srzt-pilot-overview .srz-revir-overview p:has(>strong:first-child){margin-top:17px;}
body.srzt-pilot-overview .srz-revir-overview strong{font-weight:800;color:var(--srzt-pilot-green);}
/* Directory cards, shared by Kaprové and Organizácia. */
body.srzt-pilot-page .srz-child-directory{margin:32px 0 0;clear:both;}
body.srzt-pilot-page .srz-child-directory-title{
  font-size:clamp(22px,2.3vw,27px)!important;margin:0 0 21px!important;font-weight:800;
}
body.srzt-pilot-page .srz-child-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
body.srzt-pilot-page .srz-prose a.srz-child-card,
body.srzt-pilot-page .srz-prose .srz-child-card{
  min-height:78px;display:flex;gap:15px;align-items:center;justify-content:space-between;
  background:#fff;border:1px solid #dce7dd;border-radius:12px;
  padding:16px 20px;box-shadow:0 3px 14px rgba(23,65,40,.035);
  text-decoration:none;color:var(--srzt-pilot-green);
  font-family:var(--srzt-pilot-heading);font-size:14px;line-height:1.45;font-weight:700;
}
body.srzt-pilot-page .srz-prose a.srz-child-card:hover,
body.srzt-pilot-page .srz-prose a.srz-child-card:focus-visible{
  background:#f2f8f3;border-color:#a8c9ae;transform:translateY(-1px);
}
body.srzt-pilot-page .srz-child-arrow {width:34px;height:34px;background:#e7f2e8;}
body.srzt-pilot-page .srz-child-card--legacy small {font-family:var(--srzt-pilot-body);font-size:11px;}
body.srzt-pilot-page .srz-prose .srz-child-card--draft{background:#f9faf8;color:#6f8178;}
/* Organization: imported page introduction belongs before child listing. */
body.srzt-pilot-organization .srz-pilot-content > p:first-of-type,
body.srzt-pilot-organization .srz-pilot-content > .wp-block-paragraph:first-of-type {font-size:17px;line-height:1.72;color:#3f5c4e;}
/* Only legacy FLOX markup, never editor-created blocks. */
body.srzt-pilot-page .srz-pilot-legacy [style*="font-family"] {font-family:var(--srzt-pilot-body)!important;}
body.srzt-pilot-page .srz-pilot-legacy :is(p,div,span,td,li)[style*="font-size"] {font-size:inherit!important;}
body.srzt-pilot-page .srz-pilot-legacy :is(div,section,p)[style*="height"] {
  height:auto!important;min-height:0!important;max-height:none!important;
}
@media(max-width:740px){
  body.srzt-pilot-page .srz-pilot-content {font-size:15px;line-height:1.72;}
  body.srzt-pilot-page .srz-pilot-content p {font-size:15px;line-height:1.72;}
  body.srzt-pilot-page .srz-child-grid{grid-template-columns:1fr;}
  body.srzt-pilot-page .srz-prose .srz-child-card{min-height:66px;padding:13px 16px;}
  body.srzt-pilot-overview .srz-revir-overview{padding:19px 21px;margin-bottom:25px;}
  body.srzt-pilot-page .srz-pilot-content :is(th,td){padding:9px 11px;}
}


/* 0.1.30 — visible editorial layout; only the three pilot WordPress pages.
   The theme does not edit DB records or insert new factual revír content. */
body.srzt-pilot-page{--srzt-pilot-build:"0.1.48";}
body.srzt-pilot-page #hlavny-obsah{background:#f5f8f5;}
body.srzt-pilot-page .srz-page-banner{padding:48px 0 54px;background:linear-gradient(112deg,#0e3c2f,#176147 72%,#236e4c);}
body.srzt-pilot-page .srz-page-banner h1{font:800 clamp(38px,4.2vw,52px)/1.13 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.045em;color:#fff;}
body.srzt-pilot-page .srz-page-banner .srz-kicker{font:750 12px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.13em;color:#cce9d9;}
body.srzt-pilot-page .srz-article-layout{padding:38px 0 74px;}
body.srzt-pilot-page .srz-single-content{
  max-width:1110px;margin:0 auto;padding:40px clamp(27px,4vw,56px) 52px;
  border:1px solid #e2eae3;border-radius:20px;background:#fff;
  box-shadow:0 14px 40px rgba(20,55,34,.055);
}
body.srzt-pilot-detail .srz-single-content{max-width:1020px;}
body.srzt-pilot-page .srz-pilot-content{
  font:400 18px/1.78 system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#263e34;word-break:normal;overflow-wrap:break-word;
}
body.srzt-pilot-page .srz-pilot-content p,
body.srzt-pilot-page .srz-pilot-content li{font-size:17px;line-height:1.86;}
body.srzt-pilot-page .srz-pilot-content p{margin-bottom:21px;}
body.srzt-pilot-page .srz-pilot-content :is(h2,h3,h4),
body.srzt-pilot-page .srz-child-directory-title{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-weight:800;letter-spacing:-.03em;
}
body.srzt-pilot-page .srz-pilot-content h2,
body.srzt-pilot-page .srz-child-directory-title{font-size:30px!important;line-height:1.25;margin:35px 0 19px!important;}
body.srzt-pilot-page .srz-pilot-content h3{font-size:24px;line-height:1.3;}
body.srzt-pilot-page .srz-pilot-content strong{color:#124b37;}
body.srzt-pilot-page .srz-pilot-content a:not(.srz-child-card){text-underline-offset:4px;}
/* Section heading & content that originated in FLOX, without forcing a database rewrite. */
body.srzt-pilot-overview .srz-revir-overview{
  background:#eff6f0;border:1px solid #c9decf;border-left:6px solid #21764f;
  border-radius:16px;padding:33px clamp(22px,4vw,40px);margin:0 0 43px;
  box-shadow:none;
}
body.srzt-pilot-overview .srz-revir-overview:before{
  content:"PREHĽAD KAPROVÝCH REVÍROV";
  display:block;font:800 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.11em;color:#21764f;margin:0 0 25px;
}
body.srzt-pilot-overview .srz-revir-overview p{
  font-size:17px;line-height:1.85;margin:0 0 18px;
}
body.srzt-pilot-overview .srz-revir-overview p:has(>strong:first-child){
  font-size:20px;line-height:1.4;margin:26px 0 10px;
  padding:0 0 8px;border-bottom:1px solid #d2e6d6;
}
body.srzt-pilot-overview .srz-revir-overview p:has(>strong:first-child) strong{font-size:20px;}
body.srzt-pilot-overview .srz-revir-overview > :first-child{margin-top:0;}
body.srzt-pilot-page .srz-child-directory{margin-top:42px;}
body.srzt-pilot-page .srz-child-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;}
body.srzt-pilot-page .srz-prose a.srz-child-card,
body.srzt-pilot-page .srz-prose .srz-child-card{
  min-height:88px;padding:17px 19px;border-radius:13px;
  background:#fff;border:1px solid #d5e4d8;
  box-shadow:0 2px 7px rgba(20,65,34,.045);font:750 15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#154b37;
}
body.srzt-pilot-page .srz-child-arrow{width:36px;height:36px;flex:0 0 36px;background:#e1f0e5;}
body.srzt-pilot-page .srz-prose a.srz-child-card:is(:hover,:focus-visible){
  background:#eaf5ee;border-color:#8bc1a0;
}
/* The detail gets a clearly visible lead, and readable rules. */
body.srzt-pilot-detail .srz-pilot-content > p:first-of-type{
  font-size:19px;line-height:1.75;background:#eff6f0;
  border-left:5px solid #287652;padding:22px 27px;margin:0 0 29px;
  border-radius:0 13px 13px 0;
}
body.srzt-pilot-detail .srz-pilot-content > p:first-of-type strong{font-size:19px;}
body.srzt-pilot-detail .srz-pilot-content > p strong{line-height:1.7;}
/* Organization: readable archival history with section separation. */
body.srzt-pilot-organization .srz-pilot-content > p:first-of-type{
  font-size:20px;line-height:1.7;color:#194b39;margin:0 0 27px;
}
body.srzt-pilot-organization .srz-pilot-content > p:first-of-type strong{
  font-size:23px;line-height:1.4;display:inline-block;
}
body.srzt-pilot-organization .srz-pilot-content > p:not(:first-of-type){margin-bottom:22px;}
body.srzt-pilot-page .srz-pilot-content :is(table,.wp-block-table table){font-size:16px;}
@media(max-width:1020px){
 body.srzt-pilot-page .srz-child-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 body.srzt-pilot-page .srz-single-content{padding:30px 30px 38px;}
}
@media(max-width:740px){
 body.srzt-pilot-page .srz-page-banner{padding:37px 0 40px;}
 body.srzt-pilot-page .srz-page-banner h1{font-size:36px;}
 body.srzt-pilot-page .srz-article-layout{padding:21px 0 48px;}
 body.srzt-pilot-page .srz-single-content{padding:23px 19px 30px;border-radius:14px;}
 body.srzt-pilot-page .srz-pilot-content,
 body.srzt-pilot-page .srz-pilot-content p,
 body.srzt-pilot-page .srz-pilot-content li{font-size:16px;line-height:1.75;}
 body.srzt-pilot-overview .srz-revir-overview{padding:24px 20px;margin-bottom:27px;}
 body.srzt-pilot-overview .srz-revir-overview p{font-size:16px;}
 body.srzt-pilot-page .srz-child-grid{grid-template-columns:1fr;gap:11px;}
 body.srzt-pilot-page .srz-prose a.srz-child-card{min-height:72px;padding:14px 16px;}
 body.srzt-pilot-page .srz-child-directory-title{font-size:24px!important;}
 body.srzt-pilot-detail .srz-pilot-content > p:first-of-type{font-size:17px;padding:17px 19px;}
 body.srzt-pilot-organization .srz-pilot-content > p:first-of-type{font-size:17px;}
}
