/* Tribeca Curations — Blog Stylesheet */

.blog-index-page {
	padding-bottom: 4rem;
	background: var(--bg-surface, #faf9f6);
}

.blog-hero-section {
	background: linear-gradient(180deg, rgba(20, 20, 26, 0.82) 0%, rgba(26, 25, 33, 0.88) 100%), url('/assets/images/blog-hero.jpg') center/cover no-repeat;
	color: #ffffff;
	padding: 4rem 0 3.5rem 0;
	margin-bottom: 2.5rem;
	border-bottom: 4px solid var(--color-accent, #ff6b35);
	box-shadow: inset 0 -30px 40px rgba(0, 0, 0, 0.3);
}

.blog-hero-header {
	max-width: 800px;
	margin: 0 auto 2.5rem auto;
	text-align: center;
}

.blog-kicker {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	color: #ffb703;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.blog-main-title {
	font-size: 2.8rem;
	font-weight: 900;
	line-height: 1.15;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
	background: linear-gradient(90deg, #ffffff, #ffe3d8);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
	font-size: 1.15rem;
	color: #d1d5db;
	line-height: 1.6;
	margin: 0 auto;
}

/* Filter & Search Bar */
.blog-filter-bar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 900px;
	margin: 0 auto;
}

.blog-search-form {
	display: flex;
	gap: 0.75rem;
	width: 100%;
}

.blog-search-input-wrap {
	position: relative;
	flex: 1;
}

.blog-search-input-wrap .search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	pointer-events: none;
}

.blog-search-input {
	width: 100%;
	padding: 0.85rem 2.5rem 0.85rem 2.75rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-size: 1rem;
	backdrop-filter: blur(10px);
	transition: all 0.2s ease;
}

.blog-search-input::placeholder {
	color: #9ca3af;
}

.blog-search-input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.18);
	border-color: #ff6b35;
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.blog-search-clear {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	font-weight: bold;
	text-decoration: none;
}

.blog-search-btn {
	border-radius: 9999px;
	padding: 0.85rem 1.75rem;
	font-weight: 700;
	background: #ff6b35;
	color: #fff;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.blog-category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.category-pill {
	padding: 0.5rem 1.1rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.08);
	color: #e5e7eb;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: all 0.2s ease;
}

.category-pill:hover,
.category-pill.active {
	background: #ff6b35;
	color: #ffffff;
	border-color: #ff6b35;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Featured Hero Post */
.blog-featured-card {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 2.5rem;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
	margin-bottom: 3rem;
	border: 1px solid #e5e7eb;
}

.featured-img-wrap {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 340px;
}

.featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.featured-card:hover .featured-img {
	transform: scale(1.03);
}

.featured-badge {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	background: #10b981;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.4rem 0.85rem;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.featured-content {
	padding: 2.5rem 2.5rem 2.5rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.post-meta-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: #6b7280;
	margin-bottom: 1rem;
	font-weight: 600;
}

.post-category-tag {
	color: #ff6b35;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.post-meta-dot {
	color: #d1d5db;
}

.featured-title {
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 1rem;
}

.featured-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.featured-title a:hover {
	color: #ff6b35;
}

.featured-excerpt {
	color: #4b5563;
	font-size: 1.05rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.featured-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #f3f4f6;
}

.author-info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: #374151;
}

.btn-read-more {
	font-weight: 700;
	color: #ff6b35;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	transition: gap 0.2s ease;
}

.btn-read-more:hover {
	gap: 0.6rem;
}

/* Articles Grid */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.blog-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.blog-card-img-wrap {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f4f6;
}

.blog-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img {
	transform: scale(1.05);
}

.blog-card-category {
	position: absolute;
	bottom: 0.85rem;
	left: 0.85rem;
	background: rgba(17, 24, 39, 0.85);
	backdrop-filter: blur(4px);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
}

.blog-card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	color: #6b7280;
	margin-bottom: 0.6rem;
}

.blog-card-title {
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.35;
	margin-bottom: 0.75rem;
}

.blog-card-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card-title a:hover {
	color: #ff6b35;
}

.blog-card-excerpt {
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.55;
	margin-bottom: 1.25rem;

	/* 3-line clamp */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid #f3f4f6;
	font-size: 0.85rem;
}

.blog-card-author {
	color: #6b7280;
	font-weight: 600;
}

.blog-card-link {
	color: #ff6b35;
	font-weight: 700;
	text-decoration: none;
}

/* Pagination */
.blog-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.pagination-numbers {
	display: flex;
	gap: 0.35rem;
}

.pagination-num,
.pagination-btn {
	padding: 0.6rem 1rem;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	background: #ffffff;
	color: #374151;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.pagination-num.active,
.pagination-num:hover,
.pagination-btn:hover {
	background: #ff6b35;
	color: #ffffff;
	border-color: #ff6b35;
}

/* ==========================================================================
   BLOG DETAIL PAGE
   ========================================================================== */

.blog-detail-page {
	padding-bottom: 5rem;
	background: #ffffff;
}

.blog-preview-banner {
	background: #f59e0b;
	color: #78350f;
	padding: 0.75rem 0;
	text-align: center;
	font-size: 0.95rem;
}

.blog-breadcrumbs-wrap {
	background: #faf9f6;
	padding: 1rem 0;
	border-bottom: 1px solid #e5e7eb;
}

.blog-article-header {
	padding: 3rem 0 2rem 0;
}

.category-tag-link {
	display: inline-block;
	background: #fff3ec;
	color: #ff6b35;
	font-weight: 800;
	font-size: 0.85rem;
	padding: 0.4rem 1rem;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	margin-bottom: 1rem;
}

.article-title {
	font-size: 2.75rem;
	font-weight: 900;
	line-height: 1.18;
	color: #111827;
	max-width: 900px;
	margin: 0 auto 1.25rem auto;
	letter-spacing: -0.02em;
}

.article-subtitle {
	font-size: 1.25rem;
	color: #4b5563;
	max-width: 780px;
	margin: 0 auto 2rem auto;
	line-height: 1.6;
}

.article-author-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 800px;
	margin: 0 auto;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
}

.author-block {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-align: left;
}

.author-avatar {
	font-size: 2rem;
	background: #f3f4f6;
	padding: 0.5rem;
	border-radius: 50%;
}

.author-name {
	display: block;
	font-weight: 800;
	color: #111827;
	font-size: 1rem;
}

.publish-meta {
	display: block;
	font-size: 0.85rem;
	color: #6b7280;
}

.share-btn {
	background: #f3f4f6;
	border: 1px solid #d1d5db;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-weight: 700;
	color: #374151;
	cursor: pointer;
	transition: background 0.2s ease;
}

.share-btn:hover {
	background: #e5e7eb;
}

/* Cover Image */
.article-cover-container {
	margin-bottom: 3rem;
}

.cover-image-frame {
	max-width: 960px;
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.article-cover-img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

/* Article Layout Grid */
.article-grid-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 3.5rem;
	max-width: 1100px;
	margin: 0 auto;
}

/* Prose Typography */
.prose-content {
	font-size: 1.125rem;
	line-height: 1.8;
	color: #27272a;
}

.prose-content h2 {
	font-size: 1.85rem;
	font-weight: 800;
	color: #111827;
	margin: 2.5rem 0 1.25rem 0;
	line-height: 1.3;
	letter-spacing: -0.01em;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #fff3ec;
}

.prose-content h3 {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1f2937;
	margin: 2rem 0 1rem 0;
}

.prose-content p {
	margin-bottom: 1.5rem;
}

.prose-content ul,
.prose-content ol {
	margin: 1.25rem 0 1.5rem 1.75rem;
}

.prose-content li {
	margin-bottom: 0.5rem;
}

.prose-content blockquote {
	border-left: 4px solid #ff6b35;
	background: #fff8f5;
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: #4b5563;
}

.prose-content blockquote p {
	margin: 0;
}

.prose-content a {
	color: #ff6b35;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose-content a:hover {
	color: #e0531f;
}

/* Shortcode Embed Product Card */
.blog-embed-product {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: #faf9f6;
	border: 2px solid #ffeedd;
	border-radius: 14px;
	padding: 1.25rem;
	margin: 2.25rem 0;
	box-shadow: 0 6px 18px rgba(255, 107, 53, 0.06);
}

.blog-embed-img-wrap {
	width: 130px;
	height: 130px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e5e7eb;
}

.blog-embed-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.5rem;
}

.blog-embed-details {
	flex: 1;
}

.blog-embed-brand {
	font-size: 0.75rem;
	font-weight: 800;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.blog-embed-title {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0.25rem 0 0.5rem 0;
	line-height: 1.3;
}

.blog-embed-title a {
	color: #111827;
	text-decoration: none;
}

.blog-embed-footer {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 0.75rem;
}

.blog-embed-price {
	font-size: 1.2rem;
	font-weight: 900;
	color: #111827;
}

.blog-embed-badge.in-stock {
	background: #d1fae5;
	color: #065f46;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.2rem 0.6rem;
	border-radius: 9999px;
}

.blog-embed-badge.sold-out {
	background: #fee2e2;
	color: #991b1b;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.2rem 0.6rem;
	border-radius: 9999px;
}

.blog-embed-cta {
	margin-left: auto;
	background: #ff6b35;
	color: #ffffff !important;
	font-size: 0.85rem;
	font-weight: 800;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.blog-embed-cta:hover {
	background: #e0531f;
}

/* Article Featured Products Showcase */
.article-featured-products {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 2px dashed #e5e7eb;
}

.products-section-header {
	text-align: center;
	margin-bottom: 2rem;
}

.header-kicker {
	font-size: 0.8rem;
	font-weight: 800;
	color: #ff6b35;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.products-section-header h2 {
	font-size: 2rem;
	font-weight: 900;
	color: #111827;
	margin-top: 0.25rem;
}

.article-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem;
}

/* Author Bio Footer */
.article-author-bio {
	display: flex;
	gap: 1.25rem;
	background: #faf9f6;
	border-radius: 12px;
	padding: 1.75rem;
	margin-top: 3.5rem;
	border: 1px solid #e5e7eb;
}

.bio-avatar {
	font-size: 2.5rem;
	background: #ffffff;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bio-text h4 {
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 0.35rem;
}

.bio-text p {
	font-size: 0.95rem;
	color: #6b7280;
	line-height: 1.5;
	margin: 0;
}

/* Sidebar Widgets */
.sidebar-sticky {
	position: sticky;
	top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.sidebar-widget {
	background: #ffffff;
	border-radius: 14px;
	padding: 1.75rem;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.promo-widget {
	background: linear-gradient(135deg, #fff3ec 0%, #ffede2 100%);
	border-color: #ffd8c7;
}

.widget-badge {
	display: inline-block;
	background: #ff6b35;
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 800;
	padding: 0.25rem 0.6rem;
	border-radius: 9999px;
	margin-bottom: 0.75rem;
}

.promo-widget h3 {
	font-size: 1.25rem;
	font-weight: 800;
	color: #111827;
	margin-bottom: 0.5rem;
}

.promo-widget p {
	font-size: 0.9rem;
	color: #4b5563;
	margin-bottom: 1.25rem;
	line-height: 1.5;
}

.sidebar-category-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0 0;
}

.sidebar-category-list li {
	margin-bottom: 0.6rem;
}

.sidebar-category-list a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
	color: #374151;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	transition: all 0.2s ease;
}

.sidebar-category-list a:hover {
	background: #faf9f6;
	color: #ff6b35;
}

/* Related Posts Section */
.related-posts-section {
	margin-top: 5rem;
	padding-top: 3.5rem;
	border-top: 1px solid #e5e7eb;
}

.section-title-wrap {
	text-align: center;
	margin-bottom: 2.5rem;
}

.section-kicker {
	font-size: 0.8rem;
	font-weight: 800;
	color: #ff6b35;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.section-title-wrap h2 {
	font-size: 2.2rem;
	font-weight: 900;
	color: #111827;
}

/* Responsive */
@media (max-width: 992px) {
	.blog-featured-card {
		grid-template-columns: 1fr;
	}
	.featured-content {
		padding: 1.75rem;
	}
	.article-grid-layout {
		grid-template-columns: 1fr;
	}
	.article-title {
		font-size: 2.1rem;
	}
}

@media (max-width: 640px) {
	.blog-main-title {
		font-size: 2.1rem;
	}
	.blog-embed-product {
		flex-direction: column;
		text-align: center;
	}
	.blog-embed-img-wrap {
		width: 100%;
		height: 180px;
	}
	.blog-embed-footer {
		flex-direction: column;
		width: 100%;
	}
	.blog-embed-cta {
		margin-left: 0;
		width: 100%;
	}
}
