.thesis-abstracts-results {
    display: block;
    width: 100%;
}

.thesis-abstracts-results:not(:empty) {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.thesis-abstract-card {
    width: 100%;
    cursor: pointer;
}

.thesis-abstract-card-inner {
    display: block;
    position: relative;
    padding: 24px 28px 48px;
    background: var(--grey-light, #f5f5f5);
    transition: box-shadow 0.2s ease-in-out;
}

.thesis-abstract-card:hover .thesis-abstract-card-inner {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.section-lgrey .thesis-abstract-card .thesis-abstract-card-inner {
    background: var(--white, #fff);
}

.thesis-abstract-card-footer {
    position: absolute;
    bottom: 20px;
    right: 24px;
}

.thesis-abstract-arrow {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--blue, #003087);
    pointer-events: none;
}

.thesis-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--blue, #003087);
    color: #fff;
    font-size: 0.78em;
    border-radius: 2px;
    margin-right: 6px;
    margin-bottom: 4px;
}

.thesis-loader {
    display: none;
    padding: 40px 0;
    text-align: center;
    color: var(--black-60, #666);
}

.thesis-abstract-popup {
    max-width: 680px;
    padding: 40px 48px;
    background: #fff;
}

.thesis-popup-section-label {
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black-60, #666);
    margin-bottom: 8px;
}

.thesis-popup-section-text {
    color: var(--black-80, #333);
    font-size: 0.95em;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .thesis-abstract-popup {
        padding: 24px 20px;
    }
}

.thesis-keywords {
    gap: 8px;
}

.thesis-keyword-tag {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid var(--black-80, #333);
    color: var(--black-80, #333);
    background: transparent;
    font-size: 0.80em;
    border-radius: 2px;
}

.thesis-abstracts-results {
    display: block;
    width: 100%;
}

.thesis-abstract-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.thesis-loader {
    display: none;
    padding: 40px 0;
    text-align: center;
    color: var(--black-60, #666);
}

/* ── Clear filters ── */
.thesis-clear-filters {
    cursor: pointer;
    font-size: 0.88em;
    font-weight: 600;
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.thesis-clear-filters:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ── Loading state (matches projects-archive pattern) ── */
.thesis-abstracts-block .thesis-abstracts-results,
.thesis-abstracts-block .blue-filter-box-content-empty {
    transition: opacity 0.3s ease;
}

.thesis-abstracts-block.is-loading .thesis-abstracts-results,
.thesis-abstracts-block.is-loading .blue-filter-box-content-empty {
    opacity: 0.5;
    pointer-events: none;
}
