/* Common styles for example and price tiles */
.tile {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer;
    height: 100%;
}

.tile:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 10;
}

.tile h3 {
    padding: 15px 20px;
    background-color: var(--primary-color);
    color: white;
    margin-bottom: 0;
    text-shadow: none;
    font-size: 1.06rem;
}

.tile-content {
    padding: 15px 20px;
    margin: 0;
    background-color: rgba(240, 248, 255, 0.9);
    font-size: 0.85rem;
    color: #666;    
    height: 100%;
    width: 100%;
}

/* Responsive styles for tiles */
@media screen and (max-width: 768px) {
    .tile h3 {
        font-size: 1.02rem;
        padding: 12px 15px;
    }
    
    .tile-content {
        font-size: 0.81rem;
        padding: 12px 15px;
        height: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .tile h3 {
        font-size: 0.98rem;
        padding: 10px 15px;
        hyphens: auto;
        word-break: break-word;
    }
    
    .tile-content {
        font-size: 0.77rem;
        padding: 10px 15px;
        height: 100%;
        width: 100%;
    }
}


