.main-content {
  flex-grow: 1;
  padding: 24px;
  background-color: #fff;
}

.content-card {
  background-color: #fff;
  border: 1px solid var(--google-border-color);
  border-radius: 8px;
  padding: 24px;
  /** desktop padding: 35px 175px; **/
  margin-bottom: 15px;
}

.section-title {
  font-size: 20px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 15px;
}

/*
  These styles will ONLY apply if the browser window is 768px wide or WIDER.
  This is our breakpoint for tablets and desktops.
*/
@media (min-width: 768px) {
  /* --- Layout Adjustments for Desktop --- */

  /* Restore the wide padding for content cards on large screens */
  .content-card {
    padding: 20px 175px;
  }

  /* Reduce the AI agent image width back to 50% on large screens */
  .ai-agent-image {
    width: 50%;
    height: 50%;
  }
}

.img-thumbnail {
  display: block;
  width: 100%;
  /* Make the image take the full width of its container */
  height: 284px;
  /* A fixed height for all thumbnails */

  object-fit: contain;
  /* This is the key property */

  margin: 24px 0;
  /* Add space above and below, but don't center horizontally */
  border-radius: 8px;
}

.note {
  background-color: #f8f9fa;
  border-left: 4px solid #1a73e8;
  padding: 16px;
  margin: 16px 0;
  border-radius: 4px;
}

.note p {
  margin: 0;
}

.note p:first-child {
  font-weight: bold;
}

/* Folder Structure Styles */
.folder-structure {
  list-style-type: none;
  padding-left: 20px;
  margin-top: 10px;
}

.folder-structure li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.folder-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("/assets/images/folder-icon.png");
  /* Replace with your folder icon path */
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.folder-name {
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
}

/* New Artice Link Styles */
.read-article-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--google-blue);
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}

.read-article-link:hover {
  text-decoration: none;
}

.read-article-link .material-icons {
  font-size: 18px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.read-article-link:hover .material-icons {
  transform: translateX(4px);
}

.section-title a {
  color: #202124;
  /* Standard Google dark text */
  text-decoration: none;
}

.section-title a:hover {
  color: var(--google-blue);
  text-decoration: none;
}

/* Responsive Image for AI Agent Pattern */
.responsive-preview-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0px solid #ddd;
  border-radius: 4px;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .responsive-preview-image {
    max-width: 600px;
  }
}