/*
Theme Name: My Basic Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A basic custom WordPress theme
Version: 1.0
Text Domain: my-basic-theme
*/



   

.site-footer { 
    width: 100%; 
    border-top: 1px solid #e5e7eb; 
    background: #fff; 
    padding: 14px 20px; 
    font-family: Arial, sans-serif;
} 

.site-footer__inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 16px; 
    flex-wrap: wrap;
} 

.site-footer__left { 
    font-size: 14px; 
    color: #333;
} 

.site-footer__right { 
    display: flex; 
    gap: 18px; 
    flex-wrap: wrap;
} 



.site-footer__right a  { 
    font-size: 14px; 
    color: #333; 
    text-decoration: none; 
    transition: color 0.2s ease;
} 

.site-footer__right a:hover { 
    color: #000;
} 


@media (max-width: 768px){ 
  .site-footer__inner { 
    flex-direction: column; 
  } 

  .site-footer__right { 
    flex-direction: column; 
    gap: 10px; 
    text-align: center;
  } 
}     



   
/* Page background */
.cg-blog-page {
  background: #f3f3f3;
  min-height: 100vh;
  padding: 32px 20px 60px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Main content width and placement */
.cg-blog-wrap {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

/* Heading */
.cg-blog-heading {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 22px;
  line-height: 1.2;
}

/* List wrapper */
.cg-post-list {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

/* Single row */
.cg-post-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 26px;
  align-items: start;
}

/* Thumbnail */
.cg-post-thumb-link {
  display: block;
  text-decoration: none;
}

.cg-post-thumb {
  width: 230px;
  height: 150px;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}

.cg-post-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Content */
.cg-post-content {
  min-width: 0;
}

.cg-post-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 400;
  color: #111;
}

.cg-post-title a {
    color: #111;
    text-decoration: none;
    text-transform: capitalize;
}

.cg-post-title a:hover {
  text-decoration: none;
  color: #111;
}

/* Meta */
.cg-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.cg-post-author {
  font-weight: 700;
  color: #111;
}

.cg-meta-sep,
.cg-post-date {
  color: #8a8a8a;
  font-weight: 400;
}

/* Excerpt */
.cg-post-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: #6d6d6d;
  max-width: 100%;
}

/* Pagination */
.cg-pagination {
  margin-top: 42px;
}

.cg-pagination .page-numbers {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin-right: 8px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 1px solid #ddd;
}

.cg-pagination .page-numbers.current {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Tablet */
@media (max-width: 991px) {
  .cg-post-item {
    grid-template-columns: 210px 1fr;
    gap: 20px;
  }

  .cg-post-thumb {
    width: 210px;
    height: 138px;
  }

  .cg-post-title {
    font-size: 21px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cg-blog-page {
    padding: 24px 14px 40px;
  }

  .cg-post-list {
    gap: 30px;
  }

  .cg-post-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cg-post-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .cg-post-title {
    font-size: 22px;
  }

  .cg-post-excerpt {
    font-size: 14px;
    line-height: 1.6;
  }
}


.container img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.post-title {
    font-size: 24px;
    text-transform: capitalize;
}

.post-view-header {
    margin-bottom: 20px;
}

li {
    margin-left: 20px;
}

ol {
    margin-bottom: 20px;
}


.container {
    max-width: 1000px;
    display: flex;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}



.main {
    width: 680px;
    background: #fff;
    border-radius: 5px;
    padding: 15px;
}

.sidebar {
    width: 300px;
    margin-left: 20px;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
}


body {
    background: #f5f5f5 !important;
    color: #111;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}


@media (max-width: 1101px) { }



@media (max-width: 1100px) {
    
.container {
    max-width: 950px;
}

.main {
    width: 630px;
}

}

@media (max-width: 992px) {
    
.container {
    max-width: 100% !important;
    padding: 0px 20px !important;
    display: block !important;
}

.main {
    width: 100% !important;
}

.sidebar {
    width: 100% !important;
    margin-left: 0px !important;
    margin-top: 20px !important;
}


}

@media (max-width: 768px) {
.container {
    max-width: 100% !important;
    padding: 0px 15px !important;
    display: block !important;
}

.main {
    width: 100% !important;
}

.sidebar {
    width: 100% !important;
    margin-left: 0px !important;
    margin-top: 20px !important;
}    

}

@media (max-width: 576px) { 
.container {
    max-width: 100% !important;
    padding: 0px 10px !important;
    display: block !important;
}

.main {
    width: 100% !important;
}

.sidebar {
    width: 100% !important;
    margin-left: 0px !important;
    margin-top: 20px !important;
}
}



    
.custom-sidebar {
  width: 100%;
}

.custom-sidebar-widget {
  background: transparent;
}

.custom-sidebar-title {
  display: inline-block;
  background: #222;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 14px;
  margin: 0 0 18px;
  position: relative;
}

.custom-sidebar-title::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 230px;
  max-width: calc(100vw - 100%);
  height: 2px;
  background: #222;
  transform: translateY(-50%);
  margin-left: 0;
}

.custom-latest-posts {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.custom-latest-post-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.custom-latest-post-thumb-link {
  flex: 0 0 110px;
  text-decoration: none;
}

.custom-latest-post-thumb {
  width: 110px;
  height: 78px;
  overflow: hidden;
  background: #eaeaea;
}

.custom-latest-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-latest-post-content {
  flex: 1;
  min-width: 0;
}

.custom-latest-post-title {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.custom-latest-post-title a {
    color: #111;
    text-decoration: none;
    text-transform: capitalize;
}

.custom-latest-post-title a:hover {
  color: #111;
  text-decoration: none;
}

.custom-latest-post-date {
  font-size: 14px;
  color: #9a9a9a;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .custom-sidebar-title {
    font-size: 18px;
    padding: 9px 12px;
  }

  .custom-sidebar-title::after {
    width: 120px;
  }

  .custom-latest-post-item {
    gap: 12px;
  }

  .custom-latest-post-thumb-link {
    flex: 0 0 90px;
  }

  .custom-latest-post-thumb {
    width: 90px;
    height: 68px;
  }

  .custom-latest-post-title {
    font-size: 15px;
  }

  .custom-latest-post-date {
    font-size: 12px;
  }
}

p {
    margin-bottom: 15px;
}



* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
} 


body { 
    -webkit-font-smoothing: antialiased; 
    background: #fff; 
    color: #111;
} 

@media (max-height: 740px){ 
  body { 
    overflow-y: auto; 
    height: auto; 
    min-height: 100dvh;
  } 
}     

html { 
    width: 100%; 
    height: 100%;
} 

.header { 
    width: 100%; 
    border-bottom: 1px solid #ddd; 
    background: #fff;
} 

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    flex-shrink: 0;
    max-width: 1000px;
    margin: auto;
}

a { 
    color: inherit; 
    text-decoration: none;
} 

a { 
    background-color: transparent; 
    color: inherit; 
    text-decoration: inherit;
} 

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 8px;
} 

.header-icons { 
    display: flex; 
    align-items: center; 
    gap: 8px;
} 

.logo-icon { 
    max-height: 35px;
} 

.logo { 
    font-size: 28px; 
    font-weight: 700; 
    letter-spacing: -1px; 
    cursor: pointer; 
    transition: opacity .2s ease;
} 

:where(button, input, optgroup, select, textarea) { 
    font-family: inherit; 
    font-size: 100%; 
    line-height: 1.15; 
    margin: 0px;
} 


button { 
    background: transparent; 
    padding: 0px;
} 

.archive-link-btn { 
    border: 1px solid #ddd; 
    background: #fff; 
    border-radius: 4px; 
    color: #666; 
    font-size: 12px; 
    font-weight: 600; 
    letter-spacing: .2px; 
    cursor: pointer; 
    padding: 0 10px; 
    height: 36px; 
    line-height: 34px; 
    transition: all .1s;
} 

.archive-link-btn:hover { 
    background: #f0f0f0; 
    border-color: #cfcfcf; 
    color: #000;
} 

@media (max-width: 480px){ 
  body { 
    overflow-y: auto; 
    height: auto; 
    min-height: 100dvh;
  } 

  .logo { 
    font-size: 22px;
  } 
}     

@media screen and (min-width: 0em) and (max-width: 47.98em){ 
  button { 
    margin-right: 0rem;
  } 
}     

@media (max-width: 480px){ 
  .archive-link-btn { 
    padding: 0 8px; 
    height: 32px; 
    line-height: 30px; 
    font-size: 11px;
  } 
}     

