/* PPC LABO navigation patch over the archived PPCLABO reference */
#masthead .ppc-phone-removed { display: none !important; }
#masthead .ppc-lang-switcher { display:flex; align-items:center; gap:8px; white-space:nowrap; }
#masthead .ppc-lang-switcher a { color:#111; text-decoration:none; font:500 13px/1.1 Geist, Arial, sans-serif; padding:8px 5px; opacity:.45; transition:opacity .18s ease; }
#masthead .ppc-lang-switcher a:hover, #masthead .ppc-lang-switcher a.is-active { opacity:1; }
#masthead .ppc-lang-switcher a.is-active { text-decoration:underline; text-underline-offset:4px; }
#masthead .ppc-langs-ready .header-btn-lang,
#masthead .ppc-langs-ready .other-langs-tabs { display:none !important; }
#masthead nav.elementor-nav-menu--main .menu-item-has-children { position:relative; }
#masthead nav.elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu { display:block !important; opacity:1 !important; visibility:visible !important; }
#masthead nav.elementor-nav-menu--dropdown .menu-item-has-children.ppc-open > .sub-menu { display:block !important; }
#masthead .ppc-menu-item > a { white-space:nowrap; }
@media (max-width: 1200px) {
  #masthead nav.elementor-nav-menu--main .elementor-item { padding-left:10px !important; padding-right:10px !important; }
  #masthead .ppc-lang-switcher { gap:4px; }
  #masthead .ppc-lang-switcher a { font-size:12px; padding-left:3px; padding-right:3px; }
}
/* Collapse the original desktop phone column instead of leaving an empty cell. */
@media (min-width: 1601px) {
  #masthead .elementor-element-87af38c { display:none !important; }
  #masthead .elementor-element-a444678 { width:16.4% !important; }
  #masthead .elementor-element-dbdf822 { width:76.2% !important; }
  #masthead .elementor-element-e00bc4d { width:7.4% !important; }
}

/* Keep long PPC LABO dropdown labels inside the menu. */
#masthead nav.elementor-nav-menu--main > ul > .menu-item-has-children > .sub-menu {
  width:max-content !important;
  min-width:470px !important;
  max-width:calc(100vw - 24px) !important;
}
#masthead nav.elementor-nav-menu--main > ul > .menu-item-has-children > .sub-menu .elementor-sub-item {
  white-space:nowrap !important;
  padding-right:30px !important;
}
#masthead .ppc-brand-wordmark {
  display:inline-block; color:#111; font:900 34px/1 Geist, Arial, sans-serif;
  letter-spacing:-1.4px; white-space:nowrap;
}
@media (max-width: 700px) {
  #masthead nav.elementor-nav-menu--main > ul > .menu-item-has-children > .sub-menu { min-width:0 !important; width:min(470px, calc(100vw - 16px)) !important; }
  #masthead nav.elementor-nav-menu--main > ul > .menu-item-has-children > .sub-menu .elementor-sub-item { white-space:normal !important; }
  #masthead .ppc-brand-wordmark { font-size:28px; }
}
#masthead .ppc-brand-link { display:inline-flex; align-items:center; color:#111; text-decoration:none !important; }

/* Static PPC LABO wordmarks: rendered directly in HTML to avoid PPCLABO flash. */
.ppc-inline-brand-wordmark {
  display:inline-block;
  color:#111 !important;
  font:900 clamp(30px, 3vw, 43px)/1 Geist, Arial, sans-serif;
  letter-spacing:-1.8px;
  white-space:nowrap;
  filter:none !important;
}
#masthead .ppc-static-brand-wordmark { display:inline-block; }
#masthead nav.elementor-nav-menu--dropdown ul[data-ppc-menu="1"] > li.menu-item-has-children:not(.ppc-open) > .sub-menu {
  display:none !important;
}
#masthead nav.elementor-nav-menu--dropdown ul[data-ppc-menu="1"] > li.menu-item-has-children.ppc-open > .sub-menu {
  display:block !important;
}

/* Footer PPC LABO wordmark replacing the archived PPCLABO image. */
.ppc-footer-brand-link {
  display:inline-flex;
  align-items:center;
  text-decoration:none !important;
}
.ppc-footer-brand-wordmark {
  display:inline-block;
  color:#fff !important;
  font:900 clamp(28px, 2.4vw, 38px)/1 Geist, Arial, sans-serif;
  letter-spacing:-1.6px;
  white-space:nowrap;
  text-transform:uppercase;
  filter:none !important;
}

/* Unified typographic contact block at the bottom of content pages. */
.ppc-bottom-contact-section {
  background:#fff !important;
  color:#111 !important;
  min-height:0 !important;
  height:auto !important;
  padding:72px 3vw 76px !important;
  margin:0 !important;
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box;
}
.ppc-bottom-contact-section > .ppc-bottom-contact {
  width:min(1400px,100%);
  margin:0 auto;
}
.ppc-bottom-contact-head {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:48px;
  align-items:end;
  padding-bottom:38px;
  border-bottom:1px solid #111;
}
.ppc-bottom-contact-head h2 {
  margin:0 !important;
  font-size:clamp(44px,5.4vw,82px) !important;
  line-height:.92 !important;
  letter-spacing:-.055em !important;
  font-weight:900 !important;
  color:#111 !important;
  text-transform:none !important;
}
.ppc-bottom-contact-head p {
  margin:0 !important;
  max-width:520px;
  font-size:18px !important;
  line-height:1.4 !important;
  color:#111 !important;
}
.ppc-bottom-contact-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-bottom:1px solid #111;
}
.ppc-bottom-contact-card {
  --accent:#111;
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:170px;
  padding:28px 24px 30px 0;
  color:#111 !important;
  text-decoration:none !important;
  border-top:1px solid #111;
  box-sizing:border-box;
}
.ppc-bottom-contact-card + .ppc-bottom-contact-card {
  padding-left:24px;
  border-left:1px solid #111;
}
.ppc-bottom-contact-card::before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-1px;
  height:5px;
  background:var(--accent);
  transform:scaleX(.16);
  transform-origin:left;
  transition:transform .18s ease;
}
.ppc-bottom-contact-card::after {
  content:"↗";
  position:absolute;
  right:18px;
  bottom:18px;
  color:var(--accent);
  font-size:24px;
  line-height:1;
  font-weight:900;
}
.ppc-bottom-contact-card:hover::before,
.ppc-bottom-contact-card:focus-visible::before { transform:scaleX(1); }
.ppc-bottom-contact-card--telegram { --accent:#229ED9; }
.ppc-bottom-contact-card--whatsapp { --accent:#25D366; }
.ppc-bottom-contact-label {
  display:inline-flex;
  align-self:flex-start;
  margin-bottom:20px;
  padding:7px 10px;
  background:var(--accent);
  color:#fff !important;
  font-size:clamp(15px,1.1vw,18px) !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.02em !important;
}
.ppc-bottom-contact-value {
  display:block;
  padding-right:34px;
  font-size:clamp(27px,2.3vw,38px) !important;
  line-height:1.02 !important;
  letter-spacing:-.04em !important;
  font-weight:900 !important;
  color:#111 !important;
  overflow-wrap:anywhere;
}
.ppc-bottom-contact-detail {
  display:block;
  margin-top:9px;
  padding-right:34px;
  font-size:clamp(16px,1.25vw,20px) !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  color:#111 !important;
}
@media (max-width:760px) {
  .ppc-bottom-contact-section { padding:52px 20px 58px !important; }
  .ppc-bottom-contact-head { grid-template-columns:1fr; gap:20px; padding-bottom:30px; }
  .ppc-bottom-contact-head h2 { font-size:clamp(42px,13vw,64px) !important; }
  .ppc-bottom-contact-head p { font-size:17px !important; }
  .ppc-bottom-contact-grid { grid-template-columns:1fr; }
  .ppc-bottom-contact-card,
  .ppc-bottom-contact-card + .ppc-bottom-contact-card {
    min-height:0;
    padding:24px 0 26px;
    border-left:0;
  }
  .ppc-bottom-contact-card + .ppc-bottom-contact-card { border-top:1px solid #111; }
  .ppc-bottom-contact-label { font-size:16px !important; }
  .ppc-bottom-contact-value { font-size:clamp(30px,9vw,42px) !important; }
  .ppc-bottom-contact-detail { font-size:18px !important; }
}

/* Keep email contact value on one line in typographic contact cards. */
.ppc-bottom-contact-card--email .ppc-bottom-contact-value {
  white-space:nowrap !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  font-size:clamp(24px,2.05vw,34px) !important;
  letter-spacing:-.045em !important;
}
@media (max-width:760px) {
  .ppc-bottom-contact-card--email .ppc-bottom-contact-value {
    font-size:26px !important;
    letter-spacing:-.055em !important;
    padding-right:32px !important;
  }
}

/* Footer PPC LABO wordmark must remain visible on dark background. */
footer .ppc-inline-brand-wordmark,
[data-elementor-type="footer"] .ppc-inline-brand-wordmark {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  filter:none !important;
}
footer a:has(.ppc-inline-brand-wordmark),
[data-elementor-type="footer"] a:has(.ppc-inline-brand-wordmark) {
  color:#fff !important;
  text-decoration:none !important;
}


/* Global Skillshop badges + Google Partner rollout */
.ppc-global-cert-slot{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.ppc-global-cert-badges{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.ppc-global-cert-badge{
  display:block;
  flex:0 1 116px;
  width:min(116px,calc((100% - 48px)/5));
  aspect-ratio:1/1;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.22);
  transition:transform .14s ease,box-shadow .14s ease;
}
.ppc-global-cert-badge:hover,
.ppc-global-cert-badge:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 0 0 1px rgba(255,255,255,.7);
}
.ppc-global-cert-badge img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}
.ppc-global-partner-row{
  position:relative!important;
}
.ppc-global-google-partner{
  position:absolute;
  z-index:3;
  right:18px;
  top:70px;
  width:220px;
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:14px;
  background:#fff;
  border-radius:8px;
}
.ppc-global-google-partner img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.ppc-global-partner-row > .elementor-widget-heading,
.ppc-global-partner-row > .elementor-widget-text-editor{
  max-width:calc(100% - 265px)!important;
}
@media(max-width:767px){
  .ppc-global-cert-badges{gap:0;}
  .ppc-global-cert-badge{
    flex:0 1 70px;
    width:min(70px,20%);
  }
  .ppc-global-google-partner{
    right:8px;
    top:93px;
    width:152px;
    height:152px;
    padding:10px;
    border-radius:6px;
  }
  .ppc-global-partner-row > .elementor-widget-heading,
  .ppc-global-partner-row > .elementor-widget-text-editor{
    max-width:calc(100% - 170px)!important;
  }
}


/* Site-wide legacy-style floating contact button. Recreates the circular Elementor appearance. */
.ppc-site-contact-float {
  position:fixed;
  z-index:999;
  right:11px;
  bottom:11px;
  box-sizing:border-box;
  width:90px;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
  border-radius:50%;
  background:#111;
  color:#fff!important;
  text-align:center;
  text-decoration:none!important;
  padding:9px 5px;
  font-family:Montserrat,Arial,sans-serif;
  font-weight:400;
  font-size:14px;
  line-height:1.2;
  box-shadow:0 2px 12px rgba(0,0,0,.14);
  opacity:1;
  transform:translate3d(0,0,0);
  will-change:transform,opacity;
  transition:transform 280ms ease-out,opacity 300ms ease-out,background-color 180ms ease-out,color 180ms ease-out;
}
.ppc-site-contact-float .ppc-site-contact-text{display:block;max-width:100%;overflow-wrap:normal}
.ppc-site-contact-float:hover,.ppc-site-contact-float:focus-visible{
  background:#fff;color:#111!important;border-color:#111;
}
.ppc-site-contact-float:focus-visible{outline:2px solid #4ac993;outline-offset:2px}
@media(min-width:1600px){
  .ppc-site-contact-float{width:150px;height:150px;right:50px;bottom:50px;font-size:24px;line-height:1.2}
}
@media(max-width:767px){
  .ppc-site-contact-float{right:auto;left:12px;bottom:12px;width:84px;height:84px;font-size:12px;padding:8px 4px}
}
@media(prefers-reduced-motion:reduce){
  .ppc-site-contact-float{transition:opacity 100ms linear,background-color 100ms linear,color 100ms linear;will-change:auto}
}
