.sdep-annons-wrapper {
    display: flex;
    align-items: stretch;
    font-family: inherit;
    line-height: 1.4;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    margin: 1em auto;
}

.sdep-horisontell {
    flex-direction: row;
}

.sdep-horisontell .sdep-rod-ruta {
    flex: 1 1 70%;
}

.sdep-horisontell .sdep-gron-ruta {
    flex: 0 0 30%;
    min-width: 160px;
}

.sdep-vertikal {
    flex-direction: column;
}

.sdep-rod-ruta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.sdep-rod-ruta:hover,
.sdep-rod-ruta:focus {
    outline: 3px solid rgba(255,255,255,.5);
    outline-offset: -3px;
}

.sdep-rod-bild {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
    transform: none;
    backface-visibility: hidden;
}

.sdep-rod-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 16px;
    text-align: center;
}

.sdep-gron-ruta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 14px;
    gap: 6px;
    text-align: center;
}

.sdep-gron-rubrik {
    display: block;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.2;
    opacity: .95;
}

.sdep-gron-sponsor {
    display: block;
    font-size: .74rem;
    opacity: .9;
    line-height: 1.35;
}

.sdep-transparens-knapp {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: .74rem;
    font-family: inherit;
    text-decoration: underline;
    text-align: center;
    opacity: .9;
    transition: opacity .15s;
    line-height: 1.35;
}

.sdep-transparens-knapp:hover,
.sdep-transparens-knapp:focus {
    opacity: 1;
    outline: 2px dashed rgba(255,255,255,.6);
    outline-offset: 2px;
}

.sdep-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: sdepFadeIn .18s ease;
}

.sdep-modal-overlay[hidden] {
    display: none !important;
}

@keyframes sdepFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sdep-modal-box {
    background: #fff;
    color: #111;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 36px 28px;
    position: relative;
    animation: sdepSlideUp .2s ease;
}

@keyframes sdepSlideUp {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.sdep-modal-stang {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background .15s;
}

.sdep-modal-stang:hover,
.sdep-modal-stang:focus {
    background: #eee;
    color: #000;
}

.sdep-modal-rubrik {
    margin: 0 0 16px;
    font-size: 1.15rem;
    padding-right: 2rem;
    color: #1a1a1a;
    border-bottom: 2px solid #2e7d32;
    padding-bottom: 10px;
}

.sdep-modal-innehall {
    font-size: .92rem;
    line-height: 1.65;
    color: #222;
}

.sdep-modal-innehall ol {
    padding-left: 1.4em;
    margin: 0;
}

.sdep-modal-innehall li {
    margin-bottom: .55em;
}

@media (max-width: 480px) {
    .sdep-horisontell {
        flex-direction: column;
    }

    .sdep-horisontell .sdep-gron-ruta {
        min-width: 0;
        flex: 1 1 auto;
    }

    .sdep-modal-box {
        padding: 24px 18px 20px;
    }
}
