/*
 * de-holl.com – interiordesign template
 * Joomla 4/5/6 compatibility fixes for markup the Joomla 3 template CSS doesn't know about.
 * Upload to: templates/interiordesign/css/user.css
 * (index.php already links this file in the <head>.)
 */

/* 1. Screen-reader-only text.
 * Joomla 4+ uses Bootstrap 5's .visually-hidden class; the template's Bootstrap 2 CSS
 * doesn't define it, so "More about: Methods" and "Select your language" were showing. */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 2. Main menu (desktop).
 * Joomla 4+ adds a submenu toggle button after each parent item and hides submenus with
 * aria-hidden="true". The template opens submenus on hover instead, so hide the button
 * and let the template's hover rules (left:-999em -> left:0) control visibility. */
@media only screen and (min-width: 640px) {
    #nav .mod-menu__toggle-sub {
        display: none !important;
    }

    #nav ul li ul.mod-menu__sub {
        display: block !important;
        top: 100%;
        z-index: 100;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    }

    #nav ul li ul.mod-menu__sub li {
        float: none;
        margin: 0;
    }

    #nav ul li ul.mod-menu__sub li a {
        display: block;
        line-height: 40px;
        padding: 0 15px;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* keyboard users: open the submenu when a link inside the item has focus */
    #nav ul li:focus-within > ul.mod-menu__sub {
        left: 0;
    }
}

/* 2b. Main menu (phones): keep the toggle button usable on touch screens, drawn as a
 * small chevron because the Joomla 3 icon font no longer has the glyph. */
@media screen and (max-width: 639px) {
    #nav .mod-menu__toggle-sub {
        position: absolute;
        right: auto;
        left: calc(80% - 48px); /* right edge of the item, which the template makes 80% wide */
        top: 0;
        width: 48px;
        height: 43px;
        justify-content: center;
        cursor: pointer;
    }

    #nav .mod-menu__toggle-sub .icon-chevron-down {
        display: none;
    }

    #nav .mod-menu__toggle-sub::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid #757575;
        border-bottom: 2px solid #757575;
        transform: rotate(45deg);
        margin-top: -4px;
    }

    #nav .mod-menu__toggle-sub[aria-expanded="true"]::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    #nav ul li ul.mod-menu__sub[aria-hidden="false"] {
        position: static;
        left: auto;
        float: none;
        clear: both;
        width: 100%;
        height: auto;
        display: block !important;
    }

    #nav ul li ul.mod-menu__sub[aria-hidden="false"] li {
        float: none;
        width: 100%;
        position: relative;
    }

    #nav ul li ul.mod-menu__sub[aria-hidden="false"] li a {
        padding-left: 35px;
        background: #f7f7f7;
    }
}

/* 3. Language flags.
 * Joomla 4+ mod_languages adds padding, margins and a grey "active" box, and its hidden
 * label was visible, which pushed the flags down onto the social icons.
 * Put the flags on their own line above the social icons, right-aligned with them. */
#wrapper #s5_newmodule2 {
    position: absolute;
    top: 14px;
    right: 15px;
    left: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    line-height: 1;
    z-index: 99;
}

#s5_newmodule2 div.mod-languages ul.lang-inline {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

#s5_newmodule2 div.mod-languages ul.lang-inline li,
#s5_newmodule2 div.mod-languages ul li.lang-active {
    display: inline-block;
    margin: 0 0 0 8px;
    padding: 0;
    background: none;
}

#s5_newmodule2 div.mod-languages a {
    display: inline-block;
    padding: 0;
    line-height: 0;
}

#s5_newmodule2 div.mod-languages img {
    display: block;
    width: 24px;
    height: auto;
    border: 1px solid #ddd;
}

#s5_newmodule2 div.mod-languages a:hover img,
#s5_newmodule2 div.mod-languages a:focus img {
    opacity: 0.7;
}

/* =====================================================================
 * de-holl.com – MODERN LAYOUT (2026)
 * This block is appended to user.css, which now loads LAST (see modules/req_css.php)
 * so these rules override the 2013 template CSS.
 * Desktop: centred 1160px layout, content card + sidebar, sticky menu.
 * Phones/tablets (< 900px): single column, hamburger menu, no sideways scroll.
 * ===================================================================== */

:root {
  --dh-red: #c4161c;
  --dh-red-dark: #9e1116;
  --dh-brown: #3a200e;
  --dh-text: #2a2421;
  --dh-muted: #6f6661;
  --dh-bg: #f5f2ef;
  --dh-card: #ffffff;
  --dh-line: #e8e1db;
  --dh-radius: 14px;
  --dh-shadow: 0 1px 2px rgba(58, 32, 14, .06), 0 8px 28px rgba(58, 32, 14, .06);
  --dh-max: 1160px;
  --dh-font: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }   /* clip (not hidden) so the window stays the scroll container */
body { padding: 0 !important; margin: 0 !important; }
#relative, .container-fluid#relative { width: auto !important; max-width: none !important; margin: 0 !important; }
body {
  background: var(--dh-bg) !important;
  color: var(--dh-text) !important;
  font-family: var(--dh-font) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--dh-red); }
a:hover, a:focus { color: var(--dh-red-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(196, 22, 28, .35); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

#relative { padding: 0 !important; }
#wrapper {
  max-width: none !important; width: auto !important; margin: 0 !important;
  padding: 0 !important; background: transparent !important;
  border: 0 !important; box-shadow: none !important;
}

/* ---------- Header ---------- */
#header-w { background: #fff; margin: 0 !important; border-bottom: 1px solid var(--dh-line); }
#header {
  max-width: var(--dh-max) !important; height: auto !important; margin: 0 auto !important;
  padding: 18px 24px 16px; display: flex; align-items: center; gap: 22px; position: relative;
}
#header .logo-container { position: static !important; flex: 0 0 auto; max-width: 230px; }
#header .logo img { display: block; width: 100%; height: auto; padding: 0; }
#header .slogan {
  position: static !important; flex: 1 1 auto; align-self: flex-end;
  color: var(--dh-muted) !important; font-family: var(--dh-font) !important;
  font-size: 15px !important; line-height: 1.35; padding: 0 0 8px 20px;
  border-left: 1px solid var(--dh-line); order: 2;
}

/* social icons: modern round icons (Facebook, X, YouTube) */
#social { position: static !important; display: flex !important; gap: 8px; margin: 26px 0 0 auto !important; width: auto !important; order: 3; }
#social a {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--dh-bg); background-repeat: no-repeat; background-position: center; background-size: 16px;
  transition: background-color .2s;
}
#social a:hover { background-color: #ece5df; }
#social a img { display: none; }
#social a[href*="facebook"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a200e'%3E%3Cpath d='M14 8h3V4h-3c-2.8 0-4 1.7-4 4.3V10H7v4h3v8h4v-8h3l1-4h-4V8.5c0-.3.2-.5.5-.5z'/%3E%3C/svg%3E"); }
#social a[href*="twitter"], #social a[href*="x.com"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a200e'%3E%3Cpath d='M17.8 3h3.1l-6.8 7.8L22 21h-6.2l-4.9-6.4L5.3 21H2.2l7.3-8.3L2 3h6.4l4.4 5.8L17.8 3zm-1.1 16.2h1.7L7.4 4.7H5.6l11.1 14.5z'/%3E%3C/svg%3E"); }
#social a[href*="youtube"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a200e'%3E%3Cpath d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12a31 31 0 0 0 .5 4.8 3 3 0 0 0 2.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 .5-4.8 31 31 0 0 0-.5-4.8zM9.7 15.1V8.9l5.8 3.1-5.8 3.1z'/%3E%3C/svg%3E"); background-size: 18px; }

/* language flags: top right of the centred header */
#wrapper #s5_newmodule2 { top: 16px !important; right: max(24px, calc((100vw - var(--dh-max)) / 2 + 24px)) !important; }

/* ---------- Main menu (desktop / tablet) ---------- */
@media (min-width: 640px) {
  nav.clearfix {
    position: sticky; top: 0; z-index: 60; height: auto !important; margin: 0 !important;
    background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--dh-line);
    box-shadow: 0 6px 18px rgba(58, 32, 14, .05);
    -webkit-backdrop-filter: saturate(1.4) blur(6px); backdrop-filter: saturate(1.4) blur(6px);
  }
  #nav {
    max-width: var(--dh-max) !important; height: auto !important; margin: 0 auto !important; padding: 0 12px;
    background: none !important; border: 0 !important; border-radius: 0 !important;
  }
  #nav > ul { float: none !important; height: auto !important; display: flex; flex-wrap: wrap; align-items: stretch; margin: 0 !important; }
  #nav > ul > li { float: none !important; margin: 0 !important; }
  #nav ul li:hover:after { display: none !important; }
  #nav > ul > li > a {
    background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
    color: var(--dh-text) !important; font-family: var(--dh-font) !important; font-size: 15.5px !important; font-weight: 500 !important;
    line-height: 54px !important; padding: 0 14px !important; position: relative; transition: color .2s;
  }
  #nav > ul > li > a:after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--dh-red); transform: scaleX(0); transition: transform .2s;
  }
  #nav > ul > li:hover > a, #nav > ul > li > a:focus,
  #nav > ul > li.active > a, #nav > ul > li.current > a { color: var(--dh-red) !important; }
  #nav > ul > li:hover > a:after, #nav > ul > li.active > a:after, #nav > ul > li.current > a:after { transform: scaleX(1); }
  #nav ul li ul.mod-menu__sub {
    background: #fff !important; border: 1px solid var(--dh-line) !important; border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 28px rgba(58, 32, 14, .12) !important; padding: 6px 0 !important; min-width: 200px; width: auto !important;
  }
  #nav ul li ul.mod-menu__sub li { width: auto !important; }
  #nav ul li ul.mod-menu__sub li a {
    background: none !important; color: var(--dh-text) !important; font-family: var(--dh-font) !important;
    font-size: 15px !important; line-height: 40px !important; padding: 0 18px !important;
  }
  #nav ul li ul.mod-menu__sub li a:hover, #nav ul li ul.mod-menu__sub li.current a { background: var(--dh-bg) !important; color: var(--dh-red) !important; }
}

/* ---------- Page layout: content + sidebar ---------- */
#main-content {
  max-width: var(--dh-max) !important; width: auto !important; margin: 28px auto 0 !important; padding: 0 24px !important;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 28px; align-items: start;
}
#main-content > * { grid-column: 1 / -1; min-width: 0; }
#main-content > .clr { display: none; }
#main-content > [id^="centercontent"] {
  grid-column: 1; grid-row: span 3; float: none !important; width: auto !important; max-width: none !important; margin: 0 0 28px !important;
}
#main-content > #centercontent_none { grid-column: 1 / -1; }
#main-content > #leftbar-w, #main-content > #rightbar-w {
  grid-column: 2; float: none !important; width: auto !important; max-width: none !important; margin: 0 !important;
}
#leftbar-w #sidebar, #rightbar-w #sidebar { width: auto !important; }
#sidebar > div, #sidebar > .moduletable {
  background: var(--dh-card); border-radius: var(--dh-radius); box-shadow: var(--dh-shadow);
  padding: 14px; margin: 0 0 22px; overflow: hidden;
}
#sidebar img { display: block; max-width: 100% !important; height: auto !important; margin: 0 auto; border-radius: 8px; }
#sidebar p { margin: 0; }
#sidebar h6 { font-family: var(--dh-font); font-size: 14px; line-height: 1.5; color: var(--dh-brown); margin: 14px 0 8px; text-align: left !important; }
#sidebar .readmore .btn, #sidebar a.btn {
  display: inline-block; background: var(--dh-red) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px; padding: 8px 16px; font-size: 14px; line-height: 1.3; text-decoration: none; text-shadow: none; box-shadow: none;
}
#sidebar .readmore .btn:hover { background: var(--dh-red-dark) !important; }
#sidebar .icon-chevron-right { display: none; }

/* slideshow: centred above content + sidebar (photos are 905px wide, so don't stretch them) */
#main-content > .dh-slideshow { max-width: 960px; width: 100%; margin: 0 auto 28px; }
@media (min-width: 900px) {
  #main-content > .dh-slideshow { grid-row: 1; }
  #main-content > [id^="centercontent"] { grid-row: 2 / span 20; }
  #main-content > #leftbar-w { grid-row: 2; }
  #main-content > #rightbar-w { grid-row: 3; }
}
.dh-slideshow .dh-stage { border-radius: var(--dh-radius) !important; box-shadow: var(--dh-shadow); }

/* ---------- Content card & typography ---------- */
.clearpad {
  background: var(--dh-card); border-radius: var(--dh-radius); box-shadow: var(--dh-shadow);
  padding: 36px 44px 40px; overflow-wrap: anywhere;
}
.clearpad, .clearpad p, .clearpad li, .clearpad td, .clearpad div {
  font-family: var(--dh-font) !important; font-size: 17px; line-height: 1.7; color: var(--dh-text);
}
.clearpad p { margin: 0 0 1em; }
.clearpad .page-header { margin: 0 0 18px; padding: 0; border: 0; }
.clearpad h1, .clearpad .page-header h2 {
  font-family: var(--dh-font) !important; font-weight: 700 !important; color: var(--dh-brown) !important;
  font-size: clamp(26px, 3.2vw, 36px) !important; line-height: 1.2 !important; margin: 0 0 6px !important; padding: 0 !important;
  letter-spacing: -.01em;
}
.clearpad h1:after, .clearpad .page-header h2:after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--dh-red); margin-top: 14px;
}
.clearpad h2, .clearpad h3, .clearpad h4 {
  font-family: var(--dh-font) !important; color: var(--dh-brown); line-height: 1.3 !important; margin: 1.6em 0 .6em;
}
.clearpad h2 { font-size: 26px !important; }
.clearpad h3 { font-size: 21px !important; }
.clearpad h4 { font-size: 18px !important; }
.clearpad strong, .clearpad b { color: inherit; }
.clearpad ul, .clearpad ol { padding-left: 1.3em; margin: 0 0 1em; }
.clearpad a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.clearpad img { max-width: 100% !important; height: auto !important; border-radius: 8px; }
.clearpad iframe, .clearpad video, .clearpad embed, .clearpad object { max-width: 100% !important; }
.clearpad table { max-width: 100% !important; border-collapse: collapse; }
.clearpad blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid var(--dh-red); background: var(--dh-bg); border-radius: 0 10px 10px 0; }
.clearpad .btn-group.pull-right, .clearpad .pull-right .icon-print { display: none; }

/* category blog / lists */
.clearpad .items-leading > article, .clearpad .items-row > article, .clearpad .blog-item {
  border-bottom: 1px solid var(--dh-line); padding: 0 0 24px; margin: 0 0 24px;
}
.clearpad .items-row > article:last-child { border-bottom: 0; }
.clearpad .items-leading .page-header h2, .clearpad .items-row .page-header h2 { font-size: 25px !important; }
.clearpad .items-leading .page-header h2:after, .clearpad .items-row .page-header h2:after { width: 40px; height: 3px; margin-top: 10px; }

/* tags */
.clearpad ul.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.clearpad ul.tags li { margin: 0; }
.clearpad ul.tags a.btn {
  display: inline-block; background: var(--dh-bg) !important; background-image: none !important; color: var(--dh-brown) !important;
  border: 1px solid var(--dh-line) !important; border-radius: 999px !important; padding: 4px 12px !important;
  font-size: 13px !important; text-decoration: none !important; text-shadow: none !important; box-shadow: none !important;
}
.clearpad ul.tags a.btn:hover { border-color: var(--dh-red) !important; color: var(--dh-red) !important; }
.clearpad .readmore a, .clearpad p.readmore a {
  display: inline-block; background: var(--dh-red); color: #fff !important; text-decoration: none !important;
  border-radius: 999px; padding: 8px 18px; font-size: 15px;
}
.clearpad .readmore a:hover { background: var(--dh-red-dark); }
.clearpad .pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }

/* contact form */
.clearpad input[type=text], .clearpad input[type=email], .clearpad textarea, .clearpad select {
  width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--dh-line);
  border-radius: 10px; font: inherit; background: #fff;
}
.clearpad button[type=submit], .clearpad .btn-primary, .clearpad input[type=submit] {
  background: var(--dh-red) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
  padding: 10px 22px !important; font: inherit; cursor: pointer; text-shadow: none !important; box-shadow: none !important;
}

/* breadcrumbs */
[id^="centercontent"] .breadcrumb, [id^="centercontent"] .mod-breadcrumbs {
  background: none; padding: 10px 4px; margin: 0; font-size: 14px; color: var(--dh-muted);
}

/* ---------- Footer ---------- */
#bottomwide {
  background: var(--dh-brown) !important; color: #e9e1da !important; border: 0 !important;
  width: auto !important; max-width: none !important; margin: 40px 0 0 !important;
}
#bottom { max-width: var(--dh-max); margin: 0 auto; padding: 26px 24px; box-sizing: border-box; }
#bottom h5, #bottom h5 a { color: #e9e1da !important; font-family: var(--dh-font); font-size: 14px; font-weight: 400; margin: 0; }
#bottom a:hover { color: #fff !important; }
.tgwide { display: none !important; }   /* old "Monday the 2nd - - de-holl.com/de-holl.eu" line */
#nav_up {
  width: 44px !important; height: 44px !important; border-radius: 50%; right: 18px !important; bottom: 18px !important;
  background: var(--dh-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") no-repeat center / 22px !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2); opacity: .9;
}

/* =====================================================================
 * Tablets and phones
 * ===================================================================== */
@media (max-width: 899px) {
  #main-content { grid-template-columns: minmax(0, 1fr); padding: 0 14px !important; margin-top: 16px !important; }
  #main-content > [id^="centercontent"], #main-content > #leftbar-w, #main-content > #rightbar-w { grid-column: 1; grid-row: auto; }
  #main-content > #leftbar-w { order: 3; }
  #main-content > [id^="centercontent"] { order: 2; margin-bottom: 20px !important; }
  #main-content > #rightbar-w { order: 4; }
  #main-content > .dh-slideshow { order: 1; margin: 0 0 18px; }
  #sidebar > div { max-width: 520px; margin-left: auto; margin-right: auto; }
  .clearpad { padding: 24px 20px 28px; border-radius: 12px; }
  .clearpad, .clearpad p, .clearpad li, .clearpad td, .clearpad div { font-size: 16.5px; }

  /* layout tables in articles become a single column */
  .clearpad table, .clearpad thead, .clearpad tbody, .clearpad tr, .clearpad th, .clearpad td {
    display: block !important; width: 100% !important; height: auto !important; box-sizing: border-box;
  }
  .clearpad td { padding: 0 0 12px !important; text-align: center; }
  .clearpad td p, .clearpad td div { text-align: left; }
  .clearpad colgroup, .clearpad col { display: none !important; }

  /* justified text leaves big gaps on narrow screens */
  .clearpad p, .clearpad li, .clearpad div, .clearpad td { text-align: left !important; -webkit-hyphens: auto; hyphens: auto; }
}
.clearpad p:empty { display: none; }

@media (max-width: 639px) {
  #header { padding: 12px 16px 12px; gap: 12px; flex-wrap: wrap; padding-right: 70px; }
  #header .logo-container { max-width: 170px; }
  #header .slogan { flex-basis: 100%; order: 3; border: 0; padding: 0; font-size: 13.5px !important; }
  #social { display: none !important; }
  #wrapper #s5_newmodule2 { top: 14px !important; right: 66px !important; }

  /* hamburger menu */
  nav.clearfix {
    position: relative; left: auto !important; right: auto !important; top: auto !important; width: auto !important;
    margin: 0 !important; height: auto !important; background: #fff; border-bottom: 1px solid var(--dh-line);
  }
  #nav > ul, #nav ul, #nav ul li ul.mod-menu__sub { height: auto !important; }
  nav a#pull {
    position: absolute !important; top: -62px; right: 12px; width: 44px !important; height: 44px; border-radius: 10px;
    background: var(--dh-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a200e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") no-repeat center / 24px !important;
    z-index: 70;
  }
  nav a#pull:after { display: none !important; }
  #nav { max-width: none !important; margin: 0 !important; }
  #nav > ul { width: 100% !important; margin: 0 !important; padding: 4px 0 !important; float: none !important; }
  #nav ul li { width: 100% !important; float: none !important; position: relative !important; }
  #nav ul li a {
    width: auto !important; text-indent: 0 !important; display: block; padding: 0 18px !important; line-height: 48px !important;
    background: none !important; border: 0 !important; border-bottom: 1px solid var(--dh-line) !important;
    color: var(--dh-text) !important; font-family: var(--dh-font) !important; font-size: 16px !important;
  }
  #nav ul li.active > a, #nav ul li.current > a { color: var(--dh-red) !important; box-shadow: inset 4px 0 0 var(--dh-red); }
  #nav .mod-menu__toggle-sub { left: auto !important; right: 0 !important; height: 48px !important; width: 52px !important; background: none; border: 0; }
  #nav ul li ul.mod-menu__sub[aria-hidden="false"] li a { padding-left: 34px !important; background: var(--dh-bg) !important; }

  #bottom { padding: 22px 16px; }
}

/* ---------- Fixes (Nov 2026) ---------- */
/* dropdown submenus: the old template forces 24px height, so only the first item had a white panel */
@media (min-width: 640px) {
  #nav ul li ul.mod-menu__sub { height: auto !important; overflow: visible; }
  #nav ul li ul.mod-menu__sub li { display: block !important; float: none !important; height: auto !important; margin: 0 !important; }
  #nav ul li ul.mod-menu__sub li a { display: block !important; width: auto !important; }
}

/* contact page icons: the Joomla 3 "IcoMoon" font no longer exists, so use Font Awesome 4.7 (already loaded) */
.contact-address [class^="icon-"]:before, .contact-address [class*=" icon-"]:before,
.contact-contactinfo [class^="icon-"]:before, .contact-contactinfo [class*=" icon-"]:before,
.com-contact [class^="icon-"]:before, .com-contact [class*=" icon-"]:before {
  font-family: FontAwesome !important; font-weight: normal; font-style: normal;
  color: var(--dh-red); display: inline-block; width: 1.2em; text-align: center;
}
.com-contact .icon-address:before { content: "\f041"; }
.com-contact .icon-envelope:before { content: "\f0e0"; }
.com-contact .icon-phone:before { content: "\f095"; }
.com-contact .icon-home:before { content: "\f0ac"; }
.com-contact .icon-info-circle:before { content: "\f05a"; }
.com-contact .icon-mobile:before { content: "\f10b"; }
.com-contact .icon-fax:before { content: "\f1ac"; }
.clearpad dl.contact-address { display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; margin: 0 0 1em; }
.clearpad dl.contact-address dt { grid-column: 1; margin: 0; width: auto; float: none; }
.clearpad dl.contact-address dd { grid-column: 2; margin: 0; float: none; }
.clearpad .contact-form fieldset, .clearpad .com-contact__form fieldset {
  background: var(--dh-bg); border: 1px solid var(--dh-line); border-radius: 12px; padding: 20px 22px;
}
/* the contact page shows the site's own web address, which isn't useful there */
.com-contact .contact-webpage, .com-contact dt:has(.icon-home), .com-contact dd:has(.contact-webpage) { display: none; }

/* ---------- 20 years De-Holl badge (custom modules "20 χρόνια De-Holl" / "20 years De-Holl", position: left) ---------- */
#sidebar > div.mod-custom:has(.dh20) { padding: 0; background: none; box-shadow: none; overflow: visible; }
.dh20 {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--dh-radius); padding: 22px 18px 24px; text-align: center; color: #fff;
  text-decoration: none !important; font-family: var(--dh-font);
  background: radial-gradient(120% 85% at 50% 0%, #6b3c19 0%, var(--dh-brown) 52%, #1f1008 100%);
  box-shadow: 0 10px 30px rgba(58, 32, 14, .28);
}
.dh20, .dh20:hover, .dh20:focus, .dh20 .dh20-name { color: #fff !important; }
.dh20:after {   /* light sweep */
  content: ""; position: absolute; inset: -40% -60%; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .16) 50%, transparent 58%);
  transform: translateX(-60%); animation: dh20-sweep 6s ease-in-out 2.6s infinite;
}
.dh20-badge { position: relative; display: block; width: 168px; height: 168px; margin: 0 auto 10px; }
.dh20-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dh20-track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 5; }
.dh20-arc {
  fill: none; stroke: url(#dh20-grad); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 100px 100px;
  animation: dh20-draw 2.2s cubic-bezier(.65, .05, .25, 1) .25s forwards;
}
.dh20-ticks line { stroke: rgba(255, 210, 122, .55); stroke-width: 2; stroke-linecap: round; opacity: 0; animation: dh20-fade .4s ease forwards; }
.dh20-num {
  position: absolute; left: 0; right: 0; top: 34px; font-size: 76px; line-height: 1; font-weight: 700; letter-spacing: -.04em;
  background: linear-gradient(140deg, #ffe3a3 0%, #ffb347 38%, #ff6a3d 68%, #e4232b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  transform: scale(.6); opacity: 0; animation: dh20-pop .9s cubic-bezier(.2, 1.4, .4, 1) 1s forwards;
  filter: drop-shadow(0 4px 12px rgba(228, 35, 43, .35));
}
.dh20-years {
  position: absolute; left: 0; right: 0; top: 112px; font-size: 13px; font-weight: 700; letter-spacing: .42em;
  padding-left: .42em; color: #ffd27a; opacity: 0; animation: dh20-up .7s ease 1.5s forwards;
}
.dh20-name { display: block; font-size: 22px; font-weight: 700; letter-spacing: .01em; opacity: 0; animation: dh20-up .7s ease 1.8s forwards; }
.dh20-sub { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .72); opacity: 0; animation: dh20-up .7s ease 2s forwards; }
.dh20-cta {
  display: inline-block; margin-top: 14px; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--dh-brown); background: linear-gradient(135deg, #ffe3a3, #ffb347); opacity: 0; animation: dh20-up .7s ease 2.2s forwards;
}
.dh20-spark { position: absolute; z-index: 2; width: 6px; height: 6px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 10px 2px rgba(255, 210, 122, .8); opacity: 0; animation: dh20-twinkle 3.2s ease-in-out infinite; }
.dh20-spark:nth-of-type(1) { top: 14%; left: 14%; animation-delay: 2.4s; }
.dh20-spark:nth-of-type(2) { top: 9%;  right: 18%; animation-delay: 3.1s; width: 4px; height: 4px; }
.dh20-spark:nth-of-type(3) { top: 42%; right: 9%; animation-delay: 3.8s; }
.dh20-spark:nth-of-type(4) { top: 47%; left: 8%; animation-delay: 4.4s; width: 4px; height: 4px; }
.dh20-spark:nth-of-type(5) { top: 70%; right: 16%; animation-delay: 5s; width: 3px; height: 3px; }

@keyframes dh20-draw { to { stroke-dashoffset: 0; } }
@keyframes dh20-fade { to { opacity: 1; } }
@keyframes dh20-pop { to { transform: scale(1); opacity: 1; } }
@keyframes dh20-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dh20-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }
@keyframes dh20-sweep { 0% { transform: translateX(-60%); } 35%, 100% { transform: translateX(60%); } }

@media (prefers-reduced-motion: reduce) {
  .dh20 *, .dh20:after { animation: none !important; }
  .dh20-arc { stroke-dashoffset: 0; }
  .dh20-ticks line, .dh20-num, .dh20-years, .dh20-name, .dh20-sub, .dh20-cta { opacity: 1; transform: none; }
  .dh20-spark, .dh20:after { display: none; }
}
@media (max-width: 899px) {
  #sidebar > div.mod-custom:has(.dh20) { max-width: 360px !important; }
}

/* phones: no hover triangle under menu items. On iPhones a hover effect "uses up" the first tap,
   so tapping "Τεχνικές" showed the triangle instead of opening the submenu. */
@media (max-width: 639px) {
  #nav ul li:hover:after, #nav ul li:after { display: none !important; content: none !important; }
  /* The old template also moves/hides submenus on li:hover. On iPhones any such hover change makes the
     first tap count only as a "hover", so pin closed submenus: they look identical with or without hover. */
  #nav ul li ul.mod-menu__sub:not([aria-hidden="false"]),
  #nav ul li:hover ul.mod-menu__sub:not([aria-hidden="false"]),
  #nav ul li ul.mod-menu__sub:not([aria-hidden="false"]):hover {
    display: none !important; position: absolute !important; left: -999em !important; top: 0 !important;
  }
  #nav ul li ul.mod-menu__sub[aria-hidden="false"],
  #nav ul li:hover ul.mod-menu__sub[aria-hidden="false"] {
    display: block !important; position: static !important; left: auto !important; top: auto !important; width: 100% !important;
  }
  #nav ul li a:hover, #nav ul li:hover > a { background: none !important; color: var(--dh-text) !important; text-decoration: none !important; }
  #nav ul li.active > a, #nav ul li.current > a, #nav ul li.active:hover > a, #nav ul li.current:hover > a { color: var(--dh-red) !important; }
  #nav ul li ul.mod-menu__sub[aria-hidden="false"] li a, #nav ul li ul.mod-menu__sub[aria-hidden="false"] li:hover > a { background: var(--dh-bg) !important; }
}

/* 20-years badge: keep the dark background on hover (the old template's a:hover sets background: none) */
.dh20, .dh20:hover, .dh20:focus, .dh20:active {
  background: radial-gradient(120% 85% at 50% 0%, #6b3c19 0%, var(--dh-brown) 52%, #1f1008 100%) !important;
  text-decoration: none !important;
}
.dh20 { transition: transform .25s ease, box-shadow .25s ease; }
.dh20:hover, .dh20:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(58, 32, 14, .36); }
@media (prefers-reduced-motion: reduce) { .dh20:hover, .dh20:focus-visible { transform: none; } }
