.och-weather-alert {
    border: 1px solid currentColor;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}
.och-weather-alert__inner {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}
.och-weather-alert__label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .85rem 1rem;
    background: rgba(0,0,0,.08);
    min-width: 8rem;
    max-width: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.och-weather-alert__label > img{
    max-width: 40px;
}
.och-weather-alert__content {
    padding: .85rem 4rem .85rem 0;
    position: relative;
    width: 100%;
}
.och-weather-alert__title {
    display: block;
    margin-bottom: .25rem;
}
.och-weather-alert__summary p {
    margin: .25rem 0 0;
}
.och-weather-alert__link {
    color: inherit;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .och-weather-alert__inner { display: block; }
    .och-weather-alert__content { padding: .85rem 1rem; }
    .och-weather-alert__label{ max-width: none; }
}

.och-weather-alert__learn-more {
    display: inline-block;
    margin-top: .5rem;
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
}


.och-weather-alert[data-risk-colour="yellow"] .och-weather-alert__label{
    background-color: #ffff00;
}

.och-weather-alert[data-risk-colour="orange"] .och-weather-alert__label{
    background-color: #ff9501;
}

.och-weather-alert[data-risk-colour="red"] .och-weather-alert__label{
    background-color: #d20001;
    color: #fff;
}



.och-weather-alert[data-risk-colour="yellow"] .och-weather-alert__content:after{
    background-color: #ffff00;
}

.och-weather-alert[data-risk-colour="orange"] .och-weather-alert__content:after{
    background-color: #ff9501;
}

.och-weather-alert[data-risk-colour="red"] .och-weather-alert__content:after{
    background-color: #d20001;
}


.och-weather-alert__content:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -2;
    opacity: 0.25;
    left: -1rem;
}


/*close*/


.och-weather-alert {
    position: relative;
}

.och-weather-alert__close {
    position: absolute;
    z-index: 3;
    top: .75rem;
    right: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: .25rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.och-weather-alert__close svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.och-weather-alert__close:hover {
    opacity: .7;
}

.och-weather-alert__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .och-weather-alert__content {
        padding: .85rem 3.5rem .85rem 1rem;
    }
}