/* Cook's Mushrooms Custom: project-owned frontend styles. */

body.page-id-10 .elementor a.e-button-base,
body.page-id-10 .elementor a.e-button-base:visited,
body.page-id-10 .elementor a.e-button-base:hover,
body.page-id-10 .elementor a.e-button-base:focus {
  color: #fff;
  text-decoration: none;
}

/* Keep Fresh Mushrooms Elementor CTA anchors styled as buttons, not content links. */
body.page-id-993 .elementor :is(a.e-button-base, a.elementor-button),
body.page-id-993 .elementor :is(a.e-button-base, a.elementor-button):visited,
body.page-id-993 .elementor :is(a.e-button-base, a.elementor-button):hover,
body.page-id-993 .elementor :is(a.e-button-base, a.elementor-button):focus,
body.page-id-993 .elementor :is(a.e-button-base, a.elementor-button):active,
body.page-id-994 .elementor :is(a.e-button-base, a.elementor-button),
body.page-id-994 .elementor :is(a.e-button-base, a.elementor-button):visited,
body.page-id-994 .elementor :is(a.e-button-base, a.elementor-button):hover,
body.page-id-994 .elementor :is(a.e-button-base, a.elementor-button):focus,
body.page-id-994 .elementor :is(a.e-button-base, a.elementor-button):active {
  text-decoration: none;
}

/* Recipes category cards: six columns desktop, three tablet, two mobile. */
body.page-id-164 .elementor-element-f0a4fc1 > :is(
  .elementor-element-549fdae,
  .elementor-element-bcc8895,
  .elementor-element-5894c02,
  .elementor-element-c4783ff,
  .elementor-element-0b6b9d1,
  .elementor-element-a948cd3
) {
  flex: 0 0 calc((100% - 100px) / 6);
  max-width: calc((100% - 100px) / 6);
}

@media (max-width: 1024px) {
  body.page-id-164 .elementor-element-f0a4fc1 > :is(
    .elementor-element-549fdae,
    .elementor-element-bcc8895,
    .elementor-element-5894c02,
    .elementor-element-c4783ff,
    .elementor-element-0b6b9d1,
    .elementor-element-a948cd3
  ) {
    flex-basis: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 767px) {
  body.page-id-164 .elementor-element-f0a4fc1 {
    gap: 12px;
  }

  body.page-id-164 .elementor-element-f0a4fc1 > :is(
    .elementor-element-549fdae,
    .elementor-element-bcc8895,
    .elementor-element-5894c02,
    .elementor-element-c4783ff,
    .elementor-element-0b6b9d1,
    .elementor-element-a948cd3
  ) {
    box-sizing: border-box;
    min-width: 0;
    flex: 0 0 calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }

  body.page-id-164 .elementor-element-f0a4fc1 > :is(
    .elementor-element-549fdae,
    .elementor-element-bcc8895,
    .elementor-element-5894c02,
    .elementor-element-c4783ff,
    .elementor-element-0b6b9d1,
    .elementor-element-a948cd3
  ) > .e-con-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.page-id-164 .elementor-element-f0a4fc1 > :is(
    .elementor-element-549fdae,
    .elementor-element-bcc8895,
    .elementor-element-5894c02,
    .elementor-element-c4783ff,
    .elementor-element-0b6b9d1,
    .elementor-element-a948cd3
  ) > :not(.e-image-base) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: normal;
    text-align: center;
  }

  body.page-id-164 .elementor-element-f0a4fc1 > :is(
    .elementor-element-549fdae,
    .elementor-element-bcc8895,
    .elementor-element-5894c02,
    .elementor-element-c4783ff,
    .elementor-element-0b6b9d1,
    .elementor-element-a948cd3
  ) .e-heading-base {
    font-size: 13px;
    line-height: 1.25;
  }
}

@media (max-width: 767px) {
  body.page-id-164 .elementor-element-de0b6dc {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* Latest Recipes: two cards tablet, one card mobile. */
@media (max-width: 1024px) {
  body.page-id-164 .elementor-element-266f445 > .e-con-inner {
    flex-wrap: wrap;
    gap: 20px;
  }

  body.page-id-164 .elementor-element-266f445 > .e-con-inner > :is(
    .elementor-element-5b636c2,
    .elementor-element-124b4e2,
    .elementor-element-3a170aa,
    .elementor-element-a605429
  ) {
    box-sizing: border-box;
    min-width: 0;
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  body.page-id-164 .elementor-element-266f445 > .e-con-inner > :is(
    .elementor-element-5b636c2,
    .elementor-element-124b4e2,
    .elementor-element-3a170aa,
    .elementor-element-a605429
  ) {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
  }

  body.page-id-164 .elementor-element-266f445 > .e-con-inner > :is(
    .elementor-element-5b636c2,
    .elementor-element-124b4e2,
    .elementor-element-3a170aa,
    .elementor-element-a605429
  ) > .e-con-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

body.page-id-456 :is(
  a.e-51cd618-116cbc9.e-button-base,
  a.e-102cd00-505694c.e-button-base,
  a.e-4c786b5-e00386b.e-button-base,
  a.e-2e152f9-b832c44.e-button-base
),
body.page-id-456 :is(
  a.e-51cd618-116cbc9.e-button-base,
  a.e-102cd00-505694c.e-button-base,
  a.e-4c786b5-e00386b.e-button-base,
  a.e-2e152f9-b832c44.e-button-base
):visited,
body.page-id-456 :is(
  a.e-51cd618-116cbc9.e-button-base,
  a.e-102cd00-505694c.e-button-base,
  a.e-4c786b5-e00386b.e-button-base,
  a.e-2e152f9-b832c44.e-button-base
):hover,
body.page-id-456 :is(
  a.e-51cd618-116cbc9.e-button-base,
  a.e-102cd00-505694c.e-button-base,
  a.e-4c786b5-e00386b.e-button-base,
  a.e-2e152f9-b832c44.e-button-base
):focus {
  color: #fff;
  text-decoration: none;
}
