.kalent-shell {
  --kalent-shell-paper: #f7f5ef;
  --kalent-shell-ink: #49413a;
  --kalent-shell-dark: #302a26;
  --kalent-shell-light: #f8f3ea;
}

body.kalent-shell > header {
  box-sizing: border-box;
  width: min(100%, 1100px);
  min-height: 82px;
  padding: 13px clamp(16px, 2vw, 26px);
  gap: 16px;
  background: var(--kalent-shell-paper);
  border-bottom: 1px solid #ddd5ca;
}

.kalent-shell header #logo,
.kalent-shell footer .foot-logo .logo {
  width: auto;
  flex-shrink: 0;
}

.kalent-shell header #logo a,
.kalent-shell footer .foot-logo .logo {
  display: block;
  line-height: 0;
}

.kalent-shell header #logo img,
.kalent-shell footer .foot-logo .logo img {
  display: block;
  width: 218px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 83 / 23;
  object-fit: contain;
  content: url("./kalent-lockup-light-edge.png");
  content: url("./kalent-lockup-light-edge.png") / "KALENT オーダーシューズ・カレント";
}

.kalent-shell header #logo img {
  filter: grayscale(1) invert(1) brightness(.82) contrast(.67);
}

.kalent-shell footer .foot-logo .logo img {
  width: 226px;
  content: url("./kalent-lockup-light-edge.png");
  content: url("./kalent-lockup-light-edge.png") / "KALENT オーダーシューズ・カレント";
}

.kalent-shell header > nav { flex: 1; }
.kalent-shell header > nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
}

.kalent-shell header > nav ul li { margin: 0; }
.kalent-shell header nav a { color: var(--kalent-shell-ink); font-size: 13px; }
.kalent-shell header nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

.kalent-shell header .btn a.size-l {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: 6px 15px;
  border: 1px solid #74685e;
  border-radius: 0;
  background: transparent;
  color: var(--kalent-shell-ink);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: none;
}
.kalent-shell header .btn a.size-l:hover { background: #e9e1d5; }
.kalent-shell header .sp-menu {
  top: 100%;
  background: var(--kalent-shell-paper);
  border-bottom: 1px solid #ddd5ca;
}
.kalent-shell header #menu span { background-color: var(--kalent-shell-ink); }
.kalent-shell header #menu.opened .middle { background-color: transparent; }

body.kalent-shell > footer {
  display: flex;
  flex-direction: column;
  gap: 27px;
  padding: clamp(32px,5vw,62px) clamp(16px,4vw,38px) 26px;
  background: var(--kalent-shell-dark);
  color: var(--kalent-shell-light);
}

.kalent-shell footer .foot-logo,
.kalent-shell footer .foot-main,
.kalent-shell footer .add-small {
  box-sizing: border-box;
  width: min(100%,1040px);
  margin: 0 auto;
}

.kalent-shell footer .foot-logo {
  order: -1;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 0 20px;
  border-bottom: 1px solid #665c53;
}
.kalent-shell footer .foot-logo > li { list-style: none; }
.kalent-shell footer .foot-logo ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.kalent-shell footer .foot-logo ul li { float: none; margin: 0; }
.kalent-shell footer .foot-logo ul li img { max-width: 105px; max-height: 32px; width: auto; height: auto; }

.kalent-shell footer .foot-main {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(20px,4vw,55px);
}
.kalent-shell footer .foot-main::after,
.kalent-shell footer .foot-main nav::after,
.kalent-shell footer .foot-main nav ul::after { display: none; }

.kalent-shell footer .foot-main nav,
.kalent-shell footer .foot-main .right {
  float: none;
  width: auto;
  padding: 0;
  text-align: left;
}

.kalent-shell footer .foot-main nav ul {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px 16px;
  margin: 0;
  padding: 0;
  border: 0;
}
.kalent-shell footer .foot-main nav ul li,
.kalent-shell footer .foot-main nav ul li:nth-child(3n-1) {
  float: none;
  width: auto;
  margin: 0;
  text-align: left;
}
.kalent-shell footer .foot-main nav a,
.kalent-shell footer a { color: inherit; }
.kalent-shell footer a:hover { text-decoration: underline; text-underline-offset: .25em; }

.kalent-shell footer .foot-main nav a[href$="/reservation/"] {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #9e9185;
}
.kalent-shell footer .foot-main .right { overflow-wrap: anywhere; }
.kalent-shell footer .add-small {
  padding-top: 16px;
  border-top: 1px solid #665c53;
  color: #ddd3c9;
  text-align: left;
}
.kalent-shell header a:focus-visible,
.kalent-shell footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 1120px) {
  body.kalent-shell > header { min-height: 72px; padding-right: 64px; }
  .kalent-shell header > .btn { display: block; margin: 0 0 0 auto; }
  .kalent-shell header #menu { right: 8px; }
}
@media (max-width: 700px) {
  body.kalent-shell > header { gap: 8px; padding-left: 12px; padding-right: 56px; }
  .kalent-shell header #menu { right: 3px; }
  .kalent-shell header #logo img { width: clamp(136px, 43vw, 174px); }
  .kalent-shell header .btn a.size-l { padding-inline: 8px; }
  .kalent-shell footer .foot-main { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 720px) {
  .kalent-shell #container.kalent-home .top-pricing-table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }

  .kalent-shell #container.kalent-home .top-pricing-table {
    width: 100%;
    min-width: 0;
  }

  .kalent-shell #container.kalent-home .top-pricing-table th,
  .kalent-shell #container.kalent-home .top-pricing-table td {
    width: auto;
    min-width: 0;
  }
}


@font-face {
  font-family: "KALENT Subpage Mincho";
  src: url("./kalent-subpage-mincho.woff?v=2") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body.kalent-shell:not(.home) #mainimg.next h1,
body.kalent-shell:not(.home) #container.next :is(h1, h2, h3) {
  font-family: "KALENT Subpage Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  letter-spacing: .02em;
}

/* Interior pages share the homepage palette and keep related links below the content. */
body.kalent-shell:not(.home) #container.next {
  --kalent-interior-rule: #dcd3c7;
  color: var(--kalent-shell-ink);
}

/* Match the homepage's separate title and photo panels on interior pages. */
.kalent-shell #container.next #mainimg.next {
  --kalent-hero-position: center;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
  height: auto;
  min-height: clamp(220px, 29vw, 330px);
  margin-bottom: clamp(32px, 6vw, 76px);
  padding: 0;
  background-color: var(--kalent-shell-paper);
  background-repeat: no-repeat;
  background-size: 0 0;
}

.kalent-shell #container.next #mainimg.next::before {
  content: none;
}

.kalent-shell #container.next #mainimg.next::after {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  background-image: inherit;
  background-position: var(--kalent-hero-position);
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
}

.kalent-shell #container.next #mainimg.next h1 {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  position: static;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: clamp(22px, 4vw, 52px);
  transform: none;
  color: var(--kalent-shell-ink);
  font-size: clamp(23px, 2.8vw, 38px);
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-shadow: none;
}

.kalent-shell #container.next #mainimg.next:not(:is(.ordermade, .lineup, .first, .kalent, .contact)) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.kalent-shell #container.next #mainimg.next:not(:is(.ordermade, .lineup, .first, .kalent, .contact))::after {
  content: none;
}

@media (max-width: 680px) {
  .kalent-shell #container.next #mainimg.next {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .kalent-shell #container.next #mainimg.next::after {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 2 / 1;
  }
}

.kalent-shell #container.next #contents {
  display: block;
}

.kalent-shell #container.next #contents #main {
  width: 100%;
  max-width: 960px;
  min-width: 0;
  margin: 0 auto;
  padding-bottom: clamp(30px, 5vw, 64px);
}

.kalent-shell #container.next #contents #main section {
  padding-bottom: clamp(36px, 6vw, 72px);
}

.kalent-shell #container.next #contents .head-title {
  margin-bottom: clamp(18px, 3vw, 30px);
  padding: 0 0 .55em;
  border-bottom: 1px solid var(--kalent-interior-rule);
  color: inherit;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
}

.kalent-shell #container.next #contents .head-title::after {
  display: none;
}

.kalent-shell #container.next #contents .head-title2 {
  color: inherit;
  font-size: clamp(19px, 2.5vw, 25px);
  line-height: 1.5;
}

.kalent-shell #container.next #contents .head-title3 {
  border-radius: 0;
  background: var(--kalent-shell-paper);
  color: inherit;
}

.kalent-shell #container.next ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  padding: 0;
}

.kalent-shell #container.next ul.products::after {
  display: none;
}

.kalent-shell #container.next ul.products > li:nth-child(n) {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--kalent-interior-rule);
}

.kalent-shell #container.next ul.products li .img {
  display: grid;
  width: 100%;
  max-height: none;
  aspect-ratio: 3 / 2;
  place-items: center;
  background: var(--kalent-shell-paper);
}

.kalent-shell #container.next ul.products li .img img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.kalent-shell #container.next #contents #side {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(20px, 3vw, 34px) clamp(12px, 3vw, 32px);
  border-top: 1px solid var(--kalent-interior-rule);
  background: var(--kalent-shell-paper);
}

.kalent-shell #container.next #contents #side .banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
}

.kalent-shell #container.next #contents #side .banners li {
  min-width: 0;
  padding: 0;
}

.kalent-shell #container.next #contents #side .banners li a {
  color: inherit;
}

.kalent-shell #container.next #contents #side .banners img {
  max-width: 100%;
  height: auto;
}

.kalent-shell #container.next #contents #side .banners li .title {
  padding-top: 8px;
  line-height: 1.5;
}

.kalent-shell #container.next #contents #side .sns {
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--kalent-interior-rule);
}

.kalent-shell #container.next #contents a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .kalent-shell #container.next ul.products,
  .kalent-shell #container.next #contents #side .banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* High-resolution photos for the four updated page headers. */
.kalent-shell #container.next #mainimg.next.first {
  background-image: image-set(url("./kalent-guide-hero-768.webp") 1x, url("./kalent-guide-hero-1320.webp") 2x);
}

.kalent-shell #container.next #mainimg.next.kalent {
  --kalent-hero-position: center 57%;
  background-image: image-set(url("./kalent-store-hero-768.webp") 1x, url("./kalent-store-hero-1320.webp") 2x);
}

.kalent-shell #container.next #mainimg.next.lineup {
  background-image: image-set(url("./kalent-lineup-hero-768.webp") 1x, url("./kalent-lineup-hero-1320.webp") 2x);
}

.kalent-shell #container.next:has(> #contents #main > .kalent-notice):not(:has(> #contents #main > .reservation)) #mainimg.next.contact {
  background-image: image-set(url("./kalent-contact-hero-768.webp") 1x, url("./kalent-contact-hero-1320.webp") 2x);
}

/* Booking page photo, scoped to its existing content wrapper. */
.kalent-shell #container.next:has(> #contents #main > .reservation) #mainimg.next.contact {
  background-image: image-set(url("./kalent-reservation-hero-768.webp") 1x, url("./kalent-reservation-hero-1320.webp") 2x);
}

/* Workshop photo for the made-to-order shoes page. */
.kalent-shell #container.next #mainimg.next.ordermade {
  background-image: image-set(url("./kalent-ordermade-hero-768.webp") 1x, url("./kalent-ordermade-hero-1320.webp") 2x);
}

.kalent-shell #container.next #mainimg.next .kalent-page-hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  padding: clamp(22px, 4vw, 52px);
  color: var(--kalent-shell-ink);
}

.kalent-shell #container.next #mainimg.next .kalent-page-hero-copy h1 {
  margin: 0;
  padding: 0;
  line-height: 1.35;
}

.kalent-shell #container.next #mainimg.next .kalent-page-hero-brand {
  margin: 0 0 18px;
  color: #242321;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1.5;
}

.kalent-shell #container.next #mainimg.next .kalent-page-hero-summary {
  margin: 14px 0 0;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
}

@media (max-width: 680px) {
  .kalent-shell #container.next #mainimg.next .kalent-page-hero-brand {
    margin-bottom: 12px;
  }
}

.kalent-shell #container.next #mainimg.next.kalent-has-hero-photo {
  background-image: none !important;
  padding-bottom: 0 !important;
}
.kalent-shell #container.next #mainimg.next.kalent-has-hero-photo::after {
  display: none !important;
}
.kalent-shell #container.next #mainimg.next .kalent-page-hero-photo {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  position: relative;
  min-width: 0;
  margin: 0;
}
.kalent-shell #container.next #mainimg.next .kalent-page-hero-photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--kalent-hero-position, center);
}
@media (max-width: 680px) {
  .kalent-shell #container.next #mainimg.next.kalent-has-hero-photo {
    display: block;
  }
  .kalent-shell #container.next #mainimg.next .kalent-page-hero-photo img {
    position: static;
    width: 100%;
    height: auto;
  }
}
@media (max-width: 720px) {
  #container.kalent-home .kh-hero > figure.kh-photo > img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
  }
}
/* Shared contact and reservation block */
#container section.contact:has(> .content > .right > .tel-area) {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: clamp(28px, 5vw, 56px) auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid #e1d9ce;
  background: #f5f2ec;
  color: #453e38;
}
#container section.contact:has(> .content > .right > .tel-area) > h2 {
  margin: 0 0 24px;
  color: inherit;
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.6;
}
#container section.contact:has(> .content > .right > .tel-area) .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
}
#container section.contact:has(> .content > .right > .tel-area) .content::after,
#container section.contact:has(> .content > .right > .tel-area) .tel-area::after {
  display: none;
}
#container section.contact:has(> .content > .right > .tel-area) .content > *,
#container section.contact:has(> .content > .right > .tel-area) .tel-area > * {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#container section.contact:has(> .content > .right > .tel-area) .content > .left {
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  overflow-wrap: anywhere;
}
#container section.contact:has(> .content > .right > .tel-area) a {
  color: inherit;
  text-underline-offset: 3px;
}
#container section.contact:has(> .content > .right > .tel-area) .tel-area {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin: 0 0 14px;
  padding: 0;
}
#container section.contact:has(> .content > .right > .tel-area) .tel {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
}
#container section.contact:has(> .content > .right > .tel-area) .tel span,
#container section.contact:has(> .content > .right > .tel-area) .tel-area .text {
  font-size: 13px;
}
#container section.contact:has(> .content > .right > .tel-area) .btn {
  margin: 0;
  padding: 0;
}
#container section.contact:has(> .content > .right > .tel-area) .btn a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #453e38;
  border-radius: 0;
  background: #453e38;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  text-decoration: none;
}
#container section.contact:has(> .content > .right > .tel-area) .btn a:hover {
  background: #fff;
  color: #453e38;
}
@media (max-width: 680px) {
  #container section.contact:has(> .content > .right > .tel-area) .content {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Footer: use the X logo already in the child theme. */
footer a[href="https://twitter.com/klentv"]:has(> img[src*="icon-tw"]) {
  display: inline-block;
  background: #f5f2ec url("./kalent-icon-x.svg") center / contain no-repeat;
}

footer a[href="https://twitter.com/klentv"] > img[src*="icon-tw"] {
  opacity: 0;
}

/* Legacy headings and table labels in the revised interior pages. */
.kalent-shell #container.next #contents #main .wp-post h3,
.kalent-shell #container.next #contents #main .wp-post table th {
  background-color: #f5f2ec;
}
.kalent-shell #container.next #contents #main.kalent-subpage {
  width: calc(100% - 32px);
  padding-top: clamp(24px, 5vw, 54px);
  color: #453e38;
  line-height: 1.9;
}

.kalent-subpage > [id],
.kalent-subpage [id].kalent-section-title {
  scroll-margin-top: 100px;
}

.kalent-shell #container.next #contents #main.kalent-subpage > section {
  padding-bottom: 0;
  margin-bottom: clamp(32px, 6vw, 64px);
}

.kalent-shell #container.next #contents #main.kalent-subpage .kalent-section-title {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.5;
  text-align: left;
}

.kalent-subpage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 0 28px;
}

.kalent-subpage-nav a,
.kalent-subpage-grid a,
.kalent-subpage .kalent-accordion a,
.kalent-lineup-booking a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.kalent-subpage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.kalent-subpage-contact .kalent-subpage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kalent-subpage-grid > div,
.kalent-subpage .kalent-panel,
.kalent-subpage #kalent-owner-message {
  box-sizing: border-box;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid #e1d9ce;
  background: #f5f2ec;
}

.kalent-subpage-grid h3,
.kalent-subpage .kalent-panel h3 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.5;
  text-align: left;
}

.kalent-subpage-grid p:last-child,
.kalent-subpage .kalent-panel p:last-child {
  margin-bottom: 0;
}

.kalent-subpage .kalent-accordion {
  margin: 18px 0 24px;
  border-block: 1px solid #ded6cb;
}

.kalent-subpage .kalent-accordion > summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
}

.kalent-shell #container.next #contents #main.kalent-subpage #kalent-owner-message {
  padding: clamp(22px, 5vw, 48px);
}

.kalent-subpage #kalent-owner-message h2 {
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.5;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.kalent-subpage #kalent-owner-message .owner-label {
  font-size: 12px;
  letter-spacing: .16em;
}

.kalent-subpage #kalent-owner-message .owner-sign {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid #ded6cb;
  text-align: right;
}

.kalent-subpage #access iframe {
  max-width: 100%;
}

.kalent-subpage .kalent-lineup-booking {
  margin: 16px 0 clamp(30px, 5vw, 56px);
}

.kalent-subpage-news .news-list > li {
  border-bottom-color: #ded6cb;
}

.kalent-subpage-news .news-list .title {
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .kalent-subpage .kalent-subpage-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Representative message */
.kalent-shell #container.next #contents #main #kalent-owner-message {
  padding: clamp(22px, 5vw, 48px);
  background: #f5f2ec;
}

#main #kalent-owner-message > p:not(.owner-label) {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.95;
}

/* Shared links before contact and reservations */
.kalent-shell #container section.links2 {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: clamp(24px, 5vw, 48px) auto;
  padding: 0;
  border: 0;
  background: none;
}

.kalent-shell #container section.links2 > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kalent-shell #container section.links2 > ul::after {
  display: none;
}

.kalent-shell #container section.links2 > ul > li {
  float: none;
  flex: 1 1 320px;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e1d9ce;
  background: #f5f2ec;
}

.kalent-shell #container section.links2 > ul > li > a {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(16px, 3vw, 28px);
  color: #453e38;
  text-decoration: none;
}

.kalent-shell #container section.links2 > ul > li > a:hover .name {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.kalent-shell #container section.links2 a > .img {
  flex: 0 0 clamp(58px, 8vw, 82px);
  float: none;
  width: clamp(58px, 8vw, 82px);
  margin: 0;
}

.kalent-shell #container section.links2 a > .img > img {
  display: block;
  width: 100%;
  height: auto;
}

.kalent-shell #container section.links2 a > .right {
  flex: 1 1 auto;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.kalent-shell #container section.links2 .name {
  margin: 0 0 6px;
  font-size: clamp(16px, 2vw, 20px);
}

.kalent-shell #container section.links2 .text {
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.kalent-shell #container.ordermade-page section.links2 li:has(> a[href$="/ordermade/"]),
.kalent-shell #container:has(> #mainimg.first) section.links2 li:has(> a[href$="/guide/"]) {
  display: none;
}

/* Company page section links. */
#main.kalent-subpage-company > .kalent-subpage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(28px, 4vw, 48px);
}
#main.kalent-subpage-company > .kalent-subpage-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 680px) {
  #main.kalent-subpage-company > .kalent-subpage-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }
}

/* Contact reset button and introductory FAQ headings. */
#main.kalent-subpage-contact input[type="reset"] {
  background: #f5f2ec;
  border-color: #ded6cb;
  color: #453e38;
}
#main.kalent-subpage-contact input[type="reset"]:hover {
  background: #ebe4da;
}
#main.kalent-guide-reader .guide-faq h3 {
  color: #64574e;
  font-weight: 500;
}
#main.kalent-guide-reader .guide-faq h3 span,
#main.kalent-guide-reader .guide-faq h3 strong {
  color: inherit !important;
  font-weight: inherit;
}
