.socreation-film__breadcrumbs {
    margin: 40px auto 0;
    padding: 0;
    border: 0;
    max-width: 100%;
    color: #736b63;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: .025em;
    text-transform: none;
    text-align: center;
}

.socreation-film__breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 6px 0;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.socreation-film__breadcrumbs li {
    display: inline;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font: inherit;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.socreation-film__breadcrumbs li + li::before {
    content: "›";
    display: inline-block;
    position: static;
    margin: 0 12px;
    color: #a99b8a;
    font-weight: 400;
}

.socreation-film__breadcrumbs a {
    display: inline-block;
    padding: 4px 0;
    color: #736b63;
    font: inherit;
    text-decoration: none !important;
    border: 0 !important;
    background: transparent;
    box-shadow: none;
}

.socreation-film__breadcrumbs a:hover {
    color: #171717;
}

.socreation-film__breadcrumbs a:focus-visible {
    outline: 2px solid #8a7b67;
    outline-offset: 4px;
}

.socreation-film__breadcrumbs [aria-current="page"] {
    color: #504941;
}

@media (max-width: 640px) {
    .socreation-film__breadcrumbs {
        margin-top: 28px;
        font-size: 11px;
    }

    .socreation-film__breadcrumbs li + li::before {
        margin: 0 8px;
    }
}

.socreation-film {
    box-sizing: border-box;
    width: min(1120px, calc(100% - 40px));
    margin: 70px auto 90px;
    color: #171717;
}

.socreation-film *,
.socreation-film *::before,
.socreation-film *::after {
    box-sizing: inherit;
}

.socreation-film__header {
    margin: 0 auto 42px;
    text-align: center;
}

.socreation-film__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.08;
}

.socreation-film__meta {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid #e5ddd2;
    border-bottom: 1px solid #e5ddd2;
}

.socreation-film__meta > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px;
    min-width: 0;
    padding: 0 24px;
    text-align: center !important;
}

.socreation-film__meta > div + div {
    border-left: 1px solid #e5ddd2;
}

.socreation-film__meta dt {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    color: #8a7b67;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.socreation-film__meta dd {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.socreation-film__video,
.socreation-film__poster {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.socreation-film__video + .socreation-film__poster {
    margin-top: 0;
}

.socreation-film__video iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
}

.socreation-film__video .lyte-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Ukrywa tytuł filmu dodawany przez WP YouTube Lyte na miniaturze. */
.socreation-film__video .tC,
.socreation-film-card__video .tC {
    display: none !important;
}

/* Delikatne powiększenie usuwa czarne pasy zapisane w miniaturach YouTube. */
.socreation-film__video .pL,
.socreation-film-card__video .pL {
    margin: 0 !important;
    background-position: center center !important;
    background-color: transparent !important;
    background-size: 116% auto !important;
}

.socreation-film__video .lyMe,
.socreation-film-card__video .lyMe {
    display: block !important;
    margin: 0 !important;
    overflow: hidden !important;
    background-color: transparent !important;
}

/* Własny podgląd YouTube: bez tytułu i bez czerwonego przycisku na mobile. */
.socreation-player {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #171717;
}

.socreation-player__thumbnail {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center;
    border: 0 !important;
}

.socreation-film__video .socreation-player iframe,
.socreation-film-card__video .socreation-player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
}

.socreation-player__play {
    position: absolute !important;
    z-index: 2;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 68px !important;
    height: 68px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    border: 0 !important;
    border-radius: 50% !important;
    outline-offset: 4px;
    background: rgba(255, 255, 255, .96) !important;
    background-image: none !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3) !important;
    cursor: pointer;
    opacity: 1 !important;
    transition: background-color .2s ease, transform .2s ease !important;
    -webkit-appearance: none;
    appearance: none;
}

.socreation-player__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 53%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #171717;
}

.socreation-player__play:hover,
.socreation-player__play:focus-visible {
    background: #fff !important;
    transform: translate(-50%, -50%) scale(1.06) !important;
}

/* Biały przycisk odtwarzania zamiast czerwonej grafiki WP YouTube Lyte. */
.socreation-film__video .pL .play,
.socreation-film-card__video .pL .play {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 68px !important;
    height: 68px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    border: 0 !important;
    border-radius: 50% !important;
    outline: 0;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3) !important;
    cursor: pointer;
    opacity: 1 !important;
    transition: background-color .2s ease, transform .2s ease !important;
    -webkit-appearance: none;
    appearance: none;
}

.socreation-film__video .pL .play::before,
.socreation-film-card__video .pL .play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 53%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #171717;
}

.socreation-film__video .pL .play:hover,
.socreation-film__video .pL .play:focus,
.socreation-film-card__video .pL .play:hover,
.socreation-film-card__video .pL .play:focus {
    background: #fff !important;
    transform: translate(-50%, -50%) scale(1.06) !important;
}

.socreation-film__image {
    display: block;
    width: 100%;
    height: auto;
}

.socreation-film__story {
    max-width: 780px;
    margin: 62px auto 0;
    font-size: 18px;
    line-height: 1.8;
}

.socreation-film__story h2 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.socreation-film__story p {
    margin: 0 0 1.2em;
}

.socreation-film__back {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 50px 0 0;
    text-align: center;
}

.socreation-film__back a {
    display: inline-block;
    padding: 14px 20px;
    max-width: 100%;
    line-height: 1.4;
    color: #171717;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #d5cec5;
}

.socreation-film__back a:hover,
.socreation-film__back a:focus {
    color: #8a7b67;
}

/* Grid realizacji: 2 kolumny na komputerze, 1 na telefonie. */
@media (max-width: 1024px) {
    .socreation-film__back {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .socreation-film__back a {
        text-align: center;
    }
}

.socreation-film-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px 34px;
    width: min(1200px, calc(100% - 40px));
    margin: 60px auto 90px;
}

.socreation-film-card {
    min-width: 0;
}

.socreation-film-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.socreation-film-card__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.15;
    text-align: left;
}

.socreation-film-card__title a {
    color: #171717;
    text-decoration: none;
}

.socreation-film-card__title a:hover,
.socreation-film-card__title a:focus {
    color: #8a7b67;
}

.socreation-film-card__history {
    flex: 0 0 auto;
    padding-bottom: 4px;
    color: #171717;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
}

.socreation-film-card__history:hover,
.socreation-film-card__history:focus {
    color: #8a7b67;
}

.socreation-film-card__video {
    display: block;
    width: 100%;
    overflow: hidden;
    background: transparent;
    font-size: 0;
    line-height: 0;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .1);
}

.socreation-film-card__video iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
}

.socreation-film-card__video .lyte-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.socreation-film-card__meta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 560px;
    margin: 26px auto 0;
}

.socreation-film-card__meta > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px;
    min-width: 0;
    padding: 0 22px;
    text-align: center !important;
}

.socreation-film-card__place {
    grid-column: auto;
    border-left: 1px solid #e5ddd2;
}

.socreation-film-card__meta dt {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    color: #8a7b67;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.socreation-film-card__meta dd {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    color: #171717;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .socreation-player__play,
    .socreation-film__video .pL .play,
    .socreation-film-card__video .pL .play {
        width: 58px !important;
        height: 58px !important;
        background: #fff !important;
        background-image: none !important;
    }

    .socreation-player__play::before,
    .socreation-film__video .pL .play::before,
    .socreation-film-card__video .pL .play::before {
        border-top-width: 9px;
        border-bottom-width: 9px;
        border-left-width: 14px;
    }

    .socreation-film__video .tC,
    .socreation-film__video .tT,
    .socreation-film-card__video .tC,
    .socreation-film-card__video .tT {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .socreation-film {
        width: min(100% - 24px, 1120px);
        margin-top: 44px;
        margin-bottom: 60px;
    }

    .socreation-film__header {
        margin-bottom: 30px;
    }

    .socreation-film__meta {
        grid-template-columns: 1fr;
        max-width: 360px;
        padding: 8px 0;
    }

    .socreation-film__meta > div {
        padding: 14px 10px;
    }

    .socreation-film__meta > div + div {
        border-top: 1px solid #e5ddd2;
        border-left: 0;
    }

    .socreation-film__story {
        margin-top: 42px;
        font-size: 16px;
        line-height: 1.7;
    }

    .socreation-film-grid {
        grid-template-columns: 1fr;
        gap: 52px;
        width: min(100% - 24px, 1200px);
        margin-top: 42px;
        margin-bottom: 60px;
    }

    .socreation-film-card {
        display: flex;
        flex-direction: column;
    }

    .socreation-film-card__header {
        display: contents;
    }

    .socreation-film-card__title {
        order: 1;
        width: 100%;
        margin: 0 0 16px;
        font-size: clamp(20px, 6.8vw, 26px);
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
    }

    .socreation-film-card__video {
        order: 2;
    }

    .socreation-film-card__meta {
        order: 3;
    }

    .socreation-film-card__history {
        order: 4;
        align-self: center;
        margin-top: 24px;
        font-size: 10px;
        text-align: center;
    }

    .socreation-film-card__meta > div {
        padding: 0 12px;
    }
}

/* Telefon poziomo: dwie kolumny, ale mobilna kolejność elementów w karcie. */
@media (orientation: landscape) and (max-width: 960px) and (max-height: 600px) and (hover: none) {
    .socreation-film-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px 22px;
        width: min(100% - 24px, 1200px);
        margin-top: 36px;
        margin-bottom: 60px;
    }

    .socreation-film-card {
        display: flex;
        flex-direction: column;
    }

    .socreation-film-card__header {
        display: contents;
    }

    .socreation-film-card__title {
        order: 1;
        width: 100%;
        margin: 0 0 14px;
        font-size: clamp(18px, 2.8vw, 24px);
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
    }

    .socreation-film-card__video {
        order: 2;
    }

    .socreation-film-card__meta {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }

    .socreation-film-card__history {
        order: 4;
        align-self: center;
        margin-top: 20px;
        font-size: 10px;
        text-align: center;
    }

    .socreation-film-card__meta > div {
        padding: 0 10px;
    }

    .socreation-player__play,
    .socreation-film-card__video .pL .play {
        width: 54px !important;
        height: 54px !important;
        background: #fff !important;
        background-image: none !important;
    }

    .socreation-player__play::before,
    .socreation-film-card__video .pL .play::before {
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 13px;
    }

    .socreation-film-card__video .tC,
    .socreation-film-card__video .tT {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}
