        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            /* Greek-optimized sans-serif stack */
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
            line-height: 1.6;
            background-color: #F7F7F5;
            color: #2D3748;
        }

        .navbar {
            background: #3D4852;
            color: #E2E8F0;
            padding: 20px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            position: relative;
            z-index: 100;
        }

        .navbar-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        .nav-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .home-link {
            color: #E2E8F0;
            text-decoration: none;
            font-weight: 300;
            font-size: 3.75em;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
            line-height: 1;
        }

        .logo-phi {
            font-family: 'Source Sans Pro', sans-serif;
            font-size: 1em;
            font-weight: 400;
            display: inline-block;
        }

        .home-link:hover {
            opacity: 0.8;
        }

        .navbar-subtitle {
            color: #E2E8F0;
            font-size: 0.9em;
            margin-top: 0px;
            font-weight: 400;
            letter-spacing: 0.5px;
            text-align: center;
            line-height: 1.4;
        }

        /* Utility classes for responsive visibility */
        .desktop-only {
            display: block;
        }

        .mobile-only {
            display: none;
        }

        /* Hamburger menu button (hidden on desktop) */
        .hamburger-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 44px;
            height: 44px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 10px;
            z-index: 350;
            position: absolute;
            left: 20px;
            top: 50%;
        }

        .hamburger-line {
            width: 24px;
            height: 3px;
            background-color: #E2E8F0;
            border-radius: 2px;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .hamburger-menu-toggle:hover .hamburger-line {
            background-color: white;
        }

        /* Hamburger active state (X shape) */
        .hamburger-menu-toggle.active .hamburger-line:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-menu-toggle.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu-toggle.active .hamburger-line:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* Mobile menu overlay */
        .hamburger-menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 250;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .hamburger-menu-overlay.visible {
            display: block;
            opacity: 1;
        }

        /* Mobile menu panel */
        .hamburger-menu-panel {
            position: fixed;
            top: 0;
            left: 0;
            width: 280px;
            height: 100vh;
            background: #3D4852;
            box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
            z-index: 300;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            overflow-y: auto;
            padding: 20px;
        }

        .hamburger-menu-panel.open {
            transform: translateX(0);
        }

        /* Menu sections */
        .menu-section {
            margin-bottom: 30px;
        }

        .menu-section:last-child {
            margin-bottom: 0;
        }

        .menu-section-title {
            color: #E2E8F0;
            font-size: 0.75em;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .menu-link {
            display: block;
            color: #E2E8F0;
            text-decoration: none;
            padding: 12px 0;
            font-size: 1em;
            transition: color 0.3s;
        }

        .menu-link:hover {
            color: white;
        }

        .menu-download-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .menu-download-buttons .download-btn {
            width: 100%;
            justify-content: flex-start;
        }

        .downloads {
            position: absolute;
            right: 20px;
            top: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            align-items: flex-end;
            max-width: 500px;
        }

        .nav-tabs {
            display: flex;
            gap: 0;
            align-items: center;
            margin-top: 8px;
        }

        .nav-tab {
            color: #CBD5E0;
            text-decoration: none;
            font-size: 1em;
            font-weight: 400;
            padding: 8px 18px;
            border-bottom: 2px solid transparent;
            transition: color 0.2s, border-color 0.2s;
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }

        .nav-tab:hover {
            color: white;
            border-bottom-color: #9A8555;
        }

        /* Legacy — kept for print stylesheet reference */
        .nav-links {
            display: none;
        }

        .download-label {
            display: none;
        }

        .download-buttons {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 8px;
            align-items: center;
            justify-content: center;
        }

        .download-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 10px 14px;
            background: #4A5568;
            color: #E2E8F0;
            text-decoration: none;
            border-radius: 6px;
            font-size: 0.85em;
            font-weight: 500;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.15);
            position: relative;
            text-align: center;
            flex-shrink: 0;
            box-sizing: border-box;
            white-space: nowrap;
        }

        .download-btn span:last-child {
            white-space: nowrap;
        }

        .download-btn:hover {
            background: #5A6A78;
            border-color: rgba(255, 255, 255, 0.4);
            transform: translateY(-1px);
        }

        .download-btn.coming-soon {
            cursor: not-allowed;
            opacity: 0.7;
        }

        .download-btn.coming-soon:hover::after {
            content: "Coming Soon";
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            background: #4A5568;
            color: #E2E8F0;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75em;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .download-icon {
            font-size: 1.1em;
        }

        .pdf-download-link {
            transition: border-bottom 0.2s ease, color 0.2s ease;
            border-bottom: 1px solid transparent;
        }

        .pdf-download-link:hover {
            color: #9A8555 !important;
            border-bottom: 1px solid currentColor;
        }

        .mobile-download-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 10px 14px;
            background: #4A5568;
            color: #E2E8F0;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 6px;
            font-size: 0.85em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            box-sizing: border-box;
        }

        .mobile-download-toggle:hover {
            background: #5A6A78;
            border-color: rgba(255, 255, 255, 0.4);
        }

        .mobile-download-toggle.active {
            background: #5A6A78;
        }

        .mobile-download-text {
            display: inline;
        }

        .desktop-download-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 10px 14px;
            background: #4A5568;
            color: #E2E8F0;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 6px;
            font-size: 0.85em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .desktop-download-toggle:hover {
            background: #5A6A78;
            border-color: rgba(255, 255, 255, 0.4);
            transform: translateY(-1px);
        }

        .desktop-download-toggle.active {
            background: #5A6A78;
        }

        .downloads-content {
            display: none;
            position: fixed;
            left: 50%;
            transform: translateX(-50%);
            width: 1200px;
            background: #3D4852;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            padding: 12px;
            z-index: 200;
            white-space: nowrap;
            box-sizing: border-box;
        }

        .downloads-content.show {
            display: block;
        }

        .breadcrumbs {
            max-width: 1200px;
            margin: 0 auto 8px auto;
            padding: 12px 20px 4px 20px;
            text-align: center;
            font-size: 0.9em;
            color: #2D3748;
        }

        .breadcrumbs a {
            color: #2D3748;
            text-decoration: none;
            transition: color 0.2s ease, opacity 0.2s ease;
        }

        .breadcrumbs a:hover {
            color: #9A8555;
            opacity: 1;
            text-decoration: underline;
        }

        .breadcrumb-separator {
            margin: 0 8px;
            color: #718096;
            opacity: 0.7;
        }

        .breadcrumb-current {
            color: #2D3748;
            font-weight: 500;
        }

        .container {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
        }

        .content-wrapper {
            background-color: #FFFFFF;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            min-width: 800px;
        }

        .work-header {
            margin-bottom: 16px;
            margin-top: -15px;
            position: relative;
        }

        .eul-wid-top-left {
            position: absolute;
            top: 0;
            left: 0;
            font-size: 0.75em;
            color: #718096;
            font-family: 'Courier New', monospace;
            font-weight: 400;
        }

        .eul-wid-top-left .eul-wid-value {
            color: #4A5568;
            font-weight: 400;
        }

        /* Zenodo concept-DOI badge — sits just below the eul_wid badge in the
           identity area. Restrained: small, top-left, clear of the centred
           title. The .work-header is position:relative so this anchors to it. */
        .doi-badge.doi-badge-identity {
            position: absolute;
            top: 18px;
            left: 0;
            line-height: 0;
        }

        .doi-badge.doi-badge-identity img {
            height: 20px;
            width: auto;
        }

        .author-name {
            color: #718096;
            font-size: 1.1em;
            font-weight: 400;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }
        
        .author-name a {
            text-decoration: none;
            color: inherit;
            transition: opacity 0.2s;
        }
        
        .author-name a:hover {
            opacity: 0.7;
        }

        h1 {
            color: #2D3748;
            border-bottom: 3px solid #9A8555;
            padding-bottom: 15px;
            margin-top: 5px;
            font-size: 2em;
            font-weight: 400;
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }

        .work-metadata {
            text-align: center;
            margin-top: 16px;
            margin-bottom: 16px;
            font-size: 0.9em;
            color: #718096;
            line-height: 1.4;
        }

        .work-metadata .metadata-line {
            margin: 0;
        }

        .work-metadata .metadata-label {
            font-weight: 600;
            color: #4A5568;
            margin-right: 4px;
        }

        .work-metadata .metadata-greek {
            font-weight: 400;
            color: #2D3748;
        }

        .work-metadata .metadata-english {
            color: #718096;
            font-style: italic;
        }

        .work-metadata .metadata-link {
            color: #9A8555;
            text-decoration: none;
            font-weight: 500;
        }

        .work-metadata .metadata-link:hover {
            color: #7A6A45;
            text-decoration: underline;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        /* Remove table header ("Ref", "Text") entirely */
        thead {
            display: none !important;
        }

        th, td {
            border: none;
            padding: 3px 12px;
            text-align: left;
        }

        th {
            background-color: #4A5568;
            color: #E2E8F0;
            font-weight: 600;
            font-size: 0.95em;
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }

        td:first-child {
            font-weight: 400;
            font-size: 0.85em;
            width: 60px;
            text-align: center;
            color: #2D3748;
            font-family: 'Courier New', monospace;
            vertical-align: top;
            opacity: 0;
            transition: opacity 0.2s ease-in-out;
        }

        /* Show ref on row hover (desktop) */
        tr:hover td:first-child {
            opacity: 1;
        }

        .speaker-label {
            font-weight: 600;
            color: #4A5568;
            margin-right: 0.5em;
        }

        /* Print-edition page/line marginalia (e.g. "[15]"): a small, muted
           citation marker set after the passage text. */
        .marginalia {
            font-size: 0.7em;
            color: #A0AEC0;
            font-family: 'Courier New', monospace;
            vertical-align: super;
            margin-left: 0.4em;
            user-select: none;
        }

        td:last-child {
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
            font-size: 1.2em;
            line-height: 1.7;
            font-weight: 400;
        }

        /* Subtle separation between consecutive passages so distinct scholia /
           sub-entries do not run together as one wall of text. Body rows only —
           title and speaker rows belong to the text and stay borderless. */
        tbody tr td {
            border-bottom: 1px solid #EDF2F7;
        }

        tbody tr.title-row td,
        tbody tr.testimonium-row td {
            border-bottom: none;
        }

        .title-row {
            background-color: transparent;
        }

        .title-row td:first-child {
            display: none;
        }

        .title-row td:last-child {
            text-align: center;
            font-weight: 600;
            font-style: italic;
            padding: 12px;
        }

        .also-published {
            margin-top: 0;
            margin-bottom: 24px;
            text-align: center;
            font-size: 0.85em;
            color: #888;
            font-style: italic;
        }

        .also-published p {
            margin: 0 0 6px 0;
        }

        .also-published p:last-child {
            margin-bottom: 0;
        }

        .also-published a {
            color: #9A8555;
            text-decoration: none;
        }

        .also-published a:hover {
            text-decoration: underline;
        }

        .footer {
            background: #3D4852;
            color: #E2E8F0;
            text-align: center;
            padding: 30px 20px;
            margin-top: 40px;
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }

        .footer a {
            color: #E2E8F0;
            text-decoration: underline;
        }

        /* Tablet styles */
        @media (max-width: 1024px) {
            .navbar-content {
                padding: 0 15px;
            }

            .home-link {
                font-size: 3em;
                gap: 6px;
            }

            .content-wrapper {
                padding: 30px;
            }
        }

        /* Mobile styles */
        @media (max-width: 768px) {
            .navbar {
                padding: 15px 0;
            }

            .navbar-content {
                padding: 0 15px;
            }

            /* Show hamburger button on mobile */
            .hamburger-menu-toggle {
                display: flex;
            }

            /* Hide desktop navigation and downloads on mobile */
            .desktop-only {
                display: none !important;
            }

            /* Show mobile menu content */
            .mobile-only {
                display: block;
            }

            .nav-center {
                width: 100%;
            }

            .home-link {
                font-size: 2.5em;
                gap: 6px;
            }

            .navbar-subtitle {
                font-size: 0.8em;
                padding-left: 0;
            }

            .menu-download-buttons {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .menu-download-buttons .download-btn {
                font-size: 0.85em;
                padding: 10px 12px;
                min-height: 44px;
                width: 100%;
                justify-content: flex-start;
            }

            .menu-download-buttons .download-btn span:last-child {
                white-space: nowrap;
            }

            .container {
                margin: 15px auto;
                padding: 0 10px;
            }

            .breadcrumbs {
                padding: 10px 15px;
                font-size: 0.85em;
            }

            .breadcrumb-separator {
                margin: 0 6px;
            }

            .content-wrapper {
                padding: 20px;
                border-radius: 6px;
                min-width: 0;
            }

            .work-header {
                margin-bottom: 25px;
                margin-top: -15px;
                position: relative;
            }

            .eul-wid-top-left {
                position: static;
                font-size: 0.7em;
                margin-bottom: 6px;
            }

            .doi-badge.doi-badge-identity {
                position: static;
                display: block;
                margin-bottom: 10px;
                line-height: normal;
            }

            .author-name {
                font-size: 1.15em;
                margin-bottom: 10px;
            }

            h1 {
                font-size: 1.75em;
                padding-bottom: 12px;
                line-height: 1.3;
            }

            .work-metadata {
                font-size: 0.9em;
                margin-top: 14px;
                margin-bottom: 14px;
            }

            table {
                font-size: 1em;
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                margin-top: 15px;
            }

            table thead,
            table tbody,
            table tr {
                display: table;
                width: 100%;
                table-layout: fixed;
            }

            /* Keep header hidden on mobile too (override display: table) */
            table thead {
                display: none !important;
            }

            th, td {
                padding: 6px 8px;
                word-wrap: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
            }

            th {
                font-size: 1em;
                padding: 8px;
            }

            th:first-child {
                width: 45px;
                min-width: 45px;
            }

            td:first-child {
                width: 45px;
                min-width: 45px;
                font-size: 0.8em;
                padding: 6px 4px;
                opacity: 1 !important;
            }

            td:last-child {
                font-size: 1.3em;
                line-height: 1.8;
            }

            .title-row td:last-child {
                font-size: 1.4em;
                line-height: 1.6;
            }

            .footer {
                padding: 20px 15px;
                font-size: 0.85em;
            }

            .footer div {
                display: flex;
                flex-direction: column;
                gap: 10px;
                margin-bottom: 15px;
            }

            .footer a {
                margin: 0;
            }
        }

        /* Small mobile styles */
        @media (max-width: 480px) {
            .navbar {
                padding: 12px 0;
            }

            .navbar-content {
                padding: 0 10px;
                gap: 12px;
            }

            .home-link {
                font-size: 2em;
                gap: 8px;
            }

            .navbar-subtitle {
                font-size: 0.75em;
                padding-left: 0;
            }

            .hamburger-menu-toggle {
                width: 40px;
                height: 40px;
                padding: 8px;
            }

            .menu-download-buttons .download-btn {
                font-size: 0.8em;
                padding: 10px 12px;
            }

            .container {
                margin: 10px auto;
                padding: 0 5px;
            }

            .content-wrapper {
                padding: 16px;
                min-width: 0;
            }

            .eul-wid-top-left {
                font-size: 0.65em;
            }

            .author-name {
                font-size: 1.1em;
            }

            h1 {
                font-size: 1.5em;
                line-height: 1.3;
            }

            .work-metadata {
                font-size: 0.85em;
                margin-top: 12px;
                margin-bottom: 12px;
            }

            table {
                font-size: 0.95em;
            }

            th:first-child {
                width: 40px;
                min-width: 40px;
            }

            td:first-child {
                width: 40px;
                min-width: 40px;
                font-size: 0.75em;
                padding: 5px 3px;
                opacity: 1 !important;
            }

            td:last-child {
                font-size: 1.25em;
                line-height: 1.8;
            }

            .title-row td:last-child {
                font-size: 1.35em;
                line-height: 1.6;
            }

            .footer {
                padding: 15px 10px;
                font-size: 0.8em;
            }
        }

        /* ==========================================
           PRINT STYLES (PDF export)
           ========================================== */
        @media print {
            /* Hide UI elements */
            nav, .navbar, .navbar-content, .hamburger-menu-toggle, .hamburger-menu-overlay, 
            .hamburger-menu-panel, .download-btn, .downloads, .download-buttons, 
            .mobile-download-toggle, .desktop-download-toggle, .downloads-content,
            .nav-links, .nav-tabs, footer, .footer, .export-notice, .breadcrumbs, .also-published {
                display: none !important;
            }

            /* Reset body for PDF */
            body {
                max-width: 100%;
                margin: 0;
                padding: 0;
                font-size: 11pt;
                line-height: 1.6;
                color: #000;
                background: #fff;
            }

            /* Container adjustments */
            .container {
                max-width: 100%;
                margin: 0;
                padding: 0;
            }

            .content-wrapper {
                max-width: 100%;
                padding: 0.5in;
                box-shadow: none;
                border-radius: 0;
                background: #fff;
            }

            /* Work header styling for print */
            .work-header {
                margin-bottom: 0.3in;
                page-break-after: avoid;
            }

            .eul-wid-top-left {
                position: static;
                font-size: 9pt;
                color: #666;
                margin-bottom: 0.1in;
            }

            /* In print the eul_wid badge flows statically; the DOI badge
               follows it in normal flow rather than overlapping the title. */
            .doi-badge.doi-badge-identity {
                position: static;
                display: block;
                margin-bottom: 0.1in;
            }

            .author-name {
                font-size: 11pt;
                color: #333;
                margin-bottom: 0.1in;
            }

            h1 {
                font-size: 16pt;
                color: #000;
                border-bottom: 2px solid #000;
                padding-bottom: 0.1in;
                margin-top: 0;
                page-break-after: avoid;
            }

            .work-metadata {
                font-size: 9pt;
                color: #666;
                margin-top: 0.1in;
                margin-bottom: 0.2in;
                text-align: left;
            }

            /* Table styling for print */
            table {
                width: 100%;
                margin-top: 0.2in;
                font-size: 11pt;
            }

            thead {
                display: none !important;
            }

            tr {
                page-break-inside: avoid;
            }

            td:first-child {
                width: 0.5in;
                font-size: 9pt;
                opacity: 1 !important;
                color: #666;
                padding: 3px 8px;
            }

            td:last-child {
                font-size: 11pt;
                line-height: 1.6;
                padding: 3px 12px;
                color: #000;
            }

            .title-row td:last-child {
                font-weight: 600;
                font-style: italic;
                text-align: center;
                padding: 8px;
            }

            /* Page setup */
            @page {
                size: letter;
                margin: 0.75in 0.5in;
            }

            /* Prevent orphans and widows */
            p, td {
                orphans: 3;
                widows: 3;
            }

            h1, h2, h3, h4, h5, h6 {
                page-break-after: avoid;
            }
        }

        /* Research sections */
        .research-section {
            margin-top: 30px;
            margin-bottom: 30px;
            padding: 20px;
            background: #FFFFFF;
            border: 1px solid #E2E8F0;
            border-radius: 8px;
        }
        
        .research-heading {
            color: #2D3748;
            font-size: 1.5em;
            font-weight: 600;
            margin-bottom: 15px;
            font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        }
        
        .research-text {
            color: #2D3748;
            font-size: 1.125em;
            line-height: 1.6;
            margin-bottom: 15px;
            text-align: left;
        }
        
        .research-list {
            list-style-type: disc;
            margin-left: 20px;
            color: #2D3748;
            line-height: 1.6;
        }
        
        .research-item {
            margin-bottom: 8px;
        }
        
        .research-sources {
            margin-top: 40px;
            padding: 20px;
            background: #FAFAF8;
            border-radius: 8px;
            border-top: 2px solid #E2E8F0;
        }
        
        .research-sources-list {
            list-style-type: none;
            margin-left: 0;
            padding-left: 0;
        }
        
        .research-source-item {
            margin-bottom: 12px;
            line-height: 1.6;
        }
        
        .research-source-item a {
            color: #9A8555;
            text-decoration: none;
            font-weight: 500;
        }
        
        .research-source-item a:hover {
            color: #7A6A45;
            text-decoration: underline;
        }
        
        .source-publisher {
            color: #718096;
            font-style: italic;
            font-size: 0.9em;
        }
        
        .source-accessed {
            color: #718096;
            font-size: 0.85em;
        }

        /* Witness header styling for cleaned compendia */
        .testimonium-row td {
            padding-top: 24px;
            vertical-align: top;
        }
        
        .testimonium-row td:first-child {
            /* Align ref number with the testimonium header text baseline */
            padding-top: 26px;
        }
        
        .testimonium-header {
            font-size: 1.1em;
            font-weight: 600;
            color: #2D3748;
            font-style: italic;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid #CBD5E0;
        }
        
        .greek-text {
            /* Inherit normal text size from table */
        }
        
        /* Latin-only rows - hide completely */
        .latin-only-row {
            display: none;
        }
        
        @media (max-width: 768px) {
            .testimonium-row td {
                padding-top: 20px;
            }
            .testimonium-header {
                font-size: 1.05em;
            }
        }
    
        .related-works-section {
            max-width: 900px;
            margin: 40px auto 20px auto;
            padding: 0 20px;
        }

        .related-heading {
            font-size: 1.3em;
            font-weight: 400;
            color: #2D3748;
            margin-bottom: 16px;
            padding-bottom: 8px;
            border-bottom: 2px solid #9A8555;
            font-family: 'Source Sans Pro', sans-serif;
        }

        .related-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: flex-start;
        }

        .related-card {
            display: block;
            background: #FFFFFF;
            padding: 12px 16px;
            border-radius: 6px;
            border: 1px solid #E2E8F0;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
            transition: all 0.3s;
            flex: 0 1 280px;
            max-width: 320px;
        }

        .related-card:hover {
            background: #F0F0EC;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .related-title-greek {
            font-size: 1em;
            color: #2D3748;
            margin-bottom: 2px;
            font-family: 'Source Sans Pro', sans-serif;
        }

        .related-title-english {
            font-size: 0.9em;
            color: #718096;
            font-style: italic;
        }

        .related-author {
            font-size: 0.8em;
            color: #A0AEC0;
            margin-top: 4px;
        }

        @media (max-width: 768px) {
            .related-card {
                flex: 0 1 100%;
                max-width: 100%;
            }
        }
    
