/*
 * K. Kakounis v7.99.67 — Unified CTA system.
 * Exact reference: doctor page outlined gold CTA with cut top-right corner.
 * Scope: semantic call-to-action buttons/links. Excludes tabs, category filters,
 * dropdown toggles, hamburger controls, cards, table-of-contents, ordinary links.
 * Exception: circular appointment CTA in the homepage hero only.
 * No text, database, SEO, permalink, or interaction changes.
 */

/* Every selector denotes an actual CTA surface, not a generic <button>. */
body :is(
  .kk60-button,
  .kk58-cta,
  .kd35-button,
  .kk43-btn,
  .kk-ui-btn-v766,
  .outline-cta,
  .kk43-digestive-home-cta-v761,
  .kk43-digestive-more-v762,
  .journal-v4-read,
  .journal-v4-all,
  .kk54-article-back,
  .kk51-service-hero-action,
  .kk55-contact-text-link,
  .kk55-contact-submit,
  .kk-appointment-submit,
  .kk-footer-book-v747,
  .kk-menu-v773-appointment-link,
  .hub-v724-all-faq,
  .focus-v79923-hero-link,
  .kk-digestive-region-go-v761,
  .kk-region-hero-anchor-v761,
  .kk55-service-show-all,
  .services-v718-all,
  .wp-block-button__link,
  .kk67-ui-button
){
  box-sizing:border-box!important;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(14px,1.9vw,28px)!important;
  max-width:100%!important;
  min-height:56px!important;
  height:auto!important;
  padding:15px 21px!important;
  border:1px solid #c6a268!important;
  border-radius:0!important;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)!important;
  background:transparent!important;
  color:var(--kk67-cta-color,#06131d)!important;
  box-shadow:none!important;
  text-decoration:none!important;
  text-align:left!important;
  text-transform:uppercase;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.45!important;
  letter-spacing:.1em!important;
  white-space:normal!important;
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease!important;
}
/* A few editorial CTA links do not have a dedicated button class. */
body.home main#top:not(.kk-home-blocks) :is(
  .statement-aside>a,
  .clinical-v68-head a,
  .home-pathway-v732>a,
  .prevention-v68-copy>a,
  .services-v718-all
){
  box-sizing:border-box!important;
  display:inline-flex!important;
  position:relative!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  max-width:100%!important;
  min-height:56px!important;
  padding:15px 21px!important;
  border:1px solid #c6a268!important;
  border-radius:0!important;
  border-bottom:1px solid #c6a268!important;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--kk67-cta-color,#06131d)!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:600!important;
  letter-spacing:.1em!important;
  line-height:1.45!important;
  transition:background-color .2s ease,color .2s ease!important;
}
/* Contrast within the site's navy backgrounds. */
body :is(
  .kk60-hero,.kk60-place-feature,.kk60-doctor-route,.kk60-clinic-outro,
  .kk55-contact-hero,.kk54-article-panel,.kk43-services,.kk43-expect,
  .kk43-prevention,.kk43-journal,.kk43-digestive-home-v761,
  .hero-v3,.clinical-v68,.services-v3,.care-banner-v68,
  .kk-doctor-v79935 .kd35-hero,.kk-doctor-v79935 .kd35-approach,
  .kk55-contact-hero-copy,.kk55-contact-hero-details,
  .focus-v721 .focus-v79923-hero,.kk-menu-v773,
  .kk-footer
){--kk67-cta-color:#f8f6f1;}
/* The header always lives over a dark navigation surface. */
body .kk-header-actions,body .kk-mega-menu{--kk67-cta-color:#f8f6f1;}
/* Components with explicit dark/light variants. */
body .kk60 .kk60-button-dark{--kk67-cta-color:#06131d;}
body .kk60 .kk60-button-light{--kk67-cta-color:#f8f6f1;}
body .kk55-contact .kk55-contact-form,body .kk-appointment-dialog{--kk67-cta-color:#06131d;}
/* Preserve accessible full-width submission layouts. */
body .kk55-contact .kk55-contact-submit,
body .kk-appointment-submit{width:100%!important;}
/* Icon arrows are never resized into separate circular buttons. */
body :is(.kk60-button,.kk58-cta,.kd35-button,.kk43-btn,.kk-ui-btn-v766,
  .outline-cta,.kk55-contact-submit,.kk-appointment-submit,.kk54-article-back,
  .kk51-service-hero-action,.kk67-ui-button) > :is(b,svg){
  flex-shrink:0!important;
}
@media(hover:hover){
  body :is(.kk60-button,.kk58-cta,.kd35-button,.kk43-btn,.kk-ui-btn-v766,
    .outline-cta,.kk43-digestive-home-cta-v761,.kk43-digestive-more-v762,
    .journal-v4-read,.journal-v4-all,.kk54-article-back,.kk51-service-hero-action,
    .kk55-contact-text-link,.kk55-contact-submit,.kk-appointment-submit,
    .kk-footer-book-v747,.kk-menu-v773-appointment-link,.hub-v724-all-faq,
    .focus-v79923-hero-link,.kk-digestive-region-go-v761,
    .kk-region-hero-anchor-v761,.kk55-service-show-all,.services-v718-all,
    .wp-block-button__link,.kk67-ui-button):not(:disabled):hover,
  body.home main#top:not(.kk-home-blocks) :is(.statement-aside>a,.clinical-v68-head a,
    .home-pathway-v732>a,.prevention-v68-copy>a):hover{
    background:#c6a268!important;
    border-color:#c6a268!important;
    color:#06131d!important;
  }
}
body :is(.kk60-button,.kk58-cta,.kd35-button,.kk43-btn,.kk-ui-btn-v766,
  .outline-cta,.kk54-article-back,.kk51-service-hero-action,.kk55-contact-submit,
  .kk-appointment-submit,.kk-footer-book-v747,.wp-block-button__link,.kk67-ui-button):focus-visible{
  outline:2px solid #c6a268!important;
  outline-offset:4px!important;
}
/* Prevent older home sliders from drawing a second artificial button layer. */
body.home main.kk-home-blocks :is(.kk43-btn,.kk-ui-btn-v766,.outline-cta,
  .kk43-digestive-home-cta-v761,.kk43-digestive-more-v762,
  .journal-v4-read,.journal-v4-all)::before{
  content:none!important;
  display:none!important;
}

/* ONE exception: original round hero appointment, not the header CTA,
   not the booking modal, and not any other CTA in the site. */
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta{
  box-sizing:border-box!important;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:0!important;
  flex:0 0 auto!important;
  width:clamp(114px,10vw,138px)!important;
  min-width:clamp(114px,10vw,138px)!important;
  max-width:clamp(114px,10vw,138px)!important;
  height:clamp(114px,10vw,138px)!important;
  min-height:clamp(114px,10vw,138px)!important;
  max-height:clamp(114px,10vw,138px)!important;
  aspect-ratio:1/1!important;
  padding:20px 17px!important;
  margin-top:0;
  overflow:hidden!important;
  background:transparent!important;
  border:1px solid #c6a268!important;
  border-radius:50%!important;
  clip-path:none!important;
  color:#f8f6f1!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  font-weight:600!important;
  letter-spacing:.055em!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
  transform:none!important;
  transition:background-color .22s ease,color .22s ease!important;
}
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta::before{
  display:none!important;
  content:none!important;
}
/* Arrow follows an actual clockwise arc from upper-right to 3 o'clock.
   The orbit wrapper rotates about the circle centre; the glyph counter-rotates,
   so its up-right direction stays legible throughout the movement. */
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta .kk68-circle-label{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  flex:0 1 auto!important;
  width:auto!important;
  max-width:100%!important;
  padding:0!important;
  white-space:nowrap!important;
  font-size:12.5px!important;
  font-weight:600!important;
  letter-spacing:.055em!important;
  line-height:1.35!important;
  text-align:center!important;
  transform:translateX(0)!important;
  transition:transform .62s cubic-bezier(.22,1,.36,1),color .25s ease!important;
}
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta .kk69-arrow-orbit{
  position:absolute!important;
  z-index:2!important;
  display:block!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
  pointer-events:none!important;
  border-radius:50%!important;
  transform-origin:50% 50%!important;
  transform:rotate(-50deg)!important;
  transition:transform .62s cubic-bezier(.22,1,.36,1)!important;
}
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta .kk69-arrow-orbit b{
  position:absolute!important;
  inset:auto 8px auto auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:20px!important;
  height:20px!important;
  top:50%!important;
  margin:-10px 0 0!important;
  padding:0!important;
  font-size:20px!important;
  font-weight:400!important;
  line-height:1!important;
  text-align:center!important;
  color:#c6a268!important;
  transform-origin:center!important;
  transform:rotate(50deg)!important;
  transition:transform .62s cubic-bezier(.22,1,.36,1),color .25s ease!important;
}
@media(hover:hover){
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:hover{
    background:#c6a268!important;
    color:#06131d!important;
  }
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:hover .kk69-arrow-orbit{
    transform:rotate(0deg)!important;
  }
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:hover .kk69-arrow-orbit b{
    color:#06131d!important;
    transform:rotate(0deg)!important;
  }
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:hover .kk68-circle-label{
    transform:translateX(-10px)!important;
  }
}
@media(max-width:600px){
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta{
    width:114px!important;min-width:114px!important;max-width:114px!important;
    height:114px!important;min-height:114px!important;max-height:114px!important;
  }
  body :is(.kk60-button,.kk58-cta,.kd35-button,.kk43-btn,.kk-ui-btn-v766,
    .outline-cta,.journal-v4-read,.journal-v4-all,.kk54-article-back,
    .kk51-service-hero-action,.kk55-contact-text-link,.kk55-contact-submit,
    .kk-appointment-submit,.kk-footer-book-v747,.wp-block-button__link){
    min-height:52px!important;
    padding:14px 18px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body :is(.kk60-button,.kk58-cta,.kd35-button,.kk43-btn,.kk-ui-btn-v766,
    .outline-cta,.journal-v4-read,.journal-v4-all,.kk54-article-back,
    .kk51-service-hero-action,.kk55-contact-submit,.kk-appointment-submit,
    .kk-footer-book-v747,.wp-block-button__link,.circle-cta){transition:none!important;}
}

/* Specificity corrections for components whose historical rules used extra
   ancestor selectors and !important. Keep the same geometry everywhere. */
body .kk55-contact .kk55-contact-text-link,
body .kk55-contact .kk55-contact-submit,
body .kk-appointment-dialog .kk-appointment-submit,
body .kk-footer-v6 .kk-footer-book-v747,
body .kk-header .kk-ui-btn-v766--header{
  border:1px solid #c6a268!important;
  border-radius:0!important;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  min-height:56px!important;
  padding:15px 21px!important;
  line-height:1.45!important;
  font-size:11px!important;
  font-weight:600!important;
  letter-spacing:.1em!important;
}
body .kk55-contact .kk55-contact-text-link{color:#f8f6f1!important;}
body .kk55-contact .kk55-contact-submit,
body .kk-appointment-dialog .kk-appointment-submit{color:#06131d!important;}
body .kk-footer-v6 .kk-footer-book-v747,
body .kk-header .kk-ui-btn-v766--header{color:#f8f6f1!important;}
/* Keep the desktop nav action compact enough not to resize the whole header. */
body .kk-header .kk-ui-btn-v766--header{
  min-height:44px!important;
  padding:11px 15px!important;
  font-size:10px!important;
}
/* Older form CTA slides are intentionally removed in this simple button style. */
body .kk-appointment-dialog .kk-appointment-submit::before,
body .kk55-contact .kk55-contact-submit::before{display:none!important;content:none!important;}
@media(hover:hover){
 body .kk55-contact .kk55-contact-text-link:hover,
 body .kk55-contact .kk55-contact-submit:hover,
 body .kk-appointment-dialog .kk-appointment-submit:not(:disabled):hover,
 body .kk-footer-v6 .kk-footer-book-v747:hover,
 body .kk-header .kk-ui-btn-v766--header:hover{
   background:#c6a268!important;
   border-color:#c6a268!important;
   color:#06131d!important;
 }
}

/* The clinical-topic request button is intentionally unclassed in its template. */
body.single-clinical_focus main.focus-v721 .kk55-focus-next-step>button,
body .contact-v752-submit,
body .focus-v721-side-cta,
body .wp-block-button .wp-element-button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  min-height:56px!important;
  max-width:100%!important;
  padding:15px 21px!important;
  border:1px solid #c6a268!important;
  border-radius:0!important;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)!important;
  background:transparent!important;
  color:var(--kk67-cta-color,#06131d)!important;
  font-size:11px!important;
  font-weight:600!important;
  letter-spacing:.1em!important;
  line-height:1.45!important;
  text-decoration:none!important;
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease!important;
}
@media(hover:hover){
 body.single-clinical_focus main.focus-v721 .kk55-focus-next-step>button:hover,
 body .contact-v752-submit:hover,
 body .focus-v721-side-cta:hover,
 body .wp-block-button .wp-element-button:hover{
   background:#c6a268!important;
   color:#06131d!important;
   border-color:#c6a268!important;
 }
}
@media(max-width:800px){
  /* Keep a comfortable gap above the one round home hero action. */
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta{margin-top:18px!important;}
}

@media(max-width:600px){
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta .kk68-circle-label{
    font-size:11.5px!important;
    letter-spacing:.035em!important;
    line-height:1.35!important;
  }
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta .kk69-arrow-orbit b{
    right:6px!important;
    font-size:18px!important;
  }
}
/* Keyboard focus gets the same clear indication as hover. */
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:focus-visible{
  outline:2px solid #c6a268!important;
  outline-offset:4px!important;
  background:#c6a268!important;
  color:#06131d!important;
}
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:focus-visible .kk69-arrow-orbit{
  transform:rotate(0deg)!important;
}
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:focus-visible .kk69-arrow-orbit b{
  color:#06131d!important;
  transform:rotate(0deg)!important;
}
body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta:focus-visible .kk68-circle-label{
  transform:translateX(-10px)!important;
}
@media(prefers-reduced-motion:reduce){
  body.home main#top :is(.hero-v3,.hero-bottom-copy,.kk43-hero) a.circle-cta :is(.kk69-arrow-orbit,.kk68-circle-label,.kk69-arrow-orbit b){
    transition:none!important;
  }
}
