/*
Theme Name: Veronica Henry
Theme URI: https://veronicahenry.net
Author: Veronica G. Henry
Description: A minimal, neutral block theme for a speculative fiction author. Light grey paper, dark ink, Young Serif and Figtree. Lets the book covers supply the color.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: veronica-henry
*/

:root { --vh-ink:#1B1B1B; --vh-paper:#F6F6F4; --vh-mist:#E8E8E5; --vh-line:#D5D5D1; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--vh-ink); outline-offset: 3px; }

.vh-strip { margin: 0; padding: .6rem 1.5rem; font-size: .9rem; background: var(--vh-mist); }
.wp-block-group.vh-header { flex-direction: column; align-items: center; gap: .75rem; padding: 2rem 1.5rem 1.5rem; }
.vh-site-title { font-size: 1.9rem; }
.vh-site-title a { text-decoration: none; }

.vh-hero { padding: clamp(2.5rem, 7vw, 5rem) 1.5rem; border-top: 1px solid var(--vh-line); border-bottom: 1px solid var(--vh-line); }

.vh-cover img { display: block; width: 100%; height: auto; box-shadow: 0 14px 30px -16px rgba(0,0,0,.45); }
.vh-hero .vh-cover { max-width: 20rem; margin-inline: auto; }

.vh-section { padding: clamp(3rem, 7vw, 5rem) 1.5rem; }
.vh-book-title { margin-top: 1rem; margin-bottom: .15rem; font-size: 1.25rem; }
.vh-book-title a { text-decoration: none; }
.vh-book-title a:hover { text-decoration: underline; }
.vh-book-meta { margin-top: 0; font-size: .95rem; color: #6B6B67; }

.is-style-outline .wp-block-button__link { background: transparent; color: var(--vh-ink); border: 2px solid currentColor; }

.vh-newsletter-wrap { background: var(--vh-mist); padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.vh-newsletter { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.vh-newsletter input[type="email"] { flex: 1 1 16rem; padding: .8rem 1rem; border: 2px solid var(--vh-ink); background: #fff; color: var(--vh-ink); font: inherit; border-radius: 3px; }
.vh-newsletter button { padding: .8rem 1.5rem; border: 0; border-radius: 3px; background: var(--vh-ink); color: var(--vh-paper); font: inherit; font-weight: 700; cursor: pointer; }
.vh-newsletter button:hover { background: #3A3A38; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.vh-footer { padding: 2rem 1.5rem; font-size: .95rem; }
