/* Styles for src/_includes/partials/callout.njk.
   Moved out of the template; the callout-<tag>-<n> classes replace former
   inline style attributes. Give them meaningful names when you next edit them. */

@layer site {
  .callout-section {
    background-color: var(--color-cadet);
    padding: 80px 0;
    position: relative;
  }

  .callout-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/assets/images/background/heading.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  .callout-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
  }

  .callout-content p {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-subheading);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
  }

  @media (max-width: 768px) {
    .callout-section {
      padding: 60px 0;
    }

    .callout-content p {
      font-size: 2rem;
    }
  }
}
