/*
Theme Name:     Podcaster Child Theme
Description:    Child theme for the Podcaster theme
Author:         Theme Station Team
Template:       podcaster
*/

@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/fonts/Montserrat-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Fallback für ältere Browser, die 'woff2-variations' nicht kennen */
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/fonts/Montserrat-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5em;
  color: inherit;
}

h1 {
  font-size: 2.5rem;      /* 40px */
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;        /* 32px */
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;      /* 24px */
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;     /* 20px */
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;    /* 18px */
  font-weight: 500;
}

h6 {
  font-size: 1rem;        /* 16px */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* Host-Grid: mehr Platz pro Karte, damit Text nicht gequetscht wirkt */
.hosts-container .hosts-content.hosts-cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.hosts-container .host {
  text-align: left;
}

.hosts-container .host-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 2-Spalten-Grid: volle Breite nutzen statt schmale Karten mit Lücke */
.hosts-container .hosts-content.hosts-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 40px;
  width: 100%;
}

.hosts-container .host {
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
  padding: 0 !important;
}

.hosts-container .host-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 0 !important;
}

/* Bild bis zum Rand der Card ziehen */
.hosts-container .host-image {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hosts-container .host-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block;
  filter: grayscale(100%);
  object-fit: cover;
}

/* Icon (vermutlich das ungenutzte Social/Website-Icon) ausblenden */
.hosts-container .host-social {
  display: none !important;
}

/* Name */
.hosts-container .host h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a2b5c;
  text-align: left !important;
  margin: 30px 0 4px 0;
  padding: 30px 30px 10px;

}

.hosts-container .host .host-position {
  display: block;
  text-align: left !important;

}

.hosts-container .host .host-content {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #1a2b5c;
  text-align: left !important;
  line-height: 1.5;
  padding: 0 30px 30px 30px;
	
}
/* Nachgefasst — Kontaktformular (Contact Form 7) */
/* Schwarz #000000, Weiß #FFFFFF, Grau #EAEAEA, Gold #FFC228. */
/* Alle Farben werden explizit gesetzt (nicht vererbt), damit */
/* das Formular unabhängig vom Theme-Text funktioniert. */

.ng-contact-form {
  width: 100%;
}

.ng-contact-form p {
  margin-bottom: 1.25em;
}

.ng-contact-form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 700;
  color: #000000 !important;
  letter-spacing: 0.01em;
}

.ng-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.ng-contact-form input[type="text"],
.ng-contact-form input[type="email"],
.ng-contact-form input[type="tel"],
.ng-contact-form input[type="url"],
.ng-contact-form select,
.ng-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #eaeaea !important;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  color: #000000 !important;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.9em 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ng-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.ng-contact-form ::placeholder {
  color: #6b6b6b !important;
  opacity: 1;
}

.ng-contact-form input:focus,
.ng-contact-form select:focus,
.ng-contact-form textarea:focus {
  outline: none;
  border-color: #ffc228;
  box-shadow: 0 0 0 3px rgba(255, 194, 40, 0.35);
}

/* Chrome/Safari-Autofill überschreibt Hintergrund/Text sonst wieder */
.ng-contact-form input:-webkit-autofill,
.ng-contact-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #eaeaea inset;
  -webkit-text-fill-color: #000000;
  transition: background-color 9999s ease-in-out 0s;
}

/* Submit-Button: identisch zu den bestehenden Gold-Buttons (Spotify, Steady etc.) */
.ng-contact-form input[type="submit"],
.ng-contact-form .wpcf7-submit {
  display: inline-block;
  background: #ffc228 !important;
  border: none;
  color: #000000 !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 2.4em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ng-contact-form input[type="submit"]:hover,
.ng-contact-form .wpcf7-submit:hover {
  background: #e6ae1f !important;
}

.ng-contact-form input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Ladeindikator */
.ng-contact-form .wpcf7-spinner {
  filter: invert(72%) sepia(56%) saturate(496%) hue-rotate(1deg) brightness(96%) contrast(94%);
}

/* Feldvalidierung */
.ng-contact-form .wpcf7-not-valid-tip {
  color: #b3401f !important;
  font-size: 0.85rem;
  margin-top: 0.4em;
  font-weight: 400;
}

.ng-contact-form .wpcf7-form-control.wpcf7-not-valid {
  border-color: #b3401f;
}

/* Antwortmeldungen nach dem Absenden */
.ng-contact-form .wpcf7-response-output {
  margin-top: 1.5em;
  padding: 0.9em 1.2em;
  border-radius: 8px;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: #000000 !important;
  font-size: 0.9rem;
}

.ng-contact-form form.sent .wpcf7-response-output {
  border-color: #ffc228;
  background: #fff6df;
}

.ng-contact-form form.invalid .wpcf7-response-output,
.ng-contact-form form.failed .wpcf7-response-output,
.ng-contact-form form.spam .wpcf7-response-output {
  border-color: #b3401f;
  background: #fbe9e3;
}

/* Optionales Zwei-Spalten-Layout für Name/E-Mail nebeneinander, siehe Abschnitt 3 */
.ng-contact-form .ng-row {
  display: flex;
  gap: 1.25em;
  flex-wrap: wrap;
}

.ng-contact-form .ng-row .ng-col {
  flex: 1 1 240px;
}

@media (max-width: 600px) {
  .ng-contact-form .ng-row {
    flex-direction: column;
    gap: 0;
  }
}