/* All article additions are scoped; existing galleries and ad containers stay intact. */
#tom-article-next {--ta-ink:#263a32;--ta-green:#1b4639;--ta-pink:#a81244;--ta-line:#e6ded8;color:var(--ta-ink);margin:48px 0 16px;font-family:'DM Sans',system-ui,sans-serif;line-height:1.65}
#tom-article-next *, #tom-article-next *::before, #tom-article-next *::after {box-sizing:border-box;min-width:0}
.entry-content #tom-article-next :is(h2,p) {padding:0;border:0;background:none}
.entry-content #tom-article-next h2 {font-family:'Playfair Display',Georgia,serif;font-size:clamp(25px,2.5vw,34px);line-height:1.25;margin:8px 0 18px;color:var(--ta-ink);letter-spacing:-.02em}
.entry-content #tom-article-next p {margin:0 0 16px;font-size:16px}
#tom-article-next a {color:var(--ta-green);text-underline-offset:4px}
#tom-article-next a:focus-visible,.tom-pinnable .tom-image-save:focus-visible {outline:3px solid #d41456;outline-offset:4px}
.entry-content #tom-article-next .tom-next-kicker {font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--ta-pink);margin:0}
.tom-article-save {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-block:1px solid var(--ta-line);padding:20px 0}
.entry-content .tom-article-save p {margin:0}
.entry-content #tom-article-next .tom-save-link {display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid var(--ta-pink);border-radius:6px;color:var(--ta-pink);font-size:14px;font-weight:700;text-decoration:none;background:#fff0f5}
.tom-tool-next {margin:28px 0;padding:clamp(20px,3vw,32px);background:#f0f5f0;border:1px solid #d5e3d7;border-radius:12px}
.tom-tool-next>a {display:inline-flex;align-items:center;min-height:44px;font-weight:700;gap:8px}
.tom-related {margin:36px 0}
.tom-related-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.entry-content #tom-article-next .tom-related-grid>a.tom-related-card {display:flex;flex-direction:column;border:1px solid var(--ta-line);border-radius:10px;overflow:hidden;text-decoration:none;background:#fffbf8;color:var(--ta-ink);box-shadow:none}
.entry-content #tom-article-next .tom-related-card>img {display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;margin:0;border-radius:0}
.tom-card-copy {display:flex;flex:1;flex-direction:column;gap:10px;padding:16px}
.tom-card-category {font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ta-pink);font-weight:700;line-height:1.5}
.tom-card-title {font:600 18px/1.35 'Playfair Display',Georgia,serif}
.tom-related-card:hover .tom-card-title {text-decoration:underline;text-underline-offset:3px}
.tom-collection {border-top:1px solid var(--ta-line);padding:22px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 20px}
.tom-collection>span {font-size:13px;color:#5c625e}
.tom-collection>a {display:inline-flex;align-items:center;gap:8px;font-weight:700;min-height:44px}
.entry-content figure.tom-pinnable {position:relative}
.entry-content figure.tom-pinnable>a.tom-image-save {position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;min-height:44px;min-width:60px;padding:8px 12px;border:1px solid white;border-radius:24px;background:#a81244;color:white;font:700 13px/1.3 'DM Sans',system-ui,sans-serif;text-decoration:none;box-shadow:0 2px 8px #0002;z-index:1}
@media(hover:hover) and (pointer:fine) {.tom-pinnable .tom-image-save {opacity:0;pointer-events:none}.tom-pinnable:hover .tom-image-save,.tom-pinnable:focus-within .tom-image-save {opacity:1;pointer-events:auto}}
@media(max-width:900px) {.tom-related-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px) {.tom-related-grid {gap:12px}.tom-card-copy {padding:12px}.tom-card-title {font-size:17px}.tom-card-category {font-size:9px}.tom-article-save {align-items:flex-start;flex-direction:column}}
@media print {#tom-article-next,.tom-pinnable .tom-image-save {display:none!important}}

/* The installed global article sheet uses important typography declarations. */
#tom-article-next h2 {font:500 clamp(25px,2.5vw,34px)/1.25 var(--tom-article-display,Georgia,serif)!important;color:#263a32!important;margin:8px 0 18px!important;padding:0!important;border:0}
#tom-article-next h2::after {display:none}
#tom-article-next p {font:400 16px/1.65 var(--tom-article-font,system-ui,sans-serif)!important}
#tom-article-next p.tom-next-kicker {font:700 11px/1.5 var(--tom-article-font,system-ui,sans-serif)!important}
/* Pinterest red and the official circular P badge, served locally. */
.tom-pin-icon {display:inline-block;flex:0 0 auto;width:24px;height:24px;background:currentColor;-webkit-mask:url(pinterest.svg) center/contain no-repeat;mask:url(pinterest.svg) center/contain no-repeat}
.entry-content #tom-article-next .tom-save-link {gap:10px;background:#e60023;border-color:#e60023;color:#fff;min-height:48px;padding:12px 18px}
.entry-content #tom-article-next .tom-save-link:hover,.entry-content #tom-article-next .tom-save-link:focus-visible {background:#ad081b;border-color:#ad081b;color:#fff}
.entry-content figure.tom-pinnable>a.tom-image-save {gap:8px;min-width:112px;min-height:48px;padding:12px 16px;background:#e60023;color:#fff;font-size:16px;border:0;transition:opacity .15s ease,min-width .15s ease,min-height .15s ease,padding .15s ease,font-size .15s ease}
@media(hover:hover) and (pointer:fine) {
 .entry-content figure.tom-pinnable:hover>a.tom-image-save,.entry-content figure.tom-pinnable:focus-within>a.tom-image-save {min-width:164px;min-height:64px;padding:16px 26px;font-size:20px;gap:12px;border-radius:36px}
 .entry-content figure.tom-pinnable:hover>a.tom-image-save .tom-pin-icon,.entry-content figure.tom-pinnable:focus-within>a.tom-image-save .tom-pin-icon {width:28px;height:28px}
}
@media(prefers-reduced-motion:reduce) {.entry-content figure.tom-pinnable>a.tom-image-save {transition:none}}
