/*
Theme Name: TrustAnalyser Careers Theme
Theme URI: https://yourwebsite.com/trustanalyser-careers-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-careers-theme
Tags: custom, responsive, business
*/

/* Header styling */
#website-header {
    width: 100%;
    display: inline-flex;
    align-items: center;
    background: #000000;
    position: fixed;
    z-index: 10;
    top: -1px;
    justify-self: auto;
    height: 80px;
    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;
    margin-top: 20px;
}

/* Canvas Styling */
#canvas1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    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: 40px  !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: #000000; /* Blue button */
    color: #ffffff; /* White icon */
    border: none;
    height: 41px;
    margin-left: -41px;
    width: 41px; /* Make it a square button */
    border-radius: 50%; /* 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;
}

.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: 69px;
    margin-inline: 10%; /* Space on the sides */
}

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

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

.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;
}
.business-offer .get-started-btn {
    color: #ffffff;
    background-color: black;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.business-offer .get-started-btn:hover {
    background-color: #f4a800;
    color: #ffffff;
}

/* What is TrustAnalyser Section */
.about-trustanalyser {
    padding: 20px 30px;
    border-radius: 20px;
    border: solid orange;
    text-align: justify;
    margin: 55px;
    color: white;
    border-radius: 18px;
    box-shadow: 0 4px 22px 0 #f0f0f1, 0 2px 6px 0 rgb(255 255 255 / 6%);
    box-sizing: initial;
}

.about-trustanalyser h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.about-trustanalyser p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
.containerget-started {
    background-color: #656565;
    border: solid;
    border-radius: 20px;
}

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

/* Plans and Pricing Page Styles */
.plans-header {
    text-align: center;
    padding: 40px 20px;
    margin-top: 30px;
}

.plans-header h1 {
    font-size: 6vw; /* Responsive font size */
    margin-bottom: 10px;
    color: #f4a800;
}

.plans-header p {
    font-size: 1.2rem;
    color: #ffffff;
}

.plans-section {
    padding: 40px 20px;
    text-align: center;
}

.plans-section h2 {
    margin-bottom: 20px;
}

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

.plan {
    flex: 1;
    min-width: 260px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f4a800;
    text-align: center;
}

.plan:hover {
    transform: translate3d(0, -5px, 0); /* Lift effect on hover */
}

.plan h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan .price {
    font-size: 1.8rem;
    color: #0073aa;
    margin-bottom: 15px;
}

.service-available {
    background-color: lightgreen !important;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

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

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

.plan .btn:hover {
    background-color: #f4a800;
}

.subscribed-companies {
    padding: 40px 20px;
    text-align: center;
    border: solid;
    border-radius: 15px;
    color: #f4a800;
    border-radius: 18px;
    box-shadow: 0 4px 22px 0 #f0f0f1, 0 2px 6px 0 rgb(255 255 255 / 6%);
    box-sizing: initial;
    margin: 40px 50px;
}

.subscribed-companies .logos img {
    max-width: 150px;
    margin: 10px;
}

.compare-plans {
    padding: 40px 0px;
    width: 100% !important;
}

.compare-plans table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    color: #000000;
}

.compare-plans th, .compare-plans td {
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    border: solid black;
}

.compare-plans tr {
    background-color: #ffffff; /* White text for table header */
}

.compare-plans th {
    background-color: #f4a800;
}

.faq-section {
    padding: 40px 20px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.faq {
    margin-bottom: 20px;
}

.faq h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.faq p {
    color: #ffffff;
}

/* 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;
    }

.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 */
}

/* About Us Page Styles */
.about-hero {
    text-align: center;
    padding: 5px;
    background-color: white;
    border-radius: 43px;
    margin-inline: 30px;
}

  

.about-hero h1 {
    font-size: 5vw; /* Responsive font size */
    margin-bottom: 10px;
    color: #f4a800; /* Highlighted heading color */
    border-radius: 20px;
    margin-inline: 20%; /* Space on the sides */
}

.about-hero p {
    font-size: 2vw; /* Responsive font size */
    color: #000000;
    padding: 10px; /* Padding for better readability */
}

.our-mission, .our-services, .our-story, .founder-note {
    padding: 23px 26px;
    text-align: center;
    border: solid white;
    border-radius: 80px;
    margin: 25px;
}

.our-mission h2, .our-services h2, .our-story h2, .founder-note h2 {
    margin-bottom: 20px;
    color: #f4a800; /* Highlighted heading color */
}

.our-services ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.our-services ul li {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #f4a800; /* Highlighted text color */
    text-align: center;
}

.founder-note .founder-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.founder-note .founder-photo {
    width: 100%;
    height: auto;
    max-width: 296px;
    border-radius: 15%;
    box-shadow: 0 4px 10px rgb(255 187 0);
}

.founder-note .founder-message {
    max-width: 600px;
    text-align: left;
}

.founder-note .founder-message h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.founder-note .founder-message p , .aboutp {
    font-size: 1.3rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Founder Social Media Links */
.founder-social {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.founder-social a {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

	
/* Responsive adjustments for 450px smaller screens */
@media (max-width: 450px) {
	#main {
    margin: 1px !important;
	}
	
	section.compare-plans {
    font-size: large !important;
}

.compare-plans table {
    font-size: smaller !important;
}
	
	.plans-header h1 {
    font-size: 3rem !important;
}
	
	.about-trustanalyser {
    margin: 55px 16px !important;
}
	
	.not-found {
	margin-top: 108px !important;	
}
	.search-heading {
    font-size: 10vw !important;
}
	
	.compare-plans th {
    padding: 2px !important;
}
	
	.contact-page {
    padding: 88px 20px !important;
}
	
	.plans-header {
    margin-top: 85px !important;
}
	
	.ishantcanvas {
    margin-top: 95px;
}
	
	.about-hero {
    margin-top: 117px !important;
}
	
	form#ta-business-reg-form {
    padding: 15px 15px !important;
}
	
	body, html {
    margin-top: 0px !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 360px smaller screens */
@media (max-width: 360px) {
	section.compare-plans {
    font-size: small !important;
	}
}


/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .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 */
    }

    .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;
}

/* 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;
    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: 20px;
    display: grid;
    margin-top: 192px;
    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: center; /* 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: 20px;
    padding: 10px;
    border: 1px solid #ffc107;
    border-radius: 8px;
    background-color: #425bee;
    box-shadow: 0 2px 4px rgb(0 0 0);
    max-width: 280px;
    width: 280px;
    margin-inline: 10px;
    display: inline-block;
    color: white;
}

body.single .comment-list :hover {
    background-color: #f4a800;
    color: #ffffff;
}


/* 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 */
.comment-form-rating .stars {
    display: inline-block;
    border: none;
    padding: 0;
    margin: 0;
}

/* Hide the actual radio button */
.comment-form-rating .stars > input[type="radio"] {
    display: none;
}

/* Style the labels to look like stars */
.comment-form-rating .stars > label {
    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 */
.comment-form-rating .stars > label::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 */
.comment-form-rating .stars:not(:checked) > label:hover::before,
.comment-form-rating .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 */
.comment-form-rating .stars > input:checked ~ label::before {
    color: #ffc107; /* 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 {
    margin-bottom: 0.8em;
    font-size: 1.2em; /* Adjust display star size */
    line-height: 1;
}

.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: 30px;
}

.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;
}

.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;
    margin-left: 2em; /* Indent replies */
    padding-left: 1em;
    border-left: 1px dotted #ccc;
}

.review-body {
    /* Add padding/margins as needed */
}

.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: 100%;
    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 {
     display: flex; /* Use flexbox for layout */
     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 */
 }
 
 .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: 0;
     margin: 0;
 }
 
 .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: #666;
     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: #111; /* 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: #0073aa;
     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: block;
    justify-content: center;
    align-items: center;
    margin: 20px;
    background-color: white;
    border-radius: 20px;
 }

.entry-summary {
    text-align: -webkit-center;
    background-color: black;
    border-radius: 33px;
    padding: 8px;
}



 /* ==========================================================================
   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: #555;
    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: 20px;
    background-color: black;
    color: white;
    padding: 10px;
}

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 */
    font-size: 1.1em; /* Stars ka size adjust karein */
    color: #ccc; /* Default color (empty star ka) */
}

.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 */
}

.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;
    margin-left: 5px;
    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; */
}

#main {
    margin: 50px;
}

.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: 38px;
    width: 45px; /* Button ki width adjust karein */
    margin-left: 0; /* Overlap hatayein */
    font-size: 15px;
    flex-shrink: 0; /* Button ko shrink hone se rokein */
    cursor: pointer;
    /* Sidebar ke liye specific styles */
    background-color: #e0e0e0; /* Button background */
    color: #333; /* Button icon color */
    border: 1px solid #ccc;
    border-left: none; /* Left border hatayein */
    border-radius: 0 20px 20px 0; /* Right side rounded */
}

.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 */

    /* 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: lightgreen;
}

.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;
}