/* Prevents flex items from stretching to match height of neighbours */
.info-card-wrapper-e41642fb {
    align-self: flex-start;
    display: block;
    width: 100%;
}

.info-card-inner-e41642fb {
    cursor: pointer;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card-inner-e41642fb:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ic-thumb-e41642fb {
    height: 150px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.ic-content-e41642fb {
    padding: 20px;
}

.ic-title-e41642fb {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

.ic-desc-e41642fb {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Modal Styles */
.info-card-modal-e41642fb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.admin-bar .info-card-modal-e41642fb {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .info-card-modal-e41642fb {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.info-card-modal-e41642fb.active {
    opacity: 1;
    visibility: visible;
}

.info-card-modal-content-e41642fb {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.info-card-modal-e41642fb.active .info-card-modal-content-e41642fb {
    transform: scale(1);
}

.ic-modal-close-e41642fb {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.ic-modal-close-e41642fb:hover {
    background: #000;
}

.ic-modal-img-e41642fb {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.ic-modal-text-e41642fb {
    padding: 30px;
}

.ic-full-desc-e41642fb {
    margin: 20px 0;
    line-height: 1.6;
    color: #444;
}

.ic-meta-e41642fb {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ic-meta-e41642fb li {
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 767px) {
    .info-card-wrapper-e41642fb {
        width: 100%;
    }
    .ic-modal-text-e41642fb {
        padding: 20px;
    }
}