/* Shared fine gold corner accent. Frontend only; no document output changes. */
@media screen {
 body.cdvm-sport :is(.cdvm-panel,.feature,.cdvm-story,.cdvm-public-benefit,.cdvm-empty,.cdvm-email-notice) {position:relative;}
 body.cdvm-sport .cdvm-panel.cdvm-community {border-inline-start:1px solid #3c3e36;}
 body.cdvm-sport .cdvm-email-notice {border:1px solid #3c3e36!important;}
 body.cdvm-sport :is(.cdvm-panel,.feature,.cdvm-story,.cdvm-public-benefit,.cdvm-empty,.cdvm-email-notice)::before {
  content:"";position:absolute;pointer-events:none;inset:-1px;width:auto;border-radius:inherit;padding:2px;z-index:1;
  background:linear-gradient(135deg,rgba(232,194,109,.85) 0%,rgba(232,194,109,.35) 22%,rgba(232,194,109,0) 55%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;
 }
 /* Consistent button sizing and spacing, retaining existing action colours. */
 body.cdvm-sport :is(a.button,button,input[type=submit]) {box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 16px;line-height:1.35;white-space:normal;vertical-align:middle;}
 body.cdvm-sport a.button {display:inline-flex;align-items:center;justify-content:center;text-align:center;}
 body.cdvm-sport .actions {display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
 body.cdvm-sport .page-content p:has(>a.button+a.button),body.cdvm-sport .page-content p:has(>button+button) {display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
 body.cdvm-sport .site-header .nav>nav {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;min-width:0;}
 body.cdvm-sport .site-header .primary-menu {display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;}
 body.cdvm-sport .site-header .nav>nav>.button {flex-shrink:0;}
 @media(max-width:760px){
  body.cdvm-sport .site-header .nav>nav {width:100%;justify-content:flex-start;gap:12px;}
  body.cdvm-sport .site-header .primary-menu {width:100%;gap:6px 16px;}
  body.cdvm-sport .cdvm-task-options {display:flex;flex-wrap:wrap;gap:8px;}
 }
}
/* Slightly longer accents on homepage cards, retaining the same thickness. */
@media screen {
 body.home.cdvm-sport :is(.cdvm-panel,.feature,.cdvm-story,.cdvm-public-benefit,.cdvm-empty)::before {
  background:linear-gradient(135deg,rgba(232,194,109,.85) 0%,rgba(232,194,109,.35) 32%,rgba(232,194,109,0) 70%);
 }
}
/* The hero already uses ::before for photo contrast; keep that layer intact. */
@media screen {
 body.home.cdvm-sport .hero.cdvm-sport-hero::after {
  content:"";position:absolute;pointer-events:none;inset:0;border-radius:inherit;padding:2px;z-index:1;
  background:linear-gradient(135deg,rgba(232,194,109,.85) 0%,rgba(232,194,109,.35) 32%,rgba(232,194,109,0) 70%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;
 }
}
