/* Layout fixes for the supplied restart templates. No staging access controls. */
body.geeks-refresh-page {font-size:16px;line-height:1.85;letter-spacing:.035em;}
.geeks-refresh-page .l-wrap {display:block;max-width:1000px;margin:32px auto 64px;padding:0 20px;}
.geeks-refresh-page .l-main {width:100%;max-width:960px;margin:0 auto;}
.geeks-refresh-page main.l-container,.geeks-refresh-page .kobutsu-home > .l-container {padding-left:0;padding-right:0;}
.geeks-refresh-page main h1 {font-size:28px;line-height:1.5;margin-bottom:28px;padding:14px 18px;}
.geeks-refresh-page main h2 {font-size:23px;line-height:1.6;margin:36px 0 14px;}
.geeks-refresh-page main h3 {font-size:19px;line-height:1.6;margin:24px 0 10px;}
.geeks-refresh-page main p {margin-bottom:14px;}
.geeks-refresh-page main > ul {padding-left:1.5em;margin:16px 0 24px;}
.geeks-refresh-page main > ul > li {list-style:disc;margin-bottom:8px;}
.geeks-refresh-page main a {text-decoration:underline;text-underline-offset:3px;}
.geeks-refresh-page .kobutsu-home > .l-container > div:first-of-type {background:#fcf5e0;text-align:center;border-radius:4px;}
.geeks-refresh-page .kobutsu-home > .l-container > div:first-of-type > img {width:auto !important;max-width:100%;max-height:460px;margin:0 auto;}
.geeks-refresh-page .c_contact-links {margin-top:32px;border-top:1px solid #eadbae;border-bottom:1px solid #eadbae;background:#fcf5e0;}
.geeks-refresh-page .c_contact-links > .l-container {display:flex;flex-wrap:wrap;justify-content:center;gap:14px 20px;padding:28px 20px !important;}
.geeks-refresh-page .c_contact-links h2,.geeks-refresh-page .c_contact-links h2 + p,.geeks-refresh-page .c_contact-links h2 + p + p {flex-basis:100%;margin:0;}
.geeks-refresh-page .c_contact-links h2 {font-size:24px;}
.geeks-refresh-page .c_contact-links p {margin:0;}
.geeks-refresh-page .c_contact-links a {min-height:54px;display:inline-flex !important;justify-content:center;align-items:center;border-radius:5px;text-decoration:none;line-height:1.5;}
.geeks-refresh-page .c_contact-links h2 + p + p a {color:#a21526;}
.geeks-refresh-page .c_contact-links p:last-child a {background:#bf283a;color:#fff;padding:15px 25px !important;}
.geeks-refresh-page .d_footer {margin-top:40px;}
.geeks-refresh-page .d_footer a {color:#fff;}
@media(max-width:999px) {
 .geeks-refresh-page .l-wrap {margin:20px auto 36px;padding:0 16px;}
 .geeks-refresh-page main h1 {font-size:24px;padding:12px;margin-bottom:20px;}
 .geeks-refresh-page main h2 {font-size:21px;margin-top:28px;}
 .geeks-refresh-page .kobutsu-home > .l-container {padding-top:12px !important;padding-bottom:28px !important;}
 .geeks-refresh-page .kobutsu-home > .l-container > div:first-of-type > img {max-height:380px;}
 .geeks-refresh-page .c_contact-links {margin-top:20px;}
 .geeks-refresh-page .c_contact-links > .l-container {gap:12px;padding:24px 16px !important;}
 .geeks-refresh-page .c_contact-links p {flex-basis:100%;}
 .geeks-refresh-page .c_contact-links a {width:100%;}
}

/* The supplied LP banners are portrait artwork; keep them readable without filling several screens. */
.geeks-refresh-page main.l-container > img {display:block;width:auto !important;max-width:100%;max-height:460px;margin-left:auto;margin-right:auto;}
@media(max-width:999px) {.geeks-refresh-page main.l-container > img {max-height:380px;}}

/* Keep shared text readable when legacy per-page CSS sets section line-height to zero. */
.c_contact-links,.c_contact-links > .l-container {line-height:1.7!important;}
.c_contact-links h2,.c_contact-links p {line-height:1.6!important;}
/* The current footer contains one link list; avoid the legacy four-column allocation. */
.d_footer__main__right__list:only-child {width:100%;}
@media(max-width:767px){
 .d_footer__main__inner{display:block!important;padding-left:16px;padding-right:16px;}
 .d_footer__main__left,.d_footer__main__right{width:100%!important;max-width:100%;}
 .d_footer__main__right{margin-top:24px;}
}

/* KQA018: keep WordPress embedded cards within the article width. */
.s-column__content iframe.wp-embedded-content { max-width: 100%; }

/* KQA019: wrap long links in article paragraphs. */
.s-column__content > p a { overflow-wrap: anywhere; }

/* KQA018: anchor absolutely positioned WordPress cards to their paragraph. */
.s-column__content > p:has(> iframe.wp-embedded-content) { position: relative; }

/* KQA020: wrap long HTTP links in article definition descriptions. */
.s-column__content > dl > dd > a[href^="http"] { overflow-wrap: anywhere; }
