/* ==========================================================================
   JanmPatrika.com — Standalone Responsive Stylesheet
   Unified Vedic Saffron (#D94E04), Warm Gold (#FFEA9F), Deep Maroon (#7A1C1C)
   ========================================================================== */

:root {
    --jp-font: "Plus Jakarta Sans", "Noto Sans Devanagari", "Segoe UI", system-ui, -apple-system, sans-serif;
    --jp-saffron: #d94e04;
    --jp-saffron-dark: #b33e00;
    --jp-maroon: #7a1c1c;
    --jp-gold-bg: #fff3c4;
    --jp-gold-border: #ebd17a;
    --jp-cream: #faf5eb;
    --jp-card-bg: #ffffff;
    --jp-ink: #231b15;
    --jp-muted: #635549;
    --jp-border: #eadbc5;
    --jp-shadow: 0 6px 20px rgba(35, 27, 21, 0.07);
    --jp-shadow-hover: 0 12px 28px rgba(217, 78, 4, 0.14);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    background-color: #ffffff;
    color: var(--jp-ink);
    font-family: var(--jp-font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
button, input, select, textarea,
.jp-btn, .wp-element-button, .wp-block-button__link {
    font-family: var(--jp-font);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--jp-ink);
    line-height: 1.28;
    font-weight: 700;
    margin-top: 0;
}

a {
    color: var(--jp-saffron-dark);
    transition: color 0.18s ease;
}

a:hover {
    color: var(--jp-maroon);
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0 0 1rem 0;
}

/* ==========================================================================
   Buttons & WordPress Block Compatibility
   ========================================================================== */
.jp-btn,
.wp-element-button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--jp-saffron);
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 11px 26px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.jp-btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
    background-color: var(--jp-saffron-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
}

.wp-block-buttons.is-content-justification-center {
    justify-content: center;
}

.aligncenter,
.has-text-align-center {
    text-align: center;
}

.wp-block-image.aligncenter img,
figure.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

figure.wp-block-image.is-resized img {
    max-width: 100% !important;
    height: auto !important;
}

.has-small-font-size { font-size: 0.88rem; }
.has-medium-font-size { font-size: 1.05rem; }
.has-large-font-size { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.has-x-large-font-size { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.has-xx-large-font-size { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.wp-block-columns {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    margin-bottom: 24px;
}

.wp-block-column {
    flex: 1 1 0;
    min-width: 0;
}

.wp-block-column.is-vertically-aligned-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 781px) {
    .wp-block-columns {
        flex-wrap: wrap;
    }
    .wp-block-column {
        flex-basis: 100% !important;
    }
}

.wp-block-media-text {
    display: grid;
    grid-template-columns: 28% minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border: 1px solid var(--jp-border);
    border-radius: 16px;
    padding: clamp(14px, 2.5vw, 24px);
    margin-bottom: 20px;
    box-shadow: var(--jp-shadow);
}

.wp-block-media-text__media img {
    border-radius: 12px;
    width: 100% !important;
    height: auto !important;
    display: block;
}

.wp-block-media-text__content {
    min-width: 0;
}

@media (max-width: 767px) {
    .wp-block-media-text {
        grid-template-columns: 100% !important;
    }
}

.wp-block-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 24px;
    border-radius: 16px;
    overflow: hidden;
}

.wp-block-cover__image-background {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
}

.wp-block-cover__background {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: var(--jp-gold-bg) !important;
}

.wp-block-cover__inner-container {
    position: relative;
    z-index: 3;
}

.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.wp-block-gallery .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.wp-block-separator {
    border: 0;
    border-top: 1px solid var(--jp-border);
    margin: 24px 0;
}

.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 10px;
    border: 1px solid var(--jp-border);
}

.wp-block-table table {
    width: 100%;
    min-width: 300px;
    border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
    padding: 10px 14px;
    border: 1px solid var(--jp-border);
    vertical-align: top;
}

.wp-block-table thead td,
.wp-block-table thead th {
    background: var(--jp-cream);
    font-weight: 700;
}

.wp-block-embed {
    margin: 20px 0;
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.is-style-section-3 {
    background-color: var(--jp-cream) !important;
    color: var(--jp-ink) !important;
    border-radius: 16px;
    padding: 28px 20px;
}

/* ==========================================================================
   Sticky Responsive Header (Centered Brand)
   ========================================================================== */
.jp-header-wrap {
    position: sticky;
    top: 0;
    z-index: 900;
    background: linear-gradient(90deg, #fff8dc 0%, #ffea9f 50%, #fff8dc 100%);
    border-bottom: 1px solid var(--jp-gold-border);
    box-shadow: 0 2px 12px rgba(35, 27, 21, 0.06);
}

.jp-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px clamp(12px, 2.5vw, 28px);
    display: grid;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    align-items: center;
    gap: 12px;
}

.jp-logo-wrap {
    justify-self: start;
    display: flex;
    align-items: center;
}

.jp-logo-link {
    display: inline-flex;
    align-items: center;
}

.jp-logo-link img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.jp-brand-banner {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.jp-brand-banner img {
    height: 44px;
    width: 210px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.jp-nav-wrap {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.jp-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px 10px;
}

.jp-nav-item {
    position: relative;
}

.jp-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--jp-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jp-nav-link:hover,
.jp-nav-link:focus-visible {
    background-color: rgba(217, 78, 4, 0.1);
    color: var(--jp-saffron-dark);
    outline: none;
}

.jp-nav-caret {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.jp-submenu {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid var(--jp-border);
    border-radius: 12px;
    box-shadow: var(--jp-shadow);
    display: none;
    z-index: 960;
}

.jp-nav-item--has-children:hover > .jp-submenu,
.jp-nav-item--has-children:focus-within > .jp-submenu,
.jp-nav-item--has-children.is-open > .jp-submenu {
    display: block;
}

.jp-nav-item--has-children:hover > .jp-nav-link .jp-nav-caret,
.jp-nav-item--has-children.is-open > .jp-nav-link .jp-nav-caret {
    transform: rotate(180deg);
}

.jp-submenu a {
    display: block;
    padding: 8px 16px;
    color: var(--jp-ink);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    white-space: normal;
}

.jp-submenu a:hover {
    background-color: var(--jp-cream);
    color: var(--jp-saffron);
}

.jp-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--jp-gold-border);
    color: var(--jp-ink);
    cursor: pointer;
    padding: 0;
}

/* Mobile Drawer */
.jp-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(35, 27, 21, 0.45);
    z-index: 980;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.jp-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.jp-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #fffdf8;
    border-left: 1px solid var(--jp-border);
    box-shadow: -8px 0 30px rgba(35, 27, 21, 0.16);
    z-index: 995;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.jp-mobile-drawer.is-open {
    transform: translateX(0);
}

.jp-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--jp-border);
}

.jp-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--jp-border);
    background: #ffffff;
    color: var(--jp-ink);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.jp-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-drawer-list > li {
    border-bottom: 1px solid var(--jp-border);
}

.jp-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    color: var(--jp-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.jp-drawer-sub {
    list-style: none;
    margin: 0 0 10px 12px;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--jp-gold-border);
}

.jp-drawer-sub a {
    display: block;
    padding: 7px 4px;
    color: var(--jp-muted);
    text-decoration: none;
    font-size: 14px;
}

.jp-drawer-sub a:hover {
    color: var(--jp-saffron);
}

@media (max-width: 1119px) {
    .jp-nav-list {
        display: none;
    }
    .jp-menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    .jp-logo-link img {
        width: 38px;
        height: 38px;
    }
    .jp-brand-banner img {
        height: 36px;
        width: 168px;
    }
}

/* ==========================================================================
   Tagline & Right-to-Left Call Ticker
   ========================================================================== */
.jp-tagline-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--jp-border);
    padding: 10px 16px;
    text-align: center;
}

.jp-tagline-bar p {
    margin: 0;
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    color: var(--jp-muted);
    font-style: italic;
}

.jp-call-banner {
    background: linear-gradient(90deg, #7a1c1c 0%, #b53208 50%, #7a1c1c 100%);
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.jp-call-ticker__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: jpTickerRTL 28s linear infinite;
}

.jp-call-banner:hover .jp-call-ticker__track,
.jp-call-banner:focus-within .jp-call-ticker__track {
    animation-play-state: paused;
}

.jp-call-ticker__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.jp-call-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 64px;
    white-space: nowrap;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    line-height: 1.4;
}

.jp-call-banner__link:hover {
    text-decoration: underline !important;
}

@keyframes jpTickerRTL {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .jp-call-ticker__track {
        animation: none;
        width: 100%;
        justify-content: center;
    }
    .jp-call-ticker__group--dup,
    .jp-call-banner__link--dup {
        display: none;
    }
    .jp-call-banner__link {
        white-space: normal;
        padding: 0 16px;
        text-align: center;
    }
}

/* ==========================================================================
   8-Card Animated Astrology Services Grid
   ========================================================================== */
.jp-icon-section {
    background: radial-gradient(circle at top center, #fff9ea 0%, #faf3e4 62%, #f4ead7 100%);
    padding: clamp(16px, 2.4vw, 28px) clamp(12px, 3vw, 24px);
    border-bottom: 1px solid var(--jp-border);
}

.jp-icon-grid {
    max-width: 840px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 16px);
}

@keyframes jpCardReveal {
    0% { opacity: 0; transform: translateY(18px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes jpFloatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.jp-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffcf6 100%);
    border: 1px solid #efd8b6;
    border-radius: 16px;
    padding: 14px 10px 12px;
    box-shadow: 0 4px 14px rgba(122, 28, 28, 0.06);
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.28s ease,
                border-color 0.28s ease;
    animation: jpCardReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jp-service-card:nth-child(1) { animation-delay: 0.03s; }
.jp-service-card:nth-child(2) { animation-delay: 0.08s; }
.jp-service-card:nth-child(3) { animation-delay: 0.13s; }
.jp-service-card:nth-child(4) { animation-delay: 0.18s; }
.jp-service-card:nth-child(5) { animation-delay: 0.23s; }
.jp-service-card:nth-child(6) { animation-delay: 0.28s; }
.jp-service-card:nth-child(7) { animation-delay: 0.33s; }
.jp-service-card:nth-child(8) { animation-delay: 0.38s; }

.jp-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffb300, #e65100, #7a1c1c);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.jp-service-card:hover,
.jp-service-card:focus-visible {
    transform: translateY(-6px);
    border-color: var(--jp-saffron);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(217, 78, 4, 0.16);
    outline: none;
}

.jp-service-card:hover::before,
.jp-service-card:focus-visible::before {
    transform: scaleX(1);
}

.jp-service-card__badge {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(145deg, #fffaf0 0%, #ffefc7 100%);
    border: 1px solid rgba(230, 81, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 6px 14px rgba(180, 70, 10, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
    animation: jpFloatGentle 4.2s ease-in-out infinite;
    overflow: hidden;
}

.jp-service-card:nth-child(even) .jp-service-card__badge {
    animation-delay: -2.1s;
}

.jp-service-card__badge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.55) 50%, transparent 75%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.jp-service-card:hover .jp-service-card__badge {
    transform: scale(1.08) rotate(-2deg);
}

.jp-service-card:hover .jp-service-card__badge::after {
    transform: translateX(120%);
}

.jp-service-card__badge svg {
    width: 100%;
    height: 100%;
    display: block;
}

.jp-service-card__title {
    margin: 0 0 2px 0;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--jp-ink);
    line-height: 1.2;
}

.jp-service-card__sub {
    margin: 0 0 8px 0;
    font-size: 0.72rem;
    color: var(--jp-muted);
    line-height: 1.3;
}

.jp-service-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--jp-saffron);
    background: rgba(217, 78, 4, 0.08);
    padding: 3px 10px;
    border-radius: 999px;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.jp-service-card:hover .jp-service-card__cta {
    background: var(--jp-saffron);
    color: #ffffff;
}

@media (max-width: 767px) {
    .jp-icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .jp-service-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        text-align: left;
        column-gap: 10px;
        row-gap: 2px;
        border-radius: 14px;
        padding: 10px;
    }
    .jp-service-card__badge {
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 0;
    }
    .jp-service-card__title {
        font-size: 0.78rem;
        margin: 0;
        align-self: end;
    }
    .jp-service-card__sub {
        font-size: 0.68rem;
        margin: 0;
        align-self: start;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .jp-service-card__cta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jp-service-card,
    .jp-service-card__badge {
        animation: none !important;
    }
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */
.jp-section {
    padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 28px);
}

.jp-section--tinted {
    background: var(--jp-cream);
}

.jp-section__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.jp-section__title {
    margin: 0 0 clamp(18px, 2.5vw, 30px) 0;
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    text-align: center;
}

.jp-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.jp-section-head .jp-section__title {
    margin: 0;
    text-align: left;
}

.jp-pill-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid var(--jp-border);
    background: #ffffff;
    font-size: 0.85rem;
    color: var(--jp-muted);
    font-weight: 600;
}

/* Founder Card */
.jp-founder-card {
    background: var(--jp-card-bg);
    border: 1px solid var(--jp-border);
    border-radius: 20px;
    box-shadow: var(--jp-shadow);
    padding: clamp(20px, 3.5vw, 40px);
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
}

.jp-founder-card__media img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(35, 27, 21, 0.1);
}

.jp-founder-card__body {
    text-align: center;
}

.jp-founder-card__body h2 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .jp-founder-card {
        grid-template-columns: 1fr;
    }
}

/* 4-Column Responsive Grids (Consultants & Services) */
.jp-card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2.2vw, 24px);
}

.jp-photo-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--jp-border);
    box-shadow: var(--jp-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.jp-photo-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

@media (max-width: 959px) {
    .jp-card-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Videos Grid */
.jp-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jp-video-card {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #000000;
    box-shadow: var(--jp-shadow);
}

.jp-video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 959px) {
    .jp-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .jp-video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Blog Articles Grid */
.jp-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jp-post-card {
    background: #ffffff;
    border: 1px solid var(--jp-border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--jp-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jp-post-card__img {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4px;
}

.jp-post-card__img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.jp-post-card__title {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.35;
}

.jp-post-card__title a {
    color: var(--jp-ink);
    text-decoration: none;
}

.jp-post-card__title a:hover {
    color: var(--jp-saffron);
}

.jp-post-card__excerpt {
    margin: 0;
    font-size: 0.94rem;
    color: var(--jp-muted);
    flex: 1 1 auto;
}

.jp-post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--jp-muted);
    padding-top: 8px;
    border-top: 1px solid var(--jp-border);
}

.jp-post-card__more {
    font-weight: 700;
    color: var(--jp-saffron);
    text-decoration: none;
}

.jp-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.jp-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--jp-border);
    background: #ffffff;
    color: var(--jp-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.jp-page-link.is-active,
.jp-page-link:hover {
    background: var(--jp-saffron);
    border-color: var(--jp-saffron);
    color: #ffffff;
}

@media (max-width: 959px) {
    .jp-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .jp-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Inner Pages & Single Posts
   ========================================================================== */
.jp-main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(22px, 3vw, 44px) clamp(16px, 4vw, 32px);
}

.jp-page-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 18px;
}

.jp-post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.9rem;
    color: var(--jp-muted);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--jp-border);
}

.jp-post-hero {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
}

.jp-post-hero img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.jp-entry-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.jp-post-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--jp-border);
}

.jp-post-nav a {
    font-weight: 600;
    text-decoration: none;
}

/* ==========================================================================
   Floating WhatsApp Live Chat & Footer
   ========================================================================== */
.jp-floating-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 970;
}

.jp-floating-chat a {
    display: inline-block;
    border-radius: 999px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.jp-floating-chat a:hover {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.jp-floating-chat img {
    width: 150px;
    height: auto;
    display: block;
}

@media (max-width: 600px) {
    .jp-floating-chat {
        bottom: 14px;
        right: 14px;
    }
    .jp-floating-chat img {
        width: 130px;
    }
}

.jp-footer-wrap {
    background: var(--jp-cream);
    border-top: 1px solid var(--jp-border);
    padding: clamp(32px, 4vw, 52px) clamp(16px, 4vw, 32px) 90px;
    text-align: center;
}

.jp-footer-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.jp-footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.jp-footer-title {
    margin: 0 0 4px;
    font-size: 1.15rem;
}

.jp-footer-tagline {
    margin: 0 0 18px;
    color: var(--jp-muted);
    font-size: 0.95rem;
}

.jp-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 20px;
}

.jp-footer-nav a {
    color: var(--jp-ink);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
}

.jp-footer-nav a:hover {
    color: var(--jp-saffron);
}

.jp-footer-copy {
    margin: 0;
    font-size: 0.88rem;
    color: var(--jp-muted);
}
