.getis-pinterest-page {
    background: #fff;
    color: #111;
}

.getis-pinterest-inner {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 20px 0 48px;
}

.getis-pinterest-header {
    padding: 4px 0 18px;
}

.getis-pinterest-header h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0;
	color: #004c84 ;
}

.getis-pinterest-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 18px;
    scrollbar-width: none;
}

.getis-pinterest-tabs::-webkit-scrollbar {
    display: none;
}

.getis-pinterest-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #004c84;
    border-radius: 8px;
    color: #004c84;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    background: #fff;
}

.getis-pinterest-tab:hover,
.getis-pinterest-tab:focus,
.getis-pinterest-tab.is-active {
    color: #fff;
    border-color: #004c84;
    background: #004c84;
}

.getis-pinterest-masonry {
    column-count: 4;
    column-gap: 18px;
}

.getis-pin-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    break-inside: avoid;
    vertical-align: top;
}

.getis-pin-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 8px;
    background: #f3f3f3;
}

.getis-pin-image,
.getis-pin-video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.getis-pin-video {
    background: #111;
}

.getis-pin-media figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 12px 10px;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
    background: linear-gradient(to top, rgba(0, 0, 0, .56), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity .18s ease;
}

.getis-pin-media:hover figcaption,
.getis-pin-media:focus-within figcaption {
    opacity: 1;
}

.getis-pinterest-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 14px 0 0;
}

.getis-pinterest-pagination a,
.getis-pinterest-pagination span {
    margin: 0;
    padding: 4px 6px;
    color: #333;
    background: transparent;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.getis-pinterest-pagination a:hover,
.getis-pinterest-pagination a:focus,
.getis-pinterest-pagination .current {
    color: #004c84;
}

.getis-pinterest-empty {
    padding: 24px;
    border: 1px dashed #cfcfcf;
    border-radius: 8px;
    color: #555;
    background: #fafafa;
}

@media (max-width: 1024px) {
    .getis-pinterest-masonry {
        column-count: 3;
        column-gap: 14px;
    }

    .getis-pin-item {
        margin-bottom: 14px;
    }
}

@media (max-width: 640px) {
    .getis-pinterest-inner {
        width: calc(100% - 18px);
        padding-top: 12px;
    }

    .getis-pinterest-header {
        padding-bottom: 12px;
    }

    .getis-pinterest-header h1 {
        font-size: 20px;
    }

    .getis-pinterest-tabs {
        padding-bottom: 12px;
    }

    .getis-pinterest-tab {
        min-height: 34px;
        padding: 0 11px;
        font-size: 13px;
    }

    .getis-pinterest-masonry {
        column-count: 2;
        column-gap: 10px;
    }

    .getis-pin-item {
        margin-bottom: 10px;
    }

    .getis-pin-media figcaption {
        display: none;
    }
}
