/* ==========================================================================
   Pick'n'Roll Theme — Custom styles
   ========================================================================== */

/* ── Global reset helpers ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Hero Section ── */
.hero-section .wp-block-cover__inner-container {
	padding: 4rem 1rem;
}

.hero-section h2.wp-block-heading {
	line-height: 1.4;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.hero-section .wp-block-image img {
	border-radius: 12px;
}

/* ── Newsletter Form ── */
.newsletter-form form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.newsletter-form input[type="email"] {
	flex: 1 1 260px;
	padding: 0.75rem 1.25rem;
	border: none;
	border-radius: 50px;
	background: rgba(255,255,255,0.1);
	color: #fff;
	font-size: 1rem;
	outline: none;
	border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input[type="email"]::placeholder {
	color: rgba(255,255,255,0.5);
}

.newsletter-form .btn-newsletter {
	padding: 0.75rem 2rem;
	background: #ffaa01;
	color: #14151a;
	border: none;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.newsletter-form .btn-newsletter:hover {
	background: #e09900;
}

.newsletter-form .note {
	color: rgba(255,255,255,0.5);
	font-size: 0.85rem;
	margin-top: 0.75rem;
}

.contador-wrap h2 {
	color: #ffffff;
	font-size: 1.5rem;
}

/* ── Events Section ── */
.events-section {
	background-color: #14151a;
}

.event-card {
	border-left: 4px solid #ffaa01 !important;
	border-radius: 8px;
	text-align: center;
	height: 100%;
}

.event-card .event-date {
	color: #ffaa01 !important;
	font-weight: 600;
}

/* ── About / Features Section ── */
.about-section {
	background-color: #14151a;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2rem;
}

.feature-item img {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	margin-top: 4px;
}

.feature-item h5 {
	color: #ffffff;
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
}

.feature-item p {
	color: rgba(255,255,255,0.5);
	margin: 0;
	font-size: 0.95rem;
}

/* ── Slogan Banner ── */
.slogan-banner {
	background-color: #ffaa01;
	margin: 4rem 0;
	text-align: center;
}

.slogan-banner img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ── Creators / Services cards ── */
.creator-card {
	background-color: #1e1f26;
	border-radius: 12px;
	padding: 2.5rem;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.creator-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.creator-card a {
	text-decoration: none;
	color: inherit;
}

.creator-card img {
	max-height: 80px;
	width: auto;
	object-fit: contain;
	margin: 0 auto;
}

.creator-card h5 {
	color: #ffffff;
	margin: 1.5rem 0 0.75rem;
	font-size: 1.1rem;
}

.creator-card p {
	color: rgba(255,255,255,0.5);
	font-size: 0.95rem;
}

/* ── Section headings ── */
.section-title {
	color: #ffffff;
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
}

.section-desc {
	color: rgba(255,255,255,0.5);
	text-align: center;
	max-width: 700px;
	margin: 1rem auto 0;
}

/* ── Blog (home.html) ── */
.post-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.post-card .wp-block-post-title a {
	text-decoration: none;
	color: #ffffff;
}

.post-card .wp-block-post-title a:hover {
	color: #ffaa01;
}

/* ── Query pagination ── */
.wp-block-query-pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.4rem 0.75rem;
	background: #1e1f26;
	color: rgba(255,255,255,0.6);
	border-radius: 6px;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background 0.2s, color 0.2s;
}

.wp-block-query-pagination-numbers .current,
.wp-block-query-pagination a:hover {
	background: #ffaa01;
	color: #14151a;
	font-weight: 700;
}

/* ── Single post (single.html) ── */
.wp-block-post-content {
	color: rgba(255,255,255,0.8);
	line-height: 1.8;
}

.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4 {
	color: #ffffff;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.wp-block-post-content a {
	color: #ffaa01;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wp-block-post-content a:hover {
	color: #e09900;
}

.wp-block-post-content blockquote {
	border-left: 4px solid #ffaa01;
	padding-left: 1.25rem;
	margin-left: 0;
	color: rgba(255,255,255,0.6);
	font-style: italic;
}

.wp-block-post-content code,
.wp-block-post-content pre {
	background: #1e1f26;
	border-radius: 6px;
	font-size: 0.9em;
}

.wp-block-post-content code {
	padding: 0.15em 0.4em;
	color: #ffaa01;
}

.wp-block-post-content pre {
	padding: 1.25rem;
	overflow-x: auto;
}

/* ── Page (page.html) ── */
.wp-block-post-content p {
	color: rgba(255,255,255,0.7);
	line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 768px) {

	.hero-section .wp-block-cover__inner-container {
		padding: 3rem 1rem;
	}

	.newsletter-form form {
		flex-direction: column;
		align-items: stretch;
	}

	.newsletter-form .btn-newsletter {
		width: 100%;
	}

	/* Blog grid: cualquier número de columnas → 1 columna */
	.wp-block-group-is-layout-grid {
		grid-template-columns: 1fr !important;
	}
}
