/**
 * Hello Middleton - Daily Briefing Styles
 * Elegant editorial newsletter aesthetic.
 *
 * @package BuddyX_Child
 * @since 3.5.0
 */

@layer components {

    .latest-brief {
        background: var(--hm-bg-elevated);
        border: 1px solid var(--hm-border);
        border-radius: var(--radius-lg);
        padding: var(--space-8) var(--space-10);
        box-shadow: var(--shadow-xl);
        position: relative;
        max-width: 800px;
        margin: var(--space-8) auto;
        font-family: var(--font-body);
    }

    /* Top Stamp */
    .latest-brief::after {
        content: 'BRIEFING';
        position: absolute;
        top: 20px;
        right: 20px;
        border: 2px solid var(--hm-primary-200);
        color: var(--hm-primary-300);
        padding: 4px 12px;
        font-size: 0.6rem;
        font-weight: 800;
        letter-spacing: 0.2em;
        border-radius: 4px;
        transform: rotate(5deg);
        opacity: 0.5;
    }

    .latest-brief h2, 
    .latest-brief p:first-of-type {
        font-family: var(--font-display);
        color: var(--hm-primary);
        font-size: 1.5rem;
        border-bottom: 2px solid var(--hm-bg-subtle);
        padding-bottom: var(--space-4);
        margin-bottom: var(--space-6);
        text-align: center;
    }

    .latest-brief p {
        margin-bottom: var(--space-4);
        color: var(--hm-text-secondary);
        line-height: 1.8;
    }

    /* Headlines / Bullet Points */
    .latest-brief p:contains("•"),
    .latest-brief br + • {
        /* Styling bullet points */
    }

    /* Target the specific AI signature */
    .latest-brief p:last-of-type {
        font-size: 0.75rem;
        font-style: italic;
        color: var(--hm-text-muted);
        text-align: center;
        margin-top: var(--space-8);
        padding-top: var(--space-4);
        border-top: 1px dashed var(--hm-border);
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
        .latest-brief {
            padding: var(--space-6) var(--space-5);
            margin: var(--space-4) 0;
            border-radius: 0;
            border-left: none;
            border-right: none;
        }
    }
}
