/* ============================================================
   SINGLE ETKİNLİK SAYFASI TASARIMI
   ============================================================ */
.single-yta_event .entry-title {
    display: none !important;
}
.yta-single-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* --------------------------------------
   BAŞLIK
-------------------------------------- */
.yta-single-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #111;
}

/* --------------------------------------
   HERO GÖRSEL
-------------------------------------- */
.yta-single-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 28px;
}

.yta-single-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------
   META BAR – KAPSÜL TASARIM
-------------------------------------- */

.yta-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 0 0 28px;
    padding: 12px 30px;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 0 8px rgba(0,0,0,0.06);
    font-size: 16px;
    color: #111;
}

/* Tekil meta item (Kategori, Yaş, Tarih, Saat, Konum) */
.yta-single-meta-item {
    display: flex;
    align-items: center;   /* ikon + metni dikeyde ortala */
    gap: 12px;             /* ikon ↔ metin arası boşluk */
}

/* İkon kapsayıcı */
.yta-single-meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #FF8A32;
}

/* SVG ikonlar */
.yta-single-meta-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* --------------------------------------
   DETAY METİN ALANI
-------------------------------------- */

.yta-single-content {
    font-size: 17px;
    line-height: 1.75;
    color: #222;
    margin-bottom: 40px;
}

/* --------------------------------------
   PAYLAŞ ALANI
-------------------------------------- */
/* PAYLAŞ + BAŞVURU satırı hizalama */
.yta-single-bottom-row {
    display: flex;
    justify-content: space-between; /* biri sola biri sağa */
    align-items: center;
    margin: 35px 0 45px;
}

/* Sol taraftaki paylaş alanı */
.yta-single-share-row {
    margin: 0;
}

.yta-single-share-label {
    font-size: 16px;
    font-weight: 600;
}

/* Paylaş ikonları (bizim kullandığımız) */
.yta-single-share-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.yta-single-apply-link {
    font-size: 18px;
    font-weight: 600;
    color: #FF8A32;
    text-decoration: none;
}

.yta-single-apply-link:hover {
    opacity: 0.75;
}

.yta-single-share-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    background-color: #FF8A32;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.yta-single-share-links a i {
    font-size: 13px;
    color: #fff !important;
    line-height: 1;
    transform: translateY(1px);
    display: block;
}

.yta-single-share-links a:hover {
    background-color: #D96A15;
    transform: translateY(-2px);
}

/* --------------------------------------
   "DAHA FAZLA ETKİNLİK" BAŞLIK
-------------------------------------- */
.yta-single-more-title {
    margin-top: 60px;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
}

/* Ortalanmış daha fazla etkinlik alanı */
.yta-single-more-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* --------------------------------------
   ALTTAKİ 3 ETKİNLİK GRIDİ
-------------------------------------- */

.ytaevents-grid {
    display: grid;
    grid-template-columns: repeat(3, 380px);
    gap: 20px;
    justify-content: center;
    padding-left: 0 !important;
}

/* KART TASARIMI – Arşiv ile birebir aynı */
.yta-card {
    width: 380px;
    height: 440px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    transition: 0.25s;
}

.yta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}

.yta-card-img {
    position: relative;
    width: 100%;
    height: 260px;
    flex: 0 0 260px;
    overflow: hidden;
    background: #000;
}

.yta-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: #e3e3e3;
}

.yta-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    color: #fff;
    z-index: 10;
}

.yta-badge-active { background:#24C16B; }
.yta-badge-inactive { background:#FF3B30; }

.yta-card-info {
    padding: 20px 22px;
    height: 180px;
    display: flex;
    flex-direction: column;
}

.yta-card-date {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #111;
}

.calendar-icon {
    width: 22px;
    margin-right: 8px;
    opacity: 0.9;
}

.yta-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    text-decoration: none;
}

.yta-detail-link {
    margin-top: auto;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 500;
    color: #FF8A32;
}

.yta-detail-link:hover {
    opacity: 0.75;
}

/* --------------------------------------
   RESPONSIVE
-------------------------------------- */

@media (max-width: 1100px) {
    .ytaevents-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 768px) {

    .yta-single-wrapper {
        padding: 24px 16px 40px;
    }

    .yta-single-title {
        font-size: 32px;
    }

    /* META bar mobil düzen: kapsül değil, blok blok */
    .yta-single-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 18px;
        border-radius: 18px;
    }

    .yta-single-meta-item {
        width: 100%;
        font-size: 14px;
    }

    .yta-single-meta-icon {
        width: 24px;
        height: 24px;
    }

    .yta-single-content {
        font-size: 16px;
    }

    .yta-single-share-row {
        justify-content: flex-start;
    }

    .yta-single-more-title {
        font-size: 22px;
    }

    .ytaevents-grid {
        grid-template-columns: repeat(1, minmax(0,1fr));
    }

    .yta-card {
        width: 100%;
        max-width: 100%;
    }
}

/* =======================================
   Detaylar & Paylaş – aynı yatay hizada
======================================= */

.yta-single-action-row {
    display: flex;
    justify-content: space-between; /* biri sola, biri sağa */
    align-items: center;
    margin: 35px 0 45px;
    width: 100%;
}

.yta-single-apply a {
    font-size: 18px;
    font-weight: 600;
    color: #FF8A32;
    text-decoration: none;
}

.yta-single-apply a:hover {
    opacity: 0.7;
}

/* Mevcut "share" stilini bozmayız */
.yta-single-share-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0; /* önceki margin-bottom iptal */
}

/* Mobil hizalama */
@media (max-width: 768px) {

    .yta-single-action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .yta-single-share-row {
        justify-content: flex-start;
    }
}