/* Microsoft 365 backup article. Layered on the shared cyber-risks-article.css;
   only the components unique to this page live here. */

.rd-m365-page {
    --m365-navy: #07111f;
    --m365-ink: #16233a;
    --m365-blue: #2c66cc;
    --m365-cyan: #39bed2;
    --m365-muted: #5a6981;
    --m365-line: #dbe7f8;
    --m365-soft: #f3f8fc;
}

/* Hero recovery-window snapshot */
.rd-m365-snapshot {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    border: 1px solid rgba(141, 222, 234, .3);
    background: linear-gradient(180deg, #ffffff, #eaf3ff);
    box-shadow: 0 24px 46px rgba(4, 14, 25, .32);
}

.rd-m365-snapshot__label {
    margin: 0;
    color: var(--m365-blue);
    font: 700 12px/1.3 "Open Sans", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rd-m365-snapshot__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid var(--m365-line);
    border-radius: 12px;
    background: var(--m365-soft);
}

.rd-m365-snapshot__row span {
    font: 700 15px/1.25 "Ubuntu", sans-serif;
    color: var(--m365-ink);
}

.rd-m365-snapshot__row strong {
    white-space: nowrap;
    font: 700 18px/1.2 "Ubuntu", sans-serif;
    color: var(--m365-blue);
}

.rd-m365-snapshot__row--accent { border-color: #bfe9f2; background: #eafaff; }
.rd-m365-snapshot__row--accent strong { color: #1290ad; }
.rd-m365-snapshot__row--danger { border-color: #f3d3d7; background: #fdf1f2; }
.rd-m365-snapshot__row--danger strong { color: #b23b4d; }

.rd-m365-snapshot__foot {
    margin: 2px 2px 0;
    color: var(--m365-muted);
    font: 400 13px/1.4 "Open Sans", sans-serif;
}

/* Retention table */
.rd-m365-table-wrap {
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid var(--m365-line);
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
}

.rd-m365-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-family: "Open Sans", sans-serif;
}

.rd-m365-table caption {
    padding: 14px 18px;
    text-align: left;
    color: var(--m365-muted);
    font-size: 13px;
    border-bottom: 1px solid var(--m365-line);
    background: var(--m365-soft);
}

.rd-m365-table th,
.rd-m365-table td {
    padding: 13px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--m365-line);
    font-size: 15px;
    line-height: 1.5;
    color: var(--m365-ink);
}

.rd-m365-table thead th {
    background: var(--m365-navy);
    color: #eaf6ff;
    font: 700 14px/1.4 "Ubuntu", sans-serif;
    border-bottom: 0;
}

.rd-m365-table tbody tr:nth-child(even) td { background: #f7fbff; }
.rd-m365-table tbody tr:last-child td { border-bottom: 0; }
.rd-m365-table td:first-child { font-weight: 700; }
.rd-m365-table .rd-m365-window { white-space: nowrap; color: var(--m365-blue); font-weight: 700; }
.rd-m365-table .rd-m365-perm { color: #b23b4d; font-weight: 700; }

/* Shared responsibility split */
.rd-m365-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 26px 0;
}

.rd-m365-split article {
    padding: 24px;
    border: 1px solid var(--m365-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(20, 60, 120, .05);
}

.rd-m365-split article.rd-m365-split--you {
    border-color: #bfe9f2;
    background: linear-gradient(180deg, #f5fbfd, #eef6ff);
}

.rd-m365-split__tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--m365-navy);
    color: #eaf6ff;
    font: 700 12px/1 "Open Sans", sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rd-m365-split--you .rd-m365-split__tag { background: linear-gradient(135deg, var(--m365-blue), var(--m365-cyan)); }

.rd-m365-split h3 {
    margin: 0 0 12px;
    font: 700 18px/1.3 "Ubuntu", sans-serif;
    color: var(--m365-ink);
}

.rd-m365-split p {
    margin: 0;
    color: var(--m365-ink);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .rd-m365-split { grid-template-columns: 1fr; }
}
