/* /club (2026-11-20): Pixelia Kulüp page - white cards with 20px corners and soft blue shadows like /home and /photos, gold club accents.
   Own file; colours come from the theme variables so dark mode follows automatically. */
.cl-page { display: flex; flex-direction: column; gap: 26px; }
.cl-pix { image-rendering: pixelated; width: 19px; height: 20px; flex: none; }
.cl-pix-lg { width: 40px; height: 40px; }

.cl-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 28px; border-radius: 20px;
  background: linear-gradient(120deg, #ffd34d 0%, #ffb400 55%, #ff9a00 100%); color: #3a2203;
  box-shadow: 0 16px 32px -20px rgba(255, 140, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .45); }
.cl-banner-col { display: flex; flex-direction: column; gap: 8px; max-width: 290px; }
.cl-banner-title { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 700; color: #2f1a02; }
.cl-banner-text { margin: 0; font-size: 14px; line-height: 1.45; color: #4b2f06; }
.cl-banner-btn { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 6px; padding: 8px 16px; border-radius: 14px;
  background: #2f1a02; color: #ffe08a; font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: 0 8px 16px -10px rgba(47, 26, 2, .8);
  transition: transform .15s, box-shadow .15s; }
.cl-banner-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 20px -10px rgba(47, 26, 2, .9); }
.cl-banner-btn .cl-pix { width: 19px; height: 20px; }
.cl-banner-logo { width: 114px; height: 120px; image-rendering: pixelated; filter: drop-shadow(0 8px 10px rgba(80, 40, 0, .35)); flex: none; }

.cl-layout { display: flex; gap: 22px; align-items: flex-start; }
.cl-side { flex: 0 0 286px; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: var(--card, #fff);
  box-shadow: 0 14px 30px -20px rgba(20, 70, 160, .55), inset 0 0 0 1px var(--line, #e8eef8); }
.cl-side-head { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.cl-side-head h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink, #1c2a44); }
.cl-side-text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2, #52627f); }

.cl-perk { border-radius: 14px; background: var(--soft, #f2f6fc); box-shadow: inset 0 0 0 1px var(--line-soft, #e1e9f5); }
.cl-perk summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 14px; color: var(--ink, #1c2a44); }
.cl-perk summary::-webkit-details-marker { display: none; }
.cl-perk summary i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-top: -3px; }
.cl-perk[open] summary i { transform: rotate(225deg); margin-top: 3px; }
.cl-perk p { margin: 0; padding: 0 14px 13px; font-size: 13.5px; line-height: 1.5; color: var(--text-2, #52627f); }

.cl-members { flex: 1 1 0; min-width: 0; }
.cl-count { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--muted, #7a89a6); }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, 183px); gap: 14px; }
.cl-member { position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden; border-radius: 10px; background: var(--card, #fff);
  box-shadow: 0 10px 24px -18px rgba(20, 70, 160, .6), inset 0 0 0 1px var(--line, #e8eef8); transition: transform .2s, box-shadow .2s; }
.cl-member:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(20, 70, 160, .7), inset 0 0 0 1px var(--line, #cfe0f7); }
/* card background: the 183x126 pixel-art banner (teal weave, ribbon, PC emblem); narrower cards crop the sides, the ribbon stays centred */
.cl-member-cover { width: 100%; height: 126px; background: #082628 url('/images/club/pc-card-bg.png?v=3') no-repeat center top; background-size: auto 100%; image-rendering: pixelated; }
.cl-member-ava { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; box-sizing: border-box; padding: 3px;
  border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); overflow: hidden; }
.cl-member-ava img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; background: #dcdcdc; image-rendering: pixelated; }
.cl-member-name { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; box-sizing: border-box; padding: 30px 12px 14px; font-weight: 500; font-size: 14px; color: var(--ink, #1c2a44); }
.cl-member-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-empty { margin: 0; padding: 26px; text-align: center; border-radius: 20px; background: var(--card, #fff); color: var(--text-2, #52627f);
  box-shadow: inset 0 0 0 1px var(--line, #e8eef8); }

@media (max-width: 960px) {
  .cl-banner { flex-direction: column; text-align: left; align-items: stretch; }
  .cl-banner-col { max-width: none; }
  .cl-banner-logo { display: none; }
  .cl-layout { flex-direction: column; align-items: stretch; }
  .cl-members { width: 100%; }
  .cl-side { flex: none; width: 100%; box-sizing: border-box; }
  .cl-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cl-member-cover { background-size: auto 100%; }
}
