/*
Theme Name: SoleCollector Child
Theme URI: https://solecollector.org
Description: Child theme of GeneratePress for SoleCollector.org. Houses the SC.org design system and customizations.
Author: Nick Engvall
Template: generatepress
Version: 1.2.0
Text Domain: solecollector-child
*/

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   SoleCollector.org design system
   Grotesque headers (uppercase), serif body. Black + infrared + volt.
   ============================================================ */

:root {
	--sc-bg: #0B0B0B;
	--sc-surface: #131313;
	--sc-surface-2: #1a1a1a;
	--sc-text: #ECECEC;
	--sc-body: #cfcfcf;
	--sc-muted: #8C8C8C;
	--sc-faint: #5a5a5a;
	--sc-infrared: #FF2247;
	--sc-infrared-hover: #ff5a78;
	--sc-volt: #CCFF00;
	--sc-hair: #262626;
	--sc-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--sc-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
}

/* Base */
body,
.site,
#page,
.site-content,
.content-area,
#content,
.inside-article,
.separate-containers .site-main,
.one-container .site-content {
	background-color: var(--sc-bg) !important;
}
body {
	color: var(--sc-body);
	font-family: var(--sc-serif);
	font-size: 18px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
p { color: var(--sc-body); }

/* Headings: grotesque, uppercase, bold */
h1, h2, h3, h4, h5, h6,
.entry-title {
	font-family: var(--sc-sans);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #ffffff;
	line-height: 1.12;
}
h1, .entry-title { font-weight: 800; letter-spacing: .01em; }
.entry-title a { color: #fff; }

a { color: var(--sc-infrared); text-decoration: none; }
a:hover, a:focus { color: var(--sc-infrared-hover); }
::selection { background: var(--sc-infrared); color: #000; }

/* Header + navigation (grotesque) */
.site-header, .inside-header, .main-navigation, .main-navigation ul ul {
	background-color: #000 !important;
	border: 0;
}
.site-header { border-bottom: 1px solid var(--sc-hair); }
.main-title a, .site-title a {
	font-family: var(--sc-sans); font-weight: 600;
	letter-spacing: .28em; text-transform: uppercase; font-size: 17px; color: #fff !important;
}
.main-navigation .main-nav ul li a {
	font-family: var(--sc-sans); font-weight: 500;
	text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; color: #cfcfcf;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a { color: var(--sc-infrared); }

/* Footer */
.site-footer, .site-info, .footer-widgets {
	background-color: #000 !important; color: var(--sc-faint);
	font-family: var(--sc-sans); text-transform: uppercase; letter-spacing: .1em; font-size: 12px;
	border-top: 1px solid var(--sc-hair);
}
.site-info a { color: var(--sc-muted); }

/* Buttons */
.button, button, input[type="submit"], .wp-block-button__link, .sc-memory-form button {
	font-family: var(--sc-sans); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	font-size: 13px; background-color: var(--sc-infrared); color: #000; border: 0; border-radius: 0;
	padding: 13px 22px;
}
.button:hover, button:hover, input[type="submit"]:hover, .sc-memory-form button:hover {
	background-color: var(--sc-infrared-hover); color: #000;
}

/* Form fields */
input[type="text"], input[type="number"], input[type="email"], input[type="search"], textarea, select {
	background-color: var(--sc-surface); color: #fff; border: 1px solid var(--sc-hair);
	border-radius: 0; font-family: var(--sc-sans); font-size: 15px;
}
input::placeholder, textarea::placeholder { color: #777; }

/* ============================================================
   Magazine single post / page
   ============================================================ */

/* Large hero featured image */
.single .featured-image,
.page .featured-image,
.single-collaboration .featured-image {
	margin: 0 0 38px;
}
.single .featured-image img,
.page .featured-image img,
.single-collaboration .featured-image img {
	width: 100%; height: auto; display: block; max-height: 70vh; object-fit: cover;
}

/* Title block */
.single .entry-header .entry-title,
.single-collaboration .entry-header .entry-title {
	font-size: clamp(34px, 5vw, 58px); line-height: 1.05; margin: 0 0 18px; max-width: 18ch;
}

/* Readable measure for the story */
.single .entry-content,
.page-content,
.single-collaboration .entry-content {
	max-width: 760px; margin-left: auto; margin-right: auto;
	font-family: var(--sc-serif); font-size: 19px; line-height: 1.78; color: var(--sc-body);
}
.single .entry-content p { margin-bottom: 1.5rem; }

/* Drop cap on the opening paragraph */
.single .entry-content > p:first-of-type::first-letter {
	font-family: var(--sc-sans); font-weight: 800; float: left;
	font-size: 3.6em; line-height: .78; padding: 6px 12px 0 0; color: var(--sc-infrared);
}

/* Images wrap with text */
.entry-content .wp-block-image.alignleft, .entry-content .alignleft {
	float: left; margin: .4em 2.2em 1.4em 0; max-width: 46%;
}
.entry-content .wp-block-image.alignright, .entry-content .alignright {
	float: right; margin: .4em 0 1.4em 2.2em; max-width: 46%;
}
.entry-content .wp-block-image.alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content figure img { width: 100%; height: auto; display: block; }
.entry-content figcaption {
	font-family: var(--sc-sans); text-transform: uppercase; letter-spacing: .08em;
	font-size: 11px; color: var(--sc-faint); margin-top: 9px;
}

/* Pull quotes / blockquotes */
.entry-content blockquote {
	font-family: var(--sc-serif); font-style: italic; font-size: 25px; line-height: 1.4;
	color: #fff; border: 0; border-left: 2px solid var(--sc-infrared);
	margin: 2.2rem 0; padding: 2px 0 2px 26px;
}

/* Taxonomy / archive index pages */
.archive .page-header, .archive .entry-title { color: #fff; }
.archive .entry-title { font-size: 22px; }

/* ============================================================
   Subscribe section (engine [sc_subscribe] wrapper)
   ============================================================ */
.sc-subscribe {
	background: #000; border-top: 1px solid var(--sc-hair); border-bottom: 1px solid var(--sc-hair);
	padding: 56px 0; margin: 60px 0 0; text-align: center;
}
.sc-subscribe .sc-sub-kicker {
	font-family: var(--sc-sans); font-weight: 600; text-transform: uppercase;
	letter-spacing: .32em; font-size: 11px; color: var(--sc-volt); margin-bottom: 18px;
}
.sc-subscribe h2 {
	font-family: var(--sc-sans); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
	font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin: 0 auto 16px; max-width: 18ch;
}
.sc-subscribe p {
	font-family: var(--sc-serif); font-size: 18px; color: var(--sc-muted); max-width: 48ch; margin: 0 auto 26px;
}
.sc-subscribe .sc-embed { max-width: 460px; margin: 0 auto; }
