/*
Theme Name: Dawson
Theme URI: https://wordpress.com/themes/dawson/
Description: Dawson is a WordPress portfolio theme specifically tailored for photography. With a two column layout, the theme is ideal for those looking to build a portfolio website. Additionally, Dawson offers five distinct style variations, providing a wide range of aesthetic options to choose from.
Version: 1.0.7
Author: Automattic
Author URI: https://automattic.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dawson
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--background);
	border-color: var(--wp--preset--color--secondary);
}


/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}

/* Hover efekt pro obrázky s odkazy */
a img {
  transition: transform 0.4s ease, filter 0.4s ease;
}
a:hover img {
  transform: scale(0.98);
}

.site,
.site-main,
.wp-site-blocks {
  max-width: 2048px;
  margin-left: auto;
  margin-right: auto;
}
/* skryt v prispevku náhledovy obrazek*/

.single .post-thumbnail,
.single .wp-post-image {
    display: none !important;
}

.wp-block-navigation {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
.wp-block-navigation a {
    color: gray;
    text-decoration: none;
    font-weight: 500;
}
.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item a {
    color: black;
}



.wp-block-categories,
.wp-block-categories-list {
    display: none !important;
}

/*

.archive-title,
.entry-title,
.page-title,
h1,
h2:where(.wp-block-post-template h2),
.site-title {
    display: none !important;
}


.is-archive .entry-title,
.category .page-title,
.archive .archive-title,
.archive h1.entry-title {
    display: none !important;
*/

html {
    scroll-behavior: smooth;
}

.site-title a,
.custom-logo-link + .site-title a,
.wp-block-site-title a {
    text-decoration: none !important;
}
.site-title a:hover,
.custom-logo-link + .site-title a:hover,
.wp-block-site-title a:hover {
    text-decoration: none !important;
}
