/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
Tags: blog, custom-logo, e-commerce, rtl-language-support, post-formats, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/

/* ============================================
   Breadcrumbs – typografie, zarovnání, efekty
   ============================================ */

/* Wrapper breadcrumbs – gradient nahoře + linka dole */
body .breadcrumbs-wrapper {
    position: relative;
    margin: 0 !important;
    padding: 0.55rem 0 0.40rem 0 !important; 
    /* horní padding mírně větší kvůli vyššímu řádku */
}

/* Horní šedý přechod (jemný, profesionální) */
body .breadcrumbs-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 14px; /* o trochu vyšší gradient */
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.03) 60%,
        rgba(0,0,0,0.00) 100%
    );
    pointer-events: none;
}

/* Spodní linka přes celou šířku viewportu */
body .breadcrumbs-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background-color: #eeeeee;
    transform: translateX(-50%);
    pointer-events: none;
}

/* #breadcrumbs jako flex – perfektní vertikální centrování */
body .breadcrumbs-wrapper #breadcrumbs {
    font-size: 0.85rem !important;
    line-height: 2.0 !important;   /* zvýšená výška řádku – o ~30–40 % */
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Dílčí části – dědí line-height, zachovávají mezery */
body .breadcrumbs-wrapper #breadcrumbs span,
body .breadcrumbs-wrapper #breadcrumbs a,
body .breadcrumbs-wrapper #breadcrumbs .breadcrumb_last {
    line-height: inherit !important;
    display: inline !important;
}

/* Karty referencí – sjednocení s Neve */

/* Wrapper pro grid */
.archive-posts .posts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px; /* stejné mezery jako u článků */
}

/* Karta */
.nv-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px; /* zaoblené rohy jako u článků */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

/* Hover efekt jako u článků */
.nv-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Obrázek */
.nv-card .nv-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Obsah */
.nv-card .nv-content-wrap {
    padding: 20px;
}

/* Nadpis */
.nv-card .entry-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

/* Excerpt */
.nv-card .excerpt-wrap {
    margin-bottom: 16px;
}

/* CTA */
.nv-card .read-more {
    color: var(--nv-primary-accent);
    font-weight: 600;
    text-decoration: none;
}


/* Přidat horní margin nad nadpis stránky s archivem štítků pro /reference_tag/ */
.tax-reference_tag .archive-header {
    margin-top: 40px;
}

/* Přidat spodní margin pod element pro stránkování do stránky s archivem štítků pro /reference_tag/ */
.tax-reference_tag .page-numbers {
    margin-bottom: 40px;
}
