/* ================================================================
   TVCs & Campaign Page – tvcs-page.css
   Prefix: tvc-
   ================================================================ */

/* ── Variables ── */
.tvcs-page-wrapper {
    --tvc-red: #c8102e;
    --tvc-ink: #222;
    --tvc-muted: #777;
    --tvc-line: #e6e6e6;
    --tvc-radius: 6px;
}

/* ── Reset within page scope ── */
.tvcs-page-wrapper *,
.tvcs-page-wrapper *::before,
.tvcs-page-wrapper *::after {
    box-sizing: border-box;
}

.tvcs-page-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   1. HERO
   ========================================================== */
.tvc-hero {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.tvc-hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* ==========================================================
   2. INTRO
   ========================================================== */
.tvc-intro {
    text-align: center;
    padding: 38px 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.tvc-intro-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--tvc-red);
    margin: 0 0 10px;
}

.tvc-intro-desc {
    max-width: 580px;
    margin: 0 auto;
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--tvc-muted);
}

/* Decorative dots */
.tvc-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 18px 0;
}

.tvc-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    display: block;
}

.tvc-dots span.on {
    background: var(--tvc-red);
}


/* ==========================================================
   3. FILTER TABS + GRID
   ========================================================== */
.tvc-content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Floating side toolbar */
.tvc-side-toolbar {
    position: absolute;
    right: -48px;
    top: 260px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 10;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    padding: 4px;
}

.tvc-side-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    cursor: pointer;
    color: #555;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tvc-side-btn:hover {
    background: #f5f5f5;
    color: var(--tvc-red);
}

.tvc-side-btn svg {
    width: 18px;
    height: 18px;
}

/* Tabs */
.tvc-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0;
    flex-wrap: wrap;
    align-items: center;
}

.tvc-tab {
    border: 1px solid var(--tvc-line);
    background: #f5f5f5;
    color: #555;
    font-size: 12px;
    padding: 7px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.tvc-tab:hover {
    border-color: var(--tvc-red);
    color: var(--tvc-red);
}

.tvc-tab.on {
    background: var(--tvc-red);
    border-color: var(--tvc-red);
    color: #fff;
}

/* Grid */
.tvc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Cards */
.tvc-card {
    background: #fff;
    border: 1px solid var(--tvc-line);
    border-radius: var(--tvc-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tvc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tvc-card.hide {
    display: none;
}

/* Thumbnail wrapper */
.tvc-card-thumb {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.tvc-card-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.tvc-card:hover .tvc-card-thumb img {
    transform: scale(1.04);
}

/* Play button overlay */
.tvc-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 52px;
    height: 52px;
    border: none;
    background: none;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0;
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.tvc-play-btn svg {
    width: 100%;
    height: 100%;
}

.tvc-card:hover .tvc-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Card title */
.tvc-card-title {
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    padding: 10px 10px 12px;
    margin: 0;
    min-height: 50px;
}


/* ==========================================================
   4. VIDEO LIGHTBOX MODAL
   ========================================================== */
.tvc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tvc-modal.open {
    opacity: 1;
    visibility: visible;
}

.tvc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.tvc-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 2;
    transform: scale(0.92);
    transition: transform 0.3s;
}

.tvc-modal.open .tvc-modal-content {
    transform: scale(1);
}

.tvc-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 3;
}

.tvc-modal-close svg {
    width: 100%;
    height: 100%;
}

.tvc-modal-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.tvc-modal-player iframe,
.tvc-modal-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* No-video fallback message */
.tvc-modal-novideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #aaa;
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
}


/* ==========================================================
   5. BANNERS
   ========================================================== */
.tvc-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 36px auto 50px;
    padding: 0 20px;
}

.tvc-banner-img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}


/* ==========================================================
   6. RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
    .tvc-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tvc-side-toolbar {
        display: none;
    }
}

@media (max-width: 768px) {
    .tvc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tvc-intro-heading {
        font-size: 22px;
    }

    .tvc-play-btn {
        width: 42px;
        height: 42px;
    }

    .tvc-tabs {
        gap: 6px;
    }

    .tvc-tab {
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 600px) {
    .tvc-banners {
        grid-template-columns: 1fr;
        margin: 24px auto 36px;
    }

    .tvc-modal-content {
        width: 96%;
    }

    .tvc-modal-close {
        top: -36px;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .tvc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tvc-card-title {
        font-size: 10.5px;
        padding: 8px 8px 10px;
        min-height: 42px;
    }

    .tvc-play-btn {
        width: 36px;
        height: 36px;
    }
}

/* INTRO HEADING: client design = Mazzard M Bold, 65px, red, line height 90px (on a 1920px-wide page).
   Mazzard is a paid font and its files are not on this site, so Outfit Bold (closest free look) is the fallback.
   The size scales with the screen so it keeps the client's proportions. */
.tvcs-page-wrapper .tvc-intro-heading {
    font-family: 'Mazzard M', 'Mazzard', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 65px);
    line-height: 1.38;
    letter-spacing: 0;
    color: #e02020;
    margin: 0 0 6px;
}
/* Three-star divider image (replaces the two dots) */
.tvcs-page-wrapper .tvc-stars {
    display: block;
    width: clamp(44px, 3.5vw, 68px);
    height: auto;
    margin: 22px auto 18px;
}

/* FILTER TABS: client design. Grey rounded boxes with dark bold text, no outline; the active tab is a red pill. */
.tvcs-page-wrapper .tvc-tabs {
    gap: 12px;
    margin: 26px 0 22px;
}
.tvcs-page-wrapper .tvc-tab {
    font-family: 'Mazzard M', 'Mazzard', 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #333;
    background: #efefef;
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    box-shadow: none;
}
.tvcs-page-wrapper .tvc-tab[data-f="all"] {
    font-weight: 700;
    color: #111;
    padding-left: 24px;
    padding-right: 24px;
}
.tvcs-page-wrapper .tvc-tab:hover,
.tvcs-page-wrapper .tvc-tab:focus {
    background: #e4e4e4;
    color: #111;
}
.tvcs-page-wrapper .tvc-tab.on,
.tvcs-page-wrapper .tvc-tab.on:hover,
.tvcs-page-wrapper .tvc-tab.on:focus {
    background: #d1302b;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding-left: 24px;
    padding-right: 24px;
}
/* YouTube thumbnails: same 16:9 shape on every card, cropped to fill */
.tvcs-page-wrapper .tvc-card-thumb {
    aspect-ratio: 16 / 9;
}
.tvcs-page-wrapper .tvc-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* VIDEO GRID: client layout. Wide grid (about 88% of the screen), bigger cards with rounded corners and a grey outline,
   larger two-line bold titles with a three-dot mark, and a clear white-ring play button. */
.tvcs-page-wrapper .tvc-content-wrap,
.tvcs-page-wrapper .tvc-banners {
    max-width: min(1700px, 88vw);
}
.tvcs-page-wrapper .tvc-grid {
    gap: clamp(12px, 0.85vw, 16px);
}
.tvcs-page-wrapper .tvc-card {
    border: 1px solid #c9c9c9;
    border-radius: 12px;
    box-shadow: none;
}
.tvcs-page-wrapper .tvc-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}
.tvcs-page-wrapper .tvc-card-thumb {
    aspect-ratio: 255 / 148;
}
.tvcs-page-wrapper .tvc-card-title {
    position: relative;
    font-family: 'Mazzard M', 'Mazzard', 'Outfit', sans-serif;
    font-size: clamp(12px, 1.04vw, 20px);
    font-weight: 600;
    line-height: 1.32;
    color: #3c3c3c;
    margin: clamp(10px, 0.9vw, 18px) clamp(34px, 2.6vw, 50px) clamp(10px, 0.9vw, 18px) clamp(10px, 0.9vw, 18px);
    padding: 0;
    min-height: 2.64em;           /* always room for two lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* three-dot mark at the right of each title (drawn on the card so the title's 2-line clip does not hide it) */
.tvcs-page-wrapper .tvc-card {
    position: relative;
}
.tvcs-page-wrapper .tvc-card::after {
    content: "";
    position: absolute;
    right: clamp(12px, 1vw, 20px);
    bottom: clamp(18px, 1.55vw, 30px);
    width: 4px;
    height: 18px;
    background: radial-gradient(circle, #9a9a9a 1.6px, transparent 2px) center top / 4px 6px repeat-y;
    pointer-events: none;
}
/* play button: white ring + white triangle, see-through centre */
.tvcs-page-wrapper .tvc-play-btn {
    width: clamp(40px, 3.3vw, 64px);
    height: clamp(40px, 3.3vw, 64px);
    opacity: 1;
}
.tvcs-page-wrapper .tvc-play-btn svg circle {
    fill: rgba(0, 0, 0, 0.12);
    stroke-width: 4;
}
/* tabs a little larger on wide screens, as in the design */
@media (min-width: 1400px) {
    .tvcs-page-wrapper .tvc-tab { font-size: 17px; padding: 12px 18px; }
    .tvcs-page-wrapper .tvc-tab[data-f="all"],
    .tvcs-page-wrapper .tvc-tab.on { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 768px) {
    .tvcs-page-wrapper .tvc-content-wrap,
    .tvcs-page-wrapper .tvc-banners { max-width: 100%; }
    .tvcs-page-wrapper .tvc-tabs { gap: 8px; }
    .tvcs-page-wrapper .tvc-tab { font-size: 13px; padding: 9px 12px; }
    .tvcs-page-wrapper .tvc-tab[data-f="all"],
    .tvcs-page-wrapper .tvc-tab.on { padding-left: 16px; padding-right: 16px; }
}
/* phones: smaller title so more of it fits, smaller three-dot mark */
@media (max-width: 600px) {
    .tvcs-page-wrapper .tvc-card-title {
        font-size: 11px;
        margin: 8px 20px 9px 9px;
    }
    .tvcs-page-wrapper .tvc-card::after {
        right: 8px;
        bottom: 15px;
        transform: scale(0.8);
    }
    .tvcs-page-wrapper .tvc-card { border-radius: 10px; }
}


/* THREE DOTS are now a real button (opens the share box); the drawn-on dots from before are switched off. */
.tvcs-page-wrapper .tvc-card::after { content: none; }
.tvcs-page-wrapper .tvc-more-btn {
    position: absolute;
    right: clamp(4px, 0.5vw, 10px);
    bottom: clamp(10px, 1.05vw, 20px);
    width: 28px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    z-index: 3;
}
.tvcs-page-wrapper .tvc-more-btn span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9a9a9a;
    display: block;
}
.tvcs-page-wrapper .tvc-more-btn:hover,
.tvcs-page-wrapper .tvc-more-btn:focus { background: #f0f0f0; }
.tvcs-page-wrapper .tvc-more-btn:hover span,
.tvcs-page-wrapper .tvc-more-btn:focus span { background: #555; }
@media (max-width: 600px) {
    .tvcs-page-wrapper .tvc-more-btn { right: 0; bottom: 6px; width: 22px; }
    .tvcs-page-wrapper .tvc-more-btn span { width: 3px; height: 3px; }
}

/* SHARE BOX: the uploaded picture (540x396) shown at 180x132, with see-through buttons placed over its icons. */
.tvc-share {
    position: absolute;
    z-index: 60;
    width: 180px;
    height: 132px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.tvc-share[hidden] { display: none; }
.tvc-share .tvc-share-img {
    width: 100%;
    height: 100%;
    display: block;
    box-shadow: none;
    border-radius: 0;
}
.tvc-share .tvc-share-hit {
    position: absolute;
    display: block;
    padding: 0;
    margin: 0;
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}
.tvc-share .tvc-share-hit:hover,
.tvc-share .tvc-share-hit:focus { background: rgba(255, 255, 255, 0.22); outline: none; }
/* positions = icon places in the picture, as % of 540 x 396 */
.tvc-share .tvc-share-close { left: 72%;   top: 10%;   width: 12%;   height: 17%; border-radius: 4px; }
.tvc-share .tvc-share-fb    { left: 12%;   top: 36.5%; width: 16.5%; height: 22.5%; }
.tvc-share .tvc-share-in    { left: 34.5%; top: 36.5%; width: 16.5%; height: 22.5%; }
.tvc-share .tvc-share-mail  { left: 57%;   top: 36.5%; width: 16.5%; height: 22.5%; }
.tvc-share .tvc-share-wa    { left: 12%;   top: 64.5%; width: 16.5%; height: 22.5%; }
.tvc-share .tvc-share-copy  { left: 33%;   top: 64.5%; width: 16.5%; height: 22.5%; }
.tvc-share .tvc-share-msg {
    position: absolute;
    right: 8%;
    bottom: 13%;
    font: 600 11px/1 'Outfit', Arial, sans-serif;
    color: #fff;
    pointer-events: none;
}

/* MAZZARD font files (same files as the News page): drop MazzardM-Bold / -SemiBold / -Medium (.woff2 or .ttf)
   into astra-child/assets/fonts/ and this page uses them automatically. Until then Outfit is shown. */
@font-face {
    font-family: 'Mazzard M'; font-weight: 700; font-style: normal; font-display: swap;
    src: local('Mazzard M Bold'), local('MazzardM-Bold'),
         url('../../assets/fonts/MazzardM-Bold.woff2') format('woff2'),
         url('../../assets/fonts/MazzardM-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Mazzard M'; font-weight: 600; font-style: normal; font-display: swap;
    src: local('Mazzard M SemiBold'), local('MazzardM-SemiBold'),
         url('../../assets/fonts/MazzardM-SemiBold.woff2') format('woff2'),
         url('../../assets/fonts/MazzardM-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Mazzard M'; font-weight: 500; font-style: normal; font-display: swap;
    src: local('Mazzard M Medium'), local('MazzardM-Medium'),
         url('../../assets/fonts/MazzardM-Medium.woff2') format('woff2'),
         url('../../assets/fonts/MazzardM-Medium.ttf') format('truetype');
}

/* "Our Publication Campaign": exactly the client spec on desktop = Mazzard M Bold 65px, line height 90px,
   no letter spacing, title case. Tablets/phones keep the smaller scaled size. */
@media (min-width: 1024px) {
    .tvcs-page-wrapper .tvc-intro-heading {
        font-size: 65px;
        line-height: 90px;
    }
}

/* Intro text under the heading: client spec = Mazzard M Regular 22px, line height 25px, letter spacing 0.11px,
   centred, dark grey, about 970px wide (three lines on desktop). Phones keep a smaller size. */
@font-face {
    font-family: 'Mazzard M'; font-weight: 400; font-style: normal; font-display: swap;
    src: local('Mazzard M Regular'), local('MazzardM-Regular'),
         url('../../assets/fonts/MazzardM-Regular.woff2') format('woff2'),
         url('../../assets/fonts/MazzardM-Regular.ttf') format('truetype');
}
.tvcs-page-wrapper .tvc-intro-desc {
    font-family: 'Mazzard M', 'Mazzard', 'Outfit', sans-serif;
    font-weight: 400;
    color: #3c3c3c;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .tvcs-page-wrapper .tvc-intro-desc {
        font-size: 22px;
        line-height: 25px;
        letter-spacing: 0.11px;
    }
}
@media (max-width: 1023px) {
    .tvcs-page-wrapper .tvc-intro-desc { font-size: 15px; line-height: 1.45; }
    .tvcs-page-wrapper .tvc-intro-desc br { display: none; }
}
@media (min-width: 1024px) {
    .tvcs-page-wrapper .tvc-intro-desc { max-width: 920px; } /* line 2 ends at "products", as in the design */
}

/* Explore text at 14px on every screen (user request). Line breaks kept in the same places as the design. */
.tvcs-page-wrapper .tvc-intro-desc,
.tvcs-page-wrapper .tvc-intro-desc br { font-size: 14px; }
.tvcs-page-wrapper .tvc-intro-desc {
    line-height: 20px;
    letter-spacing: 0.07px;
    max-width: 590px;
}


/* SHARE BOX: smaller (150 x 110, was 180 x 132), rounded corners, slightly see-through. */
.tvc-share {
    width: 150px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.88;
}

/* BOTTOM BANNERS: each banner gets a red "Order Now" button under its text (client design).
   Sizes are tied to the banner width, so the button scales with the banner on every screen. */
.tvcs-page-wrapper .tvc-banner {
    position: relative;
    container-type: inline-size;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
}
.tvcs-page-wrapper .tvc-banner .tvc-banner-img {
    display: block;
    border-radius: 16px;
}
.tvcs-page-wrapper .tvc-order-btn {
    position: absolute;
    top: 66.5%;
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0 1.15em;
    height: 10.6cqw;
    font-family: 'Mazzard M', 'Mazzard', 'Outfit', sans-serif;
    font-size: 2.35cqw;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: #c8102e;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
    transition: background .2s, transform .15s;
}
.tvcs-page-wrapper .tvc-order-btn:hover,
.tvcs-page-wrapper .tvc-order-btn:focus {
    background: #a50d26;
    color: #fff;
    transform: translateY(-1px);
}
.tvcs-page-wrapper .tvc-order-btn:visited { color: #fff; }
.tvcs-page-wrapper .tvc-order-arrow { font-size: 1.25em; line-height: 1; }
/* never let the button get too small to tap on phones */
@container (max-width: 420px) {
    .tvcs-page-wrapper .tvc-order-btn { font-size: 11px; height: 30px; }
}
/* Order Now size from the design: about 19.6% of the banner width x 5.9% tall (110 x 33 on a 562px banner). */
.tvcs-page-wrapper .tvc-order-btn {
    height: 5.9cqw;
    min-width: 19.6cqw;
    justify-content: center;
    padding: 0 1em;
    box-sizing: border-box;
}
@container (max-width: 420px) {
    .tvcs-page-wrapper .tvc-order-btn { height: 26px; min-width: 0; font-size: 11px; }
}
@container (max-width: 420px) {
    .tvcs-page-wrapper .tvc-order-btn { height: 22px; font-size: 9.5px; padding: 0 .9em; top: 64%; }
}

/* "Our Publication Campaign" a little smaller on desktop (was 65px / 90px). */
@media (min-width: 1024px) {
    .tvcs-page-wrapper .tvc-intro-heading { font-size: 52px; line-height: 72px; }
}


/* SHARE BAR (replaces the big grey picture box): one slim dark pill with small icons,
   shown beside the three dots in the white title area, so it never covers the video. */
.tvc-share {
    position: absolute;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 2px;
    width: auto;
    height: 36px;
    padding: 0 6px;
    background: rgba(40, 40, 40, 0.92);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    opacity: 1;
    overflow: visible;
}
.tvc-share[hidden] { display: none; }
.tvc-share .tvc-share-ic {
    width: 28px;
    height: 28px;
    padding: 5px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .15s, color .15s;
}
.tvc-share .tvc-share-ic svg { width: 100%; height: 100%; display: block; }
.tvc-share .tvc-share-ic:hover,
.tvc-share .tvc-share-ic:focus-visible { background: rgba(255, 255, 255, 0.18); color: #fff; outline: none; }
.tvc-share .tvc-share-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.3); margin: 0 3px; }
.tvc-share .tvc-share-x { width: 24px; height: 24px; padding: 6px; color: #ccc; }
.tvc-share .tvc-ic-done { display: none; }
.tvc-share .tvc-share-copy.is-done { color: #7ddc8a; }
.tvc-share .tvc-share-copy.is-done .tvc-ic-link { display: none; }
.tvc-share .tvc-share-copy.is-done .tvc-ic-done { display: block; }
/* screen-reader text only ("Link copied") */
.tvc-share .tvc-share-msg {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* copy button: show only the link icon, swap to the tick after copying */
.tvc-share .tvc-share-copy .tvc-ic-done { display: none; }
.tvc-share .tvc-share-copy.is-done .tvc-ic-link { display: none; }
.tvc-share .tvc-share-copy.is-done .tvc-ic-done { display: block; }
/* phones: a little smaller so it fits inside one card */
@media (max-width: 600px) {
    .tvc-share { height: 30px; padding: 0 4px; gap: 0; }
    .tvc-share .tvc-share-ic { width: 25px; height: 25px; padding: 5px; }
    .tvc-share .tvc-share-x { width: 22px; height: 22px; }
    .tvc-share .tvc-share-sep { margin: 0 2px; height: 14px; }
}

/* Share bar: see-through (glass look) instead of solid dark. */
.tvc-share {
    background: rgba(30, 30, 30, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
