/**
 * Theme Name: SUI Frontpage
 * Author: Tobias Kirschstein
 */

/**
 * Table of contents:
 * 
 * 0.9 - Font Definition
 * 1.0 - Reset
 * 2.0 - Basic structure
 * 3.0 - Header
 *   3.1 - Site Header
 *   3.2 - Navigation
 * 4.0 - Content
 *   4.1 - Entry
 * 5.0 - Footer
 * 6.0 - Media Queries
 * ----------------------------------------------------------------------------
 */

/**
 * 0.9 - Font Definition
 * ----------------------------------------------------------------------------
 */

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  src: url('/wp-content/themes/terranostra/fonts/pt-sans.eot');
  src: url('/wp-content/themes/terranostra/fonts/pt-sans.eot#iefix') format('embedded-opentype'),
    url('/wp-content/themes/terranostra/fonts/pt-sans.woff2') format('woff2'),
    url('/wp-content/themes/terranostra/fonts/pt-sans.woff') format('woff'),
    url('/wp-content/themes/terranostra/fonts/pt-sans.ttf') format('truetype'),
    url('/wp-content/themes/terranostra/fonts/pt-sans.svg#svgFontName') format('svg');
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/terranostra/fonts/pt-sans-bold.eot');
  src: url('/wp-content/themes/terranostra/fonts/pt-sans-bold.eot#iefix') format('embedded-opentype'),
    url('/wp-content/themes/terranostra/fonts/pt-sans-bold.woff2') format('woff2'),
    url('/wp-content/themes/terranostra/fonts/pt-sans-bold.woff') format('woff'),
    url('/wp-content/themes/terranostra/fonts/pt-sans-bold.ttf') format('truetype'),
    url('/wp-content/themes/terranostra/fonts/pt-sans-bold.svg#svgFontName') format('svg');
}

/**
 * 1.0 - Reset
 * ----------------------------------------------------------------------------
 */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

body {
	color: #141412;
	line-height: 1.5;
	margin: 0;
}

a {
	color: #003366;
	text-decoration: none;
}

/*a:visited {
	color: #ac0404;
}*/

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	color: #ea9629;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'PT Sans', Bitter, Georgia, serif;
	line-height: 1.3;
  font-weight: normal;
  color: #003366;
}

h1 {
	font-size: 26px;
	margin: 33px 0;
}

h2 {
	font-size: 23px;
	margin: 25px 0;
}

h3 {
	font-size: 20px;
	margin: 22px 0;
}

h4 {
	font-size: 18px;
	margin: 25px 0;
}

h5 {
	font-size: 16px;
	margin: 30px 0;
}

h6 {
	font-size: 15px;
	margin: 36px 0;
}

address {
	font-style: italic;
	margin: 0 0 24px;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

p {
	margin: 0 0 24px;
}

code,
kbd,
pre,
samp {
	font-family: monospace, serif;
	font-size: 14px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
}

pre {
	background: #f5f5f5;
	color: #666;
	font-family: monospace;
	font-size: 14px;
	margin: 20px 0;
	overflow: auto;
	padding: 20px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
	margin: 24px 40px;
}

blockquote blockquote {
	margin-right: 0;
}

blockquote cite,
blockquote small {
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
}

blockquote em,
blockquote i {
	font-style: normal;
	font-weight: 300;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

dl {
	margin: 0 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 20px;
}

menu,
ol,
ul {
	margin: 16px 0;
	padding: 0 0 0 40px;
}

ul {
	list-style-type: square;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
	padding-right: 2px; /* Don't cut off the webkit search cancel button */
	width: 270px;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table {
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
	border-top: 1px solid #ddd;
	padding: 6px 10px 6px 0;
}

del {
	color: #333;
}

ins {
	background: #fff9c0;
	text-decoration: none;
}

hr {
	background: url(images/dotted-line.png) repeat center top;
	background-size: 4px 4px;
	border: 0;
	height: 1px;
	margin: 0 0 24px;
}

/**
 * 2.0 - Basic Structure
 * ----------------------------------------------------------------------------
 */

html,
body {
  font-family: 'PT Sans';
}

body {
  background-image: url(/wp-content/themes/terranostra/images/bg_header3.jpg);
  background-repeat: no-repeat;
  background-size: 100% auto;
}

body.home {
  background-image: none;
}

#page {
  min-width: 300px;
}

/**
 * 3.0 - Header
 * ----------------------------------------------------------------------------
 */

#frontpage-feature {
  position: relative;
  margin-bottom: 130px;
}

#frontpage-feature img {
  width: 100%;
  height: auto;
}

#frontpage-content {
  margin: auto;
  position: absolute;
  left: 0;
  bottom: -40px;
  right: 0;
  width: 351px;
  max-width: 50%;
  line-height: 1;
  text-shadow: 0 0 5px #fff;
  text-align: center;
  z-index: 1;
  font-family: 'PT Sans';
  font-size: 22px;
}

#frontpage-content p {
  margin-bottom: 10px;
}

#frontpage-slogan {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  width: 300px;
  bottom: -140px;
  color: #F29400;
  font-size: 35px;
  text-shadow: 5px 5px 3px rgba(0, 0, 0, 0.25);
  font-family: 'PT Sans';
}

#frontpage-slogan .second-line {
  margin-left: 30px;
}

#frontpage-fairtrade {
	position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  text-align: right;
  width: 550px;
  max-width: 100%;
  bottom: -60px;
}

#frontpage-fairtrade img {
  width: auto;
  max-width: 25%;
}

#fairtrade-box {
  position: absolute;
  top: 250px;
  left: -140px;
}


/**
 * 3.1 - Site Header
 * ----------------------------------------------------------------------------
 */

header {
  position: relative;
}

#terranostra-explanation {
  font-family: 'PT Sans';
  font-size: 25px;
  font-weight: bold;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  margin: 0 auto;
  width: 1200px;
  padding-left: 30px;
  max-width: 100%;
  color: #fff;
  text-shadow: 2px 2px 2px #000;
}

#logo {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -60px;
  width: 350px;
  max-width: 35%;
  z-index: 1;
}

#logo img {
  width: 100%;
  height: auto;
}


/**
 * 3.2 - Navigation
 * ----------------------------------------------------------------------------
 */

.navbar {
  position: relative;
  margin-bottom: 160px;
  display: inline-block;
  z-index: 2;
}

.navbar ul {
  margin: 0;
  padding: 0;
  font-size: 0;
}

.navbar li {
  list-style: none;
  display: inline-block;
  margin-right: 10px;
}

.navbar li a {
  color: #fff;
  display: inline-block;
  width: 150px;
  height: 25px;
  background-image: url(/wp-content/themes/terranostra/images/navi_balken.png);
  background-size: 100%;
  text-align: center;
  font-family: 'PT Sans';
  font-size: 16px;
  font-weight: bold;
  line-height: 23px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.navbar li a:hover {
  text-decoration: none;
}

.navbar li ul {
  display: none;
  position: absolute;
}

.navbar li:hover ul {
  display: block;
}

.navbar li ul li {
  display: block;
  border-bottom: 1px solid #003366;
}

.navbar li ul li a {
  background-image: none;
  color: #003366;
  font-size: 14px;
  font-weight: normal;
  text-shadow: none;
}

.navbar li ul li.current-menu-item a {
  color: #258100;
}


.header-menu-2 {
  display: inline-block;
  float: right;
  font-size: 0;
  position: relative;
  z-index: 1;
}

.header-menu-2 ul {
  margin: 0;
  padding: 0;
  text-align: right;
}

.header-menu-2 li:before {
  content: '|';
  display: inline;
  margin: 0 5px;
}

.header-menu-2 li:first-child:before {
  display: none;
}

.header-menu-2 li {
  display: inline-block;
  list-style: none;
  font-size: 15px;
  font-family: 'PT Sans';
}

.header-menu-2 li a {
  color: #000;
}

.header-menu-2 li.current-menu-item a,
.header-menu-2 li.current_page_parent a {
  font-weight: bold;
}

.mobile-nav {
  display: none;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

#mobile-nav-toggle {
  color: #fff;
  display: inline-block;
  width: 150px;
  height: 25px;
  background-image: url(/wp-content/themes/terranostra/images/navi_balken.png);
  background-size: 100%;
  text-align: center;
  font-family: 'PT Sans';
  font-size: 16px;
  font-weight: bold;
  line-height: 23px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

#mobile-nav-toggle:hover {
  text-decoration: none;
}

/**
 * 4.0 - Content
 * ----------------------------------------------------------------------------
 */

#main {
  position: relative;
  background-color: #fff;
  background-image: url(/wp-content/themes/terranostra/images/bg-content.png);
  background-repeat: repeat-x;
	box-shadow: 10px 0 5px rgba(0, 0, 50, 0.2);
  width: 100%;
  max-width: 1200px;
  margin: 175px auto 0 auto;
  padding: 20px 30px;
  border-radius: 20px;
  -moz-border-radius: 20p;
  -webkit-border-radius: 20px;
  margin-bottom: 10px;
}

#content-aside-wrapper {
  display: none;
}

.two-columns #content-aside-wrapper {
  position: relative;
  display: inline-block;
  width: 43.421052631%;
  z-index: 1;
}

#content-aside {
  margin-right: 25px;
}

#content-aside img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  -moz-border-radius: 10p;
  -webkit-border-radius: 10px;
}

#content-aside p {
  margin: 0;
}

#content {
  font-size: 0;
  margin-bottom: 50px;
}

#content .entry-title {
  display: inline-block;
  margin-top: 0;
}

#entry-content-wrapper {
  position: relative;
  margin-bottom: 20px;
  font-size: 16px;
}

.two-columns #entry-content-wrapper {
  display: inline-block;
  width: 56.578947368%;
  vertical-align: top;
}

/**
 * 4.1 - Entry
 * ----------------------------------------------------------------------------
 */

.blog #content-aside {
	font-size: 16px;
}

.blog #entry-content .members-access-error {
	display: none;
}

.blog #content-aside .members-access-error {
	margin-top: 67px;
}

.blog #content-aside h1 {
	margin-top: 0;
}

.blog #content-aside p {
	margin-bottom: 24px;
}

.blog #loginform {
	margin: 10px;
}

.blog .captcha_img {
  display: block !important;
  margin-bottom: 0 !important;
}



/**
 * 5.0 - Footer
 * ----------------------------------------------------------------------------
 */

footer {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto;
}

body.home footer {
  padding: 30px;
}

#language-chooser {
  font-size: 0;
  margin: 0;
  padding: 0;
  display: inline-block;
}

#language-chooser li:before {
  content: '|';
	display: inline;
  margin: 0 5px;
}

#language-chooser li:first-child:before {
  display: none;
}

#language-chooser li {
  list-style: none;
  display: inline-block;
  font-size: 15px;
}

body.home #language-chooser li {
  font-size: 20px;
}

#language-chooser li a {
  color: #000;
}

body.home #language-chooser li a {
  font-weight: bold;
}

#language-chooser li.current-lang a {
  font-weight: bold;
}

#footer-text {
  color: #003366;
  text-align: right;
  float: right;
  max-width: 85%;
}


/**
 * 6.0 - Media Queries
 * ----------------------------------------------------------------------------
 */

@media (max-width: 1200px) {
  #main {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
  }
  
  .navbar li a {
    width: 124px;
    height: 21px;
    line-height: 21px;
    font-weight: normal;
  }
  
  #terranostra-explanation {
    font-size: 20px;
  }
}

@media (max-width: 1150px) {
  #footer-text
}

@media (max-width: 960px) {
  #logo {
    bottom: -30px;
    width: 35%;
    min-width: 250px;
  }
  
  .header-menu-2 {
      max-width: 35%;
	}
}

@media (max-width: 850px) {
  #terranostra-explanation {
    bottom: 130px;
    text-align: center;
    padding-left: 0;
  }
  
  #entry-content-wrapper,
  .two-columns #entry-content-wrapper,
  #entry-content {
    display: inline;
  }
  
  #content-aside-wrapper {
    float: left;
  }
  
  #footer-text {
    float: none;
    max-width: initial;
    text-align: center;
    margin-top: 30px;
  }
}

@media (max-width: 700px) {
  .mobile-nav {
    display: inline-block;
  }
  
  .header-menu-2 {
    display: inline-block;
    max-width: initial;
    float: none;
    width: 50%;
    vertical-align: top;
  }
  
  .navbar {
    display: inline-block;
    margin-bottom: 0;
    width: 50%;
  }
  
  #menus {
    display: none;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 30px 0px;
    margin-bottom: 30px;
    margin-top: -20px;
    font-size: 0;
  }
  
  #menus.visible {
    display: block;
  }
  
  #menus ul {
    display: block;
    padding-left: 30px;
    text-align: left;
    position: static;
  }
  
  #menus li {
    display: block;
    border-bottom: none;
    margin: 0;
  }
  
  #menus li:before {
    display: none;
  }
  
  #menus li a {
    background-image: none;
    color: #000;
    width: auto;
    height: auto;
    display: block;
    text-align: left;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  }
  
  #menus li a:hover,
  #menus li.current_page_item a:hover {
    text-decoration: none;
    background-color: #003366;
    color: #fff;
  }
  
  #menus li.current_page_item a {
    background-color: #eee;
    font-weight: bold;
  }
}

@media (max-width: 500px) {
  
  #frontpage-content {
    font-size: 15px;
  }

  #frontpage-slogan {
    font-size: 20px;
    padding-left: 70px;
    bottom: -120px;
  }
  
	#frontpage-fairtrade {
    bottom: -50px;
  }
  
  .two-columns #content-aside-wrapper {
    width: 100%;
  }
  
  #content-aside {
    margin-right: 0;
  }
  
  .navbar {
    width: 100%;
  }
  
  .header-menu-2 {
    width: 100%;
  }
  
}

/* NOTFALL-CSS für sichtbaren Content - Am ENDE der style.css hinzufügen */

/* Content sichtbar machen */
#content .entry-content {
    color: #333333 !important;
    background-color: transparent !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    visibility: visible !important;
    display: block !important;
}

/* Paragraphen sichtbar machen */
.entry-content p {
    color: #333333 !important;
    margin-bottom: 15px !important;
    display: block !important;
    visibility: visible !important;
}

/* Überschriften sichtbar machen */
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: #222222 !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    display: block !important;
    visibility: visible !important;
}

/* Basis Content-Container */
#content {
    color: #333333 !important;
    display: block !important;
    visibility: visible !important;
}

/* Article sichtbar machen */
article {
    color: #333333 !important;
    display: block !important;
    visibility: visible !important;
}

/* Text im Entry-Content Bereich */
#entry-content {
    color: #333333 !important;
    display: block !important;
    visibility: visible !important;
}

/* Alles in der Site-Content */
.site-content * {
    color: inherit !important;
    visibility: visible !important;
}

/* LAYOUT-FIX: Zwei-Spalten-Layout reparieren */

/* Content Aside Wrapper - Links Spalte */
#content-aside-wrapper {
    float: left !important;
    width: 30% !important;
    margin-right: 20px !important;
    display: block !important;
}

/* Content Aside - Bild/Sidebar Bereich */
#content-aside {
    width: 100% !important;
    display: block !important;
}

/* Entry Content - Rechte Spalte mit Text */
#entry-content {
    float: right !important;
    width: 65% !important;
    display: block !important;
    margin-left: 0 !important;
}

/* Article Container - Clearfix für Float-Layout */
article {
    overflow: hidden !important;
    display: block !important;
}

/* Alternative falls Float nicht funktioniert - Flexbox */
.two-columns {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
}

.two-columns #content-aside-wrapper {
    flex: 0 0 30% !important;
    float: none !important;
}

.two-columns #entry-content {
    flex: 1 !important;
    float: none !important;
}

/* Responsive - Mobile Ansicht */
@media (max-width: 768px) {
    #content-aside-wrapper,
    #entry-content {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .two-columns {
        flex-direction: column !important;
    }
}

/* CSS für Featured Images 2 & 3 - Am Ende der style.css hinzufügen */

/* Featured Images 2 & 3 Styling */
.featured-image-2,
.featured-image-3 {
    margin-top: 15px !important;
    display: block !important;
}

.featured-image-2 img,
.featured-image-3 img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
}

/* CSS für YouTube/Text-Bereich - Am Ende der style.css hinzufügen */

/* YouTube/Text Content Styling */
.youtube-text-content {
    margin-top: 15px !important;
    display: block !important;
}

/* YouTube iFrame responsive */
.youtube-text-content iframe {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: 16/9 !important;
}

/* Text-Content in dem Bereich */
.youtube-text-content p {
    color: #333333 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
}

/* Links im Text-Bereich */
.youtube-text-content a {
    color: #0073aa !important;
    text-decoration: underline !important;
}

/* ACF Content Blocks CSS - Am Ende der style.css hinzufügen */

/* Content Blocks Container */
.acf-content-block {
    margin: 30px 0 !important;
    padding: 25px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background-color: #f9f9f9 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Content Block Titel */
.content-block-title {
    color: #333333 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #ddd !important;
}

/* Content Block Inhalt */
.content-block-content {
    color: #555555 !important;
    line-height: 1.6 !important;
    font-size: 16px !important;
}

/* Content Block Inhalt - Paragraphen */
.content-block-content p {
    color: #555555 !important;
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
}

/* Content Block Inhalt - Listen */
.content-block-content ul,
.content-block-content ol {
    margin-left: 20px !important;
    margin-bottom: 15px !important;
}

.content-block-content li {
    color: #555555 !important;
    margin-bottom: 8px !important;
}

/* Content Block Inhalt - Links */
.content-block-content a {
    color: #0073aa !important;
    text-decoration: underline !important;
}

.content-block-content a:hover {
    color: #005a87 !important;
}

/* Spezielle Styling für verschiedene Blöcke */
.content-block-1 {
    background-color: #f0f8ff !important;
    border-left: 4px solid #0073aa !important;
}

.content-block-2 {
    background-color: #f0fff0 !important;
    border-left: 4px solid #28a745 !important;
}

.content-block-3 {
    background-color: #fff8f0 !important;
    border-left: 4px solid #fd7e14 !important;
}

/* Form-Integration für Content Blocks */
.content-block-content form {
    margin-top: 20px !important;
}

.content-block-content input,
.content-block-content textarea,
.content-block-content select {
    width: 100% !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.content-block-content input[type="submit"],
.content-block-content button {
    background-color: #0073aa !important;
    color: white !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    width: auto !important;
}

.content-block-content input[type="submit"]:hover,
.content-block-content button:hover {
    background-color: #005a87 !important;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .acf-content-block {
        margin: 20px 0 !important;
        padding: 15px !important;
    }
    
    .content-block-title {
        font-size: 18px !important;
    }
    
    .content-block-content {
        font-size: 14px !important;
    }
}

/* ACF Content Blocks CSS - Am Ende der style.css hinzufügen */

/* Content Blocks Container */
.acf-content-block {
    margin: 30px 0 !important;
    padding: 25px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background-color: #f9f9f9 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Content Block Titel */
.content-block-title {
    color: #333333 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #ddd !important;
}

/* Content Block Inhalt */
.content-block-content {
    color: #555555 !important;
    line-height: 1.6 !important;
    font-size: 16px !important;
}

/* Content Block Inhalt - Paragraphen */
.content-block-content p {
    color: #555555 !important;
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
}

/* Content Block Inhalt - Listen */
.content-block-content ul,
.content-block-content ol {
    margin-left: 20px !important;
    margin-bottom: 15px !important;
}

.content-block-content li {
    color: #555555 !important;
    margin-bottom: 8px !important;
}

/* Content Block Inhalt - Links */
.content-block-content a {
    color: #0073aa !important;
    text-decoration: underline !important;
}

.content-block-content a:hover {
    color: #005a87 !important;
}

/* Spezielle Styling für verschiedene Blöcke */
.content-block-1 {
    background-color: #f0f8ff !important;
    border-left: 4px solid #0073aa !important;
}

.content-block-2 {
    background-color: #f0fff0 !important;
    border-left: 4px solid #28a745 !important;
}

.content-block-3 {
    background-color: #fff8f0 !important;
    border-left: 4px solid #fd7e14 !important;
}

/* Form-Integration für Content Blocks */
.content-block-content form {
    margin-top: 20px !important;
}

.content-block-content input,
.content-block-content textarea,
.content-block-content select {
    width: 100% !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.content-block-content input[type="submit"],
.content-block-content button {
    background-color: #0073aa !important;
    color: white !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    width: auto !important;
}

.content-block-content input[type="submit"]:hover,
.content-block-content button:hover {
    background-color: #005a87 !important;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .acf-content-block {
        margin: 20px 0 !important;
        padding: 15px !important;
    }
    
    .content-block-title {
        font-size: 18px !important;
    }
    
    .content-block-content {
        font-size: 14px !important;
    }
}


/* ======================================
   ACF CONTENT BLOCKS - BRUTALER 50/50 FIX
   ====================================== */

/* GLOBALE ÜBERSCHREIBUNG NUR FÜR SINGLE POSTS */
.single-post #content-aside-wrapper {
  width: 50% !important;
  float: left !important;
  box-sizing: border-box !important;
  padding-right: 15px !important;
  margin: 0 !important;
}

.single-post #entry-content {
  width: 50% !important;
  float: right !important;
  box-sizing: border-box !important;
  padding-left: 15px !important;
  margin: 0 !important;
}

/* NOCH SPEZIFISCHER - für alle Beiträge mit two-columns Klasse */
body.single-post article.two-columns #content-aside-wrapper {
  width: 50% !important;
  float: left !important;
  padding-right: 15px !important;
}

body.single-post article.two-columns #entry-content {
  width: 50% !important;
  float: right !important;
  padding-left: 15px !important;
}

/* MAXIMALE SPEZIFITÄT - überschreibt alles */
html body.single-post .two-columns #content-aside-wrapper {
  width: 50% !important;
  max-width: 50% !important;
  min-width: 50% !important;
  flex: none !important;
  flex-basis: 50% !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

html body.single-post .two-columns #entry-content {
  width: 50% !important;
  max-width: 50% !important;
  min-width: 50% !important;
  flex: none !important;
  flex-basis: 50% !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

/* CLEARFIX */
.single-post article.two-columns:after {
  content: "";
  display: table;
  clear: both;
}

/* Content Block Styling - UNSICHTBAR/TRANSPARENT */
.acf-content-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 20px;
  box-shadow: none !important;
  transition: none;
  box-sizing: border-box;
}

.acf-content-block:hover {
  box-shadow: none !important;
}

.acf-content-block:last-child {
  margin-bottom: 0;
}

/* Block-spezifische Farben - ALLE TRANSPARENT */
.content-block-1,
.content-block-2,
.content-block-3 {
  background: transparent !important;
  border: none !important;
}

/* Content Block Titel - OHNE UMRANDUNG */
.content-block-title {
  margin: 0 0 15px 0;
  padding: 0 0 8px 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  border-bottom: none !important;
}

.content-block-1 .content-block-title,
.content-block-2 .content-block-title,
.content-block-3 .content-block-title {
  color: #333 !important;
  border-bottom: none !important;
}

/* Content Block Inhalt */
.content-block-content {
  line-height: 1.6;
  color: #555;
}

.content-block-content p {
  margin: 0 0 10px 0;
}

.content-block-content p:last-child {
  margin-bottom: 0;
}

/* Formulare innerhalb der Content-Blöcke */
.content-block-content form {
  margin: 0;
}

.content-block-content input,
.content-block-content textarea,
.content-block-content select {
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
  font-family: inherit;
  box-sizing: border-box;
}

.content-block-content button,
.content-block-content input[type="submit"] {
  background: #333;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: auto;
}

.content-block-content button:hover,
.content-block-content input[type="submit"]:hover {
  background: #555;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .single-post #content-aside-wrapper,
  .single-post #entry-content,
  html body.single-post .two-columns #content-aside-wrapper,
  html body.single-post .two-columns #entry-content {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: none !important;
  }
  
  .single-post #entry-content {
    margin-top: 20px !important;
  }
}

/* Post-Navigation ausblenden */
.single-post .post-navigation,
.single-post .nav-links {
  display: none !important;
}