/*
Theme Name: hörschlau
Author: Virtix
Author URI: https://www.virtix.ch/
Description: Marketingwebseite hörschlau
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Template: twentytwentyfive
Version: 1.0
Text Domain: hoerschlau
*/

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

a:focus,
button:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
}

p span:where(:not(.is-arrow-link)) a {
	text-decoration: underline;
}

strong {
	font-weight: 700;
}

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

/* 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;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	position: relative;
    display: inline-block;
    z-index: 1;
}
.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after,
.wp-block-navigation .wp-block-navigation-item.current_page_parent .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 3px;
    height: 4px;
    background: #f3a6ac;
    z-index: -1;
}


.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after,
.wp-block-navigation .wp-block-navigation-item.current-menu-ancestor .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	display: none;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item {
	font-weight: 700;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item {
	font-weight: 400;
	font-size: 14px;
}

/*
 * 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;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}


.spezial-clamp-padding-left {
	padding-left: clamp(0px, calc((100vw - 1340px) * 90 / (1520 - 1340)), 90px) !important;
}




.wp-block-buttons .wp-block-button__link {
    border-radius: 0.625rem;
	font-family: Nunito, sans-serif;
	font-weight: 900;
	font-style: normal;
	letter-spacing: 0.25px;
}


/*--------Pagination---------*/

:root :where(.wp-block-query-pagination) .page-numbers.current{
    font-size: var(--wp--preset--font-size--large);
    font-weight: 500; 
}


.wp-block-query-pagination-previous-arrow.is-arrow-arrow,
.wp-block-query-pagination-next-arrow.is-arrow-arrow {
    content: "";
    width: 20px;
    height: 20px;
    position: relative;
    text-indent: -999999px;
	margin-right: 6px;
}

.wp-block-query-pagination-previous-arrow.is-arrow-arrow::after {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
   	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
    transition: transform 0.25s ease;
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
}

.wp-block-query-pagination-next-arrow.is-arrow-arrow::after {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
   	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
    transition: transform 0.25s ease;
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
}


.wp-block-query-pagination-previous:hover .wp-block-query-pagination-previous-arrow.is-arrow-arrow::after {
	transform: translateX(-8px);
}
.wp-block-query-pagination-next:hover .wp-block-query-pagination-next-arrow.is-arrow-arrow::after {
	transform: translateX(8px);
}


/*--------ICONS---------*/

.lip-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.lip-icon-button {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;

    color: #1e1e1e;
    line-height: 0;
    overflow: visible;
}

.lip-icon-button.is-selected {
    border: 2px solid #007cba;
    background: #f4eff8;
}

.lip-icon-picker-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    line-height: 0;
    color: currentColor;
    flex-shrink: 0;
}

.lip-icon-picker-preview svg {
    display: block;
    width: 24px;
    height: 24px;
    max-width: none;
    max-height: none;
    fill: none;
    stroke: currentColor;
}

.lucide-icon-card__inner {
	display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
}




/*------- Accordion Styles – Anim -----------*/

.wp-block-accordion-heading__toggle .wp-block-accordion-heading__toggle-title,
.wp-block-accordion-heading__toggle .wp-block-accordion-heading__toggle-title:hover,
.wp-block-accordion-heading__toggle .wp-block-accordion-heading__toggle-title:focus {
    outline: none !important;
    text-decoration: none !important;
}

.wp-block-accordion-panel {
	overflow: hidden;
	box-sizing: border-box;
	margin-top: 0 !important;
}

.wp-block-accordion-heading__toggle-icon {
	align-items: center;
	display: flex;
	height: 0.5em;
	justify-content: center;
	width: 1.2em;
	font-size: 24px;
	font-weight: 400;
}




/*---------------- FOOTER --------------------*/

footer.wp-block-template-part {
	margin-top: 0;
	margin-block-start: 0;
}


@media screen and (max-width: 1147px){
	
	.footer-figure {
		padding-left: 0px !important;
	}
	
}

@media (max-width: 1049px) {
	.footer-logo {
		padding-top: 20px;
		padding-left: 170px;
	}
}
@media (max-width: 820px) {
	.footer-logo {
		padding-left: clamp(20px, 20.7vw, 170px);
	}
}


