.webcast-related-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0;
    background-color: #ffffff;
    margin: 40px 0;
    box-sizing: border-box;
}

.webcast-related-item {
    flex: 0 0 calc(33.333% - 13.33px);
    max-width: calc(33.333% - 13.33px);
    min-width: 200px;
    background-color: transparent;
    /*border-radius: 8px;*/
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.webcast-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.webcast-related-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.webcast-related-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    /*border-radius: 8px 8px 0 0;*/
}

.webcast-related-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.webcast-related-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.webcast-related-item:hover .webcast-related-icon {
    background-color: rgba(255, 91, 0, 0.8);
}

.webcast-related-icon svg {
    width: 80%;
    height: 80%;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

.webcast-related-content {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.webcast-related-category {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webcast-related-title {
    font-size: 20px;
    line-height: 1.3;
    color: #333333;
    font-family: 'Abhaya Libre', serif !important;
    font-weight: 800;
    margin: 0;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .webcast-related-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: 220px;
    }
    .webcast-related-thumbnail-wrapper {
        padding-bottom: 65%;
    }
    .webcast-related-icon {
        width: 50px;
        height: 50px;
    }
    .webcast-related-title {
        font-size: 18px;
        -webkit-line-clamp: 4;
    }
    .webcast-related-category {
        font-size: 12px;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .webcast-related-item {
        flex: 0 0 calc(100% - 0px);
        max-width: 100%;
        min-width: unset;
    }
    .webcast-related-container {
        gap: 15px;
    }
    .webcast-related-thumbnail-wrapper {
        padding-bottom: 60%;
    }
    .webcast-related-icon {
        width: 45px;
        height: 45px;
    }
    .webcast-related-title {
        font-size: 17px;
        -webkit-line-clamp: 5;
    }
}
