/* WordPress-specific additions to the TechFiscal design. */
.admin-bar .tf-header{top:32px}
@media (max-width:782px){.admin-bar .tf-header{top:46px}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Plain pages (new pages created in WordPress without a TechFiscal template) */
.tf-plain{padding:clamp(56px,8vw,112px) max(24px,calc((100vw - 880px)/2)) clamp(72px,9vw,128px);font-family:'DM Sans',Arial,sans-serif;color:#11131b}
.tf-plain .eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#3d78ff;font-weight:600;margin:0 0 14px}
.tf-plain-title{font-size:clamp(36px,5vw,58px);line-height:1.08;letter-spacing:-.045em;font-weight:500;margin:0 0 36px;color:#11131b}
.tf-plain-content{font-size:17px;line-height:1.8;color:#34405a}
.tf-plain-content h2{font-size:30px;line-height:1.25;letter-spacing:-.03em;font-weight:500;color:#141820;margin:52px 0 20px}
.tf-plain-content h3{font-size:23px;line-height:1.35;font-weight:500;color:#141820;margin:36px 0 16px}
.tf-plain-content p{margin:0 0 22px}
.tf-plain-content a{color:#000087;text-underline-offset:4px}
.tf-plain-content ul,.tf-plain-content ol{padding-left:24px;margin:0 0 24px}
.tf-plain-content img{max-width:100%;height:auto;border-radius:12px}
.tf-plain-content .wp-block-button__link{background:#000087;color:#fff;border-radius:8px;padding:14px 22px;text-decoration:none;display:inline-block}

/* Articles written in the block editor */
.article-body img{max-width:100%;height:auto;border-radius:12px}
.article-body figcaption{font-size:14px;color:#617087;margin-top:8px}
.tf-cover-image{overflow:hidden;padding:0!important}
.tf-cover-image img{width:100%;height:100%;object-fit:cover;display:block}
.journal-art img.tf-card-image{width:100%;height:100%;object-fit:cover;display:block}
.article-contents[hidden]{display:none}

/* Blog pagination / empty state */
.tf-pagination ul{display:flex;gap:8px;list-style:none;padding:0;margin:8px 0 48px;flex-wrap:wrap}
.tf-pagination a,.tf-pagination span{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;border:1px solid #dbe5f5;border-radius:8px;color:#11131b;text-decoration:none;padding:0 12px}
.tf-pagination .current{background:#000087;color:#fff;border-color:#000087}
.tf-empty{grid-column:1/-1;color:#617087}

/* Form feedback */
form .form-status:empty{display:none}
form button[disabled]{opacity:.6;cursor:wait}
