@import url('../global.css');
@import url('../components/promo-banner-1.css');
@import url('../components/promo-banner-2.css');
@import url('../components/nav-bar.css');
@import url('../components/cta-form.css');
@import url('../components/footer.css');


/* --- Page BG & Container --- */
.samplepage-main-bg {
  background: white;
  min-height: 100vh;
  width: 100%;
}

.samplepage-main-container {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 90%;
  padding: 9rem 0;
  box-sizing: border-box;
}

/* --- Breadcrumbs --- */
.samplepage-breadcrumbs {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-color-blue);
  user-select: none;
}
.samplepage-breadcrumbs ul {
  display: flex;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: flex-start;
}
.samplepage-breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin: 0 0.3rem;
  color: var(--text-color);
}
.samplepage-breadcrumbs a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0.92;
  font-size: var(--font-p-small);
}
.samplepage-breadcrumbs a:hover {
  text-decoration: underline;
}
.samplepage-breadcrumbs li:last-child {
  color: var(--text-color-light2);
  /* font-weight: 600; */
  font-size: var(--font-p-small);
}

/* --- Main Grid Layout --- */
.samplepage-two-col {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 2.2rem;
  align-items: start;
}


/* --- Content Card --- */
.samplepage-content {
  /* background: white;
  border-radius: 1.05rem;
  box-shadow: var(--box-shadow-light);
  padding: 1.8rem 1.7rem 1.8rem 1.7rem; */
  min-width: 0;
  box-sizing: border-box;
}

.samplepage-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border: 1px solid var(--text-color-light);
  font-size: var(--font-p-body);
  color: var(--text-color);
}

.samplepage-body th,
.samplepage-body td {
  border: 1px solid var(--text-color-light);
  padding: 0.6rem 1rem;
  text-align: left;
  vertical-align: top;
}
.samplepage-body th { color: var(--text-blue); font-weight: 600; }

.samplepage-body thead {
  font-weight: 500;
}



.samplepage-body caption {
  caption-side: top;
  text-align: left;
  font-weight: 500;
  margin-bottom: 0.5rem;
  
}


/* --- Headings & Meta --- */
.samplepage-header h1 {
  font-size: var(--font-p-heading2);
 
  margin-bottom: 1em;
  color: var(--text-color);
 
  line-height: 1.4;
}

.samplepage-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  align-items: center;
}
.samplepage-meta-pill {
  font-size: var(--font-p-heading4);
  color: var(--text-color);

  line-height: 1.6;
  display: inline-block;
}
.samplepage-meta-pill-subject {
  color: var(--text-color-light2);
  /* font-weight: 700; */
  background: var(--primary-color);
}
.samplepage-meta-pill-tag {
  font-size: var(--font-p-body);
  font-weight: 500;
  color: var(--text-color-light2);
  background: rgba(75, 88, 107, 0.06);
  border-radius: var(--radius-full);
  border: 1px solid rgba(75, 88, 107, 0.12);
  padding: 0.35rem 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.2px;
}

.samplepage-meta-pill-tag:hover {
  background: rgba(75, 88, 107, 0.12);
  border-color: var(--text-color-light2);
  color: var(--text-color);
  transform: translateY(-1px);
}

.wordcount-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: var(--font-p-heading4);
}

/* --- Table of Contents & Body --- */
.samplepage-toc {
  margin-bottom: 1.1rem;
  background: var(--accent-color);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 0.5rem 2rem;
  
}
.samplepage-toc summary {
  font-size: var(--font-p-heading4);
  font-weight: 600;
  cursor: pointer;
  color: var(--text-color);
  padding: 0.4em 0;
}
.samplepage-toc a {
  text-decoration: none;
  font-size: var(--font-p-small);
  color: var(--text-color-light2);
}

.samplepage-toc a:hover {
  text-decoration: underline;
}
::marker {
  font-size: var(--font-p-small);
  color: var(--text-color-light2);
 
}
.samplepage-body {
  font-size: var(--font-p-body);
  color: var(--text-color);
  line-height: 1.7;
    min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.samplepage-body > h2 {
  font-size: 1.4rem;
  color: var(--text-blue);
  margin: 1.4em 0 0.5em;
  word-wrap: break-word;
}

.samplepage-body > h3 {
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  color: var(--text-blue);
  margin: 1.4em 0 0.5em;
  word-wrap: break-word;
}

.samplepage-body > h4 {
  font-size: 1.1rem;
  color: var(--text-blue);
  margin: 1.4em 0 0.5em;
  word-wrap: break-word;
}

.samplepage-body > p {
  line-height: 1.8;
  font-size: 1rem;
  color: var(--text-color);
  word-wrap: break-word;
}

.samplepage-body ul, .samplepage-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2em;
}

/* --- Sidebar --- */
.samplepage-sidebar {
  width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Sidebar Card --- */
.samplepage-sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary-color);
  padding: 1.45rem 1.2rem;
  font-size: 1rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.samplepage-sidebar-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5em;
  margin-top: 0.5rem;
}
.samplepage-sidebar-card p {
  font-size: var(--font-p-body);
  margin-bottom: 1.5em;
  color: var(--text-color-light2);
}



/* --- Related Samples Card --- */
.related-samples-card {
  
  padding: 1.5rem;
  text-align: left;
}
.related-samples-card h3 {
  font-size: var(--font-p-heading3);
  margin-bottom: 0.8em;
  color: var(--text-color);
}

/* --- Related Samples List --- */
.related-samples-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-sample-item {
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #eaeaea;
}
.related-sample-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.related-sample-title {
  display: block;
  font-weight: 600;
  color: var(--accent-color2);
  text-decoration: none;
  font-size: 1.01rem;
  margin-bottom: 0.08em;
  transition: color 0.17s;
  cursor: pointer;
}
.related-sample-title:hover {
  text-decoration: underline;
  
}
.related-sample-desc {
  color: var(--text-color-light2);
  font-size: var(--font-p-body);
  margin-top: 0.1em;
  line-height: 1.5;
}

/* --- RESPONSIVE (Mobile-first tweaks) --- */

/* ======= 960px Responsive (Tablet & Small Laptop) ======= */
@media (max-width: 960px) {
  .samplepage-main-bg {
    background: white;
  }
  .samplepage-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* .samplepage-main-container {
    padding: 7rem 0;
  } */
  .samplepage-content {
    background: none;
    border-radius: none;
    box-shadow: none;
    padding: 0;
  }
  .samplepage-sidebar {
    margin-top: 2.5rem;
    gap: 1.5rem;
  }

  .samplepage-breadcrumbs ul {
    flex-wrap: wrap;
  }

  .samplepage-breadcrumbs {
   
    margin-bottom: 1.2rem;
  }

  
}

/* ======= 480px Responsive (Mobile) ======= */
@media (max-width: 480px) {


  .samplepage-breadcrumbs ul {
    flex-wrap: wrap;
    gap: 0.18rem;
    margin-bottom: 1rem;
  }


}



/* --- ---- - ----- - -- sample page cta - - --- - - -- - - - - -*/
.essay-cta-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.2rem;
  align-items: center;
  border: 2px solid var(--border-color);
  background: var(--accent-color);
  border-radius: var(--radius-xl);
  padding:2rem 2rem;
  margin: 2.2rem 0;
  box-sizing: border-box;
  min-height: 260px;
  overflow: hidden;
 
}



.essay-cta-heading {
  font-size: 1.6rem !important;
  color: var(--accent-color2) !important;
  font-weight: 700 !important;
  margin: 0 0 1rem 0 !important;
}

.essay-cta-list {
  padding: 0 0 1.4rem 1.3rem;
  margin: 0 !important;
  color: var(--text-color);
  font-size: var(--font-p-body);
  line-height: 1.6;
  list-style-type: disc;
}
.essay-cta-list li {
  margin-bottom: 0.2rem;
}

.essay-cta-btn {
  display: inline-block;
  background: #ffd900;
  color: #223042;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  padding: 1em 2em;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}
.essay-cta-btn:hover {
  background: #fffbe6;
  color: var(--primary-color);
}

.essay-cta-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
   position: relative;
}
.essay-cta-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  position: absolute;
  top: -37px;
  
}

@media (max-width: 960px) {
  .essay-cta-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    min-height: 0;
  }
  .essay-cta-right {
    justify-content: center;
    margin-top: 1rem;
  }
  .essay-cta-img {
    max-width: 285px;
    top: -150px;
    right: -2px;
  }
}

@media (max-width: 480px) {
  .essay-cta-row {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  .essay-cta-heading {
    font-size: 1.2rem;
  }
  .essay-cta-btn {
    font-size: 1rem;
    padding: 0.75em 1.3em;
  }
  .essay-cta-img {
    max-width: 160px;
    top: -72px;
    right: -15px;
  }
}

/* === Promo Banner Injection in Content === */
.samplepage-banner-injection {
  margin: 3rem 0;
  padding: 2rem 0;
}


