/* ============================================================
   HNMC Service-Kacheln v2.0 – Frontend Styles
   ============================================================ */

/* Responsive Grid */
.services-overview .services-grid {
    display: grid !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Card Base */
.services-overview .service-card {
    display: block !important;
    text-decoration: none !important;
    background: #fff !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: all 0.25s ease !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

/* Static Card (no link) */
.services-overview .service-card-static {
    cursor: default !important;
}

/* Highlighted Card */
.services-overview .service-card-highlighted {
    position: relative !important;
}

/* Header */
.services-overview .service-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    text-decoration: none !important;
    gap: 1rem !important;
}

/* Material Icon */
.services-overview .service-icon {
    font-size: 2rem !important;
    text-decoration: none !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    width: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Custom Image Icon */
.services-overview .service-icon-img {
    width: 2rem !important;
    height: 2rem !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Title */
.services-overview .service-title {
    font-size: 1.25rem !important;
    font-weight: bold !important;
    margin: 0 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

/* Preview text */
.services-overview .service-preview {
    line-height: 1.6 !important;
    font-family: inherit !important;
}

/* List styles (legacy support) */
.services-overview .service-list {
    text-decoration: none !important;
}

.services-overview .service-list li {
    display: flex !important;
    align-items: start !important;
    margin-bottom: 0.75rem !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    position: relative !important;
    padding-left: 1.5rem !important;
}

.services-overview .service-list li::before {
    content: "\2713" !important;
    position: absolute !important;
    left: 0 !important;
    margin-right: 0.75rem !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

/* Prevent all underlines */
.services-overview .service-card *,
.services-overview .service-card *:hover,
.services-overview .service-card *:focus,
.services-overview .service-card *:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

.services-overview a,
.services-overview a:hover,
.services-overview a:focus,
.services-overview a:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Preview formatting */
.services-overview .service-preview p,
.services-overview .service-preview span:not(.material-icons),
.services-overview .service-preview strong,
.services-overview .service-preview b,
.services-overview .service-preview em,
.services-overview .service-preview i:not(.material-icons),
.services-overview .service-preview ul,
.services-overview .service-preview ol,
.services-overview .service-preview li {
    font-family: inherit !important;
}
