body {
    background: #f4f6f9;
    font-family: 'Noto Sans Devanagari', Georgia, serif;
    color: #1e293b;
}
.tln-partner-container {
    max-width: 1060px;
    margin: 22px auto 120px auto;
    padding: 0 14px;
}
.tln-partner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
/* Wrapper so avatar overlaps cover bottom cleanly on both mobile & desktop */
.tln-cover-avatar-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 58px;
}
.tln-partner-cover {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #7f0000 0%, #b30000 55%, #1e293b 100%);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.tln-partner-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Profile picture overlapping cover photo on desktop */
.tln-partner-avatar {
    position: absolute;
    left: 24px;
    bottom: -56px;
    z-index: 5;
    width: 126px;
    height: 126px;
    border-radius: 16px;
    border: 4px solid #ffffff;
    background: #f8fafc;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
    display: block;
}
.tln-partner-header-bar {
    padding: 6px 24px 20px 24px;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.tln-partner-identity {
    width: 100%;
}
.tln-traffic-badges-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}
.tln-small-src-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.25;
}
.tln-small-src-badge.ad-src {
    background: #fff1f2;
    color: #b30000;
    border: 1px solid #fecdd3;
}
.tln-small-src-badge.seo-src {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.tln-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}
.tln-partner-title {
    margin: 0;
    font-size: 29px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
}
.tln-verified-tick-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #b30000;
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
}
.tln-partner-tagline {
    margin: 1px 0 0 0;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.25;
}
.tln-partner-body {
    padding: 24px;
}
/* Styled Mobile-Responsive Section Title */
.tln-section-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px 0;
    padding: 7px 14px 7px 12px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #0f172a;
    background: linear-gradient(90deg, #fff5f5 0%, #f8fafc 100%);
    border-left: 4px solid #b30000;
    border-radius: 0 8px 8px 0;
    line-height: 1.3;
}
.tln-section-heading::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b30000;
    flex-shrink: 0;
}
.tln-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}
.tln-contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    text-decoration: none !important;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.tln-contact-box:hover {
    transform: translateY(-2px);
    border-color: #b30000;
}
.tln-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #b30000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.tln-contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}
.tln-contact-val {
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}
/* Extra-Small Responsive Social Media Links */
.tln-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 22px;
}
.tln-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3.5px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1.15;
    max-width: 100%;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.tln-social-pill:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.tln-social-pill i {
    font-size: 10px;
    flex-shrink: 0;
}
.tln-social-pill.fb { background: #1877f2; }
.tln-social-pill.ig { background: #c13584; }
.tln-social-pill.yt { background: #ff0000; }
.tln-social-pill.tw { background: #0f172a; }
.tln-social-pill.gmb { background: #0d9488; }
.tln-social-pill.web { background: #2563eb; }
.tln-bio-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    font-size: 16px;
    line-height: 1.75;
    color: #1e293b;
    margin-bottom: 24px;
}
.tln-map-section {
    margin-top: 10px;
}
.tln-map-address-line {
    font-size: 14px;
    color: #334155;
    margin-bottom: 12px;
}
.tln-responsive-map-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
}
.tln-responsive-map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Hide Survey Floating Button on Partner Profile Page */
[id*="survey" i],
[class*="survey" i] {
    display: none !important;
}
/* Floating WhatsApp Speech Bubble Launcher & Dialogue Box (100px above footer) */
.tln-floating-wa-widget {
    position: fixed;
    right: 18px;
    bottom: 118px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transition: bottom 0.14s ease-out;
}
.tln-wa-speech-bubble {
    position: relative;
    width: 310px;
    max-width: calc(100vw - 28px);
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 14px 15px 16px 15px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    display: none;
}
.tln-wa-speech-bubble.is-open {
    display: block;
    animation: tlnBubblePop 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.tln-wa-speech-bubble::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -9px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-right: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
    transform: rotate(45deg);
}
@keyframes tlnBubblePop {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.tln-wa-bubble-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.tln-wa-bubble-title {
    font-size: 13px;
    font-weight: 800;
    color: #14532d;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tln-wa-bubble-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
}
.tln-wa-bubble-close:hover {
    color: #0f172a;
}
.tln-wa-bubble-input {
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    border: 1px solid #86efac;
    border-radius: 7px;
    font-size: 12.5px;
    color: #0f172a;
    background: #f0fdf4;
    margin-bottom: 9px;
}
.tln-wa-bubble-input:focus {
    outline: none;
    border-color: #16a34a;
    background: #ffffff;
}
.tln-wa-bubble-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}
.tln-wa-direct-btn {
    height: 34px;
    padding: 0 13px;
    border: none;
    border-radius: 6px;
    background: #16a34a;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.tln-wa-direct-btn:hover {
    background: #15803d;
}
.tln-wa-copy-btn {
    height: 34px;
    padding: 0 11px;
    border: none;
    border-radius: 6px;
    background: #475569;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.tln-wa-copy-btn:hover {
    background: #334155;
}
.tln-wa-direct-err {
    display: none;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #b91c1c;
}
.tln-wa-float-btn {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: #16a34a;
    color: #ffffff;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.42);
    cursor: pointer;
    animation: tlnWaFloatPulse 2.4s ease-in-out infinite;
    transition: transform 0.16s ease, background 0.16s ease;
}
.tln-wa-float-btn::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(22, 163, 74, 0.55);
    animation: tlnWaRingWave 2.4s ease-out infinite;
    pointer-events: none;
}
.tln-wa-float-btn:hover {
    transform: scale(1.07);
    background: #15803d;
}
.tln-wa-float-btn.is-sound-active {
    animation: tlnWaFloatPulse 2.4s ease-in-out infinite, tlnWaSoundHop 0.45s ease;
}
@keyframes tlnWaFloatPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes tlnWaRingWave {
    0% { transform: scale(0.95); opacity: 0.75; }
    100% { transform: scale(1.38); opacity: 0; }
}
@keyframes tlnWaSoundHop {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.13) rotate(-8deg); }
    65% { transform: scale(1.08) rotate(8deg); }
    100% { transform: scale(1) rotate(0deg); }
}
.tln-dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}
.tln-dir-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}
.tln-dir-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}
.tln-dir-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 3px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.tln-dir-page-link:hover {
    border-color: #b30000;
    color: #b30000;
    background: #fff5f5;
}
.tln-dir-page-link.is-active {
    background: #b30000;
    border-color: #b30000;
    color: #ffffff;
}
@media (max-width: 767px) {
    .tln-partner-container {
        margin: 14px auto 116px auto;
        padding: 0 11px;
    }
    .tln-cover-avatar-wrap {
        margin-bottom: 46px;
    }
    .tln-partner-cover {
        height: 185px;
    }
    /* Profile picture overlapping cover photo on mobile */
    .tln-partner-avatar {
        left: 14px;
        bottom: -42px;
        width: 96px;
        height: 96px;
        border-width: 3px;
    }
    .tln-partner-header-bar {
        padding: 6px 14px 16px 14px;
    }
    .tln-small-src-badge {
        font-size: 9.5px;
        padding: 2px 6px;
    }
    .tln-partner-title {
        font-size: 24px;
        line-height: 1.15;
    }
    .tln-verified-tick-only {
        width: 19px;
        height: 19px;
        font-size: 10px;
    }
    .tln-partner-tagline {
        margin-top: 1px;
        font-size: 11.5px;
        line-height: 1.2;
    }
    .tln-partner-body {
        padding: 16px 14px;
    }
    .tln-section-heading {
        font-size: 14.5px;
        padding: 6px 11px 6px 10px;
        margin: 0 0 12px 0;
    }
    .tln-social-row {
        gap: 4px;
        margin-bottom: 18px;
    }
    .tln-social-pill {
        padding: 3px 7px;
        font-size: 9.8px;
        gap: 3.5px;
    }
    .tln-social-pill i {
        font-size: 9.2px;
    }
    .tln-bio-box {
        padding: 14px 15px;
        font-size: 14.5px;
        line-height: 1.65;
    }
    .tln-responsive-map-wrap {
        height: 260px;
    }
    .tln-floating-wa-widget {
        right: 14px;
        bottom: 114px;
    }
    .tln-wa-float-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    .tln-dir-pagination {
        gap: 2px;
        margin-top: 10px;
        padding-top: 7px;
    }
    .tln-dir-page-link {
        min-width: 16px;
        height: 16px;
        padding: 0 3px;
        font-size: 10.5px;
    }
}
