﻿/* ==========================================================================
   Ratgeber page styles.
   Loaded alongside index.css, merkliste.css, kontakt.css, presse.css, and
   agb.css (see the page's Styles section) - reuses the eyebrow label,
   tinted header band, and breadcrumb/title/lead styles already defined
   there. This file only adds what's unique to this page: the article grid.
   ========================================================================== */

.mr-ratgeber-main {
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

.mr-ratgeber-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .mr-ratgeber-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mr-ratgeber-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mr-border);
    border-radius: var(--mr-radius);
    background: var(--mr-card);
    padding: 24px;
    transition: border-color 0.15s ease;
}

    .mr-ratgeber-card:hover {
        border-color: var(--mr-primary);
    }

.mr-ratgeber-tag {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mr-primary);
}

.mr-ratgeber-title {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--mr-foreground);
}

.mr-ratgeber-desc {
    flex: 1;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mr-muted-foreground);
}

.mr-ratgeber-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mr-primary) !important;
    text-decoration: none;
}

    .mr-ratgeber-link svg {
        width: 16px;
        height: 16px;
        transition: transform 0.15s ease;
    }

.mr-ratgeber-card:hover .mr-ratgeber-link svg {
    transform: translateX(2px);
}

@media (max-width: 640px) {
    .mr-ratgeber-main {
        padding: 36px 20px 56px;
    }
}
