.tp-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--tp-radius-pill); padding: 10px 22px; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer; }
.tp-button--primary { background: var(--tp-color-black); color: #fff; }
.tp-button--primary:hover { background: #33312e; color: #fff; }
.tp-button--secondary { border-color: var(--tp-color-gold); background: #fff; color: var(--tp-color-text); }
.tp-badge, .tp-filter-chip { display: inline-flex; align-items: center; min-height: 28px; border-radius: var(--tp-radius-pill); padding: 3px 10px; font-size: 13px; font-weight: 700; }
.tp-badge--status[data-status="active"] { background: var(--tp-color-active-bg); color: var(--tp-color-active); }
.tp-badge--status[data-status="upcoming"] { background: var(--tp-color-upcoming-bg); color: var(--tp-color-upcoming); }
.tp-badge--status[data-status="ended"] { background: var(--tp-color-ended-bg); color: var(--tp-color-ended); }
.tp-badge--risk, .tp-filter-chip { border: 1px solid #e7d29f; background: var(--tp-color-gold-soft); color: var(--tp-color-gold-dark); text-decoration: none; }
.tp-campaign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.tp-campaign-card { position: relative; display: flex; min-width: 0; height: 100%; flex-direction: column; border: 1px solid var(--tp-color-border); border-radius: var(--tp-radius-md); background: #fff; box-shadow: var(--tp-shadow-card); padding: 24px; overflow-wrap: anywhere; transition: box-shadow .18s ease, transform .18s ease; }
.tp-campaign-card:hover { box-shadow: var(--tp-shadow-hover); transform: translateY(-2px); }
.tp-campaign-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tp-campaign-card__provider { color: var(--tp-color-text-muted); font-size: 13px; font-weight: 700; }
.tp-campaign-card__title { display: -webkit-box; margin: 16px 0 12px; overflow: hidden; font-size: 18px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tp-campaign-card__title a { color: var(--tp-color-text); text-decoration: none; }
.tp-campaign-card__risk-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tp-campaign-card__benefit-value { margin: 0; font-family: var(--tp-font-number); font-size: 28px; font-weight: 700; line-height: 1.25; }
.tp-campaign-card__benefit-details, .tp-campaign-card__deadline, .tp-campaign-card__summary { color: var(--tp-color-text-muted); font-size: 13px; }
.tp-campaign-card__summary { display: -webkit-box; overflow: hidden; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tp-campaign-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 16px; padding: 12px 0 0; list-style: none; }
.tp-campaign-card__tags li { border-radius: var(--tp-radius-pill); background: var(--tp-color-bg); padding: 3px 9px; color: var(--tp-color-text-muted); font-size: 13px; }
.tp-campaign-card__link { align-self: flex-start; color: var(--tp-color-gold-dark); font-weight: 700; }
.tp-site-header { position: sticky; z-index: 50; top: 0; height: 72px; border-bottom: 1px solid var(--tp-color-border); background: rgba(255,255,255,.96); }
.tp-site-header__inner { display: flex; gap: 16px; height: 100%; align-items: center; justify-content: space-between; }
.tp-site-brand { color: var(--tp-color-text); font-size: 22px; font-weight: 800; text-decoration: none; }
.custom-logo-link { display: flex; max-width: min(220px, 40vw); align-items: center; }
.custom-logo { display: block; width: auto; max-width: 100%; height: auto; max-height: 32px; }
.tp-desktop-nav ul, .tp-mobile-menu ul { display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; list-style: none; }
.tp-desktop-nav a { white-space: nowrap; color: var(--tp-color-text); font-weight: 700; text-decoration: none; }
.tp-desktop-nav a[aria-current="page"] { color: var(--tp-color-gold-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.tp-site-header__actions { display: flex; align-items: center; gap: 8px; }
.tp-icon-button, .tp-mobile-menu summary { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--tp-color-border); border-radius: 50%; background: #fff; color: var(--tp-color-text); font-size: 23px; text-decoration: none; cursor: pointer; list-style: none; }
.tp-mobile-menu { display: none; }
.tp-filter-form { margin: 28px 0 20px; border: 1px solid var(--tp-color-border); border-radius: var(--tp-radius-md); background: #fff; padding: 20px; }
.tp-filter-form__search label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.tp-filter-form button[type="submit"], .tp-404-search button[type="submit"] { white-space: nowrap; flex-shrink: 0; }
.tp-filter-form__search > div { display: flex; gap: 8px; }
.tp-filter-form input[type="search"] { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--tp-color-border); border-radius: var(--tp-radius-sm); background: #fff; padding: 8px 12px; color: var(--tp-color-text); font: inherit; }
.tp-search-clear { display: inline-block; margin-top: 12px; color: var(--tp-color-gold-dark); font-weight: 700; }
.tp-results-count { color: var(--tp-color-text-muted); font-size: 13px; }
.tp-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tp-pagination a, .tp-pagination span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--tp-color-border); border-radius: 50%; background: #fff; text-decoration: none; }
.tp-pagination span { border-color: var(--tp-color-black); background: var(--tp-color-black); color: #fff; }
.tp-empty-state { border: 1px solid var(--tp-color-border); border-radius: var(--tp-radius-md); background: #fff; padding: 32px; text-align: center; }
@media (max-width: 899px) { .tp-campaign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1199px) { .tp-site-header { height: 60px; } .custom-logo-link { max-width: min(180px, 48vw); } .custom-logo { max-height: 28px; } .tp-desktop-nav { display: none; } .tp-mobile-menu { display: block; } .tp-mobile-menu[open] nav { position: absolute; top: 60px; right: 0; left: 0; border-bottom: 1px solid var(--tp-color-border); background: #fff; padding: 12px 16px 20px; } .tp-mobile-menu ul { align-items: stretch; flex-direction: column; gap: 0; } .tp-mobile-menu a { display: flex; min-height: 48px; align-items: center; color: var(--tp-color-text); font-weight: 700; } }
@media (max-width: 599px) { .tp-campaign-grid { grid-template-columns: 1fr; } .tp-campaign-card { padding: 18px; } .tp-campaign-card__benefit-value { font-size: 26px; } .tp-filter-form__search > div { flex-direction: column; } .tp-filter-form__search .tp-button { min-height: 52px; } }

.tp-filter-options { margin-top: 20px; }
.tp-filter-options summary { cursor: pointer; font-weight: 700; }
.tp-filter-options fieldset { min-width: 0; margin: 16px 0; border: 1px solid var(--tp-color-border); border-radius: var(--tp-radius-sm); padding: 16px; }
.tp-filter-options legend { font-weight: 700; }
.tp-filter-options__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-taxonomy--genre { --tp-tax-text: var(--tp-genre-text); --tp-tax-bg: var(--tp-genre-bg); --tp-tax-border: var(--tp-genre-border); --tp-tax-muted-border: var(--tp-genre-muted-border); }
.tp-taxonomy--campaign_type { --tp-tax-text: var(--tp-campaign-type-text); --tp-tax-bg: var(--tp-campaign-type-bg); --tp-tax-border: var(--tp-campaign-type-border); --tp-tax-muted-border: var(--tp-campaign-type-muted-border); }
.tp-taxonomy--benefit_type { --tp-tax-text: var(--tp-benefit-type-text); --tp-tax-bg: var(--tp-benefit-type-bg); --tp-tax-border: var(--tp-benefit-type-border); --tp-tax-muted-border: var(--tp-benefit-type-muted-border); }
.tp-filter-toggle { min-height: 44px; padding: 7px 14px; border: 2px solid var(--tp-tax-muted-border); background: #fff; color: var(--tp-tax-text); font-size: 13px; }
.tp-filter-toggle:hover { border-color: var(--tp-tax-border); color: var(--tp-tax-text); }
.tp-filter-toggle[data-selected="true"] { background: var(--tp-tax-bg); border-color: var(--tp-tax-border); color: var(--tp-tax-text); }
.tp-filter-toggle:focus-visible { outline: 3px solid var(--tp-tax-text); outline-offset: 3px; }
.tp-filter-state { color: var(--tp-color-text-muted); font-size: 12px; font-weight: 400; }
.tp-filter-group-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 12px; font-size: 13px; }
.tp-filter-chip.tp-taxonomy--genre, .tp-campaign-card__tags li[class*="tp-taxonomy--"], .tp-term-list li[class*="tp-taxonomy--"] { background: var(--tp-tax-bg); color: var(--tp-tax-text); border: 1px solid var(--tp-tax-muted-border); }
.tp-filter-help { color: var(--tp-color-text-muted); font-size: 13px; }
.tp-sort-control { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.tp-sort-control select { max-width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid var(--tp-color-border); border-radius: var(--tp-radius-sm); background: #fff; color: var(--tp-color-text); font: inherit; }

.tp-campaign-card__link::after { position: absolute; inset: 0; border-radius: var(--tp-radius-md); content: ""; }
.tp-campaign-card__link:focus-visible { outline: none; }
.tp-campaign-card__link:focus-visible::after { outline: 3px solid var(--tp-color-gold-dark); outline-offset: 3px; }
.tp-badge--risk.tp-taxonomy--benefit_type { background: var(--tp-benefit-type-bg); color: var(--tp-benefit-type-text); border-color: var(--tp-benefit-type-muted-border); }
