/* module */ 
.iblog-box-content {
	border-radius: 0px 0px 7px 7px;
	border-left: 1px solid #DBDEE1;
	border-right: 1px solid #DBDEE1;
	border-bottom: 1px solid #DBDEE1;
	padding: 10px;
	display: inline-block;
	width: 100%;
	vertical-align: top;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

.iblog-featured-image {
	float: left;
	display: inline-block;
	padding: 10px;
}	

.iblog-featured-description {
	padding: 10px 0 10px 0;
	line-height: 130%;
}

/* post */
.iblog-post-title {
	padding: 10px 0 10px 0;
	background: #fff;
	margin-top: 15px;
}
.iblog-post-title h1 {
	font-size: 28px;
	font-weight: bold;
	color: #4CAF50; /* Green color for the title */
	margin:20px 0 10px 15px;
}

.iblog-post-info {
	background: #fff;
}

.iblog-author-info {
	margin-left: 15px;
	padding: 6px 0 6px 0;
}

.iblog-author-data {
	font-size: 16px;
	color: #777;
	margin-bottom: 20px;
}
.iblog-post-keywords {
	margin-left: 15px;
	padding: 6px 0 6px 0;
}


.view-more-post {
	background: #fff;
	text-align: center;
	padding: 50px;
  }
  
  .view-more-post .button {
	display: inline-block;
	width: 90%;
	padding: 5px;
	background-color: #f0f0f0;
	color: #333;
	font-size: 16px;
	text-decoration: none;
	border-radius: 30px;
	transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .view-more-post .button:hover {
	background-color: #4CAF50;
	color: #fff;
  }

	
.iblog-post-description {
	padding:10px 0 10px 0;
	margin-left: 15px;
}

.iblog-post-image {
	padding: 20px 0;
	text-align: left;
	margin-left: auto;
	margin-right: auto;	
}

/* listing */
.iblog-filter {
	border-bottom: 1px solid #EEEEEE;
	padding-bottom: 5px;
	overflow: auto;
}

.iblog-filter .display {
	margin-right: 15px;
	float: left;
	padding-top: 4px;
	color: #333;
}

.iblog-filter .limit {
	margin-left: 15px;
	float: right;
	color: #333;
}

.iblog-filter .sort {
	float: right;
	color: #333;
}

/* CSS for Blog Posts List */
.iblog-posts-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	background-color: #fff;
	justify-content: normal;
	padding: 20px;
	margin-top: 15px;
  }
  
  .iblog-posts-list > div {
	width: 22%;
	background-color: #fff;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
  }
  
  .iblog-posts-list > div:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .iblog-posts-list .image {
	width: 100%;
	height: 0;
	padding-bottom: 100%; /* To maintain a square aspect ratio */
	position: relative;
  }
  
  .iblog-posts-list .image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px; /* 圆角只应用于图片 */
  }
  
  .iblog-posts-list .right {
	padding: 15px;
  }
  
  .iblog-posts-list .name {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
  }
  
  .iblog-posts-list .name a {
	text-decoration: none;
	color: #333;
	font-size: 14px;
  }
  
  .iblog-posts-list .name a:hover {
	color: #4CAF50;
  }
  
  .iblog-posts-list .date {
	font-size: 12px;
	color: #777;
  }
  
  .iblog-post-title .social-icons {
	display: flex;
	gap: 15px;
	margin: 15px 0px 0px 15px;
  }

  
  .iblog-post-title .social-icons a {
	text-decoration: none;
	display: flex;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  }  
  
  .iblog-post-title .social-icons a img{
	width: 40px;
	height: 40px;
  }
  .iblog-post-title .social-icons a:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px #fff;
  }

.iblog-button {
	margin: 5px;
	float: right;
}

.iblog-posts-grid > div {
	width: 130px;
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	margin-bottom: 15px;
}

.iblog-posts-grid .image {
	display: block;
	margin-bottom: 0px;
}

.iblog-posts-grid .description {
	display: none;
}


.iblog-category-data {
    display: block;
    float:left;
    margin-left: 10px;
}

.iblog-category-data a {
    text-decoration:none;
    font-size:16px;
}

.iblog-pagination {
	border-top: 1px solid #EEEEEE;
	padding-top: 8px;
	display: inline-block;
	width: 100%;
	margin-bottom: 10px;
}

.iblog-pagination .links {
	float: left;
}

.iblog-pagination .links b {
	display: inline-block;
	border: 1px solid #269BC6;
	padding: 4px 10px;
	font-weight: normal;
	text-decoration: none;
	color: #269BC6;
	background: #FFFFFF;
}

.iblog-pagination .results {
	float: right;
	padding-top: 3px;
}

.iblog-pagination .links a {
	display: inline-block;
	border: 1px solid #EEEEEE;
	padding: 4px 10px;
	text-decoration: none;
	color: #A3A3A3;
}

/* .iblog-header {
	display:inline-block;
	width:100%;
	vertical-align:top;	
	padding-top:20px;
} */
/* 容器样式 */
/* CSS 样式 */
.iblog-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
  }
  
  .header-left {
	width: 60%;
	display: flex;
	margin-left: 45px;
  }
  
  .header-right {
	width: 40%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
  }
  
  .category-container {
	flex: 1;
	display: flex;
	align-items: center;
  }
  
  .category {
	display: flex;
	align-items: center;
	background-color: #4CAF50; /* 绿色背景，符合设计图 */
	padding: 2px 2px 2px 10px;;
	border-radius: 30px;
	margin-right: 10px;
  }
  
  .category-label {
	color: #fff;
	margin-right: 10px;
  }
  
  .category a {
	text-decoration: none;
	color: #fff; /* 链接颜色为白色 */
	font-size: 14px;
  }
  
  .category-select {
	border-radius: 0px 20px 20px 0px; /* 圆角选择框 */
	width: 380px;
	border: none !important;
	outline: none !important;
	appearance: none; /* 移除默认箭头 */
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="%234CAF50"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
	background-color: #fff; /* 下拉框背景色 */
	font-size: 14px;
	padding: 5px;
  }

  .category-select:focus {
	background-color: #fff !important; /* 下拉框背景色 */
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="%234CAF50"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
  }
  
  .reset-button {
	padding: 5px 16px;
	border-radius: 20px; /* 按钮圆角 */
	border: none;
	background-color: #4CAF50; /* 重置按钮颜色为绿色 */
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-weight: bold;
	font-size: 14px;
  }
  
  .reset-button:hover {
	background-color: #388E3C; /* 悬停时按钮颜色加深 */
  }
  
  .iblog-search {
	width: 300px;
	float: left;
	display: flex;
	align-items: center;
	background-color: #FF7043; /* 橙色背景，符合设计图 */
	border-radius: 30px;
	margin-right: 10px;
	padding: 2px 2px 2px 10px;
  }
  
  .search-label {
	width: 120px;
	color: #fff;
	margin-right: 10px;
	font-size: 14px;
  }
  
  .search-field {
	width: 100%;
	padding: 7px  !important;
	border-radius: 0px 20px 20px 0px !important; /* 搜索框圆角 */
	border: none !important;
	outline: none !important;
  }
  
  .search-button {
	padding: 6px 16px;
	border-radius: 20px; /* 按钮圆角 */
	border: none;
	background-color: #FF7043; /* 按钮颜色为橙色 */
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-weight: bold;
	font-size: 14px;
  }
  
  .search-button:hover {
	background-color: #E64A19; /* 悬停时按钮颜色加深 */
  }

.iblog-header-image {
	display:inline-block;
	width:100%;
	vertical-align:top;	
}
/* .iblog-header-image img display full div */
.iblog-header-image img {
	width: 100%;
}

.iblog-keywords-string {
	font-weight: bold;	
}

.iblog-share-links {
	float: left;	
}

/* box nav */
ul.box-nav,
ul.box-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.box-nav > li {
	padding: 0;
}
ul.box-nav > li + li {
	border-top: 1px solid #EEEEEE;
}
ul.box-nav > li > a {
	text-decoration: none;
	color: #333;
	padding: 8px;
	display: block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
ul.box-nav > li > a:hover {
	background-color: #f7f7f7;
}
ul.box-nav > li ul {
	padding: 5px 0 0 5px;
}
ul.box-nav > li ul > li:last-child {
	padding-bottom: 0;
}
ul.box-nav > li a.active {
	font-weight: bold;
}
ul.box-nav > li a.active + ul {
	display: block;
}
ul.box-nav > li ul > li > a {
	text-decoration: none;
	display: block;
}
ul.box-nav > li ul > li > a.active {
	font-weight: bold;
}
