.swifty-resources {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: var(--body-font) !important;
}

.swifty-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background-color: var(--quaternary-color);
    padding: 15px;
    margin-bottom: 50px
}

.swifty-toolbar-left{
    gap: 10px;
    display: flex;
}

.swifty-toolbar select {
    border: 1px solid var(--secondary-color);
    color:var(--secondary-color);
    width: 100%;
    max-width: 370px;
    border-radius: 4px;
}

.swifty-pill {
    border-radius: 0;
    padding: 13px 20px;
    border: 1px solid var(--secondary-color);
    background: var(--secondary-color);
    cursor: pointer;
    color: #fff;
    border-radius: 4px;
}

.swifty-pill.is-active {
    background: #06b6d4;
    color: #fff;
    border-color: transparent
}

.swifty-select {
    border: 1px solid #e5eaef;
    border-radius: 999px;
    padding: 8px 36px 8px 12px;
    background: #fff;
    cursor: pointer
}

body .swifty-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding: 50px 15px;
}

.swifty-cards .swifty-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}
body.single .swifty-cards .swifty-cards-wrapper {
    display: block;
}
.swifty-card {
    background: var(--quaternary-color);
    border: 1px solid #e5eaef;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.swifty-card-media {
    height: 120px;
    background: linear-gradient(135deg, #0b4457 0%, #103a4b 60%)
}

.swifty-card .post-title-wrap h2.single-post-title{
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(20px, 1.4vw, 22px);
    line-height: clamp(25px, 2vw, 32px);
    margin: 0 0 20px;
}

.swifty-card .post-img-wrap a.post-img {
    display: flex;
    height: 100%;
}

.swifty-card .post-img-wrap a.post-img .single-featured-image {
    width: 100%;
}

.swifty-card .post-img-wrap a.post-img .single-featured-image img.wp-post-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.post-info {
    padding: 20px;
}

.swifty-card-body {
    padding: 14px
}

.swifty-meta {
    color: #5b6b7a;
    font-size: 12px
}

.swifty-title {
    font-size: 15px;
    font-weight: 700;
    margin: 10px 0 6px
}

.swifty-excerpt {
    color: #5b6b7a;
    font-size: 13px;
    margin: 0 0 10px
}

.swifty-card-footer {
    padding: 10px 14px
}

a.swifty-link {
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    font-size: clamp(16px, 1.1vw, 20px);
    font-weight: 700;
    line-height: clamp(20px, 1.7vw, 22px);
    padding: clamp(10px, 1.2vw, 16px) /* top */ clamp(45px, 5.5vw, 80px) /* right */ clamp(10px, 1.2vw, 16px) /* bottom */ 0;
}

a.swifty-link::before {
    content: '';
    position: absolute;
    top: 50%;
    right: clamp(25px, 3vw, 45px);
    transform: translateY(-50%);
    width: clamp(16px, 1.3vw, 20px);
    height: clamp(10px, 0.9vw, 13px);
    background-color: currentColor;
    -webkit-mask: url("/wp-content/uploads/2025/03/arrow-white.svg") no-repeat center / contain;
    mask: url("/wp-content/uploads/2025/03/arrow-white.svg") no-repeat center / contain;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

a.swifty-link:hover::before {
    transform: translate(5px, -50%);
}

a.swifty-link::after {
    content: "";
    width: calc(100% - 42px);
    height: 2px;
    border-bottom: 2px solid;
    position: absolute;
    left: 0;
    bottom: 10px;
    transition: all 0.5s ease;
}

a.swifty-link:hover::after{
    width: calc(100% - 42px);
}

.swifty-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: clamp(260px, 28vw, 380px);
}

.swifty-search input {
    width: 100%;
    padding: 10px;
    border-radius: 0px;
    border: 1px solid #BEBEBE;
}

.swifty-panel {
    background: #fff;
}

.swifty-panel h3 {
    margin: 0;
    padding: 14px 16px;
}

.swifty-list {
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.swifty-list-item {
    display: flex;
    gap: 10px;
    padding: 20px;
    border: 1px solid #e5eaef;
    border-radius: 12px;
    background: #fff
}

.swifty-thumb {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b4457, #103a4b)
}

.swifty-item-kicker {
    font-size: 12px;
    color: #5b6b7a;
    margin-bottom: 6px
}

.swifty-item-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(20px, 1.4vw, 22px);
    line-height: clamp(25px, 2vw, 32px);
    margin: 0 0 20px;
}

.swifty-cta {
    background: #ef4e2f;
    color: #fff;
    border-radius: 12px;
    margin: 0px;
    padding: 20px 10px;
}

.swifty-cta h3 {
    padding: 16px;
    font-size: clamp(18px, 1.2vw, 22px);
    line-height: clamp(28px, 1.7vw, 32px);
}

.swifty-cta form {
    padding: 0 15px !important;
    position: relative;
}

.swifty-cta form .forminator-row .forminator-field-email{
    position: relative;
    width: 100%;
}


.swifty-cta-body {
    padding: 14px 16px;
    display: grid;
    gap: 10px
}

.swifty-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px
}

.swifty-input-row input {
    border-radius: 10px;
    border: 0;
    padding: 10px
}

.swifty-btn {
    border-radius: 10px;
    border: 0;
    background: #0f172a;
    color: #fff;
    padding: 10px 14px;
    cursor: pointer
}

.swifty-load-more {
    display: flex;
    justify-content: center;
    margin: 20px 0 0
}

.swifty-load-more button {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid #06b6d4;
    color: #075985;
    background: #e6fffb;
    font-weight: 600;
    cursor: pointer
}


.post-category.field.field--name-field-article-type {
    padding-left: 35px;
    margin-bottom: 20px;
    text-transform: capitalize;
    font-weight: 500 !important;
}


.swifty-card .post-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.swifty-card .post-details .post-info {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.swifty-card .post-details .post-info .post-title-wrap {
    flex: 1;
}

.swifty-card .post-img-wrap {
    min-height: 150px;
    height: 8vh;
}

section.swifty-cards .agility-resource-load-more {
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

button.btn.btn-secondary {
    font-family: var(--body-font);
    display: inline-block;
    vertical-align: top;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50px;
    padding: 16px 70px 16px 55px;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center right;
    color: #fff;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 48px;
    align-self: flex-start;
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
    cursor: pointer;
}

button.btn.btn-secondary:hover {
    background-color: var(--secondary-hover-color);
    border: 2px solid var(--secondary-hover-color);
}

.swifty-cta .swifty-input-row {
    gap: 0;
    display: flex;
}
.swifty-cta .swifty-input-row input {
    border-radius: 10px 0 0 10px;
    flex: 1;
}

.swifty-cta .swifty-input-row .swifty-btn {
    border-radius: 0 10px 10px 0;
    background-color: var(--secondary-color);
    width: 55px;
}

.swifty-cta .swifty-input-row .swifty-btn:hover {
    background-color: var(--secondary-hover-color);
}

.swifty-toolbar select{
    position: relative;
    background-image: url(/wp-content/uploads/2025/10/down-arrow.svg);
    background-repeat: no-repeat;
}

section.swifty-cards .agility-resource-load-more button.btn{
    font-size: clamp(16px, 1.1vw, 20px);
    line-height: clamp(20px, 1.7vw, 22px);
}

/* .swifty-toolbar select::before{
    content: "";
    position: absolute;
    right: 10px;
    top:10px;
    width: 20px;
    height: 20px;
    background-image: url(/wp-content/uploads/2025/10/down-arrow.svg);
    background-repeat: no-repeat;
} */




@media only screen and (max-width: 1720px) {
    button.btn.btn-secondary {
        min-height: 46px;
        border-radius: 45px;
    }
}

@media only screen and (max-width: 1536px) {

}


@media only screen and (max-width: 1280px) {
    .swifty-cards {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media only screen and (max-width: 1024px) {
    .swifty-cards .swifty-cards-wrapper {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media only screen and (max-width: 992px) {
    .swifty-grid {
        grid-template-columns: 1fr
    }

    .swifty-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    body .swifty-grid{
        grid-template-columns: auto;
        padding: 50px 15px;
    }

    .swifty-toolbar{
        margin-bottom: 0px;
    }
    .swifty-card .post-img-wrap {
        min-height: 200px;
    }
    .node--footer.related-post .summary-output article.node.node--type-article{
        flex: 1 1 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
        padding: 20px;
    }
    body .node--footer.related-post .container {
        padding: 0;
    }
    .swifty-sidebar{
        max-width: 100%;
    }
    .swifty-sidebar {
        width: 100%;
    }
    .swifty-cta form .forminator-row .subscription-form .forminator-input{
        padding: 20px 9px;
    }
    
}

@media only screen and (max-width: 767px) {
    .swifty-cards {
        grid-template-columns: 1fr;
    }
    .swifty-cards .swifty-cards-wrapper{
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .node--footer.related-post .summary-output article.node.node--type-article{
        flex: 1 1 calc((100% - 20px) / 1);
        max-width: calc((100% - 20px) / 1);
        margin: 0 auto;
    }
    .swifty-card .post-details .post-info{
        height: auto;
    }
    
}

.swifty-sr {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden
}