
/* KAYROMA ORG PREMIUM V2 UPGRADE */

.company-presentation {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(12px, 1.7vw, 22px);
    width: min(1320px, calc(100% - 24px));
    margin-inline: auto;
    padding: clamp(12px, 2vw, 26px);
    border-radius: 30px;
    border: 1px solid rgba(210, 225, 249, .15);
    background:
        radial-gradient(ellipse at 85% 8%, rgba(126, 157, 207, .16), transparent 48%),
        radial-gradient(ellipse at 10% 80%, rgba(124, 157, 201, .10), transparent 48%),
        #1d2e46;
    color: #eef4ff;
    box-shadow: 0 20px 55px rgba(11, 25, 46, .13);
}

.company-presentation > .company-presentation__hero {
    grid-column: 1 / -1;
    border-radius: 25px;
    border: 1px solid rgba(219, 233, 255, .15);
    background:
        radial-gradient(ellipse at 85% 10%, rgba(162, 188, 230, .17), transparent 52%),
        linear-gradient(125deg, #2a405d, #354f70 60%, #2c435f);
    box-shadow: 0 10px 26px rgba(8, 21, 41, .10);
}

.company-presentation > .company-presentation__section {
    grid-column: span 6;
    min-width: 0;
    align-self: stretch;
    border: 1px solid rgba(220, 233, 255, .14);
    border-radius: 22px;
    background: linear-gradient(145deg, #344c69, #2b405d);
    box-shadow: 0 8px 24px rgba(9, 23, 44, .09);
    color: #eef4ff;
}

.company-presentation > .company-presentation__section.org-v2-wide {
    grid-column: span 8;
}

.company-presentation > .company-presentation__section.org-v2-narrow {
    grid-column: span 4;
}

.company-presentation > .company-presentation__section.org-v2-full {
    grid-column: 1 / -1;
}

.company-presentation > .company-presentation__section.org-v2-fold {
    padding: 0;
    overflow: hidden;
}

.org-v2-fold details {
    height: 100%;
}

.org-v2-fold summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: clamp(20px, 2.2vw, 30px);
    cursor: pointer;
    list-style: none;
    color: #f4f8ff;
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 700;
}

.org-v2-fold summary::-webkit-details-marker {
    display: none;
}

.org-v2-fold summary::after {
    content: "+";
    font-size: 26px;
    font-weight: 300;
    color: #d2e0f5;
}

.org-v2-fold details[open] > summary::after {
    content: "−";
}

.org-v2-fold__content {
    padding: 0 clamp(20px, 2.2vw, 30px) 28px;
    overflow-wrap: anywhere;
}

.org-v2-fold__content > :first-child {
    margin-top: 0;
}

.company-presentation__section h2,
.company-presentation__section h3,
.company-presentation__section strong {
    color: #f4f8ff;
}

.company-presentation__section p,
.company-presentation__section li {
    color: #d7e2f2;
}

.company-presentation__tag {
    background: rgba(220, 234, 255, .10);
    border-color: rgba(220, 234, 255, .16);
    color: #eef4ff;
}

.company-presentation__person,
.company-presentation__person a {
    color: #eef4ff;
}

.org-v2-photo {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #344a66;
    box-shadow: 0 12px 28px rgba(10, 24, 44, .12);
}

.company-presentation > .org-v2-photo--1 {
    grid-column: 1 / -1;
    min-height: clamp(270px, 33vw, 440px);
}

.company-presentation > .org-v2-photo--2 {
    grid-column: span 5;
    min-height: 300px;
}

.company-presentation > .org-v2-photo--3 {
    grid-column: span 7;
    min-height: 300px;
}

.company-presentation > .org-v2-photo--4 {
    grid-column: span 7;
    min-height: 300px;
}

.org-v2-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.org-v2-photo:hover img {
    transform: scale(1.035);
}

.org-v2-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(29, 46, 70, .16),
        transparent 32%,
        transparent 68%,
        rgba(29, 46, 70, .25)
    );
}

.company-presentation > .org-premium-apply {
    grid-column: 1 / -1;
    padding: 0;
    border-radius: 22px;
    background: linear-gradient(125deg, #3a5879, #304965);
    border: 1px solid rgba(220, 235, 255, .18);
}

.org-premium-apply__details summary {
    color: #fff;
}

.org-premium-apply__link {
    background: rgba(220, 235, 255, .08);
    border-color: rgba(220, 235, 255, .16);
}

.company-presentation > .company-presentation__brand {
    grid-column: 1 / -1;
    color: #c0d0e6;
}

@media (max-width: 767px) {
    .company-presentation {
        width: calc(100% - 14px);
        padding: 10px;
        gap: 11px;
        border-radius: 20px;
    }

    .company-presentation > .company-presentation__section,
    .company-presentation > .company-presentation__section.org-v2-wide,
    .company-presentation > .company-presentation__section.org-v2-narrow,
    .company-presentation > .company-presentation__section.org-v2-full {
        grid-column: 1 / -1;
        border-radius: 18px;
    }

    .company-presentation > .org-v2-photo--1,
    .company-presentation > .org-v2-photo--4 {
        grid-column: 1 / -1;
        min-height: 240px;
    }

    .company-presentation > .org-v2-photo--2,
    .company-presentation > .org-v2-photo--3 {
        grid-column: span 6;
        min-height: 190px;
    }

    .org-v2-photo {
        border-radius: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .org-v2-photo img {
        transition: none;
    }
}


/* KAYROMA ORG PREMIUM V2 DESKTOP WIDE V1 */

@media (min-width: 1024px) {

    .company-presentation {
        width: min(1600px, calc(100% - 40px));
        max-width: 1600px;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 20px;
        padding: 28px;
        align-items: stretch;
    }

    .company-presentation > .company-presentation__hero {
        grid-column: 1 / -1;
        min-height: 240px;
    }

    .company-presentation > .company-presentation__section,
    .company-presentation > .company-presentation__section.org-v2-wide,
    .company-presentation > .company-presentation__section.org-v2-narrow {
        grid-column: span 6;
        min-height: 160px;
    }

    .company-presentation > .company-presentation__section.org-v2-full,
    .company-presentation > .org-premium-apply {
        grid-column: 1 / -1;
    }

    .company-presentation > .org-v2-photo--1 {
        grid-column: 1 / -1;
        min-height: 350px;
        max-height: 420px;
    }

    .company-presentation > .org-v2-photo--2,
    .company-presentation > .org-v2-photo--3 {
        grid-column: span 6;
        min-height: 240px;
        max-height: 310px;
    }

    .company-presentation > .org-v2-photo--4 {
        grid-column: 1 / -1;
        min-height: 280px;
        max-height: 350px;
    }

    .org-v2-fold summary {
        min-height: 130px;
        padding: 30px 36px;
        font-size: 21px;
    }

    .org-v2-fold details[open] > summary {
        min-height: 85px;
    }

    .org-premium-apply__details summary {
        min-height: 110px;
    }
}


/* KAYROMA ORG PREMIUM V2 CONTENT PREVIEW V1 */

.company-presentation > .company-presentation__section.org-v2-fold {
    min-height: 0;
    height: auto;
    align-self: start;
}

.org-v2-fold details {
    height: auto;
}

.org-v2-fold summary {
    display: block;
    padding: 22px 26px 8px;
    min-height: 0 !important;
    font-size: clamp(17px, 1.5vw, 21px);
}

.org-v2-fold summary::after {
    display: none !important;
}

.org-v2-fold__content {
    padding: 0 26px 24px;
    color: #d7e2f2;
}

.org-v2-fold__content > :first-child {
    margin-top: 0;
}

.org-v2-fold:not(.org-v2-expanded) .org-v2-fold__content {
    max-height: 104px;
    overflow: hidden;
    position: relative;
}

.org-v2-fold:not(.org-v2-expanded) .org-v2-fold__content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    pointer-events: none;
    background: linear-gradient(
        transparent,
        #2b405d
    );
}

.org-v2-fold.org-v2-expanded .org-v2-fold__content {
    max-height: none;
    overflow: visible;
}

.company-presentation > .company-presentation__section.org-v2-fold {
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease;
}

.company-presentation > .company-presentation__section.org-v2-fold:hover {
    border-color: rgba(220, 235, 255, .30);
}

.org-v2-fold:focus-visible {
    outline: 2px solid #d4e5ff;
    outline-offset: 3px;
}

@media (min-width: 1024px) {
    .company-presentation > .company-presentation__section.org-v2-fold {
        min-height: 0 !important;
    }

    .org-v2-fold summary {
        min-height: 0 !important;
    }
}

@media (max-width: 767px) {
    .org-v2-fold summary {
        padding: 19px 20px 8px;
    }

    .org-v2-fold__content {
        padding: 0 20px 20px;
    }
}


/* KAYROMA ORG PREMIUM GEOMETRY V3 */

.company-presentation > .org-v3-layout {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    width: 100%;
}

.org-v3-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.org-v3-column > .company-presentation__section,
.org-v3-column > .org-v2-photo {
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    height: auto;
    margin: 0;
    grid-column: auto !important;
    align-self: auto;
}

.org-v3-column > .company-presentation__section {
    flex: 0 0 auto;
}

.org-v3-column > .org-v2-photo {
    position: relative;
    flex: 0 0 auto;
    height: clamp(220px, 22vw, 340px);
    min-height: 220px !important;
    max-height: 340px;
}

.org-v3-column > .org-v2-photo--1 {
    height: clamp(260px, 28vw, 410px);
    max-height: 410px;
}

.org-v3-column > .org-v2-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-v3-column .org-v2-fold summary {
    min-height: 0 !important;
}

.org-v3-column .org-v2-fold__content {
    max-width: 100%;
}

@media (min-width: 1200px) {
    .company-presentation > .org-v3-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: 18px;
    }

    .org-v3-column {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .company-presentation > .org-v3-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .org-v3-column {
        gap: 12px;
    }

    .org-v3-column > .org-v2-photo,
    .org-v3-column > .org-v2-photo--1 {
        height: 230px;
        min-height: 230px !important;
    }
}


/* KAYROMA PREMIUM VIOLET V1 */

.company-presentation {
    background: #7770A6 !important;
    border-color: rgba(87, 68, 142, .20) !important;
    color: #30254F !important;
}

.company-presentation > .company-presentation__hero {
    background: linear-gradient(
        125deg,
        #9991C2,
        #B9ADE1
    ) !important;
    border-color: rgba(87, 68, 142, .20) !important;
    color: #30254F !important;
}

.company-presentation .company-presentation__hero h1,
.company-presentation .company-presentation__hero strong,
.company-presentation .company-presentation__hero span,
.company-presentation .company-presentation__hero p,
.company-presentation .company-presentation__hero a {
    color: #30254F !important;
}

.company-presentation .company-presentation__pill {
    background: rgba(237, 232, 250, .75) !important;
    color: #30254F !important;
    border-color: rgba(87, 68, 142, .20) !important;
}

/* Kafelki wewnatrz kolumn V3 oraz bezposrednio w siatce V2 */

.company-presentation .company-presentation__section {
    background: #EDE8FA !important;
    border-color: rgba(87, 68, 142, .20) !important;
    color: #30254F !important;
    box-shadow: 0 8px 22px rgba(50, 32, 92, .10) !important;
}

.company-presentation .company-presentation__section h2,
.company-presentation .company-presentation__section h3,
.company-presentation .company-presentation__section strong,
.company-presentation .company-presentation__section p,
.company-presentation .company-presentation__section li,
.company-presentation .company-presentation__section a,
.company-presentation .company-presentation__section span,
.company-presentation .org-v2-fold summary,
.company-presentation .org-v2-fold__content {
    color: #30254F !important;
}

.company-presentation .company-presentation__tag {
    background: #D9CEF3 !important;
    color: #30254F !important;
    border-color: rgba(87, 68, 142, .16) !important;
}

.company-presentation .org-v2-fold:not(.org-v2-expanded)
.org-v2-fold__content::after {
    background: linear-gradient(
        transparent,
        #EDE8FA
    ) !important;
}

.company-presentation .org-v2-fold:hover,
.company-presentation .company-presentation__section:hover {
    border-color: #9278D9 !important;
}

/* APLIKUJ */

.company-presentation .org-premium-apply {
    background: #EDE8FA !important;
    border-color: rgba(87, 68, 142, .20) !important;
}

.company-presentation .org-premium-apply__details summary,
.company-presentation .org-premium-apply__count,
.company-presentation .org-premium-apply__link,
.company-presentation .org-premium-apply__link span {
    color: #30254F !important;
}

.company-presentation .org-premium-apply__count,
.company-presentation .org-premium-apply__link {
    background: #D9CEF3 !important;
    border-color: rgba(87, 68, 142, .18) !important;
}

.company-presentation .org-premium-apply__link:hover {
    background: #B9ADE1 !important;
}

/* Kontakty i stopka */

.company-presentation .company-presentation__person,
.company-presentation .company-presentation__person a {
    color: #30254F !important;
}

.company-presentation .company-presentation__brand,
.company-presentation .company-presentation__brand * {
    color: #30254F !important;
}

/* Delikatny fioletowy akcent zdjec */

.company-presentation .org-v2-photo {
    border: 1px solid rgba(87, 68, 142, .18);
}

.company-presentation .org-v2-photo::after {
    background: linear-gradient(
        180deg,
        rgba(87, 68, 142, .08),
        transparent 35%,
        transparent 70%,
        rgba(87, 68, 142, .12)
    ) !important;
}
