/*
Theme Name: AdPress CPC Pro
Author: Syadir Ali
Version: 1.3
Description: Ultra-light single-column responsive WordPress theme with clean professional layout.
*/

: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;
  }
}
