.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .cards-container {
        grid-template-columns: 1fr !important;
    }
}

.card {
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

/* .card:hover {
    transform: translateY(-5px);
} */

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image {
    width: 100%;
    height: 100%;
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 180px;
    min-height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* .card:hover .card-img {
    transform: scale(1.05);
} */

.card-content {
    padding: 8px 0;
}

.card-title {
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    color: #32a9e0;
    margin: 10px 0px 8px 0px;
}

.card-title-small {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    color: #32a9e0;
    margin: 0px 0px 10px 0px;
}

.host-label {
    color: #888;
}

.card-datetime {
    font-family: "brandon-grotesque", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    color: #003c64;
}

.card-description {
    margin-top: 0.25rem;
    margin-right: 0rem;
    margin-bottom: 1rem;
    margin-left: 0rem;
    border: 0;
    font-family: "Lato", sans-serif;
    font-size: .95em;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0em;
    text-transform: none;
    color: #444;
}

.card-type {
    position: absolute;
    top: 8px;
    left: 8px;
    background: white;
    padding: 2px 10px;
    border-radius: 3px;
    opacity: 0.8;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 600;
    color: #0f3c63;
    font-size: 0.85em;
    z-index: 1;
    text-transform: uppercase;
}

.card-skill {
    position: absolute;
    top: 50px;
    left: 8px;
    background: black;
    color: white;
    padding: 2px 10px;
    border-radius: 3px;
    opacity: 0.8;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 600;
    font-size: 0.85em;
    z-index: 1;
    text-transform: uppercase;
}

.easy{
    background-color: #3A6B23;
}

.medium{
    background-color: #BF7F05;
}

.hard{
    background-color: #8C1015;
}

.host{
    text-transform: uppercase;
}

.card-banner {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    padding: 2px 10px;
    border-radius: 3px;
    opacity: 0.8;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 600;
    color: #0f3c63;
    font-size: 0.85em;
    z-index: 1;
    text-transform: uppercase;
}

.hide{
    display: none !important;
}

.show{
    display: block !important;
}

.card {
    position: relative; /* Add this if not already present */
}

.card-aplus-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px; /* Adjust size as needed */
    height: auto;
    z-index: 2;
}

.card-content hr{
    height: 1px;
    background-color: #ccc!important;
    margin: 10px 0px !important;
}

.card:hover .card-content hr {
    background-color: #EC1E27 !important;
}

.experience-edit-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0 5px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 10;
    text-decoration: none;
}

.experience-edit-link:hover {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

/* Loading Animation */

.is-animated {
    animation: .6s zoom-in;
}


/* Custom Tabs Widget Styling */

.pills-tabs{
    width: 100%;
}

.pills-tabs .e-n-tabs-heading{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
    list-style-type: none;
}

.pills-tabs .nav-pills.flex-column {
    flex-direction: column;
}

.pills-tabs .e-n-tabs-heading button{
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 1rem;
    margin: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    background-color: #fff !important;
    color: #29ABE2 !important;
}

.pills-tabs .e-n-tabs-heading button:hover{
    background-color: #d6f2ff !important;
}

.pills-tabs .e-n-tabs-heading button:active {
    background-color: #1078a5 !important;
    color: #fff;
}

.pills-tabs .e-n-tabs-heading button[aria-selected="true"] {
    background-color: #29ABE2 !important;
    color: #fff !important;
}

/* Search Bar for experiences */

.experiences-search-container {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box !important;
}

.experiences-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}


