/* ==========================================================================
   Canopy Press — Custom Article Styles
   ========================================================================== */

/* Wider content area for readability */
.entry-content-wrap,
.content-wrap {
    max-width: 780px;
    margin: 0 auto;
}

/* Typography spacing */
.entry-content p {
    margin-bottom: 1.6em;
    line-height: 1.8;
    font-size: 1.08rem;
}

.entry-content h2 {
    margin-top: 2.4em;
    margin-bottom: 0.8em;
    font-size: 1.65rem;
    line-height: 1.3;
}

.entry-content h3 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    font-size: 1.3rem;
}

/* Key Takeaways box */
.entry-content blockquote:first-of-type,
.wp-block-quote.key-takeaways {
    background: #f0f7f4;
    border-left: 4px solid #2d6a4f;
    border-radius: 0 8px 8px 0;
    padding: 1.4em 1.8em;
    margin: 1.5em 0 2em;
    font-style: normal;
}

.entry-content blockquote:first-of-type p,
.wp-block-quote.key-takeaways p {
    margin-bottom: 0.6em;
    font-size: 1rem;
}

/* Styled blockquotes / callout boxes */
.entry-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #4a90d9;
    border-radius: 0 6px 6px 0;
    padding: 1.2em 1.6em;
    margin: 1.5em 0;
    font-style: normal;
    color: #333;
}

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

/* Disclaimer box at bottom */
.entry-content p:last-of-type em,
.disclaimer,
.entry-content .disclaimer {
    display: block;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1em 1.4em;
    margin-top: 2em;
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
    font-style: normal;
}

/* Table styling */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}

.entry-content table th {
    background: #2d6a4f;
    color: #fff;
    padding: 0.75em 1em;
    text-align: left;
    font-weight: 600;
}

.entry-content table td {
    padding: 0.7em 1em;
    border-bottom: 1px solid #e8e8e8;
}

.entry-content table tr:nth-child(even) td {
    background: #f8faf9;
}

.entry-content table tr:hover td {
    background: #eef5f1;
}

/* Last updated date */
.entry-meta .posted-on::after {
    content: " · Updated";
    color: #888;
    font-size: 0.9em;
}

/* Images in articles */
.entry-content img {
    border-radius: 8px;
    margin: 1.2em 0;
}

/* Remove any "Call-to-Action:" headings */
.entry-content h2:last-of-type,
.entry-content h3:last-of-type {
    /* Keep natural styling — CTA headings removed in pipeline */
}

/* Responsive */
@media (max-width: 768px) {
    .entry-content-wrap,
    .content-wrap {
        max-width: 100%;
        padding: 0 1em;
    }
    .entry-content p {
        font-size: 1rem;
    }
}
