/* PAGE HERO — Soft Diagonal Gradient */
.page-hero{position:relative;min-height:max(620px,88vh);overflow:hidden;border-bottom:1px solid var(--border)}
.page-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.page-hero-blend{position:absolute;inset:0;z-index:2;background:linear-gradient(125deg,rgba(255,255,255,1.0) 0%,rgba(255,255,255,1.0) 28%,rgba(255,255,255,0.92) 38%,rgba(255,255,255,0.65) 50%,rgba(255,255,255,0.2) 62%,transparent 74%)}
@media(max-width:900px){.page-hero-blend{background:rgba(255,255,255,0.97)!important}}
.page-hero-inner{position:relative;z-index:3;max-width:1280px;margin:0 auto;padding:80px 40px 64px;display:flex;flex-direction:column}
.page-hero-inner .breadcrumb,.page-hero-inner .section-tag,.page-hero-inner h1,.page-hero-inner .page-hero-sub,.page-hero-inner .hero-actions{max-width:560px}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-light);margin-bottom:32px}
.breadcrumb a{color:var(--text-light);text-decoration:none;transition:color .2s}
.breadcrumb a:hover{color:var(--text)}
.breadcrumb-sep{color:var(--border-mid)}
.page-hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(42px,6vw,76px);font-weight:500;line-height:1.06;letter-spacing:-0.01em;color:var(--navy);max-width:720px;margin-bottom:24px}
.page-hero h1 em{font-style:italic;color:var(--red)}
.page-hero-sub{font-size:17px;color:var(--text-mid);max-width:560px;line-height:1.75;font-weight:300;margin-bottom:40px}
.page-hero-meta{display:flex;flex-wrap:wrap;gap:32px;border-top:1px solid rgba(15,30,60,0.12);padding-top:32px;margin-top:40px;background:rgba(255,255,255,0.92);border-radius:10px;padding:24px 28px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.meta-label{font-size:10px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red);margin-bottom:6px}
.meta-value{font-size:14px;color:var(--navy);font-weight:500}

/* LAYOUT */
.page-body{background:var(--off)}
.page-body-inner{max-width:1280px;margin:0 auto;padding:80px 40px;display:grid;grid-template-columns:1fr 340px;gap:64px;align-items:start}

/* CONTENT */
.content-block{margin-bottom:56px}
.content-block:last-child{margin-bottom:0}
.content-label{font-size:10px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--red);margin-bottom:16px}
.content-block h2{font-family:'Cormorant Garamond',serif;font-size:36px;font-weight:500;color:var(--navy);margin-bottom:16px;line-height:1.15}
.content-block p{font-size:15px;color:var(--text-mid);line-height:1.8;font-weight:300;margin-bottom:16px}
.content-block p:last-child{margin-bottom:0}
.content-block a.inline-link{color:var(--red);text-decoration:none;font-weight:500;border-bottom:1px solid rgba(200,16,46,0.25)}
.content-block a.inline-link:hover{border-bottom-color:var(--red)}

/* CRITERIA */
.criteria-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:28px}
.criteria-item{background:var(--white);padding:24px;transition:background .2s}
.criteria-item:hover{background:var(--off)}
.criteria-num{font-family:'Cormorant Garamond',serif;font-size:11px;color:var(--red);letter-spacing:0.1em;margin-bottom:10px;font-weight:500}
.criteria-item h4{font-size:14px;font-weight:600;color:var(--navy);margin-bottom:6px}
.criteria-item p{font-size:12.5px;color:var(--text-light);line-height:1.7;font-weight:300;margin:0}

/* PRICING */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:28px}
.pricing-card{background:var(--white);padding:32px 24px;transition:background .2s}
.pricing-card:hover{background:var(--off)}
.pricing-card.featured{background:var(--navy)}
.pricing-card.featured:hover{background:#162444}
.pricing-tier{font-size:10px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red);margin-bottom:16px}
.pricing-card.featured .pricing-tier{color:rgba(255,255,255,0.6)}
.pricing-amount{font-family:'Cormorant Garamond',serif;font-size:42px;font-weight:500;color:var(--navy);line-height:1;margin-bottom:6px}
.pricing-card.featured .pricing-amount{color:#fff}
.pricing-note{font-size:11px;color:var(--text-light);margin-bottom:20px}
.pricing-card.featured .pricing-note{color:rgba(255,255,255,0.55)}
.pricing-divider{height:1px;background:var(--border);margin-bottom:20px}
.pricing-card.featured .pricing-divider{background:rgba(255,255,255,0.1)}
.pricing-features{display:flex;flex-direction:column;gap:8px}
.pricing-feature{font-size:12.5px;color:var(--text-mid);padding-left:14px;position:relative;font-weight:300}
.pricing-feature::before{content:'';position:absolute;left:0;top:8px;width:5px;height:1px;background:var(--red)}
.pricing-card.featured .pricing-feature{color:rgba(255,255,255,0.6)}
.pricing-card.featured .pricing-feature::before{background:rgba(255,255,255,0.3)}
.pricing-addon{border:1px dashed var(--border-mid);border-radius:8px;padding:16px 24px;margin-top:12px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.pricing-addon-label{font-size:9px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--text-light);white-space:nowrap;min-width:72px}
.pricing-addon-amount{font-family:'Cormorant Garamond',serif;font-size:26px;font-weight:500;color:var(--navy);white-space:nowrap}
.pricing-addon-note{font-size:11.5px;color:var(--text-light)}
.pricing-addon-features{display:flex;gap:14px;flex-wrap:wrap;padding-left:12px;border-left:1px solid var(--border)}
.pricing-addon-feature{font-size:11.5px;color:var(--text-mid)}
.pricing-addon-feature::before{content:'·';color:var(--red);margin-right:4px}

/* TIMELINE */
.timeline{display:flex;flex-direction:column;gap:0;margin-top:28px;position:relative}
.timeline::before{content:'';position:absolute;left:18px;top:24px;bottom:24px;width:1px;background:var(--border)}
.timeline-item{display:grid;grid-template-columns:36px 1fr;gap:20px;align-items:start;padding:0 0 32px}
.timeline-item:last-child{padding-bottom:0}
.timeline-dot{width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:var(--white);display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',serif;font-size:14px;color:var(--gold);position:relative;z-index:1;flex-shrink:0}
.timeline-content h4{font-size:14px;font-weight:600;color:var(--navy);margin-bottom:4px;padding-top:6px}
.timeline-content p{font-size:12.5px;color:var(--text-light);line-height:1.7;font-weight:300;margin:0}
.timeline-duration{display:inline-block;font-size:10px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--red);margin-top:6px}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:28px;overflow-anchor:none}
.faq-item{background:var(--white)}
.faq-q{width:100%;text-align:left;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:500;color:var(--navy);cursor:pointer;border:none;background:none;font-family:'Figtree',sans-serif;gap:16px;transition:background .2s}
.faq-q:hover{background:var(--off)}
.faq-icon{width:20px;height:20px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:border-color .2s,background .2s}
.faq-icon::after{content:'+';font-size:13px;color:var(--text-light);line-height:1}
.faq-item.open .faq-q{background:var(--off)}
.faq-item.open .faq-icon{background:var(--red);border-color:var(--red)}
.faq-item.open .faq-icon::after{content:'−';color:#fff}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(.4,0,.2,1)}
.faq-item.open .faq-a{max-height:300px}
.faq-a-inner{padding:16px 24px 22px;font-size:13.5px;color:var(--text-mid);line-height:1.8;font-weight:300}

/* SIDEBAR */
.sidebar{position:sticky;top:80px}
.sidebar-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:32px;margin-bottom:20px}
.sidebar-card-title{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:500;color:var(--navy);margin-bottom:12px}
.sidebar-card p{font-size:13px;color:var(--text-mid);line-height:1.75;font-weight:300;margin-bottom:20px}
.sidebar-nav-label{font-size:11px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--text-light);margin-bottom:12px}
.sidebar-links{display:flex;flex-direction:column;gap:2px}
.sidebar-link{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:6px;text-decoration:none;font-size:13px;color:var(--text-mid);font-weight:500;transition:background .2s,color .2s}
.sidebar-link:hover{background:var(--off);color:var(--navy)}
.sidebar-link.active{background:var(--off);color:var(--navy);font-weight:600}
.sidebar-link::after{content:'→';color:var(--red);font-size:12px;opacity:0;transition:opacity .2s}
.sidebar-link:hover::after,.sidebar-link.active::after{opacity:1}
.sidebar-note{background:rgba(200,16,46,0.04);border:1px solid rgba(200,16,46,0.12);border-radius:8px;padding:20px}
.sidebar-note p{font-size:12px;color:var(--text-mid);line-height:1.75;margin:0;font-weight:300}
.sidebar-note strong{color:var(--navy);font-weight:600}

/* MOBILE */
@media(max-width:768px){
  .page-hero{height:auto;min-height:88vh}
  .page-hero-inner{padding:56px 24px 48px;justify-content:flex-start}
  .page-body-inner{grid-template-columns:1fr;padding:48px 24px}
  .pricing-grid{grid-template-columns:1fr}
  .criteria-grid{grid-template-columns:1fr}
  .sidebar{position:static;margin-top:0}
  .guides-grid{grid-template-columns:1fr!important}
  .related-guides-inner{padding:56px 24px}
  .related-guides-header{flex-direction:column;gap:12px}
}

/* RELATED GUIDES */
.related-guides{background:var(--white);border-top:1px solid var(--border)}
.related-guides-inner{max-width:1280px;margin:0 auto;padding:72px 40px}
.related-guides-header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:36px}
.related-guides-header-left h2{font-family:'Cormorant Garamond',serif;font-size:32px;font-weight:500;color:var(--navy);line-height:1.15;margin-top:8px;margin-bottom:0}
.related-guides-all{font-size:12.5px;color:var(--text-light);text-decoration:none;display:flex;align-items:center;gap:6px;transition:color .2s;white-space:nowrap;flex-shrink:0}
.related-guides-all:hover{color:var(--navy)}
.related-guides-all svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.related-guides-all:hover svg{transform:translateX(3px)}
.guides-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden}
.guide-card{background:var(--white);padding:28px 24px;text-decoration:none;display:flex;flex-direction:column;transition:background .2s}
.guide-card:hover{background:var(--off)}
.guide-tag{font-size:9px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--red);margin-bottom:12px}
.guide-title{font-size:14px;font-weight:500;color:var(--navy);line-height:1.45;margin-bottom:10px}
.guide-desc{font-size:12px;color:var(--text-light);line-height:1.7;font-weight:300;flex:1;margin-bottom:20px}
.guide-arrow{font-size:11px;color:var(--red);display:flex;align-items:center;gap:5px;opacity:0;transform:translateX(-4px);transition:opacity .2s,transform .2s}
.guide-card:hover .guide-arrow{opacity:1;transform:none}

/* LOCATION PAGE — additional components */

/* Institution grid */
.inst-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:28px}
.inst-item{background:var(--white);padding:20px 24px;transition:background .2s}
.inst-item:hover{background:var(--off)}
.inst-name{font-size:13px;font-weight:600;color:var(--navy);margin-bottom:4px}
.inst-note{font-size:12px;color:var(--text-light);line-height:1.65;font-weight:300}

/* Profile cards */
.profile-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:28px}
.profile-card{background:var(--white);padding:28px 24px}
.profile-card-role{font-size:10px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red);margin-bottom:4px}
.profile-card-inst{font-size:12px;color:var(--text-light);margin-bottom:14px;font-weight:300}
.profile-card h4{font-family:'Cormorant Garamond',serif;font-size:18px;font-weight:500;color:var(--navy);margin-bottom:14px;line-height:1.35}
.profile-ev-list{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.profile-ev{font-size:12px;color:var(--text-mid);padding-left:14px;position:relative;font-weight:300;line-height:1.6}
.profile-ev::before{content:'';position:absolute;left:0;top:8px;width:5px;height:1px;background:var(--red)}
.profile-card-note{font-size:11.5px;color:var(--text-light);border-top:1px solid var(--border);padding-top:12px;line-height:1.65;font-weight:300;font-style:italic}

/* Criteria highlight list */
.criteria-highlight{display:flex;flex-direction:column;gap:0;margin-top:28px;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.criteria-hl-item{background:var(--white);padding:18px 24px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:52px 1fr;gap:16px;align-items:start;transition:background .2s}
.criteria-hl-item:last-child{border-bottom:none}
.criteria-hl-item:hover{background:var(--off)}
.criteria-hl-num{font-family:'Cormorant Garamond',serif;font-size:26px;font-weight:400;color:var(--red);line-height:1;padding-top:4px}
.criteria-hl-body h4{font-size:13px;font-weight:600;color:var(--navy);margin-bottom:4px}
.criteria-hl-body p{font-size:12px;color:var(--text-light);line-height:1.7;font-weight:300;margin:0}

/* Responsive tweaks */
@media(max-width:900px){
  .profile-cards{grid-template-columns:1fr}
  .inst-grid{grid-template-columns:1fr}
}

/* Treaty note (international pages: UK, Switzerland, Canada, Israel, Singapore) */
.treaty-note{background:rgba(200,16,46,0.04);border:1px solid rgba(200,16,46,0.16);border-radius:10px;padding:24px 28px;margin-top:28px}
.treaty-note-label{font-size:10px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red);margin-bottom:10px}
.treaty-note p{font-size:13.5px;color:var(--text-mid);line-height:1.8;font-weight:300;margin:0}
.treaty-note strong{color:var(--navy);font-weight:600}

/* NIW prong grid (used on niw-switzerland and available for future NIW pages) */
.prong-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-top:28px}
.prong-item{background:var(--white);padding:24px}
.prong-num{font-family:'Cormorant Garamond',serif;font-size:11px;color:var(--red);letter-spacing:0.1em;margin-bottom:10px;font-weight:500}
.prong-item h4{font-size:14px;font-weight:600;color:var(--navy);margin-bottom:6px}
.prong-item p{font-size:12.5px;color:var(--text-light);line-height:1.7;font-weight:300;margin:0}
@media(max-width:900px){.prong-grid{grid-template-columns:1fr}}
