@charset "UTF-8";
/*
 * Emily's Nook — responsive layer (mobile-first adjustments).
 * The original 2019 site was a fixed 960px Twenty Twelve layout; this file adds
 * the small-screen behaviour the reconstruction needs without changing the look
 * on desktop.
 */

/* ------------------------------------------------ tablet and below (959px) */
@media screen and (max-width: 959px) {
  .site {
    margin: 0 auto;
    padding: 0 24px;
    background-size: 240px auto;
  }

  .site-header .header-spacer { height: 62px; }

  .home-intro,
  .home-intro .col-visual,
  .home-intro .col-text {
    display: block;
    width: 100%;
    padding-right: 0;
  }

  .home-intro .col-visual { margin-bottom: 24px; }
  .home-intro .col-visual .promo img { margin: 0 auto; }

  .map-embed iframe { height: 360px; }
}

/* ------------------------------------------------------- phones (up 767px) */
@media screen and (max-width: 767px) {
  body { font-size: 15px; }

  .site { padding: 0 16px; background-size: 200px auto; }

  .site-header { padding: 16px 0; }
  .site-header .header-spacer { height: 54px; }

  /* collapsible menu */
  .menu-toggle { display: inline-block; }

  .main-navigation { margin-top: 16px; text-align: center; }

  .main-navigation .nav-menu {
    display: none;
    width: 100%;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
  }

  .main-navigation .nav-menu.toggled-on { display: block; }

  .main-navigation li {
    display: block;
    margin-top: 0;
    font-size: 14px;
  }

  .main-navigation li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    white-space: normal;
  }

  /* dropdowns become plain nested lists on touch screens */
  .main-navigation ul ul {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .main-navigation ul ul li a { padding-left: 16px; }
  .main-navigation ul ul ul li a { padding-left: 32px; }
  .main-navigation .menu-item-has-children > a::after { content: ""; }

  .entry-header .entry-title { font-size: 18px; }

  .thumb-gallery li { margin: 0 8px 8px 0; }
  .thumb-gallery img { width: 100%; height: auto; }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea { max-width: 100%; }

  .map-embed iframe { height: 280px; }

  #abajo { height: 46px; background-size: auto 46px; }
}

/* ------------------------------------------------- small phones (up 400px) */
@media screen and (max-width: 400px) {
  .site { padding: 0 12px; background-size: 170px auto; }
  .site-header .header-spacer { height: 46px; }
  .thumb-gallery li { display: block; margin: 0 0 10px; }
}

/* --------------------------------------------------------------- printing */
@media print {
  body { background: none; color: #000; font-size: 10pt; }
  .site { max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; }
  .main-navigation,
  .menu-toggle,
  .cookie-bar,
  #abajo,
  .map-embed { display: none !important; }
  a { color: #000; text-decoration: underline; }
}

/* ------------------------------------------------- reduced motion / focus */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

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