﻿.tg-featured-card .card-img-top {
    height: 240px;
    object-fit: cover;
}

.tg-photo-placeholder {
    min-height: 240px;
    background: linear-gradient(135deg, #eef2f7 0%, #dde6f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 700;
    font-size: 22px;
}

.tg-pro-card {
    border: 1px solid #e9ecef;
    border-radius: 18px;
    background: #fff;
    padding: 20px;
    height: 100%;
}

.tg-free-row {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    background: #fff;
    padding: 18px 20px;
}

.tg-section-divider {
    margin-top: 70px;
    margin-bottom: 35px;
}

.tg-free-row + .tg-free-row {
    margin-top: 14px;
}

.tg-badge-row .badge {
    margin-right: 6px;
    margin-bottom: 6px;
}

.tg-listing-link {
    color: inherit;
    text-decoration: none;
}

    .tg-listing-link:hover {
        color: inherit;
        text-decoration: none;
    }

.tg-breadcrumb-wrap .breadcrumb {
    margin-bottom: 0;
}

.tg-featured-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 78px;
}

.tg-featured-text {
    flex: 1 1 auto;
    min-width: 0;
}

.tg-featured-title {
    line-height: 1.25;
}

.tg-pro-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tg-pro-logo-wrap {
    width: 88px;
    min-width: 88px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 16px;
    box-sizing: border-box;
}

.tg-pro-text {
    flex: 1 1 auto;
    min-width: 0;
}

.tg-pro-title {
    line-height: 1.25;
}

.tg-featured-card .card-body {
    display: flex;
    flex-direction: column;
}

.tg-featured-main {
    flex: 1 1 auto;
}

.tg-free-row .tg-badge-row:empty {
    display: none;
}

.tg-pro-logo-box {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.tg-pro-logo-empty {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border: 1px dashed #d6dbe3;
    border-radius: 14px;
    background: #f8f9fb;
    flex-shrink: 0;
}

#prosgrade_titlebar {
    position: relative;
    padding: 180px 0 120px 0;
    background-size: cover;
    background-position: top center;
    pointer-events: none;
    color: var(--bs-white);
}

@media (max-width: 992px) {
    #prosgrade_titlebar {
        padding: 120px 0 70px 0;
    }
}

.tg-featured-logo-wrap {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-pro-logo-box {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* default logos */
.tg-featured-logo,
.tg-pro-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* fallback photos */
.tg-logo-photo {
    object-fit: cover;
}

.tg-trade-layer-wrap {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 28px;
    margin-bottom: 30px;
}

.tg-trade-layer-card {
    display: block;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 18px;
    text-decoration: none;
    height: 100%;
    transition: all .18s ease;
}

    .tg-trade-layer-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.06);
        border-color: #d7dce2;
        background: #fff;
    }

.tg-trade-layer-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d232f;
    margin-bottom: 6px;
    line-height: 1.2;
}

.tg-trade-layer-sub {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 12px;
}

.tg-trade-layer-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tg-trade-layer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e9f2ff;
    color: #0d6efd;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 600;
}

.tg-trade-layer-link {
    color: #0d6efd;
    font-weight: 600;
    font-size: 14px;
}
