/* Scoped article composition; finder filters and results remain independent. */
.mpc-service-article .nc-magazine-main .entry-content > .mpc-service-gallery {clear:both;max-width:960px;margin:44px auto 54px;display:grid;gap:28px;}
.mpc-service-gallery figure{margin:0;min-width:0;}
.mpc-service-gallery img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;}
.mpc-service-article .entry-content .mpc-service-gallery figcaption{padding:14px 0 0;font-size:17px;line-height:1.85;color:#34190b;}
.mpc-service-gallery figcaption strong{display:block;font-size:20px;margin-bottom:6px;line-height:1.5;}
.mpc-service-gallery--pair,.mpc-service-gallery--quad{grid-template-columns:repeat(2,minmax(0,1fr));}
.mpc-service-gallery--trio{grid-template-columns:repeat(3,minmax(0,1fr));}
.mpc-service-gallery--steps figure{display:grid;grid-template-columns:1.12fr 1fr;gap:30px;align-items:center;}
.mpc-service-article .entry-content .mpc-service-gallery--steps figcaption{padding:0;}
.mpc-service-article .entry-content > .mpc-service-diagram{box-sizing:border-box;max-width:960px;margin:48px auto;padding:34px;background:#f7f4ed;border-radius:20px;clear:both;}
.mpc-service-diagram h3{font-size:25px;margin:0 0 30px;line-height:1.5;}
.mpc-service-diagram__items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;}
.mpc-service-diagram__item{text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px;}
.mpc-service-diagram__item img{width:84px;height:84px;object-fit:contain;display:block;margin:0 auto;}
.mpc-service-diagram__item strong{font-size:21px;line-height:1.5;}
.mpc-service-diagram__item span{font-size:17px;line-height:1.75;}
.mpc-service-article .entry-content > .mpc-visual{float:none;clear:both;width:100%;max-width:960px;margin:42px auto;}
.mpc-service-article .mpc-visual img{display:block;width:100%;height:auto;border-radius:12px;}
.mpc-service-dog .entry-content .nc-lead-summary:after{background-image:url('/wp-content/themes/mpc-2025-child/assets/chu/chu-dog-memo.webp');}
.mpc-service-both .entry-content .nc-lead-summary:after{width:112px;background-image:url('/wp-content/themes/mpc-2025-child/assets/chu/chu-cat.webp'),url('/wp-content/themes/mpc-2025-child/assets/chu/chu-dog-memo.webp');background-position:left bottom,right bottom;background-size:52px auto;background-repeat:no-repeat;}
.mpc-service-both .entry-content .nc-lead-summary{padding-right:150px;}
.mpc-service-related{margin:24px 0 30px;padding:24px;background:#f8f4ee;border:1px solid #eadccd;border-radius:18px;}
.mpc-service-related__head{display:flex;gap:16px;align-items:baseline;justify-content:space-between;margin-bottom:18px;}
.mpc-service-related__head h2{margin:0;font-size:22px;line-height:1.5;color:#34190b;}
.mpc-service-related__head>span{font-size:14px;color:#745b49;white-space:nowrap;}
.mpc-service-related__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;}
.mpc-service-related__card{display:block;color:#34190b;text-decoration:none;font-weight:700;font-size:16px;line-height:1.6;min-width:0;}
.mpc-service-related__card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:9px;margin-bottom:10px;}
.mpc-service-related__card:hover span{text-decoration:underline;text-underline-offset:4px;}
.mpc-service-related__card:focus-visible{outline:3px solid #b93c30;outline-offset:5px;border-radius:8px;}
@media(max-width:800px){.mpc-service-related__grid{grid-template-columns:repeat(2,minmax(0,1fr));}.mpc-service-related__head{align-items:flex-start;}}
@media(max-width:700px){
 .mpc-service-both .entry-content .nc-lead-summary{padding-right:24px;padding-bottom:92px;}
 .mpc-service-article .nc-magazine-main .entry-content > .mpc-service-gallery{grid-template-columns:1fr;gap:30px;margin:30px auto 40px;}
 .mpc-service-gallery--steps figure{grid-template-columns:1fr;gap:0;}
 .mpc-service-article .entry-content .mpc-service-gallery--steps figcaption{padding-top:14px;}
 .mpc-service-article .entry-content > .mpc-service-diagram{padding:26px 22px;}
 .mpc-service-diagram__items{grid-template-columns:1fr;gap:28px;}
 .mpc-service-diagram h3{font-size:23px;}
 .mpc-service-related{padding:20px 16px;}
 .mpc-service-related__head h2{font-size:20px;}
 .mpc-service-related__head>span{display:none;}
 .mpc-service-related__grid{grid-template-columns:1fr;gap:16px;}
 .mpc-service-related__card{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center;}
 .mpc-service-related__card img{margin:0;}
}
/* Related articles: manual carousel, with visible native scroll affordance. */
.mpc-service-related__track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:2px;padding:3px 2px 14px;scrollbar-width:thin;scrollbar-color:#bc8170 #e9dfd3;overscroll-behavior-x:contain}
.mpc-service-related__track .mpc-service-related__card{display:block;flex:0 0 calc((100% - 64px)/5);min-width:0;scroll-snap-align:start}
.mpc-service-related__track .mpc-service-related__card img{width:100%;margin:0 0 10px;aspect-ratio:3/2;object-fit:cover}
.mpc-service-related__track:focus-visible,.mpc-service-related__controls button:focus-visible{outline:3px solid #b83d31;outline-offset:3px}
.mpc-service-related__controls{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 10px}
.mpc-service-related__controls[hidden]{display:none}
.mpc-service-related__controls button{width:44px;height:44px;border:1px solid #dac6b8;border-radius:50%;background:#fff;color:#34190b;font-size:23px;cursor:pointer}
.mpc-service-related__controls button:disabled{opacity:.35;cursor:default}
.mpc-service-related__position{font-size:13px;color:#6c5140;min-width:65px;text-align:center}
@media(max-width:1000px){.mpc-service-related__track .mpc-service-related__card{flex-basis:calc((100% - 32px)/3)}}
@media(max-width:700px){.mpc-service-related__track .mpc-service-related__card{flex-basis:78%}.mpc-service-related__head>span{display:block;font-size:12px;white-space:nowrap}.mpc-service-related__head{align-items:flex-start;gap:10px}.mpc-service-related__head h2{font-size:18px}}
/* Article-specific relationships: record rows, route, and question cards. */
.mpc-service-diagram--record .mpc-service-diagram__items{grid-template-columns:1fr;gap:14px;max-width:780px;margin:auto}
.mpc-service-diagram--record .mpc-service-diagram__item{display:grid;grid-template-columns:64px 1fr 1.2fr;align-items:center;gap:22px;padding:18px 22px;background:#fff;border-radius:14px;text-align:left}
.mpc-service-diagram--record .mpc-service-diagram__item img{width:56px;height:56px;margin:0}
.mpc-service-diagram--record .mpc-service-diagram__item strong,.mpc-service-diagram--record .mpc-service-diagram__item span{margin:0}
.mpc-service-diagram--route .mpc-service-diagram__item{position:relative;padding:18px 12px;background:#fff;border-radius:18px}
.mpc-service-diagram--route .mpc-service-diagram__item:not(:last-child):after{content:'→';position:absolute;right:-26px;top:46%;color:#a87652;font-size:28px}
.mpc-service-diagram--questions .mpc-service-diagram__item{padding:26px 18px;background:#fff;border:1px solid #e4d4c4;border-radius:18px}
@media(max-width:700px){.mpc-service-diagram--record .mpc-service-diagram__item{grid-template-columns:48px 1fr;gap:12px;padding:18px}.mpc-service-diagram--record .mpc-service-diagram__item img{width:44px;height:44px;grid-row:span 2}.mpc-service-diagram--record .mpc-service-diagram__item span{grid-column:2}.mpc-service-diagram--route .mpc-service-diagram__item:not(:last-child):after{content:'↓';right:calc(50% - 14px);top:auto;bottom:-32px}.mpc-service-diagram--route .mpc-service-diagram__items{gap:40px}}

@media(max-width:720px){.mpc-service-related__controls{display:grid;grid-template-columns:44px 1fr 44px;justify-content:space-between;gap:10px;margin:14px 0 18px;width:100%}.mpc-service-related__controls[hidden]{display:none}.mpc-service-related__controls button{display:grid;place-items:center;padding:0;line-height:1;font-family:Arial,sans-serif;font-size:22px;background:#fffaf5;border-color:#d9bca7;box-shadow:0 3px 8px #51351d0a}.mpc-service-related__controls button:not(:disabled):active{background:#34190b;color:white}.mpc-service-related__position{font-size:12px;font-weight:600;line-height:1.5;color:#624633}}

/* Custom chevrons: clear available/disabled states without font-dependent arrows. */
.mpc-service-related__controls button{display:grid;place-items:center;padding:0;border-radius:14px;border:1px solid #d8bda8;background:#fff;color:#68432c;box-shadow:0 3px 9px #51351d0c;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.mpc-service-related__controls button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mpc-service-related__controls button:disabled{opacity:1;background:#eee8e0;border-color:#e5dcd1;color:#b6a99c;box-shadow:none;cursor:default}
@media(hover:hover){.mpc-service-related__controls button:not(:disabled):hover{background:#65412c;border-color:#65412c;color:#fff;box-shadow:0 5px 12px #51351d20;transform:translateY(-1px)}}
.mpc-service-related__controls button:not(:disabled):active{background:#3b2417;color:#fff;transform:scale(.95);box-shadow:none}
@media(prefers-reduced-motion:reduce){.mpc-service-related__controls button{transition:none}.mpc-service-related__controls button:not(:disabled):hover,.mpc-service-related__controls button:not(:disabled):active{transform:none}}
