/* ------------------------------------------------------------------
   Skilled nursing additions
   Loaded after style.css. Only adds new classes (prefixed .sn-) so the
   original template styles stay untouched.
   ------------------------------------------------------------------ */

:root {
    --sn-navy: #053257;
    --sn-blue: #084D86;
    --sn-bright: #0E87EA;
    --sn-sky: #9CCFF9;
    --sn-pale: #E6F3FE;
    --sn-text: #46586A;
}

/* --- service icons ------------------------------------------------ */

.sn-icon-figure {
    width: auto !important;
    max-width: none !important;
}

.sn-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .14);
    border: 1px solid rgba(156, 207, 249, .45);
    color: #FFFFFF;
    font-size: 26px;
    line-height: 1;
    transition: all .3s ease;
}

.sn-service-icon i {
    line-height: 1;
}

.sn-card:hover .sn-service-icon,
.elementor-image-box-wrapper:hover .sn-service-icon {
    background-color: var(--sn-bright);
    border-color: var(--sn-bright);
    transform: translateY(-4px);
}

/* icon on a light background */
.sn-service-icon--light {
    background-color: var(--sn-pale);
    border-color: rgba(8, 77, 134, .18);
    color: var(--sn-blue);
}

.sn-service-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* --- section helpers ---------------------------------------------- */

.sn-section {
    padding: 60px 20px;
}

.sn-wrap {
    max-width: 1140px;
    margin: 0 auto;
}

.sn-eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--sn-bright);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 13px;
}

.sn-group-heading {
    margin: 0 0 8px;
    color: var(--sn-navy);
    font-size: 32px;
    line-height: 1.25;
}

.sn-group-sub {
    max-width: 760px;
    margin: 0 auto 10px;
    color: var(--sn-text);
    font-size: 16px;
    line-height: 1.7;
}

.sn-center {
    text-align: center;
}

/* --- credential badges -------------------------------------------- */

.sn-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.sn-badges li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 40px;
    background-color: var(--sn-pale);
    border: 1px solid rgba(8, 77, 134, .15);
    color: var(--sn-blue);
    font-size: 14px;
    font-weight: 600;
}

.sn-badges li i {
    color: var(--sn-bright);
}

.sn-badges--onDark li {
    background-color: rgba(255, 255, 255, .12);
    border-color: rgba(156, 207, 249, .35);
    color: #FFFFFF;
}

.sn-badges--onDark li i {
    color: var(--sn-sky);
}

/* --- check list ---------------------------------------------------- */

.sn-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.sn-list li {
    position: relative;
    padding: 0 0 10px 30px;
    color: var(--sn-text);
    font-size: 16px;
    line-height: 1.6;
}

.sn-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 2px;
    left: 0;
    color: var(--sn-bright);
    font-size: 14px;
}

/* --- service cards on the services page ---------------------------- */

.sn-service-long {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.7;
}

.sn-more {
    margin: 14px 0 0;
}

.sn-more > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    color: var(--sn-sky);
    font-size: 14px;
    font-weight: 700;
}

.sn-more > summary::-webkit-details-marker {
    display: none;
}

.sn-more > summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 11px;
    transition: transform .25s ease;
}

.sn-more[open] > summary::after {
    transform: rotate(180deg);
}

/* --- blog ---------------------------------------------------------- */

/* inherits the card's text colour, so it works on the light and dark card styles */
.sn-post-excerpt {
    margin: 10px 0 16px;
    color: inherit;
    opacity: .82;
    font-size: 15px;
    line-height: 1.65;
}

.sn-post-meta {
    margin: 6px 0 0;
    color: var(--sn-bright);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.sn-post-lead {
    margin: 0;
    color: var(--sn-navy);
    font-size: 19px;
    line-height: 1.7;
    font-weight: 600;
}

.sn-post-body {
    color: var(--sn-text);
    font-size: 17px;
    line-height: 1.8;
}

.sn-post-body h3 {
    margin: 34px 0 12px;
    color: var(--sn-navy);
    font-size: 24px;
    line-height: 1.35;
}

.sn-post-body p {
    margin: 0 0 18px;
}

.sn-post-body ul,
.sn-post-body ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.sn-post-body li {
    margin: 0 0 10px;
}

.sn-post-body strong {
    color: var(--sn-navy);
}

.sn-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E3E3E3;
    border-radius: 12px;
    background-color: #FFFFFF;
    text-decoration: none;
    transition: all .3s ease;
}

.sn-post-card:hover {
    border-color: var(--sn-bright);
    transform: translateY(-4px);
}

.sn-post-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.sn-post-card-body {
    padding: 22px 24px 26px;
}

.sn-post-card-body h3 {
    margin: 8px 0 10px;
    color: var(--sn-navy);
    font-size: 19px;
    line-height: 1.4;
}

.sn-post-card-body p {
    margin: 0;
    color: var(--sn-text);
    font-size: 15px;
    line-height: 1.65;
}

/* --- notice / disclosure strip ------------------------------------- */

.sn-note {
    margin: 24px auto 0;
    max-width: 900px;
    padding: 16px 20px;
    border-left: 4px solid var(--sn-bright);
    background-color: var(--sn-pale);
    color: var(--sn-navy);
    font-size: 15px;
    line-height: 1.7;
}

/* --- call to action strip ------------------------------------------ */

.sn-cta {
    margin: 0;
    padding: 48px 24px;
    background-color: var(--sn-navy);
    color: #FFFFFF;
    text-align: center;
}

.sn-cta h2 {
    margin: 0 0 12px;
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1.3;
}

.sn-cta p {
    max-width: 720px;
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.7;
}

.sn-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.sn-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    background-color: var(--sn-bright);
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.sn-btn:hover {
    background-color: #FFFFFF;
    color: var(--sn-navy);
}

.sn-btn--ghost {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .6);
}

@media (max-width: 767px) {
    .sn-group-heading {
        font-size: 26px;
    }

    .sn-service-icon,
    .sn-service-icon-img {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}
