/*
Theme Name: Roxy's Long-Read
Theme URI: http://localhost:8888/
Author: PBJ
Description: A dark, speakeasy-styled one-page block theme for a long-form Roxy's Pub feature story. Deep Irish green, aged gold, and cream on near-black, with vintage public-domain imagery. Not affiliated with Roxy's Pub.
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roxys
*/

/* The bulk of styling lives in theme.json. A few touches that are awkward to express there: */

/* Drop cap on the opening section */
.roxys-dropcap > p:first-of-type:first-letter {
	float: left;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 5.2rem;
	line-height: 0.74;
	padding: 0.05em 0.12em 0 0;
	color: var(--wp--preset--color--gold);
}

/* Aged-paper grain + subtle vignette on the body */
body.wp-site-blocks,
.wp-site-blocks {
	background-image:
		radial-gradient(ellipse at top, rgba(201, 162, 75, 0.06), transparent 60%);
}

/* Eyebrow / kicker label */
.roxys-eyebrow p {
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
}

/* Hairline rule under section headings */
.roxys-section-head {
	border-bottom: 1px solid rgba(201, 162, 75, 0.35);
	padding-bottom: 0.4em;
}

/* References list: smaller, monospace-ish numerals, breakable URLs */
.roxys-refs ol {
	font-size: 0.82rem;
	line-height: 1.6;
}
.roxys-refs li {
	margin-bottom: 0.5em;
	word-break: break-word;
}
.roxys-refs a {
	color: var(--wp--preset--color--gold);
}

/* Pull quote flourish */
.wp-block-pullquote {
	border-top: 2px solid var(--wp--preset--color--gold);
	border-bottom: 2px solid var(--wp--preset--color--gold);
}

/* Image captions */
figcaption {
	font-style: italic;
	opacity: 0.7;
}

/* Make the wordmark feel like a pub sign */
.roxys-wordmark {
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

/* Hero text block: dark scrim panel + shadow so type stays legible over the photo */
.roxys-hero {
	background: rgba(8, 18, 12, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	border: 1px solid rgba(201, 162, 75, 0.4);
	border-radius: 2px;
	padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.roxys-hero h1,
.roxys-hero p {
	color: #ffffff;
	/* Solid black outline on all sides + soft drop shadow for legibility over any photo */
	text-shadow:
		-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
		0 0 6px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.9);
	-webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.85);
	paint-order: stroke fill;
}
.roxys-hero .roxys-eyebrow {
	color: var(--wp--preset--color--gold);
	margin-bottom: 0.6em;
}
