/* Modern About Page Styling - Green Theme */

/* Page Container */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

.page_about {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  min-height: 100vh;
  padding: 40px 20px;
}

/* Breadcrumbs Styling */
.breadcrumbs {
  margin-bottom: 30px;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs a {
  color: #16a34a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #15803d;
}

.breadcrumbs .separator {
  margin: 0 12px;
  color: #9ca3af;
}

/* Main Heading */
.page_about h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page_about h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 2px;
}

/* Edit Link Styling */
.edit-link {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #16a34a;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  border: 2px solid transparent;
}

.edit-link:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(22, 163, 74, 0.4);
}

.edit-link::before {
  content: '✏️';
  margin-right: 8px;
}

/* Content Area */
.page_about > div:last-child,
.about-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.page_about > div:last-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* Content Typography */
.about-content h2,
.page_about h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.about-content h2::before,
.page_about h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 2px;
}

.about-content h3,
.page_about h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-content p,
.page_about p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 20px;
  text-align: justify;
}

.about-content ul,
.about-content ol,
.page_about ul,
.page_about ol {
  padding-left: 30px;
  margin-bottom: 20px;
}

.about-content li,
.page_about li {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Links */
.about-content a,
.page_about a:not(.edit-link) {
  color: #16a34a;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.about-content a:hover,
.page_about a:not(.edit-link):hover {
  color: #15803d;
  border-bottom-color: #15803d;
}

/* Contact Information Styling */
.contact-info {
  background: #f0fdf4;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #22c55e;
  margin: 30px 0;
}

.contact-info h4 {
  color: #1f2937;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page {
    padding: 0 15px;
  }
  
  .page_about {
    padding: 25px 15px;
  }
  
  .page_about h1 {
    font-size: 2.25rem;
    margin-bottom: 30px;
  }
  
  .about-content,
  .page_about > div:last-child {
    padding: 25px 20px;
    border-radius: 12px;
  }
  
  .about-content h2,
  .page_about h2 {
    font-size: 1.5rem;
    margin-top: 30px;
  }
  
  .breadcrumbs {
    padding: 10px 0;
  }
  
  .edit-link {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page_about h1 {
    font-size: 1.875rem;
  }
  
  .about-content p,
  .page_about p {
    font-size: 1rem;
    text-align: left;
  }
  
  .about-content,
  .page_about > div:last-child {
    padding: 20px 15px;
  }
}

/* Animation Effects */
.page_about {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Image Styling for Journal About */
.journal-about {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.journal-about img {
  max-width: 200px;
  max-height: 120px;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(22, 163, 74, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #dcfce7;
}

.journal-about img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.25);
}

/* Alternative smaller image styling */
.page_about img,
.about-content img {
  max-width: 150px;
  max-height: 100px;
  width: auto;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
  border: 1px solid #dcfce7;
  transition: all 0.3s ease;
}

.page_about img:hover,
.about-content img:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

/* Print Styles */
@media print {
  .page_about {
    background: none !important;
    box-shadow: none !important;
  }
  
  .edit-link {
    display: none !important;
  }
  
  .breadcrumbs {
    display: none !important;
  }
  
  .journal-about img,
  .page_about img,
  .about-content img {
    max-width: 120px;
    max-height: 80px;
  }
}