/* ── TripAdvisor Plugin — Tusigno Theme (white/black + #f66313 accent) ── */

.ta-full-box { margin: 2rem 0; }

/* Shared box styles */
.ta-places-box,
.ta-reviews-box,
.ta-photos-box,
.ta-destination-card {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    font-family: Inter, Roboto, -apple-system, sans-serif;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

/* Box header — white background, dark text, orange accent left border */
.ta-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-bottom: 2px solid #f66313;
    padding: 14px 18px;
}
.ta-box-icon { font-size: 1.2rem; }
.ta-box-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #020425 !important;
    flex: 1;
    font-family: Inter, sans-serif;
}
.ta-tripadvisor-logo {
    font-size: 0.68rem;
    background: #f66313;
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Destination card */
.ta-destination-card { padding: 0; }
.ta-dest-header {
    padding: 18px 18px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.ta-dest-name {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: #020425;
    font-weight: 700;
}
.ta-dest-addr {
    margin: 4px 0 0;
    color: #888;
    font-size: 0.83rem;
}
.ta-dest-desc {
    padding: 12px 18px;
    color: #3d4145;
    font-size: 0.91rem;
    line-height: 1.65;
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
}

/* Places list */
.ta-places-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ta-place-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 13px 18px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.12s;
}
.ta-place-item:last-child { border-bottom: none; }
.ta-place-item:hover { background: #fafafa; }
.ta-place-num {
    background: #f66313;
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.ta-place-info { flex: 1; }
.ta-place-name {
    font-weight: 600;
    color: #020425;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 3px;
}
.ta-place-name:hover { color: #f66313; text-decoration: underline; }
.ta-place-rating { margin: 3px 0; }
.ta-place-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.79rem;
    color: #999;
    margin-top: 3px;
}
.ta-price { color: #2d7a2d; font-weight: 600; }
.ta-rank { color: #f66313; }

/* Stars */
.ta-stars { display: inline-flex; align-items: center; gap: 1px; }
.ta-star-full  { color: #f66313; }
.ta-star-half  { color: #f66313; }
.ta-star-empty { color: #ddd; }
.ta-rating-num {
    font-weight: 700;
    color: #020425;
    font-size: 0.88rem;
    margin-left: 4px;
}
.ta-review-count { color: #aaa; font-size: 0.8rem; margin-left: 4px; }

/* Reviews */
.ta-reviews-list { padding: 0 18px; }
.ta-review-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.ta-review-item:last-child { border-bottom: none; }
.ta-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 7px;
    flex-wrap: wrap;
    gap: 7px;
}
.ta-review-user { display: flex; align-items: center; gap: 7px; font-size: 0.88rem; color: #020425; }
.ta-user-avatar { font-size: 1rem; }
.ta-trip-type {
    background: #fff5f0;
    color: #f66313;
    border: 1px solid #ffd9c0;
    font-size: 0.73rem;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 500;
}
.ta-review-right { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ta-review-date { font-size: 0.78rem; color: #bbb; }
.ta-review-title {
    font-weight: 600;
    color: #020425;
    margin: 0 0 5px;
    font-size: 0.92rem;
}
.ta-review-text { color: #3d4145; font-size: 0.88rem; line-height: 1.6; margin: 0 0 5px; }
.ta-review-link { font-size: 0.78rem; color: #f66313; text-decoration: none; }
.ta-review-link:hover { text-decoration: underline; }

/* Photos grid */
.ta-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 3px;
}
@media (max-width: 600px) {
    .ta-photos-grid { grid-template-columns: repeat(2, 1fr); }
}
.ta-photo-item { display: block; overflow: hidden; aspect-ratio: 4/3; }
.ta-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}
.ta-photo-item:hover img { transform: scale(1.04); }
.ta-photos-credit {
    text-align: center;
    font-size: 0.73rem;
    color: #ccc;
    padding: 6px;
    margin: 0;
}

/* Footer / buttons */
.ta-footer {
    padding: 11px 18px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}
.ta-more-link {
    color: #f66313;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
}
.ta-more-link:hover { text-decoration: underline; }

.ta-btn {
    display: inline-block;
    margin: 12px 18px 15px;
    background: #f66313;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s;
}
.ta-btn:hover { background: #d95510; }

.ta-error { color: #bbb; font-size: 0.83rem; font-style: italic; }

/* Divider between full box sections */
.ta-full-box .ta-places-box,
.ta-full-box .ta-reviews-box,
.ta-full-box .ta-photos-box,
.ta-full-box .ta-destination-card {
    margin: 0.75rem 0;
}
