/* Adapts site.css to WordPress block markup. */

body .wp-site-blocks { padding: 0; }

/* WordPress skip link (generated for <main>) gets the home’s .skip-link look. */
body .skip-link.screen-reader-text:focus {
  z-index: 1000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  clip-path: none;
  color: var(--white);
  background: var(--ink);
  font-size: 1rem;
}

/* Buttons: core/button reproduces .button / .button-primary / .button-light. */
body .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: max-content;
  border-radius: 0;
}

body .wp-block-button__link:hover {
  border-color: var(--brick);
  background: var(--brick);
  color: var(--paper);
}

body .wp-block-button.is-style-clair .wp-block-button__link {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

body .wp-block-button.is-style-clair .wp-block-button__link:hover {
  color: var(--white);
  background: transparent;
}

/* Paragraph style « lien » reproduces .text-link. */
/* The paragraph must not add a line box around the inline-block link. */
body p.is-style-lien {
  display: flex;
}

body p.is-style-lien a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.95rem;
  font-weight: 700;
}

body p.is-style-lien a:hover { color: var(--brick); }

/* Home: images fill their grid cells. */
body .hero-image-wrap.wp-block-image img {
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

body .aboard-gallery .wp-block-image img {
  height: 100%;
  object-fit: cover;
}

body .dogs-image-wrap > .wp-block-image {
  height: 100%;
}

body .dogs-image-wrap > .wp-block-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body .hero-image-wrap figcaption.wp-element-caption {
  margin: 0;
}

/* Hero actions: button + text link side by side. */
body .hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

/* Text links inside copy columns keep the link look, not the paragraph look. */
body .aboard-copy > p.is-style-lien {
  margin-top: 28px;
  color: inherit;
  font-size: inherit;
}

body .dogs-copy .wp-block-buttons {
  margin-top: 34px;
}

/* Reviews: core/quote names the author in a <cite>. */
body .reviews-grid .wp-block-quote {
  padding: 28px 0;
  border-left: 0;
}

body .reviews-grid blockquote cite {
  color: var(--brick);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 760px) {
  body .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}
