.page-contents {
  font-size: 1.2em;
  line-height: 1.8em;
}

blockquote {
  margin: 0 0 1rem 1rem;
  font-style: italic;
}

.news_title {
  width: 100%;
  padding-bottom: 20%;
  height: 0;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: lighten;
  background-color: rgba(255, 255, 255, 0.5);
}
.news_title .post-title {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 4px;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
}

.localsection-button {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home_news .news_title {
  padding-bottom: 150%;
}

.post_page .news_title {
  padding-bottom: 50%;
  background-blend-mode: normal;
}

article time {
  display: inline-block;
  margin-bottom: 20px;
  opacity: 0.8;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  border: 2px solid;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #ffa200;
  border-color: #ffa200;
}
.btn-primary:hover {
  color: #000;
  background-color: #FFF;
  border-color: #000;
}

.cta-button {
  text-decoration: none;
}
.cta-button:hover {
  text-decoration: none;
  box-shadow: 0 0 5px #444;
  background-color: #FFF;
  border-color: #FFF;
}

.ils-services-grid .card-footer {
  padding: 0;
  background-color: #FFF;
}

.pagination a {
  text-decoration: none;
  color: #ffa200;
}
.pagination li.active a {
  background-color: #000 !important;
  border-color: #000 !important;
}

#mapid {
  width: 100%;
  height: 100%;
  /* Without min-height map is not displayed on mobile */
  min-height: 600px;
}

#ils_footer a {
  text-decoration: none;
}
#ils_footer a.btn:hover {
  color: #333;
}
#ils_footer a.btn:hover path {
  fill: #333;
}
#ils_footer .col-md-3 {
  padding: 5px;
}
#ils_footer .col-md-3 .cell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
}

/**
 * Bigger link content (most useful in mobile)
 */
.navbar-nav .nav-link {
  padding: 0.4em 0.8em;
}

/**
 * Smaller link container (most useful in mobile)
 */
.menu a:hover {
  width: 100%;
}
.dropdown-menu {
  padding: 1px;
  min-width: 100%;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin: 2rem 0 3rem 0;
}

.hero-section h1,
.hero-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #666;
}

/* Three Column Grid */
.three-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.column h3,
.column h4 {
  color: #333;
  margin-bottom: 1rem;
}

.column p {
  line-height: 1.6;
  color: #666;
}

/* Two Column Layout */
.two-column-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
  align-items: start;
}

.content-left h3,
.content-left h4 {
  color: #333;
  margin-bottom: 1rem;
}

.content-left p {
  line-height: 1.6;
  color: #666;
  margin-bottom: 1rem;
}

.content-left ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.content-left li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #666;
}

.content-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CTA Buttons */
.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Illustrations */
.illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem 0;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #666;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #ffa200;
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }

  .news_title {
    padding-bottom: 50%;
  }

  .post_page .news_title {
    padding-bottom: 100%;
  }

  /* Layout adjustments for mobile */
  .two-column-section,
  .software-libero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-section h1,
  .hero-section h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    justify-content: center;
  }
}
