body {
  font-family: 'Nanum Gothic', 'Malgun Gothic';
  line-height:150%;
}

.h1, h1 {
  font-size: 1.65rem!important;
}

.h2, h2 {
  font-size: 1.25rem!important;
  margin-bottom: auto;
}

.h3, h3 {
  font-size: var(--bs-body-font-size)!important;
  margin-bottom: auto;
  font-weight: bold;
}

.f-copyright {
  font-family: Arial,Helvetica,sans-serif;
  font-size: .75rem;
  color: #777777;
}

a {
  color: inherit;
  text-decoration: none;
}

.exam-name a:hover, .card-title a:hover, .card-text a:hover {
  text-decoration: underline;  
}

.a-disabled {
  color: gray;
  pointer-events: none;
  text-decoration: none !important;
}

.offcanvas, .offcanvas-lg, .offcanvas-md, .offcanvas-sm, .offcanvas-xl, .offcanvas-xxl {
  --bs-offcanvas-height: 85% !important;
  --bs-offcanvas-padding-x: 0.1rem;
  --bs-offcanvas-padding-y: 0.1rem;
  --bs-offcanvas-title-line-height: 1;
}
 
.font-question {
  font-family: 'Batang', 'Nanum Gothic', 'Malgun Gothic'; line-height:150%; ;
  font-style: normal;
}

.font-q-icon {
  font-family: 'arial', 'Nanum Gothic', 'Malgun Gothic'; line-height:120%; ;
  font-style: normal;
}

/*
svg {
    vertical-align: baseline;
}
*/

/*
.btn {
    font-family: 'Nanum Gothic', 'Malgun Gothic';
}
*/

.al-navbar {
    padding: .75rem 0;
    background-color: rgba(var(--bs-tertiary-bg-rgb));
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.al-gutter {
    --bs-gutter-x: 3rem;
}

.al-layout {
    display:grid;
    grid-template-areas:"main sidebar";
    grid-template-columns:5fr 3fr;
    gap:1.5rem
}

.al-main {
    grid-area:main
}


.al-sidebar {
    grid-area:sidebar;
    position: sticky;
    top: 5rem;
    display: block;
    height: calc(100vh - 6rem);
    padding-left: .25rem;
    margin-left: -.25rem;
    overflow-y: scroll;
}

.list-group-item {
  padding-top:0.4rem;
  padding-bottom:0.4rem;
}

.mb-1 {
  margin-bottom: .30rem !important;
}

.my-2 {
  margin-bottom: .80rem !important;
}
.question-area-frame {
  padding-top:1rem;
  padding-bottom:0.3rem !important;
  border-width:0 !important;
}

.ox-button-area-frame {  
  margin-top:0.9rem;
}

.ox-result-area-frame {
  display: none!important;
  margin-top:0.9rem;
}

.left-border {
  border-left: .125rem solid rgba(189, 189, 190, 1);
  padding: 0;
  padding-left:.25rem;
}

@media (max-width: 991.98px) {
  .al-layout {
    display:block;
  }
  .al-sidebar {
    position: static;
    height: 0;
  }
  body {
  --bs-body-font-size: 1.1rem;
  }
  .d-flex {
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  }

  .h1, h1 {
  font-size: 1.45rem!important;
  }
}

@media (min-width: 992px) {
  .al-sidebar::-webkit-scrollbar {display:none;}
  .offcanvas-bottom {
    margin-bottom: 1rem;  
  }
}

/* Header actions and download button */
.al-header-actions { margin-left: auto; gap: .375rem; }
.al-header-search-toggle { color: #6c757d; border: 1px solid rgba(0,0,0,.12); background: #fff; padding: 0; line-height: 0; width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.al-header-search-toggle:hover { box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.al-header-search-toggle svg { display: block; }
.al-header-dl-btn { border: 1px solid rgba(13,110,253,.35); color: #0d6efd; background: #fff; padding: 0 .6rem; height: 36px; border-radius: 999px; font-weight: 700; font-size: .9rem; line-height: 1; box-shadow: 0 2px 8px rgba(13,110,253,.12); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
.al-header-dl-btn:hover { box-shadow: 0 6px 14px rgba(13,110,253,.18); }
.al-header-dl-btn .dl-short { display: none; }
.al-header-dl-btn .dl-xshort { display: none; }
@media (max-width: 374.98px) { .al-header-dl-btn .dl-full { display: none; } .al-header-dl-btn .dl-short { display: inline; } }
@media (max-width: 339.98px) { .al-header-dl-btn .dl-short { display: none; } .al-header-dl-btn .dl-xshort { display: inline; } }
@media (min-width: 992px) { .al-header-actions { display: none !important; } }
@media (min-width: 768px) and (max-width: 991.98px) { .al-header-actions { display: flex !important; } }

/* Header center search */
.al-header-search { flex: 1 1 auto; max-width: 520px; padding: 0 16px; }
.al-header-search .search-wrap { position: relative; }
.al-header-search .form-control { height: 36px; padding-left: .9rem; padding-right: 2rem; border-radius: 999px; }
.al-header-search .search-icon-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #6c757d; border: none; background: transparent; padding: 0; line-height: 0; cursor: pointer; }
.al-header-search .search-icon-btn svg { display: block; }
@media (max-width: 575.98px) { .al-header-search { display: none !important; } }
@media (min-width: 768px) and (max-width: 1023.98px) { .al-header-search { display: none !important; } }
@media (min-width: 1024px) {
  .al-navbar .al-gutter { position: relative; }
  .al-header-search { position: absolute; left: 50%; transform: translateX(-50%); padding: 0; flex: 0 0 auto; max-width: 520px; width: 100%; }
  .al-header-search form { width: 100%; }
}

/* Home page case search: match navbar style but static position */
.al-home-search { max-width: 520px; margin-left: auto; margin-right: auto; }
.al-home-search .search-wrap { position: relative; }
.al-home-search .form-control { height: 36px; padding-left: .9rem; padding-right: 2rem; border-radius: 999px; }
.al-home-search .search-icon-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #6c757d; border: none; background: transparent; padding: 0; line-height: 0; cursor: pointer; }
.al-home-search .search-icon-btn svg { display: block; }

/* FAQ content max width for readability */
.al-faq-content { max-width: 840px; margin-left: auto; margin-right: auto; }
.al-faq-content .accordion-item { border: 0; border-radius: 12px; margin-bottom: .75rem; box-shadow: 0 1px 4px rgba(0,0,0,.08); overflow: hidden; background: #fff; }
.al-faq-content .accordion-button { font-weight: 600; color: #212529; background: linear-gradient(180deg, rgba(248,249,250,1) 0%, rgba(255,255,255,1) 100%); padding: .9rem 1.4rem .9rem 1rem; line-height: 1.58; display: flex; align-items: center; gap: .5rem; }
.al-faq-content .accordion-button::after { margin-left: auto; flex-shrink: 0; }
.al-faq-content .accordion-button.collapsed { background: #f8f9fa; color: #343a40; box-shadow: none; }
.al-faq-content .accordion-button:not(.collapsed) { color: #0d6efd; background: linear-gradient(180deg, rgba(231,241,255,1) 0%, rgba(255,255,255,1) 100%); box-shadow: none !important; }
.al-faq-content .accordion-button:focus { box-shadow: 0 0 0 .15rem rgba(13,110,253,.2); }
.al-faq-content .accordion-body { background: #f3f4f6; border-top: 1px solid rgba(13,110,253,.12); padding: .95rem 1.1rem 1.05rem 1rem; }
.al-faq-content .accordion-collapse.show .accordion-body { background: #f3f4f6; }
.al-faq-content .accordion-collapse.show { border-top: none; }
/* Notice content container (isolated from FAQ) */
.al-notice-content { max-width: 840px; margin-left: auto; margin-right: auto; }

/* FAQ page search (pill style, similar to header search) */
.al-faq-search { max-width: 380px; margin-left: auto; margin-right: auto; }
.al-faq-search .search-wrap { position: relative; }
.al-faq-search .form-control { height: 40px; padding-left: .9rem; padding-right: 2.2rem; border-radius: 999px; }
.al-faq-search .search-icon-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #6c757d; border: none; background: transparent; padding: 0; line-height: 0; cursor: pointer; }
/* Extra breathing room around FAQ search */
.al-faq-title { margin-top: 1.5rem; margin-bottom: 1rem !important; }
.al-faq-search { margin-top: .1rem; margin-bottom: 2.75rem; }
.al-faq-tags { margin-bottom: .75rem; }
.al-faq-tags .btn { margin-bottom: .35rem; font-size: .88rem; padding: .3rem .78rem; line-height: 1.22; border-radius: 999px; }
@media (min-width: 768px) {
  .al-faq-title { margin-top: 2.4rem; margin-bottom: 1.35rem !important; }
  .al-faq-search { margin-top: .25rem; margin-bottom: 3.1rem; }
  .al-faq-tags { margin-bottom: .8rem; }
}

/* FAQ accordion body typography (slightly smaller for compact look) */
.al-faq-content .accordion .accordion-body {
  font-size: .92rem;
  line-height: 1.65;
  color: #212529;
}
.al-faq-content .accordion .accordion-body a { color: var(--bs-link-color, #0d6efd); }
.al-faq-content .accordion .accordion-body a:hover { text-decoration: underline; }
.al-faq-mobile-tight { padding-left: 0; padding-right: 0; }
@media (max-width: 575.98px) {
  .al-faq-page.container-xxl { padding-left: 0.7rem; padding-right: 0.7rem; }
  .al-faq-content { max-width: 100%; padding-left: 0; padding-right: 0; }
  .al-faq-tags { margin-left: .5rem; margin-right: .5rem; }
  .al-faq-tags .btn { padding-left: 1.3rem; padding-right: 1.3rem; }
  .al-faq-content .accordion-button { padding-left: 1.3rem; padding-right: 1rem; }
  .al-faq-content .accordion-body { padding-left: 1.3rem; padding-right: 1.1rem; }
}
@media (min-width: 576px) {
  .al-faq-mobile-tight { padding-left: 0; padding-right: 0; }
}

/* Mobile search overlay/backdrop (Ceq pages) */
.al-header-search-xs { position: fixed; top: 56px; left: 0; right: 0; z-index: 1051; background: #fff; padding: 10px 14px; box-shadow: 0 6px 18px rgba(0,0,0,.14); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .18s ease, opacity .18s ease; }
.al-header-search-xs .form-control { height: 40px; padding-left: .9rem; padding-right: 2rem; border-radius: 999px; }
.al-header-search-xs .search-icon-btn { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: #6c757d; border: none; background: transparent; padding: 0; line-height: 0; }
.al-header-backdrop { position: fixed; inset: 56px 0 0 0; background: rgba(0,0,0,.25); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.al-search-open .al-header-search-xs { transform: translateY(0); opacity: 1; pointer-events: auto; }
.al-search-open .al-header-backdrop { opacity: 1; pointer-events: auto; }
@media (min-width: 992px) { .al-header-search-toggle, .al-header-search-xs, .al-header-backdrop { display: none !important; } }

/* Header download button */
.al-download { display: flex; align-items: center; }
.al-download .al-btn-download { --al-border: rgba(13,110,253,.35); --al-bg: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.75)); border: 1px solid var(--al-border); background: var(--al-bg); color: #0d6efd; padding: .35rem .9rem; border-radius: 999px; font-weight: 700; box-shadow: 0 4px 12px rgba(13,110,253,.15); transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.al-download .al-btn-download:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(13,110,253,.22); }
@media (max-width: 575.98px) { .al-download .al-btn-download { padding: .3rem .8rem; } }

/* Footer sticky bottom bar */
.al-sticky-bottom { display: none; }
@media (max-width: 991.98px) {
  .al-sticky-bottom { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--bs-body-bg, #fff); border-top: 1px solid rgba(0,0,0,.08); padding: .5rem .75rem; }
  body.al-has-stickybar { padding-bottom: 64px; }
}
.al-sticky-btn { --al-border: rgba(13,110,253,.35); --al-shadow: rgba(13,110,253,.15); --al-shadow-hover: rgba(13,110,253,.22); display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--al-border); background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.86)); color: #0d6efd; font-weight: 700; letter-spacing: .01em; box-shadow: 0 6px 16px var(--al-shadow); transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.al-sticky-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px var(--al-shadow-hover); }
.al-sticky-btn:active { transform: translateY(0); box-shadow: 0 4px 12px var(--al-shadow); }
.al-sticky-btn svg { margin-right: .5rem; display: block; }

/* Case grid/list shared */
.al-section-title { font-size: 1.35rem !important; line-height: 1.25; }
@media (min-width: 768px) { .al-section-title { font-size: 1.5rem !important; } }
.al-case-title { margin-bottom: .35rem; font-size: 1.1rem !important; line-height: 1.3; font-weight: 590; }
.al-case-desc { margin-bottom: .5rem; font-size: 1rem; line-height: 1.65; color: #212529 !important; }
/* Ensure case titles render with primary link color in list view */
.al-case-title a.al-case-link { color: var(--bs-primary); }
@media (max-width: 575.98px) { .al-case-title { font-size: 1.16rem !important; } .al-case-desc { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.05rem; line-height: 1.7; color: #212529 !important; } }

/* Case cards */
.al-case-card { transition: transform .16s ease, box-shadow .24s ease, border-color .2s ease, background .2s ease; border: 1px solid rgba(0,0,0,.08); background: #fff; position: relative; overflow: hidden; will-change: transform; }
.al-case-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 28px; background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.02) 60%, rgba(0,0,0,0) 100%); z-index: 0; border-top-left-radius: var(--bs-border-radius, .375rem); border-top-right-radius: var(--bs-border-radius, .375rem); pointer-events: none; }
.al-case-card .card-body { position: relative; z-index: 1; }
.al-case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.14); border-color: rgba(0,0,0,.14); }
.al-case-card:active { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
/* Ensure case card title links use primary color */
.al-case-card .card-title a:not(.a-disabled) { color: var(--bs-primary); }
/* Do not underline links on hover inside case cards */
.al-case-card .card-title a:hover,
.al-case-card .card-text a:hover { text-decoration: none !important; }

/* Accordion highlight on open (FAQ) */
.accordion .accordion-item { overflow: hidden; }
.accordion .accordion-collapse.show .accordion-body { background: var(--bs-gray-200, #e9ecef); }
.accordion .accordion-collapse.show { border-top: 1px solid rgba(0,0,0,.06); }

/* Notice show page: smaller item title */
.al-notice-title { font-size: .98rem !important; line-height: 1.35; font-weight: 600 !important; }
@media (min-width: 768px) { .al-notice-title { font-size: 1.08rem !important; } }
.al-notice-body { font-size: .9rem; line-height: 1.75; }
.al-notice-body a { color: var(--bs-link-color, #0d6efd); }
.al-notice-body a:hover { text-decoration: underline; }

/* Notice list pin icon */
.al-pin { display: inline-block; font-size: 1rem; line-height: 1; margin-right: 4px; vertical-align: middle; }
.al-pin-svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.al-pin-cell { text-align: center; }
.al-pin-num { display: inline-block; min-width: 16px; line-height: 16px; font-size: .86rem; text-align: center; vertical-align: middle; color: #6c757d; position: relative; top: -1px; }

/* Notice inline accordion (collapse) */
:root { --notice-pin-w: 28px; --notice-title-pl: .5rem; --notice-pin-pad: 0rem; --notice-date-w: 100px; --notice-body-pr: calc(var(--notice-date-w) + .75rem); }
.notice-collapse { margin-top: -1px; }
.notice-collapse .card-body { background: #f3f4f6; padding-left: calc(var(--notice-pin-w) + (2 * var(--notice-pin-pad)) + var(--notice-title-pl)); padding-right: var(--notice-body-pr); padding-top: .5rem; }
#noticeAccordion td.al-date-col { color: #6c757d; font-size: .9rem; }
/* Desktop date column sizing */
#noticeAccordion th.al-date-col, #noticeAccordion td.al-date-col { width: var(--notice-date-w) !important; }
/* Align number and title vertically in the same row */
#noticeAccordion tr.notice-row > td { vertical-align: middle; }
/* Ensure desktop pin column width and title padding exactly match variables */
#noticeAccordion td.al-pin-cell { width: var(--notice-pin-w) !important; }
#noticeAccordion td.text-start { padding-left: var(--notice-title-pl) !important; }
/* Title row active background via expanded anchor */
#noticeAccordion .al-notice-titlelink { display: inline-block; padding: 0; border-radius: 4px; font-size: .95rem; color: inherit; text-decoration: none; line-height: 1.2; }
#noticeAccordion tr.notice-row.is-open td { background: #e7f1ff; border-bottom: 1px solid rgba(0,0,0,.08); }
@media (max-width: 767.98px) {
  #noticeAccordion thead { display: none; }
  #noticeAccordion thead th.al-date-col, #noticeAccordion td.al-date-col { display: none; }
  .al-date-inline { display: inline; font-size: .8rem; color: #6c757d; margin-left: .25rem; }
  .al-notice-content { padding-left: .125rem; padding-right: .125rem; }
  /* Reduce outer container padding only on mobile notice page */
  .al-notice-page.container-xxl { padding-left: .5rem; padding-right: .5rem; }
  #noticeAccordion td.text-start { padding-left: 0 !important; }
  :root { --notice-pin-w: 16px; --notice-title-pl: 0rem; --notice-pin-pad: .2rem; --notice-body-pr: .5rem; }
  #noticeAccordion td.al-pin-cell { padding-left: var(--notice-pin-pad) !important; padding-right: var(--notice-pin-pad) !important; width: calc(var(--notice-pin-w) + (2 * var(--notice-pin-pad))) !important; }
  .al-pin-num { min-width: 14px; font-size: .86rem; }
  .al-pin-col, td.al-pin-cell { width: 16px !important; }
  .notice-collapse .card-body { padding-left: calc(var(--notice-pin-w) + (2 * var(--notice-pin-pad)) + var(--notice-title-pl)); padding-right: var(--notice-body-pr); }
  #noticeAccordion { margin-top: .1rem; }
  #noticeAccordion .al-notice-titlelink { font-size: .92rem; }
  /* Adjust number vertical alignment on mobile */
  .al-pin-num { top: 0; }
  /* iOS Safari-only: tiny baseline nudge for number */
  @supports (-webkit-touch-callout: none) {
    .al-pin-num { top: 1px; }
  }
}
@media (min-width: 768px) {
  .al-date-inline { display: none; }
}
/* Reduce first column padding */
.al-pin-cell { text-align: center; padding-left: var(--notice-pin-pad) !important; padding-right: var(--notice-pin-pad) !important; }

/* Notice list: active title styling when expanded */
table .text-start a[data-bs-toggle="collapse"] { text-decoration: none; }
table .text-start a[data-bs-toggle="collapse"][aria-expanded="true"] { color: #212529; font-weight: 700; }

/* FAQ overrides ensure accordion appearance consistent */
.al-faq-content .accordion .accordion-collapse.show {
  border-top: none;
}
.al-faq-content .accordion .accordion-collapse.show .accordion-body {
  background: #f3f4f6;
}

/* Case list timeline */
.al-divider { max-width: 840px; margin-left: auto; margin-right: auto; border-color: rgba(0,0,0,.42) !important; margin-bottom: 6px; }
.al-timeline { position: relative; padding-left: 0; z-index: 0; margin-top: 5px; max-width: 840px; padding-top: 15px; padding-right: 5px; }
.al-timeline::before { content: none !important; }
.al-listbox { position: relative; }
.al-listbox::before { content: none !important; }
.al-timeline-item { display: grid; grid-template-columns: 72px 1fr; column-gap: 12px; padding: 12px 0; position: relative; z-index: 1; --date-col: 72px; margin-bottom: 10px; }
.al-timeline-item::before { content: ""; position: absolute; left: -20px; right: -20px; top: 0; height: 62px; background: linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,.015) 60%, rgba(0,0,0,0) 100%); pointer-events: none; }
@media (max-width: 575.98px) { .al-timeline-item { grid-template-columns: 56px 1fr; --date-col: 56px; } }
.al-time { color: #6c757d; font-weight: 400; opacity: .7; text-align: right; padding-top: 3px; padding-left: 0px; padding-right: 12px; position: relative; }
.al-time::after { content: ""; position: absolute; top: -11px; bottom: 40px; right: 0; width: 2px; background: var(--bs-border-color, #e9ecef); }
.al-case-link { display: inline; text-decoration: none; }
.al-case-link:hover { text-decoration: none; }
.al-item-wrap { margin: 0; position: relative; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.65; max-height: calc(1.65em * 3); }
.al-pagination-gap { margin-top: 1.7rem; }

/* Exam grid */
.al-exam-card { transition: transform .12s ease, box-shadow .2s ease; }
.al-exam-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.al-exam-title { margin-bottom: .25rem; }
.al-exam-title a { color: var(--bs-primary); }
.al-exam-meta .badge { margin-right: .25rem; }
/* Home duo (Notice/FAQ) section */
.al-home-duo { max-width: 980px; }
.al-home-panel { border: none; background: transparent; padding: 0; }
.al-home-head { text-align: center; margin: 0; font-size: 1.1rem; font-weight: 700; }
.al-home-head a { color: inherit; text-decoration: none; }
.al-home-head-hr { height: 1px; border: 0; background: rgba(0,0,0,.28); margin: .25rem 0 .75rem; }
.al-home-list { list-style: disc; padding-left: 1.1rem; margin: 0; }
.al-home-list li { margin-bottom: .35rem; color: var(--bs-secondary-color);}
.al-home-list li::marker { color: currentColor; }
.al-home-link { font-size: 1rem; line-height: 1.65; color: var(--bs-secondary-color); text-decoration: none; }
.al-home-link:hover { text-decoration: none; }
