.rr-button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  cursor: pointer;
  font-family: inherit;
  align-items: center;
  border: 1px solid black;
  display: flex;
  flex-direction: row;
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-weight: 700;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  justify-content: flex-start;
}
.rr-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.rr-button:hover {
  background: none;
  color: inherit;
}
.rr-button:hover, .rr-button:visited, .rr-button:visited:hover {
  text-decoration: none;
}
.rr-button:disabled, .rr-button.rr-button--deactivated {
  opacity: 0.5;
  cursor: not-allowed;
}
.rr-button--small {
  font-size: 16px;
  padding: 12px 16px;
  height: 24px;
  box-sizing: content-box;
}
.rr-button--large {
  font-size: 18px;
  padding: 16px;
}
.rr-button--white {
  background-color: #FFFFFF;
  color: black;
  border-color: black;
}
.rr-button--white:hover, .rr-button--white:hover:not(:disabled), .rr-button--white:visited, .rr-button--white:visited:hover {
  background-color: #FFFFFF;
  color: black;
  border-color: black;
}
.rr-button--blue {
  background-color: #488AF1;
  color: #FFFFFF;
  border-color: #488AF1;
}
.rr-button--blue:hover, .rr-button--blue:hover:not(:disabled), .rr-button--blue:visited, .rr-button--blue:visited:hover {
  background-color: #488AF1;
  color: #FFFFFF;
  border-color: #488AF1;
}
.rr-button--black {
  background-color: black;
  color: white;
  border-color: black;
}
.rr-button--black:hover, .rr-button--black:hover:not(:disabled), .rr-button--black:visited, .rr-button--black:visited:hover {
  background-color: black;
  color: white;
  border-color: black;
}
.rr-button--align-left {
  justify-content: flex-start;
}
.rr-button--align-center {
  justify-content: center;
}
.rr-button__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.rr-button--large .rr-button__icon {
  width: 18px;
  height: 18px;
}
.rr-button__text {
  white-space: nowrap;
}
/* Card Component Styles */
.rr-education-card-regular {
  display: flex;
  flex-direction: column;
  width: 275px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.15);
  text-decoration: none;
  overflow: hidden;
  flex-shrink: 0;
}

.rr-education-card-regular-image {
  aspect-ratio: 1.6/1;
  width: 100%;
  background-size: cover;
  position: relative;
  background-position: center center;
}

.rr-education-card-tag {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  position: absolute;
  bottom: 0;
  border-radius: 4px 16px 0 0;
  left: 0;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  background-color: #E1E1E1;
}
.rr-education-card-tag.rr-yellow {
  background-color: #FFC313;
}
.rr-education-card-tag.rr-blue {
  background-color: #488AF1;
}
.rr-education-card-tag.rr-gray {
  background-color: #E1E1E1;
}

.rr-education-card-regular-title {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  font-weight: 500;
  padding: 16px 24px;
  background-color: white;
  line-height: 120%;
}
@media (min-width: 578px) {
  .rr-education-card-regular-title {
    font-size: 20px;
    padding: 24px;
  }
}

.rr-education-card-highlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-decoration: none;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(72, 138, 241, 0) 1.22%, rgba(72, 138, 241, 0.1) 98.96%), #FFF;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  width: 300px;
  flex-shrink: 0;
  min-height: 300px;
}
.rr-education-card-highlight img {
  width: 146px;
}
@media (min-width: 578px) {
  .rr-education-card-highlight {
    width: auto;
    min-height: 370px;
  }
}

.rr-education-card-highlight-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rr-education-card-highlight-title {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  font-weight: 600;
  line-height: 130%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
@media (min-width: 578px) {
  .rr-education-card-highlight-title {
    font-size: 24px;
  }
}

.rr-education-card-highlight-read-now {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #488AF1;
  width: 100%;
  text-align: right;
}

.rr-education-card-compact {
  border: 1px solid #E1E1E1;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow: hidden;
  text-decoration: none;
}

.rr-education-card-image {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 108px;
}
@media (min-width: 578px) {
  .rr-education-card-image {
    width: 114px;
  }
}

.rr-education-card-compact-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 16px 0px;
}

.rr-education-card-compact-title {
  color: black;
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 130%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 578px) {
  .rr-education-card-compact-title {
    font-size: 18px;
  }
}

.rr-education-card-lesson-plan-count, .rr-education-card-grade-level {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  display: flex;
  flex-direction: row;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.72px;
}

.rr-education-card-lesson-plan-count-icon, .rr-education-card-grade-level-icon {
  width: 18px;
}

.rr-education-card-lesson-plan-count {
  color: #488AF1;
}

.rr-education-card-micro {
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #8b8b8b;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  text-decoration: none;
}

.rr-education-card-micro-image {
  aspect-ratio: 1/1;
  object-fit: cover;
  height: 70px;
}

.rr-education-card-micro-content {
  padding: 16px;
}

.rr-education-card-micro-title {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: -webkit-box;
  line-height: 120%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rr-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}
@media (min-width: 578px) {
  .rr-heading {
    margin-bottom: 24px;
  }
}

.rr-heading-bar {
  width: 40px;
  height: 4px;
  flex-shrink: 0;
}
.rr-heading-bar.rr-blue {
  background-color: #488AF1;
}
.rr-heading-bar.rr-yellow {
  background-color: #FFC313;
}

.rr-heading-text {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.125;
  letter-spacing: -0.48px;
  margin-top: 0;
  margin-bottom: 0;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
@media (min-width: 600px) {
  .rr-heading-text {
    font-family: "Heebo", san francisco, helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.125;
    letter-spacing: -0.48px;
    margin-top: 0;
    margin-bottom: 0;
  }
}
.rr-save-button.saved {
  background-color: #FFE9AA !important;
  color: black !important;
  border-color: black !important;
}
.rr-save-button:hover:not(:disabled):not(.saved) {
  background-color: rgba(0, 0, 0, 0.05);
}
.rr-saved-notification {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 9999;
  background: #FFE9AA;
  border-radius: 4px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.rr-saved-notification.show {
  transform: translateY(0);
  opacity: 1;
}
.rr-saved-notification.hide {
  transform: translateY(100%);
  opacity: 0;
}
@media (min-width: 578px) {
  .rr-saved-notification {
    top: 20px;
    right: 20px;
    left: auto;
    bottom: auto;
    max-width: 400px;
    transform: translateX(100%);
  }
  .rr-saved-notification.show {
    transform: translateX(0);
  }
  .rr-saved-notification.hide {
    transform: translateX(100%);
  }
}

.rr-saved-notification-header {
  background: #FFC313;
  color: black;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 18px;
}
.rr-saved-notification-header .rr-saved-notification-arrow {
  width: 16px;
  height: 16px;
  fill: black;
}

.rr-saved-notification-preview {
  background: #FFFEFB;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rr-saved-notification-thumbnail {
  aspect-ratio: 1/1;
  max-width: 60px;
  object-fit: cover;
  flex-shrink: 0;
  position: relative;
}

.rr-saved-notification-content {
  flex: 1;
}

.rr-saved-notification-title {
  color: black;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideOutToBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutToRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
/* SavedResourcesButton Component Styles */
.rr-saved-resources-button-wrapper {
  align-items: center;
  justify-content: center;
  position: relative;
  display: inline-flex;
  flex-direction: row;
  padding: 4px 8px;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #8b8b8b;
  border-radius: 4px;
}
@media (min-width: 578px) {
  .rr-saved-resources-button-wrapper {
    font-size: 14px;
    padding: 8px 12px;
  }
}

.rr-saved-resources-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  height: 18px;
  min-width: 18px;
  border-radius: 100px;
  background-color: #FFC313;
  color: black;
  padding: 0px 2px;
  display: none;
  align-items: center;
  justify-content: center;
}
@media (min-width: 578px) {
  .rr-saved-resources-count {
    height: 21px;
    font-size: 14px;
  }
}

.rr-count-number {
  line-height: 1;
}

.rr-saved-resources-desktop-text {
  display: none;
  font-family: "Heebo", san francisco, helvetica, sans-serif;
}
@media (min-width: 578px) {
  .rr-saved-resources-desktop-text {
    display: block;
  }
}

.rr-saved-resources-mobile-text {
  display: block;
  font-family: "Heebo", san francisco, helvetica, sans-serif;
}
@media (min-width: 578px) {
  .rr-saved-resources-mobile-text {
    display: none;
  }
}
.rr-saved-resources-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rr-saved-resources-modal.rr-saved-resources-modal-open {
  opacity: 1;
}

.rr-saved-resources-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.rr-saved-resources-pane {
  position: absolute;
  top: 0;
  right: 0;
  background: white;
  border-radius: 8px 0 0 8px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  padding: 20px;
}
.rr-saved-resources-modal-open .rr-saved-resources-pane {
  opacity: 1;
  transform: translateX(0);
}

.rr-saved-resources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #E1E1E1;
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.rr-saved-resources-header-title {
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.rr-saved-resources-header-buttons {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
}

.rr-saved-resources-subheader {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.rr-saved-resources-subheader-groups {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.rr-saved-resources-tab-btn {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  cursor: pointer;
  font-family: inherit;
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  font-size: 18px;
  background: none;
  border: 0px;
  color: #8b8b8b;
  padding: 0;
}
.rr-saved-resources-tab-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.rr-saved-resources-tab-btn:hover {
  background: none;
  color: inherit;
}
.rr-saved-resources-tab-btn.active {
  color: black;
}

.rr-saved-resources-edit-btn {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  cursor: pointer;
  font-family: inherit;
  color: black;
  font-family: "Heebo", san francisco, helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.6px */
  font-size: 16px;
  color: #8b8b8b;
  background: none;
  border: 0;
  text-decoration: underline;
}
.rr-saved-resources-edit-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.rr-saved-resources-edit-btn:hover {
  background: none;
  color: inherit;
}
@media (min-width: 578px) {
  .rr-saved-resources-edit-btn {
    font-size: 18px;
  }
}
@media (min-width: 578px) {
  .rr-saved-resources-edit-btn {
    font-size: 16px;
  }
}

.rr-saved-resources-content {
  overflow-y: auto;
  height: 100%;
  padding: 20px 0px;
}

.rr-saved-resources-section {
  margin-bottom: 32px;
}

.rr-saved-resources-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rr-saved-resource-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.rr-saved-resource-remove-btn {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  cursor: pointer;
  font-family: inherit;
  display: none;
  background: #ff4444;
  border: none;
  border-radius: 4px;
  padding: 8px;
  margin-left: 8px;
  transition: all 0.2s ease;
  align-self: stretch;
  min-width: 40px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.rr-saved-resource-remove-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.rr-saved-resource-remove-btn:hover {
  background: none;
  color: inherit;
}
.rr-saved-resource-remove-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.rr-saved-resource-remove-btn:hover {
  background: #cc0000;
  transform: scale(1.05);
}
.rr-saved-resource-remove-btn:active {
  transform: scale(0.95);
}

.rr-saved-resources-modal.edit-mode .rr-saved-resource-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rr-saved-resources-modal.edit-mode .rr-saved-resource-wrapper:hover .rr-saved-resource-remove-btn {
  background: #ff5555;
}

.rr-saved-resource-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
  background: white;
  transition: all 0.2s ease;
}
.rr-saved-resource-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
}

.rr-saved-resource-thumbnail {
  margin-bottom: 12px;
}
.rr-saved-resource-thumbnail img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.rr-saved-resource-details h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}
.rr-saved-resource-details p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.rr-saved-resource-meta {
  margin-bottom: 12px;
}
.rr-saved-resource-meta .rr-saved-date {
  font-size: 12px;
  color: #999;
}

.rr-saved-resource-link {
  display: inline-block;
  padding: 6px 12px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.rr-saved-resource-link:hover {
  background: #0056b3;
}

.rr-saved-resources-empty {
  text-align: center;
  padding: 40px 20px;
}
.rr-saved-resources-empty p {
  margin: 0 0 8px 0;
  color: #666;
}
.rr-saved-resources-empty p:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

@media (max-width: 768px) {
  .rr-saved-resources-grid {
    grid-template-columns: 1fr;
  }
}