/* ── Shared page banner ─────────────────────────────────────────────────
   The brown gradient header used across the tool pages. Twenty-one templates
   carried their own identical copy of this; it lives here now so the pages
   that use includes/page_header.html need no CSS of their own. The existing
   inline copies still work and simply override with the same values. */

.coe-header {
    text-align: center;
    background: var(--coe-gradient);
    padding: 28px 25px;
    margin-bottom: 32px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    overflow: hidden;
}

.coe-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .1;
    z-index: 0;
    border-radius: 10px;
}

.coe-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c55b11, #ffe3c1, #c55b11);
    border-radius: 10px 10px 0 0;
}

.coe-header-title {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.coe-header-title::before,
.coe-header-title::after {
    content: "";
    height: 3px;
    flex-grow: .08;
    display: block;
    background: linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .8), rgba(255, 255, 255, .2));
}

.coe-header-tagline {
    /* Declared once here so every banner reads the same; see base.html for the
       justification rule that also applies site-wide. */
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.05rem;
    color: var(--coe-light);
    margin: 0 auto;
    max-width: 80%;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}
