/*
Theme Name: Wiley's Walk
Theme URI: https://wileyswalk.com/
Author: Kerry Ann Wiley
Description: An accessible, image-conscious reading theme for Wiley's Walk.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wileys-walk
*/
:root{--ink:#211b31;--muted:#4b4654;--paper:#f8f8f5;--white:#fff;--line:#d5d2da;--accent:#493178;--focus:#72b600;--max:72rem;--read:44rem}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:normal 1.0625rem/1.72 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;overflow-wrap:break-word}
a{color:var(--accent);text-decoration-thickness:.09em;text-underline-offset:.16em}
a:hover{text-decoration-thickness:.16em}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.skip-link{position:absolute;top:-6rem;left:1rem;z-index:1000;padding:.7rem 1rem;background:var(--ink);color:var(--white)}
.skip-link:focus{top:1rem}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.header-inner,.site-nav,.site-footer-inner{max-width:var(--max);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.header-inner{display:flex;align-items:center;gap:1rem;padding-block:1.25rem}
.brand{display:flex;align-items:center;gap:1rem;color:var(--ink);text-decoration:none;min-width:0}
.brand img{display:block;width:4.5rem;height:4.5rem;object-fit:contain;flex:none}
.brand-name{display:block;font-size:clamp(1.35rem,3vw,1.8rem);font-weight:750;line-height:1.2}
.brand-tagline{display:block;color:var(--muted);font-size:.9rem;line-height:1.4;margin-top:.2rem}
.site-nav{padding-block:0 1rem}
.site-nav ul,.footer-nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem 1.2rem;margin:0;padding:0}
.site-nav a,.footer-nav a{display:inline-block;padding:.35rem 0;font-weight:600}
.site-main{max-width:var(--max);margin:0 auto;padding:clamp(1.5rem,4vw,3rem) clamp(1rem,4vw,2rem) 4rem;min-height:50vh}
.reading-column{max-width:var(--read);margin-inline:auto}
h1,h2,h3{line-height:1.22;letter-spacing:-.015em}
h1{font-size:clamp(2rem,4.8vw,3rem);margin:0 0 .8rem}
h2{font-size:clamp(1.55rem,3vw,2rem);margin-top:2.3rem}
h3{font-size:clamp(1.2rem,2.5vw,1.5rem)}
p{margin:0 0 1.15rem}
.entry-meta{color:var(--muted);font-size:.95rem;margin-bottom:2rem}
.entry-content{max-width:100%}
.entry-content>*,.entry-content .wp-block-group{max-width:100%}
.entry-content img,.entry-summary img{display:block;max-width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
.entry-content figure{max-width:100%;height:auto;margin:1.7rem auto}
.entry-content .wp-block-image img,.entry-content .wp-caption img{width:auto!important;max-width:min(100%,34rem)!important;height:auto!important;margin-inline:auto}
.entry-content figcaption{text-align:center;color:var(--muted);font-size:.92rem}
.entry-content iframe,.entry-content video{max-width:100%}
.entry-content table{display:block;max-width:100%;overflow-x:auto}
.entry-content blockquote{border-left:4px solid var(--accent);margin:1.5rem 0;padding:.3rem 1.3rem;color:var(--muted)}
.front-content{max-width:var(--max)}
.front-content .entry-content{max-width:none}
.front-content .entry-content>div{max-width:100%!important;padding-inline:0!important}
.front-content .entry-content section{max-width:100%}
.front-content .entry-content article img{max-width:100%!important;height:100%!important;object-fit:contain!important}
.listing-title{margin-bottom:1.5rem}
.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1.25rem}
.post-card{background:var(--white);border:1px solid var(--line);border-radius:.5rem;overflow:hidden;display:flex;flex-direction:column}
.post-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;background:#efedf3;overflow:hidden}
.post-card-image img{display:block;width:100%;height:100%!important;object-fit:contain!important}
.post-card-body{padding:1.1rem 1.25rem 1.35rem;flex:1}
.post-card h2{font-size:1.35rem;margin:0 0 .5rem}
.post-card time{color:var(--muted);font-size:.9rem}
.post-card p{margin:.8rem 0 0}
.pagination{margin:2rem 0}.pagination .nav-links{display:flex;flex-wrap:wrap;gap:.65rem}.page-numbers{padding:.35rem .65rem;border:1px solid var(--line);border-radius:.2rem}
.post-navigation{border-top:1px solid var(--line);padding-top:1.5rem;margin-top:2.5rem;display:flex;justify-content:space-between;gap:1rem}
.site-footer{background:var(--white);border-top:1px solid var(--line)}
.site-footer-inner{padding-block:2rem 2.5rem}
.footer-nav{margin-bottom:1.5rem}
.site-rights{max-width:60rem;color:var(--muted);font-size:.92rem;line-height:1.6}
.site-rights p{margin:0 0 .65rem}
.comments-area{margin-top:3rem;border-top:1px solid var(--line);padding-top:1rem}
input,textarea,button{font:inherit}input,textarea{max-width:100%;padding:.6rem;border:1px solid #686270;border-radius:.2rem}button,input[type=submit]{min-height:2.75rem;padding:.5rem 1rem;background:var(--accent);color:var(--white);border:2px solid var(--accent);border-radius:.25rem;cursor:pointer}
button:hover,input[type=submit]:hover{background:var(--ink)}
@media(max-width:600px){.brand img{width:3.6rem;height:3.6rem}.site-nav ul{gap:.1rem .9rem}.site-nav a{min-height:2.75rem;display:inline-flex;align-items:center}.post-navigation{display:block}.post-navigation>*{display:block;margin-bottom:1rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
