/*
Theme Name: LEOGRAF Astra Child
Theme URI: https://leograf.de/
Description: LEOGRAF child theme for Astra with WooCommerce catalogue customizations.
Author: LEOGRAF
Template: astra
Version: 1.0.0
Text Domain: leograf-astra-child
*/

.site-logo-img img.custom-logo,
.custom-logo-link img.custom-logo {
  height: auto;
  max-height: 74px;
  max-width: 280px;
  width: auto;
}

body {
  background: #0b1116;
  color: #edf3f8;
}

html,
body,
#page,
.site,
.site-main,
.site-content,
.ast-container,
.content-area,
.entry-content,
.ast-separate-container,
.ast-separate-container #primary,
.ast-separate-container.ast-two-container #secondary .widget,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-plain-container,
.ast-page-builder-template {
  background: #0b1116;
}

.site-content,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .comments-area {
  background: transparent;
}

.entry-content,
.entry-content p,
.entry-content li {
  color: #c7d0d8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-title {
  color: #c7d0d8;
}

a {
  color: #2f9bff;
}

a:hover,
a:focus {
  color: #65b7ff;
}

.site-header,
.ast-primary-header-bar,
.main-header-bar {
  background: rgba(12, 18, 23, 0.96);
  border-bottom: 1px solid #2a3742;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
}

.main-header-menu .menu-link,
.ast-header-account-wrap,
.ast-builder-menu .main-navigation > ul > li > .menu-link {
  color: #c7d0d8;
  font-weight: 700;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link,
.ast-builder-menu .main-navigation > ul > li > .menu-link:hover {
  color: #2f9bff;
}

.ast-site-identity {
  padding-block: 12px;
}

.site-title a {
  background: url("assets/images/LG_Logo.png") left center / contain no-repeat;
  display: block;
  height: 94px;
  overflow: hidden;
  text-indent: -9999px;
  width: 280px;
}

.site-description {
  display: none;
}

.home .entry-title {
  display: none;
}

.leograf-about-page .entry-title {
  display: none;
}

.leograf-services-page .entry-title {
  display: none;
}

.leograf-all-products-page .entry-title {
  display: none;
}

.leograf-all-products-page .ast-breadcrumbs-wrapper,
.leograf-all-products-page .ast-breadcrumb,
.leograf-all-products-page .breadcrumbs {
  display: none;
}

.leograf-services-page .entry-content {
  color: #edf3f8;
}

.leograf-services-intro {
  background: linear-gradient(135deg, #151d24 0%, #101820 56%, #0d141a 100%);
  border-left: 5px solid #2f9bff;
  margin: 0 0 34px;
  padding: 30px 34px;
}

.leograf-services-intro p {
  font-size: 1.18rem;
  line-height: 1.75;
  margin: 0;
  max-width: 1040px;
}

.leograf-services-intro strong {
  color: #c7d0d8;
  font-weight: 800;
}

.leograf-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 42px;
}

.leograf-service-item {
  border-left: 1px solid #2a3742;
  padding: 8px 26px 10px;
  text-align: center;
}

.leograf-service-item:first-child {
  border-left: 0;
}

.leograf-service-item h2 {
  color: #c7d0d8;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.leograf-service-item p {
  color: #a8b3be;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.leograf-service-item strong {
  color: #2f9bff;
  font-size: 1.16rem;
  font-weight: 800;
}

@media (max-width: 921px) {
  .site-logo-img img.custom-logo,
  .custom-logo-link img.custom-logo {
    max-height: 56px;
    max-width: 220px;
  }

  .site-title a {
    height: 74px;
    width: 220px;
  }

  .leograf-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .leograf-service-item:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 544px) {
  .leograf-services-intro {
    padding: 24px 22px;
  }

  .leograf-services-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .leograf-service-item {
    border-left: 0;
    border-top: 1px solid #2a3742;
    padding: 22px 0;
  }

  .leograf-service-item:first-child {
    border-top: 0;
  }
}
