/*
Theme Name: Tetl Ollin
Theme URI: https://tetl-ollin.com
Author: Juan Pablo Buendía Arrieta
Author URI: https://tetl-ollin.com
Description: Tema personalizado para Tetl Ollin — Arte cantero de Chimalhuacán. Escultura artesanal en piedra volcánica y proyectos arquitectónicos.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tetl-ollin
Tags: dark, editorial, portfolio, art, custom-menu, featured-images, widgetized
*/

/* ── Tokens globales ── */
:root {
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --accent: #c8a882;
  --line: rgba(200,168,130,0.1);
  --line-bold: rgba(200,168,130,0.22);
}

/* ── Base ── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: #1a1714;
  color: #e8ddd0;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
#site-header { transition: background 0.3s ease, backdrop-filter 0.3s ease; }
#site-header.is-scrolled { background: rgba(26,23,20,0.95) !important; backdrop-filter: blur(14px); }

/* ── Mobile menu ── */
#mobile-menu { transition: transform 0.35s var(--ease-out); }
#mobile-menu.is-closed { transform: translateX(100%); pointer-events: none; }
#mobile-menu.is-open  { transform: translateX(0); pointer-events: all; }

/* ── WordPress necesidades ── */
.wp-block-image img,
.alignnone, .aligncenter, .alignright, .alignleft { max-width: 100%; }
.aligncenter { margin: 0 auto; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }

.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-width: 0;
}

/* ── Accent line decorativo ── */
.accent-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.75rem;
}

/* ── Reveal animation ── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Post thumbnail fix ── */
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Footer widget areas ── */
.widget-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8c7a68;
  margin-bottom: 1rem;
}
.widget ul { list-style: none; }
.widget ul li { padding: 0.3rem 0; border-bottom: 1px solid var(--line); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #c8b89e; transition: color 0.2s; font-size: 0.875rem; }
.widget ul li a:hover { color: #e8ddd0; }
