/* ===================================
   POWERLESS CAR CLUBS - SHORTCODES CSS
   =================================== */

/* === Base Styles === */
.pcc-section-title {
    font-size: 1.8rem;
    color: #212121;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d32f2f;
    display: inline-block;
}

.pcc-no-results {
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
}

.pcc-no-results a {
    color: #d32f2f;
    font-weight: 600;
}

/* === Grid System === */
.pcc-clubs-grid,
.pcc-events-grid,
.pcc-classifieds-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 30px;
}

.pcc-columns-2 { grid-template-columns: repeat(2, 1fr); }
.pcc-columns-3 { grid-template-columns: repeat(3, 1fr); }
.pcc-columns-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .pcc-columns-3,
    .pcc-columns-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .pcc-columns-2,
    .pcc-columns-3,
    .pcc-columns-4 { grid-template-columns: 1fr; }
}

/* === Club Cards === */
.pcc-club-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.pcc-club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pcc-club-card.pcc-featured {
    border: 2px solid #667eea;
}

.pcc-featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.pcc-club-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.pcc-club-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    overflow: hidden;
}

.pcc-club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcc-club-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.pcc-club-info {
    padding: 20px;
}

.pcc-club-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #212121;
}

.pcc-club-location {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
}

.pcc-club-excerpt {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 10px 0;
}

.pcc-club-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.pcc-badge-starter-spark {
    background: #e3f2fd;
    color: #1565c0;
}

.pcc-badge-rolling-thunder {
    background: #f3e5f5;
    color: #7b1fa2;
}

.pcc-badge-full-throttle-elite {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* === Club Spotlight === */
.pcc-spotlight {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.pcc-spotlight-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 25px;
}

.pcc-spotlight-label {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.pcc-spotlight-content {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.pcc-spotlight-image {
    flex-shrink: 0;
}

.pcc-spotlight-image img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
}

.pcc-spotlight-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #212121;
}

.pcc-spotlight-info .pcc-location {
    color: #666;
    margin-bottom: 10px;
}

.pcc-spotlight-info .pcc-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .pcc-spotlight-content {
        flex-direction: column;
        text-align: center;
    }
}

/* === Events Cards === */
.pcc-event-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pcc-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.pcc-event-date-box {
    background: #d32f2f;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    flex-shrink: 0;
}

.pcc-event-date-box .pcc-month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.pcc-event-date-box .pcc-day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-top: 5px;
}

.pcc-event-details h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #212121;
}

.pcc-event-club {
    margin: 0 0 5px 0;
}

.pcc-event-club a {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 500;
}

.pcc-event-club a:hover {
    text-decoration: underline;
}

.pcc-event-location,
.pcc-event-time {
    color: #666;
    font-size: 0.9rem;
    margin: 3px 0;
}

.pcc-rsvp-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 10px;
}

/* === Events Widget (Sidebar) === */
.pcc-events-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.pcc-widget-title {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #212121;
    padding-bottom: 10px;
    border-bottom: 2px solid #d32f2f;
}

.pcc-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pcc-event-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.pcc-event-item:last-child {
    border-bottom: none;
}

.pcc-event-item .pcc-event-date {
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #d32f2f;
    flex-shrink: 0;
}

.pcc-event-item .pcc-event-info strong {
    display: block;
    color: #212121;
    margin-bottom: 3px;
}

.pcc-event-item .pcc-event-info span {
    color: #666;
    font-size: 0.85rem;
}

.pcc-view-all {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #d32f2f;
    font-weight: 600;
    text-decoration: none;
}

.pcc-view-all:hover {
    text-decoration: underline;
}

/* === Classifieds Cards === */
.pcc-classified-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.pcc-classified-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pcc-classified-card.pcc-premium {
    border: 2px solid #ffc107;
}

.pcc-premium-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #212121;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.pcc-classified-image {
    height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcc-classified-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcc-image-placeholder {
    color: #999;
    font-size: 0.9rem;
}

.pcc-classified-info {
    padding: 20px;
}

.pcc-classified-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #212121;
}

.pcc-classified-price {
    color: #d32f2f;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.pcc-classified-seller {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 5px 0;
}

.pcc-classified-seller a {
    color: #d32f2f;
    text-decoration: none;
}

.pcc-classified-category {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    margin-top: 5px;
}

/* === Homepage Banner === */
.pcc-homepage-banner {
    background: #212121;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}

.pcc-homepage-banner h3 {
    color: white;
    margin: 0 0 20px 0;
    font-size: 1.3rem;
}

.pcc-banner-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pcc-banner-item {
    display: block;
}

.pcc-banner-item img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pcc-banner-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* === Join CTA === */
.pcc-join-cta {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}

.pcc-join-cta h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.pcc-join-cta p {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.pcc-join-cta .pcc-btn {
    background: white;
    color: #d32f2f;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.pcc-join-cta .pcc-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* Alternative CTA style */
.pcc-cta-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* === Pagination === */
.pcc-pagination {
    text-align: center;
    margin-top: 30px;
}

.pcc-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.pcc-pagination .page-numbers:hover,
.pcc-pagination .page-numbers.current {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
}

/* === Buttons === */
.pcc-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcc-btn-primary {
    background: #d32f2f;
    color: white;
}

.pcc-btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}
