/*
 * Handmade Kultur legacy delta (Bootstrap + legacy template CSS)
 * Loads after hk-core.css. Do not re-copy the shared shell here.
 * Maintained plain CSS source. Do not edit content-hashed copies.
 */

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

/* Bootstrap 3 + forms/utilities (legacy template compatibility)              */

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

dl {
  margin-top: 0;
  margin-bottom: 21px;
}

dt,
dd {
  line-height: 1.5;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

blockquote {
  padding: 10.5px 21px;
  margin: 0 0 21px;
  font-size: 17.5px;
  border-left: 5px solid #eeeeee;
}

blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
  margin-bottom: 0;
}

blockquote footer,
blockquote small,
blockquote .small {
  display: block;
  font-size: 80%;
  line-height: 1.5;
  color: #c6c6c6;
}

blockquote footer:before,
blockquote small:before,
blockquote .small:before {
  content: '\2014 \00A0';
}

.blockquote-reverse,
blockquote.pull-right {
  padding-right: 15px;
  padding-left: 0;
  border-right: 5px solid #eeeeee;
  border-left: 0;
  text-align: right;
}

.blockquote-reverse footer:before,
blockquote.pull-right footer:before,
.blockquote-reverse small:before,
blockquote.pull-right small:before,
.blockquote-reverse .small:before,
blockquote.pull-right .small:before {
  content: '';
}

.blockquote-reverse footer:after,
blockquote.pull-right footer:after,
.blockquote-reverse small:after,
blockquote.pull-right small:after,
.blockquote-reverse .small:after,
blockquote.pull-right .small:after {
  content: '\00A0 \2014';
}

address {
  margin-bottom: 21px;
  font-style: normal;
  line-height: 1.5;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  line-height: normal;
}

input[type="file"] {
  display: block;
}

input[type="range"] {
  display: block;
  width: 100%;
}

select[multiple],
select[size] {
  height: auto;
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

output {
  display: block;
  padding-top: 7px;
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
}

.form-control {
  display: block;
  width: 100%;
  height: 35px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 0px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.form-control::placeholder,
.form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
}

.form-control::-webkit-input-placeholder {
  color: #999;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #eeeeee;
  opacity: 1;
}

.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
}

textarea.form-control {
  height: auto;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
input[type="date"].form-control,
  input[type="time"].form-control,
  input[type="datetime-local"].form-control,
  input[type="month"].form-control {
    line-height: 35px;
  }

input[type="date"].input-sm,
  input[type="time"].input-sm,
  input[type="datetime-local"].input-sm,
  input[type="month"].input-sm {
    line-height: 30px;
  }

input[type="date"].input-lg,
  input[type="time"].input-lg,
  input[type="datetime-local"].input-lg,
  input[type="month"].input-lg {
    line-height: 46px;
  }
}

.form-group {
  margin-bottom: 15px;
}

.radio,
.checkbox {
  position: relative;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

.radio label,
.checkbox label {
  min-height: 21px;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  position: absolute;
  margin-left: -20px;
}

.radio + .radio,
.checkbox + .checkbox {
  margin-top: -5px;
}

.radio-inline,
.checkbox-inline {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  vertical-align: middle;
  font-weight: normal;
  cursor: pointer;
}

.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
  margin-top: 0;
  margin-left: 10px;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"].disabled,
input[type="checkbox"].disabled,
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"] {
  cursor: not-allowed;
}

.radio-inline.disabled,
.checkbox-inline.disabled,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox-inline {
  cursor: not-allowed;
}

.radio.disabled label,
.checkbox.disabled label,
fieldset[disabled] .radio label,
fieldset[disabled] .checkbox label {
  cursor: not-allowed;
}

.form-control-static {
  padding-top: 7px;
  padding-bottom: 7px;
  margin-bottom: 0;
  min-height: 35px;
}

.form-control-static.input-lg,
.form-control-static.input-sm {
  padding-left: 0;
  padding-right: 0;
}

.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0px;
}

select.input-sm {
  height: 30px;
  line-height: 30px;
}

textarea.input-sm,
select[multiple].input-sm {
  height: auto;
}

.form-group-sm .form-control {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0px;
}

.form-group-sm select.form-control {
  height: 30px;
  line-height: 30px;
}

.form-group-sm textarea.form-control,
.form-group-sm select[multiple].form-control {
  height: auto;
}

.form-group-sm .form-control-static {
  height: 30px;
  min-height: 33px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.input-lg {
  height: 46px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 0px;
}

select.input-lg {
  height: 46px;
  line-height: 46px;
}

textarea.input-lg,
select[multiple].input-lg {
  height: auto;
}

.form-group-lg .form-control {
  height: 46px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 0px;
}

.form-group-lg select.form-control {
  height: 46px;
  line-height: 46px;
}

.form-group-lg textarea.form-control,
.form-group-lg select[multiple].form-control {
  height: auto;
}

.form-group-lg .form-control-static {
  height: 46px;
  min-height: 39px;
  padding: 11px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}

.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #737373;
}

@media (min-width: 768px) {
.form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }

.form-inline .form-control-static {
    display: inline-block;
  }

.form-inline .control-label {
    margin-bottom: 0;
    vertical-align: middle;
  }

.form-inline .radio,
  .form-inline .checkbox {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
  }

.form-inline .radio label,
  .form-inline .checkbox label {
    padding-left: 0;
  }

.form-inline .radio input[type="radio"],
  .form-inline .checkbox input[type="checkbox"] {
    position: relative;
    margin-left: 0;
  }
}

.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 7px;
}

.form-horizontal .radio,
.form-horizontal .checkbox {
  min-height: 28px;
}

.form-horizontal .form-group {
  margin-left: -15px;
  margin-right: -15px;
}

@media (min-width: 768px) {
.form-horizontal .control-label {
    text-align: right;
    margin-bottom: 0;
    padding-top: 7px;
  }
}

@media (min-width: 768px) {
.form-horizontal .form-group-lg .control-label {
    padding-top: 11px;
    font-size: 18px;
  }
}

@media (min-width: 768px) {
.form-horizontal .form-group-sm .control-label {
    padding-top: 6px;
    font-size: 12px;
  }
}

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid #e2001a;
  outline-offset: 2px;
}

.btn:hover,
.btn:focus,
.btn.focus {
  color: #fff;
  text-decoration: none;
}

.btn:active,
.btn.active {
  outline: 0;
  background-image: none;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}

.btn-default {
  color: #fff;
  background-color: #e2001a;
  border-color: #c90017;
}

.btn-default:focus,
.btn-default.focus {
  color: #fff;
  background-color: var(--hk-red-hover);
  border-color: #490008;
}

.btn-default:hover {
  color: #fff;
  background-color: var(--hk-red-hover);
  border-color: #8b0010;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #fff;
  background-color: var(--hk-red-hover);
  border-color: #8b0010;
}

.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
  color: #fff;
  background-color: #8b0010;
  border-color: #490008;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
  background-color: #e2001a;
  border-color: #c90017;
}

.btn-default .badge {
  color: #e2001a;
  background-color: #fff;
}

.btn-primary {
  color: #fff;
  background-color: #333333;
  border-color: #262626;
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #1a1a1a;
  border-color: #000000;
}

.btn-primary:hover {
  color: #fff;
  background-color: #1a1a1a;
  border-color: #080808;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #1a1a1a;
  border-color: #080808;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: #080808;
  border-color: #000000;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
  background-color: #333333;
  border-color: #262626;
}

.btn-primary .badge {
  color: #333333;
  background-color: #fff;
}

.btn-link {
  color: #e2001a;
  font-weight: normal;
  border-radius: 0;
}

.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  box-shadow: none;
}

.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}

.btn-link:hover,
.btn-link:focus {
  color: #e2001a;
  text-decoration: underline;
  background-color: transparent;
}

.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
  color: #c6c6c6;
  text-decoration: none;
}

.btn-lg,
.btn-group-lg > .btn {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 0px;
}

.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0px;
}

.btn-xs,
.btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: 5px;
}

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  float: left;
}

.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn.active {
  z-index: 2;
}

.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
  margin-left: -1px;
}

.btn-toolbar {
  margin-left: -5px;
}

.btn-toolbar .btn,
.btn-toolbar .btn-group {
  float: left;
}

.btn-toolbar > .btn,
.btn-toolbar > .btn-group {
  margin-left: 5px;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}

.btn-group > .btn:first-child {
  margin-left: 0;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.btn-group > .btn-group {
  float: left;
}

.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}

.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
  outline: 0;
}

.btn-group > .btn + .dropdown-toggle {
  padding-left: 8px;
  padding-right: 8px;
}

.btn-group > .btn-lg + .dropdown-toggle {
  padding-left: 12px;
  padding-right: 12px;
}

.btn-group.open .dropdown-toggle {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-group.open .dropdown-toggle.btn-link {
  box-shadow: none;
}

.btn .caret {
  margin-left: 0;
}

.btn-lg .caret {
  border-width: 5px 5px 0;
  border-bottom-width: 0;
}

.dropup .btn-lg .caret {
  border-width: 0 5px 5px;
}

.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group,
.btn-group-vertical > .btn-group > .btn {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
}

.btn-group-vertical > .btn-group > .btn {
  float: none;
}

.btn-group-vertical > .btn + .btn,
.btn-group-vertical > .btn + .btn-group,
.btn-group-vertical > .btn-group + .btn,
.btn-group-vertical > .btn-group + .btn-group {
  margin-top: -1px;
  margin-left: 0;
}

.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.btn-group-vertical > .btn:first-child:not(:last-child) {
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group-vertical > .btn:last-child:not(:first-child) {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}

.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.btn-group-justified {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
}

.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
  float: none;
  display: table-cell;
  width: 1%;
}

.btn-group-justified > .btn-group .btn {
  width: 100%;
}

.btn-group-justified > .btn-group .dropdown-menu {
  left: auto;
}

[data-toggle="buttons"] > .btn input[type="radio"],
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
[data-toggle="buttons"] > .btn input[type="checkbox"],
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-break: auto;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  font-size: 12px;
  opacity: 0;
}

.tooltip.in {
  opacity: 0.9;
}

.tooltip.top {
  margin-top: -3px;
  padding: 5px 0;
}

.tooltip.right {
  margin-left: 3px;
  padding: 0 5px;
}

.tooltip.bottom {
  margin-top: 3px;
  padding: 5px 0;
}

.tooltip.left {
  margin-left: -3px;
  padding: 0 5px;
}

.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #fff;
  text-align: center;
  background-color: #000;
  border-radius: 0px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}

.tooltip.top-left .tooltip-arrow {
  bottom: 0;
  right: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}

.tooltip.top-right .tooltip-arrow {
  bottom: 0;
  left: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #000;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #000;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}

.tooltip.bottom-left .tooltip-arrow {
  top: 0;
  right: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}

.tooltip.bottom-right .tooltip-arrow {
  top: 0;
  left: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 21px 0;
  border-radius: 0px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.5;
  text-decoration: none;
  color: #333333;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  z-index: 2;
  color: #e2001a;
  background-color: #eeeeee;
  border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 3;
  color: #fff;
  background-color: #e2001a;
  border-color: #c90017;
  cursor: default;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #c6c6c6;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
}

.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.2;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
}

button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

.thumbnail {
  display: block;
  padding: 4px;
  margin-bottom: 21px;
  line-height: 1.5;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0px;
  transition: border 0.2s ease-in-out;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #333333;
}

.thumbnail .caption {
  padding: 9px;
  color: #333;
}

.media {
  margin-top: 15px;
}

.media:first-child {
  margin-top: 0;
}

.media,
.media-body {
  overflow: hidden;
}

.media-body {
  width: 10000px;
}

.media-object {
  display: block;
}

.media-object.img-thumbnail {
  max-width: none;
}

.media-right,
.media > .pull-right {
  padding-left: 10px;
}

.media-left,
.media > .pull-left {
  padding-right: 10px;
}

.media-left,
.media-right,
.media-body {
  display: table-cell;
  vertical-align: top;
}

.media-middle {
  vertical-align: middle;
}

.media-bottom {
  vertical-align: bottom;
}

.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
}

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

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.dropup,
.dropdown {
  position: relative;
}

.dropdown-toggle:focus {
  outline: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}

.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}

.dropdown-menu .divider {
  height: 1px;
  margin: 9.5px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.5;
  color: #333333;
  white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  background-color: #e2001a;
}

.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  color: #c6c6c6;
}

.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  cursor: not-allowed;
}

.open > .dropdown-menu {
  display: block;
}

.open > a {
  outline: 0;
}

.dropdown-menu-right {
  left: auto;
  right: 0;
}

.dropdown-menu-left {
  left: 0;
  right: auto;
}

.dropdown-header {
  display: block;
  padding: 3px 20px;
  font-size: 12px;
  line-height: 1.5;
  color: #c6c6c6;
  white-space: nowrap;
}

.dropdown-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 990;
}

.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
  border-top: 0;
  border-bottom: 4px dashed;
  content: "";
}

.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-bottom: 2px;
}

@media (min-width: 768px) {
.navbar-right .dropdown-menu {
    left: auto;
    right: 0;
  }

.navbar-right .dropdown-menu-left {
    left: 0;
    right: auto;
  }
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}

.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
  display: none !important;
}

@media (max-width: 767px) {
.visible-xs {
    display: block !important;
  }

table.visible-xs {
    display: table !important;
  }

tr.visible-xs {
    display: table-row !important;
  }

th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}

@media (max-width: 767px) {
.visible-xs-block {
    display: block !important;
  }
}

@media (max-width: 767px) {
.visible-xs-inline {
    display: inline !important;
  }
}

@media (max-width: 767px) {
.visible-xs-inline-block {
    display: inline-block !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
.visible-sm {
    display: block !important;
  }

table.visible-sm {
    display: table !important;
  }

tr.visible-sm {
    display: table-row !important;
  }

th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-block {
    display: block !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-inline {
    display: inline !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
.visible-sm-inline-block {
    display: inline-block !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
.visible-md {
    display: block !important;
  }

table.visible-md {
    display: table !important;
  }

tr.visible-md {
    display: table-row !important;
  }

th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-block {
    display: block !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-inline {
    display: inline !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
.visible-md-inline-block {
    display: inline-block !important;
  }
}

@media (min-width: 1200px) {
.visible-lg {
    display: block !important;
  }

table.visible-lg {
    display: table !important;
  }

tr.visible-lg {
    display: table-row !important;
  }

th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}

@media (min-width: 1200px) {
.visible-lg-block {
    display: block !important;
  }
}

@media (min-width: 1200px) {
.visible-lg-inline {
    display: inline !important;
  }
}

@media (min-width: 1200px) {
.visible-lg-inline-block {
    display: inline-block !important;
  }
}

@media (max-width: 767px) {
.hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
.hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
.hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
.hidden-lg {
    display: none !important;
  }
}

.visible-print {
  display: none !important;
}

@media print {
.visible-print {
    display: block !important;
  }

table.visible-print {
    display: table !important;
  }

tr.visible-print {
    display: table-row !important;
  }

th.visible-print,
  td.visible-print {
    display: table-cell !important;
  }
}

.visible-print-block {
  display: none !important;
}

@media print {
.visible-print-block {
    display: block !important;
  }
}

.visible-print-inline {
  display: none !important;
}

@media print {
.visible-print-inline {
    display: inline !important;
  }
}

.visible-print-inline-block {
  display: none !important;
}

@media print {
.visible-print-inline-block {
    display: inline-block !important;
  }
}

@media print {
.hidden-print {
    display: none !important;
  }
}

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  background-color: #c6c6c6;
  border-radius: 10px;
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.btn-xs .badge,
.btn-group-xs > .btn .badge {
  top: 0;
  padding: 1px 5px;
}

a.badge:hover,
a.badge:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.nav-pills > li > a > .badge {
  margin-left: 3px;
}

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

/* Legacy template rules not present in hk-core                              */

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

#nav-select {
  min-height: 30px;
}

#site-content {
  padding-top: 20px;
  background-color: #FAFAFA;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 0 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 3px;
  /*    border-bottom:1px dashed @brand-color-red;*/
}

/* GRID */

#grid-content {
  min-height: 300px;
  margin: 10px 0 10px 0;
}

#grid-content:before,
#grid-content:after {
  content: " ";
  display: table;
}

#grid-content:after {
  clear: both;
}

#grid-content:before,
#grid-content:after {
  content: " ";
  display: table;
}

#grid-content:after {
  clear: both;
}

/* Same shell as the shared content-card design in hk-elementor-bridge.css */
#grid-content .rounded {
  padding: 9px;
  border-radius: 3px;
  border: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#grid-content .box-pagination {
  width: 100%;
}

#grid-content article {
  float: left;
}

#grid-content .banner {
  min-height: 380px;
}

/* Banner slider: same .rounded card chrome; flush image only */

#grid-content .banner.rounded {
  padding: 0;
  overflow: hidden;
  /* Align with .boxleft at the top of the Isotope grid (no extra top gap) */
  margin-top: 0;
  margin-bottom: 20px;
}

.boxleft {
  margin: 0 9px 10px 9px;
  float: left;
  background-color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  background-color: #FAFAFA;
  width: 220px;
}

.boxleft .box1 {
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 10px;
}

.boxright {
  width: 200px;
  float: left;
}

.box1 {
  margin: 0 9px 10px 9px;
  float: left;
  background-color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 220px;
}

.single article,
.page article {
  margin: 0 9px 10px 9px;
  float: left;
  background-color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 700px;
}

.category article {
  margin: 0 9px 10px 9px;
  float: left;
  background-color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 220px;
}

.category .box2 {
  margin: 0 9px 10px 9px;
  float: left;
  background-color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 460px;
}

.category .banner,
.category .box3 {
  margin: 0 9px 10px 9px;
  float: left;
  background-color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 700px;
}

/* Keep the category hero beside the filter column on tablet-width grids. */

@media (min-width: 769px) and (max-width: 991px) {
#grid-content.category .banner {
    width: 460px;
    min-height: 266px;
  }
}

strong {
  font-weight: bold;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

/* IMAGES */

[class*="alignxx"] {
  background-color: #eeeeee;
  border: 1px solid #eeeeee;
  padding: 5px 5px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin: 0 10px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 10px;
}

.alignnone {
  display: block;
}

.single-post {
  /* IMAGES */
}

.single-post [class*="align"] {
  margin-bottom: 10px;
}

.single-post .aligncenter,
.single-post .alignleft,
.single-post .alignright {
  display: block;
  margin: 0 auto;
  float: none;
}

.single-post strong {
  font-weight: bold;
  color: #000;
}

.single-post p:empty {
  display: none;
}

.article-meta {
  font-size: 12px;
  color: #ccc;
  line-height: 20px;
  padding-top: 5px;
  padding-bottom: 15px;
  margin-top: 5px;
}

.headline {
  display: block;
  color: #A7A9AC;
  font-style: italic;
  padding-top: 20px;
  padding-bottom: 10px;
}

.redline {
  background: url(../img/line_bg.png) top left repeat-x;
}

.blackline {
  /*    background: url(../img/line_bg_black.png) top left repeat-x;*/
  border-top: 1px solid #eeeeee;
}

.greyline {
  padding: 15px 0 0 0;
  margin-top: 10px;
  /*    background: url(../img/line_grey_bg.png) top left repeat-x;*/
  border-top: 1px solid #eeeeee;
}

.bottom {
  padding: 0 0 15px 0;
  background-position: left bottom;
  margin-bottom: 10px;
  margin-top: 0px;
}

.bold {
  font-weight: bold;
  color: #000;
}

.profile h2 {
  margin-top: 1.5;
  margin-bottom: 0.75;
}

.error {
  border: 1px solid #FFC1C1 !important;
}

.clear {
  clear: both;
  display: block;
  width: 0;
  height: 0;
}

#rss-list {
  margin-left: 0px;
  margin-top: 10px;
}

#rss-list h2 {
  margin-bottom: 8px;
}

#rss-list li {
  list-style: none;
  margin-bottom: 10px;
}

#rss-list img {
  margin-right: 10px;
  margin-bottom: 10px;
  float: left;
  width: 140px;
  background-color: #F6F6F6;
  border: 1px solid #EFEFEF;
  padding: 5px;
}

#block-ui-div img {
  overflow: auto;
  margin: auto;
  max-width: 50px;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#block-ui-bg {
  height: 100vh;
  width: 100%;
  z-index: 998;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.5;
  transition: all 0.5s ease;
}

.autocomplete-suggestions {
  text-align: left;
  cursor: default;
  border: 1px solid #ccc;
  border-top: 0;
  background: #fff;
  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1);
  /* core styles should not be changed */
  position: absolute;
  display: none;
  z-index: 9999;
  max-height: 254px;
  overflow: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}

.autocomplete-suggestion {
  position: relative;
  padding: 0 0.6em;
  line-height: 23px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.02em;
  color: #333;
}

.autocomplete-suggestion b {
  font-weight: normal;
  color: #1f8dd6;
}

.autocomplete-suggestion.selected {
  background: #f0f0f0;
}

.box-pagination:before,
.box-pagination:after {
  content: " ";
  display: table;
}

.box-pagination:after {
  clear: both;
}

.box-pagination:before,
.box-pagination:after {
  content: " ";
  display: table;
}

.box-pagination:after {
  clear: both;
}

.comment-list {
  padding-left: 0px;
}

.comment-list li {
  border-top: 1px solid #eee;
  padding: 0 3px;
  list-style: none;
  padding-top: 23px;
  position: relative;
}

.comment-list li .reply {
  position: static;
  clear: both;
  margin: 10px 0 0;
}

.comment-list li.comment.bypostauthor {
  background: #fff5f6;
  border-bottom: 2px solid #e2001a;
}

.comment-list .avatar {
  margin: 0em 5px 0px 0;
}

.comment-respond {
  background-color: #F8F9FA;
  padding: 10px;
}

.comment-respond small #cancel-comment-reply-link {
  color: #333333;
  font-size: 11px;
  display: block;
  padding-top: 3px;
}

.comment-respond .comment-reply-title {
  margin-top: 0px;
}

.comment-meta a {
  color: #ccc;
  font-size: 11px;
}

/**** Isotope Filtering ****/

.single article h1,
.page article h1 {
  margin-top: 0px;
}

.single article .img-container,
.page article .img-container {
  background-color: #eee;
  margin-bottom: 10px;
  padding-bottom: 23px;
}

.single #info-box-left,
.page #info-box-left {
  background: url("../img/line_grey_v_bg.png") repeat-y scroll right top transparent;
  line-height: 18px;
  padding-right: 10px;
}

.single #info-box-left ul,
.page #info-box-left ul {
  margin-left: 0px;
  padding-left: 0px;
}

.single #info-box-left ul li,
.page #info-box-left ul li {
  list-style: none;
  margin-left: 0px;
}

.single #info-box-left .profile-img-thumb,
.page #info-box-left .profile-img-thumb {
  float: right;
}

.single .project #tools ul,
.page .project #tools ul,
.single .project #ingredients ul,
.page .project #ingredients ul {
  margin-top: 4px;
}

.single .project #tools ul li,
.page .project #tools ul li,
.single .project #ingredients ul li,
.page .project #ingredients ul li {
  margin-left: 0;
  padding-left: 2px;
  list-style: none;
  display: inline-block;
}

.single .project #tools a,
.page .project #tools a,
.single .project #ingredients a,
.page .project #ingredients a {
  font-weight: bold;
}

.single .project #instruction,
.page .project #instruction {
  margin-top: 1.5;
}

.single .project #instruction h2 .step-counter,
.page .project #instruction h2 .step-counter {
  background: url("../img/step_counter_bg.png") no-repeat scroll 0 0 transparent;
  display: inline-block;
  color: #fff;
  font-size: 20px;
  font-style: italic;
  margin-right: 10px;
  text-align: center;
  width: 29px;
  height: 29px;
}

.single .related .thumbnail,
.page .related .thumbnail {
  margin-bottom: 5px;
}

.single .related-gallery,
.page .related-gallery {
  margin-left: -5px;
}

.single .related-gallery .thumbnail,
.page .related-gallery .thumbnail {
  margin: 5px;
}

.price {
  background-color: #e2001a;
  color: white;
  font-size: 11px;
  font-weight: bold;
  height: 18px;
  overflow: hidden;
  position: absolute;
  right: 10px;
  text-align: center;
  width: 50px;
  top: 10%;
  z-index: 2;
}

.hk-date-title {
  border: 1px solid #C2C2C2;
  border-top-color: white;
  border-radius: 3px;
  color: #525252;
  float: right;
  font-size: 8.7pt;
  font-weight: bold;
  line-height: 1.2em;
  margin: 0 0 0.5em 0.5em;
  text-align: center;
  text-shadow: 0 1px 0 white;
  width: 2.6em;
  overflow: hidden;
}

.hk-date-title.is-past {
  color: #7a7a7a;
  border-color: #dddddd;
  opacity: 0.9;
}

.hk-date-title.is-past .hk-month {
  background: #7a7a7a;
}

.hk-month {
  color: white;
  background: #617284;
  font-size: 0.8em;
  letter-spacing: 0.2em;
  padding: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.hk-weekday {
  font-size: 0.8em;
  line-height: 1.6em;
}

.blog-hk {
  margin-left: 0px;
  margin-right: 0px;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.blog-hk .container {
  max-width: 980px;
}

.blog-hk a {
  color: #333;
  outline: none;
  transition: all 0.14s ease 0s;
}

.blog-hk a:hover {
  color: #e2001a;
}

.blog-hk #blog-menu {
  border-top: #000 1px solid;
  border-bottom: #333 3px solid;
}

.blog-hk #blog-menu:before,
.blog-hk #blog-menu:after {
  content: " ";
  display: table;
}

.blog-hk #blog-menu:after {
  clear: both;
}

.blog-hk #blog-menu:before,
.blog-hk #blog-menu:after {
  content: " ";
  display: table;
}

.blog-hk #blog-menu:after {
  clear: both;
}

.blog-hk #blog-menu li a:hover,
.blog-hk #blog-menu li.current_page_item > a,
.blog-hk #blog-menu li.current-menu-item > a,
.blog-hk #blog-menu li.current-menu-parent > a,
.blog-hk #blog-menu li.current-page-parent > a,
.blog-hk #blog-menu li.current-page-ancestor > a,
.blog-hk #blog-menu li.current_page_ancestor > a {
  color: #e2001a;
}

.blog-hk #blog-menu li {
  float: left;
}

.blog-hk #blog-menu li a {
  padding: 0 20px;
  color: #333;
  font-size: 1.2em;
  line-height: 50px;
  letter-spacing: 1px;
  float: left;
  text-transform: uppercase;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.blog-hk #blog-menu li:after {
  width: 6px;
  float: left;
  content: "/";
  display: block;
  color: #c6c6c6;
  font-size: 1.8em;
  line-height: 50px;
}

.blog-hk h1,
.blog-hk h2,
.blog-hk h3 {
  font-family: Lora, Georgia, "Times New Roman", Times, serif;
  text-transform: uppercase;
  font-style: normal;
  color: #333;
}

.blog-hk h1 {
  font-size: 32px;
  text-align: center;
}

.blog-hk h2 {
  font-size: 26px;
  text-align: center;
}

.blog-hk h3 {
  font-size: 22px;
}

.blog-hk #blog-main {
  padding-top: 30px;
}

.blog-hk #blog-main article {
  margin: 0 0 30px 0;
  font-size: 16px;
}

.blog-hk #blog-main article .read-more {
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
  color: #e2001a;
}

.blog-hk #blog-main article .read-more:after {
  content: "→";
  margin-left: 4px;
}

.blog-hk #blog-main article:before,
.blog-hk #blog-main article:after {
  content: " ";
  display: table;
}

.blog-hk #blog-main article:after {
  clear: both;
}

.blog-hk #blog-main article:before,
.blog-hk #blog-main article:after {
  content: " ";
  display: table;
}

.blog-hk #blog-main article:after {
  clear: both;
}

.blog-hk #blog-main article p {
  text-align: left;
}

.blog-hk #blog-main article strong {
  color: #333;
  font-weight: 700;
}

.blog-hk #blog-main article .article-meta {
  color: #7a7a7a;
  font-size: 0.9em;
  font-weight: 300;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.blog-hk #blog-main article .article-content img {
  margin-bottom: 20px;
  margin-top: 20px;
  max-width: 100%;
  height: auto;
  float: none;
}

.blog-hk #blog-main article .article-content .aligncenter,
.blog-hk #blog-main article .article-content .alignleft,
.blog-hk #blog-main article .article-content .alignright {
  display: block;
  margin: 20px auto;
  float: none;
}

.blog-hk #blog-main article .article-content a {
  color: #e2001a;
}

.blog-hk #blog-main article .article-utility {
  color: #7a7a7a;
  border-top: #000 1px solid;
  border-bottom: #333 3px solid;
  margin-top: 20px;
  padding: 8px 0;
  font-size: 0.9em;
}

.blog-hk .blog-right {
  margin-top: 20px;
}

.blog-hk .blog-right #mce-EMAIL,
.blog-hk .blog-right #s {
  border: 1px solid #333;
}

.blog-hk .blog-right h3 {
  border-top: #000 1px solid;
  border-bottom: #333 3px solid;
  line-height: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.blog-hk .blog-right ul {
  padding-left: 0px;
}

.blog-hk .blog-right ul li {
  list-style: none;
  text-align: left;
  margin-bottom: 10px;
}

.blog-hk #blog-search {
  padding-bottom: 10px;
}

.blog-hk #blog-logo {
  position: relative;
  height: 180px;
  margin-bottom: 20px;
  text-align: center;
}

.blog-hk #blog-logo img {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -112px;
  width: 234px;
  height: 180px;
}

/* Blog nav shell — burger lives here on mobile; desktop keeps the classic inline menu. */
.blog-hk .blog-nav-shell {
  position: relative;
}

.blog-hk .blog-menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  min-width: 44px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.blog-hk .blog-menu-toggle__icon,
.blog-hk .blog-menu-toggle__icon::before,
.blog-hk .blog-menu-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #e2001a;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.blog-hk .blog-menu-toggle__icon {
  position: relative;
  box-shadow: 0 8px 0 #e2001a;
}

.blog-hk .blog-menu-toggle__icon::before,
.blog-hk .blog-menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.blog-hk .blog-menu-toggle__icon::before {
  top: -8px;
}

.blog-hk .blog-menu-toggle__icon::after {
  top: 8px;
}

.blog-hk .blog-nav-shell.is-open .blog-menu-toggle__icon {
  background-color: transparent;
  box-shadow: none;
}

.blog-hk .blog-nav-shell.is-open .blog-menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.blog-hk .blog-nav-shell.is-open .blog-menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .blog-hk #blog-logo {
    height: auto;
    min-height: 0;
    margin-bottom: 12px;
  }

  .blog-hk #blog-logo img {
    position: relative;
    left: auto;
    display: inline-block;
    margin-left: 0;
    width: auto;
    height: 120px;
    max-width: 220px;
  }

  .blog-hk .blog-nav-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    min-height: 48px;
    margin-bottom: 0;
  }

  .blog-hk .blog-menu-toggle {
    display: flex;
    margin: 4px 8px;
    z-index: 2;
  }

  .blog-hk #blog-nav {
    flex: 1 1 100%;
    order: 2;
    width: 100%;
  }

  .blog-hk #blog-menu {
    display: none;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
    border-top: 0;
    border-bottom: 0;
    list-style: none;
  }

  .blog-hk .blog-nav-shell.is-open #blog-menu {
    display: block;
  }

  .blog-hk #blog-menu li {
    float: none;
    display: block;
    width: 100%;
    border-top: 1px solid #eee;
  }

  .blog-hk #blog-menu li:after {
    display: none;
  }

  .blog-hk #blog-menu li a {
    float: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    line-height: 1.35;
    font-size: 1.05em;
  }
}

@media (max-width: 480px) {
  .blog-hk #blog-logo img {
    height: 100px;
    max-width: 190px;
  }
}

.blog-hk footer {
  padding: 15px;
  background: #333;
}

.blog-hk footer a {
  color: #7a7a7a;
  font-size: 0.875em;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-hk-cat .blog-header-cat {
  border-bottom: #333 3px solid;
}

.blog-hk-cat .blog-header-cat h1 {
  text-align: left;
  font-size: 32px;
  margin: 0 0 10px;
  color: #7a7a7a;
  letter-spacing: 2px;
}

.blog-hk-cat article img {
  margin-bottom: 20px;
  margin-top: 20px;
  max-width: 100%;
  height: auto;
}

.blog-hk-single h1 {
  font-size: 32px;
}

.blog-hk-single h2 {
  font-size: 26px;
  text-align: left;
}

.page {
  margin-bottom: 10px;
}

.page h1 {
  margin-bottom: 1.5;
  margin-top: 0px;
}

/* CATEGORY PAGES */

.category .category-headline {
  padding-left: 10px;
  float: left;
}

.category article h2,
.category article .h2 {
  margin-top: 9px;
  margin-bottom: 5px;
}

.category article img {
  cursor: url('/img/lupe.cur'), pointer;
}

.category article img.post img {
  cursor: default;
}

.category article img:hover img {
  opacity: 0.9;
}

.category article {
  cursor: pointer;
}

.category article .article-meta {
  line-height: 16px;
  padding-bottom: 0px;
}

.category article .article-meta a {
  color: #888;
}

.category article .article-tags {
  margin-top: 5px;
}

.category article .article-tags a {
  color: #888;
}

.category .project span.pin {
  position: absolute;
  top: 10px;
  left: 11px;
}

.category .pin-anleitung {
  color: #FEFEFE;
  padding: 2px 4px;
  font: 9px verdana, arial, sans-serif;
  margin: 0 -1px;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #808080;
  line-height: 24px;
}

.category #infscr-loading {
  position: fixed;
  bottom: 30px;
  left: 50%;
  margin-left: -80px;
  width: 160px;
  z-index: 100;
  background: white;
  background: hsla(0, 0%, 100%, 0.9);
  padding: 20px;
  color: #222;
  font-size: 15px;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
}

.category #load-more {
  text-align: center;
  font-size: 20px;
}

.category #load-more :hover {
  background: #e2001a;
  color: #fff;
}

.category #load-more a {
  color: #e2001a;
}

.category #load-more a:hover {
  color: #fff;
}

.author .author-heading {
  min-height: 20px;
  border: 0;
  margin-bottom: 10px;
  margin-top: 30px;
  padding-bottom: 5px;
  padding-left: 9px;
  padding-right: 9px;
  float: left;
}

.author .author-heading-first {
  margin-top: 0px;
}

.author .author-heading h2 {
  padding-left: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eeeeee;
}

.author .author-heading-first h2 {
  margin-top: 0px;
}

.author .btn-author {
  width: 100%;
  box-sizing: border-box;
  color: #fff;
}

.author .author-article-counts {
  margin: 19px 0;
}

.author .author-article-counts .count-box {
  width: 100%;
}

.author .author-article-counts .count-box:before,
.author .author-article-counts .count-box:after {
  content: " ";
  display: table;
}

.author .author-article-counts .count-box:after {
  clear: both;
}

.author .author-article-counts .count-box:before,
.author .author-article-counts .count-box:after {
  content: " ";
  display: table;
}

.author .author-article-counts .count-box:after {
  clear: both;
}

.author .author-article-counts .count-nr {
  height: 28px;
  float: left;
  border-right: 1px solid #808080;
  line-height: 28px;
  padding-right: 7px;
  font-size: 28px;
}

.author .author-article-counts .count-text {
  float: left;
  margin: 8px 8px 8px 5px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

.author .author-article-counts .count-text a:hover {
  text-decoration: none;
}

.attachment-content {
  max-width: 600px;
  padding: 20px;
}

.attachment-content h2 {
  margin-top: 0px;
}

.attachment {
  cursor: pointer;
  float: left;
  margin: 0px;
  padding: 8px;
  position: relative;
  text-align: center;
  width: 33%;
}

.attachment .thumbnail {
  bottom: 0;
  left: 0;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 0.1s ease 0s;
  margin: 8px;
}

.attachment .thumbnail img {
  position: absolute;
  left: 0;
  top: 0;
}

.attachment .thumbnail .centered {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translate(50%, 50%);
  width: 100%;
}

.attachment .thumbnail .centered img {
  transform: translate(-50%, -50%);
}

.attachment-preview {
  position: relative;
}

.attachment-preview:before {
  content: "";
  display: block;
  padding-top: 130%;
}

.hk-upload .hk-upload-app {
  border: 4px dotted #eeeeee;
  padding: 20px;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.carousel img {
  width: 100%;
}

.gallery {
  float: left;
  width: 33%;
  height: 240px;
  line-height: 14px;
}

.gallery p {
  padding-top: 5px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

.gallery a {
  position: relative;
  margin: 5px;
  height: 180px;
  overflow: hidden;
  text-align: center;
  display: block;
}

.gallery a img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  transform: translate(-50%, -50%);
}

.gallery img.portrait {
  width: 100%;
  height: auto;
}

.home .boxleft h2 {
  margin-bottom: 0px;
}

.home .boxleft h3 {
  margin-top: 10px;
}

.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  background-color: #808080;
  color: #fefefe;
  font: 9px verdana, arial, sans-serif;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.label-new {
  background-color: var(--hk-red-hover);
}

.modal-close {
  display: none;
}

#ouibounce-modal .modal {
  position: relative;
}

.ouibounce-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
}

.ouibounce-modal .modal-close {
  display: block;
}

.ouibounce-modal .underlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  animation: fadein 0.5s;
}

.ouibounce-modal p {
  margin-bottom: 15px;
}

.ouibounce-modal .modal {
  width: 420px;
  height: 300px;
  background-color: #fff;
  z-index: 999;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 4px;
  animation: popin 0.3s;
  padding: 15px;
  font-size: 116%;
  border: 2px dashed var(--hk-red-hover);
}

.ouibounce-modal h3 {
  font-size: 24px;
}

.ouibounce-modal .fb_iframe_widget,
.ouibounce-modal .fb_iframe_widget span,
.ouibounce-modal .fb_iframe_widget span iframe[style] {
  width: 100% !important;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
  width: 100% !important;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes popin {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  85% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Themenspecials hero crop: fill the card width at any breakpoint and
   crop to a fixed ratio instead of the old 200x130 box + translate hack. */

#grid-content .center-cropped {
  height: auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

#grid-content .center-cropped img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-columns {
  display: flex;
  margin: 20px 0;
}

.wp-block-column {
  flex: 1;
  margin: 0 20px;
}

@media (max-width: 478px) {
.wp-block-columns {
    display: block;
  }

.wp-block-column {
    justify-content: center;
    /* align horizontal */
    align-items: center;
    /* align vertical */
  }
}

.hk-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin-top: 12px;
}

.hk-related-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #333333;
  text-decoration: none;
}

.hk-related-item:hover,
.hk-related-item:focus {
  color: #e2001a;
  text-decoration: none;
}

.hk-related-item__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eeeeee;
}

.hk-related-item__media img,
.hk-related-item .img-related,
.img-related {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hk-related-item__title {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.related-gallery .thumbnail,
.related-gallery .img-related {
  width: 120px;
  height: 120px;
  object-fit: cover;
  overflow: hidden;
}

.related-gallery .thumbnail img,
.related-gallery .img-related {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.grecaptcha-badge {
  visibility: hidden;
}

article .btn-primary {
  color: #fff;
}

#adslot-right {
  height: auto;
  min-height: 600px;
  margin: 0;
  width: 220px;
  max-width: 100%;
  float: left;
}

.adsense {
  box-sizing: border-box;
  max-width: 100%;
}

.adsense > ins {
  max-width: 100%;
}

/* Archive AdSense cards: match masonry card width; prefer 250px display rectangles. */
.boxleft #adslot-left.adsense,
.boxleft [data-hk-ad-surface="archive-left"],
#grid-content #adslot-grid.adsense,
#grid-content [data-hk-ad-surface="archive-grid"] {
  box-sizing: border-box;
  padding: 8px;
  background: #fff;
  overflow: hidden;
}
.boxleft #adslot-left.adsense,
.boxleft [data-hk-ad-surface="archive-left"] {
  float: none;
  width: 100%;
  /* Gap under chip cloud / page-header (avoid flush borders). */
  margin: 16px 0 0;
}
.boxleft #page-header + .adsense,
.boxleft #page-header + aside.adsense,
.boxleft #page-header + [data-hk-ad] {
  margin-top: 16px;
}
#grid-content #adslot-grid.adsense,
#grid-content [data-hk-ad-surface="archive-grid"] {
  width: 220px;
  max-width: 100%;
  min-height: 266px; /* 250 creative + padding */
}
.boxleft #adslot-left.adsense > ins,
.boxleft [data-hk-ad-surface="archive-left"] > ins,
#grid-content #adslot-grid.adsense > ins,
#grid-content [data-hk-ad-surface="archive-grid"] > ins {
  display: block !important;
  width: 100% !important;
  max-width: 280px !important;
  min-height: 250px !important;
  height: 250px !important;
  margin: 0 auto;
}
/* Hide “Mehr entdecken” / related-search link lists in archive slots. */
.boxleft #adslot-left .google-aiuf,
.boxleft #adslot-left .goog-rentries,
.boxleft [data-hk-ad-surface="archive-left"] .google-aiuf,
.boxleft [data-hk-ad-surface="archive-left"] .goog-rentries,
#grid-content #adslot-grid .google-aiuf,
#grid-content #adslot-grid .goog-rentries,
#grid-content [data-hk-ad-surface="archive-grid"] .google-aiuf,
#grid-content [data-hk-ad-surface="archive-grid"] .goog-rentries {
  display: none !important;
  visibility: hidden !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* House-ad fallback (Wollke) when AdSense does not fill.
 * Must beat #grid-content #adslot-grid.adsense > ins { height:250px !important }. */
.hk-ad-fallback {
  display: none;
  margin: 0;
  padding: 0;
}
.hk-ad-fallback-active .hk-ad-fallback {
  display: block;
}
.boxleft #adslot-left.adsense.hk-ad-fallback-active > ins,
.boxleft #adslot-left.adsense.hk-ad-fallback-active > ins.adsbygoogle,
.boxleft [data-hk-ad-surface="archive-left"].hk-ad-fallback-active > ins,
#grid-content #adslot-grid.adsense.hk-ad-fallback-active > ins,
#grid-content #adslot-grid.adsense.hk-ad-fallback-active > ins.adsbygoogle,
#grid-content [data-hk-ad-surface="archive-grid"].hk-ad-fallback-active > ins,
[data-hk-ad-fallback="1"].hk-ad-fallback-active > ins {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  max-width: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  visibility: hidden !important;
}
.hk-ad-fallback a,
.hk-ad-fallback img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 !important;
  border: 0;
  min-height: 0 !important;
}
.boxleft #adslot-left.adsense.hk-ad-fallback-active,
.boxleft [data-hk-ad-surface="archive-left"].hk-ad-fallback-active,
#grid-content #adslot-grid.adsense.hk-ad-fallback-active,
#grid-content [data-hk-ad-surface="archive-grid"].hk-ad-fallback-active,
[data-hk-ad-fallback="1"].hk-ad-fallback-active {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: #fff;
  overflow: hidden;
}

@media (max-width: 480px) {
  #adslot-right,
  #grid-content #adslot-left,
  #grid-content #adslot-content {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 0;
    height: auto;
  }
  /* Mid-grid ad keeps .box1 / card column width (set in elementor-bridge + core). */
  #grid-content #adslot-grid.adsense {
    min-height: 0;
    height: auto;
  }
  .boxleft #adslot-left.adsense,
  .boxleft #page-header + .adsense {
    margin-top: 12px;
  }

  #adslot-right {
    border: 0;
    margin-bottom: 10px;
  }
}

/* Card image extras not covered by the shared bridge shell. */

#grid-content.category article.box1 > img {
  object-position: center;
  background-color: #fff;
}

/* Four-column desktop masonry grid. Keep multi-column feature and ad blocks aligned. */

@media (min-width: 1200px) {
#grid-content.category .box1,
  #grid-content.category article.box1,
  #grid-content.category .boxleft,
  #grid-content.category #adslot-right,
  #grid-content.category #adslot-grid.adsense {
    width: 280px;
  }

#grid-content.category .box2 {
    width: 580px;
  }

#grid-content.category .box3,
  #grid-content.category .banner {
    width: 880px;
  }

#grid-content.category .author-heading-first,
  #grid-content.category .search-right {
    width: 900px;
  }

#grid-content.category .boxleft img {
    max-width: 100%;
    height: auto;
  }
}

/* Header login colours live in hk-core.css (--hk-red / --hk-red-hover). */

/* Keep navigation dropdowns above slider controls on project pages. */

/* Shared information pages: FAQ, team, contact, media data, jobs and badges. */

#grid-content.hk-info-layout {
  box-sizing: border-box;
  width: 100%;
  max-width: 1040px;
  min-height: 0 !important;
  height: auto !important;
  margin: 28px auto 64px;
  padding: 0 18px;
}

#grid-content.hk-info-layout .hk-info-page {
  box-sizing: border-box;
  float: none;
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100%;
  margin: 0;
  padding: 48px 56px 56px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(51, 51, 51, 0.07);
}

.hk-info-page > h1,
.hk-faq-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #333;
  font: 400 42px/1.15 Lora, Georgia, "Times New Roman", serif;
}

.hk-info-eyebrow {
  margin: 0 0 8px;
  color: #e2001a;
  font: 600 12px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hk-info-nav {
  margin: 30px 0 42px;
  padding: 0 0 14px;
  overflow-x: auto;
  border-bottom: 1px solid #ddd;
  scrollbar-width: thin;
}

.hk-info-nav ul {
  display: flex;
  gap: 6px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hk-info-nav li {
  margin: 0;
}

.hk-info-page .hk-info-nav a {
  display: block;
  padding: 8px 12px;
  color: #54595f;
  border-bottom: 2px solid transparent;
  font: 600 14px/1.3 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.hk-info-page .hk-info-nav a:hover,
.hk-info-page .hk-info-nav a:focus,
.hk-info-page .hk-info-nav a[aria-current="page"] {
  color: #e2001a;
  border-bottom-color: #e2001a;
}

.hk-info-content {
  max-width: 780px;
  color: #333;
  font-size: 17px;
  line-height: 1.65;
}

.hk-info-content h2 {
  margin: 42px 0 14px;
  color: #333 !important;
  font-size: 26px;
  line-height: 1.3;
}

.hk-info-content h3 {
  margin: 30px 0 10px;
}

.hk-info-content p,
.hk-info-content ul,
.hk-info-content ol {
  margin-bottom: 18px;
}

.hk-info-content li {
  margin-bottom: 8px;
}

.hk-info-content img {
  max-width: 100%;
  height: auto;
}

/* Legal pages use the same calm reading shell with a focused legal nav. */

.hk-legal-page .hk-info-nav {
  margin-bottom: 36px;
}

.hk-legal-page .hk-info-content {
  max-width: 820px;
}

.hk-legal-page .hk-info-content > :first-child {
  margin-top: 0;
}

.hk-legal-page .hk-info-content h2 {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.hk-legal-page .hk-info-content h3 {
  margin-top: 34px;
  color: #333;
  font-size: 21px;
  line-height: 1.35;
}

.hk-legal-page .hk-info-content h4 {
  margin-top: 26px;
  color: #333;
  font-size: 18px;
  line-height: 1.4;
}

.hk-legal-page .hk-info-content a {
  overflow-wrap: anywhere;
  text-underline-offset: 2px;
}

.hk-legal-page .hk-info-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.hk-legal-page .hk-info-content th,
.hk-legal-page .hk-info-content td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.hk-legal-page .hk-info-content th {
  background: #f3f3f3;
  font-weight: 600;
}

/* Turn the existing team entries into responsive portrait cards. */

.page-id-2901 .hk-info-content {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.page-id-2901 .hk-info-content > p:not(:has(img)) {
  display: none;
}

.page-id-2901 .hk-info-content > p:has(img) {
  margin: 0;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
  text-align: left !important;
}

.page-id-2901 .hk-info-content > p:has(img) img {
  display: block;
  width: 100%;
  max-width: none;
  height: 430px;
  margin: 0 0 22px;
  object-fit: cover;
  object-position: center top;
}

.page-id-2901 .hk-info-content > p:has(img) strong,
.page-id-2901 .hk-info-content > p:has(img) br {
  margin-left: 22px;
  margin-right: 22px;
}

/* FAQ search, filters and accessible accordion. */

.hk-faq-hero {
  max-width: 780px;
}

.hk-faq-intro {
  max-width: 680px;
  margin: 0;
  color: #54595f;
  font-size: 19px;
  line-height: 1.55;
}

.hk-faq-tools {
  margin: 0 0 44px;
  padding: 26px;
  background: #f3f3f3;
}

.hk-faq-tools > label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.hk-faq-search-wrap {
  position: relative;
}

.hk-faq-search-wrap > span {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #7a7a7a;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-54%);
  pointer-events: none;
}

.hk-faq-search-wrap input {
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 10px 16px 10px 45px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: 400 16px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: none;
}

.hk-faq-search-wrap input:focus {
  border-color: #e2001a;
  outline: 2px solid rgba(226, 0, 26, 0.16);
  outline-offset: 0;
}

.hk-faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hk-faq-filters button {
  margin: 0;
  padding: 7px 11px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #54595f;
  font: 600 14px/1.3 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.hk-faq-filters button:hover,
.hk-faq-filters button:focus,
.hk-faq-filters button.is-active {
  border-color: #e2001a;
  background: #e2001a;
  color: #fff;
}

.hk-faq-group {
  margin: 0 0 44px;
}

.hk-faq-group-heading {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hk-faq-group-heading h2 {
  margin: 0;
  color: #333;
  font-size: 26px;
}

.hk-faq-group-heading > span {
  color: #7a7a7a;
  font-size: 13px;
  white-space: nowrap;
}

.hk-faq-item {
  border-top: 1px solid #ddd;
}

.hk-faq-item:last-child {
  border-bottom: 1px solid #ddd;
}

.hk-faq-item summary {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  color: #333;
  font: 600 18px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
  list-style: none;
}

.hk-faq-item summary::-webkit-details-marker {
  display: none;
}

.hk-faq-item summary:hover,
.hk-faq-item summary:focus {
  color: #e2001a;
}

.hk-faq-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hk-faq-icon::before,
.hk-faq-icon::after {
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hk-faq-icon::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.hk-faq-item[open] .hk-faq-icon::after {
  transform: rotate(0);
}

.hk-faq-answer {
  max-width: 760px;
  padding: 0 42px 26px 4px;
  color: #454545;
  font-size: 16px;
  line-height: 1.65;
}

.hk-faq-answer p,
.hk-faq-answer ul,
.hk-faq-answer ol {
  margin: 0 0 16px;
}

.hk-faq-answer img {
  display: block;
  float: none;
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  border: 1px solid #eee;
}

.hk-faq-empty {
  margin: 0 0 44px;
  padding: 24px;
  border-left: 3px solid #e2001a;
  background: #f3f3f3;
}

.hk-faq-contact {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 32px;
  border-top: 4px solid #e2001a;
  background: #f3f3f3;
}

.hk-faq-contact h2 {
  margin: 0 0 8px;
  color: #333;
  font-size: 24px;
}

.hk-faq-contact p:last-child {
  margin: 0;
}

.hk-faq-contact .btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 11px 16px;
  border-radius: 0;
  text-decoration: none;
}

@media (max-width: 767px) {
#grid-content.hk-info-layout {
    margin: 0 auto 36px;
    padding: 0;
  }

#grid-content.hk-info-layout .hk-info-page {
    /* Outer page gutter comes from #site-content > .container (--hk-gutter-mobile) */
    padding: 32px 0 40px;
    box-shadow: none;
  }

.hk-info-page > h1,
  .hk-faq-hero h1 {
    font-size: 34px;
  }

.hk-info-nav {
    margin: 24px 0 32px;
    padding: 0 0 12px;
  }

.hk-info-content {
    font-size: 16px;
  }

.page-id-2901 .hk-info-content {
    grid-template-columns: 1fr;
  }

.page-id-2901 .hk-info-content > p:has(img) img,
  .page #grid-content.hk-info-layout .hk-info-content img,
  .page #grid-content.hk-info-layout .hk-faq-answer img {
    width: 100%;
    height: auto;
    min-height: 0;
  }

.hk-faq-intro {
    font-size: 17px;
  }

.hk-faq-tools {
    margin-left: -20px;
    margin-right: -20px;
    padding: 22px 20px;
  }

.hk-faq-group-heading {
    display: block;
  }

.hk-faq-group-heading > span {
    display: block;
    margin-top: 4px;
  }

.hk-faq-item summary {
    gap: 14px;
    padding: 18px 0;
    font-size: 17px;
  }

.hk-faq-answer {
    padding-right: 0;
    padding-left: 0;
  }

.hk-faq-contact {
    display: block;
    padding: 26px 22px;
  }

.hk-faq-contact .btn {
    display: inline-block;
    margin-top: 20px;
  }
}

/* Banner & badges gallery. */

.hk-badges-page .hk-badges-content {
  max-width: none;
}

.hk-badges-content > p:first-child {
  max-width: 680px;
  margin-bottom: 10px;
  color: #54595f;
  font-size: 19px;
  line-height: 1.55;
}

.hk-badge-gallery {
  margin-top: 36px;
}

.hk-badge-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

/* Extra specificity: the Elementor kit paints every button red otherwise. */
.hk-badge-toolbar .hk-badge-filter {
  margin: 0;
  padding: 7px 14px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #54595f;
  font: 600 14px/1.3 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.hk-badge-toolbar .hk-badge-filter:hover,
.hk-badge-toolbar .hk-badge-filter:focus,
.hk-badge-toolbar .hk-badge-filter.is-active {
  border-color: #e2001a;
  background: #e2001a;
  color: #fff;
  outline: none;
}

.hk-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

/* Neutralise the legacy `.page article { width: 700px }` rule for cards. */
.hk-badge-grid .hk-badge-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid #ddd;
  background: #fff;
}

.hk-badge-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin: 0 0 16px;
  padding: 16px;
  background:
    linear-gradient(45deg, #f3f3f3 25%, transparent 25%),
    linear-gradient(-45deg, #f3f3f3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f3f3f3 75%),
    linear-gradient(-45deg, transparent 75%, #f3f3f3 75%);
  background-color: #fff;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.hk-badge-preview a {
  display: inline-flex;
  max-width: 100%;
  line-height: 0;
}

.hk-badge-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
}

.hk-badge-meta {
  margin: 0 0 14px;
}

.hk-badge-size {
  display: inline-block;
  margin: 0 0 6px;
  color: #e2001a;
  font: 600 12px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hk-badge-label {
  margin: 0;
  color: #333;
  font: 400 15px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hk-badge-code-label {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  color: #7a7a7a;
  font: 600 12px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hk-badge-code {
  box-sizing: border-box;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #f3f3f3;
  color: #333;
  font: 400 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.hk-badge-code:focus {
  border-color: #e2001a;
  outline: 2px solid rgba(226, 0, 26, 0.16);
  outline-offset: 0;
  background: #fff;
}

.hk-badge-card .hk-badge-copy {
  align-self: stretch;
  margin: 0;
  padding: 10px 14px;
  border-radius: 0;
  font: 600 14px/1.3 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hk-badge-card .hk-badge-copy.is-copied {
  background: #333;
  border-color: #333;
}

@media (max-width: 767px) {
  .hk-badges-content > p:first-child {
    font-size: 17px;
  }

  .hk-badge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hk-badge-preview {
    min-height: 140px;
  }
}

/* Contact page: address cards and Elementor form panel. */
.hk-kontakt-page .hk-info-content {
  max-width: 860px;
}

.hk-kontakt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 28px;
}

.hk-kontakt-card {
  box-sizing: border-box;
  margin: 0;
  padding: 24px 26px;
  border: 1px solid #eee;
  background: #f3f3f3;
}

.hk-kontakt-card--address {
  grid-column: 1 / -1;
}

.hk-kontakt-card .hk-info-eyebrow {
  margin-bottom: 10px;
}

.hk-kontakt-card p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.hk-kontakt-card a {
  color: #333;
  text-decoration: underline;
  text-decoration-color: rgba(51, 51, 51, 0.35);
  text-underline-offset: 2px;
}

.hk-kontakt-card a:hover,
.hk-kontakt-card a:focus {
  color: #e2001a;
  text-decoration-color: #e2001a;
}

.hk-kontakt-intro {
  margin: 0 0 36px;
  color: #54595f;
  font-size: 17px;
  line-height: 1.65;
}

.hk-kontakt-form-heading {
  margin: 0 0 18px !important;
  color: #333 !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
}

.hk-kontakt-page .hk-kontakt-form {
  box-sizing: border-box;
  margin-top: 0;
  padding: 32px 34px 36px;
  border: 1px solid #ddd;
  background: #fff;
}

.hk-kontakt-page .hk-kontakt-form .elementor-form-fields-wrapper {
  gap: 0;
  margin-left: 0;
  margin-right: 0;
}

.hk-kontakt-page .hk-kontakt-form .elementor-field-group {
  margin-bottom: 22px;
  padding-left: 0;
  padding-right: 0;
}

.hk-kontakt-page .hk-kontakt-form .elementor-field-group.elementor-field-type-submit {
  margin: 8px 0 0;
}

.hk-kontakt-page .hk-kontakt-form .elementor-field-textual {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font: 400 16px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hk-kontakt-page .hk-kontakt-form textarea.elementor-field-textual {
  min-height: 148px;
  resize: vertical;
}

.hk-kontakt-page .hk-kontakt-form .elementor-field-textual:focus,
.hk-kontakt-page .hk-kontakt-form .elementor-field-textual:focus-visible {
  border-color: #e2001a;
  outline: none;
  box-shadow: none;
}

.hk-kontakt-page .hk-kontakt-form .elementor-field-group:has(> .elementor-field-label:not(.elementor-screen-only)):focus-within > .elementor-field-label,
.hk-kontakt-page .hk-kontakt-form .elementor-field-group:has(> .elementor-field-label:not(.elementor-screen-only)):has(> .elementor-field-textual:not(:placeholder-shown)) > .elementor-field-label {
  color: #e2001a;
}

.hk-kontakt-page .hk-kontakt-form .elementor-button {
  min-width: 168px;
  padding: 12px 28px;
  border: 1px solid #c90017;
  border-radius: 0;
  background-color: #e2001a;
  color: #fff;
  font: 600 16px/1.3 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hk-kontakt-page .hk-kontakt-form .elementor-button:hover,
.hk-kontakt-page .hk-kontakt-form .elementor-button:focus,
.hk-kontakt-page .hk-kontakt-form .elementor-button:focus-visible {
  border-color: #af0014;
  background-color: #af0014;
  color: #fff;
}

.hk-kontakt-page .hk-kontakt-form .e-form__buttons .elementor-button,
.hk-kontakt-page .hk-kontakt-form.elementor-button-align-stretch .e-form__buttons .elementor-button {
  width: auto;
  max-width: none;
}

.hk-kontakt-page .hk-kontakt-form .elementor-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font: 400 15px/1.5 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hk-kontakt-page .hk-kontakt-form .elementor-message.elementor-message-success {
  border-color: #c8e6c9;
  background: #f1f8f1;
  color: #2e7d32;
}

.hk-kontakt-page .hk-kontakt-form .elementor-message.elementor-message-danger {
  border-color: #f5c6cb;
  background: #fdf3f4;
  color: #8b0010;
}

@media (max-width: 768px) {
  .hk-kontakt-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
  }

  .hk-kontakt-card {
    padding: 20px 22px;
  }

  .hk-kontakt-page .hk-kontakt-form {
    padding: 24px 20px 28px;
  }

  .hk-kontakt-page .hk-kontakt-form .elementor-button {
    width: 100%;
  }
}

/* Jogginghose pattern download: focused, editorial landing page. */

body.hk-pattern-layout #site-content {
  background: #f3f3f3;
}

body.hk-pattern-layout #grid-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  min-height: 0;
  margin: 28px auto 64px;
  padding: 0 18px;
}

body.hk-pattern-layout #grid-content > .boxleft {
  display: none !important;
}

/*
 * Sticky right AdSense rail — fixed 160×600 skyscraper in the right margin.
 * Shell stays max 1120px centered (content must not shift left).
 * Top is set in JS to match the page article. Same breakpoint as project V2.
 */
.hk-pattern-layout__rail-ad {
  display: none;
}

@media (min-width: 1544px) {
  .hk-pattern-layout__rail-ad {
    display: block !important;
    position: fixed !important;
    z-index: 40;
    top: 0; /* JS aligns to article top */
    left: calc(50% + 560px + 12px) !important; /* half of 1120 shell + gap */
    width: 160px !important;
    max-width: 160px;
    height: 600px;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .hk-pattern-layout__rail-ad--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .hk-pattern-layout__rail-ad #adslot-right,
  .hk-pattern-layout__rail-ad .adsense {
    display: block;
    float: none;
    width: 160px;
    max-width: 160px;
    height: 600px;
    min-height: 600px;
    margin: 0;
    overflow: hidden;
  }

  /* Placeholder: keep image aspect ratio (width capped to rail). */
  .hk-pattern-layout__rail-ad:has(.hk-ad-fallback-active) {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hk-pattern-layout__rail-ad #adslot-right.hk-ad-fallback-active,
  .hk-pattern-layout__rail-ad [data-hk-ad-fallback="1"].hk-ad-fallback-active {
    width: 160px;
    max-width: 160px;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
  }

  .hk-pattern-layout__rail-ad .hk-ad-fallback,
  .hk-pattern-layout__rail-ad .hk-ad-fallback a {
    display: block;
    width: 160px;
    max-width: 160px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .hk-pattern-layout__rail-ad .hk-ad-fallback img,
  .hk-pattern-layout__rail-ad .hk-ad-fallback .hk-ad-placeholder {
    display: block;
    width: 160px;
    max-width: 160px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
  }

  .hk-pattern-layout__rail-ad .adsense > ins,
  .hk-pattern-layout__rail-ad #adslot-right > ins {
    display: inline-block !important;
    width: 160px !important;
    height: 600px !important;
    max-width: 160px;
  }
}

body.hk-pattern-layout #grid-content article.page {
  box-sizing: border-box;
  float: none;
  width: 100%;
  margin: 0;
  padding: 54px 58px 58px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(51, 51, 51, 0.07);
}

body.hk-pattern-layout article.page::before {
  display: block;
  margin: 0 0 8px;
  color: #e2001a;
  content: "Kostenloses Schnittmuster";
  font: 600 12px/1.4 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.hk-pattern-layout article.page > h1 {
  max-width: 760px;
  margin: 0 0 34px;
  color: #333;
  font: 400 44px/1.12 Lora, Georgia, "Times New Roman", serif;
}

.hk-pattern-page,
.hk-pattern-page * {
  box-sizing: border-box;
}

.hk-pattern-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 52px;
  align-items: start;
}

.hk-pattern-gallery {
  position: relative;
  min-width: 0;
  max-width: 100%;
  min-height: 520px;
  margin: 0;
  padding: 34px 24px 28px;
  overflow: hidden;
  background: #f3f3f3;
}

.hk-pattern-gallery.hk-pattern-gallery-swiper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
}

.hk-pattern-gallery .hk-swiper--pattern {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hk-pattern-gallery .hk-swiper-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hk-pattern-gallery .hk-swiper-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 360px;
}

.hk-pattern-summary {
  min-width: 0;
  max-width: 100%;
}

.page #grid-content .hk-pattern-gallery img,
.page #grid-content .hk-pattern-gallery .hk-swiper-main img {
  display: block;
  float: none;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(51, 51, 51, 0.16);
}

.page #grid-content .hk-pattern-gallery .hk-swiper-thumbs img {
  width: 100%;
  max-width: none;
  box-shadow: none;
}

.hk-pattern-gallery .hk-swiper-thumbs {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 18px;
  padding: 0 36px;
  overflow: hidden;
}

.hk-pattern-gallery .hk-swiper-thumbs .swiper-slide {
  width: 72px;
  height: 72px;
  box-sizing: border-box;
}

.hk-pattern-gallery .swiper-button-prev,
.hk-pattern-gallery .swiper-button-next {
  color: #333;
}

.page #grid-content .hk-pattern-gallery .hk-pattern-gallery-main {
  width: 307px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(51, 51, 51, 0.16);
}

.page #grid-content .hk-pattern-gallery .hk-pattern-gallery-detail {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 154px;
  border: 8px solid #fff;
  box-shadow: 0 8px 24px rgba(51, 51, 51, 0.2);
}

.hk-pattern-kicker {
  margin: 0 0 10px;
  color: #e2001a;
  font-size: 15px;
  font-weight: 600;
}

.hk-pattern-lead {
  margin: 0 0 25px;
  color: #333;
  font: 400 23px/1.42 Lora, Georgia, "Times New Roman", serif;
}

.hk-pattern-copy {
  color: #54595f;
  font-size: 17px;
  line-height: 1.6;
}

.hk-pattern-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  background: #ddd;
  border: 1px solid #ddd;
}

.hk-pattern-fact {
  min-width: 0;
  padding: 14px 12px;
  background: #fff;
}

.hk-pattern-fact strong,
.hk-pattern-fact span {
  display: block;
}

.hk-pattern-fact strong {
  color: #333;
  font-size: 17px;
  line-height: 1.2;
}

.hk-pattern-fact span {
  margin-top: 3px;
  color: #7a7a7a;
  font-size: 12px;
  line-height: 1.25;
}

.hk-pattern-page .hk-pattern-download {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid #c90017;
  border-radius: 0;
  background: #e2001a;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.hk-pattern-page .hk-pattern-download:hover,
.hk-pattern-page .hk-pattern-download:focus {
  border-color: var(--hk-red-hover);
  background: var(--hk-red-hover);
  color: #fff;
  text-decoration: none;
}

.hk-pattern-download-icon {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.hk-pattern-download-note {
  margin: 10px 0 0;
  color: #7a7a7a;
  font-size: 13px;
  text-align: center;
}

.hk-pattern-email {
  margin-top: 28px;
}

.hk-pattern-email-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #9a9a9a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hk-pattern-email-divider::before,
.hk-pattern-email-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}

.hk-pattern-email-card {
  padding: 22px 20px 20px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.hk-pattern-email-heading {
  margin: 0 0 16px;
  color: #333;
  font-size: 22px;
  line-height: 1.25;
}

.hk-pattern-email-form {
  display: grid;
  gap: 14px;
}

.hk-pattern-email-field {
  position: relative;
  display: block;
}

.hk-pattern-email-label {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 24px);
  transform: translateY(-50%);
  overflow: hidden;
  color: #7a7a7a;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  background: transparent;
  transition: top 160ms ease, transform 160ms ease, font-size 160ms ease, color 160ms ease, background-color 160ms ease;
}

.hk-pattern-email-field:focus-within .hk-pattern-email-label,
.hk-pattern-email-field:has(.hk-pattern-email-input:not(:placeholder-shown)) .hk-pattern-email-label,
.hk-pattern-email-field:has(.hk-pattern-email-size:valid) .hk-pattern-email-label {
  top: 0;
  left: 10px;
  padding: 0 4px;
  transform: translateY(-50%);
  color: #7a7a7a;
  font-size: 12px;
  background-color: #ffffff;
}

.hk-pattern-email-field:focus-within .hk-pattern-email-label {
  color: #e2001a;
}

.hk-pattern-email-size,
.hk-pattern-email-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
}

.hk-pattern-email-input:focus,
.hk-pattern-email-size:focus {
  border-color: #e2001a;
  outline: none;
}

.hk-pattern-email-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
}

.hk-pattern-email-consent input {
  margin-top: 3px;
}

.hk-pattern-email-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #333;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.hk-pattern-email-submit:hover,
.hk-pattern-email-submit:focus {
  border-color: #111;
  background: #111;
  color: #fff;
}

.hk-pattern-email-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.hk-pattern-email-hint {
  margin: 0;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.45;
}

.hk-pattern-email-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.hk-pattern-email-message.is-success {
  color: #1f6b2d;
}

.hk-pattern-email-message.is-error {
  color: #b00020;
}

@media (min-width: 640px) {
  .hk-pattern-email-form {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .hk-pattern-email-consent,
  .hk-pattern-email-submit,
  .hk-pattern-email-hint,
  .hk-pattern-email-message {
    grid-column: 1 / -1;
  }
}

.hk-pattern-section {
  margin-top: 64px;
  padding-top: 54px;
  border-top: 1px solid #ddd;
}

.hk-pattern-section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.hk-pattern-section-heading .hk-pattern-kicker {
  margin-bottom: 7px;
}

.hk-pattern-section h2 {
  margin: 0 0 12px;
  color: #333;
  font-size: 30px;
  line-height: 1.25;
}

.hk-pattern-section-heading > p:last-child {
  margin: 0;
  color: #54595f;
  font-size: 17px;
  line-height: 1.6;
}

.hk-video-embed,
.hk-pattern-page .hk-video-embed {
  position: relative;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  background: #111;
}

.hk-video-embed iframe,
.hk-pattern-page .hk-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hk-pattern-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pattern-step;
}

.hk-pattern-steps li {
  position: relative;
  min-height: 180px;
  margin: 0;
  padding: 55px 24px 24px;
  border-top: 3px solid #e2001a;
  background: #f3f3f3;
  counter-increment: pattern-step;
}

.hk-pattern-steps li::before {
  position: absolute;
  top: 17px;
  left: 24px;
  color: #e2001a;
  content: "0" counter(pattern-step);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hk-pattern-steps strong {
  display: block;
  margin-bottom: 7px;
  color: #333;
  font: 400 20px/1.3 Lora, Georgia, "Times New Roman", serif;
}

.hk-pattern-steps span {
  color: #54595f;
  font-size: 15px;
  line-height: 1.5;
}

.hk-pattern-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
  padding: 28px;
  border-left: 4px solid #e2001a;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eee;
}

.hk-pattern-note-mark {
  color: #e2001a;
  font: 400 32px/1 Lora, Georgia, "Times New Roman", serif;
}

.hk-pattern-note h3 {
  margin: 0 0 6px;
  color: #333;
  font-size: 20px;
}

.hk-pattern-note p {
  margin: 0;
  color: #54595f;
  font-size: 15px;
  line-height: 1.55;
}

body.hk-pattern-layout article.page > br,
body.hk-pattern-layout article.page > .shareme,
body.hk-pattern-layout article.page > .shareme + br {
  display: none;
}

body.hk-pattern-layout article.page > .row-fluid {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid #ddd;
}

/* Discussion + right AdSense multiplex side by side on pattern pages. */
body.hk-pattern-layout article.page > .row-fluid > .span6 {
  float: left;
  width: 48%;
  margin: 0;
}

body.hk-pattern-layout article.page > .row-fluid > .related {
  display: block;
  float: right;
  width: 48%;
  margin: 0;
  min-height: 280px;
}

body.hk-pattern-layout #comments {
  max-width: none;
}

/* Magazine PDF archive — same shell as Schnittmuster, magazine-specific eyebrow. */

body.hk-mag-layout article.page::before {
  content: "Kostenlose PDF-Magazine";
}

.hk-mag-page,
.hk-mag-page * {
  box-sizing: border-box;
}

.hk-mag-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 40px;
  align-items: end;
  margin: 0 0 42px;
  padding-bottom: 36px;
  border-bottom: 1px solid #ddd;
}

.hk-mag-intro-copy {
  max-width: 640px;
}

.hk-mag-kicker {
  margin: 0 0 10px;
  color: #e2001a;
  font-size: 15px;
  font-weight: 600;
}

.hk-mag-lead {
  margin: 0 0 16px;
  color: #333;
  font: 400 23px/1.42 Lora, Georgia, "Times New Roman", serif;
}

.hk-mag-copy {
  margin: 0;
  color: #54595f;
  font-size: 17px;
  line-height: 1.6;
}

.hk-mag-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  background: #ddd;
  border: 1px solid #ddd;
}

.hk-mag-fact {
  padding: 14px 16px;
  background: #fff;
}

.hk-mag-fact strong,
.hk-mag-fact span {
  display: block;
}

.hk-mag-fact strong {
  color: #333;
  font-size: 18px;
  line-height: 1.2;
}

.hk-mag-fact span {
  margin-top: 3px;
  color: #7a7a7a;
  font-size: 12px;
  line-height: 1.25;
}

.hk-mag-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 28px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hk-mag-shelf > li {
  margin: 0;
  padding: 0;
}

.hk-mag-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #333;
}

.hk-mag-cover-link {
  position: relative;
  display: block;
  margin: 0 0 14px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 10px 28px rgba(51, 51, 51, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hk-mag-cover-link:hover,
.hk-mag-cover-link:focus,
.hk-mag-card:hover .hk-mag-cover-link {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(51, 51, 51, 0.18);
}

.page #grid-content .hk-mag-cover-img,
.page #grid-content .hk-mag-cover-link img {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: 480 / 611;
  object-fit: cover;
  border: 0;
}

.hk-mag-year {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 8px;
  background: #fff;
  color: #333;
  font: 600 11px/1 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(51, 51, 51, 0.12);
}

.hk-mag-title {
  margin: 0 0 4px;
  color: #333;
  font: 400 17px/1.3 Lora, Georgia, "Times New Roman", serif;
}

.page article .hk-mag-page .hk-mag-title a,
.page article li .hk-mag-title a,
.page #grid-content .hk-mag-page .hk-mag-title a {
  color: inherit;
  text-decoration: none;
}

.page article .hk-mag-page .hk-mag-title a:hover,
.page article .hk-mag-page .hk-mag-title a:focus,
.page article li .hk-mag-title a:hover,
.page article li .hk-mag-title a:focus {
  color: #e2001a;
  text-decoration: none;
}

.page article .hk-mag-page .hk-mag-download,
.page article li .hk-mag-download {
  text-decoration: none;
}

.hk-mag-meta {
  margin: 0 0 12px;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.35;
}

.hk-mag-cover-link br,
.hk-mag-card > br,
.hk-mag-shelf br {
  display: none;
}

.hk-mag-card > p {
  margin: 0;
}

.hk-mag-card > p.hk-mag-title {
  margin: 0 0 4px;
}

.hk-mag-card > p.hk-mag-meta {
  margin: 0 0 12px;
}

.hk-mag-card > p:has(.hk-mag-download) {
  margin-top: auto;
}

.hk-mag-page .hk-mag-download {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid #c90017;
  border-radius: 0;
  background: #e2001a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hk-mag-page .hk-mag-download:hover,
.hk-mag-page .hk-mag-download:focus {
  border-color: var(--hk-red-hover, #af0014);
  background: var(--hk-red-hover, #af0014);
  color: #fff;
  text-decoration: none;
}

.hk-mag-download-icon {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.hk-mag-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
  padding: 28px;
  border-left: 4px solid #e2001a;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eee;
}

.hk-mag-note-mark {
  color: #e2001a;
  font: 400 32px/1 Lora, Georgia, "Times New Roman", serif;
}

.hk-mag-note h2 {
  margin: 0 0 6px;
  color: #333;
  font-size: 20px;
  line-height: 1.3;
}

.hk-mag-note p {
  margin: 0;
  color: #54595f;
  font-size: 15px;
  line-height: 1.55;
}

.hk-mag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 32px;
}

.hk-mag-links a {
  color: #333;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hk-mag-links a:hover,
.hk-mag-links a:focus {
  color: #e2001a;
}

@media (max-width: 900px) {
body.hk-pattern-layout #grid-content article.page {
    padding: 44px 40px 48px;
  }

.hk-pattern-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

.hk-pattern-gallery {
    min-height: 0;
  }

.hk-mag-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

.hk-mag-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
body.hk-pattern-layout #grid-content {
    margin: 0 auto 36px;
    padding: 0;
  }

body.hk-pattern-layout #grid-content article.page {
    /* Outer page gutter comes from #site-content > .container (--hk-gutter-mobile) */
    padding: 34px 0 40px;
    box-shadow: none;
  }

body.hk-pattern-layout article.page > h1 {
    margin-bottom: 26px;
    font-size: 35px;
  }

.hk-pattern-gallery {
    min-height: 0;
    padding: 20px 12px 16px;
  }

.hk-pattern-gallery .hk-swiper-thumbs {
    padding: 0 8px;
  }

.hk-pattern-gallery .hk-swiper-main .swiper-slide {
    min-height: 240px;
  }

.page #grid-content .hk-pattern-gallery .hk-pattern-gallery-main {
    width: 100%;
    max-width: 307px;
  }

.page #grid-content .hk-pattern-gallery .hk-pattern-gallery-detail {
    right: 12px;
    bottom: 12px;
    width: 120px;
    border-width: 6px;
  }

.hk-pattern-lead {
    font-size: 21px;
  }

.hk-pattern-facts {
    grid-template-columns: 1fr;
  }

.hk-pattern-section {
    margin-top: 48px;
    padding-top: 40px;
  }

.hk-pattern-section h2 {
    font-size: 27px;
  }

.hk-pattern-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

.hk-pattern-steps li {
    min-height: 0;
  }

.hk-pattern-note {
    gap: 16px;
    padding: 22px 18px;
  }

body.hk-pattern-layout article.page > .row-fluid {
    margin-top: 52px;
    padding-top: 40px;
  }

body.hk-pattern-layout article.page > .row-fluid > .span6,
body.hk-pattern-layout article.page > .row-fluid > .related {
    float: none;
    width: 100%;
  }

body.hk-pattern-layout article.page > .row-fluid > .related {
    margin-top: 28px;
  }

.hk-mag-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 28px;
  }

.hk-mag-lead {
    font-size: 21px;
  }

.hk-mag-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

.hk-mag-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

.hk-mag-title {
    font-size: 16px;
  }

.hk-mag-note {
    gap: 16px;
    margin-top: 36px;
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
.hk-mag-facts {
    grid-template-columns: 1fr;
  }

.hk-mag-shelf {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Nählexikon — A-Z glossary reference page, same flush shell as Schnittmuster. */

body.hk-glossary-layout article.page::before {
  display: none;
  content: none;
}

body.hk-glossary-layout article.page > h1 {
  max-width: 760px;
}

@media (min-width: 768px) {
  html:has(body.hk-glossary-layout) {
    scroll-behavior: smooth;
  }
}

.hk-glossary-page,
.hk-glossary-page * {
  box-sizing: border-box;
}

.hk-glossary-intro {
  max-width: 760px;
  margin: 0 0 40px;
}

.hk-glossary-intro h2 {
  margin: 0 0 14px;
  color: #333;
  font: 400 26px/1.3 Lora, Georgia, "Times New Roman", serif;
}

.hk-glossary-lead {
  margin: 0 0 16px;
  color: #333;
  font: 400 20px/1.5 Lora, Georgia, "Times New Roman", serif;
}

.hk-glossary-intro p {
  margin: 0 0 14px;
  color: #54595f;
  font-size: 16px;
  line-height: 1.65;
}

.hk-glossary-intro p:last-child {
  margin-bottom: 0;
}

.hk-glossary-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  margin: 0 0 40px;
  padding: 18px 22px;
  background: #f3f3f3;
  border: 1px solid #e6e6e6;
}

.hk-glossary-count {
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hk-glossary-az {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.hk-glossary-az a,
.hk-glossary-az-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font: 600 13px/1 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hk-glossary-az a {
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hk-glossary-az a:hover,
.hk-glossary-az a:focus {
  border-color: #e2001a;
  background: #e2001a;
  color: #fff;
}

.hk-glossary-az-empty {
  border: 1px solid transparent;
  color: #c9c9c9;
}

.hk-glossary-group {
  margin: 0 0 44px;
  scroll-margin-top: 24px;
}

.hk-glossary-group:last-child {
  margin-bottom: 0;
}

.hk-glossary-letter {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  color: #e2001a;
  font: 400 32px/1 Lora, Georgia, "Times New Roman", serif;
}

.hk-glossary-letter::after {
  flex: 1;
  height: 1px;
  background: #ddd;
  content: "";
}

.hk-glossary-terms {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: #ddd;
  border: 1px solid #ddd;
}

.hk-glossary-term {
  padding: 20px 24px;
  background: #fff;
  scroll-margin-top: 24px;
  transition: background 0.4s ease;
}

.hk-glossary-term:target {
  background: #fdf3d9;
  box-shadow: inset 4px 0 0 #e2001a;
}

.hk-glossary-term dt {
  margin: 0 0 6px;
  color: #333;
  font: 600 17px/1.3 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hk-glossary-term dd {
  margin: 0;
  color: #54595f;
  font-size: 15px;
  line-height: 1.6;
}

.hk-glossary-related-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ddd;
  border: 1px solid #ddd;
}

.hk-glossary-related-list li {
  padding: 16px 20px;
  background: #fff;
  color: #54595f;
  font-size: 15px;
  line-height: 1.5;
}

.hk-glossary-related-list a {
  color: #e2001a;
  font-weight: 600;
  text-decoration: none;
}

.hk-glossary-related-list a:hover,
.hk-glossary-related-list a:focus {
  text-decoration: underline;
}

.hk-glossary-top {
  margin: 8px 0 0;
  text-align: center;
}

.hk-glossary-top a {
  color: #e2001a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hk-glossary-top a:hover,
.hk-glossary-top a:focus {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .hk-glossary-intro h2 {
    font-size: 23px;
  }

  .hk-glossary-lead {
    font-size: 18px;
  }

  .hk-glossary-toolbar {
    justify-content: flex-start;
    padding: 16px;
  }

  .hk-glossary-letter {
    font-size: 26px;
  }

  .hk-glossary-term {
    padding: 16px 18px;
  }
}
