/* Company map page */
.company-map-section {
    padding: 116px 0 138px;
    background: #ffffff;
}

.company-map-intro {
    max-width: 780px;
    margin: 0 0 86px auto;
}

.company-map-intro p {
    margin: 0;
    color: #61656d;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
    word-break: keep-all;
}

.company-map-list {
    display: grid;
    gap: 92px;
}

.company-map-place {
    padding-bottom: 80px;
    border-bottom: 1px solid #e6e7eb;
}

.company-map-place:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.company-map-head {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
    margin-bottom: 42px;
}

.company-map-head h3 {
    margin: 0;
    color: #050505;
    font-size: clamp(36px, 3.2vw, 56px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: 0;
}

.company-map-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 36px;
}

.company-map-info dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.company-map-info dl > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
}

.company-map-info dt {
    color: #050505;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0;
}

.company-map-info dd {
    margin: 0;
    color: #333740;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
    word-break: keep-all;
}

.company-map-info a {
    color: inherit;
}

.company-map-info button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f3f5;
    color: #050505;
    font-size: 14px;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.company-map-info button:hover {
    background: #050505;
    color: #ffffff;
    transform: translateY(-2px);
}

.company-map-canvas {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border: 1px solid #eceef2;
    border-radius: 0;
    background: #f6f6f8;
}

.company-map-canvas .leaflet-control-attribution {
    font-size: 10px;
}

@media (max-width: 991px) {
    .company-map-section {
        padding: 84px 0 108px;
}

    .company-map-intro {
        margin: 0 0 64px;
}

    .company-map-head {
        grid-template-columns: 1fr;
        gap: 26px;
}

    .company-map-info {
        gap: 22px;
}
}

@media (max-width: 767px) {
    .company-map-section {
        padding: 58px 0 76px;
}

    .company-map-intro {
        margin-bottom: 48px;
}

    .company-map-intro p {
        font-size: 16px;
}

    .company-map-list {
        gap: 62px;
}

    .company-map-place {
        padding-bottom: 56px;
}

    .company-map-head {
        margin-bottom: 24px;
}

    .company-map-info {
        display: block;
}

    .company-map-info dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
}

    .company-map-info button {
        margin-top: 22px;
}

    .company-map-canvas {
        height: 300px;
}
}

/* Board contact page */
.board-contact-section {
    padding: 104px 0 122px;
    background: #ffffff;
}

.board-contact-section .container {
    max-width: 1180px;
}

.board-contact-layout {
    --bs-gutter-x: 34px;
}

.board-contact-info-card {
    position: sticky;
    top: 112px;
    overflow: hidden;
    padding: 42px 40px !important;
    border: 1px solid transparent;
    border-radius: 15px !important;
    background: #f6f6f8 !important;
    box-shadow: none !important;
    transition: transform .34s ease, background-color .34s ease, border-color .34s ease;
}



.board-contact-form-card h3 {
    margin-bottom: 30px;
    color: #050505;
    font-size: 32px;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: 0;
}

.board-contact-form-card .form-label {
    margin-bottom: 9px !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.board-contact-form-card .form-group {
    margin-bottom: 18px !important;
}

.board-contact-form-card .form-icon {
    display: none;
}

.board-contact-form-card .form-control {
    min-height: 58px;
    padding: 15px 18px !important;
    border: 1px solid #e4e6eb !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    color: #111111;
    font-size: 15px !important;
    line-height: 1.5;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.031372549);
    transition: border-color .24s ease, box-shadow .24s ease;
}

.board-contact-form-card textarea.form-control {
    min-height: 132px;
    resize: vertical;
}

.board-contact-form-card .form-control::placeholder {
    color: #b6bac2;
}

.board-contact-form-card .form-control:focus {
    border-color: #151515 !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .08);
}

.board-contact-form-card #captchaImg {
    height: 58px;
    max-width: 190px;
    padding: 8px 12px;
    border: 1px solid #e4e6eb;
    border-radius: 12px;
    background: #f6f6f8;
    object-fit: contain;
}

.board-contact-form-card #refresh_btn {
    width: auto !important;
    min-width: 120px;
    height: 58px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #f1f2f6;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
}

.board-contact-form-card #refresh_btn:hover {
    background: #e8e9ee;
}

.board-contact-form-card .border.border-color-transparent-dark-very-light {
    border-color: #eceef2 !important;
    border-radius: 18px !important;
    background: #fafafa;
}

.board-contact-form-card #privacyAgree {
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px;
    accent-color: #111111;
}

.board-contact-form-card #privacyBtn {
    color: #111111 !important;
}

.board-contact-form-card .bg-solitude-blue {
    background: #ffffff !important;
    border: 1px solid #eceef2;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 64px;
    min-height: 36px;
    padding: 7px 16px;
    border: 1px solid #2c2d32 !important;
    border-radius: 8px !important;
    background: #2c2d32 !important;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    box-shadow: none !important;
}

.admin-action-btn:hover {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

.board-contact-form-card .admin-action-btn {
    width: 100%;
    min-height: 58px;
    padding: 15px 18px;
    border-radius: 12px !important;
    font-size: 15px;
    font-weight: 700;
}

.company-history-list .btn-area {
    display: inline-flex;
    gap: 6px;
    margin-left: auto !important;
    justify-self: end;
    justify-content: flex-end;
}

.history-admin-form {
    width: 100%;
    max-width: 720px;
    padding: 32px;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    background: #ffffff;
    margin-bottom: 120px;
}

@media (max-width: 991px) {
    .board-contact-section {
        padding: 84px 0 96px;
}

    .board-contact-info-card {
        position: relative;
        top: auto;
}

    .board-contact-form-card {
        padding: 36px 34px 38px;
}
}

@media (max-width: 767px) {
    .board-contact-section {
        padding: 58px 0 72px;
}

    .board-contact-info-card,
    .board-contact-form-card {
        padding: 28px 22px !important;
        border-radius: 24px !important;
}

    .board-contact-info-card .col {
        min-height: auto;
}

    .board-contact-form-card h3 {
        font-size: 26px;
}

    .board-contact-form-card .d-flex {
        flex-wrap: wrap;
        gap: 10px;
}

    .board-contact-form-card #captchaImg,
    .board-contact-form-card #refresh_btn {
        width: 100% !important;
        max-width: none;
        margin-left: 0 !important;
}

    .history-admin-form {
        padding: 24px 20px;
        border-radius: 16px;
    }
}


/* Global Pretendard font and history edit controls */
@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-Thin-120b8200ef02c54246f59471bf4dfcdd.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-ExtraLight-e54830d29ec09047650dbb81e9a2f3bd.woff2") format("woff2");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-Light-6e125543eff1bb5e7dde302f1f50a7b0.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-Regular-76a1283c27610a9ad7d6940b9b174e46.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-Medium-65d0a735617322a4fe0bcc5350642159.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-SemiBold-d3b288a528801dae385d6f104693e022.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-Bold-33860c9446a2671456e4619020774137.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-ExtraBold-4e75935a8e92c6b078d8e1bafd81cb42.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-woff2/Pretendard-Black-2af430c08505f68fe8ccbd974e4c85f1.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-font: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    --alt-font: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

body,
button,
input,
textarea,
select {
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

.alt-font,
.primary-font {
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif !important;
}


.history-modify-form {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.history-modify-input {
    min-height: 58px;
    padding: 15px 18px;
    border: 1px solid #e4e6eb;
    border-radius: 12px;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .03);
    outline: none;
    transition: border-color .24s ease, box-shadow .24s ease;
}

.history-modify-input:focus {
    border-color: #151515;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .08);
}

.history-modify-date {
    flex: 0 0 160px;
}

.history-modify-content {
    flex: 0 1 300px;
}

.history-modify-actions {
    display: inline-flex;
    gap: 6px;
    margin-left: 0;
}

@media (max-width: 767px) {
    .history-modify-form {
        flex-wrap: wrap;
    }

    .history-modify-date,
    .history-modify-content {
        flex: 1 1 100%;
        width: 100% !important;
    }
}



/* Common page title hero */
.geo-directory-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
    background: #fff !important;
}

.geo-directory-hero h2 {
    color: #080808;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.08;
    font-weight: 550;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    .geo-directory-hero {
        min-height: 260px;
        margin-top: 92px !important;
    }

    .geo-directory-hero h2 {
        font-size: 38px;
    }
}

