.surgery-main {
    color: #10356f;
    background: #fff;
}

.surgery-hero {
    min-height: 260px;
    display: flex;
    align-items: center;
    background:
            linear-gradient(90deg, rgba(0,48,120,.88), rgba(0,65,150,.55)),
            url("https://images.unsplash.com/photo-1551190822-a9333d879b1f?q=80&w=1800") center/cover;
    color: #fff;
}

.surgery-hero-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.surgery-hero h1 {
    font-size: 42px;
    margin: 0 0 12px;
}

.surgery-hero p {
    font-size: 20px;
    margin: 0 0 34px;
}

.surgery-breadcrumb {
    font-size: 14px;
}

.surgery-content {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 30px 0 45px;
}

.surgery-filters {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    margin-top: -5px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr auto;
    gap: 22px;
    box-shadow: 0 14px 35px rgba(21,67,130,.08);
}

.filter-field label {
    display: block;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 9px;
}

.input-icon {
    position: relative;
}

.input-icon input,
.filter-field select {
    width: 100%;
    height: 50px;
    border: 1px solid #dce7f6;
    border-radius: 9px;
    padding: 0 16px;
    color: #10356f;
}

.input-icon i {
    position: absolute;
    right: 16px;
    top: 17px;
    color: #0057d9;
}

.reset-btn,
.details-btn,
.more-btn {
    border: 1px solid #c9d8ee;
    background: #fff;
    color: #0057d9;
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
}

.reset-btn {
    align-self: end;
    height: 50px;
    padding: 0 24px;
}

.surgery-content > h2 {
    margin: 36px 0 18px;
    font-size: 20px;
}

.date-strip {
    display: grid;
    grid-template-columns: 46px repeat(7, 1fr) 46px;
    gap: 12px;
    align-items: center;
}

.arrow-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #dce7f6;
    background: #fff;
    visibility: hidden;
    color: #0057d9;
}

.date-card {
    min-height: 104px;
    border: 1px solid #dce7f6;
    background: #fff;
    border-radius: 12px;
    color: #102b5f;
    cursor: pointer;
}

.date-card span,
.date-card em {
    display: block;
    font-style: normal;
    color: #566985;
    font-weight: 700;
}

.date-card strong {
    display: block;
    font-size: 24px;
    margin: 7px 0;
}

.date-card.active {
    background: #0057d9;
    color: #fff;
    box-shadow: 0 12px 25px rgba(0,87,217,.25);
}

.date-card.active span,
.date-card.active em {
    color: #fff;
}

.surgery-list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px 0 16px;
}

.surgery-list-head h2 {
    margin: 0;
    font-size: 20px;
}

.surgery-list-head h2 span {
    background: #e8f1ff;
    color: #0057d9;
    font-size: 14px;
    padding: 7px 12px;
    border-radius: 8px;
    margin-left: 10px;
}

.legend {
    display: flex;
    gap: 22px;
    font-size: 14px;
}

.legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 7px;
}

.green { background: #28b779; }
.orange { background: #ff8a26; }
.blue { background: #0057d9; }

.surgery-list {
    display: grid;
    gap: 12px;
}

.surgery-item {
    background: #fff;
    border: 1px solid #e1eaf6;
    border-radius: 14px;
    padding: 26px;
    display: grid;
    grid-template-columns: 140px 170px 1fr auto;
    gap: 26px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(21,67,130,.05);
}

.surgery-number {
    text-align: center;
    border-right: 1px solid #e1eaf6;
    padding-right: 18px;
}

.surgery-number strong {
    display: block;
    font-size: 32px;
    color: #0050c8;
}

.surgery-number em {
    display: block;
    font-style: normal;
    font-weight: 800;
    margin-top: 10px;
}

.badge {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.badge.green {
    background: #dff8ee;
    color: #15845f;
}

.badge.orange {
    background: #fff0e4;
    color: #e87316;
}

.badge.blue {
    background: #e8f1ff;
    color: #0057d9;
}

.surgery-item small {
    display: block;
    color: #8190a8;
    margin-bottom: 5px;
}

.surgery-item strong {
    display: block;
    margin-bottom: 16px;
}

.surgery-desc h3 {
    margin: 0 0 12px;
    color: #0046b8;
    font-size: 17px;
}

.surgery-desc div {
    display: flex;
    gap: 45px;
}

.surgery-desc p {
    margin: 0;
}

.details-btn {
    height: 48px;
    padding: 0 24px;
    white-space: nowrap;
}

.more-wrap {
    text-align: center;
    margin: 22px 0 30px;
}

.more-btn {
    height: 48px;
    padding: 0 28px;
}

.notice-box {
    background: #edf5ff;
    border-radius: 14px;
    padding: 26px;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 24px;
    align-items: center;
}

.notice-icon {
    width: 58px;
    height: 58px;
    border: 2px solid #0057d9;
    color: #0057d9;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.notice-box h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.notice-box p {
    margin: 0;
    line-height: 1.55;
}

.notice-phone strong {
    display: block;
    font-size: 24px;
    color: #0057d9;
}

.notice-phone span {
    display: block;
    margin-top: 5px;
}

.surgery-bottom {
    background: linear-gradient(90deg,#0046c7,#0057d9);
    color: #fff;
    padding: 34px max(4%, calc((100% - 1180px)/2));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.surgery-bottom div {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 800;
}

.surgery-bottom i {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: grid;
    place-items: center;
    font-size: 24px;
}

@media (max-width: 1000px) {
    .surgery-filters,
    .surgery-item,
    .notice-box,
    .surgery-bottom {
        grid-template-columns: 1fr;
    }

    .date-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .surgery-list-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .surgery-desc div {
        flex-direction: column;
        gap: 8px;
    }
}