body {
    margin: 0;
    padding: 0;
    background: #f6f4f1;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
}

#contentwrap {
    max-width: 900px;
    margin: 0 auto;
    background: #f6f4f1;
    box-shadow: 0 14px 42px rgba(43, 29, 20, 0.16);
}

.logoheader {
    padding: 34px 48px;
    background: #ffffff;
    border-bottom: 2px solid #9cb4c9;
}

.logoheader img {
    max-width: 260px;
    height: auto;
    display: block;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    filter: brightness(0.78);
}

.hide {
    display:none;
}

.main {
    padding: 0 48px 52px;
}

.title-card {
    position: relative;
    margin: -54px 0 36px;
    padding: 36px 38px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 16px 36px rgba(43, 29, 20, 0.15);
    text-align: center;
    border-top: 5px solid #9cb4c9;
}

.introline,
.subline {
    text-align: center;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
}

h1 {
    margin: 12px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #000;
}

h2 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.015em;
    color: #000;
}

p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.7;
}

a {
    color: #9cb4c9 !important;
    text-decoration: underline;
}

a:hover {
    color: #9cb4c9;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.badges span {
    padding: 8px 15px;
    border-radius: 999px;
    background: #e2e5e9;
    border: 1px solid #f9f9f9;
    color: #000;
    font-size: 14px;
    line-height: 1.2;
}

.intro-box,
.content-box {
    margin-bottom: 30px;
    padding: 30px 32px;
    background: #ffffff;
    border: 1px solid #ebe4dc;
    border-radius: 2px;
}

.intro-box {
    background: #ffffff;
}

.content-box h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 12px;
    background: #9cb4c9;
}

ul {
    margin: 0;
    padding-left: 22px;
}

li {
    margin-bottom: 10px;
    padding-left: 5px;
    font-size: 15px;
    line-height: 1.6;
}

li::marker {
    color: #000;
}

.apply-box {
    margin-top: 34px;
    padding: 34px 36px;
    background: #4a4a4a;
    color: #ffffff;
    border-radius: 2px;
}

.apply-box h2 {
    color: #ffffff;
}

.apply-box p {
    color: #ffffff;
}

.apply-box a {
    color: #ffffff;
    font-weight: 700;
}

.apply-box a:hover {
    color: #e5d6c1;
}

@media (max-width: 700px) {
    .logoheader {
        padding: 26px 24px;
    }

    .logoheader img {
        max-width: 230px;
    }

    .hero img {
        height: 190px;
    }

    .main {
        padding: 0 22px 36px;
    }

    .title-card {
        margin-top: -34px;
        padding: 28px 24px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    .intro-box,
    .content-box,
    .apply-box {
        padding: 24px 22px;
    }

    .badges {
        justify-content: center;
    }
}