* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 16px 20px 20px;
}

h1 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(1.75rem, 4.5vw, 3.25rem);
    line-height: 1.1;
    color: #2c5f2d;
    text-align: center;
    margin-bottom: 12px;
    -webkit-text-stroke: 6px #fff;
    paint-order: stroke fill;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.container {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.image-area {
    flex: 1 1 0;
    min-height: 0;
    container-type: size;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: min(100cqw, 100cqh * 4 / 3);
    aspect-ratio: 4 / 3;
}

.photo {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: center / cover url(data:image/webp;base64,UklGRrIAAABXRUJQVlA4IKYAAADwBACdASoYABIAPu1sqlEppaOiqAqpMB2JQBlAAXgbyTwyyrIWd8GG6YI/l22HrEAA4AToj/pptP+dkCewz0SjUrWX4z1K2+JbtYbsD/SzuxR/OlhEdYf3Jm4faAg8Thnhs7zzBPwAPdfilRM62hqmwwYrKEoBX+pZwM6o+Lu3rMUnh3QmW/tcicEE/pU4DfgOntLPIpNPDMrQQ7y/p5MNd4qH4sAA);
}

.hotspots {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hotspots polygon {
    fill: transparent;
    stroke: transparent;
    stroke-width: 6;
    cursor: pointer;
    transition: fill 0.15s, stroke 0.15s;
}

.hotspots a:hover polygon,
.hotspots a:focus-visible polygon {
    fill: rgba(255, 255, 255, 0.18);
    stroke: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 {
        margin-bottom: 8px;
    }
}
