/*
 * The site's own pages, articles and archives inside the SweetCutePets header and footer. Loaded only where the package wraps public content.
 * It styles the reading column, the article cards and the pagination; the content itself is the WordPress page or post, untouched.
 * Specificity: every rule starts with `.scp-hf-public`, which outranks the theme's own content styles whatever the load order.
 */
.scp-hf-public { background: #faf8f5; }
.scp-hf-public .scp-hf-main { box-sizing: border-box; width: 100%; max-width: 75rem; margin: 0 auto; padding: 2rem 1.5rem 3.5rem; }
@media (max-width: 640px) { .scp-hf-public .scp-hf-main { padding: 1.25rem 1rem 2.5rem; } }
body.scp-hf-public { min-height: 100vh; display: flex; flex-direction: column; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1e293b; }
body.scp-hf-public .scp-hf-main { flex: 1 0 auto; }

.scp-hf-public .scp-hf-article { max-width: 46rem; margin: 0 auto; }
.scp-hf-public .scp-hf-list, .scp-hf-public .scp-hf-wide { max-width: none; } /* lists of articles and pages that ARE a SweetCutePets component (Free Tools, Pet Life) use the whole container; an article keeps its reading column */
.scp-hf-public .scp-hf-widgets { overflow-wrap: break-word; }
.scp-hf-public .scp-hf-widgets > p:first-child { margin-top: 0; }
.scp-hf-public .scp-hf-article-head { margin-bottom: 1.25rem; }
.scp-hf-public .scp-hf-title { margin: .25rem 0 .75rem; font-size: clamp(1.6rem, 4.4vw, 2.25rem); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: #042f2e; }
.scp-hf-public .scp-hf-meta { margin: 0; font-size: .8125rem; color: #475569; }
.scp-hf-public .scp-hf-meta a { color: #9a3412; text-decoration: none; font-weight: 600; }
.scp-hf-public .scp-hf-meta a:hover { text-decoration: underline; }
.scp-hf-public .scp-hf-feature { margin: 0 0 1.5rem; }
.scp-hf-public .scp-hf-feature img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* the reading column: the content's own headings, lists, quotes, images and tables, given one typeface and rhythm */
.scp-hf-public .scp-hf-prose { font-size: 1.0625rem; line-height: 1.75; color: #1e293b; overflow-wrap: break-word; }
.scp-hf-public .scp-hf-prose > * { max-width: 100%; }
.scp-hf-public .scp-hf-prose p, .scp-hf-public .scp-hf-prose ul, .scp-hf-public .scp-hf-prose ol, .scp-hf-public .scp-hf-prose blockquote, .scp-hf-public .scp-hf-prose figure, .scp-hf-public .scp-hf-prose table { margin: 0 0 1.15em; }
.scp-hf-public .scp-hf-prose h1, .scp-hf-public .scp-hf-prose h2, .scp-hf-public .scp-hf-prose h3, .scp-hf-public .scp-hf-prose h4 { margin: 1.6em 0 .55em; line-height: 1.25; font-weight: 800; color: #042f2e; }
.scp-hf-public .scp-hf-prose h2 { font-size: 1.5rem; }
.scp-hf-public .scp-hf-prose h3 { font-size: 1.2rem; }
.scp-hf-public .scp-hf-prose a { color: #c2410c; text-decoration: underline; text-underline-offset: 2px; }
.scp-hf-public .scp-hf-prose a:hover { color: #9a3412; }
.scp-hf-public .scp-hf-prose ul, .scp-hf-public .scp-hf-prose ol { padding-left: 1.4em; }
.scp-hf-public .scp-hf-prose img, .scp-hf-public .scp-hf-prose video, .scp-hf-public .scp-hf-prose iframe { max-width: 100%; height: auto; border-radius: 12px; }
.scp-hf-public .scp-hf-prose blockquote { padding: .25em 1.1em; border-left: 4px solid #fdba74; color: #334155; background: #fff; border-radius: 0 12px 12px 0; }
.scp-hf-public .scp-hf-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.scp-hf-public .scp-hf-prose th, .scp-hf-public .scp-hf-prose td { padding: .5rem .7rem; border: 1px solid #e2e8f0; text-align: left; }
.scp-hf-public .scp-hf-cats { margin-top: 1.5rem; }
.scp-hf-public .scp-hf-comments { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }

/* lists: archives, categories, the blog, search results */
.scp-hf-public .scp-hf-cards { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .scp-hf-public .scp-hf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .scp-hf-public .scp-hf-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scp-hf-public .scp-hf-card { margin: 0; }
.scp-hf-public .scp-hf-card-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); color: inherit; text-decoration: none; }
.scp-hf-public .scp-hf-card-link:hover { box-shadow: 0 6px 18px rgba(15, 23, 42, .1); }
.scp-hf-public .scp-hf-card-pic img { display: block; width: 100%; height: 10rem; object-fit: cover; }
.scp-hf-public .scp-hf-card-body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1.1rem; }
.scp-hf-public .scp-hf-card-title { font-size: 1.0625rem; line-height: 1.3; font-weight: 800; color: #042f2e; }
.scp-hf-public .scp-hf-card-excerpt { font-size: .875rem; line-height: 1.55; color: #475569; }
.scp-hf-public .scp-hf-pagination { margin-top: 1.5rem; }
.scp-hf-public .scp-hf-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.scp-hf-public .scp-hf-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem; padding: 0 .8rem; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #334155; font-weight: 700; font-size: .875rem; text-decoration: none; }
.scp-hf-public .scp-hf-pagination .page-numbers.current { background: #134e4a; border-color: #134e4a; color: #fff; }
.scp-hf-public .scp-hf-pagination .page-numbers:hover { background: #f1f5f9; }

/* search form and the 404's links */
.scp-hf-public .scp-hf-search-form { display: flex; gap: .5rem; max-width: 28rem; margin: .5rem 0 1rem; }
.scp-hf-public .scp-hf-search-form input[type="search"] { flex: 1 1 auto; min-height: 44px; padding: 0 1rem; font: inherit; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; }
.scp-hf-public .scp-hf-search-form button { min-height: 44px; padding: 0 1.2rem; font: inherit; font-weight: 700; color: #fff; background: #f26522; border: 0; border-radius: 999px; cursor: pointer; }
.scp-hf-public .scp-hf-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.scp-hf-public .scp-hf-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #334155; font-weight: 700; text-decoration: none; }
.scp-hf-public :focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

/* Pet Life parent page: topics (with article counts) above the latest articles, which use the same three-column cards as a category page */
.scp-hf-public .scp-hf-lead { margin: .4rem 0 0; color: #475569; max-width: 46rem; }
.scp-hf-public .scp-hf-topics-wrap { margin: 1rem 0 .5rem; }
.scp-hf-public .scp-hf-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .scp-hf-public .scp-hf-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .scp-hf-public .scp-hf-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.scp-hf-public .scp-hf-topic { display: flex; flex-direction: column; gap: .1rem; height: 100%; padding: .65rem .8rem; border: 1px solid #dbe5e0; border-radius: .75rem; background: #fff; text-decoration: none; color: inherit; }
.scp-hf-public .scp-hf-topic:hover, .scp-hf-public .scp-hf-topic:focus-visible { border-color: #0f766e; box-shadow: 0 1px 6px rgba(15, 118, 110, .15); }
.scp-hf-public .scp-hf-topic-name { font-weight: 700; color: #0f172a; }
.scp-hf-public .scp-hf-topic-count { font-size: .8rem; color: #475569; }
.scp-hf-public .scp-hf-subtitle { margin: 1.4rem 0 0; font-size: 1.15rem; }
