﻿/*
 Theme Name:   Blocksy Child
 Theme URI:    https://freespinmachine.com
 Description:  Child theme for Blocksy - freespinmachine customizations
 Author:       freespinmachine
 Template:     blocksy
 Version:      1.0.0
*/

/* Hide Home title on main page hero section */
.home .hero-section .page-title {
	display: none !important;
}

/* Industry news category archive: centered title, ~50% larger than default hero heading */
body.category-news .hero-section[data-type="type-1"] {
	--alignment: center;
	text-align: center;
}

body.category-news .hero-section[data-type="type-1"] .entry-header {
	text-align: center;
}

body.category-news .hero-section[data-type="type-1"] h1.page-title {
	font-size: clamp(2rem, 1.35em + 1vw, 2.75rem);
	line-height: 1.2;
}

/* Subscribe CTA after news posts — mirrors header .cta-subscribe-btn styles */
.fsm-post-subscribe-cta {
	display: flex;
	justify-content: center;
	margin-top: 2.25rem;
	margin-bottom: 0.5rem;
}

.fsm-post-subscribe-cta .fsm-subscribe-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-width: 8.75rem;
	min-height: 2.5rem;
	padding: 0 1.25rem;
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.15;
	color: #fff;
	background: #0d9488;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
}

.fsm-post-subscribe-cta .fsm-subscribe-btn:hover,
.fsm-post-subscribe-cta .fsm-subscribe-btn:focus {
	background: #0f766e;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	outline: none;
}

@media (max-width: 768px) {
	body.category-news .hero-section[data-type="type-1"] h1.page-title {
		font-size: clamp(1.75rem, 4vw + 0.75rem, 2.35rem);
	}

	.fsm-post-subscribe-cta {
		margin-top: 1.75rem;
	}

	.fsm-post-subscribe-cta .fsm-subscribe-btn {
		width: 100%;
		max-width: 20rem;
	}
}

