/* ========== INTRO CARD ========== */
.prep-intro {
  margin: 2rem 0 3rem;
  text-align: center;
}

.intro-card {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
  gap: 2rem;
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s ease;
}

.card-link:hover .intro-card {
  transform: scale(1.015);
}

.card-image {
  width: 180px;
  border-radius: 6px;
  flex-shrink: 0;
}

.card-info h2 {
  font-size: 1.4rem;
  color: #0073e6;
  margin-bottom: 0.3rem;
}

.card-info p {
  font-size: 1rem;
  color: #444;
  margin: 0;
}

/* ========== SECTION TITLES ========== */
.prep-section {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 3rem 0 1rem;
  border-bottom: 2px solid #0073e6;
  padding-bottom: 0.5rem;
  color: #273544;
}

/* ========== TEXT & LISTS ========== */
.prep-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.prep-list {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 2rem;
}

.prep-list li {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #444;
  line-height: 1.6;
}

/* ========== GRID GALLERY ========== */
.prep-alloys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.prep-alloys-grid figure {
  margin: 0;
  text-align: center;
}

.prep-alloys-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.prep-alloys-grid img:hover {
  transform: scale(1.04);
}

.prep-alloys-grid figcaption {
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.prep-alloys-grid figcaption a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
}

.prep-alloys-grid figcaption a:hover {
  text-decoration: underline;
  color: #004fa3;
}

/* ========== ACCESSIBILITY & UTILITIES ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }

  .intro-card {
    flex-direction: column;
    text-align: center;
  }

  .card-image {
    width: 150px;
  }

  .prep-section {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.9rem;
  }

  .page-subtitle {
    font-size: 1.05rem;
  }

  .prep-text,
  .prep-list li {
    font-size: 1rem;
  }

  .card-info h2 {
    font-size: 1.2rem;
  }

  .card-info p {
    font-size: 0.95rem;
  }
}

/* ========== EXPERT INFO BOX ========== */
.expert-info {
  background: linear-gradient(90deg, #eaf6ff 0%, #f7fbff 100%);
  border-left: 5px solid #0073e6;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 115, 230, 0.07);
  font-size: 1.08rem;
  color: #234;
  position: relative;
}
.expert-info .expert-title {
  font-weight: 700;
  color: #0073e6;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.expert-info ul {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
  list-style: disc inside;
}

/* ========== ARTICLE/SECTION ENHANCEMENTS ========== */
article, .prep-intro, section {
  background: #fcfdff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  padding: 1.5rem 1.5rem 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
}

/* ========== SECTION SPACING ========== */
.prep-section {
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

/* ========== IMPROVED VISUAL HIERARCHY ========== */
.prep-list li {
  font-size: 1.13rem;
  color: #2a3a4d;
}

/* ========== RESPONSIVE FOR EXPERT BOX ========== */
@media (max-width: 600px) {
  .expert-info {
    padding: 1rem 0.7rem;
    font-size: 0.98rem;
  }
  .expert-info .expert-title {
    font-size: 1.02rem;
  }
}

/* Add animation for header elements */
.guide-header {
  animation: fadeInUp 0.8s ease-out;
}

.guide-header-text {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.microstructure-image {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhance step navigation */
.step-nav {
  position: sticky;
  top: 80px;
  background: white;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  z-index: 100;
  transition: all 0.3s ease;
}

.step-nav:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.step-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: #f0f7ff;
  color: #0073e6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #0073e6;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.step-nav a:hover::before,
.step-nav a.active::before {
  transform: scaleY(1);
}

.step-nav a:hover {
  background: #0073e6;
  color: white;
  transform: translateY(-2px);
}

.step-nav a.active {
  background: #0073e6;
  color: white;
  box-shadow: 0 2px 8px rgba(0,115,230,0.3);
}

/* Enhanced expert tips */
.expert-info {
  background: white;
  border-radius: 12px;
  padding: 1.8rem;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #0073e6;
}

.expert-title {
  color: #0073e6;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.expert-title::before {
  content: '💡';
  font-size: 1.4rem;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0073e6;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,115,230,0.3);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,115,230,0.4);
}

@media (max-width: 768px) {
  .step-nav {
    position: relative;
    top: 0;
    margin: 1rem -1rem;
    border-radius: 0;
  }
  .step-nav ul {
    flex-direction: column;
  }
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}

.guide-header {
  background: linear-gradient(135deg, #f8f9ff 0%, #e6f0ff 100%);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 115, 230, 0.08);
  position: relative;
  overflow: hidden;
}

.guide-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 115, 230, 0.05) 0%, rgba(0, 115, 230, 0) 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.guide-header-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.guide-header-text {
  flex: 1;
}

.guide-header h2 {
  color: #0073e6;
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.guide-header p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2a3a4d;
  margin-bottom: 1.5rem;
}

.microstructure-image {
  width: 180px;
  height: 180px;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: white;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.microstructure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.expert-info {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.expert-title {
  color: #0073e6;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.expert-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expert-info li {
  padding: 0.5rem 0;
  color: #2a3a4d;
  position: relative;
  padding-left: 1.5rem;
}

.expert-info li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #0073e6;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .guide-header-content {
    flex-direction: column;
  }
  .microstructure-image {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .guide-header h2 {
    font-size: 2rem;
  }
}

.side-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-nav.visible {
  opacity: 1;
  visibility: visible;
}

.side-nav-container {
  position: relative;
  width: 40px;
  height: 40px;
}

.nav-dot {
  width: 24px;
  height: 24px;
  background: #0073e6;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: #0073e6;
  border-radius: 50%;
  animation: subtle-pulse 2.5s infinite;
}

.nav-dot::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(-135deg);
  transition: transform 0.3s ease;
  z-index: 3;
}

.side-nav:not(.collapsed) .nav-dot::after {
  transform: rotate(45deg);
}

.nav-dot:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

.nav-dot:hover::before {
  animation: none;
  opacity: 0.5;
}

@keyframes subtle-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
}

.side-nav ul {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform-origin: right center;
}

.side-nav:not(.collapsed) ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-20px);
}

.side-nav li {
  margin: 0.5rem 0;
}

.side-nav a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: #2a3a4d;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.side-nav a:hover {
  background: #f0f7ff;
  color: #0073e6;
}

.side-nav a.active {
  background: #0073e6;
  color: white;
}

.side-nav a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

.side-nav a:hover::before,
.side-nav a.active::before {
  transform: scale(1.5);
}

@keyframes subtle-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
}

@media (max-width: 1200px) {
  .side-nav {
    right: -300px;
  }
  
  .side-nav.active {
    right: 2rem;
  }

  .side-nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .side-nav {
    right: -100%;
  }
  
  .side-nav.active {
    right: 1rem;
  }
}

.side-nav-toggle {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #0073e6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 115, 230, 0.3);
}

.side-nav-toggle:hover {
  background: #005bbf;
}

.technical-note {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: #f8f9ff;
  border-radius: 8px;
  border-left: 3px solid #0073e6;
}

.technical-note h4 {
  color: #0073e6;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.prep-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.prep-table th,
.prep-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid #e6e9f0;
}

.prep-table th {
  background: #f0f7ff;
  color: #0073e6;
  font-weight: 600;
}

.prep-table tr:hover {
  background: #f8f9ff;
}

@media (max-width: 768px) {
  .prep-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.prep-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  margin-top: 1.5rem;
}

.prep-main {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.prep-main h3 {
  color: #0073e6;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.prep-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expert-box, .tech-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.expert-header, .tech-header {
  background: #f0f7ff;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.expert-header h3, .tech-header h3 {
  color: #0073e6;
  margin: 0;
  font-size: 1.1rem;
}

.expert-icon, .tech-icon {
  font-size: 1.4rem;
}

.expert-content, .tech-content {
  padding: 1.2rem;
}

.expert-content h4 {
  color: #2a3a4d;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.expert-content ul, .tech-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expert-content li, .tech-content li {
  padding: 0.5rem 0;
  color: #2a3a4d;
  position: relative;
  padding-left: 1.5rem;
}

.expert-content li::before, .tech-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #0073e6;
  border-radius: 50%;
}

.prep-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prep-list li {
  padding: 0.8rem 0;
  color: #2a3a4d;
  position: relative;
  padding-left: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.prep-list li:last-child {
  border-bottom: none;
}

.prep-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #0073e6;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .prep-content {
    grid-template-columns: 1fr;
  }

  .prep-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .first-container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0;
    box-sizing: border-box;
  }

  .guide-header {
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .guide-header-content {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .guide-header-text {
    width: 100%;
    padding: 0;
  }

  .guide-header h2 {
    font-size: 1.8rem;
    word-wrap: break-word;
    width: 100%;
  }

  .guide-header p {
    font-size: 1rem;
    word-wrap: break-word;
    width: 100%;
  }

  .microstructure-image {
    width: 120px;
    height: 120px;
    margin: 1rem auto;
  }

  .prep-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
  }

  .prep-section {
    width: 100%;
    word-wrap: break-word;
  }

  .materials-prep-link {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .prep-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
  }

  .prep-main {
    order: 1;
    width: 100%;
  }

  .prep-sidebar {
    order: 2;
    width: 100%;
  }

  .prep-main h3 {
    order: 1;
    width: 100%;
  }

  .prep-list {
    order: 2;
    width: 100%;
    padding-left: 0;
  }

  .prep-list li {
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
  }

  .expert-box {
    order: 3;
    width: 100%;
  }

  .tech-box {
    order: 4;
    width: 100%;
  }

  .prep-table {
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
    margin: 0;
  }

  .prep-table th,
  .prep-table td {
    white-space: nowrap;
    min-width: 80px;
  }

  .expert-info {
    width: 100%;
    box-sizing: border-box;
    margin: 1rem 0;
  }

  .expert-title {
    width: 100%;
    word-wrap: break-word;
  }

  .expert-info ul {
    width: 100%;
    padding-left: 1.5rem;
  }

  .expert-info li {
    width: 100%;
    word-wrap: break-word;
  }

  .materials-prep-note {
    width: 100%;
    box-sizing: border-box;
    margin: 1rem 0;
  }

  .prep-alloys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .prep-alloys-grid figure {
    width: 100%;
    margin: 0;
  }

  .prep-alloys-grid img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .first-container {
    padding: 0;
  }

  .prep-content {
    padding: 0 0.5rem;
  }

  .prep-main {
    padding: 0.8rem;
  }

  .prep-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    word-wrap: break-word;
  }

  .expert-box, .tech-box {
    padding: 0.8rem;
  }

  .expert-header, .tech-header {
    padding: 0.8rem;
  }

  .expert-content, .tech-content {
    padding: 0.8rem;
  }

  .expert-content h4, .tech-content h4 {
    font-size: 0.9rem;
    width: 100%;
    word-wrap: break-word;
  }

  .expert-content li, .tech-content li {
    font-size: 0.9rem;
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    word-wrap: break-word;
  }

  .prep-table {
    font-size: 0.8rem;
  }

  .prep-table th,
  .prep-table td {
    padding: 0.5rem;
  }

  .guide-header {
    padding: 1rem;
  }

  .guide-header h2 {
    font-size: 1.5rem;
  }

  .guide-header p {
    font-size: 0.9rem;
  }

  .microstructure-image {
    width: 100px;
    height: 100px;
  }

  .prep-header h2 {
    font-size: 1.2rem;
  }

  .materials-prep-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .materials-prep-link svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 370px) {
  .prep-content {
    gap: 0.8rem;
  }

  .prep-main {
    padding: 0.6rem;
  }

  .prep-list li {
    padding: 0.5rem 0;
    padding-left: 1.2rem;
    font-size: 0.85rem;
  }

  .expert-box, .tech-box {
    padding: 0.6rem;
  }

  .expert-header, .tech-header {
    padding: 0.6rem;
  }

  .expert-content, .tech-content {
    padding: 0.6rem;
  }

  .expert-content h4, .tech-content h4 {
    font-size: 0.85rem;
  }

  .expert-content li, .tech-content li {
    font-size: 0.85rem;
    padding: 0.3rem 0;
    padding-left: 1rem;
  }

  .prep-table {
    font-size: 0.75rem;
  }

  .prep-table th,
  .prep-table td {
    padding: 0.4rem;
  }

  .guide-header {
    padding: 1rem;
  }

  .guide-header h2 {
    font-size: 1.3rem;
  }

  .guide-header p {
    font-size: 0.85rem;
  }

  .microstructure-image {
    width: 90px;
    height: 90px;
  }

  .prep-header h2 {
    font-size: 1.2rem;
  }

  .materials-prep-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .materials-prep-link svg {
    width: 14px;
    height: 14px;
  }
}

/* Add to existing styles */
.prep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.prep-header h2 {
  margin: 0;
}

.materials-prep-link {
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f8f9ff;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.materials-prep-link:hover {
  background: #f0f7ff;
  color: #0073e6;
}

.materials-prep-link svg {
  width: 16px;
  height: 16px;
}

.materials-prep-note {
  background: #f8f9ff;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.materials-prep-note p {
  margin: 0;
  font-size: 0.95rem;
  color: #2a3a4d;
}

.materials-prep-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.materials-prep-link:hover {
  background: rgba(0, 115, 230, 0.1);
}

.materials-prep-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .materials-prep-note {
    padding: 0.6rem 1rem;
  }
  
  .materials-prep-note p {
    font-size: 0.9rem;
  }
}
