/* =====================================================
   LCACNJMA Suite — Frontend Styles
   ===================================================== */

/* ─── Shared ──────────────────────────────────────── */
.lcacnjma-section-title {
    font-size: 1.6em;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 24px;
    color: #1a1a2e;
}
.lcacnjma-no-results {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 20px 0;
}
.lcacnjma-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: filter .15s ease, opacity .15s ease;
    cursor: pointer;
    font-size: .95em;
    letter-spacing: .02em;
}
.lcacnjma-btn:hover { opacity: .9; }

/* ─── Donation button ─────────────────────────────── */
.lcacnjma-btn-donate {
    background-color: #c0392b;
    color: #fff !important;
    border: 2px solid #c0392b;
}

/* Nav donate button */
.lcacnjma-nav-donate-btn {
    display: inline-block !important;
    background-color: #c0392b;
    color: #fff !important;
    padding: 7px 18px !important;
    border-radius: 4px;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 8px;
    transition: filter .15s ease;
    line-height: normal !important;
}
.lcacnjma-donate-menu-item {
    display: flex;
    align-items: center;
}

/* ─── Leadership Grid ─────────────────────────────── */
.lcacnjma-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
    margin: 0 0 40px;
}
.lcacnjma-member-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}
.lcacnjma-member-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    transform: translateY(-3px);
}
.lcacnjma-member-photo-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}
.lcacnjma-member-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.lcacnjma-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #006233 0%, #002868 100%);
}
.lcacnjma-photo-placeholder span {
    font-size: 56px;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
}
.lcacnjma-member-info {
    padding: 16px 14px 18px;
}
.lcacnjma-member-name {
    font-size: 1em;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1a1a2e;
    line-height: 1.3;
}
.lcacnjma-member-position {
    font-size: .82em;
    color: #006233;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 10px;
}
.lcacnjma-member-bio {
    font-size: .83em;
    color: #666;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lcacnjma-member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.lcacnjma-member-social a {
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    transition: color .15s, border-color .15s, background .15s;
    text-decoration: none;
}
.lcacnjma-member-social a:hover {
    color: #006233;
    border-color: #006233;
    background: #f0f8f4;
}

/* ─── Events List ─────────────────────────────────── */
.lcacnjma-events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 32px;
}
.lcacnjma-event-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #006233;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.lcacnjma-event-date-badge {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #006233;
    color: #fff;
    border-radius: 6px;
    padding: 8px 4px;
}
.lcacnjma-event-month {
    font-size: .65em;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
}
.lcacnjma-event-day {
    font-size: 1.8em;
    font-weight: 800;
    line-height: 1;
    margin-top: 3px;
}
.lcacnjma-event-body { flex: 1; min-width: 0; }
.lcacnjma-event-title {
    font-size: 1.05em;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a2e;
}
.lcacnjma-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}
.lcacnjma-event-meta-item {
    font-size: .82em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}
.lcacnjma-event-description {
    font-size: .88em;
    color: #444;
    line-height: 1.6;
    margin-bottom: 14px;
}
.lcacnjma-event-description p:last-child { margin-bottom: 0; }
.lcacnjma-btn-event {
    background: #006233;
    color: #fff !important;
    font-size: .85em;
    padding: 8px 18px;
}

/* ─── Video Grid ──────────────────────────────────── */
.lcacnjma-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 0 0 32px;
}
.lcacnjma-video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}
.lcacnjma-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.lcacnjma-video-title {
    margin: 10px 0 0;
    font-size: .88em;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 640px) {
    .lcacnjma-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .lcacnjma-event-card {
        flex-direction: column;
        gap: 12px;
    }
    .lcacnjma-event-date-badge {
        width: 100%;
        flex-direction: row;
        gap: 8px;
        padding: 8px 12px;
        justify-content: flex-start;
    }
    .lcacnjma-event-day { font-size: 1.2em; }
    .lcacnjma-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .lcacnjma-team-grid { grid-template-columns: 1fr; }
}
/* Event Flyer */
.lcacnjma-event-flyer {
    flex-shrink: 0;
    width: 160px;
    align-self: flex-start;
}
.lcacnjma-event-flyer img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: block;
}
@media (max-width: 640px) {
    .lcacnjma-event-flyer {
        width: 100%;
        order: -1;
    }
}

/* Tribe Event Flyer */
.lcacnjma-tribe-flyer-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    display: block;
}
.lcacnjma-tribe-flyer--single {
    max-width: 420px;
    margin: 0 0 28px;
}
.lcacnjma-tribe-flyer--list {
    max-width: 220px;
    float: right;
    margin: 0 0 12px 20px;
}
@media (max-width: 640px) {
    .lcacnjma-tribe-flyer--list {
        float: none;
        max-width: 100%;
        margin: 10px 0 0;
    }
}

/* ── Programs Grid ──────────────────────────────── */
.lcacnjma-program-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 32px;
}
.lcacnjma-filter-btn {
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	padding: 9px 20px;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	color: #1a1a2e;
	transition: background .2s, color .2s, border-color .2s;
}
.lcacnjma-filter-btn.active {
	background: #006233;
	border-color: #006233;
	color: #fff;
}
.lcacnjma-program-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	margin: 0 0 40px;
}
.lcacnjma-program-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	transition: box-shadow .2s ease, transform .2s ease;
}
.lcacnjma-program-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	transform: translateY(-3px);
}
.lcacnjma-program-photo {
	height: 160px;
	overflow: hidden;
}
.lcacnjma-program-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lcacnjma-program-photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	background: linear-gradient(135deg, #1a3a6b, #006233);
	color: rgba(255,255,255,.8);
	font-size: 3em;
	font-weight: 700;
}
.lcacnjma-program-body {
	padding: 20px 22px 24px;
}
.lcacnjma-program-badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .3px;
	color: #fff;
	margin-bottom: 10px;
}
.lcacnjma-program-badge--active  { background: #006233; }
.lcacnjma-program-badge--planned { background: #1a3a6b; }
.lcacnjma-program-badge--partner { background: #b8972b; color: #1a1a2e; }
.lcacnjma-program-title {
	font-size: 1.1em;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 8px;
}
.lcacnjma-program-desc {
	font-size: .9em;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

/* ── Impact Stats Bar ───────────────────────────────── */
.lcacnjma-impact-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	background: #f4f6fa;
	padding: 32px 20px;
	margin: 0 0 40px;
}
.lcacnjma-impact-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 40px;
	border-right: 1px solid #d8d8d8;
	min-width: 160px;
}
.lcacnjma-impact-item:last-child { border-right: none; }
.lcacnjma-impact-icon { font-size: 28px; margin-bottom: 8px; }
.lcacnjma-impact-number { font-size: 2em; font-weight: 800; color: #c8102e; line-height: 1; }
.lcacnjma-impact-label { font-size: 13px; color: #555; margin-top: 6px; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 780px) {
	.lcacnjma-impact-item { border-right: none; border-bottom: 1px solid #d8d8d8; padding: 16px 20px; width: 100%; }
	.lcacnjma-impact-item:last-child { border-bottom: none; }
}

/* ── Governance Teaser ─────────────────────────────── */
.lcacnjma-gov-teaser {
	background: #f4f6fa;
	padding: 48px 20px;
	text-align: center;
}
.lcacnjma-gov-teaser-title {
	font-size: 1.7em;
	font-weight: 800;
	color: #0a2240;
	margin: 0 0 32px;
}
.lcacnjma-gov-teaser-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	max-width: 1100px;
	margin: 0 auto 32px;
	text-align: left;
}
.lcacnjma-gov-teaser-card {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e8e8e8;
	padding: 20px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.lcacnjma-gov-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fff;
}
.lcacnjma-gov-teaser-card h4 { margin: 0 0 4px; font-size: 15px; color: #0a2240; }
.lcacnjma-gov-teaser-card p { margin: 0; font-size: 13px; color: #666; line-height: 1.4; }
.lcacnjma-gov-teaser-cta a {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 4px;
	font-weight: 700;
	text-decoration: none;
	font-size: 14px;
}
