/*
Theme Name: Assisted 2026
Theme URI: http://computeraxe.com/
Description: This theme is used to display the Assisted 1 Template. Updated for PHP 8.3 / WP 6.x with responsive layout.
Version: 2.0
Author: Assisted Home Health & Hospice
Author URI: https://assistedcares.com/
*/

/* ==========================================================================
   RESET
   ========================================================================== */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,
strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,
label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,
details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,
section,summary,time,mark,audio,video {
    font-size: 100%;
    font: inherit;
    border: 0;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
strong, b, strong *, b * { font-weight: bold !important; }
em, i, em *, i * { font-style: italic !important; }
a { color: #0068ac; }

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block;
}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: none; }

/* ==========================================================================
   CONTACT FORM 7
   ========================================================================== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    border-color: #e7e7e7;
    border-style: solid;
    max-width: 100%;
}
.wpcf7 select {
    border-color: #e7e7e7;
    border-style: solid;
    width: 100%;
    max-width: 280px;
}

/* ==========================================================================
   BASE
   ========================================================================== */
body {
    line-height: 1;
    font-size: 14px;
    font-family: Verdana, Geneva, sans-serif;
    background: #ffffff;
}

/* Site wrapper */
#wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
}
.clear { clear: both; }
.slideLine { border-bottom: 3px solid #0068ac; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.headerCT {
    z-index: 2;
    position: relative;
}
.headerCT .menu-top-menu-container {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

/* Top strip (social icons + top menu) */
#header {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow: hidden;
}
#header .menu {
    padding: 12px 0;
    white-space: nowrap;
}
#header .menu li {
    padding: 0 8px;
    color: #636466;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}
#header .menu li a {
    color: #636466;
    text-decoration: none;
    font-family: Verdana, Geneva, sans-serif;
    white-space: nowrap;
}
#header .social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}
#header .social div {
    display: flex;
    align-items: center;
}
.header-phone-top {
    font-size: 18px;
    font-weight: bold;
    color: #0068ac;
    white-space: nowrap;
    margin-left: 16px;
    margin-right: 20px;
    font-family: Verdana, Geneva, sans-serif;
    display: flex;
    align-items: center;
}

/* Header image band */
.headerCT #header-ct {
    width: 100%;
}
.headerCT #header-img {
    max-width: 1200px;
    width: 100%;
    height: 151px;
    margin: 0 auto;
    background: url('https://www.assistedcares.com/wp-content/uploads/2014/03/Assisted-In-Home-Care-HP.jpg') top center / 1200px auto no-repeat;
    border: none;
    display: block;
}
.headerCT #header-img a {
    color: #ffffff;
    text-decoration: none;
}
/* .header-phone removed — phone now in top bar */

/* ==========================================================================
   MAIN NAVIGATION (desktop flex, mobile hamburger)
   ========================================================================== */
.headerCT #main-ct {
    width: 100%;
    background: #32438c;
    position: relative;
}
/* Constrain the blue bar visually - background is on #main-ct which is already inside #wrapper */

/* Hamburger button — hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 16px;
    flex-direction: column;
    gap: 5px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.25s;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav wrapper */
#main-nav {
    max-width: 1200px;
    margin: 0 auto;
}

/* WP outputs a div.menu-main-menu-container > ul#menu-main-menu */
#main-nav .menu-main-menu-container {
    width: 100%;
}
#main-nav ul.main-nav-list,
#main-nav #menu-main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#main-nav ul.main-nav-list > li,
#main-nav #menu-main-menu > li {
    flex: 1;
    text-align: center;
    position: relative;
}
#main-nav ul.main-nav-list > li:hover,
#main-nav #menu-main-menu > li:hover {
    color: #ffb81d;
    box-shadow: inset 0 0 20px -5px #000;
}
#main-nav ul li a {
    font-size: 12px;
    font-family: Verdana, Geneva, sans-serif;
    display: block;
    padding: 15px 8px;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 2px 2px 2px #000;
}
#main-nav ul li:hover > a,
#main-nav ul li.current_page_item > a,
#main-nav ul li.current-menu-ancestor > a,
#main-nav ul li.current-menu-parent > a {
    color: #ffb81d;
}

/* Dropdown sub-menus */
#main-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #0068ac;
    box-shadow: inset 0 10px 15px 0 #111;
    z-index: 100;
    padding: 10px 0;
}
#main-nav ul li:hover > ul {
    display: block;
}
#main-nav ul li ul li {
    display: block;
    flex: none;
    text-align: left;
}
#main-nav ul li ul li a {
    padding: 8px 15px;
    font-size: 12px;
    text-shadow: none;
}

/* Legacy .menu-children (used by old walker) */
ul.menu-children {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 15px;
    background: #0068ac;
    box-shadow: inset 0 10px 15px 0 #111;
    z-index: 100;
    list-style: none;
}
ul.menu-children li {
    padding: 5px 0 !important;
    display: block !important;
}

#nav-below { margin-top: 20px; }

/* ==========================================================================
   CONTAINER
   ========================================================================== */
#container {
    max-width: 1200px;
    width: 100%;
    min-height: 250px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    overflow-x: clip;
}
/* Only strip list bullets from navigation elements, not page content */
#footer ul {
    list-style: none;
}
/* Blog list items — only apply to actual post lists, not nav */
.blogContent li {
    margin-left: 25px;
    padding: 5px 0;
    line-height: 1.6;
}

/* ==========================================================================
   CONTENT LAYOUT (sidebar + main)
   ========================================================================== */
/* Three-column page layout: leftSideBar | sideContent | mainSideBar */
.page-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Keep .mainContent/.blogContainer for home and blog pages */
.mainContent, .mainHomeContent, .blogContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}
.mainContent {
    margin-bottom: 30px;
}
.fullContent { width: 100%; }
.mainSideBar table { border-spacing: 0; }
.mainSideBar table tr td {
    vertical-align: middle;
    font-size: 12px;
    line-height: 1.5em;
}
.mainSideBar .sidePanel {
    padding: 10px;
    margin: 10px 7px 10px 1px;
    border: 1px solid #999;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgba(50,50,50,0.2);
}
.mainSideBar .sidePanel tr td div.spacer {
    height: 5px;
    margin-bottom: 15px;
    padding: 0 30px;
    border: 1px solid #999;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgba(50,50,50,0.2);
    background: linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 95%);
    border-radius: 0 0 15px 15px;
}

/* ==========================================================================
   LEFT SIDEBAR (sub-navigation)
   ========================================================================== */
.leftSideBar {
    width: 220px;
    flex: 0 0 220px;
    padding: 16px 8px 16px 12px;
    box-sizing: border-box;
}
/* Legacy subMenu overrides — replaced by left-nav accordion system below */
.serviceMenu .title { font-size: 18px; font-weight: bold; }

/* ==========================================================================
   SIDE PAGE / CONTENT AREAS
   ========================================================================== */
.sideContent {
    flex: 1 1 0;
    min-width: 0;
    line-height: 1.5em;
    padding: 16px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.ctable tr td {
    vertical-align: top;
    padding: 3px 0;
    width: 220px;
}
.fullSide { width: 100%; max-width: 710px; }
.fullSide li { line-height: 1.5em; }

.sideContent h1 { color: #0068ac; font-size: 32px; line-height: 1em; font-family: georgia,garamond,serif; }
.sideContent h2 { color: #0068ac; font-size: 26px; line-height: 1em; margin-top: 20px; font-family: georgia,garamond,serif; }
.sideContent h3 { color: #0068ac; font-size: 20px; line-height: 1em; margin-top: 20px; font-family: georgia,garamond,serif; }
.sideContent h4 { color: #0068ac; font-size: 16px; line-height: 1em; margin-top: 20px; font-family: georgia,garamond,serif; }
.sideContent p { margin: 15px 0 0; }
.sideContent p:first-child { margin: 0; }
.sideContent ul { line-height: 1.8em; padding-left: 1.2em; }
.sideContent ul li {
    list-style: none;
    padding-left: 0.2em;
    background: none;
    margin-left: 0;
}
.sideContent blockquote { font-style: italic; padding: 20px 0 0; }
.sideContent dl dt { font-weight: bold; }
.sideContent dl dd { font-style: italic; padding-left: 20px; }

/* ==========================================================================
   CONTENT
   ========================================================================== */
.content { padding: 20px; }
.content h1 { color: #0068ac; font-size: 32px; margin-top: 20px; font-family: georgia,garamond,serif; }
.content h2 { color: #0068ac; font-size: 26px; margin-top: 20px; font-family: georgia,garamond,serif; }
.content h3 { color: #0068ac; font-size: 20px; margin-top: 20px; font-family: georgia,garamond,serif; }
.content h4 { color: #0068ac; font-size: 16px; margin-top: 20px; font-family: georgia,garamond,serif; }
.content p { line-height: 1.5em; margin-top: 20px; }
#serviceContent ol li { text-indent: 30px; }
.content ul.serviceMenu { margin-top: 50px; }
.content ul.serviceMenu li { padding-left: 0; }

/* ==========================================================================
   CARE TYPES
   ========================================================================== */
#careTypes {
    width: 100%;
    max-width: 100%;
    border-spacing: 0;
    table-layout: fixed;
    border-collapse: collapse;
}
#careTypes div {
    text-align: center;
    cursor: pointer;
}
#careTypes div.title {
    font-size: 15px;
    color: white;
    padding: 5px 0;
    border-radius: 0 0 15px 15px;
}
#careTypes tr td {
    background: linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 95%);
    border-radius: 0 0 15px 15px;
    border-left: 1px solid white;
    border-right: 1px solid white;
}
#careTypes tr td:hover {
    background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,1) 95%);
}
#careTypes tr td:first-child { border-left: 0; }
#careTypes tr td.lastChild { border-right: 0; }
#careTypes div.content {
    font-family: georgia,garamond,serif;
    font-size: 15px;
    line-height: 1.2em;
    padding: 15px 20px;
}
#serviceContentCT { margin-top: 30px; }

/* ==========================================================================
   HOMEPAGE SLIDES
   ========================================================================== */
/* Home page JS slider */
#home-slider {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
.hslide {
    width: 100%;
}
.hslide a   { display: block; width: 100%; line-height: 0; }
.hslide img { width: 100%; height: auto; display: block; }

/* Service/types page slides — static, no animation needed */
.serviceSlide, .typesCareSlide {
    width: 100%;
    overflow: hidden;
    display: block;
    line-height: 0;
}
.hslide img, .serviceSlide img, .typesCareSlide img {
    width: 100% !important;
    height: auto !important;
    vertical-align: top;
    display: block;
    max-width: 100% !important;
}
/* WordPress post thumbnail wrappers */
.serviceSlide .wp-post-image,
.typesCareSlide .wp-post-image {
    width: 100% !important;
    height: auto !important;
    display: block;
}
.serviceSlide a, .serviceSlide figure,
.typesCareSlide a, .typesCareSlide figure {
    display: block;
    width: 100%;
    line-height: 0;
}
/* WordPress wraps post thumbnails in a figure/a — make those fill width too */
.serviceSlide a,
.serviceSlide figure,
.typesCareSlide a,
.typesCareSlide figure {
    display: block;
    width: 100%;
}
.serviceSlide .wp-post-image,
.typesCareSlide .wp-post-image {
    width: 100% !important;
    height: auto !important;
    display: block;
}
/* homeSlide is now outside #container so it naturally goes full width */

/* ==========================================================================
   BLOG
   ========================================================================== */
.blogLink {
    font-size: 18px;
    color: black;
    height: 43px;
    line-height: 43px;
    padding-left: 5px;
    font-family: Verdana, Geneva, sans-serif;
}
.blogLink a { text-decoration: none; }

.blogContent { padding: 10px; }
.search .post, .category .post { padding: 15px; }
.search .post:hover, .category .post:hover {
    background: #e1ebf7;
    border-radius: 15px;
}
.category .blogContent .blogTitle { font-size: 28px; color: #0068ac; padding: 15px 0; }
.blogContent h2 { color: #0068ac; font-size: 22px; margin-top: 20px; font-family: georgia,garamond,serif; }
.blogContent h3 { color: #0068ac; font-size: 18px; margin-top: 20px; font-family: georgia,garamond,serif; }
.blogContent h4 { color: #0068ac; font-size: 16px; margin-top: 20px; font-family: georgia,garamond,serif; }

.blogwrapper { width: 100%; }
.blogimage { float: left; padding: 10px 20px 10px 0; }
.blogimage2 { float: right; padding: 10px 10px 10px 0; }
.blogimage3 { float: left; padding: 10px 30px 10px 0; }
.blogimagetext { float: left; width: 50%; vertical-align: middle; display: table-cell; }
.blogimagetext2 { float: left; padding: 5px 15px 5px 0; width: 20%; }

.search .entry-title { padding: 10px 0; }
.category .blogContent .entry-title a { color: black !important; text-decoration: none; font-size: 23px; }
.category .blogContent .entry-meta { padding: 10px 0 0; font-size: 14px; color: #666; }
.category .blogContent .entry-meta .published { color: #0068ac; font-weight: bold; }
.category .blogContent .entry-summary { padding: 10px 0 10px 10px; line-height: 1.5em; }
.single .blogContainer { padding: 20px 0; }
.single .blogContent .entry-content p { padding: 10px 0 0; line-height: 1.5em; }
.single .blogContent .entry-title { font-size: 24px; }
.single .blogContainer .backLink { float: right; padding-right: 40px; }

.entry-footer { margin-top: 20px; line-height: 1.5em; }
.entry-footer-blog {
    margin: 0 20px;
    font-size: .8em !important;
    line-height: 1.5em;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    padding: 10px 0;
}
.archive #content .entry-title { padding: 10px 0; }

.blogfallfloatleft {
    width: 98%;
    float: left;
    padding: 10px;
    border-radius: 17px;
    border-top: 1px solid #d4d4d2;
    border-bottom: 1px solid #DADBDA;
    background-color: #E9F8FD;
}
.blogfallfloatleftsmall { width: 15%; float: left; padding: 10px; }
.falltext li { margin-left: 0; padding: 10px; }

.readMore { padding: 10px 0; }
.readMore a {
    display: block;
    width: 135px;
    height: 50px;
    background: url(img/readMore.png);
}
.readMore a:hover { background-position: 0 -50px; }

/* Search/archive sidebar */
.search #content, .error404 #content, .archive #content {
    float: left;
    width: calc(100% - 220px);
    padding: 20px 20px 20px 0;
}

/* ==========================================================================
   MAGNIFIER
   ========================================================================== */
#magCT { padding: 15px; }
/* Old image-based zoom buttons replaced by .zoom-btn in sidebar */

/* ==========================================================================
   HEADINGS
   ========================================================================== */
h2.help {
    font-size: 22px; color: #0068ac; text-align: center;
    padding: 20px 0; font-family: georgia,garamond,serif;
}
h2.breadcrumbs {
    font-size: 28px; color: #0068ac;
    font-family: georgia,garamond,serif; padding: 30px 0;
}

/* ==========================================================================
   REFERRAL / DONOR BOXES
   ========================================================================== */
.HomepageReferral {
    width: 100%;
    max-width: 80%;
    border: 1px solid #085de8;
    border-radius: 25px;
    box-shadow: 1px 1px 1px 1px #888;
    padding: 0 20px 0 0;
    margin: 20px;
}
.HomepageLeft { width: 100%; text-align: center; padding: 0 50px 0 0; }

.donorboxcontainer { width: 100%; max-width: 700px; height: auto; padding: 25px; }
.eachcontainer { width: 100%; max-width: 360px; float: left; }
.donorbox {
    float: left;
    display: table;
    border: 1px solid #085de8;
    border-radius: 25px;
    box-shadow: 1px 1px 1px 1px #888;
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 0 15px;
}
.referral {
    display: table;
    width: 97%;
    text-align: left;
    padding: 0 0 5px 23px;
    background: linear-gradient(white, lightgrey);
    color: #3581cb;
    text-decoration: none;
    border-radius: 10px;
}
.donorbox a { text-decoration: none; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
blockquote.testimonial { padding: 20px !important; }
blockquote.testimonial p:before { content: '"'; font-size: 20px; }
blockquote.testimonial p:after { content: '"'; font-size: 20px; }
.testimonialAuthor { padding-left: 60px; }
.testimonialSpacer {
    height: 2px;
    margin: 20px 100px 0;
    background-color: #0068AC;
    box-shadow: 0 1px 5px 1px #0068AC;
}

/* ==========================================================================
   AWARDS
   ========================================================================== */
.awardswrapper {
    width: 100%;
    text-align: center;
    padding: 0 10px;
}
.awardscontainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.awards { text-align: center; width: auto; min-width: 120px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footerCT { width: 100%; }
.footerCT #footer {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    min-height: 400px;
    z-index: 1;
    position: relative;
    background: #e1ebf7;
    padding: 0 10px;
}
.footerCT #footer-ct {
    display: flex;
    flex-wrap: wrap;
    min-height: 400px;
    justify-content: space-between;
    width: 100%;
}
.footerCT #footer div.title {
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bold;
}
.footerCT #footer #footer-ct .menu-assisted-menu-container,
.footerCT #footer #footer-ct .menu-types-of-care-menu-container,
.footerCT #footer #footer-ct .menu-join-our-team-menu-container,
.footerCT #footer #footer-ct .menu-resources-menu-container {
    color: #0068ac;
    width: 190px;
    padding: 30px 0 50px;
    font-family: georgia,garamond,serif;
}
.footerCT #footer #footer-ct .menu li { margin-top: 10px; }
.footerCT #footer #footer-ct .menu li a {
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
    color: #0068ac;
}

#footer .social {
    float: left;
    padding: 0;
    background: #e1ebf7;
    margin: 20px 0;
}
#footer .social tr td { padding: 10px 5px; vertical-align: middle; color: #0068ac; }
#footer .social tr td a { font-family: Verdana, Geneva, sans-serif; text-decoration: none; color: #0068ac; }

#footer-ct .ftable {
    font-family: Verdana, Geneva, sans-serif;
    color: #0068ac;
    flex: 1 1 180px;
    min-height: 300px;
    padding: 5px 0 10px 20px;
}
.ftable tr td a { text-decoration: none; }
.ftable tr td { vertical-align: top; padding: 10px 0; width: 200px; }

.policy {
    padding: 10px 30px 0;
    font-size: 80%;
    color: #727272;
    width: 100%;
}

/* ==========================================================================
   LANDING PAGES
   ========================================================================== */
#landingpage {
    max-width: 1200px;
    width: 100%;
    min-height: 250px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    padding: 0 10px;
}
#landingpage ul { line-height: 2em; }
#landingpage ul li {
    list-style: disc;
    margin-left: 1.4em;
    padding-left: 0.3em;
    background: none;
}
#landingpage blockquote { font-style: italic; padding: 20px 0 0; }
#landingpage dl dt { font-weight: bold; }
#landingpage dl dd { font-style: italic; padding-left: 20px; }

.landingpagebackgroundoct {
    background-image: url(https://www.assistedcares.com/wp-content/uploads/2015/12/SweepstakesLandingPage2016.jpg);
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.landingpagenumberoct {
    color: #295ca7;
    padding: 20px 20px 0 0;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 30px;
    text-align: center;
    width: 100%;
    max-width: 30%;
    float: right;
}
.landingpageoptinoct {
    float: left;
    width: 100%;
    max-width: 55%;
    text-align: center;
    margin: 20px 0 0 20px;
    padding: 20px 0 0;
    background-color: lightgrey;
    color: #3581cb;
    border-radius: 10px;
}
.landingpagebackground {
    background-image: url(https://www.assistedcares.com/wp-content/uploads/2015/08/CargeiverLandingPageV4.jpg);
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.landingpageheader {
    font-weight: bold;
    color: white;
    font-family: impact;
    font-size: 50px;
    padding: 30px 0 0 30px;
    width: 65%;
}
.landingpagetext {
    width: 55%;
    color: white;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 20px;
    padding: 20px 0 0 50px;
}
.landingpagetext ul li {
    margin: 0 0 0 60px;
    padding: 10px 0 0 10px;
    list-style-image: url('https://www.assistedcares.com/wp-content/uploads/2015/08/ArrowCare.png');
}
.landingpagecontent { text-align: left; float: left; padding: 10px 10px 0 35px; }
.landingpageoptin {
    float: left;
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: 20px 0 0 20px;
    background-color: lightgrey;
    color: #3581cb;
    border-radius: 10px;
}
.landingpagenumber {
    color: #edfc03;
    padding: 15px 0 0;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 40px;
    text-align: center;
    width: 65%;
}
.landingpageoptin p { line-height: 1.8em; width: 190px; }
.mainlandingpagecontent { width: 100%; float: left; }

/* ==========================================================================
   JOB PAGES
   ========================================================================== */
h2.jobh2title { margin: 15px 0; color: #0068ac; font-size: 23px; font-family: georgia,garamond,serif; }
h3.jobh3title { margin: 15px 0; color: #0068ac; font-size: 20px; font-family: georgia,garamond,serif; }

.jobtitle {
    float: left;
    width: 100%;
    max-width: 500px;
    line-height: 1.5em;
    padding: 10px;
}
.jobtitlefullSide { width: 100%; max-width: 710px; }
.jobtitlefullSide li { line-height: 1.5em; }
.jobtitle p { font-size: 15px; font-weight: bold; }
.jobtitle h1 { color: #0068ac; font-size: 32px; line-height: 1em; font-family: georgia,garamond,serif; }
.jobtitle h2 { color: #0068ac; font-size: 26px; line-height: 1em; margin-top: 20px; font-family: georgia,garamond,serif; }
.jobtitle h3 { color: #0068ac; font-size: 17px; line-height: 1em; margin-top: 20px; }
.jobtitle h4 { color: #0068ac; font-size: 16px; line-height: 1em; margin-top: 20px; font-family: georgia,garamond,serif; }
.jobtitle ul { line-height: 2em; }
.jobtitle ul li { list-style-type: none; background-repeat: no-repeat; background-position: left 0.8em; padding-left: 1.6em; }
.JobContent h3 { color: #0068ac; font-size: 12px; margin-top: 10px; font-family: georgia,garamond,serif; }

/* ==========================================================================
   YELP REVIEWS
   ========================================================================== */
#yelpreviewmainbox { width: 100%; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.yelpbox1, .yelpbox2 {
    width: 100%;
    max-width: 320px;
    margin-bottom: 40px;
    text-align: center;
    float: left;
}

/* ==========================================================================
   SAFETY TEST
   ========================================================================== */
.safetytest {
    max-width: 1200px;
    width: 100%;
    min-height: 250px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    padding: 0 10px;
}
.safetytest ul li { list-style: disc; padding-left: 0.3em; margin-left: 2em; padding-top: 0.4em; }
.safetytest ol li { list-style: decimal; padding-top: 0.6em; margin-left: 3em; }
.safetytest h1 { color: #0068ac; font-size: 32px; margin-top: 20px; font-family: georgia,garamond,serif; }
.safetytest h2 { color: #0068ac; font-size: 26px; margin-top: 20px; font-family: georgia,garamond,serif; }
.safetytest h3 { color: #0068ac; font-size: 20px; margin-top: 20px; font-family: georgia,garamond,serif; }
.safetytest h4 { color: #0068ac; font-size: 16px; margin-top: 20px; font-family: georgia,garamond,serif; }
.safetytest p { line-height: 1.5em; margin-top: 20px; }

/* ==========================================================================
   MISC
   ========================================================================== */
#questionsContent ul li {
    list-style: disc;
    margin-left: 1.4em;
    padding-left: 0.3em;
    margin-top: 10px;
}
#joinContent .positions { padding: 30px 0 15px; }
#joinContent .positions strong { display: block; padding: 0 0 15px; }
#joinContent a.position { display: block; padding: 5px 0; font-weight: bold; }
.emailLink { font-family: Verdana, Geneva, sans-serif; }
#searchform { padding: 10px 0; }

.talentshow {
    background-image: url(https://www.assistedcares.com/wp-content/uploads/2014/07/TalentShowFundraiserBckgrd.jpg);
    width: 100%;
    max-width: 650px;
    min-height: 520px;
    padding-left: 40px;
    padding-top: 1px;
    margin: 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.divcenter { width: 80%; margin: 0 auto; }

.joycegrantbackground {
    background-image: url(https://assistedcares.com/wp-content/uploads/2018/02/background-5.png);
    width: 100%;
    min-height: 800px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.joycetable {
    position: absolute;
    left: 20px;
    width: 90%;
    max-width: 650px;
    padding: 10px;
    background-color: rgba(80,80,150,0.8);
    top: 50px;
}
.joycetitle {
    position: absolute;
    top: 20px;
    width: 50%;
    height: 30px;
    background-color: rgba(90,90,90,0.5);
    text-align: center;
    padding: 10px;
    right: 20px;
}
.joycetext { color: white; font-family: Georgia, serif; font-size: 17px; line-height: 150%; padding-top: 16px; }
.joycetext table, .joycetext th, .joycetext tr { border: 1px solid black; }
.joycetext h3 { margin: 15px 0; color: #d4ff55; font-size: 20px; font-family: arial; }

#sponsorswrapper { padding: 10px 0 0; width: 100%; margin: 0 auto; text-align: center; }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

hr.vertical { width: 0; height: 100%; }


/* ==========================================================================
   SIDEBAR ACCORDION NAV
   ========================================================================== */
.acc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0 5px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    color: black;
    height: 43px;
    line-height: 43px;
    font-weight: bold;
    user-select: none;
}
.acc-toggle:hover {
    background: #e8f0f9;
    color: #004f84;
}
.acc-toggle.is-open {
    background: #0068ac;
    color: white;
    font-style: italic;
}
.acc-toggle .acc-icon {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
    margin-left: 6px;
    flex-shrink: 0;
}
.acc-toggle.is-open .acc-icon {
    transform: rotate(180deg);
}
.acc-panel {
    display: none;
    overflow: hidden;
}
.acc-panel.is-open {
    display: block;
}
/* Keep child links looking the same */
.acc-panel .children {
    padding-left: 0;
    list-style: none;
}
.acc-panel .children li a {
    display: block;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    padding: 6px 0 6px 16px;
    font-family: Verdana, Geneva, sans-serif;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
}
.acc-panel .children li a:hover {
    background: #e8f0f9;
    color: #004f84 !important;
    font-weight: bold;
}
.acc-panel .children li.current_page_item a {
    background: #0068ac;
    color: #fff !important;
    font-weight: bold;
}
/* no-children plain link handled by .left-nav .subMenu > li > a rules */


/* ==========================================================================
   RIGHT SIDEBAR — modern redesign
   ========================================================================== */

.mainSideBar {
    width: 230px;
    flex: 0 0 230px;
    padding: 16px 8px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

/* ── Text size controls ── */
.sidebar-zoom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f4f7fc;
    border-radius: 8px;
    border: 1px solid #dce6f0;
}
.sidebar-zoom-label {
    font-size: 12px;
    color: #444;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bold;
    margin-right: auto;
}
.zoom-btn {
    background: #0068ac;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    font-family: Georgia, serif;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.1s;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    /* No background images — pure CSS */
    background-image: none;
}
.zoom-btn:hover {
    background: #004f84;
    color: #ffffff;
    transform: scale(1.05);
}
.zoom-btn:active { transform: scale(0.97); }
.zoom-btn--small { font-size: 13px; }
.zoom-btn--large { font-size: 17px; }
/* Ensure zoom button text is always visible */
.zoom-btn { color: #ffffff !important; }

/* ── Blog search ── */
.sidebar-search { width: 100%; }
.sidebar-search-row {
    display: flex;
    border: 1px solid #ccd9e8;
    border-radius: 8px;
    overflow: hidden;
}
.sidebar-search-row input {
    flex: 1;
    border: none;
    padding: 8px 10px;
    font-size: 13px;
    font-family: Verdana, Geneva, sans-serif;
    outline: none;
    background: #f9fbfd;
}
.sidebar-search-row button {
    background: #0068ac;
    color: white;
    border: none;
    padding: 0 12px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}
.sidebar-search-row button:hover { background: #004f84; }

/* ── Referral card ── */
.sidebar-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    width: 100%;
    box-sizing: border-box;
}
.sidebar-card-header {
    background: linear-gradient(135deg, #0068ac 0%, #1a88d0 100%);
    color: white;
    padding: 18px 16px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.sidebar-card-header svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    opacity: 0.85;
    margin-top: 2px;
}
.sidebar-card-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
    font-family: Verdana, Geneva, sans-serif;
    margin: 0;
}
.sidebar-card-title {
    font-size: 18px;
    font-weight: bold;
    font-family: georgia, garamond, serif;
    margin: 2px 0 0;
    line-height: 1.2;
}
.sidebar-card-sub {
    font-size: 13px;
    margin: 4px 0 0;
    opacity: 0.9;
    font-family: Verdana, Geneva, sans-serif;
}
.sidebar-card-body {
    background: #ffffff;
    padding: 14px 12px 16px;
    border: 1px solid #dce6f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-sizing: border-box;
    width: 100%;
}


/* Style the CF7 form inside the sidebar */
.sidebar-card-body .wpcf7 input[type="text"],
.sidebar-card-body .wpcf7 input[type="email"],
.sidebar-card-body .wpcf7 input[type="tel"] {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccd9e8;
    border-radius: 6px;
    font-size: 13px;
    font-family: Verdana, Geneva, sans-serif;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.sidebar-card-body .wpcf7 select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccd9e8;
    border-radius: 6px;
    font-size: 13px;
    font-family: Verdana, Geneva, sans-serif;
    margin-bottom: 8px;
    box-sizing: border-box;
    background: #fff;
    max-width: 100%;
}
.sidebar-card-body .wpcf7 label {
    display: block;
    font-size: 11px;
    color: #0068ac;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
    font-family: Verdana, Geneva, sans-serif;
}
.sidebar-card-body .wpcf7 input[type="submit"] {
    width: 100%;
    background: #0068ac;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    font-family: Verdana, Geneva, sans-serif;
    transition: background 0.15s;
    margin-top: 4px;
}
.sidebar-card-body .wpcf7 input[type="submit"]:hover {
    background: #004f84;
}

/* ── Questions CTA button ── */
.sidebar-questions-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f4f7fc 0%, #e8f0f9 100%);
    border: 1px solid #ccd9e8;
    border-radius: 12px;
    text-decoration: none;
    color: #0068ac;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.sidebar-questions-btn:hover {
    background: linear-gradient(135deg, #e8f0f9 0%, #d6e6f5 100%);
    box-shadow: 0 3px 10px rgba(0,104,172,0.15);
    color: #004f84;
}
.sidebar-questions-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #0068ac;
}

/* ── Social / RSS row ── */
.sidebar-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 0 0;
    border-top: 1px solid #e0e8f0;
}
.sidebar-rss {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e86c00;
    text-decoration: none;
    font-size: 12px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bold;
    transition: color 0.15s;
}
.sidebar-rss:hover { color: #b85300; }
.sidebar-rss svg {
    width: 16px;
    height: 16px;
}


/* ==========================================================================
   LEFT SIDEBAR NAVIGATION — modern accordion
   ========================================================================== */

/* Group title (e.g. "California Offices") */
.left-nav-group-title {
    display: block;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    padding: 14px 12px 6px;
}

/* The nav list */
.left-nav .subMenu,
.leftSideBar .subMenu {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #dce6f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* Every top-level item */
.left-nav .subMenu > li,
.leftSideBar .subMenu > li {
    border-bottom: 1px solid #edf2f8;
}
.left-nav .subMenu > li:last-child,
.leftSideBar .subMenu > li:last-child {
    border-bottom: none;
}

/* Plain link rows (no children) */
.left-nav .subMenu > li > a,
.leftSideBar .subMenu > li > a {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1.3;
}
.left-nav .subMenu > li > a:hover,
.leftSideBar .subMenu > li > a:hover {
    background: #e8f0f9;
    color: #004f84;
}
.left-nav .subMenu > li.current_page_item > a,
.leftSideBar .subMenu > li.current_page_item > a {
    background: #0068ac;
    color: #fff !important;
    font-weight: bold;
}

/* Accordion toggle button */
/* Accordion row: link + separate chevron toggle */
.acc-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #edf2f8;
}
.acc-row:last-child { border-bottom: none; }

/* The clickable page link inside the accordion row */
.acc-link {
    flex: 1;
    min-width: 0;
    padding: 11px 10px 11px 14px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1.3;
    display: flex;
    align-items: center;
}
.acc-link:hover { background: #e8f0f9; color: #004f84; }
.acc-link.is-active {
    background: #0068ac;
    color: #fff !important;
    font-weight: bold;
}

/* The small chevron-only toggle button */
.acc-btn {
    background: none;
    border: none;
    border-left: 1px solid #dce6f0;
    cursor: pointer;
    padding: 0 10px;
    display: flex;
    align-items: center;
    color: #0068ac;
    transition: background 0.15s;
    flex-shrink: 0;
}
.acc-btn:hover { background: #e8f0f9; }
.acc-btn.is-open {
    background: #e0ecf8;
    color: #004f84;
}
.acc-btn .acc-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}
.acc-btn.is-open .acc-chevron { transform: rotate(180deg); }
/* Active parent row — highlight the whole row */
.acc-row.has-active > .acc-link {
    background: #0068ac;
    color: #fff !important;
    font-weight: bold;
}
.acc-row.has-active > .acc-btn {
    background: #005a94;
    color: #fff;
    border-left-color: #004f84;
}
.acc-row.has-active > .acc-btn .acc-chevron { color: #fff; }

/* Accordion panel */
.acc-panel {
    display: none;
    background: #f8fbff;
    border-top: 1px solid #dce6f0;
}
.acc-panel.is-open { display: block; }

/* Child links inside accordion */
.acc-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.acc-panel ul li { border-bottom: 1px solid #edf2f8; }
.acc-panel ul li:last-child { border-bottom: none; }
.acc-panel ul li a {
    display: block;
    padding: 9px 14px 9px 24px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    color: #444;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1.3;
}
.acc-panel ul li a:hover { background: #e8f0f9; color: #004f84 !important; }
.acc-panel ul li.current_page_item a {
    background: #0068ac;
    color: #fff !important;
    font-weight: bold;
}

/* Blog link below nav */
.blogLink {
    margin-top: 10px;
    padding: 0 2px;
}
.blogLink a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    color: #0068ac;
    text-decoration: none;
    border: 1px solid #dce6f0;
    border-radius: 8px;
    background: #f4f7fc;
    transition: background 0.15s;
}
.blogLink a:hover { background: #e0ecf8; }
.blogLink a::before { content: "→"; }

/* Service area menus (California/Arizona) */
.serviceMenu { list-style: none; margin: 0 0 12px; padding: 0; }
.serviceMenu .title,
.left-nav-group-title {
    display: block;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0068ac;
    padding: 12px 12px 6px;
    border-bottom: 2px solid #0068ac;
    margin-bottom: 2px;
}


/* ==========================================================================
   OFFICE / AREAS WE SERVE CONTENT
   ========================================================================== */

/* Google Maps iframes — full width, responsive aspect ratio */
.sideContent iframe[src*="google.com/maps"],
.sideContent iframe[src*="maps.google"],
.content iframe[src*="google.com/maps"],
.content iframe[src*="maps.google"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 350px;
    display: block;
    border: none;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Any iframe inside content that has inline width set — override it */
.sideContent iframe,
.content iframe {
    max-width: 100% !important;
}

/* Office location card — wraps h2/h3 + address block */
.sideContent h2,
.sideContent h3 {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e0eaf5;
}
.sideContent h2:first-child,
.sideContent h3:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

/* Address block styling inside page content */
.sideContent address,
.sideContent p {
    line-height: 1.7;
    color: #333;
    font-style: normal;
}

/* Bold label + value pattern (Phone:, Fax:) */
.sideContent strong {
    color: #0068ac;
}

/* "View Larger Map" link */
.sideContent a[href*="maps.google"],
.sideContent a[href*="google.com/maps"] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #0068ac;
    text-decoration: none;
    font-family: Verdana, Geneva, sans-serif;
    margin-bottom: 8px;
}
.sideContent a[href*="maps.google"]:hover,
.sideContent a[href*="google.com/maps"]:hover {
    text-decoration: underline;
}

/* Section intro paragraph (bold location summary) */
.sideContent > p:first-of-type {
    font-size: 15px;
    line-height: 1.7;
}

/* Horizontal rule between office groups */
.sideContent hr {
    border: none;
    border-top: 2px solid #e0eaf5;
    margin: 24px 0;
}

/* ==========================================================================
   TABLET  769px – 1000px
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1000px) {
    #header .menu li {
        padding: 0 5px;
        font-size: 12px;
    }
    #header .menu li a {
        font-size: 12px;
    }
    #main-nav ul li a {
        font-size: 11px;
        padding: 15px 4px;
    }
    .header-phone {
        font-size: 20px;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE  ≤ 768px
   ========================================================================== */
@media (max-width: 768px) {

    /* ── TOP BAR ── */
    /* Hide top menu links on mobile — too cramped */
    #header .menu-top-menu-container { display: none; }

    /* Top bar: just phone + social, centered */
    #header {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
        padding: 8px 12px;
        overflow: visible;
    }
    .header-phone-top {
        font-size: 18px;
        margin: 0;
        font-weight: bold;
    }
    #header .social {
        display: flex;
        gap: 8px;
        margin: 0;
    }
    #header .social div { float: none; }
    #header .social img { width: 28px; height: 28px; }

    /* ── HEADER IMAGE ── */
    .headerCT #header-img {
        height: 90px;
        background-size: cover;
        background-position: center top;
    }

    /* ── MAIN NAV HAMBURGER ── */
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
        margin-right: 0;
    }
    #main-nav {
        display: none;
        width: 100%;
        background: #32438c;
    }
    #main-nav.is-open { display: block; }
    #main-nav ul.main-nav-list,
    #main-nav #menu-main-menu { flex-direction: column; }
    #main-nav ul.main-nav-list > li,
    #main-nav #menu-main-menu > li {
        flex: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    #main-nav ul li a { padding: 14px 16px; text-align: left; font-size: 14px; }
    #main-nav ul li ul {
        display: block;
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
    }
    #main-nav ul li ul li a { padding-left: 30px; }

    /* ── CARE TYPES TABLE ── */
    /* Stack the colored service boxes vertically on mobile */
    #careTypes { display: block !important; }
    #careTypes tr { display: flex; flex-wrap: wrap; }
    #careTypes td {
        display: block !important;
        width: 50% !important;
        box-sizing: border-box;
    }
    #careTypes .container.careSlide { min-height: auto; }
    #careTypes .title { font-size: 11px; padding: 4px 2px; }
    #careTypes .content { font-size: 11px; padding: 6px 8px; }

    /* ── CONTAINER ── */
    #container { padding: 0 8px; }

    /* ── THREE-COLUMN LAYOUT → SINGLE COLUMN ── */
    .page-layout { flex-direction: column; }
    .mainContent, .mainHomeContent, .blogContainer { flex-direction: column; }
    .leftSideBar { width: 100% !important; flex: none !important; margin-bottom: 10px; }
    .sideContent { width: 100% !important; padding: 12px 8px; }
    .mainSideBar { width: 100% !important; flex: none !important; padding: 16px 0 0; }
    .search #content, .error404 #content, .archive #content { float: none; width: 100%; padding: 10px 0; }

    /* ── LEFT NAV ── */
    .left-nav .subMenu, .leftSideBar .subMenu { border-radius: 0; border: none; border-top: 1px solid #dce6f0; }

    /* ── FOOTER ── */
    .footerCT #footer-ct { flex-direction: column; }
    #footer-ct .ftable { width: 100%; padding-left: 10px; min-height: auto; }
    .footerCT #footer { min-height: auto; padding: 10px; }
    .footerCT #footer #footer-ct .menu-assisted-menu-container,
    .footerCT #footer #footer-ct .menu-types-of-care-menu-container,
    .footerCT #footer #footer-ct .menu-join-our-team-menu-container,
    .footerCT #footer #footer-ct .menu-resources-menu-container { width: 100%; }

    /* ── BLOG IMAGES ── */
    .blogimage, .blogimage2, .blogimage3 { float: none; padding: 10px 0; width: 100%; }
    .blogimagetext { float: none; width: 100%; display: block; }
    .blogimagetext2 { float: none; width: 100%; padding: 5px 0; }

    /* ── MISC ── */
    h2.breadcrumbs { font-size: 20px; padding: 15px 0; }
    .HomepageReferral { max-width: 100%; margin: 10px 0; padding: 0 10px 0 0; }
    .talentshow { max-width: 100%; }
    .landingpageheader { width: 100%; font-size: 26px; padding: 15px; }
    .landingpagetext { width: 100%; font-size: 15px; padding: 10px 15px 0; }
    .landingpageoptin, .landingpageoptinoct { max-width: 100%; float: none; margin: 10px 0; }
    .landingpagenumber, .landingpagenumberoct { width: 100%; float: none; padding: 15px 10px 0; }
    .yelpbox1, .yelpbox2 { float: none; max-width: 100%; }
    .awards { width: 45%; }

    /* ── RIGHT SIDEBAR ── */
    .sidebar-card-header { padding: 14px 12px; }
    .sidebar-card-title { font-size: 16px; }
    .mainSideBar { gap: 12px; }
}

@media (max-width: 480px) {
    .awards { width: 100%; }
    .landingpageheader { font-size: 20px; }
    #footer-ct .ftable { width: 100%; }
    #careTypes td { width: 100% !important; }
    #header .social img { width: 24px; height: 24px; }
    .header-phone-top { font-size: 16px; }
}

/* Recent blog posts on home page */
.recent-posts { margin-top: 10px; }
.recent-post { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e0e8f0; }
.recent-post:last-child { border-bottom: none; }
.recent-post h3 { font-family: georgia, garamond, serif; font-size: 20px; margin-bottom: 8px; }
.recent-post h3 a { color: #0068ac; text-decoration: none; }
.recent-post h3 a:hover { text-decoration: underline; }
.recent-post p { line-height: 1.6; color: #444; }
