/*
Theme Name: Rhesus
Theme URI: https://rhesuswine.com
Description: Custom theme for Rhesus Thracian Valley Wines. Pale gallery grey, deep navy and gold, Playfair Display and Jost, with a scroll film, editable wines, stockists, Journal, trade forms, tasting booking and newsletter hooks. The main stylesheet is assets/css/site.css; this file only holds the theme header and WordPress-specific additions.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Rhesus
Text Domain: rhesus
License: Proprietary, for rhesuswine.com
*/

/* WordPress-specific additions on top of assets/css/site.css */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: .75rem 1rem; background: var(--ink); color: var(--paper); z-index: 100; left: 16px; top: 16px; }
.alignwide { max-width: 1240px; margin-inline: auto; }
.alignfull { width: 100%; }
.wp-block-image img, .entry-content img { height: auto; }
.entry-content { display: grid; gap: var(--s3); }
.entry-content > * { max-width: 780px; margin-inline: auto; width: 100%; }
.entry-content h2, .entry-content h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; }
.entry-content h2 { font-size: var(--fs-xl); }
.entry-content h3 { font-size: var(--fs-lg); }
.entry-content p, .entry-content li { color: var(--ink-soft); }
.entry-content a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: .2em; }
.entry-content blockquote { font-family: var(--display); font-style: italic; font-size: var(--fs-lg); border-left: 2px solid var(--gold); margin: 0; padding-left: var(--s3); }

/* Form notices from the theme's own handlers */
.notice-box { padding: var(--s3); border: 1px solid var(--ok); background: #e2e8df; color: #1d3b24; display: grid; gap: .4rem; margin-bottom: var(--s3); }
.notice-box.is-error { border-color: var(--error); background: #f3e1df; color: #5c1414; }
.notice-box h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.2rem; }
.night .notice-box { background: transparent; color: var(--night-text); border-color: var(--night-gold); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Plugin output (MailPoet, Simply Schedule Appointments, Contact Form 7) inherits the site look */
.plugin-slot { margin-top: var(--s3); }
.plugin-slot input[type="email"], .plugin-slot input[type="text"] { width: 100%; }
.plugin-slot iframe { width: 100%; border: 0; min-height: 640px; background: var(--field); }
.wpcf7 form { display: grid; gap: var(--s3); }
.wpcf7 input[type="submit"] { min-height: 50px; padding: .8rem 1.8rem; background: var(--ink); color: #fbf6f1; border: 0; font: 500 var(--fs-sm)/1 var(--body); letter-spacing: .06em; cursor: pointer; }

/* Pagination in the Journal */
.pagination { display: flex; gap: var(--s1); flex-wrap: wrap; justify-content: center; margin-top: var(--s5); }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--stone); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.post-list { display: grid; gap: var(--s4); }

/* Page titles of plain pages */
.page-plain { padding-block: var(--s6); }
