


*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2937;
  background: #f3f4f6;
}
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}


.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.layout {
  margin-top: 24px;
}
.layout-nav {
  margin-top: 0;
}
.conli {
  font-weight: 700;
  color: #111827;
  margin-right: 6px;
    }


.site-header {
  background: #111827;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.logo a:hover {
  color: #60a5fa;
  text-decoration: none;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.main-nav a {
  color: #d1d5db;
  font-size: 13px;
  padding: 4px 0;
  white-space: nowrap;
}
.main-nav a:hover {
  color: #fff;
  text-decoration: none;
}



.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;      
}


#main {
  background: #fff;
  border-radius: 8px;
  padding: 24px 26px 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.page-title  { font-size: 28px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; color: #111827; }

.col-md-8 {
  flex: 0 0 60%;
  max-width: 60%;
  padding: 0 12px;
  box-sizing: border-box;
}
.col-md-4 {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 0 12px;
  box-sizing: border-box;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}


@media (max-width: 1024px) {
  
  .col-md-8,
  .col-md-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 12px;
  }
  .col-md-4 {
    margin-top: 24px;   
  }
  .col-md-8,
    .col-md-4 {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
    .single-title {
        font-size: 24px;
    }
    .page-header {
        font-size: 22px;
    }
}


@media (max-width: 767px) {
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    
    #main {
        padding: 16px 24px 20px;
        border-radius: 0;  
    }

    
    .col-md-8 {padding:10px;}
    .col-md-4 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    
    .widget {
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 0;  
    }

    
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .main-nav {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .main-nav a {
        font-size: 13px;
    }

    
    .post-card-thumb {
        float: none;
        width: 100%;
        height: 200px;
        margin: 0 0 12px;
    }

    
    .related-item {
        max-width: 100%;
        flex: 0 0 100%;
    }

    
    
    .single-content {
        font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
        font-size: 16px;
        line-height: 1.75;
        color: #2c3e50;
        letter-spacing: 0.01em;
    }

    
    .single-content p {
        margin-bottom: 1.2em;
    }

    
    .single-title {
        font-size: 23px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 6px;
        letter-spacing: -0.02em;
        color: #1a1a2e;
    }

    
    .page-header {
        font-size: 21px;
        font-weight: 600;
        margin-bottom: 4px;
        letter-spacing: -0.01em;
    }

    
    .single-meta {
        font-size: 12px;
        color: #8e9aaf;
    }

    
    .single-content figcaption,
    .single-content .wp-caption-text {
        font-size: 13px;
        color: #7f8c8d;
    }

    
    .pagination-wrap {
        font-size: 13px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .footer-links a {
        margin: 0 8px;
    }


}




.page-header {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111827;
}
.page-desc {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
}


.post-card {
  padding: 18px 0;
  border-bottom: 1px solid #f3f4f6;
}
.post-card:last-child {
  border-bottom: none;
}
.post-card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.35;
}
.post-card-title a {
  color: #111827;
}
.post-card-title a:hover {
  color: #2563eb;
  text-decoration: none;
}
.post-card-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 10px;
}
.post-card-meta a {
  color: #6b7280;
}
.post-card-thumb {
  float: left;
  width: 220px;
  height: 150px;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 16px 10px 0;
  background: #e5e7eb;
  flex-shrink: 0;
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-excerpt {
  font-size: 17px;
  line-height: 1.85;
  color: #1f2937;
  overflow: hidden;
}
.post-card-body::after {
  content: "";
  display: table;
  clear: both;
}


.pagination-wrap {
  margin-top: 22px;
}
.pagenavi, .pagination-wrap {
  text-align: center;
  font-size: 14px;
}
.pagenavi a, .pagination-wrap a {
  margin: 0 4px;
  padding: 6px 12px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #374151;
}
.pagenavi a:hover, .pagination-wrap a:hover {
  background: #e5e7eb;
  text-decoration: none;
}


.single-post {
  padding-top: 4px;
}
.single-header {
  margin-bottom: 20px;
}
.single-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #111827;
}
.single-meta {
  font-size: 13px;
  color: #6b7280;
}
.single-meta span {
  margin-right: 12px;
}


.ads {
  margin: 18px 0;
  padding: 12px;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  border-radius: 6px;
  text-align: center;
}
.ads-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}
.ads-placeholder {
  min-height: 90px;
  background: #eef2ff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93a0c0;
  font-size: 13px;
}


.single-content {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #1f2937;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
.single-content img {
  border-radius: 6px;
  margin: 14px 0;
}
.single-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}
.single-tags {
  font-size: 14px;
  color: #4b5563;
}


.related-section {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}
.related-title {
  font-size: 18px;
  margin: 0 0 14px;
}
.related-item {
  margin-bottom: 16px;
}
.related-thumb {
  display: block;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 6px;
  background: #e5e7eb;
  margin-bottom: 8px;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-name {
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}
.related-name a {
  color: #111827;
}
.related-name a:hover {
  color: #2563eb;
  text-decoration: none;
}


.widget {
  background: #fff;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 18px;
}
.widget-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.widget-body {
  font-size: 14px;
  color: #4b5563;
}
.popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.popular-list li + li {
  border-top: 1px solid #f3f4f6;
}
.popular-list a {
  display: block;
  padding: 8px 0;
  color: #111827;
  font-weight: 500;
}
.popular-list a:hover {
  color: #2563eb;
  text-decoration: none;
}
.popular-list small {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}
.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-list li + li {
  border-top: 1px solid #f3f4f6;
}
.cat-list a {
  display: block;
  padding: 7px 0;
  color: #374151;
}
.cat-list a:hover {
  color: #2563eb;
  text-decoration: none;
}
.tag-cloud {
  line-height: 2;
}


.site-footer {
  margin-top: 30px;
  background: #111827;
  color: #9ca3af;
  padding: 24px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links a {
  color: #d1d5db;
  margin-left: 14px;
  font-size: 13px;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}
.debug-info {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  padding: 12px;
}

