/* Jobs Archive Styles */
* {
    font-family: 'Epilogue', sans-serif;
}

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

.jobs-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.jobs-count {
    font-size: 0.95rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    font-family: 'Epilogue', sans-serif;
}

.jobs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.jobs-pagination {
    margin-top: 3rem;
    text-align: center;
}

.jobs-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 0.25rem;
    padding: 0 0.75rem;
    background: #fff;
    color: #4a5568;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.jobs-pagination .page-numbers:hover {
    background: #183fe1;
    color: #fff;
    border-color: #183fe1;
}

.jobs-pagination .current {
    background: #183fe1;
    color: #fff;
    border-color: #183fe1;
}

.jobs-pagination .prev,
.jobs-pagination .next {
    font-weight: 600;
}

.job-item {
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.job-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.job-item-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
}

.job-item a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}


.job-item-main {
    flex: 1;
    min-width: 0;
}

.job-item-header {
    margin-bottom: 0.75rem;
}

.job-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
}

.job-title {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-title:hover {
    color: #183fe1;
}

.company-name {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
}

.company-name a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-name a:hover {
    color: #183fe1;
}

.company-logo {
    margin-bottom: 0.75rem;
}

.company-logo-img {
    max-width: 150px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    padding: 0.25rem;
    background: #fff;
}
.company-contact-info {
    padding-bottom: 10px;
}

.company-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057; /* Improved contrast: >= 4.5:1 */
    font-size: 14px;
}

/* Companies Archive Styles */
.companies-container {
    max-width: 1320px;
    margin: 0 auto;
}

.companies-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.companies-count {
    font-size: 0.95rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    font-family: 'Epilogue', sans-serif;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.companies-pagination {
    margin-top: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.companies-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 0.25rem;
    padding: 0 0.75rem;
    background: #fff;
    color: #4a5568;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.companies-pagination .page-numbers:hover {
    background: #183fe1;
    color: #fff;
    border-color: #183fe1;
}

.companies-pagination .current {
    background: #183fe1;
    color: #fff;
    border-color: #183fe1;
}

.companies-pagination .prev,
.companies-pagination .next {
    font-weight: 600;
}

.company-card {
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.company-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Top Visual Section */
.company-visual-section {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-visual-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(24, 63, 225, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(24, 63, 225, 0.1) 0%, transparent 40%);
    background-size: 100px 100px, 80px 80px;
    z-index: 1;
}

.company-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.company-logo-img {
    max-width: 150px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.company-logo-placeholder {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #183fe1 0%, #667eea 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Bottom Content Section */
.company-card a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.company-content-section {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.company-rating-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.company-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars {
    color: #ffd700;
    font-size: 0.875rem;
}

.rating-text {
    font-size: 0.8rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
    font-weight: 500;
}

.company-author {
    font-size: 0.7rem;
    color: #a0aec0;
}

.company-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
    text-align: left;
}

.company-title{
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-title:hover {
    color: #183fe1;
}

.company-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.company-location,
.company-industry,
.company-size {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
}

.location-icon,
.industry-icon,
.size-icon {
    font-style: normal;
    font-size: 0.875rem;
    width: 12px;
    text-align: center;
}

.company-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.company-benefit {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.company-jobs-count {
    margin-bottom: 1rem;
    text-align: left;
}

.jobs-count-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: #e3f2fd;
    color: #183fe1;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

.company-action {
    margin-top: auto;
}

.btn-view-company {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid;
    width: 100%;
    background: #e3f2fd;
    color: #183fe1;
    border-radius: 12px;
    border: 1px solid #bbdefb;
}

.btn-view-company:hover {
    background: #1428a0;
    border-color: #1428a0;
    color: #fff;
}

.job-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-location,
.job-type,
.job-salary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
}

.location-icon,
.type-icon,
.salary-icon {
    font-style: normal;
    font-size: 1rem;
}

.job-description {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.job-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-width: 140px;
}

.job-posted-date {
    font-size: 0.8rem;
    color: var(--tutor-color-text-secondary, #a0aec0);
    text-align: right;
}

.job-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.btn-view-job,
.btn-apply-job {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid;
}

.btn-view-job {
    background: #fff;
    color: #183fe1;
    border-color: #183fe1;
}

.btn-view-job:hover {
    background: #183fe1;
    color: #fff;
}

.btn-apply-job {
    background: #38a169;
    color: #fff;
    border-color: #38a169;
}

.btn-apply-job:hover {
    background: #2f855a;
    border-color: #2f855a;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    margin: 2rem 0;
}

.no-posts h2 {
    color: #212529; /* Improved contrast: >= 4.5:1 */
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-posts p {
    color: #495057; /* Improved contrast: >= 4.5:1 */
    font-size: 1.1rem;
    line-height: 1.6;
}


@media (max-width: 768px) {
    .jobs-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .jobs-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .companies-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .jobs-header,
    .companies-header {
        justify-content: flex-end;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .company-visual-section {
        height: 160px;
    }
    
    .company-logo-img {
        max-width: 150px;
        max-height: 120px;
    }
    
    .company-logo-placeholder {
        width: 70px;
        height: 50px;
        font-size: 1rem;
    }
    
    .company-content-section {
        padding: 1.25rem;
    }
    
    .company-title {
        font-size: 0.95rem;
    }
    
    
    .job-item-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .job-item-actions {
        align-items: center;
        min-width: auto;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    
    .job-actions {
        flex-direction: row;
        gap: 0.75rem;
        width: auto;
    }
    
    .btn-view-job,
    .btn-apply-job {
        flex: 1;
    }
    
    .company-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .btn-view-company,
    .btn-view-jobs {
        flex: 1;
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }
    
    
    .wp-block-group.alignwide {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .job-item-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .jobs-pagination .page-numbers,
    .companies-pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .jobs-container {
        padding: 0 0.5rem;
    }
    
    .companies-container {
        padding: 0 0.5rem;
    }
    
    .jobs-header,
    .companies-header {
        margin-bottom: 1.5rem;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .company-visual-section {
        height: 140px;
    }
    
    .company-logo-img {
        max-width: 150px;
        max-height: 120px;
    }
    
    .company-logo-placeholder {
        width: 60px;
        height: 45px;
        font-size: 0.875rem;
    }
    
    .company-content-section {
        padding: 1rem;
    }
    
    .company-title {
        font-size: 0.9rem;
    }
    
    .jobs-count,
    .companies-count {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
    
    .wp-block-group.alignwide {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .job-item {
        padding: 1rem;
    }
    
    .job-item-content {
        padding: 1rem;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .job-tags {
        gap: 0.25rem;
    }
    
    .job-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .jobs-pagination .page-numbers,
    .companies-pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
        margin: 0 0.15rem;
    }
}

/* Single Company Styles */ 

/* Company Hero Section */
.company-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.company-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(24, 63, 225, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(24, 63, 225, 0.05) 0%, transparent 40%);
    background-size: 200px 200px, 150px 150px;
    z-index: 1;
}

.company-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.company-hero-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.company-logo-section {
    flex-shrink: 0;
}

.company-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #fff;
}

.company-logo-placeholder-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #183fe1 0%, #667eea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.company-info {
    flex: 1;
}

.company-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 1rem 0;
    line-height: 24px;
}

.company-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #4a5568;
}

.meta-icon {
    font-style: normal;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.company-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    flex-shrink: 0;
}

.company-stats {
    text-align: center;
}

.stat-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #183fe1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
    font-weight: 500;
}

.company-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Description Section */
.company-description-section {
    margin-bottom: 4rem;
}


.company-tagline {
    font-size: 1.25rem;
    color: #4a5568;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.company-full-description {
    line-height: 1.7;
    font-size: 1.1rem;
    color: #2d3748;
}

.company-full-description h2,
.company-full-description h3,
.company-full-description h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
    font-weight: 600;
}

.company-full-description p {
    margin-bottom: 1.5rem;
}

/* Company Jobs Section */
.company-jobs-section {
    margin-bottom: 4rem;
}

.company-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.company-job-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.company-job-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #cbd5e0;
    transform: translateY(-4px);
}

.job-item-header {
    margin-bottom: 1rem;
}

.job-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.job-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-title a:hover {
    color: #183fe1;
}

.job-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-location,
.job-salary,
.job-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
}

.job-item-excerpt {
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.job-item-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-view-job,
.btn-apply-job {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
    flex: 1;
    min-width: 120px;
}

.btn-view-job {
    background: #fff;
    color: #183fe1;
    border-color: #183fe1;
}

.btn-view-job:hover {
    background: #183fe1;
    color: #fff;
    transform: translateY(-2px);
}

.btn-apply-job {
    background: #38a169;
    color: #fff;
    border-color: #38a169;
}

.btn-apply-job:hover {
    background: #2f855a;
    border-color: #2f855a;
    color: #fff;
    transform: translateY(-2px);
}

/* No Jobs Message */
.no-jobs-message {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    margin: 2rem 0;
}

.no-jobs-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-jobs-message h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-jobs-message p {
    font-size: 1.1rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Company Navigation */
.company-navigation-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}

.company-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}


.nav-arrow {
    font-size: 1.5rem;
    color: #183fe1;
    font-weight: bold;
}

.nav-content {
    flex: 1;
}

.nav-subtitle {
    display: block;
    font-size: 0.8rem;
    color: #4a5568; /* Improved contrast: 6.2:1 on white background (WCAG AA compliant) */
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: #1a202c;
    font-size: 1rem;
    line-height: 1.4;
}

.nav-next {
    text-align: right;
}

.nav-next a {
    flex-direction: row-reverse;
}

/* Responsive Design for Single Company */
@media (max-width: 768px) {
    .company-hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .company-hero-left {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .company-logo-large,
    .company-logo-placeholder-large {
        width: 100px;
        height: 100px;
    }
    
    .company-title {
        font-size: 2rem;
    }
    
    .company-hero-right {
        align-items: center;
    }
    
    .company-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    
    .company-content {
        padding: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .company-jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-job-item {
        padding: 1.5rem;
    }
    
    .company-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .nav-next a {
        flex-direction: row;
    }
    
    .job-item-footer {
        flex-direction: column;
    }
    
    .btn-view-job,
    .btn-apply-job {
        flex: none;
    }
}

@media (max-width: 480px) {
    .company-hero-section {
        padding: 2rem 1.5rem;
    }
    
    .company-logo-large,
    .company-logo-placeholder-large {
        width: 80px;
        height: 80px;
    }
    
    .company-title {
        font-size: 1.75rem;
        line-height: 2rem;
    }
    
    .company-content {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .company-job-item {
        padding: 1.25rem;
    }
    
    .company-actions {
        flex-direction: column;
        width: 100%;
    }
    
} 

.job-hero-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.job-hero-left {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.job-company-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.company-logo-section {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007cba;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.company-info {
    text-align: center;
}

.company-link {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.company-link:hover {
    text-decoration: underline;
}

.company-text {
    color: #666;
    font-size: 0.9rem;
}

.job-info {
    flex: 1;
}

.job-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.job-hero-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.job-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}


.job-description-section,
.job-requirements-section,
.job-benefits-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.job-content,
.job-requirements,
.job-benefits {
    line-height: 1.7;
    font-size: 1.1rem;
    color: #333;
}

.job-content h2,
.job-content h3,
.job-content h4,
.job-requirements h2,
.job-requirements h3,
.job-requirements h4,
.job-benefits h2,
.job-benefits h3,
.job-benefits h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.job-content p,
.job-requirements p,
.job-benefits p {
    margin-bottom: 1rem;
}

.job-content ul,
.job-content ol,
.job-requirements ul,
.job-requirements ol,
.job-benefits ul,
.job-benefits ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.job-apply-section {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.apply-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.apply-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-apply-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #28a745;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-apply-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #28a745;
}

.job-navigation-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-arrow {
    font-size: 1.5rem;
    color: #007cba;
    font-weight: bold;
}

.nav-content {
    flex: 1;
}

.nav-subtitle {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.nav-next {
    text-align: right;
}

.nav-next a {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .job-hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-hero-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .job-company-section {
        min-width: auto;
    }
    
    .job-meta-info {
        justify-content: center;
        gap: 1rem;
    }
    
    .job-hero-right {
        align-items: center;
    }
    
    .job-actions {
        align-items: center;
    }
    
    .job-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .nav-next a {
        flex-direction: row;
    }
    
    .job-title {
        font-size: 2rem;
    }
    
    .wp-block-group.alignwide {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .job-hero-section,
    .job-description-section,
    .job-requirements-section,
    .job-benefits-section,
    .job-apply-section,
    .job-navigation-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .wp-block-group.alignwide {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .job-hero-section,
    .job-description-section,
    .job-requirements-section,
    .job-benefits-section,
    .job-apply-section,
    .job-navigation-section {
        padding: 1rem;
    }
    
    .job-title {
        font-size: 1.75rem;
    }
    
    .job-meta-info {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Single Job Header Info Styles */
.job-header-info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-company-info {
    flex-shrink: 0;
    min-width: 200px;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--tutor-color-text-primary, #2c3e50);
    margin-bottom: 10px;
}

.company-link {
    color: var(--tutor-color-primary, #3498db);
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: var(--tutor-color-primary-hover, #2980b9);
}


/* Responsive for job header info */
@media (max-width: 768px) {
    .job-header-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .job-company-info {
        min-width: auto;
        width: 100%;
    }
    
    .job-detail-item {
        padding: 0px;
    }
    
    .detail-label {
        min-width: 70px;
        font-size: 11px;
    }
    
    .detail-value {
        font-size: 14px;
    }
}

