/* Additions for the static rebuild (replacements for WordPress plugin behaviour). */

/* "...続きを読む" expander (was the Read More plugin). Looks like plain text; no marker triangle. */
details.echo-more > summary {
  list-style: none;
  cursor: pointer;
  text-align: center;
  font-size: 17px;
  font-weight: 400;
}
details.echo-more > summary::-webkit-details-marker { display: none; }
details.echo-more[open] > summary { display: none; }
details.echo-more .echo-more__body { padding: 0; }

/* Language switcher: hide the list until hover (the plugin did this with JS after measuring). */
.trp-ls-shortcode-language { display: none; }

/* Contact form */
.echo-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-form-ajax-submission { display: none; }
.contact-form-ajax-submission.is-shown { display: block; }
.echo-contact-error { color: #b00020; margin: 1em 0; }
form[data-echo-contact] button[disabled] { opacity: .6; cursor: wait; }
form[data-echo-contact] .spinner { display: none; }

/* Slideshow (was Jetpack + Swiper): show once our script has set it up. */
.wp-block-jetpack-slideshow.echo-ready .wp-block-jetpack-slideshow_container { opacity: 1; }
