﻿:root {
  --ink: #f4f6fb;
  --ink-soft: #a7afbc;
  --paper: #10131c;
  --white: #171b26;
  --line: rgba(255, 255, 255, 0.11);
  --line-dark: rgba(255, 255, 255, 0.14);
  --nav: #10131a;
  --accent: #ff9f1c;
  --accent-dark: #f4a629;
  --green: #4fd28c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 76px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.blog-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.blog-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  border-bottom: 1px solid var(--line-dark);
  background: #10131a;
  color: #fff;
}
.blog-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.blog-brand { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.blog-brand img { width: 48px; height: 48px; object-fit: contain; }
.blog-brand strong { display: block; font-size: 17px; font-weight: 900; }
.blog-brand small { display: block; margin-top: 2px; color: #aeb5c0; font-size: 11px; }
.blog-desktop-nav { display: flex; align-items: stretch; align-self: stretch; gap: 3px; }
.blog-nav-item { position: relative; display: flex; align-items: center; }
.blog-desktop-nav > a,
.blog-nav-item > a {
  display: flex;
  min-height: 76px;
  align-items: center;
  padding: 0 14px;
  color: #d9dde3;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.blog-desktop-nav > a:hover,
.blog-nav-item:hover > a { color: #fff; }
.blog-nav-item > a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 160ms ease;
}
.blog-nav-item:hover > a::after { transform: scaleX(1); }
.blog-submenu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  display: grid;
  width: 260px;
  max-height: 440px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #303641;
  border-radius: 0 0 6px 6px;
  background: #171b23;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}
.blog-nav-item:hover .blog-submenu,
.blog-nav-item:focus-within .blog-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.blog-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #dce1e8;
  font-size: 13px;
}
.blog-submenu a:last-child { border-bottom: 0; }
.blog-submenu a:hover { color: #fff; background: #222833; }
.blog-submenu small { color: #8f98a6; font-size: 11px; }
.blog-login { color: #ffb348 !important; }
.blog-menu-toggle { display: none; }
.blog-mobile-menu { display: none; }

.blog-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 76px 0 62px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 13, 19, 0.88), rgba(10, 13, 19, 0.36)),
    url("/images/busan_real_estate_bg_4.webp") center 56% / cover no-repeat;
}
.blog-hero .blog-container { position: relative; z-index: 1; }
.blog-eyebrow { margin: 0 0 12px; color: #ffae38; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; }
.blog-hero h1 { max-width: 880px; margin: 0; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.12; font-weight: 900; }
.blog-hero h1 span { color: #ff9f1c; }
.blog-hero > .blog-container > p:last-child { max-width: 650px; margin: 20px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.8; }
.blog-hero.is-detail {
  min-height: 160px;
  align-items: center;
  padding: 36px 0;
}
.blog-hero.is-detail h1 { font-size: 20px; line-height: 1.45; }

.mag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 44px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 90px;
}
.mag-primary { min-width: 0; }
.mag-primary > * + * { margin-top: 72px; }
.mag-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
  padding-bottom: 15px;
  border-bottom: 2px solid #39414d;
}
.mag-section-heading small,
.sidebar-heading span,
.mag-list-heading small { display: block; margin-bottom: 5px; color: var(--accent-dark); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.mag-section-heading h2,
.sidebar-heading h2,
.mag-list-heading h2 { margin: 0; font-size: 27px; line-height: 1.2; font-weight: 900; }
.mag-section-heading > p { max-width: 330px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; text-align: right; }
.mag-more-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--accent-dark);
  border-radius: 4px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}
.mag-more-link:hover { color: #fff; background: var(--accent-dark); }

.mag-lead-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mag-lead-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.mag-lead-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28); }
.mag-lead-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mag-lead-card div { padding: 17px 16px 19px; }
.mag-lead-card small { color: var(--accent-dark); font-size: 11px; font-weight: 900; }
.mag-lead-card h2 { display: -webkit-box; min-height: 48px; margin: 8px 0; overflow: hidden; font-size: 17px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mag-lead-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mag-card-empty { grid-column: 1 / -1; margin: 0; padding: 60px 20px; color: var(--ink-soft); background: var(--white); text-align: center; }

.mag-external-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mag-external-card { 
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  height: 126px;
  min-height: 126px;
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.mag-external-card img { width: 168px; height: 126px; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.mag-external-card > div { display: flex; min-width: 0; height: 126px; overflow: hidden; flex-direction: column; justify-content: flex-start; padding: 10px 12px; }
.mag-external-card h3 { display: -webkit-box; margin: 0 0 5px; overflow: hidden; font-size: 15px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mag-external-card p { display: -webkit-box; margin: 0 0 4px; overflow: hidden; color: var(--ink-soft); font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mag-external-card span { margin-top: auto; padding-top: 4px; color: var(--green); font-size: 11px; font-weight: 800; }
.mag-external-card:hover { border-color: #aab0b8; }

.mag-case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mag-case-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.mag-case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 220ms ease; }
.mag-case-card:hover img { transform: scale(1.035); }
.mag-case-card h3 { overflow: hidden; margin: 0; padding: 13px 12px 14px; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }

.mag-title-list { min-height: 440px; padding-top: 5px; }
.mag-list-heading { position: relative; padding: 0 0 20px; border-bottom: 2px solid #39414d; }
.mag-list-heading span { position: absolute; right: 0; bottom: 21px; color: var(--ink-soft); font-size: 12px; }
.mag-title-list ol { margin: 0; padding: 0; list-style: none; background: var(--white); }
.mag-title-list li { border-bottom: 1px solid var(--line); }
.mag-title-list li > a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; }
.mag-post-number { color: #7f8793; font-size: 11px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mag-title-copy { display: flex; min-width: 0; align-items: center; gap: 7px; }
.mag-post-title { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mag-new-badge { flex: 0 0 auto; color: #ffae38; font-size: 9px; font-style: normal; font-weight: 950; letter-spacing: 0.04em; }
.mag-title-list li > a time { color: #8d96a4; font-size: 11px; }
.mag-title-list li > a:hover .mag-post-title { color: var(--accent-dark); }
.mag-title-list .is-empty { padding: 60px 20px; color: var(--ink-soft); text-align: center; }
.blog-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.blog-pagination a,
.blog-pagination button { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-soft); background: var(--white); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.blog-pagination a[aria-current="page"],
.blog-pagination button[aria-current="page"] { border-color: var(--accent); color: #11151d; background: var(--accent); }
.mag-case-section .blog-pagination { margin-top: 20px; }
.gallery-case-group .blog-pagination { margin-top: 20px; }

.mag-article { background: var(--white); }
.mag-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 24px; border-bottom: 1px solid var(--line); color: #777f8b; font-size: 11px; }
.mag-breadcrumb strong { color: var(--ink); }
.mag-article-meta { display: flex; gap: 18px; padding: 26px 34px 18px; color: #7e8590; font-size: 12px; }
.mag-article-hero { width: calc(100% - 68px); max-height: 520px; margin: 0 34px 28px; object-fit: contain; background: #111620; }
.mag-article-content { width: 100%; max-width: none; margin: 0; padding: 24px 34px 62px; color: #dce1e8; font-size: 17px; line-height: 1.95; }
.mag-article-content h2 { margin: 2.3em 0 0.7em; font-size: 27px; line-height: 1.42; }
.mag-article-content h3 { margin: 2em 0 0.65em; font-size: 21px; line-height: 1.45; }
.mag-article-content p { margin: 0 0 1.35em; }
.mag-article-content a { color: var(--accent-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.mag-article-content figure,
.mag-article-content .wp-block-image,
.mag-article-content .wp-caption { width: 100% !important; max-width: none !important; margin: 28px 0; }
.mag-article-content figure > a,
.mag-article-content .wp-block-image > a { display: block; width: 100%; }
.mag-article-content img:not(.emoji) { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 28px 0; border-radius: 4px; object-fit: contain; }
.mag-article-content figure img:not(.emoji),
.mag-article-content .wp-block-image img:not(.emoji),
.mag-article-content .wp-caption img:not(.emoji) { margin: 0; }
.mag-article-content figcaption,
.mag-article-content .wp-caption-text { margin: 8px 0 0; color: #9aa3af; font-size: 12px; line-height: 1.6; text-align: center; }
.mag-article-content iframe,
.mag-article-content video { width: 100%; max-width: 100%; }
.mag-article-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: #202634; }
.mag-article-categories { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 34px; border-top: 1px solid var(--line); }
.mag-article-categories a { color: var(--accent-dark); font-size: 12px; font-weight: 800; }

.mag-sidebar { position: sticky; top: 102px; display: grid; gap: 30px; }
.sidebar-block { padding-top: 16px; border-top: 2px solid rgba(244, 166, 41, 0.62); }
.sidebar-heading { margin-bottom: 15px; }
.sidebar-heading h2 { font-size: 20px; }
.sidebar-featured > a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.sidebar-featured img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.content-protected, .content-protected img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.gallery-desktop-quick { position: fixed; right: max(18px, calc((100vw - 1180px) / 2 + 18px)); bottom: 28px; z-index: 79; display: flex; align-items: center; gap: 14px; }
.gallery-desktop-quick-link { display: inline-flex; width: 54px; min-width: 54px; height: 54px; align-items: center; gap: 12px; overflow: hidden; color: #eaf2ee; text-decoration: none; transition: width 220ms ease, opacity 180ms ease, transform 180ms ease; }
.gallery-desktop-quick-link:hover,
.gallery-desktop-quick-link:focus-visible { width: 244px; opacity: 0.96; transform: translateY(-1px); }
.gallery-desktop-quick-link img { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 14px; object-fit: cover; box-shadow: 0 12px 24px rgba(0,0,0,.28); }
.gallery-desktop-quick-link:nth-child(1) img,
.gallery-desktop-quick-link:nth-child(3) img { width: 38px; height: 38px; flex-basis: 38px; margin: 8px; border-radius: 10px; }
.gallery-desktop-quick-copy { display: grid; min-width: 166px; gap: 2px; white-space: nowrap; }
.gallery-desktop-quick-copy strong { color: #42d985; font-size: 13px; font-weight: 950; line-height: 1.2; }
.gallery-desktop-quick-copy small { color: rgba(234,242,238,.78); font-size: 11px; line-height: 1.25; }
.gallery-floating-menu { position: fixed; right: 18px; bottom: 24px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.gallery-floating-panel { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; }
.gallery-floating-menu.is-open .gallery-floating-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.gallery-floating-panel a { display: inline-flex; min-width: 108px; height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #11141d; background: #fff; font-size: 14px; font-weight: 900; box-shadow: 0 10px 22px rgba(0,0,0,.32); }
.gallery-floating-panel img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; flex: 0 0 20px; }
.gallery-floating-toggle { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; padding: 0; overflow: hidden; border: 0; border-radius: 50%; color: #fff; background: transparent; box-shadow: 0 16px 32px rgba(0,0,0,.35); cursor: pointer; transition: transform 120ms ease; }
.gallery-floating-toggle:active { transform: scale(.95); }
.gallery-floating-toggle [data-gallery-quick-open] { display: block; }
.gallery-floating-toggle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.gallery-floating-toggle [data-gallery-quick-close] { display: none; width: 24px; height: 24px; }
.gallery-floating-toggle svg { width: 25px; height: 25px; fill: none; stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gallery-floating-menu.is-open .gallery-floating-toggle [data-gallery-quick-open] { display: none !important; }
.gallery-floating-menu.is-open .gallery-floating-toggle [data-gallery-quick-close] { display: block !important; }
.sidebar-featured h3 { display: -webkit-box; margin: 0; padding: 14px; overflow: hidden; font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sidebar-category-group { padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
.sidebar-category-toggle {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  text-align: left;
}
.sidebar-category-toggle > span { display: inline-flex; align-items: center; gap: 10px; }
.sidebar-category-toggle small { color: #9299a3; font-size: 10px; font-style: normal; }
.sidebar-category-toggle i { color: var(--accent); font-size: 20px; font-style: normal; font-weight: 400; line-height: 1; transition: transform 160ms ease; }
.sidebar-category-children { display: none; padding: 2px 0 7px 12px; border-left: 1px solid rgba(244, 166, 41, 0.35); }
.sidebar-category-group:hover .sidebar-category-children,
.sidebar-category-group:focus-within .sidebar-category-children,
.sidebar-category-group.is-open .sidebar-category-children { display: block; }
.sidebar-category-group:hover .sidebar-category-toggle i,
.sidebar-category-group:focus-within .sidebar-category-toggle i,
.sidebar-category-group.is-open .sidebar-category-toggle i { transform: rotate(45deg); }
.sidebar-category-group a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 2px; color: var(--ink-soft); font-size: 12px; }
.sidebar-category-group a:hover { color: var(--accent-dark); }
.sidebar-category-group .sidebar-parent { padding: 8px 2px; color: var(--ink); font-size: 13px; }
.sidebar-category-group small { min-width: 22px; color: #9299a3; font-size: 10px; text-align: right; }
.sidebar-search form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.sidebar-search input { min-width: 0; height: 43px; padding: 0 11px; border: 1px solid #39414d; border-right: 0; border-radius: 4px 0 0 4px; background: #1c222e; color: var(--ink); font-size: 12px; outline: none; }
.sidebar-search input:focus { border-color: var(--accent-dark); }
.sidebar-search button { width: 54px; border: 1px solid var(--accent); border-radius: 0 4px 4px 0; color: #161a22; background: var(--accent); font-size: 12px; font-weight: 900; }
.blog-ad-slot { display: flex; min-height: 250px; align-items: center; justify-content: center; border: 1px dashed #3a424f; background: #151a24; }
.blog-ad-slot > span { color: #a0a6af; font-size: 9px; letter-spacing: 0.12em; }

.blog-footer { padding: 40px 0; border-top: 1px solid #2b3038; color: #aeb5bf; background: var(--nav); }
.blog-footer .blog-container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 30px; }
.blog-footer strong { color: #fff; font-size: 16px; }
.blog-footer p { margin: 5px 0 0; font-size: 11px; }
.blog-footer nav { display: flex; gap: 18px; font-size: 12px; font-weight: 700; }
.blog-footer .blog-container > p { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }

.gallery-top-nav { display: flex; align-items: center; gap: 24px; color: #d9dde3; font-size: 13px; font-weight: 800; }
.gallery-top-nav a:hover,
.gallery-top-nav a[aria-current="page"] { color: #ffae38; }
.gallery-hero {
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  padding: 70px 0 54px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 13, 19, 0.9), rgba(10, 13, 19, 0.34)),
    url("/images/hero-moving-truck.webp") center 58% / cover no-repeat;
}
.gallery-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.1; }
.gallery-hero h1 span { color: #ff9f1c; }
.gallery-hero p:last-child { max-width: 600px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.76); line-height: 1.8; }
.gallery-hero.is-detail {
  min-height: 160px;
  align-items: center;
  padding: 36px 0;
}
.gallery-hero.is-detail h1 { font-size: 20px; line-height: 1.45; }
.gallery-page { padding-top: 64px; padding-bottom: 90px; }
.gallery-page > section + section { margin-top: 82px; }
.gallery-review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-review-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  border: 1px solid #cfd4da;
  border-radius: 6px;
  color: #fff;
  background: #151922;
}
.gallery-review-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.gallery-review-gradient { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(9, 12, 18, 0.98) 0%, rgba(9, 12, 18, 0.84) 28%, rgba(9, 12, 18, 0.58) 54%, transparent 84%), linear-gradient(to bottom, rgba(9, 12, 18, 0.46), transparent 36%); }
.gallery-review-effect-soft .gallery-review-gradient { background: linear-gradient(to top, rgba(9, 12, 18, 0.9) 0%, rgba(9, 12, 18, 0.62) 42%, transparent 80%), linear-gradient(to bottom, rgba(9, 12, 18, 0.28), transparent 34%); }
.gallery-review-effect-box .gallery-review-gradient { background: linear-gradient(to top, rgba(9, 12, 18, 0.44), transparent 56%); }
.gallery-review-effect-shadow .gallery-review-gradient,
.gallery-review-effect-none .gallery-review-gradient { background: transparent; }
.gallery-review-content { position: absolute; inset: 0; z-index: 2; display: flex; min-height: 100%; flex-direction: column; justify-content: flex-end; padding: 14px 10px; }
.gallery-review-effect-box .gallery-review-content { inset: auto 10px 10px; min-height: auto; padding: 13px 10px; border-radius: 6px; background: rgba(9, 12, 18, 0.68); backdrop-filter: blur(4px); }
.gallery-review-content h3 { display: -webkit-box; margin: 0 0 7px; overflow: hidden; color: var(--gallery-review-text-color, #fff); font-size: 16px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.82), 0 1px 2px rgba(0, 0, 0, 0.82); }
.gallery-review-content p { display: -webkit-box; margin: 0 0 10px; overflow: hidden; color: var(--gallery-review-text-color, rgba(255, 255, 255, 0.86)); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 4; text-shadow: 0 2px 9px rgba(0, 0, 0, 0.78), 0 1px 2px rgba(0, 0, 0, 0.82); }
.gallery-review-effect-soft .gallery-review-content h3,
.gallery-review-effect-soft .gallery-review-content p { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.58); }
.gallery-review-effect-shadow .gallery-review-content h3,
.gallery-review-effect-shadow .gallery-review-content p { text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9); }
.gallery-review-effect-none .gallery-review-content h3,
.gallery-review-effect-none .gallery-review-content p { text-shadow: none; }
.gallery-review-author { display: inline-flex; align-items: center; align-self: flex-start; gap: 1px; margin: 0 0 7px; color: var(--gallery-review-author-color, #ffd27a); font-size: 12px; font-weight: 900; line-height: 1.25; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.78); }
.gallery-review-author-icon { position: relative; display: inline-flex; width: 18px; min-width: 18px; height: 18px; align-items: center; justify-content: center; padding: 0; color: currentColor; font-size: 15px; font-weight: 950; line-height: 1; text-transform: lowercase; }
.gallery-review-author-icon[data-icon="text"] { width: 19px; min-width: 19px; height: 14px; border: 2px solid currentColor; border-radius: 3px; }
.gallery-review-author-icon[data-icon="text"]::before,
.gallery-review-author-icon[data-icon="text"]::after { content: ""; position: absolute; top: 2px; width: 10px; height: 2px; background: currentColor; transform-origin: center; }
.gallery-review-author-icon[data-icon="text"]::before { left: 1px; transform: rotate(31deg); }
.gallery-review-author-icon[data-icon="text"]::after { right: 1px; transform: rotate(-31deg); }
.gallery-review-author-icon[data-icon="naver"] { top: -1px; justify-content: flex-start; width: 14px; min-width: 14px; font-size: 17px; font-weight: 1000; text-transform: uppercase; }
.gallery-review-author-icon[data-icon="blog"] { width: auto; min-width: 24px; font-size: 15px; font-weight: 950; }
.gallery-review-author > span:last-child { color: inherit; font-size: inherit; font-weight: inherit; }
.gallery-case-group + .gallery-case-group { margin-top: 42px; }
.gallery-group-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #3a424f; }
.gallery-group-heading h3 { margin: 0; font-size: 19px; }
.gallery-group-heading span { color: var(--ink-soft); font-size: 11px; }
.gallery-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-archive-grid a { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.gallery-archive-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 220ms ease; }
.gallery-archive-grid a:hover img { transform: scale(1.035); }
.gallery-archive-grid h4 { overflow: hidden; margin: 0; padding: 13px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.gallery-empty { padding: 60px 20px; color: var(--ink-soft); text-align: center; background: var(--white); }
.gallery-case-detail { max-width: 920px; margin: 0 auto; overflow: hidden; background: var(--white); }
.gallery-back { display: inline-flex; margin: 24px 28px 5px; color: var(--accent-dark); font-size: 13px; font-weight: 900; }
.gallery-case-meta { padding: 0 28px 18px; color: #7d8590; font-size: 11px; }
.gallery-case-detail > img { width: 100%; height: auto; max-height: none; object-fit: contain; background: #111620; }
.gallery-case-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 34px 34px; }
.gallery-case-tags span { padding: 6px 9px; border: 1px solid rgba(244, 166, 41, 0.32); border-radius: 3px; color: var(--accent-dark); background: rgba(244, 166, 41, 0.06); font-size: 11px; font-weight: 800; }

@media (max-width: 1040px) {
  .blog-desktop-nav > a,
  .blog-nav-item > a { padding: 0 9px; font-size: 12px; }
  .mag-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; }
  .mag-lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mag-lead-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
  .mag-lead-card img { height: 100%; aspect-ratio: auto; }
}

@media (max-width: 820px) {
  body { padding-top: 68px; }
  .blog-container { width: min(100% - 28px, 720px); }
  .gallery-desktop-quick { display: none; }
  .blog-header-inner { min-height: 68px; }
  .blog-brand img { width: 44px; height: 44px; }
  .blog-desktop-nav { display: none; }
  .gallery-top-nav { display: none; }
  .blog-menu-toggle { display: grid; width: 42px; height: 42px; padding: 10px; align-content: center; gap: 5px; border: 0; border-radius: 4px; background: transparent; }
  .blog-menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 160ms ease, opacity 160ms ease; }
  .blog-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .blog-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .blog-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .blog-mobile-menu { position: fixed; inset: 68px 0 0; z-index: 10000; display: block; overflow-y: auto; padding: 16px 0 34px; background: #11151c; }
  .mobile-category { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .mobile-category > button { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; padding: 0; border: 0; color: #fff; background: transparent; font-weight: 900; }
  .mobile-category > button small { color: #8f98a6; font-size: 11px; }
  .mobile-category-children { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0 0 16px; }
  .mobile-category-children a { display: flex; min-width: 0; min-height: 42px; align-items: center; justify-content: space-between; gap: 5px; padding: 8px 9px; border: 1px solid #303742; border-radius: 4px; color: #dce1e8; background: #1a1f28; font-size: 11px; }
  .mobile-category-children a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-category-children small { color: #8f98a6; font-size: 9px; }
  .mobile-login { display: flex; min-height: 46px; align-items: center; justify-content: center; margin-top: 18px; border: 1px solid var(--accent); border-radius: 4px; color: #ffad38; font-size: 12px; font-weight: 900; }
  .blog-hero { min-height: 320px; padding: 58px 0 48px; background-position: 62% center; }
  .blog-hero h1 { font-size: clamp(34px, 8vw, 50px); }
  .blog-hero.is-detail,
  .gallery-hero.is-detail { min-height: 112px; padding: 28px 0; }
  .blog-hero.is-detail h1,
  .gallery-hero.is-detail h1 { font-size: 20px; }
  .mag-layout { display: block; padding-top: 44px; padding-bottom: 68px; }
  .mag-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
  .blog-ad-slot { min-height: 220px; }
  .gallery-top-nav { gap: 14px; font-size: 11px; }
  .gallery-review-grid,
  .gallery-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .blog-container { width: calc(100% - 24px); }
  .blog-brand strong { font-size: 15px; }
  .blog-brand small { font-size: 10px; }
  .mobile-category-children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-hero { min-height: 300px; padding: 52px 0 42px; }
  .blog-eyebrow { font-size: 10px; }
  .blog-hero h1 { font-size: 34px; }
  .blog-hero > .blog-container > p:last-child { font-size: 13px; line-height: 1.7; }
  .mag-primary > * + * { margin-top: 54px; }
  .mag-section-heading { display: block; margin-bottom: 16px; }
  .mag-section-heading h2 { font-size: 23px; }
  .mag-section-heading > p { margin-top: 8px; text-align: left; }
  .mag-more-link { margin-top: 12px; }
  .mag-lead-grid { grid-template-columns: 1fr; gap: 11px; }
  .mag-lead-card { grid-template-columns: 132px minmax(0, 1fr); height: 132px; min-height: 132px; }
  .mag-lead-card img { width: 132px; height: 132px; aspect-ratio: 1 / 1; object-fit: cover; }
  .mag-lead-card div { height: 132px; overflow: hidden; padding: 10px 12px; }
  .mag-lead-card h2 { min-height: 0; margin: 6px 0; font-size: 15px; }
  .mag-lead-card p { font-size: 11px; -webkit-line-clamp: 2; }
  .mag-external-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mag-external-section.is-home .mag-external-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mag-external-card { display: flex; height: auto; min-height: 0; flex-direction: column; }
  .mag-external-card img { width: 100%; height: auto; min-height: 0; flex: none; aspect-ratio: 4 / 3; object-fit: cover; }
  .mag-external-card > div { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; padding: 8px 7px 6px; }
  .mag-external-card h3 { margin-bottom: 6px; font-size: 12px; }
  .mag-external-card p { margin-bottom: 2px; font-size: 12px; line-height: 1.45; -webkit-line-clamp: 2; }
  .mag-external-card span { padding-top: 6px; font-size: 10px; }
  .mag-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mag-case-section.is-responsive-paged .mag-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mag-case-card h3 { padding: 10px; font-size: 11px; }
  .mag-case-section.is-responsive-paged .mag-case-card h3 { padding: 8px 6px; font-size: 10px; }
  .mag-title-list li > a { grid-template-columns: 26px minmax(0, 1fr) auto; min-height: 36px; padding: 0 8px; gap: 7px; }
  .mag-post-number { font-size: 10px; }
  .mag-post-title { font-size: 12px; }
  .mag-title-list li > a time { font-size: 9px; }
  .mag-list-heading h2 { padding-right: 50px; font-size: 23px; }
  .mag-article { margin-right: -12px; margin-left: -12px; }
  .mag-article-meta { padding: 20px 16px 15px; }
  .mag-article-hero { width: calc(100% - 20px); margin: 0 10px 18px; }
  .mag-article-content { padding: 12px 16px 42px; font-size: 15px; line-height: 1.85; }
  .mag-article-content h2 { font-size: 22px; }
  .mag-article-content h3 { font-size: 18px; }
  .mag-article-categories { padding: 18px; }
  .mag-sidebar { grid-template-columns: 1fr; gap: 34px; }
  .gallery-floating-menu { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .blog-footer .blog-container { grid-template-columns: 1fr; text-align: center; }
  .blog-footer nav { justify-content: center; flex-wrap: wrap; }
  .gallery-top-nav a:nth-child(n + 3) { display: none; }
  .gallery-hero { min-height: 290px; padding: 50px 0 40px; }
  .gallery-hero h1 { font-size: 34px; }
  .blog-hero.is-detail,
  .gallery-hero.is-detail { min-height: 82px; padding: 20px 0; }
  .blog-hero.is-detail .blog-eyebrow,
  .gallery-hero.is-detail .blog-eyebrow { display: none; }
  .blog-hero.is-detail h1,
  .gallery-hero.is-detail h1 { font-size: 20px; line-height: 1.4; }
  .gallery-page { padding-top: 44px; padding-bottom: 68px; }
  .gallery-review-grid,
  .gallery-archive-grid { gap: 10px; }
  .gallery-review-content { padding: 13px 8px; }
  .gallery-review-content h3 { font-size: 13px; }
  .gallery-review-content p { font-size: 12px; -webkit-line-clamp: 5; }
  .gallery-review-author { font-size: 11px; }
  .gallery-archive-grid h4 { padding: 10px; font-size: 11px; }
  .gallery-case-tags { gap: 6px; padding: 0 16px 26px; }
  .gallery-case-tags span { padding: 5px 7px; font-size: 10px; }
}

@media (min-width: 821px) {
  .gallery-floating-menu { display: none; }
}

