/* Cabo Christmas and New Year's guide only. Loaded solely on the two post IDs.
   Hides the Avada title bar and sidebar on those posts so the scoped hero and
   article can use the design-manual shell. Does not change tours or transfers. */

body.pv-scope.csl.cabo-xmas-nye .avada-page-titlebar-wrapper,
body.postid-7199 .avada-page-titlebar-wrapper,
body.postid-7200 .avada-page-titlebar-wrapper{
  display:none !important;
}
body.pv-scope.csl.cabo-xmas-nye #sidebar,
body.pv-scope.csl.cabo-xmas-nye aside#sidebar,
body.pv-scope.csl.cabo-xmas-nye .sidebar,
body.pv-scope.csl.cabo-xmas-nye .fusion-sidebar,
body.postid-7199 #sidebar,
body.postid-7199 aside#sidebar,
body.postid-7199 .sidebar,
body.postid-7199 .fusion-sidebar,
body.postid-7200 #sidebar,
body.postid-7200 aside#sidebar,
body.postid-7200 .sidebar,
body.postid-7200 .fusion-sidebar{
  display:none !important;
}
body.pv-scope.csl.cabo-xmas-nye #content,
body.pv-scope.csl.cabo-xmas-nye.has-sidebar #content,
body.pv-scope.csl.cabo-xmas-nye section#content,
body.postid-7199 #content,
body.postid-7199.has-sidebar #content,
body.postid-7199 section#content,
body.postid-7200 #content,
body.postid-7200.has-sidebar #content,
body.postid-7200 section#content{
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.pv-scope.csl.cabo-xmas-nye #main > .fusion-row,
body.postid-7199 #main > .fusion-row,
body.postid-7200 #main > .fusion-row{
  max-width:1100px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
}
body.pv-scope.csl.cabo-xmas-nye .post-content > .pv-hero,
body.pv-scope.csl.cabo-xmas-nye .pv-hero,
body.postid-7199 .post-content > .pv-hero,
body.postid-7199 .pv-hero,
body.postid-7200 .post-content > .pv-hero,
body.postid-7200 .pv-hero{
  margin-top:0;
}

/* Beat Avada heading typography (inline --fontSize and Open Sans) on this guide only. */
body.cabo-xmas-nye .pv-hero h1,
body.cabo-xmas-nye .pv-hero h1.fusion-responsive-typography-calculated,
body.postid-7199 .pv-hero h1,
body.postid-7199 .pv-hero h1.fusion-responsive-typography-calculated,
body.postid-7200 .pv-hero h1,
body.postid-7200 .pv-hero h1.fusion-responsive-typography-calculated{
  font-family:var(--pv-font-head)!important;
  font-weight:500!important;
  font-size:var(--pv-fs-display)!important;
  line-height:var(--pv-lh-tight)!important;
  letter-spacing:.005em;
  text-transform:none;
  color:#fff!important;
}
body.cabo-xmas-nye .pv-article :is(h2,h3,h4),
body.cabo-xmas-nye .pv-article :is(h2,h3,h4).fusion-responsive-typography-calculated,
body.postid-7199 .pv-article :is(h2,h3,h4),
body.postid-7199 .pv-article :is(h2,h3,h4).fusion-responsive-typography-calculated,
body.postid-7200 .pv-article :is(h2,h3,h4),
body.postid-7200 .pv-article :is(h2,h3,h4).fusion-responsive-typography-calculated{
  font-family:var(--pv-font-head)!important;
  font-weight:500!important;
  line-height:var(--pv-lh-tight)!important;
}
body.cabo-xmas-nye .pv-article h2,
body.postid-7199 .pv-article h2,
body.postid-7200 .pv-article h2{font-size:var(--pv-fs-h2)!important}
body.cabo-xmas-nye .pv-article h3,
body.postid-7199 .pv-article h3,
body.postid-7200 .pv-article h3{font-size:var(--pv-fs-h3)!important}

/* Avada button rules shrink .pv-btn to its content width. Stretch to the field. */
body.cabo-xmas-nye .pv-signup .pv-signup__form,
body.postid-7199 .pv-signup .pv-signup__form,
body.postid-7200 .pv-signup .pv-signup__form{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  width:100%;
}
body.cabo-xmas-nye .pv-signup .pv-input,
body.cabo-xmas-nye .pv-signup .pv-btn,
body.postid-7199 .pv-signup .pv-input,
body.postid-7199 .pv-signup .pv-btn,
body.postid-7200 .pv-signup .pv-input,
body.postid-7200 .pv-signup .pv-btn{
  display:flex!important;
  width:100%!important;
  max-width:none!important;
  flex:1 1 100%;
  align-self:stretch;
  box-sizing:border-box!important;
}

/* r3 in-paragraph tap targets on phones. The original rule was .pv-article>p a,
   which misses links in nested paragraphs (callouts and similar). Use padding on
   an inline link, not inline-flex, so the hit box is 44px, the line box does not
   grow, and trailing punctuation stays in the sentence. Signup fine print and
   ad annotation links are left alone. */
@media (max-width: 767px) {
  body.cabo-xmas-nye .pv-article p:not(.pv-signup__fine) a:not(.google-anno):not(.pv-btn),
  body.postid-7199 .pv-article p:not(.pv-signup__fine) a:not(.google-anno):not(.pv-btn),
  body.postid-7200 .pv-article p:not(.pv-signup__fine) a:not(.google-anno):not(.pv-btn){
    display:inline;
    padding-block:calc((var(--pv-tap) - 1em) / 2);
    margin-block:calc((1em - var(--pv-tap)) / 2);
  }
}
