/* The guide layout uses body#sa1 for Buenos Aires. */
body:not(#sa1) [data-baOnly] {
    display: none;
}

.terms-page,
.legal-page {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.terms-page section {
    margin-top: 16px;
    scroll-margin-top: calc(var(--header-height, 5rem) + 1rem);
}

.terms-page section + section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #d8dde2;
}

.terms-page section h3,
.legal-page section h3,
.legal-document section h2 {
    font-weight: bold;
    color: var(--gray-700);
    font-size: 16px;
    margin-bottom: 8px;
}

.terms-page section h4,
.legal-page section h4 {
    font-weight: bold;
    color: var(--gray-600);
    font-size: 16px;
    margin-bottom: 6px;
}

.terms-page section p,
.legal-page section p {
    margin: 0 0 1.25rem;
}

.terms-page section ul > li,
.legal-page section ul > li {
    list-style-type: disc;
}

.terms-page section ul ul > li,
.legal-page section ul ul > li {
    list-style-type: circle;
}

.terms-page section ol > li,
.legal-page section ol > li {
    list-style-type: decimal;
}

.terms-page .terms-last-updated,
.legal-page .terms-last-updated {
    color: var(--gray-600);
}

.legal-page address {
    font-style: normal;
}

.information-page section h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-700);
    margin: 1.5rem 0 0.75rem;
}

.information-page section h2:first-child {
    margin-top: 0;
}

.legal-page a,
.terms-page section a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
    overflow-wrap: anywhere;
}

.legal-page a:focus-visible,
.terms-page a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Standalone app policies do not load the guide's Bootstrap stylesheet. */
.legal-document {
    --gray-400: #a8a29e;
    --gray-600: #57534e;
    --gray-700: #44403c;
    max-width: 52rem;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

.legal-document .tab-pane__heading {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.legal-document .pl-4 {
    padding-left: 1.5rem;
}

.legal-document .mb-4 {
    margin-bottom: 1.5rem;
}

.legal-document .mb-2 {
    margin-bottom: 0.5rem;
}
