/* Explain: Styling for Matthew study pages, including special callout sections for names. */
/* Rich reading layout for the "Between the Lines" study pages (EN / NL / DE) */

.mt-ref {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.mt-subheading {
    margin: 2.75rem 0 1rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mt-subheading .mt-ref {
    font-size: 0.95rem;
    text-transform: none;
}

.mt-scripture {
    margin: 2rem 0;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mt-scripture-text {
    margin: 0;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
}

.mt-scripture-ref {
    display: block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.mt-name-grid {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.mt-name-card {
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 0.25rem;
    background: rgba(197, 160, 89, 0.05);
    padding: 1.4rem 1.5rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.mt-name-card:hover {
    border-color: rgba(197, 160, 89, 0.55);
    background: rgba(197, 160, 89, 0.09);
}

.mt-name-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 0.6rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mt-name-title .mt-ref {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: none;
}

.mt-name-card p {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.75;
}

.mt-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.mt-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.75;
}

.mt-list li::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.65rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--primary-color);
}

.mt-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.mt-callout {
    margin: 2rem 0;
    padding: 1.75rem;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 0.25rem;
    background: rgba(197, 160, 89, 0.06);
    text-align: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
}

/* Highlighted "discovery" callout — draws the eye to a special insight (EN / NL / DE) */
.mt-insight {
    position: relative;
    margin: 2.5rem 0;
    padding: 1.6rem 1.7rem 1.7rem 4.6rem;
    border: 1px solid rgba(197, 160, 89, 0.42);
    border-left: 3px solid var(--primary-color);
    border-radius: 0.25rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.14) 0%, rgba(197, 160, 89, 0.035) 100%);
    box-shadow: 0 0 28px -12px rgba(197, 160, 89, 0.5);
}

.mt-insight-icon {
    position: absolute;
    left: 1.55rem;
    top: 1.7rem;
    color: var(--primary-color);
    font-size: 1.45rem;
    line-height: 1;
    text-shadow: 0 0 12px rgba(197, 160, 89, 0.55);
}

.mt-insight-label {
    display: block;
    margin: 0 0 0.6rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    opacity: 0.92;
}

.mt-insight p {
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.mt-insight p + p {
    margin-top: 0.7rem;
}

.mt-insight strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Framed note that sets an important insight apart (EN / NL / DE) */
.mt-framed-note {
    margin: 2rem 0;
    padding: 1.6rem 1.8rem;
    border: 1px solid var(--primary-color);
    border-radius: 0.25rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.16) 0%, rgba(197, 160, 89, 0.04) 100%);
    box-shadow: 0 0 30px -12px rgba(197, 160, 89, 0.6);
}

.mt-framed-note p {
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Centred showcase for the gematria discovery (David = 14) (EN / NL / DE) */
.mt-gematria {
    margin: 2.5rem 0;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.42);
    border-radius: 0.3rem;
    background:
        radial-gradient(ellipse 80% 130% at 50% 0%, rgba(197, 160, 89, 0.16) 0%, rgba(197, 160, 89, 0) 72%),
        rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 34px -14px rgba(197, 160, 89, 0.6);
    text-align: center;
}

.mt-gematria-label {
    display: block;
    margin: 0 0 1.15rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.mt-gematria-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem 1.6rem;
    margin: 0 0 1.2rem;
}

.mt-gematria-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(197, 160, 89, 0.55);
    border-radius: 0.2rem;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1;
}

.mt-gematria-eq {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.mt-gematria-number {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1;
    text-shadow: 0 0 18px rgba(197, 160, 89, 0.55);
}

.mt-gematria-note {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.75;
}

/* The three omitted kings — each name set apart so scattered readers notice it (EN / NL / DE) */
.mt-king-name {
    display: inline-block;
    margin: 0 0.05rem;
    padding: 0.05rem 0.5rem 0.1rem;
    border: 1px solid rgba(197, 160, 89, 0.55);
    border-radius: 0.2rem;
    background: rgba(197, 160, 89, 0.12);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.92em;
    letter-spacing: 0.06em;
    line-height: 1.5;
    white-space: nowrap;
    box-shadow: 0 0 12px -6px rgba(197, 160, 89, 0.7);
}

/* Golden dot that draws attention to the two key promises (EN / NL / DE) */
.mt-promise {
    position: relative;
    padding-left: 1.6rem;
}

.mt-promise::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.62em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.75);
}

@media (max-width: 640px) {
    .mt-insight {
        padding: 1.5rem 1.25rem 1.5rem 3.9rem;
    }

    .mt-insight-icon {
        left: 1.15rem;
        font-size: 1.25rem;
    }
}