/* Scheduled collections page sections */

/* Service Excellence feature cards */
.lwc-scheduled-excellence-cards {
    background: transparent;
    padding-top: 1px;
    padding-bottom: 80px;
}

.lwc-scheduled-feature-card {
    --lwc-blue: #0772ba;
    --lwc-blue-deep: #055a94;
    --lwc-ink: #14201d;
    --lwc-muted: #5a6b67;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(7, 114, 186, 0.12);
    border-top: 3px solid var(--lwc-blue);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lwc-scheduled-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(7, 114, 186, 0.12);
    border-top-color: #28a745;
}

.lwc-scheduled-feature-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a2e44;
}

.lwc-scheduled-feature-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.lwc-scheduled-feature-card:hover .lwc-scheduled-feature-card__media img {
    transform: scale(1.04);
}

.lwc-scheduled-feature-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.35rem 1.25rem 1.4rem;
}

.lwc-scheduled-feature-card__title {
    margin: 0 0 0.55rem;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--lwc-ink);
}

.lwc-scheduled-feature-card__text {
    margin: 0 0 1.1rem;
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--lwc-muted);
}

.lwc-scheduled-feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    margin-top: auto;
    color: var(--lwc-blue);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(7, 114, 186, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.lwc-scheduled-feature-card__link::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.lwc-scheduled-feature-card__link:hover {
    color: var(--lwc-blue-deep);
    border-bottom-color: var(--lwc-blue-deep);
    gap: 0.55rem;
}

/* Contract Terms */
.lwc-scheduled-terms {
    --lwc-blue: #0772ba;
    --lwc-line: rgba(20, 32, 29, 0.1);
    background: transparent;
}

.lwc-scheduled-terms__list {
    display: flex;
    flex-direction: column;
}

.lwc-scheduled-terms__item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--lwc-line);
    transition: transform 0.25s ease;
}

.lwc-scheduled-terms__item:first-child {
    padding-top: 0;
}

.lwc-scheduled-terms__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.lwc-scheduled-terms__item:hover {
    transform: translateX(4px);
}

.lwc-scheduled-terms__index {
    flex: 0 0 auto;
    display: inline-block;
    min-width: 1.6rem;
    margin-top: 0.15rem;
    color: var(--lwc-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.lwc-scheduled-terms__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
}

/* Mobile-only line break for term 07 — hidden on tablet/desktop */
.lwc-scheduled-terms__br-mobile {
    display: none;
}

@media (max-width: 575.98px) {
    .lwc-scheduled-terms__br-mobile {
        display: block;
    }
}

/* Scheduled Waste Collection SEO */
.lwc-scheduled-seo {
    --lwc-blue: #0772ba;
    --lwc-blue-deep: #055a94;
    --lwc-line: rgba(20, 32, 29, 0.1);
    background: transparent;
}

.lwc-scheduled-seo__copy p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.lwc-scheduled-seo__copy a {
    color: var(--lwc-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(7, 114, 186, 0.35);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.lwc-scheduled-seo__copy a:hover {
    color: var(--lwc-blue-deep);
    border-bottom-color: var(--lwc-blue-deep);
}

.lwc-scheduled-seo__services {
    padding: 1.35rem 0 0.25rem;
    border-top: 3px solid var(--lwc-blue);
}

.lwc-scheduled-seo__services-title {
    margin: 0 0 1rem;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.lwc-scheduled-seo__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lwc-scheduled-seo__list li {
    margin: 0;
    border-bottom: 1px solid var(--lwc-line);
}

.lwc-scheduled-seo__list li:last-child {
    border-bottom: 0;
}

.lwc-scheduled-seo__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0;
    color: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lwc-scheduled-seo__list a::after {
    content: "";
    flex: 0 0 auto;
    width: 0.45rem;
    height: 0.45rem;
    border-top: 1.5px solid var(--lwc-blue);
    border-right: 1.5px solid var(--lwc-blue);
    transform: rotate(45deg);
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lwc-scheduled-seo__list a:hover {
    color: var(--lwc-blue);
    transform: translateX(4px);
}

.lwc-scheduled-seo__list a:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(1px, -1px);
}

@media (max-width: 991.98px) {
    .lwc-scheduled-seo__services {
        padding-top: 1.1rem;
    }
}

/* Collection Schedules — mobile only (scoped) */
@media only screen and (max-width: 991px) {
    .lwc-scheduled-schedules__intro {
        --bs-gutter-y: 0.55rem;
        margin-bottom: 0.35rem;
    }

    .lwc-scheduled-schedules__title {
        margin-bottom: 0.35rem !important;
        line-height: 1.25;
    }

    .lwc-scheduled-schedules__lead {
        margin-bottom: 0.15rem !important;
        line-height: 1.5;
        font-size: 1.05rem;
    }

    .lwc-scheduled-schedules .p-40 > i.fs-48 {
        font-size: 34px !important;
        padding: 0.35rem !important;
    }

    .lwc-scheduled-schedules .p-40 > .ps-80 {
        padding-left: 62px !important;
    }

    /* Service Excellence — heading + spacing (mobile only) */
    .lwc-scheduled-excellence {
        padding-top: 3.25rem !important;
        padding-bottom: 4.5rem !important;
    }

    .lwc-scheduled-excellence__intro {
        --bs-gutter-y: 0.65rem;
        align-items: flex-start !important;
    }

    .lwc-scheduled-excellence__eyebrow {
        margin-bottom: 0.4rem !important;
    }

    .lwc-scheduled-excellence__title {
        margin-bottom: 0 !important;
        line-height: 1.25;
        font-size: clamp(1.55rem, 6vw, 2rem);
    }

    .lwc-scheduled-excellence__lead {
        margin-top: 0.15rem !important;
        margin-bottom: 0 !important;
        line-height: 1.5;
        font-size: 1.05rem;
    }

    .lwc-scheduled-excellence-cards {
        padding-bottom: 3.5rem;
    }

    .lwc-scheduled-excellence-cards__wrap.mt-min-100 {
        margin-top: -2.75rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lwc-scheduled-feature-card,
    .lwc-scheduled-feature-card:hover,
    .lwc-scheduled-feature-card__media img,
    .lwc-scheduled-feature-card__link,
    .lwc-scheduled-terms__item,
    .lwc-scheduled-terms__item:hover,
    .lwc-scheduled-seo__copy a,
    .lwc-scheduled-seo__list a,
    .lwc-scheduled-seo__list a::after {
        transition: none;
        transform: none;
    }
}
