.academic-page {
    width: 100%;
    min-height: 100vh;
    padding-top: 84px;
    background:
        linear-gradient(135deg, rgba(180, 204, 199, 0.42) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #f7faf9 0%, #ffffff 46%, #f6f1e7 100%);
}

.academic-header {
    padding: 42px 0 30px;
    border-bottom: 1px solid rgba(13, 40, 89, 0.12);
}

.academic-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.52fr);
    gap: 28px;
    align-items: end;
}

.academic-header h1 {
    max-width: 760px;
    margin: 0;
    color: var(--color3);
    font-size: clamp(2.45rem, 6vw, 5.25rem);
    line-height: 0.95;
    font-weight: 850;
}

.academic-intro {
    margin: 0;
    padding: 16px 0 0 18px;
    border-left: 4px solid var(--accent-strong);
    color: #3f5b68;
    font-size: 0.94rem;
    line-height: 1.62;
}

.academic-section {
    padding: 28px 0 64px;
}

.academic-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 22px;
    align-items: start;
    margin-bottom: 24px;
}

.academic-heading h2 {
    margin: 0;
    color: var(--color3);
    font-size: clamp(1.28rem, 2.4vw, 1.9rem);
    line-height: 1.1;
}

.academic-heading p {
    max-width: 680px;
    margin: 8px 0 0;
    color: #526d78;
    font-size: 0.94rem;
    line-height: 1.58;
}

.academic-search {
    width: min(380px, 100%);
}

.academic-search-label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
}

.academic-search-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border: 1px solid rgba(13, 40, 89, 0.12);
    border-radius: 999px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(13, 40, 89, 0.05);
}

.academic-search-shell input {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--color3);
    font-size: 0.95rem;
}

.academic-search-shell input::placeholder {
    color: #7589a3;
}

.academic-search-shell button {
    padding: 0 18px;
    border: 0;
    background: var(--color3);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.academic-state {
    padding: 22px;
    border: 1px solid rgba(13, 40, 89, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: #526d78;
    text-align: center;
    box-shadow: 0 12px 24px rgba(13, 40, 89, 0.05);
}

.academic-grid {
    --timeline-x: 17px;
    --marker-size: 34px;
    position: relative;
    display: grid;
    gap: 14px;
    padding-left: 42px;
}

.academic-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--timeline-x) - 1px);
    width: 2px;
    background: linear-gradient(180deg, var(--accent-strong), rgba(13, 40, 89, 0.14));
}

.academic-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(13, 40, 89, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 26px rgba(13, 40, 89, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.academic-card:hover {
    transform: translateX(3px);
    border-color: rgba(172, 132, 44, 0.38);
    box-shadow: 0 16px 32px rgba(13, 40, 89, 0.1);
}

.academic-marker {
    position: absolute;
    top: 16px;
    left: calc((var(--timeline-x) - 42px) - (var(--marker-size) / 2));
    z-index: 2;
    display: grid;
    place-items: center;
    width: var(--marker-size);
    height: var(--marker-size);
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--accent-strong);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(13, 40, 89, 0.14);
}

.academic-marker span {
    font-size: 0.66rem;
    font-weight: 850;
}

.academic-card-body {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 18px 20px;
}

.academic-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
}

.academic-card-main {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.academic-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.academic-date {
    margin: 0;
    padding: 6px 9px;
    border-radius: 6px;
    background: #eef4f2;
    color: var(--color4);
    font-size: 0.76rem;
    font-weight: 850;
}

.academic-subtitle {
    margin: 0;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.academic-title {
    margin: 0;
    color: var(--color3);
    font-size: clamp(1.05rem, 1.55vw, 1.42rem);
    line-height: 1.18;
    overflow-wrap: break-word;
}

.academic-data-panel {
    display: grid;
    gap: 0;
    min-width: 0;
    border: 1px solid rgba(13, 40, 89, 0.1);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.academic-authors {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 11px 14px;
    border-left: 0;
    border-bottom: 1px solid rgba(13, 40, 89, 0.09);
    background: linear-gradient(90deg, rgba(172, 132, 44, 0.08), rgba(255, 255, 255, 0));
}

.academic-authors span,
.academic-meta span {
    color: var(--accent-strong);
    font-size: 0.64rem;
    font-weight: 850;
    line-height: 1.15;
}

.academic-authors strong {
    min-width: 0;
    color: #203b4c;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.academic-context-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid rgba(13, 40, 89, 0.09);
}

.academic-context-row .academic-meta {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 0;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.academic-context-row .academic-meta + .academic-meta {
    border-left: 1px solid rgba(13, 40, 89, 0.09);
}

.academic-context-row .academic-meta strong {
    color: #203b4c;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.24;
    overflow-wrap: anywhere;
}

.academic-detail-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
}

.academic-detail-row .academic-meta {
    display: grid;
    gap: 3px;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 9px 10px;
    border: 0;
    border-right: 1px solid rgba(13, 40, 89, 0.09);
    border-radius: 0;
    background: #fbfcfd;
}

.academic-detail-row .academic-meta:last-child {
    border-right: 0;
}

.academic-detail-row .academic-meta strong {
    min-width: 0;
    color: #203b4c;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.academic-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    justify-content: flex-end;
    min-width: 230px;
}

.academic-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.academic-link-primary {
    border: 1px solid var(--color3);
    background: var(--color3);
    color: #ffffff;
}

.academic-link-secondary {
    border: 1px solid rgba(172, 132, 44, 0.36);
    background: #ffffff;
    color: var(--accent-strong);
}

.academic-link:hover {
    transform: translateY(-1px);
}

.academic-link-primary:hover {
    background: #173766;
    color: #ffffff;
}

.academic-link-secondary:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: #ffffff;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 980px) {
    .academic-header-inner,
    .academic-heading {
        grid-template-columns: 1fr;
    }

    .academic-intro {
        max-width: 760px;
    }

    .academic-context-row {
        grid-template-columns: 1fr;
    }

    .academic-context-row .academic-meta + .academic-meta {
        border-top: 1px solid rgba(13, 40, 89, 0.09);
        border-left: 0;
    }

    .academic-detail-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .academic-detail-row .academic-meta:nth-child(3n) {
        border-right: 0;
    }
}

@media (max-width: 820px) {
    .academic-card-top {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .academic-card-links {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 700px) {
    .academic-page {
        padding-top: 84px;
    }

    .academic-header {
        padding: 68px 0 34px;
    }

    .academic-intro {
        padding: 16px 0 0 16px;
    }

    .academic-grid {
        padding-left: 0;
    }

    .academic-grid::before,
    .academic-marker {
        display: none;
    }

    .academic-card-body {
        padding: 15px;
    }

    .academic-authors {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .academic-context-row .academic-meta {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .academic-detail-row {
        grid-template-columns: 1fr;
    }

    .academic-detail-row .academic-meta {
        width: 100%;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid rgba(13, 40, 89, 0.09);
    }

    .academic-detail-row .academic-meta:last-child {
        border-bottom: 0;
    }

    .academic-search-shell {
        grid-template-columns: minmax(0, 1fr) 98px;
        border-radius: 999px;
    }

    .academic-search-shell input {
        min-height: 44px;
        padding: 14px 16px;
        font-size: 0.92rem;
    }

    .academic-search-shell button {
        min-height: 38px;
        padding: 0 14px;
    }
}

@media (max-width: 420px) {
    .academic-search-shell {
        grid-template-columns: minmax(0, 1fr) 86px;
    }

    .academic-search-shell input {
        padding: 13px 12px;
        font-size: 0.82rem;
    }

    .academic-search-shell button {
        padding: 0 10px;
        font-size: 0.82rem;
    }
}
