/*
Theme Name: Poppy
Theme URI: https://poppy.aclonchamp.com
Author: Anne-Claire Lonchamp
Author URI: https://www.aclonchamp.com
Description: Thème léger et responsive, avec masonry et infinite scroll. Colonne de widgets optionnelle, réseaux sociaux. Beaucoup de couleurs paramétrables sans code. Compatible Woocommerce. #responsive #light #masonry #infinitescroll #socialmedia
Tags: blog
Version: 1.0.0
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: poppy

Copyright 2026 Anne-Claire Lonchamp
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
:root {
    --header-height: 70px;
	--color-bg: #fff;
	--color-header: #fff;
	--color-footer: #ddd;
	--color-text-footer: #333;
	--color-link: #d60000;
    --color-link-hover: #a00000;
	--color-search: #d60000;
	--color-mark: #d6000020;
	--color-text: #333;
    --color-border: #ddd;
	--color-light-text: #999;
	--radius: 6px;
	--card-radius: 6px;
	--color-button: #1a1a1a;
	--color-button-hover: #000;
	--color-button-text: #fff;
	--color-disabled: #999;
	
	--grid-gap: 12px;
	--space-xs:0.25rem;
	--space-s:0.5rem;
	--space-m:1rem;
	--space-l:2rem;
	--space-xl:4rem;
	
	--font-cursive: "Segoe Script", cursive;
	
	--sidebar-mobile-max-height: 2000px;
}
@media (prefers-color-scheme: dark) {
/*    :root {
        --color-bg: #000;
        --color-text: #fff;
        --color-border: #444;
    }
*/
}
/* ===========================
   GLOBAL
   =========================== */
html {
    scroll-behavior: smooth;
}
body {
	font-family: 'Manrope', Arial, sans-serif;
	background: var(--color-bg);
	color: var(--color-text);
	min-width: 250px;
}
a {
	color: var(--color-link);
}
a:hover,
a:active {
	color: var(--color-link-hover);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline:2px solid var(--color-link);
    outline-offset:2px;
}
img {
    max-width: 100%;
    height: auto;
}
mark {
    background-color: var(--color-mark);
    color: var(--color-text);
}
body.sticky-desktop .layout {
    margin-top: var(--header-height);
}
body.sticky-desktop.admin-bar .poppy-header {
	top: 32px;
}
body.shadow.admin-bar .poppy-header {
	/*box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.1);*/
	box-shadow: 0 8px 16px -8px color-mix(
		in srgb,
		var(--color-border) 30%,
		transparent
	);
}
.shadow .poppy-menu li ul {
	border: none;
	border-top: 4px solid var(--color-link);
	box-shadow: 0 4px 12px color-mix(
		in srgb,
		var(--color-border) 50%,
		transparent
	);
}
button {
	border: none;
}
.seo-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.woocommerce-store-notice, p.demo_store {
    background-color: var(--color-search);
    box-shadow:none;
}
/* ===========================
   ELEMENTS
   =========================== */
/*  Formulaire */
form input,
form textarea,
form select,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    padding: .4rem .6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    box-sizing: border-box;
    max-width: 100%;
}
form select {
    cursor: pointer;
}
form input[type="submit"],
form button[type="submit"],
a.wp-block-button__link,
:root :where(.wp-element-button, .wp-block-button__link) {
	padding: .6rem var(--space-m);
	background: var(--color-button);
	color: var(--color-button-text);
	border: none;
	border-radius: var(--radius);
    font-size: 1rem !important;
	cursor: pointer;
}
form input[type="submit"]:hover,
form button[type="submit"]:hover,
a.wp-block-button__link:hover,
:root :where(.wp-element-button, .wp-block-button__link):hover {
	background: var(--color-button-hover);
	color: var(--color-button-text);
}
/* ===========================
   LAYOUT
   =========================== */
.layout {
    display: flex;
    gap: 0;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	flex-wrap: wrap;
}
.content {
	flex: 1;
	margin-left: 0;
	transition: margin-left 0.5s ease;
	border-left: 1px solid var(--color-border);
	flex-wrap: nowrap;
}
/* Limite max */
main:not(.woo-content) h1, .default-content > :not(.is-style-poppy-fullwidth),
.wp-block-cover__inner-container,
.single-metas,
.wp-singular .woo-content > :not(.is-style-poppy-fullwidth) {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.no_border {
    border-left: none !important;
}
@media screen and (max-width: 768px) {
	.layout {
		border-left: none;
	}
}
.content {
	padding: 0rem var(--space-l);
	margin: auto;
	max-width: 100%;
	min-height: calc(100vh - var(--header-height));
	transition: margin-left 1s ease;
}
@media screen and (min-width: 768px) {
	.sidebar {
		display: flex;
		flex-direction: column;
		transition: none;
		opacity: 0;
	}

	/* Masque le titre Filtres si aucun filtre */
	.wc-block-product-filters__overlay-content
	> .wp-block-heading:not(:has(~ [data-block-name^="woocommerce/product-filter-"]:not(.wc-block-product-filter--hidden))) {
		display: none;
	}
	/* Masque les filtres sur la page du produit */
	.single-product .sidebar .wc-block-product-filters {
		display: none;
	}
	.sidebar .widget > :first-child {
		margin-top: 0px;
	}
	.sidebar .widget {
		padding: var(--space-s) var(--space-m);
	}
	.sidebar-toggle {
		display: flex;
		box-sizing: border-box;
		align-items: flex-start;
		width: 2.5rem;
		padding-top: var(--space-m);
		padding-bottom: var(--space-m);
		background: var(--color-bg);
		border: none;
		cursor: pointer;
		z-index: 99;
	}
	.sidebar-toggle .icon {
		width: 1.5rem;
		height: 1.5rem;
		stroke: var(--color-text);
		fill: none;
		stroke-width: 2;
		transition: all 0.3s ease;
	}
	/* Flèche vers la droite (état normal) */
	.sidebar-toggle .icon {
		transform: rotate(0deg);
	}
	/* Flèche vers la gauche quand la sidebar est ouverte */
	.sidebar-toggle.open .icon {
		transform: rotate(180deg);
	}
}
.sidebar-widget .wc-block-product-filters__open-overlay {
	margin-top: var(--space-s);
}
/* Animation */
@media screen and (min-width: 768px) {
    .sidebar {
        position: absolute;
        left: 2.5rem; /* largeur du bouton */
        top: 0;
        bottom: 0;
        width: 300px;
        overflow: hidden;
        transform: translateX(calc(-100% - 1px));
		transition: transform 0.5s ease;
    }
    .layout.open .content {
        margin-left: calc(300px);
    }
    .layout.open .sidebar {
        transform: translateX(0);
		opacity: 1;
    }
}
/* Mobile */
@media screen and (max-width: 768px) {
	.hide_on_phone {
		display: none;
	}
    .sidebar {
        box-sizing: border-box;
        width: 100%;
		padding: 0 var(--space-m);
    }
    .content {
		border-top: 1px solid var(--color-border);
    }
    .sidebar-toggle {
        display: none;
    }
}
.header-widget .wc-block-mini-cart button {
	padding-left: 0px;
}
/* Patch */
.wc-block-mini-cart {
	visibility: visible !important;
}
/* ===========================
   HEADER GLOBAL
   =========================== */
.poppy-header {
    width: 100%;
    background: var(--color-header);
    border-bottom: 1px solid var(--color-border);
	z-index: 9999;
}
.header-inner {
	height: var(--header-height);
    margin: 0 auto;
    padding: var(--space-m) var(--space-l);
    display: flex;
    align-items: center;
    gap: var(--space-m);
	box-sizing: border-box;
}
/* ===========================
   LOGO
   =========================== */
.header-logo img {
	width: auto;
    max-height: calc(var(--header-height) - var(--space-l));
	margin-right: var(--space-m);
}
.header-name a {
	font-weight: bold;
	text-decoration: none;
	color: var(--color-text);
}
.header-name a:hover {
	color: var(--color-text);
}
/* ===========================
   MENU DESKTOP
   =========================== */
.header-nav {
    flex: 1 1 auto;
}
.poppy-menu {
    list-style: none;
    display: flex;
	flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
}
body.sticky-desktop .poppy-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.poppy-menu li {
    position: relative;
}
.poppy-menu a {
	display: block;
    text-decoration: none;
    font-weight: 500;
	padding: var(--space-xs) 0 var(--space-xs) var(--space-m);
	text-wrap: nowrap;
	color: var(--color-text);
}
.poppy-menu > li > a {
	line-height: 1.5rem;
}
.poppy-menu > li > a:hover {
	color: var(--color-link);
}
.poppy-menu > li:not(:last-child) > a:after {
    content: "|";
    padding-left: var(--space-m);
    color: var(--color-border);
}
/* Sous-menus */
.poppy-menu li ul {
    display: none;
    position: absolute;
    top: var(--space-l);
    left: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    list-style: none;
	padding: 0;
	z-index: 9998;
}
.poppy-menu li ul li ul {
	margin-left: var(--space-m);
}
.poppy-menu li ul a {
	display: block;
	padding: var(--space-s) var(--space-m);
	min-width: 200px;
}
.poppy-menu li ul li {
	white-space: nowrap;
}
.poppy-menu li:hover > ul {
    display: block;
}
.poppy-menu li ul a:hover {
    background: color-mix(in srgb, var(--color-border) 25%, transparent);
}
/* ===========================
   WIDGETS HEADER (DESKTOP)
   =========================== */
.header-widget-area,
.mobile-widgets {
    display: flex;
    gap: var(--space-m);
    align-items: center;
}
.header-widget-area .widget,
.mobile-widgets .widget {
    margin: 0;
}
/* ===========================
   BURGER MOBILE
   =========================== */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
/* Par défaut */
.burger {
    display: none; 
}
.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
/* ÉTAT : menu ouvert → burger devient croix */
.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
/* ===========================
   MENU MOBILE SOUS LE HEADER
   =========================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height)); /* enlever le padding */
    background: var(--color-bg);
	box-sizing: border-box;
    overflow-y: auto;
	z-index: 9999;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
	width: 100%;
}
.mobile-menu a {
    color: var(--color-text);
    text-decoration: none;
	max-width: 100%;
	display: block;
	padding: var(--space-m) var(--space-m);
	border-bottom: 1px solid var(--color-border);
}
.mobile-menu > ul {
    border-top: 1px solid var(--color-border);
}
.mobile-menu ul li ul li a {
	padding-left: var(--space-l);
}
.mobile-menu a:hover,
.mobile-menu a:active {
	background-color: background: color-mix(in srgb, var(--color-border) 25%, transparent);
}
.mobile-menu.open {
    display: block;
}
/* ===========================
   RECHERCHER
   =========================== */
.header-search {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}
.header-search .search-btn {
    background: transparent;
    color: var(--color-link);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
	width: 2rem;
	height: 2rem;
}
.header-search .search-btn:hover {
	background: transparent;
	color: var(--color-text);
}
/* ===========================
   BARRE STICKY FOOTER
   =========================== */
/* Barre sticky en bas */
.mobile-bottom-bar {
	display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-header);
    border-top: 1px solid var(--color-border);
    align-items: center;
    z-index: 999;
}
/* Conteneur des widgets + loupe */
.mobile-widgets {
    display: flex; 
    align-items: center;
    justify-content: space-evenly;
    padding: 0 var(--space-m);
    width: 100%;
    gap: var(--space-m);
}
/* Chaque widget + la loupe se comporte de la même manière */
.mobile-widgets > * {
    flex: 1;
    min-width: 0;
    text-align: center;
}
/* Bouton loupe */
.mobile-search-toggle {
	color: var(--color-text);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Panneau de recherche caché */
.mobile-search-panel {
    position: fixed;
    bottom: calc(-1 * var(--header-height));
    left: 0;
    width: 100%;
    padding: var(--space-m);
    background: var(--color-header);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: bottom .3s ease;
    z-index: 998;
}
/* Quand la recherche est ouverte */
.mobile-search-panel.open {
    bottom: var(--header-height);
}
/* Style du formulaire */
.mobile-search-panel form {
    display: flex;
    gap: var(--space-s);
}
.mobile-search-panel input {
    padding: .4rem .6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.mobile-search-panel button[type="submit"] {
    background: transparent;
    color: var(--color-link);
    border: none;
    padding: 0;
    font-size: 1.5rem;
	height: 2.5rem;
	width: 2.5rem;
	cursor: pointer;
}
.mobile-search-panel button[type="submit"]:hover {
	background: transparent;
	color: var(--color-text);
}
/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--color-footer);
	color: var(--color-text-footer);
}
.site-footer .footer-inner {
	padding: var(--space-m) var(--space-l);
	max-width: var(--max-width);
	margin-left: auto;
	margin-right: auto;
}
/* Social media */
.social-links {
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-s);
	margin: var(--space-s) 0;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--color-button);
    color: var(--color-button-text);
	transition: all 0.3s ease;
}
.social-links svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-button-text);
	transition: all 0.3s ease;
}
.social-links a:hover {
	background-color: var(--color-link);
}
/* Conteneur des widgets */
.footer-widgets {
    display: flex;
    gap: var(--space-l);
    justify-content: space-between;
    margin-bottom: var(--space-l);
}
@media (max-width: 767px) {
	.footer-widgets {
		gap: 0;
	}
}
/* Centrer le contenu des widgets */
.site-footer .footer-col {
	flex: 1;
	min-width: 0;
}
.site-footer .footer-col .widget {
	max-width: 100%;
	text-align: left;
}
.site-footer .footer-col > div {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) {
	.site-footer .footer-col > div {
		width: 100%
	}
}
/* Crédits centrés */
.footer-credits {
    text-align: center;
    margin-top: var(--space-m);
    font-size: 0.8rem;
	font-style: italic;
}
.footer-credits a {
	color: var(--color-text-footer);
	text-decoration: none;
}
.footer-credits a:hover,
.footer-credits a:active,
.footer-credits a:visited {
	color: var(--color-text-footer);
}
/* Enlever les puces des menus dans le footer */
.site-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Espacement des éléments du menu */
.site-footer .footer-col ul li {
    margin: var(--space-s) 0;
}
.site-footer .footer-col ul li ul {
    margin-left: var(--space-m);
}
/* Couleur des liens */
.site-footer .footer-col ul li a {
	color: var(--color-text-footer);
	text-decoration: none;
}
.site-footer .footer-col ul li a:hover {
	color: var(--color-text-footer);
	text-decoration: underline;
}
/* Responsive : empile les colonnes sur mobile */
@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
    }
}
/* Up */
#up {
    position: fixed;
    bottom: var(--space-m);
    left: var(--space-m);
    z-index: 99999;
}
#up a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    /*background: rgba(0,0,0,0.75);*/
	background: color-mix(
		in srgb,
		var(--color-text) 80%,
		transparent
	);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}
#up a:hover {
    /*background: rgba(0,0,0,0.9);*/
	background: color-mix(
		in srgb,
		var(--color-text) 90%,
		transparent
	);
}
#up svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--color-bg);
    fill: none;
    stroke-width: 2;
    transition: all 0.3s ease;
}
/* Cacher le bouton au départ */
#up {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
/* Ajout pour l’afficher après scroll */
#up.show {
    opacity: 1;
    pointer-events: auto;
}
/* ===========================
   RESPONSIVE RULES
   =========================== */
/* Large dans functions.php*/
/*@media screen and (min-width: 1400px) {
	.header-inner {
		max-width: 1400px;
	}
}*/
/* Small */
@media screen and (max-width: 1024px) {
	/* Sticky */
	.layout {
        margin-top: var(--header-height);
    }
	.poppy-header {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
	}
	body.admin-bar .poppy-header {
		top: 32px;
	}
	footer.site-footer {
		margin-bottom: var(--header-height);
	}
	/* Et on déplace la recherche et les widgets*/
	.mobile-bottom-bar {
		display: flex;
	}
	.mobile-search-panel {
		display: flex;
	}
	.header-search {
        display: none;
    }
    .header-widget-area {
        display: none;
    }
	/* Décalle le up */
	#up {
		bottom: calc(var(--header-height) + var(--space-m));
	}
}
/* Téléphone */
@media screen and (max-width: 768px) {
	body.admin-bar .poppy-header {
		top: 45px;
	}
    .burger {
        display: flex;
		margin-left: auto;
    }
    /* Et on cache le menu desktop */
    .header-nav {
        display: none;
    }
}
/* Hack pour combler les marges de content */
.wp-block-cover.is-style-poppy-fullwidth {
    width: calc(100% + (var(--space-l) * 2));
    max-width: calc(100% + (var(--space-l) * 2));
    /*padding-left: 0;*/
    margin-left: calc(-1 * var(--space-l));
}
/* Patch bug */
@media screen and (min-width: 1024px) {
	.mobile-search-panel {
		display: none !important;
	}
}
/* --------------------------------------------------------------------------------------- */

/* ===========================
   POPPY ICON
   =========================== */
.wp-block-poppy-poppy-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text);
	text-decoration: none;
	transition: all 0.3s ease;
}
.wp-block-poppy-poppy-icon a {
	color: var(--color-text);
}
.wp-block-poppy-poppy-icon a:hover,
.wp-block-poppy-poppy-icon a:active {
	color: var(--color-link);
}
/* ===========================
   PAGINATION
   =========================== */
.navigation {
    text-align: center;
    margin: var(--space-m) 0 var(--space-l) 0;
	width: 100%;
    flex-basis: 100%;
}
.navigation > a,
.navigation > span,
.nav-links a {
    display: inline-block;
    padding: var(--space-s) var(--space-m);
    margin: 0 var(--space-xs);
    background: var(--color-bg);
    border-radius: var(--radius);
    text-decoration: none;
    /*box-shadow: 0 2px 6px rgba(0,0,0,0.08);*/
	box-shadow: 0 2px 6px color-mix(
		in srgb,
		var(--color-border) 30%,
		transparent
	);
}
.nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--space-m);
	border-top : 1px solid var(--color-border);
	padding-top: var(--space-l);
}
.nav-links a {
    display: inline-block;
}

.navigation .current {
    background: var(--color-link);
    color: var(--color-bg);
}
/* ===========================
   COMMENTAIRES
   =========================== */
.single-comments {
    margin-top: var(--space-l);
    padding-top: var(--space-m);
    border-top: 1px solid var(--color-border);
}
.comment-list,
.children {
    list-style: none;
}
.comment-list li,
.children li {
    margin-top: var(--space-m);
}
.comment-meta,
.reply,
.logged-in-as  {
    font-size: 0.8rem;
}
.comment-content {
    margin-top: var(--space-s);
}
.comment-meta a {
	color: var(--color-text);
	text-decoration: none;
}
.comment-author a {
	text-decoration: none;
	font-style: normal;
	color: var(--color-text);
	text-transform: capitalize;
	font-weight: bold;
}
.bypostauthor .comment-author a {
	color: var(--color-link);
}
.logged-in-as .required-field-message {
    display: block;
    margin-top: var(--space-s);
}
.comment-form-comment label {
    display: block;
    margin-bottom: var(--space-s);
}
.comment-form-comment textarea {
    display: block;
	width: auto;
    max-width: 100%;
}
/* ===========================
   TAGS
   =========================== */
/* Conteneur des tags */
.post-tags,
.wp-block-tag-cloud {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
/* Style des étiquettes */
.post-tags .tag,
.wp-block-tag-cloud a {
    background: var(--color-disabled);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius);
    color: var(--color-bg);
    white-space: nowrap;
	text-decoration: none;
}
.post-tags .tag::before,
.wp-block-tag-cloud a::before {
    content: "#";
} 
.post-tags span {
	color: var(--color-disabled);
}
/* ===========================
   SCROLLBAR
   =========================== */
/* scrollbar */
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background-color: var(--color-link);
  border-radius: 10px;
  border: 3px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-link);
}
/* Scrollbar FF */
body {
  scrollbar-width: auto;
  scrollbar-color: var(--color-link) var(--color-bg);
}
/* ===========================
   DARKMODE
   =========================== */
/*body.darkmode .poppy-header,
body.darkmode .mobile-bottom-bar,
body.darkmode .mobile-search-panel {
	background: black;
	color: white;
	border-color: #1a1a1a;
}
body.darkmode .poppy-menu > li > a,
body.darkmode .mobile-search-toggle,
body.darkmode .wp-block-poppy-poppy-icon a {
	color: white;
}
body.darkmode .poppy-menu > li > a:hover,
body.darkmode .wp-block-poppy-poppy-icon a:hover,
body.darkmode .wp-block-poppy-poppy-icon a:active {
	color: var(--color-link);
}
body.darkmode .poppy-menu li ul {
	background: black;
	border-color: #1a1a1a;
}
body.darkmode .poppy-menu li ul a {
	color: white;
}
body.darkmode .poppy-menu > li:not(:last-child) > a:after {
	color: #333;
}
body.darkmode header input,
body.darkmode .mobile-search-panel input  {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: white;
}
body.darkmode header input::placeholder,
body.darkmode .mobile-search-panel input::placeholder {
    color: white;
    opacity: 0.5;
}
body.darkmode .burger span {
	background: white;
}
body.darkmode .mobile-menu {
	 scrollbar-color: white black;
}
body.darkmode .mobile-menu > ul {
	border-color: #1a1a1a;
}
body.darkmode .mobile-menu a {
	background: black;
	color: white;
	border-color: #1a1a1a;
}
*/
/* --------------------------------------------------------------------------------------- */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus {
	width: auto;
	height: auto;
	padding: var(--space-s) var(--space-m);
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--color-bg);
	color: var(--color-text);
	z-index: 100000;
	position: fixed;
	top: var(--space-s);
	left: var(--space-s);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}
:focus-visible {
    outline: none;
}