.widget-contenido-relacionado {
    background-color: transparent;
    /* Transparent to blend with theme card */
    border-radius: 12px;
    border: none;
    /* No border to avoid double-box */
    box-shadow: none;
    /* Removed the "weird" shadow */
    padding: 0 0 20px 0;
    /* Restored bottom spacing */
    text-align: center;
    font-family: inherit;
    /* Use site font */
    position: relative;
}

.widget-contenido-relacionado .version,
.widget-contenido-relacionado .boton-busqueda {
    margin-left: 5px;
    margin-right: 5px;
}

.banner-contenido-relacionado {
    background-image: url(https://fullprogramaspc.com/wp-content/uploads/desktop-wallpaper-simple-red-red-simple.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 5rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.widget-contenido-relacionado h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 0;

    /* Reset theme styles */
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
    display: block !important;
    width: auto !important;
    color: inherit;
    /* Allow color override if needed, or set explicitly */
}

.widget-contenido-relacionado .boton-busqueda {
    display: inline-block;
    background-color: #3b82f6;
    color: #ffffff;
    padding: 12px 24px;
    text-align: center;
    border-radius: 9999px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 15px;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
    /* Colored shadow matched to button */
    transition: all 0.2s ease;
    border: none;
    line-height: normal;
}

.widget-contenido-relacionado .boton-busqueda:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
    background-color: #ffd633;
}

.widget-contenido-relacionado .boton-busqueda img.favicon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    /* Circle */
    margin-right: 8px;
    vertical-align: middle;
    background-color: #ffffff;
    padding: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.widget-contenido-relacionado .categoria,
.widget-contenido-relacionado .fecha-actualizacion,
.widget-contenido-relacionado .version {
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.widget-contenido-relacionado .version {
    background-color: #ffcc00;
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
    color: #333;
    margin-top: 5px;
    font-weight: 600;
}

.widget-contenido-relacionado .imagen-circulo {
    position: absolute;
    width: 65px;
    height: 65px;
    top: 14%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: none;
}