/* Feito por Preto: local child-theme components. */
.fpp-footer {
    --fpp-cream: #efe9dc;
    background: #101010;
    color: #e2dfd8;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    margin-top: 48px;
}
.fpp-footer *, .fpp-author-box * { box-sizing: border-box; }
.fpp-footer-inner { max-width: 1400px; margin: 0 auto; padding: 68px 48px 0; }
.fpp-footer-grid { display: grid; grid-template-columns: 1.55fr .85fr 1fr 1.1fr; gap: 56px; padding-bottom: 56px; }
.fpp-footer-logo { display: inline-block; max-width: 100%; }
.fpp-footer-logo img { display: block; width: 290px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.fpp-footer .fpp-footer-tagline { margin: 24px 0 0; color: #c9c5bd; font-size: 17px; line-height: 1.6; }
.fpp-footer h2 { color: var(--fpp-cream); font: 600 14px/1.5 "DM Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.fpp-footer ul { list-style: none; margin: 0; padding: 0; }
.fpp-footer li { margin: 0 0 7px; padding: 0; }
.fpp-footer a { color: #e2dfd8; text-decoration: none; text-underline-offset: 5px; }
.fpp-footer a:hover { color: #fff; text-decoration: underline; }
.fpp-footer a:focus-visible, .fpp-author-box a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.fpp-footer-owner p { margin: 0 0 22px; color: #c9c5bd; }
.fpp-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.fpp-social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; text-decoration: none; transition: background-color .15s, color .15s; }
.fpp-social svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.fpp-footer .fpp-social a { color: #e2dfd8; border-color: #55524c; }
.fpp-footer .fpp-social a:hover { color: #101010; background: var(--fpp-cream); border-color: var(--fpp-cream); text-decoration: none; }
.fpp-footer-bottom { border-top: 1px solid #383633; padding: 24px 0 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; font-size: 13px; color: #bdb8ae; }
.fpp-footer-bottom p { margin: 0; }
.fpp-footer-bottom a { color: #d7d2c9; }
.fpp-author-box { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 36px; align-items: start; padding: 34px 0; margin: 48px 0 24px; border-top: 1px solid #222; border-bottom: 1px solid #ddd8cf; color: #353535; }
.fpp-author-photo { display: block; width: 170px; height: auto; margin: 4px 0 10px; padding: 6px; border: 1px solid #1c1c1c; border-radius: 2px; background: #efe9dc; box-shadow: 7px 7px 0 #1c1c1c; transform: rotate(-2deg); }
.fpp-author-box .fpp-author-label { font: 500 12px/1.5 "DM Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #66615a; margin: 0 0 5px; }
.fpp-author-box #fpp-author-name { color: #121212; font: 600 30px/1.2 "EB Garamond", Georgia, serif; margin: 0 0 16px; padding: 0; }
.fpp-author-box .fpp-author-content > p:not(.fpp-author-label) { font: 400 17px/1.75 "DM Sans", sans-serif; margin: 0 0 14px; }
.fpp-author-box .fpp-social { margin-top: 18px; }
.fpp-author-box .fpp-social a { color: #242424; border-color: #c6c0b6; }
.fpp-author-box .fpp-social a:hover { color: #fff; background: #171717; border-color: #171717; }
@media (max-width: 1100px) {
    .fpp-footer-grid { grid-template-columns: 1.3fr 1fr; gap: 40px 64px; }
    .fpp-footer-inner { padding: 52px 36px 0; }
}
@media (max-width: 600px) {
    .fpp-footer { margin-top: 32px; }
    .fpp-footer-inner { padding: 42px 24px 0; }
    .fpp-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 22px; padding-bottom: 36px; }
    .fpp-footer-brand, .fpp-footer-owner { grid-column: 1 / -1; }
    .fpp-footer-logo img { width: 270px; }
    .fpp-footer .fpp-footer-tagline { margin-top: 18px; font-size: 16px; }
    .fpp-footer-bottom { display: block; padding: 21px 0 25px; }
    .fpp-footer-bottom a { display: inline-block; margin-top: 12px; }
    .fpp-author-box { grid-template-columns: 112px minmax(0, 1fr); gap: 14px 24px; padding: 26px 0; margin-top: 36px; }
    .fpp-author-photo { width: 112px; grid-row: 1 / 3; margin-bottom: 20px; padding: 5px; box-shadow: 5px 5px 0 #1c1c1c; }
    .fpp-author-content { display: contents; }
    .fpp-author-box .fpp-author-label { grid-column: 2; align-self: end; margin: 0; }
    .fpp-author-box #fpp-author-name { grid-column: 2; align-self: start; font-size: 27px; margin: 0 0 16px; }
    .fpp-author-box .fpp-author-content > p:not(.fpp-author-label) { font-size: 16px; line-height: 1.65; }
    .fpp-author-box .fpp-author-content > p:not(.fpp-author-label), .fpp-author-box .fpp-social { grid-column: 1 / -1; }
}

/* Back to top: a full touch target, with visible keyboard focus. */
button.goto-top.fpp-back-to-top { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; right: 24px; bottom: 24px; border: 1px solid #a7a196; border-radius: 50%; background: #151515; color: #efe9dc; box-shadow: 0 4px 16px #0002; z-index: 200; cursor: pointer; transition: opacity .2s, visibility .2s, background-color .2s; }
button.goto-top.fpp-back-to-top svg { display: block; width: 22px; height: 22px; fill: none; }
button.goto-top.fpp-back-to-top:hover { background: #efe9dc; color: #151515; border-color: #151515; }
button.goto-top.fpp-back-to-top:focus-visible { outline: 3px solid #8b7d60; outline-offset: 4px; }
@media (max-width: 600px) { button.goto-top.fpp-back-to-top { right: 16px; bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { button.goto-top.fpp-back-to-top { transition: none; } }

/* Author names link to the native profile without changing the heading style. */
.fpp-author-box #fpp-author-name a { color: inherit; text-decoration: none; }
.fpp-author-box #fpp-author-name a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Visible author references and local social brand images. */
.fpp-social img { display:block; width:22px; height:22px; object-fit:contain; }
.fpp-author-box #fpp-author-name a, .fpp-footer-owner h2 a, .entry-meta .byline a, .entry-meta a[rel="author"] { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.fpp-footer a[href*="/autor/elizabet-letielas/"] { text-decoration:underline; text-underline-offset:5px; }

/* Original monochrome social marks, with consistent sizing and no bitmap background. */
.fpp-social a img { display:block; width:20px; height:20px; max-width:none; object-fit:contain; border:0; border-radius:0; padding:0; margin:0; box-shadow:none; }
.fpp-footer .fpp-social a img { filter:invert(1); }
.fpp-footer .fpp-social a:hover img { filter:none; }
