/* Training of Arch Travel CRM — public manuals library */
.train-wrap { padding-top: 12px; }
.train-featured {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr);
    gap: 28px;
    align-items: center;
    padding: 32px 36px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 42%),
        linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark, #06344c) 58%, var(--brand) 100%);
    box-shadow: var(--shadow-lg, 0 18px 40px rgba(15, 23, 42, .18));
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.train-featured::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    inset-inline-end: -60px;
    bottom: -70px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 22%, transparent);
    pointer-events: none;
}
.train-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.train-featured h2 {
    font-family: var(--display, Outfit, sans-serif);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
}
.train-featured .lead { color: rgba(255,255,255,.86); margin: 0 0 18px; max-width: 42rem; }
.train-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.train-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 13px;
    font-weight: 600;
}
.train-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.train-actions .btn { min-width: 140px; }
.train-featured-art {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: min(100%, 220px);
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: var(--brand-deep, #06344c);
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 16px;
    transform: rotate(3deg);
}
.train-featured-art i { font-size: 42px; color: var(--accent); margin-bottom: 12px; }
.train-featured-art strong { font-size: 15px; line-height: 1.3; }
.train-featured-art span { margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.train-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 22px;
}
.train-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow, 0 8px 24px rgba(15, 23, 42, .06));
    padding: 22px 22px 20px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.train-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    inset-inline-end: -36px;
    bottom: -40px;
    background: var(--accent);
    opacity: .08;
    -webkit-mask: var(--star) center / contain no-repeat;
    mask: var(--star) center / contain no-repeat;
    pointer-events: none;
}
.train-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg, 0 18px 40px rgba(15, 23, 42, .14)); }
.train-ico {
    position: relative;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 14px;
    z-index: 0;
}
.train-ico::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brand-deep);
    z-index: -1;
    -webkit-mask: var(--star) center / contain no-repeat;
    mask: var(--star) center / contain no-repeat;
}
.train-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.train-card p { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.train-card .train-actions { margin-top: auto; }
.train-card .btn { flex: 1; min-width: 0; text-align: center; }

@media (max-width: 800px) {
    .train-featured { grid-template-columns: 1fr; padding: 26px 22px; }
    .train-featured-art { display: none; }
}
