/* Theme base styles */

/* Generic – reset and normalize for consistent cross-browser rendering */
*, *:before, *:after {
  box-sizing: border-box;
}
/*! 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.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

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

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * 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;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  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;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * 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; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
  font: inherit; /* 2 */
}

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

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects – non-cosmetic layout patterns */
/* CSS variables */

:root {
  --gap: 2.127659574%;
}

.dnd-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.row-fluid [class*='span'] {
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .row-fluid .span11 {
    width: calc(91.66% - var(--gap));
  }

  .row-fluid .span10 {
    width: calc(83.33% - var(--gap));
  }

  .row-fluid .span9 {
    width: calc(75% - var(--gap));
  }

  .row-fluid .span8 {
    width: calc(66.66% - var(--gap));
  }

  .row-fluid .span7 {
    width: calc(58.33% - var(--gap));
  }

  .row-fluid .span6 {
    width: calc(50% - var(--gap));
  }

  .row-fluid .span5 {
    width: calc(41.66% - var(--gap));
  }

  .row-fluid .span4 {
    width: calc(33.33% - var(--gap));
  }

  .row-fluid .span3 {
    width: calc(25% - var(--gap));
  }

  .row-fluid .span2 {
    width: calc(16.66% - var(--gap));
  }

  .row-fluid .span1 {
    width: calc(8.33% - var(--gap));
  }
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements – base HTML element styles */
body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

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

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}

/* Components – UI-specific styles */
/* ============================================================
   SHARED CONTAINER
   ============================================================ */

.header__container,
.footer__container,
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  background-color: #2D3E50;
  color: #fff;
}

/* Inner flex row: logo-wrap left | nav-wrap right */
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* --- Logo + tagline (left) --- */
.header__logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Company name shown when no logo image is uploaded */
.header__logo .logo-company-name {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

/* Tagline below logo: pre-line preserves \n line-breaks from the field */
.header__tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  white-space: pre-line;
}

/* --- Navigation (right) --- */
.header__nav-wrap {
  display: flex;
  align-items: center;
}

.header__nav .menu .menu__wrapper {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav .menu .menu__item > a,
.header__nav .menu .menu__item > span {
  color: #fff;
  display: block;
  font-size: 0.95rem;
  padding: 6px 12px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.header__nav .menu .menu__item > a:hover,
.header__nav .menu .menu__item > a:focus {
  opacity: 0.75;
  text-decoration: underline;
}

/* --- Skip-to-content link (accessibility) --- */
.header__skip {
  background: #fff;
  color: #2D3E50;
  font-weight: 700;
  height: 1px;
  left: -9999px;
  overflow: hidden;
  padding: 8px 16px;
  position: absolute;
  top: auto;
  width: 1px;
  z-index: 200;
}

.header__skip:focus {
  height: auto;
  left: 8px;
  overflow: visible;
  top: 8px;
  width: auto;
  border-radius: 4px;
  outline: 3px solid #FF7A59;
}

/* --- Mobile hamburger toggle --- */
.header__nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: 8px;
}

.header__nav-toggle-icon {
  background: #fff;
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 22px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   RESPONSIVE – mobile
   ============================================================ */

@media (max-width: 767px) {
  .header__container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header__logo-wrap {
    flex: 1;
  }

  /* Show hamburger on mobile */
  .header__nav-toggle {
    display: flex;
  }

  .header__nav {
    display: none;
    width: 100%;
    order: 3;
    padding-bottom: 12px;
  }

  .header__nav.open {
    display: block;
  }

  /* Stack menu vertically */
  .header__nav .menu .menu__wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__nav .menu .menu__item > a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
  }

  /* Animate hamburger → X when open */
  .header__nav-toggle[aria-expanded="true"] .header__nav-toggle-icon:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header__nav-toggle[aria-expanded="true"] .header__nav-toggle-icon:nth-child(2) {
    opacity: 0;
  }
  .header__nav-toggle[aria-expanded="true"] .header__nav-toggle-icon:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: #2D3E50;
  color: #fff;
}

.footer__container {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Optional footer nav */
.footer__nav .menu__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.footer__nav .menu__item > a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  padding: 4px 8px;
  text-decoration: none;
}

.footer__nav .menu__item > a:hover,
.footer__nav .menu__item > a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Copyright line */
.footer__copyright {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin: 0;
}
.image-text {
  padding: 40px 0;
}

.image-text .wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.image-text .image {
  flex: 1 1 50%;
  max-width: 50%;
}

.image-text .image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-text .content {
  flex: 1 1 50%;
  max-width: 50%;
}

.image-text__heading {
  margin-top: 0;
  margin-bottom: 16px;
}

.image-text__description {
  margin-top: 0;
}

@media (max-width: 767px) {
  .image-text .wrapper {
    flex-direction: column;
  }

  .image-text .image,
  .image-text .content {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* Team section padding handled by the module's require_css */
.team-section {
  padding: 0;
}

/* Utilities – helper/accessibility classes */
/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}