/* =========================================================
   MAXALINE GLOBAL PROFESSIONAL UI PASS
   Consistent page titles, spacing, imagery, opportunity cards,
   CTAs and footer across all public pages.
========================================================= */
:root{--mx-brand-green:#01361D;--mx-brand-green-2:#064b2b;--mx-brand-pale:#f2f7f1;--mx-brand-line:#d9e5dc}

/* Shared page title / hero */
.pdf-page-hero{
  width:100%!important;
  max-width:none!important;
  min-height:330px!important;
  margin:0!important;
  padding:58px max(24px,calc((100vw - 1180px)/2))!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr)!important;
  align-items:center!important;
  gap:52px!important;
  background:#f3f7f3!important;
  border:0!important;
  box-sizing:border-box!important;
}
.pdf-page-hero>div{min-width:0!important}
.pdf-page-hero .pdf-label{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 14px!important;color:var(--mx-brand-green)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.14em!important;line-height:1.2!important}
.pdf-page-hero .pdf-label:before{content:"";display:block;width:28px;height:2px;background:var(--mx-brand-green)!important;flex:0 0 28px}
.pdf-page-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(38px,4.4vw,58px)!important;line-height:1.04!important;letter-spacing:-.035em!important;color:var(--mx-brand-green)!important;margin:0 0 16px!important;max-width:780px!important}
.pdf-page-hero p{max-width:720px!important;margin:0!important;color:#52665a!important;font-size:15px!important;line-height:1.7!important}
.pdf-page-hero .pdf-hero-image{width:100%!important;height:280px!important;max-height:none!important;min-height:0!important;display:block!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:12px!important;background:#e7eee8!important;box-shadow:0 12px 30px rgba(1,54,29,.07)!important}

/* Consistent public-page sections */
.pdf-section{width:100%!important;max-width:none!important;margin:0!important;padding:62px 0!important;background:#fff!important}
.pdf-section.alt{background:#f6f8f6!important}
.pdf-section .pdf-container{width:min(1180px,calc(100% - 48px))!important;margin:0 auto!important;padding:0!important}
.pdf-section + .pdf-section{margin-top:0!important}
.pdf-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
.pdf-card{border:1px solid var(--mx-brand-line)!important;border-radius:12px!important;padding:0 0 22px!important;overflow:hidden!important;box-shadow:0 5px 20px rgba(28,55,35,.035)!important;background:#fff!important}
.pdf-card h3,.pdf-card p,.pdf-card .pdf-link{margin-left:22px!important;margin-right:22px!important}
.pdf-card h3{margin-top:20px!important;font-size:20px!important;line-height:1.3!important;color:var(--mx-brand-green)!important}
.pdf-card p{font-size:14px!important;line-height:1.65!important;color:#617067!important}
.pdf-card-img{height:210px!important;min-height:210px!important;margin:0!important;overflow:hidden!important;background:#eef3ef!important}
.pdf-card-img img{width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;display:block!important;object-fit:cover!important;object-position:center!important}
.pdf-card .pdf-link{display:inline-flex!important;margin-top:14px!important;padding:8px 13px!important;border:1px solid var(--mx-brand-green)!important;border-radius:6px!important;color:var(--mx-brand-green)!important;font-size:12px!important;font-weight:800!important}
.pdf-card .pdf-link:hover{background:var(--mx-brand-green)!important;color:#fff!important}

/* Opportunities page: exactly 2 cards per row on desktop/tablet */
.pdf-opportunities-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
.pdf-opportunity{min-width:0!important;padding:24px!important;border:1px solid var(--mx-brand-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 5px 18px rgba(28,55,35,.035)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
.pdf-opportunity:hover{transform:translateY(-3px)!important;border-color:#b9cfbd!important;box-shadow:0 12px 28px rgba(28,55,35,.08)!important}
.pdf-opportunity .tag{font-size:11px!important;color:var(--mx-brand-green)!important;font-weight:800!important;letter-spacing:.02em!important;margin:0 0 10px!important}
.pdf-opportunity h3{font-size:21px!important;line-height:1.3!important;margin:0 0 8px!important;color:var(--mx-brand-green)!important}
.pdf-opportunity p{font-size:14px!important;line-height:1.6!important;margin:0!important;color:#617067!important}

/* Search/filter row */
.filters{display:grid!important;grid-template-columns:1.5fr 1fr 1fr auto!important;gap:12px!important;align-items:stretch!important;margin-bottom:28px!important}
.filters .input,.filters .select,.filters .btn{width:100%!important;min-width:0!important}

/* All page CTAs: copy on left, action on right */
.pdf-page-cta{padding:30px 0!important;background:var(--mx-brand-green)!important;color:#fff!important;margin:0!important}
.pdf-page-cta .container{width:min(1180px,calc(100% - 48px))!important;margin:0 auto!important;padding:0!important}
.pdf-page-cta .container>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:40px!important;width:100%!important}
.pdf-page-cta .cta-copy{min-width:0!important;flex:1 1 auto!important}
.pdf-page-cta .cta-copy>span{display:block!important;margin:0 0 7px!important;color:#d8e9d9!important;font-size:10px!important;font-weight:900!important;letter-spacing:.15em!important;line-height:1.2!important}
.pdf-page-cta h2{margin:0!important;color:#fff!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(22px,2.3vw,31px)!important;line-height:1.16!important;max-width:850px!important}
.pdf-page-cta .cta-copy p{margin:8px 0 0!important;color:#e0ece2!important;font-size:14px!important;line-height:1.55!important;max-width:760px!important}
.pdf-page-cta .cta-button,.pdf-page-cta a:not(.brand){flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:46px!important;padding:11px 18px!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:7px!important;background:#fff!important;color:var(--mx-brand-green)!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important}
.pdf-page-cta .cta-button:hover,.pdf-page-cta a:not(.brand):hover{background:#f2f7f1!important;border-color:#fff!important;color:var(--mx-brand-green)!important}
.pdf-page-cta .cta-button b{font-size:15px!important}

/* Footer */
.footer{background:#fff!important;color:#33463a!important;border-top:4px solid var(--mx-brand-green)!important;padding:0 0 18px!important}
.footer-top{width:min(1180px,calc(100% - 48px))!important;margin:0 auto!important;padding:46px 0 34px!important;display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)!important;gap:70px!important;align-items:start!important}
.footer-brand-block{min-width:0!important}
.footer .footer-brand{display:inline-flex!important;min-width:0!important}
.footer .footer-brand .brand-logo{width:210px!important;height:auto!important;max-width:100%!important}
.footer-tagline{margin:14px 0 7px!important;color:var(--mx-brand-green)!important;font-size:14px!important;font-weight:800!important}
.footer-description{max-width:520px!important;margin:0!important;color:#68776d!important;font-size:13px!important;line-height:1.65!important}
.footer-links{display:grid!important;grid-template-columns:repeat(2,minmax(120px,1fr))!important;gap:45px!important;margin:0!important}
.footer-links div{display:grid!important;gap:10px!important;min-width:0!important}
.footer-links b{font-size:11px!important;letter-spacing:.13em!important;color:var(--mx-brand-green)!important;margin:0 0 5px!important}
.footer-links a{font-size:13px!important;color:#5d6d63!important;transition:color .2s ease!important}
.footer-links a:hover{color:var(--mx-brand-green)!important}
.footer-bottom{width:min(1180px,calc(100% - 48px))!important;margin:0 auto!important;padding:17px 0 0!important;border-top:1px solid var(--mx-brand-line)!important;display:block!important;color:#7a877f!important;font-size:12px!important;letter-spacing:0!important}
.footer-bottom a{color:var(--mx-brand-green)!important;font-weight:900!important}
.footer-bottom a:hover{text-decoration:underline!important}
.footer-separator{margin:0 7px;color:#b1bdb4!important}

/* Keep section titles and content aligned to the same visual grid */
.section-head,.pdf-section-head{max-width:1180px;margin-left:auto!important;margin-right:auto!important}

@media(max-width:900px){
  .pdf-page-hero{grid-template-columns:1fr!important;gap:28px!important;padding:48px 24px!important}
  .pdf-page-hero .pdf-hero-image{height:280px!important}
  .pdf-section{padding:48px 0!important}
  .filters{grid-template-columns:1fr 1fr!important}
  .filters .btn{grid-column:1/-1}
  .footer-top{grid-template-columns:1fr!important;gap:30px!important}
}
@media(max-width:700px){
  .pdf-page-hero{padding:40px 18px!important;gap:22px!important}
  .pdf-page-hero h1{font-size:38px!important}
  .pdf-page-hero p{font-size:14px!important}
  .pdf-page-hero .pdf-hero-image{height:230px!important;border-radius:9px!important}
  .pdf-section .pdf-container,.pdf-page-cta .container,.footer-top,.footer-bottom{width:calc(100% - 32px)!important}
  .pdf-cards-grid,.pdf-opportunities-list{grid-template-columns:1fr!important}
  .pdf-card-img{height:190px!important;min-height:190px!important}
  .pdf-page-cta .container>div{display:block!important}
  .pdf-page-cta .cta-button,.pdf-page-cta a:not(.brand){margin-top:18px!important;width:auto!important}
  .filters{grid-template-columns:1fr!important}
  .filters .btn{grid-column:auto}
  .footer-top{padding:38px 0 28px!important}
  .footer-links{grid-template-columns:1fr 1fr!important;gap:28px!important}
}
@media(max-width:480px){
  .pdf-page-hero h1{font-size:34px!important}
  .pdf-page-hero .pdf-hero-image{height:205px!important}
  .pdf-card-img{height:175px!important;min-height:175px!important}
  .footer-links{grid-template-columns:1fr!important}
  .footer .footer-brand .brand-logo{width:185px!important}
}

/* Inner-page imagery: consistent premium framing without affecting the home hero */
.pdf-page-hero .pdf-hero-image{
  width:100%!important;
  height:280px!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
.pdf-card-img{
  width:100%!important;
  height:210px!important;
  min-height:210px!important;
  overflow:hidden!important;
}
.pdf-card-img img{
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  display:block!important;
}
@media (max-width: 900px){
  .pdf-page-hero .pdf-hero-image{height:280px!important;}
  .pdf-card-img{height:200px!important;min-height:200px!important;}
}
@media (max-width: 600px){
  .pdf-page-hero .pdf-hero-image{height:230px!important;border-radius:9px!important;}
  .pdf-card-img{height:190px!important;min-height:190px!important;}
}
