/*
Theme Name: AdPress CPC Pro
Author: Syadir Ali
Version: 2.1.0
Description: Fast, SEO-friendly, modern WordPress theme optimized for clean articles, AdSense slots, Core Web Vitals, and NXL landing page compatibility.
*/

:root{
  --maxw: 760px;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --soft: #f8fafc;
  --link: #0b57d0;
  --radius: 10px;
}

*{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:17px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:var(--link);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.site-wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 20px;
}

.site-header{
  background:#fff;
}

.header-inner{
  padding:22px 0 16px;
  border-bottom:1px solid var(--line);
}

.site-title{
  margin:0;
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.02em;
}

.site-title a{
  color:inherit;
  text-decoration:none;
}

.site-tagline{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
}

.top-nav{
  margin-top:18px;
  padding-top:14px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}

.top-nav::-webkit-scrollbar{
  display:none;
}

.top-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:nowrap;
  gap:10px 18px;
  min-width:max-content;
  white-space:nowrap;
}

.top-nav li{
  margin:0;
  padding:0;
  flex:0 0 auto;
}

.top-nav a{
  display:inline-flex;
  align-items:center;
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
  padding:6px 0;
}

.main-content{
  padding:30px 0 44px;
}

.archive-list{
  list-style:none;
  margin:0;
  padding:0;
}

.archive-item{
  padding:0 0 26px;
  margin:0 0 26px;
}

.archive-item:last-child{
  margin-bottom:0;
}

.entry-link{
  display:inline-block;
  color:var(--text);
  font-size:30px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.025em;
}

.archive-meta,
.entry-meta{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
}

.archive-excerpt{
  margin-top:14px;
  color:#374151;
}

.entry-hero{
  margin-bottom:24px;
}

.entry-title{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.14;
  font-weight:800;
  letter-spacing:-.03em;
}

.entry-content{
  padding:0;
}

.entry-content p{
  margin:0 0 18px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4{
  margin:34px 0 14px;
  line-height:1.28;
  letter-spacing:-.02em;
}

.entry-content h2{ font-size:30px; }
.entry-content h3{ font-size:24px; }
.entry-content h4{ font-size:20px; }

.entry-content ul,
.entry-content ol{
  margin:0 0 18px 22px;
}

.entry-content li{
  margin-bottom:8px;
}

.entry-content blockquote{
  margin:24px 0;
  padding:16px 18px;
  background:var(--soft);
  border-radius:var(--radius);
}

.entry-content table{
  width:100%;
  border-collapse:collapse;
  margin:24px 0;
  font-size:15px;
}

.entry-content th,
.entry-content td{
  padding:12px 14px;
  text-align:left;
}

.entry-content code{
  background:#f3f4f6;
  padding:.15em .4em;
  border-radius:6px;
  font-size:.92em;
}

.related-box,
.notice-box{
  margin-top:28px;
  padding-top:18px;
}

.related-title{
  margin:0 0 12px;
  font-size:16px;
  font-weight:800;
}

.related-list{
  margin:0;
  padding-left:18px;
}

.related-list li{
  margin-bottom:10px;
}

.search-form{
  margin:0 0 24px;
}

.search-form input[type="search"]{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:16px;
  outline:none;
  background:#fff;
}

.search-form input[type="search"]:focus{
  border-color:#cbd5e1;
}

.pagination{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.pagination a{
  display:inline-block;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--text);
}

.empty-state{
  padding:16px 0;
  color:var(--muted);
}

.site-footer{
  padding:24px 0 36px;
  font-size:14px;
  color:var(--muted);
}

.footer-inner{
  padding-top:18px;
  border-top:1px solid var(--line);
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  margin-top:10px;
}

.footer-links a{
  color:var(--muted);
}

@media (max-width: 768px){
  .site-wrap{
    padding:0 16px;
  }

  .header-inner{
    padding:18px 0 14px;
  }

  .site-title{
    font-size:24px;
  }

  .top-nav{
    margin-top:14px;
    padding-top:10px;
  }

  .top-nav ul{
    gap:8px 14px;
  }

  .top-nav a{
    padding:7px 0;
  }

  .main-content{
    padding:24px 0 38px;
  }

  .entry-title{
    font-size:32px;
  }

  .entry-link{
    font-size:25px;
  }

  .entry-content h2{
    font-size:26px;
  }

  .entry-content h3{
    font-size:22px;
  }
}

@media (max-width: 480px){
  body{
    font-size:16px;
    line-height:1.75;
  }

  .site-title{
    font-size:22px;
  }

  .entry-title{
    font-size:28px;
  }

  .entry-link{
    font-size:22px;
  }
}


/* FIX FOOTER LINE ALIGNMENT */
.site-footer{
  display:flex;
  justify-content:center;
}

.footer-inner{
  width:100%;
  max-width:760px;
  margin:0 auto;
  border-top:1px solid var(--line);
}


/* AUTHORITY + ADSENSE IMPROVEMENTS */
body{
  letter-spacing:0.2px;
}

.entry-content{
  font-size:18px;
  line-height:1.9;
}

.entry-content p{
  margin-bottom:22px;
}

.entry-title{
  font-size:44px;
}

@media(max-width:768px){
  .entry-title{font-size:34px;}
  .entry-content{font-size:17px;}
}

/* improve readability for ad placement */
.entry-content p:nth-of-type(3){
  margin-bottom:32px;
}

.entry-content p:nth-of-type(6){
  margin-bottom:32px;
}

/* clean premium spacing */
.archive-item{
  margin-bottom:34px;
}

/* subtle professional feel */
.site-title{
  letter-spacing:-0.5px;
}


/* ULTIMATE VERSION IMPROVEMENTS */

/* premium reading width */
.site-wrap{
  max-width:720px;
}

/* better heading hierarchy */
.entry-content h2{
  margin-top:40px;
  font-weight:800;
}

.entry-content h3{
  margin-top:28px;
  font-weight:700;
}

/* TOC styling */
.toc-box{
  font-size:15px;
  margin:24px 0;
  padding:16px 18px;
  background:#fafafa;
  border-radius:8px;
}

/* subtle CTA links */
a{
  transition:opacity .2s ease;
}
a:hover{
  opacity:.8;
}

/* better list readability */
.entry-content ul li{
  margin-bottom:10px;
}

/* improve mobile reading */
@media(max-width:480px){
  .entry-content{
    font-size:16.5px;
  }
}

/* ==========================================================
   AdPress CPC Pro 2.0 - NXL + AdSense Ready Layer
   ========================================================== */

.screen-reader-text,
.skip-link{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link:focus{
  position:fixed;
  top:12px;
  left:12px;
  width:auto;
  height:auto;
  margin:0;
  padding:10px 14px;
  clip:auto;
  background:#111827;
  color:#fff;
  border-radius:8px;
  z-index:99999;
}

.site-logo{
  margin:0 0 10px;
}

.site-logo img{
  max-height:64px;
  width:auto;
}

.site-logo .custom-logo-link{
  display:inline-block;
}

.site-logo .custom-logo{
  height:auto;
}

.archive-thumb,
.entry-thumbnail{
  display:block;
  margin:0 0 16px;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--soft);
}

.archive-thumb img,
.entry-thumbnail img{
  width:100%;
  height:auto;
  display:block;
}

.adpress-ad{
  clear:both;
  width:100%;
  max-width:100%;
  margin:26px auto;
  padding:0;
  text-align:center;
  overflow:hidden;
}

.adpress-ad-top{
  margin-top:18px;
  margin-bottom:26px;
}

.adpress-ad-incontent,
.adpress-ad-incontent2{
  margin-top:30px;
  margin-bottom:30px;
}

.adpress-ad-bottom{
  margin-top:34px;
}

.adpress-ad-label{
  margin-bottom:8px;
  color:var(--muted);
  font-size:11px;
  line-height:1.2;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.adpress-ad-code,
.adpress-ad .widget{
  max-width:100%;
  min-height:1px;
  margin:0 auto;
}

.adpress-ad ins,
.adpress-ad iframe{
  max-width:100%;
}

.widget-title{
  margin:0 0 10px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.toc-box ul{
  margin:10px 0 0 18px;
  padding:0;
}

.toc-box li{
  margin:0 0 7px;
}

.page-links{
  margin:28px 0;
  padding:14px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
}

.footer-links ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  margin:0;
  padding:0;
}

.footer-links li{
  margin:0;
}

.nxl-landing-template .entry-title{
  text-align:center;
}

.nxl-landing-template .entry-meta{
  text-align:center;
}

.nxl-entry-content{
  max-width:100%;
}

@media (max-width:480px){
  .adpress-ad{
    margin-left:calc(-1 * 0px);
    margin-right:calc(-1 * 0px);
  }

  .site-logo img{
    max-height:54px;
  }
}


/* ==========================================================
   AdPress CPC Pro 2.1 - SEO, Speed & Modern UI Layer
   ========================================================== */
:root{
  --maxw: 980px;
  --contentw: 760px;
  --brand: #0b63ce;
  --brand-2: #083b76;
  --surface: #ffffff;
  --surface-2: #f3f7fb;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-md: 0 16px 42px rgba(15, 23, 42, .10);
}

body{
  background:linear-gradient(180deg,#f7fbff 0,#fff 230px);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid rgba(226,232,240,.85);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:14px 0;
  border-bottom:0;
}

.brand{min-width:0;}
.site-logo{margin:0;}
.site-logo .custom-logo-link{display:inline-flex;align-items:center;}
.site-logo img{max-height:54px;width:auto;object-fit:contain;}
.site-title{font-size:26px;}
.site-title a{color:#0f172a;}
.site-tagline{margin-top:4px;}

.top-nav{margin-top:0;padding-top:0;}
.top-nav ul{align-items:center;gap:8px;}
.top-nav a{
  padding:8px 12px;
  border-radius:999px;
  color:#334155;
  font-weight:650;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.top-nav a:hover{
  background:#eaf3ff;
  color:var(--brand);
  text-decoration:none;
}

.main-content{
  max-width:var(--contentw);
  margin:0 auto;
  padding-top:34px;
}

.search-form{
  display:flex;
  gap:10px;
  margin:0 0 28px;
  padding:10px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  box-shadow:var(--shadow-sm);
}
.search-field,
.search-form input[type="search"]{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  padding:12px 14px;
  font:inherit;
  background:transparent;
}
.search-submit,
.search-form input[type="submit"],
button,
input[type="submit"]{
  border:0;
  border-radius:14px;
  padding:12px 18px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff;
  font-weight:750;
  cursor:pointer;
}

.archive-list{display:grid;gap:18px;}
.archive-item{
  padding:18px;
  margin:0;
  background:var(--surface);
  border:1px solid rgba(226,232,240,.9);
  border-radius:22px;
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.archive-item:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
  border-color:#cfe4ff;
}
.archive-thumb{border-radius:18px;aspect-ratio:16/9;margin-bottom:14px;}
.archive-thumb img{width:100%;height:100%;object-fit:cover;}
.entry-link{font-size:clamp(22px,4vw,31px);letter-spacing:-.035em;}
.archive-excerpt{color:#475569;}

.article{
  background:#fff;
  border:1px solid rgba(226,232,240,.88);
  border-radius:26px;
  padding:clamp(18px,4vw,34px);
  box-shadow:var(--shadow-sm);
}
.entry-thumbnail{border-radius:22px;aspect-ratio:16/9;}
.entry-thumbnail img{width:100%;height:100%;object-fit:cover;}
.entry-title{font-size:clamp(30px,6vw,48px);letter-spacing:-.045em;color:#0f172a;}
.entry-meta,.archive-meta{font-size:13px;color:#64748b;}
.entry-meta a,.archive-meta a{color:#475569;}
.entry-content{font-size:18px;line-height:1.82;color:#1f2937;}
.entry-content h2{font-size:clamp(25px,4vw,34px);}
.entry-content h3{font-size:clamp(21px,3vw,27px);}
.entry-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.entry-content img{border-radius:18px;}

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:0 0 14px;
  color:#64748b;
  font-size:13px;
  font-weight:650;
}
.breadcrumb a{color:#475569;}
.breadcrumb a:hover{color:var(--brand);text-decoration:none;}

.toc-box,.notice-box,.related-box{
  border:1px solid #dbeafe;
  background:linear-gradient(180deg,#f8fbff,#fff);
  border-radius:20px;
  box-shadow:0 8px 24px rgba(37,99,235,.05);
}
.toc-box strong,.related-title{color:#0f172a;}
.related-list a{font-weight:650;}

.adpress-ad{
  border-radius:18px;
  background:linear-gradient(180deg,#f8fafc,#fff);
  border:1px dashed #cbd5e1;
}
.adpress-ad-label{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  color:#94a3b8;
}
.adpress-ad-code{max-width:100%;overflow:hidden;}
.adpress-ad ins.adsbygoogle{max-width:100%;}

.pagination{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:28px;
}
.pagination a{
  display:inline-flex;
  border-radius:999px;
  padding:10px 14px;
  background:#eff6ff;
  color:#0b57d0;
  font-weight:700;
}

.site-footer{
  background:#0f172a;
  color:#cbd5e1;
  margin-top:28px;
}
.site-footer a{color:#fff;}
.footer-inner{border-top:0;}

@media (max-width: 720px){
  .site-wrap{padding:0 14px;}
  .header-inner{display:block;padding:12px 0;}
  .site-logo img{max-height:46px;}
  .top-nav{margin-top:12px;padding-bottom:2px;}
  .main-content{padding-top:20px;}
  .article{border-radius:20px;padding:16px;}
  .archive-item{border-radius:18px;padding:14px;}
  .entry-content{font-size:17px;line-height:1.78;}
  .search-form{border-radius:16px;}
  .search-submit,.search-form input[type="submit"]{padding:10px 13px;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{transition:none!important;animation:none!important;}
}
