/* =========================================================
   BOLD TEXT GENERATOR — CharacterCounter.com

   - Prominent primary bold text converter
   - Side-by-side input and primary result
   - Large Copy Bold Text button
   - Seven secondary bold text styles
   - Scrollable result textareas
   - Individually copyable bold letters and numbers
   - Copy All alphabet functionality
   - 300px Raptive advertising sidebar
   - Responsive mobile layout

   ========================================================= */


/* =========================================================
   PAGE BASE
   ========================================================= */

.btg-page {
    width: 100%;
    padding: 105px 15px 45px;

    background: #fff;
    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;

    --btg-blue: #1a73e8;
    --btg-blue-dark: #1558aa;
    --btg-blue-light: #edf5ff;

    --btg-border: #dce2e9;
    --btg-text: #333;
    --btg-muted: #666;

    --btg-green: #237a40;
    --btg-green-light: #edf9f0;

    --btg-unicode-font:
        "Cambria Math",
        "STIX Two Math",
        "Noto Sans Math",
        "Segoe UI Symbol",
        "Apple Symbols",
        "Arial Unicode MS",
        Arial,
        sans-serif;
}


.btg-page,
.btg-page *,
.btg-page *::before,
.btg-page *::after {
    box-sizing: border-box;
}


.btg-page [hidden] {
    display: none !important;
}


.btg-page button,
.btg-page textarea,
.btg-page input {
    font-family: "Roboto", Arial, sans-serif;
}


.btg-page button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


.btg-page a {
    color: #1155cc;
    text-decoration: none;
}


.btg-page a:hover {
    text-decoration: underline;
}


.btg-page button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.btg-page a:focus-visible,
.btg-page button:focus-visible,
.btg-page textarea:focus-visible,
.btg-page input:focus-visible {
    outline: 3px solid rgba(26, 115, 232, 0.30);
    outline-offset: 3px;
}


/* =========================================================
   MAIN PAGE LAYOUT
   ========================================================= */

.btg-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    align-items: stretch;

    gap: 25px;

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}


.btg-main {
    width: 100%;
    min-width: 0;
}


.btg-sidebar {
    display: block;

    width: 300px;
    min-width: 300px;
    min-height: 100%;

    align-self: stretch;

    margin: 0;
    padding: 0;
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.btg-heading {
    width: 100%;

    margin: 0 0 25px;
    padding: 0;

    text-align: center;
}


.btg-heading h1 {
    margin: 0 0 10px;
    padding: 0;

    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;

    overflow-wrap: break-word;
}


.btg-intro {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;
    padding: 0;

    color: #555;

    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
}


/* =========================================================
   JAVASCRIPT NOTICE
   ========================================================= */

.btg-notice {
    width: 100%;

    margin: 0 0 18px;
    padding: 12px 15px;

    border: 1px solid #e3cf9b;
    border-radius: 7px;

    background: #fff9eb;
    color: #665022;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   MAIN TOOL

   Primary converter at the top.
   Additional styles directly below.
   ========================================================= */

.btg-tool {
    display: flex;
    flex-direction: column;

    gap: 30px;

    width: 100%;
    min-width: 0;

    margin: 0 0 40px;
    padding: 0;
}


/* =========================================================
   WARNING AND ERROR MESSAGES
   ========================================================= */

.btg-warning {
    width: 100%;

    margin: 0;
    padding: 12px 15px;

    border: 1px solid #e3cf9b;
    border-radius: 8px;

    background: #fff9eb;
    color: #74531e;

    font-size: 14px;
    line-height: 1.55;

    overflow-wrap: anywhere;
}


.btg-warning.is-error {
    border-color: #e7b1b1;

    background: #fff1f1;
    color: #a12424;
}


.btg-warning.is-success {
    border-color: #a8d9b5;

    background: #f1fff4;
    color: #246b38;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.btg-section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 8px 12px;

    width: 100%;

    margin: 0;
    padding: 0;
}


.btg-section-heading h2 {
    margin: 0;
    padding: 0;

    color: #333;

    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   PRIMARY CONVERTER GRID

   Left: Your Text
   Right: Bold Text

   Input uses 40% of the available space.
   Primary result uses 60%.
   ========================================================= */

.btg-primary-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 40fr)
        minmax(0, 60fr);

    align-items: stretch;

    gap: 20px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   YOUR TEXT SECTION
   ========================================================= */

.btg-input-section {
    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 11px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   INPUT WRAPPER

   The textarea and its action buttons share a border.
   The buttons have a dedicated bottom row so they
   never overlap the text.
   ========================================================= */

.btg-input-wrapper {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 1;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 2px solid #c9ced6;
    border-radius: 10px;

    background: #fff;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.btg-input-wrapper:hover {
    border-color: #aeb4bd;
}


.btg-input-wrapper:focus-within {
    border-color: var(--btg-blue);

    box-shadow:
        0 0 0 3px rgba(26, 115, 232, 0.10);
}


/* =========================================================
   MAIN INPUT TEXTAREA
   ========================================================= */

.btg-page .btg-input {
    display: block;

    flex: 1 1 auto;

    width: 100%;
    max-width: 100%;

    height: 180px;
    min-height: 180px;

    margin: 0;
    padding: 14px 15px;

    border: 0;
    border-radius: 8px 8px 0 0;

    background: #fff;
    color: #222;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;

    outline: none;

    resize: vertical;

    overflow-x: hidden;
    overflow-y: auto;

    overflow-wrap: anywhere;
    white-space: pre-wrap;

    box-shadow: none;

    scrollbar-width: thin;
    scrollbar-color: #c9ced6 transparent;
}


.btg-page .btg-input::placeholder {
    color: #9299a2;
    opacity: 1;
}


.btg-page .btg-input:focus,
.btg-page .btg-input:focus-visible {
    outline: none;
    box-shadow: none;
}


/* =========================================================
   INPUT ACTION BUTTONS
   ========================================================= */

.btg-input-actions {
    display: flex;

    flex-shrink: 0;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 7px;

    width: 100%;

    margin: 0;
    padding: 5px 12px 10px;

    background: #fff;

    border-radius: 0 0 8px 8px;
}


.btg-inline-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    min-height: 34px;

    margin: 0;
    padding: 7px 12px;

    border: 1px solid #cbd7e7;
    border-radius: 6px;

    background: #fff;
    color: #145ba8;

    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05);

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}


.btg-inline-button i {
    font-size: 16px;
    line-height: 1;
}


.btg-inline-button:hover:not(:disabled) {
    border-color: #9bbce5;

    background: #e5f0ff;
    color: #104b8d;
}


.btg-inline-button:active:not(:disabled) {
    background: #d8e9ff;
}


.btg-inline-button:disabled {
    border-color: #d7dce3;

    background: #f5f6f8;
    color: #8a919a;

    box-shadow: none;
}


/* =========================================================
   PRIMARY BOLD TEXT SECTION
   ========================================================= */

.btg-primary-section {
    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 11px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   PRIMARY RESULT CARD

   The primary result is visually distinct from the
   smaller secondary result cards.
   ========================================================= */

.btg-result-card.btg-primary-card {
    display: flex;
    flex-direction: column;

    flex: 1;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;
}


/* =========================================================
   PRIMARY OUTPUT WRAPPER
   ========================================================= */

.btg-primary-output-wrapper {
    display: flex;
    flex-direction: column;

    flex: 1;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 2px solid #bfd3ed;
    border-radius: 10px;

    background: #f8fbff;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.btg-primary-output-wrapper:hover {
    border-color: #a3c1e7;
}


.btg-primary-output-wrapper:focus-within {
    border-color: var(--btg-blue);

    box-shadow:
        0 0 0 3px rgba(26, 115, 232, 0.09);
}


.btg-primary-card.is-copied
.btg-primary-output-wrapper,

.btg-primary-card.copied
.btg-primary-output-wrapper {
    border-color: #8fcaa1;
}


/* =========================================================
   PRIMARY BOLD TEXT OUTPUT

   Larger font and greater height than the secondary
   result textareas.

   Text stays inside a scrollable box regardless of
   the amount of text entered.
   ========================================================= */

.btg-page .btg-result-output.btg-primary-output {
    display: block;

    flex: 1 1 auto;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 180px;
    min-height: 180px;
    max-height: none;

    margin: 0;
    padding: 15px 16px;

    border: 0;
    border-radius: 8px;

    background: #f8fbff;
    color: #222;

    font-family: var(--btg-unicode-font);

    font-size: 30px;
    line-height: 1.55;
    font-weight: 400;

    letter-spacing: normal;

    outline: none;

    resize: none;

    overflow-x: hidden;
    overflow-y: auto;

    overflow-wrap: anywhere;
    word-break: normal;

    white-space: pre-wrap;

    box-shadow: none;

    scrollbar-width: thin;
    scrollbar-color: #c5cbd4 transparent;
}


.btg-page .btg-result-output.btg-primary-output:hover {
    border: 0;
}


.btg-page .btg-result-output.btg-primary-output:focus,
.btg-page .btg-result-output.btg-primary-output:focus-visible {
    border: 0;

    background: #f8fbff;

    outline: none;

    box-shadow: none;
}


/* =========================================================
   GENERAL COPY BUTTONS
   ========================================================= */

.btg-copy-button {
    display: inline-flex;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    gap: 6px;

    min-width: 82px;
    min-height: 34px;

    margin: 0;
    padding: 7px 11px;

    border: 1px solid var(--btg-blue);
    border-radius: 6px;

    background: var(--btg-blue);
    color: #fff;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}


.btg-copy-button i {
    flex-shrink: 0;

    font-size: 16px;
    line-height: 1;
}


.btg-copy-label {
    display: inline-block;

    font-weight: 600;
}


.btg-copy-button:hover:not(:disabled) {
    border-color: var(--btg-blue-dark);

    background: var(--btg-blue-dark);
    color: #fff;
}


.btg-copy-button:active:not(:disabled) {
    border-color: #104b8d;

    background: #104b8d;
}


.btg-copy-button:focus-visible {
    outline: 3px solid rgba(26, 115, 232, 0.30);
    outline-offset: 2px;
}


.btg-copy-button:disabled {
    border-color: #c7d0da;

    background: #e8ecf1;
    color: #8b949e;

    box-shadow: none;
}


/* =========================================================
   PRIMARY COPY BOLD TEXT BUTTON

   Large blue button used for the main result.
   This is the primary action of the entire tool.
   ========================================================= */

.btg-copy-button.btg-primary-copy-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    width: 100%;
    min-height: 46px;

    margin: 0;
    padding: 12px 18px;

    border: 1px solid #1a73e8;
    border-radius: 7px;

    background: #1a73e8;
    color: #fff;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;

    text-align: center;

    box-shadow:
        0 2px 4px rgba(26, 115, 232, 0.12);

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.btg-primary-copy-button i {
    font-size: 20px;
    line-height: 1;
}


.btg-primary-copy-button .btg-copy-label {
    font-weight: 700;
}


.btg-copy-button.btg-primary-copy-button:hover:not(:disabled) {
    border-color: #1558aa;

    background: #1558aa;

    box-shadow:
        0 3px 7px rgba(26, 115, 232, 0.19);
}


.btg-copy-button.btg-primary-copy-button:active:not(:disabled) {
    border-color: #104b8d;

    background: #104b8d;

    box-shadow: none;
}


.btg-copy-button.btg-primary-copy-button:disabled {
    border-color: #c7d0da;

    background: #e8ecf1;
    color: #8b949e;

    box-shadow: none;
}


/* =========================================================
   PRIMARY COPY BUTTON SUCCESS STATE
   ========================================================= */

.btg-copy-button.btg-primary-copy-button.is-copied,

.btg-copy-button.btg-primary-copy-button.copied,

.btg-copy-button.btg-primary-copy-button.copy-success {
    border-color: #278447;

    background: #278447;
    color: #fff;

    box-shadow:
        0 2px 4px rgba(39, 132, 71, 0.12);
}


.btg-copy-button.btg-primary-copy-button.is-copied:hover,

.btg-copy-button.btg-primary-copy-button.copied:hover,

.btg-copy-button.btg-primary-copy-button.copy-success:hover {
    border-color: #206c3a;

    background: #206c3a;
    color: #fff;
}


/* =========================================================
   ADDITIONAL BOLD TEXT STYLES

   Visually separated from the primary converter.
   ========================================================= */

.btg-results-section {
    display: flex;
    flex-direction: column;

    gap: 12px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


.btg-secondary-section {
    padding-top: 23px;

    border-top: 1px solid #e2e6eb;
}


.btg-secondary-section
.btg-section-heading h2 {
    font-size: 21px;
    font-weight: 700;
}


.btg-secondary-intro {
    margin: -5px 0 2px;
    padding: 0;

    color: #666;

    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   SECONDARY RESULTS GRID

   Compact cards displayed beneath the main converter.
   Three columns on wide screens.
   Two columns on medium screens.
   One column on mobile.
   ========================================================= */

.btg-results-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: stretch;

    gap: 12px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   SECONDARY RESULT CARDS
   ========================================================= */

.btg-result-card {
    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 11px;

    border: 1px solid #dce2e9;
    border-radius: 8px;

    background: #fff;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.btg-result-card:focus-within {
    border-color: #aac8ed;
}


.btg-result-card.is-copied,
.btg-result-card.copied {
    border-color: #a8d9b5;
}


/* =========================================================
   SECONDARY RESULT CARD HEADER
   ========================================================= */

.btg-result-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    width: 100%;
    min-width: 0;
    min-height: 35px;

    margin: 0;
    padding: 0;
}


.btg-result-header h3 {
    flex: 1;

    min-width: 0;

    margin: 0;
    padding: 0;

    color: #444;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;

    overflow-wrap: break-word;
}


/* =========================================================
   SECONDARY COPY BUTTONS

   Smaller outlined buttons make them visually secondary
   to the main blue Copy Bold Text button.
   ========================================================= */

.btg-copy-button.btg-secondary-copy-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    min-width: 80px;
    min-height: 32px;

    margin: 0;
    padding: 6px 9px;

    border: 1px solid #cbd7e7;
    border-radius: 5px;

    background: #fff;
    color: #145ba8;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;

    box-shadow: none;
}


.btg-secondary-copy-button i {
    font-size: 14px;
    line-height: 1;
}


.btg-copy-button.btg-secondary-copy-button:hover:not(:disabled) {
    border-color: #9bbce5;

    background: #e5f0ff;
    color: #104b8d;
}


.btg-copy-button.btg-secondary-copy-button:active:not(:disabled) {
    border-color: #9bbce5;

    background: #d8e9ff;
    color: #104b8d;
}


.btg-copy-button.btg-secondary-copy-button:disabled {
    border-color: #d7dce3;

    background: #f5f6f8;
    color: #8a919a;
}


/* =========================================================
   SECONDARY COPY BUTTON SUCCESS STATE
   ========================================================= */

.btg-copy-button.btg-secondary-copy-button.is-copied,

.btg-copy-button.btg-secondary-copy-button.copied,

.btg-copy-button.btg-secondary-copy-button.copy-success {
    border-color: #a8d9b5;

    background: var(--btg-green-light);
    color: var(--btg-green);
}


.btg-copy-button.btg-secondary-copy-button.is-copied:hover,

.btg-copy-button.btg-secondary-copy-button.copied:hover,

.btg-copy-button.btg-secondary-copy-button.copy-success:hover {
    border-color: #8bc89c;

    background: #e0f4e6;
    color: #206c3a;
}


/* =========================================================
   SECONDARY RESULT TEXTAREAS

   Smaller fixed-height result boxes.
   Long text scrolls vertically.
   ========================================================= */

.btg-page .btg-result-output {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 78px;
    min-height: 78px;
    max-height: 78px;

    margin: auto 0 0;
    padding: 9px 10px;

    border: 1px solid #dce2e9;
    border-radius: 6px;

    background: #fafbfc;
    color: #222;

    font-family: var(--btg-unicode-font);

    font-size: 23px;
    line-height: 1.5;
    font-weight: 400;

    letter-spacing: normal;

    outline: none;

    resize: none;

    overflow-x: hidden;
    overflow-y: auto;

    overflow-wrap: anywhere;
    word-break: normal;

    white-space: pre-wrap;

    scrollbar-width: thin;
    scrollbar-color: #c5cbd4 transparent;

    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}


.btg-page .btg-result-output:hover {
    border-color: #c5d1df;
}


.btg-page .btg-result-output:focus {
    border-color: #91b9ed;

    background: #fff;

    box-shadow:
        0 0 0 2px rgba(26, 115, 232, 0.08);
}


.btg-page .btg-result-output:focus-visible {
    outline: none;
}


.btg-page .btg-result-output::placeholder {
    color: #9299a2;
    opacity: 1;
}


/* =========================================================
   INDIVIDUAL STYLE ADJUSTMENTS
   ========================================================= */

.btg-result-card[data-style="bold-cursive"]
.btg-result-output {
    font-size: 24px;
    line-height: 1.5;
}


.btg-result-card[data-style="bold-gothic"]
.btg-result-output {
    font-size: 24px;
    line-height: 1.5;
}


.btg-result-card[data-style="bold-underline"]
.btg-result-output {
    line-height: 1.6;
}


.btg-result-card[data-style="bold-strikethrough"]
.btg-result-output {
    line-height: 1.55;
}


/* =========================================================
   EMPTY INPUT / EXAMPLE PREVIEW STATE
   ========================================================= */

.btg-result-card.is-preview
.btg-result-output,

.btg-result-output.is-preview,

.btg-result-output.btg-preview {
    color: #777;
}


.btg-result-card.is-empty
.btg-result-output {
    color: #777;
}


.btg-page .btg-primary-output.is-preview,

.btg-primary-card.is-preview
.btg-primary-output {
    color: #777;
}


/* =========================================================
   TEXT SELECTION
   ========================================================= */

.btg-input::selection,
.btg-result-output::selection {
    background: #cfe3ff;
    color: #162b47;
}


/* =========================================================
   TEXTAREA SCROLLBARS
   ========================================================= */

.btg-input::-webkit-scrollbar,
.btg-result-output::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}


.btg-input::-webkit-scrollbar-track,
.btg-result-output::-webkit-scrollbar-track {
    background: transparent;
}


.btg-input::-webkit-scrollbar-thumb,
.btg-result-output::-webkit-scrollbar-thumb {
    border: 1px solid transparent;
    border-radius: 10px;

    background: #c9ced6;
    background-clip: padding-box;
}


.btg-input::-webkit-scrollbar-thumb:hover,
.btg-result-output::-webkit-scrollbar-thumb:hover {
    background: #aeb7c2;
}


/* =========================================================
   BOLD ALPHABET SECTION
   ========================================================= */

.btg-alphabet-section {
    width: 100%;
    min-width: 0;

    margin: 0 0 40px;
    padding: 0;

    scroll-margin-top: 100px;
}


.btg-alphabet-section > h2 {
    margin: 0 0 10px;
    padding: 0;

    color: #333;

    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
}


.btg-alphabet-intro {
    margin: 0 0 18px;
    padding: 0;

    color: #555;

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   ALPHABET GRID
   ========================================================= */

.btg-alphabet-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: stretch;

    gap: 16px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   ALPHABET CARDS
   ========================================================= */

.btg-alphabet-card {
    display: flex;
    flex-direction: column;

    gap: 19px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 17px;

    border: 1px solid #dce2e9;
    border-radius: 9px;

    background: #fff;
}


.btg-alphabet-card > h3 {
    margin: 0 0 1px;
    padding: 0;

    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}


/* =========================================================
   ALPHABET GROUPS
   ========================================================= */

.btg-alphabet-group {
    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


.btg-alphabet-group + .btg-alphabet-group {
    padding-top: 15px;

    border-top: 1px solid #edf0f3;
}


/* =========================================================
   ALPHABET GROUP HEADER
   ========================================================= */

.btg-alphabet-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 8px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


.btg-alphabet-header h4 {
    margin: 0;
    padding: 0;

    color: #555;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================================
   ALPHABET COPY ALL BUTTONS
   ========================================================= */

.btg-alphabet-copy-button {
    display: inline-flex;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    gap: 6px;

    min-width: 90px;
    min-height: 31px;

    margin: 0;
    padding: 6px 9px;

    border: 1px solid #cbd7e7;
    border-radius: 5px;

    background: #fff;
    color: #145ba8;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}


.btg-alphabet-copy-button i {
    font-size: 14px;
    line-height: 1;
}


.btg-alphabet-copy-button:hover:not(:disabled) {
    border-color: #9bbce5;

    background: #e5f0ff;
    color: #104b8d;
}


.btg-alphabet-copy-button:active:not(:disabled) {
    background: #d8e9ff;
}


/* =========================================================
   ALPHABET COPY SUCCESS STATE
   ========================================================= */

.btg-alphabet-copy-button.is-copied,

.btg-alphabet-copy-button.copied,

.btg-alphabet-copy-button.copy-success {
    border-color: #a8d9b5;

    background: var(--btg-green-light);
    color: var(--btg-green);
}


.btg-alphabet-copy-button.is-copied:hover,

.btg-alphabet-copy-button.copied:hover,

.btg-alphabet-copy-button.copy-success:hover {
    border-color: #8bc89c;

    background: #e0f4e6;
    color: #206c3a;
}


/* =========================================================
   INDIVIDUAL CHARACTER GRID

   Character buttons wrap automatically.
   ========================================================= */

.btg-character-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(36px, 1fr));

    align-items: stretch;

    gap: 5px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   INDIVIDUAL CHARACTER BUTTONS
   ========================================================= */

.btg-page .btg-character {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;

    height: 43px;

    margin: 0;
    padding: 2px;

    overflow: hidden;

    border: 1px solid #dce2e9;
    border-radius: 5px;

    background: #f9fafb;
    color: #222;

    font-family: var(--btg-unicode-font);

    font-size: 24px;
    line-height: 1.2;
    font-weight: 400;

    text-align: center;

    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;

    transition:
        background-color 0.12s ease,
        border-color 0.12s ease,
        color 0.12s ease,
        transform 0.12s ease;
}


.btg-page .btg-character:active:not(:disabled) {
    transform: scale(0.94);

    border-color: #8eb8ef;

    background: #d9eaff;
}


.btg-page .btg-character:focus-visible {
    z-index: 2;

    outline: 2px solid var(--btg-blue);
    outline-offset: 1px;
}


/* =========================================================
   CHARACTER HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

    .btg-page .btg-character:hover:not(:disabled) {
        border-color: #a5c4ec;

        background: #eaf3ff;
        color: #145ba8;
    }

}


/* =========================================================
   INDIVIDUAL CHARACTER COPIED STATE
   ========================================================= */

.btg-page .btg-character.is-copied,

.btg-page .btg-character.copied,

.btg-page .btg-character.copy-success {
    border-color: #92cda3;

    background: #e4f6e9;
    color: #237a40;
}


.btg-character.is-copied::after,

.btg-character.copied::after,

.btg-character.copy-success::after {
    position: absolute;

    top: 0;
    right: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 13px;
    height: 13px;

    border-radius: 0 4px 0 4px;

    background: #278447;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;

    content: "\2713";
}


/* =========================================================
   INFORMATIONAL ARTICLE
   ========================================================= */

.btg-article {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;

    overflow-wrap: break-word;
}


/* =========================================================
   ARTICLE SECTIONS
   ========================================================= */

.btg-article-section {
    width: 100%;
    min-width: 0;

    margin: 0 0 32px;
    padding: 0;
}


.btg-article-section:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ARTICLE HEADINGS
   ========================================================= */

.btg-article h2 {
    margin: 0 0 13px;
    padding: 0;

    color: #333;

    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
}


.btg-article h3 {
    margin: 22px 0 9px;
    padding: 0;

    color: #333;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}


.btg-article h4 {
    margin: 18px 0 8px;
    padding: 0;

    color: #333;

    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================================
   ARTICLE PARAGRAPHS
   ========================================================= */

.btg-article p {
    margin: 0 0 15px;
    padding: 0;

    color: #333;

    font-size: 16px;
    line-height: 1.75;
}


.btg-article p:last-child {
    margin-bottom: 0;
}


.btg-article strong,
.btg-article b {
    font-weight: 600;
}


/* =========================================================
   ARTICLE LINKS
   ========================================================= */

.btg-article a {
    color: #1155cc;

    text-decoration: none;

    overflow-wrap: anywhere;
}


.btg-article a:hover {
    text-decoration: underline;
}


/* =========================================================
   ARTICLE LISTS
   ========================================================= */

.btg-article ul,
.btg-article ol {
    margin: 0 0 18px;
    padding: 0 0 0 25px;
}


.btg-article ul {
    list-style-type: disc;
}


.btg-article ol {
    list-style-type: decimal;
}


.btg-article li {
    margin: 0 0 7px;
    padding: 0;

    color: #333;

    font-size: 16px;
    line-height: 1.65;
}


.btg-article li:last-child {
    margin-bottom: 0;
}


.btg-article ul ul,
.btg-article ol ol,
.btg-article ul ol,
.btg-article ol ul {
    margin-top: 8px;
    margin-bottom: 8px;
}


/* =========================================================
   ARTICLE INLINE CODE
   ========================================================= */

.btg-article code {
    padding: 2px 5px;

    border: 1px solid #e3e7ec;
    border-radius: 4px;

    background: #f5f7fa;
    color: #444;

    font-family:
        Consolas,
        Monaco,
        "Courier New",
        monospace;

    font-size: 0.88em;

    overflow-wrap: anywhere;
}


/* =========================================================
   EXAMPLE TABLE WRAPPER
   ========================================================= */

.btg-example-table-wrapper {
    width: 100%;
    max-width: 100%;

    margin: 18px 0 20px;
    padding: 0;

    overflow-x: auto;

    border: 1px solid #dce2e9;
    border-radius: 8px;

    scrollbar-width: thin;
    scrollbar-color: #c9ced6 transparent;
}


/* =========================================================
   EXAMPLE TABLE
   ========================================================= */

.btg-example-table {
    width: 100%;

    margin: 0;
    padding: 0;

    border-collapse: collapse;
    border-spacing: 0;

    background: #fff;

    font-size: 15px;
    line-height: 1.5;
}


.btg-example-table thead {
    background: #f2f5f9;
}


.btg-example-table th,
.btg-example-table td {
    padding: 12px 15px;

    border-bottom: 1px solid #e3e7ec;

    text-align: left;
    vertical-align: middle;
}


.btg-example-table th:not(:last-child),
.btg-example-table td:not(:last-child) {
    border-right: 1px solid #e3e7ec;
}


.btg-example-table th {
    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}


.btg-example-table td {
    color: #333;

    font-size: 15px;
    line-height: 1.55;
}


.btg-example-table tbody
tr:nth-child(even) {
    background: #fafbfc;
}


.btg-example-table tbody
tr:last-child td {
    border-bottom: 0;
}


.btg-example-table tbody
tr:hover {
    background: #f3f7fc;
}


/* =========================================================
   UNICODE EXAMPLE TABLE CELLS
   ========================================================= */

.btg-example-table td:nth-child(2) {
    font-family:
        "Roboto",
        "Cambria Math",
        "STIX Two Math",
        "Noto Sans Math",
        "Segoe UI Symbol",
        Arial,
        sans-serif;

    overflow-wrap: anywhere;
}


.btg-example-table td code {
    white-space: nowrap;
}


/* =========================================================
   SOCIAL MEDIA TEXT EXAMPLES
   ========================================================= */

.btg-text-example {
    width: 100%;
    min-width: 0;

    margin: 18px 0 20px;
    padding: 16px 18px;

    border: 1px solid #dce2e9;
    border-left: 4px solid #8db6ec;
    border-radius: 7px;

    background: #f8fafc;
}


.btg-example-label {
    display: block;

    margin: 0 0 10px;
    padding: 0;

    color: #666;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}


.btg-text-example p {
    margin: 0 0 10px;

    color: #333;

    font-family:
        "Roboto",
        "Cambria Math",
        "STIX Two Math",
        "Segoe UI Symbol",
        Arial,
        sans-serif;

    font-size: 17px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}


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


/* =========================================================
   BOLD SERIF VS SANS SERIF COMPARISON
   ========================================================= */

.btg-style-comparison {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: stretch;

    gap: 15px;

    width: 100%;
    min-width: 0;

    margin: 18px 0 20px;
    padding: 0;
}


/* =========================================================
   COMPARISON CARDS
   ========================================================= */

.btg-comparison-card {
    display: flex;
    flex-direction: column;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 18px;

    border: 1px solid #dce2e9;
    border-radius: 8px;

    background: #fff;
}


.btg-comparison-card h3 {
    margin: 0;

    color: #333;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;

    text-align: center;
}


.btg-comparison-sample {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 70px;

    margin: 0;
    padding: 10px 6px;

    border: 1px solid #e3e7ec;
    border-radius: 6px;

    background: #f8fafc;
    color: #222;

    font-family: var(--btg-unicode-font);

    font-size: 30px;
    line-height: 1.5;
    font-weight: 400;

    text-align: center;

    overflow-wrap: anywhere;
}


.btg-comparison-card p {
    margin: 0;

    color: #555;

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   FREQUENTLY ASKED QUESTIONS
   ========================================================= */

.btg-faq-section {
    margin-top: 5px;
}


/* =========================================================
   FAQ ITEMS
   ========================================================= */

.btg-faq-item {
    width: 100%;

    margin: 0;
    padding: 17px 0;

    border-bottom: 1px solid #e4e8ed;
}


.btg-faq-item:first-of-type {
    padding-top: 5px;
}


.btg-faq-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


.btg-faq-item h3 {
    margin: 0 0 8px;

    color: #333;

    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
}


.btg-faq-item p {
    margin: 0;

    color: #444;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   RELATED TOOLS
   ========================================================= */

.btg-related-section {
    width: 100%;

    margin-top: 35px;
}


/* =========================================================
   RELATED TOOLS GRID
   ========================================================= */

.btg-article .btg-related-tools {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px 22px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0 0 0 19px;

    list-style-type: disc;
}


.btg-related-tools li {
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #666;

    font-size: 15px;
    line-height: 1.6;
}


.btg-related-tools a {
    display: inline;

    color: #1155cc;

    font-size: 15px;

    overflow-wrap: anywhere;
}


.btg-related-tools a:hover {
    text-decoration: underline;
}


/* =========================================================
   ACCESSIBILITY — SCREEN READER ONLY
   ========================================================= */

.btg-sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    border: 0 !important;

    white-space: nowrap !important;
}


/* =========================================================
   RESPONSIVE — LARGE DESKTOP
   ========================================================= */

@media screen and (min-width: 1500px) {

    .btg-page {
        padding-left: 25px;
        padding-right: 25px;
    }

    .btg-layout {
        gap: 30px;
    }

    .btg-primary-grid {
        gap: 24px;
    }

    .btg-page .btg-input {
        height: 190px;
        min-height: 190px;
    }

    .btg-page .btg-result-output.btg-primary-output {
        height: 190px;
        min-height: 190px;

        font-size: 32px;
    }

    .btg-results-grid {
        gap: 14px;
    }

    .btg-result-card {
        padding: 12px;
    }

    .btg-result-header h3 {
        font-size: 15px;
    }

    .btg-page .btg-result-output {
        font-size: 24px;
    }

}


/* =========================================================
   RESPONSIVE — MEDIUM DESKTOP
   ========================================================= */

@media screen and (max-width: 1300px) {

    .btg-layout {
        gap: 20px;
    }

    .btg-primary-grid {
        gap: 17px;
    }

    .btg-results-grid {
        gap: 10px;
    }

    .btg-result-card {
        padding: 10px;
    }

    .btg-result-header {
        gap: 6px;
    }

    .btg-result-header h3 {
        font-size: 13px;
    }

    .btg-copy-button.btg-secondary-copy-button {
        min-width: 76px;

        padding-left: 7px;
        padding-right: 7px;
    }

    .btg-page .btg-result-output {
        font-size: 22px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL DESKTOP

   Keep the primary converter side by side.
   Reduce secondary results to two columns.
   ========================================================= */

@media screen and (max-width: 1150px) {

    .btg-primary-grid {
        grid-template-columns:
            minmax(0, 42fr)
            minmax(0, 58fr);

        gap: 15px;
    }

    .btg-results-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 11px;
    }

    .btg-result-card {
        padding: 11px;
    }

    .btg-result-header h3 {
        font-size: 14px;
    }

    .btg-copy-button.btg-secondary-copy-button {
        min-width: 80px;
    }

    .btg-page .btg-result-output {
        font-size: 23px;
    }

    .btg-alphabet-grid {
        gap: 12px;
    }

    .btg-alphabet-card {
        padding: 14px;
    }

    .btg-character-grid {
        grid-template-columns:
            repeat(auto-fill, minmax(34px, 1fr));
    }

}


/* =========================================================
   RESPONSIVE — SMALL DESKTOP ADJUSTMENTS
   ========================================================= */

@media screen and (max-width: 1050px) {

    .btg-layout {
        gap: 18px;
    }

    .btg-heading h1 {
        font-size: 30px;
    }

    .btg-primary-grid {
        gap: 13px;
    }

    .btg-page .btg-result-output.btg-primary-output {
        padding: 13px;

        font-size: 27px;
    }

    .btg-copy-button.btg-primary-copy-button {
        min-height: 44px;

        font-size: 15px;
    }

    .btg-alphabet-card {
        padding: 12px;
    }

    .btg-alphabet-card > h3 {
        font-size: 17px;
    }

    .btg-article .btg-related-tools {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE — TABLET

   Remove the 300px advertising sidebar.
   Keep the primary converter side by side.
   ========================================================= */

@media screen and (max-width: 900px) {

    .btg-page {
        padding: 95px 15px 40px;
    }

    .btg-layout {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 0;
    }

    .btg-main {
        width: 100%;
    }

    .btg-sidebar {
        display: none !important;

        width: 0;
        min-width: 0;
        min-height: 0;
    }

    .btg-heading {
        margin-bottom: 23px;
    }

    .btg-heading h1 {
        font-size: 30px;
    }

    .btg-primary-grid {
        grid-template-columns:
            minmax(0, 40fr)
            minmax(0, 60fr);

        gap: 17px;
    }

    .btg-page .btg-result-output.btg-primary-output {
        font-size: 29px;
    }

    .btg-copy-button.btg-primary-copy-button {
        min-height: 46px;

        font-size: 16px;
    }

    .btg-results-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .btg-result-card {
        padding: 11px;
    }

    .btg-result-header h3 {
        font-size: 14px;
    }

    .btg-page .btg-result-output {
        font-size: 24px;
    }

    .btg-alphabet-card {
        padding: 16px;
    }

    .btg-alphabet-card > h3 {
        font-size: 19px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL TABLET
   ========================================================= */

@media screen and (max-width: 700px) {

    .btg-page {
        padding: 90px 13px 35px;
    }

    .btg-heading {
        margin-bottom: 22px;
    }

    .btg-heading h1 {
        font-size: 28px;
    }

    .btg-intro {
        font-size: 15px;
    }

    .btg-tool {
        gap: 25px;

        margin-bottom: 32px;
    }

    .btg-primary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 13px;
    }

    .btg-section-heading h2 {
        font-size: 20px;
    }

    .btg-page .btg-input {
        height: 160px;
        min-height: 160px;

        font-size: 16px;
    }

    .btg-page .btg-result-output.btg-primary-output {
        height: 160px;
        min-height: 160px;

        font-size: 26px;
    }

    .btg-copy-button.btg-primary-copy-button {
        min-height: 44px;

        padding: 11px 12px;

        font-size: 15px;
    }

    .btg-primary-copy-button i {
        font-size: 18px;
    }

    .btg-secondary-section {
        padding-top: 20px;
    }

    .btg-secondary-section
    .btg-section-heading h2 {
        font-size: 20px;
    }

    .btg-results-grid {
        gap: 10px;
    }

    .btg-result-card {
        padding: 10px;
    }

    .btg-result-header h3 {
        font-size: 13px;
    }

    .btg-page .btg-result-output {
        height: 76px;
        min-height: 76px;
        max-height: 76px;

        font-size: 22px;
    }

    .btg-alphabet-section {
        margin-bottom: 32px;
    }

    .btg-alphabet-section > h2 {
        font-size: 24px;
    }

    .btg-alphabet-grid {
        gap: 11px;
    }

    .btg-alphabet-card {
        gap: 15px;

        padding: 12px;
    }

    .btg-alphabet-card > h3 {
        font-size: 17px;
    }

    .btg-article-section {
        margin-bottom: 29px;
    }

    .btg-article h2 {
        font-size: 24px;
    }

    .btg-article h3 {
        font-size: 19px;
    }

    .btg-style-comparison {
        gap: 12px;
    }

    .btg-comparison-card {
        padding: 14px;
    }

    .btg-comparison-sample {
        font-size: 27px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE

   Your Text appears first.
   Main Bold Text appears immediately below.
   Large Copy Bold Text button remains prominent.

   Additional styles appear afterward.
   ========================================================= */

@media screen and (max-width: 600px) {

    .btg-page {
        padding: 85px 12px 32px;
    }

    .btg-heading {
        margin-bottom: 21px;
    }

    .btg-heading h1 {
        margin-bottom: 8px;

        font-size: 28px;
        line-height: 1.3;
    }

    .btg-intro {
        max-width: 450px;

        font-size: 15px;
        line-height: 1.6;
    }

    .btg-tool {
        gap: 25px;

        margin-bottom: 32px;
    }

    .btg-primary-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 17px;
    }

    .btg-section-heading h2 {
        font-size: 20px;
    }

    .btg-input-section,
    .btg-primary-section {
        gap: 8px;
    }

    .btg-page .btg-input {
        height: 115px;
        min-height: 90px;

        padding: 12px;

        font-size: 16px;
    }

    .btg-input-actions {
        padding: 4px 9px 9px;
    }

    .btg-inline-button {
        min-height: 35px;

        padding: 7px 11px;
    }

    .btg-result-card.btg-primary-card {
        gap: 9px;
    }

    .btg-page .btg-result-output.btg-primary-output {
        height: 125px;
        min-height: 125px;
        max-height: none;

        padding: 12px 13px;

        font-size: 28px;
        line-height: 1.55;
    }

    .btg-copy-button.btg-primary-copy-button {
        min-height: 47px;

        padding: 12px 15px;

        font-size: 16px;
    }

    .btg-primary-copy-button i {
        font-size: 20px;
    }

    .btg-secondary-section {
        gap: 10px;

        padding-top: 20px;
    }

    .btg-secondary-section
    .btg-section-heading h2 {
        font-size: 20px;
    }

    .btg-secondary-intro {
        margin-top: -3px;

        font-size: 14px;
    }

    .btg-results-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 10px;
    }

    .btg-result-card {
        gap: 8px;

        padding: 11px;

        border-radius: 8px;
    }

    .btg-result-header h3 {
        font-size: 15px;
    }

    .btg-copy-button.btg-secondary-copy-button {
        min-width: 85px;
        min-height: 34px;

        padding: 7px 10px;

        font-size: 13px;
    }

    .btg-secondary-copy-button i {
        font-size: 15px;
    }

    .btg-page .btg-result-output {
        height: 75px;
        min-height: 75px;
        max-height: 75px;

        padding: 9px 11px;

        font-size: 24px;
        line-height: 1.5;
    }

    .btg-result-card[data-style="bold-cursive"]
    .btg-result-output,

    .btg-result-card[data-style="bold-gothic"]
    .btg-result-output {
        font-size: 25px;
    }

    .btg-result-card[data-style="bold-underline"]
    .btg-result-output {
        line-height: 1.6;
    }

    .btg-alphabet-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 13px;
    }

    .btg-alphabet-section > h2 {
        font-size: 23px;
    }

    .btg-alphabet-intro {
        margin-bottom: 15px;

        font-size: 15px;
    }

    .btg-alphabet-card {
        gap: 16px;

        padding: 14px;
    }

    .btg-alphabet-card > h3 {
        font-size: 19px;
    }

    .btg-alphabet-header h4 {
        font-size: 14px;
    }

    .btg-alphabet-copy-button {
        min-height: 34px;

        font-size: 12px;
    }

    .btg-character-grid {
        grid-template-columns:
            repeat(auto-fill, minmax(36px, 1fr));

        gap: 5px;
    }

    .btg-page .btg-character {
        height: 44px;

        font-size: 24px;
    }

    .btg-article-section {
        margin-bottom: 28px;
    }

    .btg-article h2 {
        margin-bottom: 11px;

        font-size: 23px;
        line-height: 1.4;
    }

    .btg-article h3 {
        font-size: 18px;
    }

    .btg-article p {
        margin-bottom: 13px;

        font-size: 16px;
        line-height: 1.7;
    }

    .btg-article li {
        font-size: 16px;
        line-height: 1.6;
    }

    .btg-article ul,
    .btg-article ol {
        padding-left: 22px;
    }

    .btg-example-table-wrapper {
        margin: 15px 0 17px;
    }

    .btg-example-table th,
    .btg-example-table td {
        padding: 10px;
    }

    .btg-example-table th {
        font-size: 13px;
    }

    .btg-example-table td {
        font-size: 14px;
    }

    .btg-text-example {
        margin: 15px 0 17px;
        padding: 13px 14px;
    }

    .btg-text-example p {
        font-size: 16px;
    }

    .btg-style-comparison {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 12px;
    }

    .btg-comparison-card {
        padding: 15px;
    }

    .btg-comparison-sample {
        min-height: 65px;

        font-size: 29px;
    }

    .btg-comparison-card h3 {
        font-size: 18px;
    }

    .btg-comparison-card p {
        font-size: 15px;
    }

    .btg-faq-item {
        padding: 15px 0;
    }

    .btg-faq-item h3 {
        font-size: 17px;
    }

    .btg-faq-item p {
        font-size: 16px;
    }

    .btg-article .btg-related-tools {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px 14px;
    }

    .btg-related-tools a {
        font-size: 14px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 380px) {

    .btg-page {
        padding: 82px 10px 30px;
    }

    .btg-heading h1 {
        font-size: 25px;
    }

    .btg-intro {
        font-size: 14px;
    }

    .btg-section-heading h2 {
        font-size: 19px;
    }

    .btg-page .btg-input {
        height: 105px;
        min-height: 85px;

        padding: 11px;
    }

    .btg-page .btg-result-output.btg-primary-output {
        height: 115px;
        min-height: 115px;

        padding: 11px;

        font-size: 26px;
    }

    .btg-copy-button.btg-primary-copy-button {
        min-height: 45px;

        font-size: 15px;
    }

    .btg-secondary-section
    .btg-section-heading h2 {
        font-size: 19px;
    }

    .btg-result-card {
        padding: 9px;
    }

    .btg-result-header h3 {
        font-size: 14px;
    }

    .btg-copy-button.btg-secondary-copy-button {
        min-width: 79px;

        padding: 7px 8px;

        font-size: 12px;
    }

    .btg-page .btg-result-output {
        height: 76px;
        min-height: 76px;
        max-height: 76px;

        padding: 9px;

        font-size: 23px;
    }

    .btg-result-card[data-style="bold-cursive"]
    .btg-result-output,

    .btg-result-card[data-style="bold-gothic"]
    .btg-result-output {
        font-size: 24px;
    }

    .btg-alphabet-card {
        padding: 11px;
    }

    .btg-alphabet-card > h3 {
        font-size: 17px;
    }

    .btg-character-grid {
        grid-template-columns:
            repeat(auto-fill, minmax(34px, 1fr));

        gap: 4px;
    }

    .btg-page .btg-character {
        height: 41px;

        font-size: 22px;
    }

    .btg-alphabet-section > h2,
    .btg-article h2 {
        font-size: 22px;
    }

    .btg-example-table th,
    .btg-example-table td {
        padding: 8px;
    }

    .btg-article .btg-related-tools {
        grid-template-columns:
            minmax(0, 1fr);
    }

}


/* =========================================================
   TOUCH DEVICE ADJUSTMENTS
   ========================================================= */

@media (pointer: coarse) {

    .btg-inline-button,
    .btg-alphabet-copy-button {
        min-height: 38px;
    }

    .btg-copy-button.btg-primary-copy-button {
        min-height: 48px;
    }

    .btg-copy-button.btg-secondary-copy-button {
        min-height: 38px;
    }

    .btg-page .btg-character {
        min-height: 44px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .btg-page *,
    .btg-page *::before,
    .btg-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

    .btg-page .btg-character:active {
        transform: none;
    }

}


/* =========================================================
   HIGH CONTRAST / FORCED COLORS
   ========================================================= */

@media (forced-colors: active) {

    .btg-input-wrapper,
    .btg-primary-output-wrapper,
    .btg-result-card,
    .btg-result-output,
    .btg-alphabet-card,
    .btg-character,
    .btg-comparison-card {
        border: 1px solid CanvasText;
    }

    .btg-result-card.btg-primary-card {
        border: 0;
    }

    .btg-copy-button,
    .btg-inline-button,
    .btg-alphabet-copy-button {
        border: 1px solid ButtonText;
    }

    .btg-page button:focus-visible,
    .btg-page textarea:focus-visible {
        outline: 2px solid Highlight;
    }

}


/* =========================================================
   PRINT STYLES
   ========================================================= */

@media print {

    .btg-page {
        padding: 0;

        background: #fff;
        color: #000;
    }

    .btg-layout {
        display: block;

        max-width: none;
    }

    .btg-sidebar {
        display: none !important;
    }

    .btg-primary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

    .btg-input-actions,
    .btg-copy-button,
    .btg-alphabet-copy-button,
    .btg-warning {
        display: none !important;
    }

    .btg-results-grid,
    .btg-alphabet-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .btg-primary-grid,
    .btg-result-card,
    .btg-alphabet-card,
    .btg-comparison-card,
    .btg-text-example {
        break-inside: avoid;

        box-shadow: none;
    }

    .btg-page .btg-input,
    .btg-page .btg-result-output,
    .btg-page .btg-result-output.btg-primary-output {
        background: #fff;
        color: #000;
    }

    .btg-primary-output-wrapper {
        background: #fff;
    }

    .btg-article a {
        color: #000;

        text-decoration: underline;
    }

}


/* =========================================================
   END — BOLD TEXT GENERATOR
   ========================================================= */