/* Tutor profile redesign — scoped; institutes keep profile-page.css */
.tpv2 {
    --tpv2-primary: #0c5894;
    --tpv2-primary-deep: #0a4b7a;
    --tpv2-accent: #0c5894;
    --tpv2-wa: #25d366;
    --tpv2-bg: #e8eef4;
    --tpv2-card: #fff;
    --tpv2-text: #111827;
    --tpv2-muted: #4b5563;
    --tpv2-line: #e5e7eb;
    --tpv2-radius: 14px;
    --tpv2-sticky-top: 5.75rem;
    /* below site sticky header (~80px) */
    font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
    color: var(--tpv2-text);
    background: var(--tpv2-bg);
}

.tpv2 *,
.tpv2 *::before,
.tpv2 *::after {
    box-sizing: border-box
}

.tpv2 img {
    max-width: 100%;
    height: auto;
    display: block
}

.tpv2 a {
    color: inherit;
    text-decoration: none
}

.tpv2 button {
    font: inherit;
    cursor: pointer
}

.tpv2 ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.tpv2 p {
    margin: 0
}

/* Hide global WhatsApp + Contact Now floats on this page only (CSS loaded only here) */
.fmg-float-stack {
    display: none !important
}

/* Mobile photo hero */
.tpv2-photo-hero {
    position: relative;
    display: block;
    width: 100%;
    height: min(58vh, 460px);
    overflow: hidden;
    background: #dbe3ea;
}

.tpv2-photo-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block
}

.tpv2-photo-hero__top {
    position: absolute;
    inset: 12px 12px auto;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.tpv2-photo-hero__icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
    text-decoration: none;
}

.tpv2-photo-hero__free {
    position: absolute;
    left: 14px;
    bottom: 28px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #ffe4e6;
    color: #e11d48;
    padding: .35rem .7rem;
    font-size: .75rem;
    font-weight: 700;
}

@media (min-width:1024px) {
    .tpv2-photo-hero {
        display: none
    }
}

/* Hero / breadcrumbs — desktop */
.tpv2-hero {
    display: none
}

@media (min-width:1024px) {
    .tpv2-hero {
        display: block;
        background: linear-gradient(180deg, var(--tpv2-primary) 0%, var(--tpv2-primary-deep) 100%);
        color: #fff;
        padding: 1.25rem 1.5rem 3rem;
    }
}

.tpv2-hero__inner {
    max-width: 1120px;
    margin: 0 auto
}

.tpv2-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    font-size: .8rem;
    opacity: .92;
    margin: 0
}

.tpv2-crumb a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px
}

.tpv2-crumb__sep {
    opacity: .7
}

/* Layout shell — overlaps photo on mobile */
.tpv2-shell {
    max-width: 1120px;
    margin: -1.5rem auto 0;
    padding: 0 0 3.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width:640px) {
    .tpv2-shell {
        padding: 0 1rem 7.5rem
    }
}

@media (min-width:1024px) {
    .tpv2-shell {
        padding: 0 1.5rem 3rem;
        margin-top: -2rem
    }
}

/* Two-column grid — aside stretches with main so sticky can travel until similar section */
.tpv2-grid {
    display: grid;
    gap: 1.25rem;
    align-items: start
}

@media (min-width:1024px) {
    .tpv2-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 1.5rem;
        align-items: stretch
    }
}

.tpv2-main {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-width: 0
}

@media (max-width:1023px) {
    .tpv2-main>.tpv2-card:not(.tpv2-overview) {
        margin-inline: .75rem
    }
}

.tpv2-aside {
    display: none
}

@media (min-width:1024px) {
    .tpv2-aside {
        display: block;
        align-self: stretch;
        height: 100%;
        min-height: 100%;
    }

    .tpv2-aside__card {
        position: sticky;
        top: var(--tpv2-sticky-top);
        border-radius: var(--tpv2-radius);
        background: var(--tpv2-card);
        border: 1px solid var(--tpv2-line);
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
        padding: 1.15rem;
    }
}

/* Shared card */
.tpv2-card {
    border-radius: var(--tpv2-radius);
    background: var(--tpv2-card);
    border: 1px solid var(--tpv2-line);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    padding: 1.15rem 1.2rem;
}

/* Mobile: first overview card sits over photo like Superprof sheet */
.tpv2-overview {
    border-radius: 22px 22px var(--tpv2-radius) var(--tpv2-radius);
    border-left: 0;
    border-right: 0;
    margin: 0;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, .08);
}

@media (min-width:640px) {
    .tpv2-overview {
        border-left: 1px solid var(--tpv2-line);
        border-right: 1px solid var(--tpv2-line);
        margin: 0
    }
}

@media (min-width:768px) {
    .tpv2-card {
        padding: 1.35rem 1.5rem
    }
}

@media (min-width:1024px) {
    .tpv2-overview {
        border-radius: var(--tpv2-radius);
        border: 1px solid var(--tpv2-line);
        box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    }
}

/* Overview */
.tpv2-overview__top {
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.tpv2-avatar {
    display: none;
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e7eb;
}

@media (min-width:1024px) {
    .tpv2-avatar {
        display: block;
        width: 160px;
        height: 170px
    }
}

.tpv2-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.tpv2-actions--desktop {
    display: none
}

@media (min-width:1024px) {
    .tpv2-actions--desktop {
        display: flex
    }
}

.tpv2-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 .55rem
}

.tpv2-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: .2rem .55rem;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.2;
}

.tpv2-badge--featured {
    background: #ffedd5;
    color: #c2410c
}

.tpv2-badge--featured-pro {
    background: #ffedd5;
    color: #9a3412
}

.tpv2-badge--fmg-recommended {
    background: #dbeafe;
    color: #1d4ed8
}

.tpv2-badge--verified {
    background: #dcfce7;
    color: #166534
}

.tpv2-badge--mode {
    background: #dbeafe;
    color: #1d4ed8
}

.tpv2-overview h1 {
    margin: 0 0 .35rem;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a
}

@media (min-width:768px) {
    /* .tpv2-overview h1 {
        font-size: 1.75rem
    } */

    .tpv2-overview__name .tpv2-overview__name--clamp {
        font-size: 1.45rem;
    }
}

.tpv2-overview__title {
    margin: 0 0 .55rem;
    font-size: .875rem;
    color: var(--tpv2-muted);
    line-height: 1.45
}

.tpv2-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .85rem;
    font-size: .85rem;
    color: #374151
}

.tpv2-stars {
    color: #f5b301;
    letter-spacing: 1px
}

.tpv2-stars__empty {
    color: #d1d5db
}

.tpv2-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem
}

.tpv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 40px;
    padding: 0 1rem;
    border-radius: 9999px;
    border: 1.5px solid transparent;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.tpv2-btn--primary {
    background: var(--tpv2-accent);
    color: #fff;
    border-color: var(--tpv2-accent)
}

.tpv2-btn--primary:hover {
    background: #0a4b7a
}

.tpv2-btn--wa {
    background: var(--tpv2-wa);
    color: #fff;
    border-color: var(--tpv2-wa)
}

.tpv2-btn--outline {
    background: #fff;
    color: var(--tpv2-accent);
    border-color: var(--tpv2-accent)
}

.tpv2-btn--ghost {
    background: transparent;
    color: var(--tpv2-accent);
    border-color: transparent;
    min-height: auto;
    padding: .25rem .5rem
}

.tpv2-btn--block {
    width: 100%
}

.tpv2-btn--sm {
    min-height: 34px;
    padding: 0 .85rem;
    font-size: .8rem
}

.tpv2-btn:disabled {
    opacity: .7;
    cursor: default
}

.tpv2-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--tpv2-line);
}

@media (min-width:640px) {
    .tpv2-facts {
        grid-template-columns: repeat(3, 1fr)
    }
}

.tpv2-fact__value {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: var(--tpv2-accent);
    line-height: 1.3
}

.tpv2-fact__label {
    display: block;
    margin-top: .15rem;
    font-size: .75rem;
    color: var(--tpv2-muted)
}

/* Section headings */
.tpv2-section__h {
    margin: 0 0 .75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tpv2-accent)
}

.tpv2-about__text {
    font-size: .9rem;
    line-height: 1.7;
    color: #374151
}

.tpv2-about__text--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.tpv2-about__full {
    display: none;
    font-size: .9rem;
    line-height: 1.7;
    color: #374151
}

.tpv2-about.is-open .tpv2-about__text--clamp {
    display: none
}

.tpv2-about.is-open .tpv2-about__full {
    display: block
}

.tpv2-skills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .85rem
}

.tpv2-skill {
    display: inline-flex;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background: #fff;
    padding: .2rem .7rem;
    font-size: .75rem;
    font-weight: 500;
    color: #1f2937;
}

.tpv2-skill:hover {
    border-color: var(--tpv2-accent);
    color: var(--tpv2-accent)
}

.tpv2-skill[hidden] {
    display: none !important
}

.tpv2-linkish {
    margin-top: .75rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--tpv2-accent);
    font-size: .85rem;
    font-weight: 600
}

.tpv2-linkish:hover {
    text-decoration: underline
}

.tpv2-about__ask {
    margin-top: 1rem
}

/* Courses */
.tpv2-tabs {
    display: flex;
    gap: .35rem;
    overflow-x: auto;
    margin-bottom: 1rem;
    padding-bottom: .15rem;
    scrollbar-width: none
}

.tpv2-tabs::-webkit-scrollbar {
    display: none
}

.tpv2-tab {
    flex-shrink: 0;
    border: 1px solid var(--tpv2-line);
    border-radius: 9999px;
    background: #f8fafc;
    padding: .45rem .9rem;
    font-size: .8rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
}

.tpv2-tab.is-active {
    background: var(--tpv2-accent);
    color: #fff;
    border-color: var(--tpv2-accent);
    font-weight: 600
}

.tpv2-course-panel {
    display: none
}

.tpv2-course-panel.is-active {
    display: block
}

.tpv2-course__desc {
    font-size: .9rem;
    line-height: 1.65;
    color: #374151;
    margin-bottom: .85rem
}

.tpv2-course__desc .html-renderer {
    font-size: .9rem;
    line-height: 1.65;
    color: #374151
}

.tpv2-curriculum {
    margin: .5rem 0 1rem
}

.tpv2-curriculum__title {
    margin: 0 0 .4rem;
    font-size: .9rem;
    font-weight: 700;
    color: #111827
}

.tpv2-curriculum ul {
    list-style: disc;
    padding-left: 1.15rem;
    margin: 0
}

.tpv2-curriculum li {
    margin: .25rem 0;
    font-size: .85rem;
    color: #374151
}

.tpv2-enrol {
    border-radius: 12px;
    background: #eef6fc;
    border: 1px solid #d7e8f5;
    padding: 1rem;
    display: grid;
    gap: .85rem;
}

@media (min-width:768px) {
    .tpv2-enrol {
        grid-template-columns: 1fr auto;
        align-items: center
    }
}

.tpv2-enrol__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem .75rem
}

.tpv2-enrol__row {
    font-size: .8rem;
    color: #4b5563
}

.tpv2-enrol__row strong {
    display: block;
    color: #111827;
    font-size: .85rem;
    margin-top: .1rem
}

.tpv2-enrol__actions {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 200px
}

/* Reviews */
.tpv2-reviews__body {
    display: grid;
    gap: 1rem
}

@media (min-width:640px) {
    .tpv2-reviews__body {
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: start
    }
}

.tpv2-reviews__score {
    text-align: center
}

.tpv2-reviews__score-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #0f172a
}

.tpv2-reviews__score-label {
    font-size: .75rem;
    color: var(--tpv2-muted)
}

.tpv2-reviews__carousel {
    min-width: 0;
    position: relative
}

.tpv2-reviews__track {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.tpv2-reviews__carousel[data-static] .tpv2-reviews__track {
    overflow: visible
}

.tpv2-reviews__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
    padding-right: 2px;
}

@media (min-width:640px) {
    .tpv2-reviews__slide {
        grid-template-columns: 1fr 1fr
    }
}

.tpv2-quote {
    margin: 0;
    border-radius: 12px;
    border: 1px solid #dbe3ea;
    background: #f8fafc;
    padding: 1rem;
    font-size: .9rem;
    line-height: 1.55;
    color: #1f2937;
    min-height: 96px;
}

.tpv2-quote__who {
    display: block;
    margin-top: .65rem;
    font-size: .8rem;
    font-weight: 600;
    color: #374151;
    font-style: normal
}

.tpv2-side-reviews {
    font-size: .8rem;
    font-weight: 600;
    color: #4b5563
}

.tpv2-reviews__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-top: .65rem;
}

.tpv2-reviews__count {
    font-size: .75rem;
    font-weight: 600;
    color: var(--tpv2-muted);
    min-width: 3.5rem;
    text-align: center
}

.tpv2-reviews__nav {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0c5894;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tpv2-reviews__nav:hover {
    border-color: #0c5894;
    background: #f0f7fc
}

.tpv2-reviews__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem
}

@media (prefers-reduced-motion:reduce) {
    .tpv2-reviews__track {
        scroll-behavior: auto
    }
}

/* Sticky sidebar card */
.tpv2-side-head {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: .85rem
}

.tpv2-side-avatar {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
    background: #e5e7eb
}

.tpv2-side-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.tpv2-side-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700
}

.tpv2-side-title {
    margin: .2rem 0 0;
    font-size: .75rem;
    color: var(--tpv2-muted);
    line-height: 1.35
}

.tpv2-side-fee {
    margin: 0 0 1rem;
    padding: .75rem 0;
    border-top: 1px solid var(--tpv2-line);
    border-bottom: 1px solid var(--tpv2-line);
    font-size: .85rem;
    color: #374151
}

.tpv2-side-fee strong {
    display: block;
    margin-top: .2rem;
    font-size: 1.05rem;
    color: #0f172a
}

.tpv2-side-facts {
    margin: 0 0 1rem;
    padding: 0;
    border-bottom: 1px solid var(--tpv2-line);
}

.tpv2-side-facts__row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.tpv2-side-facts__row:last-child {
    border-bottom: 0;
    padding-bottom: .85rem
}

.tpv2-side-facts__label {
    flex: 0 0 42%;
    max-width: 42%;
    font-size: .82rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
}

.tpv2-side-facts__value {
    flex: 1;
    min-width: 0;
    font-size: .82rem;
    font-weight: 500;
    color: #0c5894;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tpv2-side-actions {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.tpv2-side-trust {
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.tpv2-side-trust li {
    font-size: .75rem;
    color: #374151;
    display: flex;
    gap: .4rem;
    align-items: flex-start
}

.tpv2-side-trust li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0
}

/* Mobile sticky contact bar */
.tpv2-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.tpv2-sticky-bar__inner {
    pointer-events: auto;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: .85rem .9rem .95rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .18);
    border: 1px solid rgba(229, 231, 235, .9);
}

.tpv2-sticky-bar__row {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .7rem
}

.tpv2-sticky-bar__avatar {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e5e7eb;
}

.tpv2-sticky-bar__meta {
    min-width: 0;
    flex: 1
}

.tpv2-sticky-bar__rating {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2
}

.tpv2-sticky-bar__reviews {
    font-weight: 500;
    color: #6b7280;
    font-size: .85rem
}

.tpv2-sticky-bar__fee {
    margin: .2rem 0 0;
    font-size: .9rem;
    color: #111827;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: baseline
}

.tpv2-sticky-bar__fee strong {
    font-weight: 700
}

.tpv2-sticky-bar__free {
    color: #e11d48;
    font-weight: 600;
    font-size: .8rem
}

.tpv2-sticky-bar__heart {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.tpv2-sticky-bar__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 9999px;
    background: #0c5894;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.tpv2-sticky-bar__contact:hover {
    background: #0a4b7a
}

@media (min-width:1024px) {
    .tpv2-sticky-bar {
        display: none
    }
}

/* Mobile-only: other courses above similar links */
.tpv2-other-courses {
    display: block;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 .75rem 1.5rem;
}

@media (min-width:1024px) {
    .tpv2-other-courses {
        display: none
    }
}

.tpv2-other-courses__h {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.tpv2-other-courses__card {
    border-radius: 1rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}

.tpv2-other-courses__card ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.tpv2-other-courses__card li {
    margin-bottom: .75rem
}

.tpv2-other-courses__card li:last-child {
    margin-bottom: 0
}

.tpv2-other-courses__card a {
    font-size: .875rem;
    font-weight: 500;
    color: #0c5894;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tpv2-other-courses__card a:hover {
    color: #0a4b7a
}

/* Similar skills / locations link cards */
.tpv2-similar {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 .75rem 2rem;
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
}

@media (min-width:1024px) {
    .tpv2-similar {
        padding: 0 1.5rem 3rem
    }
}

.tpv2-similar__grid {
    display: grid;
    gap: 1.5rem
}

@media (min-width:768px) {
    .tpv2-similar__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem
    }
}

.tpv2-similar__h {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827
}

.tpv2-similar__card {
    border-radius: 1rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}

.tpv2-similar__card ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.tpv2-similar__card li {
    margin-bottom: .75rem
}

.tpv2-similar__card li:last-child {
    margin-bottom: 0
}

.tpv2-similar__card a {
    font-size: .875rem;
    font-weight: 500;
    color: #0c5894;
    text-decoration: underline;
    text-underline-offset: 2px
}

.tpv2-similar__card a:hover {
    color: #0a4b7a
}

/* Bottom CTA — keep compact; do not stretch */
.tpv2-banner {
    background: #0c5894;
    color: #fff;
    padding: .9rem 1rem;
    text-align: center;
    flex: none;
    height: auto;
    min-height: 0;
}

@media (max-width:1023px) {
    .tpv2-banner {
        padding: 25px;
    }

    /* clear fixed sticky bar */
}

.tpv2-banner__inner {
    max-width: 720px;
    margin: 0 auto
}

.tpv2-banner p {
    margin: 0 0 .65rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45
}

.tpv2-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem
}

.tpv2-btn--on-dark {
    background: transparent;
    color: #fff;
    border-color: #fff
}

.tpv2-btn--on-dark:hover {
    background: rgba(255, 255, 255, .12)
}

/* Review dialog (shared markers with old page) */
.review-dialog {
    position: fixed;
    inset: 0;
    width: min(440px, calc(100% - 32px));
    height: fit-content;
    max-height: calc(100dvh - 32px);
    margin: auto;
    overflow: auto;
    border: 0;
    border-radius: 16px;
    padding: 0
}

.review-dialog::backdrop {
    background: rgba(15, 23, 42, .45)
}

.review-dialog form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px
}

.review-dialog h2 {
    margin: 0;
    color: #0c5894;
    font-size: 22px;
    text-align: center
}

.review-dialog p {
    margin: 0;
    color: #5b6577;
    font-size: 14px;
    text-align: center
}

.review-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #3a3a3a;
    font-size: 13px;
    font-weight: 600;
    text-align: left
}

.review-field input,
.review-field select,
.review-field textarea {
    width: 100%;
    border: 1px solid #e9eaf0;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    color: #3a3a3a;
    font-size: 16px;
    font-weight: 400;
    font-family: inherit
}

.review-field textarea {
    min-height: 96px;
    resize: vertical
}

.review-stars {
    display: flex;
    gap: 6px
}

.review-stars button {
    width: 40px;
    height: 40px;
    border: 1px solid #e9eaf0;
    border-radius: 8px;
    background: #fff;
    color: #d1d5db;
    font-size: 22px;
    line-height: 1;
    cursor: pointer
}

.review-stars button.is-on {
    border-color: #0c5894;
    background: #eef6ff;
    color: #f5b301
}

.review-captcha {
    display: flex;
    justify-content: center;
    min-height: 78px;
    overflow: auto
}

.review-dialog__error {
    color: #f01707;
    font-size: 13px
}

.review-dialog__success {
    color: #0f7b3a;
    font-weight: 600
}

.review-dialog__submit {
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: #0c5894;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer
}

.review-dialog__submit:disabled {
    opacity: .7;
    cursor: not-allowed
}

.review-dialog__close {
    border: 0;
    background: transparent;
    color: #0c5894;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer
}

.review-dialog__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: -24px -20px 0;
    padding: 16px 48px 8px 20px;
    background: #fff
}

.review-dialog__x {
    position: absolute;
    right: 12px;
    top: 12px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #64748b
}

.tpv2-overview__head {
    /* make it in one column */
    flex-direction: column;
    align-items: flex-start;

}

.tpv2-overview__name .tpv2-overview__name--clamp {
    font-size: 1.45rem;
}
