/* ==================================================
   SCOUT'S HONOR RESCUE
   HOMEPAGE REDESIGN
================================================== */


/* ==================================================
   01. GLOBAL HOMEPAGE STYLES
================================================== */

#shr-home {
    --shr-green: #263b25;
    --shr-olive: #42612f;
    --shr-cream: #f3f1e8;
    --shr-gold: #ddb65c;
    --shr-white: #ffffff;
    --shr-text: #626b5d;
    --shr-border: #d7ddce;

    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--shr-white);
    color: var(--shr-green);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

#shr-home,
#shr-home * {
    box-sizing: border-box;
}

#shr-home h1,
#shr-home h2,
#shr-home h3,
#shr-home h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    text-transform: none;
    letter-spacing: -0.035em;
}

#shr-home p {
    font-family: inherit;
}

#shr-home img {
    display: block;
    max-width: 100%;
}

#shr-home a {
    text-decoration: none;
}

#shr-home a:focus-visible,
#shr-home button:focus-visible {
    outline: 3px solid var(--shr-gold);
    outline-offset: 4px;
}

#shr-home .shr-home-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 35px;
    margin: 0 auto;
}


/* ==================================================
   02. SECTION HEADINGS
================================================== */

#shr-home .shr-home-section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

#shr-home .shr-home-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--shr-olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.8px;
    line-height: 1.6;
    text-transform: uppercase;
}

#shr-home .shr-home-section-heading h2 {
    margin: 0 0 18px;
    color: var(--shr-green);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.2;
}

#shr-home .shr-home-section-heading p {
    max-width: 590px;
    margin: 0 auto;
    color: var(--shr-text);
    font-size: 14px;
    line-height: 1.85;
}


/* ==================================================
   03. BUTTONS
================================================== */

#shr-home .shr-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 14px 25px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

#shr-home .shr-home-btn-green {
    background: var(--shr-olive);
    border-color: var(--shr-olive);
    color: var(--shr-white);
}

#shr-home .shr-home-btn-green:hover {
    background: var(--shr-green);
    border-color: var(--shr-green);
    color: var(--shr-white);
}

#shr-home .shr-home-btn-gold {
    background: var(--shr-gold);
    border-color: var(--shr-gold);
    color: var(--shr-green);
}

#shr-home .shr-home-btn-gold:hover {
    background: #edca7b;
    border-color: #edca7b;
    color: var(--shr-green);
}

#shr-home .shr-home-btn-outline {
    background: transparent;
    border-color: var(--shr-olive);
    color: var(--shr-olive);
}

#shr-home .shr-home-btn-outline:hover {
    background: var(--shr-olive);
    color: var(--shr-white);
}


/* ==================================================
   04. HERO CAROUSEL
================================================== */

#shr-home .shr-home-carousel {
    position: relative;
    width: 100%;
    height: clamp(480px, 44vw, 660px);
    overflow: hidden;
    background: var(--shr-green);
}

#shr-home .shr-home-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

#shr-home .shr-home-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--shr-green);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.65s ease,
                visibility 0.65s ease;
}

#shr-home .shr-home-slide.active,
#shr-home .shr-home-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

#shr-home .shr-home-slide::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(
        90deg,
        rgba(17, 31, 16, 0.82) 0%,
        rgba(17, 31, 16, 0.60) 35%,
        rgba(17, 31, 16, 0.18) 70%,
        rgba(17, 31, 16, 0.08) 100%
    );
    pointer-events: none;
}

#shr-home .shr-home-slide > img,
#shr-home .shr-home-slide-image,
#shr-home .shr-home-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
}

#shr-home .shr-home-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    padding: 45px 35px 65px;
    margin: 0 auto;
    color: var(--shr-white);
}

#shr-home .shr-home-slide-content .shr-home-eyebrow,
#shr-home .shr-home-slide .shr-home-eyebrow {
    color: var(--shr-gold);
    font-size: 11px;
    letter-spacing: 2.5px;
}

#shr-home .shr-home-slide h1,
#shr-home .shr-home-slide h2 {
    max-width: 650px;
    margin: 0 0 20px;
    color: var(--shr-white);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
}

#shr-home .shr-home-slide h1:empty,
#shr-home .shr-home-slide h2:empty {
    display: none;
}

#shr-home .shr-home-slide p,
#shr-home .shr-home-slide-desc,
#shr-home .shr-home-slide-description {
    max-width: 550px;
    margin: 0 0 24px;
    color: var(--shr-white);
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 400;
    line-height: 1.8;
}

#shr-home .shr-home-slide-desc p,
#shr-home .shr-home-slide-description p {
    margin: 0;
}

#shr-home .shr-home-slide a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 48px;
    padding: 15px 28px;
    border-radius: 5px;
    background: var(--shr-gold);
    color: var(--shr-green);
    font-size: 14px;
    font-weight: 700;
}

#shr-home .shr-home-slide a:hover {
    background: #edca7b;
    color: var(--shr-green);
}

#shr-home .shr-home-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    background: rgba(38,59,37,0.25);
    color: var(--shr-white);
    font-size: 18px;
    cursor: pointer;
    transform: translateY(-50%);
}

#shr-home .shr-home-arrow:hover {
    background: var(--shr-green);
}

#shr-home .shr-home-prev {
    left: 18px;
}

#shr-home .shr-home-next {
    right: 18px;
}

#shr-home .shr-home-dots {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

#shr-home .shr-home-dots button,
#shr-home .shr-home-dot {
    display: block;
    width: 10px;
    height: 10px;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--shr-white);
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    transition: width 0.2s ease,
                background-color 0.2s ease;
}

#shr-home .shr-home-dots button.active,
#shr-home .shr-home-dots button.is-active,
#shr-home .shr-home-dots button[aria-current="true"],
#shr-home .shr-home-dots button[aria-selected="true"],
#shr-home .shr-home-dot.active,
#shr-home .shr-home-dot.is-active {
    width: 27px;
    border-color: var(--shr-gold);
    background: var(--shr-gold);
}

#shr-home .shr-home-pause {
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 6;
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    background: rgba(38,59,37,0.35);
    color: var(--shr-white);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
}


/* ==================================================
   05. WAYS TO HELP
================================================== */

#shr-home .shr-home-actions {
    padding: 85px 0;
    background: var(--shr-cream);
}

#shr-home .shr-home-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#shr-home .shr-home-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 340px;
    padding: 30px;
    border: 1px solid var(--shr-border);
    border-radius: 10px;
    background: var(--shr-white);
    transition: box-shadow 0.25s ease,
                transform 0.25s ease;
}

#shr-home .shr-home-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(38,59,37,0.07);
}

#shr-home .shr-home-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #e6ebdf;
    color: var(--shr-olive);
}

#shr-home .shr-home-action-icon svg {
    width: 27px;
    height: 27px;
}

#shr-home .shr-home-action-card h3 {
    margin: 0 0 15px;
    color: var(--shr-green);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

#shr-home .shr-home-card-copy {
    flex: 1;
    margin-bottom: 25px;
    color: var(--shr-text);
    font-size: 13px;
    line-height: 1.85;
}

#shr-home .shr-home-card-copy p {
    margin: 0 0 12px;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

#shr-home .shr-home-card-copy h4,
#shr-home .shr-home-card-copy strong {
    color: var(--shr-green);
}

#shr-home .shr-home-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--shr-border);
    color: var(--shr-olive);
    font-size: 13px;
    font-weight: 700;
}

#shr-home .shr-home-card-link span {
    font-size: 18px;
    transition: transform 0.2s ease;
}

#shr-home .shr-home-card-link:hover span {
    transform: translateX(4px);
}


/* ==================================================
   06. MISSION & IMPACT
================================================== */

#shr-home .shr-home-mission {
    padding: 85px 0;
    background: var(--shr-green);
    color: var(--shr-white);
}

#shr-home .shr-home-mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 90px;
}

#shr-home .shr-home-mission-copy .shr-home-eyebrow {
    color: var(--shr-gold);
}

#shr-home .shr-home-mission-copy h2 {
    max-width: 600px;
    margin: 0 0 22px;
    color: var(--shr-white);
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 700;
    line-height: 1.15;
}

#shr-home .shr-home-mission-copy p {
    max-width: 580px;
    margin: 0 0 18px;
    color: #e0e6dc;
    font-size: 14px;
    line-height: 1.85;
}

#shr-home .shr-home-mission-copy .shr-home-btn {
    margin-top: 10px;
}

#shr-home .shr-home-impact {
    width: 100%;
}

#shr-home .shr-home-impact-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

#shr-home .shr-home-impact-item:first-child {
    padding-top: 0;
}

#shr-home .shr-home-impact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

#shr-home .shr-home-impact-item strong {
    color: var(--shr-gold);
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.15;
}

#shr-home .shr-home-impact-item span {
    color: #e0e6dc;
    font-size: 13px;
    line-height: 1.6;
}


/* ==================================================
   07. FEATURED RESCUE
================================================== */

#shr-home .shr-home-adopt {
    padding: 85px 0;
    background: var(--shr-white);
}

#shr-home .shr-home-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr)
                           minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    max-width: 1040px;
    margin: 40px auto 0;
    padding: 30px;
    border: 1px solid var(--shr-border);
    border-radius: 12px;
    background: var(--shr-cream);
}

#shr-home .shr-home-featured:empty {
    display: none;
}

/* Reset legacy Bootstrap columns */

#shr-home .shr-home-featured > [class*="col-"] {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

#shr-home .shr-home-featured h2 {
    margin: 0 0 15px;
    color: var(--shr-olive);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Legacy pet gallery: display only the first image */

#shr-home .shr-home-featured .pet_pick_slider_container,
#shr-home .shr-home-featured .pet_pick_slider {
    position: relative;
    width: 100% !important;
    height: auto !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#shr-home .shr-home-featured .pet_pick_slider {
    display: block !important;
}

#shr-home .shr-home-featured .pet_pick_slider .image {
    display: none !important;
}

#shr-home .shr-home-featured .pet_pick_slider .image:first-child {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

#shr-home .shr-home-featured .pet_pick_slider .image span {
    display: block;
    width: 100%;
}

#shr-home .shr-home-featured .pet_pick_slider img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.5;
    border-radius: 9px;
    object-fit: cover;
    object-position: center;
}

#shr-home .shr-home-featured .thumbs {
    display: none !important;
}

/* Featured image styles for redesigned chunks */

#shr-home .shr-home-featured-image,
#shr-home .shr-home-pet-image {
    min-width: 0;
    overflow: hidden;
    border-radius: 9px;
}

#shr-home .shr-home-featured-image img,
#shr-home .shr-home-pet-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.5;
    border-radius: 9px;
    object-fit: cover;
    object-position: center;
}

#shr-home .shr-home-featured-content,
#shr-home .shr-home-pet-content {
    min-width: 0;
}

#shr-home .shr-home-featured .title,
#shr-home .shr-home-featured h3 {
    display: block;
    margin: 0 0 12px;
    color: var(--shr-green);
    font-size: clamp(30px, 3.5vw, 43px);
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}

#shr-home .shr-home-featured sub,
#shr-home .shr-home-pet-breed {
    position: static;
    display: block;
    margin: 0 0 16px;
    color: var(--shr-text);
    font-size: 13px;
    line-height: 1.7;
    vertical-align: baseline;
}

#shr-home .shr-home-featured .body_copy,
#shr-home .shr-home-pet-description {
    margin: 18px 0;
    color: var(--shr-text);
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

#shr-home .shr-home-featured .body_copy p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

#shr-home .shr-home-pet-badge,
#shr-home .shr-home-available-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    padding: 7px 13px;
    border-radius: 30px;
    background: #e0e9d8;
    color: var(--shr-olive);
    font-size: 11px;
    font-weight: 600;
}

#shr-home .shr-home-pet-badge::before,
#shr-home .shr-home-available-badge::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--shr-olive);
    content: "";
}

#shr-home .shr-home-pet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

#shr-home .shr-home-pet-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border: 1px solid var(--shr-border);
    border-radius: 30px;
    background: var(--shr-white);
    color: var(--shr-green);
    font-size: 11px;
    font-weight: 600;
}

#shr-home .shr-home-featured .button.general {
    display: inline-block;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#shr-home .shr-home-featured .button.general a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 13px 24px;
    border-radius: 5px;
    background: var(--shr-olive);
    color: var(--shr-white);
    font-size: 13px;
    font-weight: 700;
}

#shr-home .shr-home-featured .button.general a:hover {
    background: var(--shr-green);
}

#shr-home .shr-home-adopt-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}


/* ==================================================
   08. UPCOMING EVENTS
================================================== */

#shr-home .shr-home-events {
    padding: 85px 0;
    background: var(--shr-cream);
}

#shr-home .shr-home-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 1040px;
    margin: 40px auto 0;
}

#shr-home .shr-home-event-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding: 28px;
    border: 1px solid var(--shr-border);
    border-radius: 12px;
    background: var(--shr-white);
    transition: box-shadow 0.25s ease,
                border-color 0.25s ease;
}

#shr-home .shr-home-event-card:hover {
    border-color: #a6b49b;
    box-shadow: 0 8px 24px rgba(38,59,37,0.06);
}

#shr-home .shr-home-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 125px;
    padding: 16px 10px;
    border-radius: 8px;
    background: var(--shr-green);
    color: var(--shr-white);
    text-align: center;
}

#shr-home .shr-home-event-date span {
    color: var(--shr-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

#shr-home .shr-home-event-date strong {
    color: var(--shr-white);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

#shr-home .shr-home-event-date small {
    color: #d5ddcf;
    font-size: 12px;
}

#shr-home .shr-home-event-info {
    min-width: 0;
}

#shr-home .shr-home-event-info h3 {
    margin: 0 0 10px;
    color: var(--shr-green);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

#shr-home .shr-home-event-meta,
#shr-home .shr-home-event-location {
    margin-bottom: 6px;
    color: var(--shr-olive);
    font-size: 13px;
    font-weight: 600;
}

#shr-home .shr-home-event-description {
    margin: 12px 0;
    color: var(--shr-text);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#shr-home .shr-home-event-description:empty {
    display: none;
}

#shr-home .shr-home-event-link {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    color: var(--shr-olive);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

#shr-home .shr-home-event-link:hover {
    color: var(--shr-green);
    text-decoration: underline;
}

#shr-home .shr-home-events-footer {
    margin-top: 35px;
    text-align: center;
}

#shr-home .shr-home-events-empty {
    padding: 40px 25px;
    border: 1px solid var(--shr-border);
    border-radius: 12px;
    background: var(--shr-white);
    text-align: center;
}

#shr-home .shr-home-events-empty h3 {
    margin: 0 0 12px;
    color: var(--shr-green);
    font-size: 23px;
    font-weight: 700;
}

#shr-home .shr-home-events-empty p {
    margin: 0;
    color: var(--shr-text);
    font-size: 14px;
    line-height: 1.7;
}


/* ==================================================
   09. TABLET RESPONSIVENESS
================================================== */

@media (max-width: 1024px) {

    #shr-home .shr-home-container {
        padding-right: 30px;
        padding-left: 30px;
    }

    #shr-home .shr-home-slide-content {
        padding-right: 65px;
        padding-left: 65px;
    }

    #shr-home .shr-home-action-grid {
        gap: 18px;
    }

    #shr-home .shr-home-action-card {
        padding: 24px;
    }

    #shr-home .shr-home-mission-grid {
        gap: 50px;
    }

    #shr-home .shr-home-featured {
        gap: 28px;
        padding: 25px;
    }

}


/* ==================================================
   10. MOBILE RESPONSIVENESS
================================================== */

@media (max-width: 767px) {

    #shr-home .shr-home-container {
        padding-right: 22px;
        padding-left: 22px;
    }

    #shr-home .shr-home-actions,
    #shr-home .shr-home-mission,
    #shr-home .shr-home-adopt,
    #shr-home .shr-home-events {
        padding: 60px 0;
    }

    #shr-home .shr-home-section-heading {
        margin-bottom: 30px;
    }

    #shr-home .shr-home-section-heading h2 {
        font-size: 30px;
    }

    #shr-home .shr-home-section-heading p {
        font-size: 13px;
    }

    #shr-home .shr-home-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    /* Hero */

    #shr-home .shr-home-carousel {
        height: 540px;
    }

    #shr-home .shr-home-slide {
        background-position: center;
    }

    #shr-home .shr-home-slide::before {
        background: linear-gradient(
            0deg,
            rgba(17,31,16,0.90) 0%,
            rgba(17,31,16,0.65) 45%,
            rgba(17,31,16,0.15) 100%
        );
    }

    #shr-home .shr-home-slide-content {
        justify-content: flex-end;
        padding: 35px 28px 90px;
    }

    #shr-home .shr-home-slide h1,
    #shr-home .shr-home-slide h2 {
        margin-bottom: 15px;
        font-size: 38px;
    }

    #shr-home .shr-home-slide p,
    #shr-home .shr-home-slide-desc,
    #shr-home .shr-home-slide-description {
        font-size: 14px;
        line-height: 1.7;
    }

    #shr-home .shr-home-slide a {
        padding: 13px 20px;
        font-size: 12px;
    }

    #shr-home .shr-home-arrow {
        top: 35%;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    #shr-home .shr-home-prev {
        left: 12px;
    }

    #shr-home .shr-home-next {
        right: 12px;
    }

    #shr-home .shr-home-dots {
        bottom: 30px;
        gap: 7px;
    }

    #shr-home .shr-home-pause {
        right: 12px;
        bottom: 5px;
        font-size: 10px;
    }

    /* Ways to help */

    #shr-home .shr-home-action-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #shr-home .shr-home-action-card {
        min-height: 0;
        padding: 26px;
    }

    #shr-home .shr-home-action-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 18px;
    }

    #shr-home .shr-home-action-card h3 {
        font-size: 21px;
    }

    /* Mission */

    #shr-home .shr-home-mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #shr-home .shr-home-mission-copy h2 {
        font-size: 34px;
    }

    #shr-home .shr-home-impact-item {
        padding: 20px 0;
    }

    #shr-home .shr-home-impact-item strong {
        font-size: 44px;
    }

    /* Featured rescue */

    #shr-home .shr-home-featured {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
        padding: 20px;
    }

    #shr-home .shr-home-featured .pet_pick_slider img,
    #shr-home .shr-home-featured-image img,
    #shr-home .shr-home-pet-image img {
        aspect-ratio: 1 / 1;
    }

    #shr-home .shr-home-featured .title,
    #shr-home .shr-home-featured h3 {
        font-size: 32px;
    }

    #shr-home .shr-home-adopt-buttons {
        gap: 10px;
        margin-top: 25px;
    }

    #shr-home .shr-home-adopt-buttons .shr-home-btn {
        flex: 1 1 140px;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 12px;
    }

    /* Upcoming events */

    #shr-home .shr-home-events-grid {
        margin-top: 30px;
    }

    #shr-home .shr-home-event-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
    }

    #shr-home .shr-home-event-date {
        min-height: 100px;
        padding: 12px 6px;
    }

    #shr-home .shr-home-event-date strong {
        font-size: 32px;
    }

    #shr-home .shr-home-event-date span {
        font-size: 11px;
    }

    #shr-home .shr-home-event-info h3 {
        font-size: 20px;
    }

    #shr-home .shr-home-event-description {
        font-size: 13px;
    }

    #shr-home .shr-home-event-meta,
    #shr-home .shr-home-event-location {
        font-size: 12px;
    }

    #shr-home .shr-home-events-footer {
        margin-top: 28px;
    }

}


/* ==================================================
   11. SMALL MOBILE SCREENS
================================================== */

@media (max-width: 380px) {

    #shr-home .shr-home-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    #shr-home .shr-home-carousel {
        height: 520px;
    }

    #shr-home .shr-home-slide h1,
    #shr-home .shr-home-slide h2 {
        font-size: 32px;
    }

    #shr-home .shr-home-event-card {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    #shr-home .shr-home-event-info h3 {
        font-size: 18px;
    }

}


/* ==================================================
   12. ACCESSIBILITY
================================================== */

@media (prefers-reduced-motion: reduce) {

    #shr-home *,
    #shr-home *::before,
    #shr-home *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

}

/* ==================================================
   HERO CAROUSEL — RESPONSIVE SIZING FIX
================================================== */

#shr-home .shr-home-carousel {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(360px, 58vh, 560px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#shr-home .shr-home-slides {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#shr-home .shr-home-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Full-width hero photographs */

#shr-home .shr-home-slide > img,
#shr-home .shr-home-slide-image,
#shr-home .shr-home-slide-bg,
#shr-home .shr-home-slide .image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background-size: cover !important;
    background-position: center center !important;
}

#shr-home .shr-home-slide-image img,
#shr-home .shr-home-slide-bg img,
#shr-home .shr-home-slide .image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Image overlay */

#shr-home .shr-home-slide::before {
    background: linear-gradient(
        90deg,
        rgba(17, 31, 16, 0.78) 0%,
        rgba(17, 31, 16, 0.48) 45%,
        rgba(17, 31, 16, 0.08) 100%
    ) !important;
}

/* Hero text positioning */

#shr-home .shr-home-slide-content {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 30px 75px 55px !important;
    box-sizing: border-box !important;
}

/* Smaller, responsive headline */

#shr-home .shr-home-slide h1,
#shr-home .shr-home-slide h2 {
    max-width: 650px !important;
    font-size: clamp(30px, 3.5vw, 52px) !important;
    line-height: 1.12 !important;
    letter-spacing: -1.5px !important;
    margin: 0 0 16px !important;
    font-weight: 700 !important;
}

/* Description */

#shr-home .shr-home-slide p,
#shr-home .shr-home-slide-desc,
#shr-home .shr-home-slide-description {
    max-width: 520px !important;
    font-size: clamp(14px, 1.2vw, 17px) !important;
    line-height: 1.6 !important;
    margin: 0 0 20px !important;
}

#shr-home .shr-home-slide .shr-home-eyebrow {
    font-size: 11px !important;
    letter-spacing: 2px !important;
    margin-bottom: 14px !important;
}

/* Hero button */

#shr-home .shr-home-slide a {
    min-height: 44px !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Navigation controls */

#shr-home .shr-home-arrow {
    top: 50% !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
}

#shr-home .shr-home-prev {
    left: 18px !important;
}

#shr-home .shr-home-next {
    right: 18px !important;
}

#shr-home .shr-home-dots {
    bottom: 20px !important;
}

#shr-home .shr-home-pause {
    right: 20px !important;
    bottom: 14px !important;
}

/* Short desktop screens */

@media (min-width: 768px) and (max-height: 750px) {

    #shr-home .shr-home-carousel {
        height: 420px !important;
    }

    #shr-home .shr-home-slide h1,
    #shr-home .shr-home-slide h2 {
        font-size: clamp(28px, 3vw, 44px) !important;
    }

    #shr-home .shr-home-slide-content {
        padding-top: 20px !important;
        padding-bottom: 45px !important;
    }

}

/* Mobile */

@media (max-width: 767px) {

    #shr-home .shr-home-carousel {
        height: 480px !important;
    }

    #shr-home .shr-home-slide-content {
        justify-content: flex-end !important;
        padding: 30px 26px 65px !important;
    }

    #shr-home .shr-home-slide h1,
    #shr-home .shr-home-slide h2 {
        font-size: 34px !important;
        line-height: 1.12 !important;
        letter-spacing: -1px !important;
    }

    #shr-home .shr-home-slide p,
    #shr-home .shr-home-slide-desc,
    #shr-home .shr-home-slide-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    #shr-home .shr-home-slide::before {
        background: linear-gradient(
            0deg,
            rgba(17, 31, 16, 0.92) 0%,
            rgba(17, 31, 16, 0.65) 45%,
            rgba(17, 31, 16, 0.05) 100%
        ) !important;
    }

    #shr-home .shr-home-arrow {
        top: 35% !important;
        width: 32px !important;
        height: 32px !important;
    }

    #shr-home .shr-home-prev {
        left: 10px !important;
    }

    #shr-home .shr-home-next {
        right: 10px !important;
    }

    #shr-home .shr-home-dots {
        bottom: 28px !important;
    }

    #shr-home .shr-home-pause {
        bottom: 5px !important;
        right: 10px !important;
    }

}
/* ==================================================
   SCOUT'S HONOR RESCUE
   SPLIT-LAYOUT HERO CAROUSEL
================================================== */

#shr-home .shr-home-carousel {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(440px, 55vh, 520px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #263b25 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#shr-home .shr-home-slides {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==================================================
   SLIDE STRUCTURE
================================================== */

#shr-home .shr-home-slide {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    grid-template-columns: 45% 55% !important;
    grid-template-rows: minmax(0, 1fr);
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #263b25 !important;
    overflow: hidden !important;
}

/* Remove old full-width overlays */

#shr-home .shr-home-slide::before,
#shr-home .shr-home-slide::after {
    content: none !important;
    display: none !important;
}

#shr-home .shr-home-slide-overlay {
    display: none !important;
}

/* ==================================================
   LEFT TEXT PANEL
================================================== */

#shr-home .shr-home-slide-content {
    position: relative !important;
    grid-column: 1;
    grid-row: 1;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 35px clamp(45px, 5vw, 100px) 65px !important;
    box-sizing: border-box !important;
    background: #263b25 !important;
    color: #ffffff !important;
    text-align: left !important;
    transform: none !important;
    inset: auto !important;
}

/* Eyebrow */

#shr-home .shr-home-slide-content .shr-home-eyebrow {
    display: block;
    color: #ddb65c !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    line-height: 1.5 !important;
    text-transform: uppercase;
    margin: 0 0 18px !important;
}

/* Headlines */

#shr-home .shr-home-slide-content h1,
#shr-home .shr-home-slide-content h2 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(30px, 3.1vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -1.4px !important;
    text-transform: none !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    overflow-wrap: break-word;
}

/* Descriptions */

#shr-home .shr-home-slide-description {
    color: #e8ede4 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(14px, 1.1vw, 16px) !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    max-width: 480px !important;
    margin: 0 0 25px !important;
}

#shr-home .shr-home-slide-description p {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    margin: 0 0 8px !important;
}

#shr-home .shr-home-slide-description p:last-child {
    margin-bottom: 0 !important;
}

/* Gold CTA button */

#shr-home .shr-home-slide-content .shr-home-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: auto !important;
    max-width: 100%;
    min-height: 44px !important;
    padding: 13px 24px !important;
    box-sizing: border-box;
    border: 1px solid #ddb65c !important;
    border-radius: 5px !important;
    background: #ddb65c !important;
    color: #263b25 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background 0.2s ease;
}

#shr-home .shr-home-slide-content .shr-home-btn:hover {
    background: #ebc978 !important;
    border-color: #ebc978 !important;
}

/* ==================================================
   RIGHT PHOTOGRAPH PANEL
================================================== */

#shr-home .shr-home-slide-image {
    position: relative !important;
    grid-column: 2;
    grid-row: 1;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #34482e !important;
}

/* Blurred photograph fills unused space */

#shr-home .shr-home-photo-backdrop {
    position: absolute;
    inset: -25px;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(25px) brightness(0.65);
    transform: scale(1.08);
}

/* Display the entire original photograph */

#shr-home .shr-home-slide-image img {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* ==================================================
   CAROUSEL NAVIGATION
================================================== */

#shr-home .shr-home-arrow {
    position: absolute !important;
    z-index: 10 !important;
    top: 50% !important;
    bottom: auto !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 50% !important;
    background: rgba(38,59,37,0.55) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    cursor: pointer;
    transform: translateY(-50%) !important;
}

#shr-home .shr-home-prev {
    left: 12px !important;
    right: auto !important;
}

#shr-home .shr-home-next {
    right: 15px !important;
    left: auto !important;
}

#shr-home .shr-home-arrow:hover {
    background: #ddb65c !important;
    color: #263b25 !important;
}

#shr-home .shr-home-dots {
    position: absolute !important;
    z-index: 10 !important;
    bottom: 22px !important;
    left: 0 !important;
    right: auto !important;
    width: 45% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px !important;
    transform: none !important;
}

#shr-home .shr-home-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
}

#shr-home .shr-home-dots button.active,
#shr-home .shr-home-dots button.is-active,
#shr-home .shr-home-dots button[aria-current="true"] {
    width: 24px;
    background: #ddb65c;
    border-color: #ddb65c;
}

#shr-home .shr-home-pause {
    position: absolute !important;
    z-index: 10 !important;
    bottom: 16px !important;
    right: 18px !important;
    padding: 7px 13px !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 4px !important;
    background: rgba(38,59,37,0.65) !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px !important;
    cursor: pointer;
}

#shr-home .shr-home-arrow:focus-visible,
#shr-home .shr-home-pause:focus-visible,
#shr-home .shr-home-dots button:focus-visible {
    outline: 2px solid #ddb65c;
    outline-offset: 4px;
}

/* ==================================================
   TABLET
================================================== */

@media (min-width: 768px) and (max-width: 1100px) {

    #shr-home .shr-home-carousel {
        height: 460px !important;
    }

    #shr-home .shr-home-slide {
        grid-template-columns: 48% 52% !important;
    }

    #shr-home .shr-home-slide-content {
        padding: 30px 48px 60px !important;
    }

    #shr-home .shr-home-slide-content h2 {
        font-size: 32px !important;
    }

    #shr-home .shr-home-dots {
        width: 48% !important;
    }

}

/* ==================================================
   MOBILE — PHOTO ABOVE TEXT
================================================== */

@media (max-width: 767px) {

    #shr-home .shr-home-carousel {
        height: 660px !important;
    }

    #shr-home .shr-home-slide {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: 280px minmax(0, 1fr) !important;
    }

    #shr-home .shr-home-slide-image {
        grid-column: 1;
        grid-row: 1;
        width: 100% !important;
        height: 280px !important;
    }

    #shr-home .shr-home-slide-content {
        grid-column: 1;
        grid-row: 2;
        justify-content: center !important;
        padding: 24px 25px 65px !important;
    }

    #shr-home .shr-home-slide-content .shr-home-eyebrow {
        font-size: 9px !important;
        margin-bottom: 12px !important;
        letter-spacing: 1.5px !important;
    }

    #shr-home .shr-home-slide-content h1,
    #shr-home .shr-home-slide-content h2 {
        font-size: 30px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.8px !important;
        margin-bottom: 12px !important;
    }

    #shr-home .shr-home-slide-description {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    #shr-home .shr-home-slide-content .shr-home-btn {
        font-size: 12px !important;
        padding: 12px 18px !important;
    }

    #shr-home .shr-home-arrow {
        top: 140px !important;
        width: 32px !important;
        height: 32px !important;
    }

    #shr-home .shr-home-prev {
        left: 10px !important;
    }

    #shr-home .shr-home-next {
        right: 10px !important;
    }

    #shr-home .shr-home-dots {
        width: 100% !important;
        bottom: 40px !important;
    }

    #shr-home .shr-home-pause {
        bottom: 8px !important;
        right: 15px !important;
    }

}

@media (max-width: 380px) {

    #shr-home .shr-home-carousel {
        height: 700px !important;
    }

    #shr-home .shr-home-slide {
        grid-template-rows: 240px minmax(0, 1fr) !important;
    }

    #shr-home .shr-home-slide-image {
        height: 240px !important;
    }

    #shr-home .shr-home-arrow {
        top: 120px !important;
    }

    #shr-home .shr-home-slide-content h2 {
        font-size: 27px !important;
    }

}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {

    #shr-home .shr-home-slide,
    #shr-home .shr-home-btn {
        transition: none !important;
    }

}
/* HERO IMAGE REFINEMENT */

#shr-home .shr-home-slide-image {
    overflow: hidden;
    background: #263b25;
}

#shr-home .shr-home-slide-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
}

#shr-home .shr-home-slide-image::before,
#shr-home .shr-home-slide-image::after {
    display: none !important;
}
/* Hero image positioning */

#shr-home .shr-home-slide-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
}
/* Display full hero photographs */

#shr-home .shr-home-slide-image {
    background: #263b25;
    overflow: hidden;
}

#shr-home .shr-home-slide-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* ==========================================
   SCOUT'S HONOR RESCUE
   EDITORIAL COLLAGE HERO
========================================== */

#shr-home .shr-home-carousel {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: #263b25;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

#shr-home .shr-home-slides {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* ==========================================
   SLIDE LAYOUT
========================================== */

#shr-home .shr-home-slide {
    position: relative !important;
    inset: auto !important;
    display: none !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
    width: 100%;
    max-width: 1440px;
    height: auto !important;
    min-height: 540px !important;
    max-height: none !important;
    margin: 0 auto;
    padding: 48px 65px 72px;
    box-sizing: border-box;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

#shr-home .shr-home-slide.is-active {
    display: grid !important;
}

#shr-home .shr-home-carousel:not(.is-ready)
.shr-home-slide:first-child {
    display: grid !important;
}

/* Remove legacy image overlays */

#shr-home .shr-home-slide::before,
#shr-home .shr-home-slide::after,
#shr-home .shr-home-slide-overlay,
#shr-home .shr-home-slide-image {
    display: none !important;
}

/* ==========================================
   HERO TEXT
========================================== */

#shr-home .shr-home-slide-content {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100% !important;
    max-width: 600px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    color: #ffffff;
    text-align: left;
    box-sizing: border-box;
}

#shr-home .shr-home-slide-content
.shr-home-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #ddb65c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

#shr-home .shr-home-slide-content h2 {
    margin: 0 0 22px !important;
    color: #ffffff !important;
    font-size: clamp(34px, 3.2vw, 52px) !important;
    font-weight: 750;
    line-height: 1.12 !important;
    letter-spacing: -1.5px;
    text-transform: none;
}

#shr-home .shr-home-slide-description {
    width: 100%;
    max-width: 530px;
    margin: 0 0 26px !important;
    color: #f3f1e8;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

#shr-home .shr-home-slide-description p {
    margin: 0 0 10px;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

#shr-home .shr-home-slide-description p:last-child {
    margin-bottom: 0;
}

#shr-home .shr-home-slide-content
.shr-home-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 48px;
    padding: 14px 26px;
    border: 0;
    border-radius: 6px;
    background: #ddb65c;
    color: #263b25;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

#shr-home .shr-home-slide-content
.shr-home-btn-gold:hover {
    background: #ebc878;
}

/* ==========================================
   THREE-PHOTO COLLAGE
========================================== */

#shr-home .shr-home-collage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
    height: 420px;
    padding: 0;
    box-sizing: border-box;
}

/* Shared photo frame styling */

#shr-home .shr-home-photo {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #354a30;
    box-sizing: border-box;
}

/* Large portrait photograph */

#shr-home .shr-home-photo-main {
    height: 100%;
    max-height: 420px;
}

/* Two smaller photographs */

#shr-home .shr-home-photo-stack {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 15px;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

#shr-home .shr-home-photo-secondary,
#shr-home .shr-home-photo-tertiary {
    height: 100%;
}

/* Prevent stretching and oversized images */

#shr-home .shr-home-photo img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: center 35% !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Hide images without a source */

#shr-home .shr-home-photo img:not([src]),
#shr-home .shr-home-photo img[src=""] {
    display: none !important;
}

/* Support smaller photo collections */

#shr-home .shr-home-collage.has-one-photo {
    grid-template-columns: 1fr;
}

#shr-home .shr-home-collage.has-one-photo
.shr-home-photo-stack {
    display: none;
}

#shr-home .shr-home-collage.has-two-photos
.shr-home-photo-stack {
    grid-template-rows: 1fr;
}

#shr-home .shr-home-collage.has-two-photos
.shr-home-photo-tertiary {
    display: none;
}

#shr-home .shr-home-collage.has-no-photos {
    display: none;
}

/* ==========================================
   CAROUSEL ARROWS
========================================== */

#shr-home .shr-home-arrow {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(38, 59, 37, 0.65);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transform: translateY(-50%) !important;
}

#shr-home .shr-home-prev {
    left: 15px !important;
    right: auto !important;
}

#shr-home .shr-home-next {
    right: 15px !important;
    left: auto !important;
}

#shr-home .shr-home-arrow:hover {
    border-color: #ddb65c;
    background: #42612f;
}

/* ==========================================
   CAROUSEL DOTS
========================================== */

#shr-home .shr-home-dots {
    position: absolute !important;
    bottom: 24px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto !important;
    margin: 0;
    transform: translateX(-50%) !important;
}

#shr-home .shr-home-dot {
    display: block;
    width: 9px;
    height: 9px;
    min-width: 9px;
    min-height: 9px;
    padding: 0;
    border: 1px solid #f3f1e8;
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    transition: width 0.2s ease;
}

#shr-home .shr-home-dot.is-active {
    width: 26px;
    border-color: #ddb65c;
    background: #ddb65c;
}

/* ==========================================
   PAUSE BUTTON
========================================== */

#shr-home .shr-home-pause {
    position: absolute !important;
    top: auto !important;
    bottom: 17px !important;
    right: 22px !important;
    left: auto !important;
    z-index: 10;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 5px;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    transform: none !important;
}

#shr-home .shr-home-carousel [hidden] {
    display: none !important;
}

#shr-home .shr-home-carousel button:focus-visible,
#shr-home .shr-home-carousel a:focus-visible {
    outline: 3px solid #ddb65c;
    outline-offset: 4px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

    #shr-home .shr-home-slide {
        gap: 30px;
        min-height: 470px !important;
        padding: 40px 55px 65px;
    }

    #shr-home .shr-home-collage {
        height: 350px;
        gap: 12px;
    }

    #shr-home .shr-home-photo-stack {
        gap: 12px;
    }

    #shr-home .shr-home-slide-content h2 {
        font-size: clamp(30px, 4vw, 42px) !important;
    }

    #shr-home .shr-home-slide-description {
        font-size: 14px;
        line-height: 1.7;
    }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    #shr-home .shr-home-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        min-height: 0 !important;
        padding: 36px 24px 70px;
    }

    #shr-home .shr-home-slide-content {
        align-items: flex-start;
        max-width: 100% !important;
    }

    #shr-home .shr-home-slide-content
    .shr-home-eyebrow {
        font-size: 10px;
        margin-bottom: 14px;
    }

    #shr-home .shr-home-slide-content h2 {
        font-size: clamp(30px, 7vw, 40px) !important;
        margin-bottom: 16px !important;
        letter-spacing: -0.8px;
    }

    #shr-home .shr-home-slide-description {
        font-size: 14px;
        margin-bottom: 20px !important;
    }

    #shr-home .shr-home-collage {
        height: clamp(250px, 75vw, 350px);
        gap: 10px;
    }

    #shr-home .shr-home-photo-stack {
        gap: 10px;
    }

    #shr-home .shr-home-photo {
        border-radius: 12px;
    }

    #shr-home .shr-home-arrow {
        top: auto !important;
        bottom: 13px !important;
        width: 30px;
        height: 30px;
        font-size: 12px;
        transform: none !important;
    }

    #shr-home .shr-home-prev {
        left: 20px !important;
    }

    #shr-home .shr-home-next {
        left: 58px !important;
        right: auto !important;
    }

    #shr-home .shr-home-dots {
        bottom: 23px !important;
        gap: 6px;
    }

    #shr-home .shr-home-dot {
        width: 7px;
        height: 7px;
        min-width: 7px;
        min-height: 7px;
    }

    #shr-home .shr-home-dot.is-active {
        width: 17px;
    }

    #shr-home .shr-home-pause {
        bottom: 14px !important;
        right: 16px !important;
        padding: 7px 10px;
        font-size: 10px;
    }

}

@media (prefers-reduced-motion: reduce) {

    #shr-home .shr-home-carousel *,
    #shr-home .shr-home-carousel *::before,
    #shr-home .shr-home-carousel *::after {
        animation: none !important;
        transition: none !important;
    }

}

/* ==========================================
   HERO COLLAGE - LAYOUT CORRECTIONS
========================================== */

#shr-home .shr-home-carousel {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#shr-home .shr-home-slides {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#shr-home .shr-home-slide {
    width: 100% !important;
    max-width: 1400px !important;
    min-width: 0 !important;
    min-height: 480px !important;
    margin: 0 auto !important;
    padding: 40px 70px 65px !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0, 0.9fr)
                           minmax(0, 1.1fr) !important;
    gap: 45px !important;
}

#shr-home .shr-home-slide-content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

#shr-home .shr-home-slide-content h2 {
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1.15 !important;
    overflow-wrap: break-word;
}

#shr-home .shr-home-slide-description {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* Collage dimensions */

#shr-home .shr-home-collage {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 360px !important;
    grid-template-columns: minmax(0, 1.1fr)
                           minmax(0, 1fr) !important;
    gap: 12px !important;
}

#shr-home .shr-home-photo-main {
    height: 360px !important;
}

#shr-home .shr-home-photo-stack {
    height: 360px !important;
    gap: 12px !important;
}

#shr-home .shr-home-photo {
    min-width: 0 !important;
    max-width: 100% !important;
    border-radius: 14px !important;
}

#shr-home .shr-home-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

#shr-home .shr-home-collage.has-one-photo {
    grid-template-columns: 1fr !important;
}

/* Navigation */

#shr-home .shr-home-prev {
    left: 16px !important;
}

#shr-home .shr-home-next {
    right: 16px !important;
}

#shr-home .shr-home-dots {
    bottom: 22px !important;
}

/* Mobile */

@media (max-width: 767px) {

    #shr-home .shr-home-slide {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 30px 24px 65px !important;
        gap: 25px !important;
        min-height: 0 !important;
    }

    #shr-home .shr-home-collage,
    #shr-home .shr-home-photo-main,
    #shr-home .shr-home-photo-stack {
        height: 280px !important;
    }

    #shr-home .shr-home-slide-content h2 {
        font-size: 32px !important;
    }

    #shr-home .shr-home-slide-description {
        font-size: 14px !important;
    }

    #shr-home .shr-home-prev {
        left: 20px !important;
    }

    #shr-home .shr-home-next {
        left: 58px !important;
        right: auto !important;
    }

}
/* =========================================
   HERO COLLAGE - ORIGINAL PHOTO PROPORTIONS
========================================= */

#shr-home .shr-home-photo {
    overflow: hidden;
    background: #344830;
}

#shr-home .shr-home-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}

#shr-home .shr-home-collage.has-one-photo {
    grid-template-columns: minmax(0, 1fr) !important;
}

#shr-home .shr-home-collage.has-one-photo
.shr-home-photo-main {
    grid-column: 1 / -1;
}

#shr-home .shr-home-collage.has-two-photos
.shr-home-photo-stack {
    grid-template-rows: minmax(0, 1fr) !important;
}

#shr-home .shr-home-photo-stack[hidden] {
    display: none !important;
}

#shr-home .shr-home-collage.has-no-photos {
    display: none !important;
}
/* Main portrait */
#shr-home .shr-home-photo-main img {
    object-position: center 35% !important;
}

/* Top right photograph */
#shr-home .shr-home-photo-secondary img {
    object-position: center 40% !important;
}

/* Bottom right photograph */
#shr-home .shr-home-photo-tertiary img {
    object-position: center 35% !important;
}
/* ==========================================
   HERO COLLAGE — INDIVIDUAL PHOTO POSITIONING
========================================== */

#shr-home .shr-home-collage .shr-home-photo {
    position: relative;
    overflow: hidden !important;
}

#shr-home .shr-home-collage .shr-home-photo img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;

    object-position:
        var(--photo-x, 50%)
        var(--photo-y, 50%) !important;

    transform-origin:
        var(--photo-x, 50%)
        var(--photo-y, 50%) !important;

    transform:
        scale(var(--photo-zoom, 100%)) !important;

    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* PET PICK — Prevent photo cropping */

#shr-home .shr-home-featured .pet_pick_slider img,
#shr-home .shr-home-featured-image img,
#shr-home .shr-home-pet-image img {
    object-fit: contain !important;
}
/* =========================================
   PET PICK — EDITORIAL PET INFORMATION
========================================= */

#shr-home .shr-pet-notes {
    margin: 22px 0;
    padding: 20px 0;
    border-top: 1px solid #d4d9ca;
    border-bottom: 1px solid #d4d9ca;
}

#shr-home .shr-pet-notes h4 {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: #263b25;
    margin: 0 0 16px;
    padding: 0;
}

#shr-home .shr-pet-notes-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

#shr-home .shr-pet-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #263b25;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

#shr-home .shr-pet-note svg {
    display: block;
    width: 23px;
    height: 23px;
    min-width: 23px;
    flex-shrink: 0;
    fill: none;
    stroke: #42612f;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#shr-home .shr-pet-note span {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Hide the section when no conditions apply */

#shr-home .shr-pet-notes:not(:has(.shr-pet-note)) {
    display: none;
}

/* Mobile adjustments */

@media (max-width: 767px) {

    #shr-home .shr-pet-notes {
        margin: 18px 0;
        padding: 18px 0;
    }

    #shr-home .shr-pet-notes h4 {
        font-size: 14px;
        margin-bottom: 14px;
    }

    #shr-home .shr-pet-note {
        font-size: 13px;
        gap: 10px;
    }

    #shr-home .shr-pet-note svg {
        width: 21px;
        height: 21px;
        min-width: 21px;
    }

}