/* ============================================================
   FCHDK — PUBLICATION VIEW
   Publication Details Page
   ============================================================ */

:root {
    --fchdk-pv-green: #0b6b3a;
    --fchdk-pv-green-dark: #064d2a;
    --fchdk-pv-green-light: #eaf7ef;

    --fchdk-pv-yellow: #f4c430;
    --fchdk-pv-yellow-light: #fff8dc;

    --fchdk-pv-blue: #1769aa;
    --fchdk-pv-purple: #6a4bc3;
    --fchdk-pv-teal: #00897b;

    --fchdk-pv-text: #17231c;
    --fchdk-pv-muted: #68756d;
    --fchdk-pv-border: #dce5df;

    --fchdk-pv-bg: #f7faf8;
    --fchdk-pv-white: #ffffff;

    --fchdk-pv-shadow:
        0 18px 50px rgba(17, 49, 31, 0.08);

    --fchdk-pv-radius: 20px;
}


/* ============================================================
   PAGE BASE
   ============================================================ */

.fchdk-page-publication-view {
    background: var(--fchdk-pv-bg);
    color: var(--fchdk-pv-text);
    overflow-x: hidden;
}


/* ============================================================
   CONTAINER
   ============================================================ */

.fchdk-page-publication-view .fchdk-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* ============================================================
   HERO
   ============================================================ */

.fchdk-publication-view-hero {
    position: relative;
    overflow: hidden;

    padding: 34px 0 78px;

    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(244, 196, 48, 0.15),
            transparent 29%
        ),
        radial-gradient(
            circle at 12% 88%,
            rgba(11, 107, 58, 0.10),
            transparent 33%
        ),
        linear-gradient(
            135deg,
            #f2faf5 0%,
            #ffffff 52%,
            #eef8f1 100%
        );
}

.fchdk-publication-view-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -260px;
    top: -270px;

    border: 1px solid rgba(11, 107, 58, 0.08);
    border-radius: 50%;
}

.fchdk-publication-view-hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: -180px;
    bottom: -180px;

    border: 1px dashed rgba(244, 196, 48, 0.30);
    border-radius: 50%;
}


/* ============================================================
   BREADCRUMB
   ============================================================ */

.fchdk-publication-view-breadcrumb {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 45px;

    color: var(--fchdk-pv-muted);

    font-size: 0.82rem;
}

.fchdk-publication-view-breadcrumb a {
    color: var(--fchdk-pv-green);

    font-weight: 800;
    text-decoration: none;
}

.fchdk-publication-view-breadcrumb a:hover {
    text-decoration: underline;
}

.fchdk-publication-view-breadcrumb span:last-child {
    color: #89958e;
}


/* ============================================================
   HERO GRID
   ============================================================ */

.fchdk-publication-view-hero-grid {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);

    align-items: center;

    gap: 55px;
}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.fchdk-publication-view-hero-content {
    max-width: 760px;
}

.fchdk-publication-view-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    border-radius: 999px;

    background: var(--fchdk-pv-green-light);
    color: var(--fchdk-pv-green);

    font-size: 0.69rem;
    font-weight: 900;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fchdk-publication-view-type.report {
    background: rgba(23, 105, 170, 0.09);
    color: var(--fchdk-pv-blue);
}

.fchdk-publication-view-type.technical {
    background: rgba(0, 137, 123, 0.09);
    color: var(--fchdk-pv-teal);
}

.fchdk-publication-view-type.conference {
    background: rgba(106, 75, 195, 0.09);
    color: var(--fchdk-pv-purple);
}

.fchdk-publication-view-type.book {
    background: rgba(244, 196, 48, 0.17);
    color: #856000;
}

.fchdk-publication-view-hero h1 {
    max-width: 800px;

    margin: 20px 0 25px;

    color: var(--fchdk-pv-green-dark);

    font-size: clamp(2.35rem, 4.9vw, 4.35rem);

    line-height: 1.04;

    letter-spacing: -0.05em;

    font-weight: 900;
}


/* ============================================================
   AUTHORS
   ============================================================ */

.fchdk-publication-view-authors {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 20px;
}

.fchdk-publication-view-authors > i {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #ffffff;

    border: 1px solid var(--fchdk-pv-border);

    color: var(--fchdk-pv-green);
}

.fchdk-publication-view-authors span {
    display: block;

    margin-bottom: 3px;

    color: #8a968f;

    font-size: 0.63rem;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.fchdk-publication-view-authors strong {
    display: block;

    color: var(--fchdk-pv-text);

    font-size: 0.85rem;
    line-height: 1.5;
}


/* ============================================================
   HERO META
   ============================================================ */

.fchdk-publication-view-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.fchdk-publication-view-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 11px;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(11, 107, 58, 0.08);

    color: #6d7a72;

    font-size: 0.7rem;
    font-weight: 700;
}

.fchdk-publication-view-meta-row i {
    color: var(--fchdk-pv-green);
}


/* ============================================================
   HERO VISUAL
   ============================================================ */

.fchdk-publication-view-visual {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.fchdk-pv-orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    border: 1px dashed rgba(11, 107, 58, 0.16);

    transform: translate(-50%, -50%);

    animation: fchdkPvOrbit 18s linear infinite;
}

.fchdk-pv-orbit.pv-orbit-one {
    width: 285px;
    height: 285px;
}

.fchdk-pv-orbit.pv-orbit-two {
    width: 375px;
    height: 375px;

    border-color: rgba(244, 196, 48, 0.25);

    animation-duration: 24s;
    animation-direction: reverse;
}

.fchdk-pv-orbit.pv-orbit-three {
    width: 465px;
    height: 465px;

    border-color: rgba(11, 107, 58, 0.07);

    animation-duration: 30s;
}


/* ============================================================
   PAPER
   ============================================================ */

.fchdk-pv-paper {
    position: relative;
    z-index: 5;

    width: 220px;
    min-height: 285px;

    padding: 22px;

    border-radius: 17px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(11, 107, 58, 0.11);

    box-shadow:
        0 30px 70px rgba(17, 67, 40, 0.15),
        0 10px 25px rgba(17, 67, 40, 0.06);

    transform: rotate(-4deg);

    animation: fchdkPvPaperFloat 5.5s ease-in-out infinite;
}

.fchdk-pv-paper-header {
    display: flex;
    gap: 6px;

    margin-bottom: 22px;
}

.fchdk-pv-paper-header span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #bdcbc2;
}

.fchdk-pv-paper-header span:first-child {
    background: var(--fchdk-pv-green);
}

.fchdk-pv-paper-title {
    width: 78%;
    height: 10px;

    margin-bottom: 12px;

    border-radius: 999px;

    background: var(--fchdk-pv-green-dark);
}

.fchdk-pv-paper-author {
    width: 52%;
    height: 5px;

    margin-bottom: 22px;

    border-radius: 999px;

    background: #d3ded7;
}

.fchdk-pv-paper-line {
    width: 100%;
    height: 5px;

    margin-bottom: 8px;

    border-radius: 999px;

    background: #e3eae5;
}

.fchdk-pv-paper-line.short {
    width: 60%;
}

.fchdk-pv-paper-chart {
    height: 72px;

    display: flex;
    align-items: flex-end;
    gap: 8px;

    margin: 22px 0;

    padding: 11px;

    border-radius: 9px;

    background:
        linear-gradient(
            180deg,
            #f0f8f3,
            #e7f3eb
        );
}

.fchdk-pv-paper-chart span {
    flex: 1;

    border-radius: 4px 4px 2px 2px;

    background: var(--fchdk-pv-green);

    animation: fchdkPvBars 2.7s ease-in-out infinite;
}

.fchdk-pv-paper-chart span:nth-child(1) {
    height: 36%;
}

.fchdk-pv-paper-chart span:nth-child(2) {
    height: 64%;
    animation-delay: 0.15s;
}

.fchdk-pv-paper-chart span:nth-child(3) {
    height: 47%;
    animation-delay: 0.3s;
}

.fchdk-pv-paper-chart span:nth-child(4) {
    height: 82%;
    animation-delay: 0.45s;
}


/* ============================================================
   FLOATING VISUAL CARDS
   ============================================================ */

.fchdk-pv-floating {
    position: absolute;
    z-index: 8;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 13px;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(11, 107, 58, 0.10);

    box-shadow:
        0 14px 32px rgba(18, 56, 35, 0.11);

    color: var(--fchdk-pv-green-dark);

    font-size: 0.71rem;
    font-weight: 800;
}

.fchdk-pv-floating i {
    color: var(--fchdk-pv-green);
}

.fchdk-pv-floating.pv-floating-research {
    left: 2%;
    top: 16%;

    animation: fchdkPvFloatOne 5s ease-in-out infinite;
}

.fchdk-pv-floating.pv-floating-data {
    right: 1%;
    top: 31%;

    animation: fchdkPvFloatTwo 6s ease-in-out infinite;
}

.fchdk-pv-floating.pv-floating-impact {
    right: 9%;
    bottom: 13%;

    animation: fchdkPvFloatThree 5.5s ease-in-out infinite;
}


/* ============================================================
   INFORMATION BAR
   ============================================================ */

.fchdk-publication-view-info-bar {
    position: relative;
    z-index: 5;

    background: #ffffff;

    border-top: 1px solid var(--fchdk-pv-border);
    border-bottom: 1px solid var(--fchdk-pv-border);

    box-shadow:
        0 8px 30px rgba(22, 54, 35, 0.04);
}

.fchdk-publication-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fchdk-publication-info-item {
    min-height: 110px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 22px 24px;

    border-right: 1px solid var(--fchdk-pv-border);
}

.fchdk-publication-info-item:last-child {
    border-right: 0;
}

.fchdk-publication-info-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--fchdk-pv-green-light);
    color: var(--fchdk-pv-green);

    font-size: 0.95rem;
}

.fchdk-publication-info-item span {
    display: block;

    margin-bottom: 5px;

    color: #89958e;

    font-size: 0.65rem;
    font-weight: 900;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fchdk-publication-info-item strong {
    display: block;

    color: var(--fchdk-pv-text);

    font-size: 0.81rem;
    line-height: 1.5;
}


/* ============================================================
   MAIN CONTENT
   ============================================================ */

.fchdk-publication-view-content {
    padding: 90px 0;
}

.fchdk-publication-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;

    gap: 70px;

    align-items: start;
}


/* ============================================================
   MAIN ARTICLE
   ============================================================ */

.fchdk-publication-main {
    min-width: 0;
}

.fchdk-publication-section-kicker {
    display: block;

    margin-bottom: 10px;

    color: var(--fchdk-pv-green);

    font-size: 0.69rem;
    font-weight: 900;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fchdk-publication-main > h2 {
    margin: 0 0 20px;

    color: var(--fchdk-pv-green-dark);

    font-size: clamp(2rem, 3.5vw, 2.9rem);

    line-height: 1.1;

    letter-spacing: -0.04em;
}

.fchdk-publication-main > .fchdk-publication-lead {
    max-width: 820px;

    margin: 0;

    color: #526158;

    font-size: 1.08rem;
    line-height: 1.9;
}


/* ============================================================
   ABSTRACT
   ============================================================ */

.fchdk-publication-abstract {
    margin-top: 60px;
    padding-top: 48px;

    border-top: 1px solid var(--fchdk-pv-border);
}

.fchdk-publication-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 30px;
}

.fchdk-publication-section-heading h2 {
    margin: 0;

    color: var(--fchdk-pv-green-dark);

    font-size: 1.95rem;

    letter-spacing: -0.03em;
}

.fchdk-publication-heading-icon {
    width: 51px;
    height: 51px;
    flex: 0 0 51px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--fchdk-pv-yellow-light);
    color: #967000;

    font-size: 1.05rem;
}

.fchdk-publication-abstract-box {
    position: relative;

    padding: 29px 30px 29px 72px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f0f8f3,
            #ffffff
        );

    border: 1px solid rgba(11, 107, 58, 0.10);
}

.fchdk-abstract-mark {
    position: absolute;

    left: 25px;
    top: 26px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--fchdk-pv-green);

    color: #ffffff;

    font-size: 0.75rem;
}

.fchdk-publication-abstract-box p {
    margin: 0;

    color: #536158;

    font-size: 0.94rem;
    line-height: 1.9;
}


/* ============================================================
   KEYWORDS
   ============================================================ */

.fchdk-publication-keywords {
    margin-top: 45px;
}

.fchdk-publication-keywords h3 {
    margin: 0 0 14px;

    color: var(--fchdk-pv-green-dark);

    font-size: 1rem;
}

.fchdk-publication-keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fchdk-publication-keyword-list span {
    padding: 7px 11px;

    border: 1px solid var(--fchdk-pv-border);
    border-radius: 999px;

    background: #ffffff;

    color: #6d7b73;

    font-size: 0.71rem;
    font-weight: 700;
}


/* ============================================================
   CITATION
   ============================================================ */

.fchdk-publication-citation {
    margin-top: 60px;
    padding-top: 48px;

    border-top: 1px solid var(--fchdk-pv-border);
}

.fchdk-publication-citation-box {
    padding: 24px;

    border-radius: 16px;

    background: #ffffff;

    border: 1px solid var(--fchdk-pv-border);

    box-shadow:
        0 10px 30px rgba(20, 55, 35, 0.04);
}

.fchdk-publication-citation-box p {
    margin: 0 0 18px;

    color: #59675f;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 0.95rem;
    line-height: 1.8;
}

.fchdk-copy-citation {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0 13px;

    border: 1px solid var(--fchdk-pv-border);
    border-radius: 9px;

    background: #ffffff;

    color: var(--fchdk-pv-green);

    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.fchdk-copy-citation:hover,
.fchdk-copy-citation.is-copied {
    background: var(--fchdk-pv-green);
    border-color: var(--fchdk-pv-green);
    color: #ffffff;
}


/* ============================================================
   SHARE
   ============================================================ */

.fchdk-publication-share {
    margin-top: 50px;
    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    border-radius: 17px;

    background: #ffffff;

    border: 1px solid var(--fchdk-pv-border);

    box-shadow:
        0 10px 30px rgba(20, 55, 35, 0.04);
}

.fchdk-publication-share > div:first-child span {
    display: block;

    margin-bottom: 5px;

    color: var(--fchdk-pv-green);

    font-size: 0.65rem;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.fchdk-publication-share strong {
    color: var(--fchdk-pv-text);

    font-size: 0.82rem;
}

.fchdk-publication-share-buttons {
    display: flex;
    gap: 8px;
}

.fchdk-publication-share-btn {
    width: 41px;
    height: 41px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--fchdk-pv-border);
    border-radius: 10px;

    background: #ffffff;

    color: var(--fchdk-pv-green);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.fchdk-publication-share-btn:hover,
.fchdk-publication-share-btn:focus-visible,
.fchdk-publication-share-btn.is-copied {
    transform: translateY(-2px);

    background: var(--fchdk-pv-green);
    border-color: var(--fchdk-pv-green);

    color: #ffffff;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.fchdk-publication-sidebar {
    position: sticky;
    top: 110px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fchdk-publication-sidebar-card {
    padding: 26px;

    border-radius: var(--fchdk-pv-radius);

    background: #ffffff;

    border: 1px solid var(--fchdk-pv-border);

    box-shadow: var(--fchdk-pv-shadow);
}

.fchdk-publication-sidebar-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 14px;

    background: var(--fchdk-pv-green);

    color: #ffffff;

    font-size: 1rem;
}

.fchdk-publication-sidebar-card h3 {
    margin: 0 0 9px;

    color: var(--fchdk-pv-green-dark);

    font-size: 1.08rem;
}

.fchdk-publication-sidebar-card > p {
    margin: 0 0 20px;

    color: var(--fchdk-pv-muted);

    font-size: 0.82rem;
    line-height: 1.7;
}


/* ============================================================
   SIDEBAR BUTTONS
   ============================================================ */

.fchdk-publication-download-btn,
.fchdk-publication-back-btn {
    width: 100%;
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 10px;

    font-size: 0.76rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.fchdk-publication-download-btn {
    background: var(--fchdk-pv-green);
    color: #ffffff;

    box-shadow:
        0 9px 22px rgba(11, 107, 58, 0.15);
}

.fchdk-publication-download-btn:hover {
    transform: translateY(-2px);

    background: var(--fchdk-pv-green-dark);
}

.fchdk-publication-download-btn.is-disabled {
    background: #eef2ef;
    color: #89958e;

    box-shadow: none;

    cursor: not-allowed;
}

.fchdk-publication-back-btn {
    margin-top: 9px;

    border: 1px solid var(--fchdk-pv-border);

    color: var(--fchdk-pv-green);

    background: #ffffff;
}

.fchdk-publication-back-btn:hover {
    background: var(--fchdk-pv-green-light);
}


/* ============================================================
   SIDEBAR HEADING
   ============================================================ */

.fchdk-publication-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 9px;

    padding-bottom: 16px;

    margin-bottom: 2px;

    border-bottom: 1px solid var(--fchdk-pv-border);
}

.fchdk-publication-sidebar-heading i {
    color: var(--fchdk-pv-green);
}

.fchdk-publication-sidebar-heading h3 {
    margin: 0;

    font-size: 0.95rem;
}


/* ============================================================
   METADATA
   ============================================================ */

.fchdk-publication-metadata {
    margin: 0;
    padding: 0;
}

.fchdk-publication-metadata > div {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);

    gap: 12px;

    padding: 13px 0;

    border-bottom: 1px solid #edf1ee;
}

.fchdk-publication-metadata > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.fchdk-publication-metadata dt {
    color: #89958e;

    font-size: 0.68rem;
    line-height: 1.5;
}

.fchdk-publication-metadata dd {
    margin: 0;

    color: var(--fchdk-pv-text);

    font-size: 0.71rem;
    line-height: 1.55;

    text-align: right;
    word-break: break-word;
}


/* ============================================================
   RESEARCH SIDEBAR CARD
   ============================================================ */

.fchdk-publication-research-card {
    overflow: hidden;
}

.fchdk-publication-research-visual {
    position: relative;

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #e9f8ef,
            #fff8dc
        );

    color: var(--fchdk-pv-green);

    font-size: 1.25rem;
}

.fchdk-research-pulse {
    position: absolute;

    inset: 8px;

    border: 1px solid rgba(11, 107, 58, 0.23);

    border-radius: 50%;

    animation: fchdkPvResearchPulse 2.7s ease-in-out infinite;
}

.fchdk-publication-research-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--fchdk-pv-green);

    font-size: 0.74rem;
    font-weight: 900;

    text-decoration: none;
}

.fchdk-publication-research-card a:hover {
    text-decoration: underline;
}


/* ============================================================
   RELATED PUBLICATIONS
   ============================================================ */

.fchdk-related-publications {
    padding: 90px 0;

    background: #ffffff;

    border-top: 1px solid var(--fchdk-pv-border);
}

.fchdk-related-publications-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 38px;
}

.fchdk-related-publications-heading h2 {
    margin: 0 0 8px;

    color: var(--fchdk-pv-green-dark);

    font-size: clamp(2rem, 4vw, 2.85rem);

    letter-spacing: -0.04em;
}

.fchdk-related-publications-heading p {
    margin: 0;

    color: var(--fchdk-pv-muted);

    font-size: 0.88rem;
}

.fchdk-publication-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;

    color: var(--fchdk-pv-green);

    font-size: 0.77rem;
    font-weight: 900;

    text-decoration: none;
}

.fchdk-publication-view-all:hover {
    text-decoration: underline;
}


/* ============================================================
   RELATED GRID
   ============================================================ */

.fchdk-related-publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.fchdk-related-publication-card {
    padding: 24px;

    border: 1px solid var(--fchdk-pv-border);
    border-radius: 18px;

    background: #f8fbf9;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fchdk-related-publication-card:hover {
    transform: translateY(-5px);

    border-color: rgba(11, 107, 58, 0.18);

    box-shadow:
        0 18px 40px rgba(19, 59, 38, 0.08);
}

.fchdk-related-publication-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.fchdk-related-publication-type {
    padding: 6px 9px;

    border-radius: 999px;

    background: var(--fchdk-pv-green-light);
    color: var(--fchdk-pv-green);

    font-size: 0.6rem;
    font-weight: 900;

    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.fchdk-related-publication-type.report {
    background: rgba(23, 105, 170, 0.09);
    color: var(--fchdk-pv-blue);
}

.fchdk-related-publication-type.technical {
    background: rgba(0, 137, 123, 0.09);
    color: var(--fchdk-pv-teal);
}

.fchdk-related-publication-type.conference {
    background: rgba(106, 75, 195, 0.09);
    color: var(--fchdk-pv-purple);
}

.fchdk-related-publication-year {
    color: #8b9790;

    font-size: 0.68rem;
    font-weight: 800;
}

.fchdk-related-publication-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 13px;

    background: var(--fchdk-pv-green-light);
    color: var(--fchdk-pv-green);
}

.fchdk-related-publication-icon.report {
    background: rgba(23, 105, 170, 0.09);
    color: var(--fchdk-pv-blue);
}

.fchdk-related-publication-icon.technical {
    background: rgba(0, 137, 123, 0.09);
    color: var(--fchdk-pv-teal);
}

.fchdk-related-publication-icon.conference {
    background: rgba(106, 75, 195, 0.09);
    color: var(--fchdk-pv-purple);
}

.fchdk-related-publication-card h3 {
    min-height: 54px;

    margin: 0 0 11px;

    color: var(--fchdk-pv-green-dark);

    font-size: 0.98rem;
    line-height: 1.45;
}

.fchdk-related-publication-card p {
    min-height: 56px;

    margin: 0 0 18px;

    color: var(--fchdk-pv-muted);

    font-size: 0.75rem;
    line-height: 1.7;
}

.fchdk-related-publication-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--fchdk-pv-green);

    font-size: 0.7rem;
    font-weight: 900;

    text-decoration: none;
}

.fchdk-related-publication-link:hover {
    text-decoration: underline;
}


/* ============================================================
   CTA
   ============================================================ */

.fchdk-publication-view-cta {
    padding: 78px 0;

    background:
        radial-gradient(
            circle at 84% 45%,
            rgba(244, 196, 48, 0.13),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #064d2a,
            #0b6b3a
        );
}

.fchdk-publication-view-cta-inner {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;

    align-items: center;

    gap: 30px;
}

.fchdk-publication-cta-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.16);

    color: #ffffff;

    font-size: 1.35rem;
}

.fchdk-publication-view-cta-inner
.fchdk-publication-section-kicker {
    color: #f7d968;
}

.fchdk-publication-view-cta-inner h2 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: clamp(1.75rem, 3vw, 2.45rem);

    line-height: 1.12;

    letter-spacing: -0.035em;
}

.fchdk-publication-view-cta-inner p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.87rem;
    line-height: 1.75;
}

.fchdk-publication-view-cta-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fchdk-publication-cta-primary,
.fchdk-publication-cta-secondary {
    min-height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 16px;

    border-radius: 10px;

    font-size: 0.75rem;
    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;
}

.fchdk-publication-cta-primary {
    background: #ffffff;
    color: var(--fchdk-pv-green-dark);
}

.fchdk-publication-cta-primary:hover {
    background: #f4faf6;
}

.fchdk-publication-cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);

    color: #ffffff;
}

.fchdk-publication-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fchdkPvOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes fchdkPvPaperFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes fchdkPvBars {
    0%,
    100% {
        opacity: 0.75;
        transform: scaleY(0.92);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.06);
    }
}

@keyframes fchdkPvFloatOne {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(8px, -10px);
    }
}

@keyframes fchdkPvFloatTwo {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-8px, 8px);
    }
}

@keyframes fchdkPvFloatThree {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(7px, -8px);
    }
}

@keyframes fchdkPvResearchPulse {
    0%,
    100% {
        transform: scale(0.85);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}


/* ============================================================
   LARGE TABLET
   ============================================================ */

@media (max-width: 1199px) {

    .fchdk-publication-view-hero-grid {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 35px;
    }

    .fchdk-publication-view-visual {
        min-height: 390px;
    }

    .fchdk-pv-orbit.pv-orbit-one {
        width: 260px;
        height: 260px;
    }

    .fchdk-pv-orbit.pv-orbit-two {
        width: 340px;
        height: 340px;
    }

    .fchdk-pv-orbit.pv-orbit-three {
        width: 420px;
        height: 420px;
    }

    .fchdk-pv-paper {
        width: 205px;
        min-height: 270px;
    }

    .fchdk-publication-view-layout {
        gap: 45px;
    }

}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

    .fchdk-page-publication-view .fchdk-container {
        width: min(100% - 32px, 760px);
    }

    .fchdk-publication-view-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .fchdk-publication-view-hero-content {
        max-width: 850px;
    }

    .fchdk-publication-view-visual {
        min-height: 390px;
    }

    .fchdk-publication-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fchdk-publication-info-item:nth-child(2) {
        border-right: 0;
    }

    .fchdk-publication-info-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--fchdk-pv-border);
    }

    .fchdk-publication-view-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .fchdk-publication-sidebar {
        position: static;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }

    .fchdk-publication-actions,
    .fchdk-publication-research-card {
        grid-column: 1 / -1;
    }

    .fchdk-related-publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fchdk-related-publication-card:last-child {
        grid-column: 1 / -1;
    }

    .fchdk-publication-view-cta-inner {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .fchdk-publication-view-cta-actions {
        grid-column: 2;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .fchdk-page-publication-view .fchdk-container {
        width: min(100% - 28px, 620px);
    }

    .fchdk-publication-view-hero {
        padding-top: 25px;
        padding-bottom: 45px;
    }

    .fchdk-publication-view-breadcrumb {
        margin-bottom: 30px;
    }

    .fchdk-publication-view-hero h1 {
        font-size: clamp(2.15rem, 9.5vw, 3.25rem);
    }

    .fchdk-publication-view-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .fchdk-publication-view-visual {
        min-height: 320px;
    }

    .fchdk-pv-paper {
        width: 175px;
        min-height: 235px;

        padding: 18px;
    }

    .fchdk-pv-paper-chart {
        height: 58px;
        margin: 17px 0;
    }

    .fchdk-pv-orbit.pv-orbit-one {
        width: 220px;
        height: 220px;
    }

    .fchdk-pv-orbit.pv-orbit-two {
        width: 290px;
        height: 290px;
    }

    .fchdk-pv-orbit.pv-orbit-three {
        width: 350px;
        height: 350px;
    }

    .fchdk-pv-floating {
        padding: 8px 10px;
        font-size: 0.65rem;
    }

    .fchdk-pv-floating.pv-floating-research {
        left: 0;
        top: 10%;
    }

    .fchdk-pv-floating.pv-floating-data {
        right: 0;
        top: 25%;
    }

    .fchdk-pv-floating.pv-floating-impact {
        right: 3%;
        bottom: 8%;
    }

    .fchdk-publication-info-grid {
        grid-template-columns: 1fr;
    }

    .fchdk-publication-info-item {
        min-height: 88px;

        border-right: 0 !important;
        border-bottom: 1px solid var(--fchdk-pv-border);
    }

    .fchdk-publication-info-item:last-child {
        border-bottom: 0;
    }

    .fchdk-publication-view-content {
        padding: 62px 0;
    }

    .fchdk-publication-abstract,
    .fchdk-publication-citation {
        margin-top: 45px;
        padding-top: 40px;
    }

    .fchdk-publication-section-heading {
        align-items: flex-start;
    }

    .fchdk-publication-section-heading h2 {
        font-size: 1.7rem;
    }

    .fchdk-publication-abstract-box {
        padding: 24px 20px 24px 60px;
    }

    .fchdk-abstract-mark {
        left: 19px;
        top: 23px;
    }

    .fchdk-publication-share {
        align-items: flex-start;
        flex-direction: column;
    }

    .fchdk-publication-sidebar {
        grid-template-columns: 1fr;
    }

    .fchdk-publication-actions,
    .fchdk-publication-research-card,
    .fchdk-related-publication-card:last-child {
        grid-column: auto;
    }

    .fchdk-related-publications {
        padding: 62px 0;
    }

    .fchdk-related-publications-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .fchdk-related-publications-grid {
        grid-template-columns: 1fr;
    }

    .fchdk-related-publication-card h3,
    .fchdk-related-publication-card p {
        min-height: auto;
    }

    .fchdk-publication-view-cta {
        padding: 60px 0;
    }

    .fchdk-publication-view-cta-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fchdk-publication-view-cta-actions {
        grid-column: auto;

        flex-wrap: wrap;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .fchdk-page-publication-view .fchdk-container {
        width: min(100% - 22px, 430px);
    }

    .fchdk-publication-view-breadcrumb {
        font-size: 0.72rem;
        gap: 6px;
    }

    .fchdk-publication-view-type {
        font-size: 0.61rem;
        padding: 7px 10px;
    }

    .fchdk-publication-view-hero h1 {
        font-size: 2rem;
    }

    .fchdk-publication-view-authors {
        align-items: flex-start;
    }

    .fchdk-publication-view-visual {
        min-height: 285px;
    }

    .fchdk-pv-paper {
        width: 145px;
        min-height: 195px;

        padding: 15px;

        border-radius: 14px;
    }

    .fchdk-pv-paper-header {
        margin-bottom: 14px;
    }

    .fchdk-pv-paper-title {
        height: 8px;
        margin-bottom: 10px;
    }

    .fchdk-pv-paper-author {
        height: 4px;
        margin-bottom: 15px;
    }

    .fchdk-pv-paper-line {
        height: 4px;
        margin-bottom: 6px;
    }

    .fchdk-pv-paper-chart {
        height: 42px;
        margin: 12px 0;
        padding: 7px;
        gap: 5px;
    }

    .fchdk-pv-orbit.pv-orbit-one {
        width: 180px;
        height: 180px;
    }

    .fchdk-pv-orbit.pv-orbit-two {
        width: 235px;
        height: 235px;
    }

    .fchdk-pv-orbit.pv-orbit-three {
        width: 285px;
        height: 285px;
    }

    .fchdk-pv-floating {
        padding: 7px 8px;
        font-size: 0.59rem;
    }

    .fchdk-pv-floating.pv-floating-research {
        left: -2px;
        top: 8%;
    }

    .fchdk-pv-floating.pv-floating-data {
        right: -2px;
        top: 25%;
    }

    .fchdk-pv-floating.pv-floating-impact {
        right: 0;
        bottom: 7%;
    }

    .fchdk-publication-info-item {
        padding: 16px 12px;
    }

    .fchdk-publication-info-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .fchdk-publication-info-item strong {
        font-size: 0.76rem;
    }

    .fchdk-publication-main > h2 {
        font-size: 1.8rem;
    }

    .fchdk-publication-main > .fchdk-publication-lead {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .fchdk-publication-section-heading {
        gap: 14px;
    }

    .fchdk-publication-heading-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .fchdk-publication-abstract-box {
        padding: 22px 17px 22px 53px;
    }

    .fchdk-abstract-mark {
        left: 16px;
        top: 20px;

        width: 27px;
        height: 27px;
    }

    .fchdk-publication-abstract-box p {
        font-size: 0.82rem;
        line-height: 1.8;
    }

    .fchdk-publication-citation-box {
        padding: 19px;
    }

    .fchdk-publication-citation-box p {
        font-size: 0.82rem;
    }

    .fchdk-publication-sidebar-card {
        padding: 21px;
    }

    .fchdk-publication-metadata > div {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 8px;
    }

    .fchdk-publication-metadata dd {
        font-size: 0.67rem;
    }

    .fchdk-related-publication-card {
        padding: 20px;
    }

    .fchdk-publication-view-cta-actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .fchdk-publication-cta-primary,
    .fchdk-publication-cta-secondary {
        width: 100%;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .fchdk-pv-orbit,
    .fchdk-pv-paper,
    .fchdk-pv-paper-chart span,
    .fchdk-pv-floating,
    .fchdk-research-pulse {
        animation: none !important;
    }

    .fchdk-related-publication-card,
    .fchdk-publication-share-btn,
    .fchdk-copy-citation,
    .fchdk-publication-download-btn {
        transition: none !important;
    }

}


/* ============================================================
   PRINT
   ============================================================ */

@media print {

    .fchdk-publication-view-hero {
        padding: 25px 0;
        background: #ffffff;
    }

    .fchdk-publication-view-visual,
    .fchdk-publication-view-info-bar,
    .fchdk-publication-share,
    .fchdk-publication-sidebar,
    .fchdk-related-publications,
    .fchdk-publication-view-cta {
        display: none !important;
    }

    .fchdk-publication-view-layout {
        display: block;
    }

    .fchdk-publication-view-content {
        padding: 30px 0;
    }

    .fchdk-publication-abstract-box,
    .fchdk-publication-citation-box {
        box-shadow: none;
    }

}