/*
Theme Name: TrustAnalyser Theme
Theme URI: https://trustanalyser.com/trustanalyser-theme
Author: Ishant Singh Rajput
Author URI: https://instagram.com/IshantSinghIND
Description: A custom WordPress theme based on the TrustAnalyser design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trustanalyser-theme
Tags: custom, responsive, business
*/
#reviewform p.comment-form-comment label{
    width: -webkit-fill-available;
    display: inline-block;
}
	a.comment-reply-link {
    background: lightblue;
    border-radius: 4px;
    padding: 5px;
}
.search-article-box .entry-summary {
    text-align: -webkit-center;
    background-color: #9d7419;
    margin-inline: 2%;
    border-radius: 22px;
    padding: 6px;
}
.search-article-box .entry-title {
    font-size: 25px;
    text-align: center;
}
.ta-dashboard-section.password-change {
    padding: 15px;
    margin-top: 44px;
}
a.offer-button {
    background: red;
    padding: 5px;
    border-radius: 5px;
    color: white;
}
img.offer-image {
    border-radius: 5px;
	width: 208px !important;
    height: 150px !important;
	justify-self: anchor-center;
    display: block;
}
img.offer-source-logo {
    width: 104px;
    height: auto;
    position: relative;
    bottom: -10px;
}
span.offer-category {
    font-size: small;
    top: 2px;
    position: relative;
}
.offer-box {
    background: black;
    width: 203px !important;
    padding: 7px;
    border-radius: 10px;
}
.custom-review-card .reviewer-name .user-verified-badge-display img {
    width: 18px !important;     /* Naya size, !important inline style ko override karne ke liye */
    height: 18px !important;    /* Naya size */
	background: white !important;
}
.says{
	display: none;
}
a.comment-reply-login {
    display: none;
}
cite.fn {
    font-family: Roboto, Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: bold !important;
}
p.no-reply-message {
    font-size: x-small;
    text-align: end;
}
.business-title-area {
    top: -10px;
    position: relative;
}
nav#trustanalyser_breadcrumbs a {
    color: white;
}
/* Header styling */
#website-header {
    width: -webkit-fill-available;
    display: inline-flex;
    align-items: center;
    background: #000000;
    position: fixed;
    z-index: 10;
    top: -1px;
    justify-self: auto;
    height: 65px;
    margin-bottom: 20px;
}

p {
	font-family: Roboto, Arial, sans-serif !important;
}

.site-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.custom-logo-link img {
    max-height: 50px; /* Logo height */
    height: auto;
    margin-right: 20px; /* Space between logo and text */
    width: auto; /* Maintain aspect ratio */
    padding-left: 30px; /* Space on the left */
}

/* Canvas styling */
.canvas {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    padding: 20px;
    display: flex;
    align-items: center; /* Center items vertically */
}/* Styling for the ishantcanvas wrapper */
.ishantcanvas {
    position: relative;
    width: 100%;
    height: auto;
    background: transparent;
    overflow: hidden;
	padding-bottom: 80px;
}

body.home #sidebar.sidebar.open nav {
    display: block !important;
}

/* Canvas Styling */
#canvas1 {
    position: absolute;
    top: 0;
    left: 0;
    width: -webkit-fill-available;
    height: auto;
	display: block;
    z-index: -1; /* Ensure the canvas stays in the background */
}

/* Ensure content inside ishantcanvas is positioned correctly */
.ishantcanvas h1,
.ishantcanvas .search-bar,
.ishantcanvas .category-menu {
    position: relative;
    z-index: 1; /* Ensure content appears above the canvas */
}

/* Navigation menu styling */
header nav {
    margin-left: auto; /* Push the nav to the right */
    display: flex;
    align-items: center; /* Align items vertically */
}

header nav ul {
    list-style: none; /* Remove default list styling */
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 20px; /* Space between menu items */
    margin-left: 20px;
}

header nav ul li {
    display: inline-block; /* Ensure items are inline */
}

header nav ul li a {
    text-decoration: none; /* Remove underline */
    color: #000000; /* Black text color */
    font-weight: bold;
    background-color: #ffffff; /* White background for buttons */
    border-radius: 25px;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

header nav ul li a:hover {
    background-color: #f4a800; /* Blue background on hover */
    color: #fff; /* White text on hover */
}

/* Body styling */
body {
    background-color: #000000; /* Black background */
    color: #ffffff; /* Optional: White text for better contrast */
}

body, html {
    overflow-x: hidden; /* Prevent horizontal overflow */
    margin-top: 32px  !important;
}

.search-bar {
    text-align: center;
    margin: 100px;
    margin-top: 50px; /* Space above the search bar */
}

.search-field {
    width: 500px; /* Width of the search input */
    padding: 10px;
    height: 41px;
    background-color: #ffffff; /* White background for input */
    border-radius: 25px; /* Rounded corners */
    border: 1px solid #ddd; /* Subtle border */
    font-size: 16px; /* Font size */
}
.search-submit {
    background-color: #ff0101 !important; /* Blue button */
    color: #ffffff; /* White icon */
    border: none;
    height: 38px;
    margin-left: -41px;
    width: 38px; /* Make it a square button */
    border-radius: 25% !important; /* Circular button */
    cursor: pointer;
    font-size: 17px; /* Icon size */
    display: inline;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
	top: 2px !important;
    bottom: 2px !important;
    position: relative !important;
}

.mainsearchbar {
    display: inline-flex;
}

.search-submit:hover {
    background-color: #f4a800; /* Darker blue on hover */
}

.search-heading {
    text-align: center;
    font-size: 4.5rem;
    color: #f4a800; /* White text */
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #82828285;
    border-radius: 15px;
    margin-inline: 10%; /* Space on the sides */
	width: fit-content;
    padding-inline: 41px;
    justify-self: anchor-center;
}

.header-search-form .search-field { 
    width: 100%;
    color: black; /* Black text color */
}

/* Category Menu Styling */
.category-menu {
    margin-top: -14px;
}

.categorywalabutton {
    text-align: center;
}

.category-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Hide overflowing content */
    flex-wrap: wrap; /* Allow items to wrap */
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px; /* Space between category items */
    transition: transform 0.3s ease-in-out; /* Smooth scrolling */
    position: relative;
}

ul.category-list {
    display: flex;
    justify-content: center; /* Center the list items */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    margin-top: 40px; /* Space above the category list */
}

.category-list li {
    display: inline-block;
}

.category-list li a {
    text-decoration: none;
    width: max-content;
    color: #000000; /* Black text */
    font-weight: bold;
    background-color: #ffffff; /* White background */
    padding: 10px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    transition: background-color 0.3s, color 0.3s;
}

.category-list li a i {
    font-size: 1.2rem; /* Icon size */
    color: #f4a800; /* Icon color */
}

.category-list li a:hover {
    background-color: #f4a800; /* Darker yellow on hover */
    color: #ffffff; /* White text on hover */
}

.category-list li a:hover i {
    color: #ffffff; /* White icon on hover */
}

.category-nav {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.category-nav:hover {
    background-color: #f4a800; /* Darker yellow on hover */
}

.see-more-btn {
    display: inline-block;
    margin-top: 10px;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.see-more-btn:hover {
    background-color: #f4a800;
    color: #ffffff;
}

/* Best Service Company Review Section */
.best-service-reviews {
    padding: 50px 20px;
    text-align: center;
}
.best-service-reviews h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.review-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap */
}
.review-box {
    background-color: #f4a800;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    height: 100px;
    text-align: left;
}
.review-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: inline;
}
.review-box p {
    font-size: 1rem;
    margin-bottom: 10px;
}
.review-box .read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.review-box .read-more:hover {
    text-decoration: underline;
}

/* Offer Section */
.business-offer {
    padding: 50px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-align: center;
    margin-bottom: 100px;
    margin-top: 100px; /* Space above the offer section */
}
.business-offer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.business-offer p {
    font-size: 1.2rem;
    margin-bottom: 20px;
	text-wrap-style: balance;
}
.business-offer .get-started-btn {
    color: #ffffff;
    background-color: #ff1010;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
	bottom: 10px;
    position: relative;
}
.business-offer .get-started-btn:hover {
    background-color: #f4a800;
    color: #ffffff;
}
.containerget-started {
    background-color: #000000;
    border: solid;
    border-radius: 20px;
	display: flex;
	width: 765px;
	max-width: 100%;
    justify-self: anchor-center;
}

/* Container Styling */
.container {
    max-width: 1200px; /* Set a maximum width */
    width: 100%; /* Ensure it scales to smaller screens */
    margin: 0 auto; /* Center the container */
}




/* Footer Styling */
footer {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    padding: 0px 20px;
}

.footer-content {
    display: flex;
flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
	margin-top: 20px;
    }

.footer-section {
    padding-inline: 15px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f4a800; /* Highlighted heading color */
    text-align: center;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #f4a800; /* Highlighted link color */
}


.social-media li a i {
    font-size: 1.2rem;
    color: #f4a800; /* Icon color */
}

.footer-bottom {
background-color: #222; /* Dark background */
    padding: 15px 20px;
    text-align: center;
        border-top: 1px solid #444; /* Subtle border at the top */
}

.footer-bottom span {
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between links */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-bottom .footerlink {
    color: #ffffff; /* White text */
    text-decoration: none;
    font-size: 0.9rem;
transition: color 0.3s ease;
}

.footer-bottom .footerlink:hover {
    color: #f4a800; /* Highlight color on hover */
}

.footer-bottom2 {
    background-color: #111; /* Slightly darker background */
    padding: 0px 15px;
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff; /* White text */
    border-top: 1px solid #333; /* Subtle border at the top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-bottom2 .footer-left,
.footer-bottom2 .footer-right {
    margin: 5px 0;
}

.footer-bottom2 .footer-right {
    font-weight: bold;
    color: #f4a800; /* Highlight color for "Powered by" text */
}
	
/* Responsive adjustments for 450px smaller screens */
@media (max-width: 450px) {
	
	#main {
    margin: 1px !important;
	}
	.dashboard-offers-list {
    font-size: 2.6vw;
}
	.business-offer h2 {
    font-size: 5vw;
}
	.business-offer p {
    font-size: 3.5vw;
}
	
	    .business-logo img {
        max-width: 90px;
        width: 100%;
    }
	 .author-title {
     font-size: 4.5vw !important; /* Adjust size */
	 padding: 20px 17px;
 }
	.user-verified-badge-display{
		margin-left: 0 !important;
	}
	.userverifiedbadge{
		width: 20px !important;
		height: 20px !important;
	}
	body.single h1{
    font-size: 6vw !important;
}
	.single-business-page .business-description.entry-content {
    font-size: 3.7vw;
}
	.widget-title, .section-title, .feature-images-title{
		font-size: 5vw !important;
		color: #f4a800 !important;
	}
	table.business-details-table.text-color-change {
    font-size: 3.5vw;
}
	
	.plans-header h1 {
    font-size: 3rem !important;
}
	
	.about-trustanalyser {
    margin: 55px 16px !important;
}
	
	.not-found {
	margin-top: 108px !important;	
}
	.search-heading {
    font-size: 5vw !important;
}
	
	.contact-page {
    padding: 88px 20px !important;
}
	
	.plans-header {
    margin-top: 85px !important;
}
	
	.about-hero {
    margin-top: 117px !important;
}
	
	form#ta-business-reg-form {
    padding: 15px 15px !important;
}

	.subscribed-companies {
    margin: 40px 15px;
}
	
	.about-hero h1 {
    font-size: 1.4rem;
}
	
	.our-mission, .our-services, .our-story, .founder-note, .about-hero {
    margin: 25px 5px;
}
}

/* Responsive adjustments for 500px smaller screens */
@media (max-width: 500px) {
	.containerget-started {
		background-color: #000000;
		border: solid;
		border-radius: 20px;
		display: block;
}
}
.growyourbusiness {
    padding: 20px 7px;
	align-self: center !important;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
	.search-tagline{
		font-size: 2.3vw !important;
	}
  .category-list {
        flex-wrap: wrap; /* Allow items to wrap on smaller screens */
        justify-content: center;
        display: inline-flex;
        margin-top: 40px; /* Space above the category list */
    }
	
	.founder-note .founder-message p {
    font-size: 1rem;
	}
	
	.custom-logo-link img {
    padding-left: 1px;
}
	
	#main {
    margin: 10px;
	}

    .review-box {
        width: 100%; /* Make review boxes full width */
        margin-bottom: 20px; /* Add spacing between boxes */
    }

		.about-trustanalyser {
		margin: 55px 20px;
	}

	
    .search-field {
        width: 100% !important; /* Make the search field responsive */
    }
	.sidebar-menu .search-field {
        width: 200px !important; /* Make the search field responsive */
    }

    .search-bar {
        margin: 20px; /* Reduce margin for smaller screens */
    }

    .search-heading {
        font-size: 11vw; /* Adjust font size for smaller screens */
    }

    .search-submit {
        height: 45px;
        margin-left: -48px;
        width: 45px;
    }

    .mainsearchbar {
        display: flex !important;
        justify-content: center;
        width: auto !important;
        padding-inline: 25px;
    }

    .about-hero p {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 768px) {
    .post-thumbnail img {
        width: 100%;
        height: auto;
    }

    .author-avatar img {
        width: 60px;
        height: 60px;
    }

    .post-content {
        font-size: 0.9rem;
    }

    .comment-list li {
        padding: 10px;
    }

    .comment-form input, .comment-form textarea {
        font-size: 0.9rem;
    }
}

div#respond {
    color: black;
	text-align: center;
}

/* Contact Page Styles */
.contact-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 40px 20px;
}

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

.contact h2 {
    text-align: center;
    font-size: 6vw; /* Responsive font size */
    margin-bottom: 20px;
}

.contact p {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.contact-form, .contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.contact-form h3, .contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #f4a800;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #0073aa;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #f4a800;
}

/* Additional Links Section */
.additional-links {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.additional-links h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.additional-links ul {
    list-style: none;
    padding: 0;
}

.additional-links ul li {
    margin-bottom: 10px;
}

.additional-links ul li a {
    color: #0073aa;
    text-decoration: none;
    font-size: 1rem;
}

.additional-links ul li a:hover {
    text-decoration: underline;
}

/* Login Page Styles */
.login-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 40px 20px;
}

.login-section .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.login-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.login-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.login-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.login-form, .social-login {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-form h3, .social-login h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.login-form input {
    width: 85%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-form button:hover {
    background: #f4a800;
}

/* Social Login Buttons */
.social-login .social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-login .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 1rem;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-login .btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-login .btn.google {
    background: #db4437;
}

.social-login .btn.google:hover {
    background: #f4a800;
}

.social-login .btn.facebook {
    background: #3b5998;
}

.social-login .btn.facebook:hover {
    background: #2d4373;
}

.social-login .btn.linkedin {
    background: #0077b5;
}

.social-login .btn.linkedin:hover {
    background: #f4a800;
}

.social-login .btn.email {
    background: #555;
}

.social-login .btn.email:hover {
    background: #333;
}

/* Signup Links */
.signup-links {
    margin-top: 30px;
    text-align: center;
}

.signup-links p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.signup-links a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.signup-links a:hover {
    text-decoration: underline;
}

/* Signup Page Styles */
.signup-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 40px 20px;
}

.signup-section .container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.signup-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.signup-section p {
    font-size: 1.2rem;
    color: #ff0000;
    margin-bottom: 30px;
}

.signup-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.signup-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.signup-form input, .signup-form select {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.signup-form .terms {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.signup-form .terms a {
    color: #0073aa;
    text-decoration: none;
}

.signup-form .terms a:hover {
    text-decoration: underline;
}

.signup-form button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.signup-form button:hover {
    background: #f4a800;
}

/* Social Signup Buttons */
.social-signup {
    margin-top: 30px;
}

.social-signup h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: white;
}

.social-signup .social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-signup .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 1rem;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-signup .btn i {
    margin-right: 5px;
    font-size: 1.2rem;
}

.social-signup .btn.google {
    background: #797979;
    border-color: white;
    border-radius: 20px;
}

.social-signup .btn.google:hover {
    background: #f4a800;
}

.social-signup .btn.facebook {
    background: #797979;
    border-color: white;
    border-radius: 20px;
}

.social-signup .btn.facebook:hover {
    background: #f4a800;
}

.social-signup .btn.linkedin {
    background: #797979;
    border-color: white;
    border-radius: 20px;
}

.social-signup .btn.linkedin:hover {
    background: #f4a800;
}

/* Registration Page Styles */
.register-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 40px 20px;
}

.register-section .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.register-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.register-section p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.register-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.register-form h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #0073aa;
}

.register-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.register-form input, .register-form select, .register-form textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.register-form textarea {
    resize: vertical;
    height: 100px;
}

.register-form .terms {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.register-form .terms a {
    color: #0073aa;
    text-decoration: none;
}

.register-form .terms a:hover {
    text-decoration: underline;
}

.register-form button {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.register-form button:hover {
    background: #f4a800;
}

/* Company Dashboard Styles */
.company-dashboard {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 40px 20px;
}

.dashboard-header {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.dashboard-header p {
    font-size: 1.2rem;
    color: #555;
}

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

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0073aa;
}

.company-overview .company-logo {
    max-width: 100px;
    margin-bottom: 10px;
}

.company-overview .trust-score {
    font-size: 1.2rem;
    color: #0073aa;
}

.performance-metrics .metrics-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.metric-box {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.metric-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.metric-box p {
    font-size: 1.5rem;
    font-weight: bold;
}

.profile-management .management-wrapper,
.customer-interaction .interaction-wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #f4a800;
}

.analytics-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.chart {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.notifications-alerts ul {
    list-style: none;
    padding: 0;
}

.notifications-alerts ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

/* Customer Dashboard Styles */
.customer-dashboard {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 40px 20px;
}

.dashboard-header {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.dashboard-header p {
    font-size: 1.2rem;
    color: #555;
}

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

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f4a800;
}

.info-wrapper, .activity-wrapper, .metrics-wrapper, .security-wrapper, .support-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.profile-picture img {
    max-width: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.activity-box, .metric-box {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.activity-box h3, .metric-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.activity-box ul, .metric-box p {
    font-size: 1rem;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #f4a800;
}

.logout-btn {
    display: block;
    margin: 20px auto;
    width: 200px;
    text-align: center;
    background: #d9534f;
}

.logout-btn:hover {
    background: #f4a800;
}

/* Hide menu and style sidebar */
.main-menu {
    display: flex;
    padding-right: 30px;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
    border: solid 5px;
    border-radius: 11px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: black;
    color: white;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1000;
}

.sidebar.open {
    right: 0;
}

.sidebar-menu {
    list-style: none;
    gap: 5px;
    display: grid;
    margin-top: 121px;
    text-align: center;
}

.sidebar-menu li {
    margin: 10px 0;
}



/* Responsive styles */
@media screen and (max-width: 1013px) {
    .main-menu {
        display: none;
    }

    .menu-icon {
        display: block;
        margin-inline-end: 22px;
    }

    .header-search-form {
        display: none;
    }
}

/* Single Post Page Styles */
body.single .container {
    max-width: 80%; /* Restrict the width of the content */
    margin: 0 auto; /* Center the container */
    padding: 20px;
    background-color: #ffffff; /* White background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow box */
}

/* Style for the featured image */
body.single .post-thumbnail img {
    width: 100%; /* Full width of the container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 20px; /* Rounded corners for the image */
    margin-bottom: 20px; /* Space below the image */
    border-radius: 15px; /* Rounded corners for the image */
}

/* Article content styling */
body.single article {
    background-color: #ffffff; /* White background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow box */
    padding: 20px;
}

/* Post title styling */
body.single h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: justify; /* Center the title */
    margin-bottom: 20px;
    color: #f4a800;
}

/* Post meta styling */
body.single .text-gray-600 {
    text-align: center; /* Center the meta information */
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Post content styling */
body.single .post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify; /* Justify the text for better readability */
}

/* Post meta box styling */
body.single .bg-gray-100 {
    background-color: #f9fafb;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow box */
    padding: 20px;
    margin-bottom: 20px;
}

/* Author box styling */
body.single .bg-white {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow box */
    padding: 20px;
    margin-bottom: 20px;
}

/* Author avatar styling */
body.single .author-avatar img {
    border-radius: 50%; /* Circular avatar */
    border: 2px solid #f4a800; /* Add a border around the avatar */
    width: 80px;
    height: 80px;
}

.social-icon-author {
    display: inline-flex;
    gap: 30px;
    padding: 8px;
    text-decoration: none;
    font-size: 22px;
    color: white;
}

.edit-profile-button , .logout-button{
    background-color: #ffffff;
    color: #000000;
    padding: 10px 17px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    margin: 10px;
}

.edit-profile-button:hover , .logout-button:hover , .social-icon-author:hover {
    background-color: #f4a800;
    color: #ffffff;
}

.author-actions {
    margin: auto; /* Center the actions */
    text-align: center; /* Center the actions */
    display: flex;
}

/* Comments section styling */
body.single .comments-area {
    background-color: #f9fafb;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow box */
    padding: 20px;
    margin-bottom: 20px;
}

/* Comment list styling */
body.single .comment-list li {
    margin-bottom: 10px;
    margin-inline: 10px;
    display: inline-table;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


/* Comment form styling */
body.single .comment-form input,
body.single .comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

body.single .comment-form button {
    background-color: #f4a800;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

body.single .comment-form button:hover {
    background-color: #d48800;
}

/* Archive Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.business-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-left: 4px solid transparent;
}

.business-card:hover {
    box-shadow: 1px 0px 6px 8px rgb(189 189 189);
    border-left-color: #f4a800;
}

.business-card img {
    border-radius: 8px 8px 0 0;
}

.business-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.business-card p {
    font-size: 0.875rem;
    color: #6b7280;
}

.business-card button {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.business-card button:hover {
    background-color: #d48800;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    color: #333;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.pagination a:hover {
    background-color: #f4a800;
    color: #fff;
    border-color: #f4a800;
}

.pagination .current {
    background-color: #f4a800;
    color: #fff;
    border-color: #f4a800;
}

#business-listings {
    margin-inline: 20%;
}

div.flex.flex-wrap.justify-between.items-center.mb-6 {
    background-color: white;
    border-radius: 20px;
    color: black;
    display: flex;
    margin-inline: 10%;
    padding-inline: 7%;
    padding: 1%;
    overflow: hidden;
    justify-content: space-around;
}

/* ==========================================================================
   Review Star Rating Styles
   ========================================================================== */

/* --- Star Rating Input (Updated CSS) --- */
.comment-form-rating {
    margin-bottom: 1em;
}

/* Fieldset wrapper */
fieldset.stars {
    display: inline-block;
    border: none;
    padding: 0;
    margin: 0;
    justify-self: anchor-center;
}

/* Hide the actual radio button */
fieldset.stars input.star-hide[type="radio"] {
    display: none !important;
}

/* Style the labels to look like stars */
fieldset.stars label.full {
    color: #ccc; /* Khali star ka color (Grey) */
    float: right; /* Star order reverse karne ke liye (CSS trick) */
    font-size: 1.8em; /* Star ka size */
    padding: 0 0.1em;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
    display: inline-block;
    line-height: 1; /* Vertical alignment theek karne ke liye */
    transition: color 0.2s ease-in-out; /* Smooth color change */
}

/* ADDED: ::before pseudo-element to display the star character */
fieldset.stars label.full::before {
    content: '★'; /* Unicode Solid Star character */
    display: block; /* Character ko block ki tarah treat karein */
}

/* Hover effect: Color stars yellow up to the hovered one */
/* Target ::before pseudo-element for color change */
fieldset.stars:not(:checked) > label:hover::before,
fieldset.stars:not(:checked) > label:hover ~ label::before {
    color: #f4a800; /* Hover par color (TrustAnalyser Yellow) */
}

/* Checked state: Color selected stars */
/* Target ::before pseudo-element for color change */
fieldset.stars input.star-hide:checked ~ label.full::before {
    color: #f4a800; /* Selected star ka color (Gold/Yellow) */
}
/* --- End Star Rating Input CSS --- */

/* Optional: Style the main label "Your Rating" */
.comment-form-rating > label:first-of-type { /* Targets the main label */
     display: block;
     margin-bottom: 0.5em;
     font-weight: bold;
}

/* --- Star Rating Display (in comment list) --- */

.review-body .star-rating-display .star {
    color: #ddd; /* Empty star color */
    display: inline-block; /* Keep stars together */
    margin-right: 2px; /* Space between stars */
    font-size: 20px;
}

.review-body .star-rating-display .star.filled {
    color: #ffc107; /* Filled star color (same as selected input) */
}

/* --- General Review Styling (Minimal) --- */
.reviews-area {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #eee;
}

.reviews-title {
    margin-bottom: 1em;
    font-size: 1.5em;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em 0;
	text-align: center;
}

.comment-list li {
    padding: 1em 0;
    border-bottom: 1px solid #eee;
}
.comment-list li:last-child {
    border-bottom: none;
}

.comment-list .children { /* Nested replies */
    list-style: none;
    padding-left: 0em;
}

.review-body {
    text-align: justify;
}

.comment-meta {
    margin-bottom: 0.5em;
    font-size: 0.9em;
    color: #666;
}

.comment-author .avatar {
    float: left;
    margin-right: 10px;
    border-radius: 50%; /* Make avatar circular */
}

.comment-metadata time {
    display: block; /* Put time on new line */
}

.review-content {
    clear: both; /* Clear avatar float */
    padding-top: 0.5em;
}

.review-form {
    margin-top: 1.5em;
}

.review-form .required {
    color: red;
}

/* Adjust form field appearance */
.review-form input[type="text"],
.review-form input[type="email"],
.review-form input[type="url"],
.review-form textarea {
    width: 60%;
    border-radius: 15px !important;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.review-form p {
    margin-bottom: 1em;
}

.review-form .form-submit input[type="submit"] {
    /* Style your submit button */
    background-color: #0073aa; /* Example WP blue */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.review-form .form-submit input[type="submit"]:hover {
    background-color: #f4a800;
}

/* ==========================================================================
   Author Profile Page Styles (author.php)
   ========================================================================== */

/* --- General Layout --- */
.author-template .content-area { /* .author-template class is added by WP body tag */
    /* Add padding or adjust layout as needed */
    /* padding: 2em 0; */
 }
 
 .content-area.author-profile-page {
    background: #000000;
    border: solid white;
    border-radius: 25px;
 }
 
 /* --- Author Header Section --- */
 .author-header {
     align-items: flex-start; /* Align items to the top */
     gap: 2em; /* Space between avatar and info */
     margin-bottom: 2.5em;
     padding: 1.5em;
     border-bottom: 1px solid #eee;
 }
 
 .author-avatar img {
     border-radius: 50%; /* Make avatar circular */
     border: 3px solid #eee; /* Optional border */
     background-color: #f9f9f9; /* Fallback bg */
 }
 
 .author-info {
     flex-grow: 1; /* Allow info section to take remaining space */
 }
 
 .author-title {
     margin-top: 0; /* Remove default top margin */
     margin-bottom: 0.3em;
     font-size: 2em; /* Adjust size */
	 padding: 20px 17px;
 }
 
 .author-title .vcard {
     font-style: normal; /* Ensure name isn't italicized if theme styles vcard */
 }
 
 .author-website {
     margin-bottom: 1em;
     font-size: 0.9em;
 }
 
 .author-website a {
     text-decoration: none;
     color: #ffffff;
 }
 .author-website a:hover {
     text-decoration: underline;
 }
 
 .author-bio-title {
     font-size: 1.1em;
     margin-bottom: 0.5em;
     color: #ffffff;
     border-bottom: 1px dotted #ccc;
     padding-bottom: 0.3em;
 }
 
 .author-bio p {
     margin-top: 0;
     font-size: 0.95em;
     line-height: 1.6;
     color: #ffffff;
 }
 
 /* --- Author Reviews Section --- */
 .author-reviews {
     margin-top: 2em;
 }
 
 .reviews-by-author-title {
     font-size: 1.6em;
     margin-bottom: 1em;
     border-bottom: 1px solid #eee;
     padding-bottom: 0.5em;
     color: white;
 }
 
 .author-review-list {
     list-style: none;
     padding: 15px;
     margin: 0;
	 background: #398239;
     border-radius: 22px;
 }
 
 .author-review-list .review-item {
     margin-bottom: 2em;
     padding-bottom: 1.5em;
     border-bottom: 1px solid #f0f0f0;
 }
 .author-review-list .review-item:last-child {
     border-bottom: none;
     margin-bottom: 0;
 }
 
 .author-review-list .review-meta {
     font-size: 0.9em;
     color: #ffffff;
     margin-bottom: 0.8em;
 }
 
 .author-review-list .review-business-link {
     font-weight: bold;
     margin-bottom: 0.3em;
 }
 .author-review-list .review-business-link a {
     text-decoration: none;
     color: #ffffff; /* Darker color for business link */
 }
 .author-review-list .review-business-link a:hover {
     text-decoration: underline;
     color: #f4a800;
 }
 
 .author-review-list .review-date time {
     /* Style date if needed */
 }
 
 .author-review-list .review-content {
     line-height: 1.6;
 }
 
 /* Use star rating styles defined previously (in css_review_stars immersive) */
 .author-review-list .star-rating-display {
     margin-bottom: 0.8em;
     font-size: 1.1em; /* Adjust size slightly if needed */
 }
 /* Ensure star styles are loaded */
 .author-review-list .star-rating-display .star { color: #ddd; display: inline-block; margin-right: 2px; }
 .author-review-list .star-rating-display .star.filled { color: #ffc107; }
 
 
 .author-review-list .read-more-review {
     display: inline-block;
     margin-left: 0.5em;
     font-size: 0.9em;
     text-decoration: none;
     color: #f4a800;
     font-weight: bold;
 }
 .author-review-list .read-more-review:hover {
     text-decoration: underline;
 }
 
 .no-reviews-found {
     font-style: italic;
     color: #777;
     padding: 1em;
     background-color: #f9f9f9;
     border: 1px dashed #eee;
     border-radius: 4px;
 }

.search-article-box {
	display: inline-grid;
    justify-content: center;
    align-items: center;
    margin: 20px;
    background-color: #ffffff !important;
    border-radius: 20px;
    width: 250px;
}
.search-article-box a {
    text-decoration: none;
    color: black;
    font-family: Roboto, Arial, sans-serif !important;
}
 .entry-summary {
    text-align: -webkit-center;
    background-color: black;
    margin-inline: 36%;
    border-radius: 6px;
    padding: 6px;
 }



 /* ==========================================================================
   Business Archive Page Styles (archive-business.php)
   ========================================================================== */

.archive-business-page .page-header {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
    justify-content: center;
    font-size: 4vw;
}

.business-archive-list {
    /* Optional: Add display grid or flex here for layout */
     display: grid; 
     grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
     gap: 20px; 
}

.business-archive-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 3em;
    margin-inline: 10px;
    padding: 1em;
    display: flex; /* Use flexbox for layout inside item */
    gap: 1em; /* Space between thumbnail and content */
    background-color: #fff;
    border-radius: 40px; /* Rounded corners */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: fit-content;
    height: auto;
    flex-wrap: nowrap;
}

.business-archive-item:hover {
    box-shadow: 0 0 50px #383838; /* Shadow on hover */
}

.business-item-thumbnail {
    flex-shrink: 0; /* Prevent thumbnail from shrinking */
    width: 80px; /* Adjust size as needed */
    height: 80px;
    overflow: hidden; /* Hide overflowing parts of image */
    border-radius: 30px;
}

.business-item-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Scale image nicely */
    border-radius: 3px;
}
.business-item-thumbnail .no-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    color: #888;
    font-size: 0.8em;
    text-align: center;
    border-radius: 3px;
    text-decoration: none;
}


.business-item-content {
    flex-grow: 1; /* Allow content to take remaining space */
}

.business-archive-item .entry-header {
    margin-bottom: 0.5em;
}


.business-archive-item .entry-title {
    font-size: 1.3em;
    margin: 0 0 0.2em 0;
}

.business-archive-item .entry-title a {
    text-decoration: none;
    color: #333;
}
.business-archive-item .entry-title a:hover {
    color: #f4a800;
}

.business-archive-item .entry-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 0.5em;
}
.business-archive-item .entry-meta a {
    color: #777;
    text-decoration: none;
}
.business-archive-item .entry-meta a:hover {
    text-decoration: underline;
}


.business-archive-item .entry-summary {
    font-size: 0.95em;
    color: #ffffff;
    margin-bottom: 0.8em;
    line-height: 1.5;
    margin-inline: 0;
}
.business-archive-item .entry-summary p {
    margin: 0; /* Remove default paragraph margin in excerpt */
    color: white; /* Change text color to white */
}

.business-archive-item .business-rating-summary-archive {
     font-size: 0.9em;
     margin-bottom: 0.8em;
     color: #666;
}
/* Add styles for .star-rating-display-widget if not already defined */
.business-archive-item .star-rating-display-widget { font-size: 1.1em; line-height: 1; color: #ddd; }
.business-archive-item .star-rating-display-widget .star.filled { color: #ffc107; }


header.entry-header.business-header {
    padding: 20px 10px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.business-archive-item .entry-footer {
    font-size: 0.9em;
    background-color: white;
}

.business-archive-item .read-more-link {
    text-decoration: none;
    font-weight: bold;
    color: #000000;
}
.business-archive-item .read-more-link:hover {
    background-color: #f4a800;
    border-radius: 20px;
    margin-inline: auto;
    padding: 10px;
}

/* No Results Section */
.archive-business-page .no-results {
    border: 1px dashed #ccc;
    padding: 2em;
    text-align: center;
}

/* Pagination */
.navigation.pagination {
    margin-top: 2em;
    border-top: 1px solid #eee;
    padding-top: 1.5em;
}

#categories-wala-sort {
    margin: 30px;
    background-color: white;
    padding: 15px;
    border-radius: 14px;
    color: black;
}

input {
    border-radius: 10px !important;
    background-color: black !important;
    color: white !important;
    padding: 10px !important;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px !important;
}

textarea {
    border-radius: 7px;
}

/* ==========================================================================
   Star Rating Display Styles
   ========================================================================== */

   .star-rating-display {
    display: inline-block; /* Taaki stars ek line mein rahein */
    line-height: 1; /* Extra space hatane ke liye */
}

.star-rating-display .star {
    display: inline-block; /* Stars ko inline rakho */
    margin-right: 1px; /* Stars ke beech thoda gap */
    cursor: default; /* Default cursor dikhao */
    font-size: 25px; /* Star ka size adjust karein */
}

.star-rating-display .star.filled {
    color: #f4a800; /* Bhare hue star ka color */
	background: #000;
    border-radius: 5px;
}

.star-rating-display .star.empty {
    color: #ccc; /* Khali star ka color (optional, default se aa jayega) */
}

/* Optional: Rating value aur count ke liye style */
.rating-value-count {
    font-size: 0.9em;
    color: #666;
    vertical-align: middle; /* Stars ke saath align karne ke liye */
}

/* Optional: Widget ke andar stars ke liye specific style */
.star-rating-display-widget .star {
   /* Widget ke liye specific adjustments agar chahiye */
   /* font-size: 1em; */
}

.text-color-change {
    color: #000000;
}

#load-more-businesses {
    border-radius: 20px;
    padding: 10px 20px;
}

#load-more-businesses:hover {
    background-color: #f4a800;
    color: #ffffff;
    border-radius: 20px;
}



/* Sidebar Search Form Styling */

/* List item containing the search form */
.sidebar-menu .menu-item-search {
    list-style: none; /* List bullet hatayein */
    margin-top: 25px; /* Menu items ke baad thoda space */
    margin-bottom: 15px;
    padding: 0 5px; /* Halki padding */
}

/* Style the form elements specifically within the sidebar menu */
.sidebar-menu .menu-item-search .search-form {
   /* Agar form par specific style chahiye toh yahan add karein */
   width: 100%;
}

/* Ensure the wrapper label uses full width */
.sidebar-menu .menu-item-search .mainsearchbar {
   display: flex; /* Input aur button ko ek line mein rakhein */
   width: 100%;
}

/* Input field styling for sidebar */
.sidebar-menu .menu-item-search .search-field {
    flex-grow: 1; /* Input ko available space lene dein */
    width: auto; /* Fixed width override karein */
    height: 38px; /* Height adjust karein */
    font-size: 14px;
    /* Sidebar ke liye specific styles */
    background-color: #f9f9f9; /* Light background */
    border: 1px solid #ccc;
    color: #333; /* Dark text color */
    border-radius: 20px 0 0 20px; /* Left side rounded */
    padding: 8px 12px;
}

.sidebar-menu .menu-item-search .search-field::placeholder {
     color: #777; /* Placeholder color */
 }

/* Submit button styling for sidebar */
.sidebar-menu .menu-item-search .search-submit {
    height: 34px;
    width: 39px;
    margin-left: -41px !important;
    font-size: 15px;
    flex-shrink: 0;
    cursor: pointer;
    background-color: #e0e0e0;
    color: #fff;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 20px 20px 0;
}
.sidebar-menu a{
	text-decoration: none;
    color: #000000;
    font-weight: bold;
    background-color: #ffffff;
    border-radius: 9px;
    padding: 10px 10px;
    transition: background-color 0.3s, color 0.3s;
    width: 150px;
    display: inline-grid;
}
.sidebar-menu .menu-item-search .search-submit:hover {
     background-color: #f4a800; /* Hover color */
     color: #fff;
     border-color: #f4a800;
 }

/* Hide screen reader text if needed (optional) */
.sidebar-menu .menu-item-search .screen-reader-text {
    display: none;
}

/* --- Recent User Reviews Section --- */
.user-reviews-scrolling-section {
    padding: 40px 0;
}
.user-reviews-scrolling-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.section-title-reviews {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #f4a800;
}
.reviews-horizontal-scroll-wrapper {
    overflow-x: auto;   /* Horizontal scrolling enable rakhega */
    overflow-y: hidden;   /* Vertical scrollbar hamesha chhupa rahega */
    padding-bottom: 10px; /* Cards ke neeche thoda space, agar shadow hai toh clipping se bachayega */
    margin-bottom: 20px;  /* Rows ke beech ka gap */
	margin-inline: 15px;
    /* Scrollbar ko hide karne ke liye styles */
    scrollbar-width: none;  /* Firefox ke liye */
    -ms-overflow-style: none; /* Internet Explorer 10+ ke liye */
}
.reviews-horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;  /* WebKit browsers (Chrome, Safari, newer Edge) ke liye */
    width: 0;       /* Fallback for some WebKit versions */
    height: 0;      /* Fallback for some WebKit versions */
}

.reviews-horizontal-scroll-wrapper::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}
.reviews-horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #f4a800;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}
.reviews-scrollable-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    padding-bottom: 10px;
    margin-top: 5px;
}

/* --- Updated Custom Review Card Styles --- */
.custom-review-card {
    width: 280px;
    min-width: 280px; /* Fixed width */
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out;
    color: #333;
    /* height: 350px; /* Optional: Agar fixed height chahiye */
    /* justify-content: space-between; /* Agar fixed height hai toh content ko space-between karega */
}

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

.review-card-top-section {
    display: flex; /* Avatar aur reviewer info ko ek line mein rakhega */
    align-items: center; /* Vertically center karega */
    margin-bottom: 12px;
}

.reviewer-avatar-area {
    flex-shrink: 0; /* Avatar ko shrink nahi hone dega */
    margin-right: 10px;
}

.reviewer-avatar-img { /* Jo class humne get_avatar() mein di thi */
    width: 40px;  /* Avatar ka size */
    height: 40px;
    border-radius: 50%; /* Circular avatar */
    object-fit: cover; /* Image ko cover karega */
    border: 1px solid #eee; /* Optional border */
}

.card-reviewer-info {
    flex-grow: 1;
}

.card-reviewer-info .reviewer-name {
    font-size: 1.05em; /* Thoda chhota kiya naam */
    font-weight: bold;
    color: #222;
    margin: 0 0 3px 0; /* Stars se thoda gap */
    line-height: 1.2;
}

.review-stars-display {
    font-size: 0.9em; /* Stars ka size */
    color: #ccc;
    line-height: 1;
}

.review-stars-display .star {
    display: inline-block;
    margin-right: 1px;
}

.review-stars-display .star.filled {
    color: #f4a800;
    background: #000000;
    border-radius: 4px;
}

.review-comment-text-area {
    font-size: 0.88em; /* Comment text ka size */
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
    /* Text overflow handling (agar fixed height card hai) */
    /* max-height: 100px; /* Example: Max height for comment text area */
    /* overflow-y: auto; /* If scrollable comment area is desired */
}
.review-comment-text-area p {
    margin:0;
}

.review-card-business-details {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.review-card-business-details .business-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.business-logo-in-card {
    width: 28px; /* Business logo thoda chhota */
    height: 28px;
    border-radius: 4px; /* Thoda sa rounded, ya 50% for circular */
    object-fit: cover;
    margin-right: 8px;
    border: 1px solid #eee;
}
.business-logo-placeholder-in-card {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background-color: #f0f0f0;
    margin-right: 8px;
}

.business-name-in-card {
    font-size: 0.8em;
    font-weight: 600;
    color: #0073aa;
}
.review-card-business-details .business-link:hover .business-name-in-card {
    text-decoration: underline;
}

/* =================================================================== */
/* <<< === START: NEW SINGLE BUSINESS DETAILS STYLES === >>> */
/* =================================================================== */

/* Main sidebar widget container */
.business-details.widget {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.business-details.widget .widget-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

/* Grid layout for all detail items */
.business-details-grid {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between each detail item */
}

/* Individual detail item (e.g., Address, Phone) */
.detail-item {
    display: flex;
    align-items: flex-start; /* Align icon to the top of the text */
    gap: 15px;
}

.detail-icon {
    font-size: 24px;
    color: #3478f7; /* Primary theme color */
    background-color: #eaf2ff; /* Light blue background */
    padding: 8px;
    border-radius: 50%;
    margin-top: 3px;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 16px;
    font-weight: 500;
    color: #444;
    line-height: 1.5;
}

/* Make links stand out */
.detail-value.link {
    color: #3478f7;
    text-decoration: none;
    transition: color 0.3s ease;
}
.detail-value.link:hover {
    color: #2860c1;
    text-decoration: underline;
}

/* Social Media Section */
.social-links-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-icon.facebook { background-color: #1877F2; }
.social-icon.linkedin { background-color: #0A66C2; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* =================================================================== */
/* <<< === END: NEW SINGLE BUSINESS DETAILS STYLES === >>> */
/* =================================================================== */

/* =================================================================== */
/* <<< === START: NEW SINGLE BUSINESS PAGE LAYOUT STYLES === >>> */
/* =================================================================== */

/* Main wrapper for sidebar and main content */
.business-page-details-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Sidebar for business details */
.business-page-details-wrapper .business-sidebar {
    flex: 1;
    min-width: 300px; /* Minimum width before it wraps */
    max-width: 400px;
}

/* Main content area for images and offers */
.business-page-details-wrapper .business-main-content-area {
    flex: 2;
    min-width: 300px;
}

/* Shared styling for sections within the main content */
.business-extra-section {
    margin-bottom: 50px;
}
.business-extra-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    text-align: left;
    margin-bottom: 25px;
}

/* --- 1. Business Details Sidebar (Refined) --- */
.business-details.widget {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.business-details.widget .widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}
.business-details-grid { display: flex; flex-direction: column; gap: 20px; }
.detail-item { display: flex; align-items: flex-start; gap: 15px; }
.detail-icon { font-size: 22px; color: #4299e1; background-color: #ebf8ff; padding: 8px; border-radius: 50%; margin-top: 3px; }
.detail-content { display: flex; flex-direction: column; }
.detail-label { font-size: 13px; font-weight: 500; color: #718096; margin-bottom: 2px; text-transform: uppercase; }
.detail-value { font-size: 15px; font-weight: 500; color: #4a5568; line-height: 1.5; }
.detail-value.link { color: #4299e1; text-decoration: none; }
.detail-value.link:hover { text-decoration: underline; }
.social-links-section { margin-top: 25px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.social-title { font-size: 16px; font-weight: 600; text-align: center; margin-bottom: 15px; }
.social-icons-wrapper { display: flex; justify-content: center; gap: 15px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: #fff; border-radius: 50%; text-decoration: none; font-size: 16px; transition: transform 0.2s ease; }
.social-icon:hover { transform: scale(1.1); }
.social-icon.facebook { background-color: #1877F2; }
.social-icon.linkedin { background-color: #0A66C2; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }


/* --- 2. Feature Images Section --- */
.feature-images-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #a0aec0 #e2e8f0;
}
.feature-images-wrapper::-webkit-scrollbar { height: 8px; }
.feature-images-wrapper::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 10px; }
.feature-images-wrapper::-webkit-scrollbar-thumb { background-color: #a0aec0; border-radius: 10px; }
/*
.gallery-item {
    flex: 0 0 80%; 
    max-width: 80%;
}
*/
.gallery-item a { display: block; }
.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.gallery-image:hover {
    transform: scale(1.03);
}

/* --- 3. Special Offers Section --- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.view-all-offers-container {
    text-align: center;
    margin-top: 30px;
}
.view-all-offers-btn {
    display: inline-block;
    background-color: #38a169;
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.view-all-offers-btn:hover {
    background-color: #2f855a;
}

/* --- Responsive Adjustments --- */
@media (min-width: 640px) {
    /*.gallery-item {
        flex-basis: 45%; 
        max-width: 45%;
    }*/
}
@media (min-width: 1024px) {
   /* .gallery-item {
        flex-basis: 30%; 
        max-width: 30%;
    } */
}

@media (max-width: 992px) {
    .business-page-details-wrapper {
        flex-direction: column; /* Stack sidebar on top of content */
    }
    .business-page-details-wrapper .business-sidebar {
        max-width: 100%; /* Allow sidebar to take full width */
    }
}
/* =================================================================== */
/* <<< === END: NEW SINGLE BUSINESS PAGE LAYOUT STYLES === >>> */
/* =================================================================== */
