.search-results,
.search-results * {
  box-sizing: border-box;
}
/* Ensure consistent body baseline across pages */
body { margin: 0; background: #ffffff; }
html, body {
  height: 100%;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Shared focus ring color */
:root { --focus-ring: #ff6c37; }
.search-results {
  background: #ffffff;
  padding: 104px 20px 104px 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.gradress {
  position: absolute;
  left: 50%;
  top: -1100px;
  transform: translateX(-50%);
  width: 1440px;
  height: 1440px;
  border-radius: 50%;
  background: #feb969;
  filter: blur(200px);
  pointer-events: none;

}
  


/* Index page layout (scoped to .rapid) */
.rapid, .rapid * { box-sizing: border-box; }
.rapid {
  background: #ffffff;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.rapid .gradient {
  filter: blur(100px);
  background: #feb969;
  border-radius: 50%;
  flex-shrink: 0;
  width: 1224px;
  height: 153%;
  position: absolute;
  left: 50%;
  translate: -50%;
  bottom: -108.38%;
  top: auto;
  aspect-ratio: 1;
}
.rapid .section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  flex-shrink: 0;
  max-width: 820px;
  position: relative;
}
.rapid .logo { padding-bottom: 24px; margin: auto; }
.rapid .logo img { width: 64px; height: 64px; }
.rapid .section-title {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.rapid .h-1 {
  color: #000000;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -0.48px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.rapid .description {
  color: #52525b;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
  opacity: 0.66;
  position: relative;
  align-self: stretch;
}
.rapid .summarize-form {
  display: block; /* keep same behavior as results */
  width: 100%;
  align-self: stretch;
}
.rapid .summarize-form .tools { flex-wrap: nowrap; }
.rapid .input {
  background: #ffffff;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.rapid .icon-globe {
  opacity: 0.44;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}
.rapid .input-url {
  flex: 1;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  color: #52525b;
  opacity: 0.9;
  background: transparent;
}
.rapid .input-url::placeholder { color: #a1a1aa; }
.rapid .tools {
  background: #ffffff;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.06);
  border-width: 1px 0 0 0;
  padding: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.rapid .button-group {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}
.rapid .button-secondary {
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.rapid .button-secondary:hover { background: rgba(0, 0, 0, 0.04); }
.rapid .icon-translate,
.rapid .icon-time {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  aspect-ratio: 1;
}
.rapid .label-secondary {
  color: #52525b;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.08px;
  font-weight: 500;
  position: relative;
}
.rapid .button-primary {
  background: #ff6c37;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  position: relative;
  box-shadow: 0px 1px 12px 0px rgba(255, 108, 55, 0.44);
  border: none;
  cursor: pointer;
}
.rapid .label-primary {
  color: #ffffff;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.08px;
  font-weight: 700;
  position: relative;
}

/* Index page responsive tweaks */
@media (max-width: 960px) {
  .rapid { padding:48px; }
     .rapid .description { font-size: 16px;}
     .rapid .logo img { width: 72px; height: 72px; }
     .rapid .input-url { font-size: 18px;}
         .rapid .input { gap: 2px;}
     
}

@media (max-width: 768px) {
  .rapid .gradient {
    width: 900px;
    height: 900px;
        top: 68%;
  

  }
 
  .gradress {
    width: 1200px;
    height: 800px;
    top: -700px;
      filter: blur(100px);
      overflow: visible;

  }
}



@media (max-width: 640px) {
  .rapid .h-1 { font-size: 36px; line-height: 34px; }
  .rapid .description { font-size: 16px; }
  .rapid {
    padding: 32px 16px;
    min-height: 100%;
  }
  
}



@media (max-width: 480px) {
  .rapid { padding-left: 24px; padding-right: 24px; }
}

.section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  flex-shrink: 0;
  max-width: 820px;
  position: relative;

}
.section-content {
  background: linear-gradient(
    180deg,
    rgba(255, 177, 88, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 28px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  height: 150px;
  position: relative;

}
.card {
  background: #ffffff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06),
    0px 4px 12px 0px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.input {
  background: #ffffff;
  padding: 24px 20px 24px 20px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}
.icon-globe {
  opacity: 0.44;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  overflow: visible;
}
.label-url {
  color: #52525b;
  text-align: left;
  font-family: "Inter-Regular", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  position: relative;
  flex: 1;
}
/* New interactive URL input to match label-url styles */
.input-url {
  color: #52525b;
  font-family: "Inter-Regular", sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
}
.input-url::placeholder {
  color: #9ca3af;
}
.tools {
  background: #ffffff;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.06);
  border-width: 1px 0px 0px 0px;
  padding: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

/* Ensure form spans full width inside the card */
.summarize-form {
  display: block;
  width: 100%;
}
.section-article {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.article-header {
  padding: 64px 0px 64px 0px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  
}
.article-fav-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  position: relative;
  object-fit: cover;
  aspect-ratio: 1;
}
.article-title-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.article-title {
  color: #000000;
  text-align: center;
  font-family: "Poppins-Regular", sans-serif;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.48px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.article-link {
  color: #52525b;
  text-align: center;
  font-family: "Inter-Regular", sans-serif;
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
  opacity: 0.66;
  position: relative;
  align-self: stretch;
}
.article-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.article_read {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  position: relative;
}
.article_summury {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  position: relative;
}
.is-hidden { display: none !important; }

/* Snackbar positioning */
.snackbar-root {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 24px;
  margin: 0 48px; /* match search-results horizontal spacing */
  z-index: 1000;
  display: flex;
  justify-content: center;
}
.article-controls {
  border-style: solid;
  border-color: #f0f0f0;
  border-width: 1px 0px 0px 0px;
  padding: 24px 0px 48px 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.h-1 {
  color: #000000;
  text-align: left;
  font-family: var(--h1-font-family);
  font-size: var(--h1-font-size);
  line-height: var(--h1-line-height);
  letter-spacing: var(--h1-letter-spacing, -0.48px);
  font-weight: var(--h1-font-weight);
  position: relative;
  align-self: stretch;
}
.body {
  text-align: left;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  font-weight: var(--body-font-weight);
  position: relative;
  align-self: stretch;
}
.body-span {
  color: #52525b;
}
.body-span2 {
  color: #ff6c37;
  text-decoration: underline;
}
.h-2 {
  color: #000000;
  text-align: left;
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
  letter-spacing: var(--h2-letter-spacing, -0.48px);
  font-weight: var(--h2-font-weight);
  position: relative;
  align-self: stretch;
}
.body2 {
  color: #52525b;
  text-align: left;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  font-weight: var(--body-font-weight);
  position: relative;
  align-self: stretch;
}
.body-2-span {
  font-family: "Inter-Regular", sans-serif;
}
.body-2-span2 {
  font-family: var(--body-italic-font-family);
  font-style: var(--body-italic-font-style);
}
.h-3 {
  color: #000000;
  text-align: left;
  font-family: var(--h3-font-family);
  font-size: var(--h3-font-size);
  line-height: var(--h3-line-height);
  letter-spacing: var(--h3-letter-spacing, -0.48px);
  font-weight: var(--h3-font-weight);
  position: relative;
  align-self: stretch;
}
.body3 {
  color: #52525b;
  text-align: left;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  font-weight: var(--body-font-weight);
  position: relative;
  align-self: stretch;
}
.body-3-span {
}
.body-3-span2 {
  text-decoration: line-through;
}
.h-4 {
  color: #000000;
  text-align: left;
  font-family: var(--h4-font-family);
  font-size: var(--h4-font-size);
  line-height: var(--h4-line-height);
  letter-spacing: var(--h4-letter-spacing, -0.48px);
  font-weight: var(--h4-font-weight);
  position: relative;
  align-self: stretch;
}
.body-2-span {
  font-family: "Inter-Regular", sans-serif;
}
.body-2-span3 {
  font-family: var(--body-bold-font-family);
  font-weight: var(--body-bold-font-weight);
}
.h-5 {
  color: #000000;
  text-align: left;
  font-family: var(--h5-font-family);
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
  letter-spacing: var(--h5-letter-spacing, -0.48px);
  font-weight: var(--h5-font-weight);
  position: relative;
  align-self: stretch;
}
.body-3-span3 {
  text-transform: uppercase;
}
.body-3-span {
}
.body4 {
  color: #000000;
  text-align: left;
  font-family: var(--blockquote-font-family);
  font-size: var(--blockquote-font-size);
  line-height: var(--blockquote-line-height);
  letter-spacing: -0.48px;
  font-weight: var(--blockquote-font-weight);
  position: relative;
  align-self: stretch;
}
.h-6 {
  color: #000000;
  text-align: left;
  font-family: var(--h6-font-family);
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
  letter-spacing: var(--h6-letter-spacing, -0.48px);
  font-weight: var(--h6-font-weight);
  position: relative;
  align-self: stretch;
}
.body-3-span4 {
  list-style-type: disc;
  padding-left: 1em;
}
.body-3-span5 {
  list-style-type: decimal;
  padding-left: 1em;
}
.section-past-articles {
  border-style: solid;
  border-color: #f0f0f0;
  border-width: 1px 0px 0px 0px;
  padding: 24px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.section-title {
  color: #000000;
  text-align: left;
  font-family: var(--h4-font-family, "Poppins-Regular", sans-serif);
  font-size: var(--h4-font-size, 22px);
  line-height: var(--h4-line-height, 40px);
  letter-spacing: var(--h4-letter-spacing, -0.48px);
  font-weight: var(--h4-font-weight, 400);
  position: relative;
  align-self: stretch;
}
.section-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
}
.section-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.section-past-articles .description {
  color: #52525b;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  opacity: 0.66;
}
.icon-info {
  width: 16px;
  height: 16px;
  opacity: 0.66;
}
.aticles-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.footer {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  margin-top: 64px;
}
.footer-index { margin-top: 40px; }
.copyright {
  color: #52525b;
  text-align: center;
  font-family: "Inter-Regular", sans-serif;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  opacity: 0.44;
  position: relative;
}

/* Responsive paddings for search-results */
@media (max-width: 960px) {
  .search-results {
    padding: 48px;
  }
  .snackbar-root { margin: 0 48px; }
}

@media (max-width: 480px) {

  .search-results {
    padding: 48px 24px 48px 24px;
  }
  .snackbar-root { margin: 0 32px;}
  
}
