/*!
Theme Name: Mcwwa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mcwwa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Mcwwa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

:root {
    --primary-blue: #1e3a8a; /* Professional Water Blue */
    --heritage-green: #4d7c0f; /* Modernized Heritage Green */
    --action-orange: #c2410c; /* Refined Action Orange */
    --bg-clean: #f8fafc; /* Crisp Slate White */
    --text-main: #1e293b; /* Deep Charcoal */
    --text-muted: #64748b;
}

body {
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 1.25rem 0;
    border-bottom: 4px solid var(--heritage-green);
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-blue) !important;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    margin-left: 1.2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}
.nav-link:hover {
    color: var(--heritage-green) !important;
}
.btn-join {
    background-color: var(--action-orange);
    color: white !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}
.btn-join:hover {
    background-color: #9a3412;
    transform: translateY(-1px);
}

/* Footer Redesign - High Legibility */
footer {
    background-color: #0f172a; /* Deep Navy Black */
    color: #f1f5f9;
    padding: 5rem 0 0;
    border-top: 4px solid var(--heritage-green);
}
footer h5 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}
footer p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}
footer ul li {
    margin-bottom: 0.75rem;
}
footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 400;
}
footer a:hover {
    color: var(--heritage-green);
    padding-left: 5px;
}
.footer-bottom {
    margin-top: 5rem;
    padding: 2rem 0;
    background-color: #020617;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
}
.contact-info i {
    color: var(--heritage-green);
    margin-right: 10px;
    font-size: 1.1rem;
}
.footer-logo {
    font-weight: 800;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.footer_links ul{
    padding-left: 0;
    list-style: none;
}

/* Home Page */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 160px 0;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    font-weight: 400;
}

/* Member Bar - Infinite Scroll */
.member-bar {
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.member-bar:before, .member-bar:after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.member-bar:before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}
.member-bar:after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}
.member-scroll {
    display: inline-block;
    animation: scroll 40s linear infinite;
}
.member-logo {
    display: inline-block;
    height: 60px;
    width: auto;
    margin: 0 2rem;
    vertical-align: middle;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/*Home Card Section */
.home-card-section {
    padding: 5rem 0;
    background-color: var(--bg-clean);
}
.home-card-section .card {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 8px;
}
.home-card-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.home-card-section .card-header {
    background-color: white;
    border-bottom: 3px solid var(--heritage-green);
    font-weight: 800;
    color: var(--primary-blue);
    padding: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.home-card-section .card-body {
    padding: 2rem;
}
.home-card-section .card-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Home About Section */
.about-section {
    padding: 7rem 0;
}
.about-section h2 {
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}
.about-divider {
    width: 60px;
    height: 4px;
    background-color: var(--heritage-green);
    margin: 0 auto 2rem;
}

/* Sub-page Header */
.page-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0;
    margin-bottom: 4rem;
}
.page-header h1 {
    font-weight: 800;
    margin-bottom: 0;
}

/* Officer Cards */
.officer-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    background: white;
}
.officer-card:hover {
    border-color: var(--heritage-green);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}
.role-badge {
    display: inline-block;
    background-color: var(--bg-clean);
    color: var(--heritage-green);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.officer-name {
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}
.officer-org {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.officer-contact a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}
.officer-contact a:hover {
    color: var(--action-orange);
}
.officer-contact i {
    color: var(--heritage-green);
    width: 20px;
    margin-right: 8px;
}
.officer-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    background-color: var(--bg-clean);
    border: 4px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.officer-photo i {
    font-size: 3rem;
    color: #cbd5e1;
}
.officer_img img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.25rem;
}
/*.membership_sec{
    margin-bottom: 5rem;
}*/
.membership-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 3rem; background: white; transition: all 0.3s; height: 100%; }
.membership-card:hover { border-color: var(--heritage-green); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.price { font-size: 3rem; font-weight: 800; color: var(--primary-blue); margin: 1.5rem 0; }
.benefit-list li { margin-bottom: 1rem; font-size: 0.95rem; }
.benefit-list i { color: var(--heritage-green); margin-right: 10px; }
.footer-spacing {
    margin-top: 5rem;
}

/*.meeting_register_btn .btn-join { background-color: var(--action-orange); color: white !important; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; padding: 0.6rem 1.5rem; border-radius: 4px; }*/
.meeting-card { border: 1px solid var(--heritage-green); border-radius: 12px; padding: 2rem; background-color: #fff; margin-bottom: 3rem; box-shadow: 0 10px 30px rgba(77, 124, 15, 0.05); }
.meeting_wrapper .table-custom thead { background-color: var(--primary-blue); color: white; }
.meeting_wrapper .table-custom th { border: none; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; padding: 1.25rem; }
.meeting_wrapper .table-custom td { padding: 1.25rem; vertical-align: middle; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; }
.meeting_wrapper .btn-download { color: var(--heritage-green); font-weight: 700; text-decoration: none; font-size: 0.85rem; }
.meeting_wrapper .btn-download:hover { color: var(--primary-blue); }


.scholarship-block { border-left: 5px solid var(--heritage-green); padding: 2rem; background-color: var(--bg-clean); border-radius: 0 8px 8px 0; margin-bottom: 3rem; }
.deadline-badge { background-color: var(--action-orange); color: white; padding: 0.5rem 1rem; border-radius: 4px; font-weight: 700; display: inline-block; margin-bottom: 1rem; }


.gallery-item { position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 1.5rem; cursor: pointer; aspect-ratio: 4/3; background-color: #e2e8f0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 58, 138, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: white; font-size: 2rem; }

.gallery-label { font-weight: 700; font-size: 0.9rem; margin-bottom: 2rem; display: block; color: var(--text-muted); }


.partner-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 2.5rem; background: #fff; transition: all 0.3s; display: flex; align-items: center; height: 100%; }
.partner-card:hover { border-color: var(--heritage-green); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.partner-logo-placeholder { width: 80px; height: 80px; background-color: var(--bg-clean); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary-blue); margin-right: 1.5rem; flex-shrink: 0; }
.partner-name { font-weight: 800; color: var(--primary-blue); margin-bottom: 0.25rem; font-size: 1.1rem; }
.partner_img{
    width: 80px;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    height: 100%;
}
.partner_img img{
    width: -webkit-fill-available;
}
.job-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; background: #fff; transition: all 0.3s; margin-bottom: 1.5rem; }
.job-card:hover { border-color: var(--heritage-green); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.job-title { font-weight: 800; color: var(--primary-blue); margin-bottom: 0.5rem; font-size: 1.25rem; }
.job-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.job-meta i { color: var(--heritage-green); margin-right: 5px; }

.vendor-tier { border: 1px solid #e2e8f0; border-radius: 12px; padding: 2.5rem; background: white; transition: all 0.3s; }
.vendor-tier:hover { border-color: var(--heritage-green); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.vendor-tier h3 { color: var(--primary-blue); font-weight: 800; margin-bottom: 1rem; }

/* Directory Entry */
.directory-entry {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    transition: all 0.3s;
    margin-bottom: 1rem;
}
.directory-entry:hover {
    border-color: var(--heritage-green);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
/* Type Badge */
.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.type-badge.member {
    background-color: #dbeafe;
    color: var(--primary-blue);
}
.type-badge.vendor {
    background-color: #dcfce7;
    color: var(--heritage-green);
}

.entry-name {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.entry-org {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}
.entry-contact {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.entry-contact a {
    color: var(--text-main);
    text-decoration: none;
}
.entry-contact a:hover {
    color: var(--action-orange);
}
.entry-contact i {
    color: var(--heritage-green);
    width: 18px;
    margin-right: 6px;
}
.entry-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Letter Navigation */
.letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-clean);
    border-radius: 8px;
}
.letter-nav a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s;
}
.letter-nav a:hover, .letter-nav a.active {
    background: var(--primary-blue);
    color: white;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.filter-tab:hover {
    border-color: var(--heritage-green);
    color: var(--heritage-green);
}
.filter-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* Search Bar */
.search-bar {
    position: relative;
    max-width: 400px;
}
.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
}
.search-bar input:focus {
    outline: none;
    border-color: var(--heritage-green);
}
.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
/* .current-menu-parent > a.nav-link  */
.current-menu-item a.nav-link, .current-menu-item a.dropdown-item{
    color: #4d7c0f !important;
}
.page-header-404{
    padding-top: 100px;
    margin-bottom: 4rem;
    color: #1e3a8a;
}
.page-header-404 h1{ font-weight: 800; }
.logo{
	display: inline-block;
    width: 200px;
    margin: 0;
}
.logo figure, .logo figure img  {
    display: block;
    width: 100%;
}