/**
  Theme Name: AUX Child Theme
  Description: An empty WordPress child theme for use with the aux-wordpress parent theme.
  Template: aux-wordpress
  Text Domain: aux-wordpress-child
  Theme URI: https://github.com/tamu-edu/aux-wordpress-child
  Author: Texas A&M University Web Team
  Author URI: https://marcomm.tamu.edu/web/
  Version: 0.0.1
 */
 @charset "UTF-8";

 .site-title .program-site-title {
   font-family: "Work Sans", Arial, sans-serif;
   font-weight: 700;
   font-size: 32px;
   font-style: italic;
 }
 
 /* Stacked Footer Identity Layout */
 .footer__column--identity {
   display: flex !important;
   flex-direction: column !important;
   align-items: center !important;
   text-align: center !important;
 }
 
 .identity__stacked {
   display: flex !important;
   flex-direction: column !important;
   align-items: center !important;
   gap: 1rem !important;
 }
 
 .footer__logo {
   width: 270px !important;
   height: 149.23px !important;
   max-width: 100% !important;
 }
 
 /* Remove unused text styles */
 /* .identity__text, .identity__university, .identity__college styles removed */
 
 /* Social media using Font Awesome */
 .footer__column--identity .footer__social {
   display: flex !important;
   gap: 0.75rem !important;
   justify-content: center !important;
 }
 
 .footer__column--identity .footer__social a {
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
   width: 32px !important;
   height: 32px !important;
   background-color: #500000 !important;
   border-radius: 4px !important;
   text-decoration: none !important;
   transition: background-color 0.2s ease !important;
   color: white !important;
 }
 
 .footer__column--identity .footer__social a:hover {
   background-color: #3a0000 !important;
 }
 
 .footer__column--identity .footer__social i {
   font-size: 14px !important;
 }
 
 /* --- 1. Fix the Spacing Between Cards --- */
 /* This adds a gap so cards don't touch each other */
 .news-carousel-wrapper .slick-slide {
     margin: 0 15px; /* 15px gap on left and right */
 }
 /* Compensate for the margin on the wrapper */
 .news-carousel-wrapper .slick-list {
     margin: 0 -15px;
     padding-bottom: 60px; /* Make room for buttons at the bottom */
 }
 
 /* --- 1. Prepare the Container --- */
 .news-carousel-wrapper {
     padding-bottom: 70px; /* Create space at the bottom for the controls */
     position: relative;
 }
 
 /* --- 2. Reset & Style the Arrows (Maroon Circles) --- */
 .news-carousel-wrapper .slick-prev,
 .news-carousel-wrapper .slick-next {
     position: absolute;
     bottom: 10px; /* Place at the bottom */
     top: auto;    /* Remove top positioning */
     transform: none; /* Remove centering transform */
     z-index: 100;
     
     /* Maroon Circle Style */
     width: 35px;
     height: 35px;
     background-color: #500000 !important;
     color: #ffffff !important;
     border-radius: 50%;
     border: 2px solid #500000;
     
     /* Flex to center the icon */
     display: flex !important;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
 }
 
 /* --- 3. Position the Arrows relative to the Center --- */
 /* We use calc() to pinch them around the dots */
 
 /* Left Arrow: Move to center, then back up 90px to the left */
 .news-carousel-wrapper .slick-prev {
     left: 50%;
     margin-left: -120px; /* Adjust this value to widen/tighten the gap */
 }
 
 /* Right Arrow: Move to center, then push 65px to the right */
 /* Note: 65px accounts for the button width + gap */
 .news-carousel-wrapper .slick-next {
     left: 50%;
     margin-left: 85px; /* Adjust this value to widen/tighten the gap */
     right: auto;
 }
 
 /* --- 4. Style the Dots (The pagination) --- */
 .news-carousel-wrapper .slick-dots {
     bottom: 18px; /* Align vertically with the arrows */
     width: 100%;
     text-align: center;
     padding: 0;
     margin: 0;
 }
 
 .news-carousel-wrapper .slick-dots li {
     margin: 0 3px;
 }
 
 /* Un-selected Dots */
 .news-carousel-wrapper .slick-dots li button:before {
     font-size: 10px;
     color: #ccc; /* Light gray */
     opacity: 1;
 }
 
 /* The Active Dot */
 .news-carousel-wrapper .slick-dots li.slick-active button:before {
     color: #500000; /* Maroon */
     font-size: 12px; /* Slightly bigger */
 }
 
 /* --- 5. Hover Effects --- */
 .news-carousel-wrapper .slick-prev:hover,
 .news-carousel-wrapper .slick-next:hover {
     background-color: #333 !important;
     border-color: #333 !important;
     cursor: pointer;
 }
 
 /* Ensure Icons are White */
 .news-carousel-wrapper .slick-prev:before,
 .news-carousel-wrapper .slick-next:before {
     color: white !important;
     opacity: 1;
     font-size: 16px;
 }
 
 /* Responsive adjustments */
 @media (max-width: 768px) {
   .footer__logo {
     width: 160px !important;
   }
   
   .footer__column--identity .social-collection__list {
     gap: 0.25rem !important;
   }
   
   .footer__column--identity .social-collection__list a {
     width: 28px !important;
     height: 28px !important;
   }
 }
 
 @media (max-width: 480px) {
   .footer__logo {
     width: 140px !important;
   }
 }

   .aux-subfooter,
   .aux-vmth-subfooter {
     color: #fff;
     padding: 3rem 0;
   }
   
   .aux-subfooter-container,
   .aux-vmth-subfooter-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 2rem;
   }
   
   .aux-subfooter-grid,
   .aux-vmth-subfooter-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 4rem;
   }
   
   .aux-subfooter-column h3,
   .aux-vmth-subfooter-column h3 {
     font-family: "Open Sans", sans-serif;
     font-size: 1rem;
     font-weight: 400;
     font-style: italic;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     margin: 0 0 0.75rem 0;
     color: #ccc;
   }
   
   .aux-subfooter-column ul,
   .aux-vmth-subfooter-column ul {
     list-style: none;
     margin: 0;
     padding: 0;
   }
   
   .aux-subfooter-column li,
   .aux-vmth-subfooter-column li {
     margin-bottom: 0.75rem;
     position: relative;
     padding-left: 1.2em;
   }
   
   .aux-subfooter-column li::before,
   .aux-vmth-subfooter-column li::before {
     content: "»";
     position: absolute;
     left: 0;
     color: #fff;
     font-size: 1.5rem;
     font-weight: 300;
     line-height: 1;
   }
   
   .aux-subfooter-column a,
   .aux-vmth-subfooter-column a {
     color: #fff;
     text-decoration: underline;
     font-size: 0.9rem;
     line-height: 1.4;
   }
   
   .aux-subfooter-column a:hover,
   .aux-vmth-subfooter-column a:hover {
     color: rgba(255, 255, 255, 0.8);
   }
   
   /* Variant backgrounds */
   .aux-subfooter { background-color: #500000; }
   .aux-vmth-subfooter { background-color: #202020; }
   
   /* Responsive */
   @media (max-width: 1024px) {
     .aux-subfooter-grid,
     .aux-vmth-subfooter-grid {
       grid-template-columns: repeat(2, 1fr);
       gap: 2rem;
     }
   }
   
   @media (max-width: 640px) {
     .aux-subfooter-grid,
     .aux-vmth-subfooter-grid {
       grid-template-columns: 1fr;
       gap: 2rem;
     }
   
     .aux-subfooter,
     .aux-vmth-subfooter {
       padding: 2rem 0;
     }
   }
   
   .footer--vmth {
     padding-top: 1.25rem;
     padding-bottom: 1.25rem;
   }
   
   .footer--vmth .footer__columns {
     row-gap: 1rem;
     column-gap: 1.5rem;
   }
   
   .footer--vmth .footer__column {
     margin-bottom: 0.5rem;
   }
   
   .footer--vmth .footer__compliance-wrapper {
     margin-top: 0.75rem;
     padding-top: 0.75rem;
   }
   
   .footer--vmth .identity__stacked {
     gap: 0.5rem;
   }
   
   .footer--vmth .footer__logo {
     max-height: 90px;
     width: auto;
     height: auto;
   }

/* Print button visuals */
#print-pdf-button {
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  background: #500000 !important; /* Aggie maroon */
  color: #ffffff !important;
  font-size: 1rem !important;
  letter-spacing: 0.05rem !important;
  padding: 12px 25px !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

#print-pdf-button:hover {
  background-color: #3C0000 !important;
  color: #ffffff !important;
}

.print-btn-container {
  max-width: 1200px; 
  width: 100%;
  margin: 0 auto 40px;     
  padding: 0 3rem;    
  text-align: left;  
  box-sizing: border-box;
}

/* Print rules */
@media print {

  h1, h2, h3 { page-break-after: avoid; break-after: avoid; }
  img, table, figure { page-break-inside: avoid; break-inside: avoid; }
  p, li { orphans: 3; widows: 3; }
  .container, .wrap, .content, .entry-content, #main-content {
    max-width: none !important;
    width: 100% !important;
  }

  .sticky, [style*="position: fixed"], [style*="position: sticky"] {
    position: static !important;
  }

  * {
    -webkit-print-color-adjust: exact !important; /* Chrome/Safari */
    print-color-adjust: exact !important;         /* Modern spec */
  }

  #print-pdf-button,
  .print-btn-container { 
    display: none !important; 
  }

  header, footer, nav, 
  .site-header, .aux-header, 
  .aux-subfooter, .aux-footer-container, 
  .sticky-container, .csbwfs-social-widget, 
  #wpadminbar, .skip-link, .aux-vmth-subfooter{
    display: none !important;
  }

  body, main, #main-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

body.archive .page-header--archive-maroon,
body.category .page-header--archive-maroon {
  background: none !important;
}

body.archive .page-header--archive-maroon .page-header__content,
body.category .page-header--archive-maroon .page-header__content {
  background: #500000 !important;
  padding: 4rem 4rem !important;
  width: 100% !important;
  display: block !important;
}

body.archive .page-header--archive-maroon .page-header__container,
body.category .page-header--archive-maroon .page-header__container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

body.archive .page-header--archive-maroon h1,
body.category .page-header--archive-maroon h1 {
  color: #fff !important;
  margin: 0 !important;
}

body.archive .divider-dots,
body.category .divider-dots {
  display: none !important;
}
body.archive .page-header__image + .page-header__container .page-header__content,
body.category .page-header__image + .page-header__container .page-header__content {
  min-height: 180px !important; /* adjust 180–220 if needed */
  display: flex !important;
  align-items: center !important;
}

.single-post .page-header {
    background-color: #f6f6f6 !important;
}
