/* Your Words: reproduces the original Avada layout with core blocks. Values measured from the live Avada site 2026-12-01. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: #747474; font-family: Lato, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 24px; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.yw-main { margin: 0 !important; }
.yw-main .entry-content, .yw-main .wp-block-post-content { margin: 0 !important; }
.yw-main :where(img) { max-width: 100%; height: auto; }
/* Avada wraps text greedily; the parent theme balances headings. */
.yw-hero h2, .yw-main h1, .yw-main h2, .yw-main h3, .yw-main p, .yw-footer p { text-wrap: wrap; }
/* Avada's floats + clearfix keep margins inside each column and section. */
.yw-sec, .yw-contact, .yw-main .yw-cols > .wp-block-column { display: flow-root; }

/* ---------- Header ---------- */
.yw-header { position: relative; z-index: 5; background: #fff; padding: 0 30px; }
body.home .yw-header { position: absolute; top: 0; left: 0; right: 0; }
.yw-header-inner { max-width: 1100px; margin: 0 auto; }
.yw-menu { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; }
.yw-menu > li { padding: 0 45px 0 0; margin: 0; }
.yw-menu > li:last-child { padding-right: 0; }
.yw-menu > li > a { display: flex; align-items: center; box-sizing: border-box; height: 143px; border-top: 3px solid #c7304b; color: #c7304b; font: 700 18px/18px Lato, Arial, Helvetica, sans-serif; text-decoration: none; }
.yw-menu > li > a > span { display: block; }
.yw-menu > li.yw-logo { margin: 31px 0; height: 84px; }
.yw-menu > li.yw-logo > a { display: block; height: auto; border: 0; }
.yw-logo img { display: block; margin-top: 3px; width: 385px; max-width: 100%; height: auto; }
.yw-burger, .yw-mnav { display: none; }
.yw-burger:focus:not(:focus-visible) { outline: 0; }
@media (max-width: 1024px) {
	.yw-menu > li, .yw-menu > li:last-child { padding-right: 25px; }
}

/* ---------- Hero (was the Avada slider) ---------- */
.yw-hero { position: relative; overflow: hidden; height: 650px; height: clamp(200px, 50vw, 650px); margin: 0 !important;
	background: #d9d3c7 url(/wp-content/uploads/2018/02/iStock-506975017-e1519331653370.jpg) 50% 50% / cover no-repeat; }
.yw-hero-inner { position: absolute; left: 0; right: 0; top: 50%; margin: 0 !important; padding: var(--yw-hh, 146px) 30px 14px; transform: translateY(-50%); text-align: center; }
.yw-hero .yw-hero-title { max-width: 1100px; margin: 0 auto; color: #fff; font-size: 60px; line-height: 1.33; font-weight: 400; }
@media (min-width: 801px) and (max-width: 999px) {
	.yw-hero .yw-hero-title { font-size: calc(5.625vw + 3.75px); }
}

/* ---------- Sections and columns ---------- */
.yw-sec { padding: 0 30px; }
.yw-main .yw-cols { display: flex; flex-wrap: nowrap !important; justify-content: space-between; align-items: flex-start; gap: 0 !important; max-width: 1100px; margin: 0 auto !important; }
.yw-main .yw-cols > .yw-half { flex: 0 0 48% !important; max-width: 48%; margin: 0 0 20px !important; }
.yw-main .yw-cols > .yw-full { flex: 0 0 100% !important; max-width: 100%; margin: 0 0 20px !important; }
.yw-main .yw-cols > .wp-block-column > * { margin-top: 0; }
.yw-band { background: #c7304b; }
.yw-band .yw-band-col { padding-top: 40px; }
.yw-about { padding-top: 30px; }

.yw-main .yw-title { margin: 0 0 31px !important; text-align: center; color: #c7304b; font-weight: 400; letter-spacing: normal; }
.yw-main h1.yw-title { font-size: 34px; line-height: 47.6px; }
.yw-main h2.yw-title { font-size: 24px; line-height: 36px; }
.yw-main .yw-title.yw-white { color: #fff; }
.yw-main .yw-text { margin: 0 0 20px !important; font-size: 16px; line-height: 24px; color: #747474; }
.yw-main .wp-block-image { margin: 0 !important; }
.yw-main .wp-block-image img { display: block; width: 100%; height: auto; }

/* Title with lines either side (Avada "default" title style); site.js drops the lines when the title is too wide. */
.yw-main .yw-sep { display: flex; align-items: center; justify-content: center; }
.yw-sep::before, .yw-sep::after { content: ""; flex: 1 1 0; box-sizing: border-box; height: 6px; border-top: 1px solid #e0dede; }
.yw-sep::before { margin-right: 45px; }
.yw-sep::after { margin-left: 45px; }
.yw-main .yw-sep.yw-nosep { display: block; }
.yw-sep.yw-nosep::before, .yw-sep.yw-nosep::after { display: none; }

/* Entrance animations (Avada fadeInLeft / fadeInRight, 0.3 s), only when JS can reveal them. */
.yw-anim-on .yw-anim { opacity: 0; }
.yw-anim-on .yw-anim.yw-in { animation: yw-in-right .3s ease both; }
.yw-anim-on .yw-anim.yw-from-left.yw-in { animation-name: yw-in-left; }
html.yw-anim-on .yw-anim.yw-done { opacity: 1; animation: none; }
@keyframes yw-in-right { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes yw-in-left { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.yw-contact { position: relative; padding: 0; background-color: rgba(255, 255, 255, .85); background-image: url(/wp-content/uploads/2018/02/iStock-636907438-1024x683.jpg); background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; background-blend-mode: overlay; }
.yw-main .yw-contact-cols { max-width: none; align-items: stretch; justify-content: flex-start; }
.yw-main .yw-contact-cols > .yw-side { flex: 0 0 16.666666666667% !important; max-width: 16.666666666667%; margin: 0 !important; background: rgba(255, 255, 255, .75); }
.yw-main .yw-contact-cols > .yw-contact-panel { flex: 0 0 66.666666666667% !important; max-width: 66.666666666667%; margin: 0 !important; box-sizing: border-box; padding: 150px 50px 50px; background: rgba(255, 255, 255, .75); }

.yw-contact .wpcf7 form p { margin: 0 0 20px; }
.yw-contact .wpcf7 label strong { font-weight: 700; }
.yw-contact .wpcf7 input[type="text"], .yw-contact .wpcf7 input[type="email"], .yw-contact .wpcf7 textarea {
	box-sizing: border-box; width: 100%; height: 29px; margin: 0; padding: 0 15px; border: 1px solid #d2d2d2; border-radius: 6px; background: #fff;
	color: #aaa9a9; font: 400 16px Lato, Arial, Helvetica, sans-serif; vertical-align: top; }
.yw-contact .wpcf7 textarea { height: 150px; padding: 8px 15px; resize: vertical; }
.yw-contact .wpcf7 .wpcf7-submit { display: inline-block; height: 43px; padding: 13px 29px; border: 0; border-radius: 2px; background: #c7304b; color: #fff;
	font: 400 14px/17px "PT Sans", Arial, Helvetica, sans-serif; cursor: pointer; -webkit-appearance: none; appearance: none; }
.yw-contact .wpcf7 .wpcf7-submit:hover, .yw-contact .wpcf7 .wpcf7-submit:focus { background: #a3263d; }
.yw-contact .wpcf7 form .wpcf7-response-output { margin: 32px 0 16px; padding: 25px; border-width: 1px; text-align: center; }

/* ---------- Footer ---------- */
.yw-footer { background: #282a2b; border-top: 1px solid #4b4c4d; padding: 18px 30px 16px; }
.yw-footer .yw-copyright { max-width: 1100px; margin: 0 auto; color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.yw-footer .yw-copyright a { color: #fff; text-decoration: none; }

/* ---------- Plain pages (404, search, archives) ---------- */
.yw-titlebar { background: #f6f6f6; border-top: 1px solid #e7e6e6; border-bottom: 1px solid #e7e6e6; padding: 0 30px; }
.yw-titlebar .yw-titlebar-text { max-width: 1100px; margin: 0 auto !important; padding: 13px 0; color: #333; font-size: 18px; line-height: 24px; font-weight: 400; }
.yw-plain-body { max-width: 1100px; margin: 0 auto !important; padding: 40px 30px 40px; }
.yw-plain-body h2, .yw-plain-body h3 { color: #c7304b; }
.yw-plain-body h2 { margin: 0 0 31px; font-size: 24px; line-height: 36px; }
.yw-plain-body h3 { margin: 0 0 16px; font-size: 16px; line-height: 24px; }
.yw-left-sep { display: flex; align-items: center; }
.yw-left-sep::after { content: ""; flex: 1 1 0; margin-left: 15px; border-top: 1px solid #e0dede; }
.yw-404-num { margin: 0; color: #f0f0f0; font-size: 117px; line-height: 1; font-weight: 700; }
.yw-404-links { list-style: none; padding: 0; margin: 0; }
.yw-404-links li { margin: 0 0 8px; }
.yw-404-links a { color: #333; }
.yw-search input[type="search"] { box-sizing: border-box; width: 100%; height: 29px; padding: 0 15px; border: 1px solid #d2d2d2; border-radius: 6px; font: 400 16px Lato, Arial, sans-serif; color: #747474; }
.yw-plain-body .wp-block-columns { gap: 4%; }
.yw-results { margin-top: 40px; }

/* At 900px and below Avada tightens title margins to 10px top and bottom. */
@media (max-width: 900px) {
	.yw-main .yw-title { margin: 10px 0 !important; }
}

/* ---------- Phone and small tablet (Avada mobile breakpoint 800px) ---------- */
@media (max-width: 800px) {
	.yw-header, body.home .yw-header { position: relative; padding: 20px 30px; }
	.yw-header-inner { display: flex; flex-wrap: wrap; align-items: flex-start; }
	.yw-nav { flex: 0 1 auto; min-width: 0; }
	.yw-menu { display: block; }
	.yw-menu > li { display: none; }
	.yw-menu > li.yw-logo { display: block; margin: 0; height: auto; padding: 0; }
	.yw-burger { display: block; flex: 0 0 auto; width: 21px; height: 21px; padding: 0 0 0 20px; margin: 0 0 0 auto; border: 0; border-radius: 0; cursor: pointer;
		background: linear-gradient(#dadada, #dadada) 20px 3px / 18px 3px no-repeat, linear-gradient(#dadada, #dadada) 20px 9px / 18px 3px no-repeat, linear-gradient(#dadada, #dadada) 20px 15px / 18px 3px no-repeat, transparent;
		box-sizing: content-box; }
	.yw-mnav.yw-open { display: block; flex: 0 0 calc(100% + 60px); margin: 0 -30px -20px; padding-top: 20px; }
	.yw-mnav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #dadada; }
	.yw-mnav li { margin: 0; }
	.yw-mnav a { display: block; box-sizing: border-box; height: 35px; padding: 0 12px 0 30px; border-bottom: 1px solid #dadada; background: #f6f6f6; color: #333; font: 400 12px/35px Lato, Arial, Helvetica, sans-serif; text-decoration: none; }

	.yw-hero { height: clamp(200px, 50vw, 650px); }
	.yw-hero-inner { padding-top: 0; }
	.yw-hero .yw-hero-title { font-size: calc(8.18182vw - 5.45455px); }

	.yw-main .yw-cols { display: flow-root; }
	.yw-main .yw-cols > .yw-half, .yw-main .yw-cols > .yw-full { max-width: none; }
	.yw-main .yw-title { margin: 10px 0 !important; }
	.yw-main .yw-contact-cols > .yw-side { max-width: none; height: 2px; }
	.yw-main .yw-contact-cols > .yw-contact-panel { max-width: none; }
}
