.tr-public-main {
    padding: clamp(32px, 5vw, 68px) 0;
    background: #f8fafc;
}

.tr-public-container {
    width: min(calc(100% - 28px), 1240px);
    margin-inline: auto;
}

.tr-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 13px;
}

.tr-breadcrumbs a {
    color: #0b315f;
    text-decoration: none;
}

.tr-place-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr);
    gap: 28px;
    align-items: stretch;
}

.tr-place-hero-copy,
.tr-place-cover,
.tr-place-content-card,
.tr-info-card {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(11, 49, 95, .06);
}

.tr-place-hero-copy {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 56px);
    background:
        radial-gradient(circle at 10% 90%, rgba(239, 51, 79, .08), transparent 24rem),
        #fff;
}

.tr-place-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tr-place-category-label,
.tr-place-official-badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.tr-place-category-label {
    color: #9f1239;
    background: #ffe4e6;
}

.tr-place-official-badge {
    color: #166534;
    background: #dcfce7;
}

.tr-place-hero h1 {
    margin: 18px 0 12px;
    color: #0b315f;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.2;
}

.tr-place-location-line,
.tr-place-address-line {
    margin: 0 0 7px;
    color: #64748b;
}

.tr-place-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.tr-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.tr-action-primary {
    color: #fff !important;
    background: #0b315f;
}

.tr-action-whatsapp {
    color: #fff !important;
    background: #16803d;
}

.tr-action-light {
    color: #0b315f !important;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.tr-place-cover {
    min-height: 390px;
    overflow: hidden;
}

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

.tr-place-cover-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 390px;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: #0b315f;
    background: linear-gradient(135deg, rgba(11,49,95,.07), rgba(239,51,79,.07));
}

.tr-place-cover-fallback span {
    font-size: 96px;
    font-weight: 900;
}

.tr-place-cover-fallback small {
    color: #64748b;
}

.tr-place-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    margin-top: 22px;
    align-items: start;
}

.tr-place-content-card,
.tr-info-card {
    padding: clamp(22px, 3vw, 34px);
}

.tr-place-content-card > h2,
.tr-place-section h2,
.tr-info-card h2 {
    margin: 0 0 14px;
    color: #0b315f;
    font-size: 22px;
    font-weight: 900;
}

.tr-place-content {
    color: #334155;
    line-height: 1.95;
}

.tr-place-section {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid #e2e8f0;
}

.tr-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tr-service-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    color: #0b315f;
    background: #eff6ff;
    font-size: 13px;
    font-weight: 700;
}

.tr-place-sidebar {
    display: grid;
    gap: 16px;
}

.tr-info-row {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.tr-info-row:last-child {
    border-bottom: 0;
}

.tr-info-row span {
    color: #64748b;
    font-size: 12px;
}

.tr-info-row a,
.tr-info-row strong {
    color: #0b315f;
    overflow-wrap: anywhere;
}

.tr-info-note {
    color: #64748b;
    font-size: 13px;
}

.tr-social-links {
    display: grid;
    gap: 8px;
}

.tr-social-links a,
.tr-data-card > a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0b315f !important;
    background: #fff;
    font-weight: 700;
    text-decoration: none !important;
}

.tr-data-card {
    background: #fffbeb;
}

.tr-data-card p {
    margin-bottom: 8px;
    color: #7c2d12;
}

.tr-data-card small {
    display: block;
    margin-bottom: 14px;
    color: #92400e;
}

@media (max-width: 900px) {
    .tr-place-hero,
    .tr-place-layout {
        grid-template-columns: 1fr;
    }

    .tr-place-cover,
    .tr-place-cover-fallback {
        min-height: 310px;
    }

    .tr-place-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tr-place-hero-copy {
        min-height: auto;
    }

    .tr-place-primary-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tr-place-sidebar {
        grid-template-columns: 1fr;
    }
}

.tr-social-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tr-social-icon {
    display: inline-grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    color: #0b315f !important;
    background: #fff;
    text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, color .16s ease;
}

.tr-social-icon:hover,
.tr-social-icon:focus-visible {
    color: #ef334f !important;
    box-shadow: 0 10px 24px rgba(11, 49, 95, .10);
    transform: translateY(-2px);
}

.tr-social-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tr-social-icon-facebook svg,
.tr-social-icon-tiktok svg {
    fill: currentColor;
    stroke: none;
}


.tr-place-claimed-badge {
    padding: 6px 10px;
    border-radius: 999px;
    color: #0b315f;
    background: #dbeafe;
    font-size: 12px;
    font-weight: 800;
}

.tr-claim-owner-card {
    background:
        radial-gradient(circle at 10% 90%, rgba(239, 51, 79, .10), transparent 16rem),
        #fff;
}

.tr-claim-owner-card p {
    margin: 0 0 14px;
    color: #64748b;
}

.tr-claim-owner-card > a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 11px;
    color: #fff !important;
    background: #0b315f;
    font-weight: 900;
    text-decoration: none !important;
}

.tr-claim-owner-card > a:hover {
    background: #ef334f;
}

.tr-claim-owner-card-verified {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.tr-claim-owner-card-verified h2,
.tr-claim-owner-card-verified p {
    color: inherit;
}


.tr-place-title-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.tr-place-title-row h1{flex:1;min-width:220px}.tr-place-official-logo{width:82px;height:82px;object-fit:contain;padding:8px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.tr-place-gallery{margin-top:28px}.tr-place-gallery-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.tr-place-gallery-heading h2{margin:0}.tr-place-gallery-heading span{color:#64748b;font-size:12px}.tr-place-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tr-place-gallery-grid a{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:15px;background:#eef3f7}.tr-place-gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .17s ease}.tr-place-gallery-grid a:hover img{transform:scale(1.035)}@media(max-width:680px){.tr-place-official-logo{width:64px;height:64px}.tr-place-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== v1.2.0 logo-only place profile ===== */
.tr-logo-only-place .tr-place-logo-hero {
    display: grid;
    grid-template-columns: minmax(250px,.62fr) minmax(0,1.38fr);
    gap: clamp(25px,5vw,64px);
    align-items: center;
    padding: clamp(26px,5vw,52px);
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 10%,rgba(239,51,79,.09),transparent 24rem),
        linear-gradient(145deg,#fff,#f5f8fc);
    box-shadow: 0 20px 56px rgba(11,49,95,.08);
}

.tr-place-logo-panel {
    display: grid;
    min-height: 285px;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(11,49,95,.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 15%,rgba(239,51,79,.13),transparent 13rem),
        radial-gradient(circle at 10% 90%,rgba(46,139,60,.09),transparent 12rem),
        #fff;
}

.tr-place-logo-panel img {
    display: block;
    width: min(100%,320px);
    max-height: 205px;
    object-fit: contain;
    filter: drop-shadow(0 13px 22px rgba(11,49,95,.1));
}

.tr-place-logo-panel > span {
    display: grid;
    width: 145px;
    height: 145px;
    place-items: center;
    border: 1px solid rgba(11,49,95,.1);
    border-radius: 42px;
    color: #0b315f;
    background: #fff;
    box-shadow: 0 17px 37px rgba(11,49,95,.1);
    font-size: 55px;
    font-weight: 900;
}

.tr-place-logo-panel small { color:#64748b;font-size:11px;font-weight:800; }
.tr-logo-only-place .tr-place-cover { display:none !important; }
.tr-logo-only-place .tr-place-title-row h1 { font-size:clamp(34px,5vw,62px); }
.tr-logo-only-place .tr-place-primary-actions { margin-top:22px; }

.tr-place-section-heading > span {
    color:#ef334f;
    font-size:12px;
    font-weight:900;
}
.tr-place-section-heading h2 { margin:4px 0 17px; }

.tr-place-location-ready {
    display:grid;
    gap:4px;
    margin-top:24px;
    padding:16px;
    border:1px solid #bbf7d0;
    border-radius:14px;
    color:#166534;
    background:#f0fdf4;
}

@media(max-width:860px) {
    .tr-logo-only-place .tr-place-logo-hero { grid-template-columns:1fr; }
    .tr-place-logo-panel { min-height:220px; }
}


/* ===== v1.3.0 family trust presentation ===== */
.tr-place-family-recommended {
    padding: 6px 10px;
    border-radius: 999px;
    color: #166534;
    background: #dcfce7;
    font-size: 12px;
    font-weight: 900;
}

.tr-place-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tr-place-rating-pill,
.tr-place-trust-pill {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #0b315f;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
}

.tr-place-rating-pill b {
    font-size: 15px;
}

.tr-place-rating-pill i {
    color: #f59e0b;
    font-style: normal;
}

.tr-place-rating-pill small {
    color: #64748b;
}

.tr-place-trust-pill {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

/* Old coordinate promotional card is retired. */
.tr-place-location-ready {
    display: none !important;
}


/* ===== v1.5.0 title actions and comparison ===== */
.tr-place-title-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tr-place-title-actions .tr-compare-button {
    min-height: 43px;
}

@media (max-width: 620px) {
    .tr-place-title-row {
        align-items: flex-start;
    }

    .tr-place-title-actions {
        width: 100%;
    }

    .tr-place-title-actions > * {
        flex: 1 1 auto;
    }
}
