/* One homepage selection, responsive layout only. Original navigation/footer untouched. */
#home177{--hx-ink:#173f36;--hx-soft:#f7f6f1;--hx-line:#e4e8df;background:#fff;color:var(--hx-ink)}
#home177 .hx-hero{max-width:1360px;padding:70px 5% 54px;gap:6%;grid-template-columns:1fr 1fr}
#home177 .hx-hero h1{font-size:clamp(36px,4.2vw,60px);line-height:1.15;letter-spacing:-.035em;margin:22px 0}
#home177 .hx-hero-copy>p{font-size:16px;line-height:1.8;max-width:30em}
#home177 .hx-hero-photo{height:430px;border-radius:6px 6px 48px 6px}
#home177 .hx-destinations{max-width:1224px;border:0;border-bottom:1px solid var(--hx-line);padding:18px 0;gap:25px}
#home177 .hx-section{padding:64px max(5%,calc((100vw - 1224px)/2));background:#fff}
#home177 .hx-camps{background:var(--hx-soft)}
#home177 .hx-section-top{display:flex;align-items:flex-end;gap:24px;border:0;padding:0;margin:0 0 36px}
#home177 .hx-section-top h2,#home177 .hx-pathway h2,#home177 .hx-contact h2{font-size:clamp(28px,3vw,38px);line-height:1.25;letter-spacing:-.02em;margin:10px 0 14px}
#home177 .hx-section-top p{max-width:42em;font-size:15px;line-height:1.7;color:#5a6d62}
#home177 .hx-directory{margin:0 0 3px;padding:8px 0;border:0;border-bottom:1px solid #8d9e8c;border-radius:0;font-size:14px}
#home177 .ce-home-country{display:block;padding:0;margin:0 0 38px;border:0}
#home177 .ce-home-country:last-child{margin-bottom:0}
#home177 .ce-city-heading{display:flex;flex-direction:row;align-items:center;gap:16px;padding:0;margin:0 0 17px;border:0}
#home177 .ce-city-heading h3{font-size:21px;font-weight:600;line-height:1.3;margin:0 auto 0 0}
#home177 .ce-country-more{font-size:14px;font-weight:500;text-decoration:none;border-bottom:1px solid #b7c2b2;padding-bottom:3px}
/* !important counters the old homepage-only flex rule, not global navigation. */
#home177 .ce-country-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;overflow:visible;scroll-snap-type:none;scroll-padding:0;margin:0;padding:0;max-width:100%;min-width:0}
#home177 .ce-country-row>.hx-project-card{display:flex;flex-direction:column;flex:none;min-width:0;max-width:none;width:auto;border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none;scroll-snap-align:none;transform:none}
#home177 .hx-project-card:hover .hx-project-title{text-decoration:underline;text-underline-offset:4px}
#home177 .hx-project-card .hx-project-image,#home177 .hx-project-card .hx-no-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:5px;margin:0}
#home177 .hx-project-card .hx-no-photo{display:flex;padding:18px}
#home177 .hx-project-card .hx-project-body{padding:16px 0 0;flex:1;gap:0}
#home177 .hx-project-body .hx-project-title{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:0;margin:0 0 10px;overflow-wrap:anywhere}
#home177 .hx-project-body .hx-project-location{font-size:12px;line-height:1.5;margin:0 0 7px}
#home177 .hx-school-facts{gap:6px;margin:0 0 10px}
#home177 .hx-project-body .hx-project-meta,#home177 .hx-school-condition{display:block!important;font-size:14px;line-height:1.55;font-weight:400;color:#53675a;background:none;border:0;padding:0;border-radius:0;margin:0 0 6px;white-space:normal;overflow:visible;-webkit-line-clamp:unset}
#home177 .hx-project-body .hx-project-feature{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.6;margin:0 0 12px;color:#637166}
#home177 .hx-project-body .hx-project-status{font-size:12px;line-height:1.5;margin:0 0 8px;color:#546650}
#home177 .hx-project-body .hx-project-link{font-size:14px;margin-top:auto;padding-top:9px;border:0;color:#245842}
#home177 .home-carousel-controls{display:none}
#home177 .ce-home-search{padding:0 0 26px;margin:0 0 28px;background:none;border:0;border-bottom:1px solid var(--hx-line)}
#home177 .hx-pathways{max-width:1360px;padding:64px 5%;gap:28px;grid-template-columns:1fr 1fr}
#home177 .hx-pathway{padding:38px;background:#edf1e8;border-radius:5px}
#home177 .hx-language{background:#f4efe4}
#home177 .hx-pathway p{font-size:15px;line-height:1.75;margin:18px 0 24px}
#home177 .hx-visa{max-width:1224px;padding:38px 42px;background:#153f35;border-radius:5px;gap:30px}
#home177 .hx-visa h2{font-size:30px;line-height:1.35}
#home177 .hx-visa p{font-size:14px;line-height:1.7}
#home177 .hx-contact{max-width:1360px;padding:64px 5%;gap:7%}
#home177 .hx-contact p{font-size:15px;line-height:1.8}
@media(max-width:1000px){#home177 .ce-country-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}#home177 .hx-project-body .hx-project-title{font-size:17px}#home177 .hx-project-body .hx-project-meta,#home177 .hx-school-condition{font-size:14px}#home177 .hx-hero-photo{height:360px}}
@media(max-width:700px){
#home177 .hx-hero{display:flex;flex-direction:column;padding:34px 6% 30px;gap:26px;align-items:stretch}
#home177 .hx-hero h1{font-size:38px}#home177 .hx-hero-copy>p{font-size:15px;max-width:none}#home177 .hx-hero-photo{height:250px;border-radius:5px 5px 32px 5px}
#home177 .hx-destinations{margin:0 6%;padding:16px 0;display:block}#home177 .hx-destinations p{font-size:12px;line-height:1.9}
#home177 .hx-section{padding:42px 6%}#home177 .hx-section-top{display:block;margin:0 0 28px}#home177 .hx-section-top h2{font-size:29px}#home177 .hx-section-top p{font-size:14px;max-width:none}#home177 .hx-directory{display:inline-block;margin-top:14px;font-size:14px}
#home177 .ce-home-country{margin-bottom:30px}#home177 .ce-city-heading{gap:12px;margin-bottom:14px}#home177 .ce-city-heading h3{font-size:20px}
#home177 .ce-country-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;margin:0;padding:0;overflow:visible}
#home177 .ce-country-row>.hx-project-card{max-width:none;width:auto;flex:none}
#home177 .hx-project-card .hx-project-body{padding:12px 0 0}#home177 .hx-project-body .hx-project-title{font-size:16px;line-height:1.4;margin-bottom:8px}
#home177 .hx-project-body .hx-project-meta,#home177 .hx-school-condition{font-size:14px;line-height:1.5;padding:0;border:0;background:none}
#home177 .hx-project-body .hx-project-feature{font-size:13px}#home177 .hx-project-body .hx-project-link{font-size:14px}
#home177 .hx-pathways{grid-template-columns:1fr;padding:42px 6%;gap:18px}#home177 .hx-pathway{padding:28px}#home177 .hx-pathway h2{font-size:28px}
#home177 .hx-visa{margin:0 6%;padding:29px;display:block}#home177 .hx-visa h2{font-size:26px}#home177 .hx-visa>a{display:inline-block;margin-top:18px}
#home177 .hx-contact{display:block;padding:42px 6%}#home177 .hx-contact p{margin-top:20px}
}

/* Illustration inline contain remains authoritative; key facts/actions never shrink below14px. */
#home177 .hx-pathway>a,#home177 .hx-visa>a,#home177 .hx-secondary{font-size:14px}
#home177 .hx-project-body .hx-project-meta,#home177 .hx-school-condition,#home177 .hx-project-body .hx-project-link,#home177 .ce-country-more,#home177 .hx-directory{font-size:14px}
/* Existing international-only family programme; exact facts and links retained. */
#home177 .family-season-strip{width:90%;max-width:1224px;margin:48px auto 0;padding:32px 36px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:38px;row-gap:10px;background:#f7f5ed;border:0;border-top:2px solid #b99c62;border-radius:0}
#home177 .family-season-strip>.eyebrow,#home177 .family-season-strip>h2,#home177 .family-season-strip>p{grid-column:1;margin:0}
#home177 .family-season-strip>.eyebrow{font-size:12px;line-height:1.5;color:#62705f;letter-spacing:.06em}
#home177 .family-season-strip>h2{font-size:28px;line-height:1.35;font-weight:600;letter-spacing:-.02em;margin:2px 0 4px}
#home177 .family-season-strip>p{font-size:14px;line-height:1.7;color:#53675a}
#home177 .family-season-strip>.button{grid-column:2;grid-row:2 / span 4;align-self:center;justify-self:start;max-width:260px;white-space:normal;font-size:14px;line-height:1.5;padding:13px 18px;background:#174d42;color:#fff;border:1px solid #174d42;border-radius:4px;box-shadow:none}
@media(max-width:900px){#home177 .family-season-strip{grid-template-columns:minmax(0,1fr);padding:28px;row-gap:10px}#home177 .family-season-strip>.button{grid-column:1;grid-row:auto;margin-top:8px}}
@media(max-width:700px){#home177 .family-season-strip{width:88%;margin:32px auto 0;padding:25px 22px}#home177 .family-season-strip>h2{font-size:25px}}

/* Compact functional navigation, isolated from legacy mobile header nav. */
#home177 nav.hx-services{position:static;inset:auto;display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-start;gap:10px 26px;width:90%;max-width:1224px;height:auto;max-height:none;margin:24px auto 0;padding:14px 0;background:transparent;border:0;border-bottom:1px solid #dce5df;box-shadow:none;overflow:visible;transform:none;z-index:auto;visibility:visible;opacity:1}
#home177 nav.hx-services a{display:block;position:static;color:#034730;font-size:14px;font-weight:600;line-height:1.6;text-decoration:none;padding:4px 0;white-space:normal}
#home177 nav.hx-services a:hover,#home177 nav.hx-services a:focus-visible{text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){#home177 nav.hx-services{width:88%;gap:8px 20px;margin-top:20px;padding:12px 0}}

/* PASS184: three distinct visual levels, with the existing layout and selection intact. */
#home177 .hx-section-top h2,
#home177 .hx-pathway h2,
#home177 .hx-visa h2,
#home177 .hx-contact h2,
#home177 .family-season-strip>h2{position:relative;font-weight:700;letter-spacing:-.025em;text-align:left;padding-bottom:19px;margin-bottom:18px}
#home177 .hx-section-top h2::after,
#home177 .hx-pathway h2::after,
#home177 .hx-visa h2::after,
#home177 .hx-contact h2::after,
#home177 .family-season-strip>h2::after{content:"";position:absolute;left:0;bottom:0;width:42px;height:3px;border-radius:2px;background:#b4985c}
#home177 .hx-section-top{margin-bottom:38px}
#home177 .ce-home-country{padding-top:20px;border-top:1px solid #d9e3dc;margin-bottom:38px}
#home177 .ce-city-heading{padding:10px 14px;margin-bottom:18px;background:#f0f4f0;border-radius:4px;min-width:0}
#home177 .hx-camps .ce-city-heading{background:#e9efea}
#home177 .ce-city-heading h3{font-weight:650;letter-spacing:.01em;color:#244d3e}
#home177 .ce-country-row>.hx-project-card{background:#fff;border:1px solid #dfe6e0;border-radius:7px;box-shadow:0 3px 12px rgba(21,63,53,.055);overflow:hidden}
#home177 .hx-project-card .hx-project-image,
#home177 .hx-project-card .hx-no-photo{border-radius:6px 6px 0 0}
#home177 .hx-project-card .hx-project-body{padding:17px 16px 18px}
#home177 .hx-project-body .hx-project-title{font-weight:650;color:#173f36}
#home177 .hx-project-body .hx-project-link{padding-top:12px}
#home177 .hx-project-card:focus-visible{outline:2px solid #3e735c;outline-offset:3px}
#home177 .hx-pathway{border-top:1px solid #d6e0d4;box-shadow:none}
#home177 .hx-language{border-top-color:#dfd7c6}
#home177 .hx-visa h2::after{background:#d9c18c}
#home177 .hx-contact{border-top:1px solid #e1e8e1}
@media(max-width:700px){
#home177 .hx-section-top{margin-bottom:28px}
#home177 .hx-section-top h2,#home177 .hx-pathway h2,#home177 .hx-visa h2,#home177 .hx-contact h2,#home177 .family-season-strip>h2{padding-bottom:17px;margin-bottom:16px}
#home177 .ce-home-country{padding-top:16px;margin-bottom:30px}
#home177 .ce-city-heading{padding:9px 10px;margin-bottom:14px}
#home177 .ce-city-heading h3{font-size:20px}
#home177 .hx-project-card .hx-project-body{padding:12px 10px 14px}
}
/* PASS186: three visibly distinct editorial levels; no content or layout changes. */
#home177 .hx-section-top{background:#e2ece4;padding:30px 32px 28px;border-left:6px solid #125640;border-radius:3px;margin-bottom:34px;align-items:center}
#home177 .hx-section-top h2{font-size:clamp(32px,3.1vw,43px);font-weight:750;line-height:1.22;padding-bottom:0;margin:8px 0 13px;color:#123f32;letter-spacing:-.025em}
#home177 .hx-section-top h2::after{content:none}
#home177 .hx-section-top .hx-kicker{color:#3b6653;letter-spacing:.13em}
#home177 .hx-section-top p{color:#3d5c4e}
#home177 .ce-home-country{border-top:0;padding-top:0;margin-bottom:40px}
#home177 .ce-city-heading,#home177 .hx-camps .ce-city-heading{background:transparent;border-radius:0;border-bottom:1px solid #cbd8cd;padding:4px 0 12px;margin-bottom:18px}
#home177 .ce-city-heading h3{font-size:23px;font-weight:650;padding-left:11px;border-left:3px solid #b4985c;line-height:1.25}
#home177 .hx-pathway{padding:32px;background:#f7f8f3;border:1px solid #d6e1d6;border-radius:5px}
#home177 .hx-pathway h2,#home177 .hx-contact h2,#home177 .family-season-strip>h2{font-size:clamp(30px,2.8vw,38px);font-weight:750;line-height:1.25;background:#e2ece4;color:#123f32;border-left:5px solid #125640;padding:18px 20px;margin:12px 0 24px;letter-spacing:-.025em}
#home177 .hx-pathway h2::after,#home177 .hx-contact h2::after,#home177 .family-season-strip>h2::after{content:none}
#home177 .hx-language{background:#f7f8f3}
#home177 .hx-visa{padding:38px 42px;border-radius:5px}
#home177 .hx-visa h2{font-size:clamp(30px,2.8vw,38px);font-weight:750;line-height:1.25;border-left:5px solid #d9c18c;padding:8px 0 8px 20px;margin:14px 0 20px}
#home177 .hx-visa h2::after{content:none}
#home177 .hx-contact{padding-top:60px;padding-bottom:60px}
@media(max-width:700px){
#home177 .hx-section-top{padding:23px 18px 22px;border-left-width:5px;margin-bottom:26px;gap:16px}
#home177 .hx-section-top h2{font-size:31px;line-height:1.25;margin-top:7px;margin-bottom:12px}
#home177 .ce-city-heading,#home177 .hx-camps .ce-city-heading{padding:3px 0 11px;margin-bottom:15px}
#home177 .ce-city-heading h3{font-size:21px}
#home177 .ce-home-country{margin-bottom:30px}
#home177 .hx-pathway{padding:22px 18px}
#home177 .hx-pathway h2,#home177 .hx-contact h2,#home177 .family-season-strip>h2{font-size:29px;padding:15px 16px;margin-bottom:21px}
#home177 .hx-visa{padding:26px 22px}
#home177 .hx-visa h2{font-size:29px;padding-left:16px}
#home177 .hx-contact{padding-top:42px;padding-bottom:42px}
}
/* Primary catalogue entrances, distinct from secondary country links. */
#home177 .hx-section-top .hx-directory{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;background:#125640;color:#fff;border:1px solid #125640;border-radius:5px;font-size:16px;font-weight:600;line-height:1.4;text-decoration:none;white-space:normal;flex-shrink:0}
#home177 .hx-section-top .hx-directory:hover{background:#093f2e;border-color:#093f2e}
#home177 .hx-section-top .hx-directory:focus-visible{outline:3px solid #b4985c;outline-offset:4px}
