/* =============================================
   Nursing Home Customizations
   ============================================= */

/* --- Base typography --- */
body {
    font-size: 18px;
}
p {
    line-height: 1.85em;
}

/* --- About images: white border on overlapping image --- */
.about-image-2 img {
    border: 6px solid var(--white-color);
    box-shadow: 0px 4px 14px 0px #0000000D;
}

/* --- Normal system cursor --- */
*, *:hover {
    cursor: auto !important;
}
a, button, [role="button"], label, select,
input[type="submit"], input[type="button"],
input[type="reset"], .btn, .nav-link,
.slicknav_btn, .slicknav_item {
    cursor: pointer !important;
}

/* Hide the custom cursor element */
.cb-cursor {
    display: none !important;
}

/* --- Remove preloader --- */
.preloader {
    display: none !important;
}

/* --- Disable WOW.js scroll-in animations --- */
.wow {
    visibility: visible !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* --- Fix reveal images (hidden by default, shown by GSAP) --- */
.reveal {
    visibility: visible !important;
}

/* --- Typography: headings and lists in content areas --- */
.post-entry h1, .post-entry h2, .post-entry h3,
.post-entry h4, .post-entry h5, .post-entry h6,
.page-content h1, .page-content h2, .page-content h3,
.page-content h4, .page-content h5, .page-content h6,
.cms-plugin h1, .cms-plugin h2, .cms-plugin h3,
.cms-plugin h4, .cms-plugin h5, .cms-plugin h6 {
    margin-bottom: 2rem;
}

.post-entry ul, .post-entry ol,
.page-content ul, .page-content ol,
.cms-plugin ul, .cms-plugin ol {
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.post-entry ul li, .post-entry ol li,
.page-content ul li, .page-content ol li,
.cms-plugin ul li, .cms-plugin ol li {
    font-size: inherit;
    /* line-height: inherit; */
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Sidebar layout gutter (overrides theme's hardcoded 15px row padding) --- */
.sidebar-row {
    margin-right: -2rem;
    margin-left: -2rem;
}
.sidebar-row > * {
    padding-right: 2rem;
    padding-left: 2rem;
}

/* --- Page content area spacing --- */
.page-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* --- Sidebar menu --- */
.sidebar-menu > ul {
    margin-bottom: 2.5rem;
}
.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sidebar-menu ul li a {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 10px;
}
.sidebar-menu ul li a::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.6rem;
    flex-shrink: 0;
    background-image: url('../images/arrow-primary.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.sidebar-menu ul li a:hover,
.sidebar-menu ul li.active > a {
    background-color: #F6E5D5;
    color: var(--accent-color);
}
.sidebar-menu ul li a:hover::before,
.sidebar-menu ul li.active > a::before {
    background-image: url('../images/arrow-accent.svg');
}
.sidebar-menu ul ul {
    padding-left: 1rem;
    margin-top: 3px;
    gap: 2px;
}
.sidebar-menu ul ul li a {
    font-size: 1rem;
    font-weight: 500;
    background-color: transparent;
}
.sidebar-menu ul ul li a:hover,
.sidebar-menu ul ul li.active > a {
    background-color: transparent;
}

/* --- News detail section headings (Gallery, Documents) --- */
.news-gallery h4,
.news-documents h4 {
    margin-bottom: 2rem;
}

/* --- File list (news documents + CMS file plugin) --- */
.file-list { margin: 0; padding: 0; }
.file-list-item { margin-bottom: 0.5rem; }
.file-list-item-link,
.file-list .file-list-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.file-list-item-link:hover,
.file-list .file-list-item a:hover { color: var(--accent-color); }
.file-list-item-link .bi,
.file-list .file-list-item a .bi { font-size: 1.2rem; flex-shrink: 0; }

/* --- News gallery --- */
.news-gallery .gallery-items img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: opacity 0.2s;
}
.news-gallery .gallery-items a:hover img { opacity: 0.85; }

/* --- Post date --- */
.post-item-date {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}
.post-item-date i { margin-right: 0.25rem; }

/* --- Section title tag (h3) pill style --- */
.section-title h3 {
    background-color: #F6E5D5;
    border-radius: 50px;
    padding: 0.25rem 0.85rem;
}
.section-title h3::before {
    display: none;
}

/* --- Bootstrap Icons inside icon-boxes --- */
.hero-benefit-item .icon-box .bi,
.service-body .icon-box .bi,
.why-choose-item .icon-box .bi {
    position: relative;
    z-index: 1;
    color: #fff;
}
.hero-benefit-item .icon-box .bi { font-size: 1.4rem; }
.service-body .icon-box .bi { font-size: 1.3rem; }
.why-choose-item .icon-box .bi { font-size: 1.5rem; }

/* --- Disable text split animations (shown by GSAP) --- */
.text-anime-style-1,
.text-anime-style-2,
.text-anime-style-3 {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}
