/* Base Styles */
@import url("https://fonts.googleapis.com/css2?family=Alice&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alice&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --primary-color: #2e7d32; /* Dark green */
  --secondary-color: #4caf50; /* Medium green */
  --accent-color: #81c784; /* Light green */
  --text-color: #111;
  --light-text: #f6f6f6;
  --sidebar-width: 280px;
  --transition-speed: 0.3s;
  --font-color: #1e6905;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

a {
  color: #444;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  font-family: "Inter", "Roboto", sans-serif;
}

p {
  font-size: 1.1rem;
}

/* ===== Home Page Specific Styles ===== */

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #f5fdf4, #e8f5e9);
  padding: 40px;
  border-radius: 12px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
}

.search-box {
  display: flex;
  max-width: 500px;
}

.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--accent-color);
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
  outline: none;
}

.search-box button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-box button:hover {
  background-color: var(--secondary-color);
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Categories Section */
.section-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.category-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--text-color);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 70px;
  height: 70px;
  background-color: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.category-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Articles Section */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.view-all {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-all:hover {
  text-decoration: underline;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.article-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-card.featured {
  grid-column: span 2;
  display: flex;
}

.article-card.featured .article-image {
  flex: 1;
  min-height: 250px;
}

.article-card.featured .article-content {
  flex: 1;
  padding: 30px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ff5722;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.article-content {
  padding: 20px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #777;
}

.category {
  color: var(--primary-color);
  font-weight: 500;
}

.article-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.article-card h3 a {
  color: var(--text-color);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--primary-color);
}

.article-card p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #777;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 60px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Latest Updates */
.update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.update-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s;
}

.update-card:hover {
  transform: translateY(-5px);
}

.update-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.update-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.update-card h3 a {
  color: var(--text-color);
  text-decoration: none;
}

.update-card h3 a:hover {
  color: var(--primary-color);
}

.update-card p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.update-date {
  font-size: 0.9rem;
  color: #999;
}

.cta-content .ready {
  color: #fff;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .search-box {
    margin: 0 auto;
  }

  .article-card.featured {
    grid-column: span 1;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cta {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  header h1 {
    font-size: 2rem;
  }

  .pembahasan {
    padding: 10px;
  }

  .soal {
    padding: 10px;
  }
}

/* ===== Sidebar Styles ======*/
.container {
  display: flex;
  max-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  height: 100vh;
  z-index: 100;
  transition: transform var(--transition-speed) ease;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.close-btn {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.logo {
  text-align: center;
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid white;
}

.logo h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light-text);
}

.menu {
  flex: 1;
  overflow-y: auto;
  padding: 0 10px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  margin: 5px 0;
  border-radius: 6px;
  color: var(--light-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.menu-item i {
  margin-right: 12px;
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.menu-item.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

/* ====== Social Media Styles ====== */
.social-media {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.social-icon {
  color: var(--light-text);
  margin: 0 8px;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.social-icon:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* ======  Main Content Styles ======= */
.content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 30px;
  background-color: white;
  min-height: 100vh;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
}

.article {
  max-width: 900px;
  margin: 0 auto;
}

header h1 {
  font-size: 2.2rem;
  color: var(--font-color);
  margin-bottom: 20px;
  line-height: 1.3;
  font-family: sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* ===== Section Styles ===== */
section {
  margin-bottom: 30px;
  animation: fadeIn 0.5s ease-out forwards;
}

h2 {
  color: var(--font-color);
  margin: 25px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-color);
  font-family: sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* h3 {
  color: var(--primary-color);
  margin: 20px 0 10px;
} */

ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 5px;
}

/* ===== Image Styles ====== */
.image-container {
  margin: 20px 0;
  text-align: center;
}

.article-image {
  overflow: hidden;
  max-width: 80%; /* Mengurangi dari 100% ke 80% */
  max-height: 320px; /* Batasan tinggi maksimum */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain; /* Memastikan gambar proporsional */
}

/* ====== Footer ======*/
footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #777;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 999;
    width: 80%;
    max-width: 300px;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .content {
    width: 100%;
    margin-left: 0;
    padding: 20px;
    padding-top: 70px; /* Space for hamburger menu */
  }

  .hamburger-menu {
    display: block;
  }

  .close-btn {
    display: block;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ===== Animation ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Untuk tampilan mobile */
@media (max-width: 768px) {
  .article-image {
    max-width: 100%; /* Di mobile bisa lebih lebar */
    max-height: 300px;
  }
}

.image-source {
  font-size: 0.8rem;
  color: #777;
  margin-top: 5px;
}

/* About Page Styles */
.about-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px 0;
  background: linear-gradient(135deg, #f5fdf4, #e8f5e9);
  border-radius: 10px;
}

.about-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  color: #555;
}

.about-mission {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.mission-content {
  flex: 1;
}

.mission-image {
  flex: 1;
  text-align: center;
}

.mission-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.value-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.value-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.about-founder {
  margin-bottom: 60px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.founder-profile {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.founder-image {
  flex: 1;
  max-width: 300px;
}

.founder-image img {
  width: 100%;
  border-radius: 10px;
}

.founder-bio {
  flex: 2;
}

.founder-bio h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.title {
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.bimbel-offer {
  background: #f9f9f9;
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin-top: 30px;
  display: flex;
  gap: 20px;
  border-radius: 0 8px 8px 0;
}

.bimbel-offer .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.offer-text h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.contact-btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: var(--secondary-color);
}

.contact-btn i {
  margin-right: 8px;
}

.about-testimonials {
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 15px;
}

.quote {
  font-style: italic;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.author {
  font-weight: 500;
  color: var(--primary-color);
}

.about-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 10px;
  margin-bottom: 40px;
}

.about-cta h2 {
  margin-bottom: 15px;
}

.about-cta p {
  margin-bottom: 25px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-explore {
  background: white;
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-explore:hover {
  background: #f1f1f1;
  transform: translateY(-2px);
}

.btn-contact {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-mission {
    flex-direction: column;
  }

  .founder-profile {
    flex-direction: column;
  }

  .founder-image {
    max-width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-explore,
  .btn-contact {
    width: 100%;
    text-align: center;
  }
}

/* Code Block Styles */
pre {
  background-color: rgb(45, 47, 51); /* Dark background */
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  overflow-x: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #4caf50; /* Green accent border */
  position: relative;
}

pre code {
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff; /* Light gray text */
  display: block;
}

/* Syntax highlighting colors */
code .comment {
  color: #5c6370;
  font-style: italic;
} /* Comments */
code .keyword {
  color: #c678dd;
} /* Keywords */
code .string {
  color: #98c379;
} /* Strings */
code .function {
  color: #61afef;
} /* Functions */
code .number {
  color: #d19a66;
} /* Numbers */
code .operator {
  color: #56b6c2;
} /* Operators */

/* Copy button styling */
pre::before {
  content: "Code";
  position: absolute;
  top: 0;
  right: 0;
  background: #4caf50;
  color: white;
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 0 0 0 8px;
  text-transform: uppercase;
  font-family: sans-serif;
}

/* Responsive design */
@media (max-width: 768px) {
  pre {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* Article List Styles */

.post-details,
#bagian-post,
h3 {
  margin-top: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
}

.post-details,
#bagian-post,
h3 a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

.post-details,
#bagian-post,
h3 a:hover {
  color: var(--accent-color);
}

section ul li a {
  color: var(--primary-color);
}

section ul li a:hover {
  color: var(--accent-color);
}

#bagian-post {
  margin-top: 1px;
  margin-left: 20px;
}

/* author */
.meta-info {
  margin-top: 5px;
  font-size: 0.85em;
  color: #666;
  margin-bottom: 25px;
}

.last-update {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #ccc;
}

/* Additional Styles for this article */
.math-definition {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.math-equation {
  margin: 15px 0;
  padding: 10px;
  overflow-x: auto;
}

.example-box {
  background-color: #f8f9fa;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
}

/* .property-box {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.application-box {
  background-color: #f8f9fa;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
}

.exercise-box {
  background-color: #f8f9fa;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
}

.solution-btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 0;
}

.solution {
  display: none;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-top: 10px;
} */

.soal {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.soal h3 {
  margin-bottom: 10px;
  color: #2e7d32;
}

.pilihan {
  margin-top: 15px;
}
.pilihan p {
  padding: 2px;
  font-size: 17px;
}

.pembahasan {
  display: none;
  margin-top: 10px;
  padding: 15px;
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  border-radius: 5px;
}

.btn-toggle {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: #2e7d32;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.btn-toggle:hover {
  background: #1b5e20;
}

.soal {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.soal h3 {
  margin-bottom: 10px;
  color: #2e7d32;
}

.pilihan {
  margin-top: 15px;
}
.pilihan p {
  padding: 2px;
}

.pembahasan {
  display: none;
  margin-top: 10px;
  padding: 15px;
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  border-radius: 5px;
}

.image-caption {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  box-shadow: 0 0 15px rgba(46, 125, 50, 0.1);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

table thead tr {
  background-color: #2e7d32; /* --primary-color */
  color: #f5f5f5; /* --light-text */
  text-align: left;
  font-weight: 600;
}

table th,
table td {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
}

table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

table tbody tr:nth-of-type(even) {
  background-color: #f8f9f8;
}

table tbody tr:last-of-type {
  border-bottom: 2px solid #2e7d32; /* --primary-color */
}

table tbody tr:hover {
  background-color: #e8f5e9; /* Very light green */
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .pembahasan {
    padding: 10px;
  }

  .soal {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .pembahasan {
    padding: 10px;
  }

  .soal {
    padding: 10px;
  }

  mjx-container[jax="CHTML"][display="true"] mjx-math {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
}
