/* SpaceWorks Disease Tax List Widget */
.sw-disease-tax-grid {
    display: grid;
    gap: 30px;
    /* Columns defined by Elementor Controls inline CSS */
}

.sw-disease-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.sw-disease-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.sw-disease-card-title {
    color: #4CAF50; /* Fallback default */
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.sw-disease-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #333;
}

.sw-disease-card-subtitle {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #333;
}

.sw-disease-card-symptoms {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    flex-grow: 1; /* Pushes the read-more button down */
}

.sw-disease-card-symptoms li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}

.sw-disease-card-symptoms li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 0.5em;
    height: 0.8em;
    background-color: #4CAF50; /* Default arrow color */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.sw-disease-card-readmore {
    margin-top: auto; /* Always at bottom */
    font-size: 0.9rem;
    color: #A1887F; /* Default brown-ish text */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.sw-disease-card-readmore:hover {
    opacity: 0.8;
}

.sw-disease-card-readmore i {
    margin-left: 5px;
    font-size: 0.8em;
}

/* Base override for elementor link behaviors if needed */
.sw-disease-card a {
    text-decoration: none;
}
