SWANEC — 2026 Volunteer Event Calendar
/* =====================================================
SWANEC CALENDAR
All styles scoped to #swanec-cal-root to prevent
conflicts with any WordPress theme CSS.
Modal styles live outside since it uses position:fixed.
===================================================== */
html, body {
margin: 0 !important;
padding: 0 !important;
background: #faf8f2 !important;
min-height: 100vh;
}
#swanec-cal-root {
–sc-forest: #1a3a2a;
–sc-moss: #2d5a3d;
–sc-sage: #5a8a6a;
–sc-fern: #7aad82;
–sc-mist: #c8dfc0;
–sc-cream: #f4f0e6;
–sc-bark: #6b4c2a;
–sc-light: #faf8f2;
font-family: ‘DM Sans’, sans-serif;
font-size: 16px;
line-height: 1.5;
color: var(–sc-forest);
background: var(–sc-light);
min-height: 100vh;
-webkit-font-smoothing: antialiased;
}
#swanec-cal-root *, #swanec-cal-root *::before, #swanec-cal-root *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
#swanec-cal-root .sc-bg {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
background:
radial-gradient(ellipse at 15% 10%, rgba(90,138,106,0.09) 0%, transparent 55%),
radial-gradient(ellipse at 85% 88%, rgba(45,90,61,0.07) 0%, transparent 55%);
}
#swanec-cal-root .sc-wrapper {
position: relative;
z-index: 1;
max-width: 1100px;
margin: 0 auto;
padding: 0 24px 72px;
}
/* HEADER */
#swanec-cal-root .sc-header {
text-align: center;
padding: 52px 0 36px;
border-bottom: 1px solid rgba(90,138,106,0.22);
margin-bottom: 44px;
}
#swanec-cal-root .sc-badge {
display: inline-flex;
align-items: center;
gap: 9px;
background: var(–sc-forest);
color: var(–sc-mist);
padding: 5px 18px 5px 10px;
border-radius: 100px;
font-size: 11px;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
margin-bottom: 20px;
}
#swanec-cal-root .sc-badge-dot {
width: 8px; height: 8px;
background: var(–sc-fern);
border-radius: 50%;
animation: sc-pulse 2.2s ease-in-out infinite;
}
@keyframes sc-pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.4; transform: scale(0.78); }
}
#swanec-cal-root .sc-header h1 {
font-family: ‘Playfair Display’, Georgia, serif !important;
font-size: clamp(28px, 5vw, 50px) !important;
font-weight: 700 !important;
color: var(–sc-forest) !important;
line-height: 1.1 !important;
margin: 0 0 12px !important;
letter-spacing: -0.01em;
}
#swanec-cal-root .sc-header h1 em {
font-style: italic;
color: var(–sc-sage);
}
#swanec-cal-root .sc-header p {
color: var(–sc-sage) !important;
font-size: 15px !important;
font-weight: 300 !important;
max-width: 500px;
margin: 0 auto 16px !important;
line-height: 1.65 !important;
}
#swanec-cal-root .sc-back-link {
display: inline-block;
font-size: 13px;
color: var(–sc-sage) !important;
text-decoration: none !important;
border-bottom: 1px solid rgba(90,138,106,0.3);
padding-bottom: 1px;
transition: color 0.2s, border-color 0.2s;
}
#swanec-cal-root .sc-back-link:hover {
color: var(–sc-moss) !important;
border-color: var(–sc-moss);
}
/* CALENDAR NAV */
#swanec-cal-root .sc-cal-nav {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
}
#swanec-cal-root .sc-cal-nav h2 {
font-family: ‘Playfair Display’, Georgia, serif !important;
font-size: 24px !important;
font-weight: 500 !important;
color: var(–sc-forest) !important;
margin: 0 !important;
}
#swanec-cal-root .sc-nav-btns { display: flex; gap: 8px; }
#swanec-cal-root .sc-nav-btn {
width: 38px; height: 38px;
border: 1.5px solid var(–sc-mist) !important;
background: #fff !important;
border-radius: 50% !important;
cursor: pointer;
display: flex; align-items: center; justify-content: center;
font-size: 15px;
color: var(–sc-forest) !important;
transition: background 0.2s, color 0.2s, border-color 0.2s;
padding: 0 !important;
box-shadow: none !important;
line-height: 1;
}
#swanec-cal-root .sc-nav-btn:hover {
background: var(–sc-forest) !important;
color: #fff !important;
border-color: var(–sc-forest) !important;
}
/* CALENDAR GRID */
#swanec-cal-root .sc-cal-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 1px;
background: var(–sc-mist);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 28px rgba(26,58,42,0.10);
margin-bottom: 44px;
}
#swanec-cal-root .sc-day-label {
background: var(–sc-forest);
color: var(–sc-mist);
text-align: center;
padding: 12px 4px;
font-size: 10px;
font-weight: 500;
letter-spacing: 0.10em;
text-transform: uppercase;
}
#swanec-cal-root .sc-day-cell {
background: #fff;
min-height: 90px;
padding: 9px 7px 7px;
cursor: default;
transition: background 0.12s;
position: relative;
}
#swanec-cal-root .sc-day-cell.sc-has-event { cursor: pointer; }
#swanec-cal-root .sc-day-cell.sc-has-event:hover { background: #f0f7ed; }
#swanec-cal-root .sc-day-cell.sc-empty { background: #f9f8f5; }
#swanec-cal-root .sc-day-num {
font-size: 12px;
font-weight: 500;
color: var(–sc-forest);
margin-bottom: 4px;
width: 26px; height: 26px;
display: flex; align-items: center; justify-content: center;
border-radius: 50%;
}
#swanec-cal-root .sc-day-cell.sc-today .sc-day-num {
background: var(–sc-forest);
color: #fff;
}
#swanec-cal-root .sc-event-pill {
display: block;
background: var(–sc-moss);
color: #fff !important;
font-size: 10px;
padding: 2px 6px;
border-radius: 4px;
margin-bottom: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
transition: background 0.15s;
line-height: 1.5;
border: none !important;
text-decoration: none !important;
font-family: ‘DM Sans’, sans-serif !important;
}
#swanec-cal-root .sc-event-pill:hover { background: var(–sc-forest); }
#swanec-cal-root .sc-event-pill.sc-full { background: var(–sc-bark); opacity: 0.75; }
@media (max-width: 560px) {
#swanec-cal-root .sc-event-pill { display: none; }
#swanec-cal-root .sc-day-cell.sc-has-event::after {
content: ”;
display: block;
width: 6px; height: 6px;
background: var(–sc-moss);
border-radius: 50%;
margin: 3px auto 0;
}
#swanec-cal-root .sc-day-cell { min-height: 58px; padding: 6px 4px; }
}
/* UPCOMING EVENTS */
#swanec-cal-root .sc-section-title {
font-family: ‘Playfair Display’, Georgia, serif !important;
font-size: 22px !important;
font-weight: 500 !important;
color: var(–sc-forest) !important;
margin: 0 0 20px !important;
}
#swanec-cal-root .sc-section-title em {
font-style: italic;
color: var(–sc-sage);
}
#swanec-cal-root .sc-events-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 16px;
margin-bottom: 52px;
}
#swanec-cal-root .sc-event-card {
background: #fff;
border-radius: 14px;
padding: 20px 22px;
border: 1.5px solid transparent;
box-shadow: 0 2px 14px rgba(26,58,42,0.07);
transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
cursor: pointer;
}
#swanec-cal-root .sc-event-card:hover {
border-color: var(–sc-fern);
box-shadow: 0 6px 24px rgba(26,58,42,0.13);
transform: translateY(-2px);
}
#swanec-cal-root .sc-card-date {
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.09em;
color: var(–sc-sage);
margin-bottom: 5px;
}
#swanec-cal-root .sc-card-title {
font-family: ‘Playfair Display’, Georgia, serif !important;
font-size: 16px !important;
font-weight: 500 !important;
color: var(–sc-forest) !important;
margin-bottom: 8px !important;
line-height: 1.3 !important;
}
#swanec-cal-root .sc-card-meta {
font-size: 13px;
color: #6b7a6b;
line-height: 1.6;
margin-bottom: 12px;
}
#swanec-cal-root .sc-card-meta span { display: block; }
#swanec-cal-root .sc-spots-bar {
height: 4px;
background: var(–sc-mist);
border-radius: 2px;
margin-bottom: 6px;
overflow: hidden;
}
#swanec-cal-root .sc-spots-fill {
height: 100%;
background: linear-gradient(90deg, var(–sc-fern), var(–sc-moss));
border-radius: 2px;
transition: width 0.4s ease;
}
#swanec-cal-root .sc-spots-text {
font-size: 11px;
color: var(–sc-sage);
margin-bottom: 14px;
}
#swanec-cal-root .sc-btn-signup {
display: block;
width: 100%;
padding: 10px 16px;
background: var(–sc-forest) !important;
color: var(–sc-cream) !important;
border: none !important;
border-radius: 8px !important;
font-family: ‘DM Sans’, sans-serif !important;
font-size: 13px !important;
font-weight: 500 !important;
cursor: pointer;
letter-spacing: 0.03em;
transition: background 0.2s;
text-align: center;
text-decoration: none !important;
box-shadow: none !important;
}
#swanec-cal-root .sc-btn-signup:hover { background: var(–sc-moss) !important; }
/* FOOTER */
#swanec-cal-root .sc-footer {
text-align: center;
padding-top: 24px;
border-top: 1px solid rgba(200,223,192,0.6);
font-size: 13px;
color: var(–sc-sage);
}
#swanec-cal-root .sc-footer a {
color: var(–sc-moss) !important;
text-decoration: none !important;
font-weight: 500;
border-bottom: 1px solid rgba(45,90,61,0.25);
padding-bottom: 1px;
transition: border-color 0.2s;
}
#swanec-cal-root .sc-footer a:hover { border-color: var(–sc-moss); }
/* ── MODAL ── Lives outside root so position:fixed works in WP */
#swanec-modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(16, 32, 22, 0.60);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
z-index: 99999;
align-items: center;
justify-content: center;
padding: 20px;
}
#swanec-modal-overlay.sc-open { display: flex; }
#swanec-modal-box {
background: #fff;
border-radius: 20px;
padding: 36px 32px 32px;
max-width: 460px;
width: 100%;
position: relative;
box-shadow: 0 24px 72px rgba(26,58,42,0.28);
animation: sc-modal-in 0.24s ease;
max-height: 90vh;
overflow-y: auto;
font-family: ‘DM Sans’, sans-serif;
color: #1a3a2a;
}
@keyframes sc-modal-in {
from { opacity: 0; transform: translateY(16px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
#swanec-modal-close {
position: absolute;
top: 14px; right: 14px;
width: 32px; height: 32px;
border: 1.5px solid #c8dfc0 !important;
border-radius: 50% !important;
background: none !important;
cursor: pointer;
font-size: 14px;
display: flex; align-items: center; justify-content: center;
color: #5a8a6a;
transition: background 0.2s, color 0.2s, border-color 0.2s;
padding: 0 !important;
box-shadow: none !important;
line-height: 1;
}
#swanec-modal-close:hover {
background: #1a3a2a !important;
color: #fff !important;
border-color: #1a3a2a !important;
}
.sc-modal-tag {
display: inline-block;
background: #c8dfc0;
color: #2d5a3d;
font-size: 10px;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
padding: 4px 10px;
border-radius: 100px;
margin-bottom: 10px;
font-family: ‘DM Sans’, sans-serif;
}
.sc-modal-title {
font-family: ‘Playfair Display’, Georgia, serif !important;
font-size: 22px !important;
font-weight: 700 !important;
color: #1a3a2a !important;
margin-bottom: 8px !important;
line-height: 1.2 !important;
}
.sc-modal-detail {
font-size: 13px;
color: #6b7a6b;
margin-bottom: 4px;
font-family: ‘DM Sans’, sans-serif;
}
.sc-modal-desc {
font-size: 14px;
color: #1a3a2a;
line-height: 1.65;
margin: 14px 0 20px;
padding: 14px 16px;
background: #faf8f2;
border-radius: 10px;
font-family: ‘DM Sans’, sans-serif;
}
.sc-form-row { margin-bottom: 13px; }
.sc-form-row label {
display: block;
font-size: 11px;
font-weight: 500;
color: #5a8a6a;
text-transform: uppercase;
letter-spacing: 0.07em;
margin-bottom: 5px;
font-family: ‘DM Sans’, sans-serif;
}
.sc-form-row input,
.sc-form-row select {
width: 100%;
padding: 10px 13px;
border: 1.5px solid #c8dfc0 !important;
border-radius: 8px !important;
font-family: ‘DM Sans’, sans-serif !important;
font-size: 14px !important;
color: #1a3a2a !important;
background: #fff !important;
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
-webkit-appearance: none;
appearance: none;
box-shadow: none !important;
}
.sc-form-row input:focus,
.sc-form-row select:focus {
border-color: #7aad82 !important;
box-shadow: 0 0 0 3px rgba(122,173,130,0.15) !important;
}
.sc-form-row-split {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
@media (max-width: 440px) {
.sc-form-row-split { grid-template-columns: 1fr; }
#swanec-modal-box { padding: 28px 18px 24px; }
}
.sc-btn-primary {
display: block;
width: 100%;
padding: 13px 20px;
background: #1a3a2a !important;
color: #f4f0e6 !important;
border: none !important;
border-radius: 10px !important;
font-family: ‘DM Sans’, sans-serif !important;
font-size: 15px !important;
font-weight: 500 !important;
cursor: pointer;
margin-top: 8px;
transition: background 0.2s;
letter-spacing: 0.02em;
text-align: center;
box-shadow: none !important;
}
.sc-btn-primary:hover { background: #2d5a3d !important; }
.sc-success {
text-align: center;
padding: 20px 0 8px;
display: none;
}
.sc-success-icon {
width: 64px; height: 64px;
background: linear-gradient(135deg, #7aad82, #2d5a3d);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 30px;
margin: 0 auto 16px;
}
.sc-success h3 {
font-family: ‘Playfair Display’, Georgia, serif !important;
font-size: 22px !important;
font-weight: 700 !important;
color: #1a3a2a !important;
margin-bottom: 8px !important;
}
.sc-success p {
color: #5a8a6a !important;
font-size: 14px !important;
line-height: 1.6 !important;
font-family: ‘DM Sans’, sans-serif;
}
(function () {
‘use strict’;
var EVENTS = [
{
id: 1,
title: “Invasive Species Removal \u2014 Lake Wheeler”,
date: “2026-03-07”,
time: “9:00 AM \u2013 12:00 PM”,
location: “Lake Wheeler Rd, Raleigh, NC”,
type: “Removal”,
spots: 15,
registered: 4,
description: “Join us for a morning of removing Japanese Honeysuckle and English Ivy along the Lake Wheeler shoreline. Gloves and tools provided. Wear sturdy shoes and bring plenty of water.”
},
{
id: 2,
title: “Native Plant Education Walk”,
date: “2026-03-14”,
time: “10:00 AM \u2013 11:30 AM”,
location: “Crowder District Park, Apex, NC”,
type: “Education”,
spots: 25,
registered: 11,
description: “A guided nature walk to learn how to identify native vs. invasive plant species in southern Wake County. Great for all ages and experience levels.”
},
{
id: 3,
title: “Spring Planting Day”,
date: “2026-04-04”,
time: “8:30 AM \u2013 1:00 PM”,
location: “White Oak Creek Greenway, Cary, NC”,
type: “Planting”,
spots: 20,
registered: 8,
description: “Help us restore native vegetation along White Oak Creek. We’ll be planting native grasses and wildflowers. Lunch provided for all volunteers!”
},
{
id: 4,
title: “Kudzu Blitz \u2014 Community Event”,
date: “2026-04-18”,
time: “9:00 AM \u2013 2:00 PM”,
location: “Bass Lake Park, Holly Springs, NC”,
type: “Removal”,
spots: 30,
registered: 22,
description: “Our largest single-day kudzu removal event of the season. All skill levels welcome \u2014 stations for every activity level. Lunch and refreshments provided.”
},
{
id: 5,
title: “School Outreach: Woodland Academy”,
date: “2026-05-09”,
time: “1:00 PM \u2013 3:00 PM”,
location: “Woodland Academy, Fuquay-Varina, NC”,
type: “Education”,
spots: 10,
registered: 3,
description: “Volunteers needed to help present our invasive species curriculum to 4th and 5th graders. No teaching experience required \u2014 all materials and talking points provided.”
},
{
id: 6,
title: “Restoration Survey \u2014 Jordan Lake”,
date: “2026-05-23”,
time: “8:00 AM \u2013 11:00 AM”,
location: “Jordan Lake State Recreation Area, Apex, NC”,
type: “Survey”,
spots: 12,
registered: 12,
description: “Help document the progress of our 2025 restoration sites around Jordan Lake using our mobile survey app. Waitlist is open!”
}
];
var MONTHS = [“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”];
var DAYS = [“Sun”,”Mon”,”Tue”,”Wed”,”Thu”,”Fri”,”Sat”];
var curYear = 2026;
var curMonth = 2;
function qs(id) { return document.getElementById(id); }
function eventsOn(str) { return EVENTS.filter(function(e){return e.date===str;}); }
function fmtDate(str, opts) { return new Date(str+’T12:00′).toLocaleDateString(‘en-US’, opts); }
function renderCalendar() {
qs(‘sc-month-title’).textContent = MONTHS[curMonth] + ‘ ‘ + curYear;
var grid = qs(‘sc-cal-grid’);
grid.innerHTML = ”;
DAYS.forEach(function(d) {
var el = document.createElement(‘div’);
el.className = ‘sc-day-label’;
el.setAttribute(‘role’,’columnheader’);
el.textContent = d;
grid.appendChild(el);
});
var firstDay = new Date(curYear, curMonth, 1).getDay();
var daysInMonth = new Date(curYear, curMonth+1, 0).getDate();
var today = new Date();
for (var i = 0; i < firstDay; i++) {
var b = document.createElement('div');
b.className = 'sc-day-cell sc-empty';
b.setAttribute('role','gridcell');
grid.appendChild(b);
}
for (var d = 1; d = ev.spots ? ‘ sc-full’ : ”);
pill.textContent = ev.title;
pill.setAttribute(‘role’,’button’);
pill.setAttribute(‘tabindex’,’0′);
pill.setAttribute(‘aria-label’,’Open: ‘+ev.title);
(function(id){
pill.addEventListener(‘click’,function(e){e.stopPropagation();openModal(id);});
pill.addEventListener(‘keydown’,function(e){if(e.key===’Enter’||e.key===’ ‘){e.preventDefault();openModal(id);}});
})(ev.id);
cell.appendChild(pill);
});
grid.appendChild(cell);
}
}
function renderList() {
var list = qs(‘sc-events-list’);
var now = new Date();
var upcoming = EVENTS.filter(function(e){return new Date(e.date+’T23:59′)>=now;})
.sort(function(a,b){return new Date(a.date)-new Date(b.date);});
list.innerHTML = ”;
upcoming.forEach(function(ev) {
var pct = Math.round((ev.registered/ev.spots)*100);
var isFull = ev.registered >= ev.spots;
var ds = fmtDate(ev.date, {weekday:’long’,month:’long’,day:’numeric’});
var card = document.createElement(‘div’);
card.className = ‘sc-event-card’;
card.setAttribute(‘role’,’button’);
card.setAttribute(‘tabindex’,’0′);
card.setAttribute(‘aria-label’,’View: ‘+ev.title);
card.innerHTML =
‘
SWANEC 2026
Volunteer Event Calendar
South Wake Area Native Ecosystem Conservation — browse events, check availability, and sign up to volunteer.
← Back to SWANEC.orgUpcoming Events
You’re signed up!
We’ll send confirmation details to your email shortly.
‘+ds+’
‘+
‘‘+ev.title+’
‘+
‘‘+
‘‘+
‘‘+(isFull ? ‘⚠ Full — waitlist available’ : (ev.spots-ev.registered)+’ of ‘+ev.spots+’ spots remaining’)+’
‘+
‘‘;
(function(id){
card.addEventListener(‘click’,function(){openModal(id);});
card.addEventListener(‘keydown’,function(e){if(e.key===’Enter’||e.key===’ ‘){e.preventDefault();openModal(id);}});
card.querySelector(‘.sc-btn-signup’).addEventListener(‘click’,function(e){e.stopPropagation();openModal(id);});
})(ev.id);
list.appendChild(card);
});
}
function openModal(id) {
var ev = EVENTS.find(function(e){return e.id===id;});
var isFull = ev.registered >= ev.spots;
var ds = fmtDate(ev.date, {weekday:’long’,month:’long’,day:’numeric’,year:’numeric’});
qs(‘sc-success-screen’).style.display = ‘none’;
var body = qs(‘sc-modal-body’);
body.style.display = ‘block’;
body.innerHTML =
‘‘+ev.type+’
‘+
‘‘+ev.title+’
‘+ ‘📅 ‘+ds+’
‘+
‘🕐 ‘+ev.time+’
‘+
‘📍 ‘+ev.location+’
‘+
‘‘+ev.description+’
‘+
”+
‘‘+
‘
‘+
‘First Name
‘+
‘Last Name
‘+
‘Email
‘+
‘Phone (optional)
‘+
‘Experience Level’+
”+
‘First time volunteer’+
‘Some experience’+
‘Regular SWANEC volunteer’+
”+
‘
‘+
‘‘+
”;
qs(‘sc-form’).addEventListener(‘submit’, function(e) {
e.preventDefault();
var fname = qs(‘sc-fname’).value.trim();
var email = qs(‘sc-email’).value.trim();
if (!fname || !email) { alert(‘Please enter your name and email address.’); return; }
body.style.display = ‘none’;
var s = qs(‘sc-success-screen’);
s.style.display = ‘block’;
qs(‘sc-success-msg’).textContent =
‘You\’re signed up for “‘+ev.title+’” on ‘+fmtDate(ev.date,{month:’long’,day:’numeric’})+’. Confirmation will be sent to ‘+email+’.’;
});
qs(‘swanec-modal-overlay’).classList.add(‘sc-open’);
setTimeout(function(){qs(‘swanec-modal-close’).focus();}, 60);
}
function closeModal() {
qs(‘swanec-modal-overlay’).classList.remove(‘sc-open’);
}
qs(‘sc-prev-btn’).addEventListener(‘click’, function(){
curMonth–; if(curMonth11){curMonth=0;curYear++;} renderCalendar(); renderList();
});
qs(‘swanec-modal-close’).addEventListener(‘click’, closeModal);
qs(‘swanec-modal-overlay’).addEventListener(‘click’, function(e){ if(e.target===this) closeModal(); });
document.addEventListener(‘keydown’, function(e){ if(e.key===’Escape’) closeModal(); });
renderCalendar();
renderList();
}());