.about-page {
    --font-primary: 'Source Sans Pro', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --font-size-title: 50px;
    --font-size-subtitle: 45px;
    --font-size-content: 16px;
    --font-size-section-title: 34px;

    --line-height-title: 60px;
    --line-height-subtitle: 55px;
    --line-height-content: 26px;
    --line-height-section-title: 44px;
    --font-weight-400: 400;
    --letter-spacing: 0.02em;

    --color-primary: #8C714C;
    --color-secondary: #222;
    --color-background: #fff;
    --color-white: #fff;
    --color-section-title: #8C714C;
    --color-text: #4C545D;
    --color-link: #000;
    --color-hover: #97D700;
    --color-border: #4C545D;
    --color-line: #97D700;

    --padding-title: 55px 0;
    --padding-page: 0 112px;

    --spacing-gap-container: 180px;
    --spacing-section: 60px;
    --spacing-inner-section: 80px;
    --spacing-inner: 112px;

    --max-width: 960px;
}

@media screen and (max-width: 767.98px) {
    .about-page {

        --font-size-title: 30px;
        --font-size-subtitle: 25px;
        --font-size-content: 16px;
        --font-size-section-title: 22px;

        --line-height-title: 40px;
        --line-height-subtitle: 35px;
        --line-height-content: 26px;
        --line-height-section-title: 32px;
        --font-weight-400: 400;

        --padding-title: 0px;
        --padding-page: 60px 44px;
        --spacing-gap-container: 80px;
        --spacing-section: 40px;
        --spacing-inner-section: 40px;
        --spacing-inner: 40px;
    }

    main.about-page {
        padding-top: 30px;
    }
}

.jsw-tablet .about-page {
    --font-primary: 'Source Sans Pro', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --font-size-title: 50px;
    --font-size-subtitle: 45px;
    --font-size-content: 16px;
    --font-size-section-title: 34px;

    --line-height-title: 60px;
    --line-height-subtitle: 55px;
    --line-height-content: 26px;
    --line-height-section-title: 44px;
    --font-weight-400: 400;
    --letter-spacing: 0.02em;

    --color-primary: #8C714C;
    --color-secondary: #222;
    --color-background: #fff;
    --color-white: #fff;
    --color-section-title: #8C714C;
    --color-text: #4C545D;
    --color-link: #000;
    --color-hover: #97D700;
    --color-border: #4C545D;
    --color-line: #97D700;

    --padding-title: 55px 0;
    --padding-page: 0 112px;

    --spacing-gap-container: 180px;
    --spacing-section: 60px;
    --spacing-inner-section: 80px;
    --spacing-inner: 112px;

    --max-width: 960px;
}

.flex-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-banner {
    text-align: center;
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
}

.about-banner .main-banner .scroll-down svg {
    opacity: 0;
}

.about-banner img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.about-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-page {
    position: relative;
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    color: #4C545D;
    background-color: #fff;
    line-height: 1.6;
    text-align: center;
    letter-spacing: var(--letter-spacing);
    z-index: 10;
    /* padding: 0 var(--spacing-inner); */
}

.about-page .about-hero .header-container {
    display: flex;
    flex-direction: column;
/*    gap: var(--spacing-section);*/
}

.about-page .main-container {
    display: flex;
    flex-direction: column;
    /* gap: var(--spacing-gap-container); */
    gap: 0
}

.about-page .main-container > *,
.jsw-tablet .about-page .main-container > * {
    margin-top: 180px;
}

.jsw-mobile .about-page .main-container > * {
    margin-top: 180px;
}

.about-page .main-container > :first-child {
    margin-top: 0;
}

.about-page .about-hero {
    padding-bottom: var(--spacing-gap-container);
}

.about-page .about-hero .line {
    width: 100%;
    height: 1px;
    border-bottom: 1px solid var(--color-line);
}

.about-page .about-hero .about-hero-inner {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
}

.jsw-tablet .about-page .about-intro {
    margin-top: 30px;
}

.about-page .headline-title {
    font-family: var(--font-secondary);
    font-size: var(--font-size-title);
    line-height: var(--line-height-title);
    color: var(--color-text);
    font-weight: var(--font-weight-400);
    padding: var(--padding-title);
}

.about-page .about-subtitle {
    font-family: var(--font-secondary);
    color: var(--color-primary);
}

.about-page .about-intro {
    font-size: var(--font-size-content);
    line-height: var(--line-height-content);
    color: var(--color-text);
    text-align: center;
    letter-spacing: inherit;
    margin-top: 30px;
}

.about-page .about-section {
    display: flex;
    flex-direction: column;
    /* gap: var(--spacing-inner-section); */
    gap: 0;
}

.about-page .about-section > * {
    margin-top: 80px;
}

.about-page .about-section > :first-child {
    margin-top: 0;
}

.jsw-tablet .about-page .about-section .section-footer,
.about-page .about-section .section-footer {
    margin-top: 180px;
}

.jsw-mobile .about-page .about-section .section-footer {
    margin-top: 180px;
}

.about-page .about-section .section-image {
    max-height: 490px;
    overflow: hidden;
}

.about-page .about-section .section-image img {
    width: 100%;
    height: auto;
    max-height: 490px;
    object-fit: cover;
    overflow: hidden;
}

.about-page .about-section .section-content-over {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-page .about-section .section-content-over > * {
    margin-top: 16px;
}

.about-page .about-section .section-content-over > :first-child {
    margin-top: 0;
}

.about-page .section-title {
    font-size: var(--font-size-section-title);
    line-height: var(--line-height-section-title);
    color: var(--color-section-title);
    font-weight: var(--font-weight-400);
}

.about-page .section-content {
    font-size: var(--font-size-content);
    line-height: var(--line-height-content);
    color: var(--color-text);
    text-align: justify;
    letter-spacing: inherit;
}

.about-page .section-footer .button {
    display: inline-flex;
    align-items: center;
    padding: 7px 20px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    text-transform: capitalize;
    color: var(--color-text);
    background-color: var(--color-white);
    text-decoration: none;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--color-border);
    letter-spacing: inherit;
}

.about-page .section-footer .button:hover,
.about-page .section-footer .button:focus,
.about-page .section-footer .button:active {
    border: 1px solid #97D700;
    background-color: #97D700;
}

.about-page .section-footer .button .button-arrow {
    width: 18px;
    height: 17px;
}

@media (min-width: 1440px) {
    .about-banner {
        width: 100%;
        height: 600px;
    }

    .about-banner img {
        height: 100%;
    }
}

@media (min-width: 1024px) and (max-width: 1439.98px) {
    .about-banner {
        width: 100%;
        height: auto;
    }

    .about-page .about-title {
        font-size: 2.3rem;
    }

    .about-page .about-intro {
        font-size: 1rem;
    }

    .about-page .section-content {
        font-size: 1rem;
    }

    .about-page .section-footer .button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (min-width: 768px) {
    .page-template-template-about-us .section-footer {
        margin-top: 100px;
    }
}

@media (max-width: 1024px) {
    .about-page .section-footer .button {
        transition: none;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
    }
}

@media (max-width: 767.98px) {
    .about-banner {
        width: 100%;
        height: auto;
    }

    .about-banner img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .about-page .headline .container {
        margin-bottom: 30px;
    }

    .about-page .about-hero .header-container {
/*        gap: 30px;*/
    }
    .about-page .about-hero .about-hero-inner {
        margin-top: 30px;
    }

    .about-page .about-intro {
        text-align: justify;
        margin-top: 30px;
    }

    .about-page .about-section .section-content-over {
        text-align: center;
        gap: 20px;
    }

    .about-page .section-footer .button {
        text-align: left;
        width: auto;
    }

    .about-page .about-section:nth-child(2) .section-footer .button {
        margin: 0 34px;
    }

    .about-page .about-section:nth-child(2) .section-footer .button .button-arrow {
        width: 40px;
        height: 17px;
    }
}

.about-page-inner {
    padding-left: 44px !important;
    padding-right: 44px !important;
}

@media (min-width: 768px) {
    .about-page-inner {
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .about-page .about-section .section-image img {
        min-height: 490px;
    }
}

/* --fix-bug: U009 */
/* @media (max-width: 767.98px) { */
/* Likely mobile: coarse pointer, no hover (touch screen) */
@media (pointer: coarse) and (hover: none) {
    .about-page .main-container {
        gap: 0;
    }

    .about-page .main-container .about-section:first-child {
        margin-top: 0;
    }
}

.jsw-tablet .about-page .about-subtitle {
    font-size: 45px;
}

.jsw-tablet .about-page .about-intro {
    text-align: center;
}

.jsw-tablet .about-page .about-hero {
    padding-bottom: 180px;
}

.jsw-tablet .about-page .about-section .section-content-over {
    text-align: left;
    gap: 16px;
}

.page-template-template-about-us.jsw-tablet .section-footer {
    margin-top: 180px;
}

.jsw-tablet .about-page .main-container .about-section {
    margin-top: 180px;
}

.jsw-tablet .about-page .main-container .about-section:first-child {
    margin-top: 0;
}

.jsw-tablet main.about-page .about-sections {
    padding-bottom: 160px;
}
/* --end-fix-bug: U009 */

.jsw-mobile .about-page .about-hero {
    padding-bottom: 180px;
}

.jsw-mobile .about-page .about-section .section-content-over {
    margin-top: 40px;
}

.jsw-mobile main.about-page .about-sections {
    padding-bottom: 160px;
}

.jsw-mobile .about-page .about-section .section-content-over {
    gap: 0;
}

.jsw-mobile .about-page .about-section .section-content-over > * {
    margin-top: 20px;
}

.jsw-mobile .about-page .about-section .section-content-over > :first-child {
    margin-top: 0;
}