/* ==================================
   Mountain View Missions - Widget Styles
   ================================== */

/* Common Styles */
.mvm-trips-grid,
.mvm-missionary-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.mvm-columns-1 { grid-template-columns: repeat(1, 1fr); }
.mvm-columns-2 { grid-template-columns: repeat(2, 1fr); }
.mvm-columns-3 { grid-template-columns: repeat(3, 1fr); }
.mvm-columns-4 { grid-template-columns: repeat(4, 1fr); }
.mvm-columns-5 { grid-template-columns: repeat(5, 1fr); }

/* Responsive */
@media (max-width: 1024px) {
    .mvm-columns-4,
    .mvm-columns-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mvm-columns-3,
    .mvm-columns-4,
    .mvm-columns-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .mvm-trips-grid,
    .mvm-missionary-grid { grid-template-columns: repeat(1, 1fr); }
}

/* Trip Cards */
.mvm-trip-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvm-trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mvm-trip-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.mvm-trip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mvm-trip-content {
    padding: 20px;
}

.mvm-trip-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.mvm-trip-destination,
.mvm-trip-dates,
.mvm-trip-price {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.mvm-trip-spots {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    margin: 10px 0;
}

.mvm-trip-spots.high {
    background: #d4edda;
    color: #155724;
}

.mvm-trip-spots.medium {
    background: #fff3cd;
    color: #856404;
}

.mvm-trip-spots.low {
    background: #f8d7da;
    color: #721c24;
}

.mvm-trip-button {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.mvm-trip-button:hover {
    background: #0056b3;
    color: #ffffff;
}

/* Trips List */
.mvm-trips-list {}

.mvm-trip-list-item {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.mvm-trip-list-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.mvm-trip-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mvm-trip-list-content {
    flex: 1;
}

.mvm-trip-list-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.mvm-trip-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.mvm-trip-list-excerpt {
    margin: 15px 0;
    color: #666;
    line-height: 1.6;
}

.mvm-trip-list-button {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.mvm-trip-list-button:hover {
    background: #0056b3;
    color: #ffffff;
}

/* Missionary Cards */
.mvm-missionary-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvm-missionary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mvm-missionary-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}

.mvm-missionary-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mvm-missionary-photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
}

.mvm-missionary-name {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.mvm-missionary-destination {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.mvm-progress-container {
    margin: 15px 0;
}

.mvm-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.mvm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
}

.mvm-progress-text {
    font-size: 13px;
    color: #666;
}

.mvm-missionary-amount {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.mvm-missionary-button {
    display: inline-block;
    padding: 10px 20px;
    background: #28a745;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.mvm-missionary-button:hover {
    background: #218838;
    color: #ffffff;
}

/* Single Missionary Card */
.mvm-missionary-single {
    display: flex;
    gap: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

.mvm-missionary-single.mvm-layout-vertical {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mvm-missionary-photo-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mvm-missionary-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mvm-missionary-photo-placeholder-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: bold;
    color: #ffffff;
}

.mvm-missionary-info {
    flex: 1;
}

.mvm-missionary-name-large {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.mvm-missionary-trip-info {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.mvm-missionary-story {
    margin: 20px 0;
    color: #666;
    line-height: 1.8;
}

.mvm-funding-section {
    margin: 30px 0;
}

.mvm-funding-section h3 {
    margin: 00 15px 0;
font-size: 20px;
font-weight: 600;
color: #333;
}.mvm-progress-container-large {
margin: 20px 0;
}.mvm-progress-bar-large {
width: 100%;
height: 30px;
background: #e9ecef;
border-radius: 15px;
overflow: hidden;
}.mvm-funding-stats {
display: flex;
gap: 30px;
margin: 20px 0;
}.mvm-stat {
display: flex;
flex-direction: column;
}.mvm-stat-label {
font-size: 13px;
color: #999;
text-transform: uppercase;
letter-spacing: 0.5px;
}.mvm-stat-value {
font-size: 24px;
font-weight: 700;
color: #333;
}.mvm-missionary-button-large {
display: inline-block;
padding: 15px 40px;
background: #28a745;
color: #ffffff;
text-decoration: none;
border-radius: 8px;
margin-top: 20px;
font-size: 18px;
font-weight: 600;
transition: background 0.3s ease;
}.mvm-missionary-button-large:hover {
background: #218838;
color: #ffffff;
}/* Progress Widget */
.mvm-progress-widget {
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
}.mvm-progress-title {
margin: 0 0 15px 0;
font-size: 20px;
font-weight: 600;
color: #333;
}.mvm-progress-percentage {
padding: 0 10px;
color: #ffffff;
font-weight: 600;
font-size: 13px;
}.mvm-progress-amounts {
display: flex;
justify-content: space-between;
margin-top: 10px;
font-size: 14px;
color: #666;
}/* Donate Button */
.mvm-donate-button-wrapper {
margin: 20px 0;
}.mvm-donate-button {
display: inline-block;
text-decoration: none;
font-weight: 600;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
}.mvm-donate-button.mvm-size-sm {
padding: 8px 16px;
font-size: 14px;
}.mvm-donate-button.mvm-size-md {
padding: 12px 24px;
font-size: 16px;
}.mvm-donate-button.mvm-size-lg {
padding: 16px 32px;
font-size: 18px;
}/* Mobile Responsive */
@media (max-width: 768px) {
.mvm-missionary-single {
flex-direction: column;
align-items: center;
text-align: center;
}.mvm-trip-list-item {
    flex-direction: column;
}.mvm-trip-list-image {
    width: 100%;
    height: 200px;
}.mvm-funding-stats {
    flex-direction: column;
    gap: 15px;
}
}

/* Add to the end of widgets.css */

/* Past Trip Styles */
.mvm-trip-past {
    opacity: 0.85;
}

.mvm-trip-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.mvm-status-completed {
    background: #6c757d;
    color: #ffffff;
}

.mvm-trip-image {
    position: relative;
}

.mvm-trip-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mvm-trip-image-overlay span {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mvm-trip-participants {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.mvm-button-secondary {
    background: #6c757d !important;
}

.mvm-button-secondary:hover {
    background: #5a6268 !important;
}

/* List view past trip styles */
.mvm-trip-list-item.mvm-trip-past {
    opacity: 0.85;
    border-left: 4px solid #6c757d;
}

.mvm-trip-list-item .mvm-trip-status-badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
}