/* ─── VR4STEM · Experiments ──────────────────────────────────────────────── */

/* ── Archive / Taxonomy listing ─────────────────────────────────────────── */

.vr4stem-exp-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.vr4stem-exp-archive__header {
    margin-bottom: 2.5rem;
    border-bottom: 3px solid #003399;
    padding-bottom: 1rem;
}

.vr4stem-exp-archive__title {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.5rem;
}

.vr4stem-exp-archive__desc {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.vr4stem-exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Card */
.vr4stem-exp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vr4stem-exp-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.vr4stem-exp-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8edf5;
}

.vr4stem-exp-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.vr4stem-exp-card:hover .vr4stem-exp-card__thumb img {
    transform: scale(1.04);
}

.vr4stem-exp-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vr4stem-exp-card__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.vr4stem-exp-card__topic-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #003399;
    background: #e8edf8;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-decoration: none;
}

.vr4stem-exp-card__topic-tag:hover {
    background: #003399;
    color: #fff;
}

.vr4stem-exp-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.vr4stem-exp-card__title a {
    color: #111;
    text-decoration: none;
}

.vr4stem-exp-card__title a:hover {
    color: #003399;
}

.vr4stem-exp-card__excerpt {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.vr4stem-exp-card__steam {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.vr4stem-exp-card__steam-tag {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    background: #f5f5f5;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
}

.vr4stem-exp-card__steam-tag:hover {
    background: #ddd;
}

.vr4stem-exp-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.vr4stem-exp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.6rem;
    margin: 0 0.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #333;
}

.vr4stem-exp-pagination .page-numbers.current,
.vr4stem-exp-pagination .page-numbers:hover {
    background: #003399;
    border-color: #003399;
    color: #fff;
}

/* ── Single experiment ───────────────────────────────────────────────────── */

.vr4stem-exp-single {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.vr4stem-exp-single__hero {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 16 / 7;
    background: #e8edf5;
}

.vr4stem-exp-single__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vr4stem-exp-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vr4stem-exp-single__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin: 0 0 1.5rem;
}

.vr4stem-exp-single__tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
}

.vr4stem-exp-single__tag--topic {
    background: #e8edf8;
    color: #003399;
}

.vr4stem-exp-single__tag--topic:hover {
    background: #003399;
    color: #fff;
}

.vr4stem-exp-single__tag--steam {
    background: #f5f5f5;
    color: #555;
}

.vr4stem-exp-single__tag--steam:hover {
    background: #ddd;
}

.vr4stem-exp-single__fields {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.vr4stem-exp-field {
    border-left: 4px solid #003399;
    padding-left: 1rem;
}

.vr4stem-exp-field__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #003399;
    margin: 0 0 0.4rem;
}

.vr4stem-exp-field__value {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
    white-space: pre-line;
}

.vr4stem-exp-single__teachers {
    background: #f0f4fb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.vr4stem-exp-single__teachers .vr4stem-exp-field__label {
    color: #003399;
}

.vr4stem-exp-single__cta {
    text-align: center;
    padding: 2rem 0;
}

.vr4stem-exp-single__btn {
    display: inline-block;
    background: #003399;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.vr4stem-exp-single__btn:hover {
    background: #002277;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .vr4stem-exp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .vr4stem-exp-grid {
        grid-template-columns: 1fr;
    }

    .vr4stem-exp-archive__title,
    .vr4stem-exp-single__title {
        font-size: 1.5rem;
    }
}
