/**
 * EGT Tour System - Professional Styles
 *
 * @package EGT_Tour_System
 * @version 2.0.0
 */

/* ========================================
   TOUR CARD - PROFESSIONAL DESIGN
   ======================================== */

.egt-tours-wrapper {
    --egt-primary: #2563eb;
    --egt-primary-dark: #1d4ed8;
    --egt-secondary: #64748b;
    --egt-success: #10b981;
    --egt-warning: #f59e0b;
    --egt-danger: #ef4444;
    --egt-border: #e2e8f0;
    --egt-bg: #ffffff;
    --egt-text: #1e293b;
    --egt-text-light: #64748b;
    --egt-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --egt-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --egt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --egt-radius: 12px;
    
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

/* Grid Layouts */
.egt-layout-grid {
    display: grid;
}

.egt-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.egt-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.egt-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .egt-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .egt-columns-3,
    .egt-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .egt-columns-2,
    .egt-columns-3,
    .egt-columns-4 {
        grid-template-columns: 1fr;
    }
}

/* Tour Card */
.egt-tour-card {
    position: relative;
    background: var(--egt-bg);
    border-radius: var(--egt-radius);
    overflow: hidden;
    box-shadow: var(--egt-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.egt-tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--egt-shadow-lg);
}

/* Badges */
.egt-tour-card__badge {
    position: absolute;
    top: 16px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.egt-tour-card__badge--featured {
    left: 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.egt-tour-card__badge--featured .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.egt-tour-card__badge--category {
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--egt-primary);
    backdrop-filter: blur(10px);
}

/* Image Section */
.egt-tour-card__image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}

.egt-tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.egt-tour-card:hover .egt-tour-card__image img {
    transform: scale(1.1);
}

.egt-tour-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.egt-tour-card__image-placeholder .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: rgba(255, 255, 255, 0.3);
}

/* Price Tag
 * Konumu: sağ-alt — category badge (sağ-üst) ile çakışmayı önler.
 */
.egt-tour-card__price-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    top: auto; /* category badge ile çakışmayı engeller */
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
    text-align: left;
    max-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.egt-tour-card__price-text {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.egt-tour-card__price-text strong {
    font-weight: 700;
    color: #FFD700; /* Altın sarısı fiyat */
    font-size: 15px;
}

/* Content Section */
.egt-tour-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title */
.egt-tour-card__title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.egt-tour-card__title a {
    color: var(--egt-text);
    text-decoration: none;
    transition: color 0.2s;
}

.egt-tour-card__title a:hover {
    color: var(--egt-primary);
}

/* Rating */
.egt-tour-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.egt-rating-stars {
    display: flex;
    gap: 2px;
}

.egt-rating-stars .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

.egt-rating-stars .dashicons-star-empty {
    color: #d1d5db;
}

.egt-rating-count {
    font-size: 13px;
    color: var(--egt-text-light);
}

/* Meta Info */
.egt-tour-card__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.egt-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--egt-text);
}

.egt-meta-item__icon {
    display: flex;
    align-items: center;
    color: var(--egt-primary);
}

.egt-meta-item__text {
    font-weight: 500;
}

/* Excerpt */
.egt-tour-card__excerpt {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--egt-text-light);
}

/* Dates Section */
.egt-tour-card__dates {
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.egt-upcoming-dates {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.egt-dates-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--egt-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.egt-date-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.egt-date-pill {
    display: inline-block;
    padding: 4px 10px;
    background: #e0e7ff;
    color: var(--egt-primary);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.egt-date-pill--soon {
    background: #fef3c7;
    color: #92400e;
}

/* Footer & CTA Button */
.egt-tour-card__footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--egt-border);
}

.egt-tour-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--egt-primary);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--egt-shadow);
}

.egt-tour-card__btn:hover {
    background: var(--egt-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--egt-shadow-md);
}

.egt-tour-card__btn svg {
    transition: transform 0.3s;
}

.egt-tour-card__btn:hover svg {
    transform: translateX(4px);
}

/* ========================================
   FILTERS - PROFESSIONAL DESIGN
   ======================================== */

.egt-filters-wrapper {
    margin: 30px 0;
    padding: 24px;
    background: #fff;
    border-radius: var(--egt-radius);
    box-shadow: var(--egt-shadow);
}

.egt-filters-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Search Form */
.egt-search-form {
    display: flex;
    gap: 12px;
}

.egt-search-input-wrapper {
    position: relative;
    flex: 1;
}

.egt-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--egt-text-light);
    pointer-events: none;
}

.egt-search-input {
    width: 100%;
    padding: 12px 40px 12px 48px;
    border: 2px solid var(--egt-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.egt-search-input:focus {
    outline: none;
    border-color: var(--egt-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.egt-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--egt-text-light);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.egt-search-clear:hover {
    color: var(--egt-danger);
}

.egt-search-submit {
    padding: 12px 24px;
    background: var(--egt-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.egt-search-submit:hover {
    background: var(--egt-primary-dark);
}

/* Filter Row */
.egt-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.egt-filter-group {
    flex: 1;
    min-width: 200px;
}

.egt-filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--egt-border);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.egt-filter-select:focus {
    outline: none;
    border-color: var(--egt-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.egt-filter-actions {
    display: flex;
    align-items: center;
}

.egt-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fee2e2;
    color: var(--egt-danger);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.egt-filter-reset:hover {
    background: #fecaca;
}

.egt-filter-reset svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .egt-filter-row {
        flex-direction: column;
    }
    
    .egt-filter-group {
        width: 100%;
    }
    
    .egt-filter-actions {
        width: 100%;
    }
}

/* ========================================
   NO TOURS FOUND
   ======================================== */

.egt-no-tours {
    padding: 60px 20px;
    text-align: center;
}

.egt-no-tours__content {
    max-width: 500px;
    margin: 0 auto;
}

.egt-no-tours__icon {
    margin-bottom: 24px;
    color: var(--egt-text-light);
    opacity: 0.5;
}

.egt-no-tours h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--egt-text);
}

.egt-no-tours p {
    margin: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--egt-text-light);
}

.egt-no-tours__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.egt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.egt-btn--primary {
    background: var(--egt-primary);
    color: #fff;
}

.egt-btn--primary:hover {
    background: var(--egt-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--egt-shadow-md);
}

/* ========================================
   PAGINATION
   ======================================== */

.egt-pagination {
    margin-top: 40px;
    text-align: center;
}

.egt-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 4px;
    padding: 0 12px;
    background: #fff;
    border: 2px solid var(--egt-border);
    border-radius: 8px;
    color: var(--egt-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.egt-pagination .page-numbers:hover {
    background: var(--egt-primary);
    border-color: var(--egt-primary);
    color: #fff;
}

.egt-pagination .page-numbers.current {
    background: var(--egt-primary);
    border-color: var(--egt-primary);
    color: #fff;
}

/* ========================================
   LOADING & ANIMATIONS
   ======================================== */

@keyframes egt-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.egt-tour-card {
    animation: egt-fade-in 0.5s ease-out both;
}

.egt-tour-card:nth-child(2) { animation-delay: 0.1s; }
.egt-tour-card:nth-child(3) { animation-delay: 0.2s; }
.egt-tour-card:nth-child(4) { animation-delay: 0.3s; }

/* Harekete duyarlı kullanıcılar için animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
    .egt-tour-card,
    .egt-tour-card:nth-child(n) {
        animation: none;
    }

    .egt-tour-card:hover {
        transform: none;
    }

    .egt-tour-card__image img {
        transition: none;
    }

    .egt-tour-card__btn:hover {
        transform: none;
    }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .egt-tour-card__image {
        height: 200px;
    }
    
    .egt-tour-card__content {
        padding: 16px;
    }
    
    .egt-tour-card__title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .egt-tour-card__meta {
        grid-template-columns: 1fr;
    }
    
    .egt-tour-card__price-tag {
        bottom: 10px;
        right: 10px;
        padding: 6px 10px;
        max-width: 220px;
    }

    .egt-tour-card__price-text {
        font-size: 11px;
    }

    .egt-tour-card__price-text strong {
        font-size: 13px;
    }
    
    .egt-filters-wrapper {
        padding: 16px;
    }
}

/* ========================================
   PREMIUM SHORTCODE CARD REFRESH
   ======================================== */

.egt-tours-wrapper {
    --egt-premium-ink: #0f172a;
    --egt-premium-muted: #64748b;
    --egt-premium-soft: #f8fafc;
    --egt-premium-line: rgba(15, 23, 42, 0.08);
    --egt-premium-blue: #2563eb;
    --egt-premium-blue-dark: #1d4ed8;
    --egt-premium-gold: #f7c948;
    --egt-premium-radius: 22px;
    --egt-premium-shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
    --egt-premium-shadow-hover: 0 26px 70px rgba(15, 23, 42, 0.18);
    gap: clamp(22px, 3vw, 34px);
    margin: clamp(22px, 4vw, 46px) 0;
    align-items: stretch;
}

.egt-tours-wrapper.egt-layout-grid.egt-columns-2,
.egt-tours-wrapper.egt-layout-grid.egt-columns-3,
.egt-tours-wrapper.egt-layout-grid.egt-columns-4 {
    grid-template-columns: repeat(var(--egt-shortcode-columns, 3), minmax(0, 1fr));
}

.egt-tours-wrapper.egt-columns-2 { --egt-shortcode-columns: 2; }
.egt-tours-wrapper.egt-columns-3 { --egt-shortcode-columns: 3; }
.egt-tours-wrapper.egt-columns-4 { --egt-shortcode-columns: 4; }

.egt-tours-wrapper .egt-tour-card {
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,1)),
        #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--egt-premium-radius);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 10px 35px rgba(15, 23, 42, 0.08);
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.egt-tours-wrapper .egt-tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(37,99,235,0.16), transparent 34%, rgba(247,201,72,0.18));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.egt-tours-wrapper .egt-tour-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--egt-premium-shadow-hover);
}

.egt-tours-wrapper .egt-tour-card:hover::before {
    opacity: 1;
}

.egt-tours-wrapper .egt-tour-card__image {
    position: relative;
    height: 245px;
    background: linear-gradient(135deg, #172554, #0f172a);
    overflow: hidden;
}

.egt-tours-wrapper .egt-tour-card__image-link,
.egt-tours-wrapper .egt-tour-card__image-link img {
    display: block;
    width: 100%;
    height: 100%;
}

.egt-tours-wrapper .egt-tour-card__image-link img {
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.65s cubic-bezier(.2,.8,.2,1), filter 0.45s ease;
}

.egt-tours-wrapper .egt-tour-card:hover .egt-tour-card__image-link img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.02);
}

.egt-tours-wrapper .egt-tour-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2,6,23,0.38) 0%, rgba(2,6,23,0.04) 38%, rgba(2,6,23,0.72) 100%),
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.22), transparent 28%);
    pointer-events: none;
    z-index: 1;
}

.egt-tours-wrapper .egt-tour-card__image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background:
        linear-gradient(135deg, rgba(37,99,235,0.9), rgba(15,23,42,0.92)),
        radial-gradient(circle at top left, rgba(247,201,72,0.36), transparent 30%);
}

.egt-tours-wrapper .egt-tour-card__image-placeholder .dashicons {
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: rgba(255,255,255,0.8);
}

.egt-tours-wrapper .egt-tour-card__topbar {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.egt-tours-wrapper .egt-tour-card__badge {
    position: static;
    max-width: calc(100% - 56px);
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.92);
    color: #1e3a8a;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.egt-tours-wrapper .egt-tour-card__badge--featured {
    background: linear-gradient(135deg, #f8d66d, #f59e0b);
    color: #3b2600;
}

.egt-tours-wrapper .egt-add-to-comparison {
    position: static;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: rgba(15,23,42,0.46);
    color: #fff;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.egt-tours-wrapper .egt-add-to-comparison:hover,
.egt-tours-wrapper .egt-add-to-comparison.egt-in-comparison {
    transform: translateY(-2px);
    background: #fff;
    color: var(--egt-premium-blue);
}

.egt-tours-wrapper .egt-compare-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.egt-tours-wrapper .egt-tour-card__price-tag {
    position: absolute;
    z-index: 3;
    left: 16px;
    right: auto;
    bottom: 16px;
    top: auto;
    max-width: calc(100% - 32px);
    padding: 11px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
    color: var(--egt-premium-ink);
    border: 1px solid rgba(255,255,255,0.42);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.egt-tours-wrapper .egt-tour-card__price-label {
    display: block;
    margin-bottom: 2px;
    color: var(--egt-premium-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.egt-tours-wrapper .egt-tour-card__price-text {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-size: 12px;
    line-height: 1;
}

.egt-tours-wrapper .egt-tour-card__price-text strong {
    color: var(--egt-premium-blue);
    font-size: clamp(20px, 2.1vw, 26px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.egt-tours-wrapper .egt-tour-card__price-text small {
    color: var(--egt-premium-muted);
    font-size: 11px;
    font-weight: 700;
}

.egt-tours-wrapper .egt-tour-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 18px;
    background: #fff;
}

.egt-tours-wrapper .egt-tour-card__eyebrow {
    margin-bottom: 7px;
    color: var(--egt-premium-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.egt-tours-wrapper .egt-tour-card__title {
    margin: 0 0 14px;
    font-size: clamp(17px, 1.55vw, 20px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.egt-tours-wrapper .egt-tour-card__title a {
    color: var(--egt-premium-ink);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: color 0.25s ease, background-size 0.25s ease;
}

.egt-tours-wrapper .egt-tour-card__title a:hover {
    color: var(--egt-premium-blue);
    background-size: 100% 2px;
}

.egt-tours-wrapper .egt-tour-card__rating {
    margin: -4px 0 14px;
}

.egt-tours-wrapper .egt-tour-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--egt-premium-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.egt-tours-wrapper .egt-meta-item {
    min-width: 0;
    gap: 8px;
    color: var(--egt-premium-muted);
    font-size: 12.5px;
    font-weight: 700;
}

.egt-tours-wrapper .egt-meta-item__icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--egt-premium-blue);
    background: rgba(37, 99, 235, 0.09);
}

.egt-tours-wrapper .egt-meta-item__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.egt-tours-wrapper .egt-tour-card__excerpt {
    margin: 0 0 16px;
    color: var(--egt-premium-muted);
    font-size: 14px;
    line-height: 1.65;
}

.egt-tours-wrapper .egt-tour-card__dates {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
    margin-top: auto;
    padding: 13px 14px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(248,250,252,0.95));
}

.egt-tours-wrapper .egt-dates-label {
    color: var(--egt-premium-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.egt-tours-wrapper .egt-tour-card__dates strong {
    grid-column: 1;
    color: var(--egt-premium-ink);
    font-size: 15px;
    font-weight: 900;
}

.egt-tours-wrapper .egt-tour-card__dates small {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    padding: 6px 9px;
    border-radius: 999px;
    color: #1e3a8a;
    background: #dbeafe;
    font-size: 11px;
    font-weight: 900;
}

.egt-tours-wrapper .egt-tour-card__dates--empty {
    background: #f8fafc;
    border-color: var(--egt-premium-line);
}

.egt-tours-wrapper .egt-tour-card__footer {
    margin-top: 14px;
    padding-top: 0;
    border-top: 0;
}

.egt-tours-wrapper .egt-tour-card__btn {
    min-height: 48px;
    border-radius: 16px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.16), transparent 38%),
        linear-gradient(135deg, var(--egt-premium-blue), var(--egt-premium-blue-dark));
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.26);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.egt-tours-wrapper .egt-tour-card__btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.34);
}

.egt-tours-wrapper .egt-tour-card__btn svg {
    transition: transform 0.25s ease;
}

.egt-tours-wrapper .egt-tour-card__btn:hover svg {
    transform: translateX(5px);
}

.egt-tours-wrapper.egt-layout-list {
    grid-template-columns: 1fr;
}

.egt-tours-wrapper.egt-layout-list .egt-tour-card {
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
}

.egt-tours-wrapper.egt-layout-list .egt-tour-card__image {
    height: 100%;
    min-height: 300px;
}

@media (max-width: 1180px) {
    .egt-tours-wrapper.egt-columns-4 { --egt-shortcode-columns: 3; }
}

@media (max-width: 980px) {
    .egt-tours-wrapper.egt-columns-3,
    .egt-tours-wrapper.egt-columns-4 { --egt-shortcode-columns: 2; }

    .egt-tours-wrapper.egt-layout-list .egt-tour-card {
        grid-template-columns: 1fr;
    }

    .egt-tours-wrapper.egt-layout-list .egt-tour-card__image {
        min-height: 245px;
    }
}

@media (max-width: 680px) {
    .egt-tours-wrapper.egt-columns-2,
    .egt-tours-wrapper.egt-columns-3,
    .egt-tours-wrapper.egt-columns-4 { --egt-shortcode-columns: 1; }

    .egt-tours-wrapper .egt-tour-card__image {
        height: 220px;
    }

    .egt-tours-wrapper .egt-tour-card__content {
        padding: 17px;
    }

    .egt-tours-wrapper .egt-tour-card__meta {
        grid-template-columns: 1fr;
    }

    .egt-tours-wrapper .egt-tour-card__price-tag {
        left: 12px;
        bottom: 12px;
        padding: 9px 12px;
    }
}
