/*
Theme Name: Bitaclan
Theme URI: https://bitaclan.com
Author: Bitaclan
Description: Block theme for Bitaclan: Stories, Events, The Circle book club and The Shop. Edit everything in Appearance > Editor.
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bitaclan
*/

/* Small helpers the block settings can't express on their own. */

.bc-eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	font-size: 0.8125rem;
	margin: 0;
}

/* Woven pattern band */
.bc-weave {
	height: 28px;
	background-color: var(--wp--preset--color--saffron);
	background-image:
		repeating-linear-gradient(90deg, var(--wp--preset--color--ink) 0 14px, transparent 14px 28px),
		repeating-linear-gradient(0deg, transparent 0 10px, var(--wp--preset--color--indigo) 10px 18px, transparent 18px 28px);
	margin-block: 0 !important;
}

/* Cards */
.bc-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 18px;
	padding: var(--wp--preset--spacing--40);
	height: 100%;
}
.bc-card--dark {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border-color: var(--wp--preset--color--ink);
}
.bc-card--indigo {
	background: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--paper);
	border-color: var(--wp--preset--color--indigo);
}
.bc-card--saffron {
	background: var(--wp--preset--color--saffron);
	color: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--saffron);
}
.bc-card--glass {
	background: rgba(251, 250, 247, 0.08);
	border-color: rgba(251, 250, 247, 0.25);
	color: var(--wp--preset--color--paper);
}

/* Placeholder art blocks (swap for real images later) */
.bc-ph {
	border-radius: 12px;
	min-height: 200px;
	display: flex;
	align-items: flex-end;
	padding: 16px;
	color: var(--wp--preset--color--paper);
	background-color: var(--wp--preset--color--indigo);
	background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px);
}
.bc-ph--book { width: 220px; max-width: 100%; min-height: 330px; background-color: var(--wp--preset--color--saffron); color: var(--wp--preset--color--ink); }

/* Event date tile */
.bc-date {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border-radius: 12px;
	padding: 14px 16px;
	text-align: center;
	min-width: 84px;
	flex-shrink: 0;
}
.bc-date p { margin: 0; }
.bc-date p:last-child { font-family: var(--wp--preset--font-family--display); font-size: 2rem; font-weight: 800; line-height: 1.1; }

/* Header nav: Join pill */
.bc-header .wp-block-navigation a { padding-block: 12px; }
.bc-header .wp-block-site-title a { text-decoration: none; letter-spacing: -0.5px; }

/* Make every card in a grid the same height */
.wp-block-group.is-layout-grid > .bc-card { height: auto; }

/* Comments (wpDiscuz inherits most of this) */
.wp-block-comments { max-width: 880px; margin-inline: auto; }
