/* TerraPia naslovnica redesign — Figma LRSztcDJfrvbhdeGKI21o2, node 22:2 */

.tp-section { padding: 64px 132px; }
@media (max-width: 767px) { .tp-section { padding: 40px 20px; } }

.tp-eyebrow {
	font-family: var(--tp-font-heading);
	font-style: italic;
	font-weight: 600;
	font-size: 20px;
	color: var(--tp-dark-primary);
	margin: 0 0 12px;
}
.tp-eyebrow.is-on-dark { color: var(--tp-bg-active); }

.tp-h1 {
	font-family: var(--tp-font-body);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.15;
	color: var(--tp-text-high);
	margin: 0;
}
.tp-h2 {
	font-family: var(--tp-font-body);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.2;
	color: var(--tp-text-high);
	margin: 0;
}
.tp-h2.is-on-dark, .tp-h1.is-on-dark { color: #fff; }

.tp-lead {
	font-family: var(--tp-font-ui);
	font-size: 24px;
	line-height: 32px;
	color: var(--tp-text-low);
	max-width: 576px;
	margin: 0;
}
.tp-lead.is-on-dark { color: #fff; }

.tp-gold-divider {
	height: 2px;
	width: 76px;
	background: linear-gradient(90deg, var(--tp-gold-start), var(--tp-gold-end));
	border: none;
	margin: 24px 0;
}

.tp-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.tp-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border: 1px solid var(--tp-dark-primary);
	border-radius: 4px;
	color: var(--tp-dark-primary) !important;
	font-family: var(--tp-font-ui);
	font-weight: 500;
	font-size: 16px;
	text-decoration: none !important;
	background: transparent;
}
.tp-btn-outline:hover { background: var(--tp-dark-primary); color: #fff !important; }

.tp-btn-solid {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 4px;
	color: #fff !important;
	font-family: var(--tp-font-ui);
	font-weight: 500;
	font-size: 16px;
	text-decoration: none !important;
	background: var(--tp-hover-primary);
}
.tp-btn-solid:hover { background: var(--tp-dark-primary); }

/* Hero */
.tp-hero .wp-block-cover__inner-container { max-width: 576px; }
.tp-hero-stats {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 48px;
	flex-wrap: wrap;
}
.tp-hero-stat { text-align: center; }
.tp-hero-stat .num {
	font-family: var(--tp-font-body);
	font-size: 32px;
	line-height: 38px;
	color: var(--tp-text-high);
	display: block;
}
.tp-hero-stat .label {
	font-family: var(--tp-font-ui);
	font-size: 16px;
	color: var(--tp-text-low);
}
.tp-hero-stat-sep {
	width: 2px;
	height: 48px;
	background: linear-gradient(180deg, var(--tp-gold-start), var(--tp-gold-end));
}
@media (max-width: 767px) {
	.tp-hero-stats { justify-content: center; }
	.tp-hero-stat-sep { display: none; }
	.tp-h1 { font-size: 32px; }
}

/* Category cards */
.tp-category-card {
	border-radius: 4px;
	overflow: hidden;
	min-height: 503px;
	position: relative;
}
.tp-category-card .wp-block-cover__background { transition: transform .4s ease; }
.tp-category-card:hover .wp-block-cover__background { transform: scale(1.04); }
.tp-category-card .wp-block-cover__inner-container { width: 100%; }
.tp-category-title {
	font-family: var(--tp-font-body);
	font-weight: 700;
	font-size: 24px;
	color: #fff;
	margin: 0 0 8px;
}
.tp-category-link {
	font-family: var(--tp-font-ui);
	font-weight: 500;
	font-size: 16px;
	color: var(--tp-bg-active) !important;
	text-decoration: none !important;
}

/* Product / blog carousel card tweaks (Woodmart overrides, scoped) */
.tp-products-carousel .product-title a,
.tp-products-carousel .product-title { font-family: var(--tp-font-body); font-size: 18px; color: var(--tp-text-high); }
.tp-products-carousel .price { color: var(--tp-basic-primary) !important; font-family: var(--tp-font-ui); font-weight: 700; }
.tp-blog-grid .entry-title, .tp-blog-grid .post-title { font-family: var(--tp-font-body) !important; font-size: 18px !important; }
.tp-blog-grid .woodmart-post-date .post-date-day,
.tp-blog-grid .woodmart-post-date .post-date-month { color: var(--tp-dark-primary); }

/* Naša priča */
.tp-story .wp-block-cover__background { background-color: rgba(22,38,29,0.9) !important; }
/* core .wp-block-cover defaults to justify-content:center; without this the 593px text
   block centers in the full-width cover instead of sitting flush left as in Figma */
.tp-story.wp-block-cover { justify-content: flex-start !important; }
.tp-story .wp-block-cover__inner-container { margin-left: 0; margin-right: auto; }
.tp-story-copy { font-family: var(--tp-font-ui); font-size: 20px; line-height: 24px; color: #fff; max-width: 593px; }
.tp-story-copy b, .tp-story-copy strong { font-weight: 700; }
.tp-story-small { font-family: var(--tp-font-ui); font-size: 16px; line-height: 20px; color: #fff; max-width: 593px; }
