/*
Theme Name: SCS GeneratePress Child
Theme URI: https://siebel-capital.de/
Description: Child theme for siebel capital solutions based on GeneratePress.
Author: siebel capital solutions
Template: generatepress
Version: 1.0.0
Text Domain: scs-generatepress-child
*/

/* SCS global header stability */
#masthead .inside-header {
  max-width: 1200px;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  align-items: center;
  column-gap: 24px;
  min-height: 118px;
}

#masthead .site-branding-container {
  flex: 0 1 auto !important;
  max-width: 420px !important;
}

#masthead .site-logo {
  line-height: 0;
}

#masthead .site-logo img.header-image.is-logo-image,
#masthead img.custom-logo {
  width: 300px !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain;
}

#masthead .site-branding {
  padding-left: 16px !important;
}

#masthead .site-branding .main-title,
#masthead .site-branding .main-title a {
  font-size: 22px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

#site-navigation {
  flex: 1 1 auto !important;
}

#site-navigation .inside-navigation {
  justify-content: flex-end !important;
  max-width: none !important;
  width: 100% !important;
}

#site-navigation .main-nav ul {
  justify-content: flex-end;
  flex-wrap: nowrap !important;
}

#site-navigation .main-nav ul li a {
  line-height: 42px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.featured-image.page-header-image {
  display: none !important;
}

@media (max-width: 1100px) {
  #masthead .inside-header {
    column-gap: 16px;
  }

  #masthead .site-branding-container {
    max-width: 300px !important;
  }

  #masthead .site-branding .main-title,
  #masthead .site-branding .main-title a {
    font-size: 19px !important;
    white-space: normal;
  }

  #masthead .site-logo img.header-image.is-logo-image,
  #masthead img.custom-logo {
    width: 240px !important;
    max-width: 240px !important;
    height: auto !important;
    max-height: 62px !important;
  }

  #site-navigation .main-nav ul li a {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
}

@media (max-width: 768px) {
  #masthead .inside-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: 90px;
  }

  #masthead .site-branding-container {
    max-width: 260px !important;
  }

  #masthead .site-logo img.header-image.is-logo-image,
  #masthead img.custom-logo {
    width: 190px !important;
    max-width: min(52vw, 190px) !important;
    height: auto !important;
    max-height: 54px !important;
  }

  #masthead .site-branding {
    padding-left: 12px !important;
  }

  #masthead .site-branding .main-title,
  #masthead .site-branding .main-title a {
    font-size: 18px !important;
  }
}

/* SCS custom 404 */
.scs-404-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 24px 72px;
}

.scs-404-main {
  margin: 0;
}

.scs-404-panel {
  background: #ffffff;
  border-top: 4px solid #1f2933;
  padding: 46px 42px;
  max-width: 820px;
}

.scs-404-kicker {
  margin: 0 0 12px;
  color: #506070;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.scs-404-panel h1 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 42px;
  line-height: 1.15;
}

.scs-404-lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: #2d3748;
  font-size: 19px;
  line-height: 1.65;
}

.scs-404-actions,
.scs-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scs-404-actions {
  margin-bottom: 24px;
}

.scs-404-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 18px;
  background: #1f2933;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.scs-404-button:hover,
.scs-404-button:focus {
  background: #374151;
  color: #ffffff;
}

.scs-404-button.secondary {
  background: #e5e7eb;
  color: #111827;
}

.scs-404-button.secondary:hover,
.scs-404-button.secondary:focus {
  background: #d1d5db;
  color: #111827;
}

.scs-404-links {
  padding-top: 8px;
}

.scs-404-links a {
  color: #1f2933;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.error404 .widget-area,
body.error404 .comments-area {
  display: none !important;
}

/* Match the custom landing-page layout on the about page. */
body.page-id-169.separate-containers .site-main {
  margin-top: 0 !important;
}

body.page-id-169 .inside-article {
  padding: 0 !important;
}

body.page-id-169 .entry-content {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .scs-404-content {
    padding: 24px 16px 56px;
  }

  .scs-404-panel {
    padding: 34px 24px;
  }

  .scs-404-panel h1 {
    font-size: 32px;
  }

  .scs-404-lead {
    font-size: 17px;
  }

  .scs-404-button {
    width: 100%;
    justify-content: center;
  }
}
