/*
Theme Name: yythemes-child
Theme URI: https://www.yythemes.com/
Version: 1.0.0
Author: YYThemes
Author URI: https://www.yythemes.com
Template: yythemes
Description: A simple corporate website theme.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: yythemes-child
Tested up to: 6.8
Requires PHP: 8.0
*/

body {
	font-family: Arial, 'Poppins',sans-serif,'Microsoft Yahei';
}

/* global */
.yy-main{
    background-color: #d5d2c9;
}
.yy-group article .post-title {
    font-size: 24px;
}
.yy-group article .post-content p {

}
.btn {
  display: inline-block;
  padding: 8px 15px;
  background-color:var(--yy-main-color);
  color: #fff;                /* 字体颜色 */
  text-decoration: none;      /* 去掉下划线 */
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 120px;
 text-align: center;
}

.btn:hover {
  background-color:var(--yy-dark-color);
  color: #fff;
}

.yy-group .pagination {

    text-align: center;
}

/* table */

table:not(.hljs-ln){
	font-size: 14px;
}

table:not(.hljs-ln) td, table th {
	border-top: 1px solid #eee;
	padding:5px 6px;
}

table:not(.hljs-ln) tr:last-child td, table tr:last-child th {
	border-bottom: 1px solid #eee;
}
table:not(.hljs-ln) tr:first-child td, table tr:first-child th {
	border-top: 1px solid #eee;
}
table:not(.hljs-ln) tbody tr:nth-of-type(even) {
	background-color: #fafafa;
}

table th {
	font-weight: normal;
	color:#999;
}
table p{
    display: inline-block;
}

table h2{
    margin:0;
}


.container-sm{
	display:flex;
	flex-direction: row;
	justify-content:space-between;
	gap:20px;
}
.container-sm .sidebar{
	width:25%;
}
.container-sm .main{
	width:74%;
	background-color: #fff;
}

.container-sm .main article{
	padding:20px;
}
/* sidebar */

.sidebar .card{
    background-color: #fff;
    padding:20px;
    margin-bottom:30px;
}
.sidebar .card h2{
    margin-top:0;
    margin-bottom:10px;
    font-size: 20px;
    display: list-item;
    width:fit-content;
    margin-left: 10px;
    margin-right: 10px;
}


.sidebar .card h2::marker {
    content: '▍';
    color:var(--yy-main-color);
}
.sidebar ul{
    margin:0;
    padding:0;
    list-style-type: none;
}
.sidebar li{
    margin:0;
    padding-top:10px;
    padding-bottom:10px;
    list-style-type: none;
}

.sidebar .card-reviews .item{
    display: flex;
    flex-direction: column;
    gap:20px;
    padding-top:15px;
    padding-bottom: 15px;
}
.sidebar .card-reviews .content{
    color:#555;
    font-size: 14px;
    line-height: 1.5;
}
.sidebar .card-reviews .user{
    color:#777;
    font-size: 14px;
    text-align: right;
}

.sidebar .card-contact>div{
    padding-top:15px;
    display: flex;
    flex-direction: column;
    gap:10px;
}
.sidebar .card-contact .fa-envelope{
    font-size: 30px;
    color:var(--yy-main-color);
}


@media only screen and (max-width: 767px) {
    .sidebar{
        display: none;
    }
    .container-sm .main{
        width:100%;
    }
}
/* end sidebar */

/* container-sm */
.container-sm .main article {
    padding-top: 0;

}

/* end container-sm */

/* home */
.home div.wpforms-container-full button[type=submit]:not(:hover):not(:active){
	background-color:#343434;
}
.home div.wpforms-container-full button[type=submit]:hover{
	background-color:#000;
}
.home .about-us p{
  display: -webkit-box;
  -webkit-line-clamp: 4;       /* 限制最多3行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
	margin-top:0;
}

/* end home */


/* single */
.post-title {


}

/* end single */