.site-inner {
padding:20px;
}
.site-container {
background: 
    linear-gradient(to bottom, 
        #603F97 0px, 
        #603F97 200px, 
        #ffffff 630px, 
        #ffffff 100%)
}
.cgp-container {
    padding: 0px 20px;
}
/* Reset & Base */
.cgp-title {
text-align: center;
font-size: 42px;
color:#fff;
margin-top: 40px;
}

.cgp-desc {
    text-align: center;
    font-size: 24px;
    max-width: 750px;
    font-weight: 600;
    margin: 20px auto;
    color: #fff;
    opacity: 0.8;
}

.cgp-total {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color:#fff;
}

/* Search Box */
.cgp-search-box {
  position: relative;
  margin-bottom: 1.5rem;
  text-align: center;
}

#cgp-search {
  width: 100%;
  max-width: 600px;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, outline 0.2s ease;
  outline: 2px solid transparent;
}

#cgp-search:focus {
  outline: 2px solid #603F97;
  box-shadow: 0 6px 20px rgba(96, 63, 151, 0.2);
}

#cgp-results {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
  z-index: 999;
  display: none;
  border-radius: 8px;
  overflow: hidden;
}

#cgp-results li {
  border-bottom: 1px solid #eee;
}

#cgp-results li a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

#cgp-results li a:hover {
  background-color: #f5f5f5;
}

/* Category Tags */
.cgp-category-tags {
  text-align: center;
  margin-bottom: 40px;
}

.cgp-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    margin: 0.25rem;
    font-size: 16px;
    background: #40beb6;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 500;
}

.cgp-tag:hover {
  background: #603F97;
  color: white;
}

/* Grid Layouts */
.cgp-cat-grid {
  display: grid;
  gap: 1.25rem;
margin: 4rem 0 6rem;
}
.cgp-grid {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  margin-bottom: 60px;
}

.cgp-grid::-webkit-scrollbar {
  height: 4px;
      background: #ece8f3;
  border-radius: 4px;
}

.cgp-grid::-webkit-scrollbar-thumb {
  background: #ece8f3;
  border-radius: 4px;
}

.cgp-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 310px;
  height: 175px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background: #000;
  text-align: center;
}

.cgp-cat-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.cgp-card:hover {
  transform: scale(1.03);
}

.cgp-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.cgp-card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 0 20px;
width: 100%;
  line-height: 1.2;
  text-shadow: 0 1px 5px rgb(0 0 0);
}

.cgp-card-image {
  width: 100%;
  height: 100%;
}

.cgp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
/* Category Cards */
.cgp-cat-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 1px solid #eee;
    max-width: 450px;
}

.cgp-cat-icon {
  font-size: 30px !important;
  margin-bottom: 0.5rem;
  color: #3fbeb6;
}

.cgp-cat-name {
  font-weight: bold;
  margin-bottom: 0.25rem;
    font-size: 22px;
}

.cgp-cat-desc {

  margin-bottom: 0.5rem;
}

.cgp-cat-count {
  font-weight: 500;
  color: #222;
}
/*single*/
.cgp-single-nav {
  position: relative;
  max-width: 850px;
  margin: auto;
}

.cgp-arrow-left,
.cgp-arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(50%);
    background: #3FBEB6;
    color: white;
    font-size: 26px;
    line-height: 40px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 100;
    width: 40px;
    height: 40px;
    text-align: center;
    transition: background 0.2s ease;
}

.cgp-arrow-left {
  left: -90px; /* 50px OUTSIDE of the container */
}

.cgp-arrow-right {
  right: -90px; /* 50px OUTSIDE of the container */
}

.cgp-arrow-left:hover,
.cgp-arrow-right:hover {
    opacity: 0.8;
    color: #fff;
}
.cgp-image-heading {
    display: flex;
    justify-content: space-between;
}
.cgp-badge {
    display: inline-block;
    background: #ddd;
    color: #000;
    font-size: 13px;
    line-height: 1.5;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
    margin-right: 0.5rem;
}

.cgp-badge.verified {
  background: #c0ffc0;
  color: #067306;
}
.cgp-featured-image img {
  width: 100%;
    border: 1px solid #d0c6e1;
    border-radius: 10px;
}

.cgp-content {
  line-height: 1.7;
  margin: 20px 0px;
}
/*related*/

.cgp-meta-desc {
margin-bottom: 20px;
text-align: center;
}

.cgp-related-section {
    background: linear-gradient(to bottom, #603F97 0%, #ffffff 100%);
    display: inline-block;
    margin: 40px 0 0 0;
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    padding: 60px;
}

.cgp-related-title {
  text-align: center;
  margin-bottom: 0.5rem;
color:#fff;
}

.cgp-all-link {
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.cgp-all-link a {
  color: #40beb6;
  text-decoration: none;
}

.cgp-all-link a:hover {
  text-decoration: underline;
}
/*latest posts*/
.cgp-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
row-gap:40px;
  margin-top: 2rem;
  justify-items: center;
  margin-bottom: 60px;
}

.cgp-latest-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 350px;
    border: 2px solid #40beb6;
}

.cgp-latest-card:hover {
  transform: translateY(-5px);
}

.cgp-latest-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.cgp-latest-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.cgp-latest-title {
font-weight: 700;
    padding: 20px 20px 10px 20px;
    line-height: 1.2;
    text-align: left;
    color: #603f97;
    font-size: 18px;
    margin-bottom: 0px;
}

.cgp-latest-meta {
    padding: 0px 20px 20px 20px;
    line-height: 1.4;
    text-align: left;
}
.yoast-breadcrumbs a {
color:#fff;
font-weight: 600;
    font-size: 16px;
}
.yoast-breadcrumbs a:hover {
color:#40beb6;
}
/*taxonomy*/

.tax-prompt-category .yoast-breadcrumbs a {
    text-align: center;
    padding: 4px 8px;
    border-radius: 10px;
    margin: 0 auto;
    width: fit-content;
    font-size: 14px;
    line-height: 1.4;
    background: #40beb6;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 500;
    display: block;
    border:1px solid #40beb6;
}
.tax-prompt-category .yoast-breadcrumbs a:hover {
background: #603F97;
color:#fff !important;   
border:1px solid #fff;
}
.tax-prompt-category .cgp-title {
margin-top: 10px;
}
/*single*/
.single-chatgpt-prompts .yoast-breadcrumbs {
    max-width: 850px;
    margin: 1rem auto 2rem;
    color: #fff;
}
.single-chatgpt-prompts .site-container {
background: #603F97;
}
.single-chatgpt-prompts .cgp-container {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 20px 40px;
}
.single-chatgpt-prompts .cgp-title {
    color: #000;
    margin: 20px 0px;
    text-align: left;
}
.single-chatgpt-prompts .cgp-meta-desc {
text-align: left;
margin: 20px 0px;

}
.single-chatgpt-prompts .site-inner {
padding:20px 20px 0px 20px;
}
/*prompt content*/
.cgp-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top:40px;
}
.cgp-prompt-heading {
    margin: 0px;
}

.cgp-prompt-wrapper {
    position: relative;
    padding: 20px;
    border: 1px solid #d0c6e1;
    border-radius: 10px;
    margin-top: 20px;
}

.cgp-copy-btn {
    background-color: #603F97;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s ease;
}


.cgp-copy-btn i {
    font-size: 14px;
}
.cgp-copy-btn:hover {
background: #3FBEB6;
}


.cgp-prompt-content {
    line-height: 1.4;
}
.cgp-prompt-content p {
    margin-bottom: 20px;
}
/*instructions wrapper*/
.cgp-instructions-heading h2 {
margin-top: 40px;
}
.cgp-instructions-wrapper {
    padding: 20px;
    background: #ece8f3;
    border-radius: 10px;
}

.cgp-instructions-wrapper h2 {
    margin-bottom: 20px;
}
.cgp-prompt-content ul, .cgp-instructions-text ul {
    margin-left: 30px;
    margin-bottom: 10px;
}
.cgp-prompt-content ul li, .cgp-instructions-text ul li {
    list-style-type: disc;
}
.cgp-instructions-text p {
    margin-bottom: 20px;
}
.cgp-prompt-generator-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff24;
    padding: 12px 16px;
    font-size: 16px;
    width: fit-content;
    border-radius: 8px;
    justify-content: center;
    font-weight: 700;
    margin: 20px auto;
}
.cgp-prompt-generator-banner i {
    font-size: 24px;
    color: #603F97;
}

.cgp-prompt-generator-banner a {
    color: #603F97;
    font-weight: bold;
    text-decoration: underline;
}
@media (max-width: 1000px) {
    .cgp-single-nav {
        display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-inline: auto;
    position: static;
    }
      .cgp-arrow-left,
  .cgp-arrow-right {
    position: static;
    transform: none;
  }
}
/* Responsive Helpers */
@media (max-width: 600px) {
.cgp-grid {
        flex-direction: column;
    overflow-x: visible;
    }
    .cgp-card {
        width: 100%;
    }
    h2 {
    font-size:22px;
    }
  .cgp-title {
    font-size: 2.4rem;
    margin:10px;
  }
    .cgp-desc {
    font-size: 20px;
    }
    .single-chatgpt-prompts .cgp-container {
    padding:20px;
    }
    .single-chatgpt-prompt .cgp-content {
    margin:10px;
    }
  #cgp-search {
    font-size: 16px;
  }
    .cgp-tag {
    font-size:14px;
    }
    .cgp-related-section {
    padding:40px 20px;
    }
}