:root {
  --ksudd-red: #8f1212;
  --ksudd-red-dark: #5d0909;
  --ksudd-ink: #16110f;
  --ksudd-paper: #fff8ec;
  --ksudd-gold: #d7a84b;
  --ksudd-border: #d8d0c5;
  --ksudd-success: #176b36;
  --ksudd-error: #9b1c1c;
}

* {
  box-sizing: border-box;
}

body {
  background: #211712;
  color: var(--ksudd-ink);
}

#imPage {
  grid-template-rows: auto auto 150px !important;
}

#imPageExtContainer,
#imContent {
  background: #fff !important;
}

#ksuddHeader {
  grid-column: 1 / 4;
  grid-row: 1 / 2;
}

.ksudd-header {
  min-height: 92px;
  padding: 12px clamp(18px, 4vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, rgba(22, 17, 15, .96), rgba(92, 11, 11, .94));
  border-bottom: 4px solid var(--ksudd-gold);
  position: relative;
  z-index: 1000;
}

.ksudd-brand a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.ksudd-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ksudd-brand strong,
.ksudd-brand small {
  display: block;
  line-height: 1.2;
}

.ksudd-brand strong {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
}

.ksudd-brand small {
  color: #f0dcb4;
}

.ksudd-menu,
.ksudd-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ksudd-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.ksudd-menu li {
  position: relative;
}

.ksudd-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #fff8ec;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.ksudd-menu a:hover,
.ksudd-menu a:focus,
.ksudd-submenu-toggle:hover,
.ksudd-submenu-toggle:focus {
  background: rgba(215, 168, 75, .22);
}

.ksudd-menu .sub-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  min-width: 220px;
  padding: 6px 0;
  background: rgba(54, 18, 14, .99);
  border: 1px solid rgba(215, 168, 75, .45);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .32);
  display: none;
  z-index: 1100;
}

.ksudd-menu .sub-menu .sub-menu {
  inset-block-start: -7px;
  inset-inline-start: 100%;
}

.ksudd-menu .menu-item-has-children:hover > .sub-menu,
.ksudd-menu .menu-item-has-children:focus-within > .sub-menu,
.ksudd-menu .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.ksudd-submenu-toggle {
  position: absolute;
  top: 13px;
  right: 2px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.ksudd-submenu-toggle::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.menu-item-has-children > a {
  padding-right: 26px;
}

.ksudd-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: transparent;
  border-radius: 4px;
}

.ksudd-nav-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: #111;
}

.skip-link:not(:focus) {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

#imContent,
.ksudd-content {
  min-height: 54vh;
  clear: both;
}

#imContent > .ksudd-form,
#imContent > .ksudd-account,
#imContent > .ksudd-search,
#imContent > .ksudd-comments,
#imContent > .ksudd-feedback-intro,
#imContent > .ksudd-form-message,
#imContent > .ksudd-notice {
  grid-column: 1 / -1;
}

.ksudd-feedback-intro {
  width: min(100% - 32px, 980px);
  margin: 30px auto 0;
}

.ksudd-content img,
.ksudd-entry-content img,
.ksudd-card img {
  max-width: 100%;
  height: auto;
}

.ksudd-content video {
  max-width: 100%;
  height: auto;
}

.ksudd-legacy-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  padding: 10px;
}

.ksudd-gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  overflow: hidden;
  background: #eee;
}

.ksudd-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .2s ease;
}

.ksudd-gallery-item:hover img,
.ksudd-gallery-item:focus img {
  transform: scale(1.025);
}

.ksudd-event-slideshow.is-enhanced {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.ksudd-event-slideshow.is-enhanced .ksudd-gallery-item {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  max-height: 680px;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 5px;
  background: #171311 !important;
}

.ksudd-event-slideshow.is-enhanced .ksudd-gallery-item[hidden] {
  display: none;
}

.ksudd-event-slideshow.is-enhanced .ksudd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.ksudd-slideshow-controls {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ksudd-slideshow-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ksudd-red);
  border-radius: 50%;
  background: #fff;
  color: var(--ksudd-red);
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
}

.ksudd-slideshow-controls button:hover {
  background: var(--ksudd-red);
  color: #fff;
}

.ksudd-slide-status {
  min-width: 70px;
  color: var(--ksudd-ink);
  font-weight: 700;
  text-align: center;
}

.ksudd-content table {
  max-width: 100%;
}

.ksudd-content a:focus-visible,
.ksudd-header a:focus-visible,
.ksudd-header button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ksudd-gold);
  outline-offset: 2px;
}

.ksudd-button,
.ksudd-submit,
.ksudd-read-more,
.search-submit,
#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--ksudd-red);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.ksudd-button:hover,
.ksudd-submit:hover,
.ksudd-read-more:hover,
.search-submit:hover,
#submit:hover {
  background: var(--ksudd-red-dark);
}

.ksudd-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.ksudd-form,
.ksudd-account,
.ksudd-search,
.ksudd-comments,
.ksudd-archive-header,
.ksudd-single,
.ksudd-error-page {
  width: min(100% - 32px, 980px);
  margin: 30px auto;
}

.ksudd-form {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--ksudd-border);
  border-top: 4px solid var(--ksudd-red);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 21, 14, .08);
}

.ksudd-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ksudd-field-wide {
  grid-column: 1 / -1;
}

.ksudd-field > label,
.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.ksudd-field input,
.ksudd-field select,
.ksudd-field textarea,
.ksudd-account input,
.ksudd-search input,
.comment-form input,
.comment-form select,
.comment-form textarea,
.search-form input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #8d867e;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: inherit;
}

.ksudd-form :is(input, select, textarea):invalid {
  border-color: #8d867e !important;
  box-shadow: none;
}

.ksudd-form :is(input, select, textarea):user-invalid {
  border-color: var(--ksudd-error) !important;
}

.ksudd-field textarea,
.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.ksudd-checkboxes {
  display: grid;
  gap: 8px;
  border: 1px solid var(--ksudd-border);
  padding: 12px;
}

.ksudd-checkboxes label,
.ksudd-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.ksudd-checkboxes input,
.ksudd-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.ksudd-consent {
  margin: 22px 0;
}

.ksudd-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ksudd-form-note {
  margin-top: 14px;
  color: #5a524c;
  font-size: .9rem;
}

.ksudd-form-message {
  width: min(100% - 32px, 980px);
  margin: 20px auto;
  padding: 14px 18px;
  border-left: 5px solid;
  background: #fff;
}

.ksudd-form-message.is-success {
  border-color: var(--ksudd-success);
  color: var(--ksudd-success);
}

.ksudd-form-message.is-error {
  border-color: var(--ksudd-error);
  color: var(--ksudd-error);
}

.ksudd-posts,
.ksudd-search-results {
  padding: 28px clamp(16px, 4vw, 42px);
}

.ksudd-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 24px;
  width: min(100%, 1120px);
  margin: 0 auto 28px;
}

.ksudd-card {
  overflow: hidden;
  border: 1px solid var(--ksudd-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 21, 14, .08);
}

.ksudd-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.ksudd-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ksudd-card-body {
  padding: 18px;
}

.ksudd-card h2 {
  margin: .2em 0 .55em;
  font-size: 1.25rem;
}

.ksudd-card h2 a {
  color: var(--ksudd-red-dark);
  text-decoration: none;
}

.ksudd-entry-meta {
  margin: 0;
  color: #655d57;
  font-size: .9rem;
}

.ksudd-entry-header,
.ksudd-entry-content,
.ksudd-entry-footer,
.post-navigation {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

.ksudd-entry-header {
  margin-top: 34px;
}

.ksudd-entry-content {
  margin-block: 24px;
  font-size: 1rem;
  line-height: 1.65;
}

.ksudd-entry-footer,
.post-navigation {
  margin-block: 20px 32px;
}

.ksudd-comments {
  padding-top: 22px;
  border-top: 1px solid var(--ksudd-border);
}

.comment-list {
  padding: 0;
  list-style: none;
}

.ksudd-comment {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid var(--ksudd-border);
  border-radius: 5px;
}

.ksudd-comment header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ksudd-rating {
  margin: 8px 0;
  color: #9a6500;
  font-size: 1.35rem;
  letter-spacing: 2px;
}

.ksudd-footer {
  background: #15100d;
  color: #f4e4c4;
  padding: 22px clamp(18px, 4vw, 46px);
}

.ksudd-footer-inner {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.ksudd-footer a {
  color: #f4e4c4;
}

.ksudd-notice {
  max-width: 920px;
  margin: 40px auto;
  padding: 24px;
  background: var(--ksudd-paper);
  border-left: 4px solid var(--ksudd-red);
}

.ksudd-cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5000;
  width: min(calc(100% - 36px), 520px);
  padding: 18px;
  border: 1px solid rgba(215, 168, 75, .7);
  border-radius: 6px;
  background: #211712;
  color: #fff;
  box-shadow: 0 12px 42px rgba(0, 0, 0, .45);
  font-family: Raleway, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.ksudd-cookie[hidden] {
  display: none;
}

.ksudd-cookie a {
  color: #fff;
}

.ksudd-cookie div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ksudd-cookie button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.ksudd-cookie button:last-child {
  background: var(--ksudd-gold);
  border-color: var(--ksudd-gold);
  color: #211712;
  font-weight: 700;
}

.ksudd-lightbox {
  width: min(96vw, 1200px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.ksudd-lightbox::backdrop {
  background: rgba(0, 0, 0, .85);
}

.ksudd-lightbox img {
  display: block;
  width: auto;
  max-width: 96vw;
  max-height: 90vh;
  margin: auto;
}

.ksudd-lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #211712;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .ksudd-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .ksudd-nav-toggle {
    display: block;
  }

  .ksudd-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
  }

  .ksudd-nav.is-open {
    display: block;
  }

  .ksudd-menu {
    display: block;
    width: 100%;
  }

  .ksudd-menu .sub-menu,
  .ksudd-menu .sub-menu .sub-menu {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, .2);
  }

  .ksudd-menu .menu-item-has-children:hover > .sub-menu,
  .ksudd-menu .menu-item-has-children:focus-within > .sub-menu {
    display: none;
  }

  .ksudd-menu .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  [id^="imTableObject_"] .text-container {
    overflow: visible !important;
  }

  [id^="imTableObject_"] table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    table-layout: fixed;
    overflow: visible !important;
  }

  [id^="imTableObject_"] td {
    width: auto !important;
    height: auto !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  [id^="imTableObject_"] .imUl {
    display: none;
  }
}

@media (max-width: 700px) {
  #imPage {
    grid-template-rows: auto auto 120px !important;
  }

  .ksudd-header {
    min-height: 76px;
    padding: 10px 14px;
  }

  .ksudd-logo {
    width: 52px;
    height: 52px;
  }

  .ksudd-brand strong {
    font-size: 1rem;
  }

  .ksudd-form-grid {
    grid-template-columns: 1fr;
  }

  .ksudd-field-wide {
    grid-column: auto;
  }

  .ksudd-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ksudd-content .imHeading1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }

  [id^="imTableObject_"] td,
  [id^="imTableObject_"] .fs14lh1-5 {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
}
