/* CPTS Nice Nord et ses Collines - Newsletters aidants v1.0.0
 * Styles autonomes et limités à la rubrique des aidants.
 * Reproduit l'esprit des cartes MaCPTS sans modifier leur CSS. */
.cpts-aidants-newsletters {
    width: 100%;
    box-sizing: border-box;
}
.cpts-aidants-newsletters,
.cpts-aidants-newsletters * { box-sizing: border-box; }
.cpts-aidants-newsletters__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.cpts-aidants-newsletters__card {
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #DFE9E8;
    border-radius: 14px;
    padding: 18px;
    color: #06265B;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(6, 38, 91, 0.06);
    min-width: 0;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cpts-aidants-newsletters__card:hover,
.cpts-aidants-newsletters__card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(6, 38, 91, .13);
}
.cpts-aidants-newsletters__card:focus-visible {
    outline: 2px solid #8064AA;
    outline-offset: 3px;
}
.cpts-aidants-newsletters__icon {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F1EAF8;
    color: #8064AA;
}
.cpts-aidants-newsletters__icon svg { width: 34px; height: 34px; }
.cpts-aidants-newsletters__meta {
    grid-column: 2;
    grid-row: 1;
    font-family: inherit;
    color: #8064AA;
    font-size: 13px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
}
.cpts-aidants-newsletters__title {
    grid-column: 2;
    grid-row: 2;
    color: #06265B;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
/* Comme les newsletters générales, la plus récente est mise à l'honneur. */
.cpts-aidants-newsletters__card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 90px minmax(0, 1fr);
    padding: 22px;
    background: #F5F1FA;
    border-left: 4px solid #8064AA;
}
.cpts-aidants-newsletters__card:first-child .cpts-aidants-newsletters__icon { width: 90px; height: 90px; }
.cpts-aidants-newsletters__card:first-child .cpts-aidants-newsletters__title { font-size: 19px; }
@media (max-width: 767px) {
    .cpts-aidants-newsletters__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .cpts-aidants-newsletters__card,
    .cpts-aidants-newsletters__card:first-child {
        grid-column: auto;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 12px;
        padding: 14px;
    }
    .cpts-aidants-newsletters__icon,
    .cpts-aidants-newsletters__card:first-child .cpts-aidants-newsletters__icon {
        width: 52px;
        height: 52px;
    }
    .cpts-aidants-newsletters__icon svg { width: 28px; height: 28px; }
    .cpts-aidants-newsletters__title,
    .cpts-aidants-newsletters__card:first-child .cpts-aidants-newsletters__title { font-size: 14px; }
}
