/* ==========================================================================
   DFW Pay Pros — blog archive and single post
   Tokens from the saved "DFW Pay Pros Navy and Cyan" design.
   Loaded by wp-content/novamira-sandbox/dfwpp-blog.php on the blog index,
   archives and single posts only.
   ========================================================================== */
.dfwpp-blog-hero{background:linear-gradient(160deg,#0E2A45,#163A5F,#1A4975);color:#fff;padding:78px 20px 72px;text-align:center}
.dfwpp-blog-hero h1{margin:0 0 14px;font-size:clamp(28px,4.2vw,44px);font-weight:800;line-height:1.14;color:#fff;letter-spacing:-.01em}
.dfwpp-blog-hero p{margin:0 auto;max-width:640px;font-size:clamp(15px,1.7vw,18px);line-height:1.6;color:#C9DCEA}
.dfwpp-blog-hero .dfwpp-rule{width:54px;height:4px;border-radius:2px;background:linear-gradient(135deg,#00B0C8,#29D1E6);margin:0 auto 22px}
.dfwpp-blog-wrap{background:#F4F7FA;padding:66px 20px 90px}
.dfwpp-blog-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
@media(max-width:980px){.dfwpp-blog-grid{grid-template-columns:repeat(2,1fr);gap:24px}}
@media(max-width:620px){.dfwpp-blog-grid{grid-template-columns:1fr;gap:22px}.dfwpp-blog-wrap{padding:44px 16px 64px}}
.dfwpp-card{display:flex;flex-direction:column;background:#fff;border:1px solid #E0E6ED;border-radius:16px;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.dfwpp-card:hover{transform:translateY(-4px);border-color:#29D1E6;box-shadow:0 14px 34px rgba(14,42,69,.13)}
.dfwpp-card__media{display:block;position:relative;aspect-ratio:1200/630;background:#0E2A45;overflow:hidden}
.dfwpp-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.dfwpp-card:hover .dfwpp-card__media img{transform:scale(1.035)}
.dfwpp-card__body{display:flex;flex-direction:column;flex:1;padding:24px 24px 22px}
.dfwpp-card__meta{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#00B0C8;margin-bottom:11px}
.dfwpp-card__meta .dot{width:3px;height:3px;border-radius:50%;background:#B7C6D4}
.dfwpp-card__meta time{color:#556A7E;font-weight:600;letter-spacing:.04em}
.dfwpp-card__title{margin:0 0 11px;font-size:19px;line-height:1.34;font-weight:800;letter-spacing:-.005em}
.dfwpp-card__title a{color:#163A5F;text-decoration:none}
.dfwpp-card:hover .dfwpp-card__title a{color:#0E2A45}
.dfwpp-card__excerpt{margin:0 0 20px;font-size:14.5px;line-height:1.62;color:#556A7E}
.dfwpp-card__more{margin-top:auto;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:800;color:#00B0C8;text-decoration:none}
.dfwpp-card__more svg{width:15px;height:15px;transition:transform .2s ease}
.dfwpp-card:hover .dfwpp-card__more svg{transform:translateX(4px)}
.dfwpp-card__more:hover{color:#163A5F}
.dfwpp-pagination{max-width:1180px;margin:52px auto 0;display:flex;justify-content:center;gap:9px;flex-wrap:wrap}
.dfwpp-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 13px;border-radius:10px;border:1px solid #E0E6ED;background:#fff;color:#163A5F;font-weight:700;font-size:14px;text-decoration:none;transition:all .18s ease}
.dfwpp-pagination .page-numbers:hover{border-color:#29D1E6;color:#00B0C8}
.dfwpp-pagination .page-numbers.current{background:linear-gradient(135deg,#00B0C8,#29D1E6);border-color:transparent;color:#fff;box-shadow:0 5px 15px rgba(0,176,200,.32)}
.dfwpp-blog-empty{max-width:640px;margin:0 auto;text-align:center;color:#556A7E;font-size:16px}
/* ---------- single post ---------- */
.dfwpp-post-hero{background:linear-gradient(160deg,#0E2A45,#163A5F,#1A4975);color:#fff;padding:64px 20px 58px}
.dfwpp-post-hero__inner{max-width:820px;margin:0 auto}
.dfwpp-post-hero__meta{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#29D1E6;margin-bottom:14px}
.dfwpp-post-hero__meta .dot{width:3px;height:3px;border-radius:50%;background:#5C7B98}
.dfwpp-post-hero__meta time{color:#B7CDDE;font-weight:600}
.dfwpp-post-hero h1{margin:0;font-size:clamp(26px,3.7vw,40px);line-height:1.18;font-weight:800;color:#fff;letter-spacing:-.012em}
.dfwpp-post-figure{max-width:900px;margin:-38px auto 0;padding:0 20px;position:relative;z-index:2}
.dfwpp-post-figure img{width:100%;height:auto;display:block;border-radius:16px;border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 44px rgba(14,42,69,.24)}
.dfwpp-back{max-width:820px;margin:0 auto;padding:0 20px 52px}
.dfwpp-back a{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:800;color:#00B0C8;text-decoration:none}
.dfwpp-back a:hover{color:#163A5F}
/* ---------- in-content links ---------- */
/* The theme renders .details-block links at body colour with no underline, so
   every in-article link was invisible. Scoped to blog.css, which loads on
   posts, archives and the calculator page only. */
.details-block a:not(.dfwpp-cta-button){color:#007B90;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;font-weight:600;transition:color .15s ease}
.details-block a:not(.dfwpp-cta-button):hover,.details-block a:not(.dfwpp-cta-button):focus{color:#163A5F;text-decoration-color:#29D1E6}
/* ---------- end-of-post call to action ---------- */
.dfwpp-cta-wrap{margin:40px 0 10px;text-align:center}
.dfwpp-cta-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:18px 40px;border-radius:10px;background:linear-gradient(135deg,#00B0C8,#29D1E6);color:#fff;font-size:17px;font-weight:800;line-height:1.2;letter-spacing:.01em;text-decoration:none;box-shadow:0 8px 22px rgba(0,176,200,.34);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.dfwpp-cta-button:hover,.dfwpp-cta-button:focus{color:#fff;text-decoration:none;filter:brightness(1.06);transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,176,200,.44)}
.dfwpp-cta-button:focus-visible{outline:3px solid #163A5F;outline-offset:3px}
.dfwpp-cta-button svg{width:18px;height:18px;flex:none;transition:transform .18s ease}
.dfwpp-cta-button:hover svg{transform:translateX(4px)}
.dfwpp-cta-note{margin:14px 0 0;text-align:center;font-size:14px;color:#556A7E;line-height:1.55}
@media(max-width:560px){.dfwpp-cta-button{display:flex;width:100%;padding:18px 24px;font-size:16px}}

/* Comparison tables: at phone widths a 4-5 column table is wider than the
   viewport and, with no overflow container, it stretched the whole document
   instead of scrolling. Measured at 375px: the article pages scrolled
   sideways to 432-465px. Scroll the table in place rather than the page. */
@media(max-width:860px){
.details-block table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.details-block table th,.details-block table td{white-space:normal}
}
