/*
Theme Name: YFaCS ASU Brand
Theme URI: https://asuyfacslab.org
Description: With.-branded child theme for the YFaCS Lab website. Applies the brand palette (ASU maroon #8C1D40, teal #1F8A7B, cream #FAF6ED) and Avenir sans headings site-wide via theme.json — header, navigation, footer, and content. Pages default to a full-width, mobile-responsive layout with NO page title; an optional "Page (with title)" template is available per-page. Includes a branded header with a pre-built navigation menu, a branded footer, blog templates for the Research Blog, and a set of YFaCS block patterns in the inserter. Child of Twenty Twenty-Five. To base it on a different block theme, change the "Template:" line below to that theme's folder name.
Author: YFaCS Lab
Version: 1.13.2
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Template: twentytwentyfive
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yfacs-asu-brand
*/

/* Brand styling lives in theme.json (Global Styles) so it stays editable in the
   Site Editor. Only rules theme.json genuinely cannot express belong here. */

/* The footer sits on maroon-dark, where the global maroon link colour is close
   to unreadable. Block-level element styles would normally handle this, but
   pinning it here means legibility doesn't depend on WordPress generating those
   scoped classes. */
footer.wp-block-group a {
	color: var(--wp--preset--color--white);
	text-decoration-color: rgba(255, 255, 255, 0.5);
}

footer.wp-block-group a:hover {
	color: var(--wp--preset--color--teal-soft);
	text-decoration-color: currentColor;
}

/* Teal list markers — a brand accent theme.json has no ::marker support for. */
.wp-block-post-content .wp-block-list li::marker,
.wp-block-group .wp-block-list li::marker {
	color: var(--wp--preset--color--teal);
}

/* Press lists carry a source name then a headline; drop the bullet so the
   source reads as the label it is, and give each row breathing room. */
.yfacs-press-list {
	list-style: none;
	padding-left: 0;
}

.yfacs-press-list li {
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(140, 29, 64, 0.14);
}

.yfacs-press-list li:last-child {
	border-bottom: 0;
}

.yfacs-press-list li strong {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: #5a5550;
}

/* Publication citations: hanging indent so wrapped lines sit under the text,
   not under the author name, and comfortable row spacing for a long list. */
.yfacs-cite-list {
	list-style: none;
	padding-left: 0;
}

.yfacs-cite-list li {
	padding: 0.4rem 0 0.4rem 1.4rem;
	text-indent: -1.4rem;
	border-bottom: 1px solid rgba(140, 29, 64, 0.1);
	font-size: 0.95rem;
}

.yfacs-cite-list li:last-child {
	border-bottom: 0;
}

/* Initials avatar for team members with no headshot yet — sized and
   positioned by functions.php (yfacs_avatar_fallback) to match wherever a
   real photo would have gone, so a grid of mixed photo/no-photo cards
   still lines up. */
.yfacs-avatar-fallback {
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--yf-sans);
	font-weight: 700;
	margin: 0 auto;
}

/* The pronouns/email/links line functions.php prepends to a profile's bio. */
.yfacs-team-contact {
	font-size: 0.88rem;
	color: var(--wp--preset--color--ink);
	margin-bottom: 1.25rem;
}

.yfacs-team-contact a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
