/* Category results page — owner's reference (2026-11-09): category name on top, full-width category photo, search pill
   on the photo's bottom edge, provider tiles below (photo + round logo + name, 4 per row). */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800;900&display=swap');
.cr-top{background:#fff;padding:22px 0 0}
.cr-title{text-align:center;padding:4px 16px 18px}
.cr-kicker{margin:0 0 4px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5f6b8a}
.cr-title h1{margin:0;font-family:Nunito,"Roboto Slab",system-ui,sans-serif;font-weight:800;font-size:clamp(30px,4vw,46px);color:#14234a;letter-spacing:-.01em}
.cr-photo{position:relative;height:clamp(260px,46vw,620px);background:linear-gradient(115deg,#c4ecf9 0%,#d3def9 38%,#fde3d2 70%,#d3f8da 100%);overflow:hidden}
.cr-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.cr-photo.is-brand:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 30%,rgba(255,255,255,.55),transparent 42%),radial-gradient(circle at 82% 70%,rgba(255,255,255,.45),transparent 40%)}
.cr-credit{position:absolute;right:12px;bottom:34px;margin:0;font-size:12px;color:#fff;background:rgba(20,30,50,.5);padding:3px 10px;border-radius:999px;z-index:1}
.cr-credit a{color:#fff;text-decoration:underline}
.cr-searchbar{position:relative;z-index:2;display:flex;justify-content:center;margin:-24px 16px 0}
.cr-search{display:flex;align-items:center;gap:10px;width:min(560px,100%);height:48px;padding:0 8px 0 18px;background:#fff;border:2px solid #14234a;border-radius:999px;box-shadow:0 8px 22px rgba(20,35,74,.12)}
.cr-search svg{width:18px;height:18px;flex:none;color:#14234a}
.cr-search input{flex:1;min-width:0;border:0;outline:0;font-size:16px;color:#14234a;background:transparent}
.cr-search input::placeholder{color:#6b7591}
.cr-search a{flex:none;font-size:13px;font-weight:700;color:#2d3d8f;text-decoration:none;padding:7px 12px;border-radius:999px;background:#eef1fd}
.cr-search a:hover{text-decoration:underline}
.cr-count{text-align:center;margin:10px 0 0;font-size:13px;color:#5f6b8a}
.cr-none{text-align:center;color:#5f6b8a;margin:10px 0}
/* tiles: 4 per row like the reference */
.cr-page .mk-pgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 22px}
.cr-page .mk-pcard-name{font-size:15px;font-weight:700;margin:8px 2px 0;color:#14234a}
.cr-page .af-sec h3{font-family:Nunito,system-ui,sans-serif;font-weight:800;color:#14234a}
@media (max-width:991px){.cr-page .mk-pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
  .cr-top{padding-top:14px}.cr-title{padding-bottom:12px}
  .cr-photo{height:62vw}
  .cr-search{height:46px;padding-left:14px}.cr-search a{display:none}
  .cr-page .mk-pgrid{gap:18px 14px}
}

.mk-pcard-media.is-brand{background:linear-gradient(115deg,#c4ecf9 0%,#d3def9 38%,#fde3d2 70%,#d3f8da 100%)}
.cr-photo img{object-position:center}

/* Premium cards 75% taller (owner 2026-11-09: "75% bigger in length - these are too small"): 210 -> 368 */
.cr-page .mk-pcard-media{aspect-ratio:432 / 368;border-radius:14px}
.cr-page .mk-pcard-name{font-size:17px;margin-top:10px}
/* logo circle never blends into the photo: white ring + navy hairline + shadow; logo larger inside */
.mk-plogo{box-shadow:0 0 0 3px #fff,0 0 0 4.5px rgba(20,35,74,.45),0 8px 20px rgba(10,20,50,.35)}
.cr-page .mk-plogo{width:30%;left:5%;bottom:6%}
.cr-page .mk-plogo img{top:13%;left:13%;width:74%;height:74%}
.mk-plogo.is-dark-logo,.pp-logo.is-dark-logo,.is-dark-logo{background:#14234a}
/* photo credit lives in the fine print, never on the photo (owner 2026-11-09) */
.cr-credit-line{margin:6px 0 0;font-size:12px;color:#6b7591;text-align:left}
.cr-credit-line a{color:#6b7591;text-decoration:underline}
/* Premium cards at the owner's reference size (2026-11-09, "Brilliant Earth" card): big portrait photo (about 9:10),
   round white logo bottom-left, bold name underneath. 3 per row on computers, 2 on tablets, 1 full-width on phones. */
.cr-page .mk-pgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px}
.cr-page .mk-pcard-media{aspect-ratio:9 / 10;border-radius:12px}
.cr-page .mk-plogo{width:24%;left:5%;bottom:5%;box-shadow:0 0 0 2px #fff,0 6px 18px rgba(10,20,50,.28)}
.cr-page .mk-plogo img{top:12%;left:12%;width:76%;height:76%}
.cr-page .mk-pcard-name{font-family:Nunito,"Open Sans",system-ui,sans-serif;font-size:21px;font-weight:800;line-height:1.25;margin:14px 2px 0;color:#10304d}
@media (max-width:991px){.cr-page .mk-pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}}
@media (max-width:600px){.cr-page .mk-pgrid{grid-template-columns:1fr;gap:26px}.cr-page .mk-pcard-name{font-size:20px}}
/* Owner 2026-11-09: "the logo placement area will always be white background" - overrides the navy tile for
   light/white-lettered logos (CHILL ACT's white lettering will not show on white; a dark-text logo upload fixes it). */
.mk-plogo,.mk-plogo.is-dark-logo,.cr-page .mk-plogo.is-dark-logo{background:#fff !important}
/* Owner 2026-11-09: "the earlier size was better" - back to the earlier Premium cards (wide photo 432:368, 4 per row,
   2 per row on tablets/phones); replaces the portrait size above. */
.cr-page .mk-pgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 22px}
.cr-page .mk-pcard-media{aspect-ratio:432 / 368;border-radius:14px}
.cr-page .mk-plogo{width:30%;left:5%;bottom:6%}
.cr-page .mk-plogo img{top:13%;left:13%;width:74%;height:74%}
.cr-page .mk-pcard-name{font-size:17px;font-weight:700;margin:10px 2px 0}
@media (max-width:991px){.cr-page .mk-pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}}
@media (max-width:600px){.cr-page .mk-pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.cr-page .mk-pcard-name{font-size:15px}}

/* CHILL ACT sponsor big card (owner 2026-11-09, approved sample design-sponsor-interleave.html): always on the left,
   2 columns x 2 rows, 4 cards beside it; phones/tablets: full width. Same logo rule - white circle. */
.cr-page .mk-pgrid{grid-auto-flow:row dense}
.cr-page .mk-pcard.is-big{grid-column:1 / span 2;grid-row:span 2;display:flex;flex-direction:column}
.cr-page .mk-pcard.is-big .mk-pcard-media{aspect-ratio:auto;flex:1;min-height:0}
/* a sponsor with no cards after it (last on the page) keeps a real height */
@media (min-width:992px){.cr-page .mk-pcard.is-big .mk-pcard-media{min-height:420px}}
.cr-page .mk-pcard.is-big .mk-plogo{width:18%;left:3%;bottom:4%}
.cr-page .mk-pcard.is-big .mk-pcard-name{font-size:21px}
@media (max-width:991px){
  .cr-page .mk-pcard.is-big{grid-column:1 / -1;grid-row:auto}
  .cr-page .mk-pcard.is-big .mk-pcard-media{aspect-ratio:2 / 1;flex:none}
  .cr-page .mk-pcard.is-big .mk-plogo{width:20%}
}
/* owner 2026-11-16 "Skill Builders ABA still so small ... same as New Dawn": on the results cards the logo box
   widens for wide logos (same rule as the profile page) instead of a fixed small square */
html body .cr-page .mk-plogo,html body .cr-page .mk-pcard.is-big .mk-plogo{width:auto;min-width:22cqw;max-width:66cqw;height:22cqw;aspect-ratio:auto;padding:2.4cqw 3cqw;border-radius:4px}
html body .cr-page .mk-plogo img{position:static;top:auto;left:auto;display:block;width:auto;height:100%;max-width:100%;object-fit:contain}
