
/*!*********************************************!*\
  !*** ../src/elements/partials/box/box.scss ***!
  \*********************************************/
/*******************************
 * Buttons
 ******************************/
/*
 * Applies the complete set of button styles with all desired style variations.
 * This mixin is normally applied to form buttons or links with
 * the desired button classes eg. .button.style-xxx.
 */
/*
 * Contains styles that all of the buttons have in common.
 * Some button styles might opt out or override some of these styles.
 * One benefit of this approach is that all of the buttons will be consistently
 * configurable with the CSS variables defined below.
 */
/*******************************
 * Button Styles
 *
 * Styles should define the way the buttons look. Depending on the project,
 * you may need to optimize each style based on the section / element that
 * a button is used in. For that purpose you can use the predefined CSS
 * variables to easily overwrite the desired colors based on your need.
 ******************************/
/*******************************
 * Inputs
 ******************************/
.box {
  --box-padding: /* grow(32, 64) */ clamp(2rem, 1.4545454545rem + 2.4242424242vw, 4rem);
  --box-padding-x: var(--box-padding);
  --box-padding-y: var(--box-padding);
  display: flex;
  position: relative;
  transition: all ease 300ms;
  transition-property: box-shadow, transform;
  justify-content: stretch;
  background-color: var(--grey-50);
  border-radius: var(--rounded);
  max-width: var(--box-max-width);
}
@container theme style(--theme: dark) {
  .box {
    background-color: var(--grey-900);
  }
}
.box:where([data-query-theme="3871037065"]) {
  background-color: var(--grey-900);
}
@container theme style(--theme: image) {
  .box {
    container-name: theme;
    --theme: light;
    --theme-id: 2577859169;
    --tags-list-background: var(--grey-50);
    --tags-list-foreground: var(--black);
    --link-underline: color-mix(in srgb, var(--page-color-950), transparent 80%);
  }
  @media (prefers-contrast: more) {
    .box {
      --link-underline: var(--page-color);
    }
  }
  .box {
    background-color: var(--white);
    color: var(--text-color);
  }
}
.box:where([data-query-theme="1627772620"]) {
  container-name: theme;
  --theme: light;
  --theme-id: 2577859169;
  --tags-list-background: var(--grey-50);
  --tags-list-foreground: var(--black);
  --link-underline: color-mix(in srgb, var(--page-color-950), transparent 80%);
}
@media (prefers-contrast: more) {
  .box:where([data-query-theme="1627772620"]) {
    --link-underline: var(--page-color);
  }
}
.box:where([data-query-theme="1627772620"]) {
  background-color: var(--white);
  color: var(--text-color);
}
.box:is(a) {
  color: inherit;
}
.box:is(a):focus:not(:focus-visible) {
  outline: none;
}
.box:is(a):focus-visible {
  outline: 2px solid var(--focus-color, var(--primary-color));
  outline-offset: var(--focus-offset, 3px);
}
.box.with-image {
  flex-flow: column;
  max-width: var(--box-max-width, var(--image-width));
}
.box img {
  align-self: center;
}
.box .img-wrap {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-top-left-radius: var(--rounded);
  border-top-right-radius: var(--rounded);
}
.box .img-wrap img {
  max-width: 100%;
  transition: transform 500ms;
}
@media (not (prefers-reduced-motion: reduce)) and (hover: hover) and (pointer: fine) {
  .box .img-wrap img:is(a.box:hover *) {
    transform: scale(1.05);
  }
}
.box .content-wrap {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  padding: var(--box-padding-y) var(--box-padding-x);
  width: 100%;
  flex-grow: 1;
  height: auto;
}
.box .content-wrap :is(.content, .content-lead, .content-trail) > :first-child, .box .content-wrap :is(.content, .content-lead, .content-trail) > link:first-child + * {
  margin-top: 0;
}
.box .content-wrap :is(.content, .content-lead, .content-trail) > :last-child {
  margin-bottom: 0;
}
.box .content-wrap :is(.content, .content-lead, .content-trail) > :is(.large-text, .lead-text):first-child > :first-child {
  margin-top: 0;
}
.box .content-wrap :is(.content, .content-lead, .content-trail) > :is(.large-text, .lead-text):last-child > :last-child {
  margin-bottom: 0;
}
.box .content-wrap .content-trail {
  margin-top: auto;
}
.box .content-wrap .content {
  height: 100%;
  width: 100%;
}
.box .content-wrap .content:has(.content-trail) {
  display: flex;
  flex-direction: column;
  gap: var(--element-spacing);
}

/*# sourceMappingURL=css-shared-template--box.css.map*/