:root {
    --swiper-theme-color: white !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: arial, sans-serif;
    font-weight: normal;
    font-size: 75%;
    block-size: 100dvh;
    inline-size: 100%;
}

body > header {
    position: absolute;
    z-index: 1000;
    block-size: auto;
    top: 1rem;
    left: 1rem;
    /* background: rgba(255,255,255,0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); */
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    inline-size: 100px;
    filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
}

.brand {
    --font-size-5: 2rem;
    --font-size-6: 2.5rem;
    --font-size-7: 3rem;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);;
    font-weight: 500;
    font-style: normal;
    /* color: #030712; */
    color:#f1f5f9;
    text-shadow: 3px 3px 4px rgba(31, 41, 55, 1);
    /* letter-spacing: 0.03ch; */
}

main > * {
    position: relative;
}

.panel-wrapper {
    position: absolute;
    cursor: move;
}

.panel-about {
    top: 12%;
    left: 8%;
    z-index: 1;
}

.panel-news {
    top: 18%;
    left: 25%;
    z-index: 2;
}

.panel-contact {
    top: 54%;
    left: 8%;
    z-index: 3;
}

.social-icon {
    inline-size: 40px;
    block-size: 40px;
}

.person-tab {
    top: 12%;
    right: 30%;
    z-index: 3;
}

.panel-logo {
    top: 48%;
    right: 12%;
    z-index: 4;
}

.panel-showcase {
    top: 14%;
    right: 10%;
}

.panel-search {
    top: 45%;
    left: 45%;
    min-height: auto !important;
    z-index: 10;
}

.flow > .panel-wrapper {
    top: 4%;
    left: 42%;
}

.panel-wrapper {
    -webkit-box-shadow: 4px 4px 8px 0px #030712;
    box-shadow: 4px 4px 8px 0px #030712;
    width: 196px;
    overflow: hidden;
    min-height: 290px;
    background: #030712;
}

header h1, .panel header label {
    padding: 8px 8px 4px 8px;
}

.panel-content h1 {
    margin-bottom: 4px;
    display: block;
    color: #FFF;
    font-weight: 700;
    font-size: 100%;
}

.panel-content h1 a:hover {
    text-decoration: underline;
}

article {
    width: 180px;
    padding: 8px;
}

time {
    font-family: arial, sans-serif;
    font-size: 12px;
    display: block;
    color: #FFF;
    font-weight: 700;
    margin-bottom: 4px;
}

.content p {
    display: inline-flex;
    gap: 4px;
    margin: 2em 0 0.5em 0;
    margin-top: 0px;
    margin-bottom: 1.5em;
    line-height: 1.5em;
    color: #f9fafb;
}

.scrollbar {
    max-height: 520px;
    overflow: auto;
    overflow-x: hidden;
}

.scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 100%;
    background-color: #3E3E3E;
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #C6C6C7;
}

.panel-content.home-person-tab {
    width: 200px;
    height: 240px;
    background: url(../assets/Avatar.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.person-tab {
    min-height: 240px;
}

.home-person-tab h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-top: 0px;
    width: 100%;
    line-height: 1.3em;
    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #f9fafb;
}

.home-person-tab h2 a {
    width: 200px;
    line-height: 18px;
    display: block;
    font-size: 12px;
    color: #eee;
    padding: 6px 10px;
}

.home-person-tab h2 a span {
    font-size: 0.9em;
}

.panel-content a.more {
    display: block;
    color: #FFF;
    padding: 8px;
    text-decoration: underline;
}

.draggable a {
    cursor: pointer;
}

.panel-content.zhd-logo {
    background: #030712;
    width: 200px;
    min-height: 240px;
    background: url(../assets/luxury\ and\ style\ with\ this\ modern\ living\ room\ boasts\ beautiful\ big\ sofas\ and\ a\ creative\ TV\ wall.jpg) no-repeat center;
    background-size: cover;
}

.zhd-home-title {
    background: rgba(20, 18, 21, 0.425);
    color: #f9fafb;
    padding: 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.7em;
}

.zhd-home-foot {
    color: #fff;
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 0.7em;
}

.panel-logo {
    min-height: 240px;
}

.showcase-slider {
    display: block;
    width: 286px;
    height: 196px;
    -webkit-box-shadow: 4px 4px 8px 0px #030712;
    box-shadow: 4px 4px 8px 0px #030712;
}

.showcase-slider {
    min-block-size: auto !important;
}

.pretty {
    display: block;
    color: #FFF;
    border: none;
    font-family: arial, sans-serif;
    font-weight: normal;
    padding: 5px 8px 4px 6px;
}

/* Filter */

.interior-cards {
  display: grid;
  inline-size: 100%;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 576px) {
    .interior-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .interior-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .interior-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .interior-cards {
        grid-template-columns: repeat(6, 1fr);
    }
}

.conference:not(:last-child):not(:has(+ [hidden])) {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.conference-date::after {
  content: " •";
}

.interior-card a:hover img {
    filter: brightness(.7);
}

.interior-card a img {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: filter .5s ease-in-out;
}

.filter {
  /*display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0;
  padding: 0;*/
}

.filter-btn, label {
    display: block;
    width: 100%;
    text-align: left;
    padding: 4px;
    cursor: pointer;
    list-style: none;
    background: #030712;
    color: #fff;
    border: none;
    border-bottom: 1px solid #374151;
    overflow: visible;
}

input[type="checkbox"] {
    float: right;
    position: absolute;
    left: -9999px;
    top: -9999px;
}

form label {
    padding: 6px !important;
    letter-spacing: 0.03ch;
}

form label:first-child {
    margin-top: 2px;
}

form label:hover {
    background-color: #374151;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn:focus {
    background-color: #374151;
    text-decoration: none;
}

.filter-btn.active {
    
}

/* Modal dialog */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-container {
    display: inline-flex;
}

#searchInput {
    border: none;
    float: left;
    color: #030712;
    padding: 4px;
    border: none;
    background: #f9fafb;
    -webkit-appearance: caret;
}

button[onclick]:not(.filter > .filter-btn) {
    border: none;
    font-size: 12px;
    cursor: pointer;
    color: #030712;
    padding: 4px;
    border: none;
    background: #f9fafb;
    -webkit-appearance: caret;
}

#searchInput:focus {
    outline: none;
}

#searchInput::placeholder {
    color: #030712;
    font-size: 12px;
}

.content-overlay {
    position: absolute;
    padding: .5rem;
    top: 0;
    left: 0;
    inline-size: 100%;
    block-size: auto;
    z-index: 1;
    background: rgba(20, 18, 21, 0.425);
    color: #eee;
}

.content-overlay h4 {
    font-size: 1.1rem;
}

.content-overlay ul {
    list-style: none;
}