.club-show-page {
    --club-green: #15945f;
    --club-green-dark: #086047;
    --club-navy: #102033;
    --club-muted: #64748b;
    --club-line: #dce7e1;
    width: min(1240px, 100%);
    padding-top: 1.25rem;
}

.club-show-page svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.club-show-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    align-items: center;
    gap: 2.5rem;
    min-height: 280px;
    padding: 2.3rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(125deg, #073b3d 0%, #075345 48%, #087c5d 100%);
    box-shadow: 0 16px 40px rgba(8, 62, 55, .12);
}

.club-show-hero__pattern {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 54%;
    opacity: .14;
    background-image:
        linear-gradient(30deg, transparent 24%, rgba(255,255,255,.42) 25%, rgba(255,255,255,.42) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.42) 75%, rgba(255,255,255,.42) 76%, transparent 77%),
        linear-gradient(150deg, transparent 24%, rgba(255,255,255,.32) 25%, rgba(255,255,255,.32) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.32) 75%, rgba(255,255,255,.32) 76%, transparent 77%);
    background-size: 84px 48px;
    transform: skewX(-8deg) scale(1.12);
}

.club-show-hero__identity {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    min-width: 0;
}

.club-show-logo {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 24px;
    color: var(--club-green-dark);
    background: linear-gradient(145deg, #eef6ff, #b9e6df);
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
    font-size: 2.25rem;
    font-weight: 900;
}

.club-show-logo img { width: 100%; height: 100%; object-fit: cover; }
.club-show-hero__copy { min-width: 0; }

.club-show-title-row { display: flex; align-items: center; gap: .65rem; }
.club-show-title-row h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 3.1vw, 2.25rem);
    font-weight: 850;
    letter-spacing: -.025em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.club-show-verified {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50%;
    color: #fff;
    background: #19a76d;
    font-size: .75rem;
    font-weight: 900;
}

.club-show-category {
    display: inline-flex;
    margin-top: .65rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    color: #7ee6b1;
    background: rgba(4, 37, 34, .36);
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.club-show-description {
    max-width: 680px;
    margin-top: .65rem;
    color: rgba(255,255,255,.88);
    font-size: .93rem;
    line-height: 1.75;
}

.club-show-description.is-collapsed { max-height: 5.2rem; overflow: hidden; }
.club-show-read-more {
    min-height: 32px;
    margin-top: .2rem;
    padding: .1rem 0;
    border: 0;
    color: #a7f3d0;
    background: transparent;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.club-show-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.club-show-meta > span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 34px;
    padding: .35rem .7rem;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 35, 35, .24);
    font-size: .75rem;
    font-weight: 700;
}

.club-show-meta svg { width: .9rem; height: .9rem; }
.club-show-hero__actions { display: grid; gap: .65rem; align-content: center; }
.club-show-workplace,
.club-show-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 48px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, transform .12s ease;
}

.club-show-workplace {
    min-height: 52px;
    border: 1px solid #25b879;
    color: #fff;
    background: linear-gradient(180deg, #20ad6e, #16975e);
    box-shadow: 0 10px 24px rgba(4, 44, 31, .2);
}

.club-show-workplace:hover { color: #fff; background: linear-gradient(180deg, #25b879, #128352); }
.club-show-workplace:active, .club-show-action:active { transform: translateY(1px); }
.club-show-workplace.is-loading { pointer-events: none; opacity: .7; }

.club-show-secondary-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.club-show-action {
    width: 100%;
    padding: .55rem .7rem;
    border: 1px solid rgba(255,255,255,.65);
    color: #fff;
    background: rgba(4, 57, 49, .28);
    cursor: pointer;
}

.club-show-action:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.club-show-action b { display: grid; place-items: center; min-width: 21px; height: 21px; border: 1px solid #77e7b2; border-radius: 50%; font-size: .68rem; }
.club-show-manage { position: relative; min-width: 0; }
.club-show-manage summary { list-style: none; }
.club-show-manage summary::-webkit-details-marker { display: none; }
.club-show-manage__menu {
    position: absolute;
    z-index: 10;
    inset-block-start: calc(100% + .45rem);
    inset-inline-end: 0;
    display: grid;
    width: 220px;
    padding: .4rem;
    border: 1px solid var(--club-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15,23,42,.2);
}

.club-show-manage__menu a { min-height: 42px; padding: .65rem .75rem; border-radius: 8px; color: #334155; font-size: .8rem; font-weight: 750; text-decoration: none; }
.club-show-manage__menu a:hover { color: var(--club-green-dark); background: #eef8f3; }
.club-show-membership-action { display: flex; justify-content: flex-end; min-height: 24px; }
.club-show-membership-action form { margin: 0; }
.club-show-text-action { min-height: 32px; padding: .15rem .3rem; border: 0; color: rgba(255,255,255,.86); background: transparent; font: inherit; font-size: .72rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.club-show-action-note { color: rgba(255,255,255,.74); font-size: .69rem; line-height: 1.4; text-align: end; }

.club-show-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(135px, 1fr));
    margin: 1.1rem 0;
    overflow-x: auto;
    border: 1px solid var(--club-line);
    border-radius: 15px;
    background: #fff;
    scrollbar-width: thin;
}

.club-show-tabs a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 54px;
    color: #465366;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
}

.club-show-tabs a:hover { color: var(--club-green-dark); background: #f7fbf9; }
.club-show-tabs a.is-active { color: #0c8a55; }
.club-show-tabs a.is-active::after { position: absolute; inset-inline: 16%; inset-block-end: 0; height: 2px; content: ''; border-radius: 999px; background: #13a166; }

.club-show-grid { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(290px, .95fr); gap: 1rem; align-items: start; }
.club-show-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: .35rem .15rem; }
.club-show-section-heading h2 { margin: 0; color: var(--club-navy); font-size: 1.35rem; font-weight: 850; }
.club-show-section-heading > a { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; color: var(--club-green-dark); font-size: .8rem; font-weight: 800; text-decoration: none; }
.club-show-section-heading > a svg { width: 1rem; height: 1rem; }

.club-show-sidebar { position: sticky; top: 80px; display: grid; gap: .75rem; }
.club-show-side-card { padding: 1.15rem 1.2rem; border: 1px solid var(--club-line); border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(16,32,51,.035); }
.club-show-side-card h2 { margin: 0; color: var(--club-navy); font-size: 1rem; font-weight: 850; }
.club-show-side-card > p { margin: .65rem 0 0; color: #526173; font-size: .81rem; line-height: 1.7; }
.club-show-side-card dl { display: grid; gap: .65rem; margin: 1rem 0 0; }
.club-show-side-card dl div { display: grid; grid-template-columns: 95px 1fr; gap: .55rem; }
.club-show-side-card dt { color: var(--club-muted); font-size: .7rem; }
.club-show-side-card dd { margin: 0; color: #344256; font-size: .73rem; font-weight: 700; overflow-wrap: anywhere; }
.club-show-side-card header { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.club-show-side-card header a { color: #07884f; font-size: .71rem; font-weight: 800; text-decoration: none; }

.club-show-event__body { display: grid; grid-template-columns: 48px 1fr; gap: .75rem; margin-top: .9rem; color: inherit; text-decoration: none; }
.club-show-event__date { display: grid; align-content: center; overflow: hidden; border: 1px solid #dbe6e0; border-radius: 9px; text-align: center; background: #fff; }
.club-show-event__date span { padding: .18rem; color: #fff; background: #15945f; font-size: .55rem; font-weight: 850; text-transform: uppercase; }
.club-show-event__date strong { color: var(--club-navy); font-size: 1.05rem; line-height: 1.7; }
.club-show-event__copy { display: grid; gap: .25rem; min-width: 0; }
.club-show-event__copy > strong { color: var(--club-navy); font-size: .8rem; line-height: 1.4; overflow-wrap: anywhere; }
.club-show-event__copy small { display: flex; align-items: center; gap: .35rem; color: var(--club-muted); font-size: .68rem; line-height: 1.45; }
.club-show-event__copy svg { width: .85rem; height: .85rem; }
.club-show-side-empty { padding: .75rem 0; color: var(--club-muted) !important; }

.club-show-members header > div { display: flex; align-items: center; gap: .4rem; }
.club-show-members header > div > span { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; color: #0b7449; background: #e8f5ee; font-size: .66rem; font-weight: 850; }
.club-show-members ul { display: grid; gap: .2rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.club-show-members li a { display: flex; align-items: center; gap: .65rem; min-height: 50px; padding: .3rem; border-radius: 10px; color: inherit; text-decoration: none; }
.club-show-members li a:hover { background: #f3f8f5; }
.club-show-members img,
.club-show-member-initial { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; color: #0e8252; background: #e0f3e8; font-size: .75rem; font-weight: 850; }
.club-show-members li a > span:last-child { display: grid; min-width: 0; }
.club-show-members li strong, .club-show-members li small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.club-show-members li strong { color: var(--club-navy); font-size: .76rem; }
.club-show-members li small { color: var(--club-muted); font-size: .64rem; }

.club-show-page .post-card { border-radius: 16px; box-shadow: 0 6px 20px rgba(16,32,51,.045); }
.club-show-page .post-card__avatar { border-radius: 12px; }

html[dir="rtl"] .club-show-category { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .club-show-event__copy small { direction: rtl; }

@media (max-width: 960px) {
    .club-show-hero { grid-template-columns: 1fr; gap: 1.5rem; }
    .club-show-hero__actions { width: min(520px, 100%); }
    .club-show-grid { grid-template-columns: 1fr; }
    .club-show-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .club-show-members { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .club-show-page { padding: .75rem .65rem calc(5.5rem + env(safe-area-inset-bottom)); }
    .club-show-hero { display: block; min-height: 0; margin-bottom: .75rem; padding: 0; overflow: visible; border: 1px solid var(--club-line); border-radius: 15px; color: var(--club-navy); background: #fff; box-shadow: 0 5px 22px rgba(16,32,51,.06); }
    .club-show-hero::before { display: block; height: 138px; content: ''; border-radius: 14px 14px 0 0; background: linear-gradient(125deg, #073b3d, #087c5d); }
    .club-show-hero__pattern { inset: 0 0 auto 35%; height: 138px; border-radius: 14px 14px 0 0; }
    .club-show-hero__identity { display: block; padding: 0 1rem; }
    .club-show-logo { width: 88px; height: 88px; margin-top: -46px; border-radius: 18px; box-shadow: 0 8px 20px rgba(15,23,42,.16); }
    .club-show-hero__copy { padding-top: .8rem; }
    .club-show-title-row h1 { color: var(--club-navy); font-size: 1.28rem; }
    .club-show-verified { width: 20px; height: 20px; }
    .club-show-category { margin-top: .45rem; color: #0b8552; background: #e8f5ee; font-size: .62rem; }
    .club-show-description { margin-top: .55rem; color: #5c6878; font-size: .8rem; line-height: 1.65; }
    .club-show-description.is-collapsed { max-height: 4.05rem; }
    .club-show-read-more { color: var(--club-green-dark); }
    .club-show-meta { gap: .35rem; margin-top: .7rem; }
    .club-show-meta > span { min-height: 28px; padding: .25rem .5rem; border-color: #dce7e1; color: #435267; background: #f2f7f4; font-size: .62rem; }
    .club-show-hero__actions { width: auto; padding: .8rem 1rem 1rem; }
    .club-show-workplace { min-height: 50px; }
    .club-show-secondary-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .club-show-action { min-height: 44px; gap: .35rem; padding: .4rem .25rem; border-color: #d7e2dc; color: var(--club-navy); background: #fff; font-size: .68rem; }
    .club-show-action:hover { color: var(--club-green-dark); border-color: #91bea7; background: #f2f8f5; }
    .club-show-action svg { width: .95rem; height: .95rem; }
    .club-show-action b { border-color: #5ac392; color: #0c7b4c; }
    .club-show-manage__menu { inset-inline-end: 0; max-width: calc(100vw - 2.5rem); }
    .club-show-membership-action { justify-content: center; }
    .club-show-text-action { color: #6b7280; }
    .club-show-action-note { color: #6b7280; text-align: center; }
    .club-show-tabs { grid-template-columns: repeat(4, minmax(105px, 1fr)); margin: .65rem 0 .85rem; border-inline: 0; border-radius: 0; }
    .club-show-tabs a { min-height: 50px; gap: .35rem; font-size: .68rem; }
    .club-show-tabs a svg { width: .95rem; height: .95rem; }
    .club-show-section-heading { padding-inline: .25rem; }
    .club-show-section-heading h2 { font-size: 1.15rem; }
    .club-show-section-heading .ui-eyebrow { display: none; }
    .club-show-section-heading > a span { display: none; }
    .club-show-section-heading > a { width: 44px; justify-content: center; }
    .club-show-sidebar { grid-template-columns: 1fr; }
    .club-show-members { grid-column: auto; }
    .club-show-side-card { padding: 1rem; border-radius: 14px; }
    .club-show-page .post-card__actions { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .club-show-page .post-action:nth-child(3),
    .club-show-page .post-action:nth-child(5),
    .club-show-page .post-action:nth-child(6) { display: none; }
}

@media (max-width: 360px) {
    .club-show-secondary-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .club-show-manage { grid-column: span 2; }
    .club-show-tabs { grid-template-columns: repeat(4, minmax(96px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .club-show-page *, .club-show-page *::before, .club-show-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
