/* Publications page specific styles
 *
 * Paste your /publications/styles.css contents here.
 */
/* Publications Page Specific Styles */
:root {
   --primary-color: #203557;
   --secondary-color: #719976;
   --black-color: #000000;
   --white-color: #ffffff;
   --gray-color: #808080;
   --dark-gray-color: #424242;
   --light-black-color: #212121;
   --light-white-color: #f5f5f5;
   --darker-white-color: #f9f9f9;
   --text-color: #212121;
   --pdf-red: #719976;
   --pdf-light-red: #719976;
 }
 
 .main.publications-page {
   width: 100%;
   height: 100%;
   overflow-x: hidden;
 }
 
 /* Hero Section */
 .publications-hero {
   width: 100%;
   height: 500px;
   max-height: 80vh;
   display: flex;
   flex-direction: column;
   position: relative;
   overflow: hidden;
   padding: 0 !important;
   margin: 0 !important;
   background-color: #f5f5f5;
 }
 
 .publications-hero .hero-content {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 3;
   display: flex;
   align-items: center;
   justify-content: center;
 }
 
 .publications-hero .hero-text {
   text-align: center;
   color: var(--white-color);
   width: 100%;
   padding: 2rem;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 }
 
 .publications-hero .hero-text h1 {
   font-size: 4rem;
   font-weight: 700;
   margin-bottom: 1rem;
   text-transform: uppercase;
   line-height: 1.1;
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
 }
 
 .publications-hero .hero-image {
   width: 100%;
   height: 100%;
   position: relative;
   z-index: 1;
 }
 
 .publications-hero .hero-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   filter: brightness(0.7) contrast(1.1);
 }
 
 .publications-hero::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(
     135deg,
     rgba(32, 53, 87, 0.3) 0%,
     rgba(113, 153, 118, 0.2) 100%
   );
   z-index: 2;
 }
 
 /* Publications Section */
 .publications-section {
   width: 100%;
   padding: 6rem 0;
   background-color: var(--white-color);
   position: relative;
 }
 
 .publications-section::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 50px;
   background: linear-gradient(
     135deg,
     transparent 0%,
     var(--white-color) 20%,
     var(--white-color) 100%
   );
   z-index: 1;
 }
 
 .publications-section .container {
   position: relative;
   z-index: 2;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
 }
 
 .publications-header {
   text-align: center;
   margin-bottom: 4rem;
 }
 
 .publications-header h2 {
   font-size: 2.5rem;
   font-weight: 600;
   color: var(--primary-color);
   margin: 0;
   letter-spacing: 1px;
 }
 
 /* Publications List */
 .publications-list {
   display: flex;
   flex-direction: column;
   gap: 2rem;
   max-width: 800px;
   margin: 0 auto;
 }
 
 .publication-item {
   display: flex;
   align-items: center;
   gap: 2rem;
   padding: 2rem;
   background-color: var(--white-color);
   border-radius: 8px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
   border: 1px solid #e9ecef;
 }
 
 .publication-item:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
 }
 
 .publication-icon {
   width: 60px;
   height: 60px;
   background-color: var(--white-color);
   border: 2px solid var(--pdf-red);
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
 }
 
 .publication-icon i {
   font-size: 2rem;
   color: var(--pdf-red);
 }
 
 .publication-content {
   flex: 1;
   min-width: 0;
 }
 
 .publication-content h3 {
   font-size: 1.3rem;
   font-weight: 600;
   color: var(--primary-color);
   margin: 0 0 0.5rem 0;
   line-height: 1.4;
 }
 
 .publication-description {
   font-size: 0.95rem;
   color: var(--gray-color);
   margin: 0;
   line-height: 1.5;
   font-weight: 400;
 }
 
 .publication-actions {
   display: flex;
   gap: 1rem;
   flex-shrink: 0;
 }
 
 .action-btn {
   padding: 0.75rem 1.5rem;
   border: none;
   border-radius: 25px;
   font-size: 0.9rem;
   font-weight: 500;
   cursor: pointer;
   transition: all 0.3s ease;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   min-width: 100px;
 }
 
 .preview-btn {
   background-color: var(--primary-color);
   color: var(--white-color);
 }
 
 .preview-btn:hover {
   background-color: var(--secondary-color);
   transform: translateY(-1px);
 }
 
 .download-btn {
   background-color: var(--secondary-color);
   color: var(--white-color);
 }
 
 .download-btn:hover {
   background-color: var(--primary-color);
   transform: translateY(-1px);
 }
 
 /* Responsive Design */
 @media (max-width: 768px) {
   .publications-hero {
     height: 400px;
   }
 
   .publications-hero .hero-text h1 {
     font-size: 2.5rem;
   }
 
   .publications-section {
     padding: 4rem 0;
   }
 
   .publications-header h2 {
     font-size: 2rem;
   }
 
   .publication-item {
     flex-direction: column;
     text-align: center;
     gap: 1.5rem;
     padding: 1.5rem;
   }
 
   .publication-actions {
     width: 100%;
     justify-content: center;
   }
 
   .action-btn {
     flex: 1;
     max-width: 120px;
   }
 }
 
 @media (max-width: 480px) {
   .publications-hero {
     height: 400px;
   }
 
   .publications-hero .hero-text h1 {
     font-size: 2rem;
   }
 
   .publications-section {
     padding: 3rem 0;
   }
 
   .publications-section .container {
     position: relative;
     z-index: 2;
     max-width: 1200px;
     width: 95% !important;
     margin: 0 auto;
     padding: 0rem;
   }
 
   .publications-header {
     margin-bottom: 1rem;
   }
 
   .publications-header h2 {
     font-size: 1.8rem;
   }
 
   .publications-list {
     gap: 1rem;
   }
 
   .publication-item {
     padding: 1rem;
     gap: 1rem;
   }
 
   .publication-icon {
     width: 50px;
     height: 50px;
   }
 
   .publication-icon i {
     font-size: 1.5rem;
   }
 
   .publication-content h3 {
     font-size: 1.1rem;
   }
 
   .publication-actions {
     flex-direction: column;
     gap: 0.75rem;
   }
 
   .action-btn {
     width: 100%;
     max-width: none;
     padding: 0.8rem 1rem;
   }
 }
 
 /* Animation for publication items */
 .publication-item {
   opacity: 0;
   transform: translateY(30px);
   animation: fadeInUp 0.6s ease forwards;
 }
 
 .publication-item:nth-child(1) {
   animation-delay: 0.1s;
 }
 
 .publication-item:nth-child(2) {
   animation-delay: 0.2s;
 }
 
 .publication-item:nth-child(3) {
   animation-delay: 0.3s;
 }
 
 .publication-item:nth-child(4) {
   animation-delay: 0.4s;
 }
 
 @keyframes fadeInUp {
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }
 
 /* Loading state for buttons */
 .action-btn:active {
   transform: scale(0.98);
 }
 
 .action-btn.loading {
   position: relative;
   color: transparent;
 }
 
 .action-btn.loading::after {
   content: "";
   position: absolute;
   top: 50%;
   left: 50%;
   width: 16px;
   height: 16px;
   margin: -8px 0 0 -8px;
   border: 2px solid transparent;
   border-top-color: var(--white-color);
   border-radius: 50%;
   animation: spin 1s linear infinite;
 }
 
 @keyframes spin {
   to {
     transform: rotate(360deg);
   }
 }
 
 /* Focus states for accessibility */
 .action-btn:focus {
   outline: 2px solid var(--secondary-color);
   outline-offset: 2px;
 }
 
 .publication-item:focus-within {
   outline: 2px solid var(--secondary-color);
   outline-offset: 2px;
 }
 
 /* Print styles */
 @media print {
   .publications-hero {
     height: auto;
     min-height: 200px;
   }
 
   .publication-actions {
     display: none;
   }
 
   .publication-item {
     box-shadow: none;
     border: 1px solid #ccc;
     break-inside: avoid;
   }
 }
 
