/* ===== TALENT LISTING PAGE ===== */
.talent-page { padding: 32px 0 80px; }
.btn-sm  { padding: 7px 14px; font-size: 13px; }
.btn-xs  { padding: 4px 10px; font-size: 12px; }
.link-primary { color: var(--color-primary); font-weight: 600; font-size: 13px; }
.link-primary:hover { text-decoration: underline; }
.text-red { color: #ef4444; }

.talent-container { /* legacy, unused */ }

/* ===== FILTERS PANEL ===== */
.filters-panel {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 24px;
    position: sticky; top: 80px;
}

.filters-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}
.filters-header h2 { font-size: 15px; font-weight: 700; }
.filters-clear { font-size: 12px; color: var(--color-primary); font-weight: 600; }
.filters-clear:hover { text-decoration: underline; }

.filter-group { margin-bottom: 24px; border-bottom: 1px solid var(--color-gray-100); padding-bottom: 20px; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group > label { font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--color-gray-500); display: block; margin-bottom: 10px; }

.search-input-wrap { display: flex; border: 1.5px solid var(--color-gray-200); border-radius: var(--radius); overflow: hidden; }
.search-input-wrap input {
    flex: 1; padding: 9px 12px; border: none; outline: none;
    font-size: 13px; font-family: var(--font-main);
}
.search-input-wrap button {
    padding: 0 12px; background: none; border: none; cursor: pointer;
    color: var(--color-gray-500); display: flex; align-items: center;
    transition: color .2s;
}
.search-input-wrap button:hover { color: var(--color-primary); }
.search-input-wrap button svg { width: 16px; height: 16px; }

.filter-cat-group { margin-bottom: 12px; }
.filter-cat-label { font-size: 11px; font-weight: 700; color: var(--color-gray-500);
    text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 6px; }

.filter-check {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; cursor: pointer; padding: 4px 0;
    color: var(--color-gray-700); transition: color .15s;
}
.filter-check:hover { color: var(--color-primary); }
.filter-check input[type="radio"],
.filter-check input[type="checkbox"] {
    width: 15px; height: 15px; accent-color: var(--color-primary); flex-shrink: 0;
}
.filter-check input[type="radio"]:checked + span,
.filter-check input[type="checkbox"]:checked + span { color: var(--color-primary); font-weight: 600; }

.filter-group select {
    width: 100%; padding: 9px 12px; border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius); font-size: 13px; font-family: var(--font-main);
    outline: none; cursor: pointer; background: #fff;
}
.filter-group select:focus { border-color: var(--color-primary); }

.filter-radios { display: flex; flex-direction: column; gap: 2px; }

/* ===== TALENT MAIN ===== */
.talent-topbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.talent-count { font-size: 14px; color: var(--color-gray-500); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.talent-count strong { color: var(--color-dark); font-size: 16px; }

.active-filter-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fef2ee; color: var(--color-primary);
    padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.active-filter-tag a { color: var(--color-primary); font-weight: 700; font-size: 14px; line-height: 1; }

.talent-sort { display: flex; align-items: center; gap: 10px; }
.talent-sort select {
    padding: 8px 12px; border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius); font-size: 13px; font-family: var(--font-main);
    outline: none; cursor: pointer; background: #fff;
}
.talent-sort select:focus { border-color: var(--color-primary); }

.filters-toggle-btn {
    display: none; align-items: center; gap: 6px;
    padding: 8px 14px; border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius); font-size: 13px; font-weight: 600;
    background: #fff; cursor: pointer; transition: all .2s;
}
.filters-toggle-btn svg { width: 16px; height: 16px; }
.filters-toggle-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ===== TALENT GRID ===== */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ===== PROFILE CARD ===== */
.profile-card {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none; color: inherit;
    border: 1.5px solid transparent;
}
.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gray-200);
}

.pc-avatar {
    position: relative; height: 250px; width: 210px;
    margin: 0 auto;
    background: var(--color-gray-100);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.pc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pc-avatar .avatar-placeholder {
    width: 72px; height: 72px; font-size: 28px; border-radius: 50%;
}

.pc-verified {
    position: absolute; top: 10px; right: 10px;
    background: var(--color-primary); color: #fff;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; box-shadow: var(--shadow);
}
.pc-featured {
    position: absolute; top: 10px; left: 10px;
    background: #fbbf24; color: #fff;
    padding: 2px 8px; border-radius: 10px;
    font-size: 11px; font-weight: 700;
}

.pc-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pc-name { font-size: 15px; font-weight: 700; color: var(--color-dark); }

.pc-cats { display: flex; flex-wrap: wrap; gap: 4px; }
.pc-cats span {
    background: #fef2ee; color: var(--color-primary);
    padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
}
.pc-cats .pc-more { background: var(--color-gray-100); color: var(--color-gray-500); }

.pc-headline {
    font-size: 12px; color: var(--color-gray-500);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* Meta row: city + physical chips */
.pc-meta {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 6px; margin-top: auto; padding-top: 6px;
}
.pc-city {
    display: flex; align-items: center; gap: 4px;
    font-size: 11px; color: var(--color-gray-500);
}
.pc-city svg { width: 11px; height: 11px; flex-shrink: 0; }

.pc-phys-chip {
    font-size: 11px; font-weight: 600;
    background: var(--color-gray-100); color: var(--color-gray-600, #4b5563);
    padding: 2px 7px; border-radius: 10px;
}

/* Gender badge on avatar */
.pc-gender {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(0,0,0,.45); color: #fff;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

/* ===== EMPTY STATE ===== */
.talent-empty {
    text-align: center; padding: 80px 20px;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.talent-empty h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.talent-empty p  { color: var(--color-gray-500); margin-bottom: 24px; }

/* ===== PAGINATION ===== */
.pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 32px;
}
.page-btn {
    padding: 8px 14px; border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius); font-size: 13px; font-weight: 600;
    color: var(--color-gray-700); background: #fff; transition: all .15s;
}
.page-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.page-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ===== CASTINGS FILTER BAR ===== */
.castings-filterbar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 16px 20px;
    margin-bottom: 4px;
}
.cfb-search {
    display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px;
    border: 1.5px solid var(--color-gray-200); border-radius: var(--radius);
    padding: 8px 12px;
}
.cfb-search svg { width: 15px; height: 15px; color: var(--color-gray-500); flex-shrink: 0; }
.cfb-search input { border: none; outline: none; font-size: 14px; font-family: var(--font-main); width: 100%; }
.castings-filterbar select {
    padding: 9px 12px; border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius); font-size: 13px; font-family: var(--font-main);
    outline: none; cursor: pointer; background: #fff; color: var(--color-dark);
}
.cfb-check { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cfb-check input { accent-color: var(--color-primary); }

/* Talent filter bar — more selects, slightly smaller */
.talent-filterbar select { font-size: 12px; padding: 8px 10px; }

/* ===== CASTINGS GRID ===== */
.castings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.castings-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== CASTING CARD ===== */
.casting-card {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 20px;
    display: flex; flex-direction: column; gap: 12px;
    transition: transform .2s, box-shadow .2s;
    border: 1.5px solid transparent;
    color: inherit;
}
.casting-card:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-md);
    border-color: var(--color-gray-200);
}
.casting-card.expired { opacity: .65; }

.cc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cc-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.cc-type { padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.cc-type--casting { background: #ede9fe; color: #5b21b6; }
.cc-type--job     { background: #d1fae5; color: #065f46; }
.cc-type--project { background: #dbeafe; color: #1e40af; }

.cc-featured { background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.cc-expired-badge { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.cc-deadline { font-size: 12px; color: var(--color-gray-500); white-space: nowrap; }

.cc-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--color-dark); }
.cc-cats { display: flex; flex-wrap: wrap; gap: 4px; }
.cc-cats span { background: #fef2ee; color: var(--color-primary); padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }

.cc-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-meta-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--color-gray-500); }
.cc-meta-item svg { width: 12px; height: 12px; flex-shrink: 0; }
.cc-comp--paid { color: #065f46; font-weight: 600; }

.cc-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--color-gray-100); }
.cc-poster { font-size: 12px; color: var(--color-gray-500); }
.cc-arrow { color: var(--color-primary); font-weight: 700; transition: transform .2s; }
.casting-card:hover .cc-arrow { transform: translateX(4px); }

/* ===== SINGLE PROJECT PAGE ===== */
.project-page { padding: 0 0 80px; }
.project-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; margin-top: 28px; }
.project-main { display: flex; flex-direction: column; gap: 16px; }

/* Hero banner */
.project-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #1f2937 60%, #111 100%);
    padding: 48px 0 40px; margin-bottom: 0;
}
.project-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232,87,42,.18) 0%, transparent 60%);
    pointer-events: none;
}
.project-hero .container { position: relative; }
.project-hero-content { max-width: 760px; }
.project-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ph-badge { padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.ph-badge--featured { background: #fbbf24; color: #78350f; }
.ph-badge--expired  { background: #fee2e2; color: #991b1b; }
.ph-badge--urgent   { background: #fef3c7; color: #92400e; }

.project-hero-title {
    font-size: 32px; font-weight: 900; color: #fff;
    line-height: 1.2; margin-bottom: 12px;
}
.project-hero-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.project-hero-cats span {
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
    border: 1px solid rgba(255,255,255,.15);
}
.project-hero-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    font-size: 13px; color: rgba(255,255,255,.6);
}
.project-hero-meta span { display: flex; align-items: center; gap: 5px; }
.project-hero-owner-btn {
    position: absolute; top: 48px; right: 0;
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2);
    color: #fff;
}
.project-hero-owner-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); }

/* Cards */
.project-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.project-section-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--color-gray-100); }
.project-desc { font-size: 15px; line-height: 1.8; color: var(--color-gray-700); }

/* Requirements */
.requirements-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.requirements-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.req-check {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: #d1fae5; color: #065f46;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; margin-top: 1px;
}

/* Apply box */
.apply-box--sticky { position: sticky; top: 80px; }
.apply-box--mobile { display: none; }
.apply-inner { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.apply-inner h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.apply-count { font-size: 12px; color: var(--color-gray-500); margin-bottom: 16px; }
.apply-closed { color: var(--color-gray-500); font-size: 14px; }
.apply-sent { display: flex; align-items: center; gap: 10px; color: #065f46; font-weight: 600; font-size: 15px; }
.apply-sent span { background: #d1fae5; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* Sidebar widgets */
.project-widget { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.project-widget h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--color-gray-500); margin-bottom: 14px; }

/* Deadline widget */
.deadline-widget { display: flex; align-items: center; gap: 14px; }
.dw-icon { font-size: 24px; flex-shrink: 0; }
.dw-info { display: flex; flex-direction: column; gap: 2px; }
.dw-label { font-size: 11px; color: var(--color-gray-500); }
.dw-date  { font-size: 16px; font-weight: 700; }
.dw-sub   { font-size: 12px; color: var(--color-primary); font-weight: 600; }
.dw-sub.expired { color: #dc2626; }
.deadline--urgent .dw-date { color: #92400e; }
.deadline--expired .dw-date { color: #dc2626; }

/* Poster card */
.poster-card { }
.poster-link { display: flex; align-items: center; gap: 12px; transition: opacity .15s; }
.poster-link:hover { opacity: .8; }
.poster-avatar img, .poster-avatar .avatar-placeholder { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.poster-card strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.poster-card p { font-size: 12px; color: var(--color-gray-500); }

/* Share widget */
.share-widget { }
.share-buttons { }
.share-btn {
    width: 100%; padding: 10px; background: var(--color-gray-100);
    border: 1.5px solid var(--color-gray-200); border-radius: var(--radius);
    font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.share-btn:hover { background: var(--color-gray-200); }
.share-copied {
    display: block; font-size: 12px; color: #065f46; font-weight: 600;
    margin-top: 8px; opacity: 0; transition: opacity .2s;
}
.share-copied.visible { opacity: 1; }

/* Related castings */
.related-section { }
.related-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card {
    background: #fff; border-radius: var(--radius-lg); padding: 16px;
    box-shadow: var(--shadow); border: 1.5px solid transparent;
    transition: all .2s; display: flex; flex-direction: column; gap: 8px;
}
.related-card:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.related-card-top { display: flex; align-items: center; gap: 6px; }
.related-star { color: #fbbf24; font-size: 13px; }
.related-card h3 { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--color-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card p  { font-size: 12px; color: var(--color-gray-500); }

/* ===== DASHBOARD TABLES ===== */
.projects-table { display: flex; flex-direction: column; }
.pt-head {
    display: grid; grid-template-columns: 3fr 1fr 1.2fr 1fr 1fr 1fr;
    padding: 10px 16px; background: var(--color-gray-100);
    border-radius: var(--radius); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; color: var(--color-gray-500);
    margin-bottom: 4px;
}
.pt-row {
    display: grid; grid-template-columns: 3fr 1fr 1.2fr 1fr 1fr 1fr;
    padding: 14px 16px; border-bottom: 1px solid var(--color-gray-100);
    align-items: center; font-size: 13px; transition: background .15s;
}
.pt-row:hover { background: var(--color-gray-100); }
.pt-title a { font-weight: 600; color: var(--color-dark); }
.pt-title a:hover { color: var(--color-primary); }

.status-badge { padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.status-published  { background: #d1fae5; color: #065f46; }
.status-draft      { background: var(--color-gray-100); color: var(--color-gray-500); }
.status-closed     { background: #fee2e2; color: #991b1b; }
.status-pending    { background: #fef3c7; color: #92400e; }
.status-reviewed   { background: #dbeafe; color: #1e40af; }
.status-accepted   { background: #d1fae5; color: #065f46; }
.status-rejected   { background: #fee2e2; color: #991b1b; }

/* Applications list */
.applications-list { display: flex; flex-direction: column; gap: 16px; }
.app-item { border: 1.5px solid var(--color-gray-200); border-radius: var(--radius-lg); padding: 20px; }
.app-user { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.app-avatar img, .app-avatar .avatar-placeholder { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.app-name { font-weight: 700; font-size: 15px; color: var(--color-dark); display: block; }
.app-name:hover { color: var(--color-primary); }
.app-headline { font-size: 12px; color: var(--color-gray-500); margin-top: 2px; }
.app-letter { font-size: 13px; line-height: 1.6; color: var(--color-gray-700); background: var(--color-gray-100); padding: 12px; border-radius: var(--radius); margin-bottom: 12px; }
.app-footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-date { font-size: 12px; color: var(--color-gray-500); margin-left: auto; }
.app-status-form select { padding: 5px 10px; border: 1.5px solid var(--color-gray-200); border-radius: var(--radius); font-size: 12px; cursor: pointer; outline: none; }
.app-status-form select:focus { border-color: var(--color-primary); }

/* Requirement rows (post form) */
.requirement-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-bottom: 12px; align-items: center; }
.requirement-row input {
    padding: 10px 14px; border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius); font-size: 14px;
    font-family: var(--font-main); outline: none;
    background: #fff; width: 100%; color: var(--color-gray-900);
    transition: border-color .2s, box-shadow .2s;
}
.requirement-row input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232,87,42,.1);
}
.requirement-row input::placeholder { color: var(--color-gray-400); }
.req-remove { background: none; border: none; cursor: pointer; color: var(--color-gray-400); font-size: 18px; padding: 4px 8px; transition: color .2s; line-height: 1; }
.req-remove:hover { color: #ef4444; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .talent-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .talent-grid { grid-template-columns: repeat(2, 1fr); }
    .castings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .talent-grid { grid-template-columns: repeat(2, 1fr); }
    .castings-grid { grid-template-columns: 1fr; }
}

/* ===== PUBLIC PROFILE PAGE ===== */
.profile-page { padding: 40px 0 80px; }

.profile-header-card {
    background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px;
}
.profile-cover { height: 280px; background:linear-gradient(135deg, #111827, #374151); }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; display:block; }
.cover-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #111827, #374151); position:relative; display:flex; align-items:center; }

/* When user has NO cover photo: compact dark band with name in white */
.profile-header-card--nocover .profile-cover { height: 120px; }
.profile-header-card--nocover .cover-placeholder-name {
    color:#fff; font-size:22px; font-weight:700;
    padding-left:170px; /* leave room for avatar overlay on the left */
    line-height:1.2;
}
.profile-header-card--nocover .profile-header-info h1 { display:none; }

@media (max-width: 768px) {
    .profile-cover { height: 160px; }
    .profile-header-card--nocover .profile-cover { height: 120px; }
    .profile-header-card--nocover .cover-placeholder-name { padding-left:110px; font-size:17px; }
}

.profile-header-inner {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 16px 32px 28px; flex-wrap: wrap;
}
.profile-avatar-lg { position: relative; flex-shrink: 0; margin-top: -60px; }
.profile-avatar-lg img {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover; border: 4px solid #fff;
    box-shadow: var(--shadow-md);
}
.profile-avatar-lg .avatar-placeholder {
    width: 100px; height: 100px; border-radius: 50%;
    font-size: 40px; font-weight: 800; border: 4px solid #fff;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-gray-200); color: var(--color-gray-500);
}
.verified-badge {
    position: absolute; bottom: 4px; right: 4px;
    background: var(--color-primary); color: #fff;
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; border: 2px solid #fff;
}

.profile-header-info { flex: 1; min-width: 0; }
.profile-header-info h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.profile-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cat-badge {
    background: #fef2ee; color: var(--color-primary);
    padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.profile-headline { font-size: 15px; color: var(--color-gray-500); }
.profile-header-actions { display: flex; gap: 10px; margin-left: auto; align-self: flex-end; }

.profile-body {
    display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start;
}
.profile-main-col {}
.profile-side-col {}

.profile-section {
    background: #fff; border-radius: var(--radius-lg);
    padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.profile-section h2 { font-size: 16px; font-weight: 700; margin-bottom: 16px; border-bottom: 1px solid var(--color-gray-200); padding-bottom: 12px; }
.profile-section p { font-size: 15px; color: var(--color-gray-700); line-height: 1.7; }

.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    background: var(--color-gray-100); color: var(--color-gray-700);
    padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
}

.profile-widget {
    background: #fff; border-radius: var(--radius-lg);
    padding: 20px 24px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.profile-widget h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--color-gray-500); margin-bottom: 14px; }

.lang-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lang-list li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.lang-level-badge { background: var(--color-gray-100); padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 500; }

.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-links a {
    font-size: 14px; color: var(--color-gray-700);
    display: flex; gap: 10px; align-items: center;
    transition: color .2s;
}
.social-links a:hover { color: var(--color-primary); }

/* Physical characteristics widget */
.physical-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.physical-list li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.pl-label { color: var(--color-gray-500); font-size: 13px; }
.pl-value  { font-weight: 600; font-size: 14px; }

/* Showreel */
.showreel-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; }
.showreel-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Portfolio gallery */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.pg-item {
    aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius);
    cursor: pointer; background: var(--color-gray-100);
    transition: transform .2s;
}
.pg-item:hover { transform: scale(1.03); }
.pg-item img   { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lightbox */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.92); z-index: 9999;
    align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img-wrap { max-width: 90vw; max-height: 90vh; position: relative; }
.lb-img-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); display: block; }
.lb-caption { color: rgba(255,255,255,.7); font-size: 13px; text-align: center; margin-top: 10px; }
.lb-close, .lb-prev, .lb-next {
    position: fixed; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25); color: #fff;
    cursor: pointer; border-radius: 50%; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; line-height: 1; transition: background .2s;
    z-index: 10001; -webkit-tap-highlight-color: transparent;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(0,0,0,.8); }
.lb-close { top: 20px; right: 20px; font-size: 18px; }
.lb-prev  { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
    .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 24px; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
}

/* Experience list */
.experience-list { display: flex; flex-direction: column; gap: 14px; }
.exp-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 16px; background: var(--color-gray-100);
    border-radius: var(--radius); border-left: 3px solid var(--color-primary);
}
.exp-type-badge {
    flex-shrink: 0; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    background: var(--color-gray-200); color: var(--color-gray-700);
    margin-top: 2px;
}
.exp-type--film        { background: #dbeafe; color: #1d4ed8; }
.exp-type--tv          { background: #dcfce7; color: #166534; }
.exp-type--theater     { background: #f3e8ff; color: #7e22ce; }
.exp-type--commercial  { background: #fef9c3; color: #854d0e; }
.exp-type--music_video { background: #fce7f3; color: #9d174d; }
.exp-type--other       { background: var(--color-gray-200); color: var(--color-gray-500); }

.exp-info     { flex: 1; }
.exp-title    { font-size: 15px; font-weight: 700; display: block; margin-bottom: 3px; }
.exp-role     { font-size: 13px; color: var(--color-gray-500); display: block; margin-bottom: 4px; }
.exp-meta     { font-size: 12px; color: var(--color-gray-500); display: flex; gap: 6px; }

/* Profile page responsive */
@media (max-width: 900px) {
    .profile-body { grid-template-columns: 1fr; }
    .profile-side-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .profile-side-col .profile-widget { margin-bottom: 0; }
    .portfolio-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
@media (max-width: 600px) {
    .profile-header-inner { padding: 0 16px 20px; gap: 14px; }
    .profile-header-info h1 { font-size: 20px; }
    .profile-header-actions { width: 100%; margin-left: 0; }
    .profile-header-actions .btn { flex: 1; justify-content: center; }
    .profile-side-col { grid-template-columns: 1fr; }
    .portfolio-gallery { grid-template-columns: repeat(3, 1fr); }
}
