/* =====================================================
   Doping Travel — location & category cards (CSS Grid)
   Scoped: .dt-location-section only
   ===================================================== */

.dt-location-section {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 22px 10px 34px;
    box-sizing: border-box;
}

.dt-location-section .title {
    margin-bottom: 22px;
}

.dt-location-section .sub-title {
    margin-bottom: 26px;
}

.dt-location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.dt-location-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 20px;
    text-decoration: none;
    background: #07111f;
    border: 2px solid rgba(214, 162, 28, 0.75);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.16),
        0 0 18px rgba(214, 162, 28, 0.12);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dt-location-card::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, transparent, #d6a21c, transparent);
    z-index: 3;
    pointer-events: none;
}

@media (hover: hover) {
    .dt-location-card:hover {
        transform: translateY(-4px);
        border-color: rgba(214, 162, 28, 0.9);
        box-shadow:
            0 26px 48px rgba(0, 0, 0, 0.22),
            0 0 24px rgba(214, 162, 28, 0.18);
    }
}

.dt-location-card--no-image {
    min-height: 280px;
    background: linear-gradient(160deg, #0a1a30 0%, #061428 100%);
}

.dt-location-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    vertical-align: top;
}

.dt-location-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.06) 0%,
        rgba(0, 0, 0, 0.14) 45%,
        rgba(0, 0, 0, 0.24) 100%
    );
    pointer-events: none;
    box-sizing: border-box;
}

.dt-location-card .dt-location-title {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.75),
        0 0 8px rgba(0, 0, 0, 0.45);
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

.dt-gold-line {
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 999px;
    margin-top: 12px;
    background: linear-gradient(90deg, #b98512, #ffd66b, #b98512);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(214, 162, 28, 0.45);
}

.dt-tour-badge {
    display: none !important;
}

.dt-location-section--categories {
    padding-top: 20px;
    padding-bottom: 34px;
}

/* Mobil: neredeyse tam genişlik, daha büyük kart hissi */
@media (max-width: 575px) {
    .bravo_wrap .page-template-content > .container:has(> .dt-location-section),
    .bravo_wrap .page-template-content > .container:has(> .dt-location-section.dt-location-section--categories) {
        padding-left: 6px;
        padding-right: 6px;
        max-width: 100%;
    }

    .dt-location-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .dt-location-grid {
        gap: 28px;
    }

    .dt-location-card:hover {
        transform: none;
        box-shadow:
            0 18px 38px rgba(0, 0, 0, 0.16),
            0 0 18px rgba(214, 162, 28, 0.12);
    }

    .dt-location-card::after {
        left: 12px;
        right: 12px;
    }
}

@media (min-width: 768px) {
    .dt-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dt-location-section {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (min-width: 1024px) {
    .dt-location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dt-location-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}
