.research-directory {
    width:min(1180px, calc(100% - 32px));
    margin:40px auto 80px;
}

.research-directory-header {
    margin-bottom:28px;
}

.research-directory-header h1 {
    margin:0 0 10px;
}

.research-directory-header p {
    max-width:760px;
    color:#64748b;
    line-height:1.6;
}

.research-directory-heading-row {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:28px;
}

.research-directory-count {
    flex:0 0 auto;
    min-width:96px;
    padding:12px 15px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#ffffff;
    text-align:center;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
}

.research-directory-count strong {
    display:block;
    color:#1e40af;
    font-size:22px;
    font-weight:800;
    line-height:1;
}

.research-directory-count-updated {
    animation:
        researchDirectoryCountPulse
        .28s ease;
}

@keyframes researchDirectoryCountPulse {

    0% {
        transform:scale(1);
    }

    45% {
        transform:scale(1.12);
    }

    100% {
        transform:scale(1);
    }

}

.research-directory-count span {
    display:block;
    margin-top:5px;
    color:#64748b;
    font-size:10px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.research-global-search {
    display:flex;
    align-items:center;
    gap:8px;
    width:min(760px, 100%);
    margin-top:20px;
}

.research-global-search input {
    flex:1;
    min-width:0;
    height:44px;
    padding:0 14px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    outline:none;
    background:#ffffff;
    color:#0f172a;
    font:inherit;
    font-size:14px;
    box-shadow:0 4px 14px rgba(15,23,42,.04);
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.research-global-search input::placeholder {
    color:#94a3b8;
}

.research-global-search input:focus {
    border-color:#3b82f6;
    box-shadow:
        0 0 0 3px rgba(59,130,246,.10),
        0 6px 18px rgba(15,23,42,.06);
}

.research-global-search button {
    height:44px;
    padding:0 18px;
    border:1px solid #1d4ed8;
    border-radius:10px;
    background:#1e40af;
    color:#ffffff;
    font:inherit;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:
        background .15s ease,
        transform .15s ease;
}

.research-global-search button:hover {
    background:#1d4ed8;
    transform:translateY(-1px);
}

.research-global-search-clear {
    height:44px;
    display:inline-flex;
    align-items:center;
    padding:0 12px;
    border-radius:10px;
    color:#64748b;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.research-global-search-clear[hidden] {
    display:none !important;
}

.research-global-search-clear:hover {
    background:#f1f5f9;
    color:#0f172a;
}

#researchDirectoryResults {
    position:relative;
    transition:opacity .16s ease;
}

#researchDirectoryResults.research-search-loading {
    opacity:.58;
}

#researchDirectoryResults.research-search-loading::before {
    content:"Searching…";
    position:absolute;
    top:-24px;
    right:0;
    color:#64748b;
    font-size:11px;
    font-weight:700;
    letter-spacing:.03em;
}

.research-search-summary {
    display:flex;
    align-items:center;
    gap:6px;
    margin:0 0 18px;
    color:#64748b;
    font-size:13px;
    line-height:1.5;
}

.research-search-summary strong {
    color:#0f172a;
    font-weight:700;
}

.research-search-highlight {
    padding:0 2px;
    border-radius:3px;
    background:#dbeafe;
    color:#1e3a8a;
    font-weight:750;
}

.research-search-summary span {
    color:#64748b;
}

.research-publication-grid {
    display:grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap:18px;
}

.research-publication-grid
.research-publication-card {
    animation:
        researchPublicationReveal
        .24s ease both;
}

.research-publication-grid
.research-publication-card:nth-child(2) {
    animation-delay:.025s;
}

.research-publication-grid
.research-publication-card:nth-child(3) {
    animation-delay:.05s;
}

.research-publication-grid
.research-publication-card:nth-child(4) {
    animation-delay:.075s;
}

@keyframes researchPublicationReveal {

    from {
        opacity:0;
        transform:translateY(5px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }

}

@media (prefers-reduced-motion: reduce) {

    .research-publication-grid
    .research-publication-card {
        animation:none;
    }

}

.research-publication-card {
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:20px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#ffffff;
    box-shadow:0 8px 24px rgba(15, 23, 42, 0.06);
    cursor:pointer;
    outline:none;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.research-publication-card:focus-visible {
    border-color:#60a5fa;
    box-shadow:
        0 14px 34px rgba(15,23,42,.10),
        0 0 0 3px rgba(59,130,246,.14);
}

.research-publication-card:hover {
    transform:translateY(-2px);
    border-color:#cbd5e1;
    box-shadow:0 14px 34px rgba(15,23,42,.10);
}

.research-publication-kicker-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.research-publication-kicker {
    color:#2563eb;
    font-size:10px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.research-publication-recent {
    padding:4px 7px;
    border:1px solid #bfdbfe;
    border-radius:999px;
    background:#eff6ff;
    color:#1d4ed8;
    font-size:8.5px;
    font-weight:800;
    line-height:1;
    letter-spacing:.07em;
    text-transform:uppercase;
    white-space:nowrap;
}

.research-publication-cover {
    display:block;
    height:170px;
    margin:-20px -20px 4px;
    overflow:hidden;
    background:#e2e8f0;
    text-decoration:none;
}

.research-publication-cover img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .25s ease;
}

.research-publication-cover-fallback {
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    gap:7px;
    padding:22px 24px;
    box-sizing:border-box;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(96,165,250,.26),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0f172a 0%,
            #172554 52%,
            #1e3a8a 100%
        );
    background-size:110% 110%;
    background-position:center;
    color:#ffffff;
    transition:
        background-position .28s ease,
        transform .25s ease;
}

.research-publication-card:hover
.research-publication-cover-fallback {
    background-position:56% 44%;
}

.research-publication-cover-fallback::before {
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );
    background-size:26px 26px;
    pointer-events:none;
}

.research-publication-cover-label {
    position:relative;
    z-index:1;
    color:#93c5fd;
    font-size:9px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.research-publication-cover-fallback strong {
    position:relative;
    z-index:1;
    max-width:90%;
    color:#ffffff;
    font-size:20px;
    line-height:1.15;
    letter-spacing:-.02em;
}

.research-publication-cover-fallback small {
    position:relative;
    z-index:1;
    color:#bfdbfe;
    font-size:11px;
    font-weight:600;
}

.research-publication-card:hover
.research-publication-cover img {
    transform:scale(1.025);
}

.research-publication-card h2 {
    margin:0;
    font-size:21px;
    line-height:1.3;
}

.research-publication-title-link {
    color:#0f172a;
    text-decoration:none;
    transition:color .15s ease;
}

.research-publication-title-link:hover,
.research-publication-card:hover
.research-publication-title-link {
    color:#1d4ed8;
}

.research-publication-description {
    color:#475569;
    line-height:1.6;
    flex:1;
}

.research-publication-meta {
    color:#64748b;
    font-size:13px;
}

.research-publication-types {
    display:flex;
    flex-wrap:wrap;
    gap:5px 10px;
    margin-top:2px;
    color:#64748b;
    font-size:10px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.research-publication-types span {
    position:relative;
}

.research-publication-types span:not(:last-child)::after {
    content:"·";
    position:absolute;
    right:-7px;
    color:#cbd5e1;
}

.research-publication-stats {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:2px;
}

.research-publication-stats span {
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:5px 8px;
    border:1px solid #e2e8f0;
    border-radius:999px;
    background:#f8fafc;
    color:#64748b;
    font-size:10.5px;
    line-height:1.2;
    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.research-publication-card:hover
.research-publication-stats span {
    border-color:#dbeafe;
    background:#eff6ff;
    color:#475569;
}

.research-publication-stats strong {
    color:#0f172a;
    font-size:11px;
    font-weight:800;
}

.research-publication-footer-meta {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:2px;
    padding-top:12px;
    border-top:1px solid #eef2f7;
}

.research-publication-author {
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.research-publication-date {
    flex:0 0 auto;
    color:#94a3b8;
    font-size:11.5px;
    font-weight:600;
    white-space:nowrap;
}

.research-publication-author-avatar {
    width:24px;
    height:24px;
    flex:0 0 24px;
    border-radius:50%;
    object-fit:cover;
    display:block;
}

.research-publication-author-avatar-fallback {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#e0e7ff;
    color:#1e3a8a;
    font-size:10px;
    font-weight:800;
    line-height:1;
    text-transform:uppercase;
}

.research-publication-link {
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:10px 14px;
    border-radius:8px;
    text-decoration:none;
    background:#1e40af;
    color:#ffffff;
    font-weight:650;
    transition:
        background .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
}

.research-publication-link::after {
    content:"→";
    margin-left:8px;
    transition:transform .16s ease;
}

.research-publication-link:hover,
.research-publication-card:hover
.research-publication-link {
    background:#1d4ed8;
    transform:translateY(-1px);
    box-shadow:0 7px 18px rgba(30,64,175,.20);
}

.research-publication-link:hover::after,
.research-publication-card:hover
.research-publication-link::after {
    transform:translateX(3px);
}

.research-empty {
    padding:32px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.research-empty strong {
    display:block;
    margin-bottom:7px;
    color:#0f172a;
    font-size:18px;
    line-height:1.3;
}

.research-empty p {
    margin:0 0 16px;
    color:#64748b;
    font-size:13.5px;
    line-height:1.6;
}

.research-empty-reset {
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:9px 12px;
    border-radius:8px;
    background:#eef2ff;
    color:#1e40af;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.research-empty-reset::after {
    content:"→";
}

.research-empty-reset:hover {
    background:#dbeafe;
    color:#1d4ed8;
    transform:translateY(-1px);
}

@media (max-width:700px) {

    .research-directory {
        width:min(100% - 22px, 1180px);
        margin:26px auto 56px;
    }

    .research-directory-header {
        margin-bottom:22px;
    }

    .research-directory-heading-row {
        flex-direction:column;
        gap:14px;
    }

    .research-directory-count {
        min-width:0;
        width:max-content;
        display:flex;
        align-items:baseline;
        gap:6px;
        padding:8px 11px;
        text-align:left;
    }

    .research-directory-count strong {
        font-size:18px;
    }

    .research-directory-count span {
        margin-top:0;
    }

    .research-directory-header h1 {
        font-size:28px;
        line-height:1.15;
    }

    .research-directory-header p {
        font-size:14px;
        line-height:1.55;
    }

    .research-global-search {
        display:grid;
        grid-template-columns:1fr auto;
        gap:8px;
        margin-top:16px;
    }

    .research-global-search input {
        width:100%;
        height:42px;
    }

    .research-global-search button {
        height:42px;
        padding:0 15px;
    }

    .research-global-search-clear {
        grid-column:1 / -1;
        width:max-content;
        height:auto;
        padding:3px 0;
    }

    .research-publication-grid {
        grid-template-columns:1fr;
        gap:14px;
    }

    .research-publication-card {
        padding:17px;
    }

    .research-publication-cover {
        height:160px;
        margin:-17px -17px 4px;
    }

    .research-publication-cover-fallback {
        padding:20px;
    }

    .research-publication-card h2 {
        font-size:19px;
    }

    .research-publication-description {
        font-size:13.5px;
    }

    .research-publication-stats {
        gap:6px;
    }

    .research-publication-stats span {
        padding:5px 7px;
        font-size:10px;
    }

    .research-publication-footer-meta {
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .research-publication-date {
        padding-left:31px;
    }

    .research-publication-link {
        width:100%;
        justify-content:center;
        box-sizing:border-box;
    }

    .research-empty {
        padding:24px 20px;
    }

}
