* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
    color: #142844;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 44%, #e5f4ff 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.jm-company-page {
    min-height: 100vh;
}

.jm-company-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 48px));
    margin: 20px auto 0;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid #dfeaf4;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(22, 50, 82, .08);
}

.jm-company-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.jm-company-brand strong {
    color: #0f315a;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.jm-company-brand span {
    color: #61758c;
    font-size: 14px;
    font-weight: 600;
}

.jm-company-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.jm-company-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    color: #17385d;
    font-size: 16px;
    font-weight: 800;
}

.jm-company-nav a:hover,
.jm-company-nav a:focus {
    background: #edf7ff;
    color: #005fae;
}

.jm-company-hero,
.jm-company-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.jm-company-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr);
    align-items: center;
    gap: 46px;
    padding: 64px 0 40px;
}

.jm-company-copy h1 {
    margin: 0;
    color: #0f315a;
    font-size: 50px;
    line-height: 1.16;
    letter-spacing: 0;
    font-weight: 800;
}

.jm-company-label {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    padding: 8px 13px;
    border-radius: 6px;
    background: #e7f4ff;
    color: #006fc9;
    font-size: 14px;
    font-weight: 800;
}

.jm-company-desc {
    margin: 20px 0 0;
    color: #40566f;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 600;
}

.jm-company-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.jm-company-btn,
.jm-company-small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-weight: 800;
}

.jm-company-btn {
    min-height: 54px;
    padding: 0 24px;
    border: 2px solid transparent;
    font-size: 18px;
}

.jm-company-btn-primary {
    background: #0f4f91;
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 79, 145, .2);
}

.jm-company-btn-secondary {
    background: #fff;
    border-color: #b9d7ef;
    color: #0f4f91;
}

.jm-company-small-btn {
    min-height: 40px;
    padding: 0 15px;
    background: #0f4f91;
    color: #fff;
    font-size: 15px;
}

.jm-company-side {
    display: grid;
    gap: 16px;
}

.jm-company-side article,
.jm-company-activity article,
.jm-board-card,
.jm-company-guide,
.jm-company-contact {
    background: rgba(255, 255, 255, .94);
    border: 1px solid #dcebf6;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(22, 50, 82, .08);
}

.jm-company-side article {
    padding: 26px;
}

.jm-company-side span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #006fc9;
    font-size: 14px;
    font-weight: 800;
}

.jm-company-side strong {
    display: block;
    color: #0f315a;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.jm-company-side p {
    margin: 12px 0 0;
    color: #536a83;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 600;
}

.jm-company-section {
    padding: 34px 0;
}

.jm-company-section-head {
    margin-bottom: 18px;
}

.jm-company-section-head p {
    margin: 0 0 7px;
    color: #006fc9;
    font-size: 15px;
    font-weight: 800;
}

.jm-company-section-head h2,
.jm-company-guide h2 {
    margin: 0;
    color: #0f315a;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
}

.jm-company-section-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.jm-company-activity {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.jm-company-activity article {
    padding: 24px;
}

.jm-company-activity h3 {
    margin: 0;
    color: #0f315a;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
}

.jm-company-activity p,
.jm-company-guide p,
.jm-company-contact p {
    margin: 12px 0 0;
    color: #4d647d;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 600;
}

.jm-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.jm-board-card {
    min-width: 0;
    padding: 22px;
}

.jm-board-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dbe8f3;
}

.jm-board-card-head span {
    display: inline-flex;
    margin-bottom: 7px;
    color: #006fc9;
    font-size: 13px;
    font-weight: 800;
}

.jm-board-card-head h3 {
    margin: 0;
    color: #0f315a;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
}

.jm-board-card-head p {
    margin: 8px 0 0;
    color: #64778d;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.jm-board-card-head > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #b9d7ef;
    border-radius: 6px;
    color: #0f4f91;
    font-size: 13px;
    font-weight: 800;
}

.jm-latest-list {
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.jm-latest-list li {
    border-bottom: 1px solid #edf3f8;
}

.jm-latest-list li:last-child {
    border-bottom: 0;
}

.jm-latest-list a {
    display: block;
    padding: 12px 0;
    color: #182f4b;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.jm-latest-list a:hover,
.jm-latest-list a:focus {
    color: #006fc9;
}

.jm-latest-date {
    display: block;
    margin-top: 4px;
    color: #7b8ba0;
    font-size: 13px;
    font-weight: 600;
}

.jm-latest-empty,
.jm-board-empty {
    margin-top: 15px;
    padding: 18px;
    border-radius: 7px;
    background: #f3f8fc;
    color: #5b6f84;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
}

.jm-company-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    gap: 24px;
    padding: 28px;
}

.jm-company-guide-links {
    display: grid;
    gap: 10px;
}

.jm-company-guide-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 7px;
    background: #edf7ff;
    color: #0f4f91;
    font-size: 17px;
    font-weight: 800;
}

.jm-company-contact {
    margin-bottom: 60px;
    padding: 28px;
}

@media (max-width: 960px) {
    .jm-company-header,
    .jm-company-hero,
    .jm-company-section {
        width: min(100% - 28px, 720px);
    }

    .jm-company-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .jm-company-nav {
        justify-content: flex-start;
    }

    .jm-company-hero,
    .jm-company-activity,
    .jm-board-grid,
    .jm-company-guide {
        grid-template-columns: 1fr;
    }

    .jm-company-copy h1 {
        font-size: 40px;
    }

    .jm-company-desc {
        font-size: 20px;
    }

    .jm-company-section-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .jm-company-header {
        margin-top: 14px;
        padding: 16px;
    }

    .jm-company-nav a {
        min-height: 38px;
        padding: 0 10px;
        font-size: 15px;
    }

    .jm-company-copy h1 {
        font-size: 34px;
    }

    .jm-company-btn,
    .jm-company-small-btn {
        width: 100%;
    }

    .jm-board-card-head {
        flex-direction: column;
    }
}
