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

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

/* Hero verdict card */
.rd-vs-verdict {
    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-vs-verdict__label {
    margin: 0;
    color: var(--vs-blue);
    font: 700 12px/1.3 "Open Sans", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rd-vs-verdict__row {
    padding: 14px 16px;
    border: 1px solid var(--vs-line);
    border-radius: 12px;
    background: var(--vs-soft);
}

.rd-vs-verdict__row--b { border-color: #bfe9f2; background: #eafaff; }

.rd-vs-verdict__row strong {
    display: block;
    margin-bottom: 3px;
    font: 700 16px/1.2 "Ubuntu", sans-serif;
    color: var(--vs-ink);
}

.rd-vs-verdict__row span {
    color: var(--vs-muted);
    font: 400 14px/1.45 "Open Sans", sans-serif;
}

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

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

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

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

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

.rd-vs-table thead th:nth-child(2) { color: #bcd4ff; }
.rd-vs-table thead th:nth-child(3) { color: #a7ecf7; }

.rd-vs-table tbody tr:nth-child(even) td { background: #f7fbff; }
.rd-vs-table tbody tr:last-child td { border-bottom: 0; }
.rd-vs-table td:first-child { font-weight: 700; }

/* Lean-toward two-column */
.rd-vs-lean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 26px 0;
}

.rd-vs-lean article {
    display: flex;
    gap: 15px;
    padding: 22px;
    border: 1px solid var(--vs-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(20, 60, 120, .05);
}

.rd-vs-lean article.rd-vs-lean--b {
    border-color: #bfe9f2;
    background: linear-gradient(180deg, #f5fbfd, #eef6ff);
}

.rd-vs-lean i {
    flex: 0 0 auto;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--vs-blue), var(--vs-cyan));
    color: #fff;
    font-size: 18px;
}

.rd-vs-lean p {
    margin: 0;
    color: var(--vs-ink);
    font-size: 15px;
    line-height: 1.55;
}

.rd-vs-lean p strong {
    display: block;
    margin-bottom: 4px;
    font: 700 17px/1.25 "Ubuntu", sans-serif;
    color: var(--vs-blue);
}

.rd-vs-lean--b p strong { color: #1290ad; }

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