/* ============================================================
   Δημόσιο ασκησιολόγιο - κοινά primitives
   Χρώματα σε HEX alpha (χωρίς rgba).
   ============================================================ */
.fv-public-exercises {
    --fv-ex-primary: var(--main-primary-color, #325de6);
    --fv-ex-primary-hover: var(--main-primary-hover-color, #1739a6);
    --fv-ex-text: var(--main-neutral-grey-color, #2d2d2d);
    --fv-ex-ink: var(--main-blueblack-color, #000f1e);
    --fv-ex-muted: var(--secondary-metallic-blue, #5f6e95);
    --fv-ex-border: var(--border-silver-color, #d5d9e7);
    --fv-ex-surface: var(--main-white-pure-color, #ffffff);
    --fv-ex-soft: var(--main-sub-color, #e1e8fe);
    --fv-ex-shadow-sm: 0 4px 12px 0 #000f1e14;
    --fv-ex-shadow-md: 0 8px 24px 0 #000f1e24;
    --fv-ex-r-sm: 8px;
    --fv-ex-r-md: 12px;
    --fv-ex-r-lg: 16px;
    --fv-ex-r-xl: 20px;
    min-height: 100vh;
    color: var(--fv-ex-text);
    background: var(--fv-ex-surface);
    line-height: 1.5;
}

.fv-public-exercises__wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.fv-public-exercises__eyebrow {
    display: inline-flex;
    color: var(--fv-ex-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.fv-public-exercises__button {
    display: inline-flex;
    min-height: 44px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--fv-ex-r-md);
    color: #ffffff;
    background: var(--fv-ex-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 150ms ease, transform 150ms ease;
}

.fv-public-exercises__button:hover {
    color: #ffffff;
    background: var(--fv-ex-primary-hover);
    transform: translateY(-1px);
}

/* ============================================================
   Index (/askiseis)
   ============================================================ */
.fv-public-exercises--v2 h1,
.fv-public-exercises--v2 h2,
.fv-public-exercises--v2 h3 {
    margin: 0;
    color: var(--fv-ex-ink);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.fv-public-exercises--v2 p {
    margin: 0;
}

/* --- hero: συμπαγής, ώστε οι ασκήσεις να φαίνονται νωρίς --- */
.fv-lib__hero {
    padding: 18px 0 18px;
    border-bottom: 1px solid var(--fv-ex-border);
    background: linear-gradient(160deg, #eef3ff 0%, #ffffff 70%);
}

.fv-lib__hero h1 {
    max-width: 20ch;
    margin: 8px 0 6px;
    font-size: clamp(1.6rem, 5.4vw, 2.4rem);
    font-weight: 800;
}

.fv-lib__intro {
    max-width: 62ch;
    color: var(--fv-ex-muted);
    font-size: 15px;
    line-height: 1.6;
}

.fv-lib__trust {
    display: flex;
    flex-wrap: wrap;
    margin-top: 12px;
    gap: 8px;
}

.fv-lib__trust span {
    padding: 6px 11px;
    border: 1px solid var(--fv-ex-border);
    border-radius: 999px;
    color: var(--fv-ex-muted);
    background: var(--fv-ex-surface);
    font-size: 12px;
    font-weight: 700;
}

.fv-lib__trust .fv-lib__trust-strong {
    border-color: #c9d6fb;
    color: #1f3e9e;
    background: var(--fv-ex-soft);
}

/* --- body --- */
.fv-lib__body {
    padding: 16px 0 64px;
}

/* --- φίλτρα --- */
.fv-lib__filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fv-lib__search {
    position: relative;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 6px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-md);
    background: var(--fv-ex-surface);
    box-shadow: var(--fv-ex-shadow-sm);
}

.fv-lib__search > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-left: 8px;
    color: var(--fv-ex-muted);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.fv-lib__search input {
    min-width: 0;
    height: 44px;
    flex: 1 1 auto;
    border: 0;
    color: var(--fv-ex-ink);
    background: transparent;
    font: inherit;
    font-size: 15px;
}

.fv-lib__search input:focus {
    outline: 0;
}

.fv-lib__search:focus-within {
    border-color: var(--fv-ex-primary);
    box-shadow: 0 0 0 3px #325de626;
}

.fv-lib__search button {
    min-height: 44px;
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 0;
    border-radius: var(--fv-ex-r-sm);
    color: #ffffff;
    background: var(--fv-ex-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 150ms ease;
}

.fv-lib__search button:hover {
    background: var(--fv-ex-primary-hover);
}

/* Δύο στήλες ήδη από το mobile: με μία στήλη τα τέσσερα select
   έσπρωχναν την πρώτη κάρτα κάτω από το fold. */
.fv-lib__selects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fv-lib__select {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.fv-lib__select > span {
    color: var(--fv-ex-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.fv-lib__select select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-md);
    color: var(--fv-ex-ink);
    background: var(--fv-ex-surface);
    font: inherit;
    font-size: 15px;
}

.fv-lib__select select:focus {
    border-color: var(--fv-ex-primary);
    outline: 0;
    box-shadow: 0 0 0 3px #325de626;
}

/* Το πάνω κουμπί αναζήτησης αρκεί σε mobile - αυτό εμφανίζεται
   μόνο όταν τα select μπαίνουν σε σειρά δίπλα του. */
.fv-lib__apply {
    display: none;
    min-height: 46px;
    align-self: end;
    padding: 11px 18px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-md);
    color: var(--fv-ex-primary);
    background: var(--fv-ex-surface);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
}

.fv-lib__apply:hover {
    border-color: var(--fv-ex-primary);
    background: #f7f9ff;
}

/* --- ενεργά φίλτρα ως αφαιρούμενα chips --- */
.fv-lib__active {
    display: flex;
    flex-wrap: wrap;
    margin-top: 14px;
    gap: 8px;
    align-items: center;
}

.fv-lib__active-chip {
    display: inline-flex;
    min-height: 36px;
    gap: 8px;
    align-items: center;
    padding: 7px 10px 7px 13px;
    border: 1px solid #c9d6fb;
    border-radius: 999px;
    color: #1f3e9e;
    background: var(--fv-ex-soft);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease;
}

.fv-lib__active-chip:hover {
    border-color: var(--fv-ex-primary);
    color: var(--fv-ex-primary-hover);
    background: #cfdcfc;
}

.fv-lib__active-chip svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.fv-lib__clear {
    color: var(--fv-ex-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fv-lib__clear:hover {
    color: var(--fv-ex-primary-hover);
}

/* --- αποτελέσματα --- */
.fv-lib__results {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0 12px;
    gap: 4px 12px;
    align-items: baseline;
}

.fv-lib__results h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

.fv-lib__results p {
    color: var(--fv-ex-muted);
    font-size: 14px;
}

.fv-lib__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Ολόκληρη η κάρτα είναι ένας σύνδεσμος: ένα link ανά άσκηση
   αντί για τρία προς το ίδιο URL. */
.fv-lib__card {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-lg);
    background: var(--fv-ex-surface);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fv-lib__card:hover {
    border-color: var(--fv-ex-primary);
    box-shadow: var(--fv-ex-shadow-sm);
    transform: translateY(-2px);
}

.fv-lib__card > a {
    display: flex;
    width: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.fv-lib__card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edeff5;
}

.fv-lib__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.fv-lib__card:hover .fv-lib__card-media img {
    transform: scale(1.03);
}

.fv-lib__card-play {
    position: absolute;
    display: grid;
    width: 44px;
    height: 44px;
    inset: 50% auto auto 50%;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #000f1e7a;
    transform: translate(-50%, -50%);
    transition: background 180ms ease;
}

.fv-lib__card:hover .fv-lib__card-play {
    background: var(--fv-ex-primary);
}

.fv-lib__card-play svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.fv-lib__card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--fv-ex-ink);
    background: #fffffff0;
    box-shadow: var(--fv-ex-shadow-sm);
    font-size: 11px;
    font-weight: 700;
}

.fv-lib__card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 12px;
    gap: 7px;
}

.fv-lib__card-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.fv-lib__card-summary {
    display: -webkit-box;
    overflow: hidden;
    color: var(--fv-ex-muted);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fv-lib__card-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 4px;
    gap: 6px;
}

.fv-lib__card-tags span {
    padding: 4px 9px;
    border-radius: 999px;
    color: #1f3e9e;
    background: var(--fv-ex-soft);
    font-size: 11px;
    font-weight: 700;
}

/* --- άδειο αποτέλεσμα --- */
.fv-lib__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-lg);
    background: var(--fv-ex-surface);
    gap: 10px;
    text-align: center;
}

.fv-lib__empty svg {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    color: var(--fv-ex-muted);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.fv-lib__empty h3 {
    font-size: 1.15rem;
    font-weight: 800;
}

.fv-lib__empty p {
    max-width: 44ch;
    color: var(--fv-ex-muted);
    line-height: 1.6;
}

.fv-lib__empty .fv-public-exercises__button {
    margin-top: 10px;
}

/* --- σελιδοποίηση --- */
.fv-lib__pagination {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.fv-lib__page-numbers {
    display: flex;
    gap: 6px;
    order: -1;
    width: 100%;
    justify-content: center;
}

.fv-lib__pagination a,
.fv-lib__page-nav {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    gap: 6px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-md);
    color: var(--fv-ex-primary-hover);
    background: var(--fv-ex-surface);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fv-lib__pagination a:hover {
    border-color: var(--fv-ex-primary);
    color: #ffffff;
    background: var(--fv-ex-primary);
}

.fv-lib__pagination a:hover svg {
    stroke: #ffffff;
}

.fv-lib__pagination a.is-current {
    border-color: var(--fv-ex-primary);
    color: #ffffff;
    background: var(--fv-ex-primary);
}

.fv-lib__page-nav {
    flex: 1 1 140px;
    max-width: 200px;
}

.fv-lib__page-nav.is-disabled {
    color: #a9b1c6;
    background: var(--main-white-color, #f2f2f2);
}

.fv-lib__page-nav svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============ >=700px ============ */
@media (min-width: 700px) {
    .fv-lib__hero {
        padding: 36px 0 32px;
    }

    .fv-lib__intro {
        font-size: 16px;
    }

    .fv-lib__body {
        padding: 28px 0 80px;
    }

    .fv-lib__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fv-lib__card-body h3 {
        font-size: 16px;
    }

    .fv-lib__page-numbers {
        order: 0;
        width: auto;
    }
}

/* ============ >=1024px ============ */
@media (min-width: 1024px) {
    .fv-lib__hero {
        padding: 44px 0 38px;
    }

    .fv-lib__selects {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
        align-items: end;
    }

    .fv-lib__apply {
        display: inline-flex;
    }

    .fv-lib__results {
        margin: 32px 0 18px;
    }
}

/* ============ >=1280px ============ */
@media (min-width: 1280px) {
    .fv-lib__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
    .fv-lib__card,
    .fv-lib__card-media img,
    .fv-lib__card-play,
    .fv-lib__active-chip,
    .fv-public-exercises__button {
        transition: none;
    }
}

/* ============================================================
   Detail page (/askiseis/{slug})
   Scoped κάτω από .fv-public-exercise-detail - δεν επηρεάζει το index.
   Χρώματα σε HEX alpha (χωρίς rgba), ύψη chrome από τα chrome tokens.
   ============================================================ */
.fv-public-exercise-detail {
    --fv-ex-header-h: var(--fv-chrome-l1-h-mobile, 56px);
    --fv-ex-bottomnav-h: var(--fv-chrome-bottom-h, 64px);
    --fv-ex-gutter: 16px;
    --fv-ex-stack: 32px;
    --fv-ex-r-sm: 8px;
    --fv-ex-r-md: 12px;
    --fv-ex-r-lg: 16px;
    --fv-ex-r-xl: 20px;
    --fv-ex-shadow-sm: 0 4px 12px 0 #000f1e14;
    --fv-ex-shadow-md: 0 8px 24px 0 #000f1e24;
    display: block;
    padding-bottom: calc(var(--fv-ex-bottomnav-h) + 96px);
    background: var(--fv-ex-surface);
    line-height: 1.5;
}

.fv-public-exercise-detail .fv-public-exercises__wrap {
    width: min(1180px, calc(100% - var(--fv-ex-gutter) * 2));
}

.fv-public-exercise-detail h1,
.fv-public-exercise-detail h2,
.fv-public-exercise-detail h3 {
    margin: 0;
    color: var(--main-blueblack-color, #000f1e);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.fv-public-exercise-detail p {
    margin: 0;
}

/* Αέρας κάτω από το eyebrow. Scoped στη detail - στο index το h1 του hero
   φέρνει ήδη δικό του margin-top. */
.fv-public-exercise-detail .fv-public-exercises__eyebrow {
    margin-bottom: 10px;
}

/* --- breadcrumb: σπάει σε δεύτερη γραμμή, δεν κόβει το όνομα --- */
.fv-ex__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 14px 0 12px;
    color: var(--fv-ex-muted);
    font-size: 13px;
}

.fv-ex__breadcrumb a {
    padding: 4px 0;
    color: var(--fv-ex-muted);
    font-weight: 600;
}

.fv-ex__breadcrumb a:hover {
    color: var(--fv-ex-primary);
}

.fv-ex__breadcrumb [aria-current] {
    overflow: hidden;
    max-width: 100%;
    color: var(--main-blueblack-color, #000f1e);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ MEDIA ============ */
.fv-ex__media {
    margin-inline: calc(var(--fv-ex-gutter) * -1);
}

.fv-ex__stage {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--fv-ex-r-xl) var(--fv-ex-r-xl);
    background: #e8edf8;
    isolation: isolate;
}

.fv-ex__poster,
.fv-ex__video {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
}

.fv-ex__video {
    background: #e8edf8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.fv-ex__stage.is-live .fv-ex__video {
    opacity: 1;
}

.fv-ex__stage.is-mirrored .fv-ex__poster,
.fv-ex__stage.is-mirrored .fv-ex__video {
    transform: scaleX(-1);
}

.fv-ex__skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #edeff5 30%, #f7f8fc 50%, #edeff5 70%) 0 0 / 300% 100%;
    animation: fv-ex-skeleton 1.4s linear infinite;
}

.fv-ex__stage.is-loaded .fv-ex__skeleton {
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms ease;
}

@keyframes fv-ex-skeleton {
    to {
        background-position: -300% 0;
    }
}

.fv-ex__stage-badge,
.fv-ex__stage-note {
    position: absolute;
    z-index: 3;
    top: 12px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    border-radius: 999px;
    font-weight: 700;
}

.fv-ex__stage-badge {
    right: 12px;
    padding: 6px 12px;
    color: var(--main-blueblack-color, #000f1e);
    background: #fffffff0;
    box-shadow: var(--fv-ex-shadow-sm);
    font-size: 12px;
}

.fv-ex__stage-note {
    left: 12px;
    padding: 5px 10px;
    color: #ffffff;
    background: #000f1e8f;
    font-size: 11px;
    font-weight: 600;
}

.fv-ex__stage-note svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.fv-ex__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--alert-warning-color, #eab226);
}

.fv-ex__dot--easy {
    background: var(--alert-success-color, #1f8900);
}

.fv-ex__dot--hard {
    background: var(--alert-danger-color, #d62424);
}

/* --- custom controls: το native UI μένει κλειστό --- */
.fv-ex__controls {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 28px 10px 10px;
    background: linear-gradient(180deg, #000f1e00 0%, #000f1e8f 45%, #000f1ee0 100%);
}

.fv-ex__cbtn {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    /* Σκούρο fill: τα animatics έχουν λευκό φόντο, τα λευκά icons
       χρειάζονται δικό τους υπόβαθρο για να περνούν AA. */
    background: #000f1e7a;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.fv-ex__cbtn:hover {
    background: #000f1ea3;
}

.fv-ex__cbtn:active {
    transform: scale(0.94);
}

.fv-ex__cbtn[aria-pressed="true"] {
    color: var(--fv-ex-primary);
    background: #ffffff;
}

.fv-ex__cbtn--play {
    color: var(--fv-ex-primary);
    background: #ffffff;
}

.fv-ex__cbtn--play:hover {
    background: var(--main-sub-color, #e1e8fe);
}

.fv-ex__cbtn svg,
.fv-ex__mini button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Play/pause toggle: μόνο τα play κουμπιά έχουν δύο icons.
   Ο selector μένει σκόπιμα στενός - τα υπόλοιπα κουμπιά έχουν ένα icon
   και δεν πρέπει να το χάνουν. */
.fv-ex__cbtn--play [data-fv-icon-play],
.fv-ex__mini [data-fv-mini-play] [data-fv-icon-play] {
    display: none;
}

.fv-ex__cbtn--play:not(.is-playing) [data-fv-icon-play],
.fv-ex__mini [data-fv-mini-play]:not(.is-playing) [data-fv-icon-play] {
    display: block;
}

.fv-ex__cbtn--play:not(.is-playing) svg:first-of-type,
.fv-ex__mini [data-fv-mini-play]:not(.is-playing) svg:first-of-type {
    display: none;
}

.fv-ex__spacer {
    flex: 1 1 auto;
}

.fv-ex__speed {
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: #000f1e7a;
}

.fv-ex__speed button {
    min-width: 46px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.fv-ex__speed button:hover {
    background: #ffffff2e;
}

.fv-ex__speed button[aria-pressed="true"] {
    color: var(--fv-ex-primary);
    background: #ffffff;
}

.fv-ex__controls :focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.fv-ex__stage:fullscreen {
    border-radius: 0;
    background: #000f1e;
}

.fv-ex__stage:fullscreen .fv-ex__poster,
.fv-ex__stage:fullscreen .fv-ex__video {
    object-fit: contain;
}

/* --- poster-only: reduced motion ή Save-Data --- */
.fv-ex__bigplay {
    position: absolute;
    z-index: 2;
    display: none;
    inset: 0;
    place-items: center;
    border: 0;
    background: #000f1e29;
    cursor: pointer;
}

.fv-ex__stage.is-posteronly .fv-ex__bigplay {
    display: grid;
}

.fv-ex__stage.is-posteronly .fv-ex__controls {
    display: none;
}

.fv-ex__bigplay span {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 50%;
    color: var(--fv-ex-primary);
    background: #ffffff;
    box-shadow: var(--fv-ex-shadow-md);
}

.fv-ex__bigplay svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.fv-ex__bigplay small {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 4px #000f1e80;
}

/* ============ ΠΕΡΙΕΧΟΜΕΝΟ ============ */
.fv-ex__content {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    gap: var(--fv-ex-stack);
}

.fv-ex__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fv-ex__content h1 {
    font-size: clamp(1.5rem, 6.2vw, 1.9rem);
    font-weight: 800;
}

.fv-ex__micro {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--fv-ex-muted);
    font-size: 13px;
}

.fv-ex__sep {
    color: #c3cadb;
}

.fv-ex__summary {
    color: var(--fv-ex-text);
    font-size: 16px;
    line-height: 1.6;
}

/* --- facts: οπτικά chips, σημασιολογικά dl/dt/dd --- */
.fv-ex__facts {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-lg);
    background: var(--fv-ex-surface);
    gap: 14px;
}

.fv-ex__fact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fv-ex__fact dt {
    color: var(--fv-ex-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.fv-ex__fact dd {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    gap: 8px;
}

.fv-ex__chip {
    display: inline-flex;
    min-height: 36px;
    gap: 7px;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid var(--fv-ex-border);
    border-radius: 999px;
    color: var(--main-blueblack-color, #000f1e);
    background: var(--fv-ex-surface);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

a.fv-ex__chip:hover {
    border-color: var(--fv-ex-primary);
    color: var(--fv-ex-primary-hover);
    background: var(--main-sub-color, #e1e8fe);
}

.fv-ex__chip svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--fv-ex-primary);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fv-ex__chip--soft {
    border-color: #c9d6fb;
    color: #1f3e9e;
    background: var(--main-sub-color, #e1e8fe);
}

/* --- sections --- */
.fv-ex__section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fv-ex__section h2 {
    font-size: 1.35rem;
    font-weight: 800;
}

/* --- βήματα: timeline, μένουν ol/li --- */
.fv-ex__steps {
    display: flex;
    max-width: 68ch;
    flex-direction: column;
    margin: 0;
    padding: 0;
    gap: 4px;
    counter-reset: fv-ex-step;
    list-style: none;
}

.fv-ex__steps li {
    position: relative;
    padding: 0 0 22px 52px;
    counter-increment: fv-ex-step;
    line-height: 1.6;
}

.fv-ex__steps li::before {
    content: counter(fv-ex-step);
    position: absolute;
    top: -2px;
    left: 0;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--fv-ex-primary-hover);
    background: var(--main-sub-color, #e1e8fe);
    font-size: 15px;
    font-weight: 800;
}

.fv-ex__steps li::after {
    content: "";
    position: absolute;
    top: 38px;
    bottom: 4px;
    left: 17px;
    width: 2px;
    background: var(--fv-ex-border);
}

.fv-ex__steps li:last-child {
    padding-bottom: 0;
}

.fv-ex__steps li:last-child::after {
    display: none;
}

/* --- ασφάλεια --- */
.fv-ex__safety {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #f0dfb0;
    border-radius: var(--fv-ex-r-lg);
    background: #fdf8ec;
}

.fv-ex__safety svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    margin-top: 1px;
    fill: none;
    stroke: #9a7108;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fv-ex__safety strong {
    display: block;
    margin-bottom: 3px;
    color: var(--main-blueblack-color, #000f1e);
    font-size: 15px;
}

.fv-ex__safety p {
    color: #5c4a16;
    font-size: 14px;
    line-height: 1.55;
}

/* --- internal linking --- */
.fv-ex__wide {
    display: flex;
    flex-direction: column;
    margin-top: var(--fv-ex-stack);
    gap: var(--fv-ex-stack);
}

.fv-ex__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fv-ex__card {
    display: flex;
    flex-direction: column;
    padding: 8px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-lg);
    color: var(--main-blueblack-color, #000f1e);
    background: var(--fv-ex-surface);
    gap: 8px;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fv-ex__card:hover {
    border-color: var(--fv-ex-primary);
    color: var(--main-blueblack-color, #000f1e);
    box-shadow: var(--fv-ex-shadow-sm);
    transform: translateY(-2px);
}

.fv-ex__thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--fv-ex-r-md);
    background: #edeff5;
    object-fit: cover;
}

.fv-ex__card b {
    display: block;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.fv-ex__card span {
    padding: 0 4px 4px;
    color: var(--fv-ex-muted);
    font-size: 12px;
}

.fv-ex__pager {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.fv-ex__pager a {
    display: flex;
    min-height: 60px;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-lg);
    color: var(--main-blueblack-color, #000f1e);
    background: var(--fv-ex-surface);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fv-ex__pager a:hover {
    border-color: var(--fv-ex-primary);
    color: var(--fv-ex-primary-hover);
    background: #f7f9ff;
}

.fv-ex__pager a[rel="next"] {
    justify-content: flex-end;
    text-align: right;
}

.fv-ex__pager small {
    display: block;
    color: var(--fv-ex-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.fv-ex__pager svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--fv-ex-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fv-ex__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--fv-ex-border);
    color: var(--fv-ex-muted);
    font-size: 13px;
}

.fv-ex__btn-ghost {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-md);
    color: var(--fv-ex-primary);
    background: var(--fv-ex-surface);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.fv-ex__btn-ghost:hover {
    border-color: var(--fv-ex-primary);
    background: #f7f9ff;
}

/* ============ STICKY: mini player + CTA ============ */
.fv-ex__mini {
    position: fixed;
    z-index: 40;
    top: calc(var(--fv-ex-header-h) + 8px);
    left: 50%;
    display: flex;
    width: min(1180px, calc(100% - 24px));
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--fv-ex-border);
    border-radius: var(--fv-ex-r-md);
    background: #fffffff5;
    box-shadow: var(--fv-ex-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    translate: -50% 0;
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
    backdrop-filter: blur(8px);
}

.fv-ex__mini.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.fv-ex__mini-thumb {
    display: block;
    width: 72px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: var(--fv-ex-r-sm);
    background: #edeff5;
    object-fit: cover;
}

.fv-ex__mini b {
    overflow: hidden;
    flex: 1 1 auto;
    color: var(--main-blueblack-color, #000f1e);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fv-ex__mini button {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--fv-ex-primary-hover);
    background: var(--main-sub-color, #e1e8fe);
    cursor: pointer;
}

.fv-ex__mini button:hover {
    background: #cfdcfc;
}

.fv-ex__mini .fv-ex__mini-x {
    color: var(--fv-ex-muted);
    background: transparent;
}

.fv-ex__mini .fv-ex__mini-x:hover {
    background: #f2f2f2;
}

.fv-ex__cta {
    position: fixed;
    z-index: 39;
    right: 0;
    bottom: var(--fv-ex-bottomnav-h);
    left: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--fv-ex-border);
    background: #fffffff7;
    backdrop-filter: blur(8px);
}

.fv-ex__cta p {
    flex: 1 1 auto;
    color: var(--fv-ex-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.fv-ex__cta .fv-public-exercises__button {
    flex: 0 0 auto;
}

/* ============ >=700px ============ */
@media (min-width: 700px) {
    .fv-public-exercise-detail {
        --fv-ex-gutter: 24px;
    }

    .fv-ex__media {
        margin-inline: 0;
    }

    .fv-ex__stage {
        border-radius: var(--fv-ex-r-xl);
    }

    .fv-ex__content h1 {
        font-size: 2.1rem;
    }

    .fv-ex__facts {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 28px;
    }

    .fv-ex__fact {
        flex: 1 1 240px;
    }

    .fv-ex__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fv-ex__pager {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============ >=1024px - sticky media, κείμενο δεξιά ============ */
@media (min-width: 1024px) {
    .fv-public-exercise-detail {
        --fv-ex-header-h: var(--fv-chrome-l1-h, 70px);
        padding-bottom: 96px;
    }

    .fv-ex__layout {
        display: grid;
        grid-template-columns: 58fr 42fr;
        align-items: start;
        gap: 40px;
    }

    .fv-ex__media-col {
        position: sticky;
        top: calc(var(--fv-ex-header-h) + 20px);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .fv-ex__content {
        padding-top: 0;
        gap: 36px;
    }

    .fv-ex__content h1 {
        font-size: 2.6rem;
    }

    .fv-ex__facts {
        flex-direction: column;
        flex-wrap: nowrap;
        border-color: transparent;
        background: var(--main-white-color, #f2f2f2);
        gap: 16px;
    }

    .fv-ex__fact {
        flex: none;
    }

    .fv-ex__wide {
        margin-top: 40px;
    }

    .fv-ex__mini,
    .fv-ex__cta {
        display: none;
    }
}

/* ============ >=1280px ============ */
@media (min-width: 1280px) {
    .fv-ex__layout {
        gap: 56px;
    }

    .fv-ex__cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
    .fv-ex__skeleton {
        animation: none;
    }

    .fv-ex__card,
    .fv-ex__chip,
    .fv-ex__cbtn,
    .fv-ex__mini,
    .fv-ex__video {
        transition: none;
    }
}
