/* Small additions on top of the legacy Club_v8 theme (same aesthetic). Keep this file minimal. */
.loginbox form.login { margin: 0; }
.loginbox .login-hello { color: #154397; font-weight: bold; text-decoration: none; margin-right: 10px; }
.loginbox .login-extra { clear: both; position: absolute; top: 32px; left: 5px; font-size: 11px; white-space: nowrap; }
.loginbox .login-extra a { color: #fff; margin-right: 12px; text-decoration: none; border-bottom: 1px dotted #fff; }
.loginbox input { width: 120px !important; }
.loginbox button.button-link { border: 0; cursor: pointer; font-size: 12px; font-family: inherit; line-height: 14px; height: 20px; box-sizing: border-box; }
#content { padding-top: 0; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: #154397; color: #fff; padding: 10px 18px; border-radius: 5px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 9999; }
.toast.show { opacity: 1; }

.home-cards { list-style: none; margin: 10px 0 0; padding: 0; overflow: hidden; }
.home-cards li { float: left; width: 190px; margin: 0 15px 15px 0; }
.home-cards li a { display: block; text-decoration: none; color: #333; }
.home-cards li img { width: 190px; height: 124px; object-fit: cover; border-radius: 5px; background: #efefef; }
.home-cards li h3 { font-size: 13px; padding: 4px 0 0; font-weight: bold; }
.home-cards li span { display: block; font-size: 12px; color: #666; }

#content_footer { width: 980px; margin: 0 auto; background: #fff; padding-bottom: 10px; }
.pay-icons { text-align: center; padding: 8px 0; }
.pay-icons-in img { margin: 0 8px; height: 28px; width: auto; vertical-align: middle; }
#content a.button-link, #content a.button-link:hover { color: #fff; }

/* top site bar removed: only My αθηνόραμα link stays, inside the header */
#header-container { background-position: center -3px; }
.my-ath-link { position: absolute; top: 3px; right: 5px; color: #fff; font-size: 12px; text-decoration: none; padding-left: 22px; }
.my-ath-link:hover { text-decoration: underline; }

/* tighten logo -> menu gap and hide the seam of the header background image */
#clubmenu { margin-top: -8px; background-color: #fff; box-shadow: 0 -6px 0 #fff; }

/* Home: "see all" link on the right of each featured-section title */
#homepage h2.home-titles .home-all { float: right; font-size: 12px; font-weight: normal; margin-top: 4px; }
#homepage h2.home-titles .home-all, #homepage h2.home-titles .home-all:link, #homepage h2.home-titles .home-all:visited { color: #fff; text-decoration: none; font-family: Arial, sans-serif; }
#homepage h2.home-titles .home-all:hover { color: #fff; text-decoration: underline; }
/* Home cards: titles longer than 2 lines are cut with an ellipsis */
.home-cards li h3 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
/* Home cards: grid instead of floats, so cards of different heights (long titles/categories) never snag the next row */
.home-cards { display: grid; grid-template-columns: repeat(3, 190px); column-gap: 15px; row-gap: 15px; overflow: visible; }
.home-cards li { float: none; width: auto; margin: 0; }
.home-cards li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Home: category tiles (replaces the long "παροχές ανά κατηγορία" list) */
.home-tiles { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 190px); gap: 15px; }
.home-tiles li { margin: 0; }
.home-tiles a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 118px; padding: 8px 10px; box-sizing: border-box;
  background: #efefef; border-radius: 8px; border-bottom: 4px solid var(--tile); text-decoration: none; color: #333; transition: transform .15s, box-shadow .15s, background .15s; }
.home-tiles a:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.home-tiles .tile-ico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tile); margin-bottom: 8px; }
.home-tiles .tile-ico img { width: 26px; height: 26px; margin: 0; }
.home-tiles strong { font-size: 14px; line-height: 1.2; }
.home-tiles em { font-style: normal; font-size: 12px; color: #666; margin-top: 3px; }

/* ── Light refresh (CSS only) ─────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { line-height: 1.45; }

/* 1+2. Home cards: hover lift, soft shadow, rounder images */
.home-cards li a { transition: transform .15s, box-shadow .15s; border-radius: 8px; }
.home-cards li a:hover { transform: translateY(-3px); }
.home-cards li img { border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: box-shadow .15s; }
.home-cards li a:hover img { box-shadow: 0 6px 14px rgba(0,0,0,.28); }
.home-cards li span { line-height: 1.4; }

/* 3. Section title bars: rounded on both sides, a bit more air, softer line */
.home-titles { border-radius: 6px; padding: 11px 14px; border-bottom: 0; }

/* 4. Buttons: smooth hover + gentle lift */
.button-link, .button-link-big { border-radius: 5px; transition: background-color .2s, box-shadow .2s, transform .15s; }
.button-link:hover, .button-link-big:hover { box-shadow: 0 3px 8px rgba(0,0,0,.22); }
.button-link-big:hover { transform: translateY(-1px); }

/* 6. Softer separators */
#home_center { border-right-color: #e3e3e3; }
.home-posts li, .main-list li, .tainia .katigories-standard, .tainialink li { border-bottom: 1px solid #e6e6e6; }
.box-home .forgot-pass { border: 1px solid #e3e3e3; }

/* 7. Visible keyboard focus */
#content a:focus-visible, #content button:focus-visible, #content input:focus-visible, #content select:focus-visible, #content textarea:focus-visible {
  outline: 2px solid #476cad; outline-offset: 2px; border-radius: 3px; }

/* ── Light refresh: all event & place list pages (shared .main-list / filters / tabs) ── */
.main-list li { transition: background-color .15s, box-shadow .15s; }
.main-list li:hover { box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.main-list li .title { transition: color .15s; }
.main-list li:hover .title { color: #0b2d78; }
.main-list li .image, .main-list li .poster { border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.main-list li .keimeno, .main-list li .address, .main-list li .addr-line { line-height: 1.5; }
.main-list li .data, .main-list li .data-cinema { border-radius: 4px; }
.main-list li .heart { transition: background-color .15s, color .15s, transform .15s; }
.main-list li .heart:hover { transform: scale(1.1); }

.filtra-title { border-radius: 5px 5px 0 0; }
.filtra-container ul { border-radius: 0 6px 6px 0; }
.filtra-container ul li a { transition: background-color .15s, color .15s, box-shadow .15s; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.filtra-container ul li a:hover { box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.filtra-results { border-radius: 6px; }
.tabs-content ul li a { transition: background-color .15s; }
.crumb-leg a:hover { color: #154397; }

/* "Add to favorites" hidden on the public lists (removal inside the member dashboard stays) */
.main-list li .heart { display: none !important; }

/* Performance / movie detail: space between the title and the poster */
#content_left .tainia .tainia-poster { margin-top: 18px; }
#content_left .tainia .tainia-poster img { border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

/* Photo placeholder: tidy icon instead of a broken image (see img[data-ph] script in _Layout) */
.img-ph { display: flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 8px;
  background: linear-gradient(135deg, #eef4e6, #dbe7cb); color: #5a9f28; }
.img-ph .icon, .img-ph svg { width: 42%; height: 42%; max-width: 54px; max-height: 54px; }
.main-list li .img-ph.image { width: 95px; height: 95px; }
.main-list li .img-ph.poster { width: 95px; height: 130px; }
.home-cards li .img-ph { width: 190px; height: 124px; }
.main-list li .img-ph.image, .main-list li .img-ph.poster { float: left; margin: 0 6px 6px 0; }
.img-ph.img-ph { display: flex !important; align-items: center; justify-content: center; font-size: 0; }
.img-ph.img-ph svg, .img-ph.img-ph .icon { width: 44px; height: 44px; flex: none; margin: 0; }
.img-ph svg.icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.img-ph.img-ph svg.icon { color: #6d9d31; stroke: #6d9d31; }
