/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
.single_job_listing .meta .newspaper:before {
    content: "";
    display: inline-block;
    width: 20px; /* Adjust size as needed */
    height: 20px;
    background-image: url("http://localhost/jobinfer/wp-content/uploads/2025/03/newspaper-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.single_job_listing .meta {
    font-size: 16px;
    font-weight: 500;
}
/* Related post on single post*/
.related-jobs{
    text-align:left;
}
.related-jobs .job_listings .company {
    font-size: 13px;
    color: #666;
}
/* End Related post on single post*/
/* General Company Profile Styling */
.company-profile {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Company Logo */
.company-profile .company-logo img {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    border: 3px solid #0073aa;
    padding: 5px;
}

/* Company Name */
.company-profile .company-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

/* Company Description */
.company-profile .company-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

/* Company Website Link */
.company-profile .company-website a {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

.company-profile .company-website a:hover {
    background-color: #005b8e;
}

/* Social Media Icons */
.company-profile .company-social-media {
    margin-top: 15px;
}

.company-profile .company-social-media a {
    display: inline-block;
    color: #0073aa;
    font-size: 18px;
    margin-right: 10px;
    transition: color 0.3s ease-in-out;
}

.company-profile .company-social-media a:hover {
    color: #005b8e;
}

/* Contact Information */
.company-profile .company-contact-info {
    font-size: 14px;
    color: #444;
    margin-top: 10px;
}

/* Job Listings Section */
.company-profile .company-jobs {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.company-profile .company-jobs h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.company-profile .company-jobs .job-listing {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
.company-letters{
    font-size: 22px;
    text-align: center;
    margin: 12px 0 12px 0;
    padding: 12px 0 12px 0;
   
   }
.company-letters a{
    list-style: none;
    width: 2.6em;
    height: 2.4em;
    box-sizing: border-box;
    margin: 0 0.2em 0.6em;
    border: 2px solid #e5e5e5;
    background: #101daa;
    color: #fff;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    display: inline-block;
}
.company-group {
    list-style: none;
}
.masonry-brick ul {
    list-style: none;
}
/* Hover effect */
.company-letters a:hover {
    color: #ffffff; /* White text color on hover */
    background: #36e289; /* Button color */
    transform: scale(1.1); /* Slightly increase size */
    box-shadow: 3px 3px 10px rgba(54, 226, 137, 0.4); /* Shadow effect */
}
/* Table Wrapper */
.job-table-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 20px;
}

/* Homepage Job Table Styling */
/* Job Table Wrapper */
.job-table-wrapper {
    overflow-x: auto; /* Ensures horizontal scrolling on smaller screens */
    margin-bottom: 20px;
}

/* Job Table Styling */
.custom-job-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 16px;
    min-width: 600px; /* Ensures structure on large screens */
}

/* Table Header */
.custom-job-table thead {
    background-color: #101daa; /* Primary Color */
    color: white;
}

.custom-job-table th {
    padding: 10px;
    border: 1px solid #ddd;
    white-space: nowrap; /* Keeps text in a single line */
}

/* Table Body */
.custom-job-table td {
    padding: 10px;
    border: 1px solid #ddd;
    word-wrap: break-word; /* Ensures text wraps properly */
}

/* Job Title Link */
.custom-job-table td a {
    color: #101daa; /* Primary Color */
    font-weight: bold;
    transition: color 0.3s ease-in-out;
    font-size: 15px;
}

.custom-job-table td a:hover {
    color: goldenrod; /* Hover Color */
}

/* View All Jobs Button */
.view-all-wrapper {
    text-align: center;
    margin-top: 15px;
}

.view-all-jobs-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #101daa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.view-all-jobs-btn:hover {
    background: goldenrod;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-job-table {
        font-size: 14px;
        min-width: 100%; /* Makes table fit on small screens */
    }

    .custom-job-table th,
    .custom-job-table td {
        padding: 8px;
    }
}

/* Fully Responsive Table for Mobile */
@media (max-width: 600px) {
    .job-table-wrapper {
        overflow-x: auto; /* Enables scrolling on small screens */
    }

    .custom-job-table,
    .custom-job-table thead,
    .custom-job-table tbody,
    .custom-job-table th,
    .custom-job-table td,
    .custom-job-table tr {
        display: block;
        width: 100%;
    }

    .custom-job-table thead {
        display: none; /* Hide table header */
    }

    .custom-job-table tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 10px;
        background: white;
    }

    .custom-job-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .custom-job-table td:before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: capitalize;
    }
}

/* Prevent date wrapping */
.custom-job-table td:nth-child(3),
.custom-job-table td:nth-child(4) {
    white-space: nowrap;
    min-width: 100px;
}

/* related post */
.related-jobs {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.related-jobs h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.related-jobs .job_listings li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.related-jobs .job_listings li:last-child {
    border-bottom: none;
}

/* end relatd post*/
