.new-styles .tm-info-card.pp-bf-hero {
    min-width: 0;
    min-height: 260px;
    padding: clamp(20px, 2.4vw, 34px);
}

.new-styles .pp-bf-hero h4 {
    margin: 0 0 12px;
    font-size: clamp(18px, 1.9vw, 25px);
    font-weight: 700;
    line-height: 1.18;
    text-wrap: balance;
}

.new-styles .pp-bf-hero p {
    max-width: 34ch;
    line-height: 1.55;
}

.new-styles .tm-info-card.pp-bf-hero--sale {
    background: #19272e;
    color: #fff;
}

.new-styles .pp-bf-hero--sale h4 {
    color: #fff;
    font-size: clamp(24px, 2.55vw, 36px);
}

.pp-bf-eyebrow {
    display: block;
    margin: 0 0 10px;
    color: #315b60;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.pp-bf-hero--sale .pp-bf-eyebrow {
    color: #f4d48e;
}

.new-styles .pp-bf-hero-offers {
    align-self: stretch;
    margin: 4px 0 18px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.pp-bf-hero-offers li {
    margin: 0;
    padding: 6px 0;
    border-top: 1px solid #ffffff24;
    font-size: 13px;
    line-height: 1.43;
}

.new-styles .pp-bf-hero--sale .tm-info-btn {
    border-color: #f4d48e;
    background: #f4d48e;
    color: #19272e !important;
    font-weight: 700;
}

.new-styles .pp-bf-hero--sale .tm-info-btn:hover {
    border-color: #ffe4a8;
    background: #ffe4a8;
}

.pp-bf-home-media {
    position: relative;
}

.pp-bf-home-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    box-sizing: border-box;
    max-width: calc(100% - 20px);
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
    pointer-events: none;
}

.pp-bf-home-badge {
    background: #f4d48e;
    color: #19272e;
    box-shadow: 0 2px 10px #17283128;
}

.pp-bf-home-badge strong {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
}

.page-id-1169 .course-boxes li.product {
    display: flex;
    flex-direction: column;
}

.page-id-1169 .course-boxes li.product > .tbp_advanced_archive_wrap {
    margin-bottom: 12px;
}

.page-id-1169 .course-boxes .pp-bf-course-format {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    box-sizing: border-box;
    max-width: calc(100% - 40px);
    margin: auto 20px 20px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #174c53;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.page-id-1169 .course-boxes .pp-bf-course-format--offline {
    background: #fff9eb;
    color: #263b41;
}

.pp-bf-course-format > span {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 500;
}

.new-styles .pp-bf-offers {
    scroll-margin-top: 100px;
    padding: clamp(38px, 5vw, 68px) 0;
    background: #f6f4ee;
    color: #19272e;
}

.pp-bf-offers-header {
    margin-bottom: clamp(22px, 3vw, 38px);
}

.new-styles .pp-bf-offers h2,
.new-styles .pp-bf-offers h3,
.new-styles .pp-bf-offers h4 {
    color: #19272e;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

.new-styles .pp-bf-offers h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    text-wrap: balance;
}

.pp-bf-offer-group + .pp-bf-offer-group {
    margin-top: clamp(26px, 4vw, 48px);
}

.pp-bf-group-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.new-styles .pp-bf-group-heading h3 {
    margin: 0;
    font-size: clamp(19px, 2.45vw, 27px);
    line-height: 1.2;
}

.pp-bf-group-dates {
    color: #4d6465;
    font-size: 13px;
    font-weight: 700;
}

.pp-bf-offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 246px), 1fr));
    gap: 16px;
}

.pp-bf-offer-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e1d7;
    border-radius: 12px;
    background: #fff;
}

.pp-bf-offer-image {
    aspect-ratio: 2.1;
    overflow: hidden;
    background: #eae7dd;
}

.new-styles .pp-bf-offer-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-bf-offer-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: clamp(16px, 2.1vw, 24px);
}

.new-styles .pp-bf-offer-content h4 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.new-styles .pp-bf-offer-prices {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.pp-bf-offer-prices li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin: 0;
    padding: 7px 0;
    border-top: 1px solid #eeeee6;
}

.pp-bf-offer-detail {
    color: #3e5057;
    font-size: 13px;
    line-height: 1.4;
}

.pp-bf-offer-money {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 9px;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.3;
}

.pp-bf-offer-money del {
    color: #5c6b70;
    font-size: 13px;
}

.pp-bf-offer-money strong {
    color: #174c53;
    font-size: 18px;
    font-weight: 700;
}

.new-styles .pp-bf-offer-button {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    box-sizing: border-box;
    min-height: 42px;
    margin-top: auto;
    padding: 8px 13px;
    border-radius: 6px;
    background: #174c53;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.new-styles .pp-bf-offer-group--park .pp-bf-offer-button {
    align-self: flex-end;
}

.pp-bf-offer-card--linked {
    position: relative;
}

.new-styles .pp-bf-offer-card--linked .pp-bf-offer-button {
    position: static;
}

.pp-bf-offer-card--linked .pp-bf-offer-button::after {
    position: absolute;
    inset: 0;
    content: "";
}

.pp-bf-offer-card--linked:hover,
.pp-bf-offer-card--linked:focus-within {
    border-color: #174c53;
}

.new-styles .pp-bf-offer-button:hover {
    background: #103c42;
    color: #fff;
}

.new-styles .pp-bf-hero a:focus-visible,
.new-styles .pp-bf-offer-button:focus-visible {
    outline: 3px solid #356c8d;
    outline-offset: 3px;
}

.pp-bf-offer-note {
    margin: auto 0 0;
    color: #4d6465;
    font-size: 13px;
    font-weight: 600;
}

@media (min-width: 700px) {
    .pp-bf-offer-grid--single .pp-bf-offer-card--image {
        display: grid;
        grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    }

    .pp-bf-offer-grid--single .pp-bf-offer-image {
        aspect-ratio: auto;
        min-height: 170px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .new-styles .tm-info-cards:has(.pp-bf-hero) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .new-styles .tm-info-card.pp-bf-hero {
        min-height: 0;
    }

    .new-styles .tm-info-card.pp-bf-hero--sale .tm-info-card-content > .tm-info-btn {
        align-self: flex-start;
        box-sizing: border-box;
        /* Leave room for the fixed chat launcher. */
        max-width: min(100%, calc(100vw - 164px));
        min-height: 44px;
        padding: 11px 12px;
        font-size: 14px;
        line-height: 1.4;
    }
}
