/*
Theme Name: SimComNet
Theme URI: https://www.simcomnet.de
Author: SimComNet
Description: Schlankes Block-Theme für SimComNet.de – Mobil mit Igel. Lokale Schriften (Poiret One, Lato), keine Plugins nötig.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simcomnet
*/

html { background: #49495b; }
body { min-height: 100vh; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }

/* Kopfbereich */
.scn-hero { background-position: center 30%; }
.scn-logo {
	background: #282f39;
	border-left: .3rem solid #a3f53b;
	border-right: .3rem solid #a3f53b;
	max-width: 46rem;
	width: 100%;
	margin-inline: auto;
	text-align: center;
	box-sizing: border-box;
}
.scn-logo .wp-block-site-title { margin: 0; line-height: 1.1; }
.scn-logo .wp-block-site-title { font-weight: 700; }
.scn-logo .wp-block-site-title a { color: #fff; text-decoration: none; font-weight: inherit; }
.scn-logo .wp-block-site-tagline {
	margin: .4rem 0 0;
	color: #b2b2b2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	font-family: var(--wp--preset--font-family--poiret-one);
}
.scn-logo .wp-block-site-tagline::before,
.scn-logo .wp-block-site-tagline::after {
	content: "";
	height: 1px;
	background: #b2b2b2;
	flex: 0 1 4rem;
}

/* Menüband */
.scn-nav-band { background: #a3f53b; border-bottom: .5rem solid #b2b2b2; }
.scn-nav-band .wp-block-navigation { justify-content: center; }
.scn-nav-band .wp-block-navigation-item__content,
.scn-nav-band .wp-block-pages-list__item__link {
	display: block;
	padding: .9rem 1rem;
	color: #282f39;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--poiret-one);
	font-size: 1.2rem;
	font-weight: 700;
}
.scn-nav-band .wp-block-navigation-item__content:hover,
.scn-nav-band .wp-block-navigation-item__content:focus-visible,
.scn-nav-band .current-menu-item > .wp-block-navigation-item__content,
.scn-nav-band .current-menu-item > .wp-block-pages-list__item__link {
	background: #282f39;
	color: #fff;
}
.scn-nav-band .wp-block-navigation__container, .scn-nav-band .wp-block-page-list { gap: 0 .25rem; row-gap: 0; }

/* Inhaltskarte */
.scn-main { padding: 2rem 1rem 3rem; }
.scn-card {
	background: #fff;
	max-width: 54rem;
	margin-inline: auto;
	padding: clamp(1.25rem, 4vw, 2.25rem);
	border-bottom: 4px solid #b2b2b2;
	box-shadow: 1rem 1rem 2rem #282f39;
	box-sizing: border-box;
}
.scn-card + .scn-card { margin-top: 2rem; }
.scn-card img { border-radius: .5rem; height: auto; }
.scn-card .wp-block-post-title { margin-top: 0; }
.scn-card a:where(:not(.wp-element-button)) {
	text-decoration-thickness: 2px;
	text-underline-offset: .2em;
	text-decoration-color: #a3f53b;
}
.scn-card a:where(:not(.wp-element-button)):hover { background: #a3f53b; color: #282f39; }

/* Buttons */
.wp-block-button__link.wp-element-button {
	font-family: var(--wp--preset--font-family--poiret-one);
	font-weight: 700;
	font-size: 1.2rem;
	transition: background-color .15s, color .15s;
}
.wp-element-button:hover, .wp-element-button:focus-visible { background: #282f39 !important; color: #fff !important; }

/* Fokus */
:where(a, button, input, textarea):focus-visible { outline: 3px solid #282f39; outline-offset: 2px; }

/* Fußbereich */
.scn-footer { background: #626262; border-top: .5rem solid #b2b2b2; }
.scn-footer, .scn-footer a { color: #e6e6e6; }
.scn-footer a { text-decoration: none; }
.scn-footer a:hover { text-decoration: underline; color: #a3f53b; }
.scn-footer .wp-block-navigation-item__content { padding: 0; }
.scn-footer p, .scn-footer .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--poiret-one); font-size: 1.15rem; font-weight: 700; }

/* Footer-Links */
.scn-footer .scn-footer-links { gap: 1.5rem 2rem; margin-bottom: 1.5rem; }
.scn-footer .scn-footer-title {
	margin: 0 0 .4rem;
	color: #fff;
	font-family: var(--wp--preset--font-family--poiret-one);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.2;
}
.scn-footer ul.wp-block-list { list-style: none; margin: 0; padding: 0; }
.scn-footer ul.wp-block-list li { margin: 0 0 .2rem; font-family: var(--wp--preset--font-family--poiret-one); font-size: 1.15rem; font-weight: 700; }
.scn-footer-bottom { border-top: 1px solid #8a8a8a; padding-top: 1rem; }

@media (max-width: 600px) {
	.scn-nav-band .wp-block-navigation-item__content { padding: .7rem .8rem; font-size: 1.1rem; }
	.scn-main { padding: 1rem .5rem 2rem; }
	.scn-card { box-shadow: .5rem .5rem 1rem #282f39; }
}
