/* Responsive and Modern Overrides */

/* Reset fixed widths for mobile */
@media screen and (max-width: 768px) {
  html {
    background: #ffffff !important;
    color-scheme: light !important;
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-width: 0 !important;
    overflow-x: hidden;
    background: #ffffff !important;
    color: #202020 !important;
  }

  #top {
    height: auto !important;
    min-height: 133px;
    background-size: cover !important;
  }

  .ding, .nav-main, .nav-main-main, .banner, .index-pro, .index-pro-list, .index-about, .index-news, .bottom, .bottom-main, .zi-main, .san-box, #slideBox .bd ul li a, #slideBox .hd, #slideBox .hd .hd-box, .banner img {
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  #banner {
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
    height: clamp(176px, 48vw, 260px) !important;
  }

  #banner img,
  #banner .banner-slide-image,
  #banner span[style*="position:absolute"] img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
  }

  #banner .hd {
    bottom: 10px !important;
  }

  #banner .button {
    display: none !important;
  }

  #banner .banner-slide-image {
    transform: scale(1.06);
    transform-origin: center center;
  }

  #banner .hd {
    bottom: 12px !important;
  }

  #banner .hd ul {
    gap: 8px !important;
  }

  #banner .hd ul li {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
  }
  
  .logo {
    float: none !important;
    display: block;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    margin: 0;
    text-align: left;
  }
  
  .logo img {
    display: block;
    width: min(220px, 58vw) !important;
    height: auto !important;
    margin: 0;
  }
  
  .site-desktop-nav {
    display: none !important;
  }

  .nav-main {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .nav-main-main {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    padding: 12px 0 16px;
  }

  .nav-main-main > .lang-switcher {
    order: 1;
  }

  .nav-main-main > .logo {
    order: 2;
  }

  .nav-main-main > .site-mobile-nav-toggle {
    order: 3;
  }
  
  .ding-view, .search {
    display: none !important; /* Hide some elements on very small screens or rearrange them */
  }

  .lang-switcher {
    float: none !important;
    margin: 0 0 0 auto !important;
    text-align: right;
  }

  .site-mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #3f3a39;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    float: none;
    margin: 0;
    flex: 0 0 auto;
  }

  .site-mobile-nav-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .site-mobile-nav-toggle-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
  }

  .site-mobile-nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 10002;
    margin-top: 0;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 14px;
    border-radius: 8px;
    background: #3f3a39;
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  }

  .site-mobile-nav-panel.is-open {
    display: block;
  }

  .site-mobile-nav-search form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }

  .site-mobile-nav-search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 0 12px;
  }

  .site-mobile-nav-search button {
    min-width: 72px;
    height: 38px;
    border: 0;
    border-radius: 6px;
    background: #ed6d00;
    color: #fff;
    cursor: pointer;
  }

  .site-mobile-nav-list,
  .site-mobile-nav-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-mobile-nav-item + .site-mobile-nav-item {
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .site-mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .site-mobile-nav-link,
  .site-mobile-nav-sublink {
    display: block;
    flex: 1;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 0;
    font-size: 15px;
  }

  .site-mobile-nav-expand {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
  }

  .site-mobile-nav-sublist {
    padding: 0 0 10px 12px;
  }

  .site-mobile-nav-sublink {
    padding: 8px 0;
    color: #dbdada !important;
    font-size: 13px;
  }

  #float {
    display: none !important;
  }

  .index-pro-list ul li, .cp-list, .pro-view-list li.cp, .index-product-list li.cp, .index-product-list li.set, .index-Partner-list li, #about-list li {
    width: 48% !important;
    margin: 1% !important;
    height: auto !important;
  }
  
  .index-pro-list ul li .tu, .cp-list .tu, .pro-view-list li.cp .tu, .index-product-list li.cp .tu, .index-product-list li.set .tu, #about-list li a .tu, .index-pro-list ul li a, .cp-list a, .pro-view-list li.cp a, .index-product-list li.cp a, .index-product-list li.set a {
    width: 100% !important;
    height: auto !important;
  }
  
  .index-pro-list ul li img, .cp-list img, .pro-view-list li.cp img, .index-product-list li.cp img, .index-product-list li.set img, .index-Partner-list li img, #about-list li a .tu img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  
  .index-news-left, .index-news-right {
    width: 100% !important;
    float: none !important;
    margin-top: 20px;
  }

  .san-box {
    height: auto !important;
    margin: 24px auto !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .san-box dl {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .san-box dl dd {
    float: none !important;
    width: 100% !important;
    max-width: 330px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .san-box dl dd a.lj,
  .san-box dl dd .view,
  .san-box dl dd img.href {
    width: 100% !important;
  }

  .san-box dl dd .view {
    position: relative !important;
    bottom: auto !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18) !important;
  }

  .san-box dl dd .lj {
    border-radius: 14px 14px 0 0 !important;
    overflow: hidden !important;
  }

  .san-box dl dd .view > div:last-child {
    padding: 18px 16px !important;
  }

  .san-box dl dd .view a {
    white-space: normal !important;
    height: auto !important;
    line-height: 1.65 !important;
  }

  .san-box dl dd .view a b {
    display: inline-block;
    width: 14px;
  }

  .san-box dl dd .view a[href^="/"],
  .san-box dl dd .view a[href^="/en/"] {
    word-break: break-word;
  }
  
  .zi-left, .zi-right {
    width: 100% !important;
    float: none !important;
  }

  .zi-main {
    margin: 16px auto 28px !important;
    background: #ffffff !important;
  }

  .zi-right-main {
    line-height: 1.75 !important;
  }

  .index-right-top {
    display: flex !important;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
    height: auto !important;
    line-height: 1.5 !important;
    padding-bottom: 10px;
  }

  .index-right-top-type {
    float: none !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  .zi-right-weizhi {
    float: none !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 0 4px;
    width: 100%;
    height: auto !important;
    line-height: 1.6 !important;
  }

  .index-proclass-main {
    margin-bottom: 12px !important;
    overflow: visible !important;
  }

  .index-proclass-main ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .index-proclass-main ul li {
    height: auto !important;
    line-height: 1.4 !important;
  }

  .index-proclass-main ul li a {
    display: flex !important;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px !important;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff !important;
  }

  .index-proclass-main ul li a:hover,
  .index-proclass-main ul li.on a {
    background: #fff7ed !important;
    border-color: #fdba74 !important;
  }

  .index-product-list {
    min-height: 0 !important;
    padding-top: 6px !important;
  }

  .index-product-list li.cp-list {
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 14px !important;
    height: auto !important;
    min-height: 0 !important;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    box-sizing: border-box;
  }

  .index-product-list li.cp-list > * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .index-product-list li.cp-list .tu {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 12px;
  }

  .index-product-list li.cp-list .tu img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .index-product-list li.cp-list .title {
    width: 100%;
    height: auto !important;
    line-height: 1.6 !important;
    font-size: 16px !important;
    border-bottom: none !important;
    white-space: normal !important;
    word-break: break-word;
    margin-bottom: 8px;
  }

  .index-product-list li.cp-list .demo {
    width: 100%;
    height: auto !important;
    line-height: 1.7 !important;
    padding-top: 0 !important;
    color: #4b5563;
    word-break: break-word;
  }

  .index-product-list li.cp-list .href {
    width: 100%;
    margin-top: 12px;
    text-align: left !important;
  }

  .index-product-list li.cp-list .href a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ed6d00;
    color: #ffffff !important;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
  }

  .index-product-list li.cp {
    width: calc(50% - 8px) !important;
    margin: 4px !important;
  }

  .index-product-list li.cp a {
    width: 100% !important;
    height: auto !important;
  }

  .index-product-list li.cp .tu {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 186 / 223;
  }

  .index-product-list li.cp img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .product-detail-tabs-nav {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .product-detail-tabs-button {
    width: 100%;
    max-width: 100%;
    min-width: calc(50% - 5px) !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 10px;
    font-size: 13px !important;
    box-sizing: border-box;
    white-space: normal !important;
    word-break: break-word;
  }

  .product-detail-tabs-content {
    padding-top: 16px !important;
    line-height: 1.8 !important;
    word-break: break-word;
  }

  .product-detail-tabs-content table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
  }

  .product-detail-tabs-content img {
    display: block;
    margin: 0 auto;
  }
  
  .pro-view-up-left, .pro-view-up-left .list, .pro-view-up-left .list ul li, .pro-view-up-left .list ul li img, .pro-view-up-right, .cp-banner .big, .cp-banner .big ul li, .cp-banner .big ul li img, .cp-banner .small {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    box-sizing: border-box;
  }
  
  .pro-view-up-left .hd, .pro-view-up-left .hd .hd-list {
    width: 100% !important;
  }

  .pro-view-up-right {
    margin-top: 18px;
  }

  .pro-view-up-right-title {
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
    font-size: 18px !important;
  }

  .down-type {
    height: auto !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .down-type ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: max-content;
  }

  .down-type ul li {
    float: none !important;
    width: auto !important;
    margin-right: 0 !important;
    padding: 0 16px;
    border-radius: 999px 999px 0 0;
  }

  .zi-view table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .zi-news-list {
    padding-top: 4px;
  }

  .zi-news-list li,
  .search-list li {
    overflow: hidden;
  }

  #no-img {
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.5 !important;
    padding: 10px 0 !important;
  }

  #no-img a {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    height: auto !important;
    padding: 0 !important;
  }

  #no-img .no-img-title {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    text-overflow: clip !important;
    line-height: 1.7 !important;
  }

  #no-img .no-img-rq {
    float: none !important;
    width: auto !important;
    color: #6b7280 !important;
    font-size: 12px;
  }

  .search-list {
    min-height: 0 !important;
    padding: 8px 0 !important;
  }

  .search-list li {
    height: auto !important;
    line-height: 1.5 !important;
    padding: 10px 0 !important;
  }

  .search-list li a {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    height: auto !important;
  }

  .search-list a .title,
  .search-list a .rq {
    float: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .search-list a .title {
    line-height: 1.7 !important;
    white-space: normal !important;
    word-break: break-word;
  }

  .search-list a .rq {
    color: #6b7280 !important;
    font-size: 12px !important;
    text-align: left !important;
  }

  .index-Partner-list {
    min-height: 0 !important;
    padding-left: 0 !important;
    padding-top: 8px !important;
  }

  .index-Partner-list li {
    width: calc(50% - 8px) !important;
    height: auto !important;
    margin: 4px !important;
  }

  .index-Partner-list li a {
    display: block;
    width: 100%;
  }

  .index-Partner-list li .tu {
    height: auto !important;
  }

  .index-Partner-list li a .title {
    line-height: 1.6 !important;
    white-space: normal !important;
    word-break: break-word;
  }

  .pro-view-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: auto !important;
    overflow: visible !important;
  }

  .pro-view-list li.cp {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .pro-view-list li.cp a,
  .pro-view-list li.cp .tu {
    width: 100% !important;
    height: auto !important;
  }

  .pro-view-list li.cp .tu {
    aspect-ratio: 224 / 155;
  }

  .pro-view-list li.cp img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .pro-view-list li.cp a .title {
    line-height: 1.6 !important;
    white-space: normal !important;
    word-break: break-word;
  }

  .view-list {
    height: auto !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .view-list ul {
    display: flex;
    gap: 10px;
    width: max-content !important;
    min-width: 100%;
  }

  .view-list ul li {
    flex: 0 0 160px;
    width: 160px !important;
    margin-right: 0 !important;
  }

  .view-list ul li,
  .view-list ul li a,
  .view-list ul li a img {
    box-sizing: border-box;
  }

  #about-list {
    min-height: 0 !important;
    padding-top: 8px !important;
  }

  #about-list li a .title {
    padding-top: 8px !important;
    line-height: 1.6 !important;
    white-space: normal !important;
  }

  #fenye {
    height: auto !important;
    padding: 18px 0 !important;
  }

  .fenye {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.5 !important;
  }

  .fenye .btn,
  .fenye .sz {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
  }

  .fenye .btn {
    text-align: center;
  }

  .fenye .btn.null {
    color: #cbd5e1 !important;
    background: #f8fafc !important;
  }

  .left-ly {
    padding: 14px !important;
    border-radius: 12px;
    background: #fafafa !important;
  }

  .left-ly table,
  .feedback {
    display: block;
    width: 100% !important;
  }

  .left-ly tbody,
  .left-ly tr,
  .left-ly td {
    display: block;
    width: 100% !important;
  }

  .left-ly td {
    height: auto !important;
    padding-bottom: 12px !important;
  }

  .left-ly .ly-k,
  .left-ly .x_content,
  .feedback .ly-k,
  .feedback .x_content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    border-radius: 10px;
    min-height: 42px;
    padding: 10px 12px !important;
    background: #ffffff !important;
  }

  .left-ly .x_content,
  .feedback .x_content {
    min-height: 120px;
  }

  .left-ly .ly-tj,
  .feedback .ly-tj,
  .left-ly .re,
  .feedback .re {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
  }

  .left-ly .re,
  .feedback .re {
    margin-left: 8px !important;
  }

  iframe[title="Baidu Map"] {
    min-height: 320px !important;
    height: 320px !important;
  }


  /* Fix for image overflowing container on mobile */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  .zi-view img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }

  .detail-heading {
    margin-bottom: 16px !important;
  }

  .detail-page-title {
    font-size: 22px !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
    text-wrap: balance;
    word-break: break-word;
  }

  .detail-meta {
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #6b7280 !important;
  }

  .detail-richtext {
    color: #1f2937;
    line-height: 1.85 !important;
    font-size: 15px;
    word-break: break-word;
  }

  .detail-richtext h1,
  .detail-richtext h2,
  .detail-richtext h3,
  .detail-richtext h4 {
    line-height: 1.45 !important;
    margin: 18px 0 10px !important;
    color: #111827;
  }

  .detail-richtext h1 {
    font-size: 22px !important;
  }

  .detail-richtext h2 {
    font-size: 19px !important;
  }

  .detail-richtext h3,
  .detail-richtext h4 {
    font-size: 17px !important;
  }

  .detail-richtext p,
  .detail-richtext li,
  .detail-richtext td,
  .detail-richtext th {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }

  .detail-richtext p,
  .detail-richtext ul,
  .detail-richtext ol,
  .detail-richtext table,
  .detail-richtext blockquote {
    margin-bottom: 12px !important;
  }

  .detail-richtext ul,
  .detail-richtext ol {
    padding-left: 20px !important;
  }

  .detail-richtext table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
  }

  .detail-richtext img {
    border-radius: 10px;
  }

  .detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c !important;
    text-decoration: none;
  }

  .detail-link:hover {
    background: #ffedd5;
  }

  table {
    width: 100% !important;
  }
}

.site-mobile-nav-toggle,
.site-mobile-nav-panel {
  display: none;
}

/* Modern Dropdown Menu without jQuery */
#nav .menu ul li.ll {
  position: relative;
}

#nav .menu ul li.ll:hover .xiala {
  display: block !important;
  animation: fadeInDown 0.3s ease;
}

#nav .menu ul li.ll .xiala {
  display: none !important; /* Hidden by default */
  position: absolute;
  top: 66px;
  left: 0;
  width: 145px;
  z-index: 10000;
  background: #3f3a39;
}

@media screen and (max-width: 1024px) {
  #nav .menu ul li.ll .xiala {
    top: 44px; /* Adjust for mobile menu height */
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Float social icons (modernized without jQuery) */
#float ul li {
  position: relative;
}
#float ul li a.weixin img {
  display: none;
  position: absolute;
  right: 40px;
  top: 0;
}
#float ul li:hover a.weixin img {
  display: block;
}

/* Remove niceScroll requirement */
body {
  overflow-y: scroll;
  min-width: 0 !important;
  overflow-x: hidden;
}

#site-footer.site-footer {
  width: 100%;
  margin: 24px auto 0;
  color: #f2f2f2;
  background-color: #4a4747;
  background-repeat: repeat-x;
  background-position: top center;
  clear: both;
  position: relative;
  z-index: 20;
}

.site-footer .site-footer-inner {
  width: 1000px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 34px 0 18px;
}

.site-footer .site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  min-height: 32px;
  line-height: 32px;
  font-size: 12px;
  color: #fff;
}

.site-footer .site-footer-nav a {
  color: #fff;
  white-space: nowrap;
}

.site-footer .site-footer-nav a:hover {
  color: #ed6d00;
}

.site-footer .site-footer-divider {
  height: 1px;
  margin: 10px 0 18px;
  background: rgba(255, 255, 255, 0.28);
}

.site-footer .site-footer-divider-bottom {
  margin: 14px 0 10px;
}

.site-footer .site-footer-contact {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 28px;
  color: #f2f2f2;
  font-size: 12px;
  line-height: 24px;
}

.site-footer .site-footer-col h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.2;
}

.site-footer .site-footer-col p {
  margin: 0;
  color: #f2f2f2;
}

.site-footer .site-footer-col-side {
  padding-top: 40px;
}

.site-footer .site-footer-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  color: #e6e6e6;
  font-size: 12px;
  line-height: 20px;
}

.site-footer .site-footer-meta a {
  color: #f2f2f2;
}

.site-footer .site-footer-meta a:hover {
  color: #ed6d00;
}

@media screen and (max-width: 768px) {
  #site-footer.site-footer {
    margin-top: 18px;
  }

  .site-footer .site-footer-inner {
    width: auto;
    max-width: none;
    padding: 24px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer .site-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    line-height: 22px;
    font-size: 13px;
  }

  .site-footer .site-footer-nav a {
    min-height: 28px;
  }

  .site-footer .site-footer-contact {
    grid-template-columns: 1fr;
    gap: 14px;
    line-height: 24px;
  }

  .site-footer .site-footer-col h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .site-footer .site-footer-col-side {
    padding-top: 0;
  }

  .site-footer .site-footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    line-height: 1.7;
  }
}
