/*
Theme Name: Nocturnal Blocks
Theme URI: https://nocturnalmusic.net/
Author: Jason Boucher
Description: A clean, minimal block theme for Nocturnal Music. Every page, header, and footer is editable in the Site Editor.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nocturnal-blocks
*/

/* Small extras that theme.json can't express. Everything else lives in theme.json. */

/* Wordmark: bold "Nocturnal" + italic "Music", set in Georgia like the original logo */
.nm-wordmark a { text-decoration: none; color: inherit; }
.nm-wordmark em { font-weight: 400; }

/* Meta paragraph style (prices, formats, small details) */
.is-style-meta {
	font-family: var(--wp--preset--font-family--geist-mono);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--mute);
	letter-spacing: 0.01em;
}
.has-ink-background-color .is-style-meta { color: #B9B6AC; }

/* Navigation: quiet underline on hover and current page */
.wp-block-navigation .wp-block-navigation-item__content { text-decoration: none; }
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--moon);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Hero headline: the one loud thing on the page */
.nm-hero-title { text-wrap: balance; }

/* Ruled list (Music Hub links, facts strip) */
.nm-ruled > * {
	border-top: 1px solid var(--wp--preset--color--rule);
	padding-top: var(--wp--preset--spacing--40);
}

/* Embeds sit flush */
.nm-embed iframe { display: block; width: 100%; border: 0; border-radius: 4px; }

/* Keyboard focus that you can actually see */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.wp-element-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: 3px;
}

/* FAQ */
.wp-block-details { border-top: 1px solid var(--wp--preset--color--rule); padding-block: var(--wp--preset--spacing--40); }
.wp-block-details summary { font-weight: 600; cursor: pointer; }
.wp-block-details > :not(summary) { margin-top: var(--wp--preset--spacing--30); color: var(--wp--preset--color--mute); }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* Plain link lists in the footer */
.nm-plain-list { list-style: none; margin-left: 0; margin-bottom: 0; }
.nm-plain-list li { margin-bottom: 0.4rem; }
.nm-plain-list a, .nm-link-quiet a { text-decoration: none; }
.nm-plain-list a:hover, .nm-link-quiet a:hover { text-decoration: underline; }

/* Header: hide the Discogs button on small phones, the menu covers it */
@media (max-width: 600px) {
	.wp-block-buttons.nm-header-cta { display: none; }
}

/* Keep the wordmark on one line */
.nm-wordmark { white-space: nowrap; }

/* Links inside dark sections */
.has-ink-background-color a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--base); }
.has-ink-background-color a:where(:not(.wp-element-button)):hover { color: var(--wp--preset--color--moon); }
