/*
Theme Name: Sitecovery
Description: An editable Sitecovery starter site for the Enfold Advanced Layout Builder.
Version: 1.0.0
Template: enfold
Text Domain: sitecovery
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Content, images, links, section colors and typography remain native Enfold
 * settings. These small layout refinements apply only to the named Sitecovery
 * elements. Each class can be removed in its element's Advanced settings.
 * Native element styles and Enfold's responsive controls remain authoritative.
 */

@font-face {
  font-family: "Sitecovery Display";
  src: url("assets/fonts/sitecovery-display-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Keep this supplied brand asset compact inside Enfold's own responsive header.
 * A replacement logo with a different filename uses Enfold's normal sizing.
 */
#header_main .logo img[src*="sitecovery-logo"] {
  width: 176px;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Color Sections use native backgrounds and native section-padding controls. */
.sc-hero,
.sc-page-hero,
.sc-services,
.sc-content,
.sc-ready {
  isolation: isolate;
}

.sc-hero .entry-content-wrapper,
.sc-page-hero .entry-content-wrapper,
.sc-content .entry-content-wrapper {
  overflow-wrap: break-word;
}

.sc-hero .sc-copy-col {
  max-width: 650px;
}

.sc-headline.av-special-heading,
.sc-section-heading.av-special-heading,
.sc-card-heading.av-special-heading {
  margin-top: 0;
}

/* The size fallback is fluid. Per-element desktop/tablet/mobile values set in
 * the builder take precedence, as do native element color and font controls.
 */
.sc-headline {
  font-size: clamp(42px, 5.3vw, 74px);
}

.sc-headline .av-special-heading-tag,
.sc-headline h1 {
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.sc-section-heading .av-special-heading-tag,
.sc-card-heading .av-special-heading-tag {
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.sc-kicker,
.sc-eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sc-kicker p,
.sc-eyebrow p {
  margin: 0 0 18px;
}

.sc-copy,
.sc-card-copy,
.sc-lede {
  line-height: 1.65;
}

.sc-lede {
  max-width: 570px;
  font-size: 17px;
}

.sc-copy p,
.sc-card-copy p,
.sc-lede p {
  margin-top: 0;
  margin-bottom: 1.15em;
}

.sc-copy p:last-child,
.sc-card-copy p:last-child,
.sc-lede p:last-child {
  margin-bottom: 0;
}

/* Service columns are native ALB columns. Border, background and padding can
 * be changed with each column's own Styling controls.
 */
.sc-service-card {
  box-sizing: border-box;
  border-radius: 8px;
}

.sc-service-card .sc-card-heading {
  margin-bottom: 14px;
}

.sc-service-card .sc-card-copy {
  font-size: 15px;
}

.sc-service-card a:not(.avia-button) {
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.sc-ready.flex_column {
  box-sizing: border-box;
  border-radius: 8px;
}

.sc-content .sc-copy-col {
  max-width: 760px;
}

.sc-content .sc-copy ul,
.sc-content .sc-copy ol {
  margin-left: 1.25em;
}

.sc-content .sc-copy li {
  padding-left: 0.15em;
  margin-bottom: 0.6em;
}

/* Native Button elements: Enfold owns labels, targets, icons and colors. */
.sc-primary .avia-button,
.sc-secondary .avia-button {
  box-sizing: border-box;
  min-height: 46px;
  padding: 14px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sc-primary .avia-button:hover,
.sc-secondary .avia-button:hover {
  transform: translateY(-1px);
}

.sc-primary .avia-button:focus-visible,
.sc-secondary .avia-button:focus-visible,
.sc-service-card a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.sc-primary,
.sc-secondary {
  max-width: 100%;
}

@media only screen and (max-width: 989px) {
  .sc-hero .sc-copy-col {
    max-width: 610px;
  }

  .sc-lede {
    font-size: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .sc-hero .sc-copy-col,
  .sc-content .sc-copy-col {
    max-width: none;
  }

  .sc-headline .av-special-heading-tag,
  .sc-headline h1 {
    letter-spacing: -0.02em;
  }

  .sc-kicker,
  .sc-eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .sc-primary .avia-button,
  .sc-secondary .avia-button {
    padding: 13px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-primary .avia-button,
  .sc-secondary .avia-button {
    transition: none;
  }

  .sc-primary .avia-button:hover,
  .sc-secondary .avia-button:hover {
    transform: none;
  }
}
