@font-face {
    font-family: 'SourceSansPro';
    src: url('/EN/font/SourceSansPro-regular.eot');
    src:
        url('/EN/font/SourceSansPro-Regular.ttf') format('truetype'),
        url('/EN/font/SourceSansPro-regular.woff2') format('woff2'),
        url('/EN/font/SourceSansPro-regular.woff') format('woff');       

    font-weight: normal;
    font-style: normal;
}


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;
    }
}

.davy-mascot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
    width: 5cm;
    height: 5cm;
    opacity: 0.94;
    pointer-events: none;
    transform: translate3d(var(--davy-x, 16px), var(--davy-y, 230px), 0) rotate(var(--davy-rotate, 0deg));
    transition: transform 5.6s cubic-bezier(0.42, 0, 0.18, 1), opacity 0.3s ease;
    will-change: transform;
}

.davy-mascot[hidden] {
    display: none;
}

.davy-mascot picture,
.davy-mascot img {
    display: block;
}

.davy-mascot img {
    height: 5cm;
    width: auto;
    max-width: 5cm;
    transform-origin: 50% 90%;
    filter: drop-shadow(0 10px 18px rgba(35, 31, 32, 0.22));
    animation: davyBob 2.8s ease-in-out infinite;
}

@keyframes davyBob {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -9px, 0) scale(1.015);
    }
}

@media (max-width: 640px) {
    .davy-mascot {
        width: 3.6cm;
        height: 3.6cm;
    }

    .davy-mascot img {
        height: 3.6cm;
        max-width: 3.6cm;
    }
}

@media (prefers-reduced-motion: reduce) {
    .davy-mascot {
        transition: none;
    }

    .davy-mascot img {
        animation: none;
    }
}

@media print {
    .davy-mascot {
        display: none !important;
    }
}


.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 {
    width: 1200px;
    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;
    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;
}

.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;
}

