/* Existing homepage header primitives only. No article/body styles change.
   Responsive sizes come from the same thailand-compass-header.css as home. */
.tc-header {
    --tc-ink: #071a3d;
    --tc-teal: #009487;
    --tc-teal-dark: #00776e;
    --tc-line: #dbe6ec;
    --tc-shadow: 0 12px 30px rgba(7, 39, 72, .12);
    color: var(--tc-ink);
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
}
.tc-header, .tc-header *, .tc-header *::before, .tc-header *::after { box-sizing: border-box; }
.tc-header .tc-shell { margin-inline: auto; }
.tc-header a { color: inherit; text-decoration: none; font-family: inherit; line-height: inherit; }
.tc-header button { font: inherit; cursor: pointer; }
.tc-header img { display: block; max-width: 100%; border: 0; }
.tc-header .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.tc-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e6edf1;
}

.tc-header .tc-header__inner{
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 70px;
    gap: 18px;
}

.tc-header .tc-brand{
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.tc-header .tc-brand__logo{
    display: block;
    width: 142px;
    height: 52px;
    overflow: hidden;
}

.tc-header .tc-brand__logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tc-header .tc-brand__byline{
    padding-left: 10px;
    color: #607181;
    border-left: 1px solid #ccd7dd;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.tc-header .tc-nav{
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    gap: clamp(10px, 1.1vw, 20px);
}

.tc-header .tc-nav a{
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 70px;
    color: #24364c;
    font-size: clamp(10px, .82vw, 13px);
    font-weight: 800;
    white-space: nowrap;
}

.tc-header .tc-nav a::after{
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    height: 3px;
    content: '';
    background: var(--tc-teal);
    border-radius: 3px;
    transform: scaleX(0);
    transition: transform .16s ease;
}

.tc-header .tc-nav a:hover::after,
.tc-header .tc-nav a:focus::after,
.tc-header .tc-nav a.is-active::after{
    transform: scaleX(1);
}

.tc-header .tc-header__actions{
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-header .tc-icon-link{
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--tc-ink);
    border-radius: 50%;
}

.tc-header .tc-saved-link,
.tc-header .tc-account-link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2d4055;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.tc-header .tc-menu-button{
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--tc-ink);
    background: #fff;
    border: 1px solid var(--tc-line);
    border-radius: 10px;
}

/* Buttons */
.tc-header .tc-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    gap: 7px;
    color: #fff;
    background: var(--tc-teal);
    border: 0;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.tc-header .tc-button:hover,
.tc-header .tc-button:focus{
    color: #fff;
    background: var(--tc-teal-dark);
    box-shadow: 0 8px 20px rgba(0, 148, 135, .24);
    transform: translateY(-1px);
}

.tc-header .tc-button--outline{
    color: var(--tc-ink);
    background: #fff;
    border: 1px solid #bfd0d9;
}

.tc-header .tc-button--outline:hover,
.tc-header .tc-button--outline:focus{
    color: var(--tc-ink);
    background: #f5fbfc;
}

.tc-header .tc-header__cta{
    min-height: 40px;
    padding: 9px 18px;
}


.tc-header .tc-icon-link, .tc-header .tc-saved-link, .tc-header .tc-account-link { color: inherit; }
