@charset "utf-8";

/* =========================================================
Gemslinks Knowledge Pages Stylesheet
File: /css/knowledge.css

Purpose:

* Standalone CSS for knowledge / reference pages.
* Do not depend on /css/style.css.
* Top page, knowledge pages, and service pages can be separated.
  ========================================================= */

/* =========================================================
0. Variables
========================================================= */

:root {
  --gl-black: #1f1f1f;
  --gl-dark: #222222;
  --gl-orange: #f28c28;
  --gl-orange-dark: #d96f12;
  --gl-cream: #f5f5f2;
  --gl-cream-dark: #f1eee9;
  --gl-card: #ffffff;
  --gl-text: #333333;
  --gl-muted: #666666;
  --gl-border: #dddddd;
  --gl-border-dark: #bbbbbb;
  --gl-soft-orange: #fff8ef;
  --gl-soft-orange-border: #f2d7b6;

  --knowledge-content-width: 1400px;
  --knowledge-radius-lg: 20px;
  --knowledge-radius-md: 16px;
  --knowledge-radius-sm: 10px;
  --knowledge-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --knowledge-shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.05);
}

/* =========================================================

1. Reset / Base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  color: var(--gl-text);
  background: var(--gl-cream);
  font-family:
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,
    Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 2;
  -webkit-text-size-adjust: 100%;
}

body.sub-page,
body.knowledge-page {
  background: var(--gl-cream);
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style-type: none;
}

ol {
  padding: 0 20px 20px 42px;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
}

iframe {
  width: 100%;
}

section {
  scroll-margin-top: 96px;
}

a {
  color: var(--gl-text);
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    letter-spacing 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

a:hover {
  color: var(--gl-orange);
  text-decoration: none;
}

b,
strong {
  font-weight: 700;
}

/* =========================================================
2. Header
========================================================= */

header {
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
  position: relative;
  background: var(--gl-black);
  border-bottom: 4px solid var(--gl-orange);
}

.sub-header-inner {
  max-width: var(--knowledge-content-width);
  margin: 0 auto;
  padding: 18px 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#logo {
  margin: 0;
  padding: 0;
}

header #logo img,
body.sub-page header #logo img {
  position: static;
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

#menubar {
  position: static;
  width: auto;
  flex: 1;
  text-align: right;
}

#menubar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#menubar li {
  display: inline-block;
  margin: 0 0 0 18px;
  padding: 0;
  animation: none;
}

#menubar li a {
  display: block;
  width: auto;
  padding: 0 0 5px;
  color: #ffffff;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
}

#menubar li a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  letter-spacing: 0.1em;
}

#language-switch {
  position: static;
  order: 3;
  z-index: 10;
  animation: none;
}

#language-switch .language-disabled,
#language-switch a {
  display: inline-block;
  padding: 6px 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

#language-switch .language-disabled {
  cursor: default;
  opacity: 0.75;
}

#language-switch a:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  border-color: #ffffff;
  letter-spacing: 0.12em;
}

/* =========================================================
3. Layout
========================================================= */

#container {
  max-width: var(--knowledge-content-width);
  margin: 0 auto;
}

#contents {
  overflow: hidden;
  padding: 35px 3% 50px;
}

#contents section + section {
  padding-top: 50px;
}

.breadcrumb {
  margin-bottom: 18px;
  padding: 0 20px;
  color: var(--gl-muted);
  font-size: 13px;
  line-height: 1.7;
}

.breadcrumb a {
  color: var(--gl-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gl-orange);
}

/* =========================================================
4. Hero / Intro
========================================================= */

.sub-hero {
  margin-bottom: 44px;
  padding: 34px 34px 30px;
  border: 1px solid var(--gl-border);
  border-radius: var(--knowledge-radius-lg);
  background: #ffffff;
  box-shadow: var(--knowledge-shadow);
}

#contents .sub-hero h1 {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  color: var(--gl-dark);
  border: none;
  border-radius: 0;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}

.sub-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  color: #ffffff;
  background: var(--gl-orange);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sub-lead {
  margin-bottom: 18px;
  padding: 0 !important;
  color: var(--gl-text);
  font-size: 18px;
  line-height: 1.8;
}

.sub-note {
  padding: 0 !important;
  color: #555555;
  line-height: 1.8;
}

.stat-highlight {
  display: inline-block;
  padding: 0 0.08em;
  color: var(--gl-orange-dark);
  font-size: 1.65em;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: -0.05em;
}

/* =========================================================
5. Buttons / Hero Links
========================================================= */

.hero-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px !important;
}

.hero-links a,
.btn-primary,
.btn-secondary {
  display: inline-block;
  min-width: 190px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.hero-links .btn-primary,
.btn-primary {
  color: #ffffff;
  background: var(--gl-orange);
  border: 2px solid var(--gl-orange);
}

.hero-links .btn-secondary,
.btn-secondary {
  color: var(--gl-dark);
  background: #ffffff;
  border: 2px solid var(--gl-dark);
}

.hero-links .btn-primary:hover,
.btn-primary:hover,
.hero-links .btn-secondary:hover,
.btn-secondary:hover {
  color: #ffffff;
  background: var(--gl-dark);
  border-color: var(--gl-dark);
  transform: translateY(-2px);
}

/* =========================================================
6. Headings
========================================================= */

#contents h2 {
  clear: both;
  margin-bottom: 20px;
  padding: 2px 0 2px 16px;
  color: var(--gl-dark);
  background: none;
  border-left: 6px solid var(--gl-orange);
  border-radius: 0;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
}

#contents h3 {
  clear: both;
  margin-bottom: 20px;
  padding: 0 0 8px;
  color: var(--gl-dark);
  background: none;
  border: none;
  border-bottom: 1px solid var(--gl-border-dark);
  border-radius: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
}

.section-kicker {
  margin-bottom: 8px;
  padding: 0 !important;
  color: var(--gl-orange);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
7. Text Blocks / Lists
========================================================= */

#contents p {
  padding: 0 20px 20px;
}

#contents h2 + p,
#contents h3 + p {
  margin-top: -10px;
}

.list {
  overflow: hidden;
  margin-bottom: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--gl-border);
  border-radius: var(--knowledge-radius-md);
  box-shadow: var(--knowledge-shadow-soft);
  line-height: 1.5;
}

.list:first-of-type {
  border-top: 1px solid var(--gl-border);
}

.list h4 {
  margin-bottom: 10px;
  color: var(--gl-dark);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.list p {
  padding: 0 !important;
}

.list img {
  width: 20%;
  float: left;
  margin-right: 3%;
}

ul.disc {
  padding: 0 25px 15px 40px;
  list-style: disc;
}

ul.disc li {
  margin-bottom: 0.35em;
  line-height: 1.75;
}

ul.disc li:last-child {
  margin-bottom: 0;
}

ol li {
  line-height: 1.75;
}

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

.no-list-style li {
  padding-left: 20px;
  text-indent: -20px;
}

/* =========================================================
8. Mini Cards
========================================================= */

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mini-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--gl-border);
  border-radius: var(--knowledge-radius-md);
  box-shadow: var(--knowledge-shadow-soft);
}

.mini-card h4 {
  margin-bottom: 8px;
  color: var(--gl-dark);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.mini-card p {
  padding: 0 !important;
  color: #555555;
  line-height: 1.6;
}

/* =========================================================
9. Highlight / CTA Blocks
========================================================= */

.subpage-cta {
  margin-top: 10px;
  padding: 34px;
  color: #ffffff;
  background: var(--gl-dark);
  border-radius: var(--knowledge-radius-lg);
}

.subpage-cta h2 {
  color: #ffffff !important;
  border-left-color: var(--gl-orange) !important;
  margin-bottom: 16px !important;
}

.subpage-cta p,
.subpage-cta h4 {
  color: #ffffff;
}

.subpage-cta .btn-secondary {
  color: var(--gl-dark);
}

.subpage-highlight,
.subpage-highlight-cta {
  margin-top: 10px;
  padding: 34px;
  color: var(--gl-dark);
  background: var(--gl-cream-dark);
  border: 1px solid var(--gl-border);
  border-radius: var(--knowledge-radius-lg);
  box-shadow: var(--knowledge-shadow);
}

.subpage-highlight h2,
.subpage-highlight-cta h2 {
  color: var(--gl-dark) !important;
  border-left-color: var(--gl-orange) !important;
  margin-bottom: 16px !important;
}

.subpage-highlight h4,
.subpage-highlight-cta h4 {
  color: var(--gl-dark);
  font-weight: 700;
}

.subpage-highlight p,
.subpage-highlight-cta p {
  color: var(--gl-text);
}

.subpage-highlight .btn-secondary,
.subpage-highlight-cta .btn-secondary {
  color: var(--gl-dark);
  background: #ffffff;
  border-color: var(--gl-dark);
}

.subpage-highlight .btn-secondary:hover,
.subpage-highlight-cta .btn-secondary:hover {
  color: #ffffff;
  background: var(--gl-dark);
  border-color: var(--gl-dark);
}

.subpage-highlight-inner-card,
.subpage-cta-inner-card {
  margin: 22px 0;
  padding: 22px;
  color: var(--gl-dark);
  background: var(--gl-soft-orange);
  border: 1px solid var(--gl-soft-orange-border);
  border-radius: var(--knowledge-radius-md);
  box-shadow: inset 0 0 0 1px rgba(242, 140, 40, 0.08);
}

.subpage-cta-inner-card {
  background: #ffffff;
  border-color: var(--gl-border);
}

.subpage-highlight-inner-card h4 {
  margin-bottom: 12px;
  padding-left: 12px;
  color: var(--gl-dark);
  border-left: 5px solid var(--gl-orange);
  font-weight: 700;
}

.subpage-highlight-inner-card li,
.subpage-cta-inner-card li,
.subpage-cta-inner-card h4 {
  color: var(--gl-dark);
}

.subpage-highlight-inner-card ul.disc,
.subpage-cta-inner-card ul.disc {
  padding-bottom: 0;
}

/* =========================================================
10. Tables
========================================================= */

.ta1 {
  width: 100%;
  margin: 0 auto 20px;
  background: #ffffff;
  border-collapse: collapse;
  table-layout: fixed;
  box-shadow: var(--knowledge-shadow-soft);
}

.ta1 caption {
  padding: 10px;
  color: #ffffff;
  background: var(--gl-dark);
  border: 1px solid var(--gl-dark);
  border-bottom: none;
  font-weight: 700;
  text-align: center;
}

.ta1,
.ta1 td,
.ta1 th {
  border: 1px solid #999999;
}

.ta1 th,
.ta1 td {
  padding: 10px;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ta1 th {
  width: 24%;
  color: var(--gl-dark);
  background: var(--gl-cream-dark);
  font-weight: 700;
  text-align: center;
}

.ta1 th.tamidashi {
  width: auto;
  text-align: center;
  background: #dfdfdf;
}

.ta1 a {
  color: var(--gl-orange-dark);
  font-weight: 700;
}

.ta1 a:hover {
  color: var(--gl-dark);
  text-decoration: underline;
}

/* =========================================================
11. Alliance Reference Table
========================================================= */

.alliance-table {
  table-layout: fixed;
}

.alliance-table .col-no {
  width: 4em;
}

.alliance-table .col-name {
  width: 24%;
}

.alliance-table .col-url {
  width: 22%;
}

.alliance-table .col-category {
  width: 20%;
}

.alliance-table .col-keywords {
  width: auto;
}

.alliance-table th,
.alliance-table td {
  vertical-align: top;
}

.alliance-table th:first-child,
.alliance-table td:first-child {
  text-align: center;
  white-space: nowrap;
}

/* =========================================================
12. Table Controls / Filter
========================================================= */

.table-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.table-controls button {
  cursor: pointer;
  padding: 8px 16px;
  color: var(--gl-dark);
  background: #ffffff;
  border: 1px solid var(--gl-dark);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.table-controls button:hover {
  color: #ffffff;
  background: var(--gl-dark);
  border-color: var(--gl-dark);
  transform: translateY(-1px);
}

.table-filter {
  width: min(100%, 420px);
  padding: 9px 16px;
  color: var(--gl-dark);
  background: #ffffff;
  border: 1px solid var(--gl-border-dark);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.table-filter:focus {
  outline: none;
  border-color: var(--gl-orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.18);
}

/* =========================================================
13. Contact Form
========================================================= */

#contact {
  margin-top: 10px;
}

.contact-card {
  margin-top: 20px;
  padding: 34px;
  color: var(--gl-dark);
  background: var(--gl-cream-dark);
  border: 1px solid var(--gl-border);
  border-radius: var(--knowledge-radius-lg);
  box-shadow: var(--knowledge-shadow);
}

.contact-form {
  width: 100%;
  max-width: none;
  margin: 24px auto 0;
  padding: 28px;
  color: var(--gl-dark);
  background: var(--gl-soft-orange);
  border: 1px solid var(--gl-soft-orange-border);
  border-radius: var(--knowledge-radius-md);
  box-shadow: inset 0 0 0 1px rgba(242, 140, 40, 0.08);
}

.contact-form .form-row {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  padding-left: 12px;
  color: var(--gl-dark);
  border-left: 5px solid var(--gl-orange);
  font-weight: 700;
  line-height: 1.5;
}

.contact-form label span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  color: #ffffff;
  background: var(--gl-orange);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--gl-dark);
  background: #ffffff;
  border: 1px solid var(--gl-border-dark);
  border-radius: var(--knowledge-radius-sm);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gl-orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.18);
}

.form-submit {
  display: block;
  min-width: 240px;
  margin: 24px auto 0;
  padding: 13px 28px;
  color: #ffffff;
  background: var(--gl-orange);
  border: 2px solid var(--gl-orange);
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.form-submit:hover {
  background: var(--gl-dark);
  border-color: var(--gl-dark);
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  background: #999999;
  border-color: #999999;
  transform: none;
}

.contact-direct-email {
  max-width: 760px;
  margin: 14px auto 0;
  padding: 0 !important;
  color: var(--gl-muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.contact-direct-email a {
  color: var(--gl-orange-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-direct-email a:hover {
  color: var(--gl-dark);
  text-decoration: underline;
}

/* =========================================================
14. Photos / Modal / Slide Support
Kept here so knowledge pages can remain independent
if a future knowledge article contains images or slides.
========================================================= */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  padding: 10px;
}

.photo-tile {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.photo-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.thumbnail-photo,
.thumbnail-slide {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  display: block;
  width: 80%;
  max-width: 700px;
  margin: 20px auto 0;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  z-index: 10000;
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

#modal-photo,
#modal-slide {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.85);
}

#modal-photo-img,
#modal-slide-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 78vw;
  max-height: 88vh;
  object-fit: contain;
  transform: translate(-50%, -50%);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

#prev,
#next {
  position: absolute;
  top: 50%;
  z-index: 10000;
  padding: 12px 16px;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

#prev {
  left: calc(50% - 42vw);
}

#next {
  right: calc(50% - 42vw);
}

/* =========================================================
15. Footer
========================================================= */

footer {
  clear: both;
  margin-top: 30px;
  padding: 1.1rem 1rem;
  color: #ffffff;
  background: var(--gl-dark);
  font-size: 85%;
  text-align: center;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

footer .pr {
  display: block;
  font-size: 80%;
}

/* =========================================================
16. Floating Navigation
========================================================= */

.floating-nav {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9998;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.floating-nav p {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.floating-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  padding: 0 14px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.floating-nav a:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.85);
}

.floating-contact a {
  min-width: 86px;
  background: var(--gl-orange);
  border-color: var(--gl-orange);
}

.floating-contact a:hover {
  background: var(--gl-dark);
  border-color: var(--gl-dark);
}

.floating-nav .scroll a {
  position: static;
  right: auto;
  bottom: auto;
  width: 50px;
  min-width: 50px;
  padding: 0;
}

/* =========================================================
17. Utilities
========================================================= */

.look {
  padding: 5px 10px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.mb15,
.mb1em {
  margin-bottom: 15px;
}

.clear {
  clear: both;
}

.color1,
.color1 a {
  color: #ff4765;
}

.pr {
  font-size: 10px;
}

.wl {
  width: 96%;
}

.ws {
  width: 50%;
}

.c {
  text-align: center;
}

.r {
  text-align: right;
}

.l {
  text-align: left;
}

.big1 {
  font-size: 40px;
  letter-spacing: 0.2em;
}

.mini1 {
  display: inline-block;
  font-size: 11px;
  line-height: 1.5;
}

.sh {
  display: none;
}

.newicon {
  margin: 0 5px;
  padding: 2px 5px;
  color: #ffffff;
  background: #ff0000;
  border-radius: 2px;
  font-size: 70%;
  line-height: 1.5;
  vertical-align: text-top;
}

/* =========================================================
18. Responsive
========================================================= */

@media screen and (max-width: 900px) {
  .sub-header-inner {
    display: block;
    text-align: center;
  }

  header #logo img,
  body.sub-page header #logo img {
    width: 150px;
    margin: 0 auto 16px;
  }

  #menubar {
    text-align: center;
  }

  #menubar li {
    margin: 0 8px 8px;
  }

  #language-switch {
    margin-top: 10px;
  }
}

@media screen and (max-width: 800px) {
  .alliance-table {
    table-layout: auto;
    min-width: 920px;
  }

  .ta1 {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ta1 caption,
  .ta1 thead,
  .ta1 tbody,
  .ta1 tr {
    width: 100%;
  }

  .table-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .table-filter {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  body,
  #container {
    font-size: 12px;
    font-size: 2.93vw;
  }

  #contents {
    padding: 28px 4% 42px;
  }

  #contents section + section {
    padding-top: 40px;
  }

  .breadcrumb {
    padding: 0;
    font-size: 12px;
  }

  .sub-hero {
    padding: 24px 20px;
    border-radius: 16px;
  }

  #contents .sub-hero h1 {
    font-size: 22px;
  }

  .sub-lead {
    font-size: 15px;
  }

  .sub-note {
    font-size: 13px;
  }

  .stat-highlight {
    font-size: 1.4em;
  }

  #contents h2 {
    font-size: 16px;
  }

  #contents h3 {
    font-size: 14px;
  }

  .list {
    padding: 20px;
    border-radius: 14px;
  }

  .list h4 {
    font-size: 16px;
  }

  .mini-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-links {
    display: block;
    padding: 10px 0 0 !important;
  }

  .hero-links a,
  .btn-primary,
  .btn-secondary {
    display: block;
    width: auto;
    min-width: 0;
    margin-bottom: 10px;
    padding: 10px 16px;
  }

  ul.disc {
    padding: 0 0 20px 35px;
  }

  ol {
    padding: 0 0 20px 35px;
  }

  .ta1 {
    table-layout: auto;
    font-size: 12px;
  }

  .ta1 th {
    width: auto;
  }

  .table-controls {
    grid-template-columns: 1fr;
  }

  .contact-card {
    margin-top: 16px;
    padding: 26px 20px;
    border-radius: 16px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .form-submit {
    width: 100%;
    min-width: 0;
  }

  .contact-direct-email {
    text-align: left;
  }

  .ws {
    width: 96%;
  }

  .big1 {
    font-size: 22px;
    letter-spacing: normal;
  }

  .floating-nav {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .floating-nav a {
    min-width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }

  .floating-contact a {
    min-width: 82px;
  }

  .floating-nav .scroll a {
    width: 42px;
    min-width: 42px;
  }
}
