/**
 * Columbus Eagles FC
 * Public Website Integration Styles
 *
 * File: assets/css/cefc-public.css
 * Version: 1.3.0
 * Build Date: 2026-09-01
 */

.cefc-roster,
.cefc-player-profile-shell,
.cefc-roster-page-shell {
    --cefc-black: #101010;
    --cefc-yellow: #FECD08;
    --cefc-purple: #50438F;
    --cefc-grey: #787878;
    --cefc-white: #FFFFFF;
}

.cefc-roster-page-shell,
.cefc-player-profile-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.cefc-roster { width: 100%; }
.cefc-roster-title { margin: 0 0 1.25rem; color: var(--cefc-yellow); font-weight: 700; text-transform: uppercase; }
.cefc-roster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.cefc-player-card { overflow: hidden; margin: 0; background: var(--cefc-white); border: 1px solid rgba(16,16,16,.12); border-radius: 4px; box-shadow: 0 3px 14px rgba(16,16,16,.08); transition: transform 160ms ease, box-shadow 160ms ease; }
.cefc-player-card:hover { transform: translateY(-3px); box-shadow: 0 7px 20px rgba(16,16,16,.14); }
.cefc-player-card-link { display:block; color:inherit; text-decoration:none; }
.cefc-player-card-link:hover { color:inherit; }
.cefc-player-photo-wrap { position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--cefc-black); }
.cefc-player-photo { display:block; width:100%; height:100%; object-fit:cover; object-position:center top; }
.cefc-player-photo-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.4rem; color:var(--cefc-white); background:linear-gradient(145deg, rgba(80,67,143,.55), transparent 55%), var(--cefc-black); }
.cefc-placeholder-mark { color:var(--cefc-yellow); font-size:.78rem; font-weight:800; letter-spacing:.12em; }
.cefc-placeholder-initials { font-size:clamp(2.5rem,6vw,4.5rem); font-weight:800; line-height:1; }
.cefc-player-number { position:absolute; left:.75rem; bottom:.75rem; min-width:2.35rem; padding:.2rem .55rem; color:var(--cefc-black); background:var(--cefc-yellow); font-size:1.25rem; font-weight:800; line-height:1.35; text-align:center; }
.cefc-player-card-body { padding:1rem 1rem 1.1rem; }
.cefc-player-name { margin:0; color:var(--cefc-black); font-size:1.2rem; font-weight:800; line-height:1.15; }
.cefc-player-position { margin-top:.4rem; color:var(--cefc-purple); font-size:.88rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.cefc-player-meta { margin:.85rem 0 0; padding-top:.75rem; border-top:1px solid rgba(16,16,16,.10); }
.cefc-player-meta > div + div { margin-top:.55rem; }
.cefc-player-meta dt { margin:0; color:var(--cefc-grey); font-size:.68rem; font-weight:700; line-height:1.2; text-transform:uppercase; letter-spacing:.06em; }
.cefc-player-meta dd { margin:.12rem 0 0; color:var(--cefc-black); font-size:.88rem; line-height:1.3; }

/* Player profile */
.cefc-player-profile { color:var(--cefc-black); }
.cefc-player-profile-hero { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr); gap:3rem; align-items:center; }
.cefc-player-profile-photo-panel { position:relative; overflow:hidden; background:var(--cefc-black); border-radius:5px; }
.cefc-player-profile-photo { display:block; width:100%; max-height:650px; object-fit:cover; object-position:center top; }
.cefc-player-profile-photo-placeholder { min-height:480px; display:flex; align-items:center; justify-content:center; color:var(--cefc-yellow); font-size:3rem; font-weight:800; }
.cefc-player-profile-number { position:absolute; left:1rem; bottom:1rem; padding:.25rem .75rem; background:var(--cefc-yellow); color:var(--cefc-black); font-size:2rem; font-weight:900; line-height:1.2; }
.cefc-player-profile-kicker { margin-bottom:.4rem; color:var(--cefc-yellow); font-size:.88rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.cefc-player-profile-summary h1 { margin:0; color:var(--cefc-black); font-size:clamp(2.25rem,6vw,4.6rem); line-height:.98; }
.cefc-player-profile-position { margin-top:.9rem; color:var(--cefc-purple); font-size:1.2rem; font-weight:800; text-transform:uppercase; }
.cefc-player-profile-facts { margin:1.75rem 0 0; }
.cefc-player-profile-facts > div { display:grid; grid-template-columns:115px 1fr; gap:1rem; padding:.6rem 0; border-bottom:1px solid rgba(16,16,16,.10); }
.cefc-player-profile-facts dt { color:var(--cefc-grey); font-size:.75rem; font-weight:800; text-transform:uppercase; }
.cefc-player-profile-facts dd { margin:0; font-weight:600; }
.cefc-player-profile-social { margin-top:1.25rem; }
.cefc-player-profile-social a { color:var(--cefc-purple); font-weight:700; }
.cefc-player-profile-section { margin-top:3rem; padding-top:2rem; border-top:2px solid var(--cefc-yellow); }
.cefc-player-profile-section h2 { margin:0 0 1rem; color:var(--cefc-black); }
.cefc-player-profile-copy { max-width:800px; font-size:1.05rem; line-height:1.7; }
.cefc-player-programs { max-width:700px; margin:0; padding:0; list-style:none; }
.cefc-player-programs li { display:flex; justify-content:space-between; gap:1rem; padding:.75rem 0; border-bottom:1px solid rgba(16,16,16,.10); }
.cefc-player-programs strong { color:var(--cefc-purple); }

@media (max-width:1024px) { .cefc-roster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .cefc-player-profile-hero { grid-template-columns:1fr; gap:1.75rem; } }
@media (max-width:720px) { .cefc-roster-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; } }
@media (max-width:460px) {
    .cefc-roster-grid { grid-template-columns:1fr; }
    .cefc-player-profile-shell, .cefc-roster-page-shell { padding-left:1rem; padding-right:1rem; }
    .cefc-player-profile-facts > div { grid-template-columns:1fr; gap:.1rem; }
}
