/*
Theme Name: Why Canada Child
Theme URI: https://whycanada.ca/
Description: Why Canada｜为什么加拿大官方 Blocksy 子主题。
Author: Why Canada
Author URI: https://whycanada.ca/
Template: blocksy
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: whycanada-child
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root{--wc-red:#d61f26;--wc-ink:#222;--wc-muted:#666;--wc-soft:#f7f8fa;--wc-line:#e8e8e8;--wc-width:1320px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--wc-ink);font-family:Inter,"Noto Sans SC",sans-serif;background:#fff}.wc-container{width:min(var(--wc-width),calc(100% - 64px));margin-inline:auto}.wc-site a{text-decoration:none;color:inherit}.wc-header{height:90px;background:rgba(255,255,255,.98);border-bottom:1px solid #eee;position:sticky;top:0;z-index:999}.wc-header-inner{height:100%;display:flex;align-items:center}.wc-brand{display:flex;align-items:center;gap:14px;margin-right:auto}.wc-brand img{width:58px;height:58px;object-fit:contain;border-radius:50%}.wc-brand-copy{display:flex;flex-direction:column;gap:5px}.wc-brand-copy strong{font-size:18px}.wc-brand-copy small{font-size:12px;color:#777}.wc-nav ul{list-style:none;display:flex;gap:38px;margin:0;padding:0;font-weight:600}.wc-nav a{padding:34px 0;position:relative}.wc-nav .current-menu-item>a,.wc-nav a:hover{color:var(--wc-red)}.wc-nav .current-menu-item>a:after{content:"";position:absolute;height:2px;background:var(--wc-red);left:0;right:0;bottom:22px}.wc-search{font-size:25px;margin-left:34px}.wc-menu-toggle{display:none;border:0;background:transparent;font-size:27px}.wc-hero{height:690px;position:relative;overflow:hidden;background:url('assets/images/hero.jpg') center 58%/cover no-repeat}.wc-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.76) 47%,rgba(255,255,255,.13))}.wc-hero:after{content:"";position:absolute;bottom:-95px;left:-5%;width:110%;height:180px;background:#fff;border-radius:50% 50% 0 0/100% 100% 0 0}.wc-hero-content{position:relative;z-index:2;text-align:center;padding-top:42px}.wc-hero-logo{width:190px;height:190px;object-fit:contain;border-radius:50%;mix-blend-mode:multiply}.wc-hero h1{font-size:48px;line-height:1.25;margin:18px 0;color:#172439;letter-spacing:-2px}.wc-red{color:var(--wc-red)}.wc-hero p{font-size:21px;line-height:1.8;margin:0;color:#273444}.wc-actions{display:flex;justify-content:center;gap:24px;margin-top:28px}.wc-button{min-width:165px;height:50px;border-radius:28px;display:inline-grid;place-items:center;font-weight:700;border:1.5px solid var(--wc-red);transition:.2s}.wc-button:hover{transform:translateY(-2px)}.wc-button-primary{background:var(--wc-red);color:#fff!important}.wc-button-outline{background:#fff;color:var(--wc-red)!important}.wc-features{display:grid;grid-template-columns:repeat(5,1fr);padding:45px 0 75px}.wc-feature{text-align:center;padding:0 32px;border-right:1px solid var(--wc-line)}.wc-feature:last-child{border:0}.wc-feature-icon{display:block;height:54px;color:var(--wc-red);font:42px Georgia,serif}.wc-feature h3{font-size:17px;margin:14px 0}.wc-feature p{font-size:13px;color:var(--wc-muted);line-height:1.9;margin:0}.wc-section{padding:35px 0 75px}.wc-section-head{text-align:center;margin-bottom:34px}.wc-kicker{font-size:11px;color:var(--wc-red);font-weight:800;letter-spacing:2.5px}.wc-section-head h2{font-size:32px;margin:9px 0 11px}.wc-rule{width:45px;height:2px;background:var(--wc-red);display:block;margin:auto}.wc-article-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.wc-card{border:1px solid #e3e5e8;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 4px 18px rgba(30,40,50,.07);transition:.2s}.wc-card:hover{transform:translateY(-5px);box-shadow:0 10px 28px rgba(30,40,50,.12)}.wc-card img{width:100%;height:205px;object-fit:cover}.wc-card-body{padding:20px}.wc-tag{display:inline-block;background:#f2f2f2;color:#666;font-size:12px;padding:5px 9px}.wc-card h3{font-size:18px;line-height:1.5;margin:10px 0 7px}.wc-card p{font-size:13px;color:var(--wc-muted);line-height:1.8;min-height:70px}.wc-meta{display:flex;justify-content:space-between;border-top:1px solid var(--wc-line);padding-top:15px;margin-top:12px;font-size:11px;color:#888}.wc-more{width:190px;margin:35px auto 0}.wc-popular{background:var(--wc-soft);padding:70px 0}.wc-popular-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.wc-popular-item{display:flex;align-items:center;background:#fff;padding:28px;border:1px solid #eee}.wc-popular-item>strong{font:700 38px Georgia;color:#e4a3a6;margin-right:20px}.wc-popular-item span{display:flex;flex-direction:column;gap:10px}.wc-popular-item small{color:#888}.wc-popular-item i{margin-left:auto;color:var(--wc-red)}.wc-about{display:grid;grid-template-columns:340px 1fr;gap:90px;align-items:center;padding:90px}.wc-about-mark{width:290px;height:290px;border:7px solid var(--wc-red);border-radius:50%;display:grid;place-items:center;font:bold 220px/1 Georgia;color:var(--wc-red)}.wc-about h2{font-size:40px;margin:10px 0 20px}.wc-about p{font-size:16px;line-height:1.9;color:var(--wc-muted)}.wc-text-link{display:inline-block;color:var(--wc-red)!important;font-weight:700;margin-top:8px}.wc-elementor-area{padding:0}.wc-elementor-area:empty{display:none}.wc-newsletter{background:var(--wc-red);color:#fff}.wc-newsletter-inner{min-height:190px;display:flex;align-items:center;justify-content:space-between}.wc-newsletter h2{font-size:32px;margin:6px 0}.wc-newsletter p{margin:0;color:#ffe9e9}.wc-newsletter form{display:flex;width:470px}.wc-newsletter input{border:0;border-radius:5px 0 0 5px;padding:0 20px;height:54px;flex:1}.wc-newsletter button{height:54px;border:0;background:#222;color:#fff;width:105px;border-radius:0 5px 5px 0;font-weight:700}.wc-footer-grid{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:70px;padding:60px 0 55px}.wc-footer-brand img{width:65px;height:65px;float:left;margin:0 14px 5px 0;border-radius:50%}.wc-footer-grid p{color:#777;font-size:13px;line-height:1.8}.wc-footer-col{display:flex;flex-direction:column;gap:12px;font-size:13px;color:#555}.wc-footer-col h4{margin:0 0 7px;color:#222}.wc-copyright{min-height:62px;background:#202020;color:#aaa;display:flex;align-items:center;justify-content:space-between;padding-inline:max(32px,calc((100% - 1320px)/2));font-size:12px}.wc-content-shell{padding:70px 0;min-height:60vh}.wc-content-shell article{max-width:860px;margin:auto}.wc-entry-title{font-size:42px;line-height:1.3;margin:0 0 20px}.wc-entry-meta{color:#888;font-size:14px;margin-bottom:30px}.wc-entry-content{font-size:17px;line-height:1.9}.wc-entry-content img{max-width:100%;height:auto}.wc-list article{padding:28px 0;border-bottom:1px solid var(--wc-line)}.wc-list h2{margin:0 0 8px}.wc-list p{color:var(--wc-muted)}.wc-pagination{margin-top:35px}.wc-empty{text-align:center;padding:80px 0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1000px){.wc-nav{display:none}.wc-menu-toggle{display:block}.wc-features{grid-template-columns:repeat(2,1fr)}.wc-feature{border:0;padding:25px}.wc-feature:last-child{grid-column:1/-1}.wc-article-grid{grid-template-columns:repeat(2,1fr)}.wc-popular-grid{grid-template-columns:1fr}.wc-about{padding:70px 0;grid-template-columns:220px 1fr;gap:45px}.wc-about-mark{width:200px;height:200px;font-size:150px}.wc-footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:680px){.wc-container{width:calc(100% - 36px)}.wc-header{height:72px}.wc-brand img{width:46px;height:46px}.wc-brand-copy strong{font-size:15px}.wc-brand-copy small{font-size:10px}.wc-search{margin-left:12px}.wc-hero{height:600px}.wc-hero-content{padding:45px 18px 0}.wc-hero-logo{width:130px;height:130px}.wc-hero h1{font-size:34px;letter-spacing:-1px;margin-top:30px}.wc-hero p{font-size:16px}.wc-actions{gap:12px}.wc-button{min-width:135px}.wc-features{grid-template-columns:1fr;padding:25px 0 55px}.wc-feature,.wc-feature:last-child{grid-column:auto;border-bottom:1px solid var(--wc-line);padding:25px 18px}.wc-article-grid{grid-template-columns:1fr}.wc-popular{padding:55px 0}.wc-about{grid-template-columns:1fr;padding:60px 0;text-align:center}.wc-about-mark{margin:auto;width:160px;height:160px;font-size:120px}.wc-newsletter-inner{padding:45px 0;display:block;text-align:center}.wc-newsletter form{width:100%;margin-top:25px}.wc-footer-grid{grid-template-columns:1fr 1fr;gap:38px 24px}.wc-footer-brand{grid-column:1/-1}.wc-copyright{padding:20px;gap:8px;flex-direction:column}.wc-entry-title{font-size:32px}}
