/**
 * The Story of the Birth of E-one
 * Block: eone
 */
.eone {
    --eone-container-width: 1180px;
    --eone-dark: #3f3f3f;
    --eone-text: #303030;
    --eone-surface: #f2f2f3;
    --eone-row-odd: #f2f3f4;
    --eone-row-even: #d6d9dc;
    --eone-link: #0782c1;
}

.eone {
    padding-top: 106px;
}

@media (max-width: 768px) {
    .eone {
        padding-top: 68px;
    }
}

.eone__body {
    max-width: var(--eone-container-width);
    margin: 0 auto;
    
}

.eone,
.eone * {
    box-sizing: border-box;
}

/* Project background */
.eone-project {
    width: var(--eone-container-width);
    max-width: 100%;
    height: 400px;
    background-color: var(--eone-surface);
    display: flex;
    align-items: center;
}

.eone-project__content {
    padding: 10px 50px 30px;
    width: 450px;
    float: left;
}

.eone-project__title {
    font-size: 22px;
    color: var(--eone-text);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.eone-project__text {
    color: var(--eone-text);
    font-size: 16px;
    line-height: 35px;
    margin: 0;
}

.eone-project__img {
    width: 50%;
    max-width: 100%;
    height: auto;
    margin-left: 50px;
}

/* Challenges */
.eone-challenges {
    width: var(--eone-container-width);
    max-width: 100%;
    height: 450px;
    background-color: var(--eone-dark);
    display: flex;
    align-items: center;
}

.eone-challenges__content {
    padding: 30px 50px;
    width: 450px;
    float: left;
}

.eone-challenges__title {
    font-size: 22px;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.eone-challenges__text {
    color: #fff;
    font-size: 16px;
    line-height: 35px;
    margin: 0;
}

.eone-challenges__img {
    width: 41%;
    max-width: 100%;
    height: auto;
    margin-left: 90px;
    margin-top: 40px;
}

/* Solutions */
.eone-solutions-bar {
    width: var(--eone-container-width);
    max-width: 100%;
    height: 50px;
    background-color: var(--eone-dark);
    margin: 30px auto 0;
    display: flex;
    align-items: center;
}

.eone-solutions-bar__title {
    
    font-size: 22px;
    margin-left: 50px;
    color: #ffffff;
    line-height: 52px;
    font-weight: bold;
}

.eone-solutions {
    width: var(--eone-container-width);
    max-width: 100%;
    height: 430px;
    display: flex;
    align-items: center;
}

.eone-solutions__text {
    padding: 10px 50px 30px;
    width: 600px;
    float: left;
}

.eone-solutions__heading {
    font-size: 18px;
    color: var(--eone-text);
    margin: 0 0 15px 0;
}

.eone-solutions__paragraph {
    color: var(--eone-text);
    font-size: 16px;
    line-height: 35px;
    margin: 0 0 20px 0;
}

.eone-solutions__img {
    width: 40%;
    max-width: 100%;
    height: auto;
    margin-left: 10px;
    margin-top: 50px;
    float: right;
    margin-right: 50px;
}

/* Schedule */
.eone-schedule {
    width: var(--eone-container-width);
    max-width: 100%;
    height: 320px;
    text-align: center;
}

.eone-schedule__title {
    font-size: 18px;
    color: var(--eone-text);
    margin: 20px 0;
}

.eone-schedule__table {
    margin: 0 auto;
    width: 92%;
    border-collapse: collapse;
}

.eone-schedule__table tr:nth-child(odd) {
    background-color: var(--eone-row-odd);
    color: #000000;
}

.eone-schedule__table tr:nth-child(even) {
    background-color: var(--eone-row-even);
    color: #000000;
}

.eone-schedule__table td {
    padding: 15px 0;
    text-align: left;
}

.eone-schedule__table td:first-child {
    padding-left: 40px;
}

.eone-schedule__table td:last-child {
    text-align: center;
}

/* Benefits */
.eone-benefits {
    width: var(--eone-container-width);
    max-width: 100%;
    height: 400px;
    background-color: var(--eone-dark);
    display: flex;
    align-items: center;
}

.eone-benefits__content {
    padding: 50px 50px 30px;
    width: 600px;
    float: left;
}

.eone-benefits__title {
    font-size: 22px;
    color: #fff;
    margin: 0 0 20px 0;
}

.eone-benefits__text {
    color: #fff;
    font-size: 16px;
    line-height: 35px;
    margin: 0;
}

.eone-benefits__img {
    width: 25%;
    max-width: 100%;
    height: auto;
    margin-left: 150px;
}

/* Testimonials & tags */
.eone-testimonial {
    width: var(--eone-container-width);
    max-width: 100%;
    height: 250px;
}

.eone-testimonial__content {
    padding: 30px 50px;
    width: 100%;
    float: left;
}

.eone-testimonial__title {
    font-size: 22px;
    color: var(--eone-text);
    font-style: italic;
    margin: 0 0 20px 0;
}

.eone-testimonial__text {
    color: var(--eone-dark);
    font-size: 16px;
    line-height: 30px;
    font-style: italic;
    margin: 0;
}

.eone-tags {
    float: left;
    width: 100%;
    padding-left: 50px;
    margin-top: 30px;
}

.eone-tags strong {
    font-size: 14px;
}

.eone-tags__link {
    color: var(--eone-link);
    text-decoration: none;
    margin-right: 15px;
}

.eone-tags__link:hover {
    text-decoration: underline;
}

/* Hero */
.eone-hero {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
}

.eone-hero__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.eone-hero__content {
    position: absolute;
    top: 73%;
    left: 42%;
    color: white;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    transform: translate(-50%, -50%);
}

.eone-hero__text {
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: #000000;
    font-weight: 600;
}

.eone-hero__title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

@media screen and (max-width: 1200px) {
    .eone-hero__content {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .eone__body {
        max-width: 100%;
        padding: 0 15px;
        overflow-x: hidden;
    }

    .eone-project {
        width: 100%;
        height: auto;
        min-height: 300px;
        flex-direction: column;
        padding: 20px 0;
    }

    .eone-project__content {
        width: 100%;
        padding: 20px;
        float: none;
        order: 1;
    }

    .eone-project__title {
        font-size: 20px;
        text-align: left;
        margin-bottom: 15px;
    }

    .eone-project__text {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }

    .eone-project__img {
        width: 80%;
        max-width: 300px;
        margin: 20px auto 0;
        display: block;
        order: 2;
    }

    .eone-challenges {
        width: 100%;
        height: auto;
        min-height: 350px;
        flex-direction: column;
        padding: 20px 0;
    }

    .eone-challenges__content {
        width: 100%;
        padding: 20px;
        float: none;
        order: 1;
    }

    .eone-challenges__title {
        font-size: 20px;
        text-align: left;
        margin-bottom: 15px;
    }

    .eone-challenges__text {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }

    .eone-challenges__img {
        width: 80%;
        max-width: 300px;
        margin: 20px auto 0;
        display: block;
        order: 2;
    }

    .eone-solutions-bar {
        width: 100%;
        height: auto;
        min-height: 50px;
        margin: 20px 0 0;
        justify-content: center;
    }

    .eone-solutions-bar__title {
        font-size: 20px;
        margin: 0;
        text-align: center;
        width: 100%;
        padding: 15px 0;
    }

    .eone-solutions {
        width: 100%;
        height: auto;
        min-height: 400px;
        flex-direction: column;
        padding: 20px 0;
    }

    .eone-solutions__text {
        width: 100%;
        padding: 20px;
        float: none;
        order: 1;
    }

    .eone-solutions__heading {
        font-size: 16px;
        text-align: left;
        margin-bottom: 10px;
    }

    .eone-solutions__paragraph {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
        margin: 0 0 20px 0;
    }

    .eone-solutions__img {
        width: 80%;
        max-width: 300px;
        margin: 20px auto 0;
        float: none;
        display: block;
        order: 2;
    }

    .eone-schedule {
        width: 100%;
        height: auto;
        min-height: 300px;
        padding: 20px 0;
    }

    .eone-schedule__title {
        font-size: 16px;
        text-align: left;
        margin: 20px 0;
    }

    .eone-schedule__table {
        width: 95%;
        font-size: 14px;
    }

    .eone-schedule__table td {
        padding: 12px 8px;
        vertical-align: top;
        min-height: 44px;
    }

    .eone-schedule__table td:first-child {
        padding-left: 15px;
        width: 70%;
    }

    .eone-schedule__table td:last-child {
        text-align: center;
        width: 30%;
        font-weight: bold;
    }

    .eone-benefits {
        width: 100%;
        height: auto;
        min-height: 350px;
        flex-direction: column;
        padding: 20px 0;
    }

    .eone-benefits__content {
        width: 100%;
        padding: 20px;
        float: none;
        order: 1;
    }

    .eone-benefits__title {
        font-size: 20px;
        text-align: left;
        margin-bottom: 15px;
    }

    .eone-benefits__text {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }

    .eone-benefits__img {
        width: 60%;
        max-width: 250px;
        margin: 20px auto 0;
        display: block;
        order: 2;
    }

    .eone-testimonial {
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 20px 0;
    }

    .eone-testimonial__content {
        padding: 20px;
        float: none;
    }

    .eone-testimonial__title {
        font-size: 20px;
        text-align: left;
        margin-bottom: 15px;
    }

    .eone-testimonial__text {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
    }

    .eone-tags {
        padding: 20px;
        margin-top: 20px;
    }

    .eone-tags strong {
        font-size: 12px;
        display: block;
        margin-bottom: 15px;
    }

    .eone-tags__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 5px 8px;
        font-size: 12px;
        padding: 5px 8px;
        border-radius: 3px;
        background-color: #f5f5f5;
        min-height: 44px;
    }

    .eone-tags__link:hover {
        background-color: #e0e0e0;
        text-decoration: none;
    }

    .eone-hero__img {
        height: 120px;
        object-fit: cover;
    }

    .eone-hero__content {
        padding: 1.5rem;
        text-align: left;
        left: 50%;
    }

    .eone-hero__title {
        font-size: 0.6rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .eone__body {
        padding: 0 10px;
    }

    .eone-project__content,
    .eone-challenges__content,
    .eone-solutions__text,
    .eone-benefits__content,
    .eone-testimonial__content {
        padding: 15px;
    }

    .eone-project__title,
    .eone-challenges__title,
    .eone-benefits__title,
    .eone-testimonial__title {
        font-size: 18px;
    }

    .eone-project__text,
    .eone-challenges__text,
    .eone-solutions__paragraph,
    .eone-benefits__text,
    .eone-testimonial__text {
        font-size: 13px;
        line-height: 20px;
    }

    .eone-solutions__heading,
    .eone-schedule__title {
        font-size: 15px;
    }

    .eone-schedule__table {
        font-size: 12px;
        width: 98%;
    }

    .eone-schedule__table td {
        padding: 8px 5px;
    }

    .eone-schedule__table td:first-child {
        padding-left: 10px;
    }

    .eone-tags__link {
        font-size: 11px;
        margin: 3px 5px;
        padding: 4px 6px;
    }

    .eone-project__img,
    .eone-challenges__img,
    .eone-solutions__img {
        width: 90%;
        max-width: 280px;
    }

    .eone-benefits__img {
        width: 70%;
        max-width: 220px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .eone-project,
    .eone-challenges,
    .eone-solutions,
    .eone-benefits {
        min-height: 250px;
    }

    .eone-schedule {
        min-height: 200px;
    }

    .eone-testimonial {
        min-height: 150px;
    }

    .eone-project__img,
    .eone-challenges__img,
    .eone-solutions__img {
        width: 40%;
        max-width: 200px;
    }

    .eone-benefits__img {
        width: 30%;
        max-width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eone *,
    .eone-hero * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .eone-hero__title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}
