/* Layout corrections shared by every theme. Loaded after the approved Rapet styles, for screens only. */

/* Short sites keep the footer at the bottom of the window. */
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body > .header,
body > .footer {
  flex-shrink: 0;
}

/* A plain introduction under a large page heading. */
.page-intro h1 + p:not([class]) {
  margin-top: 24px;
}

/* The craft photograph follows the height of its text panel, including open accordions. */
@media (min-width: 741px) {
  .craft-image {
    height: auto;
    min-height: 620px;
    align-self: stretch;
  }
}
/* Winery facts share the contact panel's type and colours in every theme. */
.winery-facts { margin-top: 1.5rem; }
.winery-facts dl { margin: 0; }
.winery-facts dt { font-weight: 600; margin-top: 1rem; }
.winery-facts dd { margin: .3rem 0 0; overflow-wrap: anywhere; }
.winery-profiles a { display: block; }

.footer-social { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.25rem 0; font-size: .875rem; }
.footer-social a { text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; max-width: 100%; }
