
/* ========================================
   JENY ENTERPRISE BLOG DETAIL PAGE
======================================== */

.jb-page {
    --jb-navy: #071923;
    --jb-accent: #70cfff;
    --jb-text: #152c39;
    --jb-muted: #647482;

    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

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

.jb-page .jb-container {
    width: min(100% - 48px, 1512px);
    margin: 0 auto;
}

@media(max-width:1400px){
        width: min(100% - 48px, 1243px);
}

/* ========================================
   BREADCRUMB
======================================== */

.jb-page .jb-breadcrumb-section {
    padding: 28px 0 10px;
}

.jb-page .jb-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    font-size: 13px;
    line-height: 1.7;
}

.jb-page .jb-breadcrumb a {
    color: #a5bdc9;
    text-decoration: none;
    transition: color 0.3s;
}

.jb-page .jb-breadcrumb a:hover {
    color: var(--jb-accent);
}

.jb-page .jb-breadcrumb-separator {
    color: #668392;
}

.jb-page .jb-breadcrumb-current {
    color: #e1edf3;
    overflow-wrap: anywhere;
}

/* ========================================
   DARK BLOG HERO
======================================== */

.jb-page .jb-blog-hero {
    padding: 200px 0 75px !important;
}

/* ========================================
   HERO HEADER GRID
======================================== */

.jb-page .jb-hero-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 325px;
    align-items: start;
    gap: 70px;

    margin-bottom: 95px;
}

/* ========================================
   BLOG TITLE
======================================== */

.jb-page .jb-hero-title-area {
    min-width: 0;
}

.jb-page .jb-hero-title {
     margin: 0;
    padding: 0;
    max-width: 1000px;
    font-family: var(--title-font);
    font-size: clamp(36px, 3.3vw, 45px);
    line-height: 1.7;
    letter-spacing: -1.8px;
    color: var(--dark-blue);
    overflow-wrap: break-word;
}

/* ========================================
   BLOG INFORMATION
======================================== */

.jb-page .jb-hero-information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    padding-top: 5px;
}

.jb-page .jb-info-item {
    font-size: 17px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.jb-page .jb-info-label {
    color: #000;
    font-weight: 600;
}

.jb-page .jb-info-value {
    color: #000;
    font-weight: 400;
}

/* ========================================
   FEATURED IMAGE
======================================== */

.jb-page .jb-featured-image {
    width: 100%;
    margin: 0;
    padding: 0;

    overflow: hidden;
    border-radius: 20px;
    background: #e9edf0;
}

.jb-page .jb-cover {
    display: block;

    width: 100%;
    height: auto;
    max-height: 760px;

    object-fit: cover;
    object-position: center;
}

/* ========================================
   ARTICLE CONTENT SECTION
======================================== */

.jb-page .jb-content-section {
    background: #ffffff;
    padding: 0px 0 100px;
}

.jb-page .jb-article-content-wrap {
    max-width: 100%;
    margin: 0 auto;
}

.jb-page .jb-article-intro {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.85;
    color: #334d5d;

    margin: 0 0 35px;
}

.jb-page .jb-content {
    color: #344b59;
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.jb-page .jb-content p {
    margin: 0 0 25px;
}

.jb-page .jb-content h2 {
    font-size: clamp(26px, 3vw, 39px);
    font-weight: normal;
    line-height: 1.35;
    color: var(--dark-blue);
   font-family: var(--title-font);
    margin: 48px 0 40px;
}

.jb-page .jb-content h3 {
        font-size: 30px;
    font-weight: normal;
    line-height: 1.4;
    color: #173b4c;
    margin: 35px 0 16px;
    font-weight: 600;
}

.jb-page .jb-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #173b4c;
    margin: 28px 0 14px;
}

.jb-page .jb-content ul,
.jb-page .jb-content ol {
    margin: 20px 0 30px;
    padding-left: 26px;
}

.jb-page .jb-content li {
    margin-bottom: 4px;
}

.jb-page .jb-content a {
    color: #087ab1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jb-page .jb-content a:hover {
    color: #005681;
}

.jb-page .jb-content strong {
    font-weight: 700;
    color: #173b4c;
}

.jb-page .jb-content img {
    display: block;
    max-width: 100%;
    height: auto;

    border-radius: 12px;
    margin: 30px auto;
}

.jb-page .jb-content blockquote {
    margin: 35px 0;
    padding: 25px 30px;

    background: #f0f8fc;
    border-left: 4px solid #2b9bce;
    border-radius: 0 12px 12px 0;

    color: #274b5e;
    font-style: italic;
}

.jb-page .jb-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.jb-page .jb-content th,
.jb-page .jb-content td {
    border: 1px solid #e0e7eb;
    padding: 14px;
    text-align: left;
}

.jb-page .jb-content th {
    background: #f1f7fa;
    color: #183b4b;
}

.jb-page .jb-content iframe {
    max-width: 100%;
}

/* ========================================
   BACK BUTTON
======================================== */

.jb-page .jb-article-bottom {
    border-top: 1px solid #e4eaee;
    margin-top: 60px;
    padding-top: 35px;
}

.jb-page .jb-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 25px;

    background: #102f40;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    border-radius: 8px;
    transition: all 0.3s ease;
}

.jb-page .jb-back-button:hover {
    background: #087ba9;
    color: #ffffff;
    transform: translateY(-2px);
}

.jb-page .jb-back-button span {
    font-size: 20px;
}

/* ========================================
   RELATED BLOGS SECTION
======================================== */

.jb-page .jb-related-section {
    padding: 51px 0 45px;
    background: #dddddd21;
}

.jb-page .jb-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 45px;
}

.jb-page .jb-related-eyebrow {
    display: inline-block;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    color: var(--yellow);
    margin-bottom: 14px;
}

.jb-page .jb-related-heading h2 {
    margin: 0 0 15px;
    font-family:var(--title-font);
    font-size: clamp(32px, 4vw, 46px);
    /*font-weight: 750;*/
    line-height: 1.2;
    color: var(--dark-blue);
}

.jb-page .jb-related-heading h2 span {
    color: var(--red);
}

.jb-page .jb-related-heading p {
    max-width: 550px;
    margin: 0;

    font-size: 16px;
    line-height: 1.8;
    color: #617380;
}

.jb-page .jb-view-all {
       display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    background: var(--red);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    display : none !important;
}

.jb-page .jb-view-all:hover {
    color: var(--red);
     background: #fff;
}

/* ========================================
   RELATED BLOG CARDS
======================================== */

.jb-page .jb-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.jb-page .jb-related-card {
    background: #ffffff;
    border: 1px solid #e8eef1;
    border-radius: 15px;

    overflow: hidden;
    transition: all 0.3s ease;
}

.jb-page .jb-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 30, 50, 0.09);
}

.jb-page .jb-related-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9eff2;
}

.jb-page .jb-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.jb-page .jb-related-body {
    padding: 25px;
}

.jb-page .jb-related-body time {
    display: block;
    margin-bottom: 12px;

    color: #7a8b96;
    font-size: 13px;
}

.jb-page .jb-related-body h3 {
    font-size: 21px;
    line-height: 1.45;
    /*font-weight: 700;*/
font-family: var(--title-font);
    margin: 0 0 15px;
}

.jb-page .jb-related-body h3 a {
    color: var(--dark-blue);
    text-decoration: none;
    font-family: var(--title-font);
}

.jb-page .jb-related-body h3 a:hover {
    color: #0b8cbf;
}

.jb-page .jb-related-body p {
    font-size: 15px;
    line-height: 1.75;
    color: #6a7c87;

    margin: 0 0 22px;
}

.jb-page .jb-related-link {
   display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: var(--yellow);
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
}

.jb-page .jb-related-link:hover {
    color: var(--red);
     background: #fff;
}

/* ========================================
   NOT FOUND PAGE
======================================== */

.jb-page .jb-not-found {
    text-align: center;
    padding: 110px 20px;
}

.jb-page .jb-not-found h1 {
    font-size: 42px;
    color: #15394b;
}

.jb-page .jb-not-found p {
    color: #647783;
    margin: 20px 0 30px;
}

.jb-page .jb-not-found a {
    color: #087fab;
    font-weight: 600;
}

/* ========================================
   TABLET RESPONSIVE
======================================== */

@media (max-width: 1024px) {

    .jb-page .jb-hero-header {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 35px;
        margin-bottom: 65px;
    }

    .jb-page .jb-hero-title {
        font-size: clamp(34px, 4.3vw, 48px);
        letter-spacing: -1px;
    }

    .jb-page .jb-info-item {
        font-size: 15px;
    }

    .jb-page .jb-blog-hero {
        padding-bottom: 60px !important;
    }

    .jb-page .jb-related-grid {
        gap: 20px;
    }

    .jb-page .jb-related-body {
        padding: 20px;
    }

    .jb-page .jb-related-body h3 {
        font-size: 19px;
    }
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 767px) {

    .jb-page .jb-container {
        width: calc(100% - 36px);
    }

    .jb-page .jb-breadcrumb-section {
        padding: 20px 0 8px;
    }

    .jb-page .jb-breadcrumb {
        font-size: 12px;
        gap: 7px;
    }

    .jb-page .jb-blog-hero {
        padding: 150px 0 0px !important;
    }

    .jb-page .jb-hero-header {
        grid-template-columns: 1fr;
        gap: 21px;
        margin-bottom: 35px;
    }

    .jb-page .jb-hero-title {
        font-size: clamp(30px, 7.5vw, 42px);
        line-height: 1.2;
        letter-spacing: -0.8px;
    }

    .jb-page .jb-hero-information {
        gap: 10px;
        padding-top: 0;
    }

    .jb-page .jb-info-item {
        font-size: 14px;
        line-height: 1.65;
    }

    .jb-page .jb-featured-image {
        border-radius: 12px;
    }

    .jb-page .jb-content-section {
        padding: 45px 0 10px;
    }

    .jb-page .jb-article-intro {
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 0px;
    }
    
    .jb-page .jb-content h3{
        margin: 21px 0 11px;
    }

    .jb-page .jb-content {
        font-size: 15.5px;
        line-height: 1.85;
    }

    .jb-page .jb-content h2 {
        font-size: 26px;
                margin: 16px 0 0px;
    }

    .jb-page .jb-content h3 {
        font-size: 21px;
    }

    .jb-page .jb-content blockquote {
        padding: 20px;
    }

    .jb-page .jb-article-bottom {
        margin-top: 45px;
        padding-top: 25px;
    }

    .jb-page .jb-related-section {
        padding:32px 0 75px;
    }

    .jb-page .jb-related-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .jb-page .jb-related-heading h2 {
        font-size: 34px;
    }

    .jb-page .jb-related-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .jb-page .jb-related-body {
        padding: 22px;
    }
}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {

    .jb-page .jb-container {
        width: calc(100% - 28px);
    }

    .jb-page .jb-hero-title {
        font-size: 28px;
    }

    .jb-page .jb-info-item {
        font-size: 13px;
    }

    .jb-page .jb-back-button {
        padding: 12px 18px;
        font-size: 14px;
    }
}
