/*
Theme Name: Hello Elementor Child - SaasBridge Events
Theme URI: https://saasbridge.com
Template: hello-elementor
Author: SaasBridge Team
Author URI: https://saasbridge.com
Description: Child theme for SaasBridge with unified Events (Etkinlikler) custom post type system. Merges meet-up and webinar into a single, flexible events platform with conditional fields based on event type.
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child
*/

/* ==========================================================================
   CSS Variables - Dark Theme
   ========================================================================== */
:root {
    --etk-bg-primary: #05071B;
    --etk-bg-secondary: #0A0D24;
    --etk-bg-card: #0D1033;
    --etk-accent-blue: #2766E4;
    --etk-accent-purple: #5A33FF;
    --etk-accent-cyan: #5FFFE6;
    --etk-text-primary: #F0F0F0;
    --etk-text-secondary: #A0A4B8;
    --etk-text-muted: #6B7094;
    --etk-border-subtle: rgba(255, 255, 255, 0.08);
    --etk-border-hover: rgba(255, 255, 255, 0.15);
    --etk-gradient-accent: linear-gradient(135deg, #2766E4 0%, #5A33FF 100%);
}

/* ==========================================================================
   Single Etkinlik - Modern Dark Theme
   ========================================================================== */

.single-etkinlik {
    background: var(--etk-bg-primary);
    color: var(--etk-text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== HERO SECTION - TWO COLUMN LAYOUT ===== */
.single-etkinlik .event-hero {
    background: var(--etk-bg-primary);
    padding: 40px 0 60px;
}

.single-etkinlik .hero-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Left Column - Content */
.single-etkinlik .hero-left {
    flex: 1 1 50% !important;
    min-width: 0;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

/* Right Column - Image */
.single-etkinlik .hero-right {
    flex: 1 1 50% !important;
    min-width: 0;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-etkinlik .hero-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.single-etkinlik .hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--etk-accent-blue), var(--etk-accent-purple), var(--etk-accent-cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.single-etkinlik .hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.single-etkinlik .hero-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--etk-bg-card), var(--etk-bg-secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--etk-border-subtle);
}

.single-etkinlik .hero-image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--etk-text-muted);
    opacity: 0.5;
}

/* Breadcrumb */
.single-etkinlik .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.single-etkinlik .breadcrumb a {
    color: var(--etk-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-etkinlik .breadcrumb a:hover {
    color: var(--etk-accent-cyan);
}

.single-etkinlik .breadcrumb span {
    color: var(--etk-text-muted);
}

.single-etkinlik .breadcrumb .current {
    color: var(--etk-text-primary);
}

/* Event Badges */
.single-etkinlik .event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.single-etkinlik .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-etkinlik .badge svg {
    width: 14px;
    height: 14px;
}

.single-etkinlik .badge-status {
    background: rgba(95, 255, 230, 0.15);
    color: var(--etk-accent-cyan);
    border: 1px solid rgba(95, 255, 230, 0.3);
}

.single-etkinlik .badge-status.past {
    background: rgba(255, 255, 255, 0.08);
    color: var(--etk-text-secondary);
    border-color: var(--etk-border-subtle);
}

.single-etkinlik .badge-status.upcoming {
    background: rgba(95, 255, 230, 0.15);
    color: var(--etk-accent-cyan);
    border: 1px solid rgba(95, 255, 230, 0.3);
}

/* Event Type Badge Colors - Override */
.single-etkinlik .event-type-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
}

.single-etkinlik .event-type-badge.event-type-summit {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.single-etkinlik .event-type-badge.event-type-meetup {
    background: #4CAF50;
}

.single-etkinlik .event-type-badge.event-type-webinar {
    background: #2196F3;
}

.single-etkinlik .event-type-badge.event-type-demoday {
    background: #FF9800;
}

.single-etkinlik .event-type-badge.event-type-half-summit {
    background: #E91E63;
}

/* Event Title */
.single-etkinlik .event-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--etk-text-primary);
}

/* Event Tags */
.single-etkinlik .event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    margin-top: 0;
}

.single-etkinlik .event-tags .tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--etk-border-subtle);
    border-radius: 6px;
    font-size: 12px;
    color: var(--etk-text-secondary);
}

/* Quick Info */
.single-etkinlik .event-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
}

.single-etkinlik .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single-etkinlik .info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--etk-border-subtle);
    border-radius: 12px;
    color: var(--etk-accent-cyan);
    flex-shrink: 0;
}

.single-etkinlik .info-icon svg {
    width: 20px;
    height: 20px;
}

.single-etkinlik .info-text {
    display: flex;
    flex-direction: column;
}

.single-etkinlik .info-label {
    font-size: 11px;
    color: var(--etk-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-etkinlik .info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--etk-text-primary);
}

/* Hero Actions */
.single-etkinlik .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.single-etkinlik .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.single-etkinlik .btn svg {
    width: 18px;
    height: 18px;
}

.single-etkinlik .btn-primary {
    background: var(--etk-gradient-accent);
    color: white;
}

.single-etkinlik .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(90, 51, 255, 0.4);
    color: white;
}

.single-etkinlik .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--etk-text-primary);
    border: 1px solid var(--etk-border-subtle);
}

.single-etkinlik .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--etk-border-hover);
    color: var(--etk-text-primary);
}

/* ===== MAIN CONTENT ===== */
.single-etkinlik .event-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.single-etkinlik .content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding: 64px 0;
}

.single-etkinlik .main-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Content Sections */
.single-etkinlik .content-section {
    background: var(--etk-bg-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--etk-border-subtle);
}

.single-etkinlik .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.single-etkinlik .section-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 51, 255, 0.15);
    border-radius: 10px;
    color: var(--etk-accent-purple);
}

.single-etkinlik .section-icon svg {
    width: 20px;
    height: 20px;
}

.single-etkinlik .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--etk-text-primary);
    margin: 0;
}

/* Event Description */
.single-etkinlik .event-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--etk-text-secondary);
}

.single-etkinlik .event-description p {
    margin-bottom: 16px;
}

.single-etkinlik .event-description p:last-child {
    margin-bottom: 0;
}

.single-etkinlik .event-description strong {
    color: var(--etk-text-primary);
}

.single-etkinlik .event-excerpt {
    font-size: 18px;
    font-weight: 500;
    color: var(--etk-text-primary);
    margin-bottom: 20px;
}

/* Venue Card */
.single-etkinlik .venue-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--etk-border-subtle);
    border-radius: 16px;
}

.single-etkinlik .venue-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    padding: 0;
}

.single-etkinlik .venue-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--etk-text-primary);
    margin-top: 0;
}

.single-etkinlik .venue-address {
    font-size: 14px;
    color: var(--etk-text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.single-etkinlik .venue-address svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--etk-accent-cyan);
}

.single-etkinlik .venue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(95, 255, 230, 0.1);
    border: 1px solid rgba(95, 255, 230, 0.3);
    border-radius: 8px;
    color: var(--etk-accent-cyan);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.single-etkinlik .venue-link:hover {
    background: rgba(95, 255, 230, 0.2);
    color: var(--etk-accent-cyan);
}

.single-etkinlik .venue-link svg {
    width: 16px;
    height: 16px;
}

/* Stream Card */
.single-etkinlik .stream-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(90, 51, 255, 0.1));
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 16px;
}

.single-etkinlik .stream-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2196F3;
    border-radius: 14px;
    color: white;
}

.single-etkinlik .stream-icon svg {
    width: 28px;
    height: 28px;
}

.single-etkinlik .stream-info {
    flex: 1;
    text-align: left;
    padding: 0;
    background: transparent;
}

.single-etkinlik .stream-platform {
    font-size: 13px;
    color: var(--etk-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.single-etkinlik .stream-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--etk-text-primary);
}

.single-etkinlik .stream-link-btn {
    padding: 12px 24px;
    background: #2196F3;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.single-etkinlik .stream-link-btn:hover {
    background: #1976D2;
    color: white;
}

/* Video Embed */
.single-etkinlik .video-embed {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--etk-bg-secondary);
}

.single-etkinlik .video-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* Sponsors Grid */
.single-etkinlik .sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.single-etkinlik .sponsor-logo {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--etk-border-subtle);
    border-radius: 12px;
}

.single-etkinlik .sponsor-logo img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease;
}

.single-etkinlik .sponsor-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Gallery Grid */
.single-etkinlik .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.single-etkinlik .gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.single-etkinlik .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.single-etkinlik .gallery-item:hover img {
    transform: scale(1.08);
}

.single-etkinlik .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* ===== SIDEBAR ===== */
.single-etkinlik .sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Countdown Card */
.single-etkinlik .countdown-card {
    background: linear-gradient(135deg, rgba(39, 102, 228, 0.15), rgba(90, 51, 255, 0.15));
    border: 1px solid rgba(90, 51, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.single-etkinlik .countdown-label {
    font-size: 12px;
    color: var(--etk-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.single-etkinlik .countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.single-etkinlik .countdown-unit {
    text-align: center;
}

.single-etkinlik .countdown-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    padding: 12px 14px;
    border-radius: 10px;
    min-width: 54px;
    display: block;
    color: var(--etk-text-primary);
}

.single-etkinlik .countdown-text {
    font-size: 10px;
    color: var(--etk-text-muted);
    text-transform: uppercase;
    margin-top: 6px;
}

/* Registration Card */
.single-etkinlik .registration-card {
    background: var(--etk-bg-card);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--etk-border-subtle);
    position: sticky;
    top: 24px;
}

.single-etkinlik .registration-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: var(--etk-text-primary);
    margin-top: 0;
}

.single-etkinlik .registration-btn {
    width: 100%;
    padding: 18px;
    margin-bottom: 12px;
}

/* Luma Embed */
.single-etkinlik .luma-embed {
    background: var(--etk-bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--etk-border-subtle);
}

.single-etkinlik .luma-embed iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
    min-height: 400px;
}

/* Agenda Card */
.single-etkinlik .agenda-card {
    background: var(--etk-bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--etk-border-subtle);
}

.single-etkinlik .agenda-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--etk-text-primary);
    margin-top: 0;
}

.single-etkinlik .agenda-btn {
    width: 100%;
}

/* Share Card */
.single-etkinlik .share-card {
    background: var(--etk-bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--etk-border-subtle);
}

.single-etkinlik .share-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--etk-text-primary);
    margin-top: 0;
}

.single-etkinlik .share-buttons {
    display: flex;
    gap: 10px;
}

.single-etkinlik .share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--etk-border-subtle);
    border-radius: 10px;
    color: var(--etk-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.single-etkinlik .share-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--etk-text-primary);
}

.single-etkinlik .share-btn svg {
    width: 20px;
    height: 20px;
}

.single-etkinlik .share-btn.copied {
    background: rgba(95, 255, 230, 0.15);
    border-color: rgba(95, 255, 230, 0.3);
    color: var(--etk-accent-cyan);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .single-etkinlik .hero-container {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .single-etkinlik .hero-left {
        order: 2;
        flex: 1 1 100% !important;
        max-width: 100%;
    }
    
    .single-etkinlik .hero-right {
        order: 1;
        flex: 1 1 100% !important;
        max-width: 100%;
        width: 100%;
    }

    .single-etkinlik .content-grid {
        grid-template-columns: 1fr;
    }

    .single-etkinlik .sidebar {
        position: static;
    }

    .single-etkinlik .registration-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .single-etkinlik .event-hero {
        padding: 24px 0 40px;
    }

    .single-etkinlik .hero-container {
        padding: 0 16px;
    }

    .single-etkinlik .hero-actions {
        flex-direction: column;
    }

    .single-etkinlik .btn {
        width: 100%;
    }

    .single-etkinlik .content-section {
        padding: 24px;
    }

    .single-etkinlik .venue-card {
        flex-direction: column;
    }

    .single-etkinlik .stream-card {
        flex-direction: column;
        text-align: center;
    }

    .single-etkinlik .stream-info {
        text-align: center;
    }

    .single-etkinlik .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-etkinlik .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .single-etkinlik .event-quick-info {
        flex-direction: column;
        gap: 16px;
    }

    .single-etkinlik .countdown-number {
        font-size: 22px;
        padding: 10px 12px;
        min-width: 46px;
    }

    .single-etkinlik .event-badges {
        gap: 8px;
    }

    .single-etkinlik .badge {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .single-etkinlik .event-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   Legacy Styles - Event Type Badges (Archive & Shortcodes)
   ========================================================================== */

.event-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-type-badge.event-type-meetup {
    background-color: #4CAF50;
    color: white;
}

.event-type-badge.event-type-webinar {
    background-color: #2196F3;
    color: white;
}

.event-type-badge.event-type-demoday {
    background-color: #FF9800;
    color: white;
}

.event-type-badge.event-type-summit {
    background-color: #9C27B0;
    color: white;
}

.event-type-badge.event-type-half-summit {
    background-color: #E91E63;
    color: white;
}

/* Event Status Badges */
.event-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.event-status.upcoming {
    background-color: #4CAF50;
    color: white;
}

.event-status.past {
    background-color: #9E9E9E;
    color: white;
}

/* ==========================================================================
   Archive Page Styles
   ========================================================================== */

/* Time Filter */
.time-filter {
    display: flex;
    gap: 15px;
    margin: 25px 0 15px;
    justify-content: center;
}

.time-filter-btn {
    padding: 12px 30px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.time-filter-btn:hover {
    border-color: #2196F3;
    color: #2196F3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.time-filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* Event Type Filter */
.event-type-filter {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.event-type-filter .filter-btn {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.event-type-filter .filter-btn:hover {
    border-color: #2196F3;
    color: #2196F3;
}

.event-type-filter .filter-btn.active {
    background-color: #2196F3;
    color: white;
    border-color: #2196F3;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Event Card */
.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.event-card.event-past {
    opacity: 0.85;
}

.event-card.event-past:hover {
    opacity: 1;
}

.event-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.05);
}

.event-past-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.event-card-date {
    font-size: 14px;
    color: #666;
}

.event-card-title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.4;
}

.event-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-card-title a:hover {
    color: #2196F3;
}

.event-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.event-card-link {
    align-self: flex-start;
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.event-card-link:hover {
    color: #1976D2;
    transform: translateX(5px);
}

.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.no-events-message p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   Shortcode Styles
   ========================================================================== */

.etkinlikler-shortcode {
    display: grid;
    gap: 30px;
    margin: 30px auto;
    max-width: 1400px;
    justify-items: center;
}

.etkinlikler-grid-1 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 30px auto;
}

.etkinlikler-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
    justify-content: center;
}

.etkinlikler-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    justify-content: center;
}

.etkinlikler-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
}

.etkinlikler-shortcode:not(.light-bg) .etkinlik-shortcode-item {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.etkinlik-shortcode-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
}

.etkinlik-shortcode-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.etkinlik-shortcode-item.event-past {
    opacity: 0.9;
}

.etkinlik-shortcode-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.etkinlik-shortcode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.etkinlik-shortcode-item:hover .etkinlik-shortcode-image img {
    transform: scale(1.05);
}

.etkinlik-shortcode-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.etkinlik-shortcode-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.etkinlik-shortcode-date {
    font-size: 13px;
    color: #666;
}

.etkinlik-shortcode-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.4;
}

.etkinlik-shortcode-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.etkinlik-shortcode-title a:hover {
    color: #2196F3;
}

.etkinlik-shortcode-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.etkinlik-shortcode-link {
    align-self: flex-start;
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.etkinlik-shortcode-link:hover {
    color: #1976D2;
    transform: translateX(5px);
}

/* Single Shortcode */
.etkinlik-single-shortcode {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.etkinlik-single-image {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.etkinlik-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.etkinlik-single-content {
    padding: 30px;
}

.etkinlik-single-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.etkinlik-single-date {
    font-size: 14px;
    color: #666;
}

.etkinlik-single-title {
    margin: 0 0 15px;
    font-size: 28px;
    line-height: 1.3;
}

.etkinlik-single-title a {
    color: #333;
    text-decoration: none;
}

.etkinlik-single-title a:hover {
    color: #2196F3;
}

.etkinlik-single-excerpt {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.etkinlik-single-link {
    display: inline-block;
    padding: 12px 30px;
    background: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.etkinlik-single-link:hover {
    background: #1976D2;
}

/* Empty States */
.etkinlikler-shortcode-empty,
.etkinlik-shortcode-error {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
}

/* Responsive for Shortcodes */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .etkinlikler-grid-2,
    .etkinlikler-grid-3,
    .etkinlikler-grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .etkinlik-single-title {
        font-size: 22px;
    }

    .etkinlik-single-content {
        padding: 20px;
    }
}

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

    .etkinlik-shortcode-item {
        max-width: 100%;
    }
}
