/* Match Marshal V6.5 — decorative presentation only.
   Public pages opt in with data-page. Sponsor tiers retain their own artwork.
   Nine-slice borders keep the corners proportional as cards grow. */
body[data-page]{--craft-brass:#a7804d;--craft-iron:#39332a}

/* Saddle leather: the primary cards, with a quiet parchment reading surface. */
body[data-page] :is(.mm-tile,.path-card,.directory-card,.club-panel,.mm-app-card){
  border:28px solid #50301c;
  border-image:url('assets/frame-saddle-leather.png') 16% / 28px / 0 stretch;
  border-radius:0;outline:none;
  box-shadow:0 12px 24px #0005;
  background-clip:padding-box;
}
body[data-page] :is(.mm-tile,.path-card){
  background:radial-gradient(ellipse at 35% 0%,#fff3d8,#ead5ae 95%);
  background-clip:padding-box;
}
body[data-page] .mm-tile{padding:12px 10px 15px}
body[data-page] .mm-tile:before{display:none}
body[data-page] .path-card{padding:20px 18px}
body[data-page] .showcase-paths{gap:20px;background:none;border:0;box-shadow:none}
body[data-page] .path-card .path-icon{position:static;margin-bottom:12px;flex-shrink:0}
body[data-page] .path-card h2{color:#382014}
body[data-page] .path-card p{color:#58412d}
body[data-page] .path-card .eyebrow{color:#82552d}
body[data-page] .path-card>a{color:#792d1b}
body[data-page] .mm-tile p{display:block;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset}
body[data-page] .mm-tile-art{border-color:#96764f;box-shadow:0 2px 5px #38221730}

/* Walnut and brass: photographs, club features and visitor information. */
body[data-page] .mm-guide-spotlight .guide-card,
body[data-page] :is(.guide-card,.photo-card,.album-cover,.club-event-feature,.duke-feature,.video-feature,.detail-guide){
  border:18px solid #50351f;
  border-image:url('assets/frame-walnut-brass.png') 10% / 18px / 0 stretch;
  border-radius:0;box-shadow:0 10px 22px #0005;
  background-clip:padding-box;
}
body[data-page] .guide-card img{display:block}
body[data-page] .map-image{
  border:14px solid #50351f;
  border-image:url('assets/frame-walnut-brass.png') 10% / 14px / 0 stretch;
  border-radius:0;box-shadow:0 8px 20px #0005;
}

/* A slim metal surround for information that needs more room to breathe. */
body[data-page] :is(.jump-nav,.doc-card,.primary-application,.fee-info,.schedule-list,.lookup-form,.upload-panel,.panel,.custom-section,.result-row,.match-listing){
  border:1px solid #a8895b;border-radius:5px;
  box-shadow:inset 0 0 0 2px #282017,inset 0 0 0 3px #806c4a,0 6px 16px #0003;
}
body[data-page] .jump-nav{padding:24px}
body[data-page] .doc-card{padding:20px}
body[data-page] .schedule-list{padding:7px}
body[data-page] .doc-card>img{border-color:#c9b68e;box-shadow:0 3px 9px #0005}
body[data-page] :is(.btn.secondary,.mm-tile-btn:not(.red)){
  border-color:#9a7446;
  background:linear-gradient(180deg,#493020,#24160f);
  box-shadow:inset 0 0 0 2px #25150d,inset 0 0 0 3px #8a633c66,0 2px 4px #0003;
}
body[data-page] :is(.site-header,.simple-footer,.footer){
  border-color:#775337;
  box-shadow:inset 0 -1px #b08a4a33;
}
body[data-page] .section-title h2{text-shadow:0 2px 1px #0004}

/* Preserve working room and legibility on phones. */
@media(max-width:970px){
  body[data-page] :is(.mm-tile,.path-card,.directory-card,.club-panel,.mm-app-card){border-width:22px;border-image-width:22px}
}
@media(max-width:720px){
  body[data-page] :is(.mm-tile,.path-card,.directory-card,.club-panel,.mm-app-card){border-width:18px;border-image-width:18px}
  body[data-page] .mm-hero-tiles{grid-template-columns:1fr;gap:18px;max-width:460px}
  body[data-page] .mm-tile{padding:13px 15px 17px;min-height:0}
  body[data-page] .mm-tile h2{font-size:25px;line-height:1.1}
  body[data-page] .mm-tile p{font-size:15px;line-height:1.45}
  body[data-page] .mm-tile-art{height:140px}
  body[data-page] .mm-tile-btn{font-size:12px;min-height:46px;margin-top:10px}
  body[data-page] .mm-guide-spotlight .guide-card,
body[data-page] :is(.guide-card,.photo-card,.album-cover,.club-event-feature,.duke-feature,.video-feature,.detail-guide){border-width:12px;border-image-width:12px}
  body[data-page] .jump-nav{padding:18px 14px}
  body[data-page] .doc-card{padding:16px;gap:13px}
  body[data-page] .doc-card>img{width:82px;height:112px}
  body[data-page] .doc-card h3{overflow-wrap:anywhere}
}
@media(print){
  body[data-page] :is(.mm-tile,.path-card,.directory-card,.club-panel,.mm-app-card,.guide-card,.photo-card,.club-event-feature,.duke-feature,.video-feature,.detail-guide,.map-image){border:1px solid #777;border-image:none;box-shadow:none}
}
