/*
Theme Name: Spartans 2012
Theme URI: https://spartans2012.com
Author: Abhilash Mohapatra
Description: Custom theme for Great Lakes PGPM Class of 2012 reunion platform
Version: 8.9-no-rest-emergency
*/

:root {
    --ink: #1a1a2e;
    --gold: #c9a84c;
    --gold-light: #f0d080;
    --cream: #faf8f3;
    --warm: #f5f0e8;
    --muted: #7a7a8a;
    --border: #e0d9cc;
    --card-bg: #ffffff;
    --accent: #16213e;
    --green: #2e7d52;
    --pod: #0f3460;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--ink); }
a { text-decoration: none; }

/* HERO */
.sp-hero {
    background: linear-gradient(135deg, var(--accent) 0%, #0d1b3e 60%, #1a0a2e 100%);
    padding: 56px 24px 44px; text-align: center; position: relative; overflow: visible;
    width: 100%; box-sizing: border-box; display: block;
}
.sp-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(201,168,76,.08) 0%, transparent 50%);
}
.sp-hero-badge {
    display: inline-block; background: rgba(201,168,76,.15);
    border: 1px solid rgba(201,168,76,.4); color: var(--gold);
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    padding: 6px 18px; border-radius: 20px; margin-bottom: 8px; position: relative;
}
.sp-hero h1 {
    font-family: 'Playfair Display', serif; font-size: clamp(34px,6vw,68px);
    font-weight: 900; color: #fff; line-height: 1.1; position: relative; margin-bottom: 8px;
}
.sp-hero h1 span { color: var(--gold); }
.sp-hero-sub {
    font-size: 14px; color: rgba(255,255,255,.6); letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 28px; position: relative;
}
.sp-stats {
    display: flex !important; justify-content: center; gap: 40px; flex-wrap: nowrap !important;
    margin-bottom: 32px; position: relative; align-items: center;
    width: 100%;
}
.sp-stat-num {
    font-family: 'Playfair Display', serif; font-size: 32px;
    font-weight: 700; color: var(--gold); display: block; text-align: center;
}
.sp-stat-label {
    font-size: 10px; color: rgba(255,255,255,.5);
    letter-spacing: 2px; text-transform: uppercase; margin-top: 2px;
    display: block; text-align: center; white-space: nowrap;
}
@media (max-width: 480px) {
    .sp-stats { gap: 18px; }
    .sp-stat-num { font-size: 22px; }
    .sp-stat-label { font-size: 8px; letter-spacing: 1px; }
}
.sp-hero-cta {
    display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap; position: relative;
}
.btn-gold {
    background: var(--gold); color: var(--ink); font-weight: 600;
    font-size: 14px; padding: 12px 26px; border-radius: 6px;
    border: none; cursor: pointer; transition: all .2s; display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-ghost {
    background: transparent; color: rgba(255,255,255,.9); font-size: 14px;
    padding: 12px 26px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3);
    cursor: pointer; transition: all .2s; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* NAV */
.sp-nav {
    background: #fff; border-bottom: 1px solid var(--border);
    display: flex; justify-content: center; position: sticky;
    top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow-x: auto;
}
.sp-tab {
    background: none; border: none; padding: 15px 22px;
    font-family: 'DM Sans', sans-serif; font-size: 13px;
    font-weight: 500; color: var(--muted); cursor: pointer;
    border-bottom: 2px solid transparent; transition: all .2s;
    white-space: nowrap; text-decoration: none; display: inline-block;
}
.sp-tab:hover { color: var(--ink); }
.sp-tab.active { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }

/* MAIN */
.sp-main { max-width: 1100px; margin: 0 auto; padding: 36px 18px 80px; }
.sp-section { display: none; }
.sp-section.active { display: block; }
.sp-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.sp-title span { color: var(--gold); }
.sp-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.7; }

/* DIRECTORY */
.sp-bar { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.sp-search {
    flex: 1; min-width: 200px; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: 14px;
    background: #fff; outline: none; transition: border .2s;
}
.sp-search:focus { border-color: var(--gold); }
.sp-filt {
    padding: 11px 12px; border: 1.5px solid var(--border); border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: 13px;
    background: #fff; outline: none; cursor: pointer;
}
.sp-rcount { font-size: 12px; color: var(--muted); margin-bottom: 14px; }

/* CARDS */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sp-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 14px; cursor: pointer; transition: all .22s; overflow: hidden;
}
.sp-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.11); border-color: var(--gold); }
.sp-card-photo-wrap { width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden; background: #e8e0d5; }
.sp-card-img-2012, .sp-card-img-now {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center top; transition: opacity .35s ease;
}
.sp-card-img-now { opacity: 0; }
.sp-card:hover .sp-card-img-now { opacity: 1; }
.sp-card:hover .sp-card-img-2012 { opacity: 0; }
.sp-card-placeholder {
    width: 100%; aspect-ratio: 3/4; display: flex; align-items: center;
    justify-content: center; background: linear-gradient(135deg, var(--accent), #2a4494);
    font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: #fff;
}
.sp-photo-badge {
    position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.55);
    color: #fff; font-size: 8px; letter-spacing: 1px; padding: 2px 6px; border-radius: 8px;
    transition: background .35s;
    pointer-events: none;
}
.sp-card:hover .sp-photo-badge,
.sp-card.hovering .sp-photo-badge {
    background: rgba(201,168,76,.9);
    color: #1a1a2e;
    font-weight: 700;
}
.sp-card-body { padding: 12px 12px 14px; }
.sp-card-name { font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 3px; line-height: 1.3; }
.sp-card-loc { font-size: 11px; color: var(--muted); margin-bottom: 5px; min-height: 15px; }
.sp-card-role { font-size: 11px; color: var(--muted); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic; min-height: 14px; }
.sp-card-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.sp-tag { font-size: 9px; padding: 2px 7px; border-radius: 20px; font-weight: 500; }
.t-empty { background: #f0f0f0; color: #999; }
.t-part { background: #fff3e0; color: #e65100; }
.t-full { background: #e8f5e9; color: var(--green); }
.t-pod { background: rgba(15,52,96,.1); color: var(--pod); }

/* MEMORIAL */
.sp-card-memorial { cursor: default !important; pointer-events: none; }
.sp-card-memorial:hover { transform: none !important; box-shadow: none !important; border-color: var(--border) !important; }
.memorial-ribbon {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,.72); color: #e8d8b0;
    font-size: 10px; text-align: center; padding: 5px 8px;
    letter-spacing: .5px; font-style: italic; line-height: 1.4;
}
.memorial-candle { position: absolute; top: 7px; left: 8px; font-size: 14px; }

/* PUBLIC PROFILE PAGE */
.pub-hero {
    background: linear-gradient(135deg, var(--accent), #1a3070);
    display: flex; min-height: 200px; position: relative;
}
.pub-photo { width: 180px; flex-shrink: 0; overflow: hidden; }
.pub-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.pub-photo-ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 48px; color: rgba(255,255,255,.4);
}
.pub-hero-info { padding: 28px 24px; flex: 1; }
.pub-name { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.pub-role-text { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.pub-city-text { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.pub-badge { font-size: 10px; padding: 4px 10px; border-radius: 20px; font-weight: 600; letter-spacing: .5px; display: inline-block; margin-right: 6px; margin-bottom: 6px; }
.pub-badge-gold { background: rgba(201,168,76,.25); color: var(--gold); border: 1px solid rgba(201,168,76,.4); }
.pub-badge-green { background: rgba(46,125,82,.25); color: #5cb87a; border: 1px solid rgba(46,125,82,.4); }
.pub-body { padding: 28px; background: var(--cream); }
.pub-section { margin-bottom: 24px; }
.pub-section-title { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.pub-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pub-item label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 2px; }
.pub-item .val { font-size: 14px; color: var(--ink); font-weight: 500; }
.pub-ach { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; font-size: 13px; line-height: 1.8; }
.pub-advice {
    background: linear-gradient(135deg, #fdf5e0, #faf0d0);
    border: 1px solid rgba(201,168,76,.3); border-radius: 10px;
    padding: 16px; font-size: 13px; line-height: 1.7; font-style: italic;
}
.pub-video-btn {
    display: inline-flex; align-items: center; gap: 8px; background: #ff0000;
    color: #fff; font-weight: 600; font-size: 13px; padding: 10px 20px; border-radius: 8px;
}
.pub-linkedin-btn {
    display: inline-flex; align-items: center; gap: 8px; background: #0077b5;
    color: #fff; font-weight: 600; font-size: 13px; padding: 10px 20px; border-radius: 8px;
}
.pub-edit-btn {
    display: block; width: 100%; background: var(--gold); color: var(--ink);
    font-weight: 600; font-size: 14px; padding: 13px; border-radius: 8px;
    border: none; cursor: pointer; margin-top: 4px; text-align: center;
}
.pub-contrib-chip {
    background: #f0ede6; border: 1px solid var(--border); border-radius: 20px;
    padding: 5px 12px; font-size: 12px; display: inline-block; margin: 3px;
}

/* MODAL / OVERLAY */
.sp-overlay {
    display: none; position: fixed; inset: 0; background: rgba(10,10,30,.75);
    z-index: 200; backdrop-filter: blur(4px); overflow-y: auto; padding: 16px;
}
.sp-overlay.on { display: flex; align-items: flex-start; justify-content: center; }
.sp-modal {
    background: #fff; border-radius: 16px; max-width: 700px; width: 100%;
    margin: 16px auto; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.sp-mhead {
    background: linear-gradient(135deg, var(--accent), #1a3070);
    display: flex; align-items: stretch; min-height: 170px; position: relative;
}
.sp-mphoto { width: 130px; flex-shrink: 0; overflow: hidden; position: relative; }
.sp-mphoto img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.sp-mphoto-ph {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; font-family: 'Playfair Display', serif;
    font-size: 32px; color: rgba(255,255,255,.5);
}
.sp-minfo { padding: 24px 20px; flex: 1; }
.sp-mname { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; font-weight: 700; margin-bottom: 6px; }
.sp-medu { font-size: 11px; color: rgba(255,255,255,.65); line-height: 1.5; margin-bottom: 10px; }
.sp-mbadge {
    display: inline-block; background: rgba(201,168,76,.2);
    border: 1px solid rgba(201,168,76,.4); color: var(--gold);
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    padding: 4px 12px; border-radius: 20px;
}
.sp-mclose {
    position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.15);
    border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.sp-mclose:hover { background: rgba(255,255,255,.3); }
.photo-upload-btn {
    position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.65);
    color: #fff; font-size: 10px; text-align: center; padding: 5px;
    cursor: pointer; transition: background .2s; letter-spacing: .5px;
}
.photo-upload-btn:hover { background: rgba(201,168,76,.8); color: var(--ink); }

/* MODAL TABS */
.sp-mtabs { display: flex; background: #f8f6f1; border-bottom: 1px solid var(--border); overflow-x: auto; }
.sp-mtab {
    background: none; border: none; padding: 11px 14px;
    font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500;
    color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
    white-space: nowrap; transition: all .2s;
}
.sp-mtab:hover { color: var(--ink); }
.sp-mtab.on { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }
.sp-mtab-content { display: none; }
.sp-mtab-content.on { display: block; }
.sp-mbody { padding: 24px; }
.sp-mfooter { padding: 0 24px 24px; }

/* FORM FIELDS */
.sp-prog { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 20px; }
.sp-prog-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold), #e8a84c); transition: width .4s; }
.sp-flabel { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; margin-top: 18px; font-weight: 600; display: block; }
.sp-frow { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-field { flex: 1; min-width: 150px; }
.sp-field label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.sp-field input, .sp-field textarea, .sp-field select {
    width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);
    border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px;
    outline: none; transition: border .2s; background: var(--warm); color: var(--ink);
}
.sp-field input:focus, .sp-field textarea:focus { border-color: var(--gold); background: #fff; }
.sp-field textarea { resize: vertical; min-height: 72px; }
.sp-chk { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.sp-chk input[type=checkbox] { accent-color: var(--gold); width: 16px; height: 16px; }
.sp-chk label { font-size: 14px; cursor: pointer; }
.sp-savebtn {
    background: var(--gold); color: var(--ink); font-weight: 600; font-size: 14px;
    padding: 12px 24px; border-radius: 8px; border: none; cursor: pointer;
    transition: all .2s; margin-top: 8px; width: 100%;
}
.sp-savebtn:hover { background: var(--gold-light); }
.sp-saveok {
    display: none; background: #e8f5e9; color: var(--green);
    font-size: 13px; padding: 10px; border-radius: 6px; margin-top: 10px; text-align: center;
}
.sp-priv-field { background: #faf8f3; border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 4px; }
.sp-priv-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.sp-priv-opt { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.sp-priv-note { font-size: 11px; color: var(--muted); margin-top: 8px; font-style: italic; }
.sp-contrib-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.sp-contrib-chip {
    display: flex; align-items: center; gap: 6px; background: #f0ede6;
    border: 1.5px solid var(--border); border-radius: 20px; padding: 6px 12px;
    font-size: 12px; cursor: pointer; transition: all .2s;
}
.sp-contrib-chip:hover { border-color: var(--gold); background: #fdf5e0; }
.sp-contrib-chip input[type=checkbox] { accent-color: var(--gold); width: 13px; height: 13px; }

/* LOGIN GATE */
.sp-login-gate {
    display: none; position: fixed; inset: 0; background: rgba(10,10,30,.92);
    z-index: 999; backdrop-filter: blur(8px); align-items: center;
    justify-content: center; padding: 20px;
}
.sp-login-gate.on { display: flex; }
.sp-login-box {
    background: #fff; border-radius: 16px; max-width: 400px; width: 100%;
    padding: 36px; text-align: center; box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.sp-login-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.sp-login-input {
    width: 100%; padding: 11px 13px; border: 1.5px solid var(--border);
    border-radius: 8px; font-size: 14px; outline: none; margin-bottom: 10px;
    box-sizing: border-box; font-family: 'DM Sans', sans-serif;
}
.sp-otp-input {
    width: 100%; padding: 13px; border: 1.5px solid var(--border);
    border-radius: 8px; font-size: 22px; text-align: center; outline: none;
    letter-spacing: 8px; margin-bottom: 10px;
    box-sizing: border-box; font-family: 'DM Sans', sans-serif;
}

/* EVENTS */
.sp-ev-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 18px; margin-bottom: 12px; transition: all .2s;
}
.sp-ev-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); border-color: var(--gold); }
.sp-ev-badge { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; display: inline-block; margin-bottom: 8px; }
.sp-ev-meetup { background: #e8f5e9; color: #2e7d32; }
.sp-ev-event { background: #e3f2fd; color: #1565c0; }
.sp-ev-promo { background: #f3e5f5; color: #6a1b9a; }
.sp-ev-news { background: #e3f2fd; color: #1565c0; }
.sp-bday-strip {
    background: linear-gradient(90deg, #fff8e1, #fff3cd);
    border: 1px solid #ffe082; border-radius: 12px;
    padding: 16px 20px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 14px;
}
.sp-bday-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; border: 2px solid #ffd54f; }
.sp-bday-avatar-ph { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #2a4494); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0; }

/* MEMORIES */
.sp-mem-upload {
    border: 2px dashed var(--border); border-radius: 14px; padding: 32px;
    text-align: center; background: #faf8f3; cursor: pointer; transition: border .2s;
}
.sp-mem-upload:hover { border-color: var(--gold); background: #fdf8ee; }
.sp-mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 20px; }
.sp-mem-item { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 1; background: #e8e0d5; }
.sp-mem-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-drive-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 20px; display: flex; align-items: center; gap: 16px;
    margin-bottom: 12px; transition: all .2s; cursor: pointer; text-decoration: none;
}
.sp-drive-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(0,0,0,.08); }

/* Album gallery grid with thumbnails */
.sp-album-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.sp-album-card {
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    overflow: hidden; text-decoration: none; display: block; position: relative;
    transition: all .2s;
}
.sp-album-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); border-color: var(--gold); }
.sp-album-thumb {
    width: 100%; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--accent), #2a4494);
}
.sp-album-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.sp-album-card:hover .sp-album-thumb img { transform: scale(1.06); }
.sp-album-thumb-icon {
    display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff;
}
.sp-album-info { padding: 14px 16px; }
.sp-album-title { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.sp-album-desc { font-size: 12px; color: var(--muted); }
.sp-album-del {
    position: absolute; top: 8px; right: 8px; width: 26px; height: 26px;
    background: rgba(0,0,0,.6); color: #fff; border: none; border-radius: 50%;
    cursor: pointer; font-size: 13px; z-index: 2; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
}
.sp-album-card:hover .sp-album-del { opacity: 1; }
.sp-album-del:hover { background: #c0392b; }

/* PODCAST */
.sp-pod-hero {
    background: linear-gradient(135deg, var(--pod), #1a3060);
    border-radius: 16px; padding: 36px 28px; color: #fff; margin-bottom: 28px;
}

/* RESPONSIVE */
@media (max-width: 580px) {
    .sp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sp-hero { padding: 36px 14px 30px; }
    .sp-stats { gap: 18px; }
    .sp-main { padding: 20px 12px 60px; }
    .sp-tab { padding: 12px 13px; font-size: 12px; }
    .sp-mphoto { width: 100px; }
    .pub-photo { width: 120px; }
}

/* WordPress Admin Bar offset */
.admin-bar .sp-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .sp-nav { top: 46px; }
}

/* Ensure hero is full viewport width */
.sp-hero {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* WordPress content reset */
.sp-hero, .sp-nav, .sp-main { max-width: 100%; }
body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }

/* Base resets for WordPress */
html, body { margin: 0 !important; padding: 0 !important; background: var(--cream) !important; }
#page, #content, #primary, #main, .site, .site-content { padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; }
.sp-hero * { position: relative; }
.sp-hero-badge, .sp-hero-domain, .sp-hero h1, .sp-hero-sub,  

/* Force full-width hero - override any WordPress wrapper */
body { overflow-x: hidden; }
body.home .sp-hero,
body .sp-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

/* Dual year badge - 2012 shows by default, 2026 shows on hover */
.sp-badge-2012, .sp-badge-now {
    position: absolute; top: 6px; right: 6px;
    font-size: 8px; font-weight: 700; letter-spacing: 1px;
    padding: 2px 7px; border-radius: 8px; pointer-events: none;
    transition: opacity .35s;
}
.sp-badge-2012 {
    background: rgba(0,0,0,.6); color: #fff; opacity: 1;
}
.sp-badge-now {
    background: rgba(201,168,76,.9); color: #1a1a2e; opacity: 0;
}
.sp-card:hover .sp-badge-2012,
.sp-card.hovering .sp-badge-2012 { opacity: 0; }
.sp-card:hover .sp-badge-now,
.sp-card.hovering .sp-badge-now { opacity: 1; }
