/* Page speed: the small woff2 file comes first, the large .ttf last (it used to be
   first, so browsers downloaded the biggest file). font-display: swap shows text
   at once in a fallback font while the font loads. */
@font-face {
    font-family: 'SourceSansPro';
    src: url('/en/font/source-sans-pro-regular.eot');
    /* The old .woff2/.woff files were damaged (the letters a, c, e and C came out as other
       letters), so the .woff is gone and the .woff2 was rebuilt from the .ttf; ?v=2 makes
       browsers drop the damaged copy they cached. */
    src:
        url('/en/font/source-sans-pro-regular.woff2?v=2') format('woff2'),
        url('/en/font/source-sans-pro-regular.ttf?v=2') format('truetype');

    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'SourceSansPro', sans-serif;
    direction: ltr;
    margin: 0;
    background-color: #f5f2f2;
}

:root {
    font-size: 16px;
    /* Base for rem */
}


p {
    font-size: clamp(1.1rem, 5.0vw, 1.2rem);
    line-height: clamp(1.75em, 5.5vw, 1.6em);
}

h1 {
    font-size: clamp(1.4rem, 6.9vw, 1.9rem);
}

h2 {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
}

h3 {
    font-size: clamp(1.1rem, 5.5vw, 1.5rem);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.section-card {
    width: min(1100px, calc(100% - 32px));
    margin: 36px auto 30px;
    padding: 28px;
    box-sizing: border-box;
    border-radius: 8px;
    border-left: 5px solid #EB8C23;
    background: linear-gradient(135deg, rgba(127, 21, 27, 0.08), rgba(235, 140, 35, 0.13));
    box-shadow: 0 10px 24px rgba(127, 21, 27, 0.08);
}

.section-card .design-header-title {
    width: auto;
    margin-left: 0;
    padding: 0;
}

.section-card .design-header-paragraph {
    margin: 0;
    padding: 8px 0 0;
}

.section-card ul {
    margin: 12px 0 22px 24px;
    line-height: 2;
}

.section-card-content {
    min-width: 0;
}

.section-card-lead {
    color: #231f20;
    font-weight: 700;
}

.section-card-list {
    margin-top: 14px;
    margin-bottom: 18px;
}

.section-card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.section-card-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    gap: 28px;
}

.section-card-split .design-header-paragraph {
    padding-top: 0;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 4px;
    background: #EB8C23;
    color: #231f20 !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.button-link:hover {
    background: #7F151B;
    color: white !important;
    transform: translateY(-2px);
}

.button-link-dark {
    background: #7F151B;
    color: white !important;
}

.button-link-dark:hover {
    background: #5f1014;
}

.media-viewer {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(160, 80, 16, 0.35);
    box-shadow: 0 10px 22px rgba(127, 21, 27, 0.12);
}

.media-viewer img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .section-card {
        width: calc(100% - 20px);
        padding: 22px 16px;
    }

    .section-card ul {
        margin-left: 18px;
    }

    .section-card-split {
        grid-template-columns: 1fr;
    }

    .section-card-actions {
        flex-direction: column;
    }

    .button-link {
        width: 100%;
        padding: 0 14px;
    }

    .media-viewer {
        padding: 8px;
    }

    .media-viewer img {
        max-height: none;
    }
}

.skewed-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.skewed-header>.header-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    transform: skewY(354deg);
    transform-origin: top left;
}

.skewed-header>.skewed-header-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100vw;
}

.skewed-header>.skewed-header-wrapper>.skewed-header-content {
    /* At most 1200px, but never wider than the screen: on narrower desktops a fixed
       1200px box spilled over both edges and cut off the end of the menu. */
    width: min(1200px, 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.skewed-header>.skewed-header-wrapper>.skewed-header-content>.heading-wrapper {
    color: white;
    border-radius: 2px;
    width: max-content;
    padding: 10px;
    text-align: center;
}

.skewed-header>.skewed-header-wrapper>.skewed-header-content>.links-wrapper .nav-link {
    padding: 10px;

}

/* footer styles */
.footer {
    background-color: #7F151B;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 380px;
    margin-top: 0px;
    font-weight: 100;
}

.footer>.logo-footer img {
    width: 80px;
    height: 100%;
    border-radius: 10px;
}

.footer>.brand-name {
    font-weight: 100;
    /* font-size: 0.9em; */
    color: white;
}


.footer>.links-wrapper>.nav-link {
    padding-top: 0%;
    padding-left: 20px;
    padding-bottom: 0%;
}

.footer>.links-wrapper>.nav-link a:hover {
    color: #cea135;
}

.footer>.footer-phone-hours>span {
    margin-left: 20px;
}

.footer>.footer-phone-hours>.hours {
    color: #cea135;
}

.footer>.social-media-icons-wrapper {
    width: 300px;
    display: flex;
    justify-content: space-around;
}

.footer>.social-media-icons-wrapper>a {
    /* font-size: 1.5em; */
    color: #cbcbcb;
    transition: 0.5s;
}


.footer>.social-media-icons-wrapper>a:hover {
    color: #cea135;
}

/* e-namad trust seal: on a white chip so it reads on the dark red footer */
.footer>.trust-seal-wrapper {
    margin: 14px 0 6px;
    display: flex;
    justify-content: center;
}

.footer>.trust-seal-wrapper a {
    display: inline-block;
    padding: 6px;
    border-radius: 8px;
    background: white;
    line-height: 0;
}

.footer>.trust-seal-wrapper img {
    display: block;
    height: 130px; /* the seal is shown taller; the width follows its shape */
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer>.copyright-wrapper {
    /* font-size: 0.7em; */
    color: #858585;
}

/* Page container styles */
.page-container {
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

.page-container>.content-wrapper {
    width: 1000px;

}

.page-container>.content-wrapper>#flange {
    width: 350px;
    margin: 0px 20px 0px 23px;
    float: right;
    border: 1px solid #cea135;
    border-radius: 2px;

}

.page-container>.content-wrapper p {
    text-align: justify;
}

.spacer10 {
    height: 10px;
    width: 100%;
}

.spacer30 {
    height: 30px;
    width: 100%;
}

ul li {
    margin: 10px 0;
    font-size: clamp(0.9rem, 5.2vw, 1.2rem);
}

ul {
    margin: 0px
}


ul {
    list-style-type: disc;
}


ul::marker {
    font-size: 20px;
}

.linkedIn {
    position: absolute;
    top: 115px;
    right: 20px;
    z-index: 1000;
}

.language {
    position: absolute;
    top: 165px;
    right: 20px;
    z-index: 1000;
}


.language a {
    background: #7F151B;
    color: white;
    padding: 5px 20px;
    margin-top: 10px;
    border-radius: 5px;
}

