/**
 * HubSpot Blog Sync — minimal styles
 * Posts use your theme's existing styles.
 * This file is intentionally minimal.
 */

/* Featured images from HubSpot */
.hsbs-featured-image img {
    width: 100%;
    height: auto;
}

/* If you want to visually tag synced posts */
.hsbs-synced-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    background: #ff7a59;
    color: white;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Newsletter posts — scoped wrapper (see HSBS_Newsletter_Parser::normalize_newsletter_html) */
.hsbs-newsletter-content > *:first-child {
    margin-top: 0;
}
.hsbs-newsletter-content p:not(.newsletter-cta):not(.newsletter-social-links) {
    margin-top: 0 !important;
    margin-bottom: 0.85em !important;
}
.hsbs-newsletter-content p:not(.newsletter-cta):not(.newsletter-social-links):last-child {
    margin-bottom: 0 !important;
}

.newsletter-image {
    margin: 1.5em 0;
}
.newsletter-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.newsletter-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}
.newsletter-cta {
    margin: 1.5em 0;
}
.newsletter-button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.newsletter-button:hover {
    opacity: 0.9;
}
.newsletter-video,
.newsletter-embed {
    text-align: center;
    margin: 1.5em auto;
    max-width: 100%;
    width: 100%;
    display: block;
}
.newsletter-embed iframe,
.newsletter-video iframe {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0.5rem;
}
.newsletter-social-links {
    margin: 1.5em 0;
    text-align: center;
}
.newsletter-social {
    margin: 0 0.5em;
    text-decoration: none;
}
