.glwa-cip-map {
    background: #f5f5f5;
    color: #02216E;
    padding: 105px 0
}

.glwa-cip-map__shell {
    width: min(1320px, calc(100% - 92px));
    margin: 0 auto
}

.glwa-cip-map__title {
    margin: 0 auto 32px;
    text-align: center;
    color:#0031a7;
    
}

.glwa-cip-map__filters {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 0 0 96px
}

.glwa-cip-map__filter {
    border: 0;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;

    cursor: pointer
}

.glwa-cip-map__filter span {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #003DAE;
    
    line-height: 1
}

.glwa-cip-map__layout {
    display: grid;
    grid-template-columns: minmax(360px, 474px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch
}

.glwa-cip-map__status {
    margin: 0 auto 20px;
    text-align: center;
    font-weight: 700
}

.glwa-cip-map__list-wrap {
    max-height: 760px;
    overflow-y: auto;
    padding-left: 18px;
    scrollbar-color: #bfc2c8 transparent;
    scrollbar-width: thin;
    direction: rtl;
}

.glwa-cip-map__list {
    display: grid;
    gap: 14px;
    direction: ltr;
}

.glwa-cip-card {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none
}

.glwa-cip-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 61, 174, .45);
    border-radius: 7px
}

.glwa-cip-card__media {
    position: relative;
    min-height: 164px;
    border-radius: 7px;
    overflow: hidden;
    background: #103a76
}

.glwa-cip-card.is-active .glwa-cip-card__media {
    min-height: 258px;
    border-radius: 7px 7px 0 0
}

.glwa-cip-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.glwa-cip-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .63))
}

.glwa-cip-card__badges {
    position: absolute;
    left: 22px;
    top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2
}

.glwa-cip-card__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 19px;
    border-radius: 3px;
    background: rgba(73, 73, 73, .76);
    color: #f5f5f5;
    padding: 0 11px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .15em
}

.glwa-cip-card h3 {
    position: absolute;
    left: 22px;
    right: 72px;
    bottom: 22px;
    z-index: 2;
    margin: 0;
    color: #f5f5f5;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 900
}

.glwa-cip-card.is-active h3 {
    font-size: 27px;
    line-height: 1.07
}

.glwa-cip-card__arrow {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background: #f5f5f5;
    color: #02216E;
    font-size: 22px;
    font-weight: 600
}

.glwa-cip-card__body em{
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.glwa-cip-card__body {
    background: #0031a7;
    color: #f5f5f5;
    border-radius: 0 0 7px 7px;
    padding: 23px 22px 22px
}

.glwa-cip-card__body p a{
    color:inherit;
    text-decoration:underline;
}
.glwa-cip-card__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px
}

.glwa-cip-card__meta span::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    background: #f5f5f5
}

.glwa-cip-card__meta .start::before {
    border-radius: 50%;
    background: #00b476
}

.glwa-cip-card__meta .stop::before {
    border-radius: 50%;
    background: #f15a24
}

.glwa-cip-card__body p {
    margin: 0 0 24px;
    
}

.glwa-cip-card__progress {
    background: #f5f5f5;
    border-radius: 5px;
    color: #003DAE;
    padding: 11px 14px 12px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative
}

.glwa-cip-card__progress::before {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    top: 12px;
    height: 5px;
    border-radius: 999px;
    background: #d8d8d8
}

.glwa-cip-card__progress span {
    position: absolute;
    left: 15px;
    top: 12px;
    height: 5px;
    width: 48%;
    border-radius: 999px;
    background: #003DAE;
    z-index: 1
}

.glwa-cip-card__progress em {
    position: relative;
    z-index: 2;
    padding-top: 14px;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    /* WCAG: #8d9ac6 on #f5f5f5 only measured ~2.5:1 (fails 4.5:1 for normal text). */
    color: #5A6B93
}

.glwa-cip-card__progress em:nth-of-type(2) {
    color: #003DAE
}

.glwa-cip-card__body button {
    width: 100%;
    
    
}

.glwa-cip-map__map-wrap {
    position: relative;
    min-height: 760px;
    border-radius: 7px;
    overflow: hidden;
    background: #e8e5df
}

.glwa-cip-map__map {
    position: absolute;
    inset: 0
}

.glwa-cip-map__controls {
    position: absolute;
    right: 18px;
    top: 20px;
    z-index: 4;
    display: flex;
    gap: 9px
}

.glwa-cip-map__control {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 6px;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}

.glwa-cip-map__control--search {
    font-size: 26px
}

.glwa-cip-map__sr-note {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glwa-cip-map .esri-view .esri-view-surface {
    outline: none !important
}

@media(max-width:980px) {
    .glwa-cip-map {
        padding: 70px 0
    }

    .glwa-cip-map__shell {
        width: min(100% - 36px, 720px)
    }

    .glwa-cip-map__filters {
        margin-bottom: 42px;
        flex-wrap: wrap
    }

    .glwa-cip-map__layout {
        grid-template-columns: 1fr
    }

    .glwa-cip-map__list-wrap {
        max-height: none;
        overflow: visible;
        padding-right: 0
    }

    .glwa-cip-map__map-wrap {
        min-height: 520px;
        order: -1
    }

    .glwa-cip-card.is-active .glwa-cip-card__media {
        min-height: 220px
    }
}
.glwa-cip-map__filter-wrap {
    position: relative
}

.glwa-cip-map__filter.is-active {
    background: #003DAE;
    color: #f5f5f5
}

.glwa-cip-map__filter strong {
    font-weight: 900
}

.glwa-cip-map__filter-panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 8;
    display: none;
    width: max-content;
    min-width: 230px;
    max-width: 320px;
    max-height: 310px;
    overflow: auto;
    padding: 12px;
    border-radius: 7px;
    background: #f5f5f5;
    color: #02216E;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18)
}

.glwa-cip-map__filter-wrap.is-open .glwa-cip-map__filter-panel {
    display: grid;
    gap: 8px
}

.glwa-cip-map__filter-panel label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer
}

.glwa-cip-map__filter-panel input {
    margin: 0
}

.glwa-cip-map__filter-clear {
    border: 0;
    border-radius: 5px;
    background: #e2e2e2;
    color: #02216E;
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer
}

.glwa-cip-card__button {
    display: grid;
    place-items: center;
    width: 100%;
    
    text-decoration: none
}

@media(max-width:980px) {
    .glwa-cip-map__filter-panel {
        left: 0;
        transform: none
    }
}

/* Lightweight Gutenberg preview: avoid loading ArcGIS/server-rendered markup in the editor. */
.glwa-cip-map--editor-preview {
    box-sizing: border-box;
}

.glwa-cip-map--editor-preview .glwa-cip-map__filters {
    margin-bottom: 28px;
}

.glwa-cip-map--editor-preview .glwa-cip-map__filter,
.glwa-cip-map--editor-preview .glwa-cip-map__controls button {
    cursor: default;
    opacity: .82;
}

.glwa-cip-map__editor-notice {
    margin: 0 auto 24px;
    max-width: 760px;
}

.glwa-cip-map__layout--editor-preview .glwa-cip-map__list-wrap {
    max-height: none;
    overflow: visible;
}

.glwa-cip-map__map-wrap--editor-preview {
    display: grid;
    place-items: center;
}

.glwa-cip-map__editor-map-placeholder {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    place-items: center;
    width: calc(100% - 80px);
    min-height: 320px;
    border: 2px dashed rgba(3, 33, 110, .35);
    border-radius: 7px;
    background: rgba(255, 255, 255, .64);
    color: #02216E;
    text-align: center;
    padding: 32px;
}

.glwa-cip-map__editor-map-placeholder strong {
    font-size: 22px;
    line-height: 1.1;
}

.glwa-cip-card--placeholder .glwa-cip-card__media {
    background: linear-gradient(135deg, #103a76, #003DAE);
}

.glwa-cip-card__close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 5px;
    background: #f5f5f5;
    color: #02216E;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.glwa-cip-card.is-active .glwa-cip-card__arrow {
    display: none;
}

.glwa-cip-map__load-more {
    display: none;
    width: 100%;
    justify-content: center;
    margin-top: 18px;
    border: 0;
    cursor: pointer;
}

.glwa-cip-map__load-more[hidden] {
    display: none !important;
}

@media(max-width:980px) {
    .glwa-cip-map__load-more:not([hidden]) {
        display: inline-flex;
    }
}
