/* ===== 회사소개 인사말 + 인증 ===== */
.hanjin-about-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    margin-top: 48px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.hanjin-about-panel__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #64748b;
}

.hanjin-about-panel__title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.hanjin-about-panel__text p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    word-break: keep-all;
}

.hanjin-about-panel__text p:last-child {
    margin-bottom: 0;
}

.hanjin-about-panel__certs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.hanjin-about-panel__cert {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.hanjin-about-panel__cert img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border-radius: 10px;
}

.hanjin-about-panel__cert span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
    text-align: center;
}

@media (max-width: 991px) {
    .hanjin-about-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 36px;
        padding: 24px;
        align-items: stretch;
    }

    .hanjin-about-panel__certs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .hanjin-about-panel__cert {
        padding: 12px 10px 14px;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    }

    .hanjin-about-panel__cert img {
        max-height: 220px;
        border-radius: 8px;
        border: 1px solid rgba(15, 23, 42, 0.06);
        background: #f8fafc;
    }
}

@media (max-width: 575px) {
    .hanjin-about-panel {
        padding: 20px 14px;
        border-radius: 16px;
        background: #f1f5f9;
        border-color: rgba(15, 23, 42, 0.06);
    }

    .hanjin-about-panel__certs {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hanjin-about-panel__cert {
        padding: 14px 14px 16px;
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }

    .hanjin-about-panel__cert img {
        max-height: 340px;
        border-radius: 10px;
    }

    .hanjin-about-panel__cert span {
        font-size: 13px;
        font-weight: 700;
        color: #1e293b;
    }
}

.faq-one--centered .faq-one__inner {
    max-width: 760px;
    margin: 0 auto;
}

/* ===== 텍스트 로고 ===== */
.hanjin-text-logo {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    padding: 8px 14px 7px;
    background: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

.hanjin-text-logo__slogan {
    font-size: 11px;
    font-weight: 500;
    font-style: italic;
    color: #1a2a5a;
    letter-spacing: -0.02em;
    padding-bottom: 3px;
}

.hanjin-text-logo__name {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}

.hanjin-text-logo__hanjin {
    font-size: 26px;
    font-weight: 900;
    color: #1a2a5a;
    letter-spacing: -0.04em;
}

.hanjin-text-logo__led {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hanjin-text-logo__led .is-l { color: #e31b23; }
.hanjin-text-logo__led .is-e { color: #1e5eff; }
.hanjin-text-logo__led .is-d { color: #00a651; }

.main-header__logo .hanjin-text-logo,
.logo-box .hanjin-text-logo,
.sidebar-one__logo .hanjin-text-logo {
    max-width: 100%;
}

@media (max-width: 991px) {
    .hanjin-text-logo {
        gap: 6px;
        padding: 6px 10px 5px;
    }

    .hanjin-text-logo__slogan {
        font-size: 9px;
        padding-bottom: 2px;
    }

    .hanjin-text-logo__hanjin,
    .hanjin-text-logo__led {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .hanjin-text-logo__slogan {
        display: none;
    }
}

.faq-one--centered .sec-title {
    margin-bottom: 36px;
}

.faq-one--centered .sec-title__tagline,
.faq-one--centered .sec-title__title {
    text-align: center;
}

.testimonials-four--centered {
    padding-bottom: 100px;
}

.testimonials-four--centered .testimonials-four__wrapper {
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.testimonials-four--centered .sec-title {
    margin-bottom: 40px;
}

.testimonials-four--centered .sec-title__tagline,
.testimonials-four--centered .sec-title__title {
    text-align: center;
}

.testimonials-four--centered .testimonials-four__carousel {
    text-align: left;
    margin-bottom: 20px;
}

.testimonials-four--centered .owl-dots {
    margin-top: 36px !important;
    margin-bottom: 10px !important;
    text-align: center;
}

.testimonials-four--centered .owl-stage {
    display: flex;
    align-items: stretch;
}

.testimonials-four--centered .owl-item {
    display: flex;
    height: auto;
}

.testimonials-four--centered .owl-item .item {
    display: flex;
    width: 100%;
    height: 100%;
}

.testimonials-four--centered .testimonials-four__item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 280px;
    text-align: left;
}

.testimonials-four--centered .testimonials-four__item__content {
    flex: 1 1 auto;
    min-height: 90px;
}

.testimonials-four--centered .testimonials-four__item__author {
    margin-top: auto;
}

.why-choose-three__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    image-rendering: auto;
}

.counter-one__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        rgba(8, 12, 24, 0.15) 0%,
        rgba(8, 12, 24, 0.05) 45%,
        rgba(8, 12, 24, 0.35) 100%
    );
    pointer-events: none;
}
.preloader {
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.page-loaded .preloader,
.preloader.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.main-banner-two__bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.main-banner-two__bg::after {
    background: linear-gradient(
        180deg,
        rgba(8, 12, 24, 0.55) 0%,
        rgba(8, 12, 24, 0.35) 45%,
        rgba(8, 12, 24, 0.7) 100%
    );
}

.main-header__logo img,
.logo-box img,
.sidebar-one__logo img,
.main-footer-four__inner > a img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.main-banner-two__btn__clients img,
.counter-one__right__clients img,
.why-choose-three__author img,
.testimonials-four__item__author img {
    object-fit: cover;
}

.about-four__image img,
.service-four__item__image img,
.portfolio-four__item img,
.blog-card-four__image img,
.why-choose-three__image img,
.testimonials-four__image img,
.mail-section__image img {
    object-fit: cover;
    width: 100%;
}

/* 시공갤러리 캐러셀 모바일 잘림 수정 */
@media (max-width: 991px) {
    .portfolio-four #portfolio-four__carousel {
        padding: 16px 0 8px;
    }

    .portfolio-four #portfolio-four__carousel .flipster__button--prev,
    .portfolio-four #portfolio-four__carousel .flipster__button--next {
        width: 44px;
        height: 44px;
        font-size: 14px;
        top: 32%;
    }

    .portfolio-four #portfolio-four__carousel .flipster__button--prev {
        left: 4px;
    }

    .portfolio-four #portfolio-four__carousel .flipster__button--next {
        right: 4px;
    }
}

@media (max-width: 767px) {
    .portfolio-four {
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }

    .portfolio-four .container {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
    }

    /* flipster 3D/겹침 제거 → 현재 슬라이드만 전체 폭 */
    .portfolio-four .flipster {
        overflow: hidden;
    }

    .portfolio-four .flipster__container {
        transform: none !important;
        white-space: nowrap !important;
        word-spacing: normal !important;
    }

    .portfolio-four .flipster__item {
        width: 100% !important;
        margin: 0 !important;
        vertical-align: top;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
    }

    .portfolio-four .flipster__item--current {
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative !important;
    }

    .portfolio-four .flipster__item .flipster__item__content,
    .portfolio-four .flipster__item--past .flipster__item__content,
    .portfolio-four .flipster__item--past-1 .flipster__item__content,
    .portfolio-four .flipster__item--past-2 .flipster__item__content,
    .portfolio-four .flipster__item--future .flipster__item__content,
    .portfolio-four .flipster__item--future-1 .flipster__item__content,
    .portfolio-four .flipster__item--future-2 .flipster__item__content,
    .portfolio-four .flipster__item--current .flipster__item__content {
        transform: none !important;
        transition: none !important;
    }

    .portfolio-four__item {
        border-radius: 16px;
        overflow: visible;
        filter: none;
        width: 100%;
    }

    .portfolio-four__item img {
        border-radius: 16px;
        width: 100%;
        display: block;
    }

    .portfolio-four__item__content {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin: 12px 0 0 !important;
        padding: 14px 56px 14px 16px !important;
        border-radius: 14px;
        box-sizing: border-box;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
    }

    .portfolio-four .flipster__item:not(.flipster__item--current) .portfolio-four__item__content {
        display: none !important;
    }

    .portfolio-four__item__cate {
        font-size: 13px;
        margin: 0 0 4px;
    }

    .portfolio-four__item__title {
        font-size: 15px !important;
        line-height: 1.35;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .portfolio-four__item__btn {
        right: 12px;
    }

    .portfolio-four__item__btn a {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
}

body,
.main-menu__list > li > a,
.sec-title__title,
.sec-title__tagline,
.growim-btn__text {
    font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif;
}

.main-banner-two__name {
    display: block;
    text-align: center;
}

.hanjin-brand-title {
    display: block;
    font-size: clamp(42px, 8vw, 96px);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
}

.main-banner-two__title {
    font-size: clamp(22px, 3.2vw, 40px);
    font-weight: 800;
    color: #3ec6ff;
    text-transform: none;
    letter-spacing: -0.02em;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(62, 198, 255, 0.65),
        0 0 18px rgba(33, 155, 228, 0.4);
}

.main-banner-two__text {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hanjin-quick-links {
    padding-top: 48px;
    padding-bottom: 28px;
}

.hanjin-quick-card {
    --qk-accent: #0891b2;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    padding: 26px 24px 22px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hanjin-quick-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #22d3ee, #0891b2 55%, transparent);
    opacity: 0.85;
    transition: opacity 0.28s ease, height 0.28s ease;
}

.hanjin-quick-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 68%);
    pointer-events: none;
    transition: transform 0.35s ease;
}

.hanjin-quick-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 145, 178, 0.35);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(34, 211, 238, 0.1);
    color: inherit;
}

.hanjin-quick-card:hover::before {
    height: 4px;
    opacity: 1;
}

.hanjin-quick-card:hover::after {
    transform: scale(1.25);
}

.hanjin-quick-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hanjin-quick-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--qk-accent);
    font-size: 22px;
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.hanjin-quick-card__icon i {
    line-height: 1;
}

.hanjin-quick-card:hover .hanjin-quick-card__icon {
    background: #0f172a;
    color: #22d3ee;
    transform: translateY(-2px);
}

.hanjin-quick-card__num {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.hanjin-quick-card__label {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hanjin-quick-card p {
    flex: 1;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
}

.hanjin-quick-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #0f172a;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hanjin-quick-card__more i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.hanjin-quick-card:hover .hanjin-quick-card__more {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.hanjin-quick-card:hover .hanjin-quick-card__more i {
    transform: translate(2px, -2px);
}

.hanjin-cta-form {
    position: relative;
}

.hanjin-cta-form input {
    padding-right: 70px !important;
}

.hanjin-cta-call {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--growim-base, #ff4a17);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hanjin-cta-call:before {
    font-family: "flaticon" !important;
}

.hanjin-contact-info {
    margin-top: 28px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
}

.hanjin-contact-info p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.hanjin-contact-info a {
    color: #fff;
    text-decoration: underline;
}

.hanjin-contact-info strong {
    display: inline-block;
    min-width: 72px;
    margin-right: 8px;
    opacity: 0.85;
}

@media (max-width: 991px) {
    .hanjin-brand-title {
        font-size: 48px;
    }
}

/* 시공갤러리 페이지 — 고도화된 카드 그리드 */
.hanjin-gallery-page {
    padding: 80px 0 100px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 211, 238, 0.08), transparent 55%),
        #f3f5f8;
}

.hanjin-gallery-page__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.hanjin-gallery-page__heading {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hanjin-gallery-page__count {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.hanjin-gallery-page__count strong {
    color: #0891b2;
}

.hanjin-gallery-card {
    --card-ink: #0b1220;
    --card-accent: #22d3ee;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hanjin-gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(34, 211, 238, 0.12);
    color: inherit;
}

.hanjin-gallery-card__media {
    position: relative;
    display: block;
    overflow: hidden;
}

.hanjin-gallery-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #0f172a, #1e293b);
}

.hanjin-gallery-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.hanjin-gallery-card:hover .hanjin-gallery-card__image img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.04);
}

.hanjin-gallery-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(11, 18, 32, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}

.hanjin-gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(8, 12, 24, 0.55) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hanjin-gallery-card:hover .hanjin-gallery-card__overlay {
    opacity: 1;
}

.hanjin-gallery-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

.hanjin-gallery-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px 16px;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    min-height: 108px;
}

.hanjin-gallery-card__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0891b2;
}

.hanjin-gallery-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    padding: 0;
    min-height: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--card-ink);
}

.hanjin-gallery-card__meta {
    margin-top: auto;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

@media (max-width: 767px) {
    .hanjin-gallery-card__body {
        min-height: 96px;
        padding: 12px;
    }

    .hanjin-gallery-card__title {
        font-size: 13px;
    }

    .hanjin-gallery-card__cta {
        font-size: 11px;
    }
}

.page-header {
    position: relative;
    padding: 140px 0 70px;
    text-align: center;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-header__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.72);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
}

.growim-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.growim-breadcrumb a {
    color: #fff;
}

/* 페이징 */
.hanjin-paging {
    margin-top: 48px;
}

.hanjin-paging ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hanjin-paging a,
.hanjin-paging span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hanjin-paging a:hover {
    border-color: #111827;
    color: #111827;
}

.hanjin-paging .is-current {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.hanjin-paging .is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.hanjin-paging__ellipsis {
    border: none;
    background: transparent;
}

/* 상세 게시글 뷰 (원본 board view 스타일) */
.hanjin-gallery-dynamic-paging {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 40px;
}

.hanjin-gallery-page-btn {
    min-width: 72px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.hanjin-gallery-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.hanjin-gallery-page-info {
    min-width: 64px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.hanjin-gallery-view {
    padding: 60px 0 90px;
    background: #f7f8fb;
}

.hanjin-board-view {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 28px 28px 32px;
}

.hanjin-board-view__title {
    margin: 0 0 16px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
}

.hanjin-board-view__meta {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 14px;
}

.hanjin-board-view__body {
    padding: 10px 0 24px;
}

.hanjin-board-view__image {
    margin: 0 0 18px;
}

.hanjin-board-view__image img {
    display: block;
    width: 100%;
    height: auto;
}

.hanjin-board-view__text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.hanjin-board-view__rich {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}

.hanjin-board-view__rich p {
    margin: 0 0 14px;
}

.hanjin-board-view__rich img {
    display: block;
    width: 100%;
    height: auto;
    margin: 12px 0 18px;
}

.hanjin-board-view__rich h2,
.hanjin-board-view__rich h3 {
    margin: 20px 0 10px;
    font-weight: 800;
    color: #111827;
}

.hanjin-board-view__rich ul,
.hanjin-board-view__rich ol {
    margin: 0 0 14px;
    padding-left: 1.3em;
}

.hanjin-board-view__rich a {
    color: #1e5eff;
}

.hanjin-board-view__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.hanjin-board-view__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.hanjin-board-view__btn.is-primary {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.hanjin-board-view__btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 767px) {
    .hanjin-board-view {
        padding: 20px 16px 24px;
    }
}

/* ===== 한진LED 소식 (다크 리스트) ===== */
.blog-three.hanjin-news {
    padding: 72px 0 100px;
    background-color: #0a0a0a;
    background-image: none;
}

.blog-three.hanjin-news .blog-three__bg,
.blog-three.hanjin-news .blog-three__shape {
    display: none;
}

.blog-three.hanjin-news .sec-title {
    margin-bottom: 40px;
}

.blog-three.hanjin-news .sec-title__tagline {
    color: #7dd87d;
}

.blog-three.hanjin-news .sec-title__title {
    color: #ffffff;
}

.hanjin-news-list {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #2a2a2a;
}

.hanjin-news-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 28px 8px;
    border-bottom: 1px solid #2a2a2a;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.hanjin-news-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 16px;
}

.hanjin-news-item__cat {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #6fbf6f;
    white-space: nowrap;
}

.hanjin-news-item__title {
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 700;
    line-height: 1.45;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hanjin-news-item__meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.hanjin-news-item__date {
    font-size: 14px;
    color: #888888;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hanjin-news-item__arrow {
    font-size: 18px;
    color: #ffffff;
    line-height: 1;
    transition: transform 0.25s ease;
}

.hanjin-news-item:hover .hanjin-news-item__arrow {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .blog-three.hanjin-news {
        padding: 56px 0 72px;
    }

    .hanjin-news-item {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px 16px;
        padding: 22px 4px;
    }

    .hanjin-news-item__cat {
        grid-column: 1;
        grid-row: 1;
    }

    .hanjin-news-item__meta {
        grid-column: 2;
        grid-row: 1;
    }

    .hanjin-news-item__title {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 16px;
    }
}

/* ===== 공지 상세 (blog-single 스타일) ===== */
.hanjin-notice-page {
    margin: 0;
    background: #0a0a0a;
    color: #ffffff;
    font-family: "Noto Sans KR", sans-serif;
}

.hanjin-notice-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}

.hanjin-notice-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 56px;
}

.hanjin-notice-brand {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.hanjin-notice-top__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #888888;
}

.hanjin-notice-main {
    flex: 1;
}

.hanjin-notice-cat {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: #6fbf6f;
}

.hanjin-notice-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hanjin-notice-date {
    margin: 0 0 36px;
    font-size: 14px;
    color: #888888;
}

.hanjin-notice-cover {
    margin: 0 0 36px;
    overflow: hidden;
    border-radius: 4px;
}

.hanjin-notice-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.hanjin-notice-body {
    font-size: 16px;
    line-height: 1.85;
    color: #d4d4d4;
}

.hanjin-notice-body p {
    margin: 0 0 1.1em;
}

.hanjin-notice-inline {
    color: #6fbf6f;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(111, 191, 111, 0.4);
}

.hanjin-notice-inline:hover {
    color: #9be09b;
}

.hanjin-notice-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #2a2a2a;
}

.hanjin-notice-actions a {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hanjin-notice-actions a:hover {
    color: #6fbf6f;
}

.hanjin-notice-foot {
    margin-top: 64px;
    font-size: 13px;
    color: #666666;
    text-align: center;
}

@media (max-width: 767px) {
    .hanjin-notice-shell {
        padding: 20px 18px 40px;
    }

    .hanjin-notice-top {
        margin-bottom: 40px;
    }

    .hanjin-notice-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 작업 절차: 모바일에서 아이콘 → 텍스트 순서 통일 */
@media (max-width: 767px) {
    .work-process-two__item--reverse {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .work-process-two__item--reverse .work-process-two__item__icon {
        order: -1;
    }

    .work-process-two__item--reverse .work-process-two__item__title {
        margin: 25px 0 12px;
        text-align: center;
    }

    .work-process-two__item--reverse .work-process-two__item__text {
        margin: 0;
        text-align: center;
    }

    .work-process-two__border {
        display: none;
    }
}

/* ===== 문의 / 오시는 길 (지도 배경) ===== */
.contact-one.hanjin-contact {
    padding: 72px 0 100px;
    overflow: hidden;
}

.contact-one.hanjin-contact .contact-one__bg--map {
    background-image: none;
    z-index: 0;
}

.contact-one.hanjin-contact .contact-one__bg--map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2) saturate(0.85) brightness(0.92);
}

.contact-one.hanjin-contact .contact-one__bg--map::after {
    background-image: linear-gradient(
        90deg,
        rgba(18, 8, 36, 0.9) 0%,
        rgba(18, 8, 36, 0.72) 24%,
        rgba(18, 8, 36, 0.28) 44%,
        rgba(18, 8, 36, 0.08) 64%,
        rgba(18, 8, 36, 0) 100%
    );
    pointer-events: none;
}

.contact-one.hanjin-contact .container {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: calc(clamp(36px, 6vw, 96px) + 3cm);
    padding-right: clamp(24px, 4vw, 48px);
}

.contact-one.hanjin-contact .hanjin-contact__panel {
    max-width: 460px;
    width: 100%;
}

.contact-one.hanjin-contact .sec-title__title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.25;
}

.contact-one.hanjin-contact .contact-one__form {
    max-width: 460px;
    padding: 40px 32px 44px;
}

.contact-one.hanjin-contact .contact-one__form__title {
    font-size: 24px;
    margin-bottom: 28px;
}

.contact-one.hanjin-contact .hanjin-contact-info {
    margin-top: 20px;
    max-width: 460px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(10, 6, 24, 0.72);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.92);
}

.contact-one.hanjin-contact .hanjin-contact-info p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
}

.contact-one.hanjin-contact .hanjin-contact-info p:last-child {
    margin-bottom: 0;
}

.contact-one.hanjin-contact .hanjin-contact-info a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .contact-one.hanjin-contact {
        display: flex;
        flex-direction: column;
        padding: 0 0 48px;
        overflow: visible;
        background: #120824;
    }

    /* 지도: 상단 블록 */
    .contact-one.hanjin-contact .contact-one__bg--map {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 260px;
        flex-shrink: 0;
        z-index: 1;
    }

    .contact-one.hanjin-contact .contact-one__bg--map iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        filter: grayscale(0.15) saturate(0.9) brightness(0.95);
    }

    .contact-one.hanjin-contact .contact-one__bg--map::after {
        display: none;
    }

    /* 입력폼: 지도 아래 — 기존 다크/그라데이션 스타일 유지 */
    .contact-one.hanjin-contact .container {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 28px 16px 0;
        background: transparent;
    }

    .contact-one.hanjin-contact .hanjin-contact__panel,
    .contact-one.hanjin-contact .contact-one__form,
    .contact-one.hanjin-contact .hanjin-contact-info {
        max-width: 100%;
    }

    .contact-one.hanjin-contact .sec-title__title {
        font-size: 26px;
        color: #fff;
    }

    .contact-one.hanjin-contact .contact-one__form {
        padding: 32px 20px 36px;
        border-radius: 24px;
        background-image: linear-gradient(180deg, #1138e6 0%, #e501fe 100%);
        background-color: transparent;
        box-shadow: none;
    }

    .contact-one.hanjin-contact .contact-one__form__title {
        color: #fff;
        font-size: 22px;
    }

    .contact-one.hanjin-contact .contact-one__form label {
        color: rgba(255, 255, 255, 0.9);
    }

    .contact-one.hanjin-contact .hanjin-contact-info {
        margin-top: 16px;
        background: rgba(10, 6, 24, 0.72);
        backdrop-filter: blur(8px);
        color: rgba(255, 255, 255, 0.92);
    }
}

/* ===== 하단 푸터 (다크 센터형) ===== */
.main-footer-four.hanjin-footer {
    background-color: #0b1a3a;
    padding: 56px 0 40px;
}

.hanjin-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.hanjin-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hanjin-footer__link {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    cursor: pointer;
}

.hanjin-footer__link:hover {
    opacity: 0.85;
}

.hanjin-footer__link.hanjin-footer__admin-only {
    color: #7dd3fc;
}

.hanjin-footer__divider {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1;
}

.hanjin-text-logo--footer {
    padding: 10px 16px 9px;
}

.hanjin-footer__info {
    max-width: 920px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.85;
}

.hanjin-footer__info p {
    margin: 0 0 4px;
}

.hanjin-footer__info p:last-child {
    margin-bottom: 0;
}

.hanjin-footer__copy {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .main-footer-four.hanjin-footer {
        padding: 44px 0 32px;
    }

    .hanjin-footer__inner {
        gap: 22px;
    }

    .hanjin-footer__info {
        font-size: 12px;
        line-height: 1.75;
        padding: 0 4px;
    }

    .hanjin-text-logo--footer .hanjin-text-logo__slogan {
        display: inline;
        font-size: 9px;
    }
}

/* ===== 약관 / 개인정보 모달 ===== */
body.hanjin-modal-open {
    overflow: hidden;
}

.hanjin-modal[hidden] {
    display: none !important;
}

.hanjin-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.hanjin-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 24, 0.72);
}

.hanjin-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(82vh, 820px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.hanjin-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #e8ebf2;
    background: #f8f9fc;
}

.hanjin-modal__head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0b1a3a;
    letter-spacing: -0.02em;
}

.hanjin-modal__close {
    appearance: none;
    border: 0;
    background: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: #334155;
    cursor: pointer;
}

.hanjin-modal__close:hover {
    background: rgba(15, 23, 42, 0.06);
}

.hanjin-modal__body {
    padding: 24px;
    overflow: auto;
    color: #334155;
    font-size: 14px;
    line-height: 1.75;
}

.hanjin-modal__body h3 {
    margin: 22px 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0b1a3a;
}

.hanjin-modal__body h3:first-child {
    margin-top: 0;
}

.hanjin-modal__body p {
    margin: 0 0 8px;
}

.hanjin-modal__note {
    margin-top: 24px !important;
    padding-top: 16px;
    border-top: 1px solid #e8ebf2;
    color: #64748b;
    font-size: 13px;
}

.hanjin-contact-result {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.hanjin-contact-result.is-success {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hanjin-contact-result.is-error {
    background: rgba(220, 38, 38, 0.15);
    color: #fff;
    border: 1px solid rgba(248, 113, 113, 0.35);
}

/* ===== 사이드바 회원 인증 ===== */
.hanjin-auth-actions,
.hanjin-auth-user {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.hanjin-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hanjin-auth-btn--primary {
    background: linear-gradient(135deg, #1e5eff 0%, #00a651 100%);
    color: #fff;
}

.hanjin-auth-btn--primary:hover {
    filter: brightness(1.06);
}

.hanjin-auth-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.hanjin-auth-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hanjin-auth-user__email {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    word-break: break-all;
}

.hanjin-auth-modal__lead {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
}

.hanjin-auth-alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.hanjin-auth-alert.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.hanjin-auth-alert.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.hanjin-auth-field {
    margin-bottom: 14px;
}

.hanjin-auth-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.hanjin-auth-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 15px;
    font-family: inherit;
}

.hanjin-auth-field input:focus {
    outline: none;
    border-color: #1e5eff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.12);
}

.hanjin-auth-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 6px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b1a3a 0%, #1e5eff 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.hanjin-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.hanjin-auth-modal__switch {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.hanjin-auth-modal__switch button {
    border: 0;
    background: transparent;
    color: #1e5eff;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}
