/* ===== SECTION: Blog Post Hero - Start ===== */
.blog-post-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 60px 0 50px;
    color: var(--white);
    background: linear-gradient(135deg, #91034c 0%, #6b0238 50%, #4a0127 100%);
}
.blog-post-hero-bg {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 0;
}
.blog-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 1, 39, 0.92) 0%, rgba(74, 1, 39, 0.65) 55%, rgba(74, 1, 39, 0.35) 100%);
    z-index: 1;
}
.blog-post-hero.no-image .blog-post-hero-overlay {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.25));
}
.blog-post-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.blog-post-hero-inner {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.blog-post-hero .woocommerce-breadcrumb {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 5px;
}
.blog-post-hero .woocommerce-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}
.blog-post-hero .woocommerce-breadcrumb a:hover {
    color: var(--white);
}
.blog-post-hero .woocommerce-breadcrumb .bread-last {
    color: var(--white) !important;
    font-weight: 500;
}
.blog-post-hero .woocommerce-breadcrumb .bread-arrow svg path {
    stroke: rgba(255, 255, 255, 0.6);
}
.blog-post-hero-cat {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 14px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-small);
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.blog-post-hero-cat:hover {
    background: var(--primary-hover);
    color: var(--white);
}
.blog-post-hero-title {
    color: var(--white);
    margin: 0;
    max-width: 100%;
}
.blog-post-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 5px;
}

@media (max-width: 1279px) {
    .blog-post-hero {
        min-height: 340px;
        padding: 40px 0 35px;
    }
    .blog-post-hero .woocommerce-breadcrumb a,
    .blog-post-hero .woocommerce-breadcrumb .bread-arrow {
        flex-shrink: 0;
    }
    .blog-post-hero .woocommerce-breadcrumb .bread-last {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
@media (max-width: 768px) {
    .blog-post-hero {
        min-height: 280px;
        padding: 30px 0 25px;
    }
    .blog-post-hero-inner {
        gap: 12px;
    }
    .blog-post-hero-meta {
        font-size: 12px;
    }
}
/* ===== SECTION: Blog Post Hero - End ===== */

/* ===== SECTION: Blog Post - Start ===== */
.blog-post-section {
    padding: 60px 0 80px 0;
}

/* Post Content */
.blog-post-section .post-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Post Content Styles */
.blog-post-section .post-content {
    color: var(--black);
    font-size: 16px;
    line-height: 28px;
}

.blog-post-section .post-content h2 {
    font-size: 28px;
    line-height: 36px;
    margin: 50px 0 20px;
}
.blog-post-section .post-content h3 {
    font-size: 22px;
    line-height: 30px;
    margin: 40px 0 15px;
}
.blog-post-section .post-content h4,
.blog-post-section .post-content h5,
.blog-post-section .post-content h6 {
    margin: 30px 0 15px;
}

.blog-post-section .post-content p {
    margin-bottom: 20px;
}

.blog-post-section .post-content ul,
.blog-post-section .post-content ol {
    margin: 15px 0 25px;
    padding-left: 25px;
}
.blog-post-section .post-content li {
    margin-bottom: 10px;
}

.blog-post-section .post-content img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: var(--radius-small);
}

.blog-post-section .post-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: var(--light-gray);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-small);
}

.blog-post-section .post-content strong {
    font-weight: 600;
}

@media (max-width: 1279px) {
    .blog-post-section .post-content h2 { font-size: 24px; line-height: 32px; margin-top: 40px; }
    .blog-post-section .post-content h3 { font-size: 20px; line-height: 28px; margin-top: 30px; }
}
@media (max-width: 768px) {
    .blog-post-section .post-content { font-size: 15px; line-height: 26px; }
    .blog-post-section .post-content h2 { font-size: 22px; line-height: 30px; }
}

/* Post Tags */
.blog-post-section .post-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.blog-post-section .post-tags a {
    display: inline-flex;
    padding: 5px 15px;
    background: var(--light-gray);
    border-radius: var(--radius-max);
    color: var(--black);
    transition: all 0.3s ease;
}

.blog-post-section .post-tags a:hover {
    background: var(--primary);
    color: var(--primary-match);
}

/* Adaptive 1279px */
@media (max-width: 1279px) {
    .blog-post-section {
        padding: 40px 0 50px 0;
    }
}

/* Adaptive 768px */
@media (max-width: 768px) {
    .blog-post-section {
        padding: 30px 0 40px 0;
    }
}
/* ===== SECTION: Blog Post - End ===== */

/* Image Gallery (GLightbox) */
.blog-post-section .post-content .post-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 30px 0;
}
.blog-post-section .post-content .post-gallery br {
	display: none;
}
.blog-post-section .post-content .post-gallery a {
	display: block;
	border-radius: var(--radius-small);
	overflow: hidden;
	aspect-ratio: 1;
}
.blog-post-section .post-content .post-gallery a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	transition: transform 0.3s;
}
.blog-post-section .post-content .post-gallery a:hover img {
	transform: scale(1.05);
}
@media (max-width: 768px) {
	.blog-post-section .post-content .post-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== SECTION: Related Posts - Start ===== */
.related-posts-section {
    padding: 40px 0 80px;
}
.related-posts-section .section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.related-posts-section .section-header-sub {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 22px;
}
.related-posts-section .h2 {
    margin: 0;
}
.related-posts-grid > .post-card-mini:only-child {
    max-width: calc((100% - 2 * var(--blocks-indent)) / 3);
}
.related-posts-grid .post-card-mini {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-posts-grid .post-card-mini .post-image {
    overflow: hidden;
    border-radius: var(--radius-medium);
}
.related-posts-grid .post-card-mini .post-image img {
    transition: transform 0.4s ease;
}
.related-posts-grid .post-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(145, 3, 76, 0.18);
}
.related-posts-grid .post-card-mini:hover .post-image img {
    transform: scale(1.05);
}

@media (max-width: 1279px) {
    .related-posts-section {
        padding: 30px 0 50px;
    }
    .related-posts-section .section-header-row {
        margin-bottom: 20px;
    }
    .related-posts-grid > .post-card-mini:only-child {
        max-width: calc((100% - var(--blocks-indent)) / 2);
    }
}
@media (max-width: 768px) {
    .related-posts-section .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .related-posts-grid > .post-card-mini:only-child {
        max-width: 100%;
    }
}
/* ===== SECTION: Related Posts - End ===== */

/* ===== SECTION: Post Navigation - Start ===== */
.post-nav-section {
    padding: 0 0 60px;
}
.post-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.post-nav-grid > .post-nav-card:only-child {
    grid-column: 1 / -1;
    max-width: 640px;
}
.post-nav-grid > .post-nav-prev:only-child {
    justify-self: start;
}
.post-nav-grid > .post-nav-next:only-child {
    justify-self: end;
}
.post-nav-card {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 110px;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: all 0.3s ease;
}
.post-nav-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 22px rgba(145, 3, 76, 0.14);
    transform: translateY(-3px);
}
.post-nav-empty {
    pointer-events: none;
    visibility: hidden;
}
.post-nav-image {
    flex-shrink: 0;
    width: 140px;
    background-size: cover;
    background-position: center;
    background-color: var(--light-gray);
}
.post-nav-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 18px 22px;
    min-width: 0;
}
.post-nav-next {
    text-align: right;
}
.post-nav-next .post-nav-body {
    align-items: flex-end;
}
.post-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.post-nav-title {
    color: var(--black);
    font-family: var(--font-family-2);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.post-nav-card:hover .post-nav-title {
    color: var(--primary);
}

@media (max-width: 1279px) {
    .post-nav-section {
        padding: 0 0 40px;
    }
    .post-nav-image {
        width: 110px;
    }
    .post-nav-body {
        padding: 15px 18px;
    }
    .post-nav-title {
        font-size: 15px;
        line-height: 20px;
    }
}
@media (max-width: 768px) {
    .post-nav-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .post-nav-card {
        min-height: 90px;
    }
    .post-nav-image {
        width: 90px;
    }
    .post-nav-empty {
        display: none;
    }
}
/* ===== SECTION: Post Navigation - End ===== */