/* Theme Name: Places Thailand
Theme URI: https://places-th.com
Description: Classic custom theme for Places Thailand.
Version: 1.0
Author: Antigravity AI
Text Domain: places-th
*/

/* Canonical Base Background — Nomad Sand Warm Beige & Typography */
html, body {
    background-color: #F8F6F0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0F172A;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

/* Footer Trust Seals */
.footer-bottom ul.footer-trust-seals {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-bottom ul.footer-trust-seals {
        justify-content: center;
        margin-top: 16px;
    }
}

.trust-seal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    color: #9CA3AF;
    transition: opacity 0.2s ease-in-out;
    opacity: 0.7;
}

.trust-seal:hover {
    opacity: 1.0;
}

.trust-seal__text {
    /* Required wrapper, styles inherited from .trust-seal */
}

/* Footer Brand Tagline & Canonical Score (TASK-SITE-FOOTER-BRANDING-SYNC-01) */
.footer-brand__tagline {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 16px;
    color: #94a3b8;
}

.footer-brand__tagline .whitespace-nowrap {
    white-space: nowrap;
}

.footer-brand__tagline .font-medium {
    font-weight: 500;
}

.footer-brand__tagline .text-white {
    color: #ffffff;
}

/* Footer UI Fixes: Geo Anchor & Socials */
.site-footer .footer-geo-anchor {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9CA3AF;
    font-size: 14px;
}

/* Footer Coverage Row (TASK-SITE-FOOTER-BRANDING-SYNC-01) */
.site-footer .footer-coverage {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    margin-top: 12px !important;
}

.site-footer .footer-coverage__icon,
.site-footer .footer-coverage svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    color: #10b981 !important;
    stroke: #10b981 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.site-footer .footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    align-items: center;
}

.site-footer .footer-socials a,
.site-footer .footer-socials a:link,
.site-footer .footer-socials a:visited,
.site-footer .footer-socials a:active {
    color: #9CA3AF !important;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border: none;
    outline: none;
    box-shadow: none;
}

.site-footer .footer-socials a:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: #9CA3AF !important;
    text-decoration: none !important;
}

.site-footer .footer-socials a svg {
    display: block;
}

/* FOUC Prevention for Smart Route Sticky Bar (TASK-B2C-GUIDES-STICKY-BAR) */
.b2c-sticky-bar {
    transform: translate(-50%, 100%);
    visibility: hidden;
    pointer-events: none;
}

/* Footer Navigation Styles (TASK-FOOTER-DIRECTORY-REFACTOR) */
.footer-links nav ul, .footer-legal nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    line-height: 2.2;
}
.footer-links nav a, .footer-legal nav a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links nav a:hover, .footer-legal nav a:hover {
    color: #FFFFFF;
}

/* ── Global Breadcrumbs Component (Nomad Precision Fail-Safe) ──────────────── */
.places-breadcrumb {
    padding: 6px 0;
    margin: 0;
    max-width: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.5;
}

.places-breadcrumb__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.places-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    list-style: none !important;
}

.places-breadcrumb__link {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.places-breadcrumb__link:hover {
    color: #10b981;
    text-decoration: underline;
}

.places-breadcrumb__separator {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.places-breadcrumb__current {
    color: #64748b;
    font-weight: 600;
}

