.guide-cards .guide-tool-link {
  display:block; padding:clamp(1.1rem,2.5vw,1.9rem); border:1px solid #c4d6cb;
  border-radius:8px; background:#fff; color:#172f23; text-decoration:none;
}
.guide-cards .guide-tool-link:hover,.guide-cards .guide-tool-link:focus-visible { border-color:#287150; background:#f4f8f4; }
.guide-cards .guide-tool-link:focus-visible,.guide-shell :focus-visible,.guide-languages :focus-visible {outline:3px solid #287150;outline-offset:3px}
.guide-cards .guide-tool-link>svg { color:#3e7255; width:30px; height:30px; stroke-width:1.5; }
.guide-cards .guide-tool-link h2 { text-decoration:underline; text-underline-offset:.26em; text-decoration-color:#97b6a4; }
.guide-cards .guide-tool-link p { color:#4d6156; font-size: .94rem; }
.guide-shell { padding-block:clamp(20px,4vw,46px) clamp(50px,7vw,90px); }
.guide-shell a:not(.guide-action),.guide-languages a { color:#16563d; text-underline-offset:.18em; }
.guide-path {display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;color:#53665c;font-size:.9rem;}
.guide-shell h1 {margin:1.1rem 0 .25rem;font-size:clamp(1.65rem,3.8vw,2.6rem);line-height:1.25;letter-spacing:-.04em;}
.guide-lead {color:#4f6458;margin: .6rem 0 1.5rem;}
.guide-tabs,.guide-actions,.guide-pagination { display:flex;flex-wrap:wrap;gap:.5rem;align-items:center; }
.guide-tabs { border-bottom:1px solid #cbd9d0; padding-bottom:1rem; margin-bottom:1.5rem; }
.guide-tabs a,.guide-actions a,.guide-action,.guide-pagination a { display:inline-flex;align-items:center;min-height:44px;padding:.45rem .95rem;border:1px solid #bccfc1;border-radius:6px;text-decoration:none;font:inherit;box-sizing:border-box;background:#fff; }
.guide-tabs a[aria-current=page],.guide-action {background:#14543e;color:#fff;border-color:#14543e;}
.guide-action {cursor:pointer;}
.guide-shell .guide-tabs a[aria-current=page]{color:#fff;}
.guide-shell a:hover,.guide-languages a:hover { text-decoration:underline; }
.guide-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:1.3rem;}
.guide-layout.has-detail {grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);align-items:start;}
.guide-panel {border:1px solid #d1ddd5;border-radius:10px;padding:clamp(1.1rem,2vw,1.75rem);min-width:0;overflow-wrap:anywhere;}
.guide-panel h2{font-size:1.35rem;line-height:1.4;margin:0 0 1rem}
.guide-panel h3{margin:1.2rem 0 .45rem;font-size:1.02rem;}
.guide-panel p{margin:.5rem 0 1rem;}
.guide-panel dl {margin:0 0 1.15rem;}
.guide-panel dl>div {display:grid;grid-template-columns:minmax(7rem,34%) 1fr;gap:.5rem;padding:.65rem 0;border-bottom:1px solid #e0e8e1;}
.guide-panel dt {color:#4a6152;} .guide-panel dd {margin:0;white-space:pre-wrap;overflow-wrap:anywhere;}
.guide-badge {display:inline-block;background:#eaf3ed;color:#1a5639;padding:.12rem .55rem;border-radius:4px;font-weight:650;font-size:.83rem;}
.guide-badge.sample {background:#f4f0e6;color:#6b5526;}
.guide-search {display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin-bottom:.75rem;}
.guide-search label {width:100%;font-weight:600;}
.guide-search input[type=search] {font:inherit;flex:1;min-width:min(10rem,100%);padding:.55rem .7rem;border:1px solid #849a8d;border-radius:5px;color:inherit;}
.guide-list {list-style:none;margin:.4rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr));column-gap:1.2rem;}
.has-detail .guide-list{display:block;}
.guide-list li {border-bottom:1px solid #dce5df;}
.guide-list a {display:flex;flex-direction:column;padding:.7rem .1rem;min-height:44px;justify-content:center;box-sizing:border-box;}
.guide-list a[aria-current=true] {font-weight:700;}
.guide-list small{color:#586b60;}
.guide-options {list-style:none;margin:.3rem 0 1rem;padding:0;display:flex;flex-wrap:wrap;gap:.5rem;}
.guide-options a {display:inline-flex;align-items:center;min-height:44px;border:1px solid #bfd1c4;border-radius:5px;padding:.25rem .7rem;text-decoration:none;box-sizing:border-box;}
.guide-options a[aria-current=true] {background:#eaf3ed;border-color:#357651;font-weight:650;}
.guide-pagination {margin-top:1rem;}
.guide-languages {position:relative;z-index:2;}
.guide-languages summary{min-height:44px;display:flex;gap:.35rem;align-items:center;border:1px solid #bdcfc3;padding:0 .7rem;border-radius:5px;cursor:pointer;list-style:none;color:#194e38;}
.guide-languages summary::after{content:'▾';font-size:.8em;}
.guide-languages ul{position:absolute;inset-inline-end:0;top:100%;margin:4px 0;padding:.3rem;min-width:11rem;list-style:none;border:1px solid #c2d2c8;border-radius:6px;background:#fff;box-shadow:0 5px 14px #19392b20;}
.guide-languages a{display:block;padding:.55rem .7rem;text-decoration:none;}
.guide-languages a[aria-current=true]{font-weight:700;background:#edf3ee;}
@media(max-width:720px){.guide-layout.has-detail{grid-template-columns:1fr;}.guide-tabs a{flex:1;justify-content:center;text-align:center;line-height:1.4;padding-inline:.5rem;}.guide-panel dl>div{grid-template-columns:minmax(90px,38%) 1fr;}}
@media(max-width:450px){.halal-guide-page .svc-header-links{gap:.7rem}.guide-shell{padding-block-start:1rem;}.guide-action{padding-inline:.7rem;}}
