/* =========================================================
   Etkinlik bileşenleri (topluluklar.html + etkinlik.html)
   ========================================================= */
:root {
    --ev-navy: #02102a;
    --ev-ink: #1b2333;
    --ev-muted: #5f6878;
    --ev-line: #e4e7ed;
    --ev-soft: #f6f7f9;
    --ev-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Etiketler ---------- */
.ev-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.ev-type,
.ev-format {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}

.ev-type {
    background: #eef1f6;
    color: var(--ev-navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ev-format {
    border: 1px solid #e1e5ec;
    color: var(--ev-muted);
}

.ev-format .ms {
    font-size: 15px;
}

.ev-format.is-online {
    border-color: #d6e3f7;
    color: #1f5fbf;
}

.ev-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--a), var(--b));
    color: #fff;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
}

.ev-club {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 6px 12px 6px 6px;
    border: 1px solid var(--ev-line);
    border-radius: 12px;
    background: #fff;
    font: 600 13px 'Lexend Deca', sans-serif;
    color: var(--ev-navy);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ev-club > span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ev-club:hover {
    border-color: var(--ev-navy);
}

.ev-club small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #8a92a2;
}

/* ---------- Butonlar ---------- */
.ev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border: 1px solid var(--ev-line);
    border-radius: 12px;
    background: #fff;
    font: 600 14px 'Lexend Deca', sans-serif;
    color: var(--ev-navy);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ev-btn .ms {
    font-size: 19px;
    transition: transform 0.25s var(--ev-ease);
}

.ev-btn:hover {
    border-color: var(--ev-navy);
}

.ev-btn-primary {
    border-color: var(--ev-navy);
    background: var(--ev-navy);
    color: #fff;
}

.ev-btn-primary:hover {
    background: #0e2350;
}

.ev-btn-primary:hover .ms {
    transform: translateX(3px);
}

.ev-btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

/* ---------- Afiş yer tutucusu ---------- */
.ev-poster-fallback {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 24px;
    background: linear-gradient(150deg, var(--a), var(--b));
    color: #fff;
}

.ev-poster-fallback span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}

.ev-poster-fallback strong {
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

/* ---------- Araç çubuğu ---------- */
.ev-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

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

.ev-chip {
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--ev-line);
    border-radius: 999px;
    background: #fff;
    font: 600 13px 'Lexend Deca', sans-serif;
    color: var(--ev-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ev-chip:hover {
    border-color: var(--ev-navy);
    color: var(--ev-navy);
}

.ev-chip.is-active {
    border-color: var(--ev-navy);
    background: var(--ev-navy);
    color: #fff;
}

.ev-seg {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--ev-line);
    border-radius: 12px;
    background: #fff;
}

.ev-seg button {
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font: 600 13px 'Lexend Deca', sans-serif;
    color: var(--ev-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.ev-seg button[aria-pressed="true"] {
    background: #eef1f6;
    color: var(--ev-navy);
}

/* ---------- Öne çıkan (sıradaki) etkinlik ---------- */
.ev-feat {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 40px;
    padding: 24px;
    border: 1px solid var(--ev-line);
    border-radius: 26px;
    background: #fff;
    animation: evIn 0.45s var(--ev-ease) both;
}

.ev-feat-poster {
    display: block;
    align-self: start;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 24px 50px -28px rgba(2, 16, 42, 0.6);
}

.ev-feat-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.7s var(--ev-ease);
}

.ev-feat-poster:hover .ev-feat-img {
    transform: scale(1.03);
}

.ev-feat-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 8px 8px 0;
}

.ev-feat-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ev-muted);
}

.ev-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1f9d5b;
    box-shadow: 0 0 0 0 rgba(31, 157, 91, 0.5);
    animation: evPulse 2s infinite;
}

@keyframes evPulse {
    70% { box-shadow: 0 0 0 8px rgba(31, 157, 91, 0); }
    100% { box-shadow: 0 0 0 0 rgba(31, 157, 91, 0); }
}

.ev-feat h3 {
    margin: 14px 0 10px;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.ev-feat h3 a,
.ev-card h3 a {
    color: var(--ev-navy);
    text-decoration: none;
}

.ev-feat h3 a:hover,
.ev-card h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.ev-feat-summary {
    margin: 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ev-muted);
}

.ev-feat-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--ev-ink);
}

.ev-feat-info li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ev-feat-info .ms {
    font-size: 18px;
    color: #8a92a2;
}

.ev-countdown {
    display: flex;
    gap: 8px;
    margin: 24px 0;
}

.ev-countdown div {
    display: grid;
    justify-items: center;
    min-width: 68px;
    padding: 10px 8px;
    border-radius: 12px;
    background: var(--ev-soft);
}

.ev-countdown b {
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--ev-navy);
    font-variant-numeric: tabular-nums;
}

.ev-countdown span {
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--ev-muted);
}

.ev-feat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.ev-feat-actions .ev-club-lg {
    height: 46px;
    margin-left: auto;
    padding: 4px 14px 4px 5px;
}

.ev-feat-actions .ev-club-lg .ev-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 12px;
}

.ev-club-lg {
    margin-top: auto;
    padding: 8px 14px 8px 8px;
}

.ev-club-lg .ev-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 13px;
}

/* ---------- Etkinlik kartları ---------- */
.ev-more-title {
    margin: 48px 0 20px;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ev-navy);
}

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

.ev-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ev-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ev-line);
    border-radius: 20px;
    background: #fff;
    animation: evIn 0.45s var(--ev-ease) both;
    transition: transform 0.35s var(--ev-ease), box-shadow 0.35s var(--ev-ease), border-color 0.25s ease;
}

.ev-card:hover {
    transform: translateY(-6px);
    border-color: #d3d8e0;
    box-shadow: 0 28px 50px -34px rgba(2, 16, 42, 0.45);
}

@keyframes evIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.ev-card-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #e9ecf1;
}

.ev-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ev-ease);
}

.ev-card:hover .ev-card-img {
    transform: scale(1.05);
}

.ev-card-date {
    position: absolute;
    left: 12px;
    top: 12px;
    display: grid;
    justify-items: center;
    min-width: 50px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ev-navy);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ev-card-date b {
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0;
}

.ev-card-rel {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff4e0;
    font-size: 11.5px;
    font-weight: 600;
    color: #8a5a10;
}

.ev-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 16px 16px 18px;
}

.ev-card h3 {
    margin: 12px 0 8px;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.35;
}

.ev-meta {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--ev-muted);
}

.ev-meta > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ev-meta .ms {
    font-size: 16px;
    color: #9aa2b1;
}

.ev-card .ev-club {
    margin-top: auto;
    border-color: transparent;
    background: var(--ev-soft);
}

.ev-card .ev-club:hover {
    border-color: var(--ev-navy);
    background: #fff;
}

/* =========================================================
   Etkinlik detay sayfası (etkinlik.html)
   ========================================================= */
.ed {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ev-ink);
}

.ed-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--thb-header-h, 62px) + 48px) 0 72px;
    background: var(--ev-navy);
    color: #fff;
    isolation: isolate;
}

.ed-hero-bg {
    position: absolute;
    inset: -40px;
    z-index: -2;
    background-size: cover;
    background-position: center;
    filter: blur(40px) saturate(1.1);
    opacity: 0.45;
    transform: scale(1.1);
}

.ed-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(2, 16, 42, 0.92) 30%, rgba(2, 16, 42, 0.7));
}

.ed-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.ed-crumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.ed-crumbs a:hover {
    color: #fff;
}

.ed-crumbs li + li::before {
    content: '/';
    margin-right: 6px;
    opacity: 0.5;
}

.ed-hero-grid {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.ed-poster {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: none;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ed-poster-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ed-poster-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(2, 16, 42, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ed-poster:hover .ed-poster-zoom,
.ed-poster:focus-visible .ed-poster-zoom {
    opacity: 1;
}

.ed-hero .ev-type {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ed-hero .ev-format {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.ed-status {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff4e0;
    font-size: 11.5px;
    font-weight: 600;
    color: #8a5a10;
}

.ed-status.is-past {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
}

.ed-hero h1 {
    margin: 18px 0 14px;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ed-summary {
    max-width: 620px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.ed-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    max-width: 620px;
    margin: 28px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.ed-facts div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(2, 16, 42, 0.6);
}

.ed-facts .ms {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.6);
}

.ed-facts small {
    display: block;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
}

.ed-facts strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.ed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ed-hero .ev-btn {
    border-color: rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #fff;
}

.ed-hero .ev-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.ed-hero .ev-btn-primary {
    border-color: #fff;
    background: #fff;
    color: var(--ev-navy);
}

.ed-hero .ev-btn-primary:hover {
    background: #e9edf3;
}

.ed-hero .ev-countdown div {
    background: rgba(255, 255, 255, 0.08);
}

.ed-hero .ev-countdown b {
    color: #fff;
}

.ed-hero .ev-countdown span {
    color: rgba(255, 255, 255, 0.55);
}

.ed-body {
    padding: 72px 0 40px;
}

.ed-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 56px;
}

.ed-block + .ed-block {
    margin-top: 56px;
}

.ed-block h2 {
    margin: 0 0 20px;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ev-navy);
}

.ed-block p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.8;
    color: #3a4252;
}

.ed-agenda {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--ev-line);
}

.ed-agenda li {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0 14px 24px;
}

.ed-agenda li::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 21px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--ev-navy);
    border-radius: 50%;
    background: #fff;
}

.ed-agenda time {
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ev-navy);
}

.ed-agenda span {
    font-size: 15px;
    line-height: 1.6;
    color: #3a4252;
}

.ed-speakers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.ed-speaker {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--ev-line);
    border-radius: 16px;
}

.ed-speaker .ms {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ev-soft);
    font-size: 26px;
    color: #9aa2b1;
}

.ed-speaker strong {
    display: block;
    font-size: 15px;
    color: var(--ev-navy);
}

.ed-speaker small {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--ev-muted);
}

.ed-aside {
    position: sticky;
    top: calc(var(--thb-header-h, 62px) + 24px);
    display: grid;
    gap: 16px;
}

.ed-card {
    padding: 22px;
    border: 1px solid var(--ev-line);
    border-radius: 20px;
    background: #fff;
}

.ed-card h3 {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ev-muted);
}

.ed-club-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ed-club-head .ev-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
}

.ed-club-head strong {
    display: block;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ev-navy);
}

.ed-club-head small {
    display: block;
    font-size: 13px;
    color: var(--ev-muted);
}

.ed-club-desc {
    margin: 14px 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5263;
}

.ed-card .ev-btn {
    width: 100%;
}

.ed-share {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ed-share a,
.ed-share button {
    display: grid;
    place-items: center;
    height: 44px;
    border: 1px solid var(--ev-line);
    border-radius: 12px;
    background: #fff;
    font: 700 13px 'Lexend Deca', sans-serif;
    color: var(--ev-navy);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ed-share a:hover,
.ed-share button:hover {
    border-color: var(--ev-navy);
    background: var(--ev-navy);
    color: #fff;
}

.ed-share button.is-done {
    border-color: #1d7a4a;
    background: #1d7a4a;
    color: #fff;
}

.ed-more {
    padding: 56px 0 104px;
}

.ed-more h2 {
    margin: 0 0 24px;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--ev-navy);
}

.ed-missing {
    padding: calc(var(--thb-header-h, 62px) + 120px) 0 140px;
    text-align: center;
}

.ed-missing .ms {
    font-size: 48px;
    color: #a3aab6;
}

.ed-missing h1 {
    margin: 16px 0 8px;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 30px;
    color: var(--ev-navy);
}

.ed-missing p {
    margin: 0 0 24px;
    color: var(--ev-muted);
}

/* Afiş büyütme */
.ed-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(2, 8, 20, 0.88);
    cursor: zoom-out;
    animation: evFade 0.25s ease;
}

.ed-lightbox[hidden] {
    display: none;
}

.ed-lightbox img {
    max-width: min(92vw, 720px);
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

@keyframes evFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .ev-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .ed-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .ed-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .ed-poster {
        max-width: 340px;
    }
}

@media (max-width: 600px) {
    .tp-events {
        padding: 64px 0 72px;
    }

    .ev-toolbar {
        align-items: stretch;
    }

    .ev-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -18px;
        padding: 0 18px;
        scrollbar-width: none;
    }

    .ev-chip {
        flex: none;
    }

    .ev-seg {
        width: 100%;
    }

    .ev-seg button {
        flex: 1;
    }

    .ev-countdown div {
        flex: 1;
        min-width: 0;
    }

    .ev-grid {
        gap: 12px;
    }

    .ev-card-body {
        padding: 12px 12px 14px;
    }

    .ev-card h3 {
        font-size: 14px;
    }

    .ev-card .ev-club > span:last-child {
        display: none;
    }

    .ed-hero {
        padding: calc(var(--thb-header-h, 54px) + 28px) 0 56px;
    }

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

    .ed-actions .ev-btn {
        flex: 1 1 auto;
    }

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

    .ed-agenda li {
        grid-template-columns: 56px minmax(0, 1fr);
        padding-left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ev-card,
    .ev-feat,
    .ev-live-dot {
        animation: none;
    }
}

.ed .ms {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

/* =========================================================
   Sıradaki etkinlik — cihaza göre farklı düzen
   ========================================================= */
.ev-feat-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Detaylı topluluk kartı: yalnızca tablet ve mobilde görünür */
.ev-feat-club {
    display: none;
    padding: 16px;
    border: 1px solid var(--ev-line);
    border-radius: 16px;
    background: var(--ev-soft);
}

.ev-feat-club-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a92a2;
}

.ev-feat-club-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ev-feat-club-head .ev-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
}

.ev-feat-club-head > div {
    min-width: 0;
}

.ev-feat-club-head strong {
    display: block;
    font-family: 'Poppins', 'Lexend Deca', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ev-navy);
}

.ev-feat-club-head small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--ev-muted);
}

.ev-feat-club-desc {
    margin: 12px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #4a5263;
}

.ev-feat-club-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 42px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid var(--ev-line);
    border-radius: 12px;
    background: #fff;
    font: 600 13.5px 'Lexend Deca', sans-serif;
    color: var(--ev-navy);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ev-feat-club-link .ms {
    font-size: 18px;
    transition: transform 0.25s var(--ev-ease);
}

.ev-feat-club-link:hover {
    border-color: var(--ev-navy);
    background: var(--ev-navy);
    color: #fff;
}

.ev-feat-club-link:hover .ms {
    transform: translateX(3px);
}

/* Tablet: afiş + topluluk kartı solda, bilgiler sağda */
@media (max-width: 1080px) {
    .ev-feat {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 32px;
    }

    .ev-feat-club {
        display: block;
    }

    .ev-feat-actions .ev-club-lg {
        display: none;
    }

    .ev-feat-actions .ev-btn {
        flex: 1 1 0;
    }
}

@media (max-width: 760px) {
    .ev-feat {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }

    .ev-countdown div {
        min-width: 0;
        flex: 1;
    }

    .ev-feat-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Mobil: başlık → afiş → butonlar → detaylar → geri sayım → topluluk */
@media (max-width: 600px) {
    .ev-feat {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 18px 16px 16px;
        border-radius: 22px;
    }

    .ev-feat-side,
    .ev-feat-body {
        display: contents;
    }

    .ev-feat-body > * {
        order: 4;
    }

    .ev-feat-kicker {
        order: 1;
        margin-bottom: 10px;
    }

    .ev-feat .ev-tags {
        order: 1;
    }

    .ev-feat h3 {
        order: 1;
        margin: 10px 0 16px;
        font-size: 22px;
    }

    .ev-feat-poster {
        order: 2;
        align-self: stretch;
    }

    .ev-feat-actions {
        order: 3;
        flex-direction: row;
        margin: 14px 0 18px;
    }

    .ev-feat-actions .ev-btn {
        flex: 1 1 0;
        padding: 0 12px;
        font-size: 13.5px;
    }

    .ev-feat-summary {
        font-size: 14.5px;
    }

    .ev-feat-info {
        margin-top: 14px;
    }

    .ev-countdown {
        order: 5;
        margin: 18px 0;
    }

    .ev-feat-club {
        order: 6;
    }
}
