/**
Theme Name: Soul Core
Author: Soulheart
Author URI: https://soulheart.co
Description: Soul Core provides custom functionality and styling for the Soulheart website.
Version: 1.1
Text Domain: soul-core
Template: astra
*/

/* Thumbnail issue fixes */

.elementor-kit-13 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-articles .eael-post-list-container.layout-advanced .eael-post-list-thumbnail {
    height: 35%;
    margin-left: -15px;
    margin-right: -15px;
}

.eael-post-list-container.layout-advanced .eael-post-list-posts-wrap .eael-post-list-post .eael-post-list-thumbnail {
    max-width: calc(100% + 30px);
}


/* Thumbnail issue fixes ended */

.shopify-donation-widget {
    background-color: #fff;
    border-radius: 7px;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 18%);
}

.shopify-donation-widget .shopify-donation-widget__header {
    background-color: #2265DD;
    border-radius: 7px 7px 0 0;
    padding: 20px;
    text-align: center;
}

.shopify-donation-widget .shopify-donation-widget__title {
    color: #ffffff;
    font-size: 21px;
    margin: 0;
    text-transform: uppercase;
}

.shopify-donation-widget .shopify-donation-widget__content {
    padding: 20px;
}

.shopify-donation-widget .shopify-donation-widget__text {
    margin-bottom: 25px;
    text-align: center;
}

/* Donation Frequency Selection */

.shopify-donation-widget .shopify-donation-widget__frequency {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    max-width: 300px;
}

.shopify-donation-widget .shopify-donation-widget__frequency label {
    cursor: pointer;
    width: 50%;
}

.shopify-donation-widget .shopify-donation-widget__frequency label span {
    border: 2px solid #2265DD;
    border-radius: 7px;
    color: #2265DD;
    display: block;
    line-height: 1;
    padding: 15px 10px;
    text-align: center;
    transition: all .3s ease-in-out;
}

.shopify-donation-widget .shopify-donation-widget__frequency.shopify-donation-widget__frequency--2 label:first-child span {
    border-radius: 7px 0 0 7px;
}

.shopify-donation-widget .shopify-donation-widget__frequency.shopify-donation-widget__frequency--2 label:last-child span {
    border-radius: 0 7px 7px 0;
}

.shopify-donation-widget .shopify-donation-widget__frequency label input[type="radio"] {
    display: none;
}

.shopify-donation-widget .shopify-donation-widget__frequency label input:checked + span {
    background-color: #2265DD;
    color: #ffffff;
}

/* Donation Amount Selection */

.shopify-donation-widget .shopify-donation-widget__amount {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-gap: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    max-width: 320px;
}

.shopify-donation-widget .shopify-donation-widget__amount label {
    cursor: pointer;
}

.shopify-donation-widget .shopify-donation-widget__amount label[for="custom-donation"] {
    grid-column: span 3 / span 3;
    position: relative;
}

.shopify-donation-widget .shopify-donation-widget__amount label input[type="text"],
.shopify-donation-widget .shopify-donation-widget__amount label span {
    border: 1px solid #bbbbbb;
    color: #595959;
    display: block;
    font-size: 18px;
    line-height: 1;
    padding: 13px 10px;
    text-align: center;
    transition: all .3s ease-in-out;
    width: 100%;
}

.shopify-donation-widget .shopify-donation-widget__amount label input[type="text"] {
    padding-left: 23px;
    text-align: left;
}

.shopify-donation-widget .shopify-donation-widget__amount label input[type="radio"] {
    display: none;
}

.shopify-donation-widget .shopify-donation-widget__amount label input[type="text"]:focus,
.shopify-donation-widget .shopify-donation-widget__amount label input[type="radio"]:checked + input[type="text"],
.shopify-donation-widget .shopify-donation-widget__amount label input[type="radio"]:checked + span {
    border-color: #2265DD;
    color: #2265DD;
}

.shopify-donation-widget .shopify-donation-widget__amount label[for="custom-donation"] span.currency {
    border: 0;
    font-size: 17px;
    opacity: 0.6;
    position: absolute;
    left: 0;
    top: 3px;
    width: auto;
}

.shopify-donation-widget .shopify-donation-widget__footer {
    margin-bottom: 25px;
    text-align: center;
}

.shopify-donation-widget .shopify-donation-widget__notes {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
    text-align: center;
}