/* Extracted from templates/xiaokaopian/header.php inline <style>.
   Keep rules cacheable across pages. */

.xkp-pager { margin: 28px 0; text-align: center; font-family: Montserrat-SemiBold, sans-serif; }
.xkp-pager a, .xkp-pager span { display: inline-block; padding: 8px 14px; margin: 4px; border-radius: 8px; background: rgba(255,255,255,.85); color: #70554f; }
.xkp-pager a:hover { opacity: .9; }
.xkp-legal .gp-legal-prose, .xkp-legal .rich-content { line-height: 1.75; color: #5c4a45; font-size: 15px; }
.xkp-legal .gp-legal-prose p, .xkp-legal .rich-content p { margin: 0 0 14px; }
.xkp-legal .gp-legal-prose a, .xkp-legal .rich-content a { color: #3d7a9c; text-decoration: underline; text-underline-offset: 2px; }
.xkp-legal .gp-legal-prose h2, .xkp-legal .rich-content h2,
.xkp-legal .gp-legal-prose h3, .xkp-legal .rich-content h3 {
  color: #70554f;
  font-weight: 700;
  margin: 1.35em 0 0.55em;
  line-height: 1.3;
}
.xkp-legal .gp-legal-prose h2, .xkp-legal .rich-content h2 { font-size: 1.2rem; }
.xkp-legal .gp-legal-prose h3, .xkp-legal .rich-content h3 { font-size: 1.05rem; }
.xkp-legal .gp-legal-prose ul, .xkp-legal .rich-content ul,
.xkp-legal .gp-legal-prose ol, .xkp-legal .rich-content ol { margin: 0 0 14px 1.1em; padding: 0; }
.xkp-legal .gp-legal-prose li, .xkp-legal .rich-content li { margin-bottom: 6px; }
.xkp-legal .gp-legal-table, .xkp-legal .rich-content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.xkp-legal .gp-legal-table th, .xkp-legal .gp-legal-table td,
.xkp-legal .rich-content table th, .xkp-legal .rich-content table td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
}
.xkp-legal .gp-legal-table th, .xkp-legal .rich-content table th { background: #f4f7fb; color: #70554f; }

/* Main spacing */
.xkp-shell .container.main.xkp-page-main { padding-top: 32px; padding-bottom: 28px; }
@media screen and (max-width: 1024px) {
  .xkp-shell .container.main.xkp-page-main { padding-top: 22px; }
}

/* Subject hero title */
.main .gameBox .describe-title.xkp-subject-hero { padding: 8px 0 16px; }
.main .gameBox .describe-title.xkp-subject-hero h1.category-title,
.main .gameBox .describe-title.xkp-subject-hero .xkp-cat-heading {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  line-height: 1.2;
  font-weight: 700;
}

/* Home/list headings */
.main .gameBox .describe-title:not(.xkp-subject-hero) h1.category-title .xkp-cat-heading,
.main .cateList .describe-title h1.category-title .xkp-cat-heading {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif;
  text-transform: none;
}

/* Category page: make category name larger */
.main .gameBox .describe-title h1.category-title .xkp-cat-heading {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
@media screen and (max-width: 767px) {
  .main .gameBox .describe-title h1.category-title .xkp-cat-heading {
    font-size: 20px;
  }
}

/* Dense grid */
.main .gameBox ul.gameList.xkp-dense-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 0;
  margin-bottom: 14px;
}
.main .gameBox ul.gameList.xkp-dense-grid > li {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
@media screen and (max-width: 1024px) {
  .main .gameBox ul.gameList.xkp-dense-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px 14px;
  }
}
@media screen and (max-width: 767px) {
  .main .gameBox ul.gameList.xkp-dense-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
  }
}

/* Home SEO */
.main .cateList .xkp-home-seo { margin-top: 32px; padding: 0 0 12px; max-width: none; width: 100%; box-sizing: border-box; }
.xkp-home-seo__title { margin: 0 0 14px; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: #70554f; font-weight: 700; font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif; }
.xkp-home-seo__body { font-size: 15px; line-height: 1.75; color: #5c4a45; }
.xkp-home-seo__body p { margin: 0 0 14px; }
.xkp-home-seo__body p:last-child { margin-bottom: 0; }

/* Legal pages */
.xkp-legal-page .xkp-legal-hero { text-align: center; max-width: 860px; margin: 0 auto 8px; }
.xkp-legal-page .xkp-legal-title { margin: 0; font-size: clamp(1.35rem, 3vw, 1.85rem); color: #70554f; font-weight: 700; letter-spacing: -0.02em; font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif; }
.xkp-legal-page .xkp-legal-lead { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: #967a72; }
.xkp-legal-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 22px 0 26px; padding: 0 8px; }
.xkp-legal-tab { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: #70554f; background: rgba(255, 255, 255, 0.75); border: 2px solid rgba(255, 255, 255, 0.95); box-shadow: 0 2px 12px rgba(112, 85, 79, 0.08); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease; }
.xkp-legal-tab:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(112, 85, 79, 0.12); color: #50a684; }
.xkp-legal-tab.is-active { color: #fff; background: linear-gradient(145deg, #5bb892 0%, #50a684 52%, #3d8f6c 100%); border-color: transparent; box-shadow: 0 3px 14px rgba(80, 166, 132, 0.4); }
.xkp-legal-tab.is-active:hover { color: #fff; transform: translateY(-1px); }
.xkp-legal-card { max-width: 1200px; width: 100%; margin: 0 auto; background: rgba(255, 255, 255, 0.94); border-radius: 20px; padding: 28px 28px 36px; box-shadow: 0 4px 28px rgba(112, 85, 79, 0.1); border: 1px solid rgba(255, 255, 255, 0.9); box-sizing: border-box; }
@media screen and (min-width: 768px) { .xkp-legal-card { padding: 36px 44px 44px; } }

/* Categories */
.main .cateList .categorieslist > li > a { text-decoration: none; color: inherit; }
.main .cateList .categorieslist > li > a:hover > dl > dt { text-decoration: none; color: #5a7a9a; }
.main .cateList .categorieslist.xkp-categorieslist--textonly > li > a > dl { width: 100%; padding: 0 16px 0 20px; }

/* Header tweaks */
header .container { min-height: 64px; height: auto; padding-top: 6px; padding-bottom: 6px; }
header .container .headL .logo { width: auto; max-width: min(340px, 40vw); height: auto; min-height: 44px; display: flex; align-items: center; }
header .container .headL .logo > img { height: auto; max-height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.xkp-logo-text { font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.15; color: #70554f; letter-spacing: -0.02em; font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif; }
@media screen and (min-width: 1025px) {
  header .container .headL .logo { max-width: none; flex-shrink: 0; }
  .xkp-logo-text { white-space: nowrap; }
}

/* Search form structure */
header .container .searchBtn { width: min(380px, 34vw); height: auto; overflow: visible; }
header .container .searchBtn form.xkp-search-form { display: flex; align-items: center; flex: 1; width: 100%; min-height: 46px; padding: 4px 6px 4px 18px; background: #fff; border: 2px solid rgba(255, 255, 255, 0.98); border-radius: 999px; box-shadow: 0 2px 18px rgba(112, 85, 79, 0.12); gap: 8px; box-sizing: border-box; }
header .container .searchBtn form.xkp-search-form input[type="text"] { flex: 1; min-width: 0; border: none; background: transparent; padding: 10px 6px 10px 0; font-size: 15px; line-height: 1.35; color: #70554f; outline: none; -webkit-text-fill-color: #70554f; }
header .container .searchBtn form.xkp-search-form input::placeholder { color: #a89895; opacity: 1; }
header .container .searchBtn form.xkp-search-form button.searchB { position: static; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: none; border-radius: 50%; background: linear-gradient(145deg, #5bb892 0%, #50a684 50%, #3d8f6c 100%); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; box-shadow: 0 2px 10px rgba(80, 166, 132, 0.4); }
header .container .searchBtn form.xkp-search-form button.searchB:hover { transform: scale(1.06); }
header .container .searchBtn form.xkp-search-form button.searchB .iconfont { font-size: 18px; color: #fff; }

/* Sidebar search same style */
.categoryBox .box .searchBtn { height: auto; overflow: visible; }
.categoryBox .box .searchBtn form.xkp-search-form { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 4px 6px 4px 16px; background: #fff; border-radius: 999px; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12); gap: 8px; box-sizing: border-box; margin-top: 0; }
.categoryBox .box .searchBtn form.xkp-search-form input[type="text"] { flex: 1; min-width: 0; border: none; background: transparent; padding: 10px 4px 10px 0; font-size: 15px; color: #70554f; outline: none; -webkit-text-fill-color: #70554f; }
.categoryBox .box .searchBtn form.xkp-search-form input::placeholder { color: #a89895; }
.categoryBox .box .searchBtn form.xkp-search-form button.searchB { position: static; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: linear-gradient(145deg, #5bb892 0%, #50a684 50%, #3d8f6c 100%); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.categoryBox .box .searchBtn form.xkp-search-form button.searchB .iconfont { font-size: 18px; color: #fff; }

/* Mobile sidebar layer */
.xkp-shell .categoryBox { z-index: 5000; }
.xkp-shell .categoryBox .box { z-index: 5001; width: min(300px, 86vw); max-width: 90vw; padding: 18px 16px 28px; border-radius: 0 0 0 16px; box-shadow: -10px 0 36px rgba(0, 0, 0, 0.2); }
.xkp-shell .categoryBox .box .searchBtn { margin-top: 10px; }
.xkp-shell .categoryBox .box > nav > a { font-size: 14px; margin-top: 22px; }
body.xkp-menu-open { overflow: hidden; touch-action: none; }

/* Mobile footer */
@media screen and (max-width: 767px) {
  footer.xkp-footer .container { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 22px 14px 28px; gap: 16px; }
  footer.xkp-footer .container > nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; width: 100%; }
  footer.xkp-footer .container > nav > a { margin-left: 0 !important; white-space: nowrap; font-size: 14px; line-height: 1.45; }
  footer.xkp-footer .container > p { text-align: center; margin: 0; font-size: 13px; line-height: 1.65; color: #70554f; padding: 0 4px; }
  footer.xkp-footer .container > img { align-self: center; margin: 0 auto; }
}

/* Play page overrides (safe on non-play pages due to body class) */
body.xkp-body-play header .container { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; margin-top: 0 !important; gap: 8px; }
body.xkp-body-play header .container .headL { min-width: 0; flex: 1 1 auto; }
body.xkp-body-play header .container .searchBtn { flex: 0 1 auto; min-width: 0; width: min(380px, 34vw) !important; max-width: min(380px, 34vw); }
@media screen and (min-width: 1025px) and (max-width: 1199px) { body.xkp-body-play header .container .headL > nav > a + a { margin-left: 12px; } }
@media screen and (min-width: 1200px) { body.xkp-body-play header .container .headL > nav > a + a { margin-left: clamp(10px, 1.5vw, 28px); } }
body.xkp-body-play .xkp-shell header .container,
body.xkp-body-play .xkp-shell footer .container,
body.xkp-body-play .xkp-shell .container.main { max-width: 1200px !important; width: calc(100% - 32px) !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
body.xkp-body-play .xkp-shell .container.main { display: block !important; flex-direction: column !important; flex-wrap: nowrap !important; margin-top: 0 !important; min-height: 0 !important; }
body.xkp-body-play .xkp-shell .container.main.xkp-play-related-wrap { padding-top: 12px !important; padding-bottom: 32px !important; }
body.xkp-body-play .xkp-play-page { padding-top: 8px; }
body.xkp-body-play .main.gameBox.xkp-play-gamebox { margin-bottom: 0; }
body.xkp-body-play .xkp-play-gamebox .xkp-play-hero { background: rgba(255, 255, 255, 0.78); border-radius: 20px; padding: 16px 16px 18px; box-shadow: 0 4px 28px rgba(112, 85, 79, 0.09); border: 1px solid rgba(255, 255, 255, 0.95); box-sizing: border-box; }
body.xkp-body-play .xkp-play-gamebox .xkp-play-meta.xkp-play-meta--card { margin-top: 18px !important; padding: 20px 22px 24px !important; background: rgba(255, 255, 255, 0.65); border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.92); box-shadow: 0 2px 20px rgba(112, 85, 79, 0.07); box-sizing: border-box; }
body.xkp-body-play .xkp-play-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
body.xkp-body-play .xkp-play-back { flex-shrink: 0; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #70554f; background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 2px 12px rgba(112, 85, 79, 0.1); text-decoration: none; transition: color 0.15s ease, box-shadow 0.15s ease; }
body.xkp-body-play .xkp-play-back:hover { color: #50a684; box-shadow: 0 3px 16px rgba(80, 166, 132, 0.2); }
body.xkp-body-play .xkp-play-toolbar-title { flex: 1; min-width: 120px; font-weight: 700; font-size: clamp(0.9rem, 2.5vw, 1.05rem); color: #70554f; line-height: 1.25; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
body.xkp-body-play .xkp-play-fs { flex-shrink: 0; padding: 8px 16px; border: none; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; cursor: pointer; background: linear-gradient(145deg, #5bb892 0%, #50a684 50%, #3d8f6c 100%); box-shadow: 0 2px 10px rgba(80, 166, 132, 0.35); font-family: Montserrat-SemiBold, system-ui, sans-serif; }
body.xkp-body-play .xkp-play-fs:hover { filter: brightness(1.03); }
body.xkp-body-play .xkp-play-stage.play_iframe { position: relative !important; width: 100%; max-width: 100%; margin: 0 !important; height: auto !important; aspect-ratio: 16 / 9; min-height: 220px; background: #12161c; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(8, 25, 45, 0.18); }
body.xkp-body-play .xkp-play-stage.play_iframe > iframe { position: absolute !important; left: 0; top: 0; width: 100% !important; height: 100% !important; min-width: 100% !important; min-height: 100% !important; border: 0 !important; display: block; }
body.xkp-body-play .xkp-play-meta.definemodule { margin: 22px 0 8px !important; color: #5c4a45 !important; max-width: 100%; box-sizing: border-box; }
body.xkp-body-play .xkp-play-meta.definemodule:not(.xkp-play-meta--card) { padding: 0 !important; }
body.xkp-body-play .xkp-play-meta.definemodule h2.xkp-play-title { margin: 0 0 12px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); font-weight: 700; color: #70554f; font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif; text-transform: none; }
body.xkp-body-play .xkp-play-meta.definemodule .des { line-height: 1.65 !important; font-size: 15px !important; font-weight: 400 !important; color: #5c4a45 !important; margin: 0 0 10px !important; }
body.xkp-body-play .xkp-play-meta.definemodule .xkp-play-tags { margin-top: 12px; font-size: 14px; color: #70554f; }

/* Comments */
body.xkp-body-play .gp-virtual-comments { margin-top: 16px; padding: 18px 18px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.92); box-shadow: 0 2px 18px rgba(112, 85, 79, 0.06); color: #5c4a45; box-sizing: border-box; }
body.xkp-body-play .gp-vc-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #70554f; font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif; text-transform: none; }
body.xkp-body-play .gp-vc-disclaimer { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: rgba(112, 85, 79, 0.78); }
body.xkp-body-play .gp-vc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
body.xkp-body-play .gp-vc-item { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.96); box-shadow: 0 2px 12px rgba(112, 85, 79, 0.06); transition: transform 0.15s ease, box-shadow 0.15s ease; }
body.xkp-body-play .gp-vc-item:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(112, 85, 79, 0.1); }
body.xkp-body-play .gp-vc-avatar { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
body.xkp-body-play .gp-vc-body { min-width: 0; flex: 1 1 auto; }
body.xkp-body-play .gp-vc-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
body.xkp-body-play .gp-vc-name { font-weight: 700; font-size: 13px; color: #70554f; }
body.xkp-body-play .gp-vc-time { font-size: 12px; color: rgba(112, 85, 79, 0.7); white-space: nowrap; }
body.xkp-body-play .gp-vc-text { margin: 0; font-size: 13px; line-height: 1.55; color: #5c4a45; }
@media screen and (max-width: 767px) {
  body.xkp-body-play .gp-vc-item { padding: 11px 12px; gap: 10px; border-radius: 12px; box-shadow: 0 1px 10px rgba(112, 85, 79, 0.06); }
  body.xkp-body-play .gp-vc-item:hover { transform: none; box-shadow: 0 1px 10px rgba(112, 85, 79, 0.06); }
  body.xkp-body-play .gp-vc-avatar { width: 32px; height: 32px; font-size: 13px; }
  body.xkp-body-play .gp-vc-meta { gap: 8px; margin-bottom: 4px; }
  body.xkp-body-play .gp-vc-text { font-size: 13px; line-height: 1.5; text-align: left; word-break: break-word; overflow-wrap: anywhere; }
  body.xkp-body-play .gp-vc-disclaimer { font-size: 12.5px; }
}

body.xkp-body-play .xkp-play-comments-inner.gameBox { padding: 22px 20px 18px; background: rgba(255, 255, 255, 0.82); border-radius: 20px; box-shadow: 0 4px 28px rgba(112, 85, 79, 0.1); border: 1px solid rgba(255, 255, 255, 0.95); box-sizing: border-box; }

/* Related */
body.xkp-body-play .xkp-play-related-inner.gameBox { padding: 22px 20px 26px; background: rgba(255, 255, 255, 0.82); border-radius: 20px; box-shadow: 0 4px 28px rgba(112, 85, 79, 0.1); border: 1px solid rgba(255, 255, 255, 0.95); box-sizing: border-box; }
body.xkp-body-play .xkp-play-related-inner .describe-title.xkp-play-related-heading { padding: 4px 2px 14px; margin-bottom: 6px; border-bottom: 2px solid rgba(241, 64, 123, 0.2); }
body.xkp-body-play .xkp-play-related-inner .describe-title.xkp-play-related-heading h1.category-title { font-size: 18px; line-height: 1.3; font-weight: 700; color: #f1407b; margin: 0; }
body.xkp-body-play .xkp-play-related-inner .describe-title.xkp-play-related-heading .xkp-cat-heading { font-size: 18px; line-height: 1.3; font-weight: 700; font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif; color: #f1407b; text-transform: none; }
body.xkp-body-play .xkp-play-related-inner ul.gameList.xkp-dense-grid { margin-top: 8px; margin-bottom: 0; }

/* News pages */
.xkp-news-page,
.xkp-news-article-page { padding-top: 24px; padding-bottom: 30px; }
.xkp-news-hero { margin-bottom: 16px; }
.xkp-news-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8e7b75; margin-bottom: 12px; flex-wrap: wrap; }
.xkp-news-breadcrumb a { color: #5b9980; text-decoration: none; }
.xkp-news-breadcrumb a:hover { text-decoration: underline; }
.xkp-news-title { margin: 0; color: #70554f; font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.05rem); line-height: 1.2; letter-spacing: -0.01em; font-family: Montserrat-Bold, Montserrat-SemiBold, system-ui, sans-serif; text-transform: none; }
.xkp-news-lead { margin: 10px 0 0; color: #8e7b75; font-size: 14px; line-height: 1.6; }
.xkp-news-empty { margin-top: 10px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95); color: #70554f; }
.xkp-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xkp-news-card { min-width: 0; }
.xkp-news-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 18px rgba(112, 85, 79, 0.08); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.xkp-news-card__link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(112, 85, 79, 0.12); }
.xkp-news-card__cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #efe5e2; }
.xkp-news-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.xkp-news-card__date { font-size: 12px; color: #9b8781; line-height: 1.2; }
.xkp-news-card__title { margin: 0; font-size: 16px; line-height: 1.35; color: #70554f; font-weight: 700; text-transform: none; }
.xkp-news-card__excerpt { margin: 0; font-size: 13px; line-height: 1.55; color: #6e5b56; }
.xkp-news-card__more { margin-top: auto; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: #50a684; }

.xkp-news-article-card { max-width: 1200px; margin: 0 auto; padding: 22px 22px 26px; background: rgba(255, 255, 255, 0.9); border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 4px 24px rgba(112, 85, 79, 0.1); }
.xkp-news-article-title { margin: 0; color: #70554f; font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.95rem); line-height: 1.25; text-transform: none; }
.xkp-news-article-meta { margin: 10px 0 0; color: #9b8781; font-size: 13px; }
.xkp-news-article-cover-wrap { margin-top: 14px; }
.xkp-news-article-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; display: block; }
.xkp-news-article-excerpt { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: #6e5b56; font-weight: 500; }
.xkp-news-prose { margin-top: 16px; color: #5c4a45; font-size: 15px; line-height: 1.8; }
.xkp-news-prose p { margin: 0 0 14px; }
.xkp-news-prose h2, .xkp-news-prose h3 { margin: 1.2em 0 0.55em; color: #70554f; text-transform: none; }
.xkp-news-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.xkp-news-prose a { color: #3d7a9c; text-decoration: underline; text-underline-offset: 2px; }
.xkp-news-back-wrap { margin: 16px 0 0; }
.xkp-news-back-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #5b9980; font-weight: 700; }
.xkp-news-back-link:hover { text-decoration: underline; }

.xkp-news-related { margin-top: 18px; }
.xkp-news-related-title { margin: 0 0 12px; font-size: clamp(1.08rem, 2.1vw, 1.25rem); color: #70554f; font-weight: 700; text-transform: none; }
.xkp-news-grid.xkp-news-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xkp-news-grid--related .xkp-news-card__body { min-height: 110px; }
.xkp-news-grid--related .xkp-news-card__title { font-size: 14px; }
.xkp-news-grid--related .xkp-news-card__cover { aspect-ratio: 4/3; }

@media screen and (max-width: 1024px) {
  .xkp-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xkp-news-grid.xkp-news-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .xkp-news-page,
  .xkp-news-article-page { padding-top: 16px; padding-bottom: 20px; }
  .xkp-news-grid,
  .xkp-news-grid.xkp-news-grid--related { grid-template-columns: 1fr; gap: 12px; }
  .xkp-news-card__body { min-height: 0; }
  .xkp-news-article-card { padding: 16px 14px 18px; border-radius: 14px; }
  .xkp-news-article-excerpt { font-size: 15px; }
  .xkp-news-prose { font-size: 14px; line-height: 1.72; }
}

