/* ==========================================================================
   상림소프트 ABOUT (theme/basic/css/about.css)
   - 클래스는 .ab- 접두사, 색상은 main.css 의 :root 변수(--sr-*) 사용
   - 글꼴·그림자·장식 테두리 없음 (구분은 배경색으로)
   ========================================================================== */

.sr-gnb__list a[aria-current="page"] { color: var(--sr-lime); }

.ab :where(ul, ol, p, h1, h2, h3, strong) { margin: 0; padding: 0; }
.ab :where(ul, ol) { list-style: none; }

.ab-wrap { max-width: var(--sr-inner); margin: 0 auto; padding-left: var(--sr-gutter); padding-right: var(--sr-gutter); box-sizing: border-box; }

/* ---------- 타이틀 ---------- */
.ab-title { padding-top: 80px; padding-bottom: 48px; text-align: center; background: var(--sr-white); }
.ab-title__text { margin-top: 8px; font-size: 96px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; }
.ab-title__text span { color: var(--sr-green); }
.ab-title__sub { margin-top: 16px; font-size: 16px; color: var(--sr-muted); }
.ab { background: var(--sr-white); }

/* ---------- 슬라이드 ---------- */
.ab-slider { position: relative; aspect-ratio: 1170 / 382; min-height: 260px; overflow: hidden; background: var(--sr-dark); }
.ab-slides { position: absolute; inset: 0; }
.ab-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.ab-slide.is-active { opacity: 1; visibility: visible; }
.ab-tone-0 { background: var(--sr-dark-2); }
.ab-tone-1 { background: #1E4A2C; }
.ab-tone-2 { background: #12281C; }
.ab-tone-3 { background: #2B5A2A; }
.ab-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-slide__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 24, 16, 0.7), rgba(8, 24, 16, 0.15) 70%); }
.ab-slide__text { position: absolute; left: 96px; right: 96px; top: 50%; transform: translateY(-50%); color: #FFFFFF; text-align: left; }
.ab-slide__tit { display: block; font-size: 60px; font-weight: 800; line-height: 1.1; letter-spacing: 0.2em; color: var(--sr-lime); overflow-wrap: anywhere; }
.ab-slide__sub { display: block; margin-top: 14px; font-size: 18px; letter-spacing: 0.04em; line-height: 1.5; max-width: 640px; }

.ab-arrow { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; background: rgba(14, 31, 23, 0.55); color: #FFFFFF; cursor: pointer; }
.ab-arrow:hover, .ab-arrow:focus-visible { background: var(--sr-lime); color: var(--sr-dark); }
.ab-arrow--prev { left: 16px; }
.ab-arrow--next { right: 16px; }
.ab-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 0; }
.ab-dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ab-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 4px; margin: -2px 0 0 -12px; background: rgba(255, 255, 255, 0.5); }
.ab-dot.is-active::before { background: var(--sr-lime); }

/* ---------- 소개 ---------- */
.ab-intro { padding-top: 88px; padding-bottom: 96px; text-align: center; }
.ab-intro__en { max-width: 760px; margin: 0 auto; font-size: 20px; font-weight: 800; line-height: 1.5; letter-spacing: 0.02em; color: var(--sr-green); text-transform: uppercase; }
.ab-intro__head { margin-top: 32px; font-size: 32px; font-weight: 800; line-height: 1.5; letter-spacing: -0.01em; }
.ab-intro__head span { display: block; }
.ab-intro__text { max-width: 860px; margin: 32px auto 0; font-size: 16px; line-height: 1.9; color: var(--sr-muted); }
.ab-intro__text p + p { margin-top: 8px; }
.ab-intro__logo { height: 56px; width: auto; margin: 48px auto 0; }

/* ---------- BUSINESS AREA ---------- */
.ab-area { padding: 96px 0; background: var(--sr-dark-2); color: var(--sr-light); }
.ab-area__title, .ab-his__title { margin-top: 12px; font-size: 44px; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
.ab-area__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.ab-area__item { padding: 32px 28px; background: var(--sr-dark); }
.ab-area__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sr-lime); color: var(--sr-dark); }
.ab-area__name { margin-top: 24px; font-size: 22px; font-weight: 800; }
.ab-area__bar { display: block; width: 24px; height: 3px; margin: 16px 0 12px; background: var(--sr-lime); }
.ab-area__list li { padding: 4px 0; font-size: 15px; line-height: 1.6; color: var(--sr-soft); overflow-wrap: anywhere; }

/* ---------- HISTORY ---------- */
.ab-his { padding: 96px 0 112px; background: var(--sr-dark-3); color: var(--sr-light); text-align: center; }
.ab-his__list { position: relative; margin-top: 56px; text-align: left; }
.ab-his__list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(164, 226, 58, 0.35); }
.ab-his__item { position: relative; width: calc(50% - 40px); padding-bottom: 40px; }
.ab-his__item:last-child { padding-bottom: 0; }
.ab-his__item:nth-child(odd) { margin-right: auto; text-align: right; }
.ab-his__item:nth-child(even) { margin-left: auto; }
.ab-his__item::after { content: ""; position: absolute; top: 10px; width: 12px; height: 12px; background: var(--sr-lime); }
.ab-his__item:nth-child(odd)::after { right: -46px; }
.ab-his__item:nth-child(even)::after { left: -46px; }
.ab-his__year { display: block; font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--sr-lime); }
.ab-his__events { margin-top: 12px; }
.ab-his__events li { padding: 4px 0; font-size: 15px; line-height: 1.6; color: var(--sr-light); overflow-wrap: anywhere; }
.ab-his__mon { display: inline-block; min-width: 28px; margin: 0 10px; font-weight: 800; color: var(--sr-soft-2); }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
    .ab-area__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .ab-title { padding-top: 48px; padding-bottom: 32px; }
    .ab-title__text { font-size: 56px; }
    .ab-title__sub { font-size: 14px; }

    .ab-slider { aspect-ratio: auto; height: 300px; }
    .ab-slide__text { left: 24px; right: 24px; }
    .ab-slide__tit { font-size: 30px; letter-spacing: 0.12em; }
    .ab-slide__sub { font-size: 14px; margin-top: 10px; }
    .ab-arrow { display: none; }

    .ab-intro { padding-top: 56px; padding-bottom: 64px; }
    .ab-intro__en { font-size: 15px; }
    .ab-intro__head { margin-top: 24px; font-size: 22px; }
    .ab-intro__text { font-size: 15px; text-align: left; }
    .ab-intro__logo { height: 44px; margin-top: 36px; }

    .ab-area { padding: 64px 0; }
    .ab-area__title, .ab-his__title { font-size: 30px; }
    .ab-area__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
    .ab-area__item { padding: 24px; }

    .ab-his { padding: 64px 0 72px; }
    .ab-his__list { margin-top: 32px; }
    .ab-his__list::before { left: 6px; margin-left: 0; }
    .ab-his__item { width: auto; margin: 0 !important; padding-left: 36px; padding-bottom: 32px; text-align: left !important; }
    .ab-his__item::after { left: 0 !important; right: auto !important; top: 8px; }
    .ab-his__year { font-size: 24px; }
    .ab-his__mon { margin: 0 10px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-slide { transition: none; }
}
