/* Shared footer-linked page masthead; independent of the homepage and footer CSS. */
header.ty-page-header {
  position:relative;isolation:isolate;margin:0 0 38px;padding:0;
  background-color:#282423;
  background-image:radial-gradient(rgba(244,237,208,.12) .8px,transparent .9px);
  background-size:22px 22px;
  color:#fff8e8;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.ty-page-header .ty-page-header__inner {
  box-sizing:border-box;max-width:1600px;margin:0 auto;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);
  align-items:center;gap:26px;padding:0px clamp(24px,4vw,72px) 0px;min-height:128px;
}
.ty-page-header .ty-page-header__logo{position:relative;display:block;width:180px;height:80px;overflow:hidden;justify-self:start;align-self:center;border:0;background:none}
.ty-page-header .ty-page-header__logo img{position:absolute;left:0;top:-40px;width:150px;height:150px;max-width:none;object-fit:contain}
.ty-page-header .ty-page-header__heading{text-align:center;min-width:0}
.ty-page-header .ty-page-header__heading h1 {
  font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;
  font-size:clamp(30px,3.5vw,39px);line-height:1.12;letter-spacing:-.025em;
  color:#fff8e8;-webkit-text-fill-color:#fff8e8;background:none;
  margin:0;padding:0;max-width:none;animation:none;transform:none;overflow-wrap:normal;
}
.ty-page-header .ty-page-header__breadcrumb{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;align-items:center;margin:17px 0 0;padding:0;border:0;font-size:13px;line-height:1.6;color:#e2dccc}
.ty-page-header .ty-page-header__breadcrumb a{color:#fff8e8;text-decoration:none}
.ty-page-header .ty-page-header__breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
.ty-page-header .ty-page-header__actions{display:flex;justify-content:flex-end;align-items:center;gap:26px;justify-self:end;flex-wrap:wrap;margin:0;padding:0;border:0}
.ty-page-header .ty-page-header__actions a{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;transition:background-color .18s,color .18s}
.ty-page-header .ty-page-header__explore{color:#fff8e8;border-bottom:2px solid #f4ce63;padding:10px 0 7px}
.ty-page-header .ty-page-header__explore:hover{color:#f4ce63}
.ty-page-header .ty-page-header__partner{background:#f4ce63;color:#282423;border:1px solid #f4ce63;border-radius:999px;padding:12px 20px}
.ty-page-header .ty-page-header__partner:hover{background:#ffe197;border-color:#ffe197}
.ty-page-header .ty-page-header__actions a span{font-size:19px;line-height:1}
.ty-page-header a:focus-visible{outline:3px solid #f4ce63;outline-offset:6px}
.ty-page-header .ty-page-header__wave{position:absolute;top:calc(100% - 1px);left:0;width:100%;height:38px;display:block;color:#282423;pointer-events:none}
/* The shared masthead replaces only repeated page titles; descriptions and section links remain. */
.ty-with-page-header :is(.tripy-exact-page--user-agreement,.tripy-exact-page--partner-agreement,.tripy-exact-page--term-conditions) .hero>h1,
.ty-with-page-header .tripy-exact-page--privacy-policy .ty-hero>h1,
.ty-with-page-header .tripy-contact-page>h1,
.ty-with-page-header .tripy-exact-page--data-deletion .ty-h1{display:none}
.ty-with-page-header.ty-info-theme :is(.hero,.ty-pp .ty-hero){border-radius:18px;padding:10px 30px;margin-bottom:28px}
.ty-with-page-header.ty-info-theme .hero::after,.ty-with-page-header.ty-info-theme .ty-pp .ty-hero::after{display:none}
@media(max-width:1150px){
 .ty-page-header .ty-page-header__inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-top:20px;gap:14px}
 .ty-page-header .ty-page-header__heading{grid-column:1/-1;grid-row:2;max-width:760px;justify-self:center}
 .ty-page-header .ty-page-header__actions{grid-column:2;grid-row:1}
 .ty-page-header .ty-page-header__logo{grid-column:1;grid-row:1}
}
@media(max-width:600px){
 .ty-page-header .ty-page-header__inner{padding:0px 20px 0px;gap:8px 0px}
 .ty-page-header .ty-page-header__logo{width:124px;height:60px}
 .ty-page-header .ty-page-header__logo img{width:100px;height:100px;top:-20px}
 .ty-page-header .ty-page-header__actions{gap:9px 14px}
 .ty-page-header .ty-page-header__actions a{font-size:12px;gap:5px}
 .ty-page-header .ty-page-header__partner{padding:9px 12px}
 .ty-page-header .ty-page-header__heading h1{font-size:clamp(22px,8vw,25px)}
 .ty-page-header .ty-page-header__breadcrumb{font-size:12px;margin-top:12px}
 .ty-with-page-header.ty-info-theme :is(.hero,.ty-pp .ty-hero){padding:20px}
}
@media(prefers-reduced-motion:reduce){.ty-page-header *{transition:none!important}}
