/**
 * Public styles for HR-ON InfoBox
 */

.hron-infobox-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hron-infobox {
    width: fit-content;
    min-width: 180px;
    max-width: 400px;
    height: 180px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease;
    cursor: pointer;
}

.hron-infobox:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.hron-infobox a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding: 15px;
    box-sizing: border-box;
}

.hron-infobox img {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.hron-infobox:hover img {
    transform: scale(1.2);
}

.hron-infobox p {
    margin: 16px 0 0 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-align: center;
    line-height: 1.2;
    width: auto;
    padding: 0 16px;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Responsive styles */
@media (max-width: 767px) {
    .hron-infobox-container {
        gap: 16px;
    }
    
    .hron-infobox {
        width: fit-content;
        min-width: 160px;
        max-width: 350px;
        height: 160px;
    }
    
    .hron-infobox a {
        padding: 12px;
    }
    
    .hron-infobox img {
        width: 48px;
        height: 48px;
    }
    
    .hron-infobox p {
        font-size: 16px;
        margin: 12px 0 0 0;
        padding: 0 14px;
    }
}

@media (max-width: 480px) {
    .hron-infobox {
        width: fit-content;
        min-width: 140px;
        max-width: 280px;
        height: 140px;
    }
    
    .hron-infobox a {
        padding: 10px;
    }
    
    .hron-infobox img {
        width: 40px;
        height: 40px;
    }
    
    .hron-infobox p {
        font-size: 14px;
        margin: 10px 0 0 0;
        padding: 0 12px;
    }
}



