#tgee-visual-v3 {
    --tg-green:#08765c;
    --tg-dark:#103b32;
    --tg-gold:#c9a75d;
    font-family:inherit;
    color:var(--tg-dark);
    background:linear-gradient(135deg,#fff,#edf7f2);
    padding:clamp(32px,5vw,70px) 20px;
    border-top:1px solid #dcebe3;
    border-bottom:1px solid #dcebe3;
}
#tgee-visual-v3 * {
    box-sizing:border-box;
}
#tgee-visual-v3 .tv-wrap {
    max-width:1180px;
    margin:auto;
}
#tgee-visual-v3 .tv-kicker {
    color:var(--tg-green);
    font-size:11px;
    font-weight:800;
    letter-spacing:3px;
    text-transform:uppercase;
}
#tgee-visual-v3 .tv-heading {
    font-size:clamp(28px,4vw,52px);
    font-weight:850;
    line-height:1.12;
    margin:14px 0;
    letter-spacing:-1.5px;
}
#tgee-visual-v3 .tv-intro {
    max-width:650px;
    color:#56736a;
    font-size:15px;
    line-height:1.8;
    margin-bottom:26px;
}
#tgee-visual-v3 .tv-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}
#tgee-visual-v3 .tv-market {
    position:relative;
    overflow:hidden;
    padding:28px;
    min-height:240px;
    border:1px solid #d6e7de;
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 35px #103b320b;
    transition:transform .25s,box-shadow .25s;
}
#tgee-visual-v3 .tv-market:hover {
    transform:translateY(-4px);
    box-shadow:0 18px 40px #103b3218;
}
#tgee-visual-v3 .tv-market[data-selected="true"] {
    border:2px solid var(--tg-green);
}
#tgee-visual-v3 .tv-market[data-code="KE"] {
    background:linear-gradient(135deg,#fff,#f7f2e7);
}
#tgee-visual-v3 .tv-flag {
    font-size:44px;
    line-height:1.2;
}
#tgee-visual-v3 .tv-country {
    font-size:30px;
    font-weight:800;
    margin:12px 0 6px;
}
#tgee-visual-v3 .tv-meta {
    color:#526e64;
    font-size:13px;
    line-height:1.8;
}
#tgee-visual-v3 .tv-status {
    display:inline-block;
    margin:12px 0;
    padding:6px 12px;
    border-radius:20px;
    background:#e8f4ed;
    color:#08765c;
    font-size:11px;
    font-weight:700;
}
#tgee-visual-v3 [data-code="KE"] .tv-status {
    background:#f4e8cd;
    color:#795c24;
}
#tgee-visual-v3 .tv-action {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border:0;
    border-radius:12px;
    padding:12px 20px;
    background:var(--tg-green);
    color:white;
    font-weight:700;
    font-size:13px;
    cursor:pointer;
    text-decoration:none;
}
#tgee-visual-v3 .tv-action:focus-visible {
    outline:3px solid var(--tg-gold);
    outline-offset:3px;
}
#tgee-visual-v3 .tv-preview {
    margin-top:20px;
    padding:20px;
    border-radius:18px;
    background:#103b32;
    color:#fff;
    line-height:1.7;
}
#tgee-visual-v3 .tv-preview[hidden] {
    display:none!important;
}
#tgee-visual-v3 .tv-preview a {
    color:#f2d89b;
    text-decoration:underline;
}
#tgee-visual-v3 .tv-footer {
    margin-top:20px;
    font-size:12px;
    color:#56736a;
}
@media(max-width:760px) {
    #tgee-visual-v3 .tv-grid {
        grid-template-columns:1fr;
        gap:14px;
    }
    #tgee-visual-v3 .tv-market {
        padding:22px;
        min-height:210px;
    }
    #tgee-visual-v3 .tv-heading {
        letter-spacing:-.6px;
    }
}
@media(prefers-reduced-motion:reduce) {
    #tgee-visual-v3 * {
        transition:none!important;
    }
}

#tgee-visual-v3 .tv-flag{
 display:block;
 width:64px;
 height:44px;
 font-size:0;
 border-radius:6px;
 background-size:cover;
 background-position:center;
 box-shadow:0 4px 12px #103b321c;
}
#tgee-visual-v3 [data-code="NG"] .tv-flag{
 background-image:url("telo-flag-ng.svg");
}
#tgee-visual-v3 [data-code="KE"] .tv-flag{
 background-image:url("telo-flag-ke.svg");
}
#tgee-visual-v3 .tv-market{
 min-height:280px;
}
#tgee-visual-v3 .tv-kenya-link{
 display:inline-block;
 margin:12px 0 0;
 color:#08765c;
 font-size:13px;
 font-weight:800;
 text-decoration:underline;
}


/* ========== TELO MARKET DESIGN V4 ========== */

.tv-action {
    min-height: 48px;
    padding: 14px 25px !important;
    border-radius: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .1px;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
    box-shadow: 0 5px 15px rgba(5,110,85,.12);
}

.tv-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(5,110,85,.22);
}

.tv-action:active {
    transform: translateY(0);
}

.tv-action:focus-visible {
    outline: 3px solid #c6a35c;
    outline-offset: 4px;
}

article:has(> .tv-action),
div:has(> .tv-action) {
    isolation: isolate;
}

article:has(.tv-action):not(:has(article .tv-action)),
div[data-selected]:has(.tv-action) {
    position: relative;
    overflow: hidden;
    padding: clamp(24px,3vw,42px) !important;
    border-radius: 28px !important;
    min-height: 300px;
    background:
        radial-gradient(
            ellipse at top right,
            rgba(12,139,103,.09),
            transparent 65%
        ),
        linear-gradient(145deg,#fff,#f7fbf9);
    box-shadow: 0 12px 40px rgba(13,59,48,.07);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

article:has(.tv-action):hover,
div[data-selected]:has(.tv-action):hover {
    box-shadow: 0 18px 45px rgba(13,59,48,.13);
}

[data-selected="true"]:has(.tv-action) {
    border-color: #08765c !important;
    box-shadow:
        0 0 0 2px rgba(8,118,92,.10),
        0 15px 40px rgba(8,118,92,.10);
}

[data-selected="true"]:has(.tv-action)::after {
    content: "SELECTED MARKET";
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 7px 12px;
    border-radius: 30px;
    background: #e1f3eb;
    color: #08765c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    pointer-events: none;
}

[data-selected]:has(.tv-action) h3,
article:has(.tv-action) h3 {
    font-size: clamp(28px,3vw,38px);
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-top: 18px;
}

.tv-action + a,
.tv-action ~ a[href*="kenya"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    margin: 8px 0 0 10px;
    border: 1px solid #08765c;
    border-radius: 13px;
    background: #fff;
    color: #08765c !important;
    text-decoration: none !important;
    font-weight: 700;
    transition:
        background .25s ease,
        transform .25s ease;
}

.tv-action + a:hover,
.tv-action ~ a[href*="kenya"]:hover {
    background: #e9f6ef;
    transform: translateY(-2px);
}

[data-selected]:has(.tv-action) img {
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.09);
    transition: transform .35s ease;
}

[data-selected]:has(.tv-action):hover img {
    transform: translateY(-3px);
}

@media (max-width: 640px) {

    article:has(.tv-action),
    div[data-selected]:has(.tv-action) {
        min-height: auto;
        padding: 25px !important;
        border-radius: 22px !important;
    }

    .tv-action {
        width: 100%;
        min-height: 50px;
    }

    .tv-action + a,
    .tv-action ~ a[href*="kenya"] {
        display: flex !important;
        width: 100%;
        box-sizing: border-box;
        margin: 10px 0 0;
    }

    [data-selected="true"]:has(.tv-action)::after {
        font-size: 8px;
        top: 15px;
        right: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tv-action,
    .tv-action + a,
    [data-selected]:has(.tv-action),
    [data-selected]:has(.tv-action) img {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ========== END TELO MARKET DESIGN V4 ========== */
