/*
Theme Name: Berio Viktoria
Theme URI: https://berioviktoria.cz
Author: BERIO VIKTORIA
Description: Věrné zpracování schváleného grafického návrhu, vlastní fenky a odchovy.
Version: 7.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: berio-viktoria
*/

:root{
--green:#15340a;
--gold:#f3cd5f;
--gold-light:#ffe39a;
--brown:#735019;
--paper:#fdf6e8;
--ink:#17130e
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
margin:0;
background:var(--paper);
color:var(--ink);
font:17px/1.35 'Times New Roman',Times,serif
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}

a:focus-visible,button:focus-visible{
outline:3px solid #b88624;
outline-offset:3px
}

.wrap{width:96%;margin:auto}

/* ZAHLAVI */

.site-header{
background:linear-gradient(105deg,#122309,#193d09 58%,#142707);
color:#fff;
position:relative;
z-index:10
}

.header-inner{
min-height:5.15vw;
display:flex;
align-items:center;
justify-content:space-between;
gap:2vw;
padding:0 2.2% 0 7.55%
}

.brand{
display:flex;
align-items:center;
gap:.75vw;
text-decoration:none;
color:var(--gold);
flex:none
}

.brand-mark{
width:4.5vw;
height:4.5vw;
object-fit:contain
}

.brand strong{
display:block;
font-size:2.45vw;
line-height:1;
white-space:nowrap
}

.brand small{
display:block;
text-align:center;
line-height:1.02;
font-size:1.37vw;
color:#ffe197
}

.site-nav ul{
display:flex;
align-items:center;
gap:2.45vw;
list-style:none;
margin:0;
padding:0
}

.site-nav a{
display:block;
text-decoration:none;
white-space:nowrap;
font-weight:bold;
font-size:1.52vw;
padding:.85vw 0;
position:relative
}

.site-nav a:hover,
.site-nav .current-menu-item>a,
.home .site-nav li:first-child>a{
color:#ffe39a
}

.site-nav .current-menu-item>a:after,
.home .site-nav li:first-child>a:after{
content:'';
position:absolute;
bottom:0;
left:0;
right:0;
height:2px;
background:var(--gold)
}

.menu-toggle{display:none}

.paw{
display:inline-block;
flex:none;
width:1em;
height:1em;
vertical-align:-.1em;
background:currentColor;
mask:url('assets/paw-reference.png') center/contain no-repeat;
-webkit-mask:url('assets/paw-reference.png') center/contain no-repeat
}

/* HLAVNI OBRAZEK */

.hero{
position:relative;
aspect-ratio:1199/421;
background:url('assets/hero-reference.webp') center/100% 100% no-repeat;
color:var(--gold-light)
}

.hero-copy{
position:absolute;
left:5.7%;
width:37.6%;
height:100%;
top:0;
text-align:center
}

.hero h1,.hero p,.paw-divider,.buttons{
margin:0;
position:absolute;
width:100%;
left:0
}

.hero h1{
top:15%;
font-size:4.6vw;
line-height:1;
white-space:nowrap;
color:#ffe29a;
font-weight:bold;
text-shadow:0 2px 2px #152207
}

.hero .subtitle{
top:30%;
font-size:2.85vw;
line-height:1.02;
font-weight:bold;
text-shadow:0 1px 3px #0e2008
}

.paw-divider{
top:47.1%;
display:flex;
align-items:center;
justify-content:center;
gap:.8vw;
font-size:2.05vw;
color:var(--gold)
}

.paw-divider:before,.paw-divider:after{
content:'';
height:2px;
width:26%;
background:linear-gradient(90deg,transparent,#f5d271)
}

.paw-divider:after{transform:rotate(180deg)}

.hero .motto{
top:54.5%;
font-size:2.05vw;
line-height:1.12;
font-weight:bold;
text-shadow:0 1px 2px #29310b
}

.buttons{
top:71.5%;
display:flex;
justify-content:center;
gap:1.5vw
}

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:.8vw;
padding:.9vw 1.25vw;
min-height:4vw;
border:2px solid #f8d45e;
border-radius:.8vw;
color:#fff;
text-decoration:none;
background:linear-gradient(100deg,#162c08,#2b4e10);
box-shadow:0 1px 4px #1a2308;
font-weight:bold;
font-size:1.58vw;
white-space:nowrap
}

.btn .paw{color:var(--gold);font-size:2vw}
.btn:hover{background:#325614;color:#ffe39a}

/* UVODNI TEXT A KRAJINA */

.paper{
background:radial-gradient(ellipse at 50% 0%,#fff9ed 0%,#fdf6e8 60%,#fdf7eb 100%);
padding:0 0 1.4vw
}

.welcome{
display:grid;
grid-template-columns:31% 38% 31%;
align-items:center;
gap:0;
min-height:12.6vw;
margin:0 -2.08%;
overflow:hidden
}

.welcome-copy{
padding:0 .25vw;
align-self:center;
grid-column:2;
grid-row:1
}

.welcome .section-heading{
margin:0 0 .6vw;
font-size:2.85vw;
color:#3a270e;
line-height:1.13
}

.welcome p{
margin:0;
font-size:1.43vw;
line-height:1.22;
text-align:left
}

.welcome .landscape{
display:block;
width:100%;
height:auto;
max-height:none;
object-fit:contain;
align-self:center;
margin:0;
padding:0;
border:0;
border-radius:0;
opacity:.48;
mix-blend-mode:multiply;
filter:sepia(15%);
--fade-y:linear-gradient(to bottom,transparent,#000 18%,#000 78%,transparent);
-webkit-mask-image:var(--fade-x),var(--fade-y);
mask-image:var(--fade-x),var(--fade-y);
-webkit-mask-composite:source-in;
mask-composite:intersect
}

/* LEVY OBRAZEK - ROZPLYVANI K TEXTU */

.welcome .landscape.left{
grid-column:1;
grid-row:1;
--fade-x:linear-gradient(
to right,
transparent 0%,
#000 12%,
#000 48%,
rgba(0,0,0,.55) 70%,
transparent 98%
)
}

/* PRAVY OBRAZEK - ROZPLYVANI K TEXTU */

.welcome .landscape.right{
grid-column:3;
grid-row:1;
--fade-x:linear-gradient(
to left,
transparent 0%,
#000 12%,
#000 48%,
rgba(0,0,0,.55) 70%,
transparent 98%
)
}

.welcome .landscape.panorama-mobile{
display:none
}

/* NADPISY */

.section-heading{
font-size:3.05vw;
font-weight:bold;
display:flex;
align-items:center;
justify-content:center;
gap:1.2vw;
margin:0 0 1.55vw;
line-height:1.15;
color:#15130f
}

.section-heading .paw{
font-size:3.4vw;
color:var(--brown)
}

.section-heading:before,.section-heading:after{
content:'';
height:2px;
width:19%;
background:linear-gradient(90deg,transparent,#a98235)
}

.section-heading:after{transform:rotate(180deg)}

.welcome .section-heading:before,
.welcome .section-heading:after{display:none}

.welcome .section-heading .paw{font-size:3.2vw}

/* NASE HOLKY */

.dogs{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:2vw;
padding:0 .7vw
}

.dog-card{
position:relative;
display:grid;
grid-template-columns:54% 46%;
border:1px solid #dfbc73;
border-radius:1.2vw;
background:linear-gradient(115deg,#fffaf0,#faedcf);
overflow:hidden;
min-height:17.4vw;
text-decoration:none;
box-shadow:0 1px 5px #bc893d35;
padding:2px
}

.dog-card>img{
width:100%;
height:100%;
aspect-ratio:1.47;
object-fit:cover;
border-radius:1vw
}

.dog-info{
padding:1.1vw 2.5vw 1.1vw 1.5vw;
min-width:0;
display:flex;
flex-direction:column;
justify-content:flex-start
}

.dog-info h3{
font-size:2.3vw;
line-height:1.05;
margin:.2vw 0
}

.nickname{
font-size:2vw;
font-weight:bold;
line-height:1.1
}

.dog-facts{
font-size:1.42vw;
line-height:1.65;
margin-top:.9vw
}

.dog-facts span{display:block}

.dog-facts b{
color:var(--brown);
font-size:1.7vw;
display:inline-block;
width:1.8vw;
text-align:center;
margin-right:.4vw
}

.card-arrow,.litter-arrow{
color:var(--brown);
font-family:Arial,sans-serif;
font-weight:400;
font-size:3vw
}

.card-arrow{
position:absolute;
right:1.15vw;
top:42%
}

.dog-card:hover,.litter-item:hover{
box-shadow:0 2px 10px #98743c40
}

.dog-card:hover h3,.litter-item:hover strong{
color:#765019
}

/* ODCHOVY */

#odchovy{margin-top:2vw}

.litters{
display:grid;
grid-template-columns:1fr 1fr;
gap:1.5vw
}

.litter-panel{
border:1px solid #284622;
border-radius:1.15vw;
overflow:hidden;
background:linear-gradient(110deg,#fffaf0,#f9f0de)
}

.litter-panel h3{
background:linear-gradient(95deg,#153009,#214708,#142d0a);
color:#f6ca57;
font-size:2.55vw;
line-height:1.2;
text-align:center;
margin:0;
padding:.5vw .8vw;
display:flex;
align-items:center;
justify-content:center;
gap:.9vw
}

.litter-panel h3 .paw{font-size:2.7vw}
.litter-body{padding:.75vw 1vw}

.litter-item{
display:flex;
align-items:center;
gap:1.4vw;
text-decoration:none;
padding:.45vw 0;
min-height:5.2vw;
border-bottom:1px solid #d8c8a5
}

.litter-item:last-child{border-bottom:0}

.litter-item>img,.litter-photo-pair{
width:44%;
flex-shrink:0;
border-radius:.65vw;
object-fit:cover
}

.planned .litter-item>img{aspect-ratio:1.7}

.completed .litter-item>img,.litter-photo-pair{
width:32%;
aspect-ratio:2.55
}

.completed .litter-photo-pair{
display:grid;
gap:.45vw;
aspect-ratio:auto
}

.litter-photo-pair img{
width:100%;
aspect-ratio:2.55;
object-fit:cover;
border-radius:.5vw
}

.litter-text{flex:1;min-width:0}

.litter-text strong{
font-size:2.05vw;
line-height:1.1;
display:block
}

.litter-text>span{
font-size:1.25vw;
display:block;
margin:.35vw 0 0;
line-height:1.2
}

.litter-text .paw{
color:var(--brown);
margin-right:.25em
}

.litter-arrow{
font-size:2.7vw;
margin-left:auto;
flex:none
}

.empty-litter{min-height:12.3vw}

/* PATICKA */

.site-footer{
color:#ffe6a6;
background:#153408;
text-align:center
}

.footer-art{
height:9.174vw;
background:var(--paper) url('assets/footer-reference.webp') center/100% 100% no-repeat
}

.footer-copy{
font-size:15px;
padding:6px 10px 16px
}

.footer-copy small{font-size:13px}

/* PODSTRANKY */

.page-content{
max-width:1100px;
width:92%;
min-height:50vh;
padding:35px 0 65px
}

.page-content h1{
color:#224216;
font-size:clamp(30px,4vw,48px)
}

.page-content a:not(.dog-card){color:#36531c}

.detail-img{
max-width:650px;
border-radius:12px;
margin:0 0 25px
}

.details{
padding:18px;
background:#fffaf1;
border:1px solid #d9c18c;
border-radius:10px
}

.archive-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px
}

.page-content .dog-info h3{font-size:24px}
.page-content .dog-card{min-height:145px}
.page-content .dog-info{padding:15px}
.wp-block-gallery img{border-radius:5px}

/* TABLETY */

@media(max-width:900px){

.header-inner{
padding:10px 4%;
min-height:70px
}

.brand-mark{width:48px;height:48px}
.brand strong{font-size:25px}
.brand small{font-size:13px}

.menu-toggle{
display:block;
border:1px solid #e9c765;
background:transparent;
color:#ffe29a;
border-radius:5px;
font-size:25px;
padding:3px 11px;
cursor:pointer
}

.site-nav{
display:none;
position:absolute;
top:100%;
left:0;
right:0;
padding:12px 5%;
background:#142e0c
}

.site-nav.open{display:block}
.site-nav ul{display:block}
.site-nav a{font-size:18px;padding:9px 0}
.site-nav a:after{display:none}
.welcome p{font-size:15px}
.dog-info h3{font-size:21px}
.nickname{font-size:18px}
.dog-facts{font-size:14px}
.litter-text strong{font-size:20px}
.litter-text>span{font-size:14px}

}

/* MOBILNI TELEFONY */

@media(max-width:650px){

.hero{
aspect-ratio:auto;
padding:59vw 0 0;
background:#19390d url('assets/hero-mobile.webp') center top/100% auto no-repeat
}

.hero-copy{
position:relative;
left:auto;
top:auto;
width:100%;
height:auto;
padding:8px 12px 25px;
background:linear-gradient(0deg,#172e0c 85%,#172e0c00)
}

.hero h1,.hero p,.paw-divider,.buttons{
position:static;
width:auto
}

.hero h1{
font-size:clamp(30px,8.2vw,47px);
white-space:normal
}

.hero .subtitle{
font-size:25px;
margin:8px 0
}

.paw-divider{
font-size:25px;
margin:9px 0;
gap:10px
}

.hero .motto{font-size:20px}

.buttons{
gap:12px;
margin-top:16px;
flex-wrap:wrap
}

.btn{
font-size:16px;
padding:10px 13px;
border-radius:7px;
gap:7px;
min-height:44px
}

.btn .paw{font-size:21px}

.paper{padding:20px 0}
.wrap{width:92%}

/* MOBILNI PANORAMA */

.welcome{
display:grid;
grid-template-columns:minmax(0,1fr);
gap:10px 0;
margin:0 0 20px;
overflow:hidden
}

.welcome-copy{
grid-row:1;
grid-column:1/-1;
padding:0
}

.welcome .section-heading{
font-size:29px;
margin-bottom:8px
}

.welcome .section-heading .paw{
font-size:30px
}

.welcome p{
text-align:center;
font-size:17px;
line-height:1.3
}

/* Skryti samostatnych obrazku */

.welcome .landscape.left,
.welcome .landscape.right{
display:none
}

/* Jedno cele panorama */

.welcome .landscape.panorama-mobile{
display:block!important;
grid-column:1/-1;
grid-row:2;
width:100%;
height:auto;
max-height:none;
margin:0;
padding:0;
border:0;
border-radius:0;
opacity:.48;
mix-blend-mode:multiply;
filter:sepia(15%);
--fade-x:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent);
--fade-y:linear-gradient(to bottom,transparent,#000 18%,#000 78%,transparent);
-webkit-mask-image:var(--fade-x),var(--fade-y);
mask-image:var(--fade-x),var(--fade-y);
-webkit-mask-composite:source-in;
mask-composite:intersect
}

.section-heading{
font-size:29px;
margin-bottom:14px;
gap:9px
}

.section-heading .paw{font-size:32px}

.section-heading:before,
.section-heading:after{width:13%}

.dogs,.litters,.archive-grid{
grid-template-columns:1fr;
gap:14px
}

.dogs{padding:0}

.dog-card{
min-height:145px;
border-radius:12px;
grid-template-columns:50% 50%
}

.dog-card>img{
border-radius:10px;
aspect-ratio:1.2
}

.dog-info{padding:11px 22px 10px 12px}

.dog-info h3{
font-size:22px;
line-height:1.1
}

.nickname{font-size:18px}

.dog-facts{
font-size:15px;
margin-top:8px;
line-height:1.45
}

.dog-facts b{
width:16px;
font-size:19px;
margin-right:4px
}

.card-arrow{
font-size:28px;
right:7px
}

.litter-panel{border-radius:11px}

.litter-panel h3{
font-size:25px;
padding:7px 10px;
gap:9px
}

.litter-panel h3 .paw{font-size:26px}
.litter-body{padding:10px}

.litter-item{
gap:12px;
padding:7px 0
}

.litter-item>img,
.litter-photo-pair img{border-radius:6px}

.litter-text strong{font-size:23px}

.litter-text>span{
font-size:15px;
margin-top:5px
}

.litter-arrow{font-size:27px}
.empty-litter{min-height:110px}
#odchovy{margin-top:25px}

.footer-art{
height:16vw;
background-size:cover
}

.footer-copy{font-size:13px}
.header-inner{gap:10px}

.brand strong{
font-size:clamp(19px,5.3vw,25px)
}

.brand-mark{
width:43px;
height:43px
}

}

@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
}

/* DOLADENI GRAFICKEHO NAVRHU */

.paw{
mask-image:url('assets/paw-reference.png');
-webkit-mask-image:url('assets/paw-reference.png')
}

@media(min-width:651px){

.buttons{
left:5.5%;
width:90%;
justify-content:space-between;
gap:0;
top:71.7%
}

.btn{
padding:.55vw .6vw;
min-height:4.05vw
}

.btn:first-child{width:50%}
.btn:last-child{width:45.5%}

}

@media(min-width:901px){

.dog-info{padding-right:1vw}

.dog-info h3{
font-size:2.17vw;
white-space:normal;
letter-spacing:-.025em
}

.dog-card:nth-child(2){
grid-template-columns:50% 50%
}

}

/* ZLATE SRDCE S CHODSKYM PSEM */

.brand-mark{
width:6.8vw;
height:6.8vw;
object-fit:contain;
flex:none
}

.brand>span{
border-left:1px solid #e6c36d;
padding-left:1.05vw
}

@media(min-width:901px){

.header-inner{
padding-left:6.4%;
gap:2vw;
min-height:5.45vw
}

.brand{
position:relative;
gap:0;
padding-left:8.6vw;
min-height:5.45vw
}

.brand-mark{
position:absolute;
left:0;
top:.35vw;
width:7.75vw;
height:7.2vw
}

.brand strong{font-size:2.31vw}
.brand small{font-size:1.35vw}
.site-nav ul{gap:2.25vw}
.site-nav a{font-size:1.48vw}

}

@media(max-width:900px){

.brand-mark{
width:58px;
height:58px
}

.brand>span{padding-left:10px}
.brand{gap:9px}

}

@media(max-width:650px){

.brand-mark{
width:48px;
height:48px
}

.brand{
gap:6px;
min-width:0
}

.brand>span{padding-left:7px}

.brand strong{
font-size:clamp(17px,5vw,24px)
}

.brand small{font-size:12px}
.header-inner{gap:7px}
.menu-toggle{padding:3px 9px}

}

@media(max-width:340px){

.brand-mark{
width:39px;
height:39px
}

.brand strong{font-size:16px}
.brand small{font-size:11px}
.brand>span{padding-left:5px}

}