/* Scoped migration of supplied snippets. Loaded BEFORE the Autumn modules.
   :where keeps the original selector specificity; modern design takes priority. */

/* Source: Override TEMATU Block.css */
:where(body.cna-foundation) {
font-family:'CNA Jost',sans-serif !important;
  color:#555 !important;
  font-weight:400 !important;
}
:where(body.cna-foundation) a {
color:#000 !important;
  text-decoration:none !important;
  transition:color .3s ease !important;
}
:where(body.cna-foundation) a:hover {
color:#777 !important;
}
:where(body.cna-foundation) h1,
:where(body.cna-foundation) h2,
:where(body.cna-foundation) h3,
:where(body.cna-foundation) h4,
:where(body.cna-foundation) h5,
:where(body.cna-foundation) h6 {
text-transform:none !important;
}
:where(body.cna-foundation) #navigation .menu li a {
font-size:.9rem;
  font-family:'CNA Jost',sans-serif;
  font-weight:400;
}
:where(body.cna-foundation) #navigation .menu li a span {
font-size:.9rem;
  font-family:'CNA Jost',sans-serif;
  font-weight:400;
  color:#000;
  transition:color .3s ease;
}
:where(body.cna-foundation) #navigation .menu li a span:hover {
color:#777;
}
:where(body.cna-foundation) .wpforms-form button[type=submit] {
background:#555555 !important;
  border-color:#555555 !important;
  color:#fff !important;
}
:where(body.cna-foundation) .wpforms-form button[type=submit]:hover {
background:#555555 !important;
}
:where(body.cna-foundation) .wp-block-columns {
gap:0 !important;
}
:where(body.cna-foundation) .wp-block-column {
margin:0 !important; padding:0 !important;
}
:where(body.cna-foundation) .wp-block-column img {
margin-bottom:10px !important;
}
@media (min-width: 1024px) {
:where(body.cna-foundation) .wp-block-columns.alignfull {
gap: 15px !important;
    margin-bottom: 5px !important;
}
}
:where(body.cna-foundation) .wp-block-media-text .wp-block-media-text__content {
--wp--style--block-gap:.6rem !important;
}
:where(body.cna-foundation) .wp-block-media-text .wp-block-media-text__content > * {
margin:0 !important;
}
:where(body.cna-foundation) .wp-block-media-text .wp-block-media-text__content > * + * {
margin-top:.6rem !important;
}
:where(body.cna-foundation) .wp-block-media-text .wp-block-media-text__content h2.wp-block-heading {
margin:0 0 .45em !important; line-height:1.2;
}
:where(body.cna-foundation) .wp-block-media-text .wp-block-media-text__content p {
margin:0 0 .55em !important;
}
:where(body.cna-foundation) .wp-block-media-text .wp-block-media-text__content figure {
margin:.6rem 0 0 !important;
}
:where(body.cna-foundation) .wp-block-media-text {
margin-top:1.2rem !important;
  margin-bottom:1.2rem !important;
}
:where(body.cna-foundation) .wp-block-media-text + .wp-block-media-text {
margin-top:.9rem !important;
}
:where(body.cna-foundation) .wp-block-media-text .wp-block-media-text__media img {
display:block;
}
:where(body.cna-foundation) .wp-block-post-title,
:where(body.cna-foundation) .entry-title {
margin-top:24px !important;
  margin-bottom:24px !important;
  letter-spacing:.02em !important;
}
:where(body.cna-foundation).single .post-thumbnail,
:where(body.cna-foundation).page .post-thumbnail {
display:none;
}
@media (max-width:768px) {
:where(body.cna-foundation) #side-menu {
background:#888 !important;
}
:where(body.cna-foundation) #side-menu .sidr-class-menu-item a {
color:#fff !important;
    background:transparent !important;
}
:where(body.cna-foundation) #side-menu .sidr-class-menu-item a:hover {
color:#fff !important;
    background:#333 !important;
}
:where(body.cna-foundation) #side-menu .sidr-class-menu-item a:active {
color:#fff !important;
    background:#333 !important;
}
:where(body.cna-foundation) #side-menu .sidr-class-sub-menu {
background:#ccc !important;
}
:where(body.cna-foundation) #side-menu .sidr-class-sub-menu li a {
color:#333 !important;
}
:where(body.cna-foundation) #side-menu .sidr-class-sub-menu li a:hover {
color:#fff !important;
}
}
@media (max-width:768px) {
:where(body.cna-foundation) .wp-block-columns.alignfull {
margin-left:calc(-50vw + 50%) !important;
    margin-right:calc(-50vw + 50%) !important;
    width:100vw !important;
    max-width:100vw !important;
    padding-left:0 !important;
    padding-right:0 !important;
}
:where(body.cna-foundation) .wp-block-columns.alignfull .wp-block-column {
flex-basis:100% !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
:where(body.cna-foundation) .wp-block-columns.alignfull .wp-block-column img {
width:100% !important;
    height:auto !important;
    display:block !important;
}
:where(body.cna-foundation) .wp-block-columns.alignfull .wp-block-image {
margin:0 !important;
    width:100% !important;
}
:where(body.cna-foundation) .wp-block-columns.alignfull .main-container {
display:block !important;
    width:100% !important;
}
}
:where(body.cna-foundation).page-id-1856 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-1856 .wp-block-image img {
display: block;
}
:where(body.cna-foundation).page-id-4207 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-4207 .wp-block-image img {
display: block;
}
:where(body.cna-foundation).page-id-9717 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-9717 .wp-block-image img {
display: block;
}
:where(body.cna-foundation).page-id-9923 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-9923 .wp-block-image img {
display: block;
}
@media (max-width: 1023px) {
:where(body.cna-foundation).page-id-4207 :where(.wp-block-columns, .wp-block-gallery),
:where(body.cna-foundation).page-id-9717 :where(.wp-block-columns, .wp-block-gallery),
:where(body.cna-foundation).page-id-9923 :where(.wp-block-columns, .wp-block-gallery),
:where(body.cna-foundation).page-id-1856 :where(.wp-block-columns, .wp-block-gallery) {
--tile-gap: 0px;
    --wp--style--block-gap: var(--tile-gap) !important;
    gap: var(--tile-gap) !important;
    column-gap: var(--tile-gap) !important;
    row-gap: var(--tile-gap) !important;
    margin-bottom: var(--tile-gap) !important;
}
:where(body.cna-foundation).page-id-1856 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-1856 .wp-block-image img {
display: block;
}
:where(body.cna-foundation).page-id-9717 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-9717 .wp-block-image img {
display: block;
}
:where(body.cna-foundation).page-id-4207 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-4207 .wp-block-image img {
display: block;
}
:where(body.cna-foundation).page-id-9923 .wp-block-column > .wp-block-image {
margin: 0 !important;
}
:where(body.cna-foundation).page-id-9923 .wp-block-image img {
display: block;
}
}
:where(body.cna-foundation) #nav-bar .site-title a {
word-spacing: .3em;
}
:where(body.cna-foundation) #nav-bar .site-title {
padding-bottom: 8px !important;
}
:where(body.cna-foundation) .wp-block-columns .wp-block-image,
:where(body.cna-foundation) .wp-block-columns .wp-block-image > a {
display: block;
  width: 100%;
}
:where(body.cna-foundation) .wp-block-columns .wp-block-image img {
display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto;
}
:where(body.cna-foundation) #nav-bar .site-title a {
display: inline-block !important;
  width: 260px !important;
  height: 40px !important;

  background-image: url("https://www.czechnature.cz/wp-content/uploads/2026/07/logo-velke.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: left center !important;

  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}
:where(body.cna-foundation) .site-title,
:where(body.cna-foundation) .wp-block-site-title,
:where(body.cna-foundation) .wp-block-site-title a {
font-size: 1.0rem !important; 
  font-family: 'CNA Jost', sans-serif !important;
  color: #555 !important;
	font-weight: 500 !important;
}
:where(body.cna-foundation) #nav-bar .site-title a {
transition: opacity .25s ease !important;
}
:where(body.cna-foundation) #nav-bar .site-title a:hover {
opacity: .50 !important;
}
:where(body.cna-foundation) h1,
:where(body.cna-foundation) h2,
:where(body.cna-foundation) h3,
:where(body.cna-foundation) h4,
:where(body.cna-foundation) h5,
:where(body.cna-foundation) h6,
:where(body.cna-foundation) .entry-title,
:where(body.cna-foundation) .page-title,
:where(body.cna-foundation) .wp-block-post-title,
:where(body.cna-foundation) .wp-block-heading {
font-family: "CNA Jost", Futura, "Trebuchet MS", Arial, sans-serif !important;
font-weight: 500 !important;
}

/* Source: Hlavní strana CZ Elegantní CSS.css */
:where(body.cna-foundation).home .main-container {
position: relative;
    z-index: 1;
    cursor: pointer;
}
:where(body.cna-foundation).home .main-container:hover {
z-index: 10;
}
:where(body.cna-foundation).home .main-container img[src*="main-"] {
border-radius: 0px;
    transition: transform 0.25s ease;
    display: block;
}
:where(body.cna-foundation).home .main-container:hover img[src*="main-"] {
transform: scale(1.03);
}
:where(body.cna-foundation).home .main-container .main-overlay-text {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 10px 22px;

    border: 2px solid rgba(255,255,255,0);
    border-radius: 0;

    background: rgba(255,255,255,0);

    
    

color: #ffffff;

    opacity: 0;

    transition: opacity 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;

    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-align: center;
    pointer-events: none;
    z-index: 6;

    box-shadow: 0 0 0 rgba(0,0,0,0);
}
:where(body.cna-foundation).home .main-container:hover .main-overlay-text {
opacity: 1;

    border-color: rgba(255,255,255,0.9);

    
    background: rgba(0,0,0,0.5);

    box-shadow: 0 0 8px rgba(0,0,0,0.25);
}

/* Source: Hlavní strana EN Elegantní CSS.css */
:where(body.cna-foundation).home .m-en-container {
position: relative;
    z-index: 1;
    cursor: pointer;
}
:where(body.cna-foundation).home .m-en-container:hover {
z-index: 10;
}
:where(body.cna-foundation).home .m-en-container img[src*="m-en-"] {
border-radius: 0;
    transition: transform 0.25s ease;
    display: block;
}
:where(body.cna-foundation).home .m-en-container:hover img[src*="m-en-"] {
transform: scale(1.03);
}
:where(body.cna-foundation).home .m-en-container .m-en-overlay-text {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 10px 22px;

    
    border: 2px solid rgba(255,255,255,0);
    border-radius: 0;

    
    background: rgba(255,255,255,0);

    
    color: #ffffff;

    opacity: 0;

    transition: opacity 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;

    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-align: center;
    pointer-events: none;
    z-index: 6;

    box-shadow: 0 0 0 rgba(0,0,0,0);
}
:where(body.cna-foundation).home .m-en-container:hover .m-en-overlay-text {
opacity: 1;

    border-color: rgba(255,255,255,0.9);

    
    background: rgba(0,0,0,0.5);

    box-shadow: 0 0 8px rgba(0,0,0,0.25);
}
:where(body.cna-foundation):not(.home) .m-en-overlay-text {
display: none !important;
}

/* Source: Fotky Kategorie CZ + EN Elegantni CSS.css */
:where(body.cna-foundation) img[src*="ffoto-"] {
cursor: pointer;
}
:where(body.cna-foundation) .ffoto-container {
position: relative;
    display: inline-block;
    overflow: hidden;
}
:where(body.cna-foundation) .ffoto-container::before {
content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    
    mask:
        linear-gradient(to right, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%),
        linear-gradient(to bottom, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%);
    -webkit-mask:
        linear-gradient(to right, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%),
        linear-gradient(to bottom, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: intersect;
}
:where(body.cna-foundation) .ffoto-container img {
width: 100%;
    height: auto;
    display: block;                
    transition: transform 0.25s ease;
}
:where(body.cna-foundation) .ffoto-container:hover img {
transform: scale(1.03);
}
:where(body.cna-foundation) .ffoto-container::after {
content: "GALERIE";  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  

    padding: 10px 22px;
    border: 2px solid rgba(255,255,255,0);
    border-radius: 0;

    
    background: rgba(255,255,255,0);

    opacity: 0;
    transition: opacity 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;

    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-align: center;
    pointer-events: none;
    z-index: 6;

    
    text-shadow: none;

    box-shadow: 0 0 0 rgba(0,0,0,0);
}
:where(body.cna-foundation) .ffoto-container:hover::after {
opacity: 1;
    border-color: rgba(255,255,255,0.9);

    
    background: rgba(0,0,0,0.5);

    box-shadow: 0 0 8px rgba(0,0,0,0.25);
}
html[lang^="en"] :where(body.cna-foundation) .ffoto-container::after {
content: "GALLERY";
}
html[lang^="cs"] :where(body.cna-foundation) .ffoto-container::after {
content: "GALERIE";
}
:where(body.cna-foundation) .ffoto-container {
position: relative;
    overflow: hidden;
    transform: translateZ(0);
}
:where(body.cna-foundation) .ffoto-container img {
width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    contain: paint;   
    backface-visibility: hidden;
    transform: translateZ(0);

    transition: transform 0.25s ease;
}
:where(body.cna-foundation) .ffoto-container:hover img {
transform: translateZ(0) scale(1.03);
}

/* Source: urbex.css */
:where(body.cna-foundation) .urbex-container {
position: relative;
    display: inline-block;
    overflow: hidden;
    z-index: 1;
}
:where(body.cna-foundation) .urbex-container:hover {
z-index: 10;
}
:where(body.cna-foundation) .urbex-container img {
width: 100%;
    height: auto;
    transition: transform 0.25s ease, filter 0.4s ease;

    mask:
        linear-gradient(to right, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%),
        linear-gradient(to bottom, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%);
    -webkit-mask:
        linear-gradient(to right, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%),
        linear-gradient(to bottom, transparent 0px, black 6px, black calc(100% - 6px), transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: intersect;
}
:where(body.cna-foundation) .urbex-container:hover img {
transform: scale(1.03);
}
:where(body.cna-foundation) .urbex-overlay-text {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 10px 22px;

    border: 2px solid rgba(255,255,255,0);
    border-radius: 0;
    background: rgba(255,255,255,0);

    transition: opacity 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;

    opacity: 0;

    
    font-size: clamp(0.9rem, 0.8rem + 1vw, 1.6rem);

    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    z-index: 10;

    text-shadow: none;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}
:where(body.cna-foundation) .urbex-container:hover .urbex-overlay-text {
opacity: 1;
    border-color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 8px rgba(0,0,0,0.25);
}
:where(body.cna-foundation).page-id-4207 .wp-block-image,
:where(body.cna-foundation).page-id-4207 .wp-block-column,
:where(body.cna-foundation).page-id-9923 .wp-block-image,
:where(body.cna-foundation).page-id-9923 .wp-block-column {
position: relative;
    overflow: visible !important;
}
:where(body.cna-foundation).page-id-4207 .wp-block-image,
:where(body.cna-foundation).page-id-9923 .wp-block-image {
z-index: 1;
}
:where(body.cna-foundation).page-id-4207 .wp-block-image:hover,
:where(body.cna-foundation).page-id-9923 .wp-block-image:hover {
z-index: 20;
}
:where(body.cna-foundation).page-id-4207 .wp-block-columns.alignfull,
:where(body.cna-foundation).page-id-9923 .wp-block-columns.alignfull {
overflow: visible !important;
    position: relative;
}
:where(body.cna-foundation).page-id-4207 .urbex-container,
:where(body.cna-foundation).page-id-9923 .urbex-container {
overflow: visible;
}
:where(body.cna-foundation) img[src*="urbex-"]:not(.urbex-container img)::before,
:where(body.cna-foundation) img[src*="urbex-"]:not(.urbex-container img)::after {
display: none !important;
}

/* Source: Breadcrumbs CSS.txt */
:where(body.cna-foundation) .cn-breadcrumb {
text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin: 0 0 2rem;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #999 !important;
}
:where(body.cna-foundation) .cn-breadcrumb a,
:where(body.cna-foundation) .cn-breadcrumb a:visited {
color: #999 !important; 
    text-decoration: none;
}
:where(body.cna-foundation) .cn-breadcrumb a:hover {
color: #000 !important;
    text-decoration: underline;
}
:where(body.cna-foundation) .cn-breadcrumb-sep {
margin: 0 0.5em;
    color: #999 !important;
}
:where(body.cna-foundation) .cn-breadcrumb span.current {
color: #999 !important;
    padding: 2px 6px;
    border-radius: 4px;
}
html[lang="en-US"] :where(body.cna-foundation) .cn-breadcrumb a:first-child,
html[lang="en-US"] :where(body.cna-foundation) .cn-breadcrumb span:first-child {
display: none;
}
html[lang="en-US"] :where(body.cna-foundation) .cn-breadcrumb-sep:first-of-type {
display: none;
}

/* Source: Vyhledávací řádek Ivory Search - Elegantní CSS.css */
:where(body.cna-foundation).search article {
background: #ffffff;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 0 24px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
:where(body.cna-foundation).search article:hover {
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
:where(body.cna-foundation).search .entry-title {
margin: 0 0 6px 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}
:where(body.cna-foundation).search .entry-title a {
text-decoration: none;
    color: #111;
}
:where(body.cna-foundation).search .entry-title a:hover {
color: #0073aa;
}
:where(body.cna-foundation).search .entry-meta {
font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
:where(body.cna-foundation).search .entry-summary p,
:where(body.cna-foundation).search .cn-search-text {
display: none !important;
}
:where(body.cna-foundation).search #infinite-container.block-post-layout {
display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;           
    padding-top: 75px;
}
:where(body.cna-foundation).search #infinite-container > article.post-holder {
float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
}
:where(body.cna-foundation).search #infinite-container::before,
:where(body.cna-foundation).search #infinite-container::after {
content: none !important;
}
:where(body.cna-foundation).search main.container {
max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}
:where(body.cna-foundation).search #infinite-container .featured-content {
padding: 20px !important;
    margin: 0 !important;
    height: auto !important;
}
:where(body.cna-foundation).search #infinite-container .post-content {
padding: 0 !important;
    margin: 0 !important;
}
:where(body.cna-foundation).search #infinite-container .cn-search-thumb-img {
width: 100%;
    height: auto;
    max-height: 600px;      
    object-fit: cover;
    display: block;
    border-radius: 6px;
}
:where(body.cna-foundation).search #infinite-container {
margin-bottom: 80px !important;
}
:where(body.cna-foundation).search .block-post-layout {
margin-bottom: 80px !important;
    padding-bottom: 40px !important;
}
:where(body.cna-foundation):not(.home) .savci-hover::after,
:where(body.cna-foundation):not(.home) .savci-hover:hover::after {
content: none !important;
}
:where(body.cna-foundation):not(.home) .savci-hover::before {
display: none !important;
}
@media (max-width: 768px) {
:where(body.cna-foundation).search .post-holder {
width: 100% !important;
        float: none !important;
        display: block !important;
        margin-bottom: 40px !important;
}
:where(body.cna-foundation).search #infinite-container {
display: block !important;
}
:where(body.cna-foundation).search .block-post-layout .row {
display: block !important;
}
:where(body.cna-foundation).search .post-holder img {
width: 100% !important;
        height: auto !important;
}
:where(body.cna-foundation).search .post-holder .post-content,
:where(body.cna-foundation).search .post-holder .featured-content {
text-align: center !important;
}
}
:where(body.cna-foundation) .clickable-card {
cursor: pointer;
    position: relative;
}
:where(body.cna-foundation) .clickable-card a {
cursor: inherit;
}

/* Source: Mobil - mezera mezi fotkou a textem.css */
@media (max-width: 782px) {
:where(body.cna-foundation) .wp-block-media-text {
margin-bottom: 30px;
}
:where(body.cna-foundation) .wp-block-media-text__media {
margin-bottom: 25px !important;
}
}

/* Source: youtube embed.css */
:where(body.cna-foundation) .video-row {
padding-top: 40px;
    padding-bottom: 40px;
}
:where(body.cna-foundation) .video-row figure.wp-block-embed,
:where(body.cna-foundation) .video-row figure.wp-block-embed .wp-block-embed__wrapper {
margin-top: 0;
    margin-bottom: 0;
}
