/*
Theme Name: Sheets Simple
Theme URI: https://sheetssimple.com/
Author: Sheets Simple
Author URI: https://sheetssimple.com/
Description: Plantilla original de Sheets Simple para publicar plantillas y tutoriales simples de Google Sheets y Excel. Diseno sencillo y directo: texto claro, titulares con serif, sin adornos ni iconos.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sheets-simple
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready

Copyright: (c) 2026 Sheets Simple - Sheetssimple.com. Todos los derechos reservados.
Esta plantilla es obra original de Sheets Simple. Queda prohibida su copia,
redistribucion o venta sin autorizacion escrita de Sheets Simple.
*/

/* ============ Base ============ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: #faf9f7;
    color: #26241f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
a { color: #1a7f37; text-decoration: none; }
a:hover { color: #145c28; text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.3; margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============ Cabecera ============ */
.site-header { background: #fff; border-bottom: 1px solid #e8e2d9; }
.site-branding { padding: 26px 0 20px; }
.site-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px; font-weight: 700; letter-spacing: 0; margin: 0;
}
.site-title a { color: #1a1a1a; }
.site-title a:hover { color: #1a7f37; text-decoration: none; }
.site-description { margin: 4px 0 0; color: #6b6560; font-size: 15px; }
.custom-logo { max-height: 72px; width: auto; }

/* Barra de navegacion sencilla */
.main-nav { background: #fff; border-bottom: 1px solid #e8e2d9; }
.main-nav .container { display: flex; align-items: stretch; flex-wrap: wrap; }
.main-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap;
}
.main-nav li { display: flex; }
.main-nav a {
    display: flex; align-items: center;
    padding: 13px 16px; color: #26241f;
    font-size: 15px; font-weight: 600;
}
.main-nav a:hover { color: #1a7f37; text-decoration: none; }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #1a7f37; box-shadow: inset 0 -2px 0 #1a7f37; }
.nav-right { margin-left: auto; display: flex; align-items: center; padding: 6px 0; }
.nav-search-toggle {
    background: none; border: 1px solid #d8d2c8; border-radius: 6px;
    color: #26241f; font-size: 14px; font-weight: 600;
    cursor: pointer; padding: 7px 12px;
    display: inline-flex; align-items: center; gap: 6px;
}
.nav-search-toggle:hover { border-color: #1a7f37; color: #1a7f37; }
.nav-search-toggle svg { width: 15px; height: 15px; }
.nav-search { display: none; background: #f3efe9; padding: 12px 0; border-bottom: 1px solid #e8e2d9; }
.nav-search.open { display: block; }
.nav-search .search-field {
    width: min(420px, 70%); padding: 10px 12px;
    border: 1px solid #d8d2c8; border-radius: 6px; background: #fff; font-size: 15px;
}
.nav-search .search-submit {
    padding: 10px 18px; border: 0; border-radius: 6px; background: #1a7f37; color: #fff;
    font-size: 15px; font-weight: 600; cursor: pointer;
}

/* Presentacion sencilla, sin banner */
.intro { padding: 34px 0 8px; }
.intro h1 {
    font-size: 30px; margin: 0 0 8px; max-width: 760px;
}
.intro .search-form { display: flex; gap: 10px; max-width: 560px; margin: 18px 0 6px; }
.intro .search-field {
    flex: 1; padding: 11px 14px; border: 1px solid #d8d2c8; border-radius: 6px;
    font-size: 16px; min-width: 0; background: #fff;
}
.intro .search-submit {
    padding: 11px 20px; border: 0; border-radius: 6px;
    background: #1a7f37; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.intro .search-submit:hover { background: #145c28; }
.intro-cats { margin-top: 14px; font-size: 14px; color: #6b6560; }
.intro-cats a { color: #1a7f37; font-weight: 600; }
.intro-cats a:hover { color: #145c28; }

/* ============ Portada ============ */
.site-content { padding: 26px 0 44px; }
.content-area { display: flex; gap: 34px; align-items: flex-start; }
.main-column { flex: 1 1 auto; min-width: 0; }
.sidebar-column { flex: 0 0 300px; }

/* Entrada destacada */
.featured-card {
    background: #fff; border: 1px solid #e8e2d9; border-radius: 6px;
    overflow: hidden; display: flex; margin-bottom: 26px;
}
.featured-card.has-thumb .card-media { flex: 0 0 42%; display: block; }
.featured-card img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.featured-card .card-body { flex: 1; padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.cat-label {
    color: #1a7f37; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.cat-label:hover { color: #145c28; }
.featured-card .entry-title { font-size: 28px; margin: 0 0 8px; }
.featured-card .entry-title a { color: #1a1a1a; }
.featured-card .entry-title a:hover { color: #1a7f37; text-decoration: none; }
.entry-meta { color: #8a8378; font-size: 13px; }
.entry-meta a { color: #6b6560; }
.featured-card .entry-excerpt { color: #44403a; margin: 8px 0 0; font-size: 15px; }

/* Lista de entradas */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
    background: #fff; border: 1px solid #e8e2d9; border-radius: 6px;
    display: flex; flex-direction: column; overflow: hidden;
}
.post-card .card-media { display: block; }
.post-card img { display: block; width: 100%; height: 170px; object-fit: cover; }
.post-card .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card .entry-title { font-size: 20px; margin: 0 0 8px; }
.post-card .entry-title a { color: #1a1a1a; }
.post-card .entry-title a:hover { color: #1a7f37; text-decoration: none; }
.post-card .entry-meta { color: #8a8378; margin-bottom: 8px; }
.post-card .entry-meta a { color: #6b6560; }
.post-card .entry-excerpt { color: #44403a; font-size: 15px; flex: 1; }
.read-more { font-weight: 700; font-size: 14px; }

/* Paginacion */
.pagination { margin-top: 30px; text-align: center; }
.pagination .page-numbers {
    display: inline-block; padding: 8px 14px; margin: 0 3px;
    background: #fff; border: 1px solid #d8d2c8; border-radius: 6px; color: #26241f; font-weight: 600;
}
.pagination .page-numbers.current { background: #1a7f37; border-color: #1a7f37; color: #fff; }
.pagination a.page-numbers:hover { border-color: #1a7f37; color: #1a7f37; text-decoration: none; }

/* ============ Entrada individual y paginas ============ */
.single-post, .page-content { background: #fff; border: 1px solid #e8e2d9; border-radius: 6px; padding: 30px; }
.single-post .entry-title, .page-content .entry-title { font-size: 32px; }
.single-post .entry-meta { color: #8a8378; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #eee; }
.single-post .entry-meta a { color: #6b6560; }
.single-post .post-thumbnail { margin-bottom: 20px; }
.single-post .post-thumbnail img { width: 100%; border-radius: 4px; }
.entry-content { font-size: 17px; }
.entry-content h2 { font-size: 25px; margin-top: 1.4em; }
.entry-content h3 { font-size: 21px; margin-top: 1.3em; }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.4em; padding: 0; }
.entry-content blockquote {
    margin: 1em 0; padding: 12px 20px;
    border-left: 3px solid #1a7f37; background: #f6f4f0; color: #44403a;
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.entry-content th, .entry-content td { border: 1px solid #d8d2c8; padding: 8px 10px; text-align: left; }
.entry-content th { background: #f3efe9; }
.entry-tags { margin-top: 24px; font-size: 14px; color: #8a8378; }
.post-navigation { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; }
.post-navigation a { font-weight: 600; }

/* Comentarios */
.comments-area { background: #fff; border: 1px solid #e8e2d9; border-radius: 6px; padding: 24px 30px; margin-top: 26px; }
.comment-list { list-style: none; margin: 0 0 20px; padding: 0; }
.comment-list .comment { border-bottom: 1px solid #eee; padding: 14px 0; }
.comment-author { font-weight: 700; }
.comment-meta { font-size: 13px; color: #8a8378; }
.comment-form label { display: block; font-weight: 600; margin: 10px 0 4px; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
    width: 100%; padding: 9px 11px; border: 1px solid #d8d2c8; border-radius: 6px; font-size: 15px;
}
.comment-form .submit, .search-submit, .widget_search .search-submit {
    background: #1a7f37; color: #fff; border: 0; border-radius: 6px; padding: 10px 22px;
    font-size: 15px; font-weight: 600; cursor: pointer;
}

/* ============ Barra lateral ============ */
.widget {
    background: #fff; border: 1px solid #e8e2d9; border-radius: 6px;
    padding: 20px; margin-bottom: 26px;
}
.widget-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px; margin: -20px -20px 16px; padding: 12px 20px;
    border-bottom: 1px solid #e8e2d9;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid #f0ece6; }
.widget li:last-child { border-bottom: 0; }
.widget_search .search-field {
    width: 100%; padding: 9px 11px; border: 1px solid #d8d2c8; border-radius: 6px;
    font-size: 15px; margin-bottom: 8px;
}
.widget_search .search-submit { width: 100%; }

/* ============ Pie ============ */
.site-footer { background: #26241f; color: #b8b2a8; margin-top: 10px; }
.footer-main { text-align: center; padding: 38px 15px 26px; }
.footer-site-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 6px;
}
.footer-site-title a { color: #fff; }
.footer-site-title a:hover { color: #c8e6c9; text-decoration: none; }
.footer-tagline { color: #9a938a; margin: 0 0 18px; }
.footer-menu ul {
    list-style: none; margin: 0 0 10px; padding: 0;
    display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px;
}
.footer-menu a { color: #e8e2d9; font-size: 14px; }
.footer-menu a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #3d3a33; padding: 16px 15px;
    text-align: center; font-size: 13px; color: #9a938a;
}
.back-to-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 50;
    width: 44px; height: 44px; border: 1px solid #d8d2c8; border-radius: 6px;
    background: #fff; color: #26241f; font-size: 20px; cursor: pointer;
    display: none;
}
.back-to-top.show { display: block; }

/* Archivos y busqueda */
.archive-header { margin-bottom: 22px; }
.archive-header h1 { font-size: 28px; }
.no-results { background: #fff; border: 1px solid #e8e2d9; border-radius: 6px; padding: 28px; }

/* ============ Caja de descarga de plantillas ============ */
.ss-descarga {
    background: #f6f4f0; border: 1px solid #e8e2d9; border-left: 3px solid #1a7f37;
    border-radius: 6px; padding: 20px 22px; margin: 1.4em 0;
}
.ss-descarga h2 { margin-top: 0; font-size: 22px; }
.ss-descarga p:last-child { margin-bottom: 0; }
.ss-boton {
    display: inline-block; padding: 11px 20px; margin: 4px 8px 4px 0;
    background: #1a7f37; color: #fff; border-radius: 6px;
    font-weight: 700; font-size: 15px; text-decoration: none;
}
.ss-boton:hover { background: #145c28; color: #fff; text-decoration: none; }
.ss-boton-secundario { background: #fff; color: #1a7f37; border: 1px solid #1a7f37; }
.ss-boton-secundario:hover { background: #e8f5e9; color: #145c28; }

/* ============ Movil ============ */
@media (max-width: 900px) {
    .content-area { flex-direction: column; }
    .sidebar-column { flex: 1 1 auto; width: 100%; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-card { flex-direction: column; }
    .featured-card.has-thumb .card-media { flex-basis: auto; }
    .featured-card img { min-height: 200px; }
    .featured-card .entry-title { font-size: 23px; }
    .intro h1 { font-size: 25px; }
}
@media (max-width: 600px) {
    .posts-grid { grid-template-columns: 1fr; }
    .site-title { font-size: 28px; }
    .main-nav a { padding: 11px 12px; font-size: 13px; }
    .single-post, .page-content { padding: 20px; }
    .single-post .entry-title { font-size: 25px; }
    .intro { padding: 26px 0 4px; }
    .intro h1 { font-size: 23px; }
}
