/* Frontend styles for Web Tools Page Pro */
.aiwpp-grid {
	display:grid;
	gap:20px;
}
.aiwpp-grid.cols-3 {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.aiwpp-card {
	background:#fff;
	padding:16px;
	border-radius:12px;
	box-shadow:0 6px 20px rgba(10, 10, 30, 0.06);
transition:transform .2s;
	text-decoration:none;
	color:inherit
}
.aiwpp-card:hover {
	transform:translateY(-6px)
}
.aiwpp-thumb img {
	width:100%;
	height:140px;
	object-fit:cover;
	border-radius:8px;
	margin-bottom:10px
}
.aiwpp-single .aiwpp-tool {
	margin:18px 0;
}
.aiwpp-single .aiwpp-extra {
	margin-top:20px
}
.webtool-hero::after {
 content: "";
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.5);
}
.webtool-hero .hero-inner {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: auto;
}
.webtool-hero h1 {
	font-size: 42px;
	font-weight: 700;
}
.webtool-hero p {
	font-size: 18px;
	margin-top: 10px;
	color: #e0e0e0;
}
.webtool-section {
	max-width: 1200px;
	margin: 60px 0px 0px 30px;
	padding: 0 20px;
}
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 25px;
	margin-top: 40px;
}
.category-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	transition: 0.3s ease;
	text-align: center;
	padding: 15px 11px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	border: 1px solid #eee;
	max-width:300px;
}
.category-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.category-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}
.category-card h3 {
	padding: 15px;
	font-size: 20px;
	color: #222;
}
.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 25px;
	margin-top: 30px;
}
.tool-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: 0.3s;
}
.tool-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
.tool-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
}
.tool-card .tool-content {
	padding: 15px;
}
.tool-card h4 {
	font-size: 18px;
	margin-bottom: 8px;
}
.tool-card p {
	font-size: 14px;
	color: #555;
}
.webtool-layout {
	display: grid;
	grid-template-columns: 4fr 1fr;
	gap: 20px;
	margin: auto;
	align-items: flex-start;
}
@media (min-width: 768px) {
.sidebar {
 height: 100%;
 box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
}
@media (max-width: 768px) {
 .webtool-layout {
 display: flex;
 flex-direction: column;
 flex-wrap: wrap;
 gap: 40px;
}
}
.aiwpp-category-grid, .aiwpp-subcategory-grid, .aiwpp-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 25px;
	margin: 40px auto;
	max-width: 1200px;
}
.aiwpp-cat-card, .aiwpp-subcat-card, .aiwpp-tool-card {
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
	text-align: center;
	cursor: pointer;
 transition: all .3s;
}
.aiwpp-cat-card:hover, .aiwpp-subcat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.aiwpp-icon {
	width: 50px;
	height: 50px;
	border: 2px solid #2e7d32;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #2e7d32;
	margin: 0 auto 10px;
}
.aiwpp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 15px;
}
.aiwpp-category-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0px 50px 50px -10px rgba(0, 0, 0, 0.1);
	text-align: center;
	padding: 30px 20px;
	transition: all 0.3s ease;
	z-index: 999;
}
.aiwpp-category-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.aiwpp-category-icon {
	width: 50px;
	height: 50px;
	margin: 0 auto 15px;
	border: 2px solid #2e7d32;
	border-radius: 10px;
	color: #2e7d32;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 18px;
}
.aiwpp-category-title {
	font-size: 20px;
	color: #2e7d32;
	font-weight: 700;
	margin-bottom: 8px;
}
.aiwpp-category-count {
	font-size: 14px;
	color: #333;
	opacity: 0.8;
}
/* ====== Modern Pagination Design ====== */
.aiwpp-pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 15px 0;
}

.aiwpp-page-list {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.aiwpp-page-item a,.current{
	padding: 8px 14px;
}
.aiwpp-page-item a,
.aiwpp-page-item span {
  display: inline-block;
  
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: #222;
  text-decoration: none;
  background: transparent;
  transition: all 0.25s ease;
}

.aiwpp-page-item a:hover {
  background: linear-gradient(90deg, #217346, #23a05b);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.aiwpp-page-item .current {
  background: linear-gradient(90deg, #217346, #23a05b);
  color: #fff;
  font-weight: 600;
  pointer-events: none;
}

.aiwpp-page-prev,
.aiwpp-page-next {
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.aiwpp-page-prev i,
.aiwpp-page-next i {
  font-size: 12px;
}
