/* Ana sayfa program listeleme (umre) — kurumsal kart düzeni */

.hp-section {
    padding: 88px 0 96px;
    background: #fff;
}

.hp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.hp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b8912a;
    margin-bottom: 10px;
}

.hp-head h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
}

.hp-head p {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

.hp-head-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 12px 22px;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hp-head-link:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.hp-head-link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.hp-head-link:hover i {
    transform: translateX(3px);
}

.hp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.hp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-chip {
    appearance: none;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    padding: 9px 16px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hp-chip:hover {
    border-color: #c9a13b;
    color: #0f172a;
}

.hp-chip.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.hp-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    vertical-align: middle;
}

.hp-chip.is-active .hp-chip-count {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.hp-count {
    font-size: 13.5px;
    color: #64748b;
}

.hp-count strong {
    color: #0f172a;
    font-weight: 700;
}

.hp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.hp-grid.is-enhanced .hp-card.is-hidden {
    display: none;
}

/* Kart */
.hp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-card:hover {
    transform: translateY(-4px);
    border-color: #d7dfe9;
    box-shadow: 0 20px 42px -20px rgba(15, 23, 42, 0.28);
}

.hp-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f7;
}

.hp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}

.hp-card:hover .hp-card-media img {
    transform: scale(1.04);
}

.hp-card-media::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent);
    pointer-events: none;
}

.hp-card-duration,
.hp-card-type {
    position: absolute;
    top: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.hp-card-duration {
    left: 14px;
    background: #c9a13b;
    color: #1a1405;
}

.hp-card-type {
    right: 14px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    backdrop-filter: blur(4px);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.hp-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 18px;
}

.hp-card-kicker {
    min-height: 15px;
    max-width: 100%;
    margin-bottom: 5px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #b8912a;
}

.hp-card-title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.hp-card-title a {
    color: inherit;
    text-decoration: none;
}

.hp-card-title a:hover {
    color: #b8912a;
}

.hp-card-dates {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 13px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #f8fafc;
}

.hp-date span {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.hp-date strong {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.hp-date:last-child {
    text-align: right;
}

.hp-date-arrow {
    font-size: 11px;
    color: #cbd5e1;
}

.hp-prices {
    margin-bottom: 16px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    overflow: hidden;
}

.hp-prices-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 13px;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.hp-prices ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-prices li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 13px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #475569;
}

.hp-prices li strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.hp-prices li.is-best {
    background: #fdf9ef;
}

.hp-prices li.is-best strong {
    color: #a1791f;
}

.hp-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding: 12px 18px;
    border-radius: 10px;
    background: #c9a13b;
    color: #1a1405;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.hp-card-cta:hover {
    background: #b8912a;
    color: #1a1405;
}

.hp-card-cta i {
    font-size: 11px;
    transition: transform 0.18s ease;
}

.hp-card-cta:hover i {
    transform: translateX(3px);
}

.hp-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.hp-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hp-more:hover {
    background: #f8fafc;
    border-color: #c9a13b;
}

.hp-more[hidden] {
    display: none;
}

.hp-more i {
    font-size: 11px;
    color: #b8912a;
}

.hp-empty {
    padding: 64px 24px;
    border: 1px dashed #dbe2ea;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    color: #8492a6;
    font-size: 15px;
}

.hp-empty[hidden] {
    display: none;
}

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

@media (max-width: 900px) {
    .hp-section {
        padding: 64px 0 72px;
    }

    .hp-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .hp-section {
        padding: 52px 0 60px;
    }

    .hp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hp-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hp-head-link {
        width: 100%;
        justify-content: center;
    }

    .hp-card-body {
        padding: 18px 18px 16px;
    }

    .hp-card-title {
        font-size: 17px;
        min-height: 0;
    }

    .hp-date strong {
        font-size: 12.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-card,
    .hp-card-media img,
    .hp-card-cta i {
        transition: none;
    }

    .hp-card:hover {
        transform: none;
    }

    .hp-card:hover .hp-card-media img {
        transform: none;
    }
}
