﻿/*
This is your custom Style Sheet. It's the last css resource loaded so you can
easily overwrite css selectors from other style sheets.
*/

body, * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
}

input, textarea {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
}

img, video, a {
    -webkit-user-drag: none !important;
    user-drag: none !important;
}

a, img {
    pointer-events: auto !important;
}

.checkout-wrapper {
    max-width: inherit;
}

.checkout-wrapper .confirm-payment {
    width: auto;
    margin: 0 auto;
    min-width: 220px;
}

.custom-checkout-page .row {
    display: flex;
    flex-flow: row nowrap;
    gap: 32px;
    margin: 0;
}

.empty-state-dashboard-plan {
    gap: 32px;
    padding: 0 0 32px 0;
}

.custom-checkout-page .row .column,
.empty-state-dashboard-plan .no-plan-left,
.empty-state-dashboard-plan .no-plan-right {
    display: flex;
    width: calc(50% - 16px);
    flex-direction: column;
}

.empty-state-dashboard-plan .no-plan-left,
.empty-state-dashboard-plan .no-plan-right {
    text-align: left;
}

.empty-state-dashboard-plan p {
    margin-bottom: 1rem;
}

.category-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.custom-advertise-checkout {
    background: white;
    padding: 4em;
    position: relative;
    margin-left: 4em;
}

.custom-advertise-checkout img.fixed {
    position: absolute;
    left: -15em;
    top: -6em;
}

.tref-lp .hero-content {
    padding: 3rem 0;
    position: relative;
}

.tref-lp .hero-content:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #e9eeff;
}

.banner[type=leaderboard] .banner-link {
    width: 100%;
}

.thin-strip-base[data-bg=neutral]#thin-strip-search {
    background: var(--neutral-transp-5);
}

.pricing-plans[data-type=cards] .pricing-plan-card-wrapper .pricing-plan-card 
.pricing-plan-card-body > .card-content-item:first-child 
.card-content-item-header + .show {
    display: block !important;
}

.custom-advertise-checkout h3 {
    font-size: 1.6em;
}

.custom-content.ckeditor-content .ad-container .ad-button,
.custom-content.ckeditor-content .ad-container .ad-button:hover {
    color: white;
}

.tref-lp .category-card-icon,
.tref-lp .category-card .category-card-icon img {
    height: 24px;
    width: 24px;
    object-fit: contain;
}

.tref-lp .category-card {
    justify-content: center;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.category-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
    border-radius: 12px;
    display: block;
    max-width: 100%;
    margin: 20px auto;
}

.category-img:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

.tref-lp .category-card:hover {
    text-decoration: none;
}

@media screen and (min-width: 992px) {
    .banner[type=large-mobile]:not([data-section=sidebar]) .banner-link {
        max-width: 320px;
        min-width: 320px;
    }
}

@media screen and (min-width: 768px) {
    .banner[type=large-mobile][data-count="3"] .container {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .custom-checkout-page .row,
    .empty-state-dashboard-plan {
        flex-flow: column wrap;
    }

    .custom-checkout-page .row .column,
    .empty-state-dashboard-plan .no-plan-left,
    .empty-state-dashboard-plan .no-plan-right {
        width: 100%;
    }

    .custom-advertise-checkout {
        margin-left: 0;
    }

    .custom-advertise-checkout img.fixed {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu {
        display: block;
    }
}


/* Redesign - Custom, Aug 12 */
.custom-content h1, .custom-content h2, .custom-content h3, .custom-content h4, .custom-content h5, .custom-content h6,
body, .paragraph, .heading, p, h1, h2, h3, h4, h5, h6, ul, li, span, .custom-content.ckeditor-content, button,
.custom-content p, .custom-content span, .widget-section-header .subtitle, .widget-section-header .title {
    font-family: "Inter", sans-serif;
}

.header > .header-content .header-logo.larger-h,
.header > .header-content .header-logo {
    height: 80px;
    padding: 0.5rem 0;
}

.footer > .footer-bar {
    background: var(--brand-base);
    padding: 2rem 0;
    font-size: 0.75rem;
}

.footer > .footer-content .wrapper .footer-item .footer-item-title {
    font-size: 0.875rem;
}

.footer > .footer-content .footer-item .footer-item-content {
    margin-top: 24px;
    font-size: 0.875rem;
}

.footer > .footer-content .wrapper .footer-item .footer-item-content .footer-info .fa-map-marker {
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="white" d="M12 3a7 7 0 0 0-7 7c0 2.862 1.782 5.623 3.738 7.762A26.158 26.158 0 0 0 12 20.758a26.14 26.14 0 0 0 3.262-2.994C17.218 15.623 19 12.863 19 10a7 7 0 0 0-7-7Zm0 20.214l-.567-.39l-.003-.002l-.006-.005l-.02-.014l-.075-.053a25.34 25.34 0 0 1-1.214-.94a28.157 28.157 0 0 1-2.853-2.698C5.218 16.876 3 13.637 3 10a9 9 0 0 1 18 0c0 3.637-2.218 6.877-4.262 9.112a28.145 28.145 0 0 1-3.796 3.44a16.794 16.794 0 0 1-.345.251l-.021.014l-.006.005l-.002.001l-.568.39ZM12 8a2 2 0 1 0 0 4a2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0a4 4 0 0 1-8 0Z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    font-size: 0;
}

.footer > .footer-content .footer-item[data-content=apps-content] .link-store {
    border: none;
}

.section-headers .wrapper .heading,
.section-headers .wrapper .paragraph {
    font-weight: 700;
}

.categories-base .categories-header,
.cards-default .cards-header {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.categories-base .categories-header > .heading,
.cards-default .cards-header > .heading {
    font-size: 2.5rem;
    font-weight: 700;
}

.results-header {
    border: none;
    padding: 2rem 0;
}

.results-body {
    padding-top: 3rem;
    pdding-bottom: 3rem;
    background: #f9fafb;
}

.results-body .results-content .results-actions {
    border: none;
}

.results-body .results-sidebar .sidebar-item,
.results-body .results-sidebar .sidebar-item .item-body {
    border-color: #e4e4e7;
}

.summary-list .summary-card {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

.header .header-navbar .navbar-link.plugin-dropdown-menu {
    font-size: 0.875rem;
}

.footer > .footer-content .wrapper .footer-item .footer-item-content .link-footer:hover {
    color: white;
}

.categories-base:not([data-bg="brand"]) .categories-header > .heading,
.cards-default:not([data-bg="brand"]) .cards-header > .heading {
    color: var(--neutral-base);
}

.categories-base .categories-content > .categories-list .categories-item {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    border-radius: 0.5rem;
}

.categories-base:not([data-bg="brand"]) .categories-content > .categories-list .categories-item {
    background: white;
}

.categories-base .categories-content > .categories-list .info .title {
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.5;
}

.categories-base[data-type="1"] .categories-content > .categories-list .info {
    margin: 0;
    padding: 1.5rem;
}

.categories-base .categories-content > .categories-list .categories-item .picture {
    background: #f3f4f6;
    border-radius: 0.5rem 0.5rem 0 0;
}

.results-header .results-title {
    font-weight: 700;
    line-height: 1.5;
}

.summary-list .summary-card .summary-title,
.summary-list .summary-card .summary-categories,
.summary-list .summary-card .summary-info,
.summary-list .summary-card .summary-phone,
.summary-list .summary-card .summary-address {
    font-family: "Inter", sans-serif;
}

.results-body .results-content .summary-list .summary-card .summary-content .summary-address .summary-address-icon,
.results-body .results-content .summary-list .summary-card .summary-info .summary-info-item .summary-info-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-body .results-content .summary-list[list-type="grid-view"] .summary-card .summary-content .summary-address .summary-address-icon,
.results-body .results-content .summary-list[list-type="grid-view"] .summary-card .summary-info .summary-info-item .summary-info-icon {
    margin: 0 auto;
}

.results-body .results-content .summary-list .summary-card .summary-content .summary-address .fa,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info .fa,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info-item .fa {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    font-size: 0;
    position: relative;
    opacity: .5;
}

.results-body .results-content .summary-list .summary-card .summary-content .summary-address .fa-map-marker,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info .fa-map-marker,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info-item .fa-map-marker {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'><path fill='currentColor' d='M12 3a7 7 0 0 0-7 7c0 2.862 1.782 5.623 3.738 7.762A26.158 26.158 0 0 0 12 20.758a26.14 26.14 0 0 0 3.262-2.994C17.218 15.623 19 12.863 19 10a7 7 0 0 0-7-7Zm0 20.214l-.567-.39l-.003-.002l-.006-.005l-.02-.014l-.075-.053a25.34 25.34 0 0 1-1.214-.94a28.157 28.157 0 0 1-2.853-2.698C5.218 16.876 3 13.637 3 10a9 9 0 0 1 18 0c0 3.637-2.218 6.877-4.262 9.112a28.145 28.145 0 0 1-3.796 3.44a16.794 16.794 0 0 1-.345.251l-.021.014l-.006.005l-.002.001l-.568.39ZM12 8a2 2 0 1 0 0 4a2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0a4 4 0 0 1-8 0Z'/></svg>");
}

.results-body .results-content .summary-list .summary-card .summary-content .summary-address .fa-phone,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info .fa-phone,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info-item .fa-phone {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3e%3cpath fill='currentColor' d='M19.44 13c-.22 0-.45-.07-.67-.12a9.44 9.44 0 0 1-1.31-.39a2 2 0 0 0-2.48 1l-.22.45a12.18 12.18 0 0 1-2.66-2a12.18 12.18 0 0 1-2-2.66l.42-.28a2 2 0 0 0 1-2.48a10.33 10.33 0 0 1-.39-1.31c-.05-.22-.09-.45-.12-.68a3 3 0 0 0-3-2.49h-3a3 3 0 0 0-3 3.41a19 19 0 0 0 16.52 16.46h.38a3 3 0 0 0 2-.76a3 3 0 0 0 1-2.25v-3a3 3 0 0 0-2.47-2.9Zm.5 6a1 1 0 0 1-.34.75a1.05 1.05 0 0 1-.82.25A17 17 0 0 1 4.07 5.22a1.09 1.09 0 0 1 .25-.82a1 1 0 0 1 .75-.34h3a1 1 0 0 1 1 .79q.06.41.15.81a11.12 11.12 0 0 0 .46 1.55l-1.4.65a1 1 0 0 0-.49 1.33a14.49 14.49 0 0 0 7 7a1 1 0 0 0 .76 0a1 1 0 0 0 .57-.52l.62-1.4a13.69 13.69 0 0 0 1.58.46q.4.09.81.15a1 1 0 0 1 .79 1Z'/%3e%3c/svg%3e");
}

.results-body .results-content .summary-list .summary-card .summary-content .summary-address .fa-envelope-o,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info .fa-envelope-o,
.results-body .results-content .summary-list .summary-card .summary-content .summary-info-item .fa-envelope-o {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75'/%3E%3C/svg%3E");
}

.hero-default[data-type="4"] .content-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-list .summary-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

@media screen and (min-width: 768px) {
    .hero-default .wrapper > .hero-header .heading {
        font-size: 3rem;
        font-weight: 700;
        max-width: 50rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.order-info .order-info-link,
.order-info .order-info-header .payment-recurrence-options .payment-recurrence,
.order-info .promo-code .input-promo-code .btn-apply,
.order-info .order-info-line .title,
.order-info .order-info-line .value,
.checkout-wrapper .payment-options .payment-options-section .payment-methods-list .payment-method {
    font-family: "Inter", sans-serif;
}

.header {
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / .05);
    z-index: 100;
}

.custom-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
}

.custom-cards {
    max-width: 70%;
    margin: 0 auto;
}

.custom-cards .content-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.custom-cards .content-card {
    border: 1px solid var(--neutral-transp-10);
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

.custom-claim {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--neutral-transp-10);
    padding: 2rem 0 0;
    max-width: 70%;
    margin: 0 auto;
}

.claim-signup-breadcrumb {
    gap: 4rem;
    flex-flow: row wrap;
    min-height: 4rem;
    margin: 2rem 0;
}

.members-page {
    padding: 3rem 0;
}

.members-page .members-wrapper .members-sidebar .members-cards .members-item {
    overflow: hidden;
}

.checkout-wrapper.custom-checkout-wrapper .custom-checkout-page,
.custom-checkout-page .row {
    flex-direction: column;
    padding: 0;
    gap: 0;
}

.custom-checkout-page .row .column,
.empty-state-dashboard-plan .no-plan-left,
.empty-state-dashboard-plan .no-plan-right {
    width: 100%;
}

.custom-checkout-page .row .column {
    gap: 2rem;
}

.order-info,
.payment-options {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    background: white;
    border-radius: .5rem;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid var(--neutral-transp-10);
}

.custom-claim-page .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.custom-claim-page .step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 384px;
    margin: 0 auto;
    gap: 1rem;
}

.custom-claim-page .step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--step-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.custom-claim-page .step-number-inner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-claim-page .how-to-claim {
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.custom-claim-page .how-to-claim:before {
    content: "";
    background: var(--brand-base);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: .5rem;
    opacity: .05;
}

.custom-claim-page .section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.custom-claim-page .steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-claim-page .steps-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.custom-claim-page .need-help {
    text-align: center;
    max-width: 512px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.checkout-wrapper,
.section-headers + [data-trans="Identification form"] .claim-signup-breadcrumb {
    margin-top: 0;
}

div#listing-extra-fields .panel-form {
    margin-bottom: 2rem;
}

.custom-hero .heading {
    font-weight: bold;
}

.custom-hero .button {
    margin-top: 2rem;
}

.custom-hero .button:hover {
    color: white;
}

.custom-cards .content-card h3 {
    font-weight: bold;
}

.custom-cards .content-card.why-tref {
    background: var(--brand-base);
}

.custom-cards .content-card.why-tref h3,
.custom-cards .content-card.why-tref p {
    color: white;
}

.header:not([data-type="3"]):not([data-type="4"])[is-inverse=true] + .section-headers[data-bg=base] {
    padding-top: 48px;
}

.modal-sign[is-page=true] .modal-content {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    border-radius: .5rem;
    border-color: var(--neutral-transp-10);
}

.claim-signup-breadcrumb .breadcrumb-item {
    background: none;
    color: var(--neutral-transp-50);
    padding: 0;
    padding-left: 50px;
}

.claim-signup-breadcrumb .breadcrumb-item[is-active=true] {
    background: none;
    color: var(--brand-base);
}

.claim-signup-breadcrumb .breadcrumb-item strong,
.claim-signup-breadcrumb .breadcrumb-item:after {
    display: none;
}

.claim-signup-breadcrumb .breadcrumb-item:before,
.claim-signup-breadcrumb .breadcrumb-item:not(:first-child):before {
    content: "";
    background: url(/custom/domain_1/image_files/ckeditor/sitemgr_tref-icon.png) no-repeat center;
    background-size: 18px;
    position: absolute;
    left: 0;
    top: 50%;
    height: 40px;
    width: 40px;
    transform: translateY(-50%);
    border: 3px solid var(--neutral-transp-10);
    border-radius: 50%;
}

.claim-signup-breadcrumb .breadcrumb-item[is-active=true]:before,
.claim-signup-breadcrumb .breadcrumb-item[is-active=true]:not(:first-child):before {
    border-color: var(--brand-base);
}

.checkout-wrapper .payment-options .payment-options-section div#paypal-payment p {
    font-size: .875rem;
}

.checkout-wrapper .confirm-payment .fa {
    font-size: 1rem;
    margin-right: 1rem;
}

.pricing-plans[data-type=cards-single] .pricing-header h2 {
    font-weight: bold;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .content-block-title {
    margin-bottom: .5rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .content-block-title h3 {
    font-size: 1.5rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .description {
    font-size: 1rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group .main-price .value {
    font-size: 1.75rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-body .details-list li {
    font-size: 0.875rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-body .details-list li:before {
    color: white;
    background: var(--highlight-base, #137df7);
    border-radius: 50%;
    height: 18px;
    width: 18px;
    font-size: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-claim-page .step-number-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.custom-claim-page .step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.custom-claim-page .step-description {
    line-height: 1.6;
}

.custom-claim-page .section-icon {
    width: 24px;
    height: 24px;
    color: var(--brand-base);
    margin: 0;
}

.custom-claim-page .email-link {
    color: var(--brand-base);
    text-decoration: none;
    font-weight: 500;
}

.custom-claim-page .email-link:hover {
    text-decoration: underline;
}

.custom-claim-page .icon-check::before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--brand-base);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 16px;
    font-weight: bold;
}

.custom-claim-page .icon-mail::before {
    content: "✉";
    display: inline-block;
    font-size: 24px;
    line-height: 1;
}

.custom-claim-page .how-to-claim .section-header {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.custom-claim-page .step-text {
    margin: 0;
}

.summary-list .summary-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}

@media (max-width: 992px) {
    .custom-cards,
    .custom-hero {
        max-width: 100%;
    }

    .header:not([data-type="3"]):not([data-type="4"])[is-inverse=true] + .section-headers[data-bg=base] {
        padding-top: 24px;
    }
}

@media (min-width: 992px) {
    .custom-checkout-page .row .column {
        flex-flow: row nowrap;
    }
}

@media (min-width: 768px) {
    .custom-claim-page .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-plans[data-type="cards-single"] + .pricing-plans[data-type="cards-single"] .pricing-header {
    display: none;
}

.pricing-plans[data-type="cards-single"] + .pricing-plans[data-type="cards-single"] .pricing-plan-card {
    margin-top: 0;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card {
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    overflow: hidden;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group .button {
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 32px;
    padding-right: 32px;
    border-radius: var(--border-radius-button, 3px);
    font-size: 1em;
}

button.desc-fetch-google {
    line-height: 1.15;
    border: none;
    box-shadow: none;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    text-decoration: none;
    display: inline-block;
    padding: 8px 24px;
    border-radius: var(--border-radius-button, 3px);
    font-size: 0.875em;
    background: var(--brand-base);
    color: white;
    margin: 1rem 0;
}

p.desc-fetch-google {
    font-size: .875rem;
}

.modal-sign .modal-content .modal-nav {
    border-color: var(--neutral-transp-10);
}

.tref-lp .location-btn {
    white-space: nowrap;
    padding: 1.25rem 2rem 1.25rem 1rem;
}

.tref-lp .search-section,
.tref-lp .search-input-container .twitter-typeahead,
.tref-lp .location-search-container .twitter-typeahead {
    width: 100%;
}

@media (min-width: 640px) {
    .tref-lp .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.tref-lp .tt-menu {
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(8, 92, 240, 0.2);
    max-height: 20rem;
    overflow-y: auto;
    z-index: 50;
    backdrop-filter: blur(8px);
    width: 100%;
    padding: 1rem;
    text-align: left;
}

.tref-lp .tt-dataset.tt-dataset-what,
.tref-lp .tt-dataset.tt-dataset-whereNew {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tref-lp .tt-suggestion.tt-selectable {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1a1a1a;
    font-weight: 500;
    flex-direction: row-reverse;
    justify-content: space-between;
    font-size: 0.85rem;
}

.tref-lp .tt-suggestion.tt-selectable:hover {
    background: rgba(233, 238, 255, 0.5);
    color: #085cf0;
    transform: scale(1.02);
}

.tref-lp .area-label::before {
    display: none;
}

.tref-lp .apply-location-btn {
    font-size: 0.875rem;
    font-weight: 500;
}

.tref-lp .tt-dataset.tt-dataset-whereNew .tt-suggestion.tt-selectable {
    display: block;
}

.tref-lp .location-icon {
    color: var(--highlight-base);
    min-width: 24px;
}

.tref-lp .location-btn {
    width: 18rem;
    max-width: 100%;
    min-width: inherit;
}

.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-content .summary-description {
    font-family: "Inter", sans-serif;
}

.summary-list .summary-card[summary-type="9"] .summary-address {
    color: var(--neutral-base);
    position: relative;
    display: block;
    gap: 0.5rem;
    margin: 0.5rem 0 0;
    padding-left: 1.5rem;
}

.summary-list .summary-card[summary-type="9"] .summary-address .summary-distance {
    font-size: .75rem;
}

.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-content .summary-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-content .summary-info-item .summary-info-icon {
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-content .summary-footer .summary-info,
.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-content .summary-footer .summary-info-item {
    display: none;
}

.summary-list .summary-card[summary-type="9"] .summary-address:before {
    content: "";
    height: 20px;
    width: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12 3a7 7 0 0 0-7 7c0 2.862 1.782 5.623 3.738 7.762A26.158 26.158 0 0 0 12 20.758a26.14 26.14 0 0 0 3.262-2.994C17.218 15.623 19 12.863 19 10a7 7 0 0 0-7-7Zm0 20.214l-.567-.39l-.003-.002l-.006-.005l-.02-.014l-.075-.053a25.34 25.34 0 0 1-1.214-.94a28.157 28.157 0 0 1-2.853-2.698C5.218 16.876 3 13.637 3 10a9 9 0 0 1 18 0c0 3.637-2.218 6.877-4.262 9.112a28.145 28.145 0 0 1-3.796 3.44a16.794 16.794 0 0 1-.345.251l-.021.014l-.006.005l-.002.001l-.568.39ZM12 8a2 2 0 1 0 0 4a2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0a4 4 0 0 1-8 0Z"/></svg>');
    background-position: center;
    background-repeat: no-repeat;
    opacity: .5;
    position: absolute;
    left: 0;
    top: .25rem;
}

.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-picture .summary-picture {
    padding: 0;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-address {
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.tref-lp .toast {
    display: none;
}

@media (max-width: 580px) {
    .tref-lp .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tref-lp .location-btn {
        width: 100%;
    }

    .tref-lp .search-placeholder {
        text-align: left;
    }

    .header[has-translatebar=true][data-type="1"] .header-bar .container .translate {
        margin: 0;
    }
}

.footer[data-type="3"]>.footer-content {
    display: none;
}

.thin-strip-base[data-type="6"] .wrapper>.content-stores .link-store {
    border: none;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] {
    flex-flow: row wrap;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-picture .summary-picture-content {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-picture .summary-picture-content img {
    width: 40px;
    min-width: 40px;
    height: 40px;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-picture .summary-title {
    margin: 0;
    font-size: 1rem;
    text-align: left;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .review-stars {
    font-size: 0.875rem;
    text-align: left;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-phone,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-phone a,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-info,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-info-item,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-address {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 0.5rem;
    font-size: 12px;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-info .summary-info-icon,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-info-item .summary-info-icon,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-address .summary-info-icon,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-phone .icon,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-address:before {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    width: 20px;
    min-width: 20px;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-address {
    flex-flow: row nowrap;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    display: block;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-info .summary-info {
    gap: 0;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-info .summary-info-item {
    font-size: 12px;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-footer {
    padding-top: 0.5rem;
    width: 100%;
    text-align: left;
}

.tref-lp-thin .hero-content {
    padding: 1.5rem 0;
}

.tref-lp-thin .hero-content:before {
    background: white;
}

.tref-lp-thin .hero-content .content-container {
    background: none;
    padding: 0;
    box-shadow: none;
}

.tref-lp-thin .hero-content .content-container .search-section {
    margin: 0;
    flex-flow: row wrap;
    justify-content: center;
}

.tref-lp-thin .hero-content .content-container .search-section .search-input-container input#searchInput,
.tref-lp-thin .hero-content .content-container .search-section .location-btn {
    background: #f3f4f6;
    border-radius: 0.5rem;
}

.tref-lp-thin .hero-content .content-container .search-section .location-btn {
    box-shadow: none;
    border: none;
    color: var(--highlight-base);
    font-weight: 500;
    font-size: 1.15rem;
}

.tref-lp-thin .hero-content .content-container .search-section .location-btn div#locationText {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-list .summary-card[summary-type="9"] .summary-picture img,
.summary-list .summary-card[summary-type="9"] .summary-picture picture {
    border-radius: .5rem;
    height: auto;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-picture .summary-picture-content img,
.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-picture picture {
    border-radius: .25rem;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-picture .summary-picture-content img {
    width: 8rem;
    min-width: 100%;
    height: auto;
    object-fit: contain;
}

.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-picture {
    justify-content: flex-start;
}

.summary-list[list-type=list-view] .summary-card[summary-type="9"] .summary-content .summary-heading {
    margin-bottom: 0;
}

.tref-lp .location-btn [data-url] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tref-lp .search-icon {
    color: var(--highlight-base);
}

.my-custom-share-buttons {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}

.sharethis-inline-share-buttons .st-btn {
    border-radius: 6px !important;
    padding: 8px 12px !important;
}

.my-custom-share-buttons .st-btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: 0.2s ease;
}

.modal.modal-member.bundling-options .modal-content .modal-body .listing-templates-list .listing-templates-item {
    padding: 0 2rem 0 1rem;
    text-align: left;
    justify-content: flex-start;
}


/* Detail Page Redesign */
.details-default>.detail-body .detail-body-content .tab-content .widget-separator {
    display: none;
}

.details-default>.details-header[data-type=profile-header].contained .bg {
    margin: 32px 0 0;
}

.custom-content.ckeditor-content {
    padding: 0;
}

.details-default>.details-header {
    background-color: var(--neutral-base);
}

.details-default>.details-header .details-general .details-info .details-categories .link {
    color: white;
}

.details-default,
.details-default>.details-header[data-type=profile-header]:before,
.details-default>.details-header[data-type=profile-header] .details-header-navbar {
    background: #f9fafb; 
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item {
    margin: 0;
    margin-bottom: 32px;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item .tab-item-heading {
    margin-bottom: 1rem;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item .tab-item-heading .heading {
    font-size: 1.15rem;
    color: var(--neutral-base);
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-reviews .tab-item-heading .heading,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-hours .tab-item-heading .heading,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-photos .tab-item-heading .heading {
    font-size: 0;
    position: relative;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-about .ckeditor-content {
    position: relative;
    margin: 2.5rem 0 0;
    color: var(--color-base);
    background: white;
    border: 1px solid #e7eaef;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    transition: 
        opacity 0.4s ease-out,        
        transform 0.4s ease-out,        
        box-shadow 0.4s ease-out;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-hours .tab-item-heading .heading:before,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-photos .tab-item-heading .heading:before,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-reviews .tab-item-heading .heading:before,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-about .ckeditor-content:before {
    font-size: 1.15rem;
    color: var(--neutral-base);
    font-weight: 700;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-hours .tab-item-heading .heading:before {
    content: "Operating Hours";
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-photos .tab-item-heading .heading:before {
    content: "Photo Gallery";
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-reviews .tab-item-heading .heading:before {
    content: "Customer Reviews";
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-about .ckeditor-content:before {
    content: "Overview";
    display: block;
    position: absolute;
    top: -2.5rem;
    left: 0;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-contact-us,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-hours,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-location,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-social,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-check-list .tab-item-content {
    background: white;
    border: 1px solid #e7eaef;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    margin: 0;
    margin-bottom: 24px;
    transition: 
        opacity 0.4s ease-out,        
        transform 0.4s ease-out,        
        box-shadow 0.4s ease-out;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-features .item-features {
    margin: 0;
    color: var(--color-base);
    background: white;
    border: 1px solid #e7eaef;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    gap: .5rem;
    transition: 
        opacity 0.4s ease-out,        
        transform 0.4s ease-out,        
        box-shadow 0.4s ease-out;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-about .ckeditor-content:hover,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-contact-us:hover,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-hours:hover,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-location:hover,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-social:hover,
.details-default>.detail-body .detail-body-content .tab-content .tab-item.tab-item-check-list .tab-item-content:hover,
.details-default>.detail-body .detail-body-content .tab-content .tab-item-features .item-features:hover,
.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-list .reviews-item:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.10);
    opacity: 1;
    transform: translateY(0);
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-features .tab-item-content {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-features .item-features .icon {
    background: var(--highlight-transp-10);
    height: 42px;
    width: 42px;
    border-radius: .5rem;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-photos .photos-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 0;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-photos .photos-list .photos-item {
    width: 100%;
    max-height: 150px;
    border-radius: 1rem;
    margin: 0;
}

.details-default>.detail-body .detail-body-content .tab-content[data-cy="Overview"] .tab-item-photos .photos-list .photos-item {
    display: none;
}

.details-default>.detail-body .detail-body-content .tab-content[data-cy="Overview"] .tab-item-photos .photos-list .photos-item:nth-child(-n+6) {
    display: block;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-hours .hours-content .hours-more {
    display: flex; 
    gap: .5rem;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-hours .hours-heading .fa-angle-down {
    color: inherit;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-hours .hours-content .hours-more .hours-item {
    margin: 0;
    border-bottom: 1px solid #e7eaef;
    padding-bottom: .5rem;
    font-size: .875rem;
    justify-content: space-between;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-hours .hours-content .hours-more .hours-item:last-child {
    border: none;
    padding: 0;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-hours .hours-heading {
    font-size: .75rem;
    background: #f7f7f7;
    padding: .25rem;
    display: inline-flex;
    align-items: center;
    border-radius: 3px;
}

/*
.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
} */

.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-list .reviews-item {
    margin: 0;
    color: var(--color-base);
    background: white;
    border: 1px solid #e7eaef;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    gap: .5rem;
    transition: 
        opacity 0.4s ease-out,        
        transform 0.4s ease-out,        
        box-shadow 0.4s ease-out;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-list .reviews-item .review-content .review-description {
     font-size: .875rem;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-list .reviews-item .review-content .review-helpfull {
    display: none;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-header .details-reviews .reviews-stars {
    flex-flow: row nowrap;
    gap: .25rem;
    margin-left: 1rem;
}

.custom-content.ckeditor-content {
    padding: 0;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-location .location-address {
    font-size: .75rem;
    padding-left: 5rem;
    text-align: right;
    position: relative;
}

.details-default>.detail-body .detail-body-content .tab-content .tab-item-location .location-address:before {
    content: "Address";
    position: absolute;
    top: 0;
    left: 0;
    opacity: .5;
}

@media (max-width: 768px) {
    .details-default>.detail-body .detail-body-content .tab-content .tab-item-features .tab-item-content {
        grid-template-columns: 1fr;
    }
}




.custom-details-header header {
    background-color: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
    position: relative;
}

.custom-details-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-details-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.custom-details-header .logo img {
    width: auto;
    height: 90px;
}

.custom-details-header .logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-base);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.custom-details-header .logo-text h1 .details-share {
    display: flex;
    align-items: center;
}

.custom-details-header .logo-text [data-tooltip]:before {
    font-size: .75rem;
    font-weight: normal;
}

.custom-details-header .logo-text .details-categories {
    font-size: .875rem;
}

.custom-details-header .details-claim {
    font-size: 0;
}

.custom-details-header .details-claim .icon {
    display: none;
}

.custom-details-header .details-claim .link {
    background-color: var(--highlight-base);;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    transition: .2s  ease-in-out;
}

.custom-details-header .details-claim .link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-details-header .menu-toggle {
    display: none;
    background: var(--highlight-transp-50);
    border: none;
    cursor: pointer;
    padding: .25rem .5rem;
    border-radius: .25rem;
    color: white;
}

.custom-details-header .mobile-menu {
    display: none;
    margin-top: 1rem;
}

.custom-details-header .mobile-menu.active {
    display: block;
}

.custom-details-header .mobile-menu-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.custom-details-header .mobile-menu-btn:hover {
    background-color: #f3f4f6;
}

.custom-details-header .mobile-menu-btn.active {
    background-color: #0080ff;
    color: white;
}

.custom-details-header .hero {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    color: white;
    padding: 4rem 0;
    min-height: 32rem;
    position: relative;
}

.custom-details-header .hero:before {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.custom-details-header .hero-content {
    max-width: 42rem;
    position: relative;
}

.custom-details-header .hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.custom-details-header .rating .details-reviews {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-flow: row nowrap;
}

.custom-details-header .rating .details-reviews .reviews-stars {
    order: 1; 
    color: var(--warning-base);
}

.custom-details-header .rating .details-reviews .reviews-rating {
    order: 2; 
}

.custom-details-header .rating .details-reviews .reviews-count {
    order: 3;
    color: white;
    opacity: .75; 
}

.custom-details-header .rating .details-reviews .reviews-count a {
    color: white;
}

.custom-details-header .rating .details-reviews .reviews-count:before {
    content: "(";
}

.custom-details-header .rating .details-reviews .reviews-count:after {
    content: ")";
}

.custom-details-header .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.custom-details-header .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.custom-details-header .hero-buttons .details-claim .link {
    padding: 16px 32px;
    display: flex;
    font-weight: normal;
    transition: .2s  ease-in-out;
    text-align: center;
    justify-content: center;
}

.custom-details-header .hero-buttons .details-claim .link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-details-header .hero-buttons .is-outline {
    border-color: white;
    color: white;
    text-align: center;
}

.custom-details-header .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.custom-details-header .contact-section {
    background-color: #f9f9f9;
    padding: 3rem 0 0;
}

.custom-details-header .contact-box {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: -7rem;
    position: relative;
    transition: opacity 0.4s 
        ease-out, transform 0.4s 
        ease-out, box-shadow 0.4s 
        ease-out;
}

.custom-details-header .contact-box:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.20);
    opacity: 1;
    transform: translateY(0);
}

.custom-details-header .contact-box .button {
    width: 100%;
    text-align: center;
}

.custom-details-header .contact-box .button:hover {
    transform: scale(1.05);
}

.custom-details-header .contact-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-base);
}

.custom-details-header .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.custom-details-header .contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.custom-details-header .contact-icon {
    background-color: var(--highlight-transp-10);
    padding: 0.75rem;
    border-radius: 9999px;
    flex-shrink: 0;
}

.custom-details-header .contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--highlight-base);
}

.custom-details-header .contact-info p:first-child {
    font-size: 0.875rem;
    color: var(--color-black-transp-75);
    margin-bottom: 0.25rem;
}

.custom-details-header .contact-info a,
.custom-details-header .contact-info p:last-child {
    font-weight: 500;
    color: var(--color-base);
    text-decoration: none;
}

.custom-details-header .contact-info a:hover {
    color: var(--highlight-base);
}

.custom-details-header .details-header-navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    border-bottom: 1px solid var(--color-black-transp-5);
}

.custom-details-header .tab-navbar {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-black-transp-75);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.custom-details-header .tab-navbar:hover {
    color: var(--color-black);
    text-decoration: none;
}

.custom-details-header .tab-navbar.is-selected {
    color: var(--highlight-base);
}

.custom-details-header .tab-navbar.is-selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--highlight-base);
}

.custom-details-header .tab-nav-mobile {
    display: none;
}

.custom-details-header .tab-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.custom-details-header .tab-mobile-header span {
    font-weight: 600;
    color: #1a1a1a;
}

.custom-details-header .tab-mobile-menu {
    display: none;
    padding: 1rem 0;
}

.custom-details-header .tab-mobile-menu.active {
    display: block;
}

.custom-details-header .tab-mobile-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 0.5rem;
    display: block;
}

.custom-details-header .tab-mobile-btn:hover {
    background-color: #f3f4f6;
}

.custom-details-header .tab-mobile-btn.active {
    background-color: #0080ff;
    color: white;
}

.custom-details-header .tab-content {
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .custom-details-header .contact-box {
        margin-top: -6rem;
    }
    
    .custom-details-header .hero h2 {
        font-size: 2rem;
    }

    .custom-details-header .hero p {
        font-size: 1rem;
    }
    
    .custom-details-header .details-header-navbar,
    .custom-details-header .header-content .details-claim .link {
        display: none;
     }

    .custom-details-header .tab-nav-mobile,
    .custom-details-header .menu-toggle {
        display: block;
    }
    
    .custom-details-header .header-content .tab-mobile-menu .details-claim .link {
        display: block;
        text-align: center;
    }

    .custom-details-header .hero-buttons {
        flex-direction: column;
    }
    
    .custom-details-header .header-content {
        flex-direction: row;
        align-items: center;
    }
    
    .custom-details-header .tab-mobile-header {
        border: none;
        padding: 0; 
    }
    
    .custom-details-header .hero {
         padding: 3rem 1rem 8rem;
    }
    
    .custom-details-header .logo img {
         width: 60px;
         height: 60px;
    }
    
    .custom-details-header .logo-text h1 {
         font-size: 1rem;
    }
    
    .custom-details-header .menu-toggle {
        padding: .75rem 1rem;
    }
    
    .custom-details-header .tab-nav-mobile .container {
        padding: 0;
    }
}

.details-default.details-listing>.detail-body .detail-body-content .tab-content.is-active[data-cy="Website"] .tab-right {
    display: none;
}

.details-default.details-listing>.detail-body .detail-body-content .tab-content.is-active[data-cy="Website"] .tab-left {
    width: 100%;
}



.custom-details-header .tab-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 998;
}

.custom-details-header .tab-mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
    top: 0;
}

.custom-details-header .tab-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    padding: 2rem 1.5rem;
    box-shadow: -2px 0 15px rgba(0,0,0,0.25);

    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.25,.8,.25,1);

    z-index: 9999;
    overflow-y: auto;
}

.custom-details-header .tab-mobile-menu.open {
    transform: translateX(0);
    display: block;
}

.custom-details-header .tab-mobile-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-base);
    cursor: pointer;
    display: block;
    margin-left: auto;
}

.pricing-plans[data-type=cards-single]
    .pricing-plan-card
    .content-block
    .content-block-header
    .price-group:has(.button[onclick="checkout(10)"]) .button {
        display: none !important;
}

.tref-lp .category-grid {
    max-width: 54rem;
}

@media (min-width: 640px) {
    .tref-lp .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-details-header .logo-text .details-categories {
        display: none;
    }
}

.custom-details-header .logo-text h1,
.custom-details-header .hero h2,
.custom-details-header .contact-info a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.claim-steps .claim-wrapper .claim-steps-list .step-content img {
    max-width: 100%;
    height: 250px;
}


/** Redesign ******************************************************************************************************/
.container {
    max-width: 86rem;
    padding: 0 3rem;
}

.header-content .container,
.footer-bar .container {
    max-width: inherit;
}

.pricing-plans {
    background: none;
    position: relative;
    padding: 3rem 0;
}

.pricing-plans:before {
    background: #f5f5ff;
    background: var(--highlight-base);
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: .035;
}

.header > .header-content .header-logo.larger-h,
.header > .header-content .header-logo {
    height: 44px;
    padding: 0;
    margin: 1rem 0;
    animation-duration: .2s;
    transition-duration: .2s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    width: auto;
}

.header > .header-content .header-logo:hover {
    transform: scaleX(1.05) scaleY(1.05);
}

.header>.navbar-mobile .navbar-links .navbar-link.plugin-dropdown-menu[href*="listing"],
.header[data-type="2"][is-inverse=true]>.header-content .header-navbar .navbar-link.plugin-dropdown-menu[href*="listing"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230062ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='14' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: .75rem center;
    padding-left: 2.75rem;
}

.header[is-inverse=true]>.header-content .content-mobile .toggler-button {
    color: var(--neutral-base);
}

.tref-lp .content-container {
    background: none;
    box-shadow: none;
    padding: 0 2rem;
    max-width: 100%;
}

.tref-lp .hero-content:before {
    background: white;
}

.tref-lp .main-title,
.tref-lp .cursor {
    background: none;
    color: var(--neutral-base);
}

.tref-lp .main-title {
    font-size: 3.75rem;
}

.tref-lp .slogan-container {
    min-height: 9rem;
}

.tref-lp .search-section {
    flex-direction: row;
    margin: 0 auto;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
}

.tref-lp .search-input-container {
    max-width: 100%;
    min-width: 400px;
}

.tref-lp .search-icon,
.tref-lp .location-icon,
.tref-lp .location-btn,
.tref-lp .search-placeholder,
.search-input-container,
.tref-lp-thin .hero-content .content-container .search-section .location-btn {
    color: #6b7280;
    font-weight: normal;
}

.search-input-container svg {
    position: absolute;
    top: 50%;
    z-index: 10;
    left: 24px;
    transform: translateY(-50%);
}

.tref-lp .location-btn:hover {
    background: none;
    transform: none;
}

.tref-lp .search-btn {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .2s;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    height: 80px;
    width: 80px;
    padding: 0;
    border-radius: 50px;
}

.tref-lp.tref-lp-thin .search-btn {
    width: auto;
    border-radius: 0.5rem;
    height: auto;
    padding: 1.2rem 2rem;
}

.tref-lp input#searchInput,
.tref-lp .location-btn,
.tref-lp-thin .hero-content .content-container .search-section .search-input-container input#searchInput,
.tref-lp-thin .hero-content .content-container .search-section .location-btn {
    background: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    border: 1px solid #dadee7;
}

.content-form + .button {
    font-size: .875rem;
    line-height: 1.25rem;
    border-radius: 50px;
    padding: .75rem 1.5rem;
}

/* Landing tref-new-hp: layout principal */
.tref-new-hp .main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 165px);
    padding: 3rem 0;
    margin-left: 70px;
}

.tref-new-hp .main-logo img {
    width: 16rem;
}

.tref-new-hp .sidebar-icons {
    position: absolute;
    left: 0;
    top: 75px;
    transform: none;
    background: #f0f1ff;
    padding: 16px 12px;
    border-radius: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid #cce0ff;
    min-height: calc(100% - 75px);
}

.pd-t .tref-new-hp .sidebar-icons {
    top: 115px;
}

.tref-new-hp .sidebar-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: default;
    position: relative;
    transition: background 0.2s;
    padding: .5rem;
    border: 1px solid transparent;
    color: var(--highlight-base);
    cursor: pointer;
}

.tref-new-hp .sidebar-icon.menu-toggle {
    cursor: pointer;
    margin-bottom: 8px;
}

.tref-new-hp .sidebar-icon img {
    width: 16px;
    height: 16px;
    color: var(--highlight-base);
}

.tref-new-hp .sidebar-icon .tooltip {
    position: absolute;
    left: 60px;
    background: white;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .05), 0 2px 4px -2px rgb(0 0 0 / .05);
    font-size: .875rem;
    line-height: 1.25rem;
    padding: .375rem .75rem;
    border: 1px solid #e5e7eb;
    color: var(--neutral-base);
}

.tref-new-hp .sidebar-icon:hover {
    background: #0062ff1a;
    border-color: #0062ff33;
}

.tref-new-hp .sidebar-icon:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}

.tref-new-hp .btn-options {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px solid #e2e8f0;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.tref-new-hp .btn-options svg {
    width: 18px;
    height: 18px;
}

.menu-overlay {
    pointer-events: none;
}

.menu-overlay.active {
    pointer-events: auto;
}

/*
.tref-new-hp .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 200;
}

.tref-new-hp .menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
*/

.tref-new-hp .sliding-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 480px;
    height: 100vh;
    background: #f0f1ff;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300;
    overflow-y: auto;
    padding: 1rem .75rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.pd-t .tref-new-hp .sliding-menu {
    top: 40px;
    padding-bottom: 60px;
}

.tref-new-hp .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
    justify-content: flex-end;
}

.tref-new-hp .menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tref-new-hp .menu-close img {
    width: 20px;
    height: 20px;
    color: var(--highlight-base);
}

.tref-new-hp .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .375rem;
    margin-bottom: 0;
}

.tref-new-hp .category-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: .375rem;
    height: 72px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    gap: .125rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    border: 1px solid #cce0ff;
}

.tref-new-hp .category-icon {
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.tref-new-hp .category-icon img {
    width: 16px;
    height: 16px;
    color: #3b82f6;
}

.tref-new-hp .category-name {
    font-size: .65rem;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.4;
}

.tref-new-hp .btn-all-categories {
    display: block;
    width: 100%;
    padding: 16px;
    background: #1a1a2e;
    color: white;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: background 0.2s;
}

.tref-new-hp .sliding-menu .button:hover {
    transform: inherit;
}

.header[data-type="2"] > .header-content .content-left {
    width: 100%;
    max-width: calc(100% - 200px);
    margin: 0;
}

.header[data-type="2"] > .header-content .content-left .header-navbar {
    gap: .25rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.header[data-type="2"] > .header-content .content-right {
    margin: 0;
    gap: .25rem;
    flex-direction: row-reverse;
}

.header[data-type="2"] > .header-content .header-navbar .navbar-link.plugin-dropdown-menu,
.header > .header-content .content-right .button {
    font-size: .875rem;
    line-height: 1.25rem;
    padding: .625rem 1rem;
    margin: 0;
    border-radius: 1rem;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .2s;
    font-weight: 500;
}

.header[data-type="2"][is-inverse=true] .content-right .button.is-inverse {
    background: var(--highlight-base);
    color: white;
    border: none;
}

.header[data-type="2"][is-inverse=true] .content-right .button.is-primary {
    background: none;
    color: var(--neutral-base);
}

.pricing-plans[data-type=cards-single] .pricing-header h2 {
    font-size: 3rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card {
    max-height: 640px;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .image-block img {
   width: 100%;
}

@media (max-width: 992px) {
.pricing-plans[data-type=cards-single] .pricing-plan-card {
    max-height: inherit;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .image-block img {
    max-height: 450px;
    object-fit: cover;
}
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block {
    padding: 2.5rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .content-block-title h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group {
    flex-flow: row wrap;
    gap: 1.5rem .5rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group .button {
    margin: 0;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group .main-price .value {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--neutral-base);
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group .main-price .recurrence {
    transform: none;
    align-items: center;
    justify-content: flex-end;
    display: flex;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-left: .5rem;
    color: var(--neutral-transp-50);
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group .alt-price {
    color: var(--neutral-transp-50);
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .content-block-title .tag-free-trial {
    color: var(--highlight-base);
    border-color: var(--highlight-base);
    background-color: var(--highlight-transp-10);
    padding: .375rem 1rem;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-body .details-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .75rem;
    font-size: .875rem;
    line-height: 1.25rem;
    position: relative;
    padding: 2rem 0 0;
    margin-top: 2rem;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-body .details-list:before {
    content: "What You Get:";
    position: absolute;
    top: 0;
    left: 0;
    font-weight: bold;
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-body .details-list li:before {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23016dff%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%206%209%2017l-5-5%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: initial;
    color: transparent;
}

.tref-new-hp .browse-mobile {
    margin: 3rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    display: none;
}

.tref-new-hp .browse-mobile .categories-grid {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.tref-new-hp .browse-mobile .categories-grid .category-card {
    flex-direction: row;
    gap: .5rem;
    height: auto;
    background: #eff0fb80;
    border-color: #e5e7eb;
    min-height: inherit;
    padding: .5rem .75rem;
    border-radius: 50px;
    transform: none;
}

.tref-new-hp .browse-mobile .categories-grid .category-card .category-name {
    font-size: .75rem;
}

.tref-new-hp .banner[type=square] {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tref-new-hp .banner[type=square] img {
   max-width: 100%;
}

.header[data-type="2"] > .header-content .header-navbar .navbar-link.plugin-dropdown-menu:hover,
.header[data-type="2"][is-inverse=true] .content-right .button.is-primary:hover {
    background: var(--neutral-transp-5);
    color: var(--neutral-base) !important;
    box-shadow: none;
    transform: none;
}

.header[data-type="2"] > .header-content .header-navbar .navbar-link.plugin-dropdown-menu.is-active,
.header[data-type="2"] > .header-content .header-navbar .navbar-link.plugin-dropdown-menu.is-active:hover {
    background: var(--highlight-transp-10);
    color: var(--highlight-base) !important;
}

.header[data-type="2"][is-inverse=true] .content-right .button.is-inverse:hover {
    color: white;
}

.tref-new-hp .btn-options:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.tref-new-hp .category-card:hover {
    transform: scaleX(1.02) scaleY(1.02);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    background: white;
}

.tref-new-hp .btn-all-categories:hover {
    background: #0f0f1a;
}

.tref-new-hp .sliding-menu.active {
    transform: translateX(0);
}

.pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-header .price-group:has(.button[onclick="checkout(10)"]) .main-price .value {
    color: var(--highlight-base);
}

@media (max-width: 1200px) {
    .tref-lp .main-title {
        font-size: 3rem;
    }

    .tref-lp .slogan-container {
        min-height: 7rem;
    }

    .tref-lp .location-btn,
    .tref-lp #searchInput,
    .tref-lp .search-placeholder {
        font-size: .875rem !important;
    }

    .tref-lp .search-input-container {
        min-width: 380px;
    }

    .tref-new-hp .main-logo img {
        width: 14rem;
    }
}

@media (max-width: 1024px) {
    .tref-lp .main-title {
        font-size: 1.875rem;
    }

    .tref-lp .slogan-container {
        min-height: 5rem;
    }

    .tref-lp .location-btn,
    .tref-lp #searchInput {
        padding: 1rem 1rem;
        border-radius: 0.5rem;
    }

    .tref-lp .search-placeholder {
        font-size: 1rem;
    }

    .search-input-container svg {
        height: 20px;
    }

    .tref-lp .location-btn svg {
        height: 20px;
    }

    .tref-lp .search-input-container {
        min-width: 280px;
    }

    .tref-lp .search-btn {
        height: 56px;
        width: 56px;
    }

    .tref-lp.tref-lp-thin .search-btn {
        padding: .75rem 1.5rem;
        border-radius: 0.5rem;
    }

    .tref-lp-thin .hero-content .content-container .search-section .search-input-container input#searchInput,
    .tref-lp-thin .hero-content .content-container .search-section .location-btn {
        min-height: 54px;
    }

    .tref-lp #searchInput,
    .tref-lp-thin .hero-content .content-container .search-section .search-input-container input#searchInput {
        padding-left: 3rem;
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .header[data-type="2"] > .header-content .content-left {
        max-width: 100%;
    }
    
    .pricing-plans[data-type=cards-single] .pricing-plan-card.alt-order .image-block {
        order: 1;
    }

    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-plans[data-type=cards-single] .pricing-header h2 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .tref-new-hp .main-content {
        margin-left: 0;
        padding: 0;
        justify-content: flex-start;
        padding: 2rem 0;
    }

    .tref-new-hp .main-logo img {
        width: 8rem;
    }

    .tref-new-hp .search-container {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .tref-new-hp .sliding-menu {
        width: 100%;
    }

    .tref-new-hp .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tref-new-hp .sidebar-icons,
    .tref-lp .slogan-container,
    .tref-new-hp .content-form + .button {
        display: none;
    }

    .tref-lp .search-section {
        flex-direction: column;
        gap: 1rem;
        margin: 0;
        margin-top: 2rem;
    }

    .tref-lp .search-inputs,
    .tref-lp .location-btn,
    .tref-lp .search-button-container {
        width: 100%;
    }

    .tref-lp .search-inputs {
        flex-direction: column;
        gap: 1rem;
    }

    .tref-lp-thin .hero-content {
        padding: 1.5rem;
    }

    .tref-lp.tref-lp-thin .search-btn {
        width: 100%;
        max-width: 100%;
        border-radius: 50px;
    }

    .tref-lp .search-btn {
        width: 100%;
    }

    .tref-lp .search-input-container svg {
        left: 20px;
    }

    .tref-lp #searchInput {
        padding-left: 3.5rem;
        border-radius: 0.5rem;
    }

    .tref-lp .content-container {
        padding: 0 2rem;
    }

    .tref-new-hp .browse-mobile {
        display: flex;
    }
    
    .header>.navbar-mobile {
        box-shadow: none;
        border-color: #e5e7eb;
        padding: 1rem 0;
    }
    
    /*
    .header>.navbar-mobile .navbar-links,
    .header>.navbar-mobile .navbar-links:not(:first-child) {
       border: none;
       padding: 0 1rem;
    }
    */
    
    .header>.navbar-mobile .navbar-links a,
    .header>.navbar-mobile .navbar-links .navbar-link.plugin-dropdown-menu:not(:first-child),
    .header>.navbar-mobile .navbar-links .navbar-link.plugin-dropdown-menu {
       padding: .75rem 1rem;
       margin: 0;
       font-size: 1rem !important;
       line-height: 1.5rem;
       text-decoration: none;
       border-radius: .75rem;
       font-weight: 500;
    }
    
    .header>.navbar-mobile .navbar-links .navbar-link.plugin-dropdown-menu[href*="listing"] {
       padding-left: 2.75rem;
    }
    
    .header>.navbar-mobile .navbar-links a:hover,
    .header>.navbar-mobile .navbar-links .navbar-link.plugin-dropdown-menu:hover,
    .header>.navbar-mobile .navbar-links .navbar-link.plugin-dropdown-menu.is-active {
       background-color: var(--highlight-transp-10);
       color: var(--highlight-base) !important;
    }
    
    .pricing-plans[data-type=cards-single] .pricing-plan-card .content-block {
        padding: 1.5rem;
    }
    
    .pricing-plans[data-type=cards-single] .pricing-plan-card .content-block .content-block-body .details-list {
        grid-template-columns: 1fr;
    }
}

.banner[type=square]:not([data-section=main]) .banner-link,
.banner[type=square] img {
    max-height: 500px;
    max-width: 500px;
}

.header[data-type="2"] .content-right .button,
.header[data-type="2"] .content-right .user-button {
    font-size: .875rem;
    line-height: 1.25rem;
    white-space: nowrap;
}

.details-default>.details-modal .modal-header .modal-picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/*
.details-default.details-classifieds>.details-header:not(.details-header-mobile):before,
.details-default.details-classifieds>.details-header.details-header-mobile .detail-header-content-mobile:before {
    background: var(--highlight-base);
}*/

.details-default.details-classifieds>.details-header.details-header-mobile .details-share .bookmark, 
.details-default.details-classifieds>.details-header.details-header-mobile .details-share .fa-bookmark, 
.details-default.details-classifieds>.details-header.details-header-mobile .details-share .fa-bookmark-o,
.details-default.details-classifieds>.details-header .details-general .details-info .details-share .bookmark, 
.details-default.details-classifieds>.details-header .details-general .details-info .details-share .fa-bookmark, 
.details-default.details-classifieds>.details-header .details-general .details-info .details-share .fa-bookmark-o {
    color: white;
}

.details-default.details-listing>.detail-body .detail-body-content .tab-content .tab-left .cards-default[data-type="classifieds"] .cards-list {
    position: relative;
    margin-top: 1rem;
}

/*
.details-default.details-listing>.detail-body .detail-body-content .tab-content .tab-left .cards-default[data-type="classifieds"] .cards-list:before {
    content: "Classifieds";
    position: absolute;
    top: -3rem;
    font-weight: 700;
    font-size: 1.15rem;
    left: 1rem;
}*/

.details-default.details-listing>.detail-body .detail-body-content .tab-content[data-cy="Overview"] .tab-left .cards-default[data-type="classifieds"] .cards-list .card {
    display: none;
}

.details-default.details-listing>.detail-body .detail-body-content .tab-content[data-cy="Overview"] .tab-left .cards-default[data-type="classifieds"] .cards-list .card:nth-child(-n+3) {
    display: block;
}


@media (max-width: 680px) {
  .members-page .members-panel.edit-panel .panel-body .custom-edit-content .row-gap .col-md-6,
  .members-page .members-panel.edit-panel .panel-body .custom-edit-content .col-sm-4,
  .members-page .members-panel.edit-panel .panel-body .custom-edit-content .default-row-biling .col-md-4 {
    width: 100% !important;
  }    
}

.tref-new-hp .sliding-menu .button {
    text-align: center;
}

.tref-new-hp .sliding-menu .button.is-outline,
.tref-new-hp .browse-mobile .button.is-outline {
    border: 2px solid var(--brand-base);
    color: var(--brand-base);
    font-weight: bold;
    background: var(--brand-transp-10);
}

.tref-new-hp .browse-mobile .button.is-outline {
    margin-top: 1rem;
}

.summary-list[list-type=grid-view] .summary-card[summary-type="9"] .summary-content .summary-info .summary-info-item {
    display: none;
}


.wrap-share { 
	max-width: 100%; }
.wrap-share .share { 
	position: relative; display: inline-block; }
.wrap-share .share-btn { 
	appearance: none; cursor: pointer; color: var(--highlight-base); border: none; background: none; }
.wrap-share .menu {
	position: absolute; top: calc(100% + 10px); left: 0; width: auto; background: white; border: 1px solid var(--neutral-transp-10); border-radius: .5rem; box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: .5rem; display: none; z-index: 10; gap: .25rem; }
.wrap-share .menu.open { 
	display: flex; }
.wrap-share .item {
	text-align: left; border: 0; cursor: pointer; font-weight: 600; font-size: .875rem; height: 32px; width: 32px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: .5rem; }
.wrap-share .item .fa { 
	font-size: 1rem }
.wrap-share .item:hover {
	background: var(--highlight-base); color: white; }
.wrap-share .toast { 
	font-size: 14px; min-height: 18px; position: absolute; width: 300px; left: 40px; top: 50%; border-radius: .5rem; transform: translateY(-50%); }
.wrap-share .row { 
	display:flex; gap:12px; align-items:center; }
.wrap-share .link-preview { 
	flex: 1; padding: 10px 12px; border: 1px solid var(--neutral-transp-10); border-radius: 10px; background: var(--bg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display:none; }

@media(max-width:680px) {
.wrap-share .toast { display:none; }
}

.tref-lp .content-container {
    position: relative;
}

.tref-lp .main-title {
    background-clip: text;
}

#searchInput:focus {
    outline: none;
}


/* AI Mode Styles for searchbox */
.tref-lp .ai-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(233, 238, 255, 0.5);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: center;
    width: 180px;
    margin: 0 auto 1rem;
}

.tref-lp .ai-mode-toggle:hover {
    background: rgba(233, 238, 255, 0.8);
}

.tref-lp .ai-mode-toggle-icon {
    display: flex;
    align-items: center;
}

.tref-lp .ai-mode-toggle-icon img {
    width: 1.25rem;
    height: 1.25rem;
    filter: invert(1);
    opacity: .25;
}

.tref-lp .ai-mode-toggle-text {
    color: #085cf0;
    font-size: 0.875rem;
    font-weight: 600;
}

.tref-lp .switch-button {
    position: relative;
    width: 2.5rem;
    height: 1.25rem;
    background: rgba(8, 92, 240, 0.3);
    border-radius: 0.625rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tref-lp .switch-button.is-enable {
    background: #085cf0;
}

.tref-lp .switch-button.is-disable {
    background: rgba(8, 92, 240, 0.3);
}

.tref-lp .switch-button .toggle-item {
    position: absolute;
    top: 0.125rem;
    right: 0.125rem;
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tref-lp .switch-button.is-disable .toggle-item {
    transform: translateX(-1.25rem);
}

.tref-lp .switch-button.is-enable .toggle-item {
    transform: translateX(0);
}

/* Gradient Container for AI Mode */
.tref-lp .gradient-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0.25rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.tref-lp .search-forms-wrapper.ai-mode-active .gradient-container {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Search Forms Wrapper */
.tref-lp .search-forms-wrapper {
    position: relative;
    width: 100%;
    min-height: 0;
}

/* Normal Mode */
.tref-lp .content-form.normal-mode {
    position: relative;
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1;
}

/* AI Mode */
.tref-lp .content-form.ai-mode {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    padding: 0;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 2;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
    display: block;
    min-height: 0;
}

.tref-lp .content-form.ai-mode.ai-mode-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
}

/* Show AI mode form when wrapper has ai-mode-active - Higher specificity */
.tref-lp .search-forms-wrapper.ai-mode-active .content-form.ai-mode {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.tref-lp .search-forms-wrapper.ai-mode-active .content-form.normal-mode {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.input-group-addon.classified-price-currency-addon select#price_flag {
    width: 100px;
    background: rgba(62, 69, 94, .25);
    border: none;
    border-radius: 0;
}

.input-group-addon.classified-price-currency-addon {
    border: none;
    width: 100px;
    background: rgba(62, 69, 94, .25);
    padding: 0;
}

span.input-group-addon.classified-price-currency-addon input {
    margin: 0;
}

.custom-details-header .rating .details-reviews .reviews-rating {
    color: white;
    font-size: 1rem; }
    
.custom-details-header .rating .details-reviews .reviews-stars .fa {
    color: var(--warning-base); }
    
.hero .rating .details-reviews .reviews-count .link {
    color: white; }

.listing-classifieds-cards-wrapper .cards-header {
    display: none; }

.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-header .details-reviews .reviews-stars {
    margin: 0; }
    
.details-default>.detail-body .detail-body-content .tab-content .tab-item-reviews .reviews-list .reviews-item {
    margin: 1rem 0 0; }

.tref-new-hp.thin .main-content {
    margin: 0;
    min-height: inherit;
    padding-bottom: 0; }
    
.tref-lp .search-forms-wrapper>.gradient-container .content-form.ai-mode {
    padding: 0; }
    
.tref-lp .search-forms-wrapper .gradient-container {
    background: none; }
    
.tref-lp #searchTerm.ai-search-input, 
.tref-lp .ai-search-input.form-control-reset, 
.tref-lp .gradient-container #searchTerm.ai-search-input, 
.tref-lp .gradient-container .form-control-reset.ai-search-input {
    padding: 1.25rem 1rem 1.25rem 3.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05) !important;
    border: 1px solid #dadee7 !important; }
    
.tab-content[data-cy="Overview"] .tab-item.tab-item-classifieds .listing-classifieds-toolbar {
    display: none; }
    
.tab-content[data-cy="Overview"] .tab-item.tab-item-classifieds .listing-classifieds-cards-wrapper .cards-list .card {
    display: none !important; }
    
.tab-content[data-cy="Overview"] 
.tab-item.tab-item-classifieds 
.listing-classifieds-cards-wrapper 
.cards-list 
.card:nth-child(-n+6) {
  display: block !important;
}

.tref-lp .search-inputs--ai .ai-search-container img {
display:none; }

@media (max-width: 992px) {
ul.search-tips-list + .button {
    display: none; }
.tref-lp .search-button-container .search-btn {
    width: 100%;
    border-radius: var(--border-radius); }
}

@media (max-width: 768px) {
.tref-lp .ai-mode-toggle {
    margin: 1.5rem auto 0; }
}

.details-default .alert.alert-danger {
    display: none; }

/* ============================================================
   /advertise — 3-up pricing grid  · v3  2026-05-21
   Equal-height cards · brand blue · collapsible features
   JS grouper in base.html.twig builds the wrapper.
   ============================================================ */

/* ── Brand aliases ──────────────────────────────────────────── */
.pricing-plans-grid {
    --pg-blue:   var(--highlight-base,  #137df7);
    --pg-dark:   var(--highlight-dark,  #0f6bc8);
    --pg-text:   #0d1b2a;
    --pg-muted:  #64748b;
    --pg-border: #e2e8f0;
    --pg-surface:#f4f8ff;
}

/* ── Section wrapper ──────────────────────────────────────────── */
.pricing-plans-grid {
    background: var(--pg-surface);
    padding: 0 0 90px;
}
.pricing-plans-grid .pricing-grid-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
    padding: 72px 20px 0;
}
.pricing-plans-grid .pricing-grid-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    margin: 0 0 14px;
    font-weight: 800;
    color: var(--pg-text);
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.pricing-plans-grid .pricing-grid-header p {
    font-size: 1.05rem;
    color: var(--pg-muted);
    margin: 0;
    line-height: 1.65;
}

/* ── Grid row — stretch = all cards the same height ──────────── */
.pricing-plans-grid .pricing-grid-row {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 1040px) {
    .pricing-plans-grid .pricing-grid-row {
        grid-template-columns: 1fr;
        max-width: 560px;
        gap: 20px;
    }
    .pricing-plans-grid .pricing-plan-card {
        max-width: 100% !important;
    }
}
@media (max-width: 640px) {
    .pricing-plans-grid .pricing-grid-row { padding: 0 16px; max-width: 100%; }
    .pricing-plans-grid { padding-bottom: 56px; }
    .pricing-plans-grid .pricing-grid-header { padding-top: 48px; }
}

/* ── Neutralise each plan's outer wrapper ────────────────────── */
.pricing-plans-grid .pricing-plans {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
}
.pricing-plans-grid .pricing-plans > .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    height: 100%;
}
.pricing-plans-grid .pricing-plans .pricing-header { display: none !important; }

/* ── Card shell ──────────────────────────────────────────────── */
.pricing-plans-grid .pricing-plan-card {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin-top: 0 !important;
    border: 1.5px solid var(--pg-border) !important;
    box-shadow: 0 2px 18px rgba(13,27,42,.07) !important;
    transition: transform .22s ease, box-shadow .22s ease;
    position: relative;
}
.pricing-plans-grid .pricing-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(13,27,42,.12) !important;
}

/* ── Featured (middle) card ──────────────────────────────────── */
.pricing-plans-grid .pricing-plan-card.is-featured {
    border: 2px solid var(--pg-blue) !important;
    box-shadow: 0 8px 32px rgba(19,125,247,.18) !important;
}
.pricing-plans-grid .pricing-plan-card.is-featured::before {
    content: '\2605 MOST POPULAR';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--pg-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    padding: 5px 16px;
    border-radius: 999px;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(19,125,247,.3);
}

/* ── Image strip — fixed height, full width ──────────────────── */
.pricing-plans-grid .pricing-plan-card .image-block {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    overflow: visible !important;
    background: #e8f1ff !important;
    display: block !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 0 !important;
}
.pricing-plans-grid .pricing-plan-card.is-featured .image-block {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
}
.pricing-plans-grid .pricing-plan-card .image-block img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    max-width: 100% !important;
}
.pricing-plans-grid .pricing-plan-card.no-image .image-block { display: none !important; }

/* ── Content block — fills remaining card height ─────────────── */
.pricing-plans-grid .pricing-plan-card .content-block,
.pricing-plans-grid .pricing-plan-card .topics-block {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    order: 1 !important;
}

/* ── Content-block-header — flex column, price sticks to bottom  */
/*    description { flex:1 } absorbs leftover space so that       */
/*    price + button are at the SAME vertical position on all     */
/*    cards regardless of description length.                     */
.pricing-plans-grid .pricing-plan-card .content-block-header {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    padding: 24px 22px 0 !important;
    text-align: center;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
}
.pricing-plans-grid .pricing-plan-card.is-featured .content-block-header {
    padding-top: 40px !important;
}
.pricing-plans-grid .pricing-plan-card.no-image .content-block-header {
    padding-top: 34px !important;
}
.pricing-plans-grid .pricing-plan-card .content-block-title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap;
    gap: 6px;
}
.pricing-plans-grid .pricing-plan-card .content-block-title h3 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--pg-text) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.pricing-plans-grid .pricing-plan-card.is-featured .content-block-title h3 {
    color: var(--pg-blue) !important;
}

/* description flex:1 is the KEY to aligned prices */
.pricing-plans-grid .pricing-plan-card .description {
    font-size: 0.875rem !important;
    color: var(--pg-muted) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    flex: 1;
    min-height: 3.5em !important;
    display: flex !important;
    align-items: flex-start !important;
    text-align: center !important;
    padding-bottom: 4px !important;
}
.pricing-plans-grid .pricing-plan-card .description br { display: none !important; }

/* ── Price group — always at bottom of header zone ───────────── */
.pricing-plans-grid .pricing-plan-card .price-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    gap: 4px;
    margin: 0 !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid var(--pg-border) !important;
    margin-top: auto !important;
}
.pricing-plans-grid .pricing-plan-card .main-price {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    justify-content: center !important;
}
.pricing-plans-grid .pricing-plan-card .main-price .value {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: var(--pg-blue) !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
}
.pricing-plans-grid .pricing-plan-card .main-price .recurrence {
    font-size: 0.8rem !important;
    color: var(--pg-muted) !important;
    transform: none !important;
    -ms-transform: none !important;
    font-weight: 400 !important;
}
.pricing-plans-grid .pricing-plan-card .alt-price {
    font-size: 0.78rem !important;
    color: var(--pg-muted) !important;
    font-weight: 400 !important;
}

/* ── CTA button ──────────────────────────────────────────────── */
.pricing-plans-grid .pricing-plan-card .button.is-primary {
    display: block !important;
    margin: 14px 0 18px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 13px 20px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    background: var(--pg-blue) !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(19,125,247,.25) !important;
    transition: background .2s, transform .12s, box-shadow .2s;
    letter-spacing: .01em;
    border: none !important;
}
.pricing-plans-grid .pricing-plan-card .button.is-primary:hover {
    background: var(--pg-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(19,125,247,.38) !important;
    color: #fff !important;
}
.pricing-plans-grid .pricing-plan-card.is-free .button.is-primary {
    background: #1e293b !important;
    box-shadow: 0 3px 12px rgba(13,27,42,.2) !important;
}
.pricing-plans-grid .pricing-plan-card.is-free .button.is-primary:hover {
    background: #0f172a !important;
}

/* ── Features accordion toggle button ───────────────────────── */
.pricing-plans-grid .pricing-plan-card .features-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid var(--pg-border) !important;
    padding: 12px 22px !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--pg-blue) !important;
    text-align: left !important;
    outline: none !important;
    transition: background .15s !important;
    flex-shrink: 0;
    letter-spacing: .01em;
}
.pricing-plans-grid .pricing-plan-card .features-toggle:hover {
    background: var(--pg-surface) !important;
}
.pricing-plans-grid .pricing-plan-card .features-toggle .toggle-icon {
    font-size: 9px !important;
    transition: transform .2s !important;
    display: inline-block !important;
    margin-left: 8px !important;
    flex-shrink: 0;
}
.pricing-plans-grid .pricing-plan-card .features-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg) !important;
}

/* ── Features list (JS controls display) ─────────────────────── */
.pricing-plans-grid .pricing-plan-card .content-block-body,
.pricing-plans-grid .pricing-plan-card .topics-block {
    columns: 1 !important;
    column-count: 1 !important;
    overflow: hidden;
    flex: 0 0 auto;
}
.pricing-plans-grid .pricing-plan-card .details-list {
    list-style: none !important;
    padding: 8px 22px 16px !important;
    margin: 0 !important;
    columns: 1 !important;
    column-count: 1 !important;
    display: block !important;
    width: 100% !important;
}
.pricing-plans-grid .pricing-plan-card .details-list li {
    position: relative !important;
    padding: 7px 0 7px 26px !important;
    font-size: 0.855rem !important;
    color: #334155 !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}
.pricing-plans-grid .pricing-plan-card .details-list li:last-child {
    border-bottom: none !important;
}
/* Brand-blue SVG circle check for all list items */
.pricing-plans-grid .pricing-plan-card .details-list li::before,
.pricing-plans-grid .pricing-plans[data-type=cards-single] .pricing-plan-card .topics-block .details-list li::before {
    content: '' !important;
    font-family: unset !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: rgba(19,125,247,.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23137df7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,8 7,12 13,4'/></svg>") center/9px no-repeat !important;
    color: transparent !important;
    margin-right: 0 !important;
    display: block !important;
    text-align: left !important;
}
/* end /advertise grid v3 */

/* fix: accordion toggle + expanded body must come after the content-block */
.pricing-plans-grid .pricing-plan-card > .features-toggle {
    order: 2 !important;
}
.pricing-plans-grid .pricing-plan-card > .content-block-body,
.pricing-plans-grid .pricing-plan-card > .topics-block {
    order: 3 !important;
}

/* ======================================================
   PRICING FEATURES MODAL
   ====================================================== */
.pg-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13,27,42,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}
.pg-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: all;
}
.pg-modal {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,.22);
    max-width: 500px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    transform: translateY(24px) scale(.97);
    opacity: 0;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .22s ease;
    scrollbar-width: thin;
    scrollbar-color: #dde3ed #f4f8ff;
}
.pg-modal-backdrop.is-open .pg-modal {
    transform: none;
    opacity: 1;
}
.pg-modal-head {
    position: sticky;
    top: 0;
    background: var(--highlight-base, #137df7);
    color: #fff;
    padding: 22px 24px 18px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    z-index: 1;
}
.pg-modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.25;
    color: #fff !important;
}
.pg-modal-subtitle {
    font-size: .82rem;
    margin: 0;
    opacity: .82;
    color: #fff !important;
}
.pg-modal-close {
    background: rgba(255,255,255,.2);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    min-width: 34px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    transition: background .15s, transform .15s;
    margin-top: 2px;
}
.pg-modal-close:hover {
    background: rgba(255,255,255,.35);
    transform: rotate(90deg);
}
.pg-modal-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.pg-modal-body {
    padding: 8px 24px 28px;
}
.pg-modal-body .details-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pg-modal-body .details-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid #eef2f8 !important;
    font-size: .95rem !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
}
.pg-modal-body .details-list li:last-child {
    border-bottom: none !important;
}
.pg-modal-body .details-list li::before {
    content: '' !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 50% !important;
    background: rgba(19,125,247,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23137df7' d='M10 3L5 8.5 2 5.5l-1 1L5 10.5l6-7z'/%3E%3C/svg%3E") center / 12px no-repeat !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
    font-size: 0 !important;
}

/* Mobile: native bottom-sheet style */
@media (max-width: 640px) {
    .pg-modal-backdrop {
        align-items: flex-end !important;
        padding: 0 !important;
        background: rgba(13,27,42,.6) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .pg-modal {
        border-radius: 22px 22px 0 0 !important;
        max-height: 87vh !important;
        max-width: 100% !important;
        width: 100% !important;
        transform: translateY(100%) !important;
        transition: transform .32s cubic-bezier(.32,1,.45,1) !important;
        opacity: 1 !important;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .pg-modal-backdrop.is-open .pg-modal {
        transform: translateY(0) !important;
    }
    /* drag-handle pill */
    .pg-modal::before {
        content: '';
        display: block;
        width: 44px;
        height: 5px;
        background: rgba(255,255,255,.55);
        border-radius: 3px;
        margin: 10px auto -4px;
    }
    .pg-modal-head {
        border-radius: 0 !important;
        padding: 14px 20px 14px !important;
    }
    .pg-modal-title {
        font-size: 1.05rem !important;
    }
    .pg-modal-close {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
    }
    .pg-modal-body {
        padding: 4px 20px 24px !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .pg-modal-body .details-list li {
        padding: 14px 0 !important;
        font-size: .93rem !important;
    }
}

/* ============================================================
   TREF STORIES — Phase 1 prototype styles
   ============================================================ */
.tref-story-logo-wrap{display:inline-block;position:relative;padding:3px;border-radius:50%;background:transparent;line-height:0;transition:transform .2s ease}
.tref-story-logo-wrap.has-story{padding:3px;background:conic-gradient(from 220deg,#137df7,#ff416c,#fc6076,#ff9a44,#137df7);box-shadow:0 0 0 2px #fff inset}
.tref-story-logo-wrap.has-story:hover{transform:scale(1.04)}
.tref-story-logo-wrap.is-owner:not(.has-story){padding:3px;background:repeating-conic-gradient(#137df7 0 10deg,transparent 10deg 20deg);opacity:.85}
.tref-story-logo-wrap.is-owner:not(.has-story)::after{content:"+";position:absolute;right:-2px;bottom:-2px;width:18px;height:18px;border-radius:50%;background:#137df7;color:#fff;font:700 14px/18px sans-serif;text-align:center;border:2px solid #fff}
.tref-story-logo-img{display:block;border-radius:50%;background:#fff}

/* Floating FAB */
.tref-story-fab{position:fixed;right:18px;bottom:18px;z-index:9998;display:flex;align-items:center;gap:8px;padding:10px 16px 10px 12px;border:0;border-radius:999px;background:linear-gradient(135deg,#137df7,#0f6bc8);color:#fff;font:600 14px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;box-shadow:0 10px 30px rgba(19,125,247,.45);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.tref-story-fab:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(19,125,247,.55)}
.tref-fab-plus{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.22);font:700 16px/1 sans-serif}

/* Modal */
.tref-modal-bd{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:9999;opacity:0;transition:opacity .2s ease;padding:20px}
.tref-modal-bd.is-open{opacity:1}
.tref-modal{background:#fff;border-radius:14px;max-width:560px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.35);transform:translateY(10px);transition:transform .2s ease}
.tref-modal-bd.is-open .tref-modal{transform:none}
.tref-modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eef1f5;position:sticky;top:0;background:#fff;z-index:1}
.tref-modal-head h3{margin:0;font:600 16px/1.3 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111}
.tref-modal-x{background:transparent;border:0;font-size:18px;cursor:pointer;color:#555;padding:4px 8px;border-radius:6px}
.tref-modal-x:hover{background:#f3f5f9}
.tref-modal-body{padding:18px 20px 22px}
.tref-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}
.tref-btn{padding:10px 18px;border-radius:8px;border:0;font:600 14px/1 system-ui,sans-serif;cursor:pointer}
.tref-btn-primary{background:linear-gradient(135deg,#137df7,#0f6bc8);color:#fff}
.tref-btn-primary:hover{filter:brightness(1.05)}
.tref-btn-ghost{background:#eef2f7;color:#333}

/* Tabs */
.tref-tabs{display:flex;gap:6px;border-bottom:1px solid #eef1f5;margin-bottom:14px;overflow-x:auto}
.tref-tab{background:transparent;border:0;padding:10px 14px;border-radius:8px 8px 0 0;font:500 13px/1 system-ui,sans-serif;color:#555;cursor:pointer;white-space:nowrap}
.tref-tab.is-active{background:#137df7;color:#fff}

/* Templates */
.tref-templates{margin-bottom:14px}
.tref-tpl-label{font:600 12px/1 system-ui,sans-serif;color:#777;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.tref-tpl-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tref-tpl{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:1px solid #e2e7ef;border-radius:10px;background:#fafbfd;cursor:pointer;font:500 12px/1.2 system-ui,sans-serif;color:#333}
.tref-tpl:hover{border-color:#137df7;background:#f0f6ff}
.tref-tpl-emoji{font-size:20px}

/* Composer fields */
.tref-input,.tref-pane select,.tref-pane input[type="datetime-local"]{width:100%;padding:10px 12px;border:1px solid #d8dee7;border-radius:8px;font:14px/1.4 system-ui,sans-serif;margin-bottom:8px;background:#fff;color:#111}
.tref-input:focus{outline:none;border-color:#137df7;box-shadow:0 0 0 3px rgba(19,125,247,.18)}
.tref-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.tref-field{display:flex;flex-direction:column;gap:4px;font:600 12px/1 system-ui,sans-serif;color:#555;text-transform:uppercase;letter-spacing:.04em}
.tref-field select,.tref-field input{margin-bottom:0;text-transform:none}
.tref-drop{display:flex;align-items:center;justify-content:center;height:160px;border:2px dashed #c5cfdc;border-radius:10px;color:#666;font:500 14px/1.3 system-ui,sans-serif;cursor:pointer;background-size:cover;background-position:center;transition:border-color .15s ease}
.tref-drop span{color:#137df7;text-decoration:underline;margin-left:4px}
.tref-drop.is-drag{border-color:#137df7;background-color:#eef6ff}
.tref-drop.has-img{color:transparent;border-style:solid;border-color:transparent}
.tref-swatches{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.tref-swatch{width:34px;height:34px;border-radius:50%;border:2px solid transparent;cursor:pointer;padding:0}
.tref-swatch.is-active{border-color:#111;box-shadow:0 0 0 2px #fff inset}

/* Preview */
.tref-preview-wrap{margin-top:14px;display:flex;justify-content:center}
.tref-preview{width:180px;height:320px;border-radius:18px;overflow:hidden;background:#000;box-shadow:0 12px 30px rgba(0,0,0,.25);position:relative}

/* Slide content */
.tref-slide{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.tref-slide-img{max-width:100%;max-height:100%;object-fit:contain}
.tref-slide-video{width:100%;height:100%;object-fit:cover;border:0}
.tref-slide-caption{position:absolute;left:0;right:0;bottom:0;padding:14px 16px;background:linear-gradient(transparent,rgba(0,0,0,.7));font:500 14px/1.3 system-ui,sans-serif}
.tref-slide-inner{padding:24px;text-align:center;max-width:90%}
.tref-slide-inner h2{margin:0 0 10px;font:800 28px/1.05 system-ui,sans-serif;letter-spacing:-.02em;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.tref-slide-inner p{margin:0 0 12px;font:500 16px/1.35 system-ui,sans-serif;opacity:.95}
.tref-slide-cta{display:inline-block;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.22);backdrop-filter:blur(6px);color:#fff;text-decoration:none;font:600 13px/1 system-ui,sans-serif}
.tref-slide-tag{display:inline-block;padding:3px 8px;border-radius:4px;background:rgba(255,255,255,.22);font:700 10px/1 system-ui,sans-serif;letter-spacing:.12em;margin-bottom:10px}

/* Picker */
.tref-picker-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid #e2e7ef;border-radius:8px;background:#fff;margin-bottom:6px;cursor:pointer;font:500 14px/1 system-ui,sans-serif;text-align:left}
.tref-picker-row:hover{border-color:#137df7;background:#f6faff}
.tref-picker-row img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#eee}

/* Upsell */
.tref-upsell{text-align:center;padding:16px 6px}
.tref-upsell-icon{font-size:42px;margin-bottom:8px}
.tref-upsell h4{margin:0 0 8px;font:700 18px/1.2 system-ui,sans-serif;color:#111}
.tref-upsell p{margin:0 0 16px;color:#555;font:14px/1.5 system-ui,sans-serif}

/* Toast */
.tref-toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(20px);background:#111;color:#fff;padding:10px 16px;border-radius:999px;font:500 13px/1 system-ui,sans-serif;opacity:0;transition:opacity .2s ease,transform .2s ease;z-index:10001}
.tref-toast.is-in{opacity:1;transform:translateX(-50%) translateY(0)}

/* ────── Viewer ────── */
.tref-viewer{position:fixed;inset:0;background:#0a0a0a;z-index:10000;display:flex;align-items:center;justify-content:center}
.tref-viewer-stage{position:relative;width:min(100vw,420px);height:min(100vh,90vh);max-height:100vh;background:#000;border-radius:0;overflow:hidden;box-shadow:0 0 80px rgba(0,0,0,.6)}
@media (min-width:768px){.tref-viewer-stage{border-radius:18px;height:min(92vh,820px)}}
.tref-viewer-bars{position:absolute;top:10px;left:10px;right:10px;display:flex;gap:4px;z-index:3}
.tref-bar{flex:1;height:3px;background:rgba(255,255,255,.3);border-radius:2px;overflow:hidden}
.tref-bar > i{display:block;height:100%;width:0;background:#fff}
.tref-viewer-head{position:absolute;top:22px;left:14px;right:14px;display:flex;align-items:center;gap:10px;z-index:3;color:#fff}
.tref-viewer-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#fff}
.tref-viewer-meta{flex:1;display:flex;flex-direction:column;font:600 13px/1.2 system-ui,sans-serif}
.tref-viewer-meta .tref-viewer-time{font-weight:400;font-size:11px;opacity:.75}
.tref-viewer-close{background:transparent;border:0;color:#fff;font-size:20px;cursor:pointer;padding:4px 8px}
.tref-viewer-body{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.tref-viewer-body .tref-slide{height:100%}
.tref-viewer-body .tref-slide-inner h2{font-size:34px}
.tref-viewer-body .tref-slide-inner p{font-size:18px}
.tref-viewer-tap-left,.tref-viewer-tap-right{position:absolute;top:60px;bottom:80px;width:35%;z-index:2;cursor:pointer}
.tref-viewer-tap-left{left:0}
.tref-viewer-tap-right{right:0}
.tref-viewer-foot{position:absolute;left:0;right:0;bottom:0;padding:14px 16px 18px;display:flex;flex-direction:column;gap:8px;z-index:3;background:linear-gradient(transparent,rgba(0,0,0,.55))}
.tref-reactions{display:flex;gap:10px;justify-content:center}
.tref-reactions button{background:rgba(255,255,255,.18);backdrop-filter:blur(6px);border:0;color:#fff;font-size:22px;width:44px;height:44px;border-radius:50%;cursor:pointer;transition:transform .15s ease,background .15s ease}
.tref-reactions button:hover{background:rgba(255,255,255,.3)}
.tref-reactions button.is-pop{transform:scale(1.35)}
.tref-viewer-stats{display:flex;justify-content:space-between;align-items:center;color:#fff;font:500 12px/1.3 system-ui,sans-serif;opacity:.9;gap:10px;flex-wrap:wrap}
.tref-stat-del{background:rgba(255,255,255,.18);border:0;color:#fff;border-radius:6px;padding:4px 8px;cursor:pointer;font-size:14px}

@media (max-width:640px){
    .tref-modal{border-radius:14px 14px 0 0;align-self:flex-end;max-height:92vh}
    .tref-modal-bd{align-items:flex-end;padding:0}
    .tref-tpl-row{grid-template-columns:repeat(3,1fr)}
    .tref-story-fab{right:14px;bottom:14px;padding:10px 14px 10px 10px}
}
/* ============================================================
   TREF STORIES â€” Phase 1 prototype styles
   ============================================================ */
.tref-story-logo-wrap{display:inline-block;position:relative;padding:3px;border-radius:50%;background:transparent;line-height:0;transition:transform .2s ease}
.tref-story-logo-wrap.has-story{padding:3px;background:conic-gradient(from 220deg,#137df7,#ff416c,#fc6076,#ff9a44,#137df7);box-shadow:0 0 0 2px #fff inset}
.tref-story-logo-wrap.has-story:hover{transform:scale(1.04)}
.tref-story-logo-wrap.is-owner:not(.has-story){padding:3px;background:repeating-conic-gradient(#137df7 0 10deg,transparent 10deg 20deg);opacity:.85}
.tref-story-logo-wrap.is-owner:not(.has-story)::after{content:"+";position:absolute;right:-2px;bottom:-2px;width:18px;height:18px;border-radius:50%;background:#137df7;color:#fff;font:700 14px/18px sans-serif;text-align:center;border:2px solid #fff}
.tref-story-logo-img{display:block;border-radius:50%;background:#fff}

/* Floating FAB */
.tref-story-fab{position:fixed;right:18px;bottom:18px;z-index:9998;display:flex;align-items:center;gap:8px;padding:10px 16px 10px 12px;border:0;border-radius:999px;background:linear-gradient(135deg,#137df7,#0f6bc8);color:#fff;font:600 14px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;box-shadow:0 10px 30px rgba(19,125,247,.45);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.tref-story-fab:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(19,125,247,.55)}
.tref-fab-plus{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.22);font:700 16px/1 sans-serif}

/* Modal */
.tref-modal-bd{position:fixed;inset:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:9999;opacity:0;transition:opacity .2s ease;padding:20px}
.tref-modal-bd.is-open{opacity:1}
.tref-modal{background:#fff;border-radius:14px;max-width:560px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.35);transform:translateY(10px);transition:transform .2s ease}
.tref-modal-bd.is-open .tref-modal{transform:none}
.tref-modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eef1f5;position:sticky;top:0;background:#fff;z-index:1}
.tref-modal-head h3{margin:0;font:600 16px/1.3 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111}
.tref-modal-x{background:transparent;border:0;font-size:18px;cursor:pointer;color:#555;padding:4px 8px;border-radius:6px}
.tref-modal-x:hover{background:#f3f5f9}
.tref-modal-body{padding:18px 20px 22px}
.tref-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}
.tref-btn{padding:10px 18px;border-radius:8px;border:0;font:600 14px/1 system-ui,sans-serif;cursor:pointer;text-decoration:none;display:inline-block}
.tref-btn-primary{background:linear-gradient(135deg,#137df7,#0f6bc8);color:#fff}
.tref-btn-primary:hover{filter:brightness(1.05)}
.tref-btn-ghost{background:#eef2f7;color:#333}

/* Tabs */
.tref-tabs{display:flex;gap:6px;border-bottom:1px solid #eef1f5;margin-bottom:14px;overflow-x:auto}
.tref-tab{background:transparent;border:0;padding:10px 14px;border-radius:8px 8px 0 0;font:500 13px/1 system-ui,sans-serif;color:#555;cursor:pointer;white-space:nowrap}
.tref-tab.is-active{background:#137df7;color:#fff}

/* Templates */
.tref-templates{margin-bottom:14px}
.tref-tpl-label{font:600 12px/1 system-ui,sans-serif;color:#777;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.tref-tpl-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tref-tpl{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:1px solid #e2e7ef;border-radius:10px;background:#fafbfd;cursor:pointer;font:500 12px/1.2 system-ui,sans-serif;color:#333}
.tref-tpl:hover{border-color:#137df7;background:#f0f6ff}
.tref-tpl-emoji{font-size:20px}

/* Composer fields */
.tref-input,.tref-pane select,.tref-pane input[type="datetime-local"]{width:100%;padding:10px 12px;border:1px solid #d8dee7;border-radius:8px;font:14px/1.4 system-ui,sans-serif;margin-bottom:8px;background:#fff;color:#111}
.tref-input:focus{outline:none;border-color:#137df7;box-shadow:0 0 0 3px rgba(19,125,247,.18)}
.tref-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.tref-field{display:flex;flex-direction:column;gap:4px;font:600 12px/1 system-ui,sans-serif;color:#555;text-transform:uppercase;letter-spacing:.04em}
.tref-field select,.tref-field input{margin-bottom:0;text-transform:none}
.tref-drop{display:flex;align-items:center;justify-content:center;height:160px;border:2px dashed #c5cfdc;border-radius:10px;color:#666;font:500 14px/1.3 system-ui,sans-serif;cursor:pointer;background-size:cover;background-position:center;transition:border-color .15s ease}
.tref-drop span{color:#137df7;text-decoration:underline;margin-left:4px}
.tref-drop.is-drag{border-color:#137df7;background-color:#eef6ff}
.tref-drop.has-img{color:transparent;border-style:solid;border-color:transparent}
.tref-swatches{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.tref-swatch{width:34px;height:34px;border-radius:50%;border:2px solid transparent;cursor:pointer;padding:0}
.tref-swatch.is-active{border-color:#111;box-shadow:0 0 0 2px #fff inset}

/* Preview */
.tref-preview-wrap{margin-top:14px;display:flex;justify-content:center}
.tref-preview{width:180px;height:320px;border-radius:18px;overflow:hidden;background:#000;box-shadow:0 12px 30px rgba(0,0,0,.25);position:relative}

/* Slide content */
.tref-slide{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.tref-slide-img{max-width:100%;max-height:100%;object-fit:contain}
.tref-slide-video{width:100%;height:100%;object-fit:cover;border:0}
.tref-slide-caption{position:absolute;left:0;right:0;bottom:0;padding:14px 16px;background:linear-gradient(transparent,rgba(0,0,0,.7));font:500 14px/1.3 system-ui,sans-serif}
.tref-slide-inner{padding:24px;text-align:center;max-width:90%}
.tref-slide-inner h2{margin:0 0 10px;font:800 28px/1.05 system-ui,sans-serif;letter-spacing:-.02em;text-shadow:0 2px 12px rgba(0,0,0,.25)}
.tref-slide-inner p{margin:0 0 12px;font:500 16px/1.35 system-ui,sans-serif;opacity:.95}
.tref-slide-cta{display:inline-block;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.22);backdrop-filter:blur(6px);color:#fff;text-decoration:none;font:600 13px/1 system-ui,sans-serif}
.tref-slide-tag{display:inline-block;padding:3px 8px;border-radius:4px;background:rgba(255,255,255,.22);font:700 10px/1 system-ui,sans-serif;letter-spacing:.12em;margin-bottom:10px}

/* Picker */
.tref-picker-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid #e2e7ef;border-radius:8px;background:#fff;margin-bottom:6px;cursor:pointer;font:500 14px/1 system-ui,sans-serif;text-align:left}
.tref-picker-row:hover{border-color:#137df7;background:#f6faff}
.tref-picker-row img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#eee}

/* Upsell */
.tref-upsell{text-align:center;padding:16px 6px}
.tref-upsell-icon{font-size:42px;margin-bottom:8px}
.tref-upsell h4{margin:0 0 8px;font:700 18px/1.2 system-ui,sans-serif;color:#111}
.tref-upsell p{margin:0 0 16px;color:#555;font:14px/1.5 system-ui,sans-serif}

/* Toast */
.tref-toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(20px);background:#111;color:#fff;padding:10px 16px;border-radius:999px;font:500 13px/1 system-ui,sans-serif;opacity:0;transition:opacity .2s ease,transform .2s ease;z-index:10001}
.tref-toast.is-in{opacity:1;transform:translateX(-50%) translateY(0)}

/* Viewer */
.tref-viewer{position:fixed;inset:0;background:#0a0a0a;z-index:10000;display:flex;align-items:center;justify-content:center}
.tref-viewer-stage{position:relative;width:min(100vw,420px);height:min(100vh,90vh);max-height:100vh;background:#000;border-radius:0;overflow:hidden;box-shadow:0 0 80px rgba(0,0,0,.6)}
@media (min-width:768px){.tref-viewer-stage{border-radius:18px;height:min(92vh,820px)}}
.tref-viewer-bars{position:absolute;top:10px;left:10px;right:10px;display:flex;gap:4px;z-index:3}
.tref-bar{flex:1;height:3px;background:rgba(255,255,255,.3);border-radius:2px;overflow:hidden}
.tref-bar > i{display:block;height:100%;width:0;background:#fff}
.tref-viewer-head{position:absolute;top:22px;left:14px;right:14px;display:flex;align-items:center;gap:10px;z-index:3;color:#fff}
.tref-viewer-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#fff}
.tref-viewer-meta{flex:1;display:flex;flex-direction:column;font:600 13px/1.2 system-ui,sans-serif}
.tref-viewer-meta .tref-viewer-time{font-weight:400;font-size:11px;opacity:.75}
.tref-viewer-close{background:transparent;border:0;color:#fff;font-size:20px;cursor:pointer;padding:4px 8px}
.tref-viewer-body{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.tref-viewer-body .tref-slide{height:100%}
.tref-viewer-body .tref-slide-inner h2{font-size:34px}
.tref-viewer-body .tref-slide-inner p{font-size:18px}
.tref-viewer-tap-left,.tref-viewer-tap-right{position:absolute;top:60px;bottom:80px;width:35%;z-index:2;cursor:pointer}
.tref-viewer-tap-left{left:0}
.tref-viewer-tap-right{right:0}
.tref-viewer-foot{position:absolute;left:0;right:0;bottom:0;padding:14px 16px 18px;display:flex;flex-direction:column;gap:8px;z-index:3;background:linear-gradient(transparent,rgba(0,0,0,.55))}
.tref-reactions{display:flex;gap:10px;justify-content:center}
.tref-reactions button{background:rgba(255,255,255,.18);backdrop-filter:blur(6px);border:0;color:#fff;font-size:22px;width:44px;height:44px;border-radius:50%;cursor:pointer;transition:transform .15s ease,background .15s ease}
.tref-reactions button:hover{background:rgba(255,255,255,.3)}
.tref-reactions button.is-pop{transform:scale(1.35)}
.tref-viewer-stats{display:flex;justify-content:space-between;align-items:center;color:#fff;font:500 12px/1.3 system-ui,sans-serif;opacity:.9;gap:10px;flex-wrap:wrap}
.tref-stat-del{background:rgba(255,255,255,.18);border:0;color:#fff;border-radius:6px;padding:4px 8px;cursor:pointer;font-size:14px}

@media (max-width:640px){
    .tref-modal{border-radius:14px 14px 0 0;align-self:flex-end;max-height:92vh}
    .tref-modal-bd{align-items:flex-end;padding:0}
    .tref-tpl-row{grid-template-columns:repeat(3,1fr)}
    .tref-story-fab{right:14px;bottom:14px;padding:10px 14px 10px 10px}
}

/* TREF STORIES OVERLAY v2 - clean light blue */
.tref-story-overlay{position:absolute;border-radius:50%;cursor:pointer;pointer-events:auto;z-index:9;background:transparent;transition:transform .2s ease,box-shadow .2s ease;display:none;box-sizing:border-box}
.tref-story-overlay.has-story{display:block;border:3px solid #4aa6ff;box-shadow:0 0 0 2px #fff inset,0 0 8px rgba(74,166,255,.45)}
.tref-story-overlay.has-story:hover{transform:scale(1.05);box-shadow:0 0 0 2px #fff inset,0 0 12px rgba(74,166,255,.7)}
.tref-story-overlay.is-owner:not(.has-story){display:block;border:2px dashed #4aa6ff;opacity:.7}
.tref-story-overlay.is-owner:not(.has-story):hover{opacity:1}

/* Add Status link on My Account listing rows */
.tref-account-add-status{display:inline-flex;align-items:center;gap:6px;margin-left:8px;padding:2px 10px;font-size:13px;color:#137df7;text-decoration:none;border:1px solid #cfe4ff;border-radius:14px;background:#f4faff;transition:background .15s ease,color .15s ease}
.tref-account-add-status:hover{background:#137df7;color:#fff;border-color:#137df7;text-decoration:none}
.tref-account-add-status .tref-as-dot{width:8px;height:8px;border-radius:50%;background:#4aa6ff;display:inline-block}
.tref-account-add-status:hover .tref-as-dot{background:#fff}
/* TREF STORIES - dashboard tile + buttons */
.sub-list-item.tref-status-tile{position:relative}
.sub-list-item.tref-status-tile .item-title i{color:#137df7}
.sub-list-item.tref-status-tile .tref-add-status-link{color:#137df7;font-weight:600;text-decoration:none}
.sub-list-item.tref-status-tile .tref-add-status-link:hover{color:#0f6bc8;text-decoration:underline}
.sub-list-item.tref-status-tile::after{content:'NEW';position:absolute;top:-6px;right:-6px;background:#4aa6ff;color:#fff;font-size:10px;font-weight:700;padding:1px 7px;border-radius:8px;letter-spacing:.5px}

/* TREF STORIES - prominent top pill next to Your subscription h2 */
.tref-add-status-top-pill{display:inline-flex;align-items:center;gap:8px;margin-left:16px;padding:6px 14px;font-size:14px;font-weight:600;color:#fff;background:#137df7;border-radius:20px;text-decoration:none;vertical-align:middle;box-shadow:0 2px 6px rgba(19,125,247,.3);transition:transform .15s ease,box-shadow .15s ease}
.tref-add-status-top-pill:hover{background:#0f6bc8;color:#fff;text-decoration:none;transform:translateY(-1px);box-shadow:0 4px 10px rgba(19,125,247,.4)}
.tref-add-status-top-pill i{font-size:12px}
.tref-add-status-top-pill .tref-pill-new{background:#fff;color:#137df7;font-size:10px;font-weight:700;padding:1px 6px;border-radius:8px;letter-spacing:.5px}
.tref-add-status-footer-btn:hover{background:#0f6bc8 !important;border-color:#0f6bc8 !important}

/* ── TREF STORIES v8: Ring badge, Viewer foot redesign, Replies, Composer brand ── */
/* Ring badge (view count) */
.tref-story-overlay{position:absolute;pointer-events:none;z-index:10}
.tref-ring-badge{position:absolute;bottom:-4px;right:-4px;background:#137df7;color:#fff;font-size:10px;font-weight:700;line-height:1;padding:2px 5px;border-radius:8px;min-width:18px;text-align:center;pointer-events:none;box-shadow:0 1px 4px rgba(0,0,0,.3)}

/* Viewer head actions (close + delete) */
.tref-viewer-head-actions{display:flex;align-items:center;gap:6px;margin-left:auto}
.tref-viewer-del-btn{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);border-radius:8px;color:#fff;font-size:16px;cursor:pointer;padding:4px 8px;transition:background .15s ease}
.tref-viewer-del-btn:hover{background:rgba(220,50,50,.7);border-color:rgba(220,50,50,.8)}

/* Viewer footer: top row (reactions + views) */
.tref-viewer-foot-top{display:flex;align-items:center;justify-content:space-between;padding:8px 14px 4px}
.tref-views-pill{display:flex;align-items:center;gap:5px;color:rgba(255,255,255,.85);font-size:13px;font-weight:600;background:rgba(0,0,0,.35);padding:4px 10px;border-radius:20px}

/* Replies panel */
.tref-replies-panel{padding:0 14px 6px;border-top:1px solid rgba(255,255,255,.12)}
.tref-replies-toggle{background:none;border:0;color:rgba(255,255,255,.9);font-size:13px;font-weight:600;cursor:pointer;padding:8px 0;width:100%;text-align:left;display:flex;align-items:center;gap:6px}
.tref-replies-toggle:hover{color:#fff}
.tref-toggle-arr{margin-left:auto;font-size:11px;opacity:.7}
.tref-replies-list{max-height:180px;overflow-y:auto;margin-bottom:8px}
.tref-no-replies{color:rgba(255,255,255,.5);font-size:12px;margin:4px 0 8px;text-align:center}
.tref-reply-item{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;padding:5px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.tref-reply-author{color:#fff;font-weight:600;font-size:12px;flex-shrink:0}
.tref-reply-text{color:rgba(255,255,255,.85);font-size:13px;flex:1;word-break:break-word}
.tref-reply-time{color:rgba(255,255,255,.4);font-size:11px;flex-shrink:0}
.tref-reply-del{background:none;border:0;color:rgba(255,100,100,.7);font-size:14px;cursor:pointer;padding:0 2px;line-height:1;flex-shrink:0}
.tref-reply-del:hover{color:#ff6464}

/* Reply form */
.tref-reply-form{display:flex;flex-direction:column;gap:6px;padding-top:4px}
.tref-reply-name{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;font-size:12px;padding:5px 10px;outline:none;width:100%;box-sizing:border-box}
.tref-reply-name::placeholder{color:rgba(255,255,255,.4)}
.tref-reply-row{display:flex;gap:6px;align-items:stretch}
.tref-reply-input{flex:1;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;font-size:13px;padding:7px 10px;outline:none;box-sizing:border-box}
.tref-reply-input::placeholder{color:rgba(255,255,255,.4)}
.tref-reply-input:focus,.tref-reply-name:focus{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.18)}
.tref-reply-submit{background:#137df7;border:0;border-radius:8px;color:#fff;font-size:13px;font-weight:600;padding:7px 14px;cursor:pointer;white-space:nowrap;transition:background .15s ease}
.tref-reply-submit:hover{background:#0f6bc8}

/* Composer brand header */
.tref-composer-brand{display:flex;align-items:center;gap:12px;padding:0 0 14px;border-bottom:1px solid #eef1f5;margin-bottom:4px}
.tref-composer-logo{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #eef1f5;flex-shrink:0}
.tref-composer-biz-info{display:flex;flex-direction:column;gap:2px}
.tref-composer-biz-name{font-size:15px;font-weight:700;color:#1a2332}
.tref-composer-biz-sub{font-size:12px;color:#8a96a8}

/* Character counter */
.tref-char-counter{font-size:11px;color:#aab4c0;text-align:right;margin-top:-6px;margin-bottom:4px}
.tref-char-counter .tref-char-used{font-weight:600}
.tref-char-counter.is-near{color:#e8a020}
.tref-char-counter.is-full{color:#e03c3c}

/* Owner stats row (reactions only now) */
.tref-stat-reacts{color:rgba(255,255,255,.7);font-size:12px;display:flex;gap:8px}


/* ──────────────────────────────────────────────────────────
   TREF Stories — Detail-page hero profile (Instagram-style)
   Always-clickable ring around the listing detail logo.
   ────────────────────────────────────────────────────────── */
.tref-story-overlay.is-detail {
    box-sizing: border-box;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity .15s ease;
    /* Reset circle shape — we use underlines instead */
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    animation: none !important;
}
.tref-story-overlay.is-detail.is-empty {
    /* No stories — hide entirely */
    display: none !important;
}
.tref-story-overlay.is-detail.is-empty:hover {
    display: none !important;
}
.tref-story-overlay.is-detail.has-story {
    /* Blue lines beneath the logo instead of a circle ring */
    border: none !important;
    box-shadow: none !important;
}
.tref-story-overlay.is-detail.has-story::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(
        to right,
        #137df7 0 30%, transparent 30% 35%,
        #137df7 35% 65%, transparent 65% 70%,
        #137df7 70% 100%
    );
}
.tref-story-overlay.is-detail.has-story:hover {
    opacity: .85;
}
.tref-story-overlay.is-detail.has-story.is-all-seen::after {
    /* Grey lines once all stories watched */
    background: linear-gradient(
        to right,
        #b0b8c1 0 30%, transparent 30% 35%,
        #b0b8c1 35% 65%, transparent 65% 70%,
        #b0b8c1 70% 100%
    );
}
/* Seen-state: grey ring once the user has watched all stories (like Instagram) */
.tref-story-overlay.has-story.is-all-seen {
    border-color: #b0b8c1 !important;
    box-shadow: 0 0 0 2px #fff inset !important;
    opacity: .65;
}
.tref-story-overlay.has-story.is-all-seen:hover {
    opacity: 1;
    transform: scale(1.04);
    box-shadow: 0 0 0 2px #fff inset, 0 0 8px rgba(176,184,193,.5) !important;
}
/* New/unread indicator pulse on the ring — draws the eye to unseen stories */
@keyframes tref-ring-pulse {
    0%,100% { box-shadow: 0 0 0 2px #fff inset, 0 0 8px rgba(74,166,255,.45); }
    50%      { box-shadow: 0 0 0 2px #fff inset, 0 0 14px rgba(74,166,255,.9); }
}
.tref-story-overlay.has-story:not(.is-all-seen) {
    animation: tref-ring-pulse 2.4s ease-in-out infinite;
}

/* Empty-state viewer (when user clicks profile but no stories exist) */
.tref-viewer.tref-viewer-empty .tref-empty-body {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 32px;
    flex: 1 1 auto;
    min-height: 0;
}
.tref-viewer.tref-viewer-empty .tref-empty-card {
    text-align: center;
    color: #fff;
    max-width: 320px;
}
.tref-viewer.tref-viewer-empty .tref-empty-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 18px;
    opacity: .85;
}
.tref-viewer.tref-viewer-empty .tref-empty-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #fff;
}
.tref-viewer.tref-viewer-empty .tref-empty-card p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .8);
}
.tref-viewer.tref-viewer-empty .tref-empty-hint {
    font-size: 12px !important;
    color: rgba(255, 255, 255, .55) !important;
    margin-top: 20px !important;
}
.tref-viewer.tref-viewer-empty .tref-empty-cta {
    appearance: none;
    border: none;
    background: linear-gradient(135deg, #137df7, #0f6bc8);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    margin-top: 8px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.tref-viewer.tref-viewer-empty .tref-empty-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(19, 125, 247, .45);
}

/* ══════════════════════════════════════════════════════════════
   TREF Stories — Sponsor Dashboard Panel  (v13)
   Professional management UI: active stories, replies, delete,
   older/expired stories in a collapsible accordion.
   ══════════════════════════════════════════════════════════════ */

/* Panel wrapper */
.tref-dash-panel {
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin: 24px 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Header bar */
.tref-dp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0f1c2e 0%, #1a3150 100%);
    color: #fff;
}
.tref-dp-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.25);
    flex-shrink: 0;
}
.tref-dp-title { flex: 1; min-width: 0; }
.tref-dp-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.tref-dp-biz {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tref-dp-header-stats {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.tref-dp-hstat {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 3px 9px;
    white-space: nowrap;
}
.tref-dp-hstat strong { color: #fff; font-weight: 700; }

/* Add Story button */
.tref-dp-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #137df7;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, transform .15s ease;
    flex-shrink: 0;
}
.tref-dp-add-btn:hover { background: #0f6bc8; transform: translateY(-1px); }
.tref-dp-plus { font-size: 16px; line-height: 1; font-weight: 400; }

/* Body */
.tref-dp-body { padding: 16px 20px; }

/* Section labels */
.tref-dp-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #8a96a8;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tref-dp-count {
    background: #137df7;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Story card list */
.tref-dp-card-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

/* Individual story card */
.tref-sc {
    display: flex;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fafbfc;
    transition: box-shadow .15s ease;
}
.tref-sc:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.tref-sc-expired { opacity: .65; }
.tref-sc-expired:hover { opacity: 1; }

/* Coloured left stripe (reflects story background) */
.tref-sc-stripe {
    width: 48px;
    min-height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tref-sc-kind { font-size: 18px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }

/* Card body */
.tref-sc-body { flex: 1; padding: 10px 14px; min-width: 0; }
.tref-sc-row1 { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 2px; }
.tref-sc-headline {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #1a2332;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tref-sc-del {
    background: none;
    border: 1px solid #f0d0d0;
    border-radius: 6px;
    color: #c0392b;
    font-size: 13px;
    cursor: pointer;
    padding: 1px 7px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .12s ease, color .12s ease;
}
.tref-sc-del:hover { background: #ffeaea; border-color: #c0392b; }

.tref-sc-sub { font-size: 12px; color: #6b7a8d; margin-bottom: 4px; }
.tref-sc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 8px; }
.tref-sc-time { font-size: 11px; color: #8a96a8; }
.tref-sc-ttl {
    font-size: 11px;
    color: #27ae60;
    font-weight: 600;
    background: #e9f7ef;
    border-radius: 10px;
    padding: 1px 7px;
}
.tref-sc-ttl.is-expired {
    color: #7f8c8d;
    background: #f0f0f0;
}
.tref-sc-views, .tref-sc-reactions { font-size: 12px; color: #5a6270; }
.tref-sc-rx { margin-right: 4px; }

/* Replies toggle */
.tref-sc-reply-toggle {
    background: none;
    border: 1px solid #dde3ec;
    border-radius: 6px;
    color: #5a6270;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 10px;
    transition: background .12s ease, border-color .12s ease;
}
.tref-sc-reply-toggle:hover { background: #f0f4ff; border-color: #137df7; color: #137df7; }
.tref-sc-arr { font-size: 10px; margin-left: 3px; }

/* Inline replies list */
.tref-sc-replies {
    margin-top: 8px;
    border-top: 1px solid #eef1f5;
    padding-top: 8px;
}
.tref-sc-no-replies { color: #aab4c0; font-size: 12px; margin: 0; }
.tref-sc-reply-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f4f6f8;
    font-size: 13px;
}
.tref-sc-reply-row:last-child { border-bottom: none; }
.tref-sc-reply-name { font-weight: 700; color: #1a2332; flex-shrink: 0; }
.tref-sc-reply-text { color: #4a5568; flex: 1; word-break: break-word; }
.tref-sc-reply-time { color: #aab4c0; font-size: 11px; flex-shrink: 0; }
.tref-sc-del-reply {
    background: none;
    border: none;
    color: rgba(200,50,50,.6);
    font-size: 15px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
}
.tref-sc-del-reply:hover { color: #c0392b; }

/* Older/expired accordion */
.tref-dp-older-wrap { margin-top: 4px; }
.tref-dp-older-toggle {
    background: none;
    border: 1px solid #dde3ec;
    border-radius: 8px;
    color: #6b7a8d;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 14px;
    width: 100%;
    text-align: left;
    transition: background .12s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tref-dp-older-toggle:hover { background: #f5f7fa; border-color: #b0b8c8; }
.tref-dp-older-arr { font-size: 11px; }
.tref-dp-older-list { padding-top: 12px; }

/* Empty state */
.tref-dp-empty {
    text-align: center;
    padding: 32px 20px;
    color: #6b7a8d;
}
.tref-dp-empty-icon { font-size: 36px; margin-bottom: 10px; }
.tref-dp-empty strong { display: block; font-size: 15px; color: #1a2332; margin-bottom: 6px; }
.tref-dp-empty p { font-size: 13px; margin: 0; }

/* Responsive: stack header on small screens */
@media (max-width: 600px) {
    .tref-dp-header { flex-wrap: wrap; }
    .tref-dp-header-stats { display: none; }
    .tref-dp-add-btn { width: 100%; justify-content: center; margin-top: 8px; }
}

/* ── Activity Feed (v15) ────────────────────────────────────── */
.tref-dp-activity {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 6px;
    background: #f4f6f9;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    overflow: hidden;
}
.tref-dp-act-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #f0f3f7;
    transition: background .12s;
}
.tref-dp-act-row:last-child { border-bottom: none; }
.tref-dp-act-row:hover { background: #f8faff; }
.tref-dp-act-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.tref-dp-act-body { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; }
.tref-dp-act-name { font-weight: 700; color: #1a2332; }
.tref-dp-act-text { color: #4a5568; font-style: italic; }
.tref-dp-act-on { font-size: 11px; color: #8a96a8; margin-top: 2px; }
.tref-dp-act-time {
    font-size: 11px;
    color: #aab4c0;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}

/* ── Engagement score badge ─────────────────────────────────── */
.tref-sc-eng {
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 4px;
}
.tref-sc-eng.is-hot  { background: #fff3e0; color: #e65100; }
.tref-sc-eng.is-good { background: #e8f5e9; color: #2e7d32; }

/* ── Reaction pills row ─────────────────────────────────────── */
.tref-sc-rx-row {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.tref-sc-rx-pill {
    font-size: 13px;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f0f3f7;
    color: #8a96a8;
    border: 1px solid transparent;
    transition: background .12s, border-color .12s;
}
.tref-sc-rx-pill.is-active {
    background: #fff8e1;
    border-color: #ffd54f;
    color: #5a4a00;
}
.tref-sc-rx-pill.is-active strong { font-weight: 700; color: #333; }

/* ── Last reply preview ─────────────────────────────────────── */
.tref-sc-last-reply {
    font-size: 12px;
    color: #5a6270;
    background: #f5f7fa;
    border-left: 3px solid #137df7;
    border-radius: 0 6px 6px 0;
    padding: 5px 10px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tref-sc-last-reply strong { color: #1a2332; }

/* ── v19: Public viewer like + reply form ── */
.tref-vf-bar{display:flex;align-items:center;gap:10px;padding:0 2px}
.tref-like-btn,.tref-reply-open-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border:1.5px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(255,255,255,.12);backdrop-filter:blur(6px);color:#fff;font:600 14px/1 system-ui,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,transform .15s;user-select:none}
.tref-like-btn:hover,.tref-reply-open-btn:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.7)}
.tref-like-btn.is-liked{background:rgba(220,38,38,.65);border-color:#f87171;color:#fff}
.tref-like-btn.is-pop,.tref-reply-open-btn.is-pop{transform:scale(1.22)}
.tref-like-icon{font-size:16px;line-height:1;transition:transform .2s}
.tref-like-btn.is-liked .tref-like-icon{transform:scale(1.25)}
.tref-vf-form{background:rgba(0,0,0,.68);backdrop-filter:blur(10px);border-radius:12px;padding:12px 14px 10px;margin-top:4px}
.tref-vf-fields{display:flex;gap:8px;margin-bottom:8px}
.tref-vf-name,.tref-vf-email{flex:1;min-width:0;padding:8px 10px;border:1.5px solid rgba(255,255,255,.25);border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font:400 13px/1 system-ui,sans-serif;outline:none;transition:border-color .2s}
.tref-vf-name::placeholder,.tref-vf-email::placeholder{color:rgba(255,255,255,.5)}
.tref-vf-name:focus,.tref-vf-email:focus{border-color:rgba(255,255,255,.7)}
.tref-vf-name.tref-vf-err,.tref-vf-email.tref-vf-err,.tref-vf-text.tref-vf-err{border-color:#f87171;animation:tref-shake .3s}
.tref-vf-msg-row{display:flex;gap:8px;align-items:flex-end}
.tref-vf-text{flex:1;padding:8px 10px;border:1.5px solid rgba(255,255,255,.25);border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font:400 13px/1.4 system-ui,sans-serif;resize:none;outline:none;transition:border-color .2s}
.tref-vf-text::placeholder{color:rgba(255,255,255,.5)}
.tref-vf-text:focus{border-color:rgba(255,255,255,.7)}
.tref-vf-submit{padding:8px 14px;border:none;border-radius:8px;background:#137df7;color:#fff;font:600 13px/1 system-ui,sans-serif;cursor:pointer;white-space:nowrap;transition:background .2s,transform .15s}
.tref-vf-submit:hover{background:#0f6bc8;transform:scale(1.04)}
.tref-vf-confirm{margin-top:8px;padding:6px 10px;border-radius:6px;background:rgba(22,163,74,.4);color:#bbf7d0;font:500 13px/1.3 system-ui,sans-serif;text-align:center}
@keyframes tref-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}

/* dashboard email tags */
.tref-sc-reply-email{display:inline-block;font:400 11px/1 system-ui,sans-serif;color:#60a5fa;background:rgba(96,165,250,.1);border-radius:4px;padding:1px 5px;margin:0 4px}
.tref-dp-act-email{display:inline-block;font:400 11px/1 system-ui,sans-serif;color:#60a5fa;margin-left:4px}

/* ── v20: Dashboard redesign ── */
/* Stat tiles */
.tref-dp-stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px 16px;background:#f8faff;border-bottom:1px solid #e9eef6}
.tref-dp-stat-tile{display:flex;flex-direction:column;align-items:center;padding:10px 6px;border-radius:10px;background:#fff;border:1.5px solid #e9eef6;gap:4px;transition:border-color .2s}
.tref-dp-stat-tile.is-live{border-color:#22c55e;background:#f0fdf4}
.tref-dp-stat-tile.is-likes{border-color:#f87171;background:#fff7f7}
.tref-dp-stat-tile.is-replies{border-color:#60a5fa;background:#f0f8ff}
.tref-dp-stat-val{font:700 22px/1 system-ui,sans-serif;color:#111}
.tref-dp-stat-tile.is-live .tref-dp-stat-val{color:#16a34a}
.tref-dp-stat-tile.is-likes .tref-dp-stat-val{color:#dc2626}
.tref-dp-stat-tile.is-replies .tref-dp-stat-val{color:#2563eb}
.tref-dp-stat-lbl{font:500 11px/1 system-ui,sans-serif;color:#6b7280;text-align:center}

/* Header: logo placeholder + add button */
.tref-dp-logo-ph{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#137df7,#0f6bc8);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.tref-dp-add-btn{margin-left:auto;padding:8px 16px;border:none;border-radius:999px;background:#137df7;color:#fff;font:600 13px/1 system-ui,sans-serif;cursor:pointer;white-space:nowrap;transition:background .2s}
.tref-dp-add-btn:hover{background:#0f6bc8}

/* Section label with inline button */
.tref-dp-section-label{display:flex;align-items:center;gap:8px;font:600 12px/1 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.07em;color:#6b7280;padding:12px 0 6px}
.tref-inbox-label{border-top:1px solid #e9eef6;padding-top:16px;margin-top:8px}
.tref-inbox-csv-btn{margin-left:auto;padding:4px 10px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font:500 11px/1 system-ui,sans-serif;color:#374151;cursor:pointer;transition:background .15s}
.tref-inbox-csv-btn:hover{background:#f3f4f6}

/* Story card: TTL progress row */
.tref-sc-prog-row{display:flex;align-items:center;gap:8px;margin:6px 0 4px}
.tref-sc-ttl-txt{font:500 12px/1 system-ui,sans-serif;color:#374151;white-space:nowrap;min-width:60px}
.tref-sc-ttl-txt.is-expired{color:#9ca3af}
.tref-sc-urgent{font:600 11px/1 system-ui,sans-serif;color:#dc2626;background:#fee2e2;padding:2px 7px;border-radius:999px;white-space:nowrap}
.tref-sc-prog-track{flex:1;height:5px;border-radius:999px;background:#e5e7eb;overflow:hidden}
.tref-sc-prog-fill{height:100%;border-radius:999px;transition:width .4s ease}

/* Story card: stats row */
.tref-sc-stats-row{display:flex;align-items:center;gap:10px;margin:4px 0 6px;flex-wrap:wrap}
.tref-sc-stat{font:500 12px/1 system-ui,sans-serif;color:#6b7280}
.tref-sc-stat.is-active{color:#111;font-weight:600}
.tref-sc-created{margin-left:auto;font:400 11px/1 system-ui,sans-serif;color:#9ca3af}

/* Story card: row1 right-side layout */
.tref-sc-row1{display:flex;align-items:flex-start;gap:6px;justify-content:space-between}
.tref-sc-row1-right{display:flex;align-items:center;gap:4px;flex-shrink:0}

/* Story card: reply toggle empty state */
.tref-sc-reply-toggle.is-empty{color:#9ca3af;cursor:default}

/* Story card: expanded reply rows */
.tref-sc-replies{margin-top:6px;border-top:1px solid #f0f0f0;padding-top:6px}
.tref-sc-reply-row{padding:8px 0;border-bottom:1px solid #f5f5f5}
.tref-sc-reply-row:last-child{border-bottom:none}
.tref-sc-reply-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:3px}
.tref-sc-reply-name{font:600 12px/1 system-ui,sans-serif;color:#111}
.tref-sc-reply-email{font:400 11px/1 system-ui,sans-serif;color:#60a5fa;background:rgba(96,165,250,.1);border-radius:4px;padding:1px 5px;text-decoration:none}
.tref-sc-reply-email:hover{text-decoration:underline}
.tref-sc-reply-time{font:400 11px/1 system-ui,sans-serif;color:#9ca3af;margin-left:auto}
.tref-sc-del-reply{padding:1px 7px;border:1px solid #fca5a5;border-radius:4px;background:#fff;color:#ef4444;font:500 11px/1 system-ui,sans-serif;cursor:pointer}
.tref-sc-reply-body{font:400 13px/1.45 system-ui,sans-serif;color:#374151;padding:0 2px}

/* Replies Inbox list */
.tref-inbox-list{border:1px solid #e9eef6;border-radius:10px;overflow:hidden;margin-bottom:12px}
.tref-inbox-row{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-bottom:1px solid #f0f4fa;background:#fff;transition:background .15s}
.tref-inbox-row:last-child{border-bottom:none}
.tref-inbox-row:hover{background:#f8faff}
.tref-inbox-av{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#137df7,#6366f1);color:#fff;font:700 14px/36px system-ui,sans-serif;text-align:center;flex-shrink:0}
.tref-inbox-content{flex:1;min-width:0}
.tref-inbox-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.tref-inbox-name{font:600 13px/1 system-ui,sans-serif;color:#111}
.tref-inbox-email{font:400 11px/1 system-ui,sans-serif;color:#2563eb;text-decoration:none}
.tref-inbox-email:hover{text-decoration:underline}
.tref-inbox-no-email{font:400 11px/1 system-ui,sans-serif;color:#9ca3af;font-style:italic}
.tref-inbox-time{font:400 11px/1 system-ui,sans-serif;color:#9ca3af;margin-left:auto}
.tref-inbox-msg{font:400 13px/1.5 system-ui,sans-serif;color:#374151;margin-bottom:3px;word-break:break-word}
.tref-inbox-re{font:400 11px/1 system-ui,sans-serif;color:#6b7280;font-style:italic}
.tref-inbox-del{flex-shrink:0;align-self:flex-start;margin-top:2px;padding:3px 8px;border:1px solid #fca5a5;border-radius:6px;background:#fff;color:#ef4444;font:500 12px/1 system-ui,sans-serif;cursor:pointer;transition:background .15s}
.tref-inbox-del:hover{background:#fee2e2}

/* Expired section header */
.tref-dp-older-header{display:flex;align-items:center;gap:10px;padding:10px 0 6px;border-top:1px solid #e9eef6;margin-top:8px}
.tref-dp-older-toggle{background:none;border:none;font:500 13px/1 system-ui,sans-serif;color:#374151;cursor:pointer;padding:4px 0;display:flex;align-items:center;gap:5px}
.tref-dp-clear-expired{margin-left:auto;padding:4px 10px;border:1px solid #fca5a5;border-radius:6px;background:#fff;color:#ef4444;font:500 11px/1 system-ui,sans-serif;cursor:pointer;transition:background .15s}
.tref-dp-clear-expired:hover{background:#fee2e2}

/* ── v21: Status toolbar + modal sheet ── */
.tref-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fff;border:1.5px solid #e2e7ef;border-radius:12px;margin-bottom:16px;flex-wrap:wrap;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.tref-tb-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tref-tb-bolt{font-size:20px;line-height:1}
.tref-tb-label{font:700 14px/1 system-ui,sans-serif;color:#111;margin-right:2px}
.tref-tb-chips{display:flex;gap:6px;flex-wrap:wrap}
.tref-tb-chip{font:500 12px/1 system-ui,sans-serif;color:#6b7280;background:#f3f4f6;padding:4px 9px;border-radius:999px;white-space:nowrap}
.tref-tb-chip.is-live{background:#dcfce7;color:#16a34a;font-weight:700}
.tref-tb-chip.is-likes{background:#fee2e2;color:#dc2626;font-weight:700}
.tref-tb-chip.is-replies{background:#dbeafe;color:#2563eb;font-weight:700}
.tref-tb-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.tref-tb-report{padding:7px 14px;border:1.5px solid #e2e7ef;border-radius:999px;background:#fff;color:#374151;font:600 13px/1 system-ui,sans-serif;cursor:pointer;transition:border-color .2s,color .2s}
.tref-tb-report:hover{border-color:#137df7;color:#137df7}
.tref-tb-add{display:inline-flex;align-items:center;gap:5px;padding:7px 16px;border:none;border-radius:999px;background:#137df7;color:#fff;font:600 13px/1 system-ui,sans-serif;cursor:pointer;transition:background .2s}
.tref-tb-add:hover{background:#0f6bc8}

/* Modal overlay */
.tref-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.48);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:19999;display:flex;align-items:flex-end;justify-content:center;padding:24px 12px 0;box-sizing:border-box}
.tref-modal-overlay[hidden]{display:none!important}
.tref-modal-sheet{position:relative;width:100%;max-width:780px;max-height:88vh;overflow-y:auto;background:#f5f7fb;border-radius:18px 18px 0 0;box-shadow:0 -6px 40px rgba(0,0,0,.18);animation:tref-sheet-up .24s cubic-bezier(.25,.8,.25,1);overscroll-behavior:contain}
.tref-modal-handle{width:40px;height:4px;background:#d1d5db;border-radius:2px;margin:12px auto 0}
.tref-modal-close{position:absolute;top:10px;right:12px;width:30px;height:30px;border:none;border-radius:50%;background:rgba(0,0,0,.08);color:#374151;font:600 17px/30px system-ui,sans-serif;text-align:center;cursor:pointer;transition:background .15s;z-index:2}
.tref-modal-close:hover{background:rgba(0,0,0,.18)}
@keyframes tref-sheet-up{from{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}
body.tref-modal-open{overflow:hidden}

/* Dashboard panel inside modal: remove outer border/radius since modal handles it */
.tref-modal-sheet .tref-dash-panel{border:none;border-radius:0;box-shadow:none;background:transparent;padding-top:8px}

/* ── v21b: FAB → Status Report ── */
.tref-fab-icon{font-size:16px;line-height:1}

/* ── v24: composer textarea ── */
.tref-textarea{resize:vertical;min-height:68px;line-height:1.5;font-family:inherit}

/* ── v27: story card mini-preview ── */
.tref-sc-preview{width:72px;flex-shrink:0;overflow:hidden;position:relative;min-height:110px;align-self:stretch}
.tref-sc-preview-inner{position:absolute;top:0;left:0;width:240px;height:360px;transform:scale(0.3);transform-origin:top left;pointer-events:none}

/* ── v29: story link button in viewer footer ── */
.tref-vf-link-btn{display:inline-flex;align-items:center;gap:5px;padding:7px 14px;border:1px solid #137df7;border-radius:999px;background:#fff;color:#137df7;font:600 13px/1 system-ui,sans-serif;cursor:pointer;transition:background .15s,color .15s}
.tref-vf-link-btn:hover{background:#137df7;color:#fff}
.tref-link-input{margin-top:8px}

/* ── v30: CTA link clickable above tap zones ── */
.tref-viewer-body{pointer-events:none;z-index:3;position:absolute}
.tref-viewer-body .tref-slide-cta,.tref-viewer-body .tref-slide-cta-img{pointer-events:auto;cursor:pointer;position:relative;z-index:10}
