.site-hero {
  min-height: auto;
}
.site-hero__bg {
  background-image: url("../images/insights/3.webp");
}
.site-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.52) 38%,
    rgba(255, 255, 255, 0.64) 100%
  );
}
.hero {
    padding: 40px 0 10px 0;
}
.hero__subtitle {
    margin: 0;
}
.hero__title--light {
    padding: 10px 0;
    margin: 0;
    color: var(--color-accent);
    text-transform: uppercase;
}
.btns-container {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.nav__link--button {
    padding: 8px 16px;
    width: auto;
    cursor: pointer;
}
.nav__link--button.active {
    background: #1d1d1d;
    color: #fff;
}
body {
    background: #f5f6f7; 
}
.h-container  {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    flex-direction: column;
}
.insights-header {
    border: 1px solid rgb(0, 0, 0,0.1);
}
.search {
    width: auto;
    padding: 8px 16px;
    font-size: 16px;
}
.insight__ico {
    width: 20px;
    height: 20px;
    fill: var( --color-secondary);
}
.download-icon {
    width: 20px;
    height: 20px;
}
.insight__card {
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.insight__actions {
    display: flex;
    flex-wrap: wrap;
}
.insights__grid {
    margin-top: initial;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: start;
}
.insight__img {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
}
.insight__content {
    padding: 0 20px 20px 20px;
}
.insight__header {
    padding: 20px 20px 0 20px;
    display: flex;
    align-items: start;
    justify-content: space-between;
}
.insight__category {
    text-transform: uppercase;
    color: var(--color-accent);
}
.date {
    display: flex;
    align-items: center;
    text-wrap: nowrap;
}
.loader {
    margin-inline: auto;
}
.span {
    display: inline-block;
    margin-inline: auto;
    width: 70px;
    height: 30px;
    position: relative;
}
.span::before,
.span::after {
    content: '';
    position: absolute;
    height: 30px;
    box-shadow: 0 5px 15px 0 rgba(255, 255, 255, 0.5) inset;
    width: 30px;
    border-radius: 50%;
}

.span::before {
    left: 0;
    z-index: 3;
    animation: accent 1.5s infinite linear;
    background-color: var(--color-accent);
}

.span::after {
    z-index: 2;
    isolation: isolate;
    right: 0;
    animation: bg 1.5s infinite linear;
    background-color: var(--color-secondary);
}

@keyframes accent {
    50% {
        left: 60%;
        z-index: 3;
    }

    100% {
        left: 0;
        z-index: 1;
    }
}

@keyframes bg {
    50% {
        right: 60%;
    }

    100% {
        right: 0;
    }
}
.img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.insights__grid {
    padding: 50px 0;
    gap: 20px;
}
.insight__actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.read-btn {
    width: initial;
    display: inline-flex;
}
@media (min-width: 768px) {
    .insight__card {
        max-width: 350px;
    }
}
@media (min-width: 1024px) {
    .h-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .insights__grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}