:root {
    --bs-primary: #705cf6;
}


.cards-featured {
    padding: 0rem 0 6rem;
}

.cards-featured .cards-title {
    font-weight: bold;
}

.featured-home .cards-title {
    margin-top: 1rem;
}

.featured-home .cards-content {
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .cards-featured {
        background-color: #f3f4f6 !important;
        padding: 0rem 0 16rem;
    }
}

.cards__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #151E41;
    padding: 0 0 1rem;
    margin: 0 0 2rem
}

.cards__link {
    font-size: .875rem;
    color: #151e41;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s ease-in-out
}

@media (min-width: 767px) {
    .cards__link {
        font-size: 1rem;
        gap: 10px
    }
}

.cards__link span {
    text-transform: capitalize;
    display: none
}

@media (min-width: 767px) {
    .cards__link span {
        display: initial;
        transition: opacity 1.5s ease-in-out
    }
}

.cards__link svg {
    translate: 5px;
    transition: translate .2s ease-in-out, opacity ease-in-out;
    width: 30px;
    height: 30px
}

@media (min-width: 767px) {
    .cards__link svg {
        width: 34px;
        height: 34px
    }
}

@keyframes move {
    0% {
        transform: translate(-2px)
    }

    to {
        transform: translate(2px)
    }
}

@keyframes color {
    0% {
        fill: #705cf600
    }

    to {
        fill: #705cf6
    }
}

@keyframes stroke {
    0% {
        stroke: #151e41
    }

    to {
        stroke: #705cf6
    }
}

@keyframes pathColor {
    0% {
        fill: #151e41
    }

    to {
        fill: #fff
    }
}

.cards__link:hover {
    color: #705cf6
}

.cards__link:hover svg circle {
    animation: color .2s forwards ease-in-out, stroke .2s forwards ease-in-out
}

.cards__link:hover svg path {
    animation: move .6s infinite alternate ease-in-out, pathColor .2s forwards ease-in-out
}

.posts-wrapper>.container {
    position: relative;
    z-index: 1;
    transform: translateY(-254px);
    margin-bottom: -254px;
}

.posts-wrapper {
    background-color: #fff;
    border-radius: 0 0 40px 40px;
    padding: 0 0 4rem
}

@media (min-width: 767px) {
    .posts-wrapper {
        padding: 0 0 6.5rem;
        border-radius: 0 0 56px 56px
    }
}

.posts-wrapper>.container {
    position: relative;
    z-index: 1;
    transform: translateY(-254px);
    margin-bottom: -254px;
    /* overflow: hidden; */
}

.posts-wrapper>.container:before {
    content: "";
    width: calc(50vw + 50% + 10px);
    height: 294px;
    position: absolute;
    top: -40px;
    left: -10px;
    z-index: -1;
    background-color: #fff;
    border-radius: 48px 0 0
}

@media (min-width: 1280px) {
    .posts-wrapper>.container:before {
        /* border-radius:56px 0 0; */
        /* width:calc(100vw + 50px); */
        /* left:-50px; */
    }
}

.posts-wrapper.no-results {
    margin-top: 15rem;
    padding: 0
}

@media (min-width: 767px) {
    .posts-wrapper.no-results {
        margin-top: 21rem;
        height: 64vh
    }
}

.posts-wrapper.no-results .container {
    margin-bottom: unset;
    transform: translateY(-254px);
    padding: 0
}

.posts-wrapper.no-results .container:before {
    height: 147px;
    top: 110px
}

.posts-wrapper.no-results .container .results {
    padding: 0
}

.mega-menu-scroll {
    height: auto;
}

.newsletter.dark-fields .form-control {
    background: rgba(var(--bs-white-rgb), .03);
    border-color: rgba(var(--bs-white-rgb), .1);
    color: #cacaca
}

.newsletter.dark-fields .form-control:focus {
    border-color: rgba(var(--bs-primary-rgb), .5)
}

.post-list h6 {
    line-height: 1.1 !important;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-list figure {
    height: 2.5rem !important;
}
.post-list>li+li {
    margin-top: 0.7rem !important;
}

@keyframes loader-scale {
    0% {
        transform: scale(0);
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: 0
    }
}

.loader {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    transition: .5s all;
    background: #e0e9fa;
    border-radius: 50rem;
}

.loader.done {
    visibility: hidden;
    opacity: 0
}

.loader:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
    margin-left: -1.25rem;
    background: 0 0;
    border: 4px solid var(--bs-primary);
    box-shadow: none;
    border-radius: 50%;
    animation: loader-scale 1s ease-out infinite
}

.btn-loader {
    position: relative;
}

.btn-loader .loader:before {
    /* border: 4px solid #fff; */
    width: 1.5rem;
    height: 1.5rem;
    background: 0 0;
    margin-top: -0.75rem;
    margin-left: -0.75rem;
}

.blog img {
    max-width: 100%;
}

.os {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    font-family: sans-serif;
    color: var(--text-primary);
    margin: 0 0 2rem;
}

@media (min-width: 576px) {

    /* sm breakpoint */
    .os {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {

    /* md breakpoint */
    .os {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {

    /* lg breakpoint */
    .os {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {

    /* xl breakpoint */
    .os {
        grid-template-columns: repeat(5, 1fr);
    }
}

.os .item {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    height: auto;
    width: 100%;
    /* cursor: pointer; */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    background-color: white;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    text-align: center;
    box-shadow: 0px 0px 0px 1px rgba(10, 14, 29, 0.04), 0px 3px 16px 0px rgba(10, 14, 29, 0.06) !important;
    transition: background-color 0.3s ease;
}

.os .item:disabled {
    display: none;
}

.os .item:hover {
    /* background-color: var(--table-hover-bg); */
}

.os .item:focus {
    /* background-color: var(--brand-primary-hover-bg); */
}

.os .item .icon {
    position: static;
    height: 3rem;
    min-height: 3rem;
    width: 3rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.os .item .icon.ubuntu {
    background-image: url('/icon/ubuntu.svg');
}

.os .item .icon.rocky {
    background-image: url('/icon/rocky.svg');
}

.os .item .icon.debian {
    background-image: url('/icon/debian.svg');
}

.os .item .icon.centos {
    background-image: url('/icon/centos.svg');
}

.os .item .icon.fedora {
    background-image: url('/icon/fedora.svg');
}

.os .item .icon.almalinux {
    background-image: url('/icon/almalinux.svg');
}

.os .item .name {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #EEEFF2;
    padding-bottom: 0.25rem;
    font-weight: bold;
}

.os .item .version {
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    font-size: 0.875rem;
    display: none;
    font-size: 13px;
}

.os .item .version.recommend {
    display: inline;
    font-weight: bold;
}

.os .item:hover .version {
    display: inline;
}