/* Ana Sayfa Öne çıkan pazar araştırmaları blok css'i */

.free-market-research-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 7px 11px;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none !important;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.featured-documents-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.free-databanks-button i {
    font-size: 11px;
}

.free-databanks-button:hover {
    color: #ffffff;
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-1px);
}

.featured-documents-block {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.documents-grid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.document-grid-item {
    margin-bottom: 1rem;
}

.document-card-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
    border-radius: 14px;
}

.document-card-link:focus-visible {
    outline: none;
}

.document-card {
    position: relative;
    width: 100%;
    min-height: 136px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025), 0 5px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.document-card__surface {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 136px;
    background: #ffffff;
}

.document-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 18px 13px 18px;
}

.document-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.document-card__credit-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.document-card__credit-badge i {
    color: #475569;
    font-size: 10px;
}

.document-card__credit-badge strong {
    color: #334155;
    font-weight: 800;
}

.document-card:not(.document-card--free) .document-card__credit-badge {
    color: #92400e;
    background: #fff4d6;
    border-color: #f6d77a;
}

.document-card:not(.document-card--free) .document-card__credit-badge i {
    color: #c98a00;
}

.document-card:not(.document-card--free) .document-card__credit-badge strong {
    color: #7c5200;
}

/* Free */
.document-card__ribbon {
    position: absolute;
    top: 16px;
    left: -32px;
    width: 130px;
    background-color: #16a34a; 
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 2px;
    transform: rotate(-45deg);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    padding: 5px 0;
    pointer-events: none;
}

.document-card--free .document-card__title {
    margin-top: 4px;
    margin-left: 20px;
    padding-right: 18px;
}

.document-card__region {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
}

.document-card__region-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.document-card__region-flag .flag-icon {
    width: 19px;
    height: 13px;
    margin: 0;
    background-position: center;
    background-size: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.07);
}

.document-card__region-name {
    min-width: 0;
    overflow: hidden;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.document-card__title {
    display: -webkit-box;
    width: 100%;
    margin: 10px 0 0;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color 0.2s ease;
}

.document-card__top-region {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #dbe3ec;
    padding: 0px 4px;
    border-radius: 4px;
    z-index: 3;
    margin-left: auto !important;
}

.document-card__top-region .document-card__region-flag .flag-icon {
    width: 22px;  
    height: 16px; 
    margin: 0;
    background-position: center;
    background-size: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.document-card__top-region .document-card__region-name {
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    font-size: 12px; 
    font-weight: 700;
    white-space: nowrap;
}

.document-card__file-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 25px;
}

.document-card__file-pages {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-right: 4px;
}

.document-card__file-pages strong {
    color: #334155;
    font-weight: 800;
}

.document-card__file-icon {
    margin-left: 0 !important;
}

.document-card__company {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-top: auto;
    padding-top: 9px;
    min-width: 0;
}

.document-card__file-details {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.document-card__company-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}


.document-card__company-icon {
    flex: 0 0 auto;
    color: #e11d48;
    font-size: 17px;
    line-height: 1;
}


.document-card__company-count {
    color: #334155;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
}

.document-card__company-label {
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
}

.document-card__file-pages {
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px; 
    font-weight: 500;
    line-height: 1;
}

.document-card__file-pages strong {
    color: #334155;
    font-weight: 700;
}

.document-card__file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px; 
}

.document-card__file {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.document-card__file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e11d48;
    font-size: 17px;
    line-height: 1;
    flex: 0 0 auto;
    margin-left: 10px;
}

.document-card__file-label {
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.document-card__open {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    color: #64748b;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    font-size: 14px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.document-card-link:hover .document-card {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.035), 0 12px 24px rgba(15, 23, 42, 0.065);
}
.document-card-link:hover .document-card__title {
    color: #be123c;
}
.document-card-link:hover .document-card__open {
    color: #e11d48;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.7);
}

.document-card--free .document-card__company-icon {
    color: #16a34a;
}

.document-card-link:hover .document-card--free .document-card__action-area {
    background: #f8fdf9;
    border-left-color: #d8f0de;
}

.document-card-link:focus-visible .document-card {
    border-color: #fda4af;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.10), 0 8px 20px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991.98px) {

    .documents-grid {
        --bs-gutter-x: 22px;
        --bs-gutter-y: 22px;
    }

    .document-card {
        min-height: 136px;
    }

}

@media (max-width: 575.98px) {

    .documents-grid {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 16px;
    }

    .document-card {
        min-height: 132px;
    }

    .document-card__surface {
        grid-template-columns: minmax(0, 1fr);
    }

    .document-card__content {
        padding: 13px 14px 12px 15px;
    }

    .document-card__top {
        gap: 8px;
    }

    .document-card__credit-badge {
        padding: 5px 7px;
        font-size: 9px;
    }

    .document-card__region {
        max-width: 110px;
    }

    .document-card__region-name {
        font-size: 9.5px;
    }

    .document-card__title {
        margin-top: 9px;

        font-size: 14px;
    }

    .document-card__company {
        padding-top: 8px;
    }

    .document-card__company-count,
    .document-card__company-label {
        font-size: 10.5px;
    }

    .document-card__file-icon {
        font-size: 14px;
    }

    .document-card__file-label {
        font-size: 9px;
    }

    .document-card__open {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }
}

/* kart resim */
.document-card__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.document-card--has-image .document-card__surface {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.1) 100%);
    background-color: transparent !important;
    z-index: 2;
}