/* Compact professional header and homepage hero */
@media (min-width: 783px) {
  .ccl-logo {
    width: auto !important;
    height: auto !important;
    max-height: 165px !important;
  }

  .ccl-mag-hero {
    min-height: 390px !important;
    padding: 42px 46px !important;
    background-position: center 48% !important;
  }
}

@media (max-width: 782px) {
  .ccl-logo {
    width: 100% !important;
    height: auto !important;
    max-height: 92px !important;
  }

  .ccl-mag-hero {
    min-height: 350px !important;
    padding: 34px 24px !important;
    background-position: 62% center !important;
  }
}

/* Logo integrated into the desktop navigation — August 2026 */
@media (min-width: 1200px) {
  .site-header {
    position: relative;
    background: #15543f !important;
  }

  .ccl-header {
    position: relative;
    z-index: 10000;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .ccl-header > .ccl-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 86px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    padding-right: 0;
    pointer-events: none;
  }

  .ccl-branding {
    width: 390px;
    max-width: 27%;
    margin: 0;
    padding: 8px 18px 8px 0;
    display: flex;
    align-items: center;
    pointer-events: auto;
  }

  .ccl-logo-link {
    display: block;
    line-height: 0;
  }

  .ccl-logo {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 390px !important;
    max-height: 70px !important;
    object-fit: contain;
  }

  .ccl-navigation {
    min-height: 86px;
  }

  .ccl-navigation > .ccl-container {
    min-height: 86px;
    padding-left: min(28%, 410px);
    display: flex;
    align-items: center;
  }

  .ccl-navigation .primary-menu {
    width: 100%;
    justify-content: flex-end;
    gap: clamp(2px, 0.35vw, 8px);
  }

  .ccl-navigation .primary-menu > li > a {
    padding-left: clamp(8px, 0.65vw, 13px);
    padding-right: clamp(8px, 0.65vw, 13px);
    white-space: nowrap;
  }
}

@media (min-width: 783px) and (max-width: 1199px) {
  .ccl-logo {
    max-height: 105px !important;
  }
}

@media (max-width: 782px) {
  .ccl-header {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .ccl-logo {
    max-height: 72px !important;
  }
}

/* Centre the integrated logo within its reserved header area */
@media (min-width: 1200px) {
  .ccl-branding {
    height: 86px;
    box-sizing: border-box;
    padding: 8px 0;
    justify-content: center;
  }

  .ccl-logo-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ccl-logo {
    margin: 0 auto;
  }
}