/*
Theme Name: ECHOS Theme 2
Theme URI: https://echosperu.com.pe
Author: Gustavo Noriega
Author URI: https://echosperu.com.pe
Description: Theme base personalizado para ECHOS. Incluye estructura minima para paginas, entradas, archivos y navegacion.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://echosperu.com.pe
Text Domain: echos-theme-2
Tags: custom-logo, custom-menu, featured-images, blog
*/

:root {
  --echos-color-ink: #161616;
  --echos-color-muted: #666666;
  --echos-color-surface: #ffffff;
  --echos-color-soft: #f5f5f2;
  --echos-color-accent: #f15a24;
  --echos-color-border: #dddddd;
  --echos-container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--echos-color-ink);
  background: var(--echos-color-surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: #ffffff;
  background: var(--echos-color-ink);
}

.site-header,
.site-footer {
  background: var(--echos-color-soft);
}

.site-header__inner,
.site-footer__inner,
.site-main {
  width: min(100% - 2rem, var(--echos-container));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.site-description {
  margin: 0.15rem 0 0;
  color: var(--echos-color-muted);
  font-size: 0.9rem;
}

.site-navigation ul,
.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation a,
.footer-navigation a {
  text-decoration: none;
}

.site-navigation a:hover,
.footer-navigation a:hover {
  color: var(--echos-color-accent);
}

.site-main {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.page-header,
.entry {
  margin-bottom: 2.5rem;
}

.entry {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--echos-color-border);
}

.entry-title,
.page-title {
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.entry-title a {
  text-decoration: none;
}

.entry-meta,
.entry-footer {
  color: var(--echos-color-muted);
  font-size: 0.9rem;
}

.entry-content,
.entry-summary {
  margin-top: 1rem;
}

.post-thumbnail {
  display: block;
  margin: 1rem 0;
}

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

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--echos-color-muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
