/*
Theme Name: Geraldo
Theme URI: https://example.com/geraldo
Author: TRAE
Author URI: https://example.com
Description: Tema editorial convertido de HTML estatico para WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: geraldo
*/

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/inter/Inter-roman.var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/inter/Inter-italic.var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --geraldo-font-sans: "Inter", Arial, Helvetica, sans-serif;
}

html {
    font-family: var(--geraldo-font-sans);
}

body {
    background-color: #f6faff;
    color: #141d23;
    overflow-x: hidden;
    font-family: inherit;
    line-height: 1.6;
}

body,
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
}

body *:not(code):not(pre):not(kbd):not(samp) {
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    font-weight: 700;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.screen-reader-text:focus {
    clip: auto;
    width: auto;
    height: auto;
    margin: 0.5rem;
    padding: 0.75rem 1rem;
    background: #141d23;
    color: #ffffff;
    z-index: 9999;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #395f94;
    z-index: 100;
    transition: width 0.1s ease-out;
}

.hero-gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.82) 100%);
}

.menu-nav,
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-nav li,
.footer-menu li {
    margin: 0;
}

.menu-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.menu-nav .current-menu-item > a,
.menu-nav .current_page_item > a,
.menu-nav a:hover {
    color: #fff;
}

.footer-menu a {
    color: #44474a;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: #395f94;
}

.widget-area > * + * {
    margin-top: 2rem;
}

.widget-area ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-area a {
    color: #141d23;
}

.widget-area .wp-block-heading,
.widget-area .widget-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.comment-respond {
    margin-top: 0;
}

.geraldo-comment-form .logged-in-as,
.geraldo-comment-form .form-submit {
    margin: 0;
}

.geraldo-comment-form .comment-notes,
.geraldo-comment-form .logged-in-as {
    color: #44474a;
}

.geraldo-comment-form .logged-in-as a {
    color: #395f94;
}

.geraldo-comment-form .comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.geraldo-comment-field {
    margin: 0;
}

.geraldo-comment-field-full,
.geraldo-comment-form .comment-form-comment,
.geraldo-comment-form .form-submit,
.geraldo-comment-form .comment-notes,
.geraldo-comment-form .logged-in-as {
    grid-column: 1 / -1;
}

.geraldo-comment-form .submit {
    border: 0;
}

.geraldo-comment-card {
    margin-bottom: 1rem;
}

.geraldo-comment-card .children {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.geraldo-comments-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.geraldo-comments-navigation a {
    color: #395f94;
}

.geraldo-share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
    flex: 1 1 190px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(197, 198, 202, 0.8);
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    color: #141d23;
    box-shadow: 0 8px 20px rgba(20, 29, 35, 0.05);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.geraldo-share-button:hover {
    color: #395f94;
    border-color: rgba(57, 95, 148, 0.45);
    background-color: #ffffff;
    box-shadow: 0 14px 28px rgba(20, 29, 35, 0.09);
    transform: translateY(-2px);
}

.geraldo-share-button:focus-visible {
    outline: 2px solid #395f94;
    outline-offset: 2px;
}

.geraldo-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(20, 29, 35, 0.06);
    flex-shrink: 0;
}

.geraldo-share-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.geraldo-share-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    min-width: 0;
}

.geraldo-share-text strong,
.geraldo-share-text small {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.geraldo-share-text strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.geraldo-share-text small {
    font-size: 0.78rem;
    color: #44474a;
    margin-top: 0.2rem;
}

.geraldo-entry-content {
    min-width: 0;
}

.geraldo-entry-content > * {
    max-width: 100%;
}

.geraldo-entry-content::after {
    content: "";
    display: block;
    clear: both;
}

.geraldo-entry-content a,
.geraldo-entry-content p,
.geraldo-entry-content li,
.geraldo-entry-content h1,
.geraldo-entry-content h2,
.geraldo-entry-content h3,
.geraldo-entry-content h4,
.geraldo-entry-content h5,
.geraldo-entry-content h6,
.geraldo-entry-content blockquote,
.geraldo-entry-content figcaption {
    overflow-wrap: anywhere;
}

.geraldo-entry-content img,
.geraldo-entry-content iframe,
.geraldo-entry-content video,
.geraldo-entry-content embed,
.geraldo-entry-content object,
.geraldo-entry-content table {
    max-width: 100%;
}

.geraldo-entry-content iframe,
.geraldo-entry-content video,
.geraldo-entry-content embed,
.geraldo-entry-content object {
    width: 100%;
}

.geraldo-entry-content table {
    display: block;
    overflow-x: auto;
}

.geraldo-entry-content pre {
    max-width: 100%;
    overflow-x: auto;
}

.geraldo-entry-content .alignleft,
.geraldo-entry-content .alignright {
    max-width: min(50%, 320px);
}

.geraldo-share-button.is-facebook .geraldo-share-icon {
    background: rgba(24, 119, 242, 0.12);
    color: #1877f2;
}

.geraldo-share-button.is-x .geraldo-share-icon {
    background: rgba(20, 29, 35, 0.08);
    color: #141d23;
}

.geraldo-share-button.is-whatsapp .geraldo-share-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.geraldo-share-button.is-telegram .geraldo-share-icon {
    background: rgba(36, 162, 224, 0.12);
    color: #24a2e0;
}

.geraldo-share-button.is-copy .geraldo-share-icon {
    background: rgba(57, 95, 148, 0.12);
    color: #395f94;
}

.geraldo-share-copy {
    cursor: pointer;
}

.geraldo-share-copy.is-copied {
    color: #ffffff;
    border-color: #395f94;
    background-color: #395f94;
}

.geraldo-share-copy.is-copied .geraldo-share-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.geraldo-share-copy.is-copied .geraldo-share-text small {
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 767px) {
    .geraldo-comment-form .comment-form {
        grid-template-columns: 1fr;
    }

    .geraldo-comment-card .children {
        margin-left: 0.75rem;
    }

    .geraldo-share-button {
        width: 100%;
        min-width: 0;
    }
}
