.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail {
    max-width: 1200px;
    margin-inline: auto;
    padding: 4rem 1.5rem 5.5rem;
    color: var(--gjc-usp-ink, #050505);
}

.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1.5rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb a,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb [aria-current] {
    color: var(--e-global-color-text, #333);
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 160ms ease;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb a:hover,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb a:focus-visible {
    color: var(--e-global-color-accent, #E3185C);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb [aria-current] {
    color: var(--e-global-color-accent, #E3185C);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb-sep {
    color: color-mix(in srgb, var(--gjc-usp-ink, #050505) 34%, transparent);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb-home {
    display: inline-flex;
    align-items: center;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__crumb-home svg {
    width: 0.9375rem;
    height: 0.9375rem;
    display: block;
}

.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__title {
    font-family: var(--e-global-typography-primary-font-family, Merriweather, serif);
    font-weight: 700;
    font-size: 2.875rem;
    max-width: 900px;
    margin: 0 auto 1.25rem;
    text-align: center;
    text-wrap: balance;
}

.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__meta {
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: var(--gjc-home-type-ui, 0.8125rem);
    letter-spacing: 0.02em;
    color: var(--gjc-usp-text, #555);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 2.5rem;
}

.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__media {
    margin: 0 0 5rem;
    margin-bottom: 5rem !important;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
    border-radius: 0.75rem;
}
/* null the hello-elementor theme rule `.post .wp-post-image { max-height:500px; object-fit:cover }` */
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__media img {
    max-height: none !important;
    object-fit: initial !important;
}

/* Content — readable column centred inside the site container */
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content {
    max-width: var(--gjc-post-width, 780px);
    margin-inline: auto;
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gjc-usp-ink, #050505);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content p {
    margin: 0 0 1.6rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content h2,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content h3,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content h4 {
    font-family: var(--e-global-typography-primary-font-family, Merriweather, serif);
    line-height: 1.3;
    font-weight: 700 !important;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content h2 { font-size: 1.75rem; margin: 3.5rem 0 1rem; }
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content h3 { font-size: 1.375rem; margin: 3rem 0 0.875rem; }
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content h4 { font-size: 1.125rem; margin: 2.5rem 0 0.75rem; }
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content ul,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content ol {
    margin: 0 0 1.6rem;
    padding-left: 1.5rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content li {
    margin: 0 0 0.5rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content figure.kg-image-card img {
    margin-bottom: 0;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content figure:not(.kg-card) {
    margin: 0 0 1.5rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content a {
    color: var(--e-global-color-accent, #E3185C);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content a:hover {
    text-decoration: none;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content blockquote {
    margin: 3rem 0;
    padding: 0 0 0 1.25rem;
    border-left: 4px solid var(--e-global-color-accent, #E3185C);
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
    line-height: inherit;
    color: var(--gjc-usp-ink, #050505);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
    background: color-mix(in srgb, var(--gjc-usp-ink, #050505) 6%, transparent);
    padding: 0.15em 0.35em;
    border-radius: 0.25rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content pre {
    background: var(--gjc-usp-ink, #050505);
    color: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 0 0 1.6rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Ghost kg-cards in the imported content */
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content figure.kg-card,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content .kg-image-card,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content .kg-embed-card,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content .kg-width-regular {
    margin: 3rem 0 !important;
}

/* topics footer */
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topics {
    max-width: var(--gjc-post-width, 780px);
    margin: 3.25rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topics-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.875rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topics-label {
    display: none;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topics-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topic {
    display: inline-flex;
    align-items: center;
    padding: 0.3125rem 0.75rem;
    border-radius: 999rem;
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}
/* categories = accent tint; tags = neutral */
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topics--cat .gjc-post-detail__topic {
    color: var(--e-global-color-accent, #E3185C);
    background: color-mix(in srgb, var(--e-global-color-accent, #E3185C) 10%, transparent);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topics--tag .gjc-post-detail__topic {
    color: var(--gjc-usp-text, #555);
    background: color-mix(in srgb, var(--gjc-usp-ink, #050505) 7%, transparent);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__topic:hover {
    opacity: 0.8;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content figcaption {
    font-size: var(--gjc-home-type-ui, 0.8125rem);
    color: var(--gjc-usp-text, #666);
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content .kg-video-container video,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content .kg-video-card > video {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content .kg-embed-card iframe,
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__content .kg-video-container iframe {
    width: 100% !important;
    max-width: 100%;
}

/* Related — compact */
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related {
    margin-top: 4rem;
    padding-top: 0;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related {
    margin-top: 4rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-title {
    font-family: var(--e-global-typography-primary-font-family, Merriweather, serif);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    grid-template-columns: repeat(4, 1fr);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.625rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-card-title {
    display: block;
    font-family: "Merriweather", Georgia, serif !important;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 0.875rem;
    text-wrap: balance;
    transition: color 0.2s ease;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: 0.90625rem;
    line-height: 1.4;
    color: var(--gjc-usp-text, #555);
    margin-bottom: 0.5rem;
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-card-meta {
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: 0.78125rem;
    font-weight: 500;
    color: color-mix(in srgb, var(--gjc-usp-ink, #050505) 55%, transparent);
}
.elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-card:hover .gjc-post-detail__related-card-title {
    color: var(--e-global-color-accent, #E3185C);
}

@media (max-width: 767px) {
    .elementor-widget-buildpress_gjc_post_detail .gjc-post-detail {
        padding: 2.5rem 1.25rem 4rem;
    }
    .elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__title {
        font-size: var(--gjc-home-type-section, 2.125rem);
    }
    .elementor-widget-buildpress_gjc_post_detail .gjc-post-detail__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
