/* Openings list & detail - shared */
:root { --primary: #6366f1; --text: #0f172a; --text-muted: #64748b; --border: #e2e8f0; --bg: #f8fafc; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); line-height: 1.6; background: #fff; }
.container { max-width: 1100px; margin: 0 auto; padding: 24px 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); text-decoration: none; font-weight: 600; margin-bottom: 24px; }
.back-link:hover { text-decoration: underline; }
.openings-hero { text-align: center; margin-bottom: 48px; }
.openings-hero h1 { font-size: 2.2rem; color: var(--text); margin-bottom: 12px; }
.openings-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.openings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.opening-card { background: #fff; border: 2px solid var(--border); border-radius: 14px; padding: 24px; transition: all .3s; text-decoration: none; color: inherit; display: block; }
.opening-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(99,102,241,.12); transform: translateY(-4px); }
.opening-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }
.opening-meta { font-size: .875rem; color: var(--text-muted); margin-bottom: 12px; }
.opening-card p { font-size: .95rem; color: var(--text-muted); line-height: 1.6; }
.opening-card .view-details { margin-top: 16px; color: var(--primary); font-weight: 600; font-size: .95rem; }
.opening-card:hover .view-details { text-decoration: underline; }
@media (max-width: 768px) { .openings-grid { grid-template-columns: 1fr; } }

/* Job detail page */
.detail-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--border); }
.detail-header .tag { display: inline-block; background: rgba(99,102,241,.1); color: var(--primary); padding: 6px 14px; border-radius: 20px; font-size: .8rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.detail-title { font-size: 2rem; color: var(--text); margin-bottom: 16px; line-height: 1.3; }
.detail-meta { display: flex; gap: 24px; color: var(--text-muted); font-size: .95rem; flex-wrap: wrap; }
.detail-content { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); }
.detail-content h2 { font-size: 1.5rem; color: var(--text); margin: 32px 0 12px; }
.detail-content h3 { font-size: 1.2rem; color: var(--text); margin: 24px 0 8px; }
.detail-content ul { margin: 12px 0; padding-left: 24px; }
.detail-content li { margin: 8px 0; }
.detail-content p { margin: 16px 0; }
.detail-cta { margin-top: 48px; padding: 32px; background: linear-gradient(135deg, #6366f1, #0ea5e9); color: #fff; border-radius: 16px; text-align: center; }
.detail-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.detail-cta p { color: rgba(255,255,255,.95); margin-bottom: 20px; }
.detail-cta .btn { display: inline-block; background: #fff; color: #6366f1; padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 700; transition: all .2s; }
.detail-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
@media (max-width: 768px) { .detail-title { font-size: 1.5rem; } }
