/*
Theme Name: Dog Kennel theme
Description: WordPress theme for CHS websites
Version: 1.7.9
Author: Olga Fucikova / OFphoto
*/

/* =====================================================
   1. THEME – ZÁKLAD
===================================================== */

:root {

    --bg: #D2C3C7;

    --text: #352517;
    --text-light: #352517;

    --accent: #602f06;
    --accent-hover: #805836;

    --border: #8058367a;
    --divider: #805836;

    --dog: #004e87;
    --bitch: #fd239c;
    --heading: #854108;
	
    --footer: #68482C;
    --footer-link: #805836;
}


/* =====================================================
  2. BASE
===================================================== */

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#main {
    background: var(--bg);
	background:url("/wp-content/uploads/2026/10/pozadi2.png") repeat;
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
}

header,
.nav {
    position: relative;
    z-index: 1000;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
}

ul {
    list-style: none;
}

p,
ul,
ol {
    margin-bottom: 16px;
    text-align: justify;
    hyphens: auto;
}

/* =====================================================
  3. BASIC IMAGE ALIGNMENT
===================================================== */

.img-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.img-row img {
    max-width: 100%;
    height: auto;
    display: block;
}

.alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.alignnone {
    margin: 20px 0;
}

/* =====================================================
  4. TYPOGRAPHY
===================================================== */

.postcontent,
.blockcontent {
    font-family: 'Source Serif 4', serif;
    color: var(--text);
}

.postcontent {
    font-size: 21px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: left;
}

.blockcontent {
    font-size: 18px;
    line-height: 1.7;
}

.blockcontent li {
    line-height: 1.7;
}

.postcontent p {
    text-align: justify;
}

/* Lists */

.postcontent ul,
.blockcontent ul {
    list-style: none;
    padding-left: 0;
}

.postcontent ul li,
.blockcontent ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 5px;
}
.postcontent ul li::before,
.blockcontent ul li::before {
    content: "◆";
    position: absolute;
    left: 15px;
	top: 3px;
    color: var(--accent);
    font-size: 12px;
}

/* Links */

.postcontent a,
.blockcontent a {
    text-decoration: none;
    color: var(--accent);
}

.postcontent a:visited,
.blockcontent a:visited {
    color: var(--accent);
}
.post a {
    word-break: break-word;
    line-height: 1.4;
    color: var(--accent);
    text-decoration: none;
}

.post a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Strong */

.postcontent strong,
.postcontent b,
.blockcontent strong,
.blockcontent b {
    color: var(--accent);
}

/* Divider */

hr {
    border: none;
    height: 1px;
    background: var(--divider);
}

/* Číslování stránek */

.pager .page-numbers {
    color: var(--accent);
    text-decoration: none;
}

.pager a {
    margin-right: 8px;
}

.pager a.page-numbers:hover {
    color: var(--heading);
    text-decoration: underline;
}

.pager .page-numbers.current {
    color: var(--heading);
    font-weight: bold;
	margin-right: 8px;
}

.layout-cell.content article.post hr.wp-block-separator {
    display: none;
}

/* =====================================================
  5. HEADINGS
===================================================== */

.postcontent h1,
.blockcontent h1 {
    font-size: 26px;
    color: var(--heading);
    text-transform: uppercase;
    text-align: center;
}

.postcontent h2,
.blockcontent h2 {
    font-size: 24px;
    color: var(--heading);
    text-transform: uppercase;
    text-align: left;
    margin-top: 40px;
}

.postcontent h3,
.blockcontent h3 {
    font-size: 22px;
    color: var(--heading);
    text-transform: uppercase;
    margin-top: 25px;
    opacity: 0.9;
}

.postcontent h4,
.blockcontent h4 {
    font-size: 22px;
    color: var(--accent-hover);
    text-transform: uppercase;
}

/* Pes */

.postcontent h5,
.blockcontent h5 {
    font-size: 18px;
    color: var(--dog);
    text-transform: uppercase;
}

/* Fena */

.postcontent h6,
.blockcontent h6 {
    font-size: 18px;
    color: var(--bitch);
    text-transform: uppercase;
}

/* Heading base */

.postcontent h1,
.postcontent h2,
.postcontent h3,
.postcontent h4,
.postcontent h5,
.postcontent h6,
.blockcontent h1,
.blockcontent h2,
.blockcontent h3,
.blockcontent h4,
.blockcontent h5,
.blockcontent h6 {
    font-weight: normal;
    word-wrap: break-word;
    font-family: 'Marcellus', serif;
    letter-spacing: 0.15em;
}

/* Nadpisy stránek */
h1.postheader.entry-title .postheadericon {
    color: var(--heading) !important;
    text-transform: uppercase;
    text-align: center;
}

/* =====================================================
  6. MAIN LAYOUT
===================================================== */

.container {
    width: 100%;
    flex: 1;
    height: auto;
    border-bottom: 1px solid var(--border);
}

.container::after {
    content: "";
    display: table;
    clear: both;
}

.layout-wrapper {
    width: min 100%;
    margin-inline: auto;
    padding: 10px 3%;
}

.content-layout {
    display: flex;
    align-items: flex-start;
}

.layout-cell.content {
    flex: 1;
    min-width: 0;
    padding: 0;
	order: 1;
}

.layout-cell.post {
    margin-bottom: 0;
}

.post {
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.section {
    width: 100%;
}

.section-inner {
    width: min(1600px, 100%);
    margin-inline: auto;
}

.layout-cell.post:last-child,
.content-layout-row.postcontent:last-child {
    margin-bottom: 0;
}

/* =====================================================
  7. HEADER
===================================================== */

header {
    position: relative;
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* obsah headeru */
header .widget-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* obrázek / logo v headeru */
.header-widget img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

header .widget-title {
    display: none;
}

/* =====================================================
   NAVIGATION
===================================================== */

.nav {
    margin: 10px 0 5px;
    position: relative;
    z-index: 499;
    display: flex;
    align-items: center;
}

ul.hmenu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    order: 2;
}

ul.hmenu li {
    position: relative;
}

ul.hmenu > li:before {
    content: "";
    position: absolute;
    top: 5px;
    left: -1px;
    width: 1px;
    height: 24px;
    background: url('images/menuseparator.png') center no-repeat;
}

ul.hmenu > li:first-child:before {
    display: none;
}

ul.hmenu > li > a {
    display: block;
    padding: 0 15px;
    line-height: 1.5;
    color: var(--text-light);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    font-family: 'Marcellus', serif;
    letter-spacing: 0.04em;
}

ul.hmenu > li:hover > a,
ul.hmenu > li > a.active {
    color: var(--accent-hover);
}


/* GTranslate */

.hmenu-extra1 {
    margin-right: auto;
    order: 1;
}

/* =====================================================
   SIDEBAR MENU
===================================================== */

.sidebar ul.menu,
.sidebar ul.sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar li {
    position: relative;
}


/* 1. ÚROVEŇ */

.sidebar ul.menu > li {
    padding-left: 0;
}

.sidebar ul.menu > li::before {
    content: none;
}

.sidebar ul.menu > li > a {
    display: block;
}


/* IKONA 1. ÚROVNĚ */

.sidebar ul.menu > li > a::before {
    content: "";
    display: inline-block;

    width: 22px;
    height: 22px;
    margin-right: 10px;

    background-color: currentColor;

    mask: url('/wp-content/uploads/2026/10/paw-print.png') center / contain no-repeat;
    -webkit-mask: url('/wp-content/uploads/2026/10/paw-print.png') center / contain no-repeat;

    vertical-align: -2px;
}

/* 2. ÚROVEŇ */

.sidebar ul.menu > li > ul.sub-menu {
    display: block;
}

/* 3. ÚROVEŇ – SKRYTÁ */

.sidebar ul.sub-menu ul.sub-menu {
    display: none;
}

/* 3. ÚROVEŇ – OTEVŘENÁ */

.sidebar li.open > ul.sub-menu {
    display: block;
}

/* Otevření podmenu na aktuální cestě */
.sidebar ul.sub-menu li.current-menu-item > ul.sub-menu,
.sidebar ul.sub-menu li.current-menu-ancestor > ul.sub-menu,
.sidebar ul.sub-menu li.current-menu-parent > ul.sub-menu {
    display: block;
}

/* 3. a 4. úroveň menu */
.sidebar ul.sub-menu ul.sub-menu a {
    font-size: 0.85em;
}

.sidebar ul.menu,
.sidebar ul.sub-menu,
.sidebar ul.menu a,
.sidebar ul.sub-menu a {
    text-align: left;
}

/* =====================================================
   SIDEBAR
===================================================== */

.sidebar {
flex:0 0 320px;
width:320px;
box-sizing:border-box;
border-right:1px solid var(--border);
border-left:none;
padding:0 10px 0 0;
margin-right:20px;
align-self:stretch;
}

/* widget blok */
.block {
margin:10px 0 0;
}

.blockcontent {
color:var(--text);
font-size:18px;
}

.blockcontent a {
color:var(--accent);
text-transform:uppercase;
text-decoration:none;
}

.blockcontent a:hover {
color:var(--text-light);
text-decoration:underline;
}

.block li {
line-height:1.5;
color:var(--text-light);
}

/* oddělení widgetů */
.sidebar .block {
border-bottom:1px solid var(--border);
padding-bottom:12px;
margin-bottom:15px;
}

.sidebar .blockcontent a {
letter-spacing:.02em;
line-height:1.7;
}

/* POSLEDNÍ MENU PŘED OBRÁZKEM */

.sidebar .widget_nav_menu:has(+ .widget_media_image) {
    border-bottom: none;
}

/* OBRÁZEK PSŮ */

.sidebar .widget_nav_menu + .widget_media_image {
    margin-top: -80px;
}

.sidebar img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    color: var(--footer);
    font-size: 14px;
    text-align: center;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.footer-inner {
    margin: 0 auto;
    max-width: 1728px;
}

.footer-text a {
    color: var(--footer-link);
    text-decoration: none;
}

.footer-text a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.page-footer {
    color: var(--accent);
    text-decoration: none;
}

.footer-dogs {
    max-width: 1600px;
    margin: 0 auto;
    width: 95%;
}

.footer-dogs img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.35));
}

.footer-dogs img:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

.site-footer .footer-dogs img {
    display: block;
    margin: auto;
}

.footer .content-layout {
    margin: 0 auto;
    width: 100%;
}

.footer .widget-title {
    font-size: 1.4em;
    padding: 0;
}

.footer .widget,
.footer .widget a {
    text-align: left;
}

.widget-title {
    padding-left: 24px;
    margin-bottom: 0;
}

/* =====================================================
   WORDPRESS
===================================================== */

.sticky {}

.bypostauthor {}


.wp-caption {
    border: 1px solid #ddd;
    background: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    text-align: center;
}

.wp-caption img {
    margin: 0;
    border: 0;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}

img.wp-post-image {
    margin: 0 5px 5px 0 !important;
}

.wp-block-latest-posts__list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.wp-block-latest-posts__list > li {
    list-style: none;
}

/* Skrýt automatické náhledové obrázky v detailu stránek */
article.page.has-post-thumbnail > .aligncenter:has(> a > img.wp-post-image) {
    display: none;
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}

.screen-reader-text:focus {
    background: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    width: auto;
    z-index: 100000;
}


/* =====================================================
   CONTENT STACKING
===================================================== */

.content {
    position: relative;
    z-index: 1;
}


/* =====================================================
   2. THEME – NAŠE VĚCI
===================================================== */


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    height: calc(100svh - 50px);
    overflow: hidden;
}

.hero > img:first-child {
    position: absolute;
    left: 50%;
    width: 80%;
    object-fit: cover;
    transform: translateX(-50%);
}

.hero-arrow {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
    width: 100%;
}

.section-inner {
    width: min(1600px, 100%);
    margin-inline: auto;
}


/* =====================================================
   RECENZE
===================================================== */

.home-testimonials {
    margin: 3rem 0;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(235, 182, 164, 0.18);
    border-bottom: 1px solid rgba(235, 182, 164, 0.18);
}

.testimonials-inner {
    width: min(1600px, 100% - 60px);
    margin-inline: auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


/* =====================================================
   FLEX
===================================================== */

.flex-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
}

.flex-items {
    flex: 1 1 0;
    min-width: 0;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
}

.flex-items:not(:last-child) {
    border-right: 1px solid var(--border);
}


/* =====================================================
   PŘÍSPĚVKY
===================================================== */

.postcontent li,
.post li {
    color: var(--text);
    margin: 5px 0;
    padding-left: 12px;
}

.post a {
    word-break: break-word;
    line-height: 1.4;
}

.postcontent img {
    border-radius: 6px;
}


/* =====================================================
   BOXY
===================================================== */

.info-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(235, 182, 164, 0.25);
    padding: 20px;
    margin: 25px 0;
}

.info-box h3 {
    margin-top: 0;
}

.story-box {
    background: rgba(235, 182, 164, 0.05);
    border-left: 1px solid rgba(235, 182, 164, 0.6);
    padding: 20px;
    margin: 25px 0;
}

.note-box {
    background: transparent;
    border: 1px dashed rgba(235, 182, 164, 0.35);
    padding: 15px 18px;
    margin: 20px 0;
    font-style: italic;
}


/* =====================================================
   UTILITY
===================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
    hyphens: auto;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.w-100 {
    width: 100%;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}


/* =====================================================
   GALERIE
===================================================== */

.gallery {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

.gallery .gallery-item {
    float:left;
    margin:0;
    padding:0;
    text-align:center;
}

.gallery.gallery-columns-1 .gallery-item { width:100%; }
.gallery.gallery-columns-2 .gallery-item { width:50%; }
.gallery.gallery-columns-3 .gallery-item { width:33.3333%; }
.gallery.gallery-columns-4 .gallery-item { width:25%; }
.gallery.gallery-columns-5 .gallery-item { width:20%; }
.gallery.gallery-columns-6 .gallery-item { width:16.6666%; }
.gallery.gallery-columns-7 .gallery-item { width:14.2857%; }
.gallery.gallery-columns-8 .gallery-item { width:12.5%; }
.gallery.gallery-columns-9 .gallery-item { width:11.1111%; }

.gallery .gallery-icon {
    width:100%;
    aspect-ratio:1 / 1;
    overflow:hidden;
}

.gallery .gallery-icon a {
    display:block;
    width:95%;
    height:95%;
}

.gallery .gallery-icon img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    border:none !important;
    padding:0 !important;
    margin:0 !important;
    box-shadow:0 4px 12px rgba(0,0,0,.25);
}

.gallery br {
    display:block;
    clear:both;
}

.gallery::after {
    content:"";
    display:table;
    clear:both;
}

/* =====================================================
   3. PLUGINY A DALŠÍ POLOŽKY
===================================================== */


/* =====================================================
   FLEX POST
===================================================== */

.fpc-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    align-items: stretch;
}

.fpc-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fpc-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fpc-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fpc-title {
    line-height: 1.7;
    min-height: 3em;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.fpc-excerpt {
    line-height: 1.4;
    font-size: 18px;
    color: var(--text-light);
    font-family: 'Source Serif 4', serif;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 20px;
}

.fpc-button {
    align-self: center;
    margin-top: auto;
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    padding: 6px 18px;
    color: var(--text-light);
    text-align: center;
    text-decoration: none;
    background-color: #e1624b;
    border: 1px solid #e1624b;
    border-radius: 6px;
}

.fpc-button:visited {
    background-color: rgb(235 182 164 / 18%);
    border-color: rgb(235 182 164 / 18%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.fpc-button:hover {
    background-color: rgb(235 182 164 / 18%);
    border-color: rgb(235 182 164 / 18%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.fpc-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}


/* =====================================================
   FAQ
===================================================== */

.faq-section {
    padding: 80px 20px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    line-height: 1.2;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 17px;
    cursor: pointer;
    position: relative;
    color: #fff;
    transition: 0.3s ease;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-question::after {
    font-size: 22px;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 0 24px;
    margin: 0;
    line-height: 1.7;
    opacity: 0.85;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}


/* =====================================================
   SCROLL BUTTON
===================================================== */

#to_top_scrollup {
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    background: transparent;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: none;
    position: fixed;
    bottom: 14px;
    right: 10px;
    z-index: 9999;
    cursor: pointer;
}

#to_top_scrollup:hover {
    opacity: 1;
}

#to_top_scrollup img {
    width: 100%;
    height: 100%;
    transform: rotate(180deg);
    display: block;
    border: none;
}


/* =====================================================
   ZDRAVÍ
===================================================== */

.dog-health {
    width: 100%;
}

.dog-health-header,
.dog-health-row {
    display: grid;
    grid-template-columns:
        14%
        14%
        14%
        14%
        14%
        14%
        15%;
    align-items: center;
}

.dog-health-header {
    font-weight: bold;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.dog-health-row {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dog-health-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.dog-health-grid > div {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* =====================================================
   VÝSTAVNÍ VÝSLEDKY
===================================================== */

.dog-results {
    width: 100%;
}

.dog-results-header,
.dog-result {
    display: grid;
    grid-template-columns: 12% 30% 12% 21% 25%;
    align-items: center;
}

.dog-results-header {
    font-weight: bold;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.dog-result {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dog-results-title {
    margin: 20px 0 5px;
    padding: 10px 8px;
    font-weight: bold;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}


/* =====================================================
   DOG DIVIDER
===================================================== */

.dog-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    margin: 10px 0;
    height: 120px;

    background-image: url("https://www.collie-sheltie-club.cz/wp-content/uploads/2026/10/logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 110px;
}

.dog-divider::before,
.dog-divider::after {
    content: "";
    height: 1px;
    background: var(--border);
    flex: 1;
}


/* =====================================================
   SEO CONTEXT
   TODO: MOVE TO DOG EDITOR TOOLS PLUGIN
===================================================== */

.seo-context {
    padding: 20px;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.35);
    font-size: 16px;
    line-height: 1.7;
}


/* =====================================================
   4. RESPONSIVE
===================================================== */


/* =====================================================
   RESPONSIVE – ZÁKLAD
===================================================== */

.responsive body {
    min-width: 240px;
}

.responsive img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.responsive .content-layout img,
.responsive .content-layout video {
    max-width: 100%;
    height: auto !important;
}


/* Responsive embed */

.responsive .responsive-embed {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}

.responsive .responsive-embed iframe,
.responsive .responsive-embed object,
.responsive .responsive-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Responsive header */

.responsive .header {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    text-align: center;
}


/* =====================================================
   TABLET — max 1050px
   VÝSTAVNÍ VÝSLEDKY
===================================================== */

@media (max-width: 1050px) {

    .dog-results-header {
        display: none;
    }

    .dog-result {
        display: block;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }

    .dog-result > div {
        margin: 4px 0;
    }

    .dog-result > div::before {
        content: attr(data-label) ": ";
        font-weight: bold;
    }

    .dog-results-title {
        margin-top: 15px;
    }
}


/* =====================================================
   TABLET — max 1024px
===================================================== */

@media (max-width: 1024px) {

    .flex-items {
        flex: 0 0 calc(50% - 5px);
    }

    .fpc-cols-4,
    .fpc-cols-3,
    .fpc-cols-2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .responsive .layout-cell {
        width: 100%;
    }
}


/* =====================================================
   MOBILE — max 768px
===================================================== */

@media (max-width: 768px) {

    .content-layout {
        flex-direction: column;
    }

    .layout-cell {
        width: 100%;
    }

    .flex-items {
        flex: 0 0 100%;
        border-right: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .fpc-cols-4,
    .fpc-cols-3,
    .fpc-cols-2 {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    ul.hmenu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav.active ul.hmenu {
        display: flex;
    }
}


/* =====================================================
   MOBILE — max 700px
   ZDRAVÍ
===================================================== */

@media (max-width: 700px) {

    .dog-health-header {
        display: none;
    }

    .dog-health-row {
        display: block;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }

    .dog-health-row > div {
        margin: 4px 0;
    }

    .dog-health-row > div:not(:empty)::before {
        content: attr(data-label) ": ";
        font-weight: bold;
    }
}

/* =====================================================
   MOBILE MENU
===================================================== */

.menu-toggle {
           display: none;
    width: 32px;
    height: 24px;
    cursor: pointer;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* =====================================================
   MOBILE SIDEBAR
   450–768px
===================================================== */

@media (min-width: 450px) and (max-width: 768px) {

    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }

    .sidebar .block {
        margin: 0;
    }

    .sidebar .block:last-child {
        grid-column: 1 / -1;
    }
   }
/* =====================================================
   MOBILE SIDEBAR
   do 1024 px
===================================================== */

@media (max-width: 1024px) {

    .content-layout {
        display: block;
    }

    .layout-cell.sidebar {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;

        width: min(320px, 85vw);
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        box-sizing: border-box;
        margin: 0;
        padding: 15px;

        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;

        background: var(--bg);
        border-right: 1px solid var(--border);

        z-index: 1001;
        transform: translateX(-100%);
        visibility: hidden;
        transition:
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .layout-cell.sidebar.is-open {
        transform: translateX(0);
        visibility: visible;
    }
}

/* =====================================================
   MOBILE SIDEBAR – OVLÁDÁNÍ
===================================================== */

.sidebar-toggle,
.sidebar-overlay {
    display: none;
}

@media (max-width: 1024px) {

    .sidebar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        position: relative;
        z-index: 999;

        margin: 10px 0 15px;
        padding: 10px 16px;

        border: 1px solid var(--border);
        border-radius: 4px;
        background: var(--bg);
        color: var(--text);

        font: inherit;
        cursor: pointer;
    }

    .sidebar-toggle[hidden] {
        display: none;
    }

    .sidebar-overlay.is-visible {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.45);
    }

    body.sidebar-open {
        overflow: hidden;
    }
}
