/*
Theme Name: King Cove Peninsula
Theme URI: https://cityofkingcove.com/
Description: Custom theme for the City of King Cove, Alaska (design Option B, "Peninsula"). Photo slideshow homepage, "I want to…" task links, news and public notices, alert bar, and department pages with a side menu. Most homepage content is edited in Appearance → Customize → King Cove Settings.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
Author: City of King Cove
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kingcove
*/

/* ============ Tokens ============ */
:root {
  --kc-teal: #0f6e78;
  --kc-teal-dark: #0a4f57;
  --kc-deep: #0d3f47;
  --kc-red: #b8372a;
  --kc-red-dark: #962c21;
  --kc-charcoal: #1e2a2f;
  --kc-slate: #4b5a60;
  --kc-body: #36454b;
  --kc-seaglass: #e6f2f1;
  --kc-blush: #fbeae7;
  --kc-blush-text: #6b1d12;
  --kc-fog: #f3f6f6;
  --kc-line: #e3e8ea;
  --kc-line-strong: #c9d3d6;
  --kc-max: 1240px;
  --kc-head: 'Plus Jakarta Sans', 'Public Sans', system-ui, sans-serif;
  --kc-text: 'Public Sans', system-ui, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--kc-text); color: var(--kc-charcoal); background: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--kc-teal); }
a:hover, a:focus { color: var(--kc-teal-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--kc-head); font-weight: 800; line-height: 1.2; color: var(--kc-charcoal); margin: 1.4em 0 .5em; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--kc-red); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: #fff; color: var(--kc-charcoal); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.kc-wrap { max-width: var(--kc-max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.kc-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--kc-teal); }

/* ============ Buttons ============ */
.kc-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; }
.kc-btn-red { background: var(--kc-red); color: #fff !important; }
.kc-btn-red:hover { background: var(--kc-red-dark); }
.kc-btn-teal, .wp-block-button__link { background: var(--kc-teal); color: #fff !important; }
.kc-btn-teal:hover, .wp-block-button__link:hover { background: var(--kc-teal-dark); }
.kc-btn-outline { background: #fff; color: var(--kc-charcoal) !important; border: 1.5px solid var(--kc-line-strong); }
.kc-btn-outline:hover { border-color: var(--kc-teal); }

/* ============ Utility bar ============ */
.kc-topbar { background: var(--kc-charcoal); color: #d5dde0; font-size: 13px; }
.kc-topbar .kc-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.kc-topbar-links { display: flex; flex-wrap: wrap; gap: 20px; }
.kc-topbar a { color: #d5dde0; text-decoration: none; }
.kc-topbar a:hover { color: #fff; text-decoration: underline; }
.kc-topbar strong { color: #fff; }

/* ============ Header & nav ============ */
.kc-header { background: #fff; border-bottom: 1px solid var(--kc-line); position: relative; z-index: 50; }
.kc-header-top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.kc-header-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.kc-icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--kc-line-strong); color: var(--kc-charcoal); display: flex; align-items: center; justify-content: center; }
.kc-icon-btn:hover { border-color: var(--kc-teal); color: var(--kc-teal); }
.kc-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--kc-charcoal); }
.kc-brand img, .kc-brand .custom-logo { max-height: 64px; width: auto; display: block; }
.kc-brand-name { font-family: var(--kc-head); font-size: 20px; font-weight: 800; line-height: 1.15; }
.kc-brand img + .kc-brand-name { border-left: 1px solid var(--kc-line); padding-left: 14px; }
.kc-nav-toggle { display: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--kc-line-strong); background: #fff; font: inherit; font-weight: 700; color: var(--kc-charcoal); cursor: pointer; align-items: center; gap: 8px; }
.kc-nav { border-top: 1px solid var(--kc-line); }
.kc-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 32px; }
.kc-menu > li { position: relative; }
.kc-menu a { display: block; color: var(--kc-charcoal); text-decoration: none; font-weight: 700; font-size: 16px; padding: 15px 0; }
.kc-menu > li > a:hover, .kc-menu > .current-menu-item > a, .kc-menu > .current-menu-ancestor > a, .kc-menu > .current_page_parent > a { color: var(--kc-teal); box-shadow: inset 0 -3px 0 var(--kc-teal); }
.kc-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }
.kc-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -12px; min-width: 260px; background: #fff; border: 1px solid var(--kc-line); border-radius: 14px; box-shadow: 0 14px 34px rgba(30,42,47,.14); display: none; z-index: 60; }
.kc-menu .sub-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
.kc-menu li:hover > .sub-menu, .kc-menu li:focus-within > .sub-menu { display: block; }
.kc-menu .sub-menu a { padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.kc-menu .sub-menu a:hover { background: var(--kc-seaglass); color: var(--kc-teal-dark); }
.kc-menu .sub-menu .menu-item-has-children > a::after { display: none; }

@media (max-width: 980px) {
  .kc-nav-toggle { display: inline-flex; }
  .kc-contact-btn { display: none; }
  .kc-nav { display: none; }
  .kc-nav.is-open { display: block; }
  .kc-menu { flex-direction: column; gap: 0; padding-bottom: 8px; }
  .kc-menu > li { border-top: 1px solid var(--kc-line); }
  .kc-menu > li:first-child { border-top: 0; }
  .kc-menu a { padding: 14px 4px; }
  .kc-menu > li > a:hover, .kc-menu > .current-menu-item > a, .kc-menu > .current-menu-ancestor > a, .kc-menu > .current_page_parent > a { box-shadow: none; }
  .kc-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .kc-menu .menu-item-has-children > a::after { display: none; }
}

/* ============ Alert bar ============ */
.kc-alert { background: var(--kc-blush); color: var(--kc-blush-text); font-size: 15px; }
.kc-alert .kc-wrap { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.kc-alert a { color: var(--kc-blush-text); font-weight: 700; }
.kc-pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.kc-alert .kc-pill { background: var(--kc-red); color: #fff; }

/* ============ Hero slideshow ============ */
.kc-hero { position: relative; min-height: 600px; background: #2b5d66; overflow: hidden; display: flex; align-items: center; }
.kc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.kc-slide.is-active { opacity: 1; visibility: visible; }
.kc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.kc-hero-shade { position: absolute; inset: 0; background: rgba(16,30,35,.45); }
.kc-hero-inner { position: relative; width: 100%; padding-top: 80px; padding-bottom: 110px; text-align: center; color: #fff; }
.kc-hero-kicker { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #bfe3e6; }
.kc-hero h1 { color: #fff; margin: 14px auto 0; font-size: clamp(40px, 6.5vw, 64px); max-width: 860px; }
.kc-hero-search { margin: 36px auto 0; max-width: 680px; display: flex; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.kc-hero-search input[type=search] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 22px; font: inherit; font-size: 18px; color: var(--kc-charcoal); height: 52px; }
.kc-hero-search button { min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--kc-teal); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.kc-hero-search button:hover { background: var(--kc-teal-dark); }
.kc-popular { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; font-size: 15px; }
.kc-popular ul { list-style: none; margin: 0; padding: 0; display: contents; }
.kc-popular li { list-style: none; }
.kc-popular a { display: inline-block; color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.85); border-radius: 999px; padding: 8px 16px; }
.kc-popular a:hover { background: #fff; color: var(--kc-charcoal); }
.kc-hero-bar { position: absolute; left: 0; right: 0; bottom: 0; }
.kc-hero-bar .kc-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-bottom: 18px; color: #fff; font-size: 14px; }
.kc-hero-controls { display: flex; align-items: center; gap: 6px; }
.kc-hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.kc-hero-arrow:hover { background: rgba(255,255,255,.15); }
.kc-dots { display: flex; }
.kc-dot { width: 28px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kc-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; }
.kc-dot.is-active::after { background: #fff; }
@media (prefers-reduced-motion: reduce) { .kc-slide { transition: none; } }
@media (max-width: 600px) { .kc-topbar-intro { display: none; } .kc-hero-inner { padding-bottom: 150px; } .kc-hero { min-height: 560px; } .kc-hero-search input[type=search] { font-size: 16px; padding: 0 14px; } .kc-hero-search button { padding: 0 18px; } }

/* ============ Sections ============ */
.kc-section { padding-top: 72px; padding-bottom: 24px; }
.kc-section > .kc-wrap > h2:first-child, .kc-section-title { margin-top: 0; font-size: clamp(28px, 3.5vw, 36px); }

/* I want to… */
.kc-tasks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.kc-tasks a { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--kc-line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--kc-charcoal); font-weight: 700; font-size: 16px; height: 100%; }
.kc-tasks a::before { content: ""; flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--kc-seaglass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230f6e78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center no-repeat; }
.kc-tasks a:hover { background: var(--kc-seaglass); border-color: var(--kc-teal); color: var(--kc-charcoal); }

/* Pathways */
.kc-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-top: 56px; padding-bottom: 56px; }
.kc-path { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--kc-line); text-decoration: none; color: var(--kc-charcoal); transition: box-shadow .15s; }
.kc-path:hover { box-shadow: 0 10px 28px rgba(30,42,47,.14); color: var(--kc-charcoal); }
.kc-path-img { height: 170px; background: #2b5d66; }
.kc-path-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-path-body { padding: 20px 22px 22px; }
.kc-path-title { display: block; font-family: var(--kc-head); font-size: 22px; font-weight: 800; }
.kc-path-text { display: block; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--kc-slate); }
.kc-path-more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--kc-teal); }

/* News + sidebar band */
.kc-band { background: var(--kc-fog); border-top: 1px solid var(--kc-line); }
.kc-split { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.kc-split-main { flex: 3 1 520px; min-width: 0; }
.kc-split-side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kc-head-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; }
.kc-head-row h2 { margin: 0; }
.kc-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.kc-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--kc-charcoal); background: #fff; border: 1.5px solid var(--kc-line-strong); }
.kc-chips a.is-current, .kc-chips a:hover { background: var(--kc-charcoal); border-color: var(--kc-charcoal); color: #fff; }
.kc-feed { margin-top: 22px; background: #fff; border: 1px solid var(--kc-line); border-radius: 16px; }
.kc-feed-item { display: flex; gap: 18px; padding: 20px 22px; border-top: 1px solid var(--kc-line); text-decoration: none; color: var(--kc-charcoal); }
.kc-feed-item:first-child { border-top: 0; }
.kc-feed-item:hover { background: #fafcfc; color: var(--kc-charcoal); }
.kc-feed-date { flex: 0 0 120px; font-size: 14px; color: var(--kc-slate); }
.kc-feed-title { display: block; margin-top: 4px; font-weight: 700; font-size: 17px; }
.kc-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--kc-seaglass); color: var(--kc-teal-dark); }
.kc-tag-public-notices, .kc-tag-public-notice, .kc-tag-notices { background: var(--kc-blush); color: #8a2a1f; }
.kc-tag-jobs, .kc-tag-job-postings, .kc-tag-job-posting { background: #f5efd9; color: #5b4a00; }
.kc-tag-press-releases, .kc-tag-press-release { background: #eceff1; color: var(--kc-body); }
@media (max-width: 600px) { .kc-feed-item { flex-direction: column; gap: 4px; } .kc-feed-date { flex: none; } }

.kc-card { background: #fff; border: 1px solid var(--kc-line); border-radius: 16px; padding: 24px; }
.kc-card h2, .kc-card h3 { margin-top: 0; font-size: 22px; }
.kc-events { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kc-event { display: flex; gap: 14px; align-items: center; }
.kc-date { flex: 0 0 58px; height: 58px; border-radius: 12px; background: var(--kc-seaglass); color: var(--kc-teal-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; line-height: 1.1; }
.kc-event:first-child .kc-date { background: var(--kc-teal); color: #fff; }
.kc-date small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.kc-date span { font-size: 22px; }
.kc-event-title { display: block; font-weight: 700; color: var(--kc-charcoal); text-decoration: none; }
.kc-event-meta { font-size: 14px; color: var(--kc-slate); }

.kc-subscribe { background: var(--kc-deep); color: #fff; border-radius: 16px; padding: 24px; }
.kc-subscribe h2, .kc-subscribe h3 { color: #fff; margin-top: 0; font-size: 22px; }
.kc-subscribe p { color: #cfe5e8; font-size: 15px; }
.kc-subscribe input[type=email], .kc-subscribe input[type=text] { width: 100%; height: 48px; border: 0; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; }
.kc-subscribe button, .kc-subscribe input[type=submit], .kc-subscribe .wp-block-button__link { margin-top: 10px; width: 100%; height: 48px; border: 0; border-radius: 10px; background: var(--kc-red); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.kc-subscribe a { color: #fff; }
.kc-subscribe label { color: #fff; font-weight: 700; font-size: 14px; }

/* ============ Page banner & interior ============ */
.kc-banner { position: relative; background: #24515a; overflow: hidden; color: #fff; }
.kc-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.kc-banner .kc-hero-shade { background: rgba(16,30,35,.5); }
.kc-banner .kc-wrap { position: relative; padding-top: 40px; padding-bottom: 56px; }
.kc-banner h1 { color: #fff; margin: 16px 0 0; }
.kc-banner-lead { margin: 14px 0 0; font-size: 19px; line-height: 1.55; max-width: 680px; color: #e3f0f1; }
.kc-banner.is-plain { background: var(--kc-fog); color: var(--kc-charcoal); border-bottom: 1px solid var(--kc-line); }
.kc-banner.is-plain h1 { color: var(--kc-charcoal); }
.kc-banner.is-plain .kc-banner-lead { color: var(--kc-body); }
.kc-crumbs { font-size: 14px; color: #cfe5e8; }
.kc-crumbs a { color: #fff; }
.kc-banner.is-plain .kc-crumbs { color: var(--kc-slate); }
.kc-banner.is-plain .kc-crumbs a { color: var(--kc-teal); }

.kc-layout { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 48px; padding-bottom: 72px; }
.kc-main { flex: 999 1 560px; min-width: 0; }
.kc-aside { flex: 1 1 260px; max-width: 320px; min-width: 230px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 860px) { .kc-aside { max-width: none; } }
.kc-sidenav { border: 1px solid var(--kc-line); border-radius: 16px; padding: 8px; }
.kc-sidenav-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kc-slate); padding: 10px 12px 6px; }
.kc-sidenav ul { list-style: none; margin: 0; padding: 0; }
.kc-sidenav ul ul { padding-left: 16px; }
.kc-sidenav a { display: block; padding: 11px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--kc-charcoal); }
.kc-sidenav ul ul a { font-weight: 500; font-size: 15px; color: var(--kc-slate); padding: 9px 12px; }
.kc-sidenav a:hover { background: var(--kc-seaglass); color: var(--kc-teal-dark); }
.kc-sidenav .current_page_item > a { background: var(--kc-teal); color: #fff; font-weight: 700; }
.kc-help { background: var(--kc-deep); color: #fff; border-radius: 16px; padding: 22px; }
.kc-help-title { font-family: var(--kc-head); font-size: 20px; font-weight: 800; }
.kc-help-big { font-size: 40px; font-weight: 800; line-height: 1.2; }
.kc-help small { display: block; margin-top: 12px; font-size: 14px; color: #cfe5e8; }
.kc-help a { color: #fff; font-size: 19px; font-weight: 700; }

/* Content typography (block editor output) */
.kc-content > *:first-child { margin-top: 0; }
.kc-content h2 { font-size: 30px; }
.kc-content h3 { font-size: 22px; }
.kc-content ul, .kc-content ol { padding-left: 1.3em; }
.kc-content li { margin-bottom: .4em; }
.kc-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--kc-line); border-radius: 12px; overflow: hidden; }
.kc-content th, .kc-content td { padding: 12px 16px; border-bottom: 1px solid var(--kc-line); text-align: left; }
.kc-content th { background: var(--kc-fog); }
.kc-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--kc-teal); color: var(--kc-body); }
.kc-content img { border-radius: 12px; }
.kc-content .wp-block-file a:not(.wp-block-file__button) { font-weight: 700; }
.kc-content .wp-block-file__button { background: var(--kc-teal); color: #fff; border-radius: 999px; padding: 8px 16px; text-decoration: none; }
.kc-content .alignwide { max-width: none; }
.kc-content .wp-block-image figcaption { font-size: 14px; color: var(--kc-slate); }

/* ============ News archive ============ */
.kc-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.kc-list-item { display: flex; flex-wrap: wrap; gap: 18px; border: 1.5px solid var(--kc-line); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--kc-charcoal); }
.kc-list-item:hover { border-color: var(--kc-teal); color: var(--kc-charcoal); }
.kc-list-thumb { flex: 0 0 180px; height: 120px; border-radius: 12px; overflow: hidden; background: #2b5d66; }
.kc-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-list-body { flex: 1 1 300px; min-width: 0; padding: 4px 0; }
.kc-list-title { display: block; margin-top: 8px; font-family: var(--kc-head); font-weight: 800; font-size: 20px; line-height: 1.3; }
.kc-list-excerpt { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--kc-slate); }
.kc-meta-date { font-size: 14px; color: var(--kc-slate); margin-left: 10px; }
.kc-pagination { margin-top: 28px; }
.kc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.kc-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--kc-line); color: var(--kc-charcoal); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.kc-pagination .page-numbers.current { background: var(--kc-charcoal); border-color: var(--kc-charcoal); color: #fff; }
.kc-search-inline { display: flex; align-items: center; border: 1.5px solid var(--kc-line-strong); border-radius: 999px; padding: 0 6px 0 16px; height: 44px; background: #fff; }
.kc-search-inline input[type=search] { border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; width: 180px; }
.kc-search-inline button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--kc-teal); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }

/* Single post */
.kc-post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.kc-featured { margin: 0 0 28px; border-radius: 16px; overflow: hidden; }
.kc-featured img { width: 100%; display: block; }
.kc-postnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--kc-line); }

/* ============ Footer ============ */
.kc-footer { background: var(--kc-deep); color: #cfe5e8; font-size: 15px; line-height: 1.7; }
.kc-footer a { color: #fff; }
.kc-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.kc-footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 16px; margin-bottom: 14px; }
.kc-footer-logo img { max-height: 56px; width: auto; display: block; }
.kc-footer-title { font-family: var(--kc-head); font-weight: 800; color: #fff; margin-bottom: 10px; }
.kc-footer ul { list-style: none; margin: 0; padding: 0; }
.kc-footer ul a { color: #cfe5e8; text-decoration: none; }
.kc-footer ul a:hover { color: #fff; text-decoration: underline; }
.kc-fb { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #fff; color: var(--kc-deep) !important; border-radius: 999px; font-weight: 700; text-decoration: none; }
.kc-footer-bottom { border-top: 1px solid #1d5a63; }
.kc-footer-bottom .kc-wrap { padding-top: 16px; padding-bottom: 16px; font-size: 14px; color: #a9c9cd; }
.kc-footer .widget { margin-bottom: 16px; }
.kc-footer .widget-title { font-family: var(--kc-head); font-weight: 800; color: #fff; font-size: 16px; margin: 0 0 10px; }

/* 404 / empty */
.kc-empty { padding: 40px; border: 1.5px dashed var(--kc-line-strong); border-radius: 16px; text-align: center; color: var(--kc-slate); }
