:root{--atec-ref-text:#17202a;--atec-ref-muted:#68717d;--atec-ref-line:#e6e9ed;--atec-ref-soft:#f6f7f9;--atec-ref-accent:#c6004d;--atec-ref-dark:#11151b}
.atec-reference-wrap,.atec-ref-section,.atec-ref-archive{color:var(--atec-ref-text)}
.atec-ref-section{margin:72px 0}.atec-ref-section-head{margin-bottom:26px}.atec-ref-section-head span{display:block;margin-bottom:8px;color:var(--atec-ref-accent);font-size:12px;font-weight:800;letter-spacing:.14em}.atec-ref-section-head h2{margin:0;line-height:1.2;letter-spacing:-.02em}
.atec-ref-hero{position:relative;min-height:clamp(460px,62vw,720px);margin-bottom:72px;overflow:hidden;border-radius:24px;background:var(--atec-ref-dark);color:#fff;isolation:isolate}.atec-ref-hero-bg,.atec-ref-hero-overlay{position:absolute;inset:0}.atec-ref-hero-bg{z-index:-2;background-position:center;background-size:cover}.atec-ref-hero-overlay{z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.28) 60%,rgba(0,0,0,.06)),linear-gradient(0deg,rgba(0,0,0,.45),transparent 60%)}.atec-ref-hero-inner{position:absolute;right:clamp(24px,6vw,72px);bottom:clamp(30px,7vw,78px);left:clamp(24px,6vw,72px);max-width:900px}.atec-ref-kicker{margin-bottom:15px;color:rgba(255,255,255,.78);font-size:13px;font-weight:800;letter-spacing:.15em}.atec-ref-hero h1{margin:0;color:#fff;letter-spacing:0}.atec-ref-hero-tags,.atec-ref-tags{display:flex;flex-wrap:wrap;gap:8px}.atec-ref-hero-tags{margin-top:26px}.atec-ref-hero-tags span,.atec-ref-tags span{padding:8px 13px;border-radius:999px;font-size:13px;font-weight:700}.atec-ref-hero-tags span{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.atec-ref-data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.atec-ref-data-card{min-height:118px;padding:22px;border:1px solid var(--atec-ref-line);border-radius:18px;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.04)}.atec-ref-data-card span{display:block;margin-bottom:13px;color:var(--atec-ref-muted);font-size:12px;font-weight:800;letter-spacing:.08em}.atec-ref-data-card strong{display:block;font-size:17px;line-height:1.5;word-break:keep-all}.atec-ref-scope-box{margin-top:18px;padding:24px;border-radius:18px;background:var(--atec-ref-soft)}.atec-ref-scope-box h3{margin:0 0 14px;font-size:15px}.atec-ref-tags span{border:1px solid var(--atec-ref-line);background:#fff}

.atec-ref-summary{margin-top:-34px}.atec-ref-summary-inner{padding:32px 36px;border-left:4px solid var(--atec-ref-accent);border-radius:0 18px 18px 0;background:var(--atec-ref-soft)}.atec-ref-summary h2{margin:0 0 15px;font-size:clamp(22px,2.3vw,32px);line-height:1.35;letter-spacing:-.035em;word-break:keep-all}.atec-ref-summary-content{color:#3f4853;font-size:16px;line-height:1.85;letter-spacing:-.015em}.atec-ref-summary-content p{margin:0}.atec-ref-summary-content p+p{margin-top:12px}
.atec-ref-gallery-grid{display:grid;grid-template-columns:repeat(var(--atec-gallery-columns,3),minmax(0,1fr));grid-auto-flow:dense;gap:14px}.atec-ref-gallery-grid a{position:relative;display:block;overflow:hidden;border-radius:18px;background:#edf0f2}.atec-ref-gallery-grid a.is-featured{grid-column:span 2;grid-row:span 2}.atec-ref-gallery-grid img{display:block;width:100%;height:100%;min-height:230px;aspect-ratio:4/3;object-fit:cover;transition:transform .35s ease,filter .35s ease}.atec-ref-gallery-grid a.is-featured img{min-height:474px}.atec-ref-gallery-grid a:hover img{transform:scale(1.035);filter:brightness(.92)}
.atec-ref-spec-details{overflow:hidden;border:1px solid var(--atec-ref-line);border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.05)}.atec-ref-spec-details summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 32px;cursor:pointer;list-style:none}.atec-ref-spec-details summary::-webkit-details-marker{display:none}.atec-ref-spec-details summary em{display:block;margin-bottom:7px;color:var(--atec-ref-accent);font-size:12px;font-style:normal;font-weight:800;letter-spacing:.13em}.atec-ref-spec-details summary h2{letter-spacing:-.04em; margin-bottom: 0;}.atec-ref-spec-details summary b{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:var(--atec-ref-soft);font-size:25px;transition:transform .25s}.atec-ref-spec-details[open] summary b{transform:rotate(45deg)}.atec-ref-spec-sections{display:grid;gap:18px;padding:0 32px 32px}.atec-ref-spec-block{padding:24px;border:1px solid var(--atec-ref-line);border-radius:18px;background:#fafbfc}.atec-ref-spec-block h3{margin:0 0 16px;padding-bottom:13px;border-bottom:1px solid var(--atec-ref-line);font-size:19px}.atec-ref-spec-block dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0}.atec-ref-spec-block dl div{display:grid;grid-template-columns:145px 1fr;gap:14px;padding:10px 0}.atec-ref-spec-block dt{color:var(--atec-ref-muted);font-size:13px;font-weight:700}.atec-ref-spec-block dd{margin:0;font-size:14px;font-weight:700;line-height:1.5;word-break:keep-all}
.atec-related-grid,.atec-ref-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.atec-related-card,.atec-ref-archive-card{overflow:hidden;border:1px solid var(--atec-ref-line);border-radius:20px;background:#fff;transition:transform .25s,box-shadow .25s}.atec-related-card,.atec-ref-archive-card a{color:inherit;text-decoration:none}.atec-related-card:hover,.atec-ref-archive-card:hover{transform:translateY(-5px);box-shadow:0 18px 36px rgba(15,23,42,.1)}.atec-related-thumb,.atec-ref-archive-thumb{display:grid;aspect-ratio:16/10;place-items:center;background:var(--atec-ref-soft);color:var(--atec-ref-muted);font-weight:800}.atec-related-thumb img,.atec-ref-archive-thumb img{width:100%;height:100%;object-fit:cover; aspect-ratio:2/1;}.atec-related-body,.atec-ref-archive-body{padding:21px}.atec-related-body>span,.atec-ref-archive-type{display:inline-block;margin-bottom:9px;color:var(--atec-ref-accent);font-size:12px;font-weight:800}.atec-related-body strong,.atec-ref-archive-body h3{display:block;margin:0;font-size:19px;line-height:1.4;letter-spacing:-.025em}.atec-ref-archive{margin:60px 0}.atec-ref-archive-meta{display:flex;gap:10px;margin:14px 0 18px;color:var(--atec-ref-muted);font-size:13px}.atec-ref-archive-meta span+span:before{content:'·';margin-right:10px}.atec-ref-archive-more{font-size:13px;font-weight:800}.atec-ref-pagination{display:flex;justify-content:center;gap:7px;margin-top:36px}.atec-ref-pagination .page-numbers{display:grid;min-width:38px;height:38px;padding:0 10px;place-items:center;border:1px solid var(--atec-ref-line);border-radius:9px;text-decoration:none}.atec-ref-pagination .current{background:var(--atec-ref-dark);color:#fff}
.atec-lightbox-open{overflow:hidden}.atec-lightbox-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:30px;background:rgba(0,0,0,.92)}.atec-lightbox-overlay img{max-width:94vw;max-height:90vh;object-fit:contain}.atec-lightbox-close{position:fixed;top:18px;right:22px;border:0;background:transparent;color:#fff;font-size:42px;line-height:1;cursor:pointer}
@media(max-width:1024px){.atec-ref-data-grid,.atec-related-grid,.atec-ref-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.atec-ref-summary{margin-top:-34px}.atec-ref-summary-inner{padding:32px 36px;border-left:4px solid var(--atec-ref-accent);border-radius:0 18px 18px 0;background:var(--atec-ref-soft)}.atec-ref-summary h2{margin:0 0 15px;font-size:clamp(22px,2.3vw,32px);line-height:1.35;letter-spacing:-.035em;word-break:keep-all}.atec-ref-summary-content{color:#3f4853;font-size:16px;line-height:1.85;letter-spacing:-.015em}.atec-ref-summary-content p{margin:0}.atec-ref-summary-content p+p{margin-top:12px}
.atec-ref-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.atec-ref-spec-block dl{grid-template-columns:1fr}}
@media(max-width:700px){.atec-ref-section{margin:52px 0}.atec-ref-hero{min-height:520px;margin-bottom:52px;border-radius:18px}
/* .atec-ref-data-grid,.atec-related-grid,.atec-ref-archive-grid,.atec-ref-summary-inner{padding:32px 36px;border-left:4px solid var(--atec-ref-accent);border-radius:0 18px 18px 0;background:var(--atec-ref-soft)} */
.atec-ref-summary h2{margin:0 0 15px;font-size:clamp(22px,2.3vw,32px);line-height:1.35;letter-spacing:-.035em;word-break:keep-all}.atec-ref-summary-content{color:#3f4853;font-size:16px;line-height:1.85;letter-spacing:-.015em}.atec-ref-summary-content p{margin:0}.atec-ref-summary-content p+p{margin-top:12px}
.atec-ref-gallery-grid{grid-template-columns:1fr}.atec-ref-gallery-grid a.is-featured{grid-column:auto;grid-row:auto}.atec-ref-gallery-grid a.is-featured img,.atec-ref-gallery-grid img{min-height:auto;aspect-ratio:4/3}.atec-ref-spec-details summary{padding:24px 20px}.atec-ref-spec-sections{padding:0 20px 20px}.atec-ref-spec-block{padding:19px}.atec-ref-spec-block dl div{grid-template-columns:110px 1fr}
.atec-ref-data-grid, .atec-related-grid, .atec-ref-archive-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:700px){.atec-ref-summary{margin-top:-20px}.atec-ref-summary-inner{padding:24px 22px}.atec-ref-summary-content{font-size:15px;line-height:1.8}}

/* =========================================
   Reference Archive Thumbnail
   이미지 비율 4:3
========================================= */

.atec-ref-archive-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef0f3;
}

.atec-ref-archive-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.atec-ref-archive-card:hover .atec-ref-archive-thumb img {
    transform: scale(1.04);
}

/* 이미지가 없을 때 */
.atec-ref-archive-thumb > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    color: #8b93a1;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================
   Reference Pagination
========================================= */

.atec-ref-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.atec-ref-pagination .page-numbers {
    margin: 0;
    padding: 0;
    list-style: none;
}

.atec-ref-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.atec-ref-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.atec-ref-pagination ul.page-numbers li::before,
.atec-ref-pagination ul.page-numbers li::marker {
    display: none;
    content: none;
}

.atec-ref-pagination a.page-numbers,
.atec-ref-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.atec-ref-pagination a.page-numbers:hover {
    border-color: #111827;
    background: #f8fafc;
    color: #111827;
    transform: translateY(-2px);
}

.atec-ref-pagination span.page-numbers.current {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.atec-ref-pagination a.prev.page-numbers,
.atec-ref-pagination a.next.page-numbers {
    width: auto;
    min-width: 66px;
    padding: 0 16px;
}

/* 점 3개 페이지 표시 */
.atec-ref-pagination span.dots {
    border-color: transparent;
    background: transparent;
    min-width: 32px;
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 640px) {
    .atec-ref-pagination {
        margin-top: 36px;
    }

    .atec-ref-pagination ul.page-numbers {
        gap: 6px;
    }

    .atec-ref-pagination a.page-numbers,
    .atec-ref-pagination span.page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 13px;
    }

    .atec-ref-pagination a.prev.page-numbers,
    .atec-ref-pagination a.next.page-numbers {
        min-width: 58px;
        padding: 0 12px;
    }
}