/* 152: the free timesheet templates page (/timesheet-templates/). Loaded by inc/pages/tc-152.php on that page only, in the
 * head (the cards are on the first screen, so their layout is in place before the first paint). Colors are the site's:
 * navy #1d2b3a, gray #4f5d6b, line #dfe6ec, tint #f1f8fc, blue #1f8fbf. */

/* the download cards: 3 to a row on a computer, 2 on a tablet, 1 on a phone */
.tc152-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.tc152-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #dfe6ec; border-radius: 14px; overflow: hidden; }
.tc152-prev { display: block; width: 100%; height: auto; aspect-ratio: 480 / 300; object-fit: cover; object-position: top; border-bottom: 1px solid #dfe6ec; background: #f6fafc; }
.tc152-body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; padding: 20px 22px 22px; }
.t-copy-page .tc152-h { margin: 0; font: 700 20px/1.3 "Work Sans", Arial, sans-serif; color: #1d2b3a; }
.t-copy-page .tc152-body .t-p { margin: 0; }
.tc152-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.t-copy-page a.tc152-dl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 2px solid #1d2b3a; border-radius: 10px; background: #fff; color: #1d2b3a; font: 600 15px/1.3 Inter, Arial, sans-serif; text-decoration: none; transition: background-color .15s ease; }
.t-copy-page a.tc152-dl:hover { background: #f1f8fc; color: #1d2b3a; }
.t-copy-page a.tc152-dl:focus-visible { outline: 3px solid #1f8fbf; outline-offset: 2px; }
.t-copy-page a.tc152-dl svg { flex: none; }
.tc152-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1023px) { .tc152-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tc152-cards { grid-template-columns: 1fr; gap: 16px; } .tc152-body { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .t-copy-page a.tc152-dl { transition: none; } }

/* the pay period table's scrolling box takes keyboard focus on a phone: a visible ring */
.t-copy-page .t-table-wrap:focus-visible { outline: 3px solid #1f8fbf; outline-offset: 3px; }

/* the free trial box from 105 that ends the page (105's rules, unchanged), and 145's page rules for it */
.tc-tbox{background:#f6fafc;padding:36px 0;font-family:Inter,Arial,sans-serif}.tc-tbox-in{max-width:1180px;margin:0 auto;padding:0 clamp(16px,4vw,40px);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 48px}.tc-tbox-txt{flex:1 1 520px;min-width:0}.tc-tbox .tc-tbox-h{margin:0 0 8px;font:700 clamp(22px,2.2vw,28px)/1.25 'Work Sans',Arial,sans-serif;color:#1d2b3a;letter-spacing:0}.tc-tbox .tc-tbox-p{margin:0;font-size:17px;line-height:1.6;color:#4f5d6b;max-width:660px}.tc-tbox-act{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}.tc-tbox .tc-tbox-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:12px;background:#ff6500;color:#fff;font:600 16px/1.2 'Work Sans',Arial,sans-serif;text-decoration:none}.tc-tbox .tc-tbox-cta:hover,.tc-tbox .tc-tbox-cta:focus{color:#fff;filter:brightness(.95)}.tc-tbox .tc-tbox-link{color:#1f8fbf;font:600 16px/1.4 Inter,Arial,sans-serif;text-decoration:underline}@media (max-width:600px){.tc-tbox{padding:28px 0}.tc-tbox-act{width:100%}.tc-tbox .tc-tbox-cta{width:100%}}
.t-copy-page .t-sec.gray+.tc-tbox{border-top:1px solid #dde9f0}.t-copy-page .tc-tbox .tc-tbox-link{display:inline-flex;align-items:center;min-height:44px}.t-copy-page .tc-tbox a:focus-visible{outline:3px solid #1f8fbf;outline-offset:3px}
