/* =========================
   PRESS (Basında Biz) - Premium Design
========================= */

.press {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 50%, #F0F5FA 100%);
    position: relative;
    padding: 100px 0;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.press-card {
    background: var(--white);
    border: 1px solid rgba(0, 94, 184, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.press-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 94, 184, 0.15);
    border-color: rgba(0, 94, 184, 0.3);
}

.press-card.hidden-press-item {
    display: none;
}

.press-card.is-visible {
    display: flex;
    animation: pressFadeIn 0.6s ease forwards;
}

@keyframes pressFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.press-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.press-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.press-card:hover .press-img {
    transform: scale(1.08);
}

.press-source-bg {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.press-content {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.press-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.press-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.press-card:hover .press-title {
    color: var(--brand);
}

.press-summary {
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.press-date {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.press-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand);
    transition: all 0.3s ease;
}

.press-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.press-card:hover .press-link {
    gap: 10px;
}

.press-card:hover .press-link svg {
    transform: translateX(3px);
}

.press-actions {
    text-align: center;
    margin-top: 50px;
}

.btn-toggle-press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--white);
    border: 2px solid var(--brand);
    color: var(--brand);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-toggle-press:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 94, 184, 0.25);
}

.press-mobile-controls {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.press-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 94, 184, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--brand);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.press-nav-btn:hover {
    background: var(--brand);
    color: var(--white);
    transform: scale(1.1);
}

.press-dots {
    display: flex;
    gap: 8px;
}

.press-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.press-dot.active {
    background: var(--brand);
    transform: scale(1.25);
    width: 20px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .press-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .press-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 4px 40px 4px;
        scrollbar-width: none;
    }

    .press-grid::-webkit-scrollbar {
        display: none;
    }

    .press-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
        scroll-snap-align: center;
    }

    .press-card.hidden-press-item {
        display: flex !important;
    }

    .press-actions {
        display: none;
    }

    .press-mobile-controls {
        display: flex;
    }
}