body {
    margin: 0;
    padding: 0;
}
#mwd-poll {
    width: auto;
    margin: 0 auto;
    max-width: 880px;
    background-color: #008da5;
    font-size:  18px;
    padding: 20px;
}
#mwd-poll, #mwd-poll * {
    box-sizing: border-box;
}
#mwd-poll .choices {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
    list-style-type: none;
    padding: 0;
    margin: 0;
    align-items: start;
}
#mwd-poll .choices .choice-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#mwd-poll .choices .choice-card .photo-credit {
    margin: -10px 0 0;
    padding: 0;
    display: block;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    color: #ffffff;
    text-align: left;
    font-style: italic;
}

#mwd-poll .choice-title {
    margin: 0;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}
#mwd-poll .choice-image {
    width: 100%;
    display: block;
    border-radius: 15px;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
}
/* Progress bars are hidden by default and shown only when poll is completed */
#mwd-poll .choice-progress {
    width: 100%;
    height: 20px;
    appearance: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}
#mwd-poll .choice-progress::-webkit-progress-bar {
    background: #005668;
}
#mwd-poll .choice-progress::-webkit-progress-value {
    background: #faa61a;
}
#mwd-poll .sr-only { 
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
@media (max-width:700px) {
    #mwd-poll {
        padding: 10px;
    }
    #mwd-poll .choices {
        grid-template-columns: 1fr; 
        gap: 10px;
    }
    #mwd-poll .choices .choice-card {
        width: 100%;
        padding: 12px 0;
    }
    #mwd-poll .choices .choice-card {
        gap: 12px;
    }
    #mwd-poll .choice-image {
        border-radius: 10px;
    }
}
.choice-card:focus {
    outline: 3px solid #faa61a;
    outline-offset: -3px;
}
/* when poll is completed via URL param, show progress bars */
#mwd-poll.completed .choice-progress {
    opacity: 1;
    visibility: visible;
} 