/* ── Hopestream Episode Block Styles ─────────────────────────────────────── */

/* Quick Answer */
.hs-quick-answer {
    background-color: #c1d7ff;
    border-left: 4px solid #1a7a6e;
    padding: 14px 18px !important;
    margin: 16px 0;
    border-radius: 0 5px 5px 0;
}

/* Key Takeaways */
.hs-key-takeaways {
    background-color: #f7f9f8;
    border: 1px solid #dce8e5;
    padding: 14px 18px !important;
    border-radius: 5px;
    margin: 16px 0;
}
.hs-key-takeaways ul,
.hs-episode-resources ul {
    padding-left: 20px;
    margin-top: 8px;
}
.hs-key-takeaways li {
    margin-bottom: 6px;
}

/* Episode Resources */
.hs-episode-resources {
    background-color: #f7f9f8;
    border: 1px solid #dce8e5;
    padding: 14px 18px !important;
    border-radius: 5px;
    margin: 16px 0;
}
.hs-episode-resources .hs-resources-label {
    font-size: 0.95rem;
    margin: 12px 0 4px;
}
.hs-episode-resources ul {
    line-height: 2;
}
.hs-episode-resources a,
.hs-guest-card a {
    color: #1a7a6e !important;
}
.hs-disclaimer {
    font-size: 0.8em !important;
    color: #6b8a85 !important;
    margin-top: 10px !important;
    border-top: 1px solid #dce8e5;
    padding-top: 10px;
}

/* In This Article (table of contents) */
.hs-in-this-article {
    background-color: #ffffff;
    border: 1px solid #dce8e5;
    padding: 14px 18px !important;
    border-radius: 5px;
    margin: 16px 0;
}
.hs-in-this-article > p:first-child {
    margin: 0 0 10px;
}
.hs-in-this-article ol {
    margin: 0;
    padding-left: 22px;
    line-height: 1.9;
}
.hs-in-this-article li {
    margin-bottom: 2px;
    padding-left: 4px;
}
.hs-in-this-article a {
    color: #1a7a6e !important;
    text-decoration: none;
}
.hs-in-this-article a:hover {
    text-decoration: underline;
}

/* Guest Card */
.hs-guest-card {
    background-color: #ffffff;
    border: 1px solid #dce8e5;
    padding: 14px 18px !important;
    border-radius: 5px;
    margin: 16px 0;
}
.hs-guest-title {
    color: #6b8a85 !important;
}

/* Related Episodes */
.hs-related-episodes {
    margin: 24px 0;
}
.hs-related-episodes > h2 {
    margin-bottom: 12px;
}
.hs-related-table {
    border-radius: 5px;
    overflow: hidden;
}
.hs-related-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 11px 16px;
}
.hs-related-row:nth-child(odd) {
    background-color: #f7f9f8;
}
.hs-related-ep {
    flex: 0 0 56px;
    font-weight: 700;
    color: #264653;
    font-size: 0.9rem;
}
.hs-related-title {
    flex: 1 1 auto;
    font-size: 0.92rem;
}
.hs-related-action {
    flex: 0 0 auto;
    white-space: nowrap;
}
.hs-related-episodes a.hs-related-listen {
    color: #1a7a6e !important;
    font-weight: 600;
    text-decoration: none;
}
.hs-related-episodes a.hs-related-listen:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    .hs-related-row {
        flex-wrap: wrap;
        gap: 2px 12px;
    }
    .hs-related-title {
        flex: 1 1 100%;
        order: 3;
    }
}

/* Connect CTA */
.hs-connect-cta {
    background-color: #C1D7FF;
    color: #264653;
    padding: 20px 24px !important;
    border-radius: 7px;
    margin: 20px 0;
}
.hs-connect-cta h3,
.hs-connect-cta .wp-block-heading {
    color: #264653 !important;
    margin: 0 0 8px;
}
.hs-connect-cta a {
    color: #1a7a6e !important;
    font-weight: 600;
}

/* FAQs */
.hs-faqs {
    margin: 16px 0;
}
.hs-faq-item {
    border-bottom: 1px solid #eeeeee;
    padding: 14px 0 !important;
}
.hs-faq-item:last-child {
    border-bottom: none;
}

/* Author Bios */
.hs-author-bios {
    border-top: 2px solid #1a7a6e;
    margin-top: 24px;
    padding-top: 20px;
}
.hs-author-card {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.6;
}
.hs-author-card:last-child {
    border-bottom: none;
}
.hs-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-family: sans-serif;
    font-size: 1rem;
}
.hs-author-avatar--host  { background-color: #1a7a6e; }
.hs-author-avatar--guest { background-color: #264653; }
.hs-author-title {
    color: #6b8a85;
    font-size: 0.82rem;
}
.hs-author-info p {
    margin-top: 6px;
    font-size: 0.84rem;
}

/* AI Answer Summary */
.hs-ai-summary {
    background-color: #c1d7ff;
    border: 1px solid #b2d8d8;
    border-radius: 6px;
    padding: 16px 20px !important;
    margin: 16px 0;
}
.hs-ai-summary-label {
    font-family: sans-serif;
    font-size: 0.68rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a7a6e !important;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Entity Bar */
.hs-entity-bar {
    background-color: #f3f7f6;
    border: 1px solid #c8ddd9;
    border-radius: 5px;
    padding: 14px 18px !important;
    margin-top: 20px;
    font-family: sans-serif;
    font-size: 0.78rem;
    color: #4a6860;
    line-height: 1.5;
}
.hs-entity-bar a {
    color: #1a7a6e !important;
    font-size: inherit !important;
    font-weight: inherit;
}

/* Transcript */
.hs-transcript {
    border: 1px solid #dce8e5;
    border-radius: 5px;
    margin: 24px 0;
    overflow: hidden;
}
.hs-transcript details summary {
    font-weight: 700;
    padding: 14px 18px;
    cursor: pointer;
    background: #f7f9f8;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}
.hs-transcript details summary::-webkit-details-marker { display: none; }
.hs-transcript details summary::before {
    content: '▶';
    font-size: 0.65em;
    color: #1a7a6e;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.hs-transcript details[open] summary::before {
    transform: rotate(90deg);
}
.hs-transcript-body {
    border-top: 1px solid #dce8e5;
    padding: 16px 18px;
    background: #ffffff;
    font-size: 0.84rem;
    line-height: 1.75;
    color: #4a6860;
    max-height: 420px;
    overflow-y: auto;
}
.hs-transcript-body p {
    margin-bottom: 12px !important;
}
.hs-transcript-body p:last-child {
    margin-bottom: 0 !important;
}

/* Blockquotes in article body */
.hs-blockquote {
    border-left: 4px solid #1a7a6e;
    background: #fff59c;
    border-radius: 0 4px 4px 0;
    padding: 12px 18px;
    font-style: italic;
    color: #264653;
    margin: 20px 0;
    display: block;
}
