/* ============================================================
   Job Banners Plugin — Styles
   ============================================================ */

/* ---- Archiwum: siatka banerów ---- */

.jb-archive-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.jb-archive-header {
    margin-bottom: 32px;
}

.jb-archive-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.jb-banners-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));*/
    gap: 50px;
}

.jb-banner-item {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.jb-banner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.jb-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.jb-banner-placeholder {
    background: #1a3c5e;
    color: #fff;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.jb-no-offers {
    color: #555;
    font-size: 1rem;
    padding: 20px 0;
}

/* ---- Pojedyncza oferta ---- */

.jb-single-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.jb-breadcrumb {
    margin-bottom: 28px;
}

.jb-breadcrumb a {
    color: #1a3c5e;
    text-decoration: none;
    font-weight: 500;
}

.jb-breadcrumb a:hover {
    text-decoration: underline;
}

.jb-single-offer {
    /* wrapper artykułu */
}

.jb-single-banner {
    margin-bottom: 32px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.jb-single-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.jb-single-title {
    font-size: 30px;
    font-weight: 700;
    margin: 60px 0px 50px 0px;
    line-height: 1.3;
}

.jb-single-body .wp-block-heading{
	font-size:20px;
}

.jb-single-body {
	font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
}

.jb-single-body h2,
.jb-single-body h3 {
    margin-top: 28px;
}

.jb-single-body ul,
.jb-single-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.jb-single-body p {
    margin-bottom: 14px;
}

/* ---- Responsywność ---- */

@media (max-width: 600px) {
    .jb-banners-grid {
        grid-template-columns: 1fr;
    }

    .jb-archive-title {
        font-size: 1.5rem;
    }

    .jb-single-title {
        font-size: 1.4rem;
    }
}
