/* Wrapper */
.rlm-activities-wrapper {
    max-width: 100%;
    margin: 40px auto;
    font-family: "Inter", sans-serif;
}

/* Accordion box */
.rlm-activity-item {
    background: ffffff;
    color: #4E4E53;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* fixes double radius */
    transition: all 0.3s ease;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
}

/* Header */
.rlm-activity-header {
    width: 100%;
    background: #ffffff;
    color: #4E4E53;
    text-align: left;
    padding: 20px 30px;
    font-family: 'Urbanist', sans-serif;
    font-size: 24px;
    font-weight: 600;
    LINE-HEIGHT: 40PX;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    border-radius: 0; /* only parent has radius */
}

.rlm-activity-header:hover {
    background: #ffffff;
    COLOR: #4E4E53;
}

.rlm-activity-header.active {
    background: #ffffff;
    COLOR: #4E4E53;
    border: 1px solid #f7eeee;
    border-radius: 6px;
}

/* Font Awesome arrow */
.rlm-activity-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Accordion content */
.rlm-activity-content {
    background: #fff;
    color: #68686E;
    font-size: 16px;
    font-family: 'Public Sans', sans-serif;
    display: none; /* hidden initially */
    padding: 24px;
}

/* Inner content */
.rlm-activity-inner {
    display: flex;
    gap: 25px;
    align-items: flex-start; /* top align */
}

/* Image */
.rlm-activity-image {
    flex: 1;
    max-width: 100%;
    border-radius:6px;
    border: 1px solid #f7eeee;
}

.rlm-activity-image img {
    width: 100%;
    display: block;
}

/* Text */
.rlm-activity-text {
    flex: 1;
}

.rlm-activity-text p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .rlm-activity-inner {
        flex-direction: column;
    }

    .rlm-activity-image {
        max-width: 100%;
        border: 1px solid 
    }

    .rlm-activity-content {
    background: #fff;
    color: #68686E;
    font-size: 15px;
    font-family: 'Public Sans', sans-serif;
    display: none; /* hidden initially */
    padding: 24px;
}

.rlm-activity-header {
    width: 100%;
    background: #ffffff;
    color: #4E4E53;
    text-align: left;
    padding: 20px 30px;
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    LINE-HEIGHT: 30PX;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    border-radius: 0; /* only parent has radius */
}

} 
/* Responsive */
@media (max-width: 768px) {
    .rlm-activity-inner {
        flex-direction: column;
    }

    .rlm-activity-image {
        max-width: 100%;
    }

        .rlm-activity-content {
    background: #fff;
    color: #68686E;
    font-size: 15px;
    font-family: 'Public Sans', sans-serif;
    display: none; /* hidden initially */
    padding: 20px;
}

.rlm-activity-header {
    width: 100%;
    background: #ffffff;
    color: #4E4E53;
    text-align: left;
    padding: 20px 30px;
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    LINE-HEIGHT: 25PX;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    border-radius: 0; /* only parent has radius */
}

}

.rlm-activities-count {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #68686E;
    margin-bottom: 20px;
    text-align: left;
}

button, .ast-button, .button, input[type="button"], input[type="reset"], input[type="submit"], a:where(.wp-block-button__link) {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
