/* =========================================================
   Airborne Daily – Related Posts  |  related-posts.css
   ========================================================= */

:root {
    --arp-bg-card:      #ffffff;
    --arp-bg-hover:     #f9fafb;
    --arp-bg-thumb:     #e8ecf4;
    --arp-text-primary: #111827;
    --arp-text-mid:     #4b5563;
    --arp-text-muted:   #9ca3af;
    --arp-yellow:       #f5d800;
    --arp-yellow-dark:  #b8a000;
    --arp-border:       #e5e7eb;
    --arp-shadow:       0 2px 14px rgba(0,0,0,0.09);
    --arp-shadow-hover: 0 6px 24px rgba(0,0,0,0.15);
    --arp-radius:       12px;
    --arp-radius-sm:    8px;
}

/* ─── Wrapper ─────────────────────────────────────────── */
.arp-wrapper {
    margin: 2.5rem 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.arp-main-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--arp-text-muted);
    margin: 0 0 1rem;
    border: none;
    padding: 0;
}

/* ─── Group heading ───────────────────────────────────── */
.arp-group {
    margin-bottom: 1.75rem;
}

.arp-group-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 0.8rem;
}

.arp-group-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 3px 10px;
    border-radius: 5px;
    background: var(--arp-yellow);
    color: #111827;
    white-space: nowrap;
}

.arp-group-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--arp-text-primary);
}

.arp-divider { display: none; }

/* ─── Card stack ──────────────────────────────────────── */
.arp-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ─── Single card — white box, shadow ────────────────── */
.arp-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--arp-bg-card);
    border: 1px solid var(--arp-border);
    border-radius: var(--arp-radius);
    box-shadow: var(--arp-shadow);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.arp-card:hover {
    box-shadow: var(--arp-shadow-hover);
    transform: translateY(-1px);
}

/* Thumbnail — square, rounded */
.arp-card-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--arp-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--arp-bg-thumb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arp-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arp-thumb-placeholder {
    font-size: 26px;
    font-weight: 800;
    color: var(--arp-text-muted);
}

/* Body */
.arp-card-body {
    flex: 1;
    min-width: 0;
    padding: 1px 0;
}

.arp-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--arp-text-primary);
    margin: 0 0 5px;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arp-card:hover .arp-card-title {
    color: var(--arp-yellow-dark);
}

.arp-card-excerpt {
    font-size: 13px;
    color: var(--arp-text-mid);
    margin: 0 0 7px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arp-card-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--arp-text-muted);
}

.arp-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════
   INLINE MID-ARTICLE CARD
   Same style as above — white box, shadow, yellow left bar
   ═══════════════════════════════════════════════════════ */
.arp-inline-wrap {
    margin: 1.75rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.arp-inline-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--arp-text-muted);
    display: block;
    margin-bottom: 7px;
}

.arp-inline-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--arp-bg-card);
    border: 1px solid var(--arp-border);
    border-left: 4px solid var(--arp-yellow);
    border-radius: var(--arp-radius);
    box-shadow: var(--arp-shadow);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.arp-inline-card:hover {
    box-shadow: var(--arp-shadow-hover);
    transform: translateY(-1px);
}

.arp-inline-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--arp-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--arp-bg-thumb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arp-inline-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arp-inline-thumb-placeholder {
    font-size: 22px;
    font-weight: 800;
    color: var(--arp-text-muted);
}

.arp-inline-body {
    flex: 1;
    min-width: 0;
}

.arp-inline-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--arp-yellow-dark);
    display: block;
    margin-bottom: 4px;
}

.arp-inline-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--arp-text-primary);
    line-height: 1.38;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arp-inline-card:hover .arp-inline-title {
    color: var(--arp-yellow-dark);
}

.arp-inline-arrow {
    font-size: 18px;
    color: var(--arp-text-muted);
    flex-shrink: 0;
    margin-left: 2px;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 480px) {
    .arp-card { padding: 11px 12px; gap: 11px; }
    .arp-card-thumb { width: 64px; height: 64px; }
    .arp-card-title { font-size: 14px; }
    .arp-card-excerpt { display: none; }
    .arp-inline-card { padding: 11px 12px; gap: 11px; }
    .arp-inline-thumb { width: 58px; height: 58px; }
    .arp-inline-title { font-size: 14px; }
}
