/* ========================================
   CareerInTrades - State Hub Templates
   URL example: /state/texas/
   ======================================== */

/* ========================================
   CareerInTrades - State Career Hub
   ======================================== */

.state-careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.state-career-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
}

.state-career-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.3;
}

.state-career-card h2 a {
    text-decoration: none;
}


/* ========================================
   CareerInTrades - State Hub Content
   ======================================== */

.state-hub-content {
    padding: 20px 0 70px;
}

.state-hub-content h2 {
    margin-top: 38px;
    margin-bottom: 14px;
}

.state-hub-content p {
    max-width: 760px;
    line-height: 1.7;
}

.state-hub-content .career-faq-list {
    margin-top: 18px;
}

.state-hub-content .related-career-grid {
    margin-top: 18px;
}

/* =========================================================
   STATE HUB MODULES
   ========================================================= */
/* =========================================================
   Career In Trades
   State Hub - Featured Career Cards
   ========================================================= */

/* Career Cards Grid Layout */
.cit-state-career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0 40px;
}

/* Individual Career Card */
.cit-state-career-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s ease;
}

/* Career Card Hover Effect */
.cit-state-career-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Career Title */
.cit-state-career-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.3;
}

/* Career Title Link */
.cit-state-career-card h3 a {
    text-decoration: none;
}

/* Career Statistics */
.cit-state-career-card p {
    margin: 8px 0;
    line-height: 1.5;
}

/* View Career Guide Button */
.cit-career-card-button {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 16px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

/* Button Hover Effect */
.cit-career-card-button:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* =========================================================
   Tablet Layout
   Display 2 Cards Per Row
   ========================================================= */
@media (max-width: 1024px) {

    .cit-state-career-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* =========================================================
   Mobile Layout
   Display 1 Card Per Row
   ========================================================= */
@media (max-width: 768px) {

    .cit-state-career-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   Career In Trades
   State Hub - Major Cities Hiring
   ========================================================= */

/* Major Cities Grid Layout */
.major-cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 40px;
}

/* Individual City Card */
.major-city-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Tablet Layout */
@media (max-width: 1024px) {

    .major-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile Layout */
@media (max-width: 768px) {

    .major-cities-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   Career In Trades
   State Hub - Explore Careers
   ========================================================= */

/* Explore Careers Grid Layout */
.explore-careers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0 48px;
}

/* Individual Explore Career Card */
.explore-career-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 18px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Explore Career Card Hover Effect */
.explore-career-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Explore Career Title */
.explore-career-title {
    font-weight: 600;
    line-height: 1.4;
}

/* Tablet Layout */
@media (max-width: 1024px) {

    .explore-careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile Layout */
@media (max-width: 768px) {

    .explore-careers-grid {
        grid-template-columns: 1fr;
    }

}

/* Reduce spacing below featured career cards on State Hub pages */
.career-state-list {
    padding-bottom: 10px;
}

/* Remove extra bottom spacing from the career cards container */
.career-state-list .career-container {
    padding-bottom: 0;
}

/* Reduce spacing before the main State Hub content */
.state-hub-content .career-container {
    padding-top: 20px;
}

/* =========================================================
   Career In Trades
   State Hub - Top Industries
   ========================================================= */

/* Top Industries Grid Layout */
.state-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 40px;
}

/* Individual Industry Card */
.state-industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Tablet Layout */
@media (max-width: 1024px) {

    .state-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile Layout */
@media (max-width: 768px) {

    .state-industries-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================
   State Hub - Fast Growing Careers
========================== */

.cit-state-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
    margin-top:20px;
}

.cit-state-card{
    background:#fff;
    border:1px solid #e5e7eb;
    padding:15px;
    border-radius:8px;
    font-weight:600;
}
