/* Common styles for example and price tiles */
.tile {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(200, 201, 204, 0.8);
    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%;
}

a.tile {
    color: inherit;
    text-decoration: none;
}

.tile:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.tile:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !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;
}

/* Responsive styles for tiles */
@media screen and (max-width: 768px) {
    .tile h3 {
        font-size: 1.02rem;
        padding: 12px 15px;
    }
}

@media screen and (max-width: 480px) {
    .tile h3 {
        font-size: 0.98rem;
        padding: 10px 15px;
        hyphens: auto;
        word-break: break-word;
    }
}
