/*
 * Components Styles (Buttons, Cards, Forms, etc)
 * @package GoldNews
 */

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	margin-top: 0;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	cursor: pointer;
}

.btn-primary {
	background-color: var(--wp--preset--color--primary-gold);
	color: var(--wp--preset--color--darker-bg);
}

.btn-primary:hover {
	background-color: var(--wp--preset--color--secondary-gold);
}

/* Cards */
.card {
	background-color: var(--wp--preset--color--dark-bg);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	overflow: hidden;
}

.news-card {
	transition: transform 0.2s ease;
}

.news-card:hover {
	transform: translateY(-2px);
}

.news-card-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16/9;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--wp--preset--color--text-light);
	padding: 0.5rem 1rem;
	border-radius: 4px;
	width: 100%;
}

input:focus,
textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary-gold);
}

/* Utility / Helpers */
.text-gold {
	color: var(--wp--preset--color--primary-gold);
}

.bg-gold {
	background-color: var(--wp--preset--color--primary-gold);
}

/* Responsive Typography Overrides */
@media (max-width: 767px) {
	.text-3xl {
		font-size: 1.5rem !important; /* 24px */
		line-height: 2rem !important; /* 32px */
	}
}