/*
 * WiseLeaf Global Professional Theme - Applied to ALL Journal Pages
 * Journal of Advanced Pharmaceutical Sciences and Natural Products
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

/* CSS Variables for WiseLeaf Brand Colors - Homepage Consistent */
:root {
  --primary-color: #0c4a60;
  --secondary-color: #1a5c75;
  --accent-color: #005a8b;
  --light-accent: #3498db;
  --orange-accent: #e67e22;
  --text-primary: #2c3e50;
  --text-secondary: #5d6d7e;
  --text-light: #85929e;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-main: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #005a8b 100%);
  --gradient-accent: linear-gradient(45deg, #3498db 0%, #005a8b 100%);
}

/* Global Reset and Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.6;
  color: var(--text-primary) !important;
  background-color: var(--background-light) !important;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif !important;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
}

/* Enhanced Header Styling for All Pages */
.pkp_structure_head {
  background: var(--gradient-main) !important;
  box-shadow: var(--shadow-lg) !important;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--secondary-color);
}

/* Enhanced Homepage Visual Improvements */
.wiseleaf-homepage {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Journal Introduction Section Enhancements */
.journal-introduction {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.journal-introduction::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
}

.introduction-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.journal-cover-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 5.5rem;
}

.cover-image-wrapper {
  position: relative;
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.cover-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.journal-cover-image {
  width: 220px !important;
  height: 330px !important;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 3px solid rgba(12, 74, 96, 0.1);
  transition: var(--transition);
}

.journal-cover-image:hover {
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.25),
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

.cover-details {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  min-width: 280px;
  width: 100%;
}

.publication-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.info-value {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.journal-description-section {
  flex: 1;
}

.description-content {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.introduction-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.highlight-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.introduction-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.journal-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.feature-content h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design for Journal Introduction */
@media (max-width: 1024px) {
  .introduction-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .cover-image-wrapper {
    transform: none;
  }
  
  .journal-cover-image {
    width: 180px !important;
    height: 270px !important;
  }
  
  .introduction-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .journal-introduction {
    padding: 2rem 1rem;
  }
  
  .description-content {
    padding: 2rem;
  }
  
  .journal-features {
    grid-template-columns: 1fr;
  }
  
  .journal-cover-image {
    width: 150px !important;
    height: 225px !important;
  }
  
  .introduction-title {
    font-size: 1.8rem;
  }
}

/* Enhanced Action Cards Section */
.quick-actions {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
}

.quick-actions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.action-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.action-card:hover::before {
  opacity: 0.03;
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.action-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-features {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.feature-tag {
  background: linear-gradient(135deg, var(--light-accent), var(--accent-color));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.card-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Enhanced Announcements Section */
.announcements-issues-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
}

.announcements-issues-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
}

.announcements-issues-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.announcements-column,
.current-issues-column {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.announcements-column::before,
.current-issues-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
}

.announcements-column:hover,
.current-issues-column:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* Enhanced Current Issue Featured Container */
.current-issue-featured {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.current-issue-featured:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.single-issue-display {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

.announcement-item {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.announcement-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
}

.current-issue-image {
  width: 140px !important;
  height: 210px !important;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.current-issue-image:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Responsive Design for Enhanced Sections */
@media (max-width: 1024px) {
  .announcements-issues-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .quick-actions,
  .announcements-issues-section {
    padding: 2rem 1rem;
  }
  
  .action-card,
  .announcements-column,
  .current-issues-column {
    padding: 2rem;
  }
}

.pkp_structure_head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.pkp_head_wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.pkp_site_name {
  margin-bottom: 0 !important;
}

.pkp_site_name a {
  color: white !important;
  text-decoration: none !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  font-family: 'Merriweather', serif !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
  transition: var(--transition);
}

.pkp_site_name a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: white !important;
  text-decoration: none !important;
}

/* Professional Navigation */
.pkp_site_nav_menu {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  margin-top: 1rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pkp_navigation_primary {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.pkp_navigation_primary li {
  margin: 0 !important;
}

.pkp_navigation_primary li a {
  color: white !important;
  text-decoration: none !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: calc(var(--border-radius) - 2px) !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
  display: block !important;
  background: transparent !important;
}

.pkp_navigation_primary li a:hover,
.pkp_navigation_primary li.current a {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: white !important;
  text-decoration: none !important;
}

/* Main Content Container */
.pkp_structure_main {
  max-width: 1200px !important;
  margin: 2rem auto !important;
  padding: 0 2rem !important;
  background: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  min-height: 500px;
}

.pkp_structure_content {
  background: var(--background-light) !important;
  padding-bottom: 2rem;
}

/* Page Titles and Headers */
.page-header,
.pkp_page_title,
h1.page_title {
  background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
  color: white !important;
  padding: 2rem;
  margin: -2rem -2rem 2rem -2rem;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  text-align: center;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Content Sections */
.page_content,
.pkp_content {
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

/* Professional Forms */
.pkp_form,
form {
  background: white !important;
  padding: 2rem !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 2rem !important;
  border: 1px solid var(--border-color) !important;
}

.pkp_form label,
form label {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}

.pkp_form input,
.pkp_form textarea,
.pkp_form select,
form input,
form textarea,
form select {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 2px solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  font-size: 1rem !important;
  transition: var(--transition) !important;
  font-family: 'Inter', sans-serif !important;
}

.pkp_form input:focus,
.pkp_form textarea:focus,
.pkp_form select:focus,
form input:focus,
form textarea:focus,
form select:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

/* Professional Buttons */
.pkp_button,
.btn,
button,
input[type="submit"],
input[type="button"],
a.button {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.75rem 1.5rem !important;
  background: var(--primary-color) !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: var(--border-radius) !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  font-family: 'Inter', sans-serif !important;
}

.pkp_button:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
a.button:hover {
  background: #1e3a8a !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-md) !important;
  color: white !important;
  text-decoration: none !important;
}

.pkp_button.pkp_button_primary,
.btn-primary {
  background: var(--primary-color) !important;
}

.pkp_button.pkp_button_secondary,
.btn-secondary {
  background: var(--secondary-color) !important;
}

.pkp_button.pkp_button_secondary:hover,
.btn-secondary:hover {
  background: #047857 !important;
}

/* Lists and Tables */
.pkp_table,
table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: white !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm) !important;
  overflow: hidden !important;
  margin-bottom: 2rem !important;
}

.pkp_table th,
.pkp_table td,
table th,
table td {
  padding: 1rem !important;
  text-align: left !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.pkp_table th,
table th {
  background: var(--primary-color) !important;
  color: white !important;
  font-weight: 600 !important;
}

.pkp_table tr:hover,
table tr:hover {
  background: var(--background-light) !important;
}

/* Professional Lists */
ul, ol {
  padding-left: 1.5rem !important;
}

li {
  margin-bottom: 0.5rem !important;
  color: var(--text-primary) !important;
}

.pkp_list {
  background: white !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

/* Article and Content Cards */
.article-summary,
.obj_article_summary,
.pkp_article_summary {
  background: white !important;
  border-radius: var(--border-radius) !important;
  padding: 2rem !important;
  margin-bottom: 2rem !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border-color) !important;
  transition: var(--transition) !important;
}

.article-summary:hover,
.obj_article_summary:hover,
.pkp_article_summary:hover {
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-2px);
}

.article-summary h3,
.obj_article_summary h3,
.pkp_article_summary h3 {
  color: var(--primary-color) !important;
  margin-bottom: 1rem !important;
}

.article-summary a,
.obj_article_summary a,
.pkp_article_summary a {
  color: var(--primary-color) !important;
  text-decoration: none !important;
}

.article-summary a:hover,
.obj_article_summary a:hover,
.pkp_article_summary a:hover {
  text-decoration: underline !important;
  color: #1e3a8a !important;
}

/* Sidebar Styling */
.pkp_structure_sidebar {
  background: var(--background-light) !important;
  padding: 2rem !important;
  border-radius: var(--border-radius) !important;
  margin-left: 2rem !important;
}

.pkp_block {
  background: white !important;
  border-radius: var(--border-radius) !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border-color) !important;
}

.pkp_block h2,
.pkp_block h3 {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color) !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 1rem !important;
}

/* Breadcrumbs */
.pkp_breadcrumb {
  background: white !important;
  padding: 1rem 2rem !important;
  border-radius: var(--border-radius) !important;
  margin-bottom: 1rem !important;
  box-shadow: var(--shadow-sm) !important;
}

.pkp_breadcrumb a {
  color: var(--primary-color) !important;
  text-decoration: none !important;
}

.pkp_breadcrumb a:hover {
  text-decoration: underline !important;
}

/* Footer Enhancement */
.pkp_structure_footer {
  background: var(--text-primary) !important;
  color: white !important;
  padding: 3rem 0 !important;
  margin-top: 3rem !important;
}

.pkp_structure_footer a {
  color: #d1d5db !important;
  transition: var(--transition) !important;
}

.pkp_structure_footer a:hover {
  color: white !important;
}

/* Messages and Notifications */
.pkp_notification {
  padding: 1rem 1.5rem !important;
  border-radius: var(--border-radius) !important;
  margin-bottom: 1rem !important;
  border-left: 4px solid var(--primary-color) !important;
}

.pkp_notification.notifySuccess {
  background: #f0fdf4 !important;
  border-left-color: var(--secondary-color) !important;
  color: #166534 !important;
}

.pkp_notification.notifyError {
  background: #fef2f2 !important;
  border-left-color: var(--accent-color) !important;
  color: #991b1b !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pkp_head_wrapper {
    padding: 1rem !important;
  }
  
  .pkp_site_name a {
    font-size: 1.5rem !important;
  }
  
  .pkp_navigation_primary {
    flex-direction: column !important;
  }
  
  .pkp_structure_main {
    margin: 1rem auto !important;
    padding: 0 1rem !important;
  }
  
  .page-header,
  .pkp_page_title,
  h1.page_title {
    font-size: 1.5rem !important;
    padding: 1.5rem !important;
  }
  
  .page_content,
  .pkp_content {
    padding: 1rem !important;
  }
  
  .pkp_structure_sidebar {
    margin-left: 0 !important;
    margin-top: 2rem !important;
  }
}

/* Print Styles */
@media print {
  .pkp_structure_head,
  .pkp_structure_sidebar,
  .pkp_structure_footer {
    display: none !important;
  }
  
  .pkp_structure_main {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}

/* Announcements and Current Issues Section Styling */
.announcements-issues-section {
  background: var(--background-white);
  padding: 3rem 0;
  margin: 2rem 0;
}

.announcements-issues-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

/* Announcements Column */
.announcements-column {
  background: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.announcement-item {
  background: var(--background-light);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
  display: flex;
  gap: 1rem;
}

.announcement-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.announcement-date {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  text-align: center;
  min-width: 60px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.date-day {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin: 0.2rem 0;
}

.date-year {
  font-size: 0.7rem;
  opacity: 0.9;
}

.announcement-content {
  flex: 1;
}

.announcement-title {
  color: var(--primary-color) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4;
}

.announcement-title a {
  color: var(--primary-color) !important;
  text-decoration: none !important;
}

.announcement-title a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

.announcement-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.announcement-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.meta-item i {
  color: var(--accent-color);
}

/* Current Issues Column */
.current-issues-column {
  background: var(--background-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 2rem;
}

.single-issue-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.current-issue-featured {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.issue-cover-large {
  position: relative;
  width: 180px;
  height: 240px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(800px) rotateY(-15deg);
  transition: var(--transition);
}

.issue-cover-large:hover {
  transform: perspective(800px) rotateY(0deg) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.current-issue-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.issue-badge-large {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(45deg, var(--orange-accent), #f39c12);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: var(--shadow-sm);
}

.issue-badge-large i {
  font-size: 0.7rem;
}

.issue-details {
  width: 100%;
}

.current-issue-title {
  color: var(--primary-color) !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  text-align: center;
}

.current-issue-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: center;
}

.current-issue-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--background-light);
  border-radius: var(--border-radius-sm);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  justify-content: center;
}

.stat-item i {
  color: var(--accent-color);
  width: 16px;
  text-align: center;
}

.current-issue-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.browse-issue-btn {
  background: var(--primary-color) !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--border-radius) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.browse-issue-btn:hover {
  background: #1e3a8a !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white !important;
  text-decoration: none !important;
}

.view-archive-btn {
  background: transparent !important;
  color: var(--primary-color) !important;
  padding: 0.75rem 1.5rem !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: var(--border-radius) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.view-archive-btn:hover {
  background: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none !important;
}

/* Section Headers for both columns */
.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  color: var(--primary-color) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
}

.section-title i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.view-all-link {
  margin-top: 2rem;
  text-align: center;
}

.view-all-btn {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.view-all-btn:hover {
  background: var(--background-light);
  transform: translateX(3px);
  text-decoration: none !important;
}

.view-all-btn i {
  transition: var(--transition);
}

.view-all-btn:hover i {
  transform: translateX(2px);
}

/* Responsive Design for Announcements-Issues Section */
@media (max-width: 992px) {
  .announcements-issues-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .current-issues-column {
    position: static;
  }
}

@media (max-width: 768px) {
  .announcements-issues-container {
    padding: 0 1rem;
  }
  
  .announcements-column,
  .current-issues-column {
    padding: 1.5rem;
  }
  
  .announcement-item {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .announcement-date {
    align-self: flex-start;
    min-width: 50px;
    padding: 0.5rem;
  }
  
  .issue-cover-large {
    width: 140px;
    height: 190px;
    transform: none;
  }
  
  .issue-cover-large:hover {
    transform: scale(1.02);
  }
  
  .current-issue-actions {
    flex-direction: column;
  }
}

/* Accessibility Enhancements */
/* Remove blue outline from navigation buttons and interactive elements */
button:focus,
a:focus,
.dropdown-toggle:focus,
.nav-link:focus,
.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Keep outline for accessibility on keyboard navigation only */
button:focus-visible,
a:focus-visible,
.dropdown-toggle:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--primary-color) !important;
  outline-offset: 2px !important;
}

/* Skip Links */
.cmp_skip_to_content a {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cmp_skip_to_content a:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: var(--primary-color) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  text-decoration: none !important;
  border-radius: var(--border-radius) !important;
}

/* ========================================
   WISELEAF BOOK COVER STYLING - PORTRAIT MODE
   Makes journal covers and issue covers look like professional books
   ======================================== */

/* Book Cover Dimensions - Professional 2:3 Aspect Ratio */
.obj_issue_summary .cover img,
.obj_issue_toc .cover img,
.current_issue .cover img {
  width: 240px !important;
  height: 360px !important;
  aspect-ratio: 2/3 !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  border-left: 2px solid rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  display: block !important;
  /* TEMPORARY DEBUG - Remove this after confirming it works */
  border: 3px solid red !important;
}

/* Book Cover Hover Effects */
.obj_issue_summary .cover img:hover,
.obj_issue_toc .cover img:hover,
.current_issue .cover img:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.1) !important;
}

/* Container adjustments for book covers */
.obj_issue_summary .cover,
.obj_issue_toc .cover,
.current_issue .cover {
  display: inline-block !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
}


/* Responsive Book Cover Sizes */
@media (max-width: 768px) {
  .obj_issue_summary .cover img,
  .obj_issue_toc .cover img,
  .current_issue .cover img {
    width: 180px !important;
    height: 270px !important;
  }
}

@media (max-width: 480px) {
  .obj_issue_summary .cover img,
  .obj_issue_toc .cover img,
  .current_issue .cover img {
    width: 140px !important;
    height: 210px !important;
  }
}

/* Partner/Service Logos */
.journal-description-section .partner-logos {
	display: flex !important;
	gap: 1rem !important;
	align-items: center !important;
	margin: 0.2rem 0 0.2rem 0 !important;
	padding: 0 !important;
	flex-wrap: wrap !important;
}

.partner-logos {
	display: flex !important;
	gap: 1rem !important;
	align-items: center !important;
	margin: 0.2rem 0 0.2rem 0 !important;
	padding: 0 !important;
	flex-wrap: wrap !important;
}

.partner-logo {
	display: inline-block;
	transition: all 0.3s ease;
	text-decoration: none;
}

.partner-logo img {
	height: 30px;
	opacity: 0.8;
	transition: all 0.3s ease;
	filter: grayscale(20%);
}

.partner-logo:hover {
	transform: translateY(-2px);
}

.partner-logo:hover img {
	opacity: 1;
	filter: grayscale(0%);
	transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.partner-logos {
		justify-content: center;
		gap: 0.8rem;
	}
	
	.partner-logo img {
		height: 25px;
	}
}


