/* =========================================================
   JEBTAM PUBLISHING
   SINGLE INSIGHT / BLOG POST
   ========================================================= */


/* =========================================================
   OCEANWP RESET — SINGLE POSTS ONLY
   ========================================================= */

body.single-post #page-header,
body.single-post .page-header,
body.single-post .page-header-title,
body.single-post .site-breadcrumbs,
body.single-post #breadcrumbs {
    display: none !important;
}

body.single-post #content-wrap,
body.single-post #primary,
body.single-post #content,
body.single-post .content-area,
body.single-post .site-content {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;
}

body.single-post #right-sidebar,
body.single-post #left-sidebar,
body.single-post .widget-area {
    display: none !important;
}

body.single-post article,
body.single-post .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   PAGE
   ========================================================= */

body.single-post .jebtam-single-insight {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #171c1f;
    background: #faf8f5;
}

body.single-post .jebtam-single-container {
    width: calc(100% - 48px);
    max-width: 1110px;

    margin: 0 auto;
}


/* =========================================================
   ARTICLE HEADER
   ========================================================= */

body.single-post .jebtam-article-hero {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 42px 24px 0 !important;
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(168, 117, 69, 0.07) 0%,
            rgba(168, 117, 69, 0) 30%
        ),
        #faf8f5 !important;
}

body.single-post .jebtam-article-header-container {
    display: block !important;
    width: calc(100% - 48px) !important;
    max-width: 1040px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.single-post .jebtam-article-hero h1 {
    display: block !important;
    width: 100% !important;
    max-width: 1040px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #171c1f !important;
    font-size: clamp(42px, 4vw, 56px) !important;
    font-weight: 700 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
}


/* =========================================================
   AUTHOR + DATE
   ========================================================= */

body.single-post .jebtam-article-byline-section {
    display: block !important;
    width: 100% !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 12px 24px 16px !important;

    background: #faf8f5 !important;
}

body.single-post .jebtam-article-byline-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    width: calc(100% - 48px) !important;
    max-width: 1040px !important;

    min-height: 0 !important;
    height: auto !important;

    gap: 9px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    color: #697277 !important;

    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.single-post .jebtam-article-byline-inner .jebtam-article-author,
body.single-post .jebtam-article-byline-inner time {
    color: #697277 !important;
    font: inherit !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.single-post .jebtam-article-byline-divider {
    color: #a87545 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   FEATURED IMAGE
   ========================================================= */

body.single-post .jebtam-article-featured {
    display: block !important;

    width: 100% !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 24px 64px !important;

    background: #faf8f5 !important;
}

body.single-post .jebtam-article-featured-inner {
    display: block !important;

    width: calc(100% - 48px) !important;
    max-width: 1040px !important;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: #171c1f !important;

    border-left: 3px solid #a87545 !important;

    box-shadow: 0 18px 44px rgba(23, 28, 31, 0.12) !important;
}

body.single-post .jebtam-article-featured img {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;
}

/* =========================================================
   ARTICLE BODY
   ========================================================= */

body.single-post
.jebtam-article-body {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 24px 92px !important;

    background: #faf8f5 !important;
}


body.single-post
.jebtam-article-content {
    width: calc(100% - 48px) !important;
    max-width: 1040px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    color: #343d41 !important;

    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.78 !important;
}


body.single-post
.jebtam-article-content p {
    margin: 0 0 27px !important;

    color: #343d41 !important;

    font-size: inherit !important;
    line-height: inherit !important;
}


body.single-post
.jebtam-article-content > p:first-child {
    color: #263034 !important;

    font-size: 19px !important;
    line-height: 1.75 !important;
}


/* =========================================================
   ARTICLE HEADINGS
   ========================================================= */

body.single-post
.jebtam-article-content h2 {
    margin: 54px 0 20px !important;

    color: #171c1f !important;

    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;

    letter-spacing: -0.035em !important;
}


body.single-post
.jebtam-article-content h3 {
    margin: 38px 0 16px !important;

    color: #171c1f !important;

    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;

    letter-spacing: -0.025em !important;
}


body.single-post
.jebtam-article-content h4 {
    margin: 30px 0 14px !important;

    color: #171c1f !important;

    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}


/* =========================================================
   ARTICLE LINKS
   ========================================================= */

body.single-post
.jebtam-article-content a {
    color: #8f6037 !important;

    font-weight: 700 !important;

    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}


body.single-post
.jebtam-article-content a:hover {
    color: #171c1f !important;
}


/* =========================================================
   LISTS
   ========================================================= */

body.single-post
.jebtam-article-content ul,
body.single-post
.jebtam-article-content ol {
    margin: 0 0 30px !important;
    padding-left: 28px !important;
}


body.single-post
.jebtam-article-content li {
    margin: 0 0 11px !important;
    padding-left: 5px !important;
}


/* =========================================================
   BLOCKQUOTES
   ========================================================= */

body.single-post
.jebtam-article-content blockquote {
    margin: 44px 0 !important;

    padding: 8px 0 8px 28px !important;

    border-left: 4px solid #a87545 !important;

    color: #30383c !important;

    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
}


body.single-post
.jebtam-article-content blockquote p:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   ARTICLE IMAGES
   ========================================================= */

body.single-post
.jebtam-article-content img {
    display: block !important;

    max-width: 100% !important;
    height: auto !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


body.single-post
.jebtam-article-content figure {
    max-width: 100% !important;

    margin: 42px 0 !important;
}


body.single-post
.jebtam-article-content figcaption {
    margin-top: 10px !important;

    color: #747c80 !important;

    font-size: 13px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   VIDEO + EMBEDS
   ========================================================= */

body.single-post
.jebtam-article-content iframe,
body.single-post
.jebtam-article-content video {
    max-width: 100% !important;
}


/* =========================================================
   TABLES
   ========================================================= */

body.single-post
.jebtam-article-content .wp-block-table,
body.single-post
.jebtam-article-content figure.wp-block-table {
    width: 100% !important;

    margin: 42px 0 !important;

    overflow-x: auto !important;

    -webkit-overflow-scrolling: touch;
}


body.single-post
.jebtam-article-content table {
    width: 100% !important;
    min-width: 680px;

    border-collapse: collapse;

    background: #ffffff;

    font-size: 15px;
    line-height: 1.5;
}


body.single-post
.jebtam-article-content th {
    padding: 15px 16px !important;

    color: #ffffff !important;
    background: #171c1f !important;

    border: 1px solid #313a3e !important;

    font-weight: 700 !important;
    text-align: left;
}


body.single-post
.jebtam-article-content td {
    padding: 15px 16px !important;

    border: 1px solid #ded5cc !important;

    vertical-align: top;
}


body.single-post
.jebtam-article-content tbody tr:nth-child(even) {
    background: #f4efe9;
}


/* =========================================================
   ARTICLE FOOT
   ========================================================= */

body.single-post
.jebtam-article-footer {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 24px 72px !important;

    background: #faf8f5 !important;
}


body.single-post
.jebtam-article-footer-inner {
    display: flex;

    width: calc(100% - 48px) !important;
    max-width: 800px !important;

    margin: 0 auto !important;
    padding-top: 28px !important;

    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    border-top: 1px solid #ded5cc;
}


body.single-post
.jebtam-back-to-insights {
    color: #8f6037 !important;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none !important;
}


body.single-post
.jebtam-article-footer-categories {
    text-align: right;
}


body.single-post
.jebtam-article-footer-label {
    display: block;

    margin-bottom: 8px;

    color: #777f83;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.14em;
}


body.single-post
.jebtam-article-category-links {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px;
}


body.single-post
.jebtam-article-category-links a {
    color: #8f6037 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


/* =========================================================
   MORE INSIGHTS
   ========================================================= */

body.single-post
.jebtam-more-insights {
    width: 100%;

    padding: 82px 24px 90px;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(168, 117, 69, 0.10) 0%,
            transparent 30%
        ),
        #f1eae3;
}


body.single-post
.jebtam-more-insights-heading {
    margin-bottom: 38px;
}


body.single-post
.jebtam-section-eyebrow {
    margin: 0 0 14px;

    color: #9a6d42;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}


body.single-post
.jebtam-more-insights-heading h2 {
    margin: 0;

    color: #171c1f;

    font-size: clamp(38px, 4vw, 54px);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.045em;
}


body.single-post
.jebtam-more-insights-heading h2 span {
    color: #9a6d42;
}


/* =========================================================
   RELATED INSIGHTS GRID
   ========================================================= */

body.single-post
.jebtam-related-insights-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}


body.single-post
.jebtam-related-insight-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #faf8f5;

    border: 1px solid rgba(154, 109, 66, 0.18);

    box-shadow:
        0 12px 30px rgba(23, 28, 31, 0.07);
}


body.single-post
.jebtam-related-insight-image {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
}


body.single-post
.jebtam-related-insight-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}


body.single-post
.jebtam-related-insight-card:hover
.jebtam-related-insight-image img {
    transform: scale(1.035);
}


body.single-post
.jebtam-related-insight-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 24px;
}


body.single-post
.jebtam-related-insight-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 13px;

    color: #747c80;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


body.single-post
.jebtam-related-insight-category {
    color: #9a6d42;
}


body.single-post
.jebtam-related-insight-content h3 {
    margin: 0 0 14px;

    color: #171c1f;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.12;

    letter-spacing: -0.025em;
}


body.single-post
.jebtam-related-insight-content h3 a {
    color: inherit !important;

    text-decoration: none !important;
}


body.single-post
.jebtam-related-insight-content p {
    margin: 0 0 22px;

    color: #566166;

    font-size: 15px;
    line-height: 1.6;
}


body.single-post
.jebtam-related-insight-link {
    margin-top: auto;

    color: #8f6037 !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

body.single-post
.jebtam-single-final-cta {
    width: 100%;

    padding: 70px 24px 76px;

    background: #171c1f;
}


body.single-post
.jebtam-single-final-cta-inner {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


body.single-post
.jebtam-single-final-cta-eyebrow {
    margin: 0 0 15px;

    color: #d5a064;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.16em;
    
    /* =========================================================
   SINGLE ARTICLE — FINAL WIDTH / SPACING REFINEMENTS
   ========================================================= */

/* Reduce space between featured image and first article heading */
body.single-post
.jebtam-article-content > h2:first-child {
    margin-top: 28px !important;
}

/* Match article footer width to article + featured image */
body.single-post
.jebtam-article-footer-inner {
    max-width: 1040px !important;
}
    