/**
 * Alanews Related Articles — frontend
 * Theme-agnostic via CSS custom properties.
 */
.ar-related {
    margin: 2rem 0 0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid var(--ar-divider, #e5e7eb);
    border-bottom: 1px solid var(--ar-divider, #e5e7eb);
    font-family: inherit;
}

.ar-related .ar-related__heading,
.ar-related h2.ar-related__heading,
h2.ar-related__heading {
    font-size: 0.95rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111827;
    margin: 0 0 1rem;
    display: flex;
    align-items: stretch;
    gap: 0.5em;
    line-height: 1;
}

.ar-related .ar-related__heading *,
.ar-related h2.ar-related__heading * {
    font-weight: 400 !important;
}

.ar-related__heading::before {
    content: "";
    display: block;
    width: 0.25em;
    height: 1.3em;
    align-self: center;
    background: var(--ar-bullet, #15803d);
    flex: 0 0 auto;
}

.ar-related__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ar-related__item {
    position: relative;
    padding: 0.385rem 0 0.385rem 1rem;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ar-related__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(0.385rem + 0.675em);
    transform: translateY(-50%);
    width: 0.55em;
    height: 0.6em;
    border-radius: 0;
    background: var(--ar-bullet, #15803d);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.ar-related__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 4px;
}
.ar-related__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ar-related__body {
    flex: 1 1 auto;
    min-width: 0;
}

.ar-related__kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ar-bullet, #15803d);
    margin-bottom: 0.15rem;
}

.ar-related__link {
    display: inline;
    color: inherit;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    transition: color .15s ease;
}
.ar-related__link:hover,
.ar-related__link:focus {
    color: var(--ar-link-hover, #1e3a8a);
    text-decoration: underline;
}

.ar-related__date {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.2rem;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}