.wp-block-button.has-icon .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wp-block-button.icon-right .wp-block-button__link {
  flex-direction: row-reverse;
}

.wp-block-button img {
  width: 16px;
  height: 16px;
}

.wp-block-button .btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


.wp-block-button.icon-right .btn-inner {
  flex-direction: row-reverse;
}
.btn-icon{
  display: flex;
}
.btn-icon img {
  width: 16px;
  height: 16px;
}

/* Accessibility focus 
.wp-block-button__link:focus {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}*/


.story-popup-btn {
    background: #ffffff;
}

.story-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.story-modal[style*="flex"] {
    display: flex !important;
}

.story-modal__overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.55);

    backdrop-filter: blur(8px);
}

.story-modal__wrapper {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1400px;

    background: #f5f5f5;


    padding: 32px;
}

.story-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 54px;
    height: 54px;

    border: 0;
    border-radius: 50%;

    background: #fff;

    box-shadow: 0 4px 14px rgba(0,0,0,.08);

    cursor: pointer;

    font-size: 40px;
    line-height: 1;
}

.story-modal__grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 60px;
}

.story-modal__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.story-modal__content h2 {
    margin: 0 0 10px;
    font-family: 'Basis Grotesque';
    font-size: 22px;
    line-height: 1.1;
    color: #004947;
}
@media (min-width: 768px) {
    .story-modal__content h2 {
        font-size: 28px;
    }

    .story-modal__content h3,
    .story-modal__title h3 {
        font-size: 22px;
        font-weight: 400;
    }
}

.story-modal__content h3 {
    margin: 0 0 40px;

    font-size: 18px;
    font-weight: 500;

    color: #666;
}

.story-modal__text p {
    margin: 0 0 28px;

    font-size: 20px;
    line-height: 1.8;
}

.story-modal__wrapper .story-modal__title--mobile
    {
        display: none;
    }
@media (max-width: 991px) {

    .story-modal__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-height: 480px;
        overflow-y: scroll;
    }
    .story-modal__wrapper .story-modal__title
    {
        display: none;
    }

    .story-modal__wrapper .story-modal__title--mobile
    {
        display: block;
        max-height: 480px;
    }

}

@media (min-width: 991px){
    .story-modal__content{
        flex-direction: column;
        max-height: 480px;
        overflow-y: scroll;
    }

}
