/* Scoped additions only. Existing articles and retailer cards keep their rules. */
body.tm-modern-site .tm-network{--tm-n-ink:#242424;--tm-n-accent:#E09915;box-sizing:border-box;color:#242424!important;background:#f6f6f4!important;border:1px solid #e4e4de;border-radius:20px;margin:40px 0;padding:32px;clear:both;line-height:1.65;}
body.tm-modern-site .tm-network *{box-sizing:border-box;min-width:0;}
body.tm-modern-site .tm-network header{background:transparent!important;margin:0 0 22px!important;padding:0!important;}
body.tm-modern-site .tm-network h2{font-family:inherit!important;color:#242424!important;background:transparent!important;font-size:clamp(23px,2.3vw,34px)!important;font-weight:800!important;line-height:1.45!important;margin:0 0 10px!important;padding:0!important;border:0!important;box-shadow:none!important;text-shadow:none!important;}
body.tm-modern-site .tm-network h2:before,body.tm-modern-site .tm-network h2:after{display:none!important;}
body.tm-modern-site .tm-network p{color:#555!important;background:transparent!important;margin:0 0 12px!important;font-size:15px!important;}
body.tm-modern-site .tm-network .tm-network-eyebrow{color:#874900!important;font-size:11px!important;letter-spacing:.13em;font-weight:800!important;margin-bottom:7px!important;}
body.tm-modern-site .tm-network a{color:#242424!important;text-decoration:none!important;text-shadow:none!important;box-shadow:none!important;overflow-wrap:anywhere;}
body.tm-modern-site .tm-network a:visited{color:#645647!important;}
body.tm-modern-site .tm-network a:hover{color:#874900!important;text-decoration:underline!important;text-underline-offset:4px;}
body.tm-modern-site .tm-network a:active{background-color:#f9edd7!important;}
body.tm-modern-site .tm-network :is(a,button,input,select,summary):focus-visible{outline:3px solid #874900!important;outline-offset:4px!important;}
body.tm-modern-site .tm-network-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
body.tm-modern-site .tm-network-card{position:relative;display:flex;flex-direction:column;gap:10px;padding:22px!important;background:#fff!important;border:1px solid #dfdfd8;border-radius:12px;box-shadow:0 3px 8px #00000004;transition:border-color .2s,transform .2s;}
body.tm-modern-site .tm-network-card:hover{border-color:#c98d21;transform:translateY(-2px);}
body.tm-modern-site .tm-network-card>a{font-size:17px!important;font-weight:750!important;line-height:1.65!important;color:#242424!important;}
body.tm-modern-site .tm-network-card>a:after{content:'';position:absolute;inset:0;border-radius:12px;}
body.tm-modern-site .tm-network-tag{font-size:11px!important;letter-spacing:.03em;color:#874900!important;font-weight:700!important;}
body.tm-modern-site .tm-network-read{margin-top:auto;font-size:12px!important;color:#666!important;display:flex;justify-content:space-between;padding-top:6px;}
body.tm-modern-site .tm-network-read>span{color:#874900!important;}
body.tm-modern-site .tm-network-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;}
body.tm-modern-site .tm-network-topic{background:#fff!important;border:1px solid #dfdfd8;border-radius:12px;overflow:hidden;}
body.tm-modern-site .tm-network summary{cursor:pointer;list-style:none;color:#242424!important;font-weight:700!important;min-height:48px;padding:18px!important;}
body.tm-modern-site .tm-network summary::-webkit-details-marker{display:none;}
body.tm-modern-site .tm-network-topic summary{display:grid;grid-template-columns:1fr auto;gap:5px;}
body.tm-modern-site .tm-network-topic-name{font-size:18px;}
body.tm-modern-site .tm-network-topic-desc{grid-row:2;color:#666!important;font-size:12px;font-weight:400;}
body.tm-modern-site .tm-network-topic-count{grid-column:2;grid-row:1/3;color:#874900!important;font-size:12px;align-self:center;white-space:nowrap;}
body.tm-modern-site .tm-network-topic[open]{border-color:#c98d21;}
body.tm-modern-site .tm-network-topic-links{display:grid;gap:0;padding:0 18px 12px;}
body.tm-modern-site .tm-network-topic-links a{font-size:13px!important;border-top:1px solid #e9e9e3;padding:12px 0;}
body.tm-modern-site .tm-network-primary{display:inline-flex!important;gap:25px;align-items:center;justify-content:space-between;background:#E09915!important;color:#171717!important;border:1px solid #b67809!important;border-radius:9px;padding:13px 18px!important;font-weight:800!important;min-height:48px;margin-top:20px;}
body.tm-modern-site .tm-network-primary:hover{background:#efaf36!important;color:#171717!important;}
body.tm-modern-site .tm-network-backlinks{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:20px;}
body.tm-modern-site .tm-network-backlinks a{font-size:13px!important;text-decoration:underline!important;}
body.tm-modern-site .tm-network-controls{display:grid;grid-template-columns:3fr 2fr;gap:16px;margin-bottom:18px;}
body.tm-modern-site .tm-network-controls label{font-size:13px!important;font-weight:700!important;color:#242424!important;}
body.tm-modern-site .tm-network-controls :is(input,select){display:block;width:100%;font-family:inherit;font-size:16px!important;color:#242424!important;background:#fff!important;border:1px solid #999!important;border-radius:8px;height:48px;padding:9px 12px!important;margin-top:7px;}
body.tm-modern-site .tm-network-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;}
body.tm-modern-site .tm-network-pager button{font:inherit;font-size:14px!important;padding:10px 16px!important;min-height:44px;border:1px solid #999!important;border-radius:8px;color:#242424!important;background:#fff!important;}
body.tm-modern-site .tm-network-pager button:disabled{color:#888!important;background:#eee!important;cursor:not-allowed;}
body.tm-modern-site .tm-network [hidden]{display:none!important;}
body.tm-modern-site .tm-network-category-nav{display:flex;gap:10px;flex-wrap:wrap;padding:16px;}
body.tm-modern-site .tm-network-category-nav a{border:1px solid #ddd;padding:10px 15px!important;background:#fff!important;border-radius:8px;font-size:14px!important;}
body.tm-modern-site .tm-network-directory{border-radius:0;border-left:0;border-right:0;background:#f3f3ef!important;margin:50px 0 0;padding:40px 24px;}
body.tm-modern-site .tm-network-directory-inner{max-width:1200px;margin:auto;}
body.tm-modern-site .tm-network-directory details{border-top:1px solid #d5d5cd;}
body.tm-modern-site .tm-network-directory summary{display:flex;justify-content:space-between;padding:18px 0!important;}
body.tm-modern-site .tm-network-directory summary:after{content:'＋';color:#874900;}
body.tm-modern-site .tm-network-directory details[open]>summary:after{content:'−';}
body.tm-modern-site .tm-network-chips{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 22px;}
body.tm-modern-site .tm-network-chips a{display:inline-flex;align-items:center;gap:12px;background:#fff!important;border:1px solid #ddd;border-radius:7px;padding:10px 12px;font-size:13px!important;}
body.tm-modern-site .tm-network-chips span{color:#777;font-size:11px;}
body.tm-modern-site .tm-network-page-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;padding-bottom:20px;}
body.tm-modern-site .tm-network-page-links a{font-size:13px!important;padding:10px 0;}
@media(min-width:1200px){body.tm-modern-site .tm-network-library .tm-network-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:800px){body.tm-modern-site .tm-network-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));}body.tm-modern-site .tm-network-page-links{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:540px){body.tm-modern-site .tm-network{padding:20px 16px;margin:26px 0;border-radius:13px;}body.tm-modern-site .tm-network-grid,body.tm-modern-site .tm-network-controls{grid-template-columns:1fr;}body.tm-modern-site .tm-network-topic-grid{grid-template-columns:1fr;}body.tm-modern-site .tm-network-card{padding:18px!important;}body.tm-modern-site .tm-network-card>a{font-size:16px!important;}body.tm-modern-site .tm-network-primary{width:100%;gap:10px;font-size:14px!important;}body.tm-modern-site .tm-network-directory{border-radius:0;margin:32px 0 0;}body.tm-modern-site .tm-network-page-links{grid-template-columns:1fr;}body.tm-modern-site .tm-network-backlinks{flex-direction:column;}}
@media(prefers-reduced-motion:reduce){body.tm-modern-site .tm-network-card{transition:none!important;transform:none!important;}}

body.tm-modern-site .tm-network a.tm-network-primary:visited{color:#171717!important;}
