/*
Theme Name: C&M Homestay Modern V2
Description: Responsive C&M homepage with Customizer branding, imagery, copy and navigation. Standalone development theme.
Version: 2.3.3
Requires at least: 6.4
Requires PHP: 7.4
Author: C&M Homestay Agency
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cm-homestay-v2
*/
:root{--blue:#007fa8;--red:#c82e3e;--headline:64px;--logo:220px;--photo-position:center;--ink:#182633;--muted:#536371;--paper:#faf8f5}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:17px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-underline-offset:.22em}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--red);outline-offset:5px}.container{width:min(1200px,calc(100% - 64px));margin-inline:auto}.site-header{border-top:5px solid var(--blue);border-bottom:1px solid #e5e9eb;background:white}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:124px;padding-block:16px}.brand{flex-shrink:0;max-width:50%}.brand a{display:block;font-weight:800;text-decoration:none;line-height:1.25}.custom-logo{display:block;width:var(--logo);max-height:112px;object-fit:contain;object-position:left}.menu{display:flex;gap:24px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.menu a{display:block;padding:10px 0;color:var(--ink);text-decoration:none;font-size:15px;font-weight:650}.menu a:hover,.current-menu-item>a{color:var(--blue);text-decoration:underline}.menu li{position:relative}.menu .sub-menu{display:none;position:absolute;z-index:10;top:100%;left:0;min-width:220px;background:white;box-shadow:0 8px 30px #18263326;list-style:none;padding:12px 20px}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu .sub-menu .sub-menu{left:100%;top:0}.menu-toggle{display:none;background:#fff;border:1px solid var(--blue);border-radius:6px;padding:10px 16px;color:var(--ink)}.hero{background:var(--paper);padding:72px 0 80px}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:64px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800;color:var(--blue);margin:0 0 22px}h1,h2,h3{line-height:1.12;letter-spacing:-.04em;margin:0 0 24px;overflow-wrap:anywhere}h1{font-size:clamp(36px,5vw,var(--headline));max-width:14ch}h2{font-size:clamp(30px,3vw,44px);max-width:24ch}h3{font-size:27px;letter-spacing:-.025em}.intro{color:var(--muted);font-size:19px;max-width:52ch;margin-bottom:32px}.actions{display:flex;gap:14px;flex-wrap:wrap}.button{background:var(--blue);color:#fff;border:2px solid var(--blue);display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:14px 22px;border-radius:7px;font-weight:750;text-decoration:none;font-size:15px}.button:hover{filter:brightness(.88)}.button.secondary{background:transparent;color:var(--blue)}.hero-photo{padding:22px;border-radius:28px 28px 90px 28px;background:#f0e1dc;border-bottom:5px solid var(--red)}.hero-photo img{display:block;width:100%;height:490px;object-fit:cover;object-position:var(--photo-position);border-radius:14px 14px 66px 14px}.photo-placeholder{min-height:420px;display:grid;align-content:center;text-align:center;background:#e4f0f3;border-radius:14px;color:var(--blue)}.photo-placeholder span{font-size:90px;line-height:1}.photo-placeholder p{font-size:28px;font-weight:700;line-height:1.3}.section{padding-block:80px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px}.card{border:1px solid #dce3e7;border-top:3px solid var(--blue);padding:30px;border-radius:10px;scroll-margin-top:24px}.card:nth-child(3){border-top-color:var(--red)}.card p{color:var(--muted)}.card .card-number{font-size:12px;letter-spacing:.04em;color:var(--blue);font-weight:750;margin:0 0 32px}.text-link{font-weight:750;font-size:15px}.contact-band{background:var(--paper);padding:48px 0}.contact-band>.container{display:flex;justify-content:space-between;align-items:center;gap:30px}.contact-band h2{margin:0}.site-footer{padding:48px 0;background:#172d3b;color:#e8eff3}.site-footer p{margin:0 0 12px}.footer-brand{font-weight:800;font-size:22px}.site-footer a{color:white}.site-footer ul{list-style:none;padding:0;display:flex;gap:24px;flex-wrap:wrap}.small{font-size:13px;opacity:.8}.reading{max-width:850px;min-height:55vh}.reading h1{max-width:none}.reading article{margin-bottom:48px}.page-content>*{max-width:900px}.alignwide{max-width:100%}.aligncenter{margin-inline:auto}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:14px}.sticky{border-top:3px solid var(--blue)}.bypostauthor{border-left:2px solid var(--blue)}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{width:auto;height:auto;clip:auto;top:10px;left:10px;z-index:100;background:white;padding:12px}input,textarea,select{max-width:100%;padding:10px;border:1px solid #798993;border-radius:4px}.page-content iframe{max-width:100%}table{max-width:100%;display:block;overflow-x:auto}
@media(max-width:1100px){.header-inner{gap:20px}.menu{gap:16px}.hero-grid{gap:36px}.hero{padding-block:50px}.hero-photo img{height:440px}.card{padding:24px}}
@media(max-width:900px){.container{width:calc(100% - 40px)}.header-inner{flex-wrap:wrap;min-height:100px}.custom-logo{max-height:90px}.nav-ready .menu-toggle{display:block}.menu-toggle[hidden]{display:none}.nav-ready #primary-navigation{display:none}.nav-ready #primary-navigation.is-open{display:block}#primary-navigation{width:100%}.menu{display:block}.menu a{padding:12px}.menu .sub-menu,.menu .sub-menu .sub-menu{display:block;position:static;box-shadow:none;padding:0 0 0 18px;min-width:0;border-left:1px solid #dce3e7}.hero-grid{grid-template-columns:1fr 1fr;gap:28px}.hero-photo{padding:12px}.hero-photo img{height:400px}.cards{grid-template-columns:1fr}.card{padding:30px}.card .card-number{margin-bottom:20px}.section{padding-block:56px}}
@media(max-width:640px){.container{width:calc(100% - 36px)}.hero{padding:40px 0}.hero-grid{grid-template-columns:1fr;gap:36px}h1{font-size:clamp(36px,10vw,var(--headline));max-width:16ch}.intro{font-size:17px}.hero-photo img{height:360px}.hero-photo{border-radius:20px 20px 60px 20px}.hero-photo img{border-radius:10px 10px 45px 10px}.contact-band>.container{display:block}.contact-band .button{margin-top:24px}.actions .button{flex:1 1 180px}.section{padding-block:48px}.brand{max-width:65%}.custom-logo{max-width:100%}.photo-placeholder{min-height:300px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Homepage expansion, 2.1 */
.header-inner{min-height:136px}.custom-logo{max-height:120px}.menu a{font-size:16px}.hero{padding-block:80px;background:linear-gradient(115deg,#faf8f5 65%,#eaf4f6 65%)}.hero-note{font-size:13px;color:var(--muted);margin:24px 0 0}.hero-photo{box-shadow:0 22px 60px #18263312}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:48px;margin-bottom:40px}.section-heading h2{margin-bottom:0}.section-heading>p{max-width:40ch;color:var(--muted)}.trust-section{background:#f3f8f9}.trust-grid,.host-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.trust-points article{display:flex;gap:22px;padding:24px 0;border-bottom:1px solid #d3e0e4}.trust-points article:first-child{padding-top:0}.trust-points h3{font-size:22px;margin-bottom:8px}.trust-points p{margin:0;color:var(--muted)}.step{color:var(--blue);font-weight:800;font-size:14px;padding-top:4px}.city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.city-card{border:1px solid #dce3e7;border-radius:12px;overflow:hidden;background:white}.city-banner{min-height:210px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;background:#e2f0f5;color:#164c61;border-bottom:4px solid var(--blue)}.city-banner span{font-size:11px;letter-spacing:.15em;font-weight:800}.city-banner strong{font-size:36px;letter-spacing:-.04em}.city-vancouver{background:#e8efea;color:#254c42}.city-montreal{background:#f7e9e5;color:#833c42;border-bottom-color:var(--red)}.city-body{padding:28px}.city-body .eyebrow{margin-bottom:14px}.city-body h3{font-size:25px}.city-body p:not(.eyebrow){color:var(--muted)}.host-section{background:var(--paper)}.host-art{background:var(--blue);color:white;min-height:360px;border-radius:12px 12px 80px 12px;display:flex;flex-direction:column;justify-content:space-between;padding:40px;border-bottom:6px solid var(--red)}.host-art span{font-size:12px;letter-spacing:.16em}.host-art strong{font-size:clamp(30px,3.5vw,46px);line-height:1.15;letter-spacing:-.04em}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:64px}.site-footer h2{font-size:16px;letter-spacing:0;margin-bottom:20px}.footer-grid ul{display:block;margin:0}.footer-grid li{margin-bottom:10px}.footer-grid p{max-width:36ch}.footer-bottom{border-top:1px solid #ffffff26;margin-top:40px;padding-top:24px;display:flex;justify-content:space-between;gap:24px;align-items:center}.footer-bottom ul{margin:0}.card{display:flex;flex-direction:column}.card .text-link{margin-top:auto}.card:target{outline:3px solid var(--blue);outline-offset:5px}.hero .button{min-height:54px}.destinations{scroll-margin-top:24px}
@media(min-width:901px){.menu>li:last-child>a{padding:10px 16px;border:1px solid var(--blue);border-radius:6px}.brand{min-width:210px}.custom-logo{width:max(var(--logo),210px)}}
@media(max-width:1000px){.trust-grid,.host-grid{gap:36px}.city-grid{gap:16px}.city-body{padding:22px}.city-banner{padding:22px}.city-banner strong{font-size:30px}.footer-grid{gap:32px}}
@media(max-width:760px){.trust-grid,.host-grid,.city-grid,.footer-grid{grid-template-columns:1fr}.section-heading{display:block}.section-heading>p{max-width:none;margin-top:24px}.hero{background:var(--paper)}.city-banner{min-height:170px}.host-art{min-height:300px}.footer-bottom{align-items:start;flex-direction:column}.footer-grid{gap:36px}.trust-grid{gap:24px}}



.cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card#students { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(20px,5vw,72px); }
.student-photo,.barbecue-photo { display: block; width: 100%; height: auto; border-radius: 12px; }
.student-photo { max-height: 390px; object-fit: cover; }
.barbecue-photo { border-bottom-right-radius: 64px; }
@media (max-width: 700px) {
  .cards,.card#students { grid-template-columns: 1fr; }
  .student-photo { max-height: none; }
}

.audience-photo { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 24px; }




