@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ============================================================
   Letras Diferentes FM - modern "craft suite" UI
   Warm paper background, hairline grid, mono labels, black CTAs
   ============================================================ */

:root {
    --bg: #f2f1ed;
    --panel: #f7f6f2;
    --card: #f2f1ed;
    --card-hover: #ffffff;
    --ink: #111111;
    --muted: #7b7a73;
    --line: #d5d3cc;
    --line-strong: #111111;
    --accent: #2f6bf0;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --wrap: 1280px;
}

::-webkit-scrollbar-thumb {
    background: #111
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar {
    height: 6px;
    width: 10px
}

*,
body,
html {
    box-sizing: border-box
}

body,
html {
    padding: 0;
    margin: 0;
    height: 100%;
    line-height: 1.55
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

::selection {
    background: var(--ink);
    color: #fff
}

a {
    color: var(--ink);
    text-decoration: none
}

input::placeholder {
    color: #9a9992;
    opacity: 1
}

/* ---------------- Header / top bar ---------------- */

.header {
    background: var(--bg)
}

#header-sec {
    background: var(--bg);
    border-bottom: 1px solid var(--line)
}

div#header,
div#header-sec {
    width: 100%;
    float: left
}

.widget-content {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px
}

.site-title {
    padding: 0
}

.site-title img {
    width: 300px;
    padding-top: 10px
}

.site-title .sam-container {
    text-align: left
}

.site-title h2 {
    margin: 0
}

.site-title a {
    display: inline-block;
    padding: 18px 0 14px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1
}

.site-title a::after {
    content: "FM";
    display: inline-block;
    margin-left: 14px;
    padding: 5px 8px 4px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    vertical-align: 3px
}

p.site-title {
    margin: 0
}

.site-branding-text {
    color: var(--ink);
    text-align: center
}

.cloudflare-app {
    margin-bottom: 30px
}

.sam-container {
    max-width: var(--wrap);
    text-align: center
}

/* ---------------- Text input ---------------- */

.input-box {
    position: relative;
    background: #fff;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--ink)
}

#sam-text {
    width: 100%;
    height: 84px;
    padding: .7em 3.2em .7em 1.1em;
    outline: 0;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    letter-spacing: 0;
    line-height: 1.4;
    margin-bottom: 0;
    display: block;
    text-align: left;
    font-size: 22px;
    font-weight: 500;
    font-family: var(--sans);
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    resize: none
}

#sam-text:focus {
    background: #fff
}

#sam-text::placeholder {
    color: #9a9992;
    font-size: 17px;
    font-weight: 400
}

.sam-text .clear,
button.clear {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--line);
    z-index: 99999;
    border-radius: 0;
    cursor: pointer;
    outline: none;
    transition: background .15s, color .15s, border-color .15s
}

.sam-text .clear:hover,
button.clear:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
}

.sam-text {
    padding-top: 14px
}

.container {
    max-width: var(--wrap);
    margin: 0 auto;
    text-align: center
}

.footer .container {
    margin-top: 65px
}

.settings {
    float: right;
    margin-top: 12px
}

.settings input {
    box-shadow: none;
    cursor: pointer;
    padding: 2px;
    width: 220px;
    accent-color: var(--ink)
}

p.font-size,
.share {
    display: block;
    float: left;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    margin-right: 10px
}

p.font-size {
    margin-top: 0;
    padding: 2px
}

.share {
    padding-top: 10px;
    padding-left: 0
}

/* ---------------- Share buttons ---------------- */

.share_button {
    float: left;
    padding: 14px 0 16px
}

.fixedtop .share_button {
    display: none
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: inline-block
}

.resp-sharing-button__link {
    text-decoration: none;
    color: var(--ink);
    float: left;
    font-size: 16px;
    margin-right: 6px;
    margin-bottom: 0
}

.resp-sharing-button {
    transition: background .15s, border-color .15s;
    padding: 6px 16px;
    border-radius: 0;
    border: 1px solid var(--line);
    background: transparent;
    font-family: var(--sans)
}

.resp-sharing-button__icon svg {
    width: 1em;
    height: 1em;
    margin-right: .4em;
    vertical-align: top
}

.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle
}

.resp-sharing-button__icon {
    stroke: var(--ink);
    fill: none
}

.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
    fill: var(--ink);
    stroke: none
}

.resp-sharing-button--twitter,
.resp-sharing-button--pinterest,
.resp-sharing-button--facebook,
.resp-sharing-button--tumblr,
.resp-sharing-button--reddit,
.resp-sharing-button--google,
.resp-sharing-button--linkedin,
.resp-sharing-button--email,
.resp-sharing-button--xing,
.resp-sharing-button--whatsapp,
.resp-sharing-button--telegram {
    background-color: transparent;
    border-color: var(--line)
}

.resp-sharing-button:hover,
.resp-sharing-button:active {
    background-color: var(--ink) !important;
    border-color: var(--ink) !important
}

.resp-sharing-button:hover .resp-sharing-button__icon,
.resp-sharing-button:hover .resp-sharing-button__icon--solid {
    fill: #fff
}

.share-link {
    float: left;
    width: 100%;
    padding: 10px 0;
    cursor: pointer
}

.share-link span {
    color: var(--muted);
    font-family: var(--mono)
}

#share-link {
    cursor: pointer
}

@media only screen and (max-width:670px) {
    .resp-sharing-button {
        padding: 6px 14px
    }
}

/* ---------------- Category tabs (bookmarks) ---------------- */

.bookmarks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 16px;
    float: left;
    width: 100%;
    white-space: normal;
    overflow: hidden
}

.bookmarks a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    line-height: 1;
    min-height: 36px;
    padding: 0 14px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s
}

.bookmarks a:hover,
.bookmarks a.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

/* mobile: tabs collapse to two rows with a toggle (favorites.js) */
.bookmarks.is-collapsed {
    max-height: 80px
}

.tabs-toggle {
    display: none;
    clear: both;
    width: 100%;
    margin: 0 0 16px;
    min-height: 40px;
    background: transparent;
    border: 1px dashed var(--line-strong);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer
}

.tabs-toggle.show {
    display: block
}

/* ---------------- Favorites ---------------- */

.fav-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 16px
}

.fav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s, color .15s
}

.fav-toggle svg {
    width: 14px;
    height: 14px;
    fill: #f2a900;
    stroke: var(--ink);
    stroke-width: 1.5
}

.fav-toggle b {
    min-width: 20px;
    padding: 2px 6px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-align: center
}

.fav-toggle:hover,
.fav-toggle[aria-pressed="true"] {
    background: var(--ink);
    color: #fff
}

.fav-toggle:hover b,
.fav-toggle[aria-pressed="true"] b {
    background: #fff;
    color: var(--ink)
}

.fav-hint {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase
}

.fav-empty {
    display: none;
    grid-column: 1 / -1;
    padding: 36px 20px;
    text-align: center;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

body.fav-only .fav-empty.show {
    display: block
}

body.fav-only .letrasbonitas:not(.is-fav) {
    display: none
}

.fav-btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 41px;
    height: 41px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--line);
    cursor: pointer;
    transition: background .15s
}

.fav-btn svg {
    width: 17px;
    height: 17px;
    fill: transparent;
    stroke: var(--ink);
    stroke-width: 1.7;
    stroke-linejoin: round;
    transition: fill .15s, transform .15s
}

.fav-btn:hover {
    background: var(--ink)
}

.fav-btn:hover svg {
    stroke: #fff
}

.fav-btn[aria-pressed="true"] svg {
    fill: #f2a900
}

.fav-btn:active svg {
    transform: scale(.85)
}

/* ---------------- Main content ---------------- */

div.mainsection,
.mainsection {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 28px 20px 0;
    clear: both
}

.mainsection h1.entry-title {
    margin: 0 0 18px;
    padding-top: 10px;
    font-family: var(--sans);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--ink)
}

.mainsection h2 {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 34px 0 10px;
    color: var(--ink)
}

.mainsection h3 {
    font-weight: 700;
    margin: 24px 0 8px
}

.mainsection p,
.mainsection li {
    color: #3a3a36;
    line-height: 1.7
}

.mainsection p a,
.mainsection li a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px
}

.mainsection p a:hover,
.mainsection li a:hover {
    color: var(--accent)
}

.mainsection ul,
.mainsection ol {
    padding-left: 1.3em
}

/* ---------------- Font cards grid ---------------- */

.letrasbonitaslist {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    counter-reset: card;
    background: transparent;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin-bottom: 1px
}

.letrasbonitaslist>h2 {
    grid-column: 1 / -1;
    text-align: left;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0;
    padding: 14px 20px;
    background: var(--panel);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

/* pages appended by infinite scroll arrive as nested lists */
.letrasbonitaslist>.letrasbonitaslist {
    grid-column: 1 / -1;
    border: 0;
    margin: 0;
    width: auto
}

.letrasbonitaslist>h2::after {
    content: "Clique para copiar";
    float: right;
    color: var(--muted);
    font-size: 10.5px;
    letter-spacing: .12em
}

.layout {
    background-color: var(--bg);
    border-radius: 0
}

.letrasbonitas {
    position: relative;
    display: flex;
    flex-direction: column;
    float: none;
    width: auto;
    min-width: 0;
    counter-increment: card;
    background: var(--card);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-top: 41px;
    transition: background .15s
}

/* top strip: number badge + style name */
.letrasbonitas::before {
    content: counter(card, decimal-leading-zero);
    position: absolute;
    top: 10px;
    left: 14px;
    padding: 2px 8px;
    background: var(--accent);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 18px;
    z-index: 1
}

.letrasbonitas:nth-of-type(6n+2)::before { background: #8a4cf0 }
.letrasbonitas:nth-of-type(6n+3)::before { background: #0e9f8a }
.letrasbonitas:nth-of-type(6n+4)::before { background: #3a4fd8 }
.letrasbonitas:nth-of-type(6n+5)::before { background: #1a9a55 }
.letrasbonitas:nth-of-type(6n+6)::before { background: #0fb98a }

.letrasbonitas span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 41px;
    padding: 0 54px 0 60px;
    background: transparent;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 41px;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.letrasbonitas p {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 22px;
    width: 100%;
    min-height: 96px;
    text-align: left;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.45;
    padding: 20px 22px;
    border: 0;
    margin: 0;
    border-radius: 0;
    overflow-wrap: anywhere;
    transition: color .15s
}

.letrasbonitas:hover {
    background: var(--card-hover)
}

.letrasbonitas:hover p {
    color: var(--ink);
    background: transparent;
    text-shadow: none
}

.letrasbonitas:active {
    background: #fff
}

.letrasbonitas.is-fav::before {
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px #f2a900
}

.letrasbonitas:hover span {
    display: block;
    color: var(--ink)
}

@media only screen and (min-width:970px) {
    .letrasbonitas {
        width: auto
    }
}

@media only screen and (max-width:970px) {
    .header {
        margin-bottom: 0;
        padding-bottom: 0
    }

    .letrasbonitas {
        position: relative;
        display: block;
        float: none;
        width: auto
    }
}

h2.headings {
    font-size: 22px;
    text-align: left;
    margin-top: 15px;
    color: var(--ink);
    font-weight: 700
}

.copyright-area a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px
}

.copyright-area {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--muted)
}

p.text,
p.copyit {
    text-align: center;
    opacity: .8
}

.close-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: absolute;
    right: 0;
    top: -37px;
    background-color: #fff;
    border: 1px solid var(--line)
}

.ads {
    margin: 15px 0 !important;
    float: left;
    clear: both;
    width: 100% !important
}

.divTableCell {
    display: table-cell;
    padding: 0 5px
}

.divTableCell:nth-child(1) {
    text-align: left;
    font-size: 12px;
    font-family: var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    float: left;
    padding: 0;
    color: var(--ink)
}

.divTableCell:nth-child(2) {
    text-align: left
}

.share-buttons {
    margin-top: 5px
}

.share-buttons a {
    float: left;
    cursor: pointer;
    padding: 5px 25px
}

.share-buttons a:hover {
    opacity: .9
}

.share-buttons a.facebook {
    background: #44609d
}

.share-buttons a.twitter {
    background: #54acef
}

.share-buttons a.whatsapp {
    background: #57bb63
}

.share-buttons img {
    width: 23px;
    float: left
}

/* ---------------- Sticky input ---------------- */

.sam-text\.fixedtop {
    position: fixed;
    top: 0;
    padding: 8px 20px;
    width: 100%;
    z-index: 999;
    background: var(--bg);
    border-bottom: 1px solid var(--line)
}

@media only screen and (max-width:970px) {
    .sam-text {
        margin-bottom: 0;
        padding: 12px 0 0;
        width: 100%;
        z-index: 9999;
        top: 0;
        left: 0;
        bottom: 0
    }

    .sam-text\.fixedtop {
        margin-bottom: 0;
        padding: 8px 12px;
        position: fixed;
        width: 100%;
        z-index: 9999;
        top: 0;
        left: 0;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .12)
    }

    .sam-text\.fixedtop .input-box {
        box-shadow: none
    }

    #sam-text {
        height: 72px;
        font-size: 19px
    }
}

/* ---------------- Footer / link chips ---------------- */

.links {
    text-align: center;
    margin-top: 10px;
    clear: both;
    float: left;
    width: 100%;
    padding: 0 20px
}

.links a {
    background: transparent;
    color: var(--muted);
    display: inline-block;
    margin: -1px 0 0 -1px;
    text-transform: uppercase;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 9px 14px;
    text-align: center;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s
}

.links a:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

button.btn.btn-primary {
    margin: 3px
}

#scroll {
    display: none;
    position: fixed;
    bottom: 20%;
    right: 16px;
    background: var(--ink);
    z-index: 99999;
    color: #fff;
    font-size: 18px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 0;
    transition: background .15s
}

#scroll:hover {
    color: #fff;
    background: var(--accent)
}

.footer {
    width: 100%;
    float: left;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    background: var(--bg);
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding-bottom: 50px
}

.footer p {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase
}

img {
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 900px;
    width: 100%
}

.entry-content {
    text-align: left;
    padding: 2px;
    margin-left: 6px
}

/* ---------------- Pagination / loader ---------------- */

.sampage {
    text-align: center;
    float: left;
    width: 100%;
    margin: 28px 0;
    padding: 0
}

.sampage a.sampage-next {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    padding: 14px 34px;
    border: 1px solid var(--ink);
    border-radius: 0;
    text-transform: uppercase;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-decoration: none;
    transition: background .15s, color .15s
}

.sampage a.sampage-next:hover {
    background: transparent;
    color: var(--ink)
}

.page-load-status {
    text-align: center;
    color: var(--muted);
    float: left;
    width: 100%;
    font-family: var(--mono);
    font-size: 12px
}

.page-load-status a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 6px
}

.aload {
    font-size: 20px;
    position: relative;
    width: 4em;
    height: 1em;
    margin: 10px auto
}

.aload span {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0;
    background: var(--ink);
    position: absolute;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite
}

.aload span:nth-child(1),
.aload span:nth-child(2) {
    left: 0
}

.aload span:nth-child(3) {
    left: 1.5em
}

.aload span:nth-child(4) {
    left: 3em
}

.aload span:nth-child(1) {
    animation-name: reveal
}

.aload span:nth-child(2),
.aload span:nth-child(3) {
    animation-name: slide
}

.aload span:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse
}

@keyframes reveal {
    from {
        transform: scale(.001)
    }

    to {
        transform: scale(1)
    }
}

@keyframes slide {
    to {
        transform: translateX(1.5em)
    }
}

p.other-platform {
    text-align: center
}

p.other-platform img {
    width: auto;
    height: 90px
}

/* "copied" toast */
p.copied {
    position: fixed;
    width: 260px;
    right: 0;
    bottom: 25%;
    background: var(--ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 0;
    z-index: 99999;
    font-family: var(--mono);
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
}

p.copied span {
    float: left;
    width: 100%
}

p.copied .text {
    background: 0 0;
    color: #fff;
    border: none;
    width: 100%
}

/* ---------------- 404 ---------------- */

.error-page {
    text-align: center;
    padding: 60px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.error-code {
    font-family: var(--sans);
    font-size: 8rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--ink);
    margin: 0;
    line-height: 1;
    background: none;
    -webkit-text-fill-color: currentColor
}

.error-message {
    font-size: 2rem;
    color: var(--ink);
    margin: 20px 0;
    font-weight: 700;
    letter-spacing: -.01em
}

.error-description {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 20px 0 40px;
    max-width: 600px;
    line-height: 1.6
}

.error-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px
}

.error-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-family: var(--mono);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: all .15s ease;
    border: 1px solid var(--ink)
}

.error-btn:hover {
    background: transparent;
    color: var(--ink);
    transform: none;
    box-shadow: 4px 4px 0 var(--ink)
}

.error-btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink)
}

.error-btn-secondary:hover {
    background: var(--ink);
    color: #fff
}

.error-decoration {
    font-size: 3rem;
    margin: 20px 0;
    opacity: .7
}

@media (max-width: 768px) {
    .error-code {
        font-size: 5rem
    }

    .error-message {
        font-size: 1.5rem
    }

    .error-description {
        font-size: 1rem
    }

    .error-actions {
        flex-direction: column;
        align-items: center
    }

    .error-btn {
        width: 100%;
        max-width: 280px
    }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--ink);
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 0;
    font-family: var(--mono);
    font-weight: 700
}

.skip-link:focus {
    top: 6px
}

/* ---------------- Blog grid (overrides page-level inline styles) ---------------- */

body .blog-header {
    text-align: left;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 36px 20px 8px
}

body .blog-header h1 {
    font-family: var(--sans);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0 0 8px
}

body .blog-header p {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase
}

body .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: var(--wrap);
    margin: 20px auto 30px;
    padding: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    width: calc(100% - 40px)
}

body .blog-card {
    background: var(--card);
    border-radius: 0;
    box-shadow: none;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .15s
}

body .blog-card:hover {
    transform: none;
    box-shadow: none;
    background: #fff
}

body .blog-card-body {
    padding: 20px 22px 22px
}

body .blog-card-category {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    padding: 3px 8px;
    margin-bottom: 14px
}

body .blog-card-title {
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.35;
    color: var(--ink)
}

body .blog-card-title a {
    color: var(--ink)
}

body .blog-card-title a:hover {
    color: var(--accent)
}

body .blog-card-footer {
    border-top: 1px solid var(--line);
    padding-top: 14px
}

body .blog-card-btn {
    background: var(--ink);
    color: #fff;
    border-radius: 0;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    padding: 9px 16px;
    border: 1px solid var(--ink)
}

body .blog-card-btn:hover {
    background: transparent;
    color: var(--ink)
}

body .blog-card-date {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--muted)
}

@media (max-width: 900px) {
    body .blog-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 580px) {
    body .blog-grid {
        grid-template-columns: 1fr
    }
}

/* ---------------- Small screens ---------------- */

@media (max-width: 600px) {
    .widget-content {
        padding: 0 14px
    }

    div.mainsection,
    .mainsection {
        padding: 20px 14px 0
    }

    .site-title a {
        font-size: 16px;
        padding: 14px 0 12px
    }

    .input-box {
        box-shadow: 3px 3px 0 var(--ink)
    }
}

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

@media (max-width: 700px) {
    .letrasbonitaslist>h2::after {
        display: none
    }

    .letrasbonitas p {
        font-size: 21px;
        min-height: 84px;
        padding: 16px 18px
    }

    .bookmarks {
        gap: 5px;
        padding-bottom: 12px
    }

    .bookmarks a {
        min-height: 34px;
        padding: 0 11px;
        font-size: 10px
    }

    .share_button {
        padding: 10px 0 12px
    }

    .share {
        display: none
    }

    .resp-sharing-button {
        padding: 8px 18px
    }

    .fav-bar {
        gap: 8px
    }

    .fav-toggle {
        flex: 1 1 100%;
        justify-content: center
    }

    .fav-hint {
        display: none
    }

    .links {
        padding: 0 14px
    }

    .links a {
        padding: 9px 11px;
        font-size: 10px
    }

    #scroll {
        bottom: 80px;
        right: 12px
    }

    p.copied {
        width: calc(100% - 24px);
        right: 12px;
        bottom: 14px
    }
}

@media (hover: none) {

    .resp-sharing-button:hover,
    .links a:hover {
        background: transparent !important;
        color: var(--ink)
    }

    .bookmarks a:hover {
        background: transparent;
        color: var(--ink);
        border-color: var(--line)
    }

    .bookmarks a.active {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff
    }

    .fav-btn:hover {
        background: transparent
    }

    .fav-btn:hover svg {
        stroke: var(--ink)
    }
}

/* ---------------- v3: header favorites, sticky input, slider, scroll-top ---------------- */

/* top bar: site name left, favorites right */
.site-title .sam-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.site-title .fav-toggle {
    min-height: 36px;
    padding: 0 14px;
    margin-left: auto;
    flex: 0 0 auto
}

.fav-hint {
    display: none
}

.fav-empty.show {
    display: none
}

@media (max-width: 700px) {
    .site-title .fav-toggle {
        flex: 0 0 auto;
        padding: 0 10px;
        gap: 6px
    }

    .site-title .fav-toggle span {
        display: none
    }
}

/* sticky input: no layout jump, centered, compact */
.sam-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%
}

.sam-spacer {
    display: block;
    height: 0;
    pointer-events: none
}

.sam-text\.fixedtop {
    padding: 8px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.sam-text\.fixedtop .input-box {
    box-shadow: none
}

.sam-text\.fixedtop #sam-text {
    height: 56px;
    padding-top: .5em;
    padding-bottom: .5em;
    font-size: 18px
}

.sam-text\.fixedtop button.clear {
    top: 11px
}

/* range slider */
.settings {
    display: flex;
    align-items: center;
    gap: 12px;
    float: right;
    margin-top: 14px
}

.settings p.font-size {
    float: none;
    margin: 0;
    padding: 0
}

.settings input[type="range"],
input.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 220px;
    height: 24px;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    --pct: 40%
}

input.slider::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--line);
    border: 0
}

input.slider::-moz-range-track {
    height: 4px;
    background: var(--line);
    border: 0
}

input.slider::-moz-range-progress {
    height: 4px;
    background: var(--ink)
}

input.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    background: var(--ink);
    border: 3px solid var(--bg);
    border-radius: 0;
    box-shadow: 0 0 0 1px var(--ink);
    transition: transform .12s
}

input.slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--ink);
    border: 3px solid var(--bg);
    border-radius: 0;
    box-shadow: 0 0 0 1px var(--ink)
}

input.slider:hover::-webkit-slider-thumb,
input.slider:active::-webkit-slider-thumb {
    transform: scale(1.15);
    background: var(--accent)
}

input.slider:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px
}

@media (max-width: 700px) {
    .settings {
        float: none;
        clear: both;
        width: 100%;
        padding: 0 0 14px
    }

    .settings input[type="range"],
    input.slider {
        flex: 1;
        width: auto
    }
}

/* scroll to top */
#scroll {
    font-size: 0;
    line-height: 0;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M12 20V5M5 11l7-7 7 7M5 22h14'/%3E%3C/svg%3E") center / 20px no-repeat;
    right: 16px;
    bottom: 24px;
    box-shadow: 4px 4px 0 var(--accent)
}

#scroll:hover {
    background-color: var(--ink);
    transform: translateY(-2px)
}

.sam-text\.fixedtop {
    left: 0;
    right: 0;
    width: auto;
    margin: 0
}

/* ---------------- v4: slider + share + favorites live in the top bar ---------------- */

.site-title .sam-container {
    flex-wrap: wrap
}

.top-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto
}

.top-actions .settings {
    float: none;
    clear: none;
    width: auto;
    margin: 0;
    padding: 0
}

.top-actions .settings input[type="range"],
.top-actions input.slider {
    width: 140px
}

.top-actions .share_button {
    float: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0
}

.top-actions .share {
    display: none
}

.top-actions .resp-sharing-button__link {
    float: none;
    margin: 0
}

.top-actions .resp-sharing-button {
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center
}

.top-actions .resp-sharing-button__icon {
    display: flex
}

.top-actions .fav-toggle {
    margin-left: 0
}

.top-actions p.font-size {
    font-size: 10px
}

@media (max-width: 1000px) {
    .top-actions p.font-size {
        display: none
    }
}

@media (max-width: 760px) {
    .site-title .sam-container {
        gap: 0
    }

    .top-actions {
        width: 100%;
        margin: 0 0 12px;
        justify-content: space-between;
        gap: 10px
    }

    .top-actions .settings {
        order: 3;
        flex: 1 1 100%
    }

    .top-actions .settings input[type="range"],
    .top-actions input.slider {
        width: 100%
    }

    .top-actions .settings p.font-size {
        display: block
    }

    .top-actions .settings {
        display: flex
    }

    .site-title a {
        padding-bottom: 12px
    }

    .top-actions .fav-toggle span {
        display: inline
    }
}

/* top-bar links must not inherit the wordmark styling */
.site-title .top-actions a::after {
    content: none;
    display: none
}

.site-title .top-actions a {
    display: block;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0;
    text-transform: none
}

.sam-text {
    padding-bottom: 18px
}

.sam-text\.fixedtop {
    padding-bottom: 8px
}

/* ---------------- v5: reading pages + favorites panel ---------------- */

body.read-mode .mainsection p,
body.read-mode .mainsection li {
    font-size: var(--read-size, 17px)
}

.top-actions {
    position: relative
}

.fav-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 100000;
    width: 280px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    text-align: left
}

.fav-panel p {
    margin: 0 0 8px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.fav-panel span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5
}

.fav-panel a {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 14px;
    background: var(--ink);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase
}

/* ---------------- favorites page ---------------- */

.fav-page-empty {
    display: none;
    grid-column: 1 / -1;
    padding: 56px 24px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.fav-page-empty strong {
    display: block;
    font-size: 22px;
    letter-spacing: -.01em
}

.fav-page-empty p {
    max-width: 460px;
    margin: 10px auto 22px;
    color: var(--muted)
}

.fav-page-empty a {
    display: inline-block;
    padding: 12px 24px;
    background: var(--ink);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase
}

body.fav-page .letrasbonitaslist>h2::after {
    content: "Clique para copiar"
}

.fav-toggle[aria-pressed="true"] {
    cursor: default
}

/* ---------------- sticky input = identical to the main input ---------------- */

.sam-text\.fixedtop {
    padding: 14px 20px 14px;
    background: var(--bg);
    border: 0;
    box-shadow: none
}

.sam-text\.fixedtop .sam-container {
    max-width: 1240px
}

.sam-text\.fixedtop .input-box {
    box-shadow: 4px 4px 0 var(--ink)
}

.sam-text\.fixedtop #sam-text {
    height: 84px;
    padding: .7em 3.2em .7em 1.1em;
    font-size: 22px
}

.sam-text\.fixedtop button.clear {
    top: 8px
}

@media (max-width: 970px) {
    .sam-text\.fixedtop {
        padding: 12px 14px 12px;
        box-shadow: none
    }

    .sam-text\.fixedtop .input-box {
        box-shadow: 4px 4px 0 var(--ink)
    }

    .sam-text\.fixedtop #sam-text {
        height: 72px;
        font-size: 19px
    }
}

@media (max-width: 600px) {
    .sam-text\.fixedtop .input-box {
        box-shadow: 3px 3px 0 var(--ink)
    }
}

/* ---------------- scroll-to-top hover keeps its arrow ---------------- */

#scroll:hover {
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M12 20V5M5 11l7-7 7 7M5 22h14'/%3E%3C/svg%3E") center / 20px no-repeat;
    color: transparent;
    transform: translateY(-2px)
}

/* ---------------- mobile menu: left sidebar ---------------- */

.menu-btn {
    display: none;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    cursor: pointer;
    transition: background .15s
}

.menu-btn svg,
.drawer-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: square
}

.menu-btn:hover,
.drawer-close:hover {
    background: var(--ink);
    color: #fff
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(17, 17, 17, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s
}

.drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    width: min(86vw, 340px);
    background: var(--bg);
    border-right: 1px solid var(--ink);
    box-shadow: 8px 0 0 rgba(17, 17, 17, .12);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility .28s
}

body.menu-open {
    overflow: hidden
}

body.menu-open .drawer {
    transform: none;
    visibility: visible
}

body.menu-open .drawer-overlay {
    opacity: 1;
    visibility: visible
}

.drawer-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--line)
}

.drawer-head span {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase
}

.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    cursor: pointer;
    transition: background .15s
}

.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0 24px;
    -webkit-overflow-scrolling: touch
}

.drawer-label {
    margin: 18px 20px 8px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 20px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase
}

.drawer-nav a:last-child {
    border-bottom: 1px solid var(--line)
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: var(--ink);
    color: #fff
}

.drawer-nav a b {
    min-width: 22px;
    padding: 2px 7px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-align: center
}

.drawer-nav a:hover b,
.drawer-nav a.active b {
    background: #fff;
    color: var(--ink)
}

@media (max-width: 900px) {
    .menu-btn {
        display: flex
    }

    /* the drawer replaces the inline tab rows on small screens */
    .bookmarks,
    .tabs-toggle,
    .tabs-toggle.show {
        display: none
    }

    .site-title .sam-container {
        flex-wrap: wrap;
        align-items: center
    }

    .site-title h2 {
        flex: 1 1 auto;
        min-width: 0
    }

    .site-title a {
        padding: 12px 0
    }

    .top-actions {
        order: 3
    }
}

@media (max-width: 420px) {
    .site-title a {
        font-size: 14px;
        letter-spacing: .1em
    }

    .site-title a::after {
        margin-left: 8px;
        padding: 4px 6px 3px
    }
}

.drawer-nav {
    scrollbar-width: thin
}

.drawer-nav::-webkit-scrollbar {
    width: 6px
}

.drawer-nav::-webkit-scrollbar-thumb {
    background: var(--line)
}

.copyright-area .version {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em
}

/* ---------------- footer bar: links left, copyright right ---------------- */

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    clear: both;
    max-width: var(--wrap);
    margin: 28px auto 0;
    padding: 18px 20px 0;
    border-top: 1px solid var(--line);
    text-align: left
}

.footer-bar .links,
.footer-bar .footer-links {
    float: none;
    clear: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.footer-bar .links a {
    margin: 0
}

.footer-bar .copyright-area {
    margin: 0 0 0 auto;
    text-align: right;
    white-space: nowrap
}

@media (max-width: 760px) {
    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 14px 0
    }

    .footer-bar .copyright-area {
        margin: 0;
        text-align: left;
        white-space: normal
    }
}

/* article text inside the footer is normal reading text, not a mono label */
.footer p,
.footer li {
    color: #3a3a36;
    font-family: var(--sans);
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.7
}

.footer .container,
.footer .entry-content {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px
}

.footer .container h1,
.footer .container h2,
.footer .container h3 {
    font-family: var(--sans);
    letter-spacing: -.01em;
    color: var(--ink)
}

.footer .copyright-area,
.footer .copyright-area a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em
}

/* footer links: plain text links, no buttons or borders */
.footer-bar .links a,
.footer-bar .footer-links a {
    display: inline;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .15s
}

.footer-bar .links a:hover,
.footer-bar .footer-links a:hover {
    background: transparent;
    border: 0;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px
}

.footer-bar .links,
.footer-bar .footer-links {
    gap: 8px 22px
}

.footer-bar .copyright-area .version {
    border: 0;
    padding: 0;
    margin-left: 6px
}

/* ---------------- article / SEO content ---------------- */

.page-intro {
    max-width: 920px;
    margin: 0 0 26px
}

.page-intro .entry-title {
    margin: 0 0 12px
}

.page-intro .lead {
    margin: 0;
    color: #3a3a36;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65
}

.seo-article {
    max-width: 800px;
    margin: 56px auto 40px;
    padding: 0;
    text-align: left;
    clear: both
}

.seo-article>.entry-title {
    margin: 0 0 10px
}

.seo-article .byline {
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.seo-article .byline a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px
}

.seo-article h2 {
    margin: 42px 0 12px;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
    letter-spacing: -.015em
}

.seo-article h3 {
    margin: 28px 0 8px;
    font-size: 19px;
    line-height: 1.3
}

.seo-article p,
.seo-article li {
    font-size: 17px;
    line-height: 1.75;
    color: #2e2e2a
}

.seo-article p {
    margin: 0 0 16px
}

.seo-article ul,
.seo-article ol {
    margin: 0 0 18px;
    padding-left: 1.3em
}

.seo-article li {
    margin-bottom: 6px
}

.seo-article a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px
}

.seo-article a:hover {
    color: var(--accent)
}

.seo-article table {
    width: 100%;
    margin: 6px 0 22px;
    border-collapse: collapse;
    font-size: 15px
}

.seo-article th,
.seo-article td {
    padding: 11px 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    line-height: 1.5
}

.seo-article th {
    background: var(--panel);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase
}

.seo-article .note {
    margin: 22px 0;
    padding: 16px 18px;
    border-left: 3px solid var(--ink);
    background: var(--panel)
}

.seo-article .note p:last-child {
    margin-bottom: 0
}

.seo-article .sample {
    display: block;
    margin: 4px 0 14px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 20px;
    line-height: 1.5;
    overflow-wrap: anywhere
}

.seo-article .related {
    margin: 44px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--line)
}

.seo-article .related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.seo-article .related a {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none
}

.seo-article .related a:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

.seo-article .cta-box {
    margin: 28px 0 0;
    padding: 20px 22px;
    background: var(--ink);
    color: #fff;
    font-size: 16px;
    line-height: 1.6
}

.seo-article .cta-box a {
    color: #fff;
    font-weight: 700
}

@media (max-width: 700px) {
    .seo-article {
        margin-top: 40px
    }

    .seo-article p,
    .seo-article li {
        font-size: 16.5px
    }

    .seo-article table {
        display: block;
        overflow-x: auto
    }
}

/* infinite-scroll status: hidden until the loader asks for it */
.page-load-status .infinite-scroll-request,
.page-load-status .infinite-scroll-last,
.page-load-status .infinite-scroll-error {
    display: none
}

body .blog-card-desc {
    margin: 0 0 16px;
    color: #4a4a45;
    font-size: 14px;
    line-height: 1.6
}

.mainsection>.entry-title+p,
.mainsection>p {
    max-width: 780px;
    color: #3a3a36;
    font-size: 17px;
    line-height: 1.7
}

/* ---------------- responsive audit fixes ---------------- */

.skip-link {
    top: -120px
}

.settings input[type="range"],
input.slider {
    height: 32px
}

.footer-bar .links a,
.footer-bar .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px
}

@media (max-width: 700px) {
    .site-title .sam-container {
        padding-top: 8px
    }

    .top-actions {
        margin-bottom: 6px
    }

    div.mainsection,
    .mainsection {
        padding-top: 14px
    }

    .seo-article {
        margin-top: 20px
    }

    .footer-bar .links a,
    .footer-bar .footer-links a {
        min-height: 44px;
        padding: 0 2px
    }

    .footer-bar .links,
    .footer-bar .footer-links {
        gap: 0 20px
    }

    /* keep the scroll-to-top button away from the star buttons on the right edge */
    #scroll {
        right: auto;
        left: 12px;
        bottom: 16px;
        width: 42px;
        height: 42px;
        box-shadow: 3px 3px 0 var(--accent)
    }
}

.seo-article .cta-box a {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 20px;
    min-height: 44px;
    background: #fff;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase
}

.seo-article .cta-box a:hover {
    background: var(--accent);
    color: #fff
}

/* keyboard focus + reduced motion */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

.input-box:focus-within {
    box-shadow: 4px 4px 0 var(--accent)
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

@media (max-width: 360px) {
    .letrasbonitas span {
        padding: 0 50px 0 56px;
        font-size: 10px;
        letter-spacing: .08em
    }

    .site-title a {
        font-size: 13px
    }

    .top-actions .fav-toggle {
        padding: 0 8px
    }
}

/* ---------------- Blog link in the top bar ---------------- */

.top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background .15s, color .15s
}

.top-link:hover,
.top-link.active {
    background: var(--ink);
    color: #fff
}

@media (max-width: 480px) {
    .top-actions {
        gap: 8px
    }

    .top-actions .resp-sharing-button {
        width: 32px;
        height: 32px
    }

    .top-actions .share_button {
        gap: 4px
    }

    .top-link {
        padding: 0 10px;
        min-height: 36px
    }

    .top-actions .fav-toggle span {
        display: none
    }
}

/* ---------------- Blog: one color per post ---------------- */

body .blog-card {
    --c: #2f6bf0;
    border-top: 4px solid var(--c)
}

body .blog-card:nth-child(10n+1) { --c: #2f6bf0 }
body .blog-card:nth-child(10n+2) { --c: #d6336c }
body .blog-card:nth-child(10n+3) { --c: #1a9a55 }
body .blog-card:nth-child(10n+4) { --c: #d9480f }
body .blog-card:nth-child(10n+5) { --c: #8a4cf0 }
body .blog-card:nth-child(10n+6) { --c: #0c8599 }
body .blog-card:nth-child(10n+7) { --c: #c92a2a }
body .blog-card:nth-child(10n+8) { --c: #3a4fd8 }
body .blog-card:nth-child(10n+9) { --c: #0e8a76 }
body .blog-card:nth-child(10n+10) { --c: #a8721c }

body .blog-card-category {
    background: var(--c)
}

body .blog-card-btn {
    background: var(--c);
    border-color: var(--c)
}

body .blog-card-btn:hover {
    background: transparent;
    color: var(--c)
}

body .blog-card-title a:hover {
    color: var(--c)
}

body .blog-card:hover {
    box-shadow: inset 0 -4px 0 var(--c)
}

/* top-bar Blog link must not inherit the wordmark styles of .site-title a */
.site-title .top-actions a.top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase
}

.site-title .top-actions a.top-link:hover,
.site-title .top-actions a.top-link.active {
    background: var(--ink);
    color: #fff
}

@media (max-width: 480px) {
    .site-title .top-actions a.top-link {
        padding: 0 10px
    }
}

/* textarea: slim scrollbar, and a placeholder that fits on one line on small phones */
#sam-text {
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent
}

#sam-text::-webkit-scrollbar {
    width: 6px
}

#sam-text::-webkit-scrollbar-thumb {
    background: var(--line)
}

@media (max-width: 420px) {
    #sam-text::placeholder {
        font-size: 15px
    }

    #sam-text {
        padding-left: .9em
    }
}
