/**
 * @file
 * Custom component styles added for the new D10 Call to Action block.
 */

.call-to-action-block {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  color: white;
}

.call-to-action-block__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.call-to-action-block__content {
  position: relative;
  z-index: 2;
}

.call-to-action-block .headline {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* This styles our link to look like a button */
.call-to-action-block .link-wrapper a {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #000;
  transition: all 0.3s ease;
}

.call-to-action-block .link-wrapper a:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}


/*
 * Styling for the 3-column Benefits View
 * (FINAL version with more specific selectors)
 */
.view-benefits .views-view-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4rem 0;
}

.feature-item {
  text-align: center;
}


/* This selector is now more specific */
.feature-item .feature-item__title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.feature-item .feature-item__title a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}

.feature-item .feature-item__title a:hover {
  text-decoration: underline;
}

/* This selector is now more specific */
.feature-item .feature-item__description {
  font-size: 1.1rem;
  color: #DDDDDD;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  line-height: 1.6;
}

/* This selector is already specific enough */
.node--type-mt-benefit .node__links {
  display: none;
}


/* * NEW, CORRECT STYLES FOR THE ICON
 * Replace the old ".feature-item .feature-item__icon i" rule with these two new ones.
 */

/* This rule styles the black circular background */
.feature-item .feature-item__icon {
  width: 110px;
  height: 110px;
  background-color: #000;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;

  /* Use flexbox to perfectly center the icon inside */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* This rule styles the SVG icon itself */
.feature-item .feature-item__icon svg {
  /* Control the icon size with width and height, not font-size */
  width: 60px;
  height: 60px;
  color: #fff;
}


/*
 * Styling for the Custom Social Links Block (Updated for better visibility)
 */

/* Target the block and turn the list into a horizontal flexbox container */
.social-links-block ul.brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end; /* Aligns all items to the right */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Add some more space between each item to accommodate larger icons */
.social-links-block ul.brands li {
  margin-left: 25px; /* Increased from 20px */
}

/* Style the "Follow us" text to be bigger, bolder, and clearer */
.social-links-block ul.brands li.text {
  /* --- CHANGES HERE --- */
  color: #FFFFFF;     /* Changed to white for better contrast, matching the icons */
  font-size: 2.2rem;   /* Increased from 1.8rem to make it significantly larger */
  font-weight: 600;    /* Added to make the text bolder and easier to read */
  margin-right: auto;  /* Pushes the icons to the right */
}

/* Style the icon links to be larger */
.social-links-block ul.brands a {
  /* --- CHANGES HERE --- */
  color: #FFFFFF;      /* White icon color */
  font-size: 28px;     /* Increased from 22px to make icons much bigger */
  transition: color 0.2s ease-in-out;
  /* Optional: Add a subtle shadow to make icons pop against any background */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Add a hover effect */
.social-links-block ul.brands a:hover {
  color: #007bff; /* Or another highlight color */
}


/*
 * Keep your existing desktop CSS exactly as it is
 * Just add this mobile media query at the end
 */

/* Mobile responsive styles only */
/* Mobile responsive styles - HORIZONTAL ICONS */
/* SIMPLER MOBILE FIX - Force horizontal icons */
@media (max-width: 768px) {
  .social-links-block ul.brands {
    text-align: center !important;
    display: block !important; /* Remove flex entirely on mobile */
  }
  
  .social-links-block ul.brands li.text {
    display: block !important;
    margin: 0 0 25px 0 !important;
    text-align: center;
  }
  
  .social-links-block ul.brands li:not(.text) {
    display: inline-block !important; /* Force horizontal */
    margin: 0 15px 0 15px !important;
  }
}

/****** end of social link *****/

/*** START of Revolution Slider *****/

/* RANDOM-PREMIUM COMPATIBILITY FIX */
.slider-random-premium .rev_slider .tp-revslider-slidesli {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/*******************************************************************
 *
 * FINAL CORRECTED & CONSOLIDATED STYLES FOR REVOLUTION SLIDER
 *
 * This version includes all fixes for:
 * 1. Desktop "View Detail" button positioning
 * 2. Blue text background (fixed selectors)
 * 3. Progress indicator visibility
 * 4. Mobile responsiveness
 *
 *******************************************************************/

/*** START: GENERAL SLIDER & BUTTON STYLES (ALL SCREEN SIZES) ***/

/* Force Revolution Slider to be responsive */
.view-mt-slideshow-full-width .rev_slider_wrapper,
.view-mt-slideshow-full-width .rev_slider,
.view-mt-slideshow-full-width .fullwidthbanner-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;  

}

/* Force images to be responsive */
.view-mt-slideshow-full-width .rev_slider ul li img,
.view-mt-slideshow-full-width .rev_slider .slotholder img,
.responsive-slider-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

/* Style the green "View Detail" button */
.view-detail-button a,
.views-field-view-node a {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.view-detail-button a:hover,
.views-field-view-node a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4) !important;
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%) !important;
}

/* Add icon to button */
.view-detail-button a:before,
.views-field-view-node a:before {
    content: "\f06e" !important; /* Eye icon */
    font-family: "FontAwesome" !important;
    margin-right: 8px !important;
    font-size: 16px !important;
}

/* Base positioning contexts - ESSENTIAL */
.fullwidthbanner-container,
.rev_slider ul li {
    position: relative !important;
    /* FIX: Force hardware acceleration to prevent slides getting stuck with opacity:0 */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/*** END: GENERAL SLIDER & BUTTON STYLES ***/

/*******************************************************************
 *
 * DESKTOP-ONLY STYLES (769px AND WIDER)
 *
 *******************************************************************/
@media (min-width: 769px) {

    /* 1. Set the slider height for desktop */
    .view-mt-slideshow-full-width .fullwidthbanner-container,
    .view-mt-slideshow-full-width .rev_slider {
        height: 450px !important;
    }
    .view-mt-slideshow-full-width .rev_slider ul li img {
        height: 450px !important;
    }

    /* 2. Reset the intermediate '.blue-teaser-overlay' wrapper */
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay {
        background: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    /*
     * 3. FIXED: Style the primary text container with the SEE-THROUGH BLUE background
     * Corrected selector to match HTML structure
     */
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay .title-teaser-text {
        /* Blue gradient background */
        background: linear-gradient(135deg, rgba(51, 122, 183, 0.85) 0%, rgba(40, 96, 144, 0.85) 100%) !important;

        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important; /* For Safari */
        padding: 25px 30px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;

        /* Border color to better match the blue background */
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    /* 4. CRITICAL: Force all text inside the box to be white */
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay .title-teaser-text * {
        color: #ffffff !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    }

    /* 5. Set specific font sizes for desktop */
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay .title-teaser-text h2 {
        font-size: 28px !important;
        font-weight: 700 !important;
        padding-bottom: 10px !important;
        margin: 0 !important;
    }
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay .title-teaser-text p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin: 0 !important;
    }
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay .title-teaser-text a.course-link {
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: underline !important;
        margin-top: 15px !important;
        display: inline-block !important;
    }

    /* 6. FIXED: Position the green "View Detail" button on desktop */
    .rev_slider ul li {
        position: relative !important;
    }
    
    /* Target the button more specifically based on HTML structure */
    .slideshow-fullwidth .rev_slider ul li .view-detail-button,
    .rev_slider ul li .view-detail-button {
        position: absolute !important;
        bottom: 30px !important;
        right: 30px !important;
        z-index: 1000 !important;
        display: block !important;
    }
    
    /* Remove any conflicting positioning from the span */
    .view-detail-button span {
        display: block !important;  
    }
    
    /* Make button more visible with enhanced styling */
    .view-detail-button a {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    /* Alternative broader selector if above doesn't work */
    .view-mt-slideshow-full-width .view-detail-button {
        position: absolute !important;
        bottom: 30px !important;
        right: 30px !important;
        z-index: 1000 !important;
        display: block !important;
    }

    /* 7. Ensure indicators (dots/arrows) are visible on desktop */
    .view-mt-slideshow-full-width .tp-bullets,
    .view-mt-slideshow-full-width .tparrows {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }


    /* 9. Ensure subtitle text styling */
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay .subtitle,
    .view-mt-slideshow-full-width .rev_slider .blue-teaser-overlay .subtitle p {
        background: none !important;
        color: #ffffff !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    }
}

/*******************************************************************
 *
 * TABLET & MOBILE STYLES (768px AND NARROWER)
 *
 *******************************************************************/
@media (max-width: 768px) {

    /* 1. Set a fixed height for the slider container on mobile */
    .view-mt-slideshow-full-width .fullwidthbanner-container,
    .view-mt-slideshow-full-width .rev_slider {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    .view-mt-slideshow-full-width .rev_slider ul li img {
        height: 250px !important;
    }

    /* 2. Target the main Revolution Slider text layer */
    .tp-caption.title-teaser-text {
        top: auto !important; bottom: 0 !important;
        left: 0 !important; right: 0 !important;
        width: 100% !important;
        min-width: 0 !important; /* CRITICAL: Overrides inline min-width */
        max-width: 100% !important;
        transform: none !important;
        margin: 0 !important; padding: 0 !important;
        height: auto !important;
    }

    /* 3. Apply the blue banner background and padding */
    .blue-teaser-overlay,
    .blue-teaser-overlay .title-teaser-text {
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box;
    }
    .blue-teaser-overlay .title-teaser-text {
        background: linear-gradient(135deg, rgba(51, 122, 183, 0.9) 0%, rgba(40, 96, 144, 0.9) 100%) !important;
        padding: 15px 20px !important;
    }

    /* 4. Style the H2 title for mobile */
    .blue-teaser-overlay h2,
    .blue-teaser-overlay h2 a {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.3 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /*
     * 5. CORRECTED: Hide only extra text and the button, KEEP INDICATORS
     */
    .blue-teaser-overlay .subtitle,
    .blue-teaser-overlay .course-link,
    .view-detail-button,
    .views-field-view-node {
        display: none !important;
    }
}

/*******************************************************************
 *
 * SMALL MOBILE-ONLY STYLES (480px AND NARROWER)
 *
 *******************************************************************/
@media (max-width: 480px) {

    /* Further reduce slider height on small phones */
    .view-mt-slideshow-full-width .fullwidthbanner-container,
    .view-mt-slideshow-full-width .rev_slider,
    .view-mt-slideshow-full-width .rev_slider ul li img {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }

    /* Adjust text size for very small screens */
    .blue-teaser-overlay h2,
    .blue-teaser-overlay h2 a {
        font-size: 16px !important;
    }
}

/*******************************************************************
 *
 * END OF CONSOLIDATED SLIDER CSS
 *
 *******************************************************************/


/*******************************************************************
 *
 * REVOLUTION SLIDER FORCE FIXES - NUCLEAR OPTION
 *
 *******************************************************************/

/* Minimal fix for Revolution Slider visibility issue */
.rev_slider .tp-revslider-slidesli {
    visibility: visible !important;
}
/*******************************************************************
 *
 * END OF FORCE FIXES
 *
 *******************************************************************/



/*** end of Slider ****/


/* 2025-06-26 by Ando */
/* Blog submission info layout - more compact like D7 */


/* 2025-06-26 by Ando */
/* Blog layout CSS - fixed content display issue */

/* Blog submission info layout - calendar on left side */
.blog-submission-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Date box styling - positioned on left side */
.blog-date-container {
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  z-index: 10;
}

.blog-date-container .submitted-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 12px 8px;
  min-width: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-date-container .submitted-date::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #0056b3);
}

.blog-date-container .month {
  font-size: 10px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
  line-height: 1;
}

.blog-date-container .day {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
  line-height: 1;
  margin: 2px 0;
}

.blog-date-container .year {
  font-size: 10px;
  color: #868e96;
  font-weight: 500;
  margin-top: 2px;
  line-height: 1;
}

/* Article content container - header info only */
.blog-article-content {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  padding: 25px 25px 15px 25px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  border-bottom: none;
}

/* Author info only (without button) */
.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.blog-author-info .author-line {
  color: #495057;
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

.blog-author-info .author-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-author-info .author-link:hover {
  color: #0056b3;
  text-decoration: none;
}

/* Blog title styling */
.blog-title {
  color: #333;
  margin: 15px 0 0 0;
  font-size: 28px;
  line-height: 1.3;
}

/* Main content area - positioned to connect with header */
.node--type-blog .node__content {
  margin-left: 80px; /* Align with right side content */
  background: #ffffff;
  padding: 20px 25px 25px 25px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  border-top: none;
  line-height: 1.6;
  color: #333;
}

/* Ensure content fields are visible */
.node--type-blog .node__content .field {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  margin-bottom: 15px;
}

.node--type-blog .node__content .field__item {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Author blog button at bottom of article */
.blog-author-button-bottom {
  margin-left: 80px; /* Align with content */
  margin-top: 0;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  border-top: 1px solid #e9ecef;
}

/* Author blog button - enhanced for bottom placement */
.author-blog-button {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white !important;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 3px 6px rgba(40, 167, 69, 0.3);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.author-blog-button:hover {
  background: linear-gradient(135deg, #218838, #1fa888);
  color: white !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(40, 167, 69, 0.4);
}

.author-blog-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Hide any existing blog container classes that might interfere */
.blog-author-container {
  display: none;
}

.author-blog-link {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-submission-info {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .blog-date-container {
    position: static;
    align-self: center;
  }
  
  .blog-article-content {
    width: 100%;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
  }
  
  .node--type-blog .node__content {
    margin-left: 0;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 15px;
    padding: 20px;
  }
  
  .blog-author-button-bottom {
    margin-left: 0;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 15px 20px;
  }
  
  .blog-author-info {
    text-align: center;
  }
  
  .author-blog-button {
    padding: 10px 20px;
  }
  
  .blog-title {
    font-size: 24px;
  }
}


/* Simple mobile fix - just hide View Detail button */
@media screen and (max-width: 767px) {
  .view-detail-button {
    display: none !important;
  }
}

/* URGENT FIX - Override the green button styling for news articles */
/* Use maximum specificity to override existing CSS */
.news-articles-view .views-view-responsive-grid__item .views-field.views-field-view-node a,
.news-articles-view .views-view-responsive-grid__item-inner .views-field.views-field-view-node a,
.news-articles-view .views-field.views-field-view-node .field-content a {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #007bff !important;
    text-decoration: underline !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    z-index: auto !important;
    font-size: inherit !important;
    font-weight: normal !important;
    display: inline !important;
    align-items: initial !important;
    white-space: normal !important;
    border: none !important;
    transition: none !important;
}

/* Also override hover state */
.news-articles-view .views-field.views-field-view-node a:hover {
    background: none !important;
    background-color: transparent !important;
    color: #0056b3 !important;
    text-decoration: underline !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Target the specific latest-news view we see in inspector */
.view-latest-news .views-field-view-node a,
#view-latest-news .views-field-view-node a,
.view-id-latest_news .views-field-view-node a {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    color: #007bff !important;
    text-decoration: underline !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    font-size: inherit !important;
    font-weight: normal !important;
    display: inline !important;
    align-items: initial !important;
    border: none !important;
    transition: none !important;
}

/* Remove the eye icon from news articles */
.view-latest-news .views-field-view-node a:before,
#view-latest-news .views-field-view-node a:before,
.view-id-latest_news .views-field-view-node a:before {
    content: none !important;
    display: none !important;
}

/* Hover state for news links */
.view-latest-news .views-field-view-node a:hover,
#view-latest-news .views-field-view-node a:hover,
.view-id-latest_news .views-field-view-node a:hover {
    background: none !important;
    color: #0056b3 !important;
    text-decoration: underline !important;
    transform: none !important;
    box-shadow: none !important;
}



/*   add  */
/* More specific CSS to override existing styles */
.views-field-view-node .field-content .btn-read-more,
.field-content.btn-read-more a,
a.btn-read-more {
    display: inline-block !important;
    padding: 10px 20px !important;
    background-color: #007cba !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    border: 1px solid #007cba !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.views-field-view-node .field-content .btn-read-more:hover,
.field-content.btn-read-more a:hover,
a.btn-read-more:hover {
    background-color: #005a87 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-color: #005a87 !important;
}

/* Override all link states */
.btn-read-more:link,
.btn-read-more:visited,
.btn-read-more:active,
.btn-read-more:focus {
    color: #ffffff !important;
}
/******** BLOCK SEPARATION ********/

/* Double line separator above GLICC courses section */
.block-views-blockcourse-offerings-block-1 {
    border-top: 3px double #007cba;
    padding-top: 40px;
    margin-top: 60px;
}
/* D7-style "more" button - rounded green button */
a.more {
    display: inline-block !important;
    padding: 12px 24px !important;
    background-color: #6b8e23 !important; /* Olive green color */
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 25px !important; /* Rounded pill shape */
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    min-width: 120px !important;
}

/* Hover effect */
a.more:hover {
    background-color: #5a7a1f !important; /* Darker green on hover */
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Active/pressed state */
a.more:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Focus state for accessibility */
a.more:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Ensure all link states maintain button appearance */
a.more:link,
a.more:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}
/*******************************************************************
 *
 * FINAL MOBILE BANNER & SLIDER HEIGHT FIX (768px and narrower)
 *
 *******************************************************************/
@media (max-width: 768px) {
  /*
   * The root cause is the inner slider wrapper getting a 400px height from
   * JavaScript, and the #banner is stretching to fit. We must force BOTH
   * elements to be 250px and hide the overflow.
   */
  #banner {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    overflow: hidden !important;
  }

  /* This targets the actual slider containers INSIDE the #banner */
  #banner .rev_slider_wrapper,
  #banner .rev_slider {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
  }
}
