/*!
Theme Name: clickfoundryTemplate
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: clickfoundrytemplate
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

clickfoundryTemplate is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
:root {
  --dark-primary: #353535;
  --dark-link: #404040;
  --dark-secondary: #444; /* Define the variable */
  --mid-primary: #b9b9b9;
  --mid-secondary: #cfcfcf;
  --light-secondary: #fcfcfc;
  --dark-link-visited: #2f3061;
  --bs-gutter-x: 1.5rem;
  --highlight-background: #353535; /* Example: a yellow highlight background */
  --highlight-text-color: #fcfcfc; /* Example: black text on highlight */
}
::selection {
  background-color: var(--highlight-background);
  color: var(--highlight-text-color);
}
html {
  line-height: 1.25rem;
  font-size: 16px;
  letter-spacing: 0.05rem;
  -webkit-text-size-adjust: 100%;
  background-color: #fcfcfc;
  font-family: "avenir-next-lt-pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
  max-width: 100vw !important;
  width: 100vw !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

.pb-5x {
  padding-bottom: 5rem;
}
.pb-2x {
  padding-bottom: 2rem;
}
.p-10x {
  padding: 10rem 0px;
}
.text-center {
  text-align: center;
}
.btn-pill {
  padding: 0.5rem 1.5rem;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-pill {
  padding: 0.5rem 1.5rem;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-ghost {
  background: var(--light-secondary);
  color: #6c757d;
  border: 1px solid var(--mid-secondary);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--dark-link);
  color: var(--light-secondary);
  border-color: #343a40;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(52, 58, 64, 0.2);
}
/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  color: #444;
  overflow-x: hidden;
  overflow-y: scroll;
}
body.modal-toggled {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
main.site-secondary {
  padding-top: calc(110px + 0.5rem);
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2.25rem;
  line-height: 2.75rem;
  margin: 0 0 2rem 0;
}
h2 {
  font-size: 1.75rem;
  line-height: 2.5rem;
  margin: 0 0 2rem 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25rem;
  margin: 0 0 1.5rem 0;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
p.lead {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 0 5%;
}
/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
.mob-center {
  text-align: left;
}
@media (max-width: 991px) {
  .mob-center {
    text-align: center;
  }
}

/* Forms
	 ========================================================================== */
.contact-form {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.form-input {
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid var(--dark-secondary);
  padding: 0.5rem 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 0.5rem;
  outline: none;
}

.form-input::placeholder {
  color: #888;
  padding-left: 0.25rem;
}

.form-textarea {
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid var(--dark-secondary);
  padding: 0.5rem 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  margin-bottom: 0.5rem;
  outline: none;
  resize: vertical;
}

.form-textarea::placeholder {
  color: #888;
  padding-left: 0.5rem;
}

.form-submit {
  background-color: #555;
  color: var(--light-secondary);
  border: none;
  border-radius: 0;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  box-shadow: none;
  float: right;
  clear: both;
}

.form-submit:hover {
  background-color: #333;
}

@media (max-width: 991px) {
  .form-submit {
    float: none;
    width: 100%;
  }
}

.wpcf7-form-control-wrap {
  display: block;
}

.contact-modal .wpcf7-response-output {
  margin: 1rem 0 !important;
  padding: 0.5rem 0 !important;
  border: none !important;
  background: none !important;
  text-align: center;
  font-size: 1rem;
  color: var(--dark-secondary);
}

/* Optional: Style it to match your design better */
.contact-modal .wpcf7 form.sent .wpcf7-response-output {
  color: #46b450; /* Green success color */
  font-weight: 500;
}
/* Handle validation error tips */
.contact-modal .wpcf7-not-valid-tip {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0.25rem 0 0.5rem 0 !important;
  padding: 0 !important;
  font-size: 0.875rem;
  color: #dc3232;
  word-wrap: break-word;
}

/* Ensure form control wrap containers don't expand */
.contact-modal .wpcf7-form-control-wrap {
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Override any floating validation tip positioning */
.contact-modal .use-floating-validation-tip .wpcf7-not-valid-tip {
  position: static !important;
  width: 100% !important;
  top: auto !important;
  left: auto !important;
  border: none !important;
  background: transparent !important;
  padding: 0.25rem 0 !important;
}

/* Handle the error response output */
.contact-modal .wpcf7 form.invalid .wpcf7-response-output {
  border-color: #ffb900 !important;
  margin: 1rem 0 !important;
  padding: 0.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.contact-form p {
  margin: 0;
}

.contact-form br {
  display: none;
}
.contact-button {
  position: fixed;
  top: 2rem;
  right: 56px;
  z-index: 1010;
}

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: -1000;
  opacity: 0;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 255, 0.2);
  transition: opacity 0.3s ease, z-index 0s linear 0.3s;
  display: flex;
  justify-content: flex-end; /* Align panel to the right */
  max-width: 100vw !important;
  width: 100vw !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

.contact-modal.toggled {
  opacity: 1;
  z-index: 1011;
  transition: opacity 0.3s ease;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Form panel that slides in from the right */
.modal-contact-form {
  width: 80%;
  max-width: 500px;
  height: 100%;
  background: var(--light-primary, #ffffff); /* Add your background color */
  transform: translateX(100%); /* Start off-screen to the right */
  transition: transform 0.3s ease;
  padding: 2rem;
  position: relative;
  display: block;
  align-content: center;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); /* Left shadow */
  overflow-y: auto; /* Allow scrolling if content is long */
}

/* When toggled, slide the panel in */
.contact-modal.toggled .modal-contact-form {
  transform: translateX(0);
}

/* Update container positioning */
.contact-modal .container-xxl {
  position: absolute; /* Changed from relative */
  top: 0;
  right: 0;
  z-index: 1001;
  padding: 0; /* Remove padding since panel handles it */
  width: auto;
}

.top-section-exit {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 1002; /* Higher than panel */
}

.con-burger {
  background: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
  display: grid;
  width: 24px;
  height: 24px;
}

.con-burger span {
  width: 24px;
  height: 2px;
  margin: 3px 0;
  background-color: var(--dark-secondary);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transform-origin: center;
}

.con-burger span:nth-child(3) {
  transform: scaleX(0.5);
}

/* When toggled */
.contact-modal.toggled
  .container-xxl
  .row
  .col-auto
  .top-section-exit
  .con-burger
  span:nth-child(1) {
  transform: rotate(-45deg) translateY(5px);
}

.contact-modal.toggled
  .container-xxl
  .row
  .col-auto
  .top-section-exit
  .con-burger
  span:nth-child(3) {
  opacity: 0;
}

.contact-modal.toggled
  .container-xxl
  .row
  .col-auto
  .top-section-exit
  .con-burger
  span:nth-child(2) {
  transform: rotate(45deg) translateY(-5px);
}

.modal-contact-form .center-form {
  margin: auto;
}
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  font-family: "avenir-next-lt-pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: "avenir-next-lt-pro";
  font-weight: 500;
}

p {
  font-family: "avenir-next-lt-pro", "Segoe UI", Tahoma, Verdana, sans-serif;
  margin-bottom: 1rem;
}

dfn,
em,
i {
  font-style: italic;
}

blockquote.wp-block-quote {
  margin: 3.5rem 0px;
  border-left: 4px solid black;
  padding: 1.5rem;
}

blockquote > figure.wp-block-pullquote {
  margin: 0px;
  padding: 0px;
  font-size: 1.25rem;
}
blockquote p {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin: 0 0 1.5rem 0;
  font-style: italic;
}
.wp-element-caption {
  font-style: italic;
}
cite {
  font-style: normal;
  font-weight: 500;
}
address {
  margin: 0 0 1.5em;
}

pre {
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1em 1em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1em;
}

dt {
  font-weight: 500;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 0px;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: var(--dark-link);
  opacity: 0.7;
  background-color: transparent;
  font-weight: 500;
  transition: opacity 0.4s ease;
}

a:visited {
  color: var(--dark-link);
}

a:hover,
a:focus,
a:active {
  color: var(--dark-link);
  opacity: 1;
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: none;
}
a.port-item-cf {
  opacity: 1;
}
a.portfolio-link {
  opacity: 1;
}
/* Footer
--------------------------------------------- */
.site-footer {
  padding: 25px 0px;
  background-color: var(--dark-secondary);
  color: var(--light-secondary);
  margin-top: 80px;
}
.site-footer a {
  color: var(--light-secondary) !important;
}
/* Branded info image styling */
.branded-info img {
  padding-right: 2rem;
}

/* CK tagline styling */
.ck-tagline {
  display: block;
  max-width: 420px;
  font-size: clamp(0.65rem, 2.15vw, 1.25rem) !important;
  letter-spacing: clamp(0.05rem, 0.23vw, 0.2rem);
  line-height: 1.5;
  margin: 1rem 0;
  font-weight: 300;
  overflow: hidden;
}

.ck-tagline span:first-child {
  margin-right: clamp(0.5rem, 0.5vw, 1rem);
}

.ck-tagline span:nth-child(2) {
  margin: 0 clamp(0.5rem, 0.5vw, 1rem);
}

.ck-tagline span:last-child {
  margin-left: clamp(0.5rem, 0.5vw, 1rem);
}

/* Tablet and smaller screens */
@media (max-width: 768px) {
  .ck-tagline {
    max-width: 100%; /* allow full width on smaller screens */
    font-size: clamp(
      1rem,
      3.5vw,
      1.8rem
    ) !important; /* larger text for tablets */
    letter-spacing: clamp(0.1rem, 0.4vw, 0.25rem);
  }

  .ck-tagline span:first-child {
    margin-right: clamp(0.7rem, 1vw, 1.2rem);
  }

  .ck-tagline span:nth-child(2) {
    margin: 0 clamp(0.7rem, 1vw, 1.2rem);
  }

  .ck-tagline span:last-child {
    margin-left: clamp(0.7rem, 1vw, 1.2rem);
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .ck-tagline {
    font-size: clamp(
      0.9rem,
      4vw,
      1.5rem
    ) !important; /* adjust for mobile if needed */
    letter-spacing: clamp(0.08rem, 0.35vw, 0.2rem);
  }
}

/* Forms
--------------------------------------------- */

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul li > ul {
  left: auto;
  display: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.main-navigation ul li.focus > ul {
  left: auto;
  display: block;
  opacity: 100%;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation li {
  position: relative;
  padding: 10px;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.main-navigation.toggled ul {
  display: block;
}
body.modal-toggled {
  overflow-y: hidden;
}
button.menu-toggle {
  justify-self: end;
  padding: 5px;
  background-color: transparent;
  border: none;
  position: relative;
  z-index: 10001 !important;
}
.hburger {
  display: grid;
  width: 24px;
  height: 24px;
}
.hburger > span {
  background-color: var(--dark-secondary) !important;
}
.hburger > span {
  width: 24px;
  height: 2px;
  margin-top: 3px;
  margin-bottom: 3px;
  background-color: var(--dark-secondary);
  will-change: transform, opacity;
  -webkit-transition: opacity 0.2s ease-in-out,
    -webkit-transform 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out,
    -webkit-transform 0.2s ease-in-out;
  -webkit-transform-origin: center right;
  -ms-transform-origin: center right;
  transform-origin: center right;
}
.hburger > span:nth-child(3) {
  -webkit-transform: scaleX(0.5);
  -ms-transform: scaleX(0.5);
  transform: scaleX(0.5);
}

nav.main-navigation.toggled > .menu-toggle > .hburger > span:nth-child(1) {
  -webkit-transform: rotate(-45deg) translateX(0.5px);
  -ms-transform: rotate(-45deg) translateX(0.5px);
  transform: rotate(-45deg) translateX(0.5px);
}

nav.main-navigation.toggled > .menu-toggle > .hburger > span:nth-child(2) {
  opacity: 0;
}

nav.main-navigation.toggled > .menu-toggle > .hburger > span:nth-child(3) {
  -webkit-transform: rotate(45deg) translateX(0.5px);
  -ms-transform: rotate(45deg) translateX(0.5px);
  transform: rotate(45deg) translateX(0.5px);
}
.mobile-mod {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  z-index: -1000;
  opacity: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 255, 0.2);
  -webkit-transition: opacity 0.3s ease, z-index 0s linear 0.3s;
  transition: opacity 0.3s ease, z-index 0s linear 0.3s;
  display: flex;
  will-change: opacity, z-index;
}

.mobile-mod.toggled {
  opacity: 1;
  z-index: 999;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.2);
}

.mobile-mod > .menu-panel {
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--dark-secondary);
  will-change: transform;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* When toggled, bring in the menu panel */
.mobile-mod.toggled .menu-panel {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.mobile-mod a {
  opacity: 0;
  transition-delay: 0.4s;
  transition-duration: 0.4s;
  transition-property: opacity;
  transition-timing-function: ease;
}
.mobile-mod.toggled a {
  color: var(--light-secondary);
  text-decoration: none;
  opacity: 1;
}
.mobile-mod .menu-panel ul {
  flex: 1; /* Grows to fill available space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0px;
  margin-right: auto;
  margin-left: 0px;
}
.mobile-mod .menu-panel ul li {
  list-style-type: none;
}
.menu-panel .company-info {
  flex-shrink: 0; /* Don't shrink */
  /* This will naturally sit at the bottom */
}

.menu-panel .company-info .footer-links li a {
  font-weight: 500;
  font-size: 1rem;
}

.mobile-mod.toggled .menu-panel ul {
  align-content: center;
}
.mobile-mod.toggled .menu-panel ul li {
  margin-bottom: 1rem;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu {
  margin-top: 1rem;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu li {
  margin-bottom: 0.25rem;
  padding-left: 1rem;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu li a {
  opacity: 0.75;
}
.mobile-mod.toggled .menu-panel ul li ul.sub-menu li a:hover {
  opacity: 1;
}
.mobile-mod.toggled .company-info {
  align-content: end;
}
.menu-panel li {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.site-main {
  margin-top: 0rem;
}
aside#secondary {
  margin-top: 2rem;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}
/*portfolio items*/
.portfolio-item {
  margin: 2.5rem 0px 0px 0px;
}
a.port-item-cf {
  text-decoration: none;
}
.row.port-items .card-project:first-of-type {
  margin: 0 !important;
}
.col-12.cf-0.img-padding {
  padding-right: 0px;
}
.col-lg-6.cf-2.img-padding {
  padding-right: 0px;
  padding-left: calc(var(--bs-gutter-x) * 1);
}

h3.card-title {
  font-weight: 500;
  margin-bottom: 0px;
}

@media (max-width: 991px) {
  .col-12.cf-0.img-padding,
  .col-lg-6.cf-2.img-padding,
  .col-lg-6.cf-1.img-padding {
    padding-right: 0px;
    padding-left: 0px;
  }
  .col-12.cf-0.img-padding.portfolio-item > a > .port-card > h3.card-title,
  .col-12.cf-2.img-padding.portfolio-item > a > .port-card > h3.card-title,
  .col-12.cf-1.img-padding.portfolio-item > a > .port-card > h3.card-title {
    padding-left: 1rem;
  }
}
@media (max-width: 768px) {
  .col-12.cf-0.img-padding > a.port-item-cf > .card-project > h3,
  .col-12.cf-1.img-padding > a.port-item-cf > .card-project > h3,
  .col-12.cf-2.img-padding > a.port-item-cf > .card-project > h3 {
    padding-left: 1rem;
  }
}
.port-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9; /* force 4:3 */
  overflow: hidden;
}

.port-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill and crop */
  display: block;
}
a.portfolio-link {
  text-decoration: none;
}
.headers-bpt {
  padding: 0.5rem 0.5rem 0.5rem 0px;
}

.headers-bpt .core-ans ul {
  list-style: none; /* remove bullets */
  margin: 0; /* remove default margin */
  padding: 0; /* remove default padding */
}

.headers-bpt .core-ans ul li {
  margin: 0; /* reset li margin */
  padding: 0; /* reset li padding */
}

/* New button styles - minimal additions */
.build-label {
  cursor: pointer;
  display: flex;
  user-select: none;
  justify-content: space-between;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
  align-self: center;
}

.core-ans {
  overflow: hidden;
  height: 0px;
}
.port-card {
  display: flex;
  width: 100%;
  margin-top: 1rem;
  align-items: anchor-center;
}
.port-card > h2.card-title {
  margin: 0.75rem 0;
  line-height: 1.5rem;
}

.port-card > .port-sub {
  font-weight: 500;
}
/*awards*/
.award-block {
  display: flex;
  margin: 2rem 0px;
  justify-self: center;
}
.award-block > img {
  width: 150px;
  height: fit-content;
  margin: 0.5rem 0;
}
.award-info {
  display: block;
  margin-left: 1rem;
}
.award-info > h3 {
  margin: 0.5rem 0;
  line-height: 1.25rem;
}

.press-block {
  display: flex;
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.press-block > img {
  width: 150px;
  height: fit-content;
  margin-bottom: auto;
  margin-top: auto;
}
.press-info {
  margin-left: 1rem;
  display: block;
}
.press-info > h3 {
  margin: 0.5rem 0;
  line-height: 1.25rem;
}
/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

img.custom-logo {
  height: 100px;
  width: auto;
  max-width: 450px;
}

/* Make sure logo link wraps around logo image. */
a.custom-logo-link {
  display: inline-block;
  opacity: 1;
}
/* Hide mobile logo on desktop */
.mobile-logo,
.mobile-logo-link {
  display: none;
}

/* Show mobile logo and hide desktop logo on mobile */
@media (max-width: 768px) {
  .mobile-logo {
    display: block;
    max-width: 100%;
    height: auto;
  }
  a.mobile-logo-link {
    position: fixed;
    display: block;
    opacity: 1;
    top: 16px;
    left: 12px;
    z-index: 1010;
  }
  /* Hide the regular logo on mobile (adjust selector as needed) */
  .site-logo,
  .custom-logo {
    display: none;
  }
}
/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.row {
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.bg-row.header-ck {
  min-height: 100vh !important;
  display: flex;
  align-items: center; /* vertical center */
  margin-bottom: 0;
}
.bg-row.header-ck.scope {
  min-height: 75vh !important;
  display: flex;
  align-items: center; /* vertical center */
  margin-bottom: 0;
}

main {
  min-height: 100vh;
}
#kempel-content {
  width: 100%;
  overflow-x: hidden;
}
.ck-marg {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
/* Desktop Navigation Styles - Vertical Left Menu */
@media (min-width: 768px) {
  .site-branding {
    position: fixed;
    top: 2rem;
    left: 56px;
    z-index: 1001;
  }

  /* Navigation container positioning - Fixed to viewport */
  #site-navigation {
    position: fixed;
    left: 56px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: auto;
    transition: top 0.75s ease;
  }
  #site-navigation.studio-active {
    top: calc(50% - 25px);
  }
  .row {
    margin-left: calc((var(--bs-gutter-x) * -0.5) + 200px);
  }
  /* Site branding - also fixed positioning */

  /* Header adjustments - remove full height since menu is now fixed */
  #masthead {
    position: relative;
    height: auto;
  }

  /* Navigation menu styling */
  #primary-menu {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Menu items */
  #primary-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Menu links */
  #primary-menu li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: 0.15rem;
    font-weight: 500;
    padding: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  #primary-menu li a:hover {
    opacity: 1;
  }
  /* Menu link hover/active states */

  /* Current page/active menu item - Simplified for Barba */
  #primary-menu li.current-menu-item a,
  #primary-menu li.current-menu-ancestor a,
  #primary-menu li.current_page_item a {
    color: var(--dark-secondary);
    opacity: 1;
  }

  #primary-menu li.current-menu-item > ul.sub-menu li a,
  #primary-menu li.current_page_item > ul.sub-menu li a {
    color: var(--dark-secondary);
    transition: opacity 0.4s ease;
  }
  #primary-menu li.current-menu-parent a {
    color: var(--dark-secondary);
    opacity: 1;
  }
  /* Sub-menu handling (if you have dropdowns) */
  #primary-menu li.menu-item-has-children > a:after {
    content: "";
  }

  #primary-menu .sub-menu {
    display: block;
    background: none;
    box-shadow: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }

  #primary-menu .sub-menu li a {
    font-size: 1rem;
    color: var(--dark-secondary);
    opacity: 0.7;
    transition: opacity 0.4s ease;
  }
  #primary-menu .sub-menu li a:hover {
    opacity: 1;
  }

  #primary-menu li.current-menu-item > ul.sub-menu li a,
  #primary-menu li.current_page_item > ul.sub-menu li a,
  #primary-menu li.current-menu-ancestor > ul.sub-menu li a,
  #primary-menu li.current-menu-parent > ul.sub-menu li a {
    color: var(--dark-secondary);
    transition: opacity 0.4s ease;
  }

  /* Current submenu item - override the default */
  #primary-menu li.current-menu-item > ul.sub-menu li.current-menu-item a,
  #primary-menu li.current_page_item > ul.sub-menu li.current_page_item a,
  #primary-menu li.current-menu-ancestor > ul.sub-menu li.current-menu-item a,
  #primary-menu li.current-menu-ancestor > ul.sub-menu li.current_page_item a {
    color: var(--dark-secondary);
    opacity: 1;
  }
}

/* Alternative styling - Minimal version */
@media (min-width: 768px) {
  /* If you prefer a cleaner look without borders */
  .minimal-nav #primary-menu li a {
    border-left: none;
    padding-left: 0;
    font-size: 1.1rem;
    line-height: 1.8;
  }

  .minimal-nav #primary-menu li a:hover {
    transform: none;
    color: var(--dark-secondary);
    opacity: 1;
  }
}

/* Adjustments for very large screens */
@media (min-width: 1400px) {
  .site-branding {
    left: 56px;
  }

  #site-navigation {
    left: 56px;
  }

  #primary-menu li a {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}
.cta-links {
  gap: 1rem;
  display: flex;
  justify-self: center;
}
.cta-links a {
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin: 0 0 1.5rem 0;
  text-decoration: none;
}
li.info-item a {
  text-decoration: none;
} /* Base link styles */
a > .card-project > h3 span,
a > .card-project div h3 span,
a > .port-card h3 span,
#primary-menu li a span,
.profile-links li a,
.portfolio-link h2 span,
.footer-links li a span {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  overflow: hidden;
}
/* Base link styles */
a > .card-project > h3 span,
a > .card-project div h3 span,
a > .port-card h3 span,
#primary-menu li a span,
.profile-links li a,
.portfolio-link h2 span,
.footer-links li a span {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  overflow: hidden;
}

/* The BEFORE line - slides in on hover */
a .card-project h3 span::before,
a .card-project div h3 span::before,
a .port-card h3 span::before,
#primary-menu li a span::before,
.profile-links li a::before,
.portfolio-link h2 span.title::before,
.footer-links li a span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: translateX(-100%);
  z-index: 2;
}

/* The AFTER line - slides out on mouse leave */
a .card-project h3 span::after,
a .card-project div h3 span::after,
a .port-card h3 span::after,
#primary-menu li a span::after,
.profile-links li a::after,
.portfolio-link h2 span.title::after,
.footer-links li a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: translateX(0);
  opacity: 0;
  z-index: 1;
}

/* Exception: no underline for location */
a .card-project h3 span.location::before,
a .card-project h3 span.location::after {
  content: none;
}

/* Mouse IN: Before slides in from left */
a .card-project h3 span.slide-in::before,
a .card-project div h3 span.slide-in::before,
a .port-card h3 span.slide-in::before,
#primary-menu li a span.slide-in::before,
.profile-links li a.slide-in::before,
.portfolio-link h2 span.title.slide-in::before,
.footer-links li a span.slide-in::before {
  animation: slideIn 0.3s linear forwards;
}

/* Mouse OUT: After slides out to right */
a .card-project h3 span.slide-out::after,
a .card-project div h3 span.slide-out::after,
a .port-card h3 span.slide-out::after,
#primary-menu li a span.slide-out::after,
.profile-links li a.slide-out::after,
.portfolio-link h2 span.title.slide-out::after,
.footer-links li a span.slide-out::after {
  animation: slideOut 0.3s linear forwards;
}

/* Keyframes */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 1;
  }
}
.card-project.homepage {
  margin-bottom: 2.5rem 0; /* Vertical spacing above and below */
  padding-top: 2.5rem 0;
}

.card-project > h3 {
  margin: 1rem 0px 2px 0px;
  font-weight: 500;
}
.card-project {
  position: relative;
  overflow: hidden;
}
.card-project picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps 4:3 ratio */
  overflow: hidden;
}

.card-project img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop/scale while filling the container */
  display: block;
  transition: transform 0.4s ease;
}
a:hover .card-project img {
  transform: scale(1.01); /* zooms in while staying cropped */
}

.img-padding {
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Mobile Header - Fixed positioning */
@media (max-width: 767.98px) {
  #masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
  }
  main.site-secondary {
    padding-top: 10rem !important;
  }
  /* Header container adjustments */
  #masthead .container-xxl {
    padding: 0.75rem 1rem;
  }
  .site-branding > a > img {
    max-height: 90px;
    width: auto;
  }
  .img-padding {
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .portfolio-padding {
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
@media (max-width: 991px) {
  .img-padding {
    margin-top: 1rem;
    padding-bottom: 1rem;
  }
  .portfolio-padding {
    margin-top: 1rem;
    padding-bottom: 1rem;
  }
}
/*==FOOTER SECTION ==*/
img.footer-logo {
  width: calc(50% - 1rem);
  height: auto;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}
h3.footer {
  margin-bottom: 0.25rem;
}
@media (max-width: 991px) {
  img.footer-logo {
    width: 100%;
  }
}
ul.footer-links {
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
}

ul.footer-links > li.linklist a {
  color: #fcfcfc !important;
  font-weight: 500;
  text-decoration: none !important;
}
.site-footer p.lead {
  margin-top: 0px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.info-item img.icon {
  width: 20px;
  height: 20px;
  fill: var(--light-secondary); /* if inline SVG, otherwise use filter */
  filter: brightness(0) invert(1); /* makes external svg appear white */
  padding-right: 0px;
  vertical-align: top;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 1rem 0px;
  display: flex;
  gap: 1rem;
}

.social-icons li {
  display: inline-block;
}

.social-icons svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-icons svg:hover .icon-2 {
  fill: var(--light-secondary);
}
.social-icons svg:hover .icon-1 {
  fill: var(--dark-primary);
}

.icon-1 {
  fill: var(--light-secondary);
}

.icon-2 {
  fill: none;
  stroke: var(--light-secondary);
  stroke-miterlimit: 10;
  stroke-width: 4px;
}

.swiper-button-wrapper.ex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.swiper-content-wrap {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  z-index: 1;
}

.swiper-container {
  overflow: hidden !important;
  width: 100%;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  width: 100%;
  flex-shrink: 0;
}
.swiper-pagination {
  justify-content: center;
}
.swiper-pagination-bullet:not(:first-child).swiper-pagination-bullet-active {
  position: relative;
}
/*Video*/
.jkVid-bg {
  position: relative;
  display: block;
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
  object-fit: cover;
}
.jkVid-bg-2 {
  position: relative;
  display: block;
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
  object-fit: cover;
  display: none;
}
.top-half-visual {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: relative;
  top: 0px;
  z-index: -1;
}

.top-half {
  height: 100vh;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none; /* Allows clicks to pass through */
}
@media (max-width: 767.98px) {
  .top-half {
    height: 75vh;
    margin-top: 0px;
    margin-bottom: auto;
  }
  .video-overlay {
    height: 75vh;
  }
  .jkVid-bg {
    display: none;
  }
  .jkVid-bg-2 {
    display: block;
  }
  .bg-row.header-ck {
    min-height: 75vh !important;
    display: flex;
    align-items: center; /* vertical center */
    margin-bottom: 0rem;
  }
}

.wp-block-custom-enhanced-video {
  display: flow-root; /* creates a block formatting context */
}
.wp-block-image {
  display: flow-root; /* creates a block formatting context */
}
.wp-block-custom-enhanced-video {
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.wp-block-image {
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}
/*hover studio project on homepage*/
.hover-studio {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  margin: 0 auto;
}

.hover-studio > img.studio-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
  z-index: 3;
}

.hover-studio > img.studio-image.off {
  opacity: 0;
  z-index: 2;
}

/* Hover state - fade out top image to reveal bottom */
.hover-studio:hover > img.studio-image:not(.off) {
  opacity: 0;
}

.hover-studio:hover > img.studio-image.off {
  opacity: 1;
}

/* buttons */
.profile-links {
  list-style: none; /* remove default list bullets */
  padding: 0; /* space between list items */
  margin-top: 2rem;
  margin-left: 0px;
}

.profile-links li {
  margin-bottom: 1rem; /* reset li margins (gap handles spacing) */
}

.profile-links .button {
  display: inline-block;
  font-size: 1rem; /* 1rem text */
  font-weight: 500;
  padding: 0.25rem 1.5rem; /* minimal padding */
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 1rem;
  background: #f9f9f9;
  color: #333;
  transition: background 0.2s ease;
}

.profile-links .button:hover {
  background: #eee;
}

/* Tab styling */
ul.nav.nav-tabs {
  list-style: none;
  padding-left: 0px;
  margin-left: 0px;
}
ul.nav-tabs > li.nav-item {
  margin-bottom: 0.5rem;
}
/* Select all nav-links that are not active */
.nav-link:not(.active) {
  color: #666; /* example style */
  opacity: 0.7;
  cursor: pointer;
  margin-left: 1rem;
}
.nav-link {
  padding: 0.5rem 0px;
}
.nav-link.active {
  color: #000;
  opacity: 1;
}
/* Optional: on hover */
.nav-link:not(.active):hover {
  color: #000;
  opacity: 1;
}
.nav-tabs .nav-item a {
  text-decoration: none;
}
.tab-content {
  margin-top: 0rem;
}
.tab-content h4,
.tab-content p {
  margin: 0px;
  padding-left: 1rem;
}
.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.tab-pane.active {
  display: block;
}
.tab-row-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.tab-row-content img.team-pic {
  max-height: 200px;
}

.tab-pane.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
  opacity: 1;
}

.tab-pane.active.show {
  opacity: 1;
}
@media (max-width: 991px) {
  .tab-content h4,
  .tab-content p {
    margin: 0px;
    padding-top: 1rem;
    padding-left: 0rem;
  }
}
/*Accordion Styling*?
	        /* Bootstrap 5 Accordion Styles - Core Components */

.accordion {
  --bs-accordion-transition: color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    border-radius 0.15s ease;
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: 0.375rem;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 0.75rem;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-width: 1.25rem;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-focus-border-color: #86b7fe;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0.75rem;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--light-secondary);
  padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
  font-size: 1rem;
  text-align: left;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  border-bottom: 1px solid var(--dark-secondary);
}

.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-active-icon);
  transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button::after {
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  margin-left: auto;
  content: "";
  background-image: var(--bs-accordion-btn-icon);
  background-repeat: no-repeat;
  background-size: var(--bs-accordion-btn-icon-width);
  transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:hover {
  z-index: 2;
}

.accordion-button:focus {
  z-index: 3;
  border-color: transparent;
  outline: 0;
  box-shadow: none;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-item {
  color: var(--bs-accordion-color);
  background-color: transparent;
  border: 0;
}

.accordion-item:first-of-type {
  border: 0;
}

.accordion-item .show .accordion-body {
  border-width: 1px 0px;
  border-style: solid;
  border-color: var(--dark-link);
}
.accordion-item:first-of-type .show .accordion-body {
  border-bottom: 1px solid var(--dark-link);
  border-width: 0px 0px 1px 0px;
}
.accordion-item:last-of-type .show .accordion-body {
  border-width: 0px;
}
.accordion-item:first-of-type .accordion-button {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-item:not(:first-of-type) {
  border-top: 0;
}

.accordion-item:last-of-type {
  border: 0;
}
.accordion-item:last-of-type .accordion-button {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-item:last-of-type .accordion-collapse {
  border: 0;
  border-bottom: 1px solid var(--dark-link);
}

.accordion-body {
  padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
}

/* Collapse functionality styles */
.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/*--MODAL STYLES-lightbox--*/

/* Media Lightbox Styles */
.media-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  opacity: 0;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
  transform: scale(0);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 60px;
  box-sizing: border-box;
  opacity: 0;
}

.lightbox-image-container {
  margin-bottom: 40px;
  text-align: center;
}

.lightbox-image-container:last-child {
  margin-bottom: 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
  color: white;
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.4;
}

/* Clickable images cursor */
.entry-content img:not([data-lightbox-ignore]) {
  cursor: pointer;
}

/* Smooth scrolling for lightbox content */
.lightbox-content {
  scroll-behavior: smooth;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .lightbox-content {
    padding: 40px 20px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-image {
    max-height: 70vh;
    margin-bottom: 15px;
  }

  .lightbox-image-container {
    margin-bottom: 30px;
  }

  .lightbox-caption {
    font-size: 14px;
  }
}

/* Sticky Header - Mobile Only */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sticky-button {
  display: none;
}

/* Tablet/Desktop - 768px and up */
@media screen and (min-width: 768px) {
  /* Remove sticky from header */
  .sticky-header {
    position: relative;
    top: auto;
  }

  /* Show and make button sticky */
  .sticky-button {
    position: fixed;
    top: 32px;
    right: 56px;
    z-index: 1010;
  }
}

.award-card-1 {
  background: var(--light-secondary);
  border: 0.0625rem solid var(--mid-secondary);
  transition: transform 0.2s ease;
}

.award-card-1:hover {
  transform: translateY(-0.125rem);
}

.award-card-1 .image {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.award-card-1 .title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark-primary);
}

.award-card-1 .category {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
  color: var(--dark-secondary);
}

.award-card-1 .nomination {
  font-size: 1rem;
  color: var(--dark-secondary);
}

.award-card-1 .home-link {
  text-decoration: none;
  font-weight: 700;
}

.award-card-1 .home-text {
  text-decoration: none;
  font-weight: 700;
}

.award-card-1 > .info {
  display: flex;
  justify-content: space-between !important;
  padding: 1.25rem 1.25rem 0rem 1.25rem;
}

.award-card-1 .logo {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
}

.award-card-1 .featured-home {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
  color: var(--dark-primary);
  font-size: 1rem;
  opacity: 0.7;
}

.award-card-1 .logo img {
  border: 1px solid var(--mid-secondary);
}

.press-card-1 {
  background: var(--light-secondary);
  border: 0.0625rem solid var(--mid-secondary);
  transition: transform 0.2s ease;
}

.press-card-1:hover {
  transform: translateY(-0.125rem);
}

.press-card-1 .image {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.press-card-1 .title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  color: var(--dark-primary);
}

.press-card-1 .publication {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
  color: var(--dark-secondary);
}

.press-card-1 .description {
  font-size: 1rem;
  color: var(--dark-secondary);
}

.press-card-1 .read-link {
  text-decoration: none;
  color: var(--dark-primary);
  font-weight: 700;
  font-size: 1rem;
}

.press-card-1 a.home-link {
  text-decoration: none;
  color: var(--dark-primary);
  font-weight: 700;
  font-size: 1rem;
}

.press-card-1 .home-text {
  font-size: 1rem;
  color: var(--dark-primary);
  font-weight: 700;
}

.press-block {
  background: white;
  border: 1px solid #eee;
  transition: transform 0.2s ease;
  padding: 20px;
}

.press-block:hover {
  transform: translateY(-2px);
}

.press-block .press-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0px;
}

.press-block .press-image {
  width: 125px;
  height: 125px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f8f9fa;
  padding: 5px;
}

.press-block .press-content {
  flex-grow: 1;
  min-width: 0;
}

.press-block .press-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.press-block .press-title a {
  text-decoration: none;
  color: #000;
}

.press-block .press-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.press-block .press-publication {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

.press-block .press-date {
  font-size: 11px;
  color: #ccc;
}

.press-block .press-summary {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.press-block .press-link-article {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.press-block .press-link-article:hover {
  opacity: 0.7;
}

/* Mobile responsiveness */
@media (max-width: 575px) {
  .press-block .press-info {
    flex-direction: column;
    gap: 15px;
  }

  .press-block .press-image {
    width: 100%;
    height: auto;
    max-width: 80px;
  }
}

.award-block {
  background: white;
  border: 1px solid #eee;
  transition: transform 0.2s ease;
  padding: 20px;
}

.award-block:hover {
  transform: translateY(-2px);
}

.award-block .award-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0px;
}

.award-block img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f8f9fa;
  padding: 5px;
}

.award-block .award-content {
  flex-grow: 1;
  min-width: 0;
}

.award-block h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: #000;
}

.award-block .award-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.award-block .award-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

.award-block .award-prize {
  font-size: 11px;
  color: #ccc;
}

.award-block .award-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 575px) {
  .award-block .award-info {
    flex-direction: column;
    gap: 15px;
  }

  .award-block img {
    width: 100%;
    height: auto;
    max-width: 80px;
  }
}

/* Custom Cursor Styles */
*,
*::before,
*::after {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  width: 18px;
  height: 18px;
  opacity: 1;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.custom-cursor.is-hidden {
  opacity: 0;
}

.cursor-circle {
  width: 100%;
  height: 100%;
  border: 1px solid white;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s ease, border-radius 0.2s ease;
  box-shadow: 0 0 0 1px black;
}

.cursor-text {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

/* Link hover state */
.custom-cursor.is-link {
  width: 27px;
  height: 27px;
}

.custom-cursor.is-link .cursor-circle {
  background-color: white;
}

/* Swiper hover state */
.custom-cursor.is-swiper {
  width: 18px;
  height: 18px;
}

.custom-cursor.is-swiper .cursor-circle {
  border-radius: 0;
  background-color: white;
}

.custom-cursor.is-swiper .cursor-text {
  opacity: 1;
}
.wp-block-columns.is-layout-flex {
  column-gap: 2em;
  row-gap: 0rem;
}
