.sfc-videos-page {
    background: var(--sfc-white, #fff);
    color: var(--sfc-navy, #0f2940);
    overflow: hidden;
}

.sfc-videos-hero {
    position: relative;
    padding: clamp(56px, 7vw, 92px) 0 clamp(70px, 8vw, 110px);
    color: #fff;
}

.sfc-videos-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 86px);
    align-items: center;
}

.sfc-videos-hero__media {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 22px 56px rgba(0, 0, 0, .22);
    border: 2px solid rgba(255, 255, 255, .65);
    background: rgba(0, 0, 0, .15);
}

.sfc-videos-hero__media img,
.sfc-videos-hero__embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 0;
}

.sfc-videos-hero__content {
    max-width: 640px;
}

.sfc-videos-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: .98;
    letter-spacing: -.04em;
    color: #fff;
}

.sfc-videos-hero__subtitle {
    margin: 0 0 18px;
    font-size: clamp(17px, 1.8vw, 24px);
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
}

.sfc-videos-hero__text {
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
}

.sfc-videos-hero__text p:last-child,
.sfc-videos-statement__inner p:last-child,
.sfc-videos-lifestyle__intro p:last-child {
    margin-bottom: 0;
}

.sfc-videos-brush {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 48px;
    background-repeat: repeat-x;
    background-size: auto 48px;
    pointer-events: none;
    z-index: 2;
}

.sfc-videos-brush--white {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='54' viewBox='0 0 520 54'%3E%3Cpath fill='%23fff' d='M0 31c43 8 69-2 103 3 43 7 82 1 127-3 44-4 84 10 125 4 45-6 76-8 165-1v20H0z'/%3E%3Cpath fill='%23fff' d='M0 42c56-5 90-13 141-8 39 4 71 15 120 4 40-9 74 1 116 4 45 3 91-10 143-2v14H0z'/%3E%3C/svg%3E");
}

.sfc-videos-brush--red {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='54' viewBox='0 0 520 54'%3E%3Cpath fill='%23f7382a' d='M0 31c43 8 69-2 103 3 43 7 82 1 127-3 44-4 84 10 125 4 45-6 76-8 165-1v20H0z'/%3E%3Cpath fill='%23f7382a' d='M0 42c56-5 90-13 141-8 39 4 71 15 120 4 40-9 74 1 116 4 45 3 91-10 143-2v14H0z'/%3E%3C/svg%3E");
}

.sfc-videos-statement {
    position: relative;
    padding: clamp(46px, 6vw, 76px) 0 clamp(34px, 5vw, 56px);
    text-align: center;
}

.sfc-videos-statement__inner {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(18px, 1.9vw, 24px);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #102b41;
}

.sfc-videos-library {
    position: relative;
    padding: clamp(10px, 2vw, 22px) 0 clamp(92px, 10vw, 136px);
}

.sfc-videos-library__inner {
    max-width: 1180px;
}

.sfc-videos-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 28px;
    border-bottom: 1px solid #dce4ea;
}

.sfc-videos-tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 0 12px;
    color: #8a98a6;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.sfc-videos-tabs button.is-active {
    color: #0f2940;
    border-color: #0f2940;
}

.sfc-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.sfc-video-card {
    display: flex;
    flex-direction: column;
    background: #f5f6f7;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(12, 33, 52, .09);
    transition: transform .2s ease, box-shadow .2s ease;
}

.sfc-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(12, 33, 52, .14);
}

.sfc-video-card[hidden] {
    display: none !important;
}

.sfc-video-card__trigger {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: inherit;
}

.sfc-video-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #102b41;
}

.sfc-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.sfc-video-card:hover .sfc-video-card__thumb img {
    transform: scale(1.04);
}

.sfc-video-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 38px;
    border-radius: 12px;
    transform: translate(-50%, -50%);
    background: #f7382a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.sfc-video-card__play::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff;
}

.sfc-video-card__body {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
}

.sfc-video-card__meta {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.sfc-video-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
    background: radial-gradient(circle at 50% 42%, #b3dc75 0 38%, #75b843 39% 70%, #e7f7d3 71% 100%);
    border: 2px solid #e5f4d5;
}

.sfc-video-card h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    color: #0f2940;
}

.sfc-video-card__meta p,
.sfc-video-card__excerpt,
.sfc-video-card__stats {
    margin: 0;
    color: #5d6b78;
    font-size: 13px;
    line-height: 1.45;
}

.sfc-video-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sfc-video-card__stats {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #34495b;
}

.sfc-videos-load {
    display: block;
    margin: 34px auto 0;
    width: min(260px, 100%);
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: #f0f0f0;
    color: #0f2940;
    font-weight: 900;
    cursor: pointer;
}

.sfc-videos-load[hidden] {
    display: none !important;
}

.sfc-videos-lifestyle {
    position: relative;
    margin-top: 0;
    padding: clamp(64px, 8vw, 96px) 0 0;
    text-align: center;
    color: #fff;
}

.sfc-videos-lifestyle__inner {
    max-width: 1060px;
}

.sfc-videos-lifestyle__logo {
    width: clamp(78px, 9vw, 118px);
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.sfc-videos-lifestyle h2 {
    max-width: 740px;
    margin: 0 auto 20px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.05;
    color: #fff;
    letter-spacing: -.035em;
}

.sfc-videos-lifestyle__intro {
    max-width: 780px;
    margin: 0 auto 24px;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
    color: #fff;
}

.sfc-videos-lifestyle .sfc-btn {
    margin: 0 auto;
}

.sfc-videos-lifestyle__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 42px);
    margin: clamp(52px, 7vw, 78px) auto 0;
    transform: translateY(72px);
}

.sfc-videos-lifestyle-card {
    position: relative;
    min-height: 360px;
    border-radius: 7px;
    overflow: hidden;
    text-align: left;
    background: #071724;
    box-shadow: 0 22px 46px rgba(0, 0, 0, .22);
}

.sfc-videos-lifestyle-card img,
.sfc-videos-lifestyle-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sfc-videos-lifestyle-card img {
    object-fit: cover;
}

.sfc-videos-lifestyle-card__shade {
    background: linear-gradient(180deg, rgba(5, 18, 30, .05) 0%, rgba(5, 18, 30, .65) 44%, rgba(5, 18, 30, .96) 100%);
}

.sfc-videos-lifestyle-card__content {
    position: relative;
    z-index: 2;
    min-height: 360px;
    padding: 42px 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sfc-videos-lifestyle-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.05;
    color: #fff;
}

.sfc-videos-lifestyle-card p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.42;
    font-weight: 700;
    color: #fff;
}

.sfc-videos-lifestyle-card a {
    border-top: 1px solid rgba(255, 255, 255, .34);
    padding-top: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sfc-videos-lifestyle-card a span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #0f2940;
    font-size: 22px;
    line-height: 1;
}

.sfc-video-modal[hidden] {
    display: none !important;
}

.sfc-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.sfc-video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.sfc-video-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(780px, 94vw);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.sfc-video-modal__close {
    position: absolute;
    top: -52px;
    right: -6px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: #202020;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.sfc-video-modal__frame {
    background: #000;
    aspect-ratio: 16 / 9;
}

.sfc-video-modal__frame iframe,
.sfc-video-modal__frame video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.sfc-video-modal h2 {
    margin: 0;
    padding: 18px 22px;
    font-size: 22px;
    line-height: 1.2;
    color: #0f2940;
}

@media (max-width: 1100px) {
    .sfc-videos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sfc-videos-hero__grid {
        grid-template-columns: 1fr;
    }
    .sfc-videos-grid,
    .sfc-videos-lifestyle__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sfc-videos-lifestyle__cards {
        transform: translateY(54px);
    }
}

@media (max-width: 640px) {
    .sfc-videos-hero {
        padding-top: 42px;
    }
    .sfc-videos-tabs {
        overflow-x: auto;
        gap: 16px;
    }
    .sfc-videos-grid,
    .sfc-videos-lifestyle__cards {
        grid-template-columns: 1fr;
    }
    .sfc-videos-lifestyle-card,
    .sfc-videos-lifestyle-card__content {
        min-height: 320px;
    }
    .sfc-video-modal {
        padding: 18px;
    }
    .sfc-video-modal__close {
        right: 0;
        top: -48px;
    }
}

/* Video page 100 Year Lifestyle section compact layout fix */
.sfc-videos-lifestyle {
    position: relative;
    padding: clamp(64px, 6vw, 92px) 0 clamp(72px, 6vw, 110px);
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: var(--sfc-red, #f7382a);
}

.sfc-videos-lifestyle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: clamp(105px, 12vw, 170px);
    background: var(--sfc-white, #fff);
    pointer-events: none;
}

.sfc-videos-lifestyle__inner {
    position: relative;
    z-index: 1;
    max-width: 1040px;
}

.sfc-videos-lifestyle__logo {
    width: clamp(78px, 7vw, 110px);
    height: auto;
    display: block;
    margin: 0 auto clamp(18px, 2vw, 26px);
}

.sfc-videos-lifestyle h2 {
    max-width: 760px;
    margin: 0 auto 18px;
    color: var(--sfc-white, #fff);
    font-size: clamp(1.85rem, 2.55vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.sfc-videos-lifestyle__intro {
    max-width: 720px;
    margin: 0 auto clamp(24px, 2.4vw, 34px);
    color: var(--sfc-white, #fff);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 850;
}

.sfc-videos-lifestyle .sfc-btn {
    min-width: 300px;
    margin: 0 auto;
}

.sfc-videos-lifestyle__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 38px);
    margin: clamp(50px, 5vw, 76px) auto 0;
    transform: none;
    align-items: stretch;
}

.sfc-videos-lifestyle-card {
    position: relative;
    overflow: hidden;
    min-height: clamp(300px, 23vw, 360px);
    color: var(--sfc-white, #fff);
    background: var(--sfc-blue-dark, #071724);
    border-radius: 7px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
    text-align: left;
}

.sfc-videos-lifestyle-card img,
.sfc-videos-lifestyle-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sfc-videos-lifestyle-card img {
    object-fit: cover;
}

.sfc-videos-lifestyle-card__shade {
    background: linear-gradient(180deg, rgba(7, 22, 34, .04) 0%, rgba(7, 22, 34, .48) 42%, rgba(7, 22, 34, .96) 100%);
}

.sfc-videos-lifestyle-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    min-height: auto;
    padding: clamp(20px, 2.2vw, 30px);
    display: block;
}

.sfc-videos-lifestyle-card h3 {
    margin: 0 0 14px;
    color: var(--sfc-white, #fff);
    font-size: clamp(1.22rem, 1.55vw, 1.65rem);
    line-height: 1.15;
}

.sfc-videos-lifestyle-card p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .92);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.45;
}

.sfc-videos-lifestyle-card a {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-top: 17px;
    color: var(--sfc-white, #fff);
    border-top: 1px solid rgba(255, 255, 255, .34);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.sfc-videos-lifestyle-card a span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    color: var(--sfc-blue-dark, #071724);
    background: var(--sfc-white, #fff);
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .sfc-videos-lifestyle {
        padding: 60px 0 70px;
    }

    .sfc-videos-lifestyle::after {
        height: 90px;
    }

    .sfc-videos-lifestyle .sfc-btn {
        min-width: 0;
        width: 100%;
        max-width: 330px;
    }

    .sfc-videos-lifestyle__cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        transform: none;
    }
}

@media (max-width: 640px) {
    .sfc-videos-lifestyle {
        padding-bottom: 68px;
    }
}
