/*
Theme Name: Wild Salmon Ventures
Theme URI: https://www.wildsalmonventures.com
Author: Wild Salmon Ventures Pty Ltd
Author URI: https://www.wildsalmonventures.com
Description: A simple, image-led theme for Wild Salmon Ventures, with a rotating front-page image display and menus for Publishing, Music, and Solutions.
Version: 1.10.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: wsv-theme
*/

:root {
	--wsv-ink: #16303f;
	--wsv-bg: #ffffff;
	--wsv-surface: #ffffff;
	--wsv-accent: #3d8bc7;
	--wsv-accent-dark: #1f6294;
	--wsv-complement: #e8954f;
	--wsv-complement-dark: #c66f2c;
	--wsv-border: #d7e6f0;
	--wsv-muted: #5b7286;
	--wsv-logo-width: 160px;
	--wsv-logo-height: 60px;
	--wsv-slider-width: 1200px;
	--wsv-slider-height: 500px;
	--wsv-slider-fit: cover;
	--wsv-tagline-size: 15px;
	--wsv-tagline-weight: 400;
	--wsv-subtagline-size: 12px;
	--wsv-subtagline-weight: 400;
}

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	background: var(--wsv-bg);
	color: var(--wsv-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

.wsv-header-inner,
.wsv-footer-inner,
.wsv-page-inner,
.wsv-pillars {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

.wsv-header {
	border-bottom: 1px solid var(--wsv-border);
	background: var(--wsv-surface);
}

.wsv-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 18px;
	flex-wrap: wrap;
	gap: 12px;
}

.wsv-site-title {
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
}

.wsv-header-text {
	flex: 1;
	padding: 0 24px;
	text-align: center;
}

.wsv-header-tagline {
	margin: 0;
	font-size: var(--wsv-tagline-size);
	font-weight: var(--wsv-tagline-weight);
	color: var(--wsv-ink);
}

.wsv-header-subtagline {
	margin: 2px 0 0;
	font-size: var(--wsv-subtagline-size);
	font-weight: var(--wsv-subtagline-weight);
	color: var(--wsv-muted);
}

.wsv-site-branding img,
.wsv-site-branding .custom-logo {
	width: var(--wsv-logo-width);
	height: var(--wsv-logo-height);
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.wsv-menu {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.wsv-menu a {
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}

.wsv-menu a:hover {
	color: var(--wsv-accent-dark);
}

.wsv-rotator {
	position: relative;
	width: var(--wsv-slider-width);
	max-width: 100%;
	margin: 40px auto 0;
	height: var(--wsv-slider-height);
	min-height: 200px;
	overflow: hidden;
	background: #ffffff;
}

.wsv-slide {
	position: absolute;
	inset: 0;
	background-size: var(--wsv-slider-fit);
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease;
	display: flex;
	align-items: flex-end;
}

.wsv-slide.is-active {
	opacity: 1;
}

.wsv-slide-caption {
	display: inline-block;
	margin: 0 0 36px 36px;
	padding: 8px 18px;
	background: rgba(22, 48, 63, 0.68);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border-radius: 4px;
}

.wsv-slide-placeholder {
	background: linear-gradient(135deg, var(--wsv-border), var(--wsv-bg));
	align-items: center;
	justify-content: center;
}

.wsv-slide-placeholder .wsv-slide-caption {
	margin: 0;
	background: none;
	color: var(--wsv-muted);
	font-weight: 500;
	text-align: center;
	max-width: 320px;
}

.wsv-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	padding-top: 48px;
	padding-bottom: 56px;
}

.wsv-pillar {
	display: block;
	background: var(--wsv-surface);
	border: 1px solid var(--wsv-border);
	border-radius: 10px;
	padding: 32px 26px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wsv-pillar:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(61, 139, 199, 0.18);
}

.wsv-pillar h2 {
	margin: 0 0 10px;
	font-size: 21px;
	color: var(--wsv-ink);
}

.wsv-pillar-link {
	color: var(--wsv-complement-dark);
	font-weight: 700;
	font-size: 14px;
}

.wsv-pillar:hover .wsv-pillar-link {
	color: var(--wsv-complement);
}

.wsv-page {
	padding: 56px 0 72px;
	flex: 1;
}

.wsv-page-title {
	font-size: 32px;
	margin: 0 0 24px;
}

.wsv-page-content {
	font-size: 16px;
	color: var(--wsv-ink);
}

.wsv-page-content p {
	margin: 0 0 18px;
}

.wsv-footer {
	border-top: 1px solid var(--wsv-border);
	background: var(--wsv-surface);
	margin-top: auto;
}

.wsv-footer-inner {
	padding: 24px;
	font-size: 13px;
	color: var(--wsv-muted);
}

@media (max-width: 640px) {
	.wsv-rotator {
		max-height: 60vh;
	}

	.wsv-slide-caption {
		margin: 0 0 20px 20px;
		font-size: 13px;
	}
}
