img {
    border-radius: 0.5rem;
}

p img {
    padding: 0 !important;
    margin: 0 !important;
}

/**umb_name:Text - Emphasis/Italic */
.richtext-em,
.richtext-i {
    font-style: italic;
    font-family:
        "Gotham Italic",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Text - Strong/Bold */
.richtext-strong,
.richtext-b {
    font-weight: 700;
    font-family:
        "Gotham Bold",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Link - Default */
.richtext-a {
    color: #00003c;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.richtext-a:hover {
    color: #ffdc00;
    text-decoration: none;
}

/**umb_name:Link - Secondary */
.richtext-a-secondary {
    color: #ffd100;
    text-decoration: none;
}

.richtext-a-secondary:hover {
    color: #ffdc00;
    text-decoration: underline;
}

/**umb_name:Heading - Paragraph Default*/
.richtext-p {
    font-family:
        "Gotham Book",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .richtext-p {
        font-size: 1rem;
    }
}

/**umb_name:Heading - Paragraph Small*/
.richtext-p-small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/**umb_name:Heading - Paragraph Large*/
.richtext-p-large {
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .richtext-p-large {
        font-size: 1.125rem;
    }
}

/**umb_name:Heading - Page Heading*/
.richtext-page-heading {
    font-family:
        "Gotham Black",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 2.925rem;
    line-height: 1.22222;
    font-weight: 700;
    color: #0a1847;
    margin-bottom: 1.5rem;
    margin-top: 0;
    display: block;
}

@media (min-width: 640px) {
    .richtext-page-heading {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .richtext-page-heading {
        font-size: 3.9rem;
    }
}

/**umb_name:Heading - H1*/
.richtext-h1 {
    font-family:
        "Gotham Black",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 1.875rem;
    line-height: 1.32756;
    font-weight: 700;
    color: #0a1847;
    margin-bottom: 1rem;
    margin-top: 0;
    display: block;
}

@media (min-width: 640px) {
    .richtext-h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .richtext-h1 {
        font-size: 2.5625rem;
    }
}

/**umb_name:Heading - H2*/
.richtext-h2 {
    font-family:
        "Gotham Black",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    color: #0a1847;
    margin-bottom: 0.75rem;
    margin-top: 0;
    display: block;
}

@media (min-width: 640px) {
    .richtext-h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .richtext-h2 {
        font-size: 1.875rem;
    }
}

/**umb_name:Heading - H3*/
.richtext-h3 {
    font-family:
        "Gotham Black",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    color: #0a1847;
    margin-bottom: 0.75rem;
    margin-top: 0;
    display: block;
}

@media (min-width: 640px) {
    .richtext-h3 {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .richtext-h3 {
        font-size: 1.5rem;
    }
}

/**umb_name:Heading - H4*/
.richtext-h4 {
    font-family:
        "Gotham Medium",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    color: #0a1847;
    margin-bottom: 0.5rem;
    margin-top: 0;
    display: block;
}

@media (min-width: 640px) {
    .richtext-h4 {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .richtext-h4 {
        font-size: 1.25rem;
    }
}

/**umb_name:Highlight - Yellow*/
.richtext-highlight-secondary {
    background-color: #ffdc00;
    color: #000;
    padding: 0.2em 0.4em;
}

/**umb_name:Highlight - Blue*/
.richtext-highlight-primary {
    background-color: #00003c;
    color: #fff;
    padding: 0.2em 0.4em;
}

/**umb_name:Text Color - Primary Blue*/
.richtext-text-primary {
    color: #0a1847;
}

/**umb_name:Text Color - MT Blue*/
.richtext-text-primary-dark {
    color: #00003c;
}

/**umb_name:Text Color - Light Blue*/
.richtext-text-light-blue {
    color: #241783;
}

/**umb_name:Text Color - Yellow*/
.richtext-text-secondary {
    color: #ffd100;
}

/**umb_name:Text Color - Red*/
.richtext-text-destructive {
    color: #dc2626;
}

/**umb_name:Text Color - Primary Foreground (Light)*/
.richtext-text-primary-foreground {
    color: #ffffff;
}

/**umb_name:Text Color - Light Gray*/
.richtext-text-muted-foreground {
    color: #6b7280;
}

/**umb_name:Text Color - Light (White on Dark)*/
.richtext-text-light {
    color: #ffffff;
}

/**umb_name:Text Color - Dark (Dark on Light)*/
.richtext-text-dark {
    color: #1a1a1a;
}

/**umb_name:Background - Light Gray*/
.richtext-bg-light {
    background-color: #f5f5f5;
    padding: 0.75rem;
    margin: 0.75rem 0;
}

@media (min-width: 640px) {
    .richtext-bg-light {
        padding: 0.875rem;
        margin: 0.875rem 0;
    }
}

@media (min-width: 1024px) {
    .richtext-bg-light {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/**umb_name:Quote/Blockquote*/
.richtext-blockquote {
    border-left: 4px solid #00003c;
    padding-left: 0.75rem;
    margin: 0.75rem 0;
    font-style: italic;
    color: #6b7280;
    font-family:
        "Gotham Light Italic",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

@media (min-width: 640px) {
    .richtext-blockquote {
        padding-left: 0.875rem;
        margin: 0.875rem 0;
    }
}

@media (min-width: 1024px) {
    .richtext-blockquote {
        padding-left: 1rem;
        margin: 1rem 0;
    }
}

/**umb_name:Code*/
.richtext-code {
    background-color: #f5f5f5;
    padding: 0.2em 0.4em;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    color: #1a1a1a;
    border-radius: 0.4rem;
}

/**umb_name:Horizontal Rule*/
.richtext-hr {
    border: none;
    border-top: 2px solid #00003c;
    margin: 1.5rem 0;
}

@media (min-width: 1024px) {
    .richtext-hr {
        margin: 2rem 0;
    }
}

/**umb_name:Font-Family - Gotham*/
.richtext-font-gotham {
    font-family:
        "Gotham",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Light*/
.richtext-font-gotham-light {
    font-family:
        "Gotham Light",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Bold*/
.richtext-font-gotham-bold {
    font-family:
        "Gotham Bold",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Black*/
.richtext-font-gotham-black {
    font-family:
        "Gotham Black",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Medium*/
.richtext-font-gotham-medium {
    font-family:
        "Gotham Medium",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Book*/
.richtext-font-gotham-book {
    font-family:
        "Gotham Book",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham XLight*/
.richtext-font-gotham-xlight {
    font-family:
        "Gotham XLight",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Light Italic*/
.richtext-font-gotham-light-italic {
    font-family:
        "Gotham Light Italic",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Italic*/
.richtext-font-gotham-italic {
    font-family:
        "Gotham Italic",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Gotham Bold Italic*/
.richtext-font-gotham-bold-italic {
    font-family:
        "Gotham Bold Italic",
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

/**umb_name:Font-Family - Moderna*/
.richtext-font-moderna {
    font-family: "Moderna", Georgia, "Times New Roman", serif;
}

/**umb_name:Max Width - 600px */
.richtext-max-w-600 {
    display: inline-block;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/**umb_name:Max Width - 900px */
.richtext-max-w-900 {
    display: inline-block;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/**umb_name:Max Width - 1200px */
.richtext-max-w-1200 {
    display: inline-block;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/**umb_name:Width - Full */
.richtext-w-full,
.richtext-w-full > img {
    width: 100% !important;
}

/**umb_name:Balance Text */
.richtext-balance {
    text-wrap: balance;
}
