/*
   Theme name: Lawson Recruitment
   Version: 1.0
   Author: Wizbit Internet Services
*/
/* Homepage recruitment sector cards */
/* Homepage recruitment sector cards */

.sector-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.sector-cards > * {
    display: block;
    background: #ffffff;
    padding: 24px !important;
    border-radius: 8px;
    border-bottom: 4px solid #fbbf24;
    box-sizing: border-box;
    min-width: 0;
}

.sector-cards > a {
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.sector-cards > a:hover {
    background: #fffbeb;
}

@media (max-width: 767px) {
    .sector-cards {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Refined homepage sector cards */
.sector-cards {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.sector-cards > * {
    grid-column: span 2;
    min-width: 0;
    min-height: 68px;
    padding: 18px 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Center the final two cards */
.sector-cards > :nth-child(4) {
    grid-column: 2 / span 2;
}

.sector-cards > :nth-child(5) {
    grid-column: 4 / span 2;
}

/* Mobile: one card per row */
@media (max-width: 767px) {
    .sector-cards {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .sector-cards > * {
        grid-column: 1 / -1 !important;
        min-height: 60px;
        padding: 14px !important;
    }
}

/* Final sector card appearance */
.sector-cards > .sector-card {
    background: #ffffff;
    border-radius: 8px;
    border-bottom: 4px solid #fbbf24;
    color: #111111;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.sector-cards > .sector-card:hover {
    background: #fff8eb;
}

.sector-arrow {
    color: #f5ad00;
    margin-left: 8px;
    font-size: 20px;
    font-weight: 600;
}

/* Center homepage sector heading and introduction */
section.bg-gray-100.py-12 > div > div.text-center {
    text-align: center !important;
    width: 100%;
}
