/*
 * Jumper Media - Single Post Redesign
 * Scoped to .jpr-single-redesign to avoid conflicts
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --jpr-primary: #145BE1;
    --jpr-accent: #2288FF;
    --jpr-dark: #0A2D6E;
    --jpr-light: #EBF2FF;
    --jpr-bg: #FFFFFF;
    --jpr-text-main: #1A2744;
    --jpr-text-soft: #3D4F6B;
    --jpr-text-muted: #64748B;
    --jpr-border: #EEF2F9;
    --jpr-max-width: 1180px;
}

/* WordPress Container Fixes */
.single-post main {
    margin-top: 0 !important;
}

.single-post .container.wrap {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* With the container padding removed, Bootstrap's .row (-15px margins) overhung the
   viewport and caused a horizontal scrollbar. Zero the row margins and the column padding
   instead of hiding overflow, which would break the sticky share bar and TOC. */
.single-post .wrap.container > .content.row {
    margin-left: 0;
    margin-right: 0;
}

.single-post .content.row > main.main {
    padding-left: 0;
    padding-right: 0;
}

.jpr-single-redesign {
    font-family: 'Manrope', sans-serif;
    background: var(--jpr-bg);
    color: var(--jpr-text-main);
    line-height: 1.6;
}

.jpr-single-redesign * {
    box-sizing: border-box !important;
}

/* ── BREADCRUMBS ── */
.jpr-breadcrumbs {
    padding: 14px 40px;
    border-bottom: 1px solid var(--jpr-border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #94A3B8;
}

.jpr-breadcrumbs a {
    color: var(--jpr-primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.jpr-breadcrumbs .active {
    color: var(--jpr-accent);
    font-weight: 600;
}

.jpr-breadcrumbs .sep {
    color: #CBD5E1;
}

.jpr-breadcrumbs .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

/* ── HERO SECTION ── */
.jpr-post-hero {
    position: relative;
    height: 440px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, #0A2D6E 0%, #145BE1 100%);
}

.jpr-post-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.jpr-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 18, 40, 0.9) 0%, rgba(10, 18, 40, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.jpr-post-hero-bg img {
    width: 100%;
    position: relative;
    top: -50%;
}

.jpr-post-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--jpr-max-width);
    /* margin: 0 auto; */
    padding: 40px 40px 44px;
}

.jpr-post-hero-cat-badge {
    background: var(--jpr-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.jpr-post-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 20px;
    max-width: 860px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.jpr-post-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jpr-post-hero-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
}

.jpr-post-hero-author-info {
    color: #fff;
}

.jpr-post-hero-author-name {
    font-size: 15px;
    font-weight: 700;
}

.jpr-post-hero-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.jpr-post-hero-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── MAIN CONTENT LAYOUT ── */
.jpr-main-layout {
    max-width: 1255px;
    margin: 0 auto;
    padding: 52px 40px 80px;
    display: grid;
    grid-template-columns: 56px 1fr 280px;
    gap: 64px;
}

/* ── LEFT SIDEBAR (SHARE) ── */
.jpr-share-sidebar {
    position: relative;
}

.jpr-share-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.jpr-share-label {
    font-size: 10px;
    font-weight: 700;
    color: #CBD5E1;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.jpr-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--jpr-text-muted);
    text-decoration: none;
}

.jpr-share-btn:hover {
    background: var(--jpr-primary);
    color: #fff;
    border-color: var(--jpr-primary);
}

.jpr-share-btn.fb:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.jpr-share-btn.li:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.jpr-share-btn.tw:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

/* ── ARTICLE BODY ── */
.jpr-article-content {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.jpr-article-content img {
    max-width: 100% !important;
    height: auto;
    border-radius: 8px;
}

.jpr-article-content iframe,
.jpr-article-content video {
    max-width: 100% !important;
}

.jpr-article-content figure {
    margin: 32px 0;
    max-width: 100% !important;
}

.jpr-article-content figure img {
    width: 100%;
}

.jpr-article-content table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
}

/* Social Embeds Reset */
.jpr-article-content .instagram-media,
.jpr-article-content .twitter-tweet,
.jpr-article-content div[id^="instagram-"] {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
}

.jpr-article-content>p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--jpr-text-soft);
    margin-bottom: 24px;
}

/* Stylized First Paragraph */
.jpr-article-content>p:first-of-type {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--jpr-text-main);
    border-left: 4px solid var(--jpr-primary);
    padding-left: 28px;
    margin-bottom: 40px;
}

.jpr-article-content .lead {
    font-size: 22px;
    line-height: 1.6;
    color: var(--jpr-text-main);
    font-weight: 500;
    border-left: 4px solid var(--jpr-primary);
    padding-left: 24px;
    margin-bottom: 32px;
}

.jpr-article-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0F1F3D;
    margin: 48px 0 20px;
    line-height: 1.3;
}

.jpr-article-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 16px;
}

.jpr-article-content blockquote {
    background: var(--jpr-light);
    border-left: 4px solid var(--jpr-primary);
    border-radius: 0 12px 12px 0;
    padding: 28px 32px;
    margin: 40px 0;
}

.jpr-article-content blockquote p {
    font-size: 20px;
    font-weight: 700;
    color: var(--jpr-dark);
    font-style: italic;
    margin-bottom: 12px;
}

.jpr-article-content blockquote cite {
    font-size: 14px;
    color: var(--jpr-text-muted);
    font-style: normal;
    font-weight: 600;
}

.jpr-article-content ul,
.jpr-article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.jpr-article-content li {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--jpr-text-soft);
}

.jpr-article-content strong {
    color: var(--jpr-text-main);
}

/* Ready to Grow CTA Redesign */
.jpr-grow-cta {
    background: linear-gradient(135deg, #0A2D6E 0%, #145BE1 100%);
    border-radius: 20px;
    padding: 40px 20px;
    margin: 64px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff !important;
    gap: 0;
}

.jpr-grow-cta-header {
    max-width: 600px;
}

.jpr-grow-cta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.jpr-grow-cta-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    line-height: 1.3 !important;
    text-transform: capitalize;
}

.jpr-grow-cta-desc {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* Solutions Grid */
.jpr-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 48px;
}

.jpr-solution-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    transition: transform 0.2s;
}

.jpr-solution-card:hover {
    transform: translateY(-4px);
}

.jpr-solution-card-icon {
    background: #EBF2FF;
    color: #145BE1;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.jpr-solution-desc {
    font-size: 14px;
    color: #5A6B8A;
    line-height: 1.4;
    margin: 0 0 10px !important;
}

.jpr-solution-link {
    background: transparent;
    color: #145BE1 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
    margin-top: auto;
}

.jpr-solution-link:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

@media (max-width: 991px) {
    .jpr-solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* Stat Cards */
.jpr-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.jpr-stat-card {
    background: #F8FAFF;
    border: 1px solid #DDEAFE;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.jpr-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--jpr-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.jpr-stat-label {
    font-size: 13px;
    color: var(--jpr-text-muted);
    line-height: 1.5;
}

/* Process Steps */
.jpr-step-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--jpr-border);
}

.jpr-step-number {
    width: 44px;
    height: 44px;
    background: var(--jpr-light);
    color: var(--jpr-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.jpr-step-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.jpr-step-content p {
    font-size: 14px;
    margin: 0;
    color: var(--jpr-text-muted);
}

/* CTA Box */
.jpr-cta-box {
    background: linear-gradient(135deg, var(--jpr-dark) 0%, var(--jpr-primary) 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 56px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    gap: 32px;
}

.jpr-cta-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
}

.jpr-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.jpr-cta-btn {
    background: #fff;
    color: var(--jpr-primary);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

/* Author Card */
.jpr-author-card {
    display: flex;
    gap: 20px;
    background: #FAFBFF;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 14px;
    padding: 28px;
    margin-top: 40px;
}

.jpr-author-card-avatar {
    width: 72px;
    height: 72px !important;
    border-radius: 50% !important;
    border: 3px solid var(--jpr-light);
}

.jpr-author-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--jpr-text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.jpr-author-card-name {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.jpr-author-card-bio {
    font-size: 13px;
    color: var(--jpr-text-soft);
    line-height: 1.6;
    margin: 0 !important;
}

/* Tags/Categories */
.jpr-article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.jpr-tag {
    background: var(--jpr-light);
    color: var(--jpr-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
    text-decoration: none;
}

.jpr-tag:hover {
    background: var(--jpr-primary);
    color: #fff;
}

/* ── RIGHT SIDEBAR (TOC) ── */
.jpr-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.jpr-sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.jpr-toc-widget {
    border: 1px solid var(--jpr-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.jpr-toc-header {
    background: #F8FAFF;
    padding: 14px 20px;
    border-bottom: 1px solid var(--jpr-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--jpr-text-muted);
    text-transform: uppercase;
}

.jpr-toc-list {
    padding: 12px 0;
}

.jpr-toc-item {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--jpr-text-soft);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.jpr-toc-item.active {
    background: var(--jpr-light);
    color: var(--jpr-primary);
    border-left-color: var(--jpr-primary);
    font-weight: 700;
}

.jpr-newsletter-widget {
    background: linear-gradient(135deg, var(--jpr-dark) 0%, var(--jpr-primary) 100%);
    border-radius: 12px;
    padding: 24px 20px;
    color: #fff;
}

.jpr-newsletter-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.jpr-newsletter-widget .title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 21px;
    margin-right: 0;
}

.jpr-newsletter-widget .desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Gravity Forms Overrides for Widget - Stacked Style */
.jpr-newsletter-form-wrapper .gform_wrapper {
    margin: 0;
}

.jpr-newsletter-form-wrapper .gform_heading,
.jpr-newsletter-form-wrapper .gfield_label,
.jpr-newsletter-form-wrapper .validation_error {
    display: none !important;
}

.jpr-newsletter-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 !important;
}

.jpr-newsletter-form-wrapper .gform_body {
    width: 100%;
}

.jpr-newsletter-form-wrapper .gform_fields {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.jpr-newsletter-form-wrapper .gfield {
    margin: 0 !important;
    padding: 0 !important;
}

.jpr-newsletter-form-wrapper input[type="email"],
.jpr-newsletter-form-wrapper input[type="text"] {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 7px !important;
    padding: 10px 12px !important;
    color: #fff !important;
    outline: none !important;
    font-size: 13px !important;
    box-shadow: none !important;
    font-family: inherit;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.jpr-newsletter-form-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.jpr-newsletter-form-wrapper .gform_footer {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    position: relative;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jpr-newsletter-form-wrapper .gform_ajax_spinner {
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Modern CSS Spinner */
.jpr-newsletter-form-wrapper .gform_footer:has(.gform_ajax_spinner)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    margin-top: -11px;
    border: 2px solid rgba(20, 91, 225, 0.15);
    border-top-color: #145BE1;
    border-radius: 50%;
    animation: jpr-spin 0.8s linear infinite;
    z-index: 20;
}

@keyframes jpr-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hide button text while loading */
.jpr-newsletter-form-wrapper .gform_footer:has(.gform_ajax_spinner)::after {
    opacity: 0 !important;
}

div#validation_message_34_1 {
    padding-top: 0px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.gform_confirmation_message {
    text-align: center;
}

.gform_confirmation_message strong {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.5;
}

.jpr-newsletter-form-wrapper input[type="submit"],
.jpr-newsletter-form-wrapper .gform_button {
    background: #fff !important;
    color: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border-radius: 7px !important;
    margin: 0 !important;
    height: 35px !important;
    font-family: inherit;
    width: 100% !important;
    transition: transform 0.2s !important;
}

.jpr-newsletter-form-wrapper input[type="submit"]:hover,
.jpr-newsletter-form-wrapper .gform_button:hover {
    background-color: #FFF !important;
}

.jpr-newsletter-form-wrapper .gform_footer::after {
    content: "Subscribe Free \2192";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #145BE1;
    pointer-events: none;
}

.gform_confirmation_message {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.jpr-reading-time-widget {
    background: #F8FAFF;
    border: 1px solid #DDEAFE;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jpr-reading-time-icon {
    color: var(--jpr-primary);
}

.jpr-reading-time-value {
    font-size: 13px;
    font-weight: 700;
}

.jpr-reading-time-label {
    font-size: 11px;
    color: var(--jpr-text-muted);
}

/* ── RELATED ARTICLES ── */
.jpr-related-section {
    background: #F8FAFF;
    border-top: 1px solid var(--jpr-border);
    padding: 64px 40px 80px;
}

.jpr-related-container {
    max-width: var(--jpr-max-width);
    margin: 0 auto;
}

.jpr-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.jpr-related-title {
    font-size: 24px;
    font-weight: 800 !important;
    line-height: 1.6;
    color: #1A2744;
    text-transform: none;
    margin: 0;
}

.jpr-related-view-all {
    color: var(--jpr-primary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.jpr-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Hide description and author in Related Articles cards */
.jpr-related-grid .jpr-grid-card-excerpt,
.jpr-related-grid .jpr-grid-card-avatar,
.jpr-related-grid .jpr-grid-card-author-name {
    display: none !important;
}

/* Card Styles copied from blog redesign for consistency */
.jpr-grid-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E8EDF6;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jpr-grid-card:hover {
    box-shadow: 0 8px 32px rgba(20, 91, 225, 0.12);
    transform: translateY(-3px);
}

.jpr-grid-card-img-wrap {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.jpr-grid-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jpr-grid-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #145BE1;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.jpr-grid-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jpr-grid-card-title {
    font-size: 15px !important;
    font-weight: 800;
    line-height: 1.45 !important;
    margin: 0 0 10px;
}

.jpr-grid-card-title a {
    color: #0F1F3D;
    text-decoration: none;
}

.jpr-grid-card-excerpt {
    font-size: 13px;
    color: #64748B;
    line-height: 1.65;
    margin: 0 0 18px;
}

.jpr-grid-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jpr-grid-card-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.jpr-grid-card-author-name {
    font-size: 12px;
    font-weight: 700;
    color: #1A2744;
}

.jpr-grid-card-date {
    font-size: 11px;
    color: #94A3B8;
}

.jpr-grid-card-arrow-btn {
    color: #145BE1;
    margin-left: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .jpr-main-layout {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }

    .jpr-share-sidebar {
        display: none;
    }
}

@media (max-width: 850px) {
    .jpr-single-redesign {
        overflow-x: hidden !important;
    }

    .jpr-main-layout {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    /* WP Alignment Resets for Mobile */
    .jpr-article-content .alignleft,
    .jpr-article-content .alignright,
    .jpr-article-content .aligncenter {
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .jpr-sidebar-right {
        display: none;
    }

    .jpr-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .jpr-post-hero-title {
        font-size: 28px;
    }

    .jpr-post-hero {
        height: auto;
    }

    .jpr-post-hero-bg img {
        top: 0px;
        height: 100%;
        width: 100% !important;
        object-fit: cover;
    }

    .jpr-post-hero-content {
        padding: 24px 20px 32px;
    }

    .jpr-post-hero-stats {
        gap: 10px;
        font-size: 10px;
    }

    .jpr-article-content>p:first-of-type {
        font-size: 16px;
        padding-left: 20px;
        margin-bottom: 32px;
    }

    .jpr-article-content h2 {
        font-size: 24px;
        margin: 36px 0 16px;
    }

    .jpr-related-grid {
        grid-template-columns: 1fr;
    }

    .jpr-stats-grid {
        grid-template-columns: 1fr;
    }

    .jpr-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .jpr-tag {
        padding: 5px 10px;
        font-size: 11px;
    }

    .jpr-author-card-avatar {
        height: 72px !important;
    }

    .jpr-breadcrumbs {
        padding: 5px 10px;
        gap: 4px;
        font-size: 11px;
    }

    .jpr-related-section {
        padding: 40px 15px 80px;
    }

    .single-post .container.wrap {
        overflow-x: hidden !important;
    }
}