/* Studio Twenty 3 – additions on top of the original Weebly "Birdseye" theme CSS */

/* Admin bar offset for the fixed header */
body.admin-bar .birdseye-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .birdseye-header { top: 46px; } }

/* Weebly multi-column tables stack on phones (Weebly did this with its own JS/CSS) */
@media (max-width: 767px) {
	.wsite-multicol-table, .wsite-multicol-tbody, .wsite-multicol-tr, .wsite-multicol-col { display: block !important; width: 100% !important; }
	.wsite-multicol-table-wrap { margin: 0 !important; }
	.wsite-multicol-col { padding: 0 !important; }
}
.wsite-multicol-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.wsite-multicol-col { vertical-align: top; }
.wsite-image img { max-width: 100%; height: auto; }

/* Maps */
iframe.st3-map { width: 100%; height: 300px; border: 0; display: block; }

/* Facebook post embeds keep their size but never overflow on phones */
iframe[src*="facebook.com/plugins"] { max-width: 100%; }

/* Videos */
.st3-video-embed { position: relative; margin: 10px 0 20px; aspect-ratio: 16 / 9; max-width: 720px; }
.st3-video-embed iframe, .st3-video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st3-video-missing { margin: 10px 0; padding: 14px 16px; border: 2px dashed #f1663c; background: #fff6f2; color: #2a2a2a; font: 14px/1.4 "Karla", sans-serif; }

/* Contact form (replaces the Weebly form, same look) */
.st3-form-wrap { max-width: 640px; }
.st3-form label { display: block; margin: 0 0 14px; font-family: "Karla", sans-serif; font-size: 15px; color: #2a2a2a; }
.st3-form label span, .st3-req span { color: #f1663c; }
.st3-req { font-size: 13px; color: #666; margin: 0 0 10px; }
.st3-form input[type=text], .st3-form input[type=email], .st3-form input[type=tel], .st3-form textarea {
	display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 12px;
	border: 1px solid #ccc; border-radius: 2px; background: #fff; font: 15px "Karla", sans-serif; color: #2a2a2a;
}
.st3-form input:focus, .st3-form textarea:focus { outline: 2px solid #f1663c; outline-offset: 1px; border-color: #f1663c; }
.st3-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .st3-two { grid-template-columns: 1fr; } }
.st3-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.st3-form button.wsite-button { border: 0; cursor: pointer; }
.st3-form-error { padding: 10px 14px; background: #fdecea; color: #8a1c10; border-left: 4px solid #d93025; }

/* Blog */
.st3-blog { padding-top: 40px; padding-bottom: 40px; max-width: 860px; }
.st3-blog-card { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #e5e5e5; }
.st3-blog .blog-title, .st3-blog .blog-title a { font-family: "Raleway", sans-serif; color: #2a2a2a; text-decoration: none; }
.st3-blog h1.blog-title { font-size: 34px; line-height: 1.2; margin-bottom: 6px; }
.st3-blog h2.blog-title { font-size: 24px; line-height: 1.25; margin-bottom: 4px; }
.st3-blog .blog-title a:hover { color: #f1663c; }
.st3-blog .blog-date { color: #999; font-size: 13px; margin-bottom: 12px; }
.st3-read-more, .st3-back a { color: #f1663c; font-weight: 700; }
.st3-pager { display: flex; justify-content: space-between; }
.st3-single .blog-content img { max-width: 100%; height: auto; }

/* Footer */
.st3-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; gap: 30px; align-items: start; }
@media (max-width: 767px) { .st3-footer-grid { grid-template-columns: 1fr; } }
.st3-social { display: flex; gap: 14px; padding-top: 10px; }
.st3-social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; }
.st3-social svg { width: 22px; height: 22px; fill: currentColor; }
.st3-copyright { margin-top: 10px; }
.st3-video-embed.st3-portrait { aspect-ratio: 9 / 16; max-width: 340px; }
.st3-footer-grid h2.wsite-content-title, .st3-footer-grid .paragraph { text-align: left !important; }
.st3-footer-grid .st3-social { justify-content: flex-end; }
@media (max-width: 767px) { .st3-footer-grid .st3-social { justify-content: flex-start; } }
.st3-video-center .st3-video-embed { margin-left: auto; margin-right: auto; }
/* Blog cards with pictures */
.st3-blog-card { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.st3-card-img { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #3D3D3D; border-radius: 2px; }
.st3-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.st3-card-img:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .st3-blog-card { grid-template-columns: 1fr; gap: 14px; } .st3-card-img { aspect-ratio: 2 / 1; } }
/* Member stories (Success Stories page) */
.st3-stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin: 10px 0 20px; }
.st3-story { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e6e6; border-radius: 3px; overflow: hidden; text-decoration: none !important; color: #2a2a2a; transition: box-shadow .2s ease, transform .2s ease; }
.st3-story:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-2px); }
.st3-story-img { display: block; aspect-ratio: 2 / 1; background: #3D3D3D; overflow: hidden; }
.st3-story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st3-story-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.st3-story-quote { font: italic 17px/1.45 "Karla", sans-serif; color: #2a2a2a; }
.st3-story-name { font: 700 14px "Raleway", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #3D3D3D; }
.st3-story-link { margin-top: auto; font: 700 14px "Karla", sans-serif; color: #E8522A; }
.st3-stars { text-align: center; color: #fff; font-weight: 700; margin-top: 14px; font-size: 18px; }
.st3-stars span, .st3-review-stars { color: #fbbc04; letter-spacing: 2px; }
blockquote.st3-review { background: #fff; border-left: 4px solid #f1663c; padding: 16px 20px; margin: 10px 0; font-size: 17px; line-height: 1.5; }
