.yerevan-feature,
.yerevan-drive {
    overflow: hidden;
    border: 1px solid #72555d;
    border-radius: 20px;
    background: #241d32;
    color: #fff0df;
}

.yerevan-feature {
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: center;
    margin-bottom: 24px;
}

.yerevan-feature-copy,
.yerevan-drive {
    padding: clamp(14px, 3vw, 30px);
}

.yerevan-feature h2,
.yerevan-drive h1 {
    margin: 0;
    color: #fff0df;
    font-size: clamp(1.7rem, 5vw, 3.4rem);
    line-height: 1.15;
}

.yerevan-feature p,
.yerevan-drive p {
    margin: 10px 0 16px;
    color: #f2d4c7;
}

.yerevan-feature img,
.yerevan-drive canvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(165deg, #70537a, #e19c88 59%, #332839 60%);
}

.yerevan-drive canvas {
    border-radius: 12px;
}

.yerevan-drive canvas[hidden] {
    display: none;
}

.yerevan-feature img {
    height: 100%;
    object-fit: cover;
}

.yerevan-drive-controls:not([hidden]),
.yerevan-drive-controls > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.yerevan-drive-controls {
    margin-top: 12px;
}

.yerevan-drive-controls button {
    min-width: 44px;
    min-height: 44px;
    padding: 5px 10px;
    border: 1px solid #ab8590;
    border-radius: 8px;
    background: #352841;
    color: #fff0df;
    font: inherit;
    cursor: pointer;
}

.yerevan-drive-controls button[data-drive-key] {
    touch-action: none;
}

.yerevan-drive-controls button:active,
.yerevan-drive-controls button[aria-pressed="true"] {
    background: #74516e;
}

.yerevan-drive :focus-visible {
    outline: 2px solid #ffd4a0;
    outline-offset: 2px;
}

@media (max-width: 620px) {
    .yerevan-feature {
        grid-template-columns: 1fr;
    }

    .yerevan-feature img {
        grid-row: 1;
        height: auto;
    }

    .yerevan-drive canvas {
        aspect-ratio: 4 / 3;
    }
}
