.elementor-kit-6347{--e-global-color-primary:#032BE0;--e-global-color-secondary:#A8E564;--e-global-color-text:#000000;--e-global-color-accent:#A7DCFE;--e-global-color-7574d09:#E5DED6;--e-global-color-303a1ba:#FAF8F5;--e-global-color-b0e49c0:#FFFFFF;--e-global-typography-primary-font-family:"Lexend";--e-global-typography-primary-font-size:60px;--e-global-typography-primary-font-weight:700;--e-global-typography-primary-line-height:66px;--e-global-typography-secondary-font-family:"Lexend";--e-global-typography-secondary-font-size:50px;--e-global-typography-secondary-font-weight:700;--e-global-typography-secondary-line-height:56px;--e-global-typography-text-font-family:"Lexend";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:300;--e-global-typography-text-line-height:28px;--e-global-typography-accent-font-family:"Lexend";--e-global-typography-accent-font-weight:500;--e-global-typography-4d2a668-font-family:"Lexend";--e-global-typography-4d2a668-font-size:16px;--e-global-typography-4d2a668-font-weight:300;--e-global-typography-4d2a668-line-height:26px;--e-global-typography-b7b84a9-font-family:"Lexend";--e-global-typography-b7b84a9-font-size:16px;--e-global-typography-b7b84a9-font-weight:700;--e-global-typography-b7b84a9-line-height:26px;--e-global-typography-72c27d8-font-family:"Lexend";--e-global-typography-72c27d8-font-size:40px;--e-global-typography-72c27d8-font-weight:700;--e-global-typography-72c27d8-line-height:46px;--e-global-typography-d45e5cb-font-family:"Lexend";--e-global-typography-d45e5cb-font-size:22px;--e-global-typography-d45e5cb-font-weight:bold;--e-global-typography-d45e5cb-line-height:28px;--e-global-typography-e39ad39-font-family:"BeShiny";color:#000000;font-family:"Lexend", Sans-serif;font-size:18px;font-weight:300;line-height:28px;}.elementor-kit-6347 button,.elementor-kit-6347 input[type="button"],.elementor-kit-6347 input[type="submit"],.elementor-kit-6347 .elementor-button{background-color:var( --e-global-color-secondary );font-family:var( --e-global-typography-b7b84a9-font-family ), Sans-serif;font-size:var( --e-global-typography-b7b84a9-font-size );font-weight:var( --e-global-typography-b7b84a9-font-weight );line-height:var( --e-global-typography-b7b84a9-line-height );color:var( --e-global-color-primary );border-radius:10px 10px 10px 10px;padding:15px 25px 15px 25px;}.elementor-kit-6347 button:hover,.elementor-kit-6347 button:focus,.elementor-kit-6347 input[type="button"]:hover,.elementor-kit-6347 input[type="button"]:focus,.elementor-kit-6347 input[type="submit"]:hover,.elementor-kit-6347 input[type="submit"]:focus,.elementor-kit-6347 .elementor-button:hover,.elementor-kit-6347 .elementor-button:focus{background-color:var( --e-global-color-accent );color:var( --e-global-color-primary );border-radius:10px 10px 10px 10px;}.elementor-kit-6347 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6347 a{color:var( --e-global-color-text );}.elementor-kit-6347 a:hover{color:var( --e-global-color-secondary );}.elementor-kit-6347 h1{color:var( --e-global-color-primary );font-family:"Lexend", Sans-serif;font-size:60px;font-weight:700;line-height:66px;}.elementor-kit-6347 h2{color:var( --e-global-color-primary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-kit-6347 h3{color:var( --e-global-color-primary );font-size:40px;font-weight:700;line-height:46px;}.elementor-kit-6347 h4{color:var( --e-global-color-primary );font-size:22px;font-weight:700;line-height:28px;}.elementor-kit-6347 h5{color:var( --e-global-color-primary );}.elementor-kit-6347 h6{color:var( --e-global-color-primary );}.elementor-kit-6347 label{color:var( --e-global-color-b0e49c0 );}.elementor-kit-6347 input:not([type="button"]):not([type="submit"]),.elementor-kit-6347 textarea,.elementor-kit-6347 .elementor-field-textual{background-color:var( --e-global-color-b0e49c0 );border-style:none;border-radius:10px 10px 10px 10px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-6347{--e-global-typography-primary-font-size:50px;--e-global-typography-primary-line-height:56px;--e-global-typography-secondary-font-size:40px;--e-global-typography-secondary-line-height:46px;--e-global-typography-72c27d8-font-size:30px;--e-global-typography-72c27d8-line-height:36px;--e-global-typography-d45e5cb-font-size:18px;--e-global-typography-d45e5cb-line-height:28px;}.elementor-kit-6347 h1{font-size:50px;line-height:60px;}.elementor-kit-6347 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-kit-6347 h3{font-size:30px;line-height:36px;}.elementor-kit-6347 h4{font-size:22px;line-height:28px;}.elementor-kit-6347 button,.elementor-kit-6347 input[type="button"],.elementor-kit-6347 input[type="submit"],.elementor-kit-6347 .elementor-button{font-size:var( --e-global-typography-b7b84a9-font-size );line-height:var( --e-global-typography-b7b84a9-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6347{--e-global-typography-primary-font-size:40px;--e-global-typography-primary-line-height:46px;--e-global-typography-secondary-font-size:30px;--e-global-typography-secondary-line-height:36px;--e-global-typography-text-font-size:18px;--e-global-typography-72c27d8-font-size:22px;--e-global-typography-72c27d8-line-height:28px;--e-global-typography-d45e5cb-font-size:18px;--e-global-typography-d45e5cb-line-height:28px;font-size:16px;line-height:26px;}.elementor-kit-6347 h1{font-size:30px;line-height:40px;}.elementor-kit-6347 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-kit-6347 h3{font-size:22px;line-height:28px;}.elementor-kit-6347 h4{font-size:18px;line-height:28px;}.elementor-kit-6347 button,.elementor-kit-6347 input[type="button"],.elementor-kit-6347 input[type="submit"],.elementor-kit-6347 .elementor-button{font-size:var( --e-global-typography-b7b84a9-font-size );line-height:var( --e-global-typography-b7b84a9-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =========================
   BASE TYPOGRAPHY / HEADINGS
   ========================= */
.white-heading h1,
.white-heading h2,
.white-heading h3,
.white-heading h4,
.white-heading h5 { color:#fff; }

/* Display headings */
.display-font,
.display-font-2 {
  font-family: 'beshiny', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  background: linear-gradient(transparent 60%, #A8E564 0) no-repeat;
  background-size: 100% 0.5em;
  background-position: 0 70%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.display-font  { font-size: clamp(3rem, 7vw, 6.875rem); }   /* ~48–110px */
.display-font-2{ font-size: clamp(2.5rem, 6vw, 5.625rem); } /* ~40–90px */

/* Footer global widget override */
.elementor-6452 .elementor-element.elementor-global-6912 .elementor-icon-list-text {
  color:#fff !important;
}

/* =========================
   CONTACT FORM 7
   ========================= */
.wpcf7-form { color:#fff; }
.wpcf7 select { border:none !important; border-radius:10px !important; }

.cf7-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.cf7-col-full { grid-column: span 2; }

.cf7-grid input,
.cf7-grid select,
.cf7-grid textarea {
  width:100%;
  padding:.5rem .75rem;
  font-size:1rem;
  border:none;
  border-radius:10px;
  box-sizing:border-box;
  background:#fff;
  color:#111;
  outline:none;
}
.cf7-grid input:focus-visible,
.cf7-grid select:focus-visible,
.cf7-grid textarea:focus-visible {
  outline:2px solid #A8E564;
  outline-offset:2px;
}

@media (max-width:600px){
  .cf7-grid { grid-template-columns:1fr; }
  .cf7-col-full { grid-column: span 1; }
}

/* Contact Form extras */
.cform-link a { color:#fff; }
/* Left-align CF7 checkboxes/acceptance + labels */
.wpcf7 form { text-align: left; }

.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-acceptance { display:block; text-align:left !important; }

.wpcf7 .wpcf7-list-item > label { display:flex; align-items:center; gap:.5rem; }
.wpcf7 input[type="checkbox"] { margin:0; }

/* Put CF7 checkboxes into two columns */
.wpcf7-form .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 equal columns */
  gap: 6px 20px;                  /* row + column spacing */
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
}

/* Default: single-column */
.wpcf7-form .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 20px;
}

/* If the group has 2+ items, switch to 2 columns */
.wpcf7-form .wpcf7-checkbox:has(.wpcf7-list-item:nth-child(2)) {
  grid-template-columns: 1fr 1fr;
}

/* Keep the disclaimer/acceptance as a single column */
.wpcf7-form .wpcf7-acceptance {
  display: block;              /* not a grid */
}

/* Align checkbox + label nicely for both types */
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item > label,
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item > label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

/* Checkbox size + zero margins */
.wpcf7-form input[type="checkbox"] {
  width: 16px; height: 16px; margin: 0;
}

/* Stack all to one column on small screens */
@media (max-width: 600px) {
  .wpcf7-form .wpcf7-checkbox { grid-template-columns: 1fr; }
}

/* Change H5 colour inside all CF7 forms */
.wpcf7 form h5 { color: #ffffff !important; }

/* =========================
   LOOP GRID — TEAM (center last row)
   Widget class: teamloop
   ========================= */
.teamloop.elementor-widget-loop-grid > .elementor-widget-container > .elementor-loop-container,
.teamloop.elementor-widget-loop-grid > .elementor-widget-container > .e-loop__container {
  --gap:24px;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;  /* centers leftover items */
  gap:var(--gap) !important;
}
.teamloop.elementor-widget-loop-grid .e-loop-item,
.teamloop.elementor-widget-loop-grid .elementor-grid-item,
.teamloop.elementor-widget-loop-grid .elementor-post {
  box-sizing:border-box;
  min-width:0;  /* allow shrinking if inner elements have min-width */
  flex:0 1 calc((100% - 3*var(--gap))/4) !important;  /* 4 cols desktop */
  max-width:calc((100% - 3*var(--gap))/4) !important;
}
@media (max-width:1024px){
  .teamloop.elementor-widget-loop-grid .e-loop-item,
  .teamloop.elementor-widget-loop-grid .elementor-grid-item,
  .teamloop.elementor-widget-loop-grid .elementor-post {
    flex-basis:calc((100% - 2*var(--gap))/3) !important; /* 3 cols tablet */
    max-width:calc((100% - 2*var(--gap))/3) !important;
  }
}
@media (max-width:767px){
  .teamloop.elementor-widget-loop-grid .e-loop-item,
  .teamloop.elementor-widget-loop-grid .elementor-grid-item,
  .teamloop.elementor-widget-loop-grid .elementor-post {
    flex-basis:calc((100% - var(--gap))/2) !important;   /* 2 cols mobile */
    max-width:calc((100% - var(--gap))/2) !important;
  }
}

/* =========================
   LOOP GRID — FIX-GRID (center last row like teamloop)
   Widget class: fix-grid
   ========================= */
.fix-grid.elementor-widget-loop-grid > .elementor-widget-container > .elementor-loop-container,
.fix-grid.elementor-widget-loop-grid > .elementor-widget-container > .e-loop__container {
  --gap:20px;                                  /* match the widget’s Row/Column gap */
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  gap:var(--gap) !important;
}
.fix-grid.elementor-widget-loop-grid .e-loop-item,
.fix-grid.elementor-widget-loop-grid .elementor-grid-item,
.fix-grid.elementor-widget-loop-grid .elementor-post {
  box-sizing:border-box;
  min-width:0;
  flex:0 1 calc((100% - 2*var(--gap))/3) !important;  /* 3 cols desktop */
  max-width:calc((100% - 2*var(--gap))/3) !important;
}
@media (max-width:1024px){
  .fix-grid.elementor-widget-loop-grid .e-loop-item,
  .fix-grid.elementor-widget-loop-grid .elementor-grid-item,
  .fix-grid.elementor-widget-loop-grid .elementor-post {
    flex:0 1 calc((100% - var(--gap))/2) !important;    /* 2 cols tablet */
    max-width:calc((100% - var(--gap))/2) !important;
  }
}
@media (max-width:767px){
  .fix-grid.elementor-widget-loop-grid .e-loop-item,
  .fix-grid.elementor-widget-loop-grid .elementor-grid-item,
  .fix-grid.elementor-widget-loop-grid .elementor-post {
    flex:0 1 100% !important;                            /* 1 col mobile */
    max-width:100% !important;
  }
}

/* Keep EAEL/Twenty20 comparison slider fluid & clipped inside each card */
.fix-grid .twentytwenty-wrapper,
.fix-grid .twentytwenty-container,
.fix-grid .eael-img-comp-container {
  width:100% !important;
  max-width:100%;
  min-width:0;
  display:block;
  border-radius:12px;     /* rounding */
  overflow:hidden;        /* actually clip corners */
}
.fix-grid .twentytwenty-before,
.fix-grid .twentytwenty-after,
.fix-grid .twentytwenty-container img {
  width:100%;
  height:auto;
  border-radius:12px;
}

/* =========================
   Custom "compare-box"
   ========================= */
.compare-box{
  position:relative; overflow:hidden; border-radius:12px;
  width:100%; max-width:100%; min-width:0;
  aspect-ratio:3/2;
  --pos:50%; --knob-size:50px; --chevron-color:#032BE0;
  --handle-width:2px; --handle-color:rgba(255,255,255,.95);
  --knob-bg:#fff; --focus-ring:0 0 0 0 rgba(0,0,0,0);
  touch-action:none;
}
.compare-box .ba-img{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.compare-box .ba-img .elementor-widget-container,
.compare-box .ba-img figure,
.compare-box .ba-img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.compare-box .ba-after{ z-index:1; }
.compare-box .ba-before{ z-index:2; }
.compare-box .ba-before img{ clip-path:polygon(0 0, var(--pos) 0, var(--pos) 100%, 0 100%); transition:clip-path .12s ease; }
.compare-box .ba-overlay{ position:absolute; inset:0; z-index:30; pointer-events:none; }
.compare-box .ba-slider{
  position:absolute; inset:0; width:100%; height:100%;
  margin:0; opacity:0; cursor:ew-resize; pointer-events:all;
  -webkit-appearance:none; appearance:none; background:transparent; outline:0; border:0;
}
.compare-box .ba-slider::-webkit-slider-thumb{ -webkit-appearance:none; width:0; height:0; border:0; background:transparent; }
.compare-box .ba-slider::-webkit-slider-runnable-track{ background:transparent; height:0; border:0; }
.compare-box .ba-slider::-moz-range-thumb{ width:0; height:0; border:0; background:transparent; }
.compare-box .ba-slider::-moz-range-track{ background:transparent; height:0; border:0; }
.compare-box .ba-slider::-ms-thumb{ width:0; height:0; border:0; background:transparent; }
.compare-box .ba-slider::-ms-track{ background:transparent; color:transparent; height:0; border:0; }
.compare-box .ba-handle{
  position:absolute; top:0; bottom:0; left:var(--pos);
  transform:translateX(calc(-0.5 * var(--handle-width)));
  width: var(--handle-width); background: var(--handle-color);
  z-index:31; transition:left .12s ease; display:flex; align-items:center; justify-content:center;
  pointer-events:none; box-shadow:none;
}
.compare-box .ba-handle::after{
  content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:var(--knob-size); height:var(--knob-size); border-radius:999px;
  background:var(--knob-bg) !important; border:none !important; box-shadow:none !important; z-index:1;
}
.compare-box .ba-knob{
  position:relative; z-index:2; display:grid; place-items:center;
  width:var(--knob-size); height:var(--knob-size); border-radius:999px; background:transparent; border:none; box-shadow:none;
}
.compare-box .ba-knob::before,
.compare-box .ba-knob::after{
  content:""; position:absolute; top:50%; transform:translateY(-50%);
  width:0; height:0; border:6px solid transparent;
}
.compare-box .ba-knob::before{ left:2px;  border-right-color:var(--chevron-color); }
.compare-box .ba-knob::after { right:2px; border-left-color: var(--chevron-color); }
.compare-box .ba-label{
  position:absolute; top:.5rem; padding:.25rem .5rem;
  font:600 .75rem/1 system-ui, sans-serif; color:#fff;
  background:#032BE0AD; border-radius:.375rem; z-index:32; pointer-events:none;
}
.compare-box .ba-label--before{ left:.5rem; }
.compare-box .ba-label--after { right:.5rem; }
.compare-box .elementor-widget-html,
.compare-box .elementor-widget-html .elementor-widget-container{ position:static !important; }
/* Blocks clicks over the slider */
.compare-box a, .compare-box [role="link"]{ pointer-events:none; }
.compare-box .ba-slider:focus-visible + .ba-handle::after{ box-shadow:var(--focus-ring); }

/* Bullets */
ul { margin-block-end: 15px; }/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'BeShiny';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://www.peninsulaortho.com.au/wp-content/uploads/2025/08/Beshiny.eot');
	src: url('https://www.peninsulaortho.com.au/wp-content/uploads/2025/08/Beshiny.eot?#iefix') format('embedded-opentype'),
		url('https://www.peninsulaortho.com.au/wp-content/uploads/2025/08/Beshiny.woff2') format('woff2'),
		url('https://www.peninsulaortho.com.au/wp-content/uploads/2025/08/Beshiny.woff') format('woff'),
		url('https://www.peninsulaortho.com.au/wp-content/uploads/2025/08/Beshiny.ttf') format('truetype'),
		url('https://www.peninsulaortho.com.au/wp-content/uploads/2025/08/Beshiny.svg#BeShiny') format('svg');
}
/* End Custom Fonts CSS */