/*
Theme Name: XWP Directory & Listing
Theme URI: https://iseoai.com/
Author: Mr. Silent
Author URI: https://iseoai.com/
Description: Directory & Listing theme
Version: 1.0
*/

/* 🎨 Cấu hình chung */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0px;
    padding: 5px;
	font-size: 16px;
	overflow-wrap: anywhere;
}
h1, h2, h3{
	text-decoration: none;
    padding: 5px 0;
}
h1 { color: #111827; }
h2 { color: #1f2937; }
h3 { color: #4e8ef5; }

h2{
	font-size:25px;
}
a {
    text-decoration: none;
}
a:hover{
	color:blue;
}
p {
    line-height: 22px;
}
.post-content ol, .post-content ul, .page-body ul, .page-body ol {
    margin-left: 30px;
}
li {
    line-height: 25px;
}

.post-sidebar h2, .ctchild .logo{
		border-bottom: 2px solid #f5bdff;
		text-align: center;
		inline-size: fit-content;
		justify-self: center;
	    margin-bottom: 10px;
}

/* 🏠 Container chính */
h2.best-tools {
    justify-self: center;
    margin-top: 15px;
	text-align: center;
}
.container {
            margin: auto;
            padding: 5px;
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
}

/* 🔖 Logo & tiêu đề */
.ctchild {
    margin: 20px 20px;
	text-align: center;
}
.ctchild .logo {
    font-size: 25px;
    font-weight: bold;
    color: #0d3b66;
}

.ctchild .subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.ctchild2 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Cho phép các phần tử con xuống dòng khi không đủ chỗ */
    gap: 10px; /* Tạo khoảng cách giữa các phần tử */
}
@media (max-width: 768px) {
    .ctchild2 {
        flex-direction: column; /* Xếp chồng các phần tử theo chiều dọc */
        align-items: center; /* Căn giữa các phần tử */
    }
}
.ctchild2 form {
    width: 80%;
	margin: auto;
}

/* 🔍 Ô tìm kiếm */
.search-box {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
}

/* 📢 Mạng xã hội */
.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    margin: 0 8px;
    text-decoration: none;
    font-size: 18px;
    color: #0d3b66;
}

/* 📂 Dropdown danh mục */
.category-select {
    width: 175px;
    padding: 0px 10px;
    border-radius: 999px; /* pill shape */
    border: 1px solid #e5e7eb;
    font-size: 13px;
    line-height: 1.4;
    background-color: #ffffff;
    color: #1f2937;
    height: auto;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236b7280' d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 34px;
}

.category-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}



/* ✅ Nút Verified */
.verified {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.verified:hover {
    background-color: #0056b3;
}

/*Top list companies*/
.top-list {
    justify-items: center;
	background: black;
    padding: 2%;
}
.top-list h2 {
    padding-bottom: 0;
    border-bottom: 2px solid #ddd;
	text-align: center;
	color:#c314cf;
}
/* Default Tags*/
.submit-btn a, #menu-item-1860 a {
    background: #000000;
    color: #f5f5f5;
	padding: 6px 12px;
    border-radius: 20px;
	text-decoration: none;
	display: inline-block;
	box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}
.submit-btn a:hover{background: #04afb5;}
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tagcloud a {
  display: inline-block;
  background-color: #f2f2f2;
  color: #333;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tagcloud a:hover {
  background-color: #0073aa;
  color: #fff;
  transform: scale(1.05);
}
.tagcloud a::after {
  content: attr(title);
  font-size: 0.8em;
  color: #999;
  margin-left: 4px;
}
a.tag-cloud-link {
    align-self: end;
}


/* 🎟️ Tag Pricing */
.tags {
	text-align: center;
}

/* Base pricing tag */
.pricing-tag {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    border-radius: 999px; /* badge tròn đẹp hơn */
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Hover chung – không ghi đè màu */
.pricing-tag:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	filter: brightness(0.95);
}

/* 🎨 Pricing colors */
.pricing-tag.full-free,
.post-badge.full-free {
    background: #e6f9f0;
    color: #1e7f5c;
}

.pricing-tag.free,
.post-badge.free {
    background: #dcfce7;
    color: #166534;
}

.pricing-tag.freemium,
.post-badge.freemium {
    background: #eef2ff;
    color: #3730a3;
}

.pricing-tag.free-trial,
.post-badge.free-trial {
    background: #fff7ed;
    color: #9a3412;
}

.pricing-tag.paid,
.post-badge.paid {
    background: #fee2e2;
    color: #991b1b;
}


/* 📌 Danh mục trang chủ */
.category-home {
    background: white;
    padding: 10px 2px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: left;
}
@media (max-width: 500px) {
	.category-home {	width: 95%;}
}

.category-home h3, .category-home h2 {
    margin: 0 0 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ddd;
	text-align: center;
	font-size: 20px;
}

/* 📌 Danh sách */
.list {
    max-height: 70vh;
    overflow-y: auto;
    counter-reset: list-counter;
}

.list-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
    align-items: center;
    counter-increment: list-counter;
	display: flex;
	position: relative;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item::before {
    content: counter(list-counter) ". ";
    font-weight: bold;
	overflow-wrap: normal;
}

.list-item a {
    text-decoration: none;
    color: #302b2e;
    margin-left: 5px;
}
.list-item a:hover {
    font-weight: bold;
	color: #fb1aff;
	font-weight: bold;
}

.list-item a::after {
    content: " ↗";
    color: blue;
}


a.more-link {
    color: #1f2020;
    padding: 5px 5px 5px 10px;
    border-radius: 0 0 10px 10px;
    background: #f2f2f2;
    font-size: 13px;
    text-align: center;
    display: block;
    letter-spacing: 2.5px;
    margin-top: 15px;
    text-decoration: unset;
}
a.more-link:hover {
	background: #e5efec;
}

/* Tùy chỉnh thanh cuộn cho trình duyệt Webkit (Chrome, Edge, Safari) */
.list::-webkit-scrollbar {
    width: 6px; /* Độ rộng thanh cuộn */
}

.list::-webkit-scrollbar-track {
    background: #f1f1f1; /* Màu nền của track */
    border-radius: 10px;
}

.list::-webkit-scrollbar-thumb {
    background: #888; /* Màu của thanh cuộn */
    border-radius: 10px;
}

.list::-webkit-scrollbar-thumb:hover {
    background: #555; /* Màu khi hover */
}
/* 🏷️ Tiêu đề danh mục */
.category-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f16529;
    display: inline-block;
}

h2.pricing-title {
    padding: 20px;
}

/* 📝 Lưới bài viết */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
	margin-bottom: 10px;
}

/* 📰 Card bài viết */
.post-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

/* 🏷️ Nhãn giá */
.post-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    line-height: 1;
    white-space: nowrap;
    position: absolute;
    top: 0px;
    right: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-right: 5px;
}


.post-badge:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}


/* ⭐ Đánh giá sao */
.post-rating {
    color: #ffa500;
    font-weight: bold;
}

/* 🔗 Tiêu đề bài viết */
.post-title a {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    text-decoration: none;
}

.post-title a:hover {
    color: #f16529;
}

/* 📝 Mô tả bài viết */
.post-excerpt {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

/* 🎯 Nút "Visit" */
.visit-button {
    display: block;
    text-align: center;
    background: #0073aa;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3sease;
    max-width: fit-content;
    justify-self: center;
}

.visit-button:hover {
    background: #00557a;
}

/* 📌 Phân trang */
.pagination {
        padding: 20px;
}

.pagination .nav-links .page-numbers {
    background-color: #fff;
    color: #085c8f;
    padding: 10px 20px;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid #d1daf378;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
    border-color: transparent;
    background: #127293;
    color: #fff;
}

/* 📌 Logo bài viết */
.post-info .post-logo, .favorite-posts .post-logo {justify-content: center;}
.post-logo {
    display: flex;
	position: relative;
	gap: 10px; /* Khoảng cách giữa logo và title */
    align-items: center;
    margin: auto;
}
.post-logo img {
    width: 30px;
    max-height: 30px;
  /*  object-fit: contain;
	margin-right: 10px;
	*/
}


/* 🎨 Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ------ Logo ------ */
.logo img {
    max-width: 60px;
    height: auto;
}

/* Header */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/* 🌟 Logo */
.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}
/* 🌐 Main Menu Layout */
.main-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🌟 Menu List */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.menu-list li {
    position: relative;
}

/* 🌟 Menu Links */
.menu-list li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease, transform 0.2s ease;
    border-radius: 8px;
}

.menu-list li a:hover {
    color: #0073aa;
    transform: translateY(-2px);
}

/* 🌟 Current Menu Item */
.current-menu-item a {
    background: linear-gradient(135deg, #0073aa, #009be5);
    color: #fff !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* 🌟 Dropdown Menu */
.menu-list .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 120%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    padding: 8px 0;
    transform: translateY(15px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.3s;
    z-index: 999;
}

/* 🌟 Hover hiển thị submenu mượt hơn */
.menu-list li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

/* 🌟 Submenu Links */
.menu-list .sub-menu li a {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    border-radius: 0;
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.menu-list li:hover > a , .menu-list .sub-menu li a:hover {
    background: #007bff;
    color: #fff;
    transform: translateX(6px);
}

/* 🌟 Dropdown Icon */
.menu-item-has-children > a {
    position: relative;
    padding-right: 22px;
}

.menu-item-has-children > a::after {
    content: "▾";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
    color: #007bff;
    transform: translateY(-50%) rotate(180deg);
}

/* 🌙 Smooth hover & click transitions */
.menu-list li,
.menu-list .sub-menu li {
    transition: all 0.25s ease-in-out;
}
/* 🌟 Nút menu ☰ cho mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
/* 🌟 Bỏ dấu chấm ở menu con */
.menu-list, 
.menu-list .sub-menu {
    list-style: none; /* Loại bỏ dấu chấm */
    padding: 0;
    margin: 0;
}

/* 🌟 Hiệu ứng hover cho menu */
    .menu-list li a {
		text-decoration: none;
		font-size: 16px;
		font-weight: 500;
		color: #333;
		padding: 10px 15px;
		display: block;
		transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    }
	
    
/* 🌟 Responsive */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        z-index: 1001;
		background: #0074b3;
    }

    .menu-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 15px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
	.menu-list.active {
        display: flex;
    }
	.menu-list li {
        display: block;
        padding: 10px 20px;
        width: 100%;
    }
	.menu-list .sub-menu {
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        transform: none;
    }

    .menu-item-has-children.open .sub-menu {
        display: block;
    }

    .menu-item-has-children.open .sub-menu {
        display: block;
    }

    .menu-list.active {
        display: flex;
        flex-direction: column;
    }
}




/* 🎨 Bố cục chính */
.post-container {
    max-width: 1200px;
    margin: auto;
    padding: 5px;
}

/* 📌 Header bài viết */
.post-header {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    align-items: center; /* Căn giữa nội dung theo chiều dọc */
    text-align: center; /* Căn giữa văn bản nếu có */
}

.cat-in-single {
    text-align: center;
}
.link-cat-single {
    display: inline-flex !important;
    background: #fff;
    padding: 2px 5px;
    border-radius: .25rem;
    flex-wrap: wrap;
    margin: 5px;
    color: #687483;
    text-transform: uppercase;
    border: 1px solid #cfcfcf;
    font-size: 12px;
	text-decoration: none;
}

/* Responsive cho màn hình nhỏ hơn 1024px (Tablet) */
@media (max-width: 1024px) {
    .post-header {
        padding: 15px; /* Tăng padding để phù hợp với nội dung */
    }
}

/* Responsive cho màn hình nhỏ hơn 768px (Mobile) */
@media (max-width: 768px) {
    .post-header {
        flex-direction: column; /* Xếp chồng các phần tử theo chiều dọc */
        padding: 15px; /* Giữ padding thoải mái */
        text-align: center; /* Căn giữa văn bản cho mobile */
    }
}

/* 📷 Ảnh Featured */
.post-featured-image{
	width: 45%;
}
.post-featured-image img {
    width: 95%;
    margin-right: 20px;
	border: 4px solid #b4bdc380;
    background: #e5e5e500;
    border-radius: 22px;
    box-shadow: 1px 4px 5px 0 #aad1ff;
}

/* ℹ Thông tin bài viết */
.post-info {
    flex: 1;
    width: 45%;
}

.post-title {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(to right, rgb(219 6 255 / 30%), rgba(52, 152, 219, 0));
    padding: 5px;
}



.post-description {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

/* ⭐ Meta (Likes, Price, Rating) */
.post-meta {
    margin: 10px 0;
    font-size: 14px;
    color: #777;
	display:flex;
	justify-content: center;
}

.post-actions {
    margin: 15px;
	display: flex;
	justify-content: center;
}
img.emoji {
    color: #643d89;
    font-size: large;
}
button#like-button {
    border: none;
    background: none;
}
button#like-button:hover {
    cursor: pointer;
}
.stars:hover {
    cursor: pointer;
}
.star:hover {
    color: #ff8d00;
}
.space{
	margin-right:10px;
}

.post-price {
    color: #0073aa;
    font-weight: bold;
}

.btn-favorite,
.btn-visit {
    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.btn-favorite {
    background: #ff4d4d;
    color: white;
    border: none;
}

.btn-visit {
    background: #007bff;
    color: white;
}

/* 📜 Nội dung bài viết + Sidebar */
.post-content-container {
	flex-wrap: wrap;
    margin-top: 20px;
}

.post-content {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive cho màn hình nhỏ hơn 1024px (tablet) */
@media (max-width: 1024px) {
    .post-content, .post-featured-image, .post-info {
        width: 90%; /* Tăng độ rộng để tận dụng không gian màn hình */
    }
}

/* Responsive cho màn hình nhỏ hơn 768px (mobile) */
@media (max-width: 768px) {
    .post-content, .post-featured-image, .post-info {
        width: 100%; /* Full chiều rộng trên điện thoại */
        padding: 15px; /* Giảm padding để tiết kiệm không gian */
        border-radius: 5px; /* Giảm độ cong của bo góc */
    }
}


.post-sidebar {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.post-sidebar ul{
	    margin: 0;
		margin-bottom: 15px; 
}
.btn-center {
    justify-self: center;
}
/* Responsive cho màn hình nhỏ hơn 1024px (Tablet) */
@media (max-width: 1024px) {
    .post-sidebar {
        margin-left: 10px; /* Giảm khoảng cách để tối ưu không gian */
        padding: 15px; /* Giảm padding để phù hợp với màn hình nhỏ hơn */
    }
}

/* Responsive cho màn hình nhỏ hơn 768px (Mobile) */
@media (max-width: 768px) {
    .post-sidebar {
        flex: none; /* Loại bỏ flex để sidebar không chia tỉ lệ với post-content */
        width: 100%; /* Chiếm toàn bộ chiều rộng trên màn hình nhỏ */
        margin-left: 0; /* Loại bỏ khoảng cách bên trái */
        margin-top: 20px; /* Thêm khoảng cách phía trên để ngăn cách với nội dung */
    }
}

/* 🔗 Bài viết liên quan */
.related-posts {
    list-style: none;
    padding: 0;
}

.related-item {
    margin-bottom: 15px;
}

.related-item a {
    text-decoration: none;
    display: block;
    font-weight: bold;
}

.related-item span {
    font-size: 14px;
    color: #777;
}

/*css trang favorite*/
.favorite-container {
    margin: auto;
    padding: 20px;
}

.favorite-posts {
    list-style: none;
    padding: 0;
}

.favorite-posts li {
    align-items: center;
    background: #fff;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.favorite-posts img {
        width: 30px;
    max-height: 30px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.favorite-info {
	justify-content: center;
}

.favorite-info h2 {
    font-size: 18px;
    margin: 0 0 5px;
}

.favorite-info p {
    font-size: 14px;
    color: #666;
}

.remove-favorite {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
	margin: 10px 0;
    cursor: pointer;
    border-radius: 3px;
}
/* CSS cho footer */
.site-footer {
    background: #0D1B2A;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo {
    max-width: 110px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    max-width: 180px;
}

.footer-logo p {
    margin-top: 10px;
    color: #a3c4f3;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
	padding: 0 5px;
	list-style: none;
}

.footer-menu li a {
    text-decoration: none;
    color: #a3c4f3;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #a3c4f3;
}

.footer-legal {
    display: flex;
    gap: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #a3c4f3;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

// css page.php
.page-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    gap: 30px;
}

.page-content {
    flex: 2;
    background: #ffffff;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
	text-align: center;
}

.page-body {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
	padding: 10px 20px;
}

.page-sidebar {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
code {
    position: relative;
    display: inline-grid;
    width: fit-content;
    background: #f4f4f4;
    padding: 5px;
    margin: 5px;
    overflow-x: auto;
    position: relative;
}
blockquote {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: normal;
  font-weight: 500;
  color: #333;
  border-left: 6px double #999;
  background: #fcf8f0;
  padding: 6px 10px;
  margin: 10px 0;
	quotes: "“" "”" "‘" "’";
}


/*Contact Form*/

form.wpcf7-form {
  background: #fff;
  max-width: 600px;
  margin: 30px auto;
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

form.wpcf7-form p {
  margin-bottom: 20px;
}

form.wpcf7-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #333;
}

form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="email"],
form.wpcf7-form textarea {
  width: 100%;
  padding: 12px 20px;
  border: none;
  background: #f2f2f2;
  border-radius: 30px;
  box-sizing: border-box;
  font-size: 16px;
  outline: none;
  resize: none;
}

form.wpcf7-form textarea {
  border-radius: 20px;
  min-height: 120px;
}

form.wpcf7-form input[type="submit"] {
  background-color: #7e57c2;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 40px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

form.wpcf7-form input[type="submit"]:hover {
  background-color: #6a45b1;
}

.wpcf7-response-output {
  margin-top: 20px;
  text-align: center;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
}

th, td {
  border: 1px solid #ccc;
  padding: 5px;
  text-align: left;
  vertical-align: top;
	min-width: 80px;
}

thead {
  background-color: #f4f4f4;
}

/* Css nút copy thẻ quote*/
.blockquote-container {
    /* Đảm bảo div cha là position: relative để nút con có thể định vị tuyệt đối */
    position: relative;
}

.copy-button {
    /* Định vị nút tuyệt đối trong container */
    position: absolute;
    top: 3px; /* Cách mép trên */
    right: 3px; /* Cách mép phải */
    
    /* Kiểu dáng nút */
    background-color: #007bff;
    color: white;
    border: none;
    padding: 3px 3px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7; /* Làm mờ khi không hover */
    transition: opacity 0.2s, background-color 0.2s;
    z-index: 10; /* Đảm bảo nút nằm trên blockquote */
    
    /* Xóa padding/margin mặc định của nút */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-button:hover {
    opacity: 1; /* Hiển thị rõ khi di chuột vào */
    background-color: #0056b3;
}

.copy-button svg {
    margin: 0;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}


/* Hiệu ứng vào */
@keyframes fadeInPromo {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
	.promo-items{
		display:block;
	}
  .promo {
    padding: 20px;
  }
  .promo h2 {
    font-size: 22px;
  }
  .promo-items a {
    width: 100%;
  }
	.promo-items p {
  margin: 5px;
	float: none;
    width: 100%;
	}
	.gallery-item{
    	float: none !important;
    	width: 100% !important;
		}
}

/*Dappier chatbot*/
.cTwQ-w_askAiHeader {
    display: none !important;
}
._9tTgMA_chatTextarea {
    border: 1px solid #674ad9 !important;
}

/*Sản phẩm amazon*/
/* ===== PRODUCT BOX ===== */
.affiliate-products {
    margin: 30px 0;
}

.affiliate-products h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* ===== GRID ===== */
.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ===== CARD ===== */
.affiliate-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    background: #fff;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.affiliate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ===== IMAGE ===== */
.affiliate-card img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* ===== TITLE ===== */
.affiliate-card h4 {
    font-size: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

/* ===== PRICE ===== */
.affiliate-price {
    font-size: 18px;
    font-weight: bold;
    color: #B12704;
    margin-bottom: 10px;
}

/* ===== BUTTON ===== */
.affiliate-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff9900, #ff6600);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.affiliate-btn:hover {
    opacity: 0.9;
}

/* ===== BADGE ===== */
.affiliate-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d4d;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 5px;
}

/* Ẩn google recaptcha*/
.grecaptcha-badge {
    display: none !important;
}

.aligncenter {
    clear: both;
    margin: auto;
    display: block;
}
.alignleft {
    display: block;
    float: left;
    margin-right: 20px;
}
.alignright {
    display: block;
    float: right;
    margin-left: 20px;
}

/* Css trang Submit */
/* 1. Tối ưu khung chứa nội dung chính */
.iseoai-intro {
    background: #ffffff !important; /* Đổi nền từ xám sang trắng tinh tế */
    border: 1px solid #eef2f5;
    border-radius: 12px; /* Bo tròn góc hiện đại */
    padding: 0px 35px; /* Tăng khoảng cách lề bên trong */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); /* Đổ bóng mờ mịn */
    margin: 0px auto;
    max-width: 700px;
}

/* Tối ưu đoạn văn mô tả */
.intro-sub, .intro-note {
    font-size: 16px;
    line-height: 1.7; /* Tăng khoảng cách dòng giúp dễ đọc */
    color: #4a5568; /* Màu chữ xám đen công nghệ, không dùng màu đen tuyền */
    margin-bottom: 15px;
}

/* 2. Thiết kế lại Bảng giá cực đẹp */
.iseoai-table-wrapper {
    margin: 25px 0;
    overflow-x: auto; /* Hỗ trợ kéo ngang mượt mà trên điện thoại */
}

.iseoai-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
	border: 2px solid darkmagenta;
}

/* Hàng tiêu đề của bảng */
.iseoai-table th {
    background-color: #f8fafc !important; /* Nền xám nhạt cao cấp */
    color: #1e293b !important; /* Chữ đậm */
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 2px solid #e2e8f0 !important; /* Đường gạch chân tiêu đề rõ ràng */
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Các ô chứa nội dung */
.iseoai-table td {
    padding: 16px;
    border-bottom: 1px solid #edf2f7 !important; /* Đường viền ngang rất mờ */
    border-left: none !important; /* Xóa bỏ đường viền dọc cũ kỹ */
    border-right: none !important;
    vertical-align: top;
}

/* Tạo hiệu ứng highlight đổi màu khi di chuột vào từng hàng */
.iseoai-table tbody tr:hover {
    background-color: #fdfdfd;
}

/* Làm nổi bật tên gói và giá tiền */
.iseoai-table td strong {
    color: #0f172a;
    font-size: 16px;
}

/* Định dạng khoảng cách cho các icon tick xanh */
.iseoai-table td br + text, 
.iseoai-table td {
    line-height: 1.8;
}
