/*
Theme Name: wkp88-child
Template: generatepress
Version: 1.0.0
*/
:root {
  --kp88-pri: #ff5f3f;
  --kp88-pri-hv: #dd3333;
  --kp88-sec: #dd9933;
  --kp88-succ: #8ed643;
  --kp88-alert: #e73c3f;
  --kp88-bg: #242424;
  --kp88-card: #1b1b1b;
  --kp88-hdr: rgba(255, 255, 255, 0.96);
  --kp88-nav: #f1f1f1;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--kp88-bg); color: #f3f4f6;
  font-family: "Be Vietnam Pro", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip; line-height: 1.72;
}
.site-header, .main-navigation, .site-footer, .page-header-image, .featured-image.page-header-image,
.entry-header, .inside-header, #right-sidebar, .sidebar, .widget-area,
footer.entry-meta, .entry-meta, .post-navigation, .post-navigation .nav-links, .comments-area, #comments {
  display: none !important;
}
#page, .site, .site-content, .site-main, .content-area, .inside-article, .separate-containers .inside-article, .one-container .site-content, .entry-content {
  background: transparent !important; padding: 0 !important; margin: 0 !important;
  max-width: 100% !important; width: 100% !important; float: none !important;
  border: none !important; box-shadow: none !important; display: block !important;
}

/* 2-Tier Light Sticky Header matching tr.marsgirisgercek.com */
.kp88-hdr {
  position: sticky; top: 0; z-index: 999; width: 100%;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}
.kp88-hdr-top {
  background: var(--kp88-hdr); backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.kp88-hdr-top-in {
  max-width: 1250px; margin: 0 auto; padding: 12px 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.kp88-hdr-left { display: flex; align-items: center; }
.kp88-logo { display: flex; justify-content: center; align-items: center; text-decoration: none; }
.kp88-logo img { height: 54px; width: auto; max-width: 210px; display: block; object-fit: contain; }
.kp88-ctas { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; }

@keyframes kp88-fire {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.15); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}
.kp88-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; border-radius: 10px; color: #ffffff !important; font-weight: 800; font-size: 13px;
  text-decoration: none !important; text-transform: uppercase; white-space: nowrap; z-index: 1;
  box-shadow: 0 3px 8px rgba(0,0,0,.18); transition: transform .15s;
}
.kp88-btn:hover { transform: translateY(-1px); }
.kp88-btn::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%;
  background: conic-gradient(#ff0000, #ff7700, #ffea00, #ff0000);
  transform: translate(-50%, -50%); animation: kp88-fire 2.2s linear infinite; z-index: -2; filter: blur(2px);
}
.kp88-btn::after {
  content: ""; position: absolute; inset: 3px; border-radius: 7px; z-index: -1;
}
.kp88-btn-reg::after { background: var(--kp88-alert); }
.kp88-btn-log::after { background: var(--kp88-succ); }
.kp88-btn-log { text-shadow: 0 1px 2px rgba(0,0,0,.35); }

.kp88-burger {
  display: none; background: #ffffff; border: 1.5px solid #d1d5db; color: #1f2937;
  font-size: 20px; line-height: 1; padding: 6px 11px; border-radius: 7px; cursor: pointer;
}

/* Tier 2 Light Nav Bar (#f1f1f1) with 11 Uppercase Items */
.kp88-hdr-nav { background: var(--kp88-nav); border-bottom: 1px solid #e2e8f0; }
.kp88-nav-in {
  max-width: 1250px; margin: 0 auto; padding: 0 14px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 18px; min-height: 40px;
}
.kp88-nav-in a {
  color: var(--kp88-pri); font-weight: 800; font-size: 13.5px; text-transform: uppercase;
  text-decoration: none; padding: 8px 4px; transition: color .15s; letter-spacing: .2px;
}
.kp88-nav-in a:hover { color: var(--kp88-pri-hv); }

/* Mobile Tier-2 CTA Bar (shown on <=768px like sample site) */
.kp88-mob-ctas {
  display: none; background: var(--kp88-nav); padding: 7px 10px;
  justify-content: center; align-items: center; gap: 10px; border-bottom: 1px solid #d1d5db;
}

/* Hero Banner (Full natural aspect ratio, ZERO vertical crop) & 2 Floating 3D CTAs */
.kp88-hero { width: 100%; max-width: 1400px; margin: 0 auto; }
.kp88-hero a { display: block; }
.kp88-hero img { width: 100%; height: auto; display: block; }

@keyframes kp88-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 0 #1b8a43, 0 10px 15px rgba(0,0,0,.3); }
  50% { transform: translateY(-4px); box-shadow: 0 10px 0 #1b8a43, 0 14px 20px rgba(0,0,0,.36); }
}
.kp88-cta-row {
  max-width: 1220px; margin: 16px auto 8px; padding: 0 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.kp88-nut-cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 13px 18px; border-radius: 10px; color: #ffffff !important; font-weight: 800;
  font-size: 14.5px; text-transform: uppercase; text-decoration: none !important;
  box-shadow: 0 6px 0 #1b8a43, 0 10px 15px rgba(0,0,0,.3);
  animation: kp88-float 2.2s infinite ease-in-out;
}
.kp88-nut-pri { background: var(--kp88-pri); }
.kp88-nut-alt { background: var(--kp88-pri-hv); }

/* Homepage Single Centered Column (10/12 of 1250px ~= 1040px) */
.kp88-home-wrap { max-width: 1060px; margin: 18px auto 38px; padding: 0 16px; }
.kp88-sec-title {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  text-align: center; color: #ffffff; font-size: 23px; font-weight: 800;
  text-transform: uppercase; line-height: 1.38; margin: 22px 0 18px;
}
.kp88-sec-title::before, .kp88-sec-title::after {
  content: ""; flex: 1; height: 2px; background: rgba(255, 255, 255, 0.16);
}

/* Collapsible White TOC matching sample #ez-toc-container */
.kp88-toc {
  background: #ffffff; color: #1f2937; border: 1px solid #d1d5db; border-radius: 8px;
  padding: 12px 18px; margin: 16px 0 22px; max-width: 560px;
}
.kp88-toc summary {
  font-weight: 700; color: #4b5563; cursor: pointer; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between;
}
.kp88-toc ol { margin: 10px 0 0 20px; padding: 0; }
.kp88-toc li { margin-bottom: 5px; font-size: 14.2px; color: #374151; }
.kp88-toc a { color: #2563eb !important; text-decoration: none !important; font-weight: 600; }
.kp88-toc a:hover { text-decoration: underline !important; }

/* App Download 2-Column Orange-Bordered Box matching sample */
.kp88-app-box {
  border: 2px solid rgb(255, 130, 0); border-radius: 20px; padding: 24px 26px;
  margin: 28px 0; background: #1e1e1e;
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: center;
}
.kp88-app-box h2 { color: #ffffff !important; margin-top: 0 !important; border: none !important; font-size: 22px; }
.kp88-app-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.kp88-app-badges a { display: block; transition: transform .15s; }
.kp88-app-badges a:hover { transform: translateY(-2px); }
.kp88-app-badges img { width: 100%; height: auto; display: block; border-radius: 10px; }
.kp88-app-mock { text-align: center; }
.kp88-app-mock img { width: 78%; max-width: 280px; height: auto; display: inline-block; }

/* FAQ Orange-Bordered Box on Dark BG */
.kp88-faq-box {
  border: 2px solid rgb(255, 130, 0); border-radius: 20px; padding: 22px 24px;
  margin: 26px 0; background: #1e1e1e;
}

/* Latest Posts 3-Column Section on Homepage & Category */
.kp88-latest-wrap { max-width: 1220px; margin: 10px auto 40px; padding: 0 16px; }
.kp88-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kp88-pcard {
  background: #1b1b1b; border: 1px solid rgba(255,255,255,.09); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; min-width: 0;
}
.kp88-pcard:hover { transform: translateY(-3px); border-color: var(--kp88-pri); }
.kp88-pcard-img { display: block; overflow: hidden; }
.kp88-pcard-img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.kp88-pcard-body { padding: 14px 15px 16px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.kp88-pcard-title { font-size: 15.5px; line-height: 1.42; margin: 0 0 8px; font-weight: 700; }
.kp88-pcard-title a { color: #ffffff !important; text-decoration: none !important; }
.kp88-pcard-title a:hover { color: var(--kp88-pri) !important; }
.kp88-divider { width: 34px; height: 2px; background: rgba(255,255,255,.22); margin: 4px auto 10px; }
.kp88-pcard p { font-size: 13.4px; color: #cbd5e1; margin: 0; line-height: 1.55; }

/* 2-Col (8 + 4) Layout for Category, Pillar & Single Post matching sample */
.kp88-2col {
  max-width: 1250px; margin: 24px auto 40px; padding: 0 16px;
  display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 30px; align-items: start;
}
.kp88-2col > * { min-width: 0; max-width: 100%; }
.kp88-side {
  border-left: 1px solid rgba(255,255,255,.12); padding-left: 22px; min-width: 0;
}
.kp88-side-title {
  font-size: 15.5px; font-weight: 800; color: #ffffff; text-transform: uppercase;
  margin: 0 0 14px; padding-bottom: 10px; position: relative;
}
.kp88-side-title::after {
  content: ""; display: block; width: 36px; height: 3px; background: rgba(255,255,255,.28); margin-top: 8px;
}
.kp88-sitem {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none !important;
}
.kp88-sitem img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: block; border: 1.5px solid rgba(255,95,63,.5); }
.kp88-sitem span { font-size: 13.8px; color: #f3f4f6; font-weight: 600; line-height: 1.42; }
.kp88-sitem:hover span { color: var(--kp88-pri); }

/* Article Dark Typography */
.kp88-bc { font-size: 13px; color: #cbd5e1; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .3px; }
.kp88-bc a { color: var(--kp88-pri) !important; text-decoration: none !important; font-weight: 700; }
.kp88-art h1 { font-size: 26px; line-height: 1.35; color: #ffffff; margin: 0 0 10px; font-weight: 800; }
.kp88-meta { font-size: 12.5px; color: #9ca3af; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.kp88-art h2 { font-size: 21px; line-height: 1.38; color: var(--kp88-pri); margin: 26px 0 12px; font-weight: 800; }
.kp88-art h3 { font-size: 17.5px; line-height: 1.42; color: #ffb088; margin: 18px 0 8px; font-weight: 700; }
.kp88-art p { margin: 0 0 14px; font-size: 15.8px; color: #e5e7eb; }
.kp88-art a { color: var(--kp88-pri); font-weight: 600; text-decoration: none; }
.kp88-art a:hover { color: #ff8c75; text-decoration: underline; }
.kp88-art ul, .kp88-art ol { margin: 0 0 16px 22px; color: #e5e7eb; }
.kp88-art li { margin-bottom: 7px; font-size: 15.5px; }
.kp88-art table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.6px; display: block; overflow-x: auto; }
.kp88-art th, .kp88-art td { border: 1px solid rgba(255,255,255,.16); padding: 10px 13px; text-align: left; color: #f3f4f6; }
.kp88-art th { background: #33221e; color: var(--kp88-pri); font-weight: 800; }
.kp88-art tr:nth-child(even) td { background: rgba(255,255,255,.03); }
article figure, .kp88-art figure { margin: 18px auto 22px !important; text-align: center !important; max-width: 800px; }
article figure img, .kp88-art figure img { width: 100%; height: auto; border-radius: 8px 8px 0 0; display: block !important; margin: 0 auto !important; }
.kp88-art figcaption { background: #171717; padding: 8px 12px; border-radius: 0 0 8px 8px; font-size: 13.5px; color: #cbd5e1; font-style: italic; border: 1px solid rgba(255,255,255,.08); border-top: none; }

/* Category Top Header Box (Clean dark replacement for broken sample .rut_gon) */
.kp88-cat-head {
  max-width: 1250px; margin: 22px auto 6px; padding: 0 16px;
}
.kp88-cat-desc {
  background: #1c1c1c; border: 1px solid rgba(255,95,63,.35); border-radius: 12px;
  padding: 16px 20px; color: #e5e7eb; font-size: 15px; margin-top: 10px;
}

/* Pagination (.page-numbers) */
.kp88-pagi { text-align: center; margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.kp88-pagi .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; border: 1.5px solid var(--kp88-pri); border-radius: 8px;
  color: #ffffff; background: #1b1b1b; text-decoration: none; font-weight: 700; font-size: 14px;
}
.kp88-pagi .page-numbers.current, .kp88-pagi .page-numbers:hover {
  background: var(--kp88-pri); color: #ffffff;
}

/* E-E-A-T Author Box (Nancy Trương) & 4 Related Posts */
.kp88-author {
  display: flex; align-items: center; gap: 16px; background: #1b1b1b;
  border: 1px solid rgba(255,255,255,.12); border-left: 4px solid var(--kp88-pri);
  border-radius: 10px; padding: 16px 18px; margin: 28px 0 24px;
}
.kp88-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #ff5f3f, #dd3333);
  color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kp88-author strong { display: block; font-size: 15.5px; color: #ffffff; margin-bottom: 4px; }
.kp88-author strong a { color: var(--kp88-pri) !important; text-decoration: none; }
.kp88-author p { margin: 0; font-size: 14px; color: #cbd5e1; }
.kp88-rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }

/* 4-Column Dark Footer (#242424) + Light Bottom Bar matching sample */
.kp88-ftr {
  background: #1e1e1e; border-top: 1px solid rgba(255,255,255,.1); color: #e5e7eb; padding: 36px 0 30px;
}
.kp88-ftr-in {
  max-width: 1250px; margin: 0 auto; padding: 0 18px;
  display: grid; grid-template-columns: 1.2fr 0.85fr 0.95fr 1.1fr; gap: 28px;
}
.kp88-ftr-logo { height: 52px; width: auto; display: block; margin-bottom: 12px; }
.kp88-ftr h3 {
  color: var(--kp88-pri); font-size: 16px; margin: 0 0 14px; text-transform: uppercase; font-weight: 800;
}
.kp88-ftr p { font-size: 14px; color: #d1d5db; line-height: 1.65; margin: 0 0 10px; }
.kp88-ftr ul { list-style: disc; margin: 0 0 0 18px; padding: 0; }
.kp88-ftr li { margin-bottom: 8px; font-size: 14px; color: #d1d5db; overflow-wrap: anywhere; }
.kp88-ftr li a { color: #f3f4f6; text-decoration: none; font-weight: 600; }
.kp88-ftr li a:hover { color: var(--kp88-pri); text-decoration: underline; }
.kp88-ftr-bot {
  background: #f1f1f1; color: #374151; text-align: center; padding: 14px 16px 96px; font-size: 13.5px;
}
.kp88-ftr-bot a { color: var(--kp88-pri-hv); font-weight: 700; text-decoration: none; margin-left: 8px; }

/* Sticky Bottom GIF (1170px PC 2-up / 100% Mobile 1-up) */
#b88-sticky {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1170px; max-width: 96vw; z-index: 9998; background: transparent; text-align: center;
}
#b88-sticky-close {
  position: absolute; top: -26px; right: 0; background: #dc2626; color: #fff;
  border: none; border-radius: 4px 4px 0 0; padding: 3px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.b88-st-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.b88-st-row a { display: block; }
.b88-st-row img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* Popup GIF 5m */
#b88-pop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 99999;
  align-items: center; justify-content: center; padding: 16px;
}
#b88-pop-box { position: relative; max-width: 520px; width: 100%; }
#b88-pop-close {
  position: absolute; top: -32px; right: 0; background: #dc2626; color: #fff;
  border: none; border-radius: 4px; padding: 4px 12px; font-weight: 700; cursor: pointer; font-size: 13px;
}
#b88-pop-box img { width: 100%; height: auto; border-radius: 10px; display: block; }

@media (max-width: 960px) {
  .kp88-2col { grid-template-columns: 1fr; }
  .kp88-side { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
  .kp88-app-box { grid-template-columns: 1fr; }
  .kp88-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp88-ftr-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .kp88-hdr-top-in { grid-template-columns: 44px 1fr 44px; padding: 8px 12px; }
  .kp88-burger { display: inline-flex; align-items: center; justify-content: center; }
  .kp88-logo img { height: 42px; }
  .kp88-hdr-top .kp88-ctas { display: none; }
  .kp88-mob-ctas { display: flex; }
  .kp88-btn { padding: 7px 16px; font-size: 12px; }
  .kp88-hdr-nav { display: none; background: #ffffff; }
  .kp88-hdr-nav.open { display: block; max-height: 75vh; overflow-y: auto; }
  .kp88-nav-in { flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 16px; }
  .kp88-nav-in a { width: 100%; padding: 10px 4px; border-bottom: 1px solid #f1f5f9; }
  .kp88-cta-row { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .kp88-nut-cta { font-size: 13px; padding: 12px 14px; }
  .kp88-sec-title, .kp88-art h1 { font-size: 20px; }
  .kp88-art h2 { font-size: 18px; }
  .kp88-app-box, .kp88-faq-box { padding: 16px 15px; border-radius: 14px; }
  .kp88-grid-3, .kp88-rel-grid, .kp88-ftr-in { grid-template-columns: 1fr; gap: 16px; }
  #b88-sticky { width: 100%; max-width: 100%; left: 0; transform: none; }
  .b88-st-row { grid-template-columns: 1fr; }
  .b88-st-row a:nth-child(2) { display: none; }
}
