/* ==========================================================================
   Strona główna V12 — baner KFS + pomarańczowa sekcja oferty BZDZ
   ========================================================================== */

.portal-v12-banner {
    padding: 0;
    background: #fff;
}

.portal-v12-banner > .container {
    padding-top: 0;
    padding-bottom: 0;
}

.portal-v12-banner__picture {
    display: block;
    overflow: hidden;
    width: 100%;
    border-radius: 0;
    background: #eef3f5;
}

.portal-v12-banner__picture img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 808 / 287;
    object-fit: cover;
    object-position: center;
}

.portal-v12-offer {
    padding: 34px 0 54px;
    border-bottom: 1px solid #f2ddd0;
    background:
        linear-gradient(180deg, #fff 0%, #fff9f5 100%);
}

.portal-v12-offer__head {
    margin-bottom: 22px;
    text-align: center;
}

.portal-v12-offer__head h1 {
    margin: 0;
    color: #082f4d;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.15;
}

.portal-v12-offer__head > span {
    display: block;
    width: 54px;
    height: 3px;
    margin: 11px auto 0;
    border-radius: 999px;
    background: #c94a00;
}

.portal-v12-offer__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.portal-v12-offer-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    min-height: 130px;
    padding: 20px 18px;
    border: 1px solid #efd6c5;
    border-radius: 17px;
    background: #fff;
    color: #0b3556;
    text-decoration: none;
    box-shadow: 0 9px 26px rgba(154, 57, 0, .045);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.portal-v12-offer-card:hover {
    transform: translateY(-2px);
    border-color: #e7a777;
    box-shadow: 0 14px 30px rgba(154, 57, 0, .09);
}

.portal-v12-offer-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #fff0e6;
    color: #c94a00;
}

.portal-v12-offer-card__icon svg {
    width: 25px;
    height: 25px;
}

.portal-v12-offer-card__copy {
    min-width: 0;
}

.portal-v12-offer-card__copy strong {
    display: block;
    margin-bottom: 5px;
    color: #082f4d;
    font-size: 17px;
    line-height: 1.2;
}

.portal-v12-offer-card__copy small {
    display: block;
    color: #667b8b;
    font-size: 12px;
    line-height: 1.45;
}

.portal-v12-offer-card__arrow {
    color: #c94a00;
    font-size: 20px;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .portal-v12-offer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .portal-v12-banner > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .portal-v12-banner__picture img {
        aspect-ratio: auto;
        object-fit: contain;
    }

    .portal-v12-offer {
        padding: 28px 0 42px;
    }

    .portal-v12-offer__head {
        padding-inline: 16px;
    }

    .portal-v12-offer__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portal-v12-offer-card {
        min-height: 104px;
        padding: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-v12-offer-card {
        transition: none;
    }

    .portal-v12-offer-card:hover {
        transform: none;
    }
}

.portal-v2-courses {
    padding: 68px 0 74px;
    background: #fff;
}

.portal-v2-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.portal-v2-section-head h2 {
    margin: 8px 0 5px;
    color: #082f4d;
    font-size: clamp(31px, 3vw, 42px);
}

.portal-v2-section-head p {
    margin: 0;
    color: #5a7183;
}

.portal-v2-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portal-v2-course-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dbe5ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(8, 47, 77, .05);
}

.portal-v2-course-card__image {
    display: block;
    overflow: hidden;
    background: #edf3f7;
    text-decoration: none;
}

.portal-v2-course-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.portal-v2-course-card__placeholder {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    color: #70889b;
    background: linear-gradient(135deg, #edf3f7, #dfeaf1);
    font-weight: 700;
}

.portal-v2-course-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.portal-v2-course-card__badge {
    align-self: flex-start;
    padding: 6px 10px;
    border: 1px solid #8db7d8;
    border-radius: 999px;
    background: #eef6fc;
    color: #0b4f8a;
    font-size: 11px;
    font-weight: 800;
}

.portal-v2-course-card h3 {
    margin: 15px 0 9px;
    color: #082f4d;
    font-size: 23px;
    line-height: 1.2;
}

.portal-v2-course-card p {
    margin: 0;
    color: #5a7183;
    line-height: 1.58;
}

.portal-v2-course-card__meta {
    display: grid;
    gap: 6px;
    margin-top: auto;
    padding: 22px 0 17px;
    color: #52697c;
    font-size: 14px;
}

.portal-v2-course-card .btn {
    width: 100%;
    justify-content: center;
}

.portal-v2-drone-link {
    padding: 0 0 72px;
    background: #fff;
}

.portal-v2-drone-link__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 34px;
    border: 1px solid #d8e4ec;
    border-radius: 22px;
    background: #f5f9fb;
}

.portal-v2-drone-link h2 {
    margin: 8px 0;
    color: #082f4d;
    font-size: 28px;
}

.portal-v2-drone-link p {
    max-width: 820px;
    margin: 0;
    color: #5a7183;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .portal-v2-hero__grid {
        grid-template-columns: 1fr;
    }

    .portal-v2-hero__media {
        max-width: 850px;
    }

    .portal-v2-shortcuts__grid,
    .portal-v2-course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .portal-v2-hero {
        padding: 38px 0 22px;
    }

    .portal-v2-hero h1 {
        margin-top: 13px;
        font-size: clamp(42px, 13vw, 58px);
    }

    .portal-v2-hero__lead {
        font-size: 16px;
    }

    .portal-v2-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .portal-v2-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .portal-v2-hero__media {
        border-radius: 18px;
    }

    .portal-v2-shortcuts {
        padding-bottom: 42px;
    }

    .portal-v2-shortcut {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        min-height: 110px;
        padding: 18px;
    }

    .portal-v2-shortcut__icon {
        width: 50px;
        height: 50px;
    }

    .portal-v2-section-head,
    .portal-v2-drone-link__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-v2-courses {
        padding: 48px 0;
    }

    .portal-v2-drone-link {
        padding-bottom: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-v2-shortcut {
        transition: none;
    }

    .portal-v2-shortcut:hover {
        transform: none;
    }
}

/* ========================================================================
   BZDZ — pomarańczowa identyfikacja części pod hero
   ======================================================================== */

.portal-v2-shortcuts {
    background:
        linear-gradient(
            180deg,
            #fffaf6 0%,
            #fff 100%
        );
    border-top: 1px solid #f3dfd1;
}

.portal-v2-shortcut {
    border-color: #efd8c7;
    box-shadow: 0 10px 28px rgba(154, 57, 0, .055);
}

.portal-v2-shortcut:hover {
    border-color: #e4a879;
    box-shadow: 0 15px 34px rgba(154, 57, 0, .10);
}

.portal-v2-shortcut__icon {
    background: #fff1e7;
    color: #c94a00;
}

.portal-v2-shortcut__copy strong {
    color: #082f4d;
}

.portal-v2-shortcut__arrow {
    color: #c94a00;
}

.portal-v2-courses {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffaf6 100%
        );
}

.portal-v2-section-head .portal-v2-eyebrow,
.portal-v2-drone-link .portal-v2-eyebrow {
    color: #c94a00;
}

.portal-v2-course-card {
    border-color: #efd8c7;
    box-shadow: 0 9px 26px rgba(154, 57, 0, .05);
}

.portal-v2-course-card:hover {
    border-color: #e4a879;
    box-shadow: 0 15px 34px rgba(154, 57, 0, .09);
}

.portal-v2-course-card__badge {
    border-color: #efb487;
    background: #fff1e7;
    color: #a63d00;
}

.portal-v2-course-card__placeholder {
    background:
        linear-gradient(
            135deg,
            #fff5ed 0%,
            #fde6d5 100%
        );
    color: #b44a0b;
}

.portal-v2-course-card .btn.btn-secondary {
    border-color: #0b3556;
    background: #0b3556;
    color: #fff;
}

.portal-v2-course-card .btn.btn-secondary:hover {
    border-color: #c94a00;
    background: #c94a00;
    color: #fff;
}

.portal-v2-drone-link {
    background: #fffaf6;
}

.portal-v2-drone-link__inner {
    border-color: #efcfb8;
    background:
        linear-gradient(
            135deg,
            #fff7f0 0%,
            #ffffff 100%
        );
    box-shadow: 0 10px 28px rgba(154, 57, 0, .045);
}

.portal-v2-drone-link__inner .btn.btn-light {
    border-color: #d76a28;
    color: #a63d00;
    background: #fff;
}

.portal-v2-drone-link__inner .btn.btn-light:hover {
    border-color: #c94a00;
    background: #c94a00;
    color: #fff;
}

/* Główne CTA strony — pomarańcz BZDZ. */
.portal-v2-hero__actions .btn.btn-primary,
.portal-v2-courses .btn.btn-primary {
    border-color: #c94a00;
    background: #c94a00;
    color: #fff;
}

.portal-v2-hero__actions .btn.btn-primary:hover,
.portal-v2-courses .btn.btn-primary:hover {
    border-color: #aa3f00;
    background: #aa3f00;
}

/* Delikatny pomarańczowy detal w nagłówkach sekcji. */
.portal-v2-section-head h2::after,
.portal-v2-drone-link h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: #c94a00;
}

@media (max-width: 720px) {
    .portal-v2-shortcuts {
        border-top: 0;
    }
}



.portal-v2-course-card__location{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:16px;
    color:#a54200;
    font-size:14px;
}
.portal-v2-course-card__location strong{
    color:#a54200;
    font-weight:800;
}
