/* ============================================
   BLOG DESIGNER PRO - Frontend Styles
   ============================================ */

/* Reset & Base */
.bdp-blog-wrap, .bdp-single-wrap {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.bdp-blog-wrap *, .bdp-single-wrap * {
    box-sizing: border-box;
}
.bdp-blog-wrap a:focus-visible,
.bdp-single-wrap a:focus-visible,
.bdp-blog-wrap button:focus-visible,
.bdp-single-wrap button:focus-visible {
    outline: 3px solid var(--bdp-primary, #45b192);
    outline-offset: 3px;
}

.bdp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.bdp-page-header {
    margin-bottom: 24px;
}
.bdp-page-title {
    margin: 0;
    color: var(--bdp-section-title-color);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.bdp-breadcrumb {
    background: var(--bdp-breadcrumb-bg);
    padding: 14px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.bdp-breadcrumb .bdp-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
}
.bdp-breadcrumb a {
    color: var(--bdp-breadcrumb-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.bdp-breadcrumb a:hover {
    opacity: 0.7;
}
.bdp-bread-sep {
    color: var(--bdp-breadcrumb-text);
    opacity: 0.5;
}
.bdp-bread-current {
    color: var(--bdp-breadcrumb-text);
    font-weight: 400;
}

/* Single breadcrumb */
.bdp-single-wrap .bdp-breadcrumb {
    background: var(--bdps-breadcrumb-bg);
}
.bdp-single-wrap .bdp-breadcrumb a {
    color: var(--bdps-breadcrumb-color);
}
.bdp-single-wrap .bdp-bread-sep,
.bdp-single-wrap .bdp-bread-current {
    color: var(--bdps-breadcrumb-text);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.bdp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bdp-primary);
}
.bdp-section-title {
    font-size: var(--bdp-section-title-size);
    color: var(--bdp-section-title-color);
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-left: 15px;
}
.bdp-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--bdp-primary);
    border-radius: 2px;
}

/* Slider Nav */
.bdp-slider-nav {
    display: flex;
    gap: 8px;
}
.bdp-slider-nav button {
    width: 38px;
    height: 38px;
    border: 2px solid var(--bdp-primary);
    background: transparent;
    color: var(--bdp-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.bdp-slider-nav button:hover {
    background: var(--bdp-primary);
    color: #fff;
}

/* ============================================
   SLIDER
   ============================================ */
.bdp-latest-slider {
    margin-bottom: 50px;
    padding-bottom: 35px;
}
.bdp-latest-slider .swiper-slide {
    height: auto;
}
.bdp-latest-slider:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}
.bdp-latest-slider:not(.swiper-initialized) .swiper-slide {
    width: auto !important;
}

.bdp-slider-card {
    background: var(--bdp-card-bg);
    border-radius: var(--bdp-card-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bdp-slider-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.bdp-slider-img-wrap img,
.bdp-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.bdp-hover .bdp-slider-img-wrap:hover img {
    transform: scale(1.05);
}

/* ============================================
   CARD STYLES (shared for slider + grid)
   ============================================ */
.bdp-card {
    background: var(--bdp-card-bg);
    border-radius: var(--bdp-card-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.bdp-shadow {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.bdp-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.bdp-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.bdp-card-img-wrap img,
.bdp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.bdp-hover .bdp-card-img-wrap:hover img {
    transform: scale(1.05);
}

/* No Image Placeholder */
.bdp-no-img {
    aspect-ratio: 16/10;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bdp-no-img-sm {
    aspect-ratio: 16/10;
}

/* Category Badge */
.bdp-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bdp-category-bg);
    color: var(--bdp-category-color);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.bdp-cat-inline {
    display: inline-block;
    color: var(--bdp-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* Overlay (Template 2) */
.bdp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: var(--bdp-overlay-color);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    z-index: 1;
}
.bdp-overlay .bdp-card-title a {
    color: #fff !important;
}
.bdp-overlay .bdp-card-meta {
    color: rgba(255,255,255,0.8) !important;
}
.bdp-overlay .bdp-card-meta span {
    color: rgba(255,255,255,0.8) !important;
}

/* Card Body */
.bdp-card-body {
    padding: var(--bdp-card-padding);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bdp-card-title {
    font-size: var(--bdp-heading-size);
    margin: 0 0 10px;
    line-height: 1.35;
    font-weight: 700;
}
.bdp-card-title a {
    color: var(--bdp-heading-color);
    text-decoration: none;
    transition: color 0.2s;
}
.bdp-card-title a:hover {
    color: var(--bdp-primary);
}
.bdp-card-title,
.bdp-card-title a,
.bdp-card-excerpt {
    overflow-wrap: anywhere;
}

.bdp-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    font-size: var(--bdp-meta-size);
    color: var(--bdp-meta-color);
}
.bdp-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--bdp-meta-color);
}
.bdp-card-meta svg {
    flex-shrink: 0;
}

.bdp-card-excerpt {
    font-size: var(--bdp-text-size);
    color: var(--bdp-text-color);
    line-height: 1.65;
    margin: 0 0 14px;
    flex: 1;
}

/* Post tags on blog cards */
.bdp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}
.bdp-card-tags a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 3px 9px;
    border: 1px solid var(--bdp-primary);
    border-radius: 999px;
    color: var(--bdp-primary);
    background: rgba(69,177,146,0.08);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.bdp-card-tags a:hover {
    color: #fff;
    background: var(--bdp-primary);
}
.bdp-overlay .bdp-card-tags a {
    color: #fff;
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.12);
}

.bdp-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--bdp-readmore-size);
    font-weight: 600;
    color: var(--bdp-readmore-color);
    background: var(--bdp-readmore-bg);
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    align-self: flex-start;
}
.bdp-readmore:hover {
    opacity: 0.85;
    transform: translateX(3px);
}

/* ============================================
   BLOG GRID
   ============================================ */
.bdp-blog-grid {
    display: grid;
    gap: var(--bdp-card-margin);
    margin-bottom: 40px;
}
.bdp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.bdp-blog-item {
    display: flex;
    min-width: 0;
}

/* ============================================
   PAGINATION
   ============================================ */
.bdp-pagination {
    text-align: center;
    padding: 20px 0 40px;
}
.bdp-pagination ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.bdp-pagination li {
    display: inline-block;
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.bdp-pagination li::before,
.bdp-pagination li::marker {
    content: none !important;
    display: none !important;
}
.bdp-pagination li a,
.bdp-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    color: #555;
    background: #fff;
}
.bdp-pagination li a:hover {
    background: var(--bdp-pagination-color);
    color: #fff;
    border-color: var(--bdp-pagination-color);
}
.bdp-pagination li .current {
    background: var(--bdp-pagination-color);
    color: #fff;
    border-color: var(--bdp-pagination-color);
}

.bdp-no-posts {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #888;
}

/* Slider Pagination */
.bdp-slider-pagination {
    text-align: center;
    margin-top: 15px;
}
.bdp-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--bdp-primary);
    opacity: 0.3;
}
.bdp-slider-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ============================================
   TEMPLATE 1 - Classic Card (default above)
   ============================================ */

/* ============================================
   TEMPLATE 2 - Overlay Style
   ============================================ */
.bdp-template-2 .bdp-card-img-wrap {
    aspect-ratio: 16/11;
}
.bdp-template-2 .bdp-slider-img-wrap {
    aspect-ratio: 16/9;
}
.bdp-template-2 .bdp-card {
    border-radius: var(--bdp-card-radius);
}

/* ============================================
   TEMPLATE 3 - Minimal Clean
   ============================================ */
.bdp-template-3 .bdp-card {
    background: transparent;
    box-shadow: none !important;
    border-bottom: 1px solid #eee;
    border-radius: 0;
}
.bdp-template-3 .bdp-card-img-wrap {
    border-radius: var(--bdp-card-radius);
    overflow: hidden;
}
.bdp-template-3 .bdp-readmore {
    background: transparent;
    color: var(--bdp-primary);
    padding: 0;
    font-weight: 600;
}
.bdp-template-3 .bdp-slider-card {
    background: transparent;
    box-shadow: none !important;
}
.bdp-template-3 .bdp-section-header {
    border-bottom-color: #eee;
}

/* ============================================
   TEMPLATE 4 - Magazine Grid
   ============================================ */
.bdp-template-4 .bdp-card {
    border: 1px solid #e8e8e8;
}
.bdp-template-4 .bdp-card-body {
    border-top: 3px solid var(--bdp-primary);
}
.bdp-template-4 .bdp-readmore {
    border-radius: 4px;
}
.bdp-template-4 .bdp-section-title::before {
    width: 6px;
    border-radius: 0;
}

/* ============================================
   TEMPLATE 5 - Modern Boxed
   ============================================ */
.bdp-template-5 .bdp-card {
    border: none;
    background: var(--bdp-card-bg);
    border-radius: 16px;
}
.bdp-template-5 .bdp-card-img-wrap {
    margin: 10px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.bdp-template-5 .bdp-slider-card {
    border-radius: 16px;
}
.bdp-template-5 .bdp-slider-img-wrap {
    margin: 10px;
    border-radius: 12px;
}
.bdp-template-5 .bdp-readmore {
    border-radius: 8px;
}
.bdp-template-5 .bdp-cat-badge {
    top: 22px;
    left: 22px;
}
.bdp-template-5 .bdp-section-title {
    padding-left: 0;
}
.bdp-template-5 .bdp-section-title::before {
    display: none;
}
.bdp-template-5 .bdp-section-header {
    border-bottom: none;
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .bdp-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bdp-grid-4 {
        grid-template-columns: repeat(var(--bdp-mobile-columns), minmax(0, 1fr));
    }
    .bdp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .bdp-section-title {
        font-size: 22px !important;
    }
    .bdp-container {
        padding: 0 15px;
    }
    .bdp-breadcrumb {
        margin-bottom: 20px;
    }
    .bdp-latest-slider:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .bdp-grid-4 {
        grid-template-columns: repeat(var(--bdp-mobile-columns), minmax(0, 1fr));
        gap: 10px;
    }
    .bdp-card-body {
        padding: 12px;
    }
    .bdp-latest-slider:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   PART 2 - SINGLE POST STYLES
   ============================================ */

.bdp-single-wrap {
    background: var(--bdps-bg);
    padding-bottom: 60px;
}

/* ============================================
   SINGLE - HERO / HEADER
   ============================================ */
.bdp-single-header {
    max-width: var(--bdps-content-max-width);
    margin: 0 auto;
    padding: 0 var(--bdps-content-padding);
}
.bdp-single-header-standard {
    padding-top: 20px;
}
.bdp-single-header-centered {
    padding-top: 30px;
    text-align: center;
}
.bdp-single-header-centered .bdp-single-meta {
    justify-content: center;
}

.bdp-single-title {
    font-size: var(--bdps-title-size);
    color: var(--bdps-title-color);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 18px;
}

.bdp-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    font-size: var(--bdps-meta-size);
    color: var(--bdps-meta-color);
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}
.bdp-single-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.bdp-single-meta a {
    color: var(--bdps-primary);
    text-decoration: none;
}
.bdp-single-meta svg {
    flex-shrink: 0;
}

/* Featured Image */
.bdp-single-featured {
    max-width: var(--bdps-content-max-width);
    margin: 0 auto 30px;
    padding: 0 var(--bdps-content-padding);
}
.bdp-single-featured img {
    width: 100%;
    height: auto;
    border-radius: var(--bdps-img-radius);
    display: block;
}

/* Full-width hero image (Template 2) */
.bdp-single-hero-full {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}
.bdp-single-hero-full img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.bdp-single-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.bdp-single-hero-overlay .bdp-single-title {
    color: #fff;
    max-width: var(--bdps-content-max-width);
    margin: 0 auto 10px;
}
.bdp-single-hero-overlay .bdp-single-meta {
    max-width: var(--bdps-content-max-width);
    margin: 0 auto;
    color: rgba(255,255,255,0.85);
    border-bottom: none;
    padding-bottom: 0;
}
.bdp-single-hero-overlay .bdp-single-meta a {
    color: #fff;
}

/* ============================================
   CONTENT AREA
   ============================================ */
.bdp-single-content {
    max-width: var(--bdps-content-max-width);
    margin: 0 auto;
    padding: 0 var(--bdps-content-padding);
}

/* Paragraph */
.bdp-single-content p {
    font-size: var(--bdps-text-size);
    color: var(--bdps-text-color);
    line-height: var(--bdps-p-line-height);
    margin-bottom: var(--bdps-p-margin-bottom);
}

/* Links */
.bdp-single-content a {
    color: var(--bdps-link-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}
.bdp-single-content a:hover {
    opacity: 0.7;
}

/* Headings */
.bdp-single-content h1 {
    font-size: var(--bdps-h1-size);
    color: var(--bdps-h1-color);
    font-weight: 800;
    margin: 40px 0 18px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
}
.bdp-single-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--bdps-primary);
    border-radius: 2px;
}

.bdp-single-content h2 {
    font-size: var(--bdps-h2-size);
    color: var(--bdps-h2-color);
    font-weight: 700;
    margin: 35px 0 15px;
    line-height: 1.35;
    padding-left: 15px;
    border-left: 4px solid var(--bdps-primary);
}

.bdp-single-content h3 {
    font-size: var(--bdps-h3-size);
    color: var(--bdps-h3-color);
    font-weight: 700;
    margin: 30px 0 12px;
    line-height: 1.4;
}

.bdp-single-content h4 {
    font-size: var(--bdps-h4-size);
    color: var(--bdps-h4-color);
    font-weight: 600;
    margin: 25px 0 10px;
    line-height: 1.4;
}

.bdp-single-content h5 {
    font-size: var(--bdps-h5-size);
    color: var(--bdps-h5-color);
    font-weight: 600;
    margin: 22px 0 8px;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bdp-single-content h6 {
    font-size: var(--bdps-h6-size);
    color: var(--bdps-h6-color);
    font-weight: 600;
    margin: 20px 0 8px;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blockquote */
.bdp-single-content blockquote {
    background: var(--bdps-bq-bg);
    border-left: 5px solid var(--bdps-bq-border);
    margin: 30px 0;
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
    font-size: var(--bdps-bq-size);
    color: var(--bdps-bq-color);
    font-style: italic;
    line-height: 1.6;
    position: relative;
}
.bdp-single-content blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--bdps-bq-border);
    position: absolute;
    top: -5px;
    left: 15px;
    opacity: 0.3;
    font-family: Georgia, serif;
}
.bdp-single-content blockquote p {
    margin-bottom: 0;
    font-size: inherit;
    color: inherit;
}
.bdp-single-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: var(--bdps-primary);
}

/* Lists */
.bdp-single-content ul,
.bdp-single-content ol {
    font-size: var(--bdps-list-size);
    color: var(--bdps-list-color);
    line-height: 1.8;
    margin: 15px 0 25px;
    padding-left: 1.6em;
}
.bdp-single-content ul {
    list-style: disc outside !important;
}
.bdp-single-content ol {
    list-style: decimal outside !important;
}
.bdp-single-content ul li,
.bdp-single-content ol li {
    display: list-item;
    list-style: inherit;
    margin-bottom: 8px;
    padding-left: 5px;
}
.bdp-single-content ul li::before,
.bdp-single-content ol li::before {
    content: none !important;
    display: none !important;
}
.bdp-single-content li > ul,
.bdp-single-content li > ol {
    margin: 8px 0 0;
}
.bdp-single-content ul li::marker {
    color: var(--bdps-primary);
}
.bdp-single-content ol li::marker {
    color: var(--bdps-primary);
    font-weight: 700;
}

/* Code */
.bdp-single-content code {
    background: var(--bdps-code-bg);
    color: var(--bdps-code-color);
    font-size: var(--bdps-code-size);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, monospace;
}
.bdp-single-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 25px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 25px 0;
    font-size: var(--bdps-code-size);
    line-height: 1.6;
}
.bdp-single-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* Table */
.bdp-single-content table {
    display: table;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: var(--bdps-text-size);
    border-radius: 8px;
    box-sizing: border-box;
}
.bdp-single-content .wp-block-table {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible;
    box-sizing: border-box;
}
.bdp-single-content table th {
    background: var(--bdps-table-header-bg);
    color: var(--bdps-table-header-color);
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.bdp-single-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--bdps-table-border);
    color: var(--bdps-text-color);
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.bdp-single-content table tr:nth-child(even) td {
    background: rgba(0,0,0,0.02);
}

/* Images */
.bdp-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bdps-img-radius);
    margin: 15px 0;
}
.bdp-single-content iframe,
.bdp-single-content video,
.bdp-single-content embed {
    max-width: 100%;
}

/* Figure */
.bdp-single-content figure {
    margin: 25px 0;
}
.bdp-single-content figcaption {
    text-align: center;
    font-size: 13px;
    color: var(--bdps-meta-color);
    margin-top: 8px;
    font-style: italic;
}

/* HR */
.bdp-single-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--bdps-primary), transparent);
    margin: 40px 0;
}

/* Strong / Em */
.bdp-single-content strong {
    font-weight: 700;
    color: var(--bdps-h3-color);
}

/* ============================================
   TAGS
   ============================================ */
.bdp-single-tags {
    max-width: var(--bdps-content-max-width);
    margin: 30px auto;
    padding: 0 var(--bdps-content-padding);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.bdp-single-tags .bdp-tag-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--bdps-text-color);
    margin-right: 5px;
}
.bdp-single-tags a {
    display: inline-block;
    background: var(--bdps-tag-bg);
    color: var(--bdps-tag-color);
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    overflow-wrap: anywhere;
}
.bdp-single-tags a:hover {
    opacity: 0.8;
}

/* ============================================
   SHARE BUTTONS
   ============================================ */
.bdp-share-buttons {
    max-width: var(--bdps-content-max-width);
    margin: 25px auto;
    padding: 20px var(--bdps-content-padding);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.bdp-share-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--bdps-text-color);
}
.bdp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: transform 0.2s, opacity 0.2s;
}
.bdp-share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
.bdp-share-fb { background: #1877f2; }
.bdp-share-tw { background: #1da1f2; }
.bdp-share-li { background: #0a66c2; }
.bdp-share-wa { background: #25d366; }
.bdp-share-pi { background: #e60023; }

/* ============================================
   POST NAVIGATION
   ============================================ */
.bdp-post-nav {
    max-width: var(--bdps-content-max-width);
    margin: 35px auto;
    padding: 0 var(--bdps-content-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.bdp-post-nav-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #eee;
}
.bdp-post-nav-item:hover {
    border-color: var(--bdps-primary);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.bdp-post-nav-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bdps-primary);
    font-weight: 600;
    margin-bottom: 6px;
}
.bdp-post-nav-title {
    font-size: 15px;
    color: var(--bdps-text-color);
    font-weight: 600;
    line-height: 1.4;
}
.bdp-post-nav-item.bdp-nav-next {
    text-align: right;
}

/* ============================================
   RELATED POSTS
   ============================================ */
.bdp-related-posts {
    max-width: var(--bdps-content-max-width);
    margin: 50px auto;
    padding: 0 var(--bdps-content-padding);
}
.bdp-related-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--bdps-title-color);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bdps-primary);
    position: relative;
    padding-left: 15px;
}
.bdp-related-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--bdps-primary);
    border-radius: 2px;
}
.bdp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bdp-related-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.bdp-related-card,
.bdp-post-nav-item {
    min-width: 0;
}
.bdp-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.bdp-related-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.bdp-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
    margin: 0;
    border-radius: 0;
}
.bdp-related-card:hover .bdp-related-card-img img {
    transform: scale(1.05);
}
.bdp-related-card-body {
    padding: 16px;
}
.bdp-related-card-body h4 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}
.bdp-related-card-body h4 a {
    color: var(--bdps-title-color);
    text-decoration: none;
}
.bdp-related-card-body h4 a:hover {
    color: var(--bdps-primary);
}
.bdp-related-card-date {
    font-size: 12px;
    color: var(--bdps-meta-color);
}

/* ============================================
   SINGLE TEMPLATE VARIATIONS
   ============================================ */

/* Template 2 - Full Width Hero */
.bdp-single-tpl-2 .bdp-single-header {
    text-align: center;
}
.bdp-single-tpl-2 .bdp-single-meta {
    justify-content: center;
}

/* Template 3 - Minimal */
.bdp-single-tpl-3 .bdp-single-content h2 {
    border-left: none;
    padding-left: 0;
}
.bdp-single-tpl-3 .bdp-single-content h1::after {
    display: none;
}
.bdp-single-tpl-3 .bdp-related-title::before {
    display: none;
}
.bdp-single-tpl-3 .bdp-related-title {
    padding-left: 0;
}

/* Template 4 - Magazine */
.bdp-single-tpl-4 .bdp-single-title {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--bdps-primary);
    margin-bottom: 20px;
}
.bdp-single-tpl-4 .bdp-single-meta {
    justify-content: center;
    border-bottom: none;
}
.bdp-single-tpl-4 .bdp-single-content h2 {
    border-left: none;
    padding-left: 0;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bdps-primary);
}
.bdp-single-tpl-4 .bdp-single-content h1::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Template 5 - Boxed Elegant */
.bdp-single-tpl-5 .bdp-single-header,
.bdp-single-tpl-5 .bdp-single-featured,
.bdp-single-tpl-5 .bdp-single-content,
.bdp-single-tpl-5 .bdp-single-tags,
.bdp-single-tpl-5 .bdp-share-buttons,
.bdp-single-tpl-5 .bdp-post-nav,
.bdp-single-tpl-5 .bdp-related-posts {
    background: #fff;
    border-radius: 12px;
    padding-top: 30px;
    padding-bottom: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.bdp-single-tpl-5 {
    background: #f5f5f5;
}

/* Author Box */
.bdp-author-box {
    max-width: var(--bdps-content-max-width);
    margin: 30px auto;
    padding: 25px var(--bdps-content-padding);
    display: flex;
    gap: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}
.bdp-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.bdp-author-info {
    flex: 1;
}
.bdp-author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bdps-title-color);
    margin: 0 0 6px;
}
.bdp-author-bio {
    font-size: 14px;
    color: var(--bdps-text-color);
    line-height: 1.6;
    margin: 0;
}

/* Comments use structural lists; remove theme-injected bullets/dots. */
.bdp-single-comments {
    max-width: var(--bdps-content-max-width);
    margin: 40px auto;
    padding: 0 var(--bdps-content-padding);
}
.bdp-single-comments .comment-list,
.bdp-single-comments .children {
    list-style: none !important;
    margin-left: 0;
}
.bdp-single-comments .comment-list {
    padding-left: 0;
}
.bdp-single-comments .children {
    padding-left: clamp(14px, 4vw, 32px);
}
.bdp-single-comments .comment-list li::before,
.bdp-single-comments .children li::before,
.bdp-single-comments .comment-list li::marker,
.bdp-single-comments .children li::marker {
    content: none !important;
    display: none !important;
}

/* Reading Time */
.bdp-reading-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* TOC */
.bdp-toc {
    max-width: var(--bdps-content-max-width);
    margin: 0 auto 30px;
    padding: 20px var(--bdps-content-padding);
}
.bdp-toc-box {
    background: #f8faf9;
    border: 1px solid #e0e8e4;
    border-radius: 10px;
    padding: 20px 25px;
}
.bdp-toc-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--bdps-title-color);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bdp-toc-box ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: decimal;
}
.bdp-toc-box li {
    margin-bottom: 6px;
    font-size: 14px;
}
.bdp-toc-box a {
    color: var(--bdps-primary);
    text-decoration: none;
    font-weight: 500;
}
.bdp-toc-box a:hover {
    text-decoration: underline;
}

/* ============================================
   SINGLE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .bdp-single-hero-full,
    .bdp-single-hero-full img {
        max-height: 280px;
        height: 280px;
    }
    .bdp-single-hero-overlay {
        padding: 20px;
    }
    .bdp-post-nav {
        grid-template-columns: 1fr;
    }
    .bdp-related-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bdp-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .bdp-share-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bdp-related-grid {
        grid-template-columns: 1fr;
    }
}

/* HRP lightweight native replacement for the external Swiper runtime. */
.bdp-latest-slider.hrp-native-slider {
    overflow: hidden;
    --hrp-slider-gap: 25px;
    --hrp-slider-columns: 3;
}
.bdp-latest-slider.hrp-native-slider .swiper-wrapper {
    display: flex;
    gap: var(--hrp-slider-gap);
    transform: translate3d(0,0,0);
    will-change: transform;
}
.bdp-latest-slider.hrp-native-slider .swiper-slide {
    flex: 0 0 calc((100% - (var(--hrp-slider-gap) * (var(--hrp-slider-columns) - 1))) / var(--hrp-slider-columns));
    min-width: 0;
}
.bdp-slider-pagination .swiper-pagination-bullet {
    border: 0;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
}
.bdp-slider-nav button:disabled {
    opacity: .45;
    cursor: default;
}
@media (max-width: 1023px) {
    .bdp-latest-slider.hrp-native-slider {
        --hrp-slider-gap: 20px;
        --hrp-slider-columns: 2;
    }
}
@media (max-width: 639px) {
    .bdp-latest-slider.hrp-native-slider {
        --hrp-slider-columns: 1;
    }
}

/* v3.4 blog layout, sidebar, brand links and comments. */
.bdp-container{max-width:1520px!important}
.bdp-blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px;align-items:start;margin-bottom:54px}
.bdp-blog-main{min-width:0}
.bdp-blog-layout .bdp-blog-grid.bdp-grid-4{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bdp-blog-sidebar{display:grid;gap:18px;position:sticky;top:105px}
.bdp-sidebar-card{padding:21px;border:1px solid #dcebe7;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(24,64,55,.07)}
.bdp-sidebar-card h2{margin:0 0 15px!important;padding-bottom:11px;border-bottom:1px solid #e7f1ee;color:#172f29!important;font-size:19px!important;line-height:1.25!important}
.bdp-sidebar-card h2::after{content:'';display:block;width:48px;height:2px;margin:11px 0 -12px;border-radius:99px;background:#45b192}
.bdp-sidebar-search__field{display:flex;align-items:center;overflow:hidden;border:1px solid #d6e7e1;border-radius:11px;background:#fbfefd}
.bdp-sidebar-search__field:focus-within{border-color:#45b192;box-shadow:0 0 0 3px rgba(69,177,146,.12)}
.bdp-sidebar-search input[type=search]{min-width:0;flex:1;height:47px;padding:0 13px;border:0!important;background:transparent!important;box-shadow:none!important;color:#334a43;font:inherit}
.bdp-sidebar-search button{display:flex;align-items:center;justify-content:center;width:48px;height:47px;border:0;background:#45b192;color:#fff;cursor:pointer}
.bdp-sidebar-categories{max-height:360px;margin:0!important;padding:0 5px 0 0!important;overflow:auto;list-style:none!important}
.bdp-sidebar-categories li{margin:0!important;padding:0!important;list-style:none!important}
.bdp-sidebar-categories li::before,.bdp-sidebar-categories li::marker{display:none!important;content:none!important}
.bdp-sidebar-categories a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;border-bottom:1px solid #edf3f1;color:#2e4a42!important;text-decoration:none!important;font-size:14px;font-weight:650}
.bdp-sidebar-categories a:hover{color:#218f73!important}
.bdp-sidebar-categories small{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:23px;padding:0 7px;border-radius:99px;background:#eff8f5;color:#218f73;font-size:11px;font-weight:800}
.bdp-sidebar-recent{display:grid;gap:13px}
.bdp-sidebar-recent article{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding-bottom:13px;border-bottom:1px solid #edf3f1}
.bdp-sidebar-recent article:last-child{padding-bottom:0;border-bottom:0}
.bdp-sidebar-recent__image{display:flex;align-items:center;justify-content:center;width:76px;height:64px;overflow:hidden;border-radius:9px;background:#edf8f4;color:#218f73!important;font-size:13px;font-weight:800;text-decoration:none!important}
.bdp-sidebar-recent__image img{width:100%!important;height:100%!important;object-fit:cover!important}
.bdp-sidebar-recent h3{margin:0 0 4px!important;font-size:14px!important;line-height:1.35!important}
.bdp-sidebar-recent h3 a{color:#253d36!important;text-decoration:none!important}
.bdp-sidebar-recent h3 a:hover{color:#218f73!important}
.bdp-sidebar-recent time{color:#7a8a85;font-size:11px}
.bdp-no-posts{padding:34px;border:1px solid #dcebe7;border-radius:16px;background:#f8fcfb}
.bdp-no-posts h2{margin:0 0 6px;color:#243d36;font-size:22px}
.bdp-single-content a:not(.bdp-share-btn){color:#218f73!important;text-decoration-color:rgba(33,143,115,.4)!important;text-underline-offset:3px}
.bdp-single-content a:not(.bdp-share-btn):hover{color:#126d58!important}

/* Replace the raw browser comment form with the same form system as the shop. */
.bdp-single-comments #respond{padding:25px!important;border:1px solid #dcebe7!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 28px rgba(24,64,55,.07)!important}
.bdp-single-comments #respond .comment-reply-title{margin:0 0 10px!important;color:#203b33!important;font-size:23px!important}
.bdp-single-comments #respond .must-log-in{margin:0!important;padding:14px 15px!important;border:1px solid #cfe7df!important;border-radius:10px!important;background:#f1faf7!important;color:#50625c!important;line-height:1.6!important}
.bdp-single-comments #respond .must-log-in a{color:#218f73!important;font-weight:800!important}
.bdp-single-comments #respond .comment-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.bdp-single-comments #respond .comment-form-comment,.bdp-single-comments #respond .comment-notes,.bdp-single-comments #respond .logged-in-as,.bdp-single-comments #respond .comment-form-cookies-consent,.bdp-single-comments #respond .form-submit{grid-column:1/-1!important}
.bdp-single-comments #respond label{display:block!important;margin:0 0 6px!important;color:#334b44!important;font-size:14px!important;font-weight:700!important}
.bdp-single-comments #respond input[type=text],.bdp-single-comments #respond input[type=email],.bdp-single-comments #respond input[type=url],.bdp-single-comments #respond textarea{width:100%!important;box-sizing:border-box!important;padding:12px 14px!important;border:1px solid #d4e5df!important;border-radius:10px!important;background:#fbfefd!important;color:#2a3d37!important;font:inherit!important}
.bdp-single-comments #respond textarea{min-height:150px!important;resize:vertical!important}
.bdp-single-comments #respond input:focus,.bdp-single-comments #respond textarea:focus{outline:3px solid rgba(69,177,146,.14)!important;border-color:#45b192!important;background:#fff!important}
.bdp-single-comments #respond input[type=submit]{min-height:45px!important;padding:11px 20px!important;border:0!important;border-radius:10px!important;background:#45b192!important;color:#fff!important;font:inherit!important;font-weight:800!important;cursor:pointer!important}

@media(max-width:1100px){.bdp-blog-layout{grid-template-columns:minmax(0,1fr) 285px;gap:22px}.bdp-blog-layout .bdp-blog-grid.bdp-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.bdp-blog-layout{grid-template-columns:1fr}.bdp-blog-sidebar{position:static;grid-template-columns:1fr 1fr}.bdp-sidebar-search{grid-column:1/-1}}
@media(max-width:600px){.bdp-container{padding:0 12px!important}.bdp-blog-layout{gap:18px}.bdp-blog-sidebar{grid-template-columns:1fr}.bdp-sidebar-search{grid-column:auto}.bdp-blog-layout .bdp-blog-grid.bdp-grid-4{grid-template-columns:repeat(var(--bdp-mobile-columns,2),minmax(0,1fr))}.bdp-single-comments #respond .comment-form{grid-template-columns:1fr!important}.bdp-single-comments #respond .comment-form>p{grid-column:1/-1!important}}
