

/* ---- pt type scale (fluid, clamp-based) ----
   min/max reference the 375px / 1440px viewport. Use on new pt_* components;
   legacy gnuboard rules keep fixed px to avoid regressions. */
:root{
  /* every step is a multiple of 4px (12/16/20/24/28/32/.../64) — mobile values here,
     desktop steps up one row via the media query below, never an in-between value */
  --pt-fs-hero: 32px;   /* -> 64px desktop */
  --pt-fs-h2:   28px;   /* -> 32px desktop */
  --pt-fs-h3:   20px;   /* -> 24px desktop */
  --pt-fs-lead: 20px;   /* -> 20px desktop (unchanged) */
  --pt-fs-body: 16px;   /* -> 16px desktop (unchanged) */
  --pt-fs-small:12px;
  --pt-fs-xs:   12px;
}
@media (min-width: 768px){
  :root{
    --pt-fs-hero: 64px;
    --pt-fs-h2:   32px;
    --pt-fs-h3:   24px;
  }
}

.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.question_box > h3 > u {
	font-size:18px;
}

.question_box > h4 {
	font-family: 'Noto_bold'; font-size: 16px; line-height: 28px;
}

.answer-item {
	font-size:16px;
	cursor: pointer;
}

.answer-item span {
	margin-left:10px;
	font-size:16px;
	cursor:hand;
}

.answer-view .answer-item.choice:after {content: ''; display: inline-block; width: 32px; height: 32px; background: url('/images/icon_check.png') no-repeat; background-size: cover; position: absolute; left: 20px; top: -12px;}
.answer-view .answer-item.choice span:not(.align-top) {background: #bed9fd;}

.mock_test ul li {margin-bottom:20px;}

.all_lecture_list li a {margin:5px; width:80px;}

body > div.pad_t_150.pad_b_150 > div > nav {margin-top:20px;}

/* language switcher (2026-08 i18n) */
.lang_switch{font-size:13px;white-space:nowrap}
.lang_switch a{color:#666;text-decoration:none}
.lang_switch a:hover{text-decoration:underline}
.lang_switch .on{color:#c8102e;font-weight:700}
.lang_switch .sep{color:#bbb;margin:0 2px}
.top_part .lang_li{float:right;margin-left:14px;line-height:inherit}
.head_member .lang_li{display:inline-block;padding:0 10px}
/* .head_member has a solid red background (mobile menu + PC top bar);
   .lang_switch .on's red text is unreadable there — force white in that context */
.head_member .lang_switch .on{color:#fff}
.head_member .lang_switch a{color:#fff}
.head_member .lang_switch .sep{color:rgba(255,255,255,.5)}
.policy_menu .lang_li{float:right}

/* about page hero text (en, replaces Korean text PNG) */
.intro_hero_text{color:#fff;text-align:center;width:90%;max-width:640px}
.intro_hero_text h1{font-family:'GmarketSans_B',sans-serif;font-size:64px;line-height:1.1;margin:0;letter-spacing:-1px}
.intro_hero_text .tagline{font-size:26px;letter-spacing:6px;opacity:.85;margin:12px 0 0;font-weight:300}
.intro_hero_text hr{width:90px;border:0;border-top:2px solid #fff;margin:28px auto}
.intro_hero_text .desc{font-size:20px;line-height:1.6;margin:0}
@media (max-width:720px){.intro_hero_text h1{font-size:40px}.intro_hero_text .tagline{font-size:18px;letter-spacing:3px}.intro_hero_text .desc{font-size:15px}}

/* renewal: free questions / CTA / buttons */
.pt_btn{display:inline-block;padding:14px 28px;border-radius:6px;font-size:16px;font-weight:700;text-decoration:none;margin:6px 4px;transition:.15s}
.pt_btn_primary{background:#c8102e;color:#fff}
.pt_btn_primary:hover{background:#a50d26;color:#fff;text-decoration:none}
.pt_btn_ghost{background:#fff;color:#333;border:2px solid #ddd}
.pt_btn_ghost:hover{border-color:#c8102e;color:#c8102e;text-decoration:none}
.pt_free_intro{font-size:16px;color:#555;margin:0 0 24px}
.pt_cta_box{margin-top:60px;padding:40px 24px;background:#f7f7f7;border-radius:10px;text-align:center}
.pt_cta_box h3{font-size:24px;margin-bottom:12px}
.pt_cta_box p{font-size:16px;color:#555;margin-bottom:22px}
.pt_explain{margin-top:24px;padding:18px 20px;background:#fff8e6;border-left:4px solid #f0b429;border-radius:4px}
.pt_explain h6{font-weight:700;margin-bottom:8px;color:#8a6d00}
.answer-item.pt_correct>span:first-child{color:#c8102e;font-weight:700}

/* renewal: homepage sections */
.pt_sec{padding:70px 0}
.pt_h2{font-family:'Noto_bold',sans-serif;font-size:32px;text-align:center;margin-bottom:16px}
.pt_sub{text-align:center;color:#666;font-size:16px;margin-bottom:36px}
.pt_hero{position:relative;padding:110px 0 90px;color:#fff;overflow:hidden}
.pt_hero_bg{position:absolute;inset:0;background:url('/images/main_slide_1.jpg') center/cover no-repeat}
.pt_hero_bg:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,20,30,.82) 0%,rgba(20,20,30,.55) 60%,rgba(20,20,30,.3) 100%)}
.pt_hero_inner{position:relative;z-index:2;max-width:760px}
.pt_kicker{font-size:14px;letter-spacing:2px;text-transform:uppercase;opacity:.85;margin-bottom:14px}
.pt_hero h1{font-family:'GmarketSans_B',sans-serif;font-size:46px;line-height:1.25;margin:0 0 18px}
.pt_hero h1 span{color:#ffb3b3}
.pt_lead{font-size:18px;line-height:1.6;opacity:.95;margin-bottom:28px}
.pt_hero .pt_btn_ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.pt_hero .pt_btn_ghost:hover{background:#fff;color:#c8102e;border-color:#fff}
.pt_steps{list-style:none;padding:0;margin:0;display:flex;gap:24px}
.pt_steps li{flex:1;background:#fff;border:1px solid #eee;border-radius:10px;padding:32px 28px;position:relative;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.pt_steps .num{display:inline-block;width:36px;height:36px;line-height:36px;text-align:center;border-radius:50%;background:#c8102e;color:#fff;font-weight:700;margin-bottom:14px}
.pt_steps h3{font-size:20px;margin-bottom:10px}
.pt_steps p{color:#555;line-height:1.6;margin:0}
.pt_stats_sec{background:#1e1e26;color:#fff;padding:44px 0}
.pt_stats{list-style:none;margin:0;padding:0;display:flex}
.pt_stats li{flex:1;text-align:center;padding:10px}
.pt_stats strong{display:block;font-family:'Noto_bold',sans-serif;font-size:36px;line-height:1.1;color:#ffb3b3}
.pt_stats span{font-size:14px;opacity:.85;color:#fff}
.pt_sample_sec{background:#fafafa}
.pt_sample .question_tab li a{font-size:15px}
.pt_plans{display:flex;gap:28px;justify-content:center}
.pt_plan{flex:1;max-width:460px;background:#fff;border:1px solid #e6e6e6;border-radius:12px;padding:34px 30px;text-align:center;position:relative}
.pt_plan h3{font-size:24px;margin:8px 0 6px}
.pt_price{font-family:'Noto_bold',sans-serif;font-size:22px;color:#c8102e;margin-bottom:18px}
.pt_plan ul{list-style:none;padding:0;margin:0 0 24px;color:#555;line-height:1.9}
.pt_badge_free,.pt_badge_paid{display:inline-block;padding:4px 12px;border-radius:20px;font-size:13px;font-weight:700}
.pt_badge_free{background:#e6f7ec;color:#1b7f3b}
.pt_badge_paid{background:#fdeaea;color:#c8102e}
.pt_video_list{list-style:none;padding:0;margin:0;display:flex;gap:22px}
.pt_video_list li{flex:1}
.pt_video_list a{display:block;text-decoration:none;color:#222}
.pt_video_list .thumb{display:block;position:relative;padding-top:56.25%;background:#000 center/cover no-repeat;border-radius:8px;overflow:hidden}
.pt_video_list .thumb i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:54px;color:rgba(255,255,255,.9)}
.pt_video_list .ca{display:block;font-size:12px;color:#c8102e;margin:10px 0 4px}
.pt_video_list .tit{display:block;font-size:15px;line-height:1.4}
.pt_btn_yt{background:#ff0000;color:#fff}
.pt_btn_yt:hover{background:#c00;color:#fff;text-decoration:none}
.pt_founder_sec{background:#f7f7f7}
.pt_founder{display:flex;align-items:center;gap:36px}
.pt_founder_img{width:140px;height:140px;object-fit:cover;border-radius:50%;flex:none}
.pt_founder_text .pt_h2{text-align:left;font-size:26px}
.pt_founder_text p{font-size:16px;line-height:1.7;color:#444}
.pt_more{color:#c8102e;font-weight:700}
.pt_notice_sec{padding-top:40px}
@media (max-width:900px){.pt_steps,.pt_plans,.pt_video_list{flex-direction:column}.pt_stats{flex-wrap:wrap}.pt_stats li{flex:0 0 50%}.pt_hero h1{font-size:32px}.pt_h2{font-size:26px}.pt_founder{flex-direction:column;text-align:center}.pt_founder_text .pt_h2{text-align:center}.pt_sec{padding:48px 0}}

/* renewal: guide pages / about */
.pt_guide{max-width:880px;padding:60px 20px 80px;font-size:var(--pt-fs-body);line-height:1.7;color:#333}
.pt_guide p,.pt_guide li,.pt_guide dd{max-width:68ch}
.pt_guide h2{font-family:'Noto_bold',sans-serif;font-size:var(--pt-fs-h2);line-height:1.25;margin:44px 0 14px;padding-bottom:8px;border-bottom:2px solid #c8102e}
.pt_guide h2:first-child{margin-top:0}
.pt_guide h3{font-size:var(--pt-fs-h3);line-height:1.3;margin:26px 0 8px;color:#c8102e}
.pt_guide ul,.pt_guide ol{padding-left:22px;margin-bottom:16px}
.pt_guide li{margin-bottom:6px}
.pt_table{margin:12px 0 10px;font-size:15px}
.pt_table th{background:#f5f5f5;text-align:center;white-space:nowrap}
.pt_table td{text-align:center}
.pt_table .pt_total td{font-weight:700;background:#fff8e6}
.pt_levels dt{font-weight:700;color:#c8102e;margin-top:12px}
.pt_levels dd{margin:2px 0 0 0}
.pt_faq dt{font-weight:700;margin-top:18px}
.pt_faq dd{margin:4px 0 0 0;color:#444}
.pt_steps_list li{margin-bottom:10px}
.pt_official{margin-top:44px;padding:14px 16px;background:#f5f5f5;border-radius:6px;font-size:var(--pt-fs-small);line-height:1.6;color:#666;max-width:68ch}
.pt_statement{padding:50px 20px 0;text-align:center}
.pt_statement p{font-size:18px;line-height:1.7;max-width:760px;margin:0 auto 18px}

.pt_jp_note{clear:both;margin:10px 0 0;font-size:14px;color:#666}
.pt_video_cta{margin:24px 0 10px;padding:22px 20px;background:#f7f7f7;border-radius:8px;text-align:center}
.pt_video_cta p{margin-bottom:14px;font-size:15px;color:#444}
.pt_video_cta .pt_btn{margin:0 4px}

/* about: founder */
#sub0103 .text h2 span{font-size:15px;color:#666;margin-left:8px}
.pt_ceo_lead{font-size:var(--pt-fs-lead);line-height:1.6;margin:14px 0 22px;color:#333;max-width:68ch}
.pt_ceo_facts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px;padding:0;list-style:none}
.pt_ceo_facts li{flex:1 1 120px;background:#fff8f0;border:1px solid #f3dcc6;border-radius:8px;padding:14px 10px;text-align:center}
.pt_ceo_facts strong{display:block;font-size:24px;color:#c8102e;font-family:'Noto_bold',sans-serif}
.pt_ceo_facts span{font-size:13px;color:#666}
#sub0103 .text h3{margin-top:26px}
.pt_ceo_books{padding-left:20px;margin-bottom:10px}
.pt_ceo_books li{margin-bottom:8px;line-height:1.6}

/* modern header — light-only (no dark mode), shared by all sub-page banners.
   soft off-white tint + hairline so top/content/bottom read as distinct bands
   without using a saturated brand color. */
#sub_title_bg.sub02,
#sub_title_bg.sub03,
#sub_title_bg.sub04,
#sub_title_bg.sub05{
  height:auto;
  min-height:0;
  display:block;
  background:#f3e9e1;
  border-bottom:1px solid #e7d6c8;
  padding:72px 0 36px;
}
/* per-menu banner tint, colors pulled straight from the HANIJEMI logo palette
   (red #C30D23 / orange #F39800 / green #8FC31F / gold #D3A358) so each
   section of the site reads as its own "menu color" rather than one shared tan */
#sub_title_bg.pt_sec_guide{background:#f8e2e5;border-bottom:1px solid #eaaab2}       /* TOPIK 안내 — brand red */
#sub_title_bg.pt_sec_free{background:#fef3e0;border-bottom:1px solid #fbdba6}        /* 무료 문제 — brand orange */
#sub_title_bg.pt_sec_practice{background:#f2f8e4;border-bottom:1px solid #d8eab1}    /* 문제풀기 — brand green */
#sub_title_bg.pt_sec_video{background:#faf4eb;border-bottom:1px solid #f0dfc5}       /* 동영상 강좌 — brand gold */
#sub_title_bg.pt_sec_notice{background:#f2f2f2;border-bottom:1px solid #e0e0e0}      /* 공지·FAQ / 소개 — neutral */

/* footer band: same soft tint as the header, so content (white) sits between two
   distinct neutral bands top and bottom */
.foot_menu{background:#eaeaea}
/* .footer is now a plain full-width block (the .muto_container moved to an
   inner wrapper), so it paints edge-to-edge with no vw-based bleed hack —
   a 100vw trick here previously caused a few px of horizontal overflow
   whenever the vertical scrollbar was present (the page would "wobble"). */
.footer{background:#eaeaea}
#sub_title_bg.sub02 .pt_head_inner,
#sub_title_bg.sub03 .pt_head_inner,
#sub_title_bg.sub04 .pt_head_inner,
#sub_title_bg.sub05 .pt_head_inner{text-align:left}
#sub_title_bg.sub02 .pt_head_crumb,
#sub_title_bg.sub03 .pt_head_crumb,
#sub_title_bg.sub04 .pt_head_crumb,
#sub_title_bg.sub05 .pt_head_crumb{
  font-size:var(--pt-fs-xs);color:#5c5c5c;margin:0 0 20px;letter-spacing:.01em;
}
#sub_title_bg.sub02 .pt_head_crumb a,
#sub_title_bg.sub03 .pt_head_crumb a,
#sub_title_bg.sub04 .pt_head_crumb a,
#sub_title_bg.sub05 .pt_head_crumb a{color:#5c5c5c}
#sub_title_bg.sub02 .pt_head_crumb a:hover,
#sub_title_bg.sub03 .pt_head_crumb a:hover,
#sub_title_bg.sub04 .pt_head_crumb a:hover,
#sub_title_bg.sub05 .pt_head_crumb a:hover{color:#c8102e;text-decoration:none}
#sub_title_bg.sub02 .pt_head_crumb .sep,
#sub_title_bg.sub03 .pt_head_crumb .sep,
#sub_title_bg.sub04 .pt_head_crumb .sep,
#sub_title_bg.sub05 .pt_head_crumb .sep{margin:0 8px;color:#d8d8d8}
#sub_title_bg.sub02 .pt_head_crumb .cur,
#sub_title_bg.sub03 .pt_head_crumb .cur,
#sub_title_bg.sub04 .pt_head_crumb .cur,
#sub_title_bg.sub05 .pt_head_crumb .cur{color:#141414}
#sub_title_bg.sub02 h1,
#sub_title_bg.sub03 h1,
#sub_title_bg.sub04 h1,
#sub_title_bg.sub05 h1{
  font-family:'Noto_bold',sans-serif;
  font-size:var(--pt-fs-hero);letter-spacing:-.03em;line-height:1.12;color:#141414;text-align:left;
  margin:0;
  max-width:760px;
}
#sub_title_bg.sub02 h1 .pt_hl,
#sub_title_bg.sub03 h1 .pt_hl,
#sub_title_bg.sub04 h1 .pt_hl,
#sub_title_bg.sub05 h1 .pt_hl{
  display:inline-block;
  font-size:inherit;
  background:#c8102e;
  color:#fff;
  border-radius:.3em;
  padding:0 .18em;
  margin:0 .02em;
}
#sub_title_bg.sub02 .pt_head_rule,
#sub_title_bg.sub03 .pt_head_rule,
#sub_title_bg.sub04 .pt_head_rule,
#sub_title_bg.sub05 .pt_head_rule{display:none}
@media (max-width: 767px){
  #sub_title_bg.sub02, #sub_title_bg.sub03, #sub_title_bg.sub04, #sub_title_bg.sub05{padding:36px 0 22px}
  #sub_title_bg.sub02 .pt_head_crumb, #sub_title_bg.sub03 .pt_head_crumb, #sub_title_bg.sub04 .pt_head_crumb, #sub_title_bg.sub05 .pt_head_crumb{margin-bottom:12px}
}
  #sub_title_bg.sub02 .pt_head_crumb, #sub_title_bg.sub03 .pt_head_crumb, #sub_title_bg.sub04 .pt_head_crumb, #sub_title_bg.sub05 .pt_head_crumb{margin-bottom:12px}
}

/* modern pill tabs for TOPIK guide pages */
#lnb_wrap.pt_guide_tabs{border-bottom:none;background:#fff}
#lnb_wrap.pt_guide_tabs ul{display:flex;gap:8px;padding:18px 0;flex-wrap:wrap}
#lnb_wrap.pt_guide_tabs ul li{float:none;margin:0}
#lnb_wrap.pt_guide_tabs ul li a{
  display:block;
  font-size:15px;line-height:1;
  padding:11px 20px;
  border-radius:999px;
  color:#555;
  background:#f4f4f4;
  transition:background .15s ease,color .15s ease;
}
#lnb_wrap.pt_guide_tabs ul li a:hover{background:#eee;text-decoration:none}
#lnb_wrap.pt_guide_tabs ul li.active{border-bottom:none;font-family:inherit;color:inherit}
#lnb_wrap.pt_guide_tabs ul li.active a{
  font-family:'Noto_bold',sans-serif;
  color:#fff;background:#c8102e;border-bottom:none;
}

/* Magoosh-style "related articles" cards on TOPIK guide pages */
.pt_related{margin-top:64px;padding:36px 20px 60px;border-top:1px solid #eee}
.pt_related_title{font-family:'Noto_bold',sans-serif;font-size:var(--pt-fs-h3);margin:0 0 20px;color:#141414}
.pt_related_grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.pt_related_card{display:flex;flex-direction:column;padding:20px;border:1px solid #eee;border-radius:10px;text-decoration:none;transition:box-shadow .15s ease,border-color .15s ease;background:#fff}
.pt_related_card:hover{box-shadow:0 6px 18px rgba(0,0,0,.06);border-color:#e6d6d6;text-decoration:none}
.pt_related_label{font-family:'Noto_bold',sans-serif;font-size:var(--pt-fs-xs);letter-spacing:.06em;text-transform:uppercase;color:#c8102e;margin-bottom:8px}
.pt_related_card_title{font-family:'Noto_bold',sans-serif;font-size:var(--pt-fs-body);color:#141414;margin-bottom:8px}
.pt_related_excerpt{font-size:var(--pt-fs-small);line-height:1.6;color:#666}

/* footer nav: flowing links + separate round social-icon row (not a grid/table) */
.pt_foot_wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding:26px 0}
.pt_foot_links{display:flex;flex-wrap:wrap;gap:6px 28px;margin:0;padding:0;list-style:none}
.foot_menu{border-top:0;border-bottom:0}
.foot_menu .pt_foot_links li{float:none;width:auto;border:0;margin:0;font-size:16px;line-height:1.4}
.pt_foot_links li a{color:#555}
.pt_foot_links li a:hover{color:#c8102e;text-decoration:none}
.pt_foot_social{display:flex;gap:10px;margin:0;padding:0;list-style:none}
.foot_menu .pt_foot_social li{float:none;width:auto;border:0;margin:0}
.pt_foot_social a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#f2f2f2;color:#777;font-size:16px;transition:background .15s ease,color .15s ease}
.pt_foot_social a:hover{background:#c8102e;color:#fff}
@media (max-width:700px){.pt_foot_wrap{justify-content:center;text-align:center}.pt_foot_links{justify-content:center}}
