/*
Theme Name: Ollie-Child-STL 2026
Theme URI: 
Author: 
Author URI: 
Description: Sept 26
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ollie
Text Domain: ollie-child-stl
Tags: 
*/

/* CSS Theme Ollie Sept 26 */

strong,
p strong,
ul li strong {
  /*  font-weight:600 !important;*/
}

table tr td {
  vertical-align: top;
}

/*Font-weight 300 durchkreuzt alle Einstellungen */
a:where(:not(.wp-element-button)) {
  font-style: normal;
  /*  font-weight: 300;*/
  font-weight: inherit;
}

.wp-block-search__button svg {
  fill: white;
}

/* Project Box ersetzt Floating box (Group inside of Row) */
.single-projekte .project-box {
  padding-top: 0;
  min-width: 240px;
}

.single-projekte .project-box h4 {
  border-top: 6px solid;
  border-color: var(--wp--preset--color--border-dark);
  font-size: 1em;
  padding: 1em 2em 1em 0.5em;
  margin-top: 0;
  background-color: var(--wp--preset--color--border-dark);
}

.single-projekte .project-box ul {
  list-style: none;
  padding-left: 0.5em;
}
.single-projekte .project-box ul li:before {
  content: "– ";
}

.single-projekte .project-box a {
  margin-left: 0.5em;
  /*border-bottom: 2px solid;
  border-color: var(--wp--preset--color--border-dark);*/
  display: block;
}

.single-projekte .project-box a:before {
  content: "» ";
}

/* Single View Projekte */
/* Es gibt nur CaseStudies in der Einzelansicht, für normale Projekte gibt es keine Single View*/

/* Übersicht am Anfang */
.single-projekte blockquote {
  border-left: 4px solid;
  border-color: var(--wp--preset--color--border-dark);
  padding-left: 1em;
  margin-bottom: 2em;
}
@media (min-width: 768px) {
	.shift-to-left{
		margin-left:-5em !important;
	}
}


@media print {
  header.wp-block-template-part,
  .wp-block-spacer,
  .wp-block-post-featured-image {
    display: none;
  }
}
/*dont allow Mailpoet to overwrite the font with Arial */

.mailpoet_form * {
  font-family: inherit !important;
}

.mailpoet_form .mailpoet_paragraph {
  max-width: 540px;
  margin: 0 auto;
}
.mailpoet_form .mailpoet_paragraph input.mailpoet_submit {
  max-width: 320px;
  margin: 0 auto;
}


/* ====== 2026 ======= */

/*Smaller headlines for Blog Posts */
.single-post h1{font-size:3rem;}

.single-post h2 {font-size:2.55rem;}

.single-post h3 {font-size:1.6rem;font-weight:300;}
.single-post h4 {font-size:1.3rem;}
/*Mailpoet*/
#mailpoet_form_1 form.mailpoet_form {
padding:0 !important;
}
/*Anmelden Button */
input.mailpoet_submit{
font-weight:bold !important;
letter-spacing: 1px !important;
}
/*Pattern Anmeldung englisch */
#mailpoet_form_3 form.mailpoet_form{padding-top:0 !important}

/* Hover Animationen */
.slide-down {
  transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .slide-down:hover, .slide-down:focus-visible {
    transform: translateY(10px);
  }
}



/* Tabelle */
.border-bottom-2 table tr{
border-bottom:2px solid black !important;
}
.vertical-align-top table tr td{
vertical-align:top !important;
}
/*Query Posts Kategorien Button Style*/
.is-style-term-button a {
 color:white;
 background-color: var(--wp--preset--color--primary);
font-weight:400 !important;
}
/* Komma unsichtbar machen */
.wp-block-post-terms__separator{
color:white;
}

/*H2 in Blog posts kleiner */
.single-post .entry-content h2.wp-block-heading {
font-size:1.8em; 
}

.has-modal-open .admin-bar .is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-dialog {
  /*margin-top:20px*/
}

/* Mobiles Menu */
/*Logo im mobilen Menu */
@media (min-width:601px){
.logo-mobile-only{
display:none;
}
}
/* Suchfeld mobile Navigation ganze Breite */
@media (max-width:600px){
form.wp-block-search{
width:100%
}
}
/* Logo im mobilen Menu wird rechts ausgerichtet, weil die Navigation Desktop so eingerichtet ist; nach links schubsen */
@media (max-width:600px){
.wp-block-navigation.items-justified-right {
  --navigation-layout-justification-setting: flex-start;
}
}