/* Tip Top blog: static article pages. Built on the site's design tokens (styles.css). */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); }
.tt-wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-gutter); box-sizing: border-box; }
.tt-narrow { max-width: calc(720px + 2 * var(--container-gutter)); }
.tt-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--ink); color: var(--white); font-family: var(--font-ui); font-weight: 600; }
.tt-skip:focus { top: 16px; color: var(--white); }
#main:focus { outline: none; }

/* Header */
.tt-header { border-bottom: 1px solid var(--border-subtle); background: var(--white); }
.tt-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.tt-logo { display: inline-flex; align-items: center; min-height: 44px; }
.tt-logo img { display: block; height: 26px; width: auto; }
.tt-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.tt-nav a:not(.tt-btn) { font-family: var(--font-ui); font-weight: 500; font-size: 14.5px; color: var(--ink); padding: 10px 0; }
.tt-nav a:not(.tt-btn):hover { color: var(--tip-teal); }

/* Buttons: primary (ink) keeps white text at full contrast */
.tt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius-pill); background: var(--action-primary); color: var(--white); font-family: var(--font-ui); font-weight: 600; font-size: 15px; text-decoration: none; }
.tt-btn:hover { background: var(--action-primary-hover); color: var(--white); }
.tt-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.tt-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-strong); }
.tt-btn-ghost:hover { background: var(--mist); color: var(--ink); }

/* Article header */
.tt-article { padding: 48px 0 24px; }
.tt-crumbs { font-family: var(--font-ui); font-size: 13.5px; color: var(--text-body); margin-bottom: 28px; }
.tt-crumbs a { color: var(--tip-teal); display: inline-block; padding: 5px 0; }
.tt-label { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tip-teal); margin: 0 0 14px; display: block; }
.tt-article h1, .tt-blog-head h1 { font-size: clamp(32px, 2rem + 1.6vw, 50px); font-weight: 500; line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
.tt-meta { font-family: var(--font-ui); font-size: 14px; color: var(--text-body); margin: 18px 0 0; }
.tt-hero { margin: 36px auto 8px; }
.tt-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-md); }

/* Article body */
.tt-body { font-size: 17.5px; line-height: 1.75; color: var(--text-body); padding-top: 24px; }
.tt-body > p:first-child { font-size: 19.5px; line-height: 1.65; color: var(--ink); }
.tt-body h2 { font-size: clamp(24px, 1.4rem + 0.6vw, 30px); font-weight: 500; line-height: 1.2; color: var(--ink); margin: 48px 0 14px; }
.tt-body h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 32px 0 8px; }
.tt-body p { margin: 0 0 18px; }
.tt-body ul, .tt-body ol { margin: 0 0 22px; padding-left: 1.3em; }
.tt-body li { margin: 0 0 8px; }
.tt-body li::marker { color: var(--tip-teal); }
.tt-body a { color: var(--tip-teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tt-body a:hover { color: var(--link-hover); }
.tt-body strong { color: var(--ink); font-weight: 600; }
.tt-body table { width: 100%; border-collapse: collapse; margin: 8px 0 26px; font-size: 15.5px; line-height: 1.5; display: block; overflow-x: auto; }
.tt-body th, .tt-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.tt-body th { font-family: var(--font-ui); font-weight: 600; color: var(--ink); background: var(--mist); }
.tt-note { background: var(--mist); border-left: 3px solid var(--tip-teal); padding: 18px 22px; margin: 0 0 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 16px; }
.tt-note p:last-child { margin: 0; }
.tt-body .tt-sources { font-size: 14.5px; }

/* CTA */
.tt-cta { margin: 48px 0 8px; padding: 32px; background: var(--ink); border-radius: var(--radius-lg); color: var(--text-on-dark-secondary); }
.tt-cta h2 { color: var(--white); margin: 0 0 10px; }
.tt-cta p { margin: 0 0 22px; }
.tt-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tt-cta .tt-btn { background: var(--white); color: var(--ink); text-decoration: none; }
.tt-cta .tt-btn:hover { background: var(--mist); color: var(--ink); }
.tt-cta .tt-btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.tt-cta .tt-btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }

/* Related + index cards */
.tt-related { padding: 40px 0 72px; border-top: 1px solid var(--border-subtle); margin-top: 40px; }
.tt-related h2 { font-size: 22px; font-weight: 500; color: var(--ink); margin: 0 0 18px; }
.tt-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tt-related a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); color: var(--ink); font-size: 17px; font-weight: 500; }
.tt-related a:hover { color: var(--tip-teal); }
.tt-related .tt-label { margin-bottom: 4px; font-size: 11.5px; }
.tt-blog-head { padding: 56px 0 40px; max-width: 760px; }
.tt-blog-head p:not(.tt-label) { font-size: 18px; line-height: 1.65; color: var(--text-body); margin: 18px 0 0; }
.tt-grid { list-style: none; margin: 0 0 96px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 32px; }
.tt-card a { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.tt-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 8px; }
.tt-card .tt-label { margin: 0; }
.tt-card-title { font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.tt-card a:hover .tt-card-title { color: var(--tip-teal); }
.tt-card-desc { font-size: 15px; line-height: 1.6; color: var(--text-body); }

/* Footer */
.tt-footer { background: var(--ink); color: var(--text-on-dark-secondary); padding: 48px 0 28px; font-size: 14.5px; }
.tt-footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tt-footer-brand { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--white); }
.tt-footer-brand:hover { color: var(--aqua); }
.tt-footer p { margin: 12px 0 0; }
.tt-footer-links { display: flex; flex-direction: column; gap: 4px; }
.tt-footer-links a { color: var(--white); padding: 6px 0; }
.tt-footer-links a:hover { color: var(--aqua); }
.tt-copy { margin-top: 32px !important; padding-top: 20px !important; border-top: 1px solid var(--border-on-dark); font-size: 13px; }

@media (max-width: 640px) {
  .tt-wrap { padding: 0 var(--container-gutter-mobile, 20px); }
  .tt-nav { gap: 16px; }
  .tt-nav a[href="/#pets"] { display: none; }
  .tt-body { font-size: 17px; }
  .tt-cta { padding: 24px; }
  .tt-hero img { aspect-ratio: 4 / 3; }
}
