/* Editorial typography and small refinements around native Elementor widgets. */
.cpa-article-content h2{font-family:Manrope,sans-serif;font-size:clamp(25px,2.5vw,32px);font-weight:600;line-height:1.3;letter-spacing:-.65px;color:#00296b;margin:2.1em 0 .8em;scroll-margin-top:135px}
.cpa-article-content h2:first-child{margin-top:.2em}
.cpa-article-content p{margin:0 0 1.3em}
.cpa-article-content li{margin:.7em 0;padding-left:.2em}
.cpa-article-content ul,.cpa-article-content ol{padding-left:1.3em;margin:1em 0 1.6em}
.cpa-article-content a{color:#9d0208;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;overflow-wrap:anywhere}
.cpa-article-content strong{color:#00296b;font-weight:700}
.cpa-article-content :where(p,li){overflow-wrap:break-word}
.cpa-article-meta .elementor-icon-list-items{gap:12px 22px!important;flex-wrap:wrap}
.cpa-post-grid .elementor-post{overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
.cpa-post-grid .elementor-post:hover{transform:translateY(-4px);box-shadow:0 16px 38px #00296b12}
.cpa-post-grid .elementor-post__text{display:flex;flex-direction:column;flex:1}
.cpa-post-grid .elementor-post__excerpt{flex:1}
.cpa-post-grid .elementor-post__read-more{align-self:flex-start;margin-top:12px}
.cpa-post-grid .elementor-post__thumbnail img{transition:transform .5s ease}
.cpa-post-grid .elementor-post:hover .elementor-post__thumbnail img{transform:scale(1.025)}
.cpa-topic-selected-all .cpa-topic-all .elementor-button,.cpa-topic-selected-audit-assurance .cpa-topic-audit-assurance .elementor-button,.cpa-topic-selected-accounting .cpa-topic-accounting .elementor-button,.cpa-topic-selected-vat .cpa-topic-vat .elementor-button{background:#00296b;color:#fff;border-color:#00296b}
.cpa-article-toc .elementor-toc__list-item-text{line-height:1.65}
@media(prefers-reduced-motion:reduce){.cpa-post-grid .elementor-post,.cpa-post-grid .elementor-post__thumbnail img{transition:none}.cpa-post-grid .elementor-post:hover,.cpa-post-grid .elementor-post:hover .elementor-post__thumbnail img{transform:none}}
/* Consistent cards for archive and related-post skins. Archive skin omits Classic box controls. */
.cpa-post-grid .elementor-post{background:#fff;border:1px solid #00296b20;border-radius:20px;overflow:hidden}
.cpa-post-grid .elementor-post__text{padding:24px}
.cpa-post-grid .elementor-post__thumbnail__link{display:block!important;width:100%!important;margin:0!important;overflow:hidden;aspect-ratio:1.61}
.cpa-post-grid .elementor-post__thumbnail{height:100%!important;padding-bottom:0!important}
.cpa-post-grid .elementor-post__thumbnail img{width:100%!important;height:100%!important;object-fit:cover!important;position:static!important;transform:none!important;max-width:none!important}
.cpa-article-toc .elementor-toc{border:1px solid #00296b20;border-radius:18px;overflow:hidden}

.category-audit-assurance .cpa-topic-audit-assurance .elementor-button,.category-accounting .cpa-topic-accounting .elementor-button,.category-vat .cpa-topic-vat .elementor-button{background:#00296b;color:#fff;border-color:#00296b}
.cpa-discovery-search input:focus-visible{outline:2px solid #9d0208;outline-offset:-4px}
.cpa-post-grid .elementor-post__text{flex:1}.cpa-post-grid .elementor-post__read-more{margin-top:auto;padding-top:14px}
.cpa-post-grid .elementor-post{display:flex;flex-direction:column}
.cpa-post-grid .elementor-posts-nothing-found{grid-column:1 / -1;max-width:680px;font-size:17px;line-height:1.8;color:#485366}

/* Imported editorial covers contain lettering: preserve the complete image. */
.cpa-migrated-article .elementor-widget-theme-post-featured-image img{object-fit:contain;background:#fffbf0}
.cpa-article-content .wp-block-table{overflow-x:auto;margin:28px 0;border:1px solid #00296b20;border-radius:14px}
.cpa-article-content table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6}
.cpa-article-content th{background:#00296b;color:#fff;font-weight:600}
.cpa-article-content th,.cpa-article-content td{padding:14px 16px;text-align:left;border:1px solid #00296b20;vertical-align:top}
.cpa-article-content tr:nth-child(even) td{background:#fffbf0}
.cpa-article-content h3{font-family:Manrope,sans-serif;color:#00296b;font-size:22px;font-weight:600;line-height:1.35;margin:1.8em 0 .7em;scroll-margin-top:135px}
.cpa-article-content a,.cpa-article-content td{overflow-wrap:anywhere}

.elementor .cpa-article-content h2{font-size:clamp(25px,2.5vw,32px);font-weight:600;line-height:1.3;letter-spacing:-.65px}
.elementor .cpa-article-content h3{font-size:22px;font-weight:600;line-height:1.35}
.cpa-migrated-article .elementor .elementor-widget-theme-post-featured-image img{object-fit:contain;background:#fffbf0}

body.cpa-topic-selected-all .elementor .cpa-topic-all .elementor-button{background:#00296b;color:#fff;border-color:#00296b}

/* Preserve imported cover lettering and logos in cards as well as on articles. */
.cpa-post-grid .elementor-post__thumbnail__link{aspect-ratio:16/9;background:#fffbf0}
.cpa-post-grid .elementor-post__thumbnail img{object-fit:contain!important;background:#fffbf0}
.cpa-post-grid :is(.post-871,.post-873,.post-875,.post-961,.post-977,.post-981,.post-987,.post-989,.post-991,.post-995,.post-1025,.post-1027) .elementor-post__thumbnail img{object-fit:cover!important}
.cpa-article-content .wp-block-table:focus-visible{outline:2px solid #9d0208;outline-offset:3px}
@media(max-width:767px){
 .cpa-article-content table:has(tr>:nth-child(4)){min-width:560px}
 .cpa-article-content .wp-block-table:has(tr>:nth-child(4)):before{content:"Swipe to view the full table →";display:block;position:sticky;left:0;width:100%;padding:10px 14px;background:#fffbf0;color:#00296b;font:600 12px/1.5 Manrope,sans-serif}
}
