﻿.servicehub-entrywidget-servicetiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .servicehub-entrywidget-servicetiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

.servicehub-entrywidget-backtolist {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.servicehub-entrywidget-servicetile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #666666;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.servicehub-entrywidget-servicetile:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.servicehub-entrywidget-servicetile:focus-visible {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

.servicehub-entrywidget-safetymessage {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: oklch(0.971 0.013 17.38);
    border: 1px solid oklch(0.936 0.032 17.717);
    color: oklch(0.444 0.177 26.899);
}

.servicehub-entrywidget-safetymessage::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
    display: block;
    flex-shrink: 0;
    line-height: 0;
}
        
.servicehub-entrywidget-safetymessage p {
    margin: 0;
}

.servicehub-entrywidget-backtolist::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='M12 19l-7-7 7-7'/%3E%3C/svg%3E");
    display: inline-block;
    line-height: 0;
    margin-right: 5px;
}

.servicehub-entrywidget-servicetile::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='24' fill='%23dbeafe'/%3E%3Crect x='10' y='10' width='28' height='14' rx='2' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='10' y='27' width='12' height='10' rx='2' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='25' y='27' width='13' height='10' rx='2' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    display: block;
    line-height: 0;
    margin-bottom: 10px;
}

.servicehub-entrywidget-backtolist a {
    font-size: 0.875rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.servicehub-entrywidget-backtolist a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.hide {
    display: none;
}
form.servicehub-entrywidget-searchform {
    width: 100%;
}

form.servicehub-entrywidget-searchform input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #666666;
    padding-left: 10px; 
    padding-top: 5px;
    padding-bottom: 5px;
}

.servicehub-entrywidget-searchsection {
    padding-bottom: 10px;
}