/*
Theme Name: TEOE Theme 1
Theme URI: https://teoe.net
Author: The Edge of Eternity Networks
Author URI: https://teoe.net
Description: Lightweight, mobile-first WordPress theme with SEO/AEO meta tags derived from content, categories, and tags. Includes Customizer options for header/body/footer styling and editable copyright text.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teoe-theme-1
Tags: blog, one-column, custom-logo, custom-menu, featured-images, accessibility-ready, responsive-layout, threaded-comments
*/

:root{
  --teoe-max: 1100px;
  --teoe-pad: 16px;
  --teoe-radius: 14px;
  --teoe-shadow: 0 10px 30px rgba(0,0,0,.08);
  --teoe-primary: #1a73e8;
  --teoe-bg: #ffffff;
  --teoe-header-bg: #0b1220;
  --teoe-footer-bg: #0b1220;
  --teoe-text: #111827;
  --teoe-muted: #6b7280;
  --teoe-card: #ffffff;
  --teoe-border: rgba(17,24,39,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  color: var(--teoe-text);
  background: var(--teoe-bg);
}

a{color: var(--teoe-primary); text-decoration: none}
a:hover{text-decoration: underline}

.teoe-container{
  max-width: var(--teoe-max);
  margin: 0 auto;
  padding: 0 var(--teoe-pad);
}

.teoe-skip-link{
  position:absolute; left:-9999px; top:0;
  background:#fff; color:#000; padding:10px; z-index:99999;
}
.teoe-skip-link:focus{left:10px; top:10px}

header.teoe-header{
  background: var(--teoe-header-bg);
  color: #fff;
}
.teoe-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}
.teoe-brand{
  display:flex; align-items:center; gap:12px; min-width: 0;
}
.teoe-brand .site-title{
  margin:0; font-size: 1.15rem; line-height:1.2;
}
.teoe-brand .site-title a{color:#fff}
.teoe-brand .site-description{
  margin: 2px 0 0 0;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}

.teoe-nav-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  color:#fff;
  cursor:pointer;
}
.teoe-nav-toggle:hover{background: rgba(255,255,255,.1)}

nav.teoe-nav{
  display:flex; align-items:center; gap: 14px;
}
nav.teoe-nav ul{
  list-style:none;
  margin:0; padding:0;
  display:flex; align-items:center; gap: 12px;
  flex-wrap:wrap;
}
nav.teoe-nav a{
  color:#fff;
  padding: 8px 10px;
  border-radius: 12px;
}
nav.teoe-nav a:hover{background: rgba(255,255,255,.08); text-decoration:none}

@media (max-width: 820px){
  .teoe-header-inner{flex-wrap:wrap}
  nav.teoe-nav{width:100%; display:none}
  nav.teoe-nav.is-open{display:block}
  nav.teoe-nav ul{flex-direction:column; align-items:flex-start}
}

main.teoe-main{
  padding: 18px 0 30px 0;
}

.teoe-layout{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.teoe-card{
  background: var(--teoe-card);
  border: 1px solid var(--teoe-border);
  border-radius: var(--teoe-radius);
  box-shadow: var(--teoe-shadow);
  padding: 18px;
}

.teoe-entry-title{
  margin: 0 0 8px 0;
  font-size: 1.55rem;
  line-height: 1.25;
}
.teoe-meta{
  color: var(--teoe-muted);
  font-size: .92rem;
  margin-bottom: 14px;
}
.teoe-excerpt{color: var(--teoe-text)}
.teoe-readmore{display:inline-block; margin-top: 10px}

.teoe-pagination{
  display:flex; gap:10px; flex-wrap:wrap; margin-top: 18px;
}
.teoe-pagination a, .teoe-pagination span{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--teoe-border);
  background:#fff;
}
.teoe-pagination .current{background: rgba(26,115,232,.08); border-color: rgba(26,115,232,.25)}

footer.teoe-footer{
  background: var(--teoe-footer-bg);
  color:#fff;
  padding: 22px 0;
}
.teoe-footer a{color:#fff}
.teoe-footer small{color: rgba(255,255,255,.8)}

img{max-width:100%; height:auto}
.wp-block-image img{border-radius: 14px}

input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--teoe-border);
  font: inherit;
}
button, input[type="submit"]{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.1);
  background: var(--teoe-primary);
  color:#fff;
  cursor:pointer;
}
button:hover, input[type="submit"]:hover{filter: brightness(0.95)}
