/**
 * Program details / Programs page – additional styles
 * Complements style.css and programs.css.
 * Nav, contact-bar, footer, newsletter use blocks from index.html (styled in style.css).
 */

/* ===== Programs page: ensure shared blocks match index ===== */

/* Hero nav on programs page – already in .nav.nav--hero from style.css */
.hero--programs .nav--hero {
    /* Inherits from style.css */
}

/* Contact bar on programs – same as index, no overrides needed */
.hero--programs + .contact-bar,
header.hero .contact-bar {
    /* Styles from style.css */
}



/* Footer – same as index */
.footer {
    /* Styles from style.css */
}

/* ===== Program-specific overrides (if needed) ===== */

.ast-separate-container {
    background-color: #FFFFFF;
}

.contact-bar-info a:hover {
    text-decoration: none;
}

/* Program detail hero */
.hero--program-detail {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero--program-detail .main-site-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.hero-bg--program-detail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #374758;
    background-image: url('img/program_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero--program-detail .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content--program-detail {
    padding: 0;
    width: 1300px;
    margin: 0 auto;
}

.hero--program-detail .hero-title {
    font-size: 72px;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-subtitle--program-detail {
    font-size: 21px;
    font-weight: 300;
    max-width: 640px;
    margin-bottom: 1rem;
    opacity: 1;
}

.program-details-wrapper {
    width: 1300px;
    margin: 0 auto;
    background: #2C3E50;
    padding: 16px;
    position: relative;
    top: -85px;
    z-index: 2;
}

.hero-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
}

.program-detail-section .container.program-detail-additional {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.program-detail-additional .small-caption {
    font-size: 24px;
    font-weight: 400;
    color: #2C3E50;
    line-height: normal;
}

.program-detail-additional__block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program-detail-additional .small-description {
    font-size: 24px;
    font-weight: 300;
    color: #576B7E;
    line-height: normal;
    margin-bottom: 0;
}

.program-details-main-data-location,
.program-details-main-data-common {
    padding-top: 40px;
}

.program-details-main-data-location {
  display: flex;
    justify-content: space-between;
}

.program-details-main-data-item {
    width: 180px;
}

.program-details-main-data-item:first-child {
    width: 320px;
}

.program-details-main-data-title-data {
    font-size: 28px;
    font-weight: 400;
}

.program-details-apply,
.program-details-book {
    text-transform: uppercase;
}

.program-details-apply {
    background: linear-gradient(90deg, #40B56C 0%, #223F99 100%);
    width: 199px;
    height: 61px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    text-decoration: none;
}

.program-details-apply:hover {
    color: #FFFFFF;
}

td .program-details-apply {
    width: 189px;
}

.program-details-book {
    background: #ffffff;
    width: 199px;
    height: 59px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 400;
    border: 2px solid #007A58;
    color: #2C3E50;
}

.program-details-main-data-title {
    font-size: 20px;
    font-weight: 300;
}

.program-details-main-data {
    display: flex;
    color: #ffffff;
    justify-content: space-between;
}

.program-details-main-data-common {
    display: flex;
    gap: 160px;
}

.program-details-main-data-item svg {
    width: 24px;
    height: 24px;
}

.hero-detail-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #fff;
}

.hero-detail-tag--green {
    background: #4CAF50;
}

.hero-detail-tag--gray {
    background: #8D9EAE;
}

.hero-detail-tag--blue {
    background: #127DFD;
}

#small-caption, #small-caption-1 {
    font-size: 24px;
}

/* ===== Newsletter ===== */
.section-newsletter-wrapper {
    background: #F4F6F8;
    padding-bottom: 144px;
}

.section-newsletter {
    padding: 48px;
    background: #2C3E50;
    max-width: 1300px;
    margin: 0 auto;
}

.container--newsletter {
    display: flex;
}

.container--newsletter .newsletter-content {
    width: 57%;
}

.container--newsletter .newsletter-form {
    width: 43%;
    text-align: right;
}

.newsletter-data-form {
    display: flex;
    width: 100%;
}

.newsletter-data-form .btn-primary {
    width: 150px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #40B56C 0%, #223F99 100%);
}

.newsletter-title {
    font-size: 48px;
    margin: 0;
    font-weight: 400;
    color: #ffffff;
}

.newsletter-desc {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 12px 16px;
    border: none;
    border-radius: 0;
    min-width: 73%;
}

.newsletter-form .btn {
    flex-shrink: 0;
}

.newsletter-legal {
    font-size: 20px;
    color: #F4F6F8;
    text-align: left;
    width: 314px;
    margin-top: 12px;
    font-weight: 300;
}

.newsletter-legal a {
    color: #F4F6F8;
    text-decoration: underline;
}

.newsletter-legal a:hover {
    text-decoration: none;
}

.newsletter-email {
    height: 60px!important;
}

.newsletter-button {
    height: 60px;
}

/* Hero program details bar (dark strip) */
.hero-detail-bar {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 1rem 24px;
    margin-top: auto;
}

.hero-detail-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.hero-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #fff;
}

.hero-detail-meta-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

.hero-detail-meta-icon svg {
    width: 20px;
    height: 20px;
}

.hero-detail-bar-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.hero-detail-bar-btn {
    min-width: 160px;
    text-align: center;
}

.hero-detail-bar .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.hero-detail-bar .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* Program detail main content */
.program-detail-main {
    background: #fff;
}

.program-detail-section {
    padding: 0 0 48px 0;
}

.program-detail-section .container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.program-detail-section h2 {
    font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2C3E50;
}

.program-detail-section p {
    line-height: 1.6;
    color: #576B7E;
}

/* About the Program: text + image */
.program-detail-about-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.program-detail-about-content {
    font-size: 24px;
    font-weight: 300;
    color: #576B7E;
    width: 67%;
}

.program-detail-about-content h2 {
    margin-top: 0;
    font-size: 48px;
    font-weight: 400;
    color: #2C3E50;
}

.program-detail-about-image {
    border-radius: 0;
    overflow: hidden;
}

.program-detail-about-image.duplicate {
    display: none;
}

.program-detail-about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Bullet lists */
.program-detail-list {
    margin: 0 0 0 1.25rem;
    padding: 0;
    line-height: 1.7;
    color: #576B7E;
    list-style-type: disc;
}

.program-detail-list li {
    margin-bottom: 0.5rem;
}

/* What's included grid */
.program-detail-included-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .program-detail-included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.program-detail-included-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.program-detail-included-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #B8C4D0;
}

.program-detail-included-icon svg {
    width: 28px;
    height: 28px;
}

.program-detail-included-item > span:last-child {
    line-height: 1.5;
    color: #576B7E;
}

/* Dates & Availability + FAQ */
.program-detail-dates-faq {
    padding: 3rem 1rem 4rem;
    background: #fff;
}

.program-detail-dates-faq-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.program-detail-dates-title {
    font-size: 48px;
    font-weight: 400;
    color: #2C3E50;
    margin: 0 0 0.5rem;
}

.program-detail-dates-subtitle {
    font-size: 32px;
    color: #576B7E;
    font-weight: 300;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.program-detail-dates-table-wrap {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.program-detail-dates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.program-detail-dates-table thead {
    background: #F4F6F8;
}

.program-detail-dates-table th {
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    text-align: left;
    text-transform: uppercase;
    padding-left: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #576B7E;
}

.program-detail-dates-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #576B7E;
    font-size: 24px;
    vertical-align: middle;
}

.program-detail-dates-table tbody tr:hover {
    background: #f8f9fa;
}

.program-detail-dates-program-name {
    display: block;
    font-weight: 400;
    color: #2C3E50;
    font-size: 24px;
}

.program-detail-dates-program-type {
    display: block;
    font-size: 18px;
    color: #576B7E;
    font-weight: 300;
}

.program-detail-dates-status {
    display: inline-block;
    padding: 6px 8px;
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    border-radius: 0;
    line-height: normal;
}

.program-detail-dates-status--urgent {
    background: #FF0000;
}

.program-detail-dates-status--open {
    background: #4CAF50;
}

.program-detail-dates-status--wait {
    background: #EB9100;
}

.program-detail-dates-apply {
    text-decoration: none;
    color: #fff;
    border: none;
    white-space: nowrap;
}

.program-detail-faq-title {
    font-size: 48px;
    font-weight: 400;
    color: #2C3E50;
    margin: 0 0 1.25rem;
}

.program-detail-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.program-detail-faq-item {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 12px;
}

.program-detail-faq-item:last-child {
    border-bottom: none;
}

.program-detail-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: #576B7E;
    background: #F4F6F8;
    cursor: pointer;
    list-style: none;
    text-align: left;
}

.program-detail-faq-question::-webkit-details-marker {
    display: none;
}

.program-detail-faq-question::after {
    content: '';
    flex-shrink: 0;
    font-size: 24px;
    margin-left: 0.5rem;
    font-weight: 400;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12H19' stroke='%23576B7E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-detail-faq-item[open] .program-detail-faq-question::after {
    content: '';
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5V19M5 12H19' stroke='%23576B7E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;

}

.program-detail-faq-item[open] .program-detail-faq-question {
    background: #e9ecef;
}

.program-detail-faq-question:hover {
    background: #e9ecef;
}

.program-detail-faq-answer {
    padding: 1rem 1.25rem 1.25rem;
    background: #fff;
}

.program-detail-faq-answer p {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #576B7E;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

/* How it works block */
.details-how-it-works-wrapper {
    background: #f5f6f7;
    padding: 3rem 1rem 4rem;
}

.details-how-it-works {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.details-how-it-works-title {
    font-size: 48px;
    font-weight: 400;
    color: #2C3E50;
    margin-bottom: 2.5rem;
}

.details-how-it-works-elements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
    .details-how-it-works-elements {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .details-how-it-works-elements {
        grid-template-columns: repeat(4, 1fr);
        gap: 48px;
    }
}

.details-how-it-works-element-item {
    background: #fff;
    border-radius: 0;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.details-how-it-works-element-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.details-how-it-works-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00924D;
    flex-shrink: 0;
    transition: transform 1s ease;
}

.details-how-it-works-element-item:hover .details-how-it-works-icon {
    transform: rotateY(360deg);
}

.details-how-it-works-icon svg {
    width: 56px;
    height: 56px;
}

.details-how-it-works-text {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    color: #2C3E50;
    line-height: 1.35;
}

@media (min-width: 900px) {
    .details-how-it-works-text {
        font-size: 24px;
        margin-top: 14px;
    }
}

.details-how-it-works-cta {
    display: flex;
    justify-content: center;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.details-how-it-works-cta:hover {
    filter: none!important;
}

.program-detail-dates-apply {
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.program-detail-dates-apply:hover {
    color: #FFFFFF;
    opacity: 1;
    filter: brightness(0.8);
}

.details-how-it-works-btn:hover {
    color: #FFFFFF;
}

.details-how-it-works-btn {
    min-width: 220px;
    padding: 16px 32px;
    text-decoration: none;
    text-align: center;
}

.program-detail-tablet-wrap {
    display: none;
}

td, th {
    border: none;
}

table {
    border: 1px solid #F4F6F8;
}

.program-detail-dates-table td {
    padding: 5px 24px;
    min-width: 200px;
}

tr td:first-child {
    width: 322px;
}

tr td:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

td span {
    line-height: normal;
}

td .program-details-apply {
    margin-bottom: 0;
}

.program-detail-faq {
    padding-top: 48px;
}

#testimonials .section-label {
    margin-bottom: 0;
}

#employer {
    background-color: #3DAB701A;
    padding: 72px 0;
}

.employer {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}

.employer-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    width: 100%;
}

.employer-header a {
    width: 219px;
}

.employer-header__meta {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
}

.employer-title {
    font-size: 48px;
    font-weight: 400;
    color: #2C3E50;
    margin: 0;
    line-height: normal;
}

.employer-description {
    font-size: 24px;
    font-weight: 300;
    color: #576B7E;
    line-height: normal;
    margin: 0;
    max-width: 1020px;
}

.employer-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 6px;
    line-height: normal;
}

.employer-item {
    display: flex;
    align-items: center;
}

.dot {
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background-color: #576B7E;
    margin: 0 12px;
}

.employer-item span {
    font-size: 24px;
    font-weight: 300;
    color: #576B7E;
}

@media (max-width: 1919px) {
    .program-details-wrapper {
        max-width: calc(100vw - 285px);
        margin-left: 72px;
    }

    .program-details-wrapper {
        padding: 16px 16px 16px 48px;
    }

    .program-details-main-data-item:first-child {
        width: 210px;
    }

    .program-details-main-data-location {
        gap: 24px;
    }

    .program-detail-section .container,
    .details-how-it-works,
    .program-detail-dates-faq-inner,
    .section-newsletter,
    .employer {
        max-width: calc(100vw - 285px);
        margin-left: 72px;
    }

    .details-how-it-works-wrapper, .section.program-detail-dates-faq {
        padding-left: 0;
    }

    #testimonials .container {
        max-width: calc(100vw - 160px);
    }
}

@media screen and (max-width: 1399px) {
    .hero-accessibility {
        right: unset;
        left: 24px;
    }

    .hero-title {
        display: inline-block;
    }

    .hero-title-mobile {
        font-size: 72px;
    }

    .hero-subtitle--program-detail {
        max-width: unset;
    }

    .program-details-wrapper,
    .program-detail-section .container,
    .details-how-it-works,
    .program-detail-dates-faq-inner,
    .section-newsletter,
    .employer {
        max-width: calc(100vw - 144px);
        margin: 0 auto;
    }

    .employer-description {
        max-width: 965px;
    }

    .program-details-main-data-item:first-child {
        width: 330px;
    }

    .program-detail-about-content {
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .program-detail-section h2 {
        margin-bottom: 0;
    }

    .program-detail-section p {
        line-height: normal;
        margin-bottom: 0;
    }

    .program-detail-list {
        line-height: normal;
    }

    #small-caption, #small-caption-1 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .program-detail-section {
        padding: 0 0 72px 0;
    }

    .details-how-it-works-wrapper {
        padding: 72px 0;
    }

    #testimonials .container {
        max-width: calc(100vw - 18px);
    }

    .newsletter-data-form .btn-primary {
        width: 186px;
    }

    .newsletter-desc {
        max-width: 556px;
    }

    .newsletter-legal {
        margin-bottom: 0;
    }

    .newsletter-form input {
        min-width: 40%;
    }
}

@media screen and (max-width: 1365px) {
    .hero-title-mobile {
        font-size: 72px;
        margin-top: 130px;
    }

    .hero-subtitle {
        padding-left: 0;
    }

    .container, .program-detail-section .container, .hero-content--program-detail {
        max-width: 880px;
    }

    .program-details-wrapper {
        padding: 16px 16px 16px 48px;
        width: 880px;
    }

    .program-details-main-data-location {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        gap: 24px;
    }

    .program-details-main-data-item {
        width: 250px;
    }

    .program-detail-about-image {
        width: 200px;
        height: 200px;
    }

    .details-how-it-works {
        max-width: 880px;
    }

    .details-how-it-works-element-item {
        height: 206px;
    }

    .details-how-it-works-elements {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 48px;
    }

    .program-detail-about-content {
        width: 100%;
    }

    .program-detail-about-content .section {
        width: 100%;
    }

    .program-detail-about-content .program-detail-list,
    .program-detail-about-content .program-detail-included-grid {
        width: 100%;
    }

    .program-detail-section .container {
        justify-content: space-between;
    }

    tr td:first-child {
        width: 228px;
    }

    .program-detail-dates-table td {
        min-width: 140px;
        padding: 5px;
    }

    .container--newsletter {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .section-newsletter {
        padding: 48px;
    }

    .newsletter-data-form .btn-primary {
        width: 186px;
    }

    .container--newsletter .newsletter-content {
        width: 100%;
        text-align: left;
    }

    .newsletter-title, .newsletter-desc, .newsletter-legal {
        line-height: normal;
        margin-bottom: 0;
    }

    .newsletter-desc {
        max-width: unset;
    }

    .container--newsletter .newsletter-form {
        width: 60%;
    }

    .employer-description {
        max-width: 585px;
    }
}

@media screen and (max-width: 1023px) {
    .hero--program-detail .hero-title {
        line-height: normal;
    }

    .program-details-book, .program-details-apply {
        height: 48px;
    }

    .program-detail-about-image img {
        height: 200px;
        width: 200px;
    }

    .program-detail-about-content {
        width: 60%;
    }

    .program-detail-about-content:last-child {
        width: 100%;
    }

    .program-detail-included-item,  .program-detail-included-item span, .program-detail-included-item > span:last-child{
        line-height: normal;
    }

    .program-detail-included-item {
        align-items: center;
    }

    .program-details-main-data-location {
        padding-bottom: 24px;
    }

    .hero-content--program-detail {
        max-width: 624px;
    }

    .container, .program-detail-section .container, .hero-content--program-detail, .details-how-it-works {
        max-width: calc(100vw - 144px);
        margin: 0 auto;
    }

    .program-details-wrapper {
        width: 624px;
        padding: 16px;
    }

    .details-how-it-works-elements {
        gap: 48px;
    }

    .program-details-main-data {
        flex-direction: column;
    }

    .program-details-main-data-buttons {
        display: flex;
        justify-content: space-between;
    }

    .program-detail-faq-question {
        padding: 7px 24px;
    }

    #testimonials .section-title {
        max-width: 600px;
    }

    .testimonials-grid {
        gap: 24px;
    }

    .program-details-main-data-buttons div {
        width: 282px;
    }

    .program-detail-dates-table-wrap .program-detail-dates-apply {
        margin-right: 12px;
    }

    table {
        display: none;
    }

    .program-detail-tablet-wrap {
        display: flex;
        flex-direction: column;
    }

    .program-detail-tablet-item {
        display: flex;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .program-detail-tablet-item__row {
        border-bottom: 1px solid #B8C4D0;
        padding: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .program-detail-tablet-item__row-title, .program-detail-tablet-item__row-value, .details-how-it-works {
        font-weight: 400;
        font-size: 24px;
    }

    .description {
        color: #576B7E;
        font-weight: 300;
        font-size: 18px;
    }

    .program-detail-dates-apply {
        margin-top: 24px !important;
        align-self: end;
    }

    .container--newsletter .newsletter-form {
        width: 100%;
    }

    #newsletter-email {
        height: 48px!important;
        max-width: 300px;
        min-width: unset;
    }

    .newsletter-data-form .btn-primary {
        height: 48px;
    }

    .program-details-apply {
        margin-top: unset;
    }

    .footer-grid {
        gap: 24px;
    }

    .employer-header {
        position: relative;
    }

    .employer-header a {
        width: unset;
        position: absolute;
        top: 0;
        right: 0;
        margin-bottom: 0;
        margin-top: 12px!important;
    }

    .employer-item span {
        font-size: 20px;
    }
}

@media screen and (max-width: 767px) {
    .hero--program-detail .hero-title {
        font-size: 36px;
    }

    .hero-content--program-detail {
        max-width: calc(100vw - 48px);
        margin: 0 auto;
    }

    .hero-detail-tag {
        font-size: 16px;
    }

    .program-detail-about-image img {
        width: 327px;
        height: 327px;
    }

    .program-detail-section {
        padding-bottom: 36px;
    }

    .container, .program-detail-section .container, .hero-content--program-detail, .details-how-it-works, .section-newsletter {
        max-width: calc(100vw - 48px);
        margin: 0 auto;
    }

    .section-newsletter  {
        padding: 48px 24px;
    }

    .container--newsletter {
        max-width: calc(100vw - 48px);
        margin: 0 auto;
    }

    .program-details-main-data-location {
        max-width: calc(100vw - 48px);
    }

    .program-details-wrapper {
        max-width: calc(100vw - 48px);
    }

    .item-0 { grid-area: 1 / 1 / 2 / 3; }
    .item-1 { grid-area: 2 / 1 / 3 / 2; }
    .item-2 { grid-area: 2 / 2 / 3 / 3; }
    .item-3 { grid-area: 3 / 1 / 4 / 3; }

    .program-detail-about-inner {
        display: flex;
        flex-direction: column-reverse;
    }

    .program-detail-about-image {
        display: none;
    }

    .duplicate {
        display: block!important;
        width: 327px;
        height: 327px;
    }

    .program-detail-about-content {
        width: 100%;
    }

    .program-detail-about-content .section {
        width: 100%;
    }

    .program-detail-about-content .program-detail-list,
    .program-detail-about-content .program-detail-included-grid {
        width: 100%;
    }

    .details-how-it-works-cta .details-how-it-works-btn {
        width: 204px;
        height: 48px;
    }

    #small-caption {
        font-size: 24px;
    }

    .program-detail-list {
        font-size: 24px;
    }

    .program-detail-included-grid, .details-how-it-works-elements {
        grid-template-columns: 1fr;
    }

    .program-details-main-data-title-data {
        font-size: 24px;
    }

    .program-details-main-data-item {
        width: unset;
    }

    .program-details-main-data-buttons div   {
        width: 133px;
        height: 48px;
    }

    .program-detail-tablet-item .program-detail-tablet-item__row:first-child  {
        align-items: start;
    }

    .program-detail-tablet-item__row-value {
        text-align: right;
    }

    #newsletter-email, .newsletter-data-form .btn-primary  {
        width: 279px;
        height: 48px;
    }

    .employer-header {
        padding-bottom: 70px;
    }

    .employer-header a {
        top: unset;
        bottom: 0;
    }

    .employer-list {
        grid-template-columns: 1fr;
    }

    .employer-title {
        font-size: 40px;
    }

    .employer-description {
        font-size: 20px;
    }
}