/*
Theme Name: Kulturfonds Bad Lippspringe
Theme URI: 
Author: Silberweiss
Author URI: 
Description: Theme 2025 für Kulturfonds Bad Lippspringe e.V.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kulturfonds-bad-lippspringe
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

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

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 0px;
	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;
}

/* Fokusrahmen vollständig entfernen */
.wp-block-navigation-item:focus,
.wp-block-navigation-item:focus-visible,
.wp-block-navigation-item:active {
    outline: none !important;
    box-shadow: none !important; /* Entfernt mögliche alternative Rahmen */
}

/* Globale Fokusregeln verfeinern */
:where(.wp-site-blocks *:focus) {
    outline: none !important; /* Sicherstellen, dass kein Rahmen gesetzt wird */
}

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

header {
    position: absolute;
    z-index: 999;
    left: 50%; 
    transform: translate(-50%); 
    width: 100%; 
    text-align: center; 
}

.has-global-padding {
	margin-top:0;
}

nav a {
    position: relative;
    text-decoration: none; 
    padding: 5px 10px;
    transition: all 0.3s ease;
    text-shadow: 0px 3px 6px rgba(0,0,0,0.79);
}

nav a:hover {
	text-decoration: none;
    color: #ff6600  !important;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6600;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

footer a {
    text-shadow: none;
}

footer a:hover {
	text-decoration: none !important;
	color:#ff6600;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img{
    aspect-ratio: 1.33;
    width: 100%;
    height: auto;
  }

@media screen and (max-width: 599px) {

    .tropic-ice-logo-mobile {
        position: relative;
        z-index: 50;
        display: flex;
        justify-content: end;
    }
    .right-first{
        order:1;
    }
    .left-second{
        order: 2;
    }
    .img-mobile {
        margin-inline-start: 0 !important;
    }
    .text-dombroski {
        padding-top: 0 !important;
    }
    .text-ansprechpartner {
        padding-top: 0 !important;
    }
    .aktivitaeten-img-mobile {
        margin-inline-start: 0 !important;
        margin-top: 30px !important;
    }
    .text-mobile {
        padding: 0;
        padding-top: 0 !important;
    }
    .text-verein {
        padding-right: 0 !important;
        padding-top: 0 !important;
    }
    .vorstand-mobile {
        text-align: center;
    }
    .kunst-und-natur-cover-mobile {
        min-height: 50vh !important;
    }
    .blaue-burg-img-2-mobile {
        padding-right: 0 !important;
        padding-top: 30px !important;
        padding-left: 0 !important;
    }
    .tropic-ice-women-img {
        margin-left: 0 !important;
    }
    .tropic-ice-pos {
        display: flex;
        flex-wrap: wrap;
    }
    .tropic-ice-pictures {
        margin-top: 0 !important;
    }
    .blaue-burg-text {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .blaue-burg-img-2-margin {
        margin-top: 30px !important;
    }
    .tropic-ice-cover {
        min-height: 80vh !important;
        align-items: left;
    }
    #wp--skip-link--target > div > div > div.wp-block-cover.alignfull.is-light.tropic-ice-cover > span {
        opacity: 0.8;
        background-color: #195668 !important;
    }
    #kunst-events {
        text-align: left;
    }
    #wp--skip-link--target > div > div > div.wp-block-cover.alignfull {
        align-items: flex-end;
        padding-bottom: 3rem !important;
    }
    #tropic-ice-2025 {
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
        text-shadow: 0px 3px 6px rgba(0,0,0,0.79);
    }
    #wp--skip-link--target > div > div > div.wp-block-cover.alignfull.is-light.tropic-ice-cover > div > div > p {
        text-align: left;
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
    }

    /* Navigation Mobile */
    #modal-1 {
        height: 30vh;
        --navigation-layout-justification-setting: center;
        text-align: center;
        background-color: #f0663f !important;
        color: #ffffff !important;
    }
    #modal-1-content > ul {
        --navigation-layout-justification-setting: center;
    }
    body > div.wp-site-blocks > header > div > div > div > div.wp-block-site-logo {
        width: 60%;
    }
    #kulturfonds {
        hyphens: auto;
        word-wrap: break-word;
        text-align: left;
    }
    .footer-mobile {
        display: flex;
        justify-content: center;
    }
}