:root{--blue:#315d89;--blue-dark:#244b72;--panel:#c7ccd1;--ink:#050505}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px;background:#315d89}a{color:#123d6d}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;background:#fff;padding:8px;z-index:1000}.af-page{width:1000px;margin:0 auto;background:#315d89;border-left:2px solid #dce6ee;border-right:2px solid #dce6ee;min-height:100vh}.af-header{height:125px;background:#244d78;border-bottom:2px solid #e7edf4;overflow:hidden}.af-banner-img{width:100%;height:125px;object-fit:cover;display:block}.af-banner-fallback{height:125px;display:flex;align-items:center;background:linear-gradient(#315d89,#21486f);padding:0 16px;gap:24px}.af-house,.af-cat-swing{font-size:70px}.af-title{font-family:Georgia,serif;font-size:52px;color:#fff;text-shadow:2px 2px #000}.af-subtitle{font-size:21px;color:#050505;text-align:right}.af-layout{display:grid;grid-template-columns:175px 1fr;min-height:730px}.af-sidebar{background:#315d89;border-right:2px solid #e7edf4;padding:20px 0 30px}.af-menu{margin:0;padding:0;list-style:none}.af-menu li{margin:0 0 4px}.af-menu a{display:block;padding:8px 6px;background:#c8d0d8;color:#000;text-decoration:none;font-weight:bold;border-top:1px solid #eef3f7;border-bottom:1px solid #7b8998}.af-menu a:hover,.af-menu .current-menu-item>a{background:#e5ebf1;color:#123d6d}.af-star{color:#000;margin-right:6px;font-size:16px}.af-sidebox{margin:18px 8px 0;padding:9px;color:#fff;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.08);font-size:12px}.af-sidebox h3{margin:0 0 9px;font-size:14px;color:#fff}.af-content{background:#315d89;padding:20px 10px 40px}.af-section-title{width:max-content;min-width:150px;margin:0 auto 30px;padding:4px 32px 3px;color:#244d78;background:#c8d0d8;font-size:18px;line-height:1;text-align:center;text-transform:uppercase}.af-section-intro{position:relative;background:#c7ccd1;border:1px dashed #fff;border-radius:5px;color:#000;padding:12px;margin:0 0 32px}.af-intro-label{position:absolute;left:-1px;top:-25px;min-height:25px;padding:5px 10px 4px;background:#c7ccd1;border:1px dashed #fff;border-bottom:0;border-radius:5px 5px 0 0;font-size:12px;font-weight:bold}.af-intro-body p:first-child{margin-top:0}.af-intro-body p:last-child{margin-bottom:0}.af-original-card{position:relative;margin:0 0 30px;background:#c7ccd1;border:1px dashed #fff;border-radius:5px;color:#000}.af-card-label,.af-kastrat-label{position:absolute;left:-1px;top:-25px;min-height:25px;padding:5px 10px 4px;background:#c7ccd1;border:1px dashed #fff;border-bottom:0;border-radius:5px 5px 0 0;font-size:12px;font-weight:bold}.af-card-label span,.af-kastrat-label span{margin-left:10px}.af-card-inner{display:grid;grid-template-columns:205px 1fr;padding:5px}.af-card-img img{width:200px;height:150px;object-fit:cover;display:block;background:#fff}.af-placeholder{width:200px;height:150px;display:flex;align-items:center;justify-content:center;background:#e7edf4;color:#315d89;font-size:48px}.af-card-text{padding:6px 10px;font-size:14px}.af-page-panel{background:#c7ccd1;border:1px dashed #fff;border-radius:5px;color:#000;padding:14px;margin-bottom:24px}.af-page-image img{max-width:100%;height:auto;border:5px solid #fff;margin-bottom:14px}.af-kitten-table-card{position:relative;margin:0 0 28px;color:#000}.af-kitten-tab{display:inline-block;background:#c7ccd1;border:1px dashed #fff;border-bottom:0;border-radius:4px 4px 0 0;padding:4px 10px;font-size:12px;font-weight:bold;position:relative;top:1px}.af-kitten-top-grid{display:grid;grid-template-columns:1fr 1.08fr 1fr;background:#c7ccd1;border:1px dashed #fff}.af-kitten-parent-block,.af-kitten-litter-block{border-right:1px dashed #fff;text-align:center;min-height:240px}.af-kitten-parent-block:last-child{border-right:0}.af-kitten-header{height:32px;display:flex;align-items:center;justify-content:center;font-weight:bold;color:#244b72;font-size:16px;border-bottom:1px dashed #fff}.af-kitten-header a{font-weight:bold;text-decoration:none}.af-kitten-imgbox{height:156px;display:flex;align-items:center;justify-content:center;padding:8px}.af-kitten-imgbox img,.af-parent-placeholder{max-width:160px;width:100%;height:145px;object-fit:cover;background:#e7edf4;border:1px solid #f7f7f7;display:flex;align-items:center;justify-content:center;color:#315d89;font-size:46px}.af-kitten-icons{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px dashed #fff;height:34px}.af-icon{display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:bold;border-right:1px dashed #fff;background:#dbe1e6}.af-icon:last-child{border-right:0}.af-icon.PDF{color:#e33}.af-icon.IMG{color:#7452b8}.af-icon.X{color:#008a3d}.af-icon.disabled{opacity:.35}.af-kitten-litter-block{display:flex;flex-direction:column;align-items:center;justify-content:center}.af-litter-title{font-size:24px;color:#244b72;font-weight:bold}.af-litter-date{font-weight:bold;color:#000}.af-kitten-table{width:100%;border-collapse:collapse;background:#c7ccd1;margin-top:4px}.af-kitten-table th{background:#c7ccd1;color:#244b72;border:1px dashed #fff;padding:4px;font-size:16px}.af-kitten-table td{border:1px dashed #fff;padding:4px;background:#d6dbe0;font-size:15px}.af-kitten-table td:nth-child(1){width:36%}.af-kitten-table td:nth-child(4),.af-kitten-table td:nth-child(5){text-align:center}.af-kitten-name-link{font-weight:bold;color:#000;text-decoration:none}.af-kitten-name-link:hover{color:#123d6d;text-decoration:underline}.af-kitten-note{background:#c7ccd1;border:1px dashed #fff;border-top:0;padding:8px}.af-kastrat-card{position:relative;margin:0 0 34px;background:#c7ccd1;border:1px dashed #fff;border-radius:5px;padding:8px;color:#000}.af-kastrat-inner{display:grid;grid-template-columns:1fr 230px;gap:10px;align-items:start}.af-kastrat-text{background:#d4d8dc;border:1px solid #fff;min-height:165px;padding:10px}.af-kastrat-meta{background:rgba(255,255,255,.45);border:1px solid #fff;padding:6px;margin-bottom:8px}.af-kastrat-photo{display:block;background:#d4d8dc;border:1px solid #fff;padding:6px;text-align:center}.af-kastrat-photo img,.af-kastrat-photo .af-placeholder{width:100%;height:170px;object-fit:cover;border:3px solid #fff;background:#e7edf4}.af-gallery-button{display:block;width:max-content;margin:8px auto 0;background:#315d89;color:#fff;text-decoration:none;font-weight:bold;padding:6px 14px;border:1px solid #fff}.af-gallery-original{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.af-lightbox{display:block;background:#c7ccd1;border:1px dashed #fff;padding:6px;text-align:center;text-decoration:none;font-weight:bold}.af-lightbox img{width:100%;height:150px;object-fit:cover;display:block;margin-bottom:6px}.af-footer{min-height:55px;padding:15px 25px;border-top:2px solid #e7edf4;color:#fff;background:#315d89}.af-footer a{color:#fff}.af-footer-links{display:flex;gap:15px;list-style:none;padding:0;margin:0 0 8px}.af-up{float:right;font-size:20px;text-decoration:none}.af-lightbox-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:25px;background:rgba(0,0,0,.85)}.af-lightbox-overlay img{max-width:95vw;max-height:90vh;box-shadow:0 0 30px #000}@media(max-width:1020px){.af-page{width:100%;border:0}}@media(max-width:760px){body{background:#315d89}.af-layout,.af-kitten-top-grid,.af-card-inner,.af-kastrat-inner{grid-template-columns:1fr}.af-sidebar{border-right:0}.af-menu{display:grid;grid-template-columns:repeat(2,1fr);gap:4px}.af-menu li{margin:0}.af-kitten-parent-block,.af-kitten-litter-block{border-right:0;border-bottom:1px dashed #fff}.af-gallery-original{grid-template-columns:1fr}}


.af-memory-card{position:relative;margin:0 0 34px;background:#c7ccd1;border:1px dashed #fff;border-radius:5px;padding:8px;color:#000}
.af-memory-label{position:absolute;left:-1px;top:-25px;min-height:25px;padding:5px 10px 4px;background:#c7ccd1;border:1px dashed #fff;border-bottom:0;border-radius:5px 5px 0 0;font-size:12px;font-weight:bold}
.af-memory-inner{display:grid;grid-template-columns:230px 1fr;gap:12px;align-items:start}
.af-memory-left{background:#d4d8dc;border:1px solid #fff;padding:6px;text-align:center}
.af-memory-photo{display:block}
.af-memory-photo img,.af-memory-photo .af-placeholder{width:100%;height:170px;object-fit:cover;border:3px solid #fff;background:#e7edf4}
.af-memory-right{background:#d4d8dc;border:1px solid #fff;min-height:190px;padding:10px}
.af-memory-right h2{margin:0 0 4px;color:#244b72;font-size:20px}
.af-memory-breed{font-weight:bold;color:#000;margin-bottom:8px}
.af-memory-dates{font-size:13px;margin-bottom:8px;color:#244b72;font-weight:bold}
.af-memory-text p:first-child{margin-top:0}
@media(max-width:760px){.af-memory-inner{grid-template-columns:1fr}.af-memory-photo img,.af-memory-photo .af-placeholder{height:220px}}



/* Full-screen entrance page */
.af-splash-body{
margin:0;
background:#000 !important;
min-height:100vh;
overflow:hidden
}

.af-splash-screen{
min-height:100vh;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
background:#000;
position:relative;
padding:20px
}

.af-real-eyes{
margin-bottom:40px;
display:flex;
justify-content:center;
align-items:center
}

.af-real-eyes img{
max-width:560px;
width:90vw;
height:auto;
display:block
}

.af-enter-image{
display:block;
transition:transform .2s ease,filter .2s ease
}

.af-enter-image:hover{
transform:scale(1.03);
filter:brightness(1.08)
}

.af-enter-image img{
max-width:340px;
width:80vw;
height:auto;
display:block
}

@media(max-width:600px){
.af-real-eyes{
margin-bottom:28px
}

.af-enter-image img{
max-width:280px
}
}



/* VHS video section */
.af-vhs-card{position:relative;margin:0 0 34px;background:#bfc5cb;border:1px dashed #fff;border-radius:5px;color:#000;box-shadow:inset 0 0 0 2px rgba(255,255,255,.25)}
.af-vhs-top{display:flex;align-items:center;gap:8px;background:#1d3f62;color:#e9eef4;border-bottom:2px solid #f2f2f2;padding:6px 10px;font-family:"Courier New",monospace;font-weight:bold;letter-spacing:.5px}
.af-vhs-led{width:10px;height:10px;background:#ff3b00;border-radius:50%;box-shadow:0 0 8px #ff3b00}
.af-vhs-time{margin-left:auto;color:#ffb13b}
.af-vhs-body{display:grid;grid-template-columns:360px 1fr;gap:12px;padding:10px}
.af-vhs-player,.af-vhs-thumb{position:relative;display:block;background:#050505;border:5px solid #dce1e6;box-shadow:inset 0 0 35px rgba(0,0,0,.9);min-height:220px;overflow:hidden}
.af-vhs-player:after,.af-vhs-thumb:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0,rgba(255,255,255,.05) 1px,transparent 1px,transparent 4px);mix-blend-mode:screen}
.af-vhs-player iframe{width:100%;height:220px;border:0;display:block}
.af-vhs-thumb img,.af-vhs-thumb .af-placeholder{width:100%;height:220px;object-fit:cover;display:block;filter:contrast(1.1) saturate(.85)}
.af-vhs-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:56px;color:#ffb13b;text-shadow:0 0 12px #000,0 0 18px #ff7a00}
.af-vhs-info{background:#d4d8dc;border:1px solid #fff;padding:10px;min-height:220px}
.af-vhs-info h2{margin:0 0 6px;color:#244b72;font-size:20px;font-family:"Courier New",monospace}
.af-vhs-meta{font-weight:bold;color:#000;margin-bottom:8px}
.af-vhs-text p:first-child{margin-top:0}
@media(max-width:760px){.af-vhs-body{grid-template-columns:1fr}.af-vhs-player iframe,.af-vhs-thumb img,.af-vhs-thumb .af-placeholder{height:230px}}



/* Naše chovné mačky profile layout */
.af-cat-profile-card{display:grid;grid-template-columns:335px 1fr;margin:0 0 28px;background:#c7ccd1;border:1px dashed #fff;color:#000}
.af-cat-left{border-right:1px dashed #fff;text-align:center;background:#c7ccd1}
.af-cat-photo{display:flex;align-items:center;justify-content:center;min-height:210px;padding:12px}
.af-cat-photo img,.af-cat-photo .af-placeholder{width:170px;height:170px;object-fit:cover;background:#e7edf4;border:1px solid #fff}
.af-cat-icons{border-top:1px dashed #fff}
.af-cat-right{padding:10px 12px;background:#c7ccd1;min-height:235px;font-size:18px;line-height:1.18}
.af-cat-right h2{margin:0 0 4px;font-size:18px;line-height:1.1;color:#244b72}
.af-cat-right h2 a{color:#244b72;text-decoration:none;font-weight:bold}
.af-cat-status{font-weight:bold;text-transform:uppercase}
.af-cat-description{margin-top:12px;font-size:16px}
.af-cat-description p:first-child{margin-top:0}
.af-cat-tests{margin-top:18px;font-size:16px}
@media(max-width:760px){.af-cat-profile-card{grid-template-columns:1fr}.af-cat-left{border-right:0;border-bottom:1px dashed #fff}.af-cat-right{font-size:16px}.af-cat-photo img,.af-cat-photo .af-placeholder{width:220px;height:220px}}



/* Mobile refinement v3.6 */
@media(max-width:900px){
  body{background:#315d89!important;overflow-x:hidden}
  .af-page{width:100%;max-width:100%;margin:0;border:0}
  .af-header{height:auto;min-height:92px}
  .af-banner-img{height:auto;min-height:92px;object-fit:cover}
  .af-banner-fallback{height:auto;min-height:92px;padding:12px;gap:10px}
  .af-house,.af-cat-swing{font-size:38px}
  .af-title{font-size:32px;line-height:1}
  .af-subtitle{font-size:12px;text-align:left}
  .af-layout{display:block}
  .af-sidebar{padding:8px;border-right:0;border-bottom:2px solid #e7edf4}
  .af-nav{position:relative}
  .af-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .af-menu a{font-size:13px;padding:9px 6px;text-align:center}
  .af-star{display:none}
  .af-sidebox{display:none}
  .af-content{padding:16px 8px 32px}
  .af-section-title{margin:0 auto 28px;font-size:17px;max-width:92%;white-space:normal}
  .af-section-intro{margin-bottom:28px;font-size:14px}
  .af-card-inner{display:block}
  .af-card-img,.af-card-img img,.af-placeholder{width:100%;height:auto;min-height:170px}
  .af-card-img img{height:auto;max-height:280px;object-fit:contain;background:#e7edf4}
  .af-card-text{padding:10px;font-size:14px}
  .af-gallery-original{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}

@media(max-width:760px){
  .af-kitten-top-grid{display:block}
  .af-kitten-parent-block,.af-kitten-litter-block{min-height:auto;border-right:0;border-bottom:1px dashed #fff}
  .af-kitten-litter-block{padding:22px 10px}
  .af-litter-title{font-size:22px}
  .af-kitten-imgbox{height:auto;min-height:155px}
  .af-kitten-imgbox img,.af-parent-placeholder{max-width:190px;height:160px}
  .af-kitten-table{display:block;overflow-x:auto;white-space:nowrap}
  .af-kitten-table th,.af-kitten-table td{font-size:14px;padding:6px}
  .af-kastrat-inner,.af-memory-inner,.af-cat-profile-card,.af-vhs-body{display:block}
  .af-kastrat-photo img,.af-kastrat-photo .af-placeholder,.af-memory-photo img,.af-memory-photo .af-placeholder{height:auto;max-height:280px;object-fit:contain}
  .af-cat-left{border-right:0;border-bottom:1px dashed #fff}
  .af-cat-photo{min-height:auto;padding:10px}
  .af-cat-photo img,.af-cat-photo .af-placeholder{width:220px;height:220px;max-width:100%}
  .af-cat-right{font-size:15px;line-height:1.25}
  .af-cat-right h2{font-size:17px}
  .af-vhs-player iframe,.af-vhs-thumb img,.af-vhs-thumb .af-placeholder{height:220px}
  .af-footer{padding:14px 10px;text-align:center}
  .af-footer-links{display:block}
}

@media(max-width:480px){
  .af-menu{grid-template-columns:1fr}
  .af-title{font-size:28px}
  .af-section-title{font-size:16px}
  .af-gallery-original{grid-template-columns:1fr}
  .af-original-card,.af-kitten-table-card,.af-kastrat-card,.af-memory-card,.af-cat-profile-card,.af-vhs-card{margin-bottom:30px}
  .af-card-label,.af-kastrat-label,.af-memory-label{position:static;display:inline-block;margin-bottom:0;border-bottom:1px dashed #fff;border-radius:5px 5px 0 0}
  .af-kitten-tab{position:static}
  .af-content{padding-left:6px;padding-right:6px}
}



/* Gallery cleanup v3.7 */
.af-clean-gallery-content .af-section-title,
.af-clean-gallery-content .af-original-card,
.af-clean-gallery-content .af-card-label,
.af-clean-gallery-content .af-placeholder,
.af-clean-gallery-content .af-card-text{display:none!important}
.af-gallery-only{margin-bottom:16px}
.af-gallery-real{margin-top:8px}
.af-gallery-real .af-gallery-item{position:relative;text-align:center;background:#c7ccd1;border:1px dashed #fff;padding:6px;text-decoration:none;color:#244b72;font-weight:bold}
.af-gallery-real .af-gallery-item img{width:100%;height:170px;object-fit:cover;display:block;background:#e7edf4}
.af-gallery-caption{display:block;margin-top:5px;font-size:13px}
.af-gallery-empty-clean{display:block;min-height:1px}



/* Remove sidebar placeholder box */
.af-sidebox,
.af-sidebox-placeholder,
.af-system-box{display:none!important}

.af-section-title:empty{display:none}

/* Retro pagination fix v45 - styled directly in main theme CSS */
.af-pagination{
  clear:both!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:18px 0 24px!important;
  padding:0!important;
}
.af-pagination .screen-reader-text{display:none!important}
.af-pagination .nav-links{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
}
.af-pagination a,
.af-pagination span,
.af-pagination .page-numbers{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:30px!important;
  min-height:26px!important;
  padding:4px 9px!important;
  background:#c7ccd1!important;
  color:#000!important;
  text-decoration:none!important;
  font-weight:bold!important;
  font-family:Arial,Helvetica,sans-serif!important;
  line-height:1!important;
  border:2px solid #fff!important;
  border-right-color:#6f767d!important;
  border-bottom-color:#6f767d!important;
  box-shadow:1px 1px 0 #244b72!important;
}
.af-pagination a:hover,
.af-pagination .page-numbers:hover{
  background:#e5ebf1!important;
  color:#000!important;
}
.af-pagination .current{
  background:#9ea6ae!important;
  color:#000!important;
  border-left-color:#6f767d!important;
  border-top-color:#6f767d!important;
  border-right-color:#fff!important;
  border-bottom-color:#fff!important;
  box-shadow:inset 1px 1px 0 #555!important;
}
.af-pagination .prev,
.af-pagination .next{
  min-width:auto!important;
}

/* v47 fixes: old Adams background + plain pages + shared cards */
body{
  background:#d5dde5!important;
  background:linear-gradient(90deg,#d5dde5 0%,#7890a8 22%,#315d89 50%,#7890a8 78%,#d5dde5 100%)!important;
}
.af-page{background:#315d89!important;}
.af-plain-archive .af-section-intro,
.af-page-panel{
  background:#c7ccd1;
  border:1px dashed #fff;
  color:#000;
  border-radius:4px;
  padding:12px;
}
.af-plain-archive .af-section-intro .af-intro-label{display:none;}
.af-plain-item{margin:0 0 18px;}
.af-plain-item h2{margin:0 0 8px;font-size:18px;color:#244b72;}
.af-plain-item h2 a{color:#244b72;text-decoration:none;}
.af-plain-item p:first-child{margin-top:0;}
.af-plain-item p:last-child{margin-bottom:0;}

.af-cat-profile-card{
  display:grid!important;
  grid-template-columns:270px 1fr!important;
  margin:0 0 22px!important;
  background:#c7ccd1!important;
  border:1px solid #fff!important;
  color:#000!important;
}
.af-cat-left{border-right:1px dashed #fff!important;background:#c7ccd1!important;text-align:center!important;}
.af-cat-photo{display:flex!important;align-items:center!important;justify-content:center!important;min-height:190px!important;padding:10px!important;background:#c7ccd1!important;}
.af-cat-photo img,.af-cat-photo .af-placeholder{width:160px!important;height:150px!important;object-fit:cover!important;background:#e7edf4!important;border:0!important;}
.af-cat-icons{display:grid!important;grid-template-columns:repeat(3,1fr)!important;border-top:1px dashed #fff!important;min-height:34px!important;}
.af-cat-right{background:#c7ccd1!important;padding:8px 10px!important;min-height:190px!important;font-size:15px!important;line-height:1.2!important;}
.af-cat-right h2{margin:0 0 3px!important;font-size:16px!important;line-height:1.1!important;color:#244b72!important;}
.af-cat-right h2 a{color:#244b72!important;text-decoration:none!important;font-weight:bold!important;}
.af-cat-status{font-weight:bold!important;text-transform:uppercase!important;}
.af-cat-description{margin-top:12px!important;font-size:15px!important;}
.af-cat-description p:first-child{margin-top:0!important;}
.af-cat-description p:last-child{margin-bottom:0!important;}
.af-kastrat-card{display:none!important;}
@media(max-width:760px){
  body{background:#315d89!important;}
  .af-cat-profile-card{grid-template-columns:1fr!important;}
  .af-cat-left{border-right:0!important;border-bottom:1px dashed #fff!important;}
  .af-cat-photo img,.af-cat-photo .af-placeholder{width:210px!important;height:190px!important;}
}


/* v48: auto-height layout fix, no giant empty hole under content */
html, body{min-height:0!important;}
.af-page{
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
}
.af-layout{
  min-height:0!important;
  height:auto!important;
  align-items:stretch!important;
}
.af-content{
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
  padding-bottom:24px!important;
}
.af-sidebar{
  min-height:0!important;
  height:auto!important;
}
.af-footer{
  clear:both!important;
  min-height:55px!important;
  height:auto!important;
  overflow:visible!important;
}
.af-up{
  display:block!important;
}
@media(min-width:761px){
  .af-layout{display:grid!important;grid-template-columns:175px 1fr!important;}
}

/* v49: header/banner no-crop fix */
.af-header{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  background:#244d78!important;
}
.af-banner-img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#244d78!important;
}
.af-banner-fallback{
  min-height:125px!important;
  height:auto!important;
}
@media(max-width:900px){
  .af-header{height:auto!important;min-height:0!important;overflow:visible!important;}
  .af-banner-img{height:auto!important;min-height:0!important;object-fit:contain!important;}
}


/* v50: real auto-height + header safe area fix */
.af-page{
  min-height:0!important;
  height:auto!important;
  display:block!important;
}
.af-layout{
  display:flex!important;
  align-items:flex-start!important;
  min-height:0!important;
  height:auto!important;
}
.af-sidebar{
  flex:0 0 175px!important;
  width:175px!important;
  min-height:0!important;
  align-self:stretch!important;
}
.af-content{
  flex:1 1 auto!important;
  width:auto!important;
  min-height:0!important;
  height:auto!important;
  padding-bottom:18px!important;
}
.af-footer{
  margin-top:0!important;
  min-height:55px!important;
}
.af-header{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  padding:4px 0 0 0!important;
}
.af-banner-img{
  width:calc(100% - 8px)!important;
  margin:0 auto!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center top!important;
}
@media(max-width:760px){
  .af-layout{display:block!important;}
  .af-sidebar{width:100%!important;flex:none!important;}
}

/* v52 final system fixes: vertical background, flagged cat sections, plain pages */
html,body{
  min-height:100%!important;
}
body{
  background:#dfe8ef!important;
  background:linear-gradient(to bottom,#315d89 0%,#7f96aa 42%,#dfe8ef 100%) fixed!important;
}
.af-page{
  background:#315d89!important;
  min-height:0!important;
  height:auto!important;
}
.af-layout{
  min-height:0!important;
  height:auto!important;
  display:flex!important;
  align-items:flex-start!important;
}
.af-sidebar{
  flex:0 0 175px!important;
  width:175px!important;
  min-height:0!important;
  align-self:stretch!important;
}
.af-content{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  padding-bottom:20px!important;
}
.af-footer{
  margin-top:0!important;
  min-height:55px!important;
  height:auto!important;
}
.af-header{position:relative!important;}
.af-banner-img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center top!important;
  background:#244d78!important;
}
.af-memories-archive .af-section-intro{
  background:transparent!important;
  border:0!important;
  color:#fff!important;
  padding:0 0 10px!important;
  margin:0 0 18px!important;
  font-weight:bold!important;
  line-height:1.28!important;
}
.af-memories-archive .af-section-intro .af-intro-label{display:none!important;}
.af-memories-archive .af-section-intro a{color:#fff!important;}
.af-plain-archive .af-section-intro,
.af-page-panel{
  background:#c7ccd1!important;
  border:1px dashed #fff!important;
  color:#000!important;
}
.af-generic-archive:empty{padding-bottom:0!important;}
@media(max-width:760px){
  body{background:#315d89!important;}
  .af-layout{display:block!important;}
  .af-sidebar{width:100%!important;flex:none!important;}}

/* v54 real layout fixes */
html, body{
    min-height:100%;
}
body{
    background:#315d89;
    background:linear-gradient(to bottom,#315d89 0%,#6f8daa 48%,#eef2f5 100%) !important;
    background-attachment:fixed !important;
}
.af-page{
    min-height:0 !important;
    height:auto !important;
    width:1000px;
    max-width:calc(100vw - 40px);
    border-left:2px solid #dce6ee;
    border-right:2px solid #dce6ee;
    border-radius:0 0 14px 14px;
    overflow:hidden;
}
.af-layout{
    display:grid;
    grid-template-columns:175px minmax(0,1fr);
    min-height:0 !important;
    height:auto !important;
    align-items:stretch;
}
.af-sidebar{
    min-height:0 !important;
    height:auto !important;
    padding-bottom:18px !important;
}
.af-content{
    min-height:0 !important;
    height:auto !important;
    padding-bottom:22px !important;
}
.af-footer{
    min-height:0 !important;
    height:auto !important;
    padding:14px 25px 18px !important;
    border-radius:0 0 14px 14px;
    overflow:hidden;
}
.af-header{
    height:125px;
    overflow:visible !important;
}
.af-banner-img{
    width:100%;
    height:125px;
    object-fit:contain !important;
    object-position:center top !important;
    background:#244d78;
}
.af-section-title{
    margin-bottom:22px;
}
.af-plain-page-content .af-page-panel,
.af-plain-static-page{
    margin:0 0 16px;
    padding:14px 16px;
    min-height:0;
}
.af-plain-static-page p:first-child{margin-top:0}
.af-plain-static-page p:last-child{margin-bottom:0}
.af-sidebox{display:none !important;}
@media(max-width:1020px){
    .af-page{max-width:100%;width:100%;border-radius:0;border-left:0;border-right:0;}
}

/* v55 hard layout/contact/gradient fix */
html{
  min-height:100% !important;
  background:#f2f5f8 !important;
}
body{
  min-height:100% !important;
  background:#f2f5f8 !important;
  background:linear-gradient(to bottom,#315d89 0%,#6f8aa2 28%,#b7c5d0 58%,#f2f5f8 100%) fixed !important;
}
body.admin-bar{
  background:linear-gradient(to bottom,#315d89 0%,#6f8aa2 28%,#b7c5d0 58%,#f2f5f8 100%) fixed !important;
}
.af-page{
  min-height:0 !important;
  height:auto !important;
  display:block !important;
  border-radius:0 0 14px 14px !important;
  overflow:hidden !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.35) !important;
}
.af-layout{
  display:grid !important;
  grid-template-columns:175px minmax(0,1fr) !important;
  min-height:0 !important;
  height:auto !important;
  align-items:stretch !important;
}
.af-sidebar{
  min-height:0 !important;
  height:auto !important;
  padding-bottom:14px !important;
}
.af-content{
  min-height:0 !important;
  height:auto !important;
  padding-bottom:18px !important;
}
.af-footer{
  min-height:0 !important;
  height:auto !important;
  margin-top:0 !important;
  padding:14px 25px 18px !important;
  border-radius:0 0 14px 14px !important;
}
.af-header{
  overflow:hidden !important;
}
.af-banner-img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center top !important;
}
.af-plain-page-content .af-section-title{
  margin-bottom:18px !important;
}
.af-plain-page-content .af-plain-static-page{
  background:transparent !important;
  border:0 !important;
  color:#fff !important;
  padding:6px 0 12px !important;
  margin:0 !important;
  font-weight:bold !important;
  line-height:1.35 !important;
}
.af-plain-page-content .af-plain-static-page a{
  color:#fff !important;
  text-decoration:underline !important;
}
.af-plain-page-content .af-original-card,
.af-plain-page-content .af-card-label,
.af-plain-page-content .af-card-inner,
.af-plain-page-content .af-placeholder,
.af-plain-page-content .af-card-text{
  display:none !important;
}
@media(max-width:1020px){
  .af-page{max-width:100% !important;width:100% !important;border-radius:0 !important;}
}
@media(max-width:760px){
  body,body.admin-bar{background:#315d89 !important;}
  .af-layout{display:block !important;}
}

/* v57 release-candidate polishing */
html, body{
  min-height:100% !important;
}
body{
  background:#eef3f7 !important;
  background:linear-gradient(to bottom,#214f7c 0%,#315d89 16%,#7e98af 48%,#d8e2ea 78%,#f7f9fb 100%) fixed !important;
}
.af-page{
  width:1040px !important;
  max-width:calc(100vw - 24px) !important;
  margin:0 auto !important;
  background:#315d89 !important;
  border-left:2px solid #e7edf4 !important;
  border-right:2px solid #e7edf4 !important;
  border-radius:0 0 12px 12px !important;
  overflow:hidden !important;
  min-height:0 !important;
  box-shadow:0 1px 0 rgba(255,255,255,.6) !important;
}
.af-layout{
  display:grid !important;
  grid-template-columns:175px minmax(0,1fr) !important;
  min-height:0 !important;
  height:auto !important;
  align-items:start !important;
}
.af-sidebar{
  min-height:0 !important;
  height:auto !important;
  padding-bottom:12px !important;
}
.af-content{
  min-height:0 !important;
  height:auto !important;
  padding:20px 12px 14px !important;
}
.af-footer{
  min-height:0 !important;
  height:auto !important;
  margin-top:0 !important;
  padding:12px 24px 16px !important;
  border-radius:0 0 12px 12px !important;
}
.af-header{
  height:auto !important;
  min-height:0 !important;
  overflow:hidden !important;
  background:#244d78 !important;
  padding:0 !important;
  border-bottom:2px solid #e7edf4 !important;
}
.af-banner-img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center top !important;
  background:#244d78 !important;
  border:0 !important;
  outline:0 !important;
  margin:0 !important;
  padding:0 !important;
}
.af-banner-img + *{border:0 !important;}
.af-section-title{
  border-radius:5px 5px 0 0 !important;
  box-shadow:inset 1px 1px 0 #f4f6f8, inset -1px -1px 0 #667380 !important;
}
.af-plain-page-content .af-plain-static-page{
  background:transparent !important;
  border:0 !important;
  color:#fff !important;
  padding:2px 0 6px !important;
  margin:0 !important;
  font-weight:bold !important;
  line-height:1.35 !important;
}
.af-plain-page-content .af-plain-static-page a{color:#fff !important;}
.af-original-card,
.af-cat-profile-card,
.af-kitten-table-card,
.af-page-panel,
.af-section-intro{
  border-radius:5px !important;
}
.af-card-img img,
.af-cat-photo img,
.af-kitten-imgbox img,
.af-lightbox img,
.af-gallery-real .af-gallery-item img,
.af-page-image img{
  object-fit:contain !important;
  background:#e7edf4 !important;
}
.af-card-img img{height:150px !important;}
.af-cat-profile-card{
  display:grid !important;
  grid-template-columns:255px minmax(0,1fr) !important;
  margin:0 0 22px !important;
  background:#c7ccd1 !important;
  border:1px dashed #fff !important;
  color:#000 !important;
  overflow:hidden !important;
}
.af-cat-left{border-right:1px dashed #fff !important;}
.af-cat-photo{
  min-height:185px !important;
  padding:10px !important;
}
.af-cat-photo img,
.af-cat-photo .af-placeholder{
  width:165px !important;
  height:155px !important;
  object-fit:contain !important;
  background:#e7edf4 !important;
  border:1px solid #fff !important;
}
.af-cat-icons,
.af-kitten-icons{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
}
.af-cat-right{
  min-height:185px !important;
  padding:9px 12px !important;
  font-size:15px !important;
  line-height:1.22 !important;
}
.af-cat-right h2{
  font-size:17px !important;
  line-height:1.12 !important;
  margin:0 0 4px !important;
}
.af-cat-type{
  margin-top:2px !important;
  font-weight:bold !important;
}
.af-cat-status{
  display:inline-block !important;
  margin:7px 0 6px !important;
  padding:2px 7px !important;
  background:#dbe1e6 !important;
  border:1px dashed #fff !important;
  color:#244b72 !important;
  font-size:12px !important;
  line-height:1.1 !important;
  letter-spacing:.3px !important;
  text-transform:uppercase !important;
  font-weight:bold !important;
}
.af-cat-health{
  margin-top:12px !important;
  padding-top:8px !important;
  border-top:1px dashed #fff !important;
  font-size:14px !important;
  line-height:1.25 !important;
}
.af-farewell-text{
  margin-top:14px !important;
  padding-top:10px !important;
  border-top:1px dashed #fff !important;
  font-style:italic !important;
}
.af-memory-profile-card{margin-bottom:28px !important;}
.af-memory-profile-card .af-cat-right{padding-top:12px !important;}
.af-icon.disabled{
  opacity:.55 !important;
  cursor:default !important;
  pointer-events:none !important;
  color:#555 !important;
}
.af-icon.IMG{color:#5336a4 !important;}
.af-kitten-top-grid{
  grid-template-columns:minmax(230px,1.1fr) minmax(180px,.8fr) minmax(230px,1.1fr) !important;
}
.af-kitten-parent-block,
.af-kitten-litter-block{
  min-height:220px !important;
}
.af-kitten-header{
  min-height:44px !important;
  height:auto !important;
  padding:5px 8px !important;
  line-height:1.15 !important;
  font-size:14px !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
.af-kitten-imgbox{
  height:142px !important;
  padding:7px !important;
}
.af-kitten-imgbox img,
.af-parent-placeholder{
  max-width:145px !important;
  height:130px !important;
  object-fit:contain !important;
  background:#e7edf4 !important;
}
.af-litter-title{font-size:22px !important;}
.af-kitten-note{display:none !important;}
.af-menu a{border-radius:0 !important;}
.af-sidebox{display:none !important;}
@media(max-width:1060px){
  .af-page{width:100% !important;max-width:100% !important;border-left:0 !important;border-right:0 !important;border-radius:0 !important;}
}
@media(max-width:760px){
  body{background:#315d89 !important;}
  .af-layout{display:block !important;}
  .af-sidebar{width:100% !important;}
  .af-content{padding:16px 8px 12px !important;}
  .af-cat-profile-card{grid-template-columns:1fr !important;}
  .af-cat-left{border-right:0 !important;border-bottom:1px dashed #fff !important;}
  .af-cat-photo img,.af-cat-photo .af-placeholder{width:220px !important;height:200px !important;}
  .af-kitten-top-grid{display:block !important;}
  .af-kitten-parent-block,.af-kitten-litter-block{min-height:0 !important;}
}

/* v58 final header/layout correction based on original transparent logo.gif */
html,body{
  min-height:100% !important;
}
body{
  margin:0 !important;
  background-color:#c9d4dd !important;
  background-image:linear-gradient(to bottom,#315d89 0%,#4f789d 34%,#91a9bb 68%,#c9d4dd 100%) !important;
  background-attachment:fixed !important;
  background-repeat:no-repeat !important;
}
.af-page{
  width:1000px !important;
  max-width:calc(100vw - 70px) !important;
  margin:0 auto 0 !important;
  background:#315d89 !important;
  border-left:2px solid #dce6ee !important;
  border-right:2px solid #dce6ee !important;
  border-bottom:2px solid #dce6ee !important;
  border-radius:0 0 12px 12px !important;
  overflow:hidden !important;
  min-height:0 !important;
  box-shadow:none !important;
}
.af-header{
  height:125px !important;
  min-height:125px !important;
  padding:0 !important;
  margin:0 !important;
  background:#315d89 !important;
  border:0 !important;
  border-bottom:2px solid #dce6ee !important;
  overflow:hidden !important;
}
.af-banner-img{
  display:block !important;
  width:100% !important;
  height:125px !important;
  max-height:125px !important;
  object-fit:fill !important;
  object-position:center center !important;
  border:0 !important;
  outline:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:#315d89 !important;
  image-rendering:auto !important;
}
.af-layout{
  display:grid !important;
  grid-template-columns:175px minmax(0,1fr) !important;
  align-items:start !important;
  min-height:0 !important;
  height:auto !important;
  background:#315d89 !important;
}
.af-sidebar{
  min-height:0 !important;
  height:auto !important;
  align-self:stretch !important;
  padding:20px 0 12px !important;
  background:#315d89 !important;
  border-right:2px solid #dce6ee !important;
}
.af-content{
  min-height:0 !important;
  height:auto !important;
  padding:20px 10px 16px !important;
  background:#315d89 !important;
}
.af-footer{
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:12px 25px 14px !important;
  background:#315d89 !important;
  border-top:2px solid #dce6ee !important;
  border-radius:0 0 12px 12px !important;
}
.af-up{font-size:20px !important;}
.af-section-title{margin-bottom:20px !important;}
.af-menu a{font-size:14px !important;}
.af-menu li:has(a[href*="nase-zvery"]){display:none !important;}

/* contact/plain pages: no news placeholder/card */
.af-plain-page-content .af-original-card,
.af-plain-page-content .af-card-label,
.af-plain-page-content .af-card-inner,
.af-plain-page-content .af-placeholder,
.af-plain-page-content .af-card-text{display:none !important;}
.af-plain-page-content .af-plain-static-page,
.af-plain-static-page{
  background:transparent !important;
  border:0 !important;
  color:#fff !important;
  padding:0 0 10px !important;
  margin:0 !important;
  font-weight:bold !important;
  line-height:1.35 !important;
}
.af-plain-static-page a{color:#fff !important;text-decoration:underline !important;}

/* horizontal icon row and better image crop */
.af-cat-icons,.af-kitten-icons{display:grid !important;grid-template-columns:repeat(3,1fr) !important;}
.af-cat-photo img,.af-kitten-imgbox img,.af-card-img img,.af-gallery-original img{object-fit:contain !important;background:#e7edf4 !important;}
.af-cat-status{font-size:12px !important;line-height:1.1 !important;padding:2px 7px !important;}
.af-kitten-note{display:none !important;}

/* parent names get more room */
.af-kitten-top-grid{grid-template-columns:minmax(245px,1.15fr) minmax(165px,.7fr) minmax(245px,1.15fr) !important;}
.af-kitten-header{min-height:42px !important;height:auto !important;padding:4px 8px !important;line-height:1.12 !important;font-size:14px !important;overflow-wrap:anywhere !important;}
.af-kitten-imgbox{height:140px !important;}
.af-kitten-imgbox img,.af-parent-placeholder{max-width:150px !important;height:130px !important;object-fit:contain !important;}

@media(max-width:1060px){
  .af-page{max-width:100% !important;width:100% !important;border-radius:0 !important;border-left:0 !important;border-right:0 !important;}
}
@media(max-width:760px){
  body{background:#315d89 !important;}
  .af-layout{display:block !important;}
  .af-sidebar{width:100% !important;}
  .af-content{padding:16px 8px 12px !important;}
  .af-header,.af-banner-img{height:auto !important;min-height:0 !important;max-height:none !important;}
  .af-banner-img{object-fit:contain !important;}
  .af-kitten-top-grid{display:block !important;}
}

/* v59 clean final layout/header/contact fixes */
html, body {
  margin: 0 !important;
  min-height: 100% !important;
  background: #b8c7d2 !important;
}
body {
  color: #000 !important;
  background-color: #b8c7d2 !important;
  background-image: linear-gradient(to bottom, #315d89 0%, #547b9d 36%, #90a8ba 72%, #b8c7d2 100%) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  font-family: Arial, Helvetica, sans-serif !important;
}
.af-page {
  width: 1000px !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  background: #315d89 !important;
  border-left: 2px solid #dce6ee !important;
  border-right: 2px solid #dce6ee !important;
  border-bottom: 2px solid #dce6ee !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden !important;
  min-height: 0 !important;
  height: auto !important;
  box-shadow: none !important;
}
.af-header {
  width: 1000px !important;
  height: 120px !important;
  min-height: 120px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #315d89 !important;
  border: 0 !important;
  border-bottom: 2px solid #dce6ee !important;
  overflow: hidden !important;
  line-height: 0 !important;
}
.af-banner-img {
  display: block !important;
  width: 1000px !important;
  height: 120px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left top !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  image-rendering: auto !important;
}
.af-layout {
  display: grid !important;
  grid-template-columns: 175px minmax(0, 1fr) !important;
  align-items: start !important;
  min-height: 0 !important;
  height: auto !important;
  background: #315d89 !important;
}
.af-sidebar {
  width: 175px !important;
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch !important;
  padding: 20px 0 12px !important;
  background: #315d89 !important;
  border-right: 2px solid #dce6ee !important;
}
.af-content {
  min-height: 0 !important;
  height: auto !important;
  padding: 20px 10px 16px !important;
  background: #315d89 !important;
  overflow: visible !important;
}
.af-footer {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 25px 14px !important;
  background: #315d89 !important;
  border-top: 2px solid #dce6ee !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden !important;
}
.af-up { font-size: 20px !important; }
.af-menu li:has(a[href*="nase-zvery"]), .af-menu a[href*="nase-zvery"] { display: none !important; }
.af-section-title {
  margin: 0 auto 20px !important;
  padding: 4px 34px 3px !important;
  min-width: 150px !important;
  width: max-content !important;
  background: #c8d0d8 !important;
  color: #244d78 !important;
  border-radius: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
/* Kontakt / textové stránky bez novinkovej kartičky */
.af-plain-page-content .af-section-title { margin-bottom: 18px !important; }
.af-plain-page-content .af-original-card,
.af-plain-page-content .af-card-label,
.af-plain-page-content .af-card-inner,
.af-plain-page-content .af-placeholder,
.af-plain-page-content .af-card-text { display: none !important; }
.af-plain-static-page,
.af-plain-page-content .af-plain-static-page {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  padding: 0 0 10px !important;
  margin: 0 !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
  min-height: 0 !important;
}
.af-plain-static-page p:first-child { margin-top: 0 !important; }
.af-plain-static-page p:last-child { margin-bottom: 0 !important; }
.af-plain-static-page a { color: #fff !important; text-decoration: underline !important; }
/* Obrazky bez nepríjemného zoomu */
.af-card-img img,
.af-cat-photo img,
.af-kitten-imgbox img,
.af-lightbox img,
.af-gallery-real .af-gallery-item img,
.af-page-image img,
.af-kastrat-photo img,
.af-memory-photo img {
  object-fit: contain !important;
  background: #e7edf4 !important;
}
/* Profil mačky - jemnejší status a nový typ popisu */
.af-cat-profile-card {
  display: grid !important;
  grid-template-columns: 255px minmax(0, 1fr) !important;
  margin: 0 0 22px !important;
  background: #c7ccd1 !important;
  border: 1px dashed #fff !important;
  color: #000 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}
.af-cat-left { border-right: 1px dashed #fff !important; background: #c7ccd1 !important; }
.af-cat-photo { min-height: 185px !important; padding: 10px !important; }
.af-cat-photo img, .af-cat-photo .af-placeholder {
  width: 165px !important;
  height: 155px !important;
  object-fit: contain !important;
  background: #e7edf4 !important;
  border: 1px solid #fff !important;
}
.af-cat-right { min-height: 185px !important; padding: 9px 12px !important; font-size: 15px !important; line-height: 1.22 !important; }
.af-cat-right h2 { margin: 0 0 4px !important; font-size: 17px !important; line-height: 1.12 !important; color: #244b72 !important; }
.af-cat-right h2 a { color: #244b72 !important; text-decoration: none !important; font-weight: bold !important; }
.af-cat-type { margin-top: 2px !important; font-weight: bold !important; }
.af-cat-status {
  display: inline-block !important;
  margin: 7px 0 6px !important;
  padding: 2px 7px !important;
  background: #dbe1e6 !important;
  border: 1px dashed #fff !important;
  color: #244b72 !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
}
.af-cat-health { margin-top: 12px !important; padding-top: 8px !important; border-top: 1px dashed #fff !important; font-size: 14px !important; line-height: 1.25 !important; }
.af-farewell-text { margin-top: 14px !important; padding-top: 10px !important; border-top: 1px dashed #fff !important; font-style: italic !important; }
.af-cat-icons, .af-kitten-icons { display: grid !important; grid-template-columns: repeat(3,1fr) !important; min-height: 34px !important; }
.af-icon.disabled { opacity: .55 !important; cursor: default !important; pointer-events: none !important; color: #555 !important; }
.af-icon.IMG { color: #5336a4 !important; }
/* Vrhy - viac miesta pre dlhé mená rodičov */
.af-kitten-top-grid { grid-template-columns: minmax(250px,1.15fr) minmax(160px,.7fr) minmax(250px,1.15fr) !important; }
.af-kitten-parent-block, .af-kitten-litter-block { min-height: 215px !important; }
.af-kitten-header { min-height: 42px !important; height: auto !important; padding: 4px 8px !important; line-height: 1.12 !important; font-size: 14px !important; white-space: normal !important; overflow-wrap: anywhere !important; }
.af-kitten-imgbox { height: 140px !important; padding: 7px !important; }
.af-kitten-imgbox img, .af-parent-placeholder { max-width: 150px !important; height: 130px !important; object-fit: contain !important; background: #e7edf4 !important; }
.af-kitten-note { display: none !important; }
/* Mobil */
@media (max-width: 1000px) {
  .af-page { width: 100% !important; max-width: 100% !important; border-left: 0 !important; border-right: 0 !important; border-radius: 0 !important; }
  .af-header { width: 100% !important; height: auto !important; min-height: 0 !important; }
  .af-banner-img { width: 100% !important; height: auto !important; }
}
@media (max-width: 760px) {
  body { background: #315d89 !important; }
  .af-layout { display: block !important; }
  .af-sidebar { width: 100% !important; border-right: 0 !important; border-bottom: 2px solid #dce6ee !important; }
  .af-content { padding: 16px 8px 12px !important; }
  .af-cat-profile-card { grid-template-columns: 1fr !important; }
  .af-cat-left { border-right: 0 !important; border-bottom: 1px dashed #fff !important; }
  .af-kitten-top-grid { display: block !important; }
}

/* v61 clean final fixes: original transparent banner, visible gradient, news posts, no bottom white gap */
html, body{
  margin:0 !important;
  min-height:100% !important;
  background:#c6d1da !important;
}
body{
  background-color:#c6d1da !important;
  background-image:linear-gradient(to bottom,#315d89 0%,#315d89 14%,#557d9f 42%,#92a9bb 72%,#c6d1da 100%) !important;
  background-attachment:fixed !important;
  background-repeat:no-repeat !important;
}
.af-page{
  width:1000px !important;
  max-width:1000px !important;
  margin:0 auto !important;
  background:#315d89 !important;
  min-height:0 !important;
  height:auto !important;
  border-left:2px solid #dce6ee !important;
  border-right:2px solid #dce6ee !important;
  border-bottom:2px solid #dce6ee !important;
  border-radius:0 0 13px 13px !important;
  overflow:hidden !important;
}
.af-header{
  width:1000px !important;
  height:120px !important;
  min-height:120px !important;
  line-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  border:0 !important;
  border-bottom:2px solid #dce6ee !important;
  background:#315d89 !important;
}
.af-banner-img{
  display:block !important;
  width:1000px !important;
  height:120px !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:fill !important;
  object-position:left top !important;
  border:0 !important;
  outline:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}
.af-layout{
  display:grid !important;
  grid-template-columns:175px minmax(0,1fr) !important;
  align-items:start !important;
  min-height:0 !important;
  height:auto !important;
  background:#315d89 !important;
}
.af-sidebar{
  width:175px !important;
  min-height:0 !important;
  height:auto !important;
  align-self:stretch !important;
  padding:20px 0 12px !important;
  background:#315d89 !important;
  border-right:2px solid #dce6ee !important;
}
.af-content{
  min-height:0 !important;
  height:auto !important;
  padding:20px 10px 14px !important;
  background:#315d89 !important;
  overflow:visible !important;
}
.af-footer{
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:12px 25px 14px !important;
  background:#315d89 !important;
  border-top:2px solid #dce6ee !important;
  border-radius:0 0 13px 13px !important;
  overflow:hidden !important;
}
.af-news-page-content .af-section-title{margin-bottom:20px !important;}
.af-news-page-content .af-original-card{display:block !important;}
.af-menu li:has(a[href*="nase-zvery"]),
.af-menu a[href*="nase-zvery"]{display:none !important;}
.af-plain-page-content .af-original-card,
.af-plain-page-content .af-card-label,
.af-plain-page-content .af-card-inner,
.af-plain-page-content .af-placeholder,
.af-plain-page-content .af-card-text{display:none !important;}
.af-plain-static-page,
.af-plain-page-content .af-plain-static-page{
  background:transparent !important;
  border:0 !important;
  color:#fff !important;
  padding:0 0 10px !important;
  margin:0 !important;
  font-weight:bold !important;
  line-height:1.35 !important;
}
.af-plain-static-page a{color:#fff !important;text-decoration:underline !important;}
@media(max-width:1000px){
  .af-page{width:100% !important;max-width:100% !important;border-left:0 !important;border-right:0 !important;border-radius:0 !important;}
  .af-header{width:100% !important;height:auto !important;min-height:0 !important;}
  .af-banner-img{width:100% !important;height:auto !important;object-fit:contain !important;}
}
@media(max-width:760px){
  body{background:#315d89 !important;}
  .af-layout{display:block !important;}
  .af-sidebar{width:100% !important;border-right:0 !important;border-bottom:2px solid #dce6ee !important;}
}

/* v62 release candidate: banner, gradient, kontakt, news and compact footer */
html,body{
  margin:0!important;
  min-height:100%!important;
  background:#d7e0e7!important;
}
body{
  color:#050505!important;
  background-color:#d7e0e7!important;
  background-image:linear-gradient(to bottom,#315d89 0%,#315d89 10%,#5f84a2 38%,#9db1c0 68%,#d7e0e7 100%)!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}
.af-page{
  width:1000px!important;
  max-width:1000px!important;
  margin:0 auto!important;
  background:#315d89!important;
  min-height:0!important;
  height:auto!important;
  border-left:2px solid #dce6ee!important;
  border-right:2px solid #dce6ee!important;
  border-bottom:2px solid #dce6ee!important;
  border-radius:0 0 13px 13px!important;
  overflow:hidden!important;
}
.af-header{
  display:block!important;
  width:1000px!important;
  height:120px!important;
  min-height:120px!important;
  padding:0!important;
  margin:0!important;
  line-height:0!important;
  background:#315d89!important;
  border:0!important;
  border-bottom:2px solid #dce6ee!important;
  overflow:hidden!important;
}
.af-banner-link{display:block!important;width:1000px!important;height:120px!important;line-height:0!important;text-decoration:none!important;border:0!important;}
.af-banner-img{
  display:block!important;
  width:1000px!important;
  height:120px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  object-position:left top!important;
  border:0!important;
  outline:0!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
}
.af-layout{
  display:grid!important;
  grid-template-columns:175px minmax(0,1fr)!important;
  min-height:0!important;
  height:auto!important;
  align-items:stretch!important;
  background:#315d89!important;
}
.af-sidebar{
  width:175px!important;
  min-height:0!important;
  height:auto!important;
  align-self:stretch!important;
  padding:20px 0 12px!important;
  background:#315d89!important;
  border-right:2px solid #dce6ee!important;
}
.af-content{
  min-height:0!important;
  height:auto!important;
  padding:20px 10px 14px!important;
  background:#315d89!important;
  overflow:visible!important;
}
.af-footer{
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:12px 25px 14px!important;
  background:#315d89!important;
  border-top:2px solid #dce6ee!important;
  border-radius:0 0 13px 13px!important;
  overflow:hidden!important;
}
.af-section-title{
  background:#c8d0d8!important;
  color:#244d78!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  width:max-content!important;
  min-width:150px!important;
  margin:0 auto 22px!important;
  padding:4px 32px 3px!important;
  font-size:18px!important;
  line-height:1!important;
  text-align:center!important;
  text-transform:uppercase!important;
}
/* Kontakt/linky/o nas: iba text, žiadny archive/news box */
.af-plain-page-content .af-original-card,
.af-plain-page-content .af-card-label,
.af-plain-page-content .af-card-inner,
.af-plain-page-content .af-placeholder,
.af-plain-page-content .af-card-text{display:none!important;}
.af-plain-static-page,
.af-plain-page-content .af-plain-static-page{
  background:transparent!important;
  border:0!important;
  color:#fff!important;
  padding:0 0 10px!important;
  margin:0!important;
  font-weight:bold!important;
  line-height:1.35!important;
  min-height:0!important;
}
.af-plain-static-page a{color:#fff!important;text-decoration:underline!important;}
.af-news-page-content .af-original-card{display:block!important;}
/* no zoomed cat photos */
.af-card-img img,.af-cat-photo img,.af-kitten-imgbox img,.af-lightbox img,.af-gallery-real .af-gallery-item img,.af-page-image img,.af-kastrat-photo img,.af-memory-photo img{
  object-fit:contain!important;
  background:#e7edf4!important;
}
/* parent boxes: dlhé mená */
.af-kitten-top-grid{grid-template-columns:minmax(260px,1.18fr) minmax(150px,.64fr) minmax(260px,1.18fr)!important;}
.af-kitten-header{min-height:42px!important;height:auto!important;padding:4px 8px!important;line-height:1.12!important;font-size:14px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.af-kitten-imgbox{height:140px!important;padding:7px!important;}
.af-kitten-imgbox img,.af-parent-placeholder{max-width:150px!important;height:130px!important;object-fit:contain!important;}
.af-kitten-note{display:none!important;}
.af-icon.disabled{opacity:.55!important;cursor:default!important;pointer-events:none!important;color:#555!important;}
.af-menu li:has(a[href*="nase-zvery"]),.af-menu a[href*="nase-zvery"]{display:none!important;}
@media(max-width:1000px){
  .af-page{width:100%!important;max-width:100%!important;border-left:0!important;border-right:0!important;border-radius:0!important;}
  .af-header,.af-banner-link{width:100%!important;height:auto!important;min-height:0!important;}
  .af-banner-img{width:100%!important;height:auto!important;object-fit:contain!important;}
}
@media(max-width:760px){
  body{background:#315d89!important;}
  .af-layout{display:block!important;}
  .af-sidebar{width:100%!important;border-right:0!important;border-bottom:2px solid #dce6ee!important;}
  .af-content{padding:16px 8px 12px!important;}
  .af-kitten-top-grid{display:block!important;}
}


/* v63 final tuning: natural banner, full parent photos, compact content, no forced crop */
html, body {
  min-height: 100% !important;
  margin: 0 !important;
}
body {
  background-color: #cbd6df !important;
  background-image: linear-gradient(to bottom, #315d89 0%, #315d89 12%, #6388a6 45%, #9fb3c3 76%, #cbd6df 100%) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
.af-page {
  width: 1000px !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  background: #315d89 !important;
  border-left: 2px solid #dce6ee !important;
  border-right: 2px solid #dce6ee !important;
  border-bottom: 2px solid #dce6ee !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden !important;
  min-height: 0 !important;
  height: auto !important;
}
.af-header {
  width: 1000px !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #315d89 !important;
  border: 0 !important;
  border-bottom: 2px solid #dce6ee !important;
  overflow: visible !important;
}
.af-banner-link {
  display: block !important;
  width: 1000px !important;
  height: auto !important;
  line-height: 0 !important;
  border: 0 !important;
}
.af-banner-img {
  display: block !important;
  width: 1000px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left top !important;
  border: 0 !important;
  outline: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.af-layout {
  display: grid !important;
  grid-template-columns: 175px minmax(0,1fr) !important;
  min-height: 0 !important;
  height: auto !important;
  align-items: stretch !important;
  background: #315d89 !important;
}
.af-sidebar {
  width: 175px !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 20px 0 12px !important;
  background: #315d89 !important;
  border-right: 2px solid #dce6ee !important;
}
.af-content {
  min-height: 0 !important;
  height: auto !important;
  padding: 20px 10px 12px !important;
  background: #315d89 !important;
  overflow: visible !important;
}
.af-footer {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 25px 14px !important;
  background: #315d89 !important;
  border-top: 2px solid #dce6ee !important;
  border-radius: 0 0 12px 12px !important;
}
/* keep news visible, plain pages plain */
.af-news-page-content .af-original-card { display: block !important; }
.af-plain-page-content .af-original-card,
.af-plain-page-content .af-card-label,
.af-plain-page-content .af-card-inner,
.af-plain-page-content .af-placeholder,
.af-plain-page-content .af-card-text { display: none !important; }
.af-plain-static-page, .af-plain-page-content .af-plain-static-page {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  padding: 0 0 8px !important;
  margin: 0 !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
}
/* parent/cat photos: use full image + contain, not cropped thumbnails */
.af-cat-photo img,
.af-kitten-imgbox img,
.af-card-img img,
.af-lightbox img,
.af-gallery-real .af-gallery-item img,
.af-page-image img,
.af-kastrat-photo img,
.af-memory-photo img {
  object-fit: contain !important;
  background: #e7edf4 !important;
}
.af-kitten-top-grid {
  grid-template-columns: minmax(270px,1.2fr) minmax(145px,.6fr) minmax(270px,1.2fr) !important;
}
.af-kitten-parent-block, .af-kitten-litter-block { min-height: 220px !important; }
.af-kitten-header {
  min-height: 44px !important;
  height: auto !important;
  padding: 5px 8px !important;
  line-height: 1.12 !important;
  font-size: 14px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.af-kitten-imgbox { height: 142px !important; padding: 7px !important; }
.af-kitten-imgbox img, .af-parent-placeholder {
  max-width: 155px !important;
  height: 132px !important;
  object-fit: contain !important;
}
.af-kitten-note { display: none !important; }
.af-icon.disabled { opacity: .55 !important; pointer-events: none !important; cursor: default !important; color: #555 !important; }
.af-cat-status { font-size: 12px !important; line-height: 1.1 !important; padding: 2px 7px !important; }
.af-menu li:has(a[href*="nase-zvery"]), .af-menu a[href*="nase-zvery"] { display: none !important; }
@media(max-width: 1000px) {
  .af-page { width: 100% !important; max-width: 100% !important; border-left: 0 !important; border-right: 0 !important; border-radius: 0 !important; }
  .af-header, .af-banner-link { width: 100% !important; height: auto !important; }
  .af-banner-img { width: 100% !important; height: auto !important; max-width: 100% !important; }
}
@media(max-width:760px) {
  body { background: #315d89 !important; }
  .af-layout { display: block !important; }
  .af-sidebar { width: 100% !important; border-right: 0 !important; border-bottom: 2px solid #dce6ee !important; }
  .af-content { padding: 16px 8px 12px !important; }
  .af-kitten-top-grid { display: block !important; }
}


/* v64 real visual fix: admin bar offset, clean banner, larger non-cropped parent photos */
html, body {
  margin: 0 !important;
  min-height: 100% !important;
}
body {
  background-color: #b8c8d4 !important;
  background-image: linear-gradient(to bottom, #315d89 0%, #315d89 18%, #577f9f 45%, #91a8ba 72%, #b8c8d4 100%) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
/* Our earlier html/body reset was hiding the top of the banner under WP admin bar. */
body.admin-bar .af-page {
  margin-top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .af-page { margin-top: 46px !important; }
}
.af-page {
  width: 1000px !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: #315d89 !important;
  border-left: 2px solid #dce6ee !important;
  border-right: 2px solid #dce6ee !important;
  border-bottom: 2px solid #dce6ee !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden !important;
  height: auto !important;
  min-height: 0 !important;
}
.af-header,
.af-banner-link {
  display: block !important;
  width: 1000px !important;
  height: 120px !important;
  min-height: 120px !important;
  max-height: 120px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  background: #315d89 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 2px solid #dce6ee !important;
}
.af-banner-link { border-bottom: 0 !important; }
.af-banner-img {
  display: block !important;
  width: 1000px !important;
  height: 120px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill !important;
  object-position: left top !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
}
.af-layout {
  display: grid !important;
  grid-template-columns: 175px minmax(0, 1fr) !important;
  align-items: stretch !important;
  min-height: 0 !important;
  height: auto !important;
  background: #315d89 !important;
}
.af-sidebar {
  width: 175px !important;
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch !important;
  padding: 20px 0 12px !important;
  background: #315d89 !important;
  border-right: 2px solid #dce6ee !important;
}
.af-content {
  min-height: 0 !important;
  height: auto !important;
  padding: 20px 10px 14px !important;
  background: #315d89 !important;
  overflow: visible !important;
}
.af-footer {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px 25px 14px !important;
  background: #315d89 !important;
  border-top: 2px solid #dce6ee !important;
  border-radius: 0 0 12px 12px !important;
}
/* Larger, full-image parent photos in litters. No center zoom/crop. */
.af-kitten-top-grid {
  grid-template-columns: minmax(285px, 1.22fr) minmax(145px, .56fr) minmax(285px, 1.22fr) !important;
}
.af-kitten-parent-block,
.af-kitten-litter-block {
  min-height: 245px !important;
}
.af-kitten-header {
  min-height: 44px !important;
  height: auto !important;
  padding: 5px 8px !important;
  line-height: 1.14 !important;
  font-size: 14px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.af-kitten-imgbox {
  height: 166px !important;
  padding: 8px !important;
}
.af-kitten-imgbox img,
.af-parent-placeholder {
  width: 185px !important;
  max-width: 92% !important;
  height: 152px !important;
  object-fit: contain !important;
  background: #e7edf4 !important;
  border: 1px solid #fff !important;
}
.af-card-img img,
.af-cat-photo img,
.af-kitten-imgbox img,
.af-lightbox img,
.af-gallery-real .af-gallery-item img,
.af-page-image img,
.af-kastrat-photo img,
.af-memory-photo img {
  object-fit: contain !important;
  background: #e7edf4 !important;
}
.af-kitten-note { display: none !important; }
.af-news-page-content .af-original-card { display: block !important; }
.af-menu li:has(a[href*="nase-zvery"]),
.af-menu a[href*="nase-zvery"] { display: none !important; }
@media (max-width: 1000px) {
  .af-page { width: 100% !important; max-width: 100% !important; border-left: 0 !important; border-right: 0 !important; border-radius: 0 !important; }
  .af-header, .af-banner-link { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
  .af-banner-img { width: 100% !important; height: auto !important; max-width: 100% !important; object-fit: contain !important; }
}
@media (max-width: 760px) {
  body { background: #315d89 !important; }
  .af-layout { display: block !important; }
  .af-sidebar { width: 100% !important; border-right: 0 !important; border-bottom: 2px solid #dce6ee !important; }
  .af-content { padding: 16px 8px 12px !important; }
  .af-kitten-top-grid { display: block !important; }
}



/* ==========================================================
   ADAMSFAMILY v73 FINAL ALL FIXES
   header lower, no side lines, original banner, legacy gradient,
   cat gallery/lightbox, VHS videos, softer image crop
========================================================== */

html{
  min-height:100%;
  margin:0 !important;
  padding:0 !important;
  background:#dfe5ea !important;
}

body{
  min-height:100vh !important;
  margin:0 !important;
  padding:0 !important;
  background-color:#dfe5ea !important;
  background-image:linear-gradient(
    to bottom,
    #3f6993 0px,
    #4e7499 300px,
    #6d8aa5 700px,
    #99acbd 1200px,
    #c9d3dc 1900px,
    #e4e9ee 2600px
  ) !important;
  background-repeat:repeat-x !important;
  background-size:100% 2600px !important;
  background-attachment:scroll !important;
}

/* lower the whole retro page like original */
.af-page,
.af-site,
.af-wrap,
.site,
#page,
#wrapper{
  margin-top:12px !important;
  background:#315f8d !important;
  border-left:0 !important;
  border-right:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

body.admin-bar .af-page,
body.admin-bar .af-site,
body.admin-bar .af-wrap,
body.admin-bar .site,
body.admin-bar #page,
body.admin-bar #wrapper{
  margin-top:12px !important;
}

/* header/banner: one real GIF, lower, no crop, no ugly side lines */
.af-header,
.site-header,
header[role="banner"],
header{
  padding:0 !important;
  margin:0 auto !important;
  background:transparent !important;
  line-height:0 !important;
  overflow:visible !important;
  border-left:0 !important;
  border-right:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

.af-header a,
.site-header a,
header[role="banner"] a{
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  line-height:0 !important;
  background:transparent !important;
  border-left:0 !important;
  border-right:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

.af-header img,
.site-header img,
header[role="banner"] img,
.af-banner-img,
.af-banner-logo{
  display:block !important;
  width:1000px !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  padding:0 !important;
  margin:0 auto !important;
  border-left:0 !important;
  border-right:0 !important;
  border-top:0 !important;
  border-bottom:0 !important;
  outline:0 !important;
  background:transparent !important;
  object-fit:contain !important;
  object-position:center center !important;
  vertical-align:top !important;
  box-shadow:none !important;
}

.af-header::before,
.af-header::after,
.site-header::before,
.site-header::after,
header::before,
header::after{
  content:none !important;
  display:none !important;
}

/* content panel dark retro blue */
.af-layout,
.af-main,
.af-content,
.site-content,
.content,
main{
  background-color:#315f8d;
}

/* remove only visual side lines around header/content, keep inner table/menu borders */
.af-header,
.site-header,
.af-banner,
.af-banner-link,
.af-banner-img{
  border-left-color:transparent !important;
  border-right-color:transparent !important;
}

/* softer litter/cat image fit */
.af-kitten-imgbox img,
.af-parent-placeholder,
.af-card-img img,
.af-kastrat-photo img,
.af-lightbox img,
.af-gallery-real .af-gallery-item img,
.vrh-parent img,
.vrh-rodic img,
.litter-parent img,
.parents-gallery img,
.cat-card img{
  object-fit:contain !important;
  object-position:center center !important;
}

/* Cat gallery */
.af-cat-gallery{
  margin:18px 0;
  padding:10px;
  background:#c9d2db;
  border:1px solid #e7edf4;
  color:#111;
}

.af-cat-gallery-title{
  font-weight:bold;
  color:#204d78;
  margin-bottom:10px;
  text-align:center;
  background:linear-gradient(to bottom,#e7edf4,#b9c7d4);
  padding:4px;
}

.af-cat-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(135px,1fr));
  gap:8px;
}

.af-cat-gallery-item{
  display:block;
  background:#e7edf4;
  border:1px solid #315f8d;
  padding:4px;
  cursor:zoom-in;
}

.af-cat-gallery-img{
  display:block;
  width:100%;
  height:135px;
  object-fit:contain !important;
  background:#e7edf4;
}

.af-lightbox[aria-hidden="true"]{display:none;}
.af-lightbox[aria-hidden="false"]{
  display:flex;
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(0,0,0,.86);
  align-items:center;
  justify-content:center;
  padding:18px;
}
.af-lightbox img{
  max-width:94vw;
  max-height:90vh;
  background:#dbe3ea;
  border:6px solid #e7edf4;
}
.af-lightbox-close{
  position:fixed;
  top:18px;
  right:24px;
  z-index:1000000;
  border:0;
  background:#c9d2db;
  color:#123a5f;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  padding:2px 12px;
}

/* VHS videos */
.af-vhs-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,240px));
  gap:18px;
  margin:18px 0 28px;
}

.af-vhs-card{
  background:#c9d2db;
  border:1px solid #e7edf4;
  box-shadow:0 0 0 1px #1d456c;
  padding:10px;
  color:#111;
}

.af-vhs-open{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
  font:inherit;
  color:inherit;
}

.af-vhs-thumb{
  display:block;
  height:145px;
  position:relative;
  overflow:hidden;
  border:8px solid #111;
  background-color:#1b2531;
  background-position:center center;
  background-size:cover;
  box-shadow:inset 0 0 35px rgba(0,0,0,.65);
}

.af-vhs-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(0deg,rgba(255,255,255,.08) 50%,rgba(0,0,0,.1) 50%),
    radial-gradient(circle at 50% 35%,rgba(255,255,255,.12),rgba(0,0,0,.35) 70%);
  background-size:100% 4px,100% 100%;
  pointer-events:none;
}

.af-vhs-label{
  position:absolute;
  top:8px;
  left:10px;
  z-index:2;
  color:#fff;
  font-family:"Courier New",monospace;
  font-size:12px;
  text-shadow:1px 1px 2px #000;
}

.af-vhs-play{
  position:absolute;
  inset:0;
  z-index:2;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:42px;
  text-shadow:0 0 12px #000;
}

.af-vhs-lines{
  position:absolute;
  inset:0;
  z-index:3;
  opacity:.22;
  background:repeating-linear-gradient(to bottom,transparent 0 3px,rgba(255,255,255,.32) 4px);
  pointer-events:none;
}

.af-vhs-title{
  display:block;
  margin:9px 0 3px;
  color:#204d78;
  font-weight:bold;
  font-size:14px;
}

.af-vhs-desc{
  display:block;
  color:#111;
  font-size:12px;
  line-height:1.35;
}

.af-vhs-modal[aria-hidden="true"]{display:none;}
.af-vhs-modal[aria-hidden="false"]{display:flex;}

.af-vhs-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  align-items:center;
  justify-content:center;
}

.af-vhs-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.78);
}

.af-vhs-player{
  position:relative;
  z-index:2;
  width:min(820px,92vw);
  background:#101010;
  border:10px solid #202020;
  box-shadow:0 0 0 3px #888,0 20px 60px #000;
  color:#e9edf2;
}

.af-vhs-topbar,
.af-vhs-bottombar{
  background:#050505;
  color:#dbe8f4;
  font-family:"Courier New",monospace;
  font-size:13px;
  padding:8px 12px;
}

.af-vhs-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.af-vhs-close{
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
  font:inherit;
  font-weight:bold;
}

.af-vhs-screen{
  position:relative;
  aspect-ratio:16/9;
  background:#000;
  overflow:hidden;
}

.af-vhs-screen iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  z-index:1;
}

.af-vhs-noise{
  position:absolute;
  inset:0;
  z-index:2;
  opacity:.12;
  pointer-events:none;
  background:repeating-linear-gradient(to bottom,transparent 0 3px,rgba(255,255,255,.4) 4px);
  mix-blend-mode:screen;
}

body.af-vhs-active,
body.af-lightbox-active{
  overflow:hidden;
}

@media (max-width:768px){
  .af-page,
  .af-site,
  .af-wrap,
  .site,
  #page,
  #wrapper{
    margin-top:8px !important;
  }

  .af-header img,
  .site-header img,
  header[role="banner"] img,
  .af-banner-img{
    width:100% !important;
    height:auto !important;
  }

  .af-cat-gallery-grid{
    grid-template-columns:repeat(2,1fr);
    gap:6px;
  }

  .af-cat-gallery-img{
    height:120px;
  }

  .af-vhs-grid{
    grid-template-columns:1fr;
  }
}



/* ==========================================================
   ADAMSFAMILY v74 BUGFIX
   real lower header, remove banner/gallery lines, fix gallery notch,
   robust image lightbox
========================================================== */

/* Actual visual gap above retro page/header */
body{
  padding-top:14px !important;
}

body.admin-bar{
  padding-top:14px !important;
}

/* The site shell should sit lower and not draw side lines */
body > .af-page,
body > .af-site,
body > .af-wrap,
body > .site,
body > #page,
body > #wrapper,
.af-page,
.af-site,
.af-wrap,
.site,
#page,
#wrapper,
#container,
.af-container{
  margin-top:0 !important;
  border-left:0 !important;
  border-right:0 !important;
  box-shadow:none !important;
  outline:0 !important;
}

/* Header: no crop, no side separators, no fake borders */
.af-header,
.site-header,
header,
header[role="banner"],
.af-banner,
.af-banner-link,
.af-logo,
.logo,
#header,
#masthead{
  margin-top:0 !important;
  padding-top:0 !important;
  border-left:0 !important;
  border-right:0 !important;
  border-top:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background-color:transparent !important;
  overflow:visible !important;
}

.af-header *,
.site-header *,
header[role="banner"] *,
#header *,
#masthead *{
  border-left-color:transparent !important;
  border-right-color:transparent !important;
  box-shadow:none !important;
}

.af-header img,
.site-header img,
header[role="banner"] img,
#header img,
#masthead img,
.af-banner-img,
.af-banner-logo{
  display:block !important;
  height:auto !important;
  max-height:none !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}

/* Keep page panel color close to original */
.af-page,
.af-site,
.af-wrap,
.site,
#page,
#wrapper,
#container,
.af-layout,
.af-main,
.af-content,
.site-content,
.content,
main{
  background-color:#315f8d !important;
}

/* Remove the ugly dashed/dotted white outlines and the left top "notch" in gallery area */
.af-cat-gallery,
.af-gallery-real,
.gallery,
.wp-block-gallery,
.blocks-gallery-grid,
.af-content .gallery,
.af-content .wp-block-gallery{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  background:transparent !important;
  margin-left:0 !important;
  padding-left:0 !important;
}

.af-cat-gallery::before,
.af-cat-gallery::after,
.af-gallery-real::before,
.af-gallery-real::after,
.gallery::before,
.gallery::after,
.wp-block-gallery::before,
.wp-block-gallery::after,
.blocks-gallery-grid::before,
.blocks-gallery-grid::after{
  content:none !important;
  display:none !important;
}

/* Gallery cards themselves can keep clean retro frame, but no dashed parent border */
.af-cat-gallery-grid,
.af-gallery-real,
.gallery,
.wp-block-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
  gap:8px !important;
  overflow:visible !important;
}

.af-cat-gallery-item,
.af-gallery-real a,
.gallery a,
.wp-block-gallery a{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
  cursor:zoom-in !important;
}

.af-cat-gallery-img,
.af-gallery-real img,
.gallery img,
.wp-block-gallery img{
  display:block !important;
  width:100% !important;
  height:145px !important;
  object-fit:cover !important;
  object-position:center center !important;
  border:4px solid #e7edf4 !important;
  box-shadow:none !important;
  background:#dbe3ea !important;
}

/* V74 robust lightbox */
.af-gallery-lightbox-v74[aria-hidden="true"]{
  display:none !important;
}

.af-gallery-lightbox-v74[aria-hidden="false"]{
  display:flex !important;
  position:fixed !important;
  inset:0 !important;
  z-index:999999 !important;
  background:rgba(0,0,0,.88) !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
}

.af-gallery-lightbox-v74 img{
  max-width:94vw !important;
  max-height:90vh !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  border:6px solid #e7edf4 !important;
  background:#dbe3ea !important;
  box-shadow:0 20px 70px #000 !important;
}

.af-gallery-lightbox-close-v74{
  position:fixed !important;
  top:18px !important;
  right:24px !important;
  z-index:1000000 !important;
  border:0 !important;
  background:#c9d2db !important;
  color:#123a5f !important;
  font-size:34px !important;
  line-height:1 !important;
  cursor:pointer !important;
  padding:2px 12px !important;
}

body.af-gallery-lightbox-open-v74{
  overflow:hidden !important;
}

/* Mobile: keep header line clean and gallery usable */
@media (max-width:768px){
  body,
  body.admin-bar{
    padding-top:8px !important;
  }

  .af-cat-gallery-grid,
  .af-gallery-real,
  .gallery,
  .wp-block-gallery{
    grid-template-columns:repeat(2,1fr) !important;
    gap:6px !important;
  }

  .af-cat-gallery-img,
  .af-gallery-real img,
  .gallery img,
  .wp-block-gallery img{
    height:125px !important;
    border-width:3px !important;
  }
}



/* ==========================================================
   ADAMSFAMILY v75 FINAL CLEANUP
   Only: lower banner, kill banner side lines, fix gallery lightbox
========================================================== */

/* Keep current gradient. Only create the small original top fuga. */
html{
  margin:0 !important;
  padding:0 !important;
}

body{
  margin:0 !important;
  padding-top:18px !important;
}

body.admin-bar{
  padding-top:18px !important;
}

/* Do not push page twice; body padding creates the gap */
.af-page,
.af-site,
.af-wrap,
.site,
#page,
#wrapper,
#container,
.af-container{
  margin-top:0 !important;
}

/* Banner/header clean zone */
.af-header,
.site-header,
header,
header[role="banner"],
#header,
#masthead,
.af-banner,
.af-banner-link,
.af-logo,
.logo{
  margin-top:0 !important;
  padding-top:0 !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background-color:transparent !important;
  overflow:visible !important;
  line-height:0 !important;
}

/* Kill vertical white lines that are usually produced by inner wrappers */
.af-header *,
.site-header *,
header[role="banner"] *,
#header *,
#masthead *,
.af-banner *,
.af-banner-link *{
  border-left-width:0 !important;
  border-right-width:0 !important;
  border-left-color:transparent !important;
  border-right-color:transparent !important;
  box-shadow:none !important;
  outline:0 !important;
}

/* Real logo/banner image: never crop, never cover */
.af-header img,
.site-header img,
header[role="banner"] img,
#header img,
#masthead img,
.af-banner-img,
.af-banner-logo{
  display:block !important;
  width:1000px !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  object-fit:contain !important;
  object-position:center center !important;
  vertical-align:top !important;
}

.af-header::before,
.af-header::after,
.site-header::before,
.site-header::after,
header::before,
header::after,
#header::before,
#header::after,
#masthead::before,
#masthead::after,
.af-banner::before,
.af-banner::after{
  content:none !important;
  display:none !important;
}

/* Remove gallery notch/dashed parent outlines, but keep thumbnails visible */
.af-cat-gallery,
.af-gallery-real,
.gallery,
.wp-block-gallery,
.blocks-gallery-grid{
  outline:0 !important;
  box-shadow:none !important;
  border-style:none !important;
  border-width:0 !important;
  border-radius:0 !important;
}

.af-cat-gallery::before,
.af-cat-gallery::after,
.af-gallery-real::before,
.af-gallery-real::after,
.gallery::before,
.gallery::after,
.wp-block-gallery::before,
.wp-block-gallery::after,
.blocks-gallery-grid::before,
.blocks-gallery-grid::after{
  content:none !important;
  display:none !important;
}

/* v75 lightbox - starts fully hidden */
#af-gallery-lightbox-v75,
.af-gallery-lightbox-v75{
  display:none !important;
}

#af-gallery-lightbox-v75[aria-hidden="false"],
.af-gallery-lightbox-v75[aria-hidden="false"]{
  display:flex !important;
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  background:rgba(0,0,0,.88) !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
}

#af-gallery-lightbox-v75 img,
.af-gallery-lightbox-v75 img{
  max-width:94vw !important;
  max-height:90vh !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  border:6px solid #e7edf4 !important;
  background:#dbe3ea !important;
  box-shadow:0 20px 70px #000 !important;
}

.af-gallery-lightbox-close-v75{
  position:fixed !important;
  top:18px !important;
  right:24px !important;
  z-index:2147483647 !important;
  border:0 !important;
  background:#c9d2db !important;
  color:#123a5f !important;
  font-size:34px !important;
  line-height:1 !important;
  cursor:pointer !important;
  padding:2px 12px !important;
}

body.af-gallery-lightbox-open-v75{
  overflow:hidden !important;
}

/* Disable old broken lightbox/modal display rules from previous tries unless explicitly active */
#af-lightbox[aria-hidden="true"],
.af-lightbox[aria-hidden="true"],
#af-vhs-modal[aria-hidden="true"],
.af-vhs-modal[aria-hidden="true"],
#af-gallery-lightbox-v74[aria-hidden="true"],
.af-gallery-lightbox-v74[aria-hidden="true"]{
  display:none !important;
}

@media (max-width:768px){
  body,
  body.admin-bar{
    padding-top:10px !important;
  }

  .af-header img,
  .site-header img,
  header[role="banner"] img,
  #header img,
  #masthead img,
  .af-banner-img,
  .af-banner-logo{
    width:100% !important;
    height:auto !important;
  }
}

/* v76 step 1: body border starts under banner + video/sidebar spacing fix */
body{
  padding-top:28px !important;
}
body.admin-bar{
  padding-top:28px !important;
}

/* Banner stays untouched: no new wrapper line around/above it */
.af-page{
  border-left:0 !important;
  border-right:0 !important;
  border-bottom:0 !important;
  overflow:visible !important;
}
.af-header{
  border:0 !important;
  overflow:visible !important;
}
.af-banner-img{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* The white body line begins only under the banner and wraps menu/content */
.af-layout{
  border-left:2px solid #dce6ee !important;
  border-right:2px solid #dce6ee !important;
  border-bottom:2px solid #dce6ee !important;
  border-radius:0 0 13px 13px !important;
  overflow:hidden !important;
  grid-template-columns:168px minmax(0,1fr) !important;
}

/* Bring the left white line closer to the menu */
.af-sidebar{
  width:168px !important;
  padding-left:2px !important;
  padding-right:0 !important;
  border-right:2px solid #dce6ee !important;
}
.af-menu{
  margin-left:0 !important;
}

@media(max-width:1000px){
  .af-layout{
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
  }
}
@media(max-width:760px){
  .af-layout{
    display:block !important;
  }
  .af-sidebar{
    width:100% !important;
    padding-left:8px !important;
    padding-right:8px !important;
    border-right:0 !important;
    border-bottom:2px solid #dce6ee !important;
  }
}

/* v80c: menu width + precise body line under untouched banner */
.af-header,
.af-banner-img{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* body wrapper line starts under banner only; match banner line thinner/lighter */
.af-layout{
  grid-template-columns:168px minmax(0,1fr) !important;
  border-left:1px solid #cbd7e1 !important;
  border-right:1px solid #cbd7e1 !important;
  border-bottom:1px solid #cbd7e1 !important;
  border-top:0 !important;
  border-radius:0 0 10px 0 !important;
  overflow:hidden !important;
}

.af-sidebar{
  width:168px !important;
  padding:20px 0 30px 0 !important;
  border-right:1px solid #cbd7e1 !important;
  background:#315f8d !important;
}

.af-menu{
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
}
.af-menu li{
  margin:0 0 4px 0 !important;
  padding:0 !important;
  width:100% !important;
}
.af-menu a{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  border-left:0 !important;
  border-right:0 !important;
  border-top:1px solid #eef3f7 !important;
  border-bottom:1px solid #244f78 !important;
  border-radius:0 !important;
  padding:8px 6px 8px 8px !important;
}

.af-footer{
  border-top:1px solid #cbd7e1 !important;
}

@media(max-width:760px){
  .af-layout{display:block !important;border-left:0 !important;border-right:0 !important;border-radius:0 !important;}
  .af-sidebar{width:100% !important;border-right:0 !important;border-bottom:1px solid #cbd7e1 !important;padding:8px !important;}
}

/* v83: move the entire real page wrapper lower as one block */
body .af-page,
body.admin-bar .af-page,
#page.af-page{
  margin-top:22px !important;
}

@media(max-width:760px){
  body .af-page,
  body.admin-bar .af-page,
  #page.af-page{
    margin-top:12px !important;
  }
}


/* v84: force the whole visible site block lower - banner + menu + content + footer */
html body:not(.wp-admin) #page.af-page,
html body:not(.wp-admin) .af-page,
html body.admin-bar #page.af-page,
html body.admin-bar .af-page,
html body #page.af-page{
  position:relative !important;
  top:26px !important;
  margin-top:0 !important;
  margin-bottom:26px !important;
}

/* v85: compact menu rows + smaller text so long items fit one line */
.af-sidebar{
  padding-top:12px !important;
}
.af-menu li{
  margin-bottom:3px !important;
}
.af-menu a{
  font-size:13px !important;
  line-height:1.05 !important;
  padding:6px 5px 6px 8px !important;
  min-height:0 !important;
  white-space:nowrap !important;
}
.af-star{
  margin-right:4px !important;
  font-size:14px !important;
  line-height:1 !important;
}
@media(max-width:760px){
  .af-menu a{
    white-space:normal !important;
    font-size:13px !important;
    padding:8px 6px !important;
  }
}
