/* ============================================================================
   LAYOUT 4 — "Synora Classic" · inner pages
   Loaded after synora.css on every page except home: the page banner, search
   and filter bar, the card families (videos, gallery, team, events,
   community), modals and the subjects → class flow. Uses synora.css tokens.
   ========================================================================== */

/* the current page in the mobile drawer */
.sy-drawer .panel a.lnk.on { color: var(--gold-light); }

/* ── page banner ──────────────────────────────────────────────────────────── */
.sy-phero { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; padding: clamp(54px, 7vw, 92px) 0 clamp(48px, 6vw, 80px);
    background-image: radial-gradient(circle at 12% 0%, rgba(201,162,74,.18), transparent 45%), radial-gradient(circle at 92% 110%, rgba(29,65,137,.85), transparent 55%); }
.sy-phero::before { content: ''; position: absolute; right: -70px; top: 50%; width: 440px; height: 440px; transform: translateY(-50%);
    background: url('img/synora-crest.png') center/contain no-repeat; filter: brightness(0) invert(1); opacity: .06; pointer-events: none; }
.sy-phero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep)); }
.sy-phero .sy-wrap { position: relative; }
.sy-phero .sy-eyebrow { color: var(--gold-light); }
.sy-phero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.01em; max-width: 820px; }
.sy-phero h1 em { font-style: italic; font-weight: 600; color: var(--gold-light); }
.sy-phero p { color: #c6cde0; font-size: 17px; max-width: 640px; margin-top: 16px; }
.sy-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #aeb7cc; margin-bottom: 22px; }
.sy-crumb a { color: #dfe4f0; transition: color .2s; }
.sy-crumb a:hover { color: var(--gold-light); }
.sy-crumb i { font-size: 9px; color: var(--gold); }
.sy-crumb span { color: var(--gold-light); font-weight: 600; }
.sy-phero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; }
.sy-phero-stats div { position: relative; padding-left: 16px; }
.sy-phero-stats div::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--gold); }
.sy-phero-stats b { display: block; font-family: var(--display); font-size: 36px; line-height: 1; color: var(--gold-light); }
.sy-phero-stats span { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c6cde0; }

.sy-sec.tight { padding: clamp(48px, 6vw, 80px) 0; }
.sy-sec.ivory-soft { background: linear-gradient(180deg, var(--ivory), #fff 420px); }

/* ── search + filter bar ──────────────────────────────────────────────────── */
.sy-toolbar { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.sy-search { display: flex; align-items: center; max-width: 620px; width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
    padding: 5px 5px 5px 20px; box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .2s; }
.sy-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.14); }
.sy-search > i { color: var(--faint); margin-right: 10px; }
.sy-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 10px 0; font-size: 15px; }
.sy-search button { flex-shrink: 0; border: 0; cursor: pointer; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
    background: var(--navy-800); color: #fff; transition: background .2s; }
.sy-search button:hover { background: var(--navy-700); }
.sy-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sy-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
    border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); transition: all .25s; }
.sy-pill i { font-size: 12px; color: var(--gold-deep); }
.sy-pill:hover { border-color: var(--gold); color: var(--navy-800); }
.sy-pill.on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.sy-pill.on i { color: var(--gold-light); }
.sy-count { font-size: 13.5px; color: var(--muted); }
.sy-count b { color: var(--navy-800); }

/* ── shared grid + card ───────────────────────────────────────────────────── */
.sy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.sy-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.sy-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(201,162,74,.5); }
.sy-card-media { position: relative; aspect-ratio: 16/9; background: var(--navy-soft); overflow: hidden; }
.sy-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sy-card:hover .sy-card-media > img { transform: scale(1.05); }
.sy-card-media .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.sy-card-media .ph img { width: 64px; height: auto; filter: brightness(0) invert(1); opacity: .85; }
.sy-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sy-card-body h3 { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.18; color: var(--navy-800); }
.sy-card-body p { font-size: 14px; color: var(--muted); flex: 1; }
.sy-card-body .sy-btn { margin-top: auto; align-self: flex-start; }
.sy-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
    background: rgba(255,255,255,.95); color: var(--navy-800); box-shadow: var(--sh-sm); }
.sy-badge.tl { top: 12px; left: 12px; display: block; max-width: calc(100% - 130px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sy-badge.tr { top: 12px; right: 12px; }
.sy-badge i { color: var(--gold-deep); }
.sy-badge.free { background: var(--gold); color: var(--navy-900); }
.sy-badge.free i { color: var(--navy-900); }
.sy-badge.paid { background: var(--navy-800); color: #fff; }
.sy-badge.paid i { color: var(--gold-light); }

/* ── empty state ──────────────────────────────────────────────────────────── */
.sy-empty { grid-column: 1 / -1; text-align: center; padding: 64px 24px; background: var(--ivory); border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.sy-empty > i { font-size: 44px; color: var(--gold); margin-bottom: 18px; display: block; }
.sy-empty h3 { font-family: var(--display); font-size: 28px; color: var(--navy-800); margin-bottom: 8px; }
.sy-empty p { color: var(--muted); max-width: 480px; margin: 0 auto; }
.sy-empty .sy-btn { margin-top: 22px; }

/* ── videos ───────────────────────────────────────────────────────────────── */
.sy-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(7,21,51,.18); transition: background .3s; }
.sy-play span { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.94);
    color: var(--navy-800); font-size: 20px; padding-left: 4px; box-shadow: 0 10px 30px rgba(7,21,51,.3); transition: transform .35s var(--ease), background .25s, color .25s; }
.sy-card:hover .sy-play { background: rgba(7,21,51,.35); }
.sy-card:hover .sy-play span { transform: scale(1.08); background: var(--gold); color: var(--navy-900); }
.sy-card.locked .sy-play { background: rgba(7,21,51,.55); }
.sy-card.locked .sy-play span { padding-left: 0; background: var(--navy-800); color: var(--gold-light); }
.sy-vcard h3 { font-size: 20px; }

/* ── modal (video player, event details) ──────────────────────────────────── */
.sy-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5,15,38,.82);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sy-modal.open { opacity: 1; visibility: visible; }
.sy-modal-box { position: relative; width: 100%; max-width: 900px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: var(--r-lg);
    box-shadow: var(--sh-lg); transform: translateY(20px); transition: transform .4s var(--ease); }
.sy-modal.open .sy-modal-box { transform: none; }
.sy-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--navy-900); color: #fff; }
.sy-modal-head h3 { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.2; min-width: 0; }
.sy-modal-x { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; font-size: 17px; transition: all .2s; }
.sy-modal-x:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.sy-modal-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.sy-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sy-modal-img { width: 100%; max-height: 380px; object-fit: cover; }
.sy-modal-body { padding: 28px; }
.sy-modal-body .date { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.sy-modal-body h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 36px); color: var(--navy-800); line-height: 1.1; margin: 8px 0 14px; }
.sy-modal-body .txt { color: var(--ink-2); white-space: pre-line; }

/* ── gallery ──────────────────────────────────────────────────────────────── */
.sy-gal { columns: 3 300px; column-gap: 20px; }
.sy-gal-item { position: relative; display: block; width: 100%; break-inside: avoid; margin-bottom: 20px; border: 0; padding: 0; cursor: zoom-in;
    border-radius: var(--r-md); overflow: hidden; background: var(--navy-soft); box-shadow: var(--sh-sm); }
.sy-gal-item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.sy-gal-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,21,51,.85)); opacity: 0; transition: opacity .35s; }
.sy-gal-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 18px; color: #fff; font-weight: 600; font-size: 14px; text-align: left; opacity: 0; transform: translateY(10px); transition: all .35s var(--ease); }
.sy-gal-cap i { color: var(--gold-light); }
.sy-gal-item:hover img { transform: scale(1.05); }
.sy-gal-item:hover::after, .sy-gal-item:focus-visible::after { opacity: 1; }
.sy-gal-item:hover .sy-gal-cap, .sy-gal-item:focus-visible .sy-gal-cap { opacity: 1; transform: none; }
.sy-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,15,38,.94); display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px; padding: 60px 16px 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sy-lightbox.open { opacity: 1; visibility: visible; }
.sy-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: var(--r-sm); box-shadow: var(--sh-lg); }
.sy-lightbox .cap { color: #dfe4f0; font-family: var(--display); font-size: 21px; text-align: center; }
.sy-lightbox .sy-modal-x { position: absolute; top: 16px; right: 16px; }

/* ── team ─────────────────────────────────────────────────────────────────── */
.sy-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.sy-member { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 24px 28px; text-align: center; overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sy-member::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 86px; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.sy-member:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.sy-member-ph { position: relative; width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy-soft); border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--gold), var(--sh-md); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sy-member-ph i { font-size: 46px; color: var(--navy-600); opacity: .5; }
.sy-member-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sy-member .role { font-family: var(--caps); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.sy-member h3 { font-family: var(--display); font-size: 26px; color: var(--navy-800); line-height: 1.15; margin: 6px 0 14px; }
.sy-member .tel { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line);
    font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.sy-member .tel i { color: var(--gold-deep); }
.sy-member .tel:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ── events ───────────────────────────────────────────────────────────────── */
.sy-date { position: absolute; z-index: 2; left: 14px; bottom: -22px; width: 64px; padding: 10px 0 8px; border-radius: 14px; text-align: center;
    background: var(--navy-800); color: #fff; box-shadow: 0 10px 24px rgba(7,21,51,.3); border-bottom: 3px solid var(--gold); }
.sy-date b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--gold-light); }
.sy-date span { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
/* the date badge hangs below the banner, so the image is clipped by .clip instead */
.sy-ecard .sy-card-media { overflow: visible; }
.sy-ecard .sy-card-media .clip { position: absolute; inset: 0; overflow: hidden; }
.sy-ecard .sy-card-media .clip > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sy-ecard:hover .sy-card-media .clip > img { transform: scale(1.05); }
.sy-ecard .sy-card-body { padding-top: 34px; }
.sy-ecard.past .sy-date { background: var(--muted); border-bottom-color: var(--faint); }

/* ── community ────────────────────────────────────────────────────────────── */
.sy-group { padding: 28px; }
.sy-group-top { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.sy-group-ic { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #fff; background: var(--navy-800); }
.sy-group-ic img { width: 100%; height: 100%; object-fit: cover; }
.sy-group-ic.whatsapp { background: #25d366; }
.sy-group-ic.telegram { background: #229ed9; }
.sy-plat { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sy-plat.whatsapp { color: #128c4b; }
.sy-plat.telegram { color: #1a7fb0; }
.sy-group h3 { font-family: var(--display); font-size: 23px; font-weight: 700; color: var(--navy-800); line-height: 1.15; margin-top: 2px; }
.sy-group p { font-size: 14px; color: var(--muted); margin: 12px 0 20px; flex: 1; }
.sy-group .sy-btn { align-self: flex-start; }

/* ── contact page ─────────────────────────────────────────────────────────── */
.sy-hours { display: grid; gap: 10px; margin-top: 6px; font-size: 14px; }
.sy-hours dt { color: #c6cde0; font-size: 13px; }
.sy-hours dd { font-weight: 600; }
.sy-form h3 { font-family: var(--display); font-size: 30px; color: var(--navy-800); line-height: 1.1; }
.sy-form > p { color: var(--muted); font-size: 14.5px; margin: 6px 0 24px; }
.sy-form .req { color: var(--gold-deep); }
.sy-form button[type=submit] { width: 100%; }

/* ── subjects → class flow ────────────────────────────────────────────────── */
.sy-subj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.sy-subj { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.sy-subj:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(201,162,74,.5); }
.sy-subj-photo { aspect-ratio: 16/8; overflow: hidden; background: var(--navy-soft); }
.sy-subj-photo img { width: 100%; height: 100%; object-fit: cover; }
.sy-subj-ico { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: var(--navy-800); color: var(--gold-light); font-size: 22px; }
.sy-subj-ico.big { width: 64px; height: 64px; font-size: 26px; }
.sy-subj-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sy-subj-photo + .sy-subj-body .sy-subj-ico { margin-top: -52px; border: 4px solid #fff; box-sizing: content-box; }
.sy-subj-body b { font-family: var(--display); font-size: 27px; color: var(--navy-800); line-height: 1.1; }
.sy-subj-tag { font-size: 14px; color: var(--muted); flex: 1; }
.sy-subj-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--line); }
.sy-subj-count { font-size: 13px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.sy-subj-count i { color: var(--gold-deep); }
.sy-subj:hover .sy-arrow { background: var(--navy-800); color: var(--gold-light); }
.sy-subj-intro { display: flex; gap: 20px; align-items: flex-start; padding: 26px; margin-bottom: 40px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sy-subj-intro p { color: var(--ink-2); }

.sy-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.sy-tab { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: 14.5px;
    background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); transition: all .25s; }
.sy-tab small { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--gold-deep); }
.sy-tab:hover { border-color: var(--gold); color: var(--navy-800); }
.sy-tab.on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; box-shadow: 0 10px 22px rgba(11,31,77,.22); }
.sy-tab.on small { color: var(--gold-light); }

.sy-class-panel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 32px; align-items: start; scroll-margin-top: 100px; }
.sy-class-main { min-width: 0; }
.sy-class-head { margin-bottom: 22px; }
.sy-class-head h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 42px); color: var(--navy-800); line-height: 1.08; }
.sy-class-sub { display: block; margin-top: 6px; color: var(--muted); }
.sy-meta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.sy-meta { padding: 16px 18px; border-radius: var(--r-sm); background: var(--ivory); border: 1px solid var(--line); }
.sy-meta-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.sy-meta-v { display: block; margin-top: 4px; font-size: 15.5px; color: var(--navy-800); }
.sy-meta-v i { color: var(--gold-deep); margin-right: 4px; }
.sy-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; margin-bottom: 20px; }
.sy-block h3 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 24px; color: var(--navy-800); margin-bottom: 14px; }
.sy-block h3 i { font-size: 16px; color: var(--gold-deep); }
.sy-block-empty { color: var(--muted); font-size: 14px; }
.sy-block-text { color: var(--ink-2); }
.sy-tt-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.sy-tt { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.sy-tt th { text-align: left; padding: 12px 14px; background: var(--navy-800); color: #fff; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.sy-tt td { padding: 13px 14px; border-top: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; }
.sy-tt tr:nth-child(even) td { background: var(--ivory); }
.sy-tt td i { color: var(--gold-deep); }
.sy-tt-day { display: inline-block; min-width: 40px; padding: 2px 8px; margin-right: 6px; border-radius: 6px; background: var(--gold-soft); color: var(--gold-deep); font-size: 11.5px; font-weight: 800; text-align: center; }
.sy-tt-note { font-size: 12.5px; color: var(--faint); margin-top: 3px; }
.sy-next { display: grid; gap: 10px; }
.sy-next li { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-sm); background: var(--ivory); }
.sy-next-date { flex-shrink: 0; width: 54px; padding: 6px 0; border-radius: 10px; background: var(--navy-800); color: #fff; text-align: center; }
.sy-next-date b { display: block; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--gold-light); }
.sy-next-date span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sy-next-body b { display: block; color: var(--navy-800); }
.sy-next-body span { font-size: 13px; color: var(--muted); }

.sy-class-side { display: grid; gap: 20px; position: sticky; top: 104px; min-width: 0; }
.sy-tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.sy-tcard-k { font-family: var(--caps); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.sy-tcard-top { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.sy-tcard-top img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); flex-shrink: 0; }
.sy-tcard-top b { display: block; font-family: var(--display); font-size: 23px; color: var(--navy-800); line-height: 1.1; }
.sy-tcard-top span { font-size: 13px; color: var(--muted); }
.sy-tcard-facts { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.sy-tcard-facts i { color: var(--gold-deep); width: 18px; }
.sy-tcard-bio { margin-top: 14px; font-size: 14px; color: var(--muted); }
.sy-tcard-links { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; }
.sy-tcard-links a { display: flex; align-items: center; gap: 10px; color: var(--navy-800); font-weight: 600; word-break: break-word; }
.sy-tcard-links i { color: var(--gold-deep); }
.sy-join { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.sy-join::before { content: ''; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; background: url('img/synora-crest.png') center/contain no-repeat;
    filter: brightness(0) invert(1); opacity: .06; pointer-events: none; }
.sy-join > * { position: relative; }
.sy-join-fee { font-family: var(--display); font-size: clamp(34px, 4vw, 44px); font-weight: 700; color: var(--gold-light); line-height: 1; }
.sy-join-fee small { font-family: var(--body); font-size: 14px; color: #c6cde0; font-weight: 500; margin-left: 6px; }
.sy-join-for { font-size: 13px; color: #c6cde0; margin-bottom: 8px; }
.sy-join .sy-btn { width: 100%; }
.sy-join .sy-btn-line { border-color: rgba(255,255,255,.35); color: #fff; }
.sy-join .sy-btn-line:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.sy-join-done { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #7ee2a8; }
.sy-join-done.wait { color: var(--gold-light); }
.sy-join-ask { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 600; color: #dfe4f0; }
.sy-join-ask:hover { color: var(--gold-light); }
.sy-join-ask i { color: #25d366; }
.sy-join form { margin: 0; }
.sy-alert i { margin-right: 6px; }

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .sy-class-panel { grid-template-columns: 1fr; }
    .sy-class-side { position: static; }
}
@media (max-width: 640px) {
    .sy-phero::before { width: 260px; height: 260px; right: -90px; }
    .sy-phero p { font-size: 15.5px; }
    .sy-phero-stats { gap: 14px 28px; }
    .sy-phero-stats b { font-size: 30px; }
    .sy-grid, .sy-team, .sy-subj-grid { grid-template-columns: 1fr; }
    .sy-search { padding-left: 16px; }
    .sy-search button { padding: 10px 16px; }
    .sy-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
    .sy-pills::-webkit-scrollbar { display: none; }
    .sy-pill { flex-shrink: 0; }
    .sy-gal { columns: 2 150px; column-gap: 12px; }
    .sy-gal-item { margin-bottom: 12px; }
    .sy-gal-cap { opacity: 1; transform: none; padding: 10px 12px; font-size: 12.5px; }
    .sy-gal-item::after { opacity: 1; }
    .sy-subj-intro { flex-direction: column; padding: 20px; }
    .sy-block { padding: 20px 16px; }
    .sy-modal { padding: 10px; }
    .sy-modal-body { padding: 22px 18px; }
}
