/* ============================================
   JW Block Custom Theme Styles
   ============================================ */

/* --- Brand Variables --- */
:root {
    --jwb-orange: #DA6A05;
    --jwb-blue: #0A90C6;
    --jwb-green: #76B60C;
    --jwb-dark: #303235;
    --jwb-darker: #272A2F;
    --jwb-near-black: #0A0A0A;
    --jwb-light-gray: #C7C7C7;
    --jwb-off-white: #EEEEEE;
    --jwb-white: #FFFFFF;
    --jwb-footer-bg: #333333;
    --jwb-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --jwb-serif: "EB Garamond", Georgia, "Times New Roman", serif;
    --content-width: 820px;
}

/* --- Global Overrides --- */
html {
    font-size: 62.5% !important; /* 1rem = 10px, Ghost default */
}

body {
    font-family: var(--jwb-font-stack);
    font-size: 2.2rem !important;
    line-height: 1.7;
}

.is-title,
.gh-article-title,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--jwb-font-stack);
    font-weight: 700;
}

.is-body,
.gh-content {
    font-family: var(--jwb-serif);
    font-size: 2.2rem !important;
    font-weight: 500;
    line-height: 1.8;
}

.gh-content p,
.gh-content li,
.gh-content blockquote {
    font-family: var(--jwb-serif);
    font-size: 2.2rem !important;
    font-weight: 500;
}

.gh-card-title {
    font-size: 2.6rem !important;
}

.gh-card-excerpt {
    font-size: 1.8rem !important;
}

.gh-card-meta,
.gh-card-author,
.gh-card-date {
    font-size: 1.5rem !important;
}

.gh-article-title {
    font-size: 5rem !important;
}

.gh-article-excerpt {
    font-size: 2.4rem !important;
}

/* --- Color Utility Classes --- */
.jwb-text-orange { color: var(--jwb-orange); }
.jwb-text-blue { color: var(--jwb-blue); }
.jwb-text-green { color: var(--jwb-green); }

/* ============================================
   NAVIGATION
   ============================================ */
#gh-navigation.gh-navigation {
    background-color: var(--jwb-dark) !important;
    position: sticky;
    top: 0;
    z-index: 999;
}

#gh-navigation .gh-navigation-inner {
    background-color: transparent !important;
}

/* Logo text styling */
.gh-navigation-logo.jwb-logo-text {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}

/* Also scale up uploaded logo images */
#gh-navigation .gh-navigation-logo img {
    max-height: 50px !important;
}

.jwb-logo-jw {
    color: var(--jwb-blue);
}

.jwb-logo-block {
    color: var(--jwb-orange);
}

/* Nav link styling */
#gh-navigation .gh-navigation-menu .nav > li {
    margin: 0 30px;
}

#gh-navigation .gh-navigation-menu a {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.7rem !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

#gh-navigation .gh-navigation-menu a:hover,
#gh-navigation .gh-navigation-menu a.active {
    color: var(--jwb-orange);
}

/* Nav action buttons */
#gh-navigation .gh-navigation-actions a,
#gh-navigation .gh-navigation-members a {
    color: rgba(255, 255, 255, 0.7);
}

#gh-navigation .gh-navigation-actions .gh-button,
#gh-navigation .gh-navigation-members .gh-button {
    background-color: var(--jwb-blue);
    color: var(--jwb-white);
    border: none;
}

/* Burger menu icon */
#gh-navigation .gh-burger svg {
    color: var(--jwb-white);
}

/* Search icon */
#gh-navigation .gh-search svg {
    color: rgba(255, 255, 255, 0.7);
}

/* Custom nav list (replaces Ghost {{navigation}} helper) */
#gh-navigation .gh-navigation-menu ul.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

#gh-navigation .gh-navigation-menu ul.nav .nav-item > a {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.7rem !important;
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 1rem 1.5rem;
    display: block;
    text-decoration: none;
}

#gh-navigation .gh-navigation-menu ul.nav .nav-item > a:hover,
#gh-navigation .gh-navigation-menu ul.nav .nav-item > a.active {
    color: var(--jwb-orange);
}

/* Articles dropdown */
.nav-articles-dropdown {
    position: relative;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--jwb-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-articles-dropdown:hover .nav-dropdown {
    display: block;
}

.nav-dropdown li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown li a:hover {
    color: var(--jwb-orange);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile: expand dropdown inline */
@media (max-width: 991px) {
    .nav-dropdown {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        display: block;
        padding: 0 0 0 1.5rem;
    }

    .nav-dropdown li a {
        padding: 0.5rem 1.5rem;
        font-size: 1.3rem !important;
    }
}

/* ============================================
   HOMEPAGE: Hero Section
   ============================================ */
.jwb-hero {
    position: relative;
    overflow: hidden;
    background: var(--jwb-near-black);
    padding: 120px 20px 80px;
    text-align: center;
}

.jwb-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.jwb-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.jwb-hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 30px;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 24px rgba(0, 0, 0, 0.4);
}

.jwb-hero-divider {
    width: 60px;
    height: 1px;
    background: var(--jwb-white);
    margin: 0 auto 30px;
}

.jwb-hero-subtitle {
    font-size: 3.2rem;
    color: var(--jwb-off-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 24px rgba(0, 0, 0, 0.4);
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.jwb-hero-cta {
    display: inline-block;
    border: 2px solid var(--jwb-orange);
    background: var(--jwb-orange);
    color: var(--jwb-white);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.jwb-hero-cta:hover {
    background: #c45e04;
    border-color: #c45e04;
    color: var(--jwb-white);
}

/* ============================================
   HOMEPAGE: Featured / Editor's Pick
   ============================================ */
.jwb-featured {
    background: var(--jwb-off-white);
    padding: 60px 20px;
}

.jwb-featured-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.jwb-featured-heading {
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--jwb-orange);
    margin: 0 0 30px;
    text-align: center;
}

.jwb-featured-grid {
    display: grid;
    gap: 30px;
}

.jwb-featured-grid.featured-count-1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.jwb-featured-grid.featured-count-2 {
    grid-template-columns: repeat(2, 1fr);
}

.jwb-featured-grid.featured-count-3 {
    grid-template-columns: repeat(3, 1fr);
}

.jwb-featured-card {
    background: var(--jwb-white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.jwb-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.jwb-featured-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.jwb-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.jwb-featured-card:hover .jwb-featured-image img {
    transform: scale(1.03);
}

.jwb-featured-content {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jwb-featured-tag {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--jwb-blue);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.jwb-featured-tag:hover {
    color: var(--jwb-orange);
}

.jwb-featured-title-link {
    text-decoration: none;
}

.jwb-featured-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--jwb-near-black);
    margin: 0 0 12px;
    transition: color 0.2s ease;
}

.jwb-featured-title-link:hover .jwb-featured-title {
    color: var(--jwb-blue);
}

.jwb-featured-excerpt {
    font-family: var(--jwb-serif);
    font-size: 1.7rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   HOMEPAGE: Newsletter CTA
   ============================================ */
.jwb-newsletter {
    background: var(--jwb-blue);
    padding: 60px 20px;
    text-align: center;
}

.jwb-newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
}

.jwb-newsletter-title {
    color: var(--jwb-white);
    font-size: 2.8rem;
    margin: 0 0 16px;
    font-weight: 700;
}

.jwb-newsletter-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    line-height: 1.6;
    margin: 0 0 8px;
}

.jwb-newsletter-sig {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    font-style: italic;
    margin: 0 0 30px;
}

.jwb-newsletter-btn {
    display: inline-block;
    border: 2px solid var(--jwb-white);
    color: var(--jwb-white);
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.jwb-newsletter-btn:hover {
    background: var(--jwb-white);
    color: var(--jwb-blue);
}

.jwb-newsletter .gh-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    height: auto;
    background: transparent;
    justify-content: center;
}

.jwb-newsletter .gh-form-input {
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--jwb-white) !important;
    padding: 14px 24px !important;
    font-size: 1.8rem !important;
    height: auto !important;
    position: relative !important;
}

.jwb-subscribe-name {
    flex: 0 1 160px;
}

.jwb-subscribe-email {
    flex: 1 1 220px;
}

.jwb-newsletter .gh-form-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.jwb-newsletter .gh-button {
    border-radius: 30px !important;
    background: var(--jwb-white) !important;
    color: var(--jwb-blue) !important;
    font-weight: 700;
    border: none;
    padding: 14px 30px !important;
    font-size: 1.8rem !important;
    height: auto !important;
    position: relative !important;
    min-width: auto !important;
}

/* ============================================
   HOMEPAGE: Bio Section
   ============================================ */
.jwb-bio {
    background: var(--jwb-white);
    padding: 60px 20px 80px;
}

.jwb-bio-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.jwb-bio-image-col {
    display: flex;
    justify-content: center;
}

.jwb-bio-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
}

.jwb-bio-image-placeholder {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--jwb-light-gray);
}

.jwb-bio-heading {
    color: var(--jwb-near-black);
    font-size: 3.6rem;
    margin: 0 0 20px;
}

.jwb-bio-text-col p {
    color: #444;
    font-size: 2rem;
    line-height: 1.7;
    margin: 0 0 16px;
}

.jwb-bio-text-col strong {
    color: var(--jwb-near-black);
}

/* ============================================
   HOMEPAGE: Latest Posts Section Title
   ============================================ */
.jwb-latest-posts {
    padding: 60px 0 0;
}

.jwb-section-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 10px;
}

/* ============================================
   POST CARDS: Hover Effects
   ============================================ */
.gh-feed .gh-post-card .gh-card-link .gh-card-image img {
    transition: transform 0.3s ease;
}

.gh-feed .gh-post-card:hover .gh-card-link .gh-card-image img {
    transform: scale(1.03);
}

.gh-card-image {
    overflow: hidden;
    border-radius: 8px;
}

/* ============================================
   POST PAGE: Hero Banner
   ============================================ */
.jwb-post-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 80px 20px;
    background-color: var(--jwb-near-black);
    overflow: hidden;
}

.jwb-post-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.jwb-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.jwb-post-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
}

.jwb-post-hero-tag {
    display: inline-block;
    color: var(--jwb-blue);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-decoration: none;
    border: 2px solid var(--jwb-blue);
    padding: 6px 18px;
    border-radius: 4px;
}

.jwb-post-hero-tag:hover {
    color: var(--jwb-green);
    border-color: var(--jwb-green);
}

.jwb-post-hero-title {
    color: var(--jwb-white);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 24px;
}

.jwb-post-hero-excerpt {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0;
}

.jwb-post-meta {
    text-align: center;
    padding: 30px 20px 0;
}

.jwb-post-meta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.jwb-post-meta-inner .gh-article-author-image img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.jwb-post-meta-inner .gh-article-author-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    color: var(--jwb-near-black);
}

.jwb-post-meta-inner .gh-article-meta-date {
    color: #666;
    font-size: 1.6rem;
}

.jwb-post-meta-inner .gh-article-meta-date::before {
    content: "\00b7";
    margin-right: 14px;
    color: #aaa;
}

.jwb-post-meta-inner .gh-article-meta-length {
    color: #666;
    font-size: 1.6rem;
}

.jwb-post-meta-inner .gh-article-meta-length::before {
    content: "\00b7";
    margin-right: 14px;
    color: #aaa;
}

/* Article subscribe insert */
.jwb-article-subscribe {
    margin: 48px 0;
    font-family: var(--jwb-font-stack);
}

.jwb-article-subscribe-inner {
    background: var(--jwb-darker);
    color: var(--jwb-white);
    border-radius: 8px;
    padding: 34px 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.jwb-article-subscribe-kicker {
    color: var(--jwb-orange);
    font-family: var(--jwb-font-stack) !important;
    font-size: 1.3rem !important;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.jwb-article-subscribe-title {
    color: var(--jwb-white);
    font-family: var(--jwb-font-stack) !important;
    font-size: 3rem !important;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px !important;
}

.jwb-article-subscribe-text {
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--jwb-serif) !important;
    font-size: 2rem !important;
    line-height: 1.5;
    margin: 0;
}

.jwb-article-subscribe-form.gh-form {
    background: transparent;
    border-radius: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    height: auto;
    max-width: none;
}

.jwb-article-subscribe-form.gh-form:hover {
    background: transparent;
}

.jwb-article-subscribe-form .gh-form-input {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 2px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
    color: var(--jwb-white) !important;
    font-family: var(--jwb-font-stack);
    font-size: 1.6rem !important;
    height: 48px !important;
    line-height: 1.2;
    padding: 0 16px !important;
    position: static !important;
    width: 100%;
}

.jwb-article-subscribe-form .gh-form-input::placeholder {
    color: rgba(255, 255, 255, 0.58) !important;
}

.jwb-article-subscribe-form .gh-button,
.jwb-article-subscribe-button {
    align-items: center;
    background: var(--jwb-orange) !important;
    border: 0;
    border-radius: 8px !important;
    color: var(--jwb-white) !important;
    display: inline-flex;
    font-family: var(--jwb-font-stack);
    font-size: 1.6rem !important;
    font-weight: 800;
    height: 48px !important;
    justify-content: center;
    line-height: 1;
    min-width: 122px !important;
    padding: 0 20px !important;
    position: relative !important;
    text-decoration: none;
}

.jwb-article-subscribe-form .gh-button:hover,
.jwb-article-subscribe-button:hover {
    background: #c45e04 !important;
    opacity: 1;
}

.jwb-article-subscribe-form [data-members-error] {
    color: #ffd8c0;
    font-family: var(--jwb-font-stack);
    font-size: 1.3rem;
    grid-column: 1 / -1;
    line-height: 1.35;
    margin: 0;
    min-height: 0;
    position: static;
}

/* Post prev/next navigation */
.jwb-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 720px;
    margin: 60px auto;
    padding: 0 20px;
}

.jwb-post-nav-item {
    padding: 20px;
    border-radius: 8px;
    background: var(--jwb-off-white);
    text-decoration: none;
    transition: background 0.2s ease;
}

.jwb-post-nav-item:hover {
    background: var(--jwb-light-gray);
}

.jwb-post-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 0 0 8px;
}

.jwb-post-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--jwb-near-black);
    margin: 0;
}

.jwb-post-nav-next {
    text-align: right;
}

/* ============================================
   TAG ARCHIVE PAGE
   ============================================ */
.jwb-tag-header {
    background: linear-gradient(135deg, var(--jwb-near-black) 0%, var(--jwb-darker) 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.jwb-tag-title {
    color: var(--jwb-white);
    font-size: 2.4rem;
    margin: 0 0 12px;
}

.jwb-tag-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   SPEAKING PAGE
   ============================================ */
.jwb-speaking-hero {
    background: linear-gradient(135deg, var(--jwb-near-black) 0%, var(--jwb-darker) 100%);
    padding: 100px 20px 70px;
    text-align: center;
}

.jwb-speaking-hero-title {
    color: var(--jwb-white);
    font-size: 5.6rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.jwb-speaking-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.4rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.jwb-speaking-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Video Grid */
.jwb-speaking-videos {
    padding: 60px 0;
}

.jwb-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.jwb-video-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--jwb-darker);
    aspect-ratio: 16 / 9;
}

.jwb-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jwb-video-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.6rem;
}

/* Topic Cards */
.jwb-speaking-topics {
    padding: 60px 0;
    background: var(--jwb-off-white);
}

.jwb-topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.jwb-topic-card {
    background: var(--jwb-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.jwb-topic-icon {
    font-size: 3.6rem;
    margin-bottom: 12px;
}

.jwb-topic-card h3 {
    font-size: 2.4rem;
    margin: 0 0 10px;
    color: var(--jwb-near-black);
}

.jwb-topic-card p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Speaking Topic Cards v2 — three-column image cards */
.jwb-speaking-topics-v2 {
    padding: 60px 0;
    background: var(--jwb-off-white);
}

.jwb-speaking-topics-v2 .jwb-section-title {
    color: var(--jwb-orange);
}

.jwb-topics-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.jwb-topic-v2-card {
    background: var(--jwb-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jwb-topic-v2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.jwb-topic-v2-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--jwb-dark);
}

.jwb-topic-v2-body {
    padding: 24px 28px 28px;
}

.jwb-topic-v2-body h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--jwb-near-black);
}

.jwb-topic-v2-body p {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

@media (max-width: 991px) {
    .jwb-topics-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .jwb-topics-v2-grid {
        grid-template-columns: 1fr;
    }
}

/* Speaking CTA / Contact Form */
.jwb-speaking-cta {
    padding: 60px 0 80px;
}

.jwb-speaking-form {
    max-width: 680px;
    margin: 30px auto 0;
}

.jwb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.jwb-form-group {
    display: flex;
    flex-direction: column;
}

.jwb-form-full {
    grid-column: 1 / -1;
}

.jwb-form-group label {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--jwb-orange);
    margin-bottom: 6px;
}

.jwb-form-group input,
.jwb-form-group select,
.jwb-form-group textarea {
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1.8rem;
    font-family: var(--jwb-font-stack);
    background: var(--jwb-white);
    transition: border-color 0.2s ease;
}

.jwb-form-group textarea {
    border-radius: 16px;
    resize: vertical;
}

.jwb-form-group input:focus,
.jwb-form-group select:focus,
.jwb-form-group textarea:focus {
    outline: none;
    border-color: var(--jwb-blue);
}

.jwb-form-submit {
    display: inline-block;
    background: var(--jwb-blue);
    color: var(--jwb-white);
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: var(--jwb-font-stack);
}

.jwb-form-submit:hover {
    background: #087fa8;
}

/* ============================================
   FOOTER
   ============================================ */
footer.gh-footer.jwb-footer {
    background: var(--jwb-footer-bg) !important;
    padding: 50px 0 30px;
}

.jwb-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(4vmin, 20px);
    align-items: start;
}

.jwb-footer-brand h3 {
    color: var(--jwb-white);
    font-size: 2.8rem;
    margin: 0 0 16px;
    font-weight: 800;
}

.jwb-footer-social {
    display: flex;
    gap: 16px;
}

.jwb-footer-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.jwb-footer-social a:hover {
    color: var(--jwb-white);
}

.jwb-footer-social svg {
    width: 28px;
    height: 28px;
}

.jwb-footer-nav {
    text-align: center;
}

.jwb-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jwb-footer-nav li {
    margin-bottom: 10px;
}

.jwb-footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1.8rem;
    transition: color 0.2s ease;
}

.jwb-footer-nav a:hover {
    color: var(--jwb-white);
}

.jwb-footer-contact {
    text-align: right;
}

.jwb-footer-contact h4 {
    color: var(--jwb-white);
    font-size: 2.2rem;
    margin: 0 0 12px;
}

.jwb-footer-contact-btn {
    display: inline-block;
    border: 2px solid var(--jwb-blue);
    color: var(--jwb-blue);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.jwb-footer-contact-btn:hover {
    background: var(--jwb-blue);
    color: var(--jwb-white);
}

.jwb-footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.jwb-footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
}

.jwb-footer-copyright a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   ARTICLES & AI DAILY PAGES
   ============================================ */
.jwb-articles-hero {
    background: linear-gradient(135deg, var(--jwb-near-black) 0%, var(--jwb-darker) 100%);
    padding: 100px 20px 70px;
    text-align: center;
}

.jwb-articles-hero-title {
    color: var(--jwb-white);
    font-size: 5.6rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.jwb-articles-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.4rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Filter Pills */
.jwb-category-filter {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.jwb-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.jwb-pill {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid var(--jwb-light-gray);
    color: var(--jwb-blue);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.jwb-pill:hover {
    border-color: var(--jwb-blue);
    color: var(--jwb-blue);
}

.jwb-pill-active {
    background: var(--jwb-blue);
    border-color: var(--jwb-blue);
    color: var(--jwb-white);
}

.jwb-pill-active:hover {
    background: #087fa8;
    border-color: #087fa8;
    color: var(--jwb-white);
}

/* Articles & AI Daily post grid */
.jwb-articles-grid {
    padding: 40px 0 80px;
}

.jwb-articles-grid .gh-feed {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

@media (max-width: 991px) {
    .jwb-articles-grid .gh-feed {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .jwb-articles-grid .gh-feed {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   POST BODY: Blockquotes (X post embeds, pull quotes)
   ============================================ */
.gh-content blockquote {
    border-left: 4px solid var(--jwb-blue);
    margin: 2em 0;
    padding: 1.2em 1.6em;
    background: rgba(10, 144, 198, 0.04);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.gh-content blockquote p {
    margin: 0 0 0.8em;
}

.gh-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Post body headings stay sans-serif for contrast */
.gh-content h2,
.gh-content h3,
.gh-content h4 {
    font-family: var(--jwb-font-stack);
    font-weight: 700;
}

.gh-content h2 {
    font-size: 3rem !important;
    margin-top: 2.4em;
    margin-bottom: 0.6em;
}

.gh-content h3 {
    font-size: 2.4rem !important;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

/* Hyperlinks — override Ghost accent color */
.gh-content a {
    color: var(--jwb-orange);
    text-decoration: underline;
    text-decoration-color: rgba(218, 106, 5, 0.3);
    text-underline-offset: 3px;
}

.gh-content a:hover {
    color: #c45e04;
    text-decoration-color: #c45e04;
}

/* Strong text in body (for Also Worth Knowing headlines) */
.gh-content p strong {
    font-weight: 700;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    .jwb-hero-title {
        font-size: 52px;
    }

    .jwb-bio-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .jwb-bio-image,
    .jwb-bio-image-placeholder {
        width: 260px;
        height: 260px;
    }

    .jwb-featured-grid.featured-count-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .jwb-featured-grid.featured-count-3 .jwb-featured-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

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

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

    .jwb-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .jwb-footer-social {
        justify-content: center;
    }

    .jwb-footer-contact {
        text-align: center;
    }

    .jwb-post-hero-title {
        font-size: 3.2rem;
    }

    .jwb-post-hero-tag {
        font-size: 1.4rem;
    }

    .jwb-article-subscribe-inner {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .jwb-hero {
        padding: 80px 20px 60px;
    }

    .jwb-hero-title {
        font-size: 36px;
    }

    .jwb-hero-subtitle {
        font-size: 1rem;
    }

    .jwb-newsletter {
        padding: 40px 20px;
    }

    .jwb-newsletter .gh-form {
        flex-direction: column;
    }

    .jwb-featured {
        padding: 40px 20px;
    }

    .jwb-featured-grid.featured-count-2,
    .jwb-featured-grid.featured-count-3 {
        grid-template-columns: 1fr;
    }

    .jwb-featured-grid.featured-count-3 .jwb-featured-card:last-child {
        max-width: 100%;
    }

    .jwb-featured-title {
        font-size: 2.2rem;
    }

    .jwb-bio {
        padding: 40px 20px 60px;
    }

    .jwb-bio-image,
    .jwb-bio-image-placeholder {
        width: 200px;
        height: 200px;
    }

    .jwb-bio-heading {
        font-size: 1.6rem;
    }

    .jwb-video-grid {
        grid-template-columns: 1fr;
    }

    .jwb-topics-grid {
        grid-template-columns: 1fr;
    }

    .jwb-form-row {
        grid-template-columns: 1fr;
    }

    .jwb-post-hero {
        min-height: 300px;
        padding: 40px 20px;
    }

    .jwb-post-hero-title {
        font-size: 2.6rem;
    }

    .jwb-post-hero-tag {
        font-size: 1.3rem;
        padding: 4px 14px;
    }

    .jwb-article-subscribe {
        margin: 36px 0;
    }

    .jwb-article-subscribe-inner {
        padding: 28px 22px;
    }

    .jwb-article-subscribe-title {
        font-size: 2.4rem !important;
    }

    .jwb-article-subscribe-text {
        font-size: 1.8rem !important;
    }

    .jwb-article-subscribe-form.gh-form {
        grid-template-columns: 1fr;
    }

    .jwb-article-subscribe-form .gh-button,
    .jwb-article-subscribe-button {
        width: 100%;
    }

    .jwb-post-nav {
        grid-template-columns: 1fr;
    }

    .jwb-speaking-hero {
        padding: 70px 20px 50px;
    }

    .jwb-speaking-hero-title {
        font-size: 2.2rem;
    }

    .jwb-tag-header {
        padding: 60px 20px 40px;
    }

    .jwb-tag-title {
        font-size: 1.8rem;
    }

    .jwb-articles-hero-title {
        font-size: 3.6rem;
    }

    .jwb-category-pills {
        gap: 8px;
    }

    .jwb-pill {
        font-size: 1.4rem;
        padding: 8px 16px;
    }
}
