/* ============================================
   FULL FOCUS BLOG REDESIGN
   Modern Substack/Medium Style
   ============================================ */

/* ---- Custom Properties ---- */
:root {
	--ff-warmblack: #1C1919;
	--ff-taupe: #968782;
	--ff-gold: #C39A6A;
	--ff-medgold: #CCB08F;
	--ff-ltgold: #D5C1A9;
	--ff-ltstgold: #E5D9CC;
	--ff-cream: #EBE8E3;
	--ff-warmwhite: #F7F7F5;

	--ff-font: europa, sans-serif;

	--sp-xs: 0.5rem;
	--sp-sm: 1rem;
	--sp-md: 1.5rem;
	--sp-lg: 2rem;
	--sp-xl: 3rem;
	--sp-2xl: 4rem;
	--sp-3xl: 6rem;

	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;

	--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.08);
	--shadow-lg: 0 10px 24px rgba(0,0,0,0.10);
}


/* ============================================
   1. BASE RESETS
   ============================================ */

body.blog,
body.archive,
body.search,
body.single-post {
	background-color: var(--ff-warmwhite);
}

body.blog #content,
body.archive #content,
body.search #content,
body.single-post #content {
	background-color: transparent;
}


/* ============================================
   2. FEATURED HERO (Index Page 1)
   ============================================ */

.blog-featured-hero {
	background-color: var(--ff-cream);
	padding: var(--sp-3xl) 0;
}

.blog-featured-hero .hero-card {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 var(--sp-md);
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: var(--sp-2xl);
	align-items: center;
}

.blog-featured-hero .hero-image {
	position: relative;
	padding-top: 66.67%;
	background-size: cover;
	background-position: center;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.blog-featured-hero .hero-image a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.blog-featured-hero .hero-content {
	padding: var(--sp-sm) 0;
}

.blog-featured-hero .hero-meta {
	display: flex;
	align-items: center;
	gap: var(--sp-sm);
	margin-bottom: var(--sp-md);
	font-family: var(--ff-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.blog-featured-hero .category-badge {
	background-color: var(--ff-gold);
	color: #fff;
	padding: 4px 12px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: background-color 0.2s;
}

.blog-featured-hero .category-badge:hover {
	background-color: var(--ff-warmblack);
	color: #fff;
}

.blog-featured-hero .hero-date {
	color: var(--ff-taupe);
}

.blog-featured-hero .hero-title {
	font-family: var(--ff-font);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin-bottom: var(--sp-md);
}

.blog-featured-hero .hero-title a {
	color: var(--ff-warmblack);
	text-decoration: none;
	transition: color 0.2s;
}

.blog-featured-hero .hero-title a:hover {
	color: var(--ff-gold);
}

.blog-featured-hero .hero-excerpt {
	font-family: var(--ff-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ff-warmblack);
	opacity: 0.75;
	margin-bottom: var(--sp-lg);
}

.blog-featured-hero .hero-author {
	display: flex;
	align-items: center;
	gap: var(--sp-sm);
}

.blog-featured-hero .hero-author img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.blog-featured-hero .hero-author .author-name {
	font-family: var(--ff-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--ff-warmblack);
}

@media (max-width: 991px) {
	.blog-featured-hero { padding: var(--sp-2xl) 0; }

	.blog-featured-hero .hero-card {
		grid-template-columns: 1fr;
		gap: var(--sp-lg);
	}

	.blog-featured-hero .hero-title { font-size: 34px; }
}


/* ============================================
   3. CATEGORY NAVIGATION
   ============================================ */

.blog-category-nav {
	background-color: #fff;
	padding: var(--sp-md) 0;
	border-bottom: 1px solid rgba(0,0,0,0.07);
	position: sticky;
	top: 0;
	z-index: 100;
}

.blog-category-nav .category-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.blog-category-nav .category-pills::-webkit-scrollbar {
	display: none;
}

.blog-category-nav .pill {
	font-family: var(--ff-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 8px 20px;
	border-radius: 24px;
	background-color: transparent;
	color: var(--ff-taupe);
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
}

.blog-category-nav .pill:hover {
	background-color: var(--ff-cream);
	color: var(--ff-warmblack);
}

.blog-category-nav .pill.active,
.blog-category-nav .category-pills .current-cat a {
	background-color: var(--ff-warmblack);
	color: #fff;
}

.blog-category-nav .blog-search-form {
	margin-left: auto;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.blog-category-nav .blog-search-form input[type="text"] {
	font-family: var(--ff-font);
	font-size: 14px;
	padding: 8px 16px;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 24px;
	background-color: var(--ff-warmwhite);
	width: 180px;
	transition: all 0.25s;
}

.blog-category-nav .blog-search-form input[type="text"]:focus {
	outline: none;
	border-color: var(--ff-gold);
	width: 220px;
	background-color: #fff;
}

.blog-category-nav .blog-search-form button {
	background: none;
	border: none;
	color: var(--ff-taupe);
	font-size: 15px;
	cursor: pointer;
	padding: 8px;
	margin-left: -36px;
	position: relative;
	z-index: 2;
	transition: color 0.2s;
}

.blog-category-nav .blog-search-form button:hover {
	color: var(--ff-gold);
}

@media (max-width: 767px) {
	.blog-category-nav {
		position: static;
	}

	.blog-category-nav .blog-search-form {
		display: none;
	}
}


/* ============================================
   4. POST CARD GRID
   ============================================ */

.blog-card-grid {
	margin-bottom: var(--sp-2xl);
}

.post-card {
	background-color: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: var(--shadow-sm);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.post-card-image {
	position: relative;
	padding-top: 66.67%;
	overflow: hidden;
	background-color: var(--ff-cream);
}

.post-card-image a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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

.post-card:hover .post-card-image img {
	transform: scale(1.04);
}

.post-card-content {
	padding: var(--sp-lg);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card-meta {
	display: flex;
	align-items: center;
	gap: var(--sp-sm);
	margin-bottom: var(--sp-sm);
	font-family: var(--ff-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.post-card-meta .category-badge {
	background-color: var(--ff-gold);
	color: #fff;
	padding: 3px 10px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: background-color 0.2s;
}

.post-card-meta .category-badge:hover {
	background-color: var(--ff-warmblack);
	color: #fff;
}

.post-card-meta .post-date {
	color: var(--ff-taupe);
}

.post-card-title {
	font-family: var(--ff-font);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	margin-bottom: var(--sp-sm);
}

.post-card-title a {
	color: var(--ff-warmblack);
	text-decoration: none;
	transition: color 0.2s;
}

.post-card-title a:hover {
	color: var(--ff-gold);
}

.post-card-excerpt {
	font-family: var(--ff-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--ff-warmblack);
	opacity: 0.65;
	margin-bottom: var(--sp-lg);
	flex: 1;
}

.post-card-author {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: var(--sp-md);
	border-top: 1px solid rgba(0,0,0,0.05);
	margin-top: auto;
}

.post-card-author img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
}

.post-card-author span {
	font-family: var(--ff-font);
	font-size: 13px;
	font-weight: 600;
	color: var(--ff-warmblack);
}

/* View All button */
.blog-view-all {
	text-align: center;
	padding: var(--sp-xl) 0 var(--sp-md);
}

.blog-view-all .btn {
	font-family: var(--ff-font);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 14px 40px;
	border-radius: 999px;
}


/* ============================================
   5. SINGLE POST — HEADER
   ============================================ */

body.single-post #content {
	padding-top: var(--sp-2xl);
}

.single-post-header .post-categories {
	margin-bottom: var(--sp-md);
}

.single-post-header .post-categories a {
	font-family: var(--ff-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ff-gold);
	text-decoration: none;
	transition: color 0.2s;
}

.single-post-header .post-categories a:after {
	content: " \00B7 ";
	color: var(--ff-gold);
	margin: 0 6px;
}

.single-post-header .post-categories a:last-child:after {
	content: "";
}

.single-post-header .post-categories a:hover {
	color: var(--ff-warmblack);
}

.single-post-header .post-title {
	font-family: var(--ff-font) !important;
	font-size: 52px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em !important;
	color: var(--ff-warmblack);
	margin-bottom: var(--sp-lg);
}

/* Meta Bar */
.post-meta-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: var(--sp-lg);
	border-bottom: 1px solid rgba(0,0,0,0.08);
	margin-bottom: var(--sp-xl);
}

.post-meta-left {
	display: flex;
	align-items: center;
	gap: var(--sp-sm);
}

.post-meta-left img.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.post-meta-left .meta-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.post-meta-left .author-name,
.post-meta-left .author-name a {
	font-family: var(--ff-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--ff-warmblack);
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
}

.post-meta-left .author-name a:hover {
	color: var(--ff-gold);
}

.post-meta-left .meta-details {
	font-family: var(--ff-font);
	font-size: 14px;
	color: var(--ff-taupe);
	display: flex;
	align-items: center;
	gap: 6px;
}

.post-meta-left .meta-sep {
	opacity: 0.4;
}

/* Social Share */
.social-share {
	display: flex;
	gap: 8px;
}

.social-share .share-link {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.1);
	background-color: #fff;
	color: var(--ff-warmblack);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.2s;
	font-size: 15px;
}

.social-share .share-link:hover {
	background-color: var(--ff-gold);
	color: #fff;
	border-color: var(--ff-gold);
}

@media (max-width: 767px) {
	.single-post-header .post-title {
		font-size: 36px;
	}

	.post-meta-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--sp-md);
	}
}


/* ============================================
   6. SINGLE POST — FEATURED IMAGE
   ============================================ */

body.single-post .wp-post-image {
	border-radius: var(--radius-lg);
}


/* ============================================
   7. SINGLE POST — CONTENT TYPOGRAPHY
   (Override _layout.scss Garamond styles)
   ============================================ */

body.single-post .entry-content {
	font-family: var(--ff-font) !important;
	font-size: 19px !important;
	line-height: 1.75 !important;
	color: #303030 !important;
	letter-spacing: 0 !important;
}

body.single-post .entry-content p,
body.single-post .entry-content ul,
body.single-post .entry-content ol {
	font-family: var(--ff-font) !important;
	font-size: 19px !important;
	line-height: 1.75 !important;
	color: #303030 !important;
	margin-bottom: var(--sp-lg);
}

body.single-post .entry-content li {
	margin-bottom: 8px;
}

body.single-post .entry-content h2 {
	font-family: var(--ff-font) !important;
	font-size: 36px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	margin-top: var(--sp-2xl);
	margin-bottom: var(--sp-lg);
}

body.single-post .entry-content h3 {
	font-family: var(--ff-font) !important;
	font-size: 26px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	margin-top: var(--sp-xl);
	margin-bottom: var(--sp-md);
}

body.single-post .entry-content h4 {
	font-family: var(--ff-font) !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	margin-top: var(--sp-lg);
	margin-bottom: var(--sp-md);
}

body.single-post .entry-content h5 {
	font-family: var(--ff-font) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.4 !important;
	margin-top: var(--sp-lg);
	margin-bottom: var(--sp-sm);
}

body.single-post .entry-content a:not(.btn) {
	color: var(--ff-gold);
	border-bottom: 1px solid var(--ff-gold);
	padding-bottom: 1px;
	text-decoration: none;
	transition: all 0.2s;
}

body.single-post .entry-content a:not(.btn):hover {
	color: var(--ff-warmblack);
	border-bottom-color: var(--ff-warmblack);
}

body.single-post .entry-content blockquote {
	font-size: 22px;
	font-style: italic;
	line-height: 1.55;
	margin: var(--sp-2xl) 0;
	padding-left: var(--sp-lg);
	border-left: 4px solid var(--ff-gold);
	color: var(--ff-warmblack);
}

body.single-post .entry-content img {
	border-radius: var(--radius-md);
}

@media (max-width: 991px) {
	body.single-post .entry-content {
		font-size: 17px !important;
	}

	body.single-post .entry-content p,
	body.single-post .entry-content ul,
	body.single-post .entry-content ol {
		font-size: 17px !important;
	}

	body.single-post .entry-content h2 {
		font-size: 30px !important;
	}

	body.single-post .entry-content h3 {
		font-size: 23px !important;
	}
}


/* ============================================
   8. SINGLE POST — COLOPHON & FOOTER
   ============================================ */

body.single-post .post-colophon {
	margin-top: var(--sp-2xl);
	padding-top: var(--sp-xl);
	border-top: 1px solid rgba(0,0,0,0.08);
}

body.single-post .post-colophon .last-updated {
	font-family: var(--ff-font);
	font-size: 15px;
	font-style: italic;
	color: var(--ff-taupe);
	margin-bottom: var(--sp-sm);
}

body.single-post .post-colophon .disclaimer {
	font-family: var(--ff-font);
	font-size: 12px;
	line-height: 1.65;
	color: var(--ff-taupe);
	opacity: 0.7;
}


/* ============================================
   9. SINGLE POST — POST NAVIGATION
   ============================================ */

body.single-post .entry-footer {
	margin-top: var(--sp-xl);
}

body.single-post .entry-footer .pagination {
	display: flex;
	justify-content: space-between;
	gap: var(--sp-md);
	list-style: none;
	padding: 0;
	margin: 0;
}

body.single-post .entry-footer .page-item a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	background-color: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 999px;
	text-decoration: none;
	color: var(--ff-warmblack);
	font-family: var(--ff-font);
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s;
}

body.single-post .entry-footer .page-item a:hover {
	border-color: var(--ff-gold);
	color: var(--ff-gold);
}

body.single-post .entry-footer .page-item a img {
	width: 18px;
	height: 18px;
}


/* ============================================
   10. RELATED POSTS SECTION
   ============================================ */

.related-posts-section {
	background-color: var(--ff-cream);
	padding: var(--sp-3xl) 0;
	margin-top: var(--sp-3xl);
}

.related-posts-section .section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--sp-xl);
}

.related-posts-section .section-title {
	font-family: var(--ff-font);
	font-size: 30px;
	font-weight: 700;
	color: var(--ff-warmblack);
	letter-spacing: 0;
	margin: 0;
}

.related-posts-section .view-all-link {
	font-family: var(--ff-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--ff-gold);
	text-decoration: none;
	transition: color 0.2s;
}

.related-posts-section .view-all-link:hover {
	color: var(--ff-warmblack);
}

/* Related Post Cards */
.related-post-card {
	background-color: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: var(--shadow-sm);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.related-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.related-post-image {
	position: relative;
	padding-top: 66.67%;
	overflow: hidden;
	background-color: var(--ff-cream);
}

.related-post-image a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.related-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
	transform: scale(1.04);
}

.related-post-content {
	padding: var(--sp-md);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.related-post-title {
	font-family: var(--ff-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	margin-bottom: 10px;
}

.related-post-title a {
	color: var(--ff-warmblack);
	text-decoration: none;
	transition: color 0.2s;
}

.related-post-title a:hover {
	color: var(--ff-gold);
}

.related-post-excerpt {
	font-family: var(--ff-font);
	font-size: 14px;
	line-height: 1.55;
	color: var(--ff-warmblack);
	opacity: 0.65;
	margin-bottom: var(--sp-sm);
	flex: 1;
}

.related-post-content .read-more-link {
	font-family: var(--ff-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--ff-gold);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.2s;
	margin-top: auto;
}

.related-post-content .read-more-link:hover {
	gap: 10px;
}

@media (max-width: 991px) {
	.related-posts-section { padding: var(--sp-2xl) 0; }
	.related-posts-section .section-title { font-size: 24px; }
}


/* ============================================
   11. ARCHIVE PAGE — TITLES
   ============================================ */

.archive-title {
	font-family: var(--ff-font);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ff-warmblack);
	text-align: center;
	margin-bottom: var(--sp-2xl);
}

body.search .archive-title {
	font-size: 36px;
}

@media (max-width: 991px) {
	.archive-title { font-size: 32px; }
}


/* ============================================
   12. AUTHOR ARCHIVE
   ============================================ */

.author-archive-header {
	background-color: var(--ff-cream);
	padding: var(--sp-3xl) 0 var(--sp-2xl);
}

.author-card {
	display: flex;
	gap: var(--sp-xl);
	align-items: flex-start;
}

.author-card .author-avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 3px solid var(--ff-gold);
	flex-shrink: 0;
}

.author-card-info {
	flex: 1;
}

.author-card .author-name {
	font-family: var(--ff-font);
	font-size: 32px;
	font-weight: 700;
	color: var(--ff-warmblack);
	letter-spacing: 0;
	margin-bottom: var(--sp-sm);
}

.author-card .author-bio {
	font-family: var(--ff-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ff-warmblack);
	opacity: 0.8;
	margin-bottom: var(--sp-lg);
}

.author-social-links {
	display: flex;
	gap: 10px;
}

.author-social-links a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: var(--ff-gold);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.2s;
	font-size: 16px;
}

.author-social-links a:hover {
	background-color: var(--ff-warmblack);
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.author-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.author-card .author-avatar {
		width: 100px;
		height: 100px;
	}

	.author-card .author-name { font-size: 26px; }

	.author-social-links {
		justify-content: center;
	}
}


/* ============================================
   13. PAGINATION
   ============================================ */

.blog-pagination {
	padding: var(--sp-xl) 0 var(--sp-2xl);
}

.blog-pagination .pagination.ft-wpbs {
	justify-content: center;
	gap: 4px;
}

.blog-pagination .pagination .page-item .page-link {
	font-family: var(--ff-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--ff-warmblack);
	background-color: #fff;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: var(--radius-sm) !important;
	padding: 8px 14px;
	transition: all 0.2s;
	min-width: 42px;
	text-align: center;
}

.blog-pagination .pagination .page-item .page-link:hover {
	background-color: var(--ff-gold);
	color: #fff;
	border-color: var(--ff-gold);
}

.blog-pagination .pagination .page-item.active .page-link {
	background-color: var(--ff-gold);
	color: #fff;
	border-color: var(--ff-gold);
}


/* ============================================
   14. SUBSCRIBE SECTION TWEAKS
   ============================================ */

body.blog #subscribe h5,
body.single-post #subscribe h5,
body.archive #subscribe h5 {
	font-family: var(--ff-font);
	font-weight: 700;
	letter-spacing: 0;
}


/* ============================================
   15. NO RESULTS
   ============================================ */

.blog-no-results {
	text-align: center;
	padding: var(--sp-3xl) var(--sp-md);
}

.blog-no-results p {
	font-family: var(--ff-font);
	font-size: 18px;
	color: var(--ff-taupe);
}
