/* Legacy page CSS, restored. Source: pages:519:school-tours-. Built by artifacts/migration/build-legacy-css.py; do not edit. */
.bh-primary-school-page{
      --bh-blue:#00B6D9;
      --bh-navy:#21272F;
      --bh-yellow:#E4FF1A;
      --bh-white:#FFFFFF;
      --bh-ink:#183042;
      --bh-muted:#647789;
      --bh-soft:#F5FAFC;
      --bh-soft-2:#EAF5FA;
      --bh-line:rgba(33,39,47,0.12);
      --bh-shadow:0 18px 46px rgba(16,32,46,0.12);
      --bh-shadow-soft:0 12px 30px rgba(16,32,46,0.08);
      --bh-radius-xl:28px;
      --bh-radius-lg:22px;
      --bh-radius-md:16px;
      --bh-shell:1200px;
      position:relative;
      background:linear-gradient(180deg,#f8fbfd 0%, #ffffff 18%, #f7fbfd 100%);
      color:var(--bh-ink);
      overflow:hidden;
      font-family:inherit;
    }

    .bh-primary-school-page *{
      box-sizing:border-box;
    }

    .bh-ps-shell{
      width:min(var(--bh-shell), calc(100% - 32px));
      margin:0 auto;
    }

    .bh-ps-section{
      padding:clamp(52px, 7vw, 92px) 0;
      position:relative;
      z-index:2;
    }

    .bh-ps-kicker{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding:10px 16px;
      border-radius:999px;
      background:rgba(255,255,255,0.14);
      border:1px solid rgba(255,255,255,0.18);
      color:#ffffff;
      font-size:13px;
      line-height:1;
      font-weight:800;
      letter-spacing:.14em;
      text-transform:uppercase;
      backdrop-filter:blur(6px);
    }

    .bh-ps-kicker-dark{
      background:rgba(0,182,217,0.10);
      color:var(--bh-navy);
      border:1px solid rgba(0,182,217,0.22);
    }

    .bh-ps-title{
      margin:0 0 16px;
      font-size:clamp(34px, 5.4vw, 66px);
      line-height:0.98;
      letter-spacing:-0.03em;
      font-weight:900;
      color:#ffffff;
      max-width:11ch;
    }

    .bh-ps-intro-title{
      margin:0 0 14px;
      font-size:clamp(28px, 4vw, 48px);
      line-height:1.04;
      letter-spacing:-0.025em;
      font-weight:900;
      color:var(--bh-navy);
    }

    .bh-ps-lead{
      margin:0 0 26px;
      max-width:760px;
      font-size:clamp(17px, 2vw, 21px);
      line-height:1.66;
      color:rgba(255,255,255,0.92);
    }

    .bh-ps-copy{
      margin:0;
      font-size:17px;
      line-height:1.72;
      color:var(--bh-muted);
    }

    .bh-ps-copy strong{
      color:var(--bh-navy);
    }

    .bh-ps-hero{
      position:relative;
      min-height:760px;
      padding:34px 0 90px;
      display:flex;
      align-items:flex-end;
      overflow:hidden;
      background:
        linear-gradient(180deg, rgba(15,31,46,0.16) 0%, rgba(15,31,46,0.42) 35%, rgba(15,31,46,0.84) 100%),
        linear-gradient(125deg, rgba(0,182,217,0.12) 0%, rgba(228,255,26,0.08) 100%);
    }

    .bh-ps-hero-bg,
    .bh-ps-hero-overlay{
      position:absolute;
      inset:0;
      z-index:0;
    }

    .bh-ps-hero-bg img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      transform:scale(1.03);
    }

    .bh-ps-hero-overlay{
      background:
        radial-gradient(circle at top right, rgba(228,255,26,0.18) 0%, rgba(228,255,26,0) 34%),
        radial-gradient(circle at left center, rgba(0,182,217,0.24) 0%, rgba(0,182,217,0) 36%);
      pointer-events:none;
    }

    .bh-ps-topnav{
      position:absolute;
      left:0;
      right:0;
      top:0;
      z-index:5;
      padding:18px 0;
    }

    .bh-ps-breadcrumbs{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      align-items:center;
      font-size:13px;
      line-height:1.4;
      color:rgba(255,255,255,0.84);
    }

    .bh-ps-breadcrumbs a{
      color:#ffffff;
      text-decoration:none;
      font-weight:700;
    }

    .bh-ps-breadcrumbs span{
      opacity:.9;
    }

    .bh-ps-hero-grid{
      position:relative;
      z-index:2;
      display:grid;
      grid-template-columns:minmax(0,1.08fr) minmax(320px,0.92fr);
      gap:30px;
      align-items:end;
    }

    .bh-ps-hero-panel{
      padding:clamp(26px, 3.2vw, 40px);
      border-radius:var(--bh-radius-xl);
      background:rgba(255,255,255,0.10);
      border:1px solid rgba(255,255,255,0.18);
      box-shadow:0 20px 46px rgba(0,0,0,0.18);
      backdrop-filter:blur(10px);
    }

    .bh-ps-hero-actions{
      display:flex;
      flex-wrap:wrap;
      gap:14px;
      margin:28px 0 30px;
    }

    .bh-ps-btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:54px;
      padding:14px 22px;
      border-radius:16px;
      font-size:14px;
      line-height:1.1;
      font-weight:800;
      letter-spacing:.04em;
      text-transform:uppercase;
      text-decoration:none !important;
      transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
      cursor:pointer;
    }

    .bh-ps-btn:hover{
      transform:translateY(-2px);
    }

    .bh-ps-btn-primary{
      background:var(--bh-yellow);
      color:var(--bh-navy) !important;
      box-shadow:0 14px 34px rgba(228,255,26,0.22);
    }

    .bh-ps-btn-secondary{
      background:rgba(255,255,255,0.10);
      color:#ffffff !important;
      border:1px solid rgba(255,255,255,0.22);
    }

    .bh-ps-btn-light{
      background:var(--bh-navy);
      color:#ffffff !important;
      box-shadow:var(--bh-shadow-soft);
    }

    .bh-ps-btn-outline{
      background:transparent;
      color:var(--bh-navy) !important;
      border:1px solid rgba(33,39,47,0.16);
    }

    .bh-ps-hero-points{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:12px;
      margin:0;
      padding:0;
      list-style:none;
    }

    .bh-ps-hero-points li{
      display:flex;
      gap:10px;
      align-items:flex-start;
      padding:12px 14px;
      border-radius:16px;
      background:rgba(255,255,255,0.10);
      border:1px solid rgba(255,255,255,0.14);
      color:#ffffff;
      font-size:15px;
      line-height:1.45;
    }

    .bh-ps-hero-points li span{
      flex:0 0 10px;
      width:10px;
      height:10px;
      margin-top:7px;
      border-radius:50%;
      background:var(--bh-yellow);
      box-shadow:0 0 0 6px rgba(228,255,26,0.10);
    }

    .bh-ps-quick-card{
      display:grid;
      gap:14px;
      padding:clamp(22px, 2.6vw, 28px);
      border-radius:24px;
      background:#ffffff;
      color:var(--bh-ink);
      box-shadow:var(--bh-shadow);
      border:1px solid rgba(255,255,255,0.28);
    }

    .bh-ps-quick-label{
      margin:0;
      font-size:12px;
      line-height:1;
      font-weight:800;
      letter-spacing:.16em;
      text-transform:uppercase;
      color:var(--bh-blue);
    }

    .bh-ps-quick-title{
      margin:0;
      font-size:clamp(26px, 3vw, 34px);
      line-height:1.05;
      font-weight:900;
      color:var(--bh-navy);
      letter-spacing:-0.025em;
    }

    .bh-ps-quick-copy{
      margin:0;
      font-size:16px;
      line-height:1.72;
      color:var(--bh-muted);
    }

    .bh-ps-quick-list{
      display:grid;
      gap:12px;
      margin:2px 0 0;
      padding:0;
      list-style:none;
    }

    .bh-ps-quick-list li{
      display:flex;
      gap:12px;
      align-items:flex-start;
      color:var(--bh-ink);
      font-size:15px;
      line-height:1.55;
      padding:0;
    }

    .bh-ps-quick-list li span{
      flex:0 0 11px;
      width:11px;
      height:11px;
      margin-top:6px;
      border-radius:50%;
      background:var(--bh-blue);
      box-shadow:0 0 0 6px rgba(0,182,217,0.10);
    }

    .bh-ps-subnav-wrap{
      margin-top:-40px;
      position:relative;
      z-index:4;
    }

    .bh-ps-subnav{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      padding:18px;
      border-radius:24px;
      background:#ffffff;
      box-shadow:var(--bh-shadow-soft);
      border:1px solid var(--bh-line);
    }

    .bh-ps-subnav a{
      display:inline-flex;
      align-items:center;
      min-height:42px;
      padding:10px 14px;
      border-radius:999px;
      background:var(--bh-soft);
      color:var(--bh-navy);
      text-decoration:none;
      font-size:13px;
      line-height:1;
      font-weight:800;
      letter-spacing:.08em;
      text-transform:uppercase;
    }

    .bh-ps-header{
      max-width:800px;
      margin:0 auto 34px;
      text-align:center;
    }

    .bh-ps-header .bh-ps-copy{
      max-width:760px;
      margin:0 auto;
    }

    .bh-ps-price-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:20px;
    }

    .bh-ps-price-card{
      position:relative;
      display:flex;
      flex-direction:column;
      gap:16px;
      padding:28px;
      border-radius:28px;
      background:#ffffff;
      border:1px solid var(--bh-line);
      box-shadow:var(--bh-shadow);
      overflow:hidden;
    }

    .bh-ps-price-card.featured{
      border-color:rgba(0,182,217,0.28);
      box-shadow:0 22px 48px rgba(0,182,217,0.12);
    }

    .bh-ps-price-badge{
      display:inline-flex;
      width:max-content;
      padding:9px 12px;
      border-radius:999px;
      background:rgba(0,182,217,0.10);
      color:var(--bh-navy);
      font-size:12px;
      line-height:1;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
    }

    .bh-ps-price-card h3{
      margin:0;
      font-size:30px;
      line-height:1.02;
      font-weight:900;
      letter-spacing:-0.02em;
      color:var(--bh-navy);
    }

    .bh-ps-price-meta{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
    }

    .bh-ps-chip{
      display:inline-flex;
      align-items:center;
      min-height:36px;
      padding:8px 12px;
      border-radius:999px;
      background:var(--bh-soft);
      color:var(--bh-navy);
      font-size:12px;
      line-height:1;
      font-weight:800;
      letter-spacing:.08em;
      text-transform:uppercase;
    }

    .bh-ps-price-row{
      display:flex;
      align-items:flex-end;
      gap:10px;
      padding:4px 0 0;
    }

    .bh-ps-price{
      font-size:44px;
      line-height:1;
      font-weight:900;
      letter-spacing:-0.03em;
      color:var(--bh-navy);
    }

    .bh-ps-price-note{
      font-size:15px;
      line-height:1.4;
      color:var(--bh-muted);
      font-weight:700;
    }

    .bh-ps-price-card p{
      margin:0;
      font-size:15px;
      line-height:1.72;
      color:var(--bh-muted);
    }

    .bh-ps-price-card ul{
      display:grid;
      gap:10px;
      margin:0;
      padding:0;
      list-style:none;
    }

    .bh-ps-price-card li{
      position:relative;
      padding-left:18px;
      font-size:14px;
      line-height:1.55;
      color:var(--bh-ink);
    }

    .bh-ps-price-card li:before{
      content:"";
      position:absolute;
      left:0;
      top:8px;
      width:8px;
      height:8px;
      border-radius:50%;
      background:var(--bh-yellow);
      box-shadow:0 0 0 5px rgba(228,255,26,0.12);
    }

    .bh-ps-why-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;
    }

    .bh-ps-why-card{
      position:relative;
      padding:26px;
      border-radius:24px;
      background:#ffffff;
      border:1px solid var(--bh-line);
      box-shadow:var(--bh-shadow-soft);
      overflow:hidden;
    }

    .bh-ps-why-card:after{
      content:"";
      position:absolute;
      inset:auto -80px -80px auto;
      width:180px;
      height:180px;
      background:radial-gradient(circle, rgba(0,182,217,0.10) 0%, rgba(0,182,217,0) 72%);
      pointer-events:none;
    }

    .bh-ps-why-card h3{
      margin:0 0 10px;
      font-size:26px;
      line-height:1.08;
      font-weight:900;
      color:var(--bh-navy);
      letter-spacing:-0.02em;
    }

    .bh-ps-why-card p{
      margin:0;
      font-size:15px;
      line-height:1.72;
      color:var(--bh-muted);
    }

    .bh-ps-gallery-grid{
      display:grid;
      grid-template-columns:1.1fr 0.9fr;
      gap:18px;
      align-items:stretch;
    }

    .bh-ps-gallery-main,
    .bh-ps-gallery-stack article{
      position:relative;
      overflow:hidden;
      border-radius:26px;
      min-height:260px;
      box-shadow:var(--bh-shadow);
      background:#dfeaf0;
    }

    .bh-ps-gallery-main img,
    .bh-ps-gallery-stack article img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }

    .bh-ps-image-caption{
      position:absolute;
      left:18px;
      right:18px;
      bottom:18px;
      padding:16px 18px;
      border-radius:18px;
      background:rgba(12,22,33,0.58);
      color:#ffffff;
      backdrop-filter:blur(8px);
    }

    .bh-ps-image-caption strong{
      display:block;
      margin:0 0 4px;
      font-size:18px;
      line-height:1.2;
    }

    .bh-ps-image-caption span{
      display:block;
      font-size:14px;
      line-height:1.55;
      color:rgba(255,255,255,0.88);
    }

    .bh-ps-gallery-stack{
      display:grid;
      gap:18px;
    }

    .bh-ps-proof-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;
    }

    .bh-ps-proof-card{
      display:flex;
      flex-direction:column;
      gap:14px;
      padding:24px;
      border-radius:24px;
      background:#ffffff;
      border:1px solid var(--bh-line);
      box-shadow:var(--bh-shadow-soft);
    }

    .bh-ps-proof-mark{
      font-size:42px;
      line-height:1;
      color:var(--bh-blue);
      font-weight:900;
    }

    .bh-ps-proof-card p{
      margin:0;
      font-size:15px;
      line-height:1.78;
      color:var(--bh-ink);
    }

    .bh-ps-proof-card strong{
      display:block;
      font-size:15px;
      line-height:1.45;
      color:var(--bh-navy);
    }

    .bh-ps-proof-card span{
      display:block;
      font-size:13px;
      line-height:1.45;
      color:var(--bh-muted);
    }

    .bh-ps-proof-mini{
      margin-top:18px;
      padding:24px;
      border-radius:24px;
      background:linear-gradient(180deg,#f1f7fa 0%, #ffffff 100%);
      border:1px solid rgba(33,39,47,0.08);
      box-shadow:var(--bh-shadow-soft);
    }

    .bh-ps-proof-mini h3{
      margin:0 0 10px;
      font-size:26px;
      line-height:1.08;
      font-weight:900;
      color:var(--bh-navy);
      letter-spacing:-0.02em;
    }

    .bh-ps-proof-mini p{
      margin:0;
      font-size:15px;
      line-height:1.76;
      color:var(--bh-muted);
    }

    .bh-ps-day{
      background:linear-gradient(135deg,#11273a 0%, #1e3f55 55%, #19556a 100%);
      color:#ffffff;
      border-radius:32px;
      padding:clamp(28px, 4vw, 42px);
      box-shadow:var(--bh-shadow);
      overflow:hidden;
    }

    .bh-ps-day .bh-ps-intro-title,
    .bh-ps-day .bh-ps-copy{
      color:#ffffff;
    }

    .bh-ps-day-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:16px;
      margin-top:26px;
    }

    .bh-ps-step{
      position:relative;
      padding:24px 20px 22px;
      border-radius:24px;
      background:rgba(255,255,255,0.10);
      border:1px solid rgba(255,255,255,0.14);
      backdrop-filter:blur(6px);
      min-height:100%;
    }

    .bh-ps-step-no{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:42px;
      height:42px;
      margin-bottom:14px;
      border-radius:50%;
      background:var(--bh-yellow);
      color:var(--bh-navy);
      font-size:16px;
      font-weight:900;
    }

    .bh-ps-step h3{
      margin:0 0 8px;
      font-size:21px;
      line-height:1.12;
      font-weight:900;
      color:#ffffff;
    }

    .bh-ps-step p{
      margin:0;
      font-size:14px;
      line-height:1.62;
      color:rgba(255,255,255,0.84);
    }

    .bh-ps-support-wrap{
      background:linear-gradient(180deg,#f1f7fa 0%, #ffffff 100%);
      border:1px solid rgba(33,39,47,0.08);
      border-radius:30px;
      padding:clamp(24px, 3.5vw, 38px);
      box-shadow:var(--bh-shadow-soft);
    }

    .bh-ps-support-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:16px;
      margin-top:24px;
    }

    .bh-ps-support-card{
      display:flex;
      flex-direction:column;
      gap:14px;
      min-height:100%;
      padding:22px;
      border-radius:22px;
      background:#ffffff;
      border:1px solid var(--bh-line);
      box-shadow:0 10px 24px rgba(16,32,46,0.05);
    }

    .bh-ps-support-card h3{
      margin:0;
      font-size:22px;
      line-height:1.1;
      font-weight:900;
      color:var(--bh-navy);
    }

    .bh-ps-support-card p{
      margin:0;
      font-size:15px;
      line-height:1.68;
      color:var(--bh-muted);
    }

    .bh-ps-support-card .bh-ps-btn{
      margin-top:auto;
      width:100%;
    }

    .bh-ps-navcards{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
    }

    .bh-ps-navcard{
      display:flex;
      flex-direction:column;
      gap:14px;
      padding:24px;
      border-radius:24px;
      background:#ffffff;
      border:1px solid var(--bh-line);
      box-shadow:var(--bh-shadow-soft);
    }

    .bh-ps-navcard-label{
      display:inline-flex;
      width:max-content;
      padding:9px 12px;
      border-radius:999px;
      background:rgba(0,182,217,0.10);
      color:var(--bh-navy);
      font-size:12px;
      line-height:1;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
    }

    .bh-ps-navcard h3{
      margin:0;
      font-size:25px;
      line-height:1.05;
      font-weight:900;
      letter-spacing:-0.02em;
      color:var(--bh-navy);
    }

    .bh-ps-navcard p{
      margin:0;
      font-size:15px;
      line-height:1.68;
      color:var(--bh-muted);
    }

    .bh-ps-final{
      padding-bottom:92px;
    }

    .bh-ps-final-cta{
      position:relative;
      overflow:hidden;
      padding:clamp(32px, 5vw, 54px);
      border-radius:34px;
      background:linear-gradient(135deg,#0f2437 0%, #123851 56%, #00B6D9 140%);
      box-shadow:var(--bh-shadow);
      color:#ffffff;
    }

    .bh-ps-final-cta:before{
      content:"";
      position:absolute;
      right:-120px;
      top:-120px;
      width:320px;
      height:320px;
      border-radius:50%;
      background:radial-gradient(circle, rgba(228,255,26,0.24) 0%, rgba(228,255,26,0) 72%);
      pointer-events:none;
    }

    .bh-ps-final-grid{
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:24px;
      align-items:center;
    }

    .bh-ps-final-cta h2{
      margin:0 0 12px;
      font-size:clamp(30px, 4vw, 50px);
      line-height:1.02;
      letter-spacing:-0.025em;
      font-weight:900;
      color:#ffffff;
      max-width:12ch;
    }

    .bh-ps-final-cta p{
      margin:0;
      max-width:700px;
      font-size:17px;
      line-height:1.72;
      color:rgba(255,255,255,0.9);
    }

    .bh-ps-final-actions{
      display:flex;
      flex-wrap:wrap;
      gap:14px;
      justify-content:flex-end;
    }

    @media (max-width: 1120px){
      .bh-ps-hero-grid,
      .bh-ps-gallery-grid,
      .bh-ps-final-grid{
        grid-template-columns:1fr;
      }

      .bh-ps-price-grid,
      .bh-ps-proof-grid,
      .bh-ps-day-grid,
      .bh-ps-support-grid,
      .bh-ps-navcards{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
    }

    @media (max-width: 860px){
      .bh-ps-hero{
        min-height:auto;
        padding:22px 0 80px;
      }

      .bh-ps-title{
        max-width:none;
      }

      .bh-ps-subnav-wrap{
        margin-top:-28px;
      }

      .bh-ps-price-grid,
      .bh-ps-why-grid,
      .bh-ps-proof-grid,
      .bh-ps-day-grid,
      .bh-ps-support-grid,
      .bh-ps-navcards{
        grid-template-columns:1fr;
      }

      .bh-ps-gallery-main{
        min-height:320px;
      }

      .bh-ps-gallery-stack article{
        min-height:240px;
      }

      .bh-ps-final-actions{
        justify-content:flex-start;
      }
    }

    @media (max-width: 640px){
      .bh-ps-shell{
        width:min(var(--bh-shell), calc(100% - 20px));
      }

      .bh-ps-section{
        padding:44px 0 64px;
      }

      .bh-ps-hero{
        padding:16px 0 70px;
      }

      .bh-ps-hero-panel,
      .bh-ps-quick-card,
      .bh-ps-price-card,
      .bh-ps-why-card,
      .bh-ps-proof-card,
      .bh-ps-proof-mini,
      .bh-ps-support-card,
      .bh-ps-navcard{
        padding:20px;
      }

      .bh-ps-hero-points{
        grid-template-columns:1fr;
      }

      .bh-ps-hero-actions,
      .bh-ps-final-actions{
        flex-direction:column;
      }

      .bh-ps-btn{
        width:100%;
      }

      .bh-ps-subnav{
        padding:14px;
      }

      .bh-ps-final-cta{
        border-radius:28px;
      }
    }
