/* Navigationskachel Styles (Frontend & Editor) */
.arlinger-nav-kachel {
    border-radius: 16px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    margin: 1.5rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.arlinger-nav-kachel-img-wrapper {
    position: relative;
    margin: 0;
}

.arlinger-nav-kachel-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    margin-bottom: 0 !important; /* Prevent theme global img margins */
    cursor: pointer !important; /* Override lightbox zoom cursors */
}

.arlinger-nav-kachel-body {
    padding: 0.75rem 1.25rem; /* Drastically reduced vertical padding (12px top/bottom) */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.arlinger-nav-kachel-text {
    margin: 0 !important; /* Prevent theme h3 margins */
    font-weight: 700;
    font-size: 1.35rem; 
    line-height: 1.2; /* Tighter line height prevents invisible gap above text */
    color: #212529;
}

.arlinger-nav-kachel-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-left: 1rem;
    background-color: #0d6efd; /* fallback */
    color: #fff;
    flex-shrink: 0;
}

/* Hover effects */
.arlinger-nav-kachel:hover,
.arlinger-nav-kachel:focus {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1) !important;
}
.arlinger-nav-kachel:hover .arlinger-nav-kachel-img,
.arlinger-nav-kachel:focus .arlinger-nav-kachel-img {
    transform: scale(1.05);
}
.arlinger-nav-kachel:hover .arlinger-nav-kachel-icon,
.arlinger-nav-kachel:focus .arlinger-nav-kachel-icon {
    transform: scale(1.05);
}
