.wsdd-decor-layer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.wsdd-decor-layer[hidden] {
    display: none !important;
}

.wsdd-decor-route {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: visible;
}

.wsdd-decor-route__path {
    fill: none;
    stroke: #173b4c;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-dasharray: 3.5 7;
    opacity: .76;
    vector-effect: non-scaling-stroke;
}

.wsdd-decor-route__paper-plane {
    fill: none;
    stroke: #173b4c;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .92;
    vector-effect: non-scaling-stroke;
}

.wsdd-decor-paper-plane__paper {
    fill: #fff7df;
    stroke: #173b4c;
}

.wsdd-decor-route__cloud {
    fill: none;
    stroke: #476777;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .58;
    vector-effect: non-scaling-stroke;
}

.wsdd-decor-figure {
    position: absolute;
    display: grid;
    place-items: center;
    margin: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .28s ease;
}

.wsdd-decor-layer.is-ready .wsdd-decor-figure {
    opacity: 1;
}

.wsdd-decor-figure__visual {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    filter: contrast(1.04) saturate(.9);
}

.wsdd-decor-figure__visual--photo {
    width: 82%;
    height: 72%;
    padding: 8%;
    border-radius: 46% 54% 51% 49% / 44% 49% 51% 56%;
    opacity: .66;
    object-fit: cover;
    filter: grayscale(1) sepia(.25) contrast(1.3) brightness(1.1);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, rgba(0, 0, 0, .8) 62%, transparent 76%);
    mask-image: radial-gradient(ellipse at center, #000 45%, rgba(0, 0, 0, .8) 62%, transparent 76%);
}

.wsdd-decor-figure__caption {
    position: absolute;
    z-index: 2;
    bottom: 2%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 92%;
    padding: 3px 8px;
    color: #173b4c;
    border-radius: 999px;
    background: rgba(255, 248, 224, .78);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(12px, .78vw, 15px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%) rotate(-1.5deg);
    box-shadow: 0 1px 7px rgba(25, 52, 64, .08);
}

.wsdd-decor-figure:nth-of-type(even) .wsdd-decor-figure__caption {
    transform: translateX(-50%) rotate(1.5deg);
}

.wsdd-decor-figure__pin {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border: 2px solid #ef9824;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.wsdd-decor-figure__pin::after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ef9824;
    content: '';
}

@media (max-width: 1179px) {
    .wsdd-decor-layer { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .wsdd-decor-figure { transition: none; }
}
