/* =========================================
public/css/site/tour-card.css
TOUR CARD — универсальная карточка тура
   ========================================= */

.tc {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 29, 68, 0.09);
    display: flex;
    flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tc:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 29, 68, 0.14);
}

/* IMAGE */

.tc__image-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.tc__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.tc:hover .tc__image {
    transform: scale(1.05);
}

.tc__image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 18, 20, 0.40) 0%,
        rgba(10, 18, 20, 0.10) 30%,
        rgba(10, 18, 20, 0.20) 60%,
        rgba(10, 18, 20, 0.80) 85%,
        rgba(10, 18, 20, 0.90) 100%
    );
    /* pointer-events: none; */
    z-index: 1;
}

/* Organizer badge и heart поверх градиента */
.tc__org-badge { z-index: 2; }
.tc__heart      { z-index: 2; }

/* Organizer badge over image */

.tc__org-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    padding: 0;
    max-width: calc(100% - 20px);
    transition: 0.2s ease;
}
.tc__org-badge:hover {
    opacity: 0.8;
}

.tc__org-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    /* border: 1.5px solid rgba(255,255,255,0.6); */
}

.tc__org-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* HEART */

.tc__heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .18s ease, transform .18s ease;
    z-index: 2;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.tc__heart:hover {
    transform: scale(1.12);
    color: #ffffff;
}

.tc__heart.is-active {
    color: #e53935;
    text-shadow: 0 1px 6px rgba(229,57,53,0.4);
}

.tc__heart.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* BODY */

.tc__body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}



/* Meta row */

.tc__meta {
    display: flex;
    gap: 14px;
}

.tc__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    /* color: #1783ff; */
    color: #369AE3;
    font-weight: 500;
}

.tc__meta-item svg {
    flex-shrink: 0;
    /* color: #1783ff; */
    color: #369AE3;
}

/* Title */

.tc__title {
    font-size: 16px;
    font-weight: 700;
    color: #152238;
    line-height: 1.35;
    display: block;
}


/* Hashtags */

.tc__hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: #7c869f;
}

/* Price */

.tc__price {
    font-size: 22px;
    font-weight: 800;
    color: #152238;
    margin-top: auto !important; /* ← прижимает цену и даты к низу */
    padding-top: 8px;
}

.tc__price span {
    font-size: 13px;
    font-weight: 400;
    color: #7c869f;
}

/* Dates */

.tc__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 2px;

    
}

.tc__date-chip {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #e2e6f0;
    background: #f7f8fc;
    font-size: 12px;
    color: #374151;
    white-space: nowrap;
}

.tc__date-chip--more {
    background: #eef3ff;
    border-color: #c7d7ff;
    /* color: #1783ff; */

    color: #369AE3;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 640px) {


    .tc__price {
        font-size: 19px;
    }
}


.tc__org-verified {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}