/* My Dog Recipe 1.3: larger editorial photos and comfortable black text. */
body,.editor-styles-wrapper { color:#000; }
.wp-site-blocks :is(p,li,h1,h2,h3,h4,h5,h6,a,summary,label,input,textarea,button),.editor-styles-wrapper :is(p,li,h1,h2,h3,h4,h5,h6,a,summary) { color:#000; }
.hpj-header .wp-block-site-logo img,.hpj-footer .wp-block-site-logo img { width:260px; max-width:100%; height:auto; display:block; }
.hpj-brand { max-width:100%; }
.hpj-brand:has(.hpj-default-logo) > .wp-block-group { display:none; }
.hpj-header-row { padding-block:1rem; }
.hpj-header .wp-block-site-logo img { width:auto; max-width:240px; max-height:88px; object-fit:contain; }
.hpj-header .hpj-brand { flex-wrap:nowrap; align-items:center; }
.hpj-header .hpj-brand > .wp-block-site-logo { margin:0; }
.hpj-header .hpj-header-search-row > .wp-block-group { width:100%; max-width:28rem; margin:0 0 0 auto; }
.hpj-social-links .wp-social-link { color:#000 !important; }
.hpj-search button,.hpj-form button,.wp-block-button__link,.hpj-pagination .page-numbers.current { background:#F6C8A5 !important; color:#000 !important; }
.hpj-home-section > :is(.wp-block-query,h2,p) { max-width:var(--wp--style--global--wide-size); }
.hpj-home-section > h2 { display:flex; align-items:center; gap:1rem; font:700 clamp(1.4rem,2.6vw,2rem)/1.3 Arial,Helvetica,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.hpj-home-section > h2::after { content:""; flex:1; min-width:1rem; height:1px; background:#000; }
.hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .wp-block-post-template { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .hpj-post-card { display:grid; grid-template-columns:46% minmax(0,1fr); grid-template-rows:1fr auto; column-gap:1.1rem; padding:.5rem; background:#fff; box-shadow:0 2px 7px #00000020; height:100%; box-sizing:border-box; }
.hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .hpj-post-card > .wp-block-post-featured-image { grid-row:1 / 3; margin:0; width:100%; height:230px; }
.hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .hpj-post-card > .wp-block-post-featured-image a { display:block; height:100%; }
.hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .hpj-post-card img { width:100%; height:100%; object-fit:cover; border-radius:0; }
.hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .hpj-post-card > .wp-block-post-title { align-self:center; margin:0; padding-right:.5rem; font:500 1.125rem/1.45 Arial,Helvetica,sans-serif; overflow-wrap:anywhere; }
.hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .hpj-post-card > .wp-block-post-date { margin:0; padding-bottom:.75rem; font-size:.8rem; }
.hpj-post-card:not(:has(.wp-block-post-featured-image)) > .wp-block-post-title,.hpj-post-card:not(:has(.wp-block-post-featured-image)) > .wp-block-post-date { grid-column:1 / -1; }
.hpj-slider-ready .hpj-post-card { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); padding:1rem; }
.hpj-slider-ready .wp-block-post-featured-image img { width:100%; height:clamp(280px,35vw,470px); object-fit:cover; }
.wp-block-post-content :is(h2,h3,h4),.hpj-guide-faq > h2 { padding:1rem 1.25rem; border-radius:6px; color:#000; }
.wp-block-post-content h2,.hpj-guide-faq > h2 { background:#F6C8A5; }
.wp-block-post-content h3 { background:#FFF0E4; }
.wp-block-post-content h4,.hpj-guide-checklist { background:#F0F5F9; }
.wp-block-post-content .wp-block-details { padding:0; border:1px solid #F6C8A5; border-radius:6px; overflow:hidden; }
.wp-block-post-content .wp-block-details > summary { padding:1rem 1.25rem; background:#F6C8A5; color:#000; }
.wp-block-post-content .wp-block-details > :not(summary) { margin:1.25rem; }
.wp-block-post-content .wp-block-quote { background:#FFF0E4; padding:1.5rem; color:#000; }
.hpj-footer { background:#F6C8A5; padding-block:3rem; }
.hpj-footer .wp-block-columns { align-items:center; gap:3rem; }
.hpj-footer .hpj-social-links { margin-top:1.25rem; }
.hpj-footer nav { line-height:1.8; }
.hpj-footer .wp-block-navigation__container { gap:1rem 1.5rem; }
.hpj-footer-bottom { margin-block-start:0; background:#fff; padding:1.75rem 1rem; text-align:center; font-size:.875rem; }
:where(a,button,input,summary):focus-visible { outline:3px solid #B51772; outline-offset:4px; }
@media(max-width:1000px) { .hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .wp-block-post-template { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .wp-block-post-template { grid-template-columns:1fr; }
 .hpj-home-section .hpj-post-grid:not(.hpj-slider-ready) .hpj-post-card > .wp-block-post-featured-image { height:220px; }
 .hpj-header .hpj-brand .wp-block-site-logo img { width:auto; max-width:120px; max-height:64px; }
 .hpj-slider-ready .hpj-post-card { display:block; }
 .hpj-slider-ready .wp-block-post-featured-image img { height:290px; }
 .hpj-footer .wp-block-columns { gap:1.5rem; }
}

/* Logo tongue color also applies to previously saved footer parts. */
.hpj-welcome-card { text-align:center; background:#f6f6f6; padding:0 20px 24px; margin:44px 0 28px; color:#000; }
.hpj-welcome-card .hpj-welcome-avatar { display:block; width:120px; height:120px; object-fit:cover; border:5px solid #fff; border-radius:50%; box-shadow:0 3px 9px #0002; margin:0 auto -22px; transform:translateY(-28px); box-sizing:border-box; }
.hpj-welcome-card h2 { font:900 1.45rem/1.2 Georgia,serif; margin:8px 0 12px; }
.hpj-welcome-bio { font-size:.875rem; line-height:1.6; }
.hpj-welcome-bio p { margin:0 0 14px; }
.hpj-welcome-button { display:inline-block; border-radius:30px; background:#FDB031; color:#000; padding:12px 18px; font:700 .7rem/1.3 Arial,sans-serif; letter-spacing:.1em; text-transform:uppercase; text-decoration:none; }
.hpj-welcome-button:hover { background:#f6c8a5; }
.hpj-article-columns .hpj-sidebar-browse { display:none; }
.hpj-sidebar-guides h2 { font:900 1.2rem/1.25 Georgia,serif; margin-bottom:14px; }
.hpj-sidebar-guide-grid { gap:24px 14px; }
.hpj-sidebar-guide-grid h3 { font:900 1rem/1.2 Georgia,serif; margin-top:8px; }
.hpj-sidebar-guides section + section { margin-top:36px; }
@media(min-width:900px) {
 .hpj-article-columns { display:grid !important; grid-template-columns:minmax(0,1fr) 270px; gap:48px; align-items:start; }
}
@media(max-width:899px) {
 .hpj-article-columns { display:block !important; }
 .hpj-article-columns > .wp-block-column + .wp-block-column { max-width:340px; margin:56px auto 0; }
}
.hpj-slider-controls { display:none !important; }
.hpj-footer.hpj-footer { background:var(--wp--preset--color--tongue-pink, #F9344C) !important; color:#000; }

/* Keep the footer compact, including previously saved Site Editor parts. */
.hpj-footer .wp-block-site-logo img {
 width:auto !important; height:auto !important; max-width:64px !important; max-height:64px !important; object-fit:contain;
}
.hpj-footer { padding-block:16px !important; min-height:0 !important; }
.hpj-footer .wp-block-columns { margin-block:0 !important; gap:1.5rem; min-height:0 !important; }
.hpj-footer .wp-block-column { display:flex; align-items:center; flex-wrap:wrap; gap:1rem; min-height:0 !important; }
.hpj-footer .wp-block-column > * { margin-block:0 !important; }
.hpj-footer .wp-block-site-logo { flex:0 0 auto; line-height:0; }
.hpj-footer .hpj-social-links { margin-block:0 !important; gap:0.75rem; }
.hpj-footer .wp-block-column:last-child { justify-content:flex-end; }
.hpj-footer-bottom { padding-block:1rem; }
.hpj-footer-bottom p { margin-block:0; }
@media (max-width:781px) {
 .hpj-footer .wp-block-site-logo img { max-width:48px !important; max-height:48px !important; }
 .hpj-footer .wp-block-columns { gap:0.75rem; }
 .hpj-footer .wp-block-column:last-child { justify-content:flex-start; }
 .hpj-footer .hpj-social-links { gap:0.75rem; }
 .hpj-footer .wp-block-navigation__container { gap:0.5rem 1rem; }
}

/* Adjacent article links with featured images. */
.hpj-post-navigation { align-items: stretch !important; }
.hpj-post-navigation > .wp-block-post-navigation-link { flex: 1 1 240px; min-width: 0; display: flex; margin-block: 0 !important; }
.hpj-post-navigation .wp-block-post-navigation-link a { width: 100%; box-sizing: border-box; }
.hpj-post-navigation .wp-block-post-navigation-link a { display: block; padding: 14px; border: 1px solid #e8dfd4; border-radius: 12px; text-decoration: none; overflow-wrap: anywhere; }
.hpj-post-navigation .wp-block-post-navigation-link a:hover { background: #fff5e9; }
.hpj-post-navigation .wp-block-post-navigation-link a:focus-visible { outline: 3px solid #b85216; outline-offset: 3px; }
.hpj-post-navigation .hpj-navigation-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin: 0 0 12px; }
@media (max-width: 600px) { .hpj-post-navigation { flex-direction: column; align-items: stretch !important; } .hpj-post-navigation > .wp-block-post-navigation-link { flex-basis: auto; width: 100%; } }
#hpj-home-categories { width:100%; max-width:var(--wp--style--global--wide-size); margin-inline:auto; }
.hpj-category-section { margin-block:3rem; }
.hpj-category-section .wp-block-post-template { padding:0; list-style:none; }
.hpj-category-section h2 a { color:inherit; text-decoration:none; }
.hpj-category-section h2 a:hover { text-decoration:underline; }
