/*
Theme Name: Camerafolks
Author: Kevin Bienias
Author URI: https://stojeden.pl
Description: Motyw strony Camerafolks. Oparty na Twenty Twenty-Five 1.4 (WordPress.org), rozwijany osobno: zawiera bloki Grupa z linkiem i MP3 oraz przycisk przewijania. Nie aktualizuje się z WordPress.org.
Requires at least: 6.7
Requires PHP: 8.0
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: twentytwentyfive
Update URI: false
*/

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

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


/* tylko pojedyncze wpisy (blog posts) */
.single.single-post .wp-block-post-content h1.wp-block-heading,
.single.single-post .wp-block-post-content h2.wp-block-heading,
.single.single-post .wp-block-post-content h3.wp-block-heading {
    margin: 0px;
    padding: 10px;
}

/* H1 */
.single.single-post .wp-block-post-content h1.wp-block-heading {
    font-family: 'Bodoni Moda', serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.125;
    letter-spacing: -0.1px;
}

/* H2 */
.single.single-post .wp-block-post-content h2.wp-block-heading {
    font-family: 'Bodoni Moda', serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.125;
    letter-spacing: -0.1px;
}

/* H3 */
.single.single-post .wp-block-post-content h3.wp-block-heading {
    font-family: 'Bodoni Moda', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.125;
    letter-spacing: -0.1px;
}

/* paragrafy */
.single.single-post .wp-block-post-content p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.1px;
    margin: 0 0px 30px 0;

}
.formularz button {
    font-family: var(--wp--preset--font-family--bodoni-moda)!important;
    font-size: var(--wp--preset--font-size--x-large)!important;
    background-color: transparent;
    color: var(--wp--preset--color--contrast);
    padding-left: 0px;
    padding-right: 0px;
    /* border: 1px solid var(--wp--preset--color--contrast); */
    cursor: pointer;
}
.formularz {
    font-size: 15px !important;
    font-family: 'Lato'!important;
    font-weight: 300!important;
}
.formularz input {
    font-size: 15px !important;
    font-family: 'Lato'!important;
    font-weight: 300!important;
}

.formularz .uagb-forms-main-submit-button-text::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-left: 25px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path d='M96 480c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L242.8 256L73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z'/></svg>") no-repeat center center;
  background-size: contain;
}

/* UKRYWANIE MENU */

body.is-pl .menu-en {
    display: none !important;
}

body.is-en .menu-pl {
    display: none !important;
}

*:focus {
    outline: none!important;
}

:where(figure) {
    margin: 0
}
.formularz textarea {
    font-family: 'Lato'!important;
    font-weight: 300!important;
}