/* Header refinement: spacious type and the original SALERVICE partner logo.
   Keep these rules scoped to the header so homepage sections stay unchanged. */
.tc-header .tc-header__inner {
    width: calc(100% - clamp(32px, 4vw, 80px));
    max-width: 1920px;
    min-height: 100px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(24px, 2vw, 40px);
}

.tc-header .tc-brand { gap: 14px; flex-shrink: 0; }
.tc-header .tc-brand__logo { width: 176px; height: 68px; flex-shrink: 0; }
.tc-header .tc-brand__byline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0 7px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #42556b;
    line-height: 1;
}
.tc-header .tc-brand__byline img { width: 128px; height: auto; flex-shrink: 0; }

.tc-header .tc-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
}
.tc-header .tc-nav a {
    min-height: 78px;
    padding: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
}
.tc-header .tc-nav a::after { bottom: 9px; height: 3px; }
.tc-header .tc-nav a:hover,
.tc-header .tc-nav a.is-active { color: #007e74; }

.tc-header .tc-header__actions { display: flex; gap: 16px; }
.tc-header .tc-icon-link { width: 40px; height: 44px; font-size: 21px; }
.tc-header .tc-saved-link { min-height: 44px; gap: 8px; font-size: 14px; }
.tc-header .tc-saved-link span { display: inline; }
.tc-header .tc-saved-link i { font-size: 17px; }
.tc-header .tc-account-link { display: none; }
.tc-header .tc-header__cta {
    min-height: 46px;
    padding: 11px 20px;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
}
.tc-header .tc-menu-button { display: none; }
.tc-header a:focus-visible,
.tc-header button:focus-visible { outline: 3px solid #ffb900; outline-offset: 4px; }

/* Medium screens use a full-width navigation row instead of shrinking text. */
@media (min-width: 1024px) and (max-width: 1679px) {
    .tc-header .tc-header__inner {
        grid-template-columns: 1fr auto;
        min-height: 0;
        row-gap: 0;
        padding-top: 12px;
    }
    .tc-header .tc-brand { grid-column: 1; grid-row: 1; justify-self: start; }
    .tc-header .tc-header__actions { grid-column: 2; grid-row: 1; }
    .tc-header .tc-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 8px;
        border-top: 1px solid #eef2f4;
        gap: 20px;
    }
    .tc-header .tc-nav a { min-height: 54px; font-size: 17px; }
    .tc-header .tc-nav a::after { bottom: 5px; }
}

@media (min-width: 1024px) and (max-width: 1100px) {
    .tc-header .tc-nav { gap: 12px; }
    .tc-header .tc-nav a { font-size: 16px; }
}

@media (max-width: 1023.98px) {
    .tc-header .tc-header__inner {
        width: calc(100% - 32px);
        min-height: 86px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0 12px;
        padding-block: 10px;
    }
    .tc-header .tc-brand { grid-row: 1; grid-column: 1; gap: 10px; }
    .tc-header .tc-brand__logo { width: 154px; height: 60px; }
    .tc-header .tc-brand__byline { padding-left: 10px; gap: 6px; font-size: 12px; }
    .tc-header .tc-brand__byline img { width: 104px; }
    .tc-header .tc-menu-button { display: inline-grid; grid-column: 2; grid-row: 1; width: 44px; height: 44px; font-size: 20px; }
    .tc-header .tc-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 14px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #e6edf1;
    }
    .tc-header .tc-nav.is-open { display: grid; }
    .tc-header .tc-nav a { min-height: 46px; padding: 8px 5px; font-size: 16px; white-space: normal; }
    .tc-header .tc-nav a::after { bottom: 1px; }
    .tc-header .tc-header__actions { display: none; }
    .tc-header.is-menu-open .tc-header__actions {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: space-between;
        gap: 10px;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid #e6edf1;
    }
    .tc-header .tc-header__cta { padding-inline: 16px; font-size: 14px; }
}

@media (max-width: 600px) {
    .tc-header .tc-header__inner { width: calc(100% - 24px); column-gap: 8px; }
    .tc-header .tc-brand__logo { width: 146px; }
    .tc-header .tc-brand__byline { padding-left: 8px; }
    .tc-header .tc-brand__byline img { width: 98px; }
}

@media (max-width: 380px) {
    .tc-header .tc-brand { gap: 6px; }
    .tc-header .tc-brand__logo { width: 120px; height: 52px; }
    .tc-header .tc-brand__byline { padding-left: 7px; gap: 5px; }
    .tc-header .tc-brand__byline img { width: 74px; }
}
