.emr-dec-carousel .emr-dec-hero {
    min-height: clamp(542px, 44vw, 700px);
    border-bottom: 4px solid var(--red);
}
.emr-dec-carousel .emr-dec-hero::before {
    background-image: linear-gradient(90deg, #131415 1%, #131415f5 25%, #131415d9 42%, #13141540 70%, #13141510), var(--hero-image);
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%;
}
.emr-dec-carousel .emr-dec-hero::after { width: clamp(120px, 20vw, 280px); height: 9px; }
.emr-dec-carousel .hero-inner { padding-block: clamp(78px, 8vw, 135px) clamp(112px, 10vw, 145px); }
.emr-dec-carousel .hero-content { max-width: 740px; }
.emr-dec-carousel :is(h1, h2) { max-width: 16ch; font-size: clamp(3rem, 5.25vw, 5.35rem); line-height: 1.04; }
.emr-dec-carousel .hero-description { max-width: 46ch; margin-block: 21px 28px; }
.emr-dec-controls { bottom: 25px; }
.emr-dec-controls .hero-arrow { background: #181818c4; }
.emr-dec-controls .hero-dot[aria-pressed="true"]::before { width: 28px; background: var(--red); }

.emr-dec-home-brands { background: #ebe8e1; }
.emr-dec-logo-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; padding: 0; margin: 0; list-style: none; }
.emr-dec-logo-wall li { min-width: 0; border: 1px solid #ddd9d2; background: #fff; }
.emr-dec-logo {
    display: block;
    width: 100%;
    aspect-ratio: 172 / 83;
    background: #fff url("markalar.webp") var(--emr-logo-x) var(--emr-logo-y) / 700% 700% no-repeat;
}
.emr-dec-brands-page .emr-dec-brand-grid { gap: 12px; }
.emr-dec-brand-grid .emr-dec-brand-card { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: clamp(9px, 1.5vw, 17px); }
.emr-dec-brand-card .emr-dec-logo { width: min(100%, 195px); margin: 0 auto; }
.emr-dec-brand-card .brand-logo { height: 91px; min-height: 0; }
.emr-dec-brand-card .brand-logo img { max-width: 195px; height: 75px; }
.emr-dec-brand-card h2 { font-size: 1.1rem; letter-spacing: -.025em; }
.emr-dec-brand-card .text-link { width: fit-content; margin-top: auto; font-size: .82rem; }
.emr-dec-brand-card .emr-dec-wordmark {
    display: grid;
    min-height: 94px;
    flex: 1;
    place-content: center;
    padding: 12px 4px;
    color: var(--ink);
    font-size: clamp(1.04rem, 1.9vw, 1.65rem);
    font-weight: 800;
    letter-spacing: .012em;
    text-align: center;
    overflow-wrap: anywhere;
}

.emr-dec-service {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(14px, 2.8vw, 42px);
    padding: clamp(20px, 3.5vw, 52px);
    border-bottom: 5px solid var(--red);
    background: #191a1c;
    color: #fff;
    scroll-margin-top: 25px;
}
.emr-dec-service .section-kicker { color: var(--rose); }
.emr-dec-service h2 { max-width: 14ch; font-size: clamp(2.1rem, 4.25vw, 3.95rem); }
.emr-dec-service-copy > p:not(.section-kicker) { max-width: 43ch; margin-block: 16px 23px; color: #e1ddda; }
.emr-dec-map { min-width: 0; margin: 0; }
.emr-dec-map img { width: 100%; height: auto; }
.emr-dec-map figcaption { color: #d1c8c4; font-size: .69rem; text-align: right; }
.emr-dec-map a { text-underline-offset: .18em; }
.emr-dec-about-text { margin-top: 30px; }

@media (max-width: 980px) {
    .emr-dec-logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .emr-dec-carousel .emr-dec-hero { min-height: 535px; }
    .emr-dec-carousel .emr-dec-hero::before {
        background-image: linear-gradient(90deg, #131415f9, #131415cc 56%, #13141558), var(--hero-image);
        background-position: center, 59% center;
        background-size: cover;
    }
    .emr-dec-carousel .hero-inner { padding-block: 64px 113px; }
    .emr-dec-carousel :is(h1, h2) { font-size: clamp(2.65rem, 9vw, 4rem); }
    .emr-dec-service { grid-template-columns: minmax(0, 1fr); }
    .emr-dec-about-topics { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
    .emr-dec-logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .emr-dec-brand-card h2 { font-size: .98rem; }
    .emr-dec-map figcaption { text-align: left; }
}
