.lunea-works {
    width: 100%;
}

.lunea-works-grid {
    display: grid;
    gap: 34px 28px;
}

.lunea-works-columns-1 .lunea-works-grid {
    grid-template-columns: 1fr;
}

.lunea-works-columns-2 .lunea-works-grid {
    grid-template-columns: repeat(2, 1fr);
}

.lunea-works-columns-3 .lunea-works-grid {
    grid-template-columns: repeat(3, 1fr);
}

.lunea-works-columns-4 .lunea-works-grid {
    grid-template-columns: repeat(4, 1fr);
}

.lunea-work-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lunea-work-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.lunea-work-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f3f4f6;
    transition: transform 0.25s ease;
}

.lunea-work-card-link:hover .lunea-work-image {
    transform: scale(1.025);
}

.lunea-work-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.lunea-work-content {
    padding: 12px 0 0 0;
}

.lunea-work-context {
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 13px;
}

.lunea-work-title {
    margin: 0;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.lunea-work-card-link:hover .lunea-work-title {
    color: #0f4c81;
}

.lunea-work-card::after {
    content: "";
    display: block;
    margin-top: 22px;
    height: 1px;
    background: #e5e7eb;
}

.lunea-works-empty {
    padding: 22px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    color: #6b7280;
}

/* Eski detay sınıfları - geriye uyumluluk */
.lunea-work-detail-page {
    max-width: 1180px;
    margin: 70px auto;
    padding: 0 24px;
}

.lunea-work-detail-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 70px;
}

.lunea-work-detail-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
}

.lunea-work-detail-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.lunea-work-detail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 600;
}

.lunea-work-detail-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 42px 46px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
}

.lunea-work-detail-label {
    margin-bottom: 12px;
    color: #9ca3af;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.lunea-work-detail-card h1 {
    margin: 0 0 18px 0;
    color: #0f4c81;
    font-size: 34px;
    line-height: 1.2;
}

.lunea-work-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 24px;
    color: #6b7280;
    font-size: 14px;
}

.lunea-work-detail-description {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
}

.lunea-work-detail-description p:last-child {
    margin-bottom: 0;
}

.lunea-work-updates-section {
    max-width: 860px;
    margin: 0 auto;
}

.lunea-work-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.lunea-work-section-header h2 {
    margin: 0 0 8px 0;
    color: #111827;
    font-size: 30px;
}

.lunea-work-section-header p {
    margin: 0;
    color: #6b7280;
}

.lunea-work-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.lunea-work-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 18px;
}

.lunea-work-timeline-dot {
    width: 12px;
    height: 12px;
    margin-top: 8px;
    border-radius: 999px;
    background: #0f4c81;
    box-shadow: 0 0 0 6px rgba(15, 76, 129, 0.1);
}

.lunea-work-timeline-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.lunea-work-timeline-date {
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 13px;
}

.lunea-work-timeline-content h3 {
    margin: 0 0 10px 0;
    color: #111827;
    font-size: 20px;
}

.lunea-work-timeline-text {
    color: #4b5563;
    line-height: 1.7;
}

.lunea-work-video-link {
    display: inline-block;
    margin-top: 12px;
    color: #0f4c81;
    font-weight: 600;
    text-decoration: none;
}

.lunea-work-video-link:hover {
    text-decoration: underline;
}

.lunea-work-no-updates {
    padding: 24px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    color: #6b7280;
    text-align: center;
}

.lunea-work-back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.lunea-work-back-link:hover {
    color: #0f4c81;
    text-decoration: underline;
}

/* Çalışma detay sayfası - V3 geniş ekran düzeltmesi */

/* Detayda WordPress sayfa başlığını gizle: "Çalışmalar" başlığı içerik üstünde kalmasın */
body.lunea-work-detail-active .entry-title,
body.lunea-work-detail-active .page-title,
body.lunea-work-detail-active .wp-block-post-title {
    display: none !important;
}

/* Tema dar container kullansa bile çalışma detayını geniş alana taşı */
html body .lunea-work-detail-page-v2 {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: none !important;
    margin-left: calc(50% - min(590px, calc(50vw - 24px))) !important;
    margin-right: 0 !important;
    padding: 32px 0 70px 0 !important;
    box-sizing: border-box !important;
}

html body .lunea-work-back-link {
    display: inline-flex !important;
    margin: 0 0 22px 0 !important;
    color: #e11d48 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

html body .lunea-work-detail-hero-v2 {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr) !important;
    gap: 34px !important;
    align-items: stretch !important;
    margin-top: 0 !important;
}

html body .lunea-work-detail-image-wrap-v2 {
    min-height: 500px !important;
}

html body .lunea-work-detail-image-v2 {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    max-height: 640px !important;
    object-fit: cover !important;
    border-radius: 26px !important;
    display: block !important;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16) !important;
}

html body .lunea-work-detail-placeholder-v2 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-weight: 700 !important;
}

html body .lunea-work-detail-summary-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 26px !important;
    padding: 34px !important;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12) !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

html body .lunea-work-detail-label {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    margin-bottom: 10px !important;
}

html body .lunea-work-detail-summary-card h1 {
    margin: 0 0 16px 0 !important;
    font-size: clamp(30px, 3.1vw, 48px) !important;
    line-height: 1.08 !important;
    color: #0f172a !important;
}

html body .lunea-work-detail-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 18px 0 !important;
}

html body .lunea-work-detail-meta span {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    padding: 7px 11px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

html body .lunea-work-summary-text {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    color: #475569 !important;
}

html body .lunea-work-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

html body .lunea-work-info-item {
    padding: 14px !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
}

html body .lunea-work-info-item strong {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 12px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

html body .lunea-work-info-item span {
    display: block !important;
    font-size: 14px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

html body .lunea-work-main-content-section,
html body .lunea-work-result-section,
html body .lunea-work-updates-section {
    margin-top: 58px !important;
}

html body .lunea-work-section-header {
    text-align: center !important;
    margin-bottom: 18px !important;
}

html body .lunea-work-section-header h2 {
    margin: 0 0 6px 0 !important;
    color: #0f172a !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
}

html body .lunea-work-section-header p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 15px !important;
}

html body .lunea-work-main-content-box,
html body .lunea-work-result-box {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 26px !important;
    padding: clamp(26px, 4vw, 52px) !important;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08) !important;
    color: #334155 !important;
    font-size: 17px !important;
    line-height: 1.9 !important;
}

html body .lunea-work-main-content-box p,
html body .lunea-work-result-box p {
    margin: 0 0 18px 0 !important;
}

html body .lunea-work-main-content-box p:last-child,
html body .lunea-work-result-box p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
    .lunea-works-columns-3 .lunea-works-grid,
    .lunea-works-columns-4 .lunea-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lunea-work-detail-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    html body .lunea-work-detail-page-v2 {
        width: min(720px, calc(100vw - 28px)) !important;
        margin-left: calc(50% - min(360px, calc(50vw - 14px))) !important;
        padding-top: 20px !important;
    }

    html body .lunea-work-detail-hero-v2 {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    html body .lunea-work-detail-image-wrap-v2 {
        min-height: 300px !important;
    }

    html body .lunea-work-detail-image-v2 {
        min-height: 300px !important;
        max-height: 460px !important;
    }

    html body .lunea-work-detail-summary-card {
        padding: 26px !important;
    }
}

@media (max-width: 640px) {
    .lunea-works-grid,
    .lunea-works-columns-2 .lunea-works-grid,
    .lunea-works-columns-3 .lunea-works-grid,
    .lunea-works-columns-4 .lunea-works-grid {
        grid-template-columns: 1fr;
    }

    .lunea-work-detail-page {
        margin: 40px auto;
        padding: 0 18px;
    }

    .lunea-work-detail-card {
        padding: 28px;
    }

    .lunea-work-detail-card h1 {
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    html body .lunea-work-detail-page-v2 {
        width: calc(100vw - 22px) !important;
        margin-left: calc(50% - 50vw + 11px) !important;
    }

    html body .lunea-work-info-grid {
        grid-template-columns: 1fr !important;
    }

    html body .lunea-work-main-content-box,
    html body .lunea-work-result-box {
        padding: 22px !important;
        font-size: 16px !important;
    }
}
