/* DOGINARE — isolated photographic homepage preview, 26 November 2026.
   Uses the unchanged existing team image and saved content.
   Every selector is restricted to the homepage hero. */
.home .dgn-block-content > .hero.hero-team {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: clamp(690px, calc(100svh - 128px), 830px);
  padding: 0;
  overflow: hidden;
  background: #0b1117;
  color: #f5f7f8;
}
.home .dgn-block-content > .hero.hero-team::after { display: none; }
.home .hero.hero-team .hero-layout.wp-block-columns {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: inherit;
  margin: 0;
  padding: clamp(60px, 5.5vw, 84px) max(var(--space), calc((100% - var(--max)) / 2 + var(--space)));
}
.home .hero.hero-team .hero-layout > .wp-block-column:first-child {
  position: relative;
  z-index: 2;
  width: min(60%, 730px);
  margin: 0;
}
.home .hero.hero-team .hero-copy {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.home .hero.hero-team .hero-copy > * { margin: 0; }
.home .hero.hero-team .hero-copy > h1,
.home .hero.hero-team .hero-copy > p:first-of-type,
.home .hero.hero-team .hero-copy > p:nth-of-type(2),
.home .hero.hero-team .hero-copy > p:last-of-type { grid-column: 1 / -1; }
.home .hero.hero-team .hero-copy .eyebrow {
  max-width: 460px;
  margin: 0 0 25px;
  color: #b8cedb;
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: .15em;
  text-wrap: balance;
}
.home .hero.hero-team .hero-copy h1 {
  max-width: none;
  margin: 0 0 26px;
  font-size: clamp(58px, 7.45vw, 108px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
  color: #f7f8f9;
  text-transform: uppercase;
  text-wrap: initial;
  overflow-wrap: normal;
}
.home .hero.hero-team .hero-copy > p:nth-of-type(2) {
  max-width: 445px;
  margin: 0 0 29px;
  color: #d2dbe1;
  font-size: 17px;
  line-height: 1.75;
}
.home .hero.hero-team .hero-copy > p:nth-of-type(3),
.home .hero.hero-team .hero-copy > p:nth-of-type(4) {
  align-self: center;
  max-width: none;
  margin: 0;
  font-size: 14px;
}
.home .hero.hero-team .hero-copy .button {
  min-height: 53px;
  padding: 15px 24px;
  border: 1px solid #bed8e6;
  border-radius: 0;
  background: #bed8e6;
  color: #101920;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.home .hero.hero-team .hero-copy .button:hover { background: #e3eff5; border-color: #e3eff5; }
.home .hero.hero-team .hero-copy > p:nth-of-type(4) a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #e5edf2;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.home .hero.hero-team .hero-copy > p:last-of-type {
  max-width: 505px;
  margin: 28px 0 0;
  padding-top: 19px;
  border-top: 1px solid #b9cdda3d;
  color: #aebfca;
  font-size: 12px;
  line-height: 1.75;
}
.home .hero.hero-team .hero-layout > .wp-block-column:last-child {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}
.home .hero.hero-team .hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: auto;
  aspect-ratio: 1;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home .hero.hero-team .hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: right center;
  transform: none;
  animation: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 43%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 43%);
}
.home .hero.hero-team .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0b1117b8 0%, transparent 22%);
  pointer-events: none;
}
.home .hero.hero-team .hero-media figcaption {
  position: absolute;
  right: max(var(--space), calc((100% - var(--max)) / 2 + var(--space)));
  bottom: 23px;
  left: auto;
  z-index: 1;
  margin: 0;
  color: #c2cdd5;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: right;
}
.home .hero.hero-team a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }

@media (min-width: 781px) and (max-width: 1100px) {
  .home .hero.hero-team .hero-copy h1 { font-size: clamp(53px, 7.4vw, 81px); }
  .home .hero.hero-team .hero-copy > p:nth-of-type(2) { max-width: 390px; }
  .home .hero.hero-team .hero-copy { column-gap: 17px; }
  .home .hero.hero-team .hero-copy .button { padding-inline: 17px; }
  .home .hero.hero-team .hero-copy > p:nth-of-type(4) { font-size: 12px; }
}
@media (max-width: 780px) and (orientation: portrait), (max-width: 600px) {
  .home .dgn-block-content > .hero.hero-team { min-height: 0; }
  .home .hero.hero-team .hero-layout.wp-block-columns {
    min-height: 0;
    padding: 96vw 24px 64px;
  }
  .home .hero.hero-team .hero-layout > .wp-block-column:first-child { width: 100%; }
  .home .hero.hero-team .hero-copy { max-width: 550px; margin-inline: auto; column-gap: 18px; }
  .home .hero.hero-team .hero-copy .eyebrow { max-width: 340px; margin-bottom: 19px; font-size: 10px; letter-spacing: .10em; }
  .home .hero.hero-team .hero-copy h1 { font-size: clamp(43px, 12.2vw, 76px); line-height: 1.01; margin-bottom: 22px; letter-spacing: -.05em; }
  .home .hero.hero-team .hero-copy > p:nth-of-type(2) { font-size: 16px; line-height: 1.7; margin-bottom: 25px; }
  .home .hero.hero-team .hero-copy .button { padding-inline: 17px; font-size: 13px; min-height: 52px; }
  .home .hero.hero-team .hero-copy > p:nth-of-type(4) { font-size: 12px; line-height: 1.55; }
  .home .hero.hero-team .hero-copy > p:last-of-type { margin-top: 24px; padding-top: 17px; font-size: 11px; }
  .home .hero.hero-team .hero-layout > .wp-block-column:last-child { inset: 0 0 auto; height: auto; aspect-ratio: 1; }
  .home .hero.hero-team .hero-media { inset: 0; width: 100%; aspect-ratio: auto; }
  .home .hero.hero-team .hero-media img {
    object-fit: contain;
    object-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
  }
  .home .hero.hero-team .hero-media::after { display: none; }
  .home .hero.hero-team .hero-media figcaption {
    top: 16px;
    bottom: auto;
    right: 18px;
    left: 18px;
    color: #e0e7ec;
    font-size: 8px;
    letter-spacing: .10em;
    text-align: right;
    text-shadow: 0 1px 5px #000;
  }
}
@media (min-width: 601px) and (max-width: 1180px) and (orientation: landscape) and (max-height: 600px) {
  .home .dgn-block-content > .hero.hero-team { min-height: 465px; }
  .home .hero.hero-team .hero-layout.wp-block-columns { padding: 32px 28px 38px; }
  .home .hero.hero-team .hero-layout > .wp-block-column:first-child { width: 55%; }
  .home .hero.hero-team .hero-copy { column-gap: 15px; }
  .home .hero.hero-team .hero-copy .eyebrow { margin-bottom: 16px; max-width: 340px; font-size: 9px; letter-spacing: .10em; }
  .home .hero.hero-team .hero-copy h1 { font-size: clamp(40px, 6.3vw, 65px); line-height: .99; margin-bottom: 17px; }
  .home .hero.hero-team .hero-copy > p:nth-of-type(2) { max-width: 340px; font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
  .home .hero.hero-team .hero-copy .button { min-height: 46px; padding: 11px 15px; font-size: 12px; }
  .home .hero.hero-team .hero-copy > p:nth-of-type(4) { font-size: 11px; }
  .home .hero.hero-team .hero-copy > p:last-of-type { margin-top: 20px; padding-top: 14px; font-size: 10px; }
  .home .hero.hero-team .hero-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  }
  .home .hero.hero-team .hero-media figcaption { right: 23px; bottom: 14px; font-size: 8px; }
}
@media (max-width: 350px) {
  .home .hero.hero-team .hero-layout.wp-block-columns { padding-inline: 19px; }
  .home .hero.hero-team .hero-copy { grid-template-columns: 1fr; row-gap: 10px; }
  .home .hero.hero-team .hero-copy > * { grid-column: 1; }
  .home .hero.hero-team .hero-copy h1 { font-size: 39px; }
}

/* Keep the tool's draft notice and both controls readable on a small screen. */
@media (max-width: 900px) {
  .home #wpvibe-preview-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px 9px;
    align-items: center;
    padding: 9px 12px;
  }
  .home #wpvibe-preview-banner .wpvibe-badge { grid-column: 1; grid-row: 1; min-width: 0; font-size: 11px; line-height: 1.4; }
  .home #wpvibe-preview-banner .wpvibe-info { grid-column: 1 / -1; grid-row: 2; min-width: 0; max-width: none; font-size: 10px; line-height: 1.45; }
  .home #wpvibe-preview-banner .wpvibe-btn { white-space: nowrap; margin: 0; padding: 6px 8px; font-size: 10px; line-height: 1.4; }
  .home #wpvibe-preview-banner .wpvibe-btn-stop { grid-column: 2; grid-row: 1; }
  .home #wpvibe-preview-banner .wpvibe-btn-live { grid-column: 3; grid-row: 1; }
}
