/* === DH BACKGROUND IMAGE SOURCES 2026-07-29 === */
:root {
  --dh-index-background-image: url("../images/startpage-background-new-layout--594398539dbc.png");
  --dh-page-background-image: none;
}
/* === END DH BACKGROUND IMAGE SOURCES === */

@import url("4c572b7f35a7ca9ba604--c3a281bb7419.css");

/* FÃ¶r alla lÃ¤nkar a */
a {
  text-decoration: none;
  color: #4e473a;
}

/* BAS */
body {
  font-family: 'Playfair Display', Georgia, serif;
  background-color: #f5efe5;
  margin: 0;
  padding: 0;
  color: #4e473a;
}

/* HEADER */
.site-header {
  position: relative;
  text-align: center;
  padding: 3rem 1rem 1.5rem;
}

.site-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
  color: #3f382d;
  letter-spacing: 1px;
  color: #998A71;
}

.admin-entry-button {
  position: absolute;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid rgba(153, 138, 113, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6f604b;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(80, 62, 42, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-entry-button {
  right: 22px;
}

.admin-entry-button:hover {
  background: #fff;
  color: #3f382d;
  border-color: rgba(153, 138, 113, 0.68);
}

.site-title-link,
.site-title-link:visited {
  color: inherit;
  text-decoration: none;
}

.site-title-link:hover {
  color: #7f715b;
}

.site-header-choice{
  margin: 5px 10px 15px 10px;
}

.site-header-choice a {
  /*text-decoration: none;    tar bort understrykningen */
  /*color: #4e473a;           sÃ¤kerstÃ¤ller att textfÃ¤rgen blir samma */
  color: #998A71;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: normal;
  margin: 0 10px;          /* lite mellanrum mellan lÃ¤nkarna */
}

.site-header-choice a:hover {
  text-decoration: none;  /* eller none om du inte vill ha nÃ¥gon effekt */
  color: #000;                 /* mÃ¶rkare fÃ¤rg vid hover */
}

.tagline {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  color: #6d6151;
}

/* NAVIGATION */
.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 0;
  margin: 0;
  border-top: 1px solid #d6cfc3;
  border-bottom: 1px solid #d6cfc3;
}

.main-nav a {
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #4e473a;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #a68f6b;
}

/* HERO */
.hero {
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
}

.hero p {
  color: #998A71;
}

.hero-background img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;      /* hÃ¶jden Ã¶verstiger aldrig hero-yta */
  display: block;
  border-radius: 12px;
  z-index: 1;
  will-change: opacity;     /* bÃ¤ttre prestanda fÃ¶r fade */
}

.hero-background img.fade {
  opacity: 0;
  transition: opacity .8s ease;  /* mjukare toning */
}

.hero-background img.fade.show {
  opacity: 1;                      /* visas med fade-in */
}


.button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 2;
}

.hero-caption {
  font-style: italic;
  color: #998A71;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
}

/* KATEGORIKNAPPAR */
.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  max-width: 100%;
  overflow-x: auto;
}

.category-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
  text-align: center;
  flex: 0 0 auto;
}

.category-button a {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.category-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-button span {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #998A71;
}



.index-welcome {
  max-width: 760px;
  margin: 28px auto 0 auto;
  padding: 0 22px;
  text-align: center;
}

.index-welcome p {
  max-width: none;
  margin: 0;
  color: #998A71;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: normal;
}

/* FOOTER */
footer {
  background-color: #f5efe5;
  padding: 40px 0 20px 0;
  font-family: 'Playfair Display', Georgia, serif;
  color: #2b2b2b;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #d6cfc3;
  padding-top: 10px;
}

.footer-columns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 10px;
  text-align: left;
}

.column {
  flex: 0 1 auto;
  min-width: 150px;
}

footer h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 15px;
  color: #998A71;
  letter-spacing: 0;
  text-transform: none;
}

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

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  text-decoration: none;
  color: #998A71;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
}

footer ul li a:hover {
  text-decoration: underline;
}

footer ul li a.footer-favorites-link.is-disabled,
footer ul li a.footer-favorites-link.is-disabled:visited,
footer ul li a.footer-favorites-link.is-disabled:hover {
  color: #c8bdac;
  opacity: 0.46;
  cursor: default !important;
  text-decoration: none;
  user-select: none;
}

footer p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
  color: #998A71;
  font-family: 'Playfair Display', serif;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #998A71;
  margin: 0;
}

/* RESPONSIV FOOTER */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .column {
    min-width: 100%;
    max-width: 400px;
  }

  .column ul {
    padding-left: 0;
  }

  .column p {
    max-width: 100%;
  }
}

/* RESPONSIVA KATEGORIKNAPPAR */
@media (max-width: 768px) {
  .site-header {
    padding-top: 2rem;
  }

  .admin-entry-button {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 12px;
    z-index: 70;
    min-height: 34px;
    padding: 7px 13px;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 18px rgba(80, 62, 42, 0.08);
  }

  .admin-entry-button:hover {
    transform: none;
  }

  .category-button {
    width: 90px;
  }

  .category-button span {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .category-button {
    width: 80px;
  }

  .category-button span {
    font-size: 0.75rem;
  }
}


footer .footer-copy{
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;     /* matchar footer p / lÃ¤nkar */
  color: #998A71;         /* matchar resten av footern */
  margin-top: 6px;
}


/* === DH NEW GRAPHIC LAYOUT 2026-07-29 === */
:root {
  --dh-page-bg: #efe8dc;
  --dh-outside-bg: #ebe4d8;
  --dh-ink: #8f7f66;
  --dh-ink-dark: #625642;
  --dh-title: #9a8a70;
  --dh-line: rgba(143, 127, 102, 0.24);
  --dh-card: rgba(250, 245, 235, 0.62);
  --dh-card-line: rgba(143, 127, 102, 0.18);
}

html { background: var(--dh-outside-bg); }

body {
  min-height: 100vh;
  background: var(--dh-page-bg);
  color: var(--dh-ink);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 18px;
}

body.dh-startpage {
  position: relative;
  background: var(--dh-outside-bg);
  overflow-x: hidden;
}


.dh-start-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 810px;
  height: 1040px;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.dh-start-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(239, 232, 220, 0.36);
}

.dh-start-bg img {
  width: 810px;
  height: 1040px;
  display: block;
  object-fit: cover;
}
.site-header,
.dh-startpage .index-welcome,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(810px, 100%);
  margin: 0 auto;
  padding: 50px 56px 0;
  box-sizing: border-box;
  text-align: left;
}

.site-header h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 54px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--dh-title);
}

.site-title-link:hover { color: #7a6d58; }

.admin-entry-button {
  top: 28px;
  right: 28px;
  min-height: 34px;
  padding: 7px 15px;
  border-color: rgba(143, 127, 102, 0.24);
  background: rgba(255,255,255,0.45);
  color: var(--dh-ink-dark);
  font-size: 0.82rem;
  box-shadow: 0 8px 18px rgba(80, 62, 42, 0.08);
}

.dh-startpage .index-welcome {
  width: 330px;
  max-width: calc(100% - 40px);
  margin: 62px auto 0 calc(50% - 349px);
  padding: 0;
  text-align: left;
}

.dh-startpage .index-welcome p {
  margin: 0;
  color: var(--dh-ink-dark);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 20px;
  line-height: 1.36;
  font-weight: 400;
}

body:not(.dh-startpage) .index-welcome { display: none; }

footer {
  width: min(810px, 100%);
  margin: 54px auto 0;
  padding: 0 48px 34px;
  box-sizing: border-box;
  background: transparent;
  color: var(--dh-ink);
  font-family: 'Crimson Text', Georgia, serif;
}

.dh-startpage footer { margin-top: 386px; }

.footer-inner {
  max-width: none;
  margin: 0;
  border-top: 1px solid var(--dh-line);
  padding-top: 25px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 46px;
  justify-content: initial;
  text-align: left;
  margin-bottom: 0;
}

.column { min-width: 0; }

footer h4 {
  margin: 0 0 14px;
  color: var(--dh-title);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
}

footer ul li { margin-bottom: 9px; }

footer ul li a,
footer p,
footer .footer-copy {
  color: var(--dh-ink);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 17px;
  line-height: 1.28;
}

footer p { max-width: 260px; margin: 0; }

footer .footer-copy {
  margin-top: 22px;
  text-align: center;
  font-size: 16px;
}

footer ul li a:hover { color: #3f382d; text-decoration: none; }

main {
  position: relative;
  z-index: 1;
}

body:not(.dh-startpage) main {
  width: min(810px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 760px) {
    .site-header {
    padding: 58px 34px 0;
  }

  .site-header h1 {
    font-size: clamp(42px, 10vw, 54px);
  }

  .dh-startpage .index-welcome {
    width: auto;
    margin: 62px 34px 0;
    text-align: center;
  }

  .dh-startpage footer { margin-top: 332px; }

  footer {
    padding-left: 34px;
    padding-right: 34px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: left;
  }

  footer p { max-width: none; }
}
/* === END DH NEW GRAPHIC LAYOUT === */
/* === DH STARTPAGE EXACT MOCKUP ALIGNMENT === */
body.dh-startpage {
  min-width: 810px;
}

.dh-startpage .dh-start-bg {
  left: 0;
  transform: none;
}

.dh-startpage .site-header {
  margin-left: 0;
  margin-right: 0;
}

.dh-startpage .index-welcome {
  width: 330px !important;
  max-width: 330px !important;
  margin: 62px 0 0 56px !important;
  padding: 0 !important;
  text-align: left !important;
}

.dh-startpage .index-welcome p {
  font-size: 20px !important;
  line-height: 1.36 !important;
  text-align: left !important;
}

.dh-startpage footer {
  margin: 386px 0 0 0 !important;
}

.dh-startpage .footer-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1.45fr !important;
  gap: 46px !important;
  text-align: left !important;
}
/* === END DH STARTPAGE EXACT MOCKUP ALIGNMENT === */
/* === DH STARTPAGE TYPE AND TOP BUTTONS 2026-07-29 === */
.dh-startpage .site-header h1 {
  font-size: 60px !important;
  font-weight: 600 !important;
  color: #8f8068 !important;
}

.dh-startpage .produktgrupp-container {
  gap: 32px !important;
  margin-top: 36px !important;
}

.dh-startpage .styled-button,
.dh-startpage .styled-button:visited {
  color: #625642 !important;
  font-size: 21px !important;
  font-weight: 600 !important;
}

.dh-startpage .index-welcome p {
  color: #625642 !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.34 !important;
}

.admin-entry-button,
.admin-entry-button:visited {
  top: 28px !important;
  right: 28px !important;
  min-height: 36px !important;
  padding: 7px 17px !important;
  border: 1px solid rgba(63, 56, 45, 0.72) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow: none !important;
  color: #625642 !important;
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
}

.admin-entry-button:hover {
  background: rgba(255, 255, 255, 0.55) !important;
  color: #3f382d !important;
  border-color: rgba(63, 56, 45, 0.84) !important;
}

@media (max-width: 760px) {
  .dh-startpage .site-header h1 {
    font-size: clamp(48px, 11vw, 60px) !important;
  }
}
/* === END DH STARTPAGE TYPE AND TOP BUTTONS === */
/* === DH STARTPAGE REBALANCE 2026-07-29 === */
.dh-startpage .site-header h1 {
  font-size: 54px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #8f8068 !important;
}

.dh-startpage .produktgrupp-container {
  gap: 34px !important;
  margin-top: 38px !important;
}

.dh-startpage .styled-button,
.dh-startpage .styled-button:visited {
  color: #625642 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

.dh-startpage .index-welcome {
  margin-top: 62px !important;
}

.dh-startpage .index-welcome p {
  color: #625642 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.36 !important;
}

.admin-entry-button,
.admin-entry-button:visited {
  top: 28px !important;
  right: 28px !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 6px 16px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(143, 127, 102, 0.52) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow: none !important;
  color: #625642 !important;
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  opacity: 0.78 !important;
}

.admin-entry-button:hover {
  background: rgba(255, 255, 255, 0.55) !important;
  color: #3f382d !important;
  border-color: rgba(143, 127, 102, 0.7) !important;
}
/* === END DH STARTPAGE REBALANCE === */
/* === DH STARTPAGE COMPACT REFERENCE 2026-07-29 === */
body.dh-startpage {
  min-width: 676px !important;
  background: #ebe4d8 !important;
}

.dh-startpage .dh-start-bg {
  left: 0 !important;
  width: 676px !important;
  height: 864px !important;
  transform: none !important;
}

.dh-startpage .dh-start-bg img {
  width: 676px !important;
  height: 864px !important;
  object-fit: cover !important;
}

.dh-startpage .dh-start-bg::after {
  background: rgba(239, 232, 220, 0.36) !important;
}

.dh-startpage .site-header {
  width: 676px !important;
  margin: 0 !important;
  padding: 45px 0 0 45px !important;
}

.dh-startpage .site-header h1 {
  font-size: 45px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  color: #8f8068 !important;
}

.dh-startpage .produktgrupp-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 29px !important;
  margin: 36px 0 0 2px !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.dh-startpage .styled-button,
.dh-startpage .styled-button:visited {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #625642 !important;
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

.dh-startpage .index-welcome {
  width: 280px !important;
  max-width: 280px !important;
  margin: 58px 0 0 46px !important;
  padding: 0 !important;
  text-align: left !important;
}

.dh-startpage .index-welcome p {
  color: #625642 !important;
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.36 !important;
  text-align: left !important;
}

.dh-startpage footer {
  width: 676px !important;
  margin: 328px 0 0 0 !important;
  padding: 0 39px 22px 39px !important;
  box-sizing: border-box !important;
}

.dh-startpage .footer-inner {
  padding-top: 22px !important;
  border-top: 1px solid rgba(143, 127, 102, 0.24) !important;
}

.dh-startpage .footer-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1.45fr !important;
  gap: 38px !important;
  text-align: left !important;
}

.dh-startpage footer h4 {
  margin: 0 0 12px !important;
  font-size: 17px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
}

.dh-startpage footer ul li {
  margin-bottom: 8px !important;
}

.dh-startpage footer ul li a,
.dh-startpage footer p {
  font-size: 14px !important;
  line-height: 1.28 !important;
}

.dh-startpage footer p {
  max-width: 220px !important;
}

.dh-startpage footer .footer-copy {
  margin-top: 20px !important;
  font-size: 13px !important;
}

.dh-startpage .admin-entry-button,
.dh-startpage .admin-entry-button:visited {
  top: 31px !important;
  right: auto !important;
  left: 697px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 6px 17px !important;
  border: 1px solid rgba(143, 127, 102, 0.52) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow: none !important;
  color: #625642 !important;
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}
/* === END DH STARTPAGE COMPACT REFERENCE === */
/* === DH SOFT TOP BUTTONS 2026-07-29 === */
.dh-startpage .admin-entry-button,
.dh-startpage .admin-entry-button:visited {
  left: 573px !important;
  top: 31px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 6px 17px !important;
  border: 1px solid rgba(143, 127, 102, 0.50) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.42) !important;
  box-shadow: none !important;
  color: rgba(114, 99, 75, 0.58) !important;
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  opacity: 0.78 !important;
}

.dh-startpage .admin-entry-button:hover {
  background: rgba(255, 255, 255, 0.54) !important;
  border-color: rgba(143, 127, 102, 0.62) !important;
  color: rgba(98, 86, 66, 0.72) !important;
}
/* === END DH SOFT TOP BUTTONS === */
/* === DH CENTRAL BACKGROUND USE 2026-07-29 === */
body:not(.dh-startpage) {
  background-color: #ebe4d8 !important;
  background-image: none !important;
}

.dh-startpage .dh-start-bg {
  background-image: var(--dh-index-background-image) !important;
  background-repeat: no-repeat !important;
  background-position: top left !important;
  background-size: 676px 864px !important;
}

.dh-startpage .dh-start-bg img {
  opacity: 0 !important;
}
/* === END DH CENTRAL BACKGROUND USE === */
/* === DH STARTPAGE PREVIEW MATCH 2026-07-29 === */
.dh-startpage .site-header h1 {
  font-size: 42px !important;
  color: rgba(126, 113, 91, 0.78) !important;
  font-weight: 600 !important;
}

.dh-startpage .styled-button,
.dh-startpage .styled-button:visited {
  font-size: 15px !important;
  color: rgba(78, 71, 58, 0.76) !important;
  font-weight: 400 !important;
}

.dh-startpage .index-welcome p {
  font-size: 15px !important;
  line-height: 1.37 !important;
  color: rgba(78, 71, 58, 0.74) !important;
  font-weight: 400 !important;
}

.dh-startpage footer {
  margin-top: 292px !important;
}

.dh-startpage footer h4 {
  color: rgba(126, 113, 91, 0.78) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.dh-startpage footer ul li a,
.dh-startpage footer p,
.dh-startpage footer .footer-copy {
  color: rgba(78, 71, 58, 0.70) !important;
}

.dh-startpage .admin-entry-button,
.dh-startpage .admin-entry-button:visited {
  font-size: 13px !important;
  color: rgba(114, 99, 75, 0.52) !important;
  opacity: 0.72 !important;
}
/* === END DH STARTPAGE PREVIEW MATCH === */
/* === DH INDEX TITLE IS NOT A LINK 2026-07-31 === */
.dh-startpage .site-title-current,
.dh-startpage .site-title-current:hover {
  cursor: default;
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}
/* === END DH INDEX TITLE IS NOT A LINK === */

/* === DH MOBILE FIRST PASS 2026-08-01 === */
@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.dh-startpage {
    min-width: 0 !important;
    background: #ebe4d8 !important;
  }

  .dh-startpage .dh-start-bg {
    left: 50% !important;
    width: 100vw !important;
    min-width: 0 !important;
    height: 760px !important;
    transform: translateX(-50%) !important;
    background-size: auto 760px !important;
    background-position: center top !important;
  }

  .dh-startpage .site-header,
  .site-header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 54px 30px 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .dh-startpage .site-header h1,
  .site-header h1 {
    font-size: clamp(37px, 10.6vw, 45px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .dh-startpage .produktgrupp-container,
  .site-header .produktgrupp-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 18px 28px !important;
    margin: 34px 0 0 1px !important;
    padding: 0 !important;
    width: min(100%, 360px) !important;
  }

  .dh-startpage .site-header .produktgrupp-container .styled-button,
  .site-header .produktgrupp-container .styled-button,
  .site-header .produktgrupp-container .styled-button:visited {
    font-size: 17px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .dh-startpage .index-welcome {
    width: min(280px, calc(100vw - 60px)) !important;
    max-width: min(280px, calc(100vw - 60px)) !important;
    margin: 58px 0 0 30px !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .dh-startpage .index-welcome p {
    font-size: 16px !important;
    line-height: 1.36 !important;
  }

  .admin-entry-button,
  .admin-entry-button:visited,
  .dh-startpage .admin-entry-button,
  .dh-startpage .admin-entry-button:visited {
    position: absolute !important;
    left: auto !important;
    right: 22px !important;
    top: 34px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 5px 15px !important;
    font-size: 13px !important;
    z-index: 90 !important;
  }

  .dh-startpage footer,
  footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 282px auto 0 !important;
    padding: 0 30px 26px !important;
    box-sizing: border-box !important;
  }

  body:not(.dh-startpage) footer {
    margin-top: 42px !important;
  }

  .footer-inner {
    padding-top: 22px !important;
  }

  .dh-startpage .footer-columns,
  .footer-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: left !important;
  }

  .column {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  footer p {
    max-width: 100% !important;
  }

  footer h4 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  footer ul li {
    margin-bottom: 7px !important;
  }

  footer ul li a,
  footer p,
  footer .footer-copy {
    font-size: 16px !important;
  }

  footer .footer-copy {
    margin-top: 18px !important;
  }

  body:not(.dh-startpage) main {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  .dh-startpage .site-header,
  .site-header {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .dh-startpage .site-header h1,
  .site-header h1 {
    font-size: clamp(34px, 10.2vw, 40px) !important;
  }

  .dh-startpage .produktgrupp-container,
  .site-header .produktgrupp-container {
    gap: 16px 24px !important;
  }

  .dh-startpage .index-welcome {
    margin-left: 24px !important;
    width: min(270px, calc(100vw - 48px)) !important;
    max-width: min(270px, calc(100vw - 48px)) !important;
  }

  .admin-entry-button,
  .admin-entry-button:visited,
  .dh-startpage .admin-entry-button,
  .dh-startpage .admin-entry-button:visited {
    right: 16px !important;
  }

  .dh-startpage footer,
  footer {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
/* === END DH MOBILE FIRST PASS === */
/* === DH FOOTER MOBILE TWO COLUMNS 2026-08-01 === */
@media (max-width: 760px) {
  .dh-startpage .footer-columns,
  .footer-columns {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 28px !important;
    align-items: start !important;
  }

  .footer-columns .column:nth-child(3) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 340px) {
  .dh-startpage .footer-columns,
  .footer-columns {
    gap: 22px 18px !important;
  }

  footer ul li a,
  footer p,
  footer .footer-copy {
    font-size: 15px !important;
  }
}
/* === END DH FOOTER MOBILE TWO COLUMNS === */
/* === DH MOBILE TOP BUTTON PAIR 2026-08-01 === */
@media (max-width: 760px) {
  .dh-startpage .site-header,
  .site-header {
    padding-top: 78px !important;
  }

  .admin-entry-button,
  .admin-entry-button:visited,
  .dh-startpage .admin-entry-button,
  .dh-startpage .admin-entry-button:visited {
    top: 26px !important;
    right: 106px !important;
    left: auto !important;
  }
}

@media (max-width: 420px) {
  .dh-startpage .site-header,
  .site-header {
    padding-top: 76px !important;
  }

  .admin-entry-button,
  .admin-entry-button:visited,
  .dh-startpage .admin-entry-button,
  .dh-startpage .admin-entry-button:visited {
    top: 24px !important;
    right: 102px !important;
  }
}
/* === END DH MOBILE TOP BUTTON PAIR === */
/* === DH MOBILE TOP BUTTON GAP 2026-08-01 === */
@media (max-width: 760px) {
  .admin-entry-button,
  .admin-entry-button:visited,
  .dh-startpage .admin-entry-button,
  .dh-startpage .admin-entry-button:visited {
    right: 120px !important;
  }
}

@media (max-width: 420px) {
  .admin-entry-button,
  .admin-entry-button:visited,
  .dh-startpage .admin-entry-button,
  .dh-startpage .admin-entry-button:visited {
    right: 116px !important;
  }
}
/* === END DH MOBILE TOP BUTTON GAP === */

/* === DH CODEX FOOTER SIGNATURE 2026-08-02 === */
.footer-copy .codex-signature {
  text-decoration: none;
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(143, 127, 102, 0.58);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
}

.footer-copy .codex-knot {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 127, 102, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  color: rgba(143, 127, 102, 0.52);
  font-family: Georgia, serif;
  font-size: 11px;
  transform: rotate(18deg);
}
.footer-copy .codex-signature:hover {
  color: rgba(98, 86, 66, 0.74);
}

.footer-copy .codex-signature:hover .codex-knot {
  border-color: rgba(143, 127, 102, 0.34);
  color: rgba(98, 86, 66, 0.68);
}
/* === END DH CODEX FOOTER SIGNATURE === */
/* === DH CODEX INFO PAGE 2026-08-02 === */
.codex-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.codex-back-link,
.codex-read-more {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(98, 86, 66, 0.76) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.4;
  text-decoration: none;
}

.codex-back-link:hover,
.codex-read-more:hover {
  color: rgba(72, 62, 47, 0.9) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* === END DH CODEX INFO PAGE === */
/* === DH FOOTER TWO COLUMNS 2026-08-02 === */
.footer-columns {
  grid-template-columns: 1fr 1fr !important;
  max-width: 460px;
}

.dh-startpage .footer-columns {
  grid-template-columns: 1fr 1fr !important;
  max-width: 430px;
}

@media (max-width: 520px) {
  .footer-columns,
  .dh-startpage .footer-columns {
    max-width: none;
  }
}
/* === END DH FOOTER TWO COLUMNS === */
/* === DH INDEX OUTSIDE BACKGROUND CONTINUATION 2026-08-14 === */
html:has(body.dh-startpage) {
  background-color: #ebe4d8 !important;
  background-image: url("../images/startpage-background-right-extension--dc1a19ce5478.png") !important;
  background-repeat: repeat-x !important;
  background-position: 676px 0 !important;
  background-size: 48px 864px !important;
}

body.dh-startpage {
  background: transparent !important;
}

.dh-startpage .dh-start-bg {
  overflow: hidden !important;
}

@media (max-width: 760px) {
  html:has(body.dh-startpage) {
    background-image: none !important;
    background-color: #ebe4d8 !important;
  }
}
/* === END DH INDEX OUTSIDE BACKGROUND CONTINUATION === */

