@import url('./landing-page.css');
@import url('./lesen-page.css');
@import url('./ueber-uns-page.css');
@import url('./partner-page.css');
@import url('./faq-page.css');
@import url('./journal-hosting-page.css');

:root {
    --fid-primary: #6e0b5f;
    --fid-light: #d6d8d9;
    --fid-secondary: #005477;
    --fid-tertiary: rgba(92, 137, 164, 0.99);
    --fid-primary-dark: #4f0745;
    --fid-primary-soft: #f6eef7;
    --fid-text: #171426;
    --fid-muted: #74717d;
    --fid-border: #e9e5ec;
    --fid-surface: rgba(255, 255, 255, 0.95);
    --fid-radius: 18px;
    --fid-shadow: 0 14px 38px rgba(31, 25, 45, 0.11);
    --fid-navbar-offset: 122px;
    --fid-primary-faint: #fcf9fc;
}

.text-fid {
    color: var(--fid-primary) !important;
}

.text-black {
    color: #000000 !important;
}

blockquote {
    margin: 0 auto;
    text-align: center;
}

blockquote h3 {
    margin: 0;
    color: var(--fid-text, #171426);
    font-weight: 600;
    line-height: 1.15;
}

hr {
    display: block;
    width: 48px;
    height: 7px !important;
    margin: 14px auto 0;
    border-radius: 20px;
    background: var(--fid-primary, #6e0b5f);
}

.display-none {
    display: none !important;
}

.fid-ordered-listing-without-card, .fid-unordered-listing-without-card {
    margin-left: 15px !important;
}

.cards-with-only-image-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.image-align-center-in-card {
    justify-content: space-evenly;
}

.fid-alphabetic-ordered-listing li::before {
    content: counter(fidCriteria, lower-alpha) !important;
}

.fid-card-title {
    font-size: 16px !important;
}

.default-media-text figure {
    margin: 0 0 1rem !important;
}

.default-media-text-card {
    text-align: left !important;
    align-items: start !important;
}

.fid-research-video {
    flex: 1;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    margin-top: 20px;
    border: 0;
}

.fid-section-title > a {
    text-decoration: none !important;
}

.fid-section-title > a:hover {
    color: var(--fid-secondary, #005477);
}

#fidYearSlider {
    height: 6px;
    border: 0;
    border-radius: 10px;
    background: var(--fid-border) !important;;
    box-shadow: none;
}

#fidYearSlider .noUi-connect {
    background: var(--fid-primary) !important;;
}

#fidYearSlider .noUi-handle {
    width: 18px;
    height: 18px;
    top: -6px;
    right: -9px;
    border: 2px solid var(--fid-primary) !important;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    cursor: grab;
}

#fidYearSlider .noUi-handle::before,
#fidYearSlider .noUi-handle::after {
    display: none;
}

.fid-cover-column,
.fid-record-content,
.fid-actions-column {
    min-width: 0;
}

.fid-catalog-search-card {
    border: 1px solid var(--fid-border);
    border-left: 3px solid var(--fid-primary-soft);
    border-radius: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.fid-catalog-search-card:hover {
    border-left-color: var(--fid-primary);
    box-shadow: var(--fid-shadow);
    transform: translateX(3px);
}

.fid-catalog-search-cover-box {
    width: 100%;
    min-height: 190px;
    background: var(--fid-primary-faint);
}

.fid-catalog-search-cover {
    max-width: 125px;
    max-height: 175px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fid-catalog-search-card .fid-record-title {
    font-size: 1.15rem;
    line-height: 1.45;
}

.fid-catalog-search-card .fid-record-title a {
    color: var(--fid-text);
}

.fid-catalog-search-card .fid-record-title a:hover {
    color: var(--fid-primary);
}

/*.fid-catalog-search-card .fid-access-badge {*/
/*    position: static;*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    width: fit-content;*/
/*    flex-shrink: 0;*/
/*    background: #e7f5eb;*/
/*    border: 1px solid #c9e9d1;*/
/*    color: #246b3b;*/
/*    border-radius: 20px;*/
/*    padding: 5px 10px;*/
/*    font-size: .72rem;*/
/*    font-weight: 600;*/
/*    white-space: nowrap;*/
/*    box-shadow: none;*/
/*}*/

.fid-access-badge--open-access  {
    background-color: #e7f5eb;
    border: 1px solid #c9e9d1;
    color: #246b3b;
}

/* METADATA */

.fid-meta-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.fid-meta-row {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    font-size: .88rem;
    line-height: 1.55;
}

.fid-meta-row dt {
    color: var(--fid-text);
    font-weight: 650;
}

.fid-meta-row dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.fid-meta-link {
    color: var(--fid-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fid-meta-link:hover {
    color: var(--fid-secondary);
}

/* SUBJECTS */

.fid-subject-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 50rem;
    background: var(--fid-primary-soft);
    border: 1px solid transparent;
    color: var(--fid-primary);
    padding: 5px 12px;
    font-size: .8rem;
    font-weight: 550;
    line-height: 1.4;
}

.fid-subject-tag:hover {
    background: #fff;
    border-color: var(--fid-secondary);
    color: var(--fid-secondary);
}

/* ACTIONS */

.fid-actions-column {
    width: 190px;
    border-left: 1px solid var(--fid-border);
    padding-left: 18px;
}

.fid-catalog-search-card .fid-actions-column {
    align-self: stretch;
    justify-content: center;
}
