.mj-directory { background:#f7f9f8; }
.md-banner { height:260px; position:relative; display:grid; place-items:center; overflow:hidden; background:#173e30; }
.md-banner>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.md-banner::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#092f32ba,#102e2970); }
.md-banner__text { position:relative; z-index:1; text-align:center; color:#fff; padding:24px; }
.md-banner__text .mj-kicker { color:#c4f57b; margin-bottom:12px; }
.md-banner h1 { margin:0 0 18px; font:700 clamp(28px,3.4vw,44px)/1.2 Montserrat,sans-serif; letter-spacing:-1.3px; }
.md-banner__text>span { display:inline-block; border-top:2px solid #c4f57b; padding-top:12px; font-size:10px; letter-spacing:2px; font-weight:800; }
.md-layout { display:grid; grid-template-columns:250px minmax(0,1fr); align-items:start; gap:30px; padding-top:40px; }
.md-sidebar { background:#fff; border:1px solid #e9eeea; border-radius:20px; box-shadow:0 5px 22px #123c2605; padding:24px 20px; }
.md-sidebar h2 { margin:0 0 15px; font-size:15px; font-weight:800; color:#173e30; }
.md-about { padding-bottom:24px; }
.md-brand-mark { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#e4efda; font-size:11px; font-weight:900; margin-bottom:12px; }
.md-about h2 { font-size:18px; margin-bottom:10px; }
.md-about p { font-size:13px; line-height:1.8; color:#6c7c72; margin:0; }
.mj-directory .md-search { display:block; width:100%; min-width:0; border:0; border-radius:0; margin-bottom:28px; }
.md-search label { display:block; margin-bottom:12px; font-size:12px; font-weight:800; }
.md-search>div { display:flex; border:1px solid #dce4df; border-radius:25px; overflow:hidden; }
.md-search input[type=search] { padding-left:12px; font-size:12px; }
.md-search button { background:#153c35; color:#fff; border-radius:0; width:38px; }
.md-categories h2,.md-recent h2 { padding-bottom:12px; border-bottom:1px solid #edf0ec; }
.md-categories>a { display:flex; align-items:center; gap:9px; padding:9px 8px; margin:3px -8px; border-radius:9px; font-size:12px; color:#68796e; }
.md-categories>a:hover,.md-categories>a.is-active { background:#eff5e9; color:#244f31; }
.md-categories>a.is-active { font-weight:800; }
.md-category-icon { display:grid; place-items:center; flex-shrink:0; width:24px; height:24px; border:1px solid #d5dfd2; border-radius:50%; font-size:15px; color:#476e4d; }
.md-categories>a>span:last-child { margin-left:auto; }
.md-category-count { font-size:10px; padding:2px 6px; background:#f1f5ef; border-radius:6px; }
.md-recent { margin-top:28px; }
.md-recent>a { display:flex; gap:9px; align-items:center; padding:9px; margin:10px -4px 0; border:1px solid #edf0ed; border-radius:12px; background:#fbfcfa; }
.md-recent img { width:46px; height:52px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.md-recent>a>span:first-of-type { min-width:0; }
.md-recent strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:11px; line-height:1.45; }
.md-recent time { display:block; font-size:9px; color:#7b897f; margin-top:4px; }
.md-recent>a>span:last-child { margin-left:auto; color:#6d886b; }
.md-results { min-width:0; scroll-margin-top:90px; }
.md-breadcrumb { display:flex; gap:8px; font-size:11px; color:#7a8c7e; margin:5px 0 18px; }
.md-results-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:28px; }
.md-results-heading h2 { margin:0 0 10px; font:700 clamp(23px,2.5vw,31px)/1.3 Montserrat,sans-serif; letter-spacing:-.7px; }
.md-results-heading p { margin:0; color:#7b887e; font-size:13px; }
.md-filter-status { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; background:#eaf1e4; padding:12px 16px; border-radius:10px; font-size:13px; margin-bottom:22px; }
.md-filter-status a { font-weight:800; }
.mj-directory .mj-grid { gap:24px; }
.mj-directory .mj-card { border:1px solid #eef1ec; border-radius:17px; box-shadow:0 5px 15px #153c3505; }
.mj-directory .mj-card__image { aspect-ratio:1.62; }
.md-date { position:absolute; left:12px; bottom:12px; background:#14352ee6; color:#fff!important; font-size:10px!important; padding:5px 10px; border:1px solid #ffffff40; border-radius:20px; }
.mj-directory .mj-card__body { padding:20px; }
.mj-directory .mj-meta { font-size:9px; gap:5px; }
.mj-directory .mj-card h3 { font-size:17px; line-height:1.45; margin:13px 0 12px; letter-spacing:-.3px; }
.mj-directory .mj-card__body>p { font-size:13px; line-height:1.8; margin-bottom:26px; }
.md-read { display:flex; align-items:center; justify-content:center; align-self:center; gap:20px; margin-top:auto; padding:10px 19px; min-height:40px; background:#153c35; border-radius:24px; color:#fff!important; font-size:11px; font-weight:800; box-shadow:0 5px 12px #153c3515; }
.md-read:hover { background:#286045; }
@media(max-width:1100px) { .md-layout { grid-template-columns:220px minmax(0,1fr); gap:24px; } .mj-directory .mj-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } .md-results-heading { align-items:flex-start; flex-direction:column; } }
@media(max-width:760px) { .md-banner { height:220px; } .md-layout { grid-template-columns:minmax(0,1fr); padding-top:24px; } .md-sidebar { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:20px; } .md-about { padding:0; } .md-brand-mark { display:none; } .mj-directory .md-search { margin:0; align-self:center; } .md-categories { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; } .md-categories h2 { width:100%; margin-bottom:3px; } .md-categories>a { margin:0; padding:6px 10px; border:1px solid #e2eade; } .md-recent { display:none; } .md-results-heading { flex-direction:row; } }
@media(max-width:520px) { .md-banner h1 { font-size:29px; } .md-sidebar { grid-template-columns:minmax(0,1fr); } .md-about p { font-size:12px; } .mj-directory .mj-grid { grid-template-columns:minmax(0,1fr); } .md-results-heading { flex-direction:column; } .mj-directory .mj-card h3 { font-size:20px; } .mj-directory .mj-card__body { padding:24px; } }
