/*
Theme Name: No Go-Around
Theme URI: https://nogoaround.com
Description: Child theme of Twenty Twenty-Five for nogoaround.com — a student skydiver's log from Skydive New England.
Author: David
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
License: GNU General Public License v2 or later
Text Domain: nogoaround
*/

/* Small eyebrow label used above headings ("JUMP JOURNAL", hero kicker). */
.nga-eyebrow {
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
}

/* Hero: a faint horizon line + altimeter-style tick marks along the bottom edge. */
.nga-hero {
	position: relative;
	overflow: hidden;
}
.nga-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 10px;
	background: repeating-linear-gradient(
		90deg,
		var(--wp--preset--color--accent-1) 0 2px,
		transparent 2px 28px
	);
	opacity: 0.55;
}

/* Section cards on the front page: 4 across, 2x2, or stacked — never a 3+1 orphan.
   Two classes beat the single generated grid-container class. */
.wp-block-group.nga-sections {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
	.wp-block-group.nga-sections {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.wp-block-group.nga-sections {
		grid-template-columns: minmax(0, 1fr);
	}
}
.nga-card {
	border: 1px solid var(--wp--preset--color--accent-6);
	border-top: 4px solid var(--wp--preset--color--accent-1);
	border-radius: 6px;
	height: 100%;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nga-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(15, 30, 51, 0.08);
}
.nga-card a {
	text-decoration: none;
}
.nga-card h3 {
	overflow-wrap: normal;
}
.nga-card a:hover {
	text-decoration: underline;
}

/* Post grid cards. */
.nga-post-grid .wp-block-post {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	padding-bottom: var(--wp--preset--spacing--40);
}
.nga-post-grid .wp-block-post-featured-image img {
	border-radius: 6px;
}

/* Jump-log fact table used by the "Jump log entry" pattern. */
.nga-jumplog table {
	font-family: var(--wp--preset--font-family--manrope);
	font-size: var(--wp--preset--font-size--small);
}
.nga-jumplog td:first-child {
	font-weight: 700;
	width: 38%;
	white-space: nowrap;
}

/* "Short version" summary boxes in research posts. */
.nga-callout {
	border-left: 4px solid var(--wp--preset--color--accent-1);
	border-radius: 0 6px 6px 0;
}

@media (prefers-reduced-motion: reduce) {
	.nga-card {
		transition: none;
	}
	.nga-card:hover {
		transform: none;
	}
}
