/* Site header and footer (redesign 2026-11-01). Everything is namespaced kh- (header) / kf- (footer) so the legacy
   page styles (.main-nav, .submenu, .mobile, ...) and Tailwind/Bootstrap/AdminLTE pages are not affected. */
:root {
  --kc-navy: #0d2847;
  --kc-navy-2: #12325a;
  --kc-blue: #285690;          /* the college blue of the old menu bar */
  --kc-blue-dark: #1e4475;
  --kc-gold: #e0a526;          /* from the star of the logo */
  --kc-ink: #1b2a3d;
  --kc-muted: #5d6b80;
  --kc-line: #e3e8f0;
  --kc-soft: #f3f6fb;
  --kc-canvas: #f4f6fa;
  --kc-font: 'Inter', 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --kc-ease: cubic-bezier(.2, .7, .2, 1);
}

.kh, .kf { font-family: var(--kc-font); -webkit-font-smoothing: antialiased; }
/* page canvas (2026-11-01): a soft blue-grey instead of plain white, so the white cards (sidebars, notices, vision,
   profile) stand out; header and footer keep their own backgrounds */
body { background-color: var(--kc-canvas); }
.kh *, .kf * { box-sizing: border-box; }
.kh a, .kf a { text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.kh li > a:hover, .kf li > a:hover { text-decoration: none; }
.kh ul, .kf ul { list-style: none; margin: 0; padding: 0; }
.kh-wrap, .kf-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }

.kh-skip { position: absolute; left: 12px; top: -48px; z-index: 10060; background: #fff; color: var(--kc-blue);
  padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.kh-skip:focus { top: 8px; box-shadow: 0 4px 14px rgba(13, 40, 71, .2); }
.kh :focus-visible, .kf :focus-visible { outline: 2px solid var(--kc-gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- utility bar ---------- */
.kh-util { background: var(--kc-navy); color: #c9d4e4; font-size: 13px; line-height: 1; }
.kh-util-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.kh-quick { display: flex; align-items: center; flex-wrap: wrap; }
.kh-quick li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.kh-quick a { display: block; padding: 6px 12px; color: #c9d4e4; letter-spacing: .01em; }
.kh-quick li:first-child a { padding-left: 0; }
.kh-quick a:hover { color: #fff; }
.kh-util-side { display: flex; align-items: center; gap: 18px; }
.kh-acc { display: flex; align-items: center; gap: 4px; }
.kh-acc a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; color: #e6ecf5; font-weight: 500; border-radius: 999px; }
.kh-acc a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.kh-acc i { font-size: 12px; color: var(--kc-gold); }
.kh-acc a.kh-acc-btn { padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .35); }
.kh-acc a.kh-acc-btn:hover { background: #fff; color: var(--kc-navy); border-color: #fff; }
.kh-social { display: flex; align-items: center; gap: 4px; }
.kh-social a, .kf-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; color: #c9d4e4; font-size: 14px; }
.kh-social a:hover { color: var(--kc-navy); background: #fff; }

/* ---------- brand bar ---------- */
.kh-brand { background: #fff; border-bottom: 1px solid var(--kc-line); }
.kh-brand-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.kh-logo { display: block; flex: 0 0 auto; }
.kh-logo img { display: block; height: 96px; width: auto; max-width: 100%; }
.kh-brand-side { display: flex; align-items: center; gap: 28px; }
.kh-contact { display: flex; gap: 24px; }
.kh-contact a { display: flex; align-items: center; gap: 10px; color: var(--kc-ink); }
.kh-contact i { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--kc-soft); color: var(--kc-blue); font-size: 14px; transition: background-color .2s ease, color .2s ease; }
.kh-contact a:hover i { background: var(--kc-blue); color: #fff; }
.kh-contact small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--kc-muted); line-height: 1.3; }
.kh-contact strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.kh-search { margin: 0; width: 290px; }
.kh-search-box { position: relative; display: flex; align-items: center; }
.kh-search input { width: 100%; height: 42px; margin: 0; padding: 0 46px 0 16px; border: 1px solid #d3dbe7; border-radius: 999px;
  background: var(--kc-soft); color: var(--kc-ink); font: 14px var(--kc-font); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.kh-search input::placeholder { color: #7d8aa0; }
.kh-search input:focus { outline: none; background: #fff; border-color: var(--kc-blue); box-shadow: 0 0 0 3px rgba(40, 86, 144, .15); }
.kh-search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--kc-blue); color: #fff; font-size: 13px; cursor: pointer; transition: background-color .2s ease; }
.kh-search button:hover { background: var(--kc-blue-dark); }
.ui-autocomplete { z-index: 10050 !important; }

.kh-burger { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--kc-line);
  border-radius: 10px; background: #fff; color: var(--kc-ink); font: 600 14px var(--kc-font); cursor: pointer; }
.kh-burger:hover { border-color: var(--kc-blue); color: var(--kc-blue); }
.kh-burger-bars { position: relative; width: 18px; height: 12px; }
.kh-burger-bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
.kh-burger-bars span:nth-child(1) { top: 0; }
.kh-burger-bars span:nth-child(2) { top: 5px; }
.kh-burger-bars span:nth-child(3) { top: 10px; }

/* ---------- main navigation (desktop) ---------- */
.kh-nav > .kh-wrap { max-width: 1440px; padding: 0 12px; }
.kh-nav { background: var(--kc-blue); color: #fff; position: relative; z-index: 9000; box-shadow: 0 2px 10px rgba(13, 40, 71, .12); }
.kh-drawer-head { display: none; }
.kh-menu { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; }
.kh-item { position: relative; display: flex; align-items: center; }
.kh-link { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 11px; color: #fff;
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.kh-link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 9px; height: 2px; border-radius: 2px;
  background: var(--kc-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--kc-ease); }
.kh-has-sub > .kh-link { padding-right: 4px; }
.kh-has-sub > .kh-link::after { right: 4px; }
.kh-item:hover > .kh-link, .kh-item:focus-within > .kh-link, .kh-link:hover { color: #fff; }
.kh-item:hover > .kh-link::after, .kh-item:focus-within > .kh-link::after, .kh-item.is-current > .kh-link::after,
.kh-item.is-open > .kh-link::after { transform: scaleX(1); }
.kh-caret { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 32px; margin-right: 4px;
  padding: 0; border: 0; background: transparent; color: rgba(255, 255, 255, .8); font-size: 10px; cursor: pointer; border-radius: 4px; }
.kh-caret i { transition: transform .25s var(--kc-ease); }
.kh-item:hover > .kh-caret i, .kh-item.is-open > .kh-caret i { transform: rotate(180deg); }
.kh-account { display: none; }

/* dropdown panels */
.kh-sub { position: absolute; top: 100%; left: 0; z-index: 9100; min-width: 250px; padding: 8px; background: #fff;
  border: 1px solid var(--kc-line); border-top: 3px solid var(--kc-gold); border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(13, 40, 71, .18); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s var(--kc-ease), visibility 0s linear .2s; }
.kh-sub.kh-sub-right { left: auto; right: 0; }
.kh-item:hover > .kh-sub, .kh-item:focus-within > .kh-sub, .kh-item.is-open > .kh-sub {
  opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .2s ease, transform .2s var(--kc-ease), visibility 0s; }
.kh-item.is-closed > .kh-sub { opacity: 0; visibility: hidden; }
.kh-sub a { display: block; padding: 9px 14px; border-radius: 6px; color: var(--kc-ink); font-size: 14px; line-height: 1.4; white-space: normal; }
.kh-sub a:hover, .kh-sub a:focus { background: var(--kc-soft); color: var(--kc-blue); transform: translateX(2px); }
.kh-sub a[aria-current="page"] { color: var(--kc-blue); font-weight: 600; background: var(--kc-soft); }
.kh-mega { display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 4px 12px; width: 620px; padding: 14px; }
.kh-col-title { margin: 0 0 4px; padding: 4px 14px 8px; border-bottom: 1px solid var(--kc-line); color: var(--kc-muted);
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.kh-mega ul { padding-top: 4px; }

.kh-overlay { position: fixed; inset: 0; z-index: 9400; background: rgba(9, 24, 44, .5); opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s; }

/* tablets / small laptops: tighter items */
@media (max-width: 1439.98px) and (min-width: 1100px) {
  .kh-link { padding: 0 8px; font-size: 13.5px; }
  .kh-link::after { left: 8px; right: 8px; }
  .kh-caret { width: 16px; margin-right: 2px; }
}
@media (max-width: 1320px) and (min-width: 1100px) {
  .kh-contact { display: none; }
}

/* ---------- drawer navigation (below 1100px) ---------- */
@media (max-width: 1099.98px) {
  .kh-burger { display: inline-flex; }
  .kh-contact { display: none; }
  .kh-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9500; width: min(400px, 88vw); background: #fff; color: var(--kc-ink);
    box-shadow: -12px 0 40px rgba(13, 40, 71, .25); transform: translateX(105%); visibility: hidden; overflow-y: auto;
    overscroll-behavior: contain; transition: transform .3s var(--kc-ease), visibility 0s linear .3s; }
  .kh-nav > .kh-wrap { padding: 0; }
  body.kh-open .kh-nav { transform: translateX(0); visibility: visible; transition: transform .3s var(--kc-ease), visibility 0s; }
  body.kh-open .kh-overlay { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
  body.kh-open { overflow: hidden; }
  html.kh-locked, html.kh-locked body { overflow: hidden; }
  html.kh-locked body { position: fixed; left: 0; right: 0; width: 100%; }
  .kh-drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 72px; padding: 10px 14px 10px 18px; background: #fff; border-bottom: 3px solid var(--kc-blue); }
  .kh-drawer-logo { display: block; min-width: 0; }
  /* sized by width: style.css forces img{height:auto !important} on small screens */
  .kh-drawer-logo img { display: block; width: 176px; max-width: 100%; }
  .kh-close { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0;
    border-radius: 50%; background: var(--kc-navy); color: #fff; font-size: 18px; cursor: pointer; transition: background-color .2s ease; }
  .kh-close:hover { background: var(--kc-blue); }
  .kh-close:focus-visible, .kh-caret:focus-visible, .kh-link:focus-visible { outline: 3px solid var(--kc-gold); outline-offset: -3px; }
  .kh-menu { display: block; padding: 6px 0 24px; }
  .kh-item { flex-wrap: wrap; border-bottom: 1px solid var(--kc-line); }
  .kh-link { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0 20px; color: var(--kc-ink); font-size: 16px; white-space: normal; }
  .kh-link::after { display: none; }
  .kh-item:hover > .kh-link, .kh-item:focus-within > .kh-link, .kh-link:hover { color: var(--kc-blue); }
  .kh-item.is-current > .kh-link { color: var(--kc-blue); font-weight: 600; box-shadow: inset 3px 0 0 var(--kc-gold); }
  .kh-caret { flex: 0 0 auto; width: 52px; height: 52px; margin: 0; border-left: 1px solid var(--kc-line); border-radius: 0; color: var(--kc-blue); font-size: 13px; }
  .kh-item:hover > .kh-caret i { transform: none; }
  .kh-item.is-open > .kh-caret i { transform: rotate(180deg); }
  .kh-item.is-open > .kh-link { color: var(--kc-blue); font-weight: 600; }
  .kh-item.is-open > .kh-caret { background: var(--kc-soft); }
  .kh-sub, .kh-mega { position: static; display: none; width: 100%; min-width: 0; padding: 4px 0 10px; border: 0; border-radius: 0;
    background: var(--kc-soft); box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .kh-item:hover > .kh-sub, .kh-item:focus-within > .kh-sub { display: none; }
  .kh-item.is-open > .kh-sub { display: block; animation: kh-unfold .22s var(--kc-ease); }
  .kh-sub a { padding: 12px 20px 12px 34px; border-radius: 0; font-size: 15px; }
  .kh-sub a:hover, .kh-sub a:focus { transform: none; background: #e8eef7; }
  .kh-col-title { margin-top: 8px; padding: 6px 20px 6px 34px; border: 0; }
  .kh-acc { display: none; }
  .kh-brand { border-bottom: 3px solid var(--kc-blue); }
  .kh-account { display: flex; margin: 0; }
  .kh-account .kh-link { font-weight: 600; }
  .kh-account .kh-link i { width: 18px; margin-right: 10px; color: var(--kc-blue); }
  .kh-login { padding: 16px 20px; border-bottom: 0; }
  .kh-login .kh-link { justify-content: center; margin: 0; min-height: 44px; border: 1px solid var(--kc-blue); border-radius: 999px; color: var(--kc-blue); }
  .kh-login .kh-link:hover { background: var(--kc-blue); color: #fff; }
}

@keyframes kh-unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* phones: the drawer fills the screen */
@media (max-width: 767.98px) {
  .kh-nav { width: 100%; box-shadow: none; }
  .kh-overlay { background: rgba(9, 24, 44, .35); }
}

/* phones: page side menus collapse into one bar above the content (header.jsp script adds .ks-*) */
.ks-side-toggle { display: none; }
@media (max-width: 767.98px) {
  aside.ks-has-side { margin-top: 0 !important; padding: 0 !important; }
  aside.ks-has-side .region-sidebar-second { margin-top: 0 !important; }
  :has(> aside.ks-has-side):not(.container):not(.flex) { margin-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .ks-side-toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin: 0; padding: 10px 16px;
    border: 1px solid var(--kc-line); border-left: 4px solid var(--kc-blue); border-radius: 10px; background: #fff;
    box-shadow: 0 2px 8px rgba(13, 40, 71, .06); color: var(--kc-ink); font: 15px/1.3 var(--kc-font); text-align: left; cursor: pointer; }
  .ks-side-toggle:focus-visible { outline: 3px solid var(--kc-gold); outline-offset: 2px; }
  .ks-side-icon { color: var(--kc-blue); }
  .ks-side-text { flex: 1 1 auto; min-width: 0; }
  .ks-side-text strong { display: block; font-weight: 600; }
  .ks-side-text small { display: block; margin-top: 2px; color: var(--kc-muted); font-size: 13px; }
  .ks-side-chevron { color: var(--kc-blue); font-size: 13px; transition: transform .25s var(--kc-ease); }
  .ks-side-toggle[aria-expanded="true"] .ks-side-chevron { transform: rotate(180deg); }
  .ks-side { display: none !important; }
  .ks-side.ks-open { display: block !important; margin-top: 8px; animation: kh-unfold .22s var(--kc-ease); }
  .ks-side .ks-side-title { display: none; }
}

/* ---------- page side menus (sidebars), all widths: card with navy title and clear rows (2026-11-01) ----------
   The section menu of 62 pages: aside .region-sidebar-second > section (About KEC, Academics, department sites, ...)
   and aside section#block-menu-block-3 (Training & Placement, faculty details). Look only: same links, same order;
   the current page (aria-current, set by the header.jsp script) is highlighted. */
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) {
  margin: 0 !important; padding: 0 !important; overflow: hidden; background: #fff !important;
  border: 1px solid var(--kc-line); border-radius: 14px; box-shadow: 0 10px 28px rgba(13, 40, 71, .08);
  font-family: var(--kc-font);
}
aside .region-sidebar-second, aside div:has(> section#block-menu-block-3) {
  margin-top: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
}
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) h2 {
  position: relative; margin: 0 !important; padding: 18px 20px 16px !important; border: 0 !important;
  border-bottom: 3px solid var(--kc-gold) !important; background: var(--kc-navy) !important; color: #fff !important;
  font: 600 17px/1.35 var(--kc-font) !important; letter-spacing: .01em;
}
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) h2::before { display: none !important; content: none !important; }
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) ul { display: block !important; gap: 0 !important; margin: 0 !important; padding: 8px 0 !important; background: #fff !important; list-style: none; }
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none; }
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li + li { border-top: 1px solid #f0f3f8 !important; }
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 18px 11px 17px !important;
  border: 0 !important; border-left: 3px solid transparent !important; border-radius: 0 !important; background: none !important; color: var(--kc-ink) !important;
  font-size: 14.5px; font-weight: 400; line-height: 1.45; text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a::after {
  content: "\f054"; flex: 0 0 auto; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 10px; color: #b7c2d3;
  transition: transform .2s var(--kc-ease), color .2s ease;
}
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a:hover, :is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a:focus-visible {
  background: var(--kc-soft) !important; border-left-color: var(--kc-gold) !important; color: var(--kc-blue) !important;
}
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a:hover::after { color: var(--kc-blue); transform: translateX(3px); }
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a[aria-current="page"] {
  background: #eaf1fb !important; border-left-color: var(--kc-blue) !important; color: var(--kc-blue) !important; font-weight: 600;
}
:is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a[aria-current="page"]::after { color: var(--kc-blue); }
@media (prefers-reduced-motion: reduce) {
  :is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a, :is(aside .region-sidebar-second > section, aside section#block-menu-block-3) li a::after { transition: none; }
}

@media (max-width: 767.98px) {
  .kh-wrap, .kf-wrap { padding: 0 16px; }
  .kh-util-in { min-height: 36px; }
  .kh-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kh-quick::-webkit-scrollbar { display: none; }
  .kh-quick a { white-space: nowrap; padding: 6px 10px; }
  .kh-social { display: none; }
  .kh-brand-in { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 12px; }
  .kh-logo { flex: 1 1 0; min-width: 0; }
  .kh-logo img { height: 62px; }
  .kh-brand-side { display: contents; }
  .kh-burger { order: 2; padding: 0 12px; }
  .kh-burger-label { display: none; }
  .kh-search { order: 3; width: 100%; }
}

/* ---------- footer ---------- */
.kf { background: var(--kc-navy); color: #c3cfdf; font-size: 14.5px; line-height: 1.7; }
.kf-main { padding: 56px 0 40px; border-top: 4px solid var(--kc-gold); }
.kf-grid { display: grid; grid-template-columns: 1.25fr 1.1fr 1fr 1fr; gap: 40px; }
.kf-logo { display: inline-block; margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.kf-logo img { display: block; height: 78px; width: auto; max-width: 100%; }

.kf-social { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-social a { width: 36px; height: 36px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 15px; }
.kf-social a:hover { background: var(--kc-gold); color: var(--kc-navy); transform: translateY(-2px); }
.kf-title { position: relative; margin: 0 0 20px; padding-bottom: 12px; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.kf-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; border-radius: 2px; background: var(--kc-gold); }
.kf address { margin: 0 0 14px; font-style: normal; }
.kf address strong { display: block; margin-bottom: 2px; color: #fff; font-weight: 600; }
.kf-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.kf-contact i { width: 16px; margin-top: 6px; color: var(--kc-gold); font-size: 13px; text-align: center; }
.kf a { color: #c3cfdf; }
.kf a:hover { color: #fff; }
.kf-links li { margin-bottom: 4px; }
.kf-links a { display: inline-flex; align-items: center; gap: 8px; padding: 3px 0; }
.kf-links a::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--kc-gold); border-right: 1.5px solid var(--kc-gold);
  transform: rotate(45deg); flex: 0 0 auto; transition: transform .2s ease; }
.kf-links a:hover { transform: translateX(3px); }
.kf-bottom { background: #091d35; color: #93a3ba; font-size: 13.5px; }
.kf-bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.kf-bottom p { margin: 0; }
.kf-bottom .kf-dot { margin: 0 8px; opacity: .5; }
.kf-credit p { display: inline; }
.kf-credit a { margin-left: 4px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(224, 165, 38, .6); }
.kf-credit a:hover { color: var(--kc-gold); }

@media (max-width: 1099.98px) {
  .kf-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
@media (max-width: 599.98px) {
  .kf-main { padding: 40px 0 28px; }
  .kf-grid { grid-template-columns: 1fr; gap: 30px; }
  .kf-bottom-in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .kh *, .kf *, .kh-nav, .kh-overlay, .ks-side-toggle * { transition: none !important; }
  .kh-sub, .ks-side { animation: none !important; }
}
