/*!
Theme Name: Alto 
Theme URI: 
Author: Infernal Média
Author URI: https://infernal.media/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alto
*/

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html,
  body {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .fade {
    opacity: 1 !important;
    transform: none !important;
  }

  div[data-scroll-container] {
    margin-top: 0 !important;
  }

  * {
    /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .page-content {
    min-height: 100vh;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  .entry-images-ctn {
    break-after: page !important;
  }

  img {
    break-inside: avoid;
    max-width: 100% !important;
    display: block;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "" !important;
  }

  p,
  h2,
  h3,
  h1,
  h4 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    break-after: avoid;
  }

  h1 {
    font-size: 30px !important;
  }

  h2 {
    font-size: 26px !important;
  }

  h3 {
    font-size: 22px !important;
  }

  hr {
    margin: 20px 0 !important;
  }

  ul {
    list-style: square !important;
    padding: 0 !important;
    margin-left: 10px !important;
  }

  ul li {
    padding: 0 !important;
    font-size: 12px !important;
  }

  ul li::before {
    display: none;
  }

  p {
    font-size: 11px !important;
  }

  .container.fade.gutenberg.bordered-list.is-inview .item .content,
  .container.fade.gutenberg.bordered-list.is-inview .item .title {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .container.fade.gutenberg.bordered-list.is-inview .item .content p,
  .container.fade.gutenberg.bordered-list.is-inview .item .title p {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  .product_title {
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
  }

  .title-bg {
    padding: 0 !important;
    margin: 0;
  }

  .product-hero-ctn .entry-images-ctn {
    padding: 20px 80px !important;
  }

  .link-ctn,
  .white-part,
  .main-button,
  div:has(.main-header-ctn),
  footer,
  header,
  form,
  .socials-list-ctn,
  .cmplz-cookiebanner-container,
  .primary-menu,
  .secondary-menu,
  .menu-mobile-ctn,
  .main-footer,
  .pretty-embed,
  .footer-cta,
  .ancr-group.ancr-pos-top.ancr-sticky {
    display: none !important;
  }

  .gutenberg ul.is-style-bigger li p,
  .gutenberg ol.is-style-bigger li p {
    margin: 0 0 10px !important;
  }

  .gutenberg ol.is-style-bigger li:before {
    top: 20px !important;
    font-size: 45px !important;
  }

  .container {
    width: 100%;
    max-width: 100%;
    break-after: page !important;
  }

  .product-hero-ctn {
    break-before: avoid-page !important;
    margin-bottom: 20px !important;
    padding: 20px 0 !important;
  }

  .single-readingsheet-details .bordered-list {
    margin-bottom: 20px !important;
  }

  .gutenberg.extraits {
    margin-top: 30px !important;
  }

  .section-path {
    padding: 0 !important;
    margin: 0 !important;
    clip-path: none !important;
  }

  .text-hidden,
  .text-hidden.is-inview,
  .fade.is-inview {
    opacity: 1 !important;
    transform: none !important;
  }

  .page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
