/* ============================================================
   PRINT STYLES — proteallp.com/people/alix-herber/
   
   DEPLOY: WP Admin → Appearance → Customize → Additional CSS
   
   Layout: Photo right-aligned, name/title/contact left.
   Content sections use browser native column wrapping.
   April 2026.
   ============================================================ */

@media print {

  @page {
    margin: 18mm 16mm 18mm 16mm;
    size: letter portrait;
  }

  /* --- HIDE CHROME --- */
  .elementor-location-header,
  .elementor-location-footer,
  header,
  footer,
  #wpadminbar,
  .ph-sticky-header,
  .dt-sticky-placeholder {
    display: none !important;
  }

  /* --- HIDE NON-PRINT ELEMENTS --- */
  .elementor-element-0702a68 a[href$=".vcf"] { display: none !important; }
  .elementor-element-0702a68 a[href*="linkedin"],
  .elementor-element-0702a68 img[alt*="LinkedIn"],
  .elementor-element-0702a68 img[src*="linkedin"] { display: none !important; }
  .elementor-element-8d2810f { display: none !important; }
  .elementor-widget-spacer,
  .elementor-widget-divider { display: none !important; }
  .elementor-widget-the7_button_widget,
  .elementor-widget-button { display: none !important; }

  /* --- HERO: Photo right, text left --- */
  .elementor-element-4b4f190 {
    padding: 0 0 6pt 0 !important;
    border-bottom: 1pt solid #ccc !important;
    margin-bottom: 2pt !important;
  }
  .elementor-element-4b4f190 > .elementor-container {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }
  .elementor-element-aaefd70 {
    flex: 0 0 130pt !important;
    width: 130pt !important;
    max-width: 130pt !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .elementor-element-aaefd70 img,
  .elementor-element-76b5ec7 img {
    width: 100pt !important;
    max-width: 100pt !important;
    height: auto !important;
    object-fit: contain !important;
    overflow: visible !important;
  }
  .elementor-element-0d3601f {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }
  .elementor-element-0d3601f > .elementor-widget-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-content: flex-start !important;
    align-items: flex-start !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .elementor-element-5e33e4f { order: 1 !important; margin-bottom: 1pt !important; }
  .elementor-element-271474c { order: 2 !important; margin-bottom: 4pt !important; }
  .elementor-element-0702a68 { order: 3 !important; margin-bottom: 0 !important; }

  /* --- SECTION SPACING --- */
  .elementor-top-section {
    padding-top: 2pt !important;
    padding-bottom: 2pt !important;
  }

  /* --- BASE TYPOGRAPHY --- */
  body {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 10.5pt !important;
    line-height: 1.4 !important;
    color: #111 !important;
  }

  /* --- NAME: Alix P. Herber (h2) --- */
  #main .elementor-element-5e33e4f h2.elementor-heading-title,
  #main .elementor-element-5e33e4f .elementor-heading-title,
  #main .elementor-element-5e33e4f h2 {
    font-family: Georgia, serif !important;
    font-size: 20pt !important;
    font-weight: bold !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 0 1pt 0 !important;
    line-height: 1.2 !important;
    color: #111 !important;
  }
  .elementor-element-5e33e4f {
    --the7-h2-text-transform: none !important;
  }

  /* --- ROLE: Founder & Partner (h4) --- */
  #main .elementor-element-271474c h4.elementor-heading-title,
  #main .elementor-element-271474c .elementor-heading-title,
  .elementor-element-271474c h4 {
    font-family: Georgia, serif !important;
    font-size: 8pt !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5pt !important;
    color: #555 !important;
    text-align: left !important;
    margin: 0 !important;
  }

  /* --- TAGLINE + CONTACT --- */
  .elementor-element-0702a68 h3 {
    font-size: 9pt !important;
    font-style: italic !important;
    margin: 0 0 3pt 0 !important;
    line-height: 1.3 !important;
  }
  .elementor-element-0702a68 p,
  .elementor-element-0702a68 div:not(.alix-profile-actions) {
    font-size: 9pt !important;
    line-height: 1.3 !important;
    margin: 0 0 1pt 0 !important;
  }

  /* --- QR CODE --- */
  .elementor-element-0702a68 img[alt*="QR"] {
    width: 45pt !important;
    height: 45pt !important;
    margin-top: 2pt !important;
  }

  /* --- SECTION HEADINGS (all h3) --- */
  #main h3 {
    font-family: Georgia, serif !important;
    font-size: 11pt !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5pt !important;
    border-bottom: 0.75pt solid #999 !important;
    padding-bottom: 2pt !important;
    margin: 6pt 0 3pt 0 !important;
    color: #111 !important;
  }

  /* --- BODY TEXT --- */
  #main p {
    font-size: 10pt !important;
    text-align: left !important;
    margin: 0 0 3pt 0 !important;
    line-height: 1.35 !important;
    orphans: 3;
    widows: 3;
  }

  /* --- ICON LISTS --- */
  .elementor-icon-list-icon svg {
    fill: #333 !important;
    color: #333 !important;
    width: 9pt !important;
    height: 9pt !important;
  }
  .elementor-icon-list-text {
    font-size: 9.5pt !important;
    color: #111 !important;
  }
  .elementor-icon-list-item {
    margin-bottom: 1pt !important;
  }

  /* --- LINKS --- */
  a, a:visited {
    color: #111 !important;
    text-decoration: none !important;
  }
  a[href]::after {
    content: none !important;
  }

  /* --- STRIP BACKGROUNDS --- */
  .elementor-section,
  .elementor-column,
  .e-con,
  .elementor-widget,
  #main,
  .content,
  .page-inner {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  /* --- PAGE BREAKS --- */
  h2, h3 { page-break-after: avoid !important; }
  p, li { page-break-inside: avoid !important; }



  /* ----------------------------------------------------------
     14. CONTENT — reset Elementor stretch-section inline styles
     Sections have inline: width:1624px; left:-242px which
     pushes content off-page in print.
  ---------------------------------------------------------- */
  .elementor-top-section,
  .elementor-section {
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    position: relative !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #main .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* ----------------------------------------------------------
     15. RESET ELEMENTOR ANIMATIONS — force visible in print
     Elements with entrance animations stay at opacity:0 and
     offset transforms since scroll events don't fire in print.
  ---------------------------------------------------------- */
  .elementor-invisible,
  .elementor-widget.elementor-invisible {
    visibility: visible !important;
    opacity: 1 !important;
  }

  [data-settings*="animation"],
  .elementor-element[data-settings],
  .animated,
  .elementor-widget,
  .elementor-column,
  .elementor-section,
  .elementor-top-section,
  .e-con {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    visibility: visible !important;
  }


  /* ----------------------------------------------------------
     16. STRIP ALL SECTION BORDERS — prevents stray lines
     The line above Education comes from Recognitions section
  ---------------------------------------------------------- */
  .elementor-top-section,
  .elementor-top-section::before,
  .elementor-top-section::after,
  .elementor-top-section > .elementor-container,
  .elementor-top-section > .elementor-container::before,
  .elementor-top-section > .elementor-container::after {
    border: none !important;
    outline: none !important;
  }

  /* Re-apply only the hero bottom border */
  .elementor-element-4b4f190 {
    border-bottom: 1pt solid #ccc !important;
  }

  /* Re-apply heading underlines */
  #main h3 {
    border-bottom: 0.75pt solid #999 !important;
  }


  /* Hide empty heading elements (Education has a ghost h3) */
  #main h3:empty,
  .elementor-heading-title:empty {
    display: none !important;
  }


  /* Hide Print Profile button in print */
  .print-profile-btn {
    display: none !important;
  }

} /* End @media print */

/* === News list alignment (DASTech) === */
.e-loop-item h3.the7-heading-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.e-loop-item .elementor-widget-text-editor{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
/* === end News list alignment === */

/* === Chambers 2027 hero, variant B (DASTech) === */
/* Award cards are 3:2 but this hero band is 2.76:1, so the featured image was
   being cropped ~45%. These five posts use a banner drawn at the band's own
   ratio instead; the featured image stays the 3:2 card for the News archive,
   the mailer and social. Phones fall back to the card. */
body.postid-98809 .elementor-element-5245d46b{
  background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-hero-group-2400x876-1.png) !important;
  background-size:cover !important;
  background-position:right center !important;
  background-color:#A7BCA5 !important;
  min-height:600px !important;
}
@media (max-width:1024px){
  body.postid-98809 .elementor-element-5245d46b{
    background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-group-1200x800-FINAL.png) !important;
    background-size:100% auto !important;
    background-position:top center !important;
    height:auto !important;
    min-height:0 !important;
    padding-top:66.6667% !important;
  }
}
body.postid-98814 .elementor-element-5245d46b{
  background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-hero-alix-herber-2400x876-1.png) !important;
  background-size:cover !important;
  background-position:right center !important;
  background-color:#A7BCA5 !important;
  min-height:600px !important;
}
@media (max-width:1024px){
  body.postid-98814 .elementor-element-5245d46b{
    background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-alix-herber-1200x800-FINAL.png) !important;
    background-size:100% auto !important;
    background-position:top center !important;
    height:auto !important;
    min-height:0 !important;
    padding-top:66.6667% !important;
  }
}
body.postid-98816 .elementor-element-5245d46b{
  background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-hero-erin-porter-2400x876-1.png) !important;
  background-size:cover !important;
  background-position:right center !important;
  background-color:#A7BCA5 !important;
  min-height:600px !important;
}
@media (max-width:1024px){
  body.postid-98816 .elementor-element-5245d46b{
    background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-erin-porter-1200x800-FINAL.png) !important;
    background-size:100% auto !important;
    background-position:top center !important;
    height:auto !important;
    min-height:0 !important;
    padding-top:66.6667% !important;
  }
}
body.postid-98818 .elementor-element-5245d46b{
  background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-hero-marc-rodrigue-2400x876-1.png) !important;
  background-size:cover !important;
  background-position:right center !important;
  background-color:#A7BCA5 !important;
  min-height:600px !important;
}
@media (max-width:1024px){
  body.postid-98818 .elementor-element-5245d46b{
    background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-marc-rodrigue-1200x800-FINAL.png) !important;
    background-size:100% auto !important;
    background-position:top center !important;
    height:auto !important;
    min-height:0 !important;
    padding-top:66.6667% !important;
  }
}
body.postid-98820 .elementor-element-5245d46b{
  background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-hero-jake-wagner-2400x876-1.png) !important;
  background-size:cover !important;
  background-position:right center !important;
  background-color:#A7BCA5 !important;
  min-height:600px !important;
}
@media (max-width:1024px){
  body.postid-98820 .elementor-element-5245d46b{
    background-image:url(https://proteallp.com/wp-content/uploads/2026/09/chambers-2027-jake-wagner-1200x800-FINAL.png) !important;
    background-size:100% auto !important;
    background-position:top center !important;
    height:auto !important;
    min-height:0 !important;
    padding-top:66.6667% !important;
  }
}
body.postid-98809 .elementor-element-5245d46b > .elementor-background-overlay,
body.postid-98814 .elementor-element-5245d46b > .elementor-background-overlay,
body.postid-98816 .elementor-element-5245d46b > .elementor-background-overlay,
body.postid-98818 .elementor-element-5245d46b > .elementor-background-overlay,
body.postid-98820 .elementor-element-5245d46b > .elementor-background-overlay{ display:none !important; }
body.postid-98809 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98814 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98816 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98818 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98820 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:50% !important; }
body.postid-98809 .elementor-element-5245d46b h1,
body.postid-98814 .elementor-element-5245d46b h1,
body.postid-98816 .elementor-element-5245d46b h1,
body.postid-98818 .elementor-element-5245d46b h1,
body.postid-98820 .elementor-element-5245d46b h1{ color:#16412e !important; }
body.postid-98809 .elementor-element-5245d46b h6,
body.postid-98814 .elementor-element-5245d46b h6,
body.postid-98816 .elementor-element-5245d46b h6,
body.postid-98818 .elementor-element-5245d46b h6,
body.postid-98820 .elementor-element-5245d46b h6{ color:#2f4a3c !important; }
@media (max-width:1024px){
body.postid-98809 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98814 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98816 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98818 .elementor-element-5245d46b .elementor-element-65f202c5,
body.postid-98820 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:100% !important; }
}
/* === end Chambers 2027 hero, variant B === */

/* === Best Law Firms 2027 hero (DASTech, post 98948) - solid grey v4, Maneli's notes 26 Oct + flower centred on the lettering === */
body.postid-98948 .elementor-element-5245d46b{ background-image:url(https://proteallp.com/wp-content/uploads/2026/10/best-law-firms-2027-hero-panel.png) !important; background-size:440px auto !important; background-position:right max(30px, calc(50vw - 540px)) center !important; background-repeat:no-repeat !important; background-color:#4A4F54 !important; min-height:600px !important; }
body.postid-98948 .elementor-element-5245d46b > .elementor-background-overlay{ display:none !important; }
body.postid-98948 .elementor-element-5245d46b h6{ color:#E2E9E1 !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-3b252cc{ display:none !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::before{ content:""; display:block; position:relative; z-index:1; background:url(https://proteallp.com/wp-content/uploads/2026/10/best-law-firms-2027-hero-protea-logo.png) no-repeat left center / contain; margin:0 0 30px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1{ font-size:0 !important; line-height:0 !important; color:#ffffff !important; width:fit-content !important; max-width:100% !important; background-image:url(https://proteallp.com/wp-content/uploads/2026/10/best-law-firms-2027-hero-flower-centred.png) !important; background-repeat:no-repeat !important; background-position:center !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before{ content:"Best Law Firms\A Canada 2027 Edition:"; display:block; white-space:pre-line; color:#ffffff; font-weight:600; text-shadow:0 0 2px #4A4F54, 0 0 10px #4A4F54; font-variant-numeric:lining-nums; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ content:"Labour and Employment Law\A Health Care Law"; display:block; white-space:pre-line; color:#E2E9E1; font-weight:500; text-shadow:0 0 2px #4A4F54, 0 0 10px #4A4F54; font-variant-numeric:lining-nums; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:650px !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::before{ width:300px; height:69px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1{ background-size:360px auto !important; padding:60px 0 !important; margin:-60px 0 !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before{ font-size:60px; line-height:68px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ font-size:34px; line-height:46px; margin-top:26px; }
@media (min-width:1025px) and (max-width:1300px){
  body.postid-98948 .elementor-element-5245d46b{ background-image:url(https://proteallp.com/wp-content/uploads/2026/10/best-law-firms-2027-hero-panel.png) !important; background-size:400px auto !important; background-position:right max(30px, calc(50vw - 540px)) center !important; background-repeat:no-repeat !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:600px !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::before{ width:270px; height:62px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1{ background-size:316px auto !important; padding:50px 0 !important; margin:-50px 0 !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before{ font-size:50px; line-height:58px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ font-size:30px; line-height:42px; margin-top:22px; }
}
@media (min-width:1025px) and (max-width:1150px){
  body.postid-98948 .elementor-element-5245d46b{ background-size:370px auto !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:540px !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::before{ width:250px; height:58px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1{ background-size:284px auto !important; padding:46px 0 !important; margin:-46px 0 !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before{ font-size:44px; line-height:52px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ font-size:28px; line-height:38px; margin-top:20px; }
}
@media (min-width:1601px){
body.postid-98948 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:690px !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::before{ width:320px; height:74px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1{ background-size:360px auto !important; padding:60px 0 !important; margin:-60px 0 !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before{ font-size:60px; line-height:68px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ font-size:34px; line-height:46px; margin-top:26px; }
}
@media (max-width:1024px){
  body.postid-98948 .elementor-element-5245d46b{ background-image:none !important; height:auto !important; min-height:0 !important; padding-top:0 !important; }
  body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::after{ content:""; display:block; position:relative; z-index:1; width:480px; max-width:100%; aspect-ratio:1108 / 566; background:url(https://proteallp.com/wp-content/uploads/2026/10/best-law-firms-2027-hero-panel.png) no-repeat left center / contain; margin-top:36px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:100% !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::before{ width:260px; height:60px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1{ background-size:280px auto !important; padding:40px 0 !important; margin:-40px 0 !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before{ font-size:50px; line-height:58px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ font-size:30px; line-height:40px; margin-top:18px; }
}
@media (max-width:767px){
  body.postid-98948 .elementor-element-5245d46b .elementor-element-d053706{ width:14px !important; max-width:14px !important; flex:0 0 14px !important; }
  body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::after{ margin-top:28px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-65f202c5{ max-width:100% !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36::before{ width:220px; height:51px; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1{ background-size:min(50vw, 200px) auto !important; padding:30px 0 !important; margin:-30px 0 !important; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before{ font-size:clamp(24px, 7.7vw, 30px); line-height:1.27; }
body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ font-size:clamp(16px, 5.1vw, 21px); line-height:1.43; margin-top:12px; }
  body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::before, body.postid-98948 .elementor-element-5245d46b .elementor-element-5c38de36 h1::after{ white-space:pre; }
}
/* === end Best Law Firms 2027 hero === */
