/* The platform's section card (components/section_card.py): one white card per segment
   of a page, on the page's light grey, with a title, a one-line subtitle, the content and
   an optional footer link. First used by Site Review; every page laid out in segments
   uses it, so they read alike. */

.mira-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 18px;
}

.mira-card-head {
    margin-bottom: 12px;
}

.mira-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.mira-card-subtitle {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 2px;
}

.mira-card-foot {
    margin-top: 12px;
}

.mira-card-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: #1e40af;
    text-decoration: none;
}

.mira-card-link:hover {
    text-decoration: underline;
}

/* A page laid out in cards (``mira-card-page``) keeps the app's own page colour, as Site
   Review does, so the cards stand out on it and it fills the window. No rule needed. */

/* Two cards side by side, one column on narrow screens. */
.mira-card-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.mira-card-row > .mira-card { margin-bottom: 18px; }
@media (max-width: 1199.98px) {
    .mira-card-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
