/* Focus Groups — Porto Creative Agency reference grid. */
@media (min-width: 701px) {
  .focus-groups {
    padding-top: 136px;
    padding-bottom: 148px;
    background: #eef2e9;
  }

  .focus-groups__curve {
    display: block;
  }

  .focus-groups .gallery-container {
    position: relative;
    z-index: 4;
    display: block;
    width: min(1416px, calc(100% - 96px));
    background: transparent;
  }

  .focus-groups .section-intro {
    display: block;
    min-height: 0;
    margin: 0 0 38px;
    padding: 0;
    background: transparent;
  }

  .focus-groups .gallery-kicker {
    margin: 0 0 11px;
    color: #8a7651;
  }

  .focus-groups .section-intro h2 {
    padding: 0;
    color: var(--gallery-forest);
    font: 600 clamp(46px, 4.4vw, 68px)/.95 'Cormorant Garamond', Georgia, serif;
  }

  .focus-groups .section-intro h2::before {
    display: none;
  }

  .focus-groups .focus-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 220px);
    gap: 0;
    min-height: 440px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .focus-groups .focus-strip::before,
  .focus-groups .focus-strip::after {
    display: none;
  }

  .focus-groups .focus-tile,
  .focus-groups .focus-tile--wide,
  .focus-groups .focus-tile:nth-child(n) {
    position: relative;
    inset: auto;
    display: grid;
    grid-template: 1fr / 1fr;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
    min-height: 220px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    aspect-ratio: auto;
    overflow: hidden;
    transform: none;
  }

  .focus-groups .focus-tile::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
    opacity: 0;
    transition: opacity .3s ease;
  }

  .focus-groups .focus-tile:nth-child(1),
  .focus-groups .focus-tile:nth-child(3),
  .focus-groups .focus-tile:nth-child(6),
  .focus-groups .focus-tile:nth-child(8) {
    background: #f4f4f4;
  }

  .focus-groups .focus-tile:nth-child(1)::after,
  .focus-groups .focus-tile:nth-child(3)::after,
  .focus-groups .focus-tile:nth-child(6)::after,
  .focus-groups .focus-tile:nth-child(8)::after {
    background: #f4f4f4;
    opacity: 0.75;
  }

  .focus-groups .focus-tile img,
  .focus-groups .focus-tile--wide img,
  .focus-groups .focus-tile:nth-child(n) img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 220px;
    padding: 0;
    object-fit: cover;
    opacity: 0;
    filter: none;
    transform: scale(1.01);
    transition: opacity .3s ease, transform .6s ease;
  }

  .focus-groups .focus-tile:nth-child(1) img,
  .focus-groups .focus-tile:nth-child(3) img,
  .focus-groups .focus-tile:nth-child(6) img,
  .focus-groups .focus-tile:nth-child(8) img {
    opacity: 1;
  }

  .focus-groups .focus-tile span {
    position: relative;
    z-index: 2;
    align-self: center;
    grid-area: 1 / 1;
    height: auto;
    padding: 28px 24px;
    background: transparent;
    color: #171b18;
    transition: color .3s ease;
  }

  .focus-groups .focus-tile span::before {
    content: '';
    display: block;
    width: 50px;
    margin-bottom: 14px;
    border-top: 6px solid #aebbb1;
    transition: border-color .3s ease;
  }

  .focus-groups .focus-tile:nth-child(2) span::before,
  .focus-groups .focus-tile:nth-child(4) span::before,
  .focus-groups .focus-tile:nth-child(5) span::before,
  .focus-groups .focus-tile:nth-child(7) span::before {
    border-color: #a85f35;
  }

  .focus-groups .focus-tile strong {
    display: block;
    max-width: 230px;
    overflow-wrap: anywhere;
    font: 600 clamp(22px, 1.7vw, 27px)/1.15 Arial, Helvetica, sans-serif;
    letter-spacing: -.045em;
  }

  .focus-groups .focus-tile small {
    display: block;
    margin-top: 9px;
    color: #48574d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .3s ease;
  }

  .focus-groups .focus-tile:hover {
    box-shadow: none;
    transform: none;
  }

  .focus-groups .focus-tile:hover img {
    opacity: 1;
    transform: scale(1.04);
  }

  .focus-groups .focus-tile:hover::after {
    background: #000;
    opacity: .68;
  }

  .focus-groups .focus-tile:hover span {
    color: #fff;
  }

  .focus-groups .focus-tile:hover span::before {
    border-color: #fff;
  }

  .focus-groups .focus-tile:hover small {
    color: #fff;
  }

  .focus-groups__more {
    display: flex;
    grid-column: auto;
    grid-row: auto;
    width: max-content;
    margin: 34px 0 0 auto;
    border-radius: 999px;
  }
}

@media (max-width: 700px) {
  .focus-groups {
    padding-top: 88px;
    padding-bottom: 104px;
    background: #eef2e9;
  }

  .focus-groups>.gallery-container {
    position: relative;
    z-index: 4;
  }
}

@media (min-width: 701px) and (max-width: 1050px) {
  .focus-groups .focus-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, 200px);
  }

  .focus-groups .focus-tile,
  .focus-groups .focus-tile--wide,
  .focus-groups .focus-tile:nth-child(n),
  .focus-groups .focus-tile img,
  .focus-groups .focus-tile--wide img,
  .focus-groups .focus-tile:nth-child(n) img {
    min-height: 200px;
  }
}

.focus-groups .families-cta {
  background: #3b6d47;
  color: #fafafa;
  border-bottom: 0;
}

.focus-groups .families-cta:hover {
  background: #16483c;
  color: #fff;
}

.focus-groups .focus-tile .family-group { margin-top:7px; font-size:12px; font-weight:400; letter-spacing:.02em; text-transform:none; }
.focus-groups .family-skeleton { pointer-events:none; }
.focus-groups .family-image-failed img { object-fit:cover; }
