/* =========================================================
   Legal / Privacy / Terms Content
   ========================================================= */

.text-default {
    width: 100%;
    max-width: 100%;
    color: #111827;
    font-size: 1rem;
    line-height: 1.75;
}

/* ---------------------------------------------------------
   Headings
   --------------------------------------------------------- */

.text-default h1,
.text-default h2,
.text-default h3,
.text-default h4,
.text-default h5,
.text-default h6 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.text-default h1 {
    font-size: 2rem;
    margin-top: 0;
}

.text-default h2 {
    font-size: 1.75rem;
}

.text-default h3 {
    font-size: 1.4rem;
}

.text-default h4 {
    font-size: 1.2rem;
}

.text-default h5 {
    font-size: 1.05rem;
}

.text-default h6 {
    font-size: 1rem;
}

/* First heading should not have huge top spacing */
.text-default>h1:first-child,
.text-default>h2:first-child,
.text-default>h3:first-child {
    margin-top: 0;
}

/* ---------------------------------------------------------
   Paragraphs
   --------------------------------------------------------- */

.text-default p {
    margin: 0 0 1.25rem;
}

.text-default p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   Links
   --------------------------------------------------------- */

.text-default a {
    color: #0f766e;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.text-default a:hover {
    color: #065f46;
}

/* ---------------------------------------------------------
   Strong / emphasis
   --------------------------------------------------------- */

.text-default strong,
.text-default b {
    color: #111827;
    font-weight: 700;
}

.text-default em,
.text-default i {
    font-style: italic;
}

/* ---------------------------------------------------------
   Unordered / Ordered Lists
   --------------------------------------------------------- */

.text-default ul,
.text-default ol {
    margin: 0 0 1.5rem;
    padding-left: 1.75rem;
}

.text-default ul {
    list-style-type: disc;
}

.text-default ol {
    list-style-type: decimal;
}

.text-default ul ul {
    list-style-type: circle;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.text-default ul ul ul {
    list-style-type: square;
}

.text-default ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.text-default li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.text-default li:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   Blockquote
   --------------------------------------------------------- */

.text-default blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #0f766e;
    background: #f8fafc;
    color: #475569;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
}

.text-default blockquote p {
    margin-bottom: 0.75rem;
}

.text-default blockquote p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   Horizontal Rule
   --------------------------------------------------------- */

.text-default hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2.5rem 0;
}

/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */

.text-default table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 0.95rem;
}

.text-default thead {
    background: #f8fafc;
}

.text-default th {
    padding: 0.9rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
}

.text-default td {
    padding: 0.85rem 1rem;
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.text-default tbody tr:last-child td {
    border-bottom: 0;
}

.text-default tbody tr:hover {
    background: #f8fafc;
}

.text-default tbody tr:nth-child(even) {
    background: #f9fafb;
}

/* ---------------------------------------------------------
   Images
   --------------------------------------------------------- */

.text-default img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.text-default figure {
    margin: 2rem 0;
}

.text-default figcaption {
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   Code
   --------------------------------------------------------- */

.text-default code {
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    background: #f1f5f9;
    color: #be123c;
    font-family: monospace;
    font-size: 0.9em;
}

.text-default pre {
    margin: 2rem 0;
    padding: 1.25rem;
    overflow-x: auto;
    border-radius: 0.5rem;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

.text-default pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

/* ---------------------------------------------------------
   Definition Lists
   --------------------------------------------------------- */

.text-default dl {
    margin: 1.5rem 0;
}

.text-default dt {
    margin-top: 1rem;
    color: #111827;
    font-weight: 700;
}

.text-default dd {
    margin: 0.25rem 0 0 1.5rem;
    color: #475569;
}

/* ---------------------------------------------------------
   Small / Mark / Sup / Sub
   --------------------------------------------------------- */

.text-default small {
    font-size: 0.875em;
}

.text-default mark {
    padding: 0.1rem 0.25rem;
    background: #fef3c7;
}

.text-default sup,
.text-default sub {
    font-size: 0.75em;
}

/* ---------------------------------------------------------
   Address
   --------------------------------------------------------- */

.text-default address {
    margin: 1.5rem 0;
    font-style: normal;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   Video / iframe
   --------------------------------------------------------- */

.text-default iframe,
.text-default video {
    display: block;
    max-width: 100%;
    margin: 2rem 0;
}

.text-default iframe {
    width: 100%;
    border: 0;
}

/* ---------------------------------------------------------
   Selection
   --------------------------------------------------------- */

.text-default ::selection {
    background: rgba(15, 118, 110, 0.15);
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .text-default {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .text-default h1 {
        font-size: 1.75rem;
    }

    .text-default h2 {
        font-size: 1.5rem;
    }

    .text-default h3 {
        font-size: 1.25rem;
    }

    .text-default h4 {
        font-size: 1.1rem;
    }

    .text-default h1,
    .text-default h2,
    .text-default h3,
    .text-default h4,
    .text-default h5,
    .text-default h6 {
        margin-top: 2rem;
    }

    .text-default table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 8px;
    }

    .text-default th,
    .text-default td {
        padding: 0.7rem 0.75rem;
    }
}