@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;400;600;700;800&display=swap");


/* ----- Hero ----- */
.gafh-hero { position: relative; min-height: 36rem; max-height: 64rem; height: min(64rem, 56vw); display: flex; align-items: center; overflow: hidden; }
.gafh-hero__bg { position: absolute; inset: 0; }
.gafh-hero__bg img { width: 100%; height: 100%; object-fit: cover; }

.gafh-register { position: relative; margin: 5rem auto;}
.gafh-register .inner { display: flex; justify-content: center;}
.gafh-register__bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.2rem 2.2rem; width: 100%; max-width: 128rem; padding: 3.8rem 3rem; background: #fff; border: 1rem solid var(--key-color); }
.gafh-register__icon { width: 4.4rem; height: auto; flex-shrink: 0; }
.gafh-register__text { font-weight: 800; font-size: var(--fs-36); color: var(--key-color); }
.gafh-register__text-en { font-family: "Montserrat", sans-serif; font-weight: 200; font-size: var(--fs-32); margin-left: 1.3rem; }

.gafh-register__go { display: inline-flex; align-items: center; gap: 1rem; margin-left: 3rem; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: var(--fs-24); color: var(--key-color);}
.gafh-register__go:hover .gafh-register__go-circle-wrap::before { transform: translate(-25%,-50%); }
.gafh-register__go:hover .gafh-register__go-circle::after { transform: translate(-25%,-50%); }
.gafh-register__go-circle-wrap { position: relative; margin-left: 3.6rem; }
.gafh-register__go-circle-wrap::before { content: ""; position: absolute; top:50%; left:0; transform: translate(-50%,-50%); width: 5.4rem; aspect-ratio: 54/17; background: url('/resources/img/main/go_arw_b.svg') no-repeat center center / contain; transition: 0.3s; }
.gafh-register__go-circle { position: relative; display: block; width: 5.3rem; aspect-ratio: 1/1; border-radius: 50%; background: var(--key-color); color: #fff; overflow: hidden; }
.gafh-register__go-circle::after { content: ""; position: absolute; top:50%; left:0; transform: translate(-50%,-50%); width: 5.4rem; aspect-ratio: 54/17; background: url('/resources/img/main/go_arw_w.svg') no-repeat center center / contain; transition: 0.3s; }

.gafh-section__head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 3rem; flex-wrap: wrap; }
.gafh-section__head::before { content: ''; position: absolute; bottom:0; left:50%; transform: translateX(-50%); width: 100vw; height: 1px; background: black; }
.gafh-section__title .thin { font-weight: 100; }
.gafh-section__title .ko { font-weight: 800; font-size: var(--fs-20); display: block; margin-bottom: 0.3rem; }
.gafh-section__title .en { display: block; font-weight: 600; font-size: var(--fs-52); line-height: 1.15; }

.gafh-more { font-weight: 700; font-size: 14px; color: var(--key-color); position: relative; padding-bottom: 1.1rem; }
.gafh-more::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0.4rem; background: var(--key-color); transition: .3s; }
.gafh-more:hover::after { transform: translateY(-100%); }

/* ----- Keynote speakers ----- */
.gafh-keynote { position: relative; padding-bottom: 8rem; }
.gafh-speakers { margin-top: 5.2rem; border-left: 1px solid black; }
.gafh-speakers > a { position: relative; transition: .3s; }
.gafh-speakers > a:hover { background: #f6f8ff; }
.gafh-speakers > a::before { content: ''; position: absolute; bottom:0; left:0; width: 3rem; aspect-ratio: 1/1; background: white; z-index: 1; transition: .3s; }
.gafh-speakers > a::after { content: ''; position: absolute; bottom:0; right:1px; width: 3rem; aspect-ratio: 1/1; background: white; z-index: 1;transition: .3s; }
.gafh-speakers > a:hover::before { background: #f6f8ff; }
.gafh-speakers > a:hover::after { background: #f6f8ff; }
.gafh-speaker { position: relative; padding:0 3rem 3rem; border-right: 1px solid black; border-bottom: 1px solid black; }
.gafh-speaker__keynote { position: absolute; right:3.2rem; top:0; color:var(--sub-color); font-weight: 700; transform-origin: left top; transform: translateX(100%) rotate(90deg); }
.gafh-speaker__visual { position: relative; display: inline-block; margin-bottom: 1.8rem; width: 78%; aspect-ratio: 20 / 27; }
.gafh-speaker__photo { width: 100%; height:100%; object-fit: cover; display: block; }
.gafh-speaker__name-ko { font-weight: 800; font-size: var(--fs-20); margin-bottom: 0.7rem; line-height: 1.3; }
.gafh-speaker__name-en { font-size: var(--fs-16); margin-bottom: 1rem; line-height: 1.3; }
.gafh-keynote .swiper-control { position: absolute; left: 50%; top:60%; transform: translate(-50%, -50%); width: calc(100% + 10rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gafh-keynote .swiper-control .swiper-button-prev { position: initial; }
.gafh-keynote .swiper-control .swiper-button-next { position: initial; }


/* ----- Live ----- */
.gafh-live { padding-bottom: 7rem; }
.gafh-live__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.gafh-live__media { position: relative; padding-right: 3.2rem; border-right: 1px solid black; aspect-ratio: 608/342; }
.gafh-live__media img { width: 100%; height: 100%; object-fit: cover; min-height: 28rem; }

.gafh-live__body { padding: 3rem 3.2rem; display: flex; flex-direction: column; justify-content: center; }
.gafh-live__brand { font-weight: 600; font-size: var(--fs-52); margin-bottom: 1.6rem; }
.gafh-live__brand .thin { font-weight: 100; }
.gafh-live__headline { font-weight: 800; font-size: var(--fs-42); color: var(--key-color); margin-bottom: .8rem; }
.gafh-live__sub { font-size: var(--fs-18); margin-bottom: 4rem; }
.gafh-live__time { font-size: var(--fs-16); }
.gafh-live__time strong { font-weight: 800; margin-right: 0.8rem; }

/* ----- Notice & links ----- */
.gafh-bottom { padding-bottom: 10rem; }
.gafh-bottom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: start; }
.gafh-notice__head { display: flex; height: 5.2rem; align-items: start; justify-content: space-between; }
.gafh-notice__title { font-weight: 600; font-size: var(--fs-32); }
.gafh-notice__cards { display: grid; grid-template-columns: 1fr 1fr; min-height: 26rem; gap: 0; border: 1px solid #000; background: #fff; }
.gafh-notice__cards a { position: relative; display: block; width: 100%; height: 100%; padding: 4rem 2.8rem; }
.gafh-notice__cards a::before { content: ''; position: absolute; top:50%; right:0; transform: translateY(-50%); width: 1px; height: 70%; background: #000; z-index: 1; }
.gafh-notice__cards a:last-child::before { display: none; }

.gafh-notice__date { font-family: "Montserrat", sans-serif; font-size: var(--fs-16); margin-bottom: 1rem; }
.gafh-notice__tit { font-weight: 800; font-size: var(--fs-20); line-height: 1.4; margin-bottom: 1.2rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gafh-notice__desc { font-weight: 500; font-size: var(--fs-16); line-height: 1.6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.gafh-links { margin-top: 5.2rem; display: flex; flex-direction: column; gap: 0; }
.gafh-linkbox { display: flex; align-items: center; gap: 2.4rem; padding: 3rem 5rem; border: 1px solid #000; border-bottom: 0; background: #fff; min-height: 13rem; transition: background 0.2s; }
.gafh-linkbox:hover { background: #f6f8ff; }
.gafh-linkbox:last-child { border-bottom: 1px solid #000; }

.gafh-linkbox__icon { width: 4.2rem; flex-shrink: 0; }
.gafh-linkbox__text .en { font-size: var(--fs-16); margin-bottom: 1rem; }
.gafh-linkbox__text .ko { font-weight: 800; font-size: var(--fs-20); line-height: 1.4; }
.gafh-linkbox__text { flex:1; }
.gafh-linkbox__arrow { width: 3.1rem; aspect-ratio: 31/8; flex-shrink: 0; padding: 0.3rem; background: url('/resources/img/main/ico_arw.svg') no-repeat center center / contain; }


/* 팝업 배경 - 처음에는 숨김 처리 */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999; justify-content: center; align-items: center;}
.modal-content { position: relative; padding:3rem; background: #fff; border-radius: 10px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); width: 90%;  max-width: 800px; }
.modal-close { width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: bold; cursor: pointer; border: none; background: none; border-radius: 8px; transition: .3s;}
.modal-close:hover { background: #f6f8ff; }

.modal-content #modalBody { max-height: 80vh; overflow-y: auto; }
.modal-content table :where(th, td) { border:1px solid black; padding: 2rem; line-height: 1.4; }

.spk-modal { --spk-muted: #6b7280; --spk-shadow: 0 12px 30px rgba(0,0,0,.14); --spk-accent: #0ea5e9; }
.spk-modal .modal-content__head { position: sticky; top:0; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 1rem; }
.spk-modal .modal-content__title { margin: 0; font-size: var(--fs-20); line-height: 1.35; letter-spacing: -0.02em; }

.spk-modal .modal-content__lang { position: absolute; right:1rem; top:0; transform: translateY(-50%); display: inline-flex; border-bottom: 0; border:1px solid; background: white; }
.spk-modal .modal-content__lang-btn { width: 60px; appearance: none; border: 0; background: transparent; color:#6b7280; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; padding: 8px 12px; cursor: pointer; user-select: none; transition: .15s ease;}
.spk-modal .modal-content__lang-btn:hover { color: black; }
.spk-modal .modal-content__lang-btn.is-active { color: white; background: black; }

.spk-modal table { width: 100%; border-collapse: collapse; }
.spk-modal td, .spk-modal th { padding: 0; text-align: left; }

.spk-modal .spk-hero { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 10px; align-items: start; border-top:1px solid; padding-top: 2rem; margin-top: 1rem; }

.spk-modal .spk-portrait { width: 100%; }
.spk-modal .spk-section { padding: 14px 14px 3rem; background: rgba(255, 255, 255, 0.7); }
.spk-modal .spk-meta { color: var(--spk-muted); font-size: 15px; line-height: 1.55; margin: 0 0 10px; white-space: normal;	}
.spk-modal .spk-body { font-size: 15px; line-height: 1.75; margin: 0;	}
.spk-modal .spk-body a { color: #0369a1; text-decoration: underline; }
.spk-modal .spk-body a:hover { color: #075985; }
.spk-modal .spk-lang-panel { display: none; }
.spk-modal .spk-lang-panel.is-active { display: block; }


@media screen and (max-width: 1420px) { 
    .gafh-speakers { width: calc(100% - 10rem); margin:5.2rem auto; }
    .gafh-keynote .swiper-control { width: 100%; }
}
@media screen and (max-width: 1024px) { 
    .gafh-live__grid { display: block; }
    .gafh-live__media { padding-right: 0; border-right: 0; }
    .gafh-live__body { padding-left: 0; border-top:1px solid #6b7280; margin-top: 3rem; }
    .gafh-bottom__grid { grid-template-columns: 1fr; gap:4rem; }
    .gafh-links { margin-top: 0; }
    .gafh-linkbox { padding: 2rem 3rem; }
}

@media screen and (max-width: 768px) { 
    .gafh-register__bar { border:3px solid var(--key-color); padding: 3rem 1rem; gap:1rem 1rem; }
    .gafh-register__text { font-size: 20px; }
    .gafh-register__text-en { font-size: 18px; margin-left: 0.5rem; }
    .gafh-notice__cards { grid-template-columns: 1fr; }
    .gafh-notice__cards a::before { top:auto; bottom:0; right:50%; transform: translateX(50%); width: 90%; height: 1px; }

    .gafh-speaker { padding:0 1.5rem 1.5rem; }
}

@media (max-width: 640px) {
    .modal-content { padding: 2rem; }
    .spk-modal .spk-hero { grid-template-columns: 1fr; }
    .spk-modal .spk-portrait { width: 100%; max-width: 260px; }
}

/* ----- Sub: About (포럼 소개) ----- */
.contents:has(.gafh-about) { overflow: initial; }
.gafh-about__frame { border-left: 1px solid black; border-right: 1px solid black; padding: 0 8.6rem 4rem;  }
.gafh-about__grid { display: grid; grid-template-columns: .9fr 1fr; gap: 4rem 6rem; align-items: start; padding: 5rem 0; border-top: 1px solid black; border-bottom: 1px solid black; }
.gafh-about__col--body { display: flex; flex-direction: column; gap: 6rem; }
.gafh-about__col--lead { position: sticky; top:12rem; background: white; }
.gafh-about__lead-ko { font-size: var(--fs-32); font-weight: 400; line-height: 1.6; margin: 0 0 4rem; }
.gafh-about__lead-en { font-size: var(--fs-18); line-height: 1.6; }
.gafh-about__body-ko p,
.gafh-about__body-en p { font-size: var(--fs-16); line-height: 1.6; }
.gafh-about__body-ko p + p,
.gafh-about__body-en p + p { margin-top: 2rem; }

@media screen and (max-width: 1024px) { 
    .gafh-about__grid { grid-template-columns: 1fr; }
    .gafh-about__frame { padding: 0 6rem; }
    .gafh-about__col--lead { position: static; }
}

@media screen and (max-width: 768px) {
    .gafh-about__frame { padding: 0 3rem; }
}
