.dgap-page,.dgap-directory{--dgap-accent:var(--dg-primary,#533ae8);direction:rtl;max-width:1180px;margin:0 auto;padding:30px 20px 70px;font-family:Kalameh,inherit;color:#282438}
.dgap-page *,.dgap-directory *{box-sizing:border-box}
.dgap-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 19px;color:#84849a;font-size:12px}.dgap-breadcrumb a{color:#716c84;text-decoration:none}.dgap-breadcrumb strong{color:#393447}
.dgap-hero{position:relative;display:flex;gap:25px;align-items:flex-start;padding:30px;overflow:hidden;border:1px solid #e9e6fa;border-radius:23px;background:linear-gradient(120deg,#fff 35%,#f3f0ff 100%);box-shadow:0 12px 36px rgba(45,31,104,.04)}
.dgap-avatar{width:124px;height:124px;flex:none;padding:5px;border:1px solid #e4ddff;background:white;border-radius:25px}.dgap-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:20px}.dgap-hero-info{min-width:0;flex:1}.dgap-overline{font-size:11px;font-weight:700;color:#533ae8}.dgap-hero h1{font-size:30px;line-height:1.5;margin:3px 0 5px}.dgap-headline{font-size:15px;color:#655e76;font-weight:650;margin:0 0 9px}.dgap-bio{font-size:13px;line-height:2;color:#636276;max-width:790px;margin:8px 0}.dgap-chips,.dgap-social{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.dgap-chips span{border-radius:99px;padding:5px 11px;background:#f0ecff;color:#5542ab;font-size:11px}.dgap-social a{display:inline-flex;min-height:31px;align-items:center;border-radius:9px;border:1px solid #e4dfff;padding:5px 11px;color:#533ae8;text-decoration:none;font-size:11px;background:white;transition:border-color .2s,background-color .2s}.dgap-social a:hover,.dgap-social a:focus-visible{background:#f0ecff;border-color:#533ae8;color:#533ae8}
.dgap-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:18px}.dgap-stats>div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:19px 10px;border:1px solid #ebe8f7;border-radius:16px;background:#fff}.dgap-stats strong{font-size:23px;color:#30294b}.dgap-stats span{font-size:11px;color:#7e7d89}
.dgap-section,.dgap-panel{margin-top:34px}.dgap-section h2,.dgap-panel h2,.dgap-directory h2{font-size:19px;margin:0 0 17px;font-weight:800}.dgap-panel{padding:24px;border:1px solid #ebe8f7;border-radius:16px}.dgap-panel p{white-space:normal;font-size:13px;line-height:2;color:#666274;margin:0}
.dgap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.dgap-article{display:block;overflow:hidden;border-radius:16px;border:1px solid #e9e8f0;text-decoration:none!important;color:#29253c!important;background:#fff;transition:box-shadow .2s,border-color .2s,transform .2s}.dgap-article:hover,.dgap-article:focus-visible{border-color:#d4caff;box-shadow:0 12px 30px rgba(50,34,97,.09);transform:translateY(-2px)}.dgap-article>img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.dgap-article-body{display:flex;flex-direction:column;gap:11px;padding:15px}.dgap-article-body strong{font-size:13px;line-height:1.9;min-height:46px}.dgap-article-body small{font-size:11px;color:#858493}
.dgap-filters{display:grid;grid-template-columns:minmax(170px,2fr) repeat(2,minmax(140px,1fr)) auto;gap:11px;align-items:end;padding:15px;margin:0 0 19px;border:1px solid #eae6fa;border-radius:14px;background:#faf9ff}.dgap-filters label{font-size:11px;font-weight:600;color:#676274;display:flex;flex-direction:column;gap:7px}.dgap-filters :is(input,select){min-height:41px;width:100%;border:1px solid #e6e2f2;border-radius:10px;padding:9px 12px;background:#fff;color:#302c3f;font:inherit;font-size:12px;outline:none}.dgap-filters :is(input,select):focus{border-color:#533ae8;box-shadow:0 0 0 2px rgba(83,58,232,.12)}.dgap-filters button{height:41px;border:0;border-radius:10px;padding:0 18px;background:#533ae8;color:#fff;cursor:pointer;font-size:12px;font-weight:700}.dgap-filters button:hover,.dgap-filters button:focus-visible{background:#4329d6;color:#fff}.dgap-empty{padding:55px 18px;background:#faf9fe;border:1px dashed #e0dbea;border-radius:14px;text-align:center;color:#777388}.dgap-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:25px}.dgap-pagination a{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid #e5e0f5;color:#533ae8;text-decoration:none}.dgap-pagination a:hover,.dgap-pagination a[aria-current=page]{background:#533ae8;color:white}
.dgap-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dgap-person{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid #e9e5f7;border-radius:13px;color:#272238!important;text-decoration:none!important;background:white}.dgap-person:hover{border-color:#a99bfc;background:#faf9ff}.dgap-person img{width:58px;height:58px;flex:none;object-fit:cover;border-radius:13px}.dgap-person span{display:flex;flex-direction:column;min-width:0;gap:3px}.dgap-person strong{font-size:13px}.dgap-person small{font-size:11px;color:#888493}
@media(max-width:850px){.dgap-grid,.dgap-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dgap-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.dgap-filters label:first-child{grid-column:1/-1}}
@media(max-width:600px){.dgap-page,.dgap-directory{padding:20px 14px 45px}.dgap-hero{flex-direction:column;align-items:center;text-align:center;gap:13px;padding:21px}.dgap-avatar{width:100px;height:100px}.dgap-hero h1{font-size:23px}.dgap-chips,.dgap-social{justify-content:center}.dgap-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dgap-grid,.dgap-directory-grid{grid-template-columns:1fr}.dgap-filters{grid-template-columns:1fr}.dgap-filters label:first-child{grid-column:auto}.dgap-stats strong{font-size:20px}}

/* DrGraphic author UI refinements v1.80.96 */
.dgap-page{max-width:1180px;padding-top:26px}.dgap-breadcrumb{margin-bottom:20px}.dgap-hero{align-items:center;min-height:0;gap:22px;padding:23px 26px;background:linear-gradient(118deg,#fff 38%,#f6f3ff 100%)}.dgap-avatar{width:108px;height:108px;border-radius:21px}.dgap-avatar img{border-radius:16px}.dgap-hero h1{font-size:27px;line-height:1.45;margin:2px 0 4px}.dgap-hero-info{width:100%}.dgap-hero-info:has(> .dgap-overline):not(:has(.dgap-bio,.dgap-headline,.dgap-chips,.dgap-social)){align-self:center}.dgap-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-top:14px}.dgap-stat{position:relative;min-height:97px;justify-content:center}.dgap-stat-icon{position:absolute;right:15px;top:13px;color:#8b79ec;font-size:15px;opacity:.75}.dgap-stat strong{font-size:23px}.dgap-section{margin-top:29px}.dgap-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:13px}.dgap-section-heading h2{margin:0}.dgap-result-count,.dgap-range{font-size:12px;color:#807b91}.dgap-range{text-align:center;margin:18px 0 0}

.dgap-filters{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:end}.dgap-filters>label{grid-column:span 2;min-width:0}.dgap-filters>label:first-child{grid-column:span 4}.dgap-filters>label:nth-child(4),.dgap-filters>label:nth-child(5){grid-column:span 2}.dgap-filter-actions{display:flex;align-items:center;gap:12px;justify-content:flex-start;grid-column:span 2;flex-wrap:wrap}.dgap-filter-actions a,.dgap-empty a{font-size:12px;color:#533ae8;text-decoration:none}.dgap-filter-actions a:hover,.dgap-filter-actions a:focus-visible,.dgap-empty a:hover{color:#4329d6;text-decoration:underline}.dgap-filters select{appearance:none;-webkit-appearance:none;background-image:none!important;padding-inline:12px;cursor:pointer}.dgap-filters select::-ms-expand{display:none}.dgap-filters input:focus-visible,.dgap-filters select:focus-visible{outline:2px solid #533ae8;outline-offset:1px}.dgap-pagination-step svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dgap-pagination-ellipsis{align-self:center;color:#9992ad}.dgap-empty{display:flex;flex-direction:column;gap:9px;align-items:center}.dgap-empty strong{font-size:15px;color:#343047}.dgap-empty p{margin:0}.dgap-directory-grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr));justify-content:stretch}.dgap-person{min-height:83px}.dgap-person strong{overflow-wrap:anywhere}.dgap-person:focus-visible{outline:2px solid #533ae8;outline-offset:2px}
@media(max-width:900px){.dgap-filters>label:first-child{grid-column:span 6}.dgap-filters>label{grid-column:span 3}.dgap-filter-actions{grid-column:span 6}}
@media(max-width:600px){.dgap-hero{padding:20px;align-items:center}.dgap-avatar{width:100px;height:100px}.dgap-hero h1{font-size:23px}.dgap-filters>label,.dgap-filters>label:first-child,.dgap-filter-actions{grid-column:span 6}.dgap-filter-actions{justify-content:stretch}.dgap-filter-actions button{flex:1}.dgap-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.80.97 — Author article cards reuse the exact blog archive card styling.
   Four cards per row on desktop/tablet and two on mobile, matching Blog Hub. */
.dgap-page.dgbh .dgap-grid.dgbh-post-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media (min-width:768px) and (max-width:1199px){.dgap-page.dgbh .dgap-grid.dgbh-post-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}}
@media (max-width:767px){.dgap-page.dgbh .dgap-grid.dgbh-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* v1.80.98 — Membership date is a fourth author statistic. */
.dgap-page .dgap-stat--date strong{font-size:18px;line-height:1.6;text-align:center;white-space:normal}
@media(max-width:600px){.dgap-page .dgap-stat--date strong{font-size:15px}}

/* v1.80.99 — Persian RTL author pagination and fixed three-column related authors. */
.dgap-page .dgap-pagination{direction:rtl;flex-direction:row;justify-content:center;align-items:center;text-align:center}
.dgap-page .dgap-pagination a{min-width:36px;white-space:nowrap;font-variant-numeric:normal}
.dgap-page .dgap-pagination .dgap-pagination-step{width:auto;min-width:55px;padding:0 10px;font-size:12px;font-weight:650}
.dgap-page .dgap-pagination a:focus-visible{outline:2px solid #533ae8;outline-offset:2px}
.dgap-page .dgap-directory-grid{display:grid;direction:rtl;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;justify-content:stretch}
.dgap-page .dgap-directory-grid .dgap-person{width:100%;min-width:0;text-align:right}
@media(max-width:850px){.dgap-page .dgap-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dgap-page .dgap-directory-grid{grid-template-columns:minmax(0,1fr)}}

/* v1.81.01 — Match blog category card title typography exactly, at each breakpoint.
   Explicit specificity guards against unrelated single-author/theme title rules. */
.dgap-page.dgbh .dgap-grid.dgbh-post-grid .dgbh-card .dgbh-card__title {
    font-family:var(--dgbh-title-font)!important;
    font-size:14px!important;
    line-height:1.85!important;
    font-weight:400!important;
    letter-spacing:-.15px!important;
    min-height:3.7em!important;
    max-height:3.7em!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
}
@media(min-width:768px) and (max-width:1199px){
    .dgap-page.dgbh .dgap-grid.dgbh-post-grid .dgbh-card .dgbh-card__title {font-size:11px!important;line-height:1.85!important;}
}
@media(max-width:767px){
    .dgap-page.dgbh .dgap-grid.dgbh-post-grid .dgbh-card .dgbh-card__title {font-size:11.5px!important;line-height:1.85!important;}
}
@media(max-width:380px){
    .dgap-page.dgbh .dgap-grid.dgbh-post-grid .dgbh-card .dgbh-card__title {font-size:10.8px!important;line-height:1.85!important;}
}

/* Pagination: never depend on inherited anchor text-paint properties. */
.dgap-page.dgbh nav.dgap-pagination{display:flex!important;flex-direction:row!important;direction:rtl!important;align-items:center!important;justify-content:center!important;gap:7px!important;}
.dgap-page.dgbh nav.dgap-pagination a.dgap-page-number,
.dgap-page.dgbh nav.dgap-pagination a.dgap-page-number:visited {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:36px!important;
    padding:0!important;margin:0!important;opacity:1!important;visibility:visible!important;
    text-indent:0!important;font-size:13px!important;line-height:1!important;
    border:1px solid #e5e0f5!important;border-radius:10px!important;
    background:#fff!important;color:#533ae8!important;-webkit-text-fill-color:#533ae8!important;
    text-decoration:none!important;
}
.dgap-page.dgbh nav.dgap-pagination a.dgap-page-number .dgap-page-number__label {
    display:inline-block!important;position:static!important;
    opacity:1!important;visibility:visible!important;
    font-family:Kalameh,sans-serif!important;font-size:13px!important;font-weight:700!important;
    line-height:1!important;letter-spacing:0!important;direction:ltr!important;unicode-bidi:isolate!important;
    color:#533ae8!important;-webkit-text-fill-color:#533ae8!important;
    text-indent:0!important;transform:none!important;
}
.dgap-page.dgbh nav.dgap-pagination a.dgap-page-number[aria-current="page"] {
    background:#533ae8!important;border-color:#533ae8!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
.dgap-page.dgbh nav.dgap-pagination a.dgap-page-number[aria-current="page"] .dgap-page-number__label {
    color:#fff!important;-webkit-text-fill-color:#fff!important;
}
.dgap-page.dgbh nav.dgap-pagination a.dgap-page-number:not([aria-current="page"]):hover,
.dgap-page.dgbh nav.dgap-pagination a.dgap-page-number:not([aria-current="page"]):focus-visible {
    background:#f2efff!important;border-color:#bcb0ff!important;
}

/* v1.81.30 — related authors inherit visual geometry of related instructors. */

.dgap-page .dgap-related-authors{position:relative}
.dgap-page .dgap-related-authors .dgap-section-heading{margin-bottom:16px}
.dgap-page .dgap-related-authors .dgap-result-count{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #e4dcff;border-radius:999px;background:#f7f4ff;color:#6a5f8d;font-size:11px;font-weight:700}
.dgap-page .dgap-related-authors .dgap-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dgap-page .dgap-related-authors .dgap-person{position:relative;align-items:flex-start;gap:14px;min-height:112px;padding:16px 17px;border:1px solid #ebe5ff;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#fbfaff 100%);box-shadow:0 16px 36px rgba(59,37,137,.06);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background-color .22s ease;overflow:hidden}
.dgap-page .dgap-related-authors .dgap-person::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#533ae8 0%,#8e7bff 100%);opacity:.9}
.dgap-page .dgap-related-authors .dgap-person::after{content:"";position:absolute;left:-22px;bottom:-22px;width:78px;height:78px;border-radius:50%;background:radial-gradient(circle,#f2edff 0%,rgba(242,237,255,0) 70%);pointer-events:none}
.dgap-page .dgap-related-authors .dgap-person:hover,
.dgap-page .dgap-related-authors .dgap-person:focus-visible{border-color:#cfc2ff;background:linear-gradient(180deg,#fff 0%,#f8f5ff 100%);box-shadow:0 22px 44px rgba(59,37,137,.12);transform:translateY(-3px);outline:none}
.dgap-page .dgap-related-authors .dgap-person img{width:68px;height:68px;flex:none;border-radius:18px;border:1px solid #e7dfff;background:#f6f2ff;box-shadow:0 8px 18px rgba(83,58,232,.08)}
.dgap-page .dgap-related-authors .dgap-person span{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;flex:1}
.dgap-page .dgap-related-authors .dgap-person strong{display:block;margin-top:2px;font-size:15px;line-height:1.8;font-weight:800;color:#2e2940;overflow-wrap:anywhere}
.dgap-page .dgap-related-authors .dgap-person small{display:block;font-size:11.5px;line-height:1.9;color:#80788f}
.dgap-page .dgap-related-authors .dgap-person small:first-of-type{min-height:42px}
.dgap-page .dgap-related-authors .dgap-person small:last-child{display:inline-flex;align-items:center;gap:6px;margin-top:2px;padding:5px 11px;border-radius:999px;border:1px solid #e2d9ff;background:#f4f0ff;color:#533ae8;font-size:11px;font-weight:700;line-height:1.6}
@media(max-width:980px){.dgap-page .dgap-related-authors .dgap-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.dgap-page .dgap-related-authors .dgap-directory-grid{grid-template-columns:minmax(0,1fr);gap:12px}.dgap-page .dgap-related-authors .dgap-person{min-height:0;padding:15px 14px;border-radius:18px}.dgap-page .dgap-related-authors .dgap-person img,.dgap-page .dgap-related-authors .dgap-person>.dgap-author-placeholder{width:62px;height:62px;border-radius:16px}.dgap-page .dgap-related-authors .dgap-person strong{font-size:14px}.dgap-page .dgap-related-authors .dgap-person small:first-of-type{min-height:0}.dgap-page .dgap-related-authors .dgap-result-count{padding:6px 10px;font-size:10.5px}}



.dgap-page .dgap-related-authors .dgap-person small:only-of-type{min-height:0}


/* v1.81.31 — author filters redesigned to match instructor filter UI. */
.dgap-page .dgap-section > .dgap-filters{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:end!important;
    padding:20px!important;
    margin:0 0 22px!important;
    border:1px solid #e8e2f6!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#ffffff 0%,#faf8ff 100%)!important;
    box-shadow:0 16px 42px rgba(56,38,128,.06)!important;
}
.dgap-page .dgap-section > .dgap-filters > label{
    grid-column:span 3!important;
    min-width:0!important;
    margin:0!important;
    font-size:12px!important;
    font-weight:700!important;
    color:#625d75!important;
    gap:8px!important;
}
.dgap-page .dgap-section > .dgap-filters > label:first-child{grid-column:span 4!important}
.dgap-page .dgap-section > .dgap-filters > label:nth-child(2){grid-column:span 3!important}
.dgap-page .dgap-section > .dgap-filters > label:nth-child(3){grid-column:span 3!important}
.dgap-page .dgap-section > .dgap-filters > label:nth-child(4){grid-column:span 3!important}
.dgap-page .dgap-section > .dgap-filters > label:nth-child(5){grid-column:span 3!important}
.dgap-page .dgap-section > .dgap-filters :is(input,select){
    min-height:52px!important;
    width:100%!important;
    border:1px solid #e3ddf3!important;
    border-radius:15px!important;
    padding:12px 15px!important;
    background:#fff!important;
    color:#2f2942!important;
    font:inherit!important;
    font-size:13px!important;
    line-height:1.5!important;
    box-shadow:0 1px 0 rgba(255,255,255,.8) inset!important;
    transition:border-color .2s,box-shadow .2s,background-color .2s!important;
}
.dgap-page .dgap-section > .dgap-filters input::placeholder{color:#9a94aa!important;opacity:1!important}
.dgap-page .dgap-section > .dgap-filters :is(input,select):hover{
    border-color:#c9bdf3!important;
    background:#fff!important;
}
.dgap-page .dgap-section > .dgap-filters :is(input,select):focus,
.dgap-page .dgap-section > .dgap-filters :is(input,select):focus-visible{
    border-color:#533ae8!important;
    box-shadow:0 0 0 4px rgba(83,58,232,.10)!important;
    outline:none!important;
}
.dgap-page .dgap-section > .dgap-filters select{
    appearance:none!important;
    -webkit-appearance:none!important;
    background-image:radial-gradient(circle at calc(100% - 18px) 50%, #8f83d8 0 2px, transparent 3px)!important;
    background-repeat:no-repeat!important;
    padding-inline:15px 34px!important;
    cursor:pointer!important;
}
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions{
    grid-column:1 / -1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    margin-top:2px!important;
    padding-top:4px!important;
}
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions button,
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:50px!important;
    border-radius:15px!important;
    padding:0 22px!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:700!important;
    white-space:nowrap!important;
}
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions button{
    background:#533ae8!important;
    border:1px solid #533ae8!important;
    color:#fff!important;
    box-shadow:0 12px 24px rgba(83,58,232,.18)!important;
}
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions button:hover,
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions button:focus-visible{
    background:#4329d6!important;
    border-color:#4329d6!important;
    color:#fff!important;
}
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions a{
    background:#f6f3ff!important;
    border:1px solid #e1d9fb!important;
    color:#533ae8!important;
}
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions a:hover,
.dgap-page .dgap-section > .dgap-filters .dgap-filter-actions a:focus-visible{
    background:#efeaff!important;
    border-color:#cfc1ff!important;
    color:#4329d6!important;
    text-decoration:none!important;
}
@media (max-width:1024px){
    .dgap-page .dgap-section > .dgap-filters{grid-template-columns:repeat(6,minmax(0,1fr))!important;padding:18px!important}
    .dgap-page .dgap-section > .dgap-filters > label:first-child{grid-column:span 6!important}
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(2),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(3),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(4),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(5){grid-column:span 3!important}
}
@media (max-width:767px){
    .dgap-page .dgap-section > .dgap-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:16px!important;border-radius:18px!important}
    .dgap-page .dgap-section > .dgap-filters > label,
    .dgap-page .dgap-section > .dgap-filters > label:first-child,
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(2),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(3),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(4),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(5){grid-column:span 1!important}
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions{grid-column:1 / -1!important}
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions button,
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions a{flex:1 1 calc(50% - 5px)!important;padding:0 16px!important}
}
@media (max-width:520px){
    .dgap-page .dgap-section > .dgap-filters{grid-template-columns:minmax(0,1fr)!important}
    .dgap-page .dgap-section > .dgap-filters > label,
    .dgap-page .dgap-section > .dgap-filters > label:first-child,
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(2),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(3),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(4),
    .dgap-page .dgap-section > .dgap-filters > label:nth-child(5),
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions{grid-column:1 / -1!important}
    .dgap-page .dgap-section > .dgap-filters :is(input,select),
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions button,
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions a{min-height:48px!important;font-size:12px!important}
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions button,
    .dgap-page .dgap-section > .dgap-filters .dgap-filter-actions a{flex:1 1 100%!important}
}


/* v1.81.32 — four author filters on a single desktop row; instructor styling unchanged. */
@media (min-width:1025px){
 .dgap-page.dgbh .dgap-section > .dgap-author-filters{grid-template-columns:repeat(12,minmax(0,1fr))!important}
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:first-child{grid-column:span 4!important}
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:nth-child(2){grid-column:span 2!important}
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:nth-child(3){grid-column:span 3!important}
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:nth-child(4){grid-column:span 3!important}
}
@media (min-width:768px) and (max-width:1024px){
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:first-child{grid-column:span 6!important}
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:nth-child(2),
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:nth-child(3),
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label:nth-child(4){grid-column:span 2!important}
}
@media (max-width:767px){
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label{grid-column:span 1!important}
}
@media (max-width:520px){
 .dgap-page.dgbh .dgap-section > .dgap-author-filters > label{grid-column:1 / -1!important}
}
/* Rich instructor highlights in the public profile. */
.dgip-highlights-panel .dgip-highlights-rich{font-size:13px;line-height:2;color:#666274;overflow-wrap:anywhere;white-space:normal;text-align:right}
.dgip-highlights-rich p{margin:0 0 .8em;font:inherit;color:inherit;line-height:inherit}
.dgip-highlights-rich ul{list-style:disc inside!important;padding:0 12px!important;margin:.5em 0 1em!important}
.dgip-highlights-rich ol{list-style:decimal inside!important;padding:0 12px!important;margin:.5em 0 1em!important}
.dgip-highlights-rich li{display:list-item!important;list-style:inherit!important;margin:3px 0!important;padding:0!important}
.dgip-highlights-rich li::marker{color:#533ae8}
.dgip-highlights-rich a{color:#533ae8;text-decoration:underline}


/* v1.81.88 — instructor highlights: larger purple bullets aligned to the text line. */
.dgip-highlights-rich ul,
.dgpp-instructor-highlights-rich ul {
    list-style: none !important;
    padding: 0 !important;
    margin: .5em 0 1em !important;
    direction: rtl;
}
.dgip-highlights-rich ul > li,
.dgpp-instructor-highlights-rich ul > li {
    display: list-item !important;
    position: relative !important;
    list-style: none !important;
    padding: 0 19px 0 0 !important;
    margin: 5px 0 !important;
    line-height: 2 !important;
    overflow-wrap: anywhere;
}
.dgip-highlights-rich ul > li::marker,
.dgpp-instructor-highlights-rich ul > li::marker {
    content: "" !important;
}
.dgip-highlights-rich ul > li::before,
.dgpp-instructor-highlights-rich ul > li::before {
    content: "" !important;
    position: absolute !important;
    right: 1px !important;
    top: 1.07em !important;
    transform: translateY(-50%) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #533ae8 !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}
