/* _System (261105_151313) */

/* TGB - Recipes (Loop) */
.tgb-recipes { background: var(--sys-global-block-background-light, #f1f1f1) !important; }
.tgb-recipes-heading { padding-top: 90px; padding-bottom: 0; }
.tgb-recipes-list { padding-top: 0; padding-bottom: 90px; }
@media (max-width: 767.98px) {
  .tgb-recipes-heading { padding-top: 45px; }
  .tgb-recipes-list { padding-bottom: 45px; }
}
/* Recipe cards: typography adapted from system_block_team_grid. */
.tgb-recipes .project-details .card { border-radius: 12px !important; overflow: hidden; }
.tgb-recipes .project-details .card { background:var(--sys-global-block-background-lighter,#f8f8f8)!important; border:0; }
.tgb-recipes .project-details .card-body { font-family:Figtree,sans-serif; }
.tgb-recipes .project-details .tgb-recipe-name { color:var(--sys-global-text-dark,#202020)!important; opacity:1; font-size:16px; line-height:1.35; font-weight:500; margin:0 0 10px!important; }
.tgb-recipes .project-details .tgb-recipe-title { color:var(--sys-global-text-dark,#202020)!important; opacity:.8; font-size:13px; line-height:1.55; font-weight:500; margin:0 0 15px!important; text-transform:none; }
.tgb-recipes .project-details .tgb-recipe-blurb { color:var(--sys-global-text-dark,#202020)!important; opacity:.5; font-size:12px; line-height:1.55; font-weight:400; margin:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; }
.tgb-recipes .project-details .tgb-recipe-link { display:inline-block; margin-top:15px; font-family:Figtree,sans-serif; font-size:13px; font-weight:500; color:var(--sys-global-text-dark,#202020)!important; text-decoration:none; }
.tgb-recipes .project-details .tgb-recipe-name a { color:inherit; text-decoration:none; }
/* Square feature media up to 480px with a fixed 100px horizontal overlap. */
.tgb-recipes .projects-overflow { margin-top: 0 !important; margin-bottom: 0 !important; }
.tgb-recipes .project { margin-bottom: 40px !important; }
.tgb-recipes .project:last-child { margin-bottom: 0 !important; }
.tgb-recipes .project > .row { min-height: 480px; position: relative; align-items: center; }
.tgb-recipes .project figure { margin-bottom: 0; display: flex; align-items: center; }
.tgb-recipes .project figure .tgb-recipe-image-link,
.tgb-recipes .project figure .tgb-recipe-image-frame { display: block; width: 480px; max-width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; }
.tgb-recipes .project figure .tgb-recipe-image-link { text-decoration: none; }
.tgb-recipes .project figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tgb-recipes .project .tgb-recipe-image-placeholder { display: block; width: 100%; height: 100%; background: var(--sys-global-block-background-dark, #202020); }
/* Restore the original floating-card overlay on both alternating rows.
   Position card relative to the image, not the full-width container. */
@media (min-width: 992px) {
  .tgb-recipes .project > .row {
    position: relative; display: block; width: min(100%, 930px);
    height: 480px; min-height: 480px; margin: 0 auto;
  }
  .tgb-recipes .project figure {
    position: absolute; top: 0; left: 0; width: 480px; max-width: 51.62%;
    height: 480px; padding: 0; margin: 0; display: block;
  }
  .tgb-recipes .project figure .tgb-recipe-image-link,
  .tgb-recipes .project figure .tgb-recipe-image-frame {
    width: 100%; height: 480px;
  }
  .tgb-recipes .project .project-details {
    position: absolute !important; top: 50%; left: 380px; right: auto;
    bottom: auto !important; width: 550px; max-width: calc(100% - 380px);
    padding: 0; margin: 0; transform: translateY(-50%); z-index: 2;
  }
  .tgb-recipes .project .project-details .card { width: 100%; }
  .tgb-recipes .project:nth-child(even) figure { left: auto; right: 0; }
  .tgb-recipes .project:nth-child(even) .project-details { left: 0; right: auto; }
}
@media (max-width: 991.98px) {
  .tgb-recipes .project > .row { min-height: 0; }
  .tgb-recipes .project figure { justify-content: center !important; }
  .tgb-recipes .project-details {
    position: static !important; width: 100%; margin-top: -2rem;
    padding: 0 1rem; transform: none !important;
  }
  .tgb-recipes .project-details .card { max-width: 100%; border-radius: 12px !important; }
}
