---
type: "Source File"
title: "<style>"
description: "{% extends \"base.html\" %} {% block title %}{{ article.title }} — EU CopeCheck{% endblock %} {% block meta_description %}Oracle cope score {{ article.cope_score|int }} for \"{{ article.title }}\". {{ article.cope_type }}."
resource: "https://eu.copecheck.com"
tags: ["copecheck", "eu", "source-file", "html"]
timestamp: "2026-05-15T10:00:03Z"
site: "eu"
source_path: "copecheck-eu/templates/article_detail.html"
---

# <style>

Source path: `copecheck-eu/templates/article_detail.html`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-05-15T10:00:03Z`

```html
{% extends "base.html" %}
{% block title %}{{ article.title }} — EU CopeCheck{% endblock %}
{% block meta_description %}Oracle cope score {{ article.cope_score|int }} for "{{ article.title }}". {{ article.cope_type }} — EU CopeCheck analysis.{% endblock %}
{% block canonical %}https://eu.copecheck.com/article/{{ slug }}{% endblock %}
{% block og_title %}{{ article.title }}{% endblock %}
{% block og_desc %}Cope score {{ article.cope_score|int }}/100 — {{ article.cope_type }}. {{ article.snippet[:120] if article.snippet else '' }}{% endblock %}
{% block og_url %}https://eu.copecheck.com/article/{{ slug }}{% endblock %}

{% block head %}
<style>
.article-detail-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: 'DM Mono', monospace;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.article-back:hover { color: var(--fg); }

.article-hero {
  margin-bottom: 2rem;
}

.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin: 0 0 1rem 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.article-meta-source {
  color: var(--fg);
  font-weight: 500;
}

.article-meta-sep { opacity: 0.3; }

/* Score band */
.score-band {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}

.score-band.cope-lucid   { border-left: 5px solid var(--teal); }
.score-band.cope-partial { border-left: 5px solid #5dade2; }
.score-band.cope-moderate{ border-left: 5px solid var(--amber); }
.score-band.cope-heavy   { border-left: 5px solid var(--orange); }
.score-band.cope-terminal{ border-left: 5px solid #e74c3c; }

.score-big {
  font-family: 'DM Mono', monospace;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.cope-lucid    .score-big { color: var(--teal); }
.cope-partial  .score-big { color: #5dade2; }
.cope-moderate .score-big { color: var(--amber); }
.cope-heavy    .score-big { color: var(--orange); }
.cope-terminal .score-big { color: #e74c3c; }

.score-right {
  flex: 1;
  min-width: 0;
}

.score-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.score-verdict-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.cope-lucid    .score-verdict-label { color: var(--teal); }
.cope-partial  .score-verdict-label { color: #5dade2; }
.cope-moderate .score-verdict-label { color: var(--amber); }
.cope-heavy    .score-verdict-label { color: var(--orange); }
.cope-terminal .score-verdict-label { color: #e74c3c; }

.score-bar-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}
.cope-lucid    .score-bar-fill { background: var(--teal); }
.cope-partial  .score-bar-fill { background: #5dade2; }
.cope-moderate .score-bar-fill { background: var(--amber); }
.cope-heavy    .score-bar-fill { background: var(--orange); }
.cope-terminal .score-bar-fill { background: #e74c3c; }

.cope-type-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  margin-top: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

/* Verdict panel */
.verdict-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}

.verdict-panel h3 {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 1rem 0;
}

.verdict-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg);
  white-space: pre-wrap;
}

/* Snippet */
.snippet-panel {
  background: rgba(255,255,255,0.02);
  border-left: 3px solid rgba(255,255,255,0.15);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
}
.snippet-panel p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Source link */
.source-link-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 2rem;
}
.source-link-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.source-link-url {
  font-size: 0.85rem;
  color: var(--muted);
  word-break: break-all;
}
.read-original-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.3);
  border-radius: 6px;
  color: #e87a83;
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.read-original-btn:hover {
  background: rgba(230,57,70,0.2);
  color: #e74c3c;
}

.article-model-note {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  margin-top: 3rem;
}
</style>
{% endblock %}

{% block content %}
<div class="article-detail-wrap">
  <a href="/feed" class="article-back">← Back to Feed</a>

  <div class="article-hero">
    <h1 class="article-title">{{ article.title }}</h1>
    <div class="article-meta">
      <span class="article-meta-source">{{ article.source or 'Unknown source' }}</span>
      {% if article.scored_at or article.created_at %}
      <span class="article-meta-sep">·</span>
      <span>{{ (article.scored_at or article.created_at) | fmtdate }}</span>
      {% endif %}
    </div>
  </div>

  <!-- Score Band -->
  <div class="score-band {{ article.cope_score | copecolor }}">
    <div class="score-big">{{ "%.0f"|format(article.cope_score or 0) }}</div>
    <div class="score-right">
      <div class="score-label">Oracle Cope Score</div>
      <div class="score-verdict-label">{{ article.cope_score | copelabel }}</div>
      <div class="score-bar-track">
        <div class="score-bar-fill" style="width: {{ article.cope_score | int }}%"></div>
      </div>
      {% if article.cope_type %}
      <span class="cope-type-pill">{{ article.cope_type }}</span>
      {% endif %}
    </div>
  </div>

  <!-- Oracle Verdict -->
  {% if article.analysis %}
  <div class="verdict-panel">
    <h3>Oracle Verdict</h3>
    <div class="verdict-text">{{ article.analysis }}</div>
  </div>
  {% endif %}

  <!-- Snippet / Summary -->
  {% if article.snippet %}
  <div class="snippet-panel">
    <p>{{ article.snippet }}</p>
  </div>
  {% endif %}

  <!-- Read Original -->
  {% if article.url %}
  <div class="source-link-block">
    <div>
      <div class="source-link-label">Original Source</div>
      <div class="source-link-url">{{ article.url }}</div>
    </div>
    <a href="{{ article.url }}" target="_blank" rel="noopener noreferrer" class="read-original-btn">
      Read the original →
    </a>
  </div>
  {% endif %}

  {% if article.ai_model %}
  <div class="article-model-note">Analysis by {{ article.ai_model }}</div>
  {% endif %}
</div>
{% endblock %}
```
