/* WordPress additions. The original stylesheets are untouched; anything WordPress needs lives here. */

/* Keep the fixed navbar below the admin bar for logged in editors. */
body.admin-bar .navbar-fixed-top { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .navbar-fixed-top { top: 46px; }
}

/* Form confirmation messages. */
.gv-form-message { font-size: 18px; padding: 20px 0; }
.contact-form .gv-form-message { color: #fff; }

/* Fallback embed when no Google Maps key is set. */
#map iframe { display: block; min-height: 400px; }

/* Content entered in the editor. */
.content-page img, .article-article-list img { max-width: 100%; height: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* The original Technology and Controls copy was one paragraph split by blank lines (<br><br>).
   The editor stores real paragraphs, so space them by exactly one line to match. */
.power-stack-slider .text-box p + p,
.controls-content p + p {
	margin-top: 1.42857em;
	margin-top: 1lh;
}

/* The original Legal and Privacy pages ended with empty <p><br></p> spacers before the footer. */
.content-page { padding-bottom: 114px; }

/* The original stylesheet hid the mailing list checkbox on phones, so phone visitors never had the option. */
@media (max-width: 767px) {
	.checkbox.hide-checkbox { display: block; }
}

/* A few stories print long bare URLs as link text; let them wrap so phones don't scroll sideways. */
.new-content a, .news-section p a { overflow-wrap: anywhere; }
