/*!
Theme Name: Elevation
Theme URI: http://underscores.me/
Author: Emmett Wen
Author URI: http://underscores.me/
Description: Description
Version: 1.0.37
Tested up to: 8.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: elevation
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Elevation is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
.service-card {
    background: #0000003D;
}

.text-primary-3 {
    color: #8C7F3D;
}
.text-primary-4 {
    color: #69BDA1;
}
.uk-background-default {
    background: #FBFCF4;
}
.information-title {
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif!important;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.product-card {
    overflow: hidden;
}
.product-card .img-wrapper {
    overflow: hidden;
}
.product-card .uk-card-body {
    overflow: hidden;
}
/* Mobile default: single row + horizontal scroll */
.ele-tabs{
    display:flex;               /* 确保是 flex */
    flex-wrap: nowrap!important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    column-gap: 18px;           /* 间距 */
}
.ele-tabs > li{
    flex: 0 0 auto;
}
.ele-tab-link{
    white-space: nowrap;
    font-size: 1rem!important;
}

/* Desktop (UIkit m 默认 960px): expand + no scroll */
@media (min-width: 960px){
    .ele-tabs{
        overflow: visible;
    }
    .ele-tabs > li{
        flex: 1 1 0;               /* ✅ 平均铺开 */
    }
    .ele-tabs > li > a{
        justify-content: center;   /* 视觉更像 tab 居中 */
    }
}

.ele-section {
    padding-left: 15px!important;
    padding-right: 15px!important;
}
.ele-hero-overlay{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.30); /* 30% */
    pointer-events:none;
}
.uk-nav-primary {
    font-size: 1.2rem!important;
}

/* 让包裹盒等于图片“实际显示尺寸”（contain 后的尺寸） */
.ele-media-wrap{
    position: relative;
    display: inline-block;
    max-width: 100%;
    height: 100%;
}

/* contain 的正确写法：用 max-width/max-height + auto */
.ele-slide-img{
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 可保留，不冲突 */
}

/* 水印定位在图片右下角（不是容器右下角） */
.ele-watermark{
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    pointer-events: none;
}
.ele-watermark img{
    display: block;
    width: 120px;  /* 自行调整 */
    height: auto;
    opacity: .55;  /* 自行调整 */
}
.footer-logo {
    max-height: 70px;
    height: auto;
}

@media (max-width: 640px){
    .ele-watermark img{ width: 90px; }
}
@media (min-width: 960px) {
    .uk-navbar-nav {
        gap: 40px;
    }
}