/* gt_addons 일정 카드 (event_card) · 같은 달 다른 글 (event_others) — 접두어 .gtaec_ */
.gtaec_card { --c:#2563eb; --fc:#fff; margin:18px 0 4px; padding:18px 18px 16px; border-left:6px solid var(--c, #2563eb); border-radius:14px; background:#f6f7f9; color:#222; text-align:left; }
.gtaec_top { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0 0 8px; }
.gtaec_badge { display:inline-block; padding:3px 10px; border-radius:20px; background:#e9ecef; color:#666; font-size:12px; font-weight:700; line-height:1.4; letter-spacing:0; }
.gtaec_badge.is_soon { background:var(--c, #2563eb); color:var(--fc, #fff); }
.gtaec_badge.is_now { background:#ff5a5a; color:#fff; }
.gtaec_badge.is_end { background:#e9ecef; color:#999; }
.gtaec_sub { color:#888; font-size:12px; }
.gtaec_sub.is_rp { color:var(--c, #2563eb); font-weight:700; }
.gtaec_period { font-size:20px; font-weight:700; line-height:1.4; letter-spacing:-.5px; color:#111; }
.gtaec_period time { white-space:nowrap; }
.gtaec_meta { list-style:none; margin:12px 0 0; padding:12px 0 0; border-top:1px solid #e3e6ea; font-size:14px; }
.gtaec_meta li { display:flex; gap:10px; padding:3px 0; line-height:1.5; }
.gtaec_meta b { flex:0 0 34px; color:#888; font-weight:500; }
.gtaec_meta address { display:inline; font-style:normal; }
.gtaec_way { margin-left:6px; color:#1a9bff !important; white-space:nowrap; }
.gtaec_add { display:flex; gap:6px; margin:14px 0 0; }
.gtaec_add a { flex:1 1 0; display:inline-flex; align-items:center; justify-content:center; gap:5px; height:38px; border:1px solid #dfe2e6; border-radius:8px; background:#fff; color:#333 !important; font-size:13px; text-decoration:none !important; }
.gtaec_add a:hover { border-color:var(--c, #2563eb); color:var(--c, #2563eb) !important; }
.gtaec_add svg { width:16px; height:16px; }

.gtaec_others { margin:40px 0 10px; padding-top:24px; border-top:1px solid #eee; text-align:left; }
.gtaec_others h3 { display:flex; align-items:center; justify-content:space-between; margin:0 0 10px; font-size:22px; font-weight:700; letter-spacing:-.6px; color:#111; }
.gtaec_others h3 a { color:#888 !important; font-size:13px; font-weight:400; text-decoration:none !important; }
.gtaec_others ul { list-style:none; margin:0; padding:0; }
.gtaec_others li a { display:flex; align-items:center; gap:10px; padding:11px 4px; border-bottom:1px solid #f1f1f1; color:#222 !important; text-decoration:none !important; }
.gtaec_others li a:hover .t { color:#ff5a5a; }
.gtaec_others .dot { flex:0 0 10px; height:10px; border-radius:50%; }
.gtaec_others .t { flex:1 1 auto; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.gtaec_others .r { flex:0 0 auto; color:#888; font-size:13px; }
.gtaec_others .gtaec_badge { flex:0 0 auto; }

/* .ics 버튼 말풍선 — 마우스를 올리거나(PC) 키보드로 초점이 가면 보인다. 버튼 오른쪽 끝에 맞춰 화면 밖으로 넘치지 않게 */
.gtaec_add a.gtaec_tip { position:relative; }
.gtaec_add a.gtaec_tip::after { content:attr(data-tip); position:absolute; right:0; bottom:calc(100% + 10px); z-index:20; width:300px; max-width:calc(100vw - 40px); word-break:keep-all; padding:11px 13px; border-radius:9px; background:#222; color:#fff; font-size:12px; font-weight:400; line-height:1.6; letter-spacing:-.2px; text-align:left; white-space:pre-line; box-shadow:0 6px 18px rgba(0,0,0,.18); opacity:0; visibility:hidden; transform:translateY(4px); transition:opacity .15s, transform .15s, visibility .15s; pointer-events:none; }
.gtaec_add a.gtaec_tip::before { content:''; position:absolute; right:28px; bottom:calc(100% + 4px); z-index:21; border:6px solid transparent; border-top-color:#222; border-bottom:0; opacity:0; visibility:hidden; transition:opacity .15s, visibility .15s; pointer-events:none; }
.gtaec_add a.gtaec_tip:hover::after, .gtaec_add a.gtaec_tip:focus-visible::after { opacity:1; visibility:visible; transform:translateY(0); }
.gtaec_add a.gtaec_tip:hover::before, .gtaec_add a.gtaec_tip:focus-visible::before { opacity:1; visibility:visible; }

@media (max-width:768px) {
    .gtaec_period { font-size:18px; }
    .gtaec_others h3 { font-size:19px; }
    .gtaec_others .r { display:none; }
}
/* 휴대폰(터치)에서는 말풍선을 쓰지 않는다 — 누르면 바로 내려받기/캘린더가 열린다 */
@media (hover:none), (pointer:coarse) {
    .gtaec_add a.gtaec_tip::after, .gtaec_add a.gtaec_tip::before { display:none; }
}
