/* Chateau Renaissance website. Most styling sits on the pages themselves;
   this file holds the basics and the adjustments for phones. */

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FBF6EC; }
a { color: #7A2948; overflow-wrap: anywhere; }
a:hover { color: #541B31; }
img { max-width: 100%; }
[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #3F5B3A;
  outline-offset: 2px;
}

.site-nav a { padding: 6px 0; }
.site-nav a.nav-button { padding: 12px 24px; }

.map {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 24px;
  display: block;
  background: #DDE5D2;
}

/* Phones and small tablets */
@media (max-width: 700px) {
  h1 { font-size: 38px !important; }
  h2 { font-size: 30px !important; }
  .site-header { justify-content: center !important; text-align: center; }
  .site-nav { justify-content: center; gap: 6px 20px !important; font-size: 17px !important; }
  [style*="max-width: 1120px"] { padding-left: 20px !important; padding-right: 20px !important; }
  /* tall photos get shorter so they do not fill the whole screen */
  img[style*="height: 3"], img[style*="height: 4"], img[style*="height: 5"] { height: 260px !important; }
  img[style*="min-height"] { min-height: 300px !important; height: 300px !important; }
  .map { height: 260px; }
}
