/* Widget Section Styles */
.widget-section {
  padding: 0;
  background-color: #e9ecef;
  padding: 40px 0;
}
.widget-container {
  max-width: 1410px;
  margin: 0 auto;
  padding: 0;
}
.widget-section .content-title {
  text-align: left;
  font-size: 46px;
  font-weight: 700;
  color: #333f48;
  margin-bottom: 25px;
  line-height: 1.2;
}
.widget-section .content-title .accent {
  color: #00a7b5;
}
.widget-section .content-title .dot {
  color: #94193b;
}
/* Widget Items Grid */
.widget-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0px;
}

/* Widget Item Link */
.widget-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.widget-item-link:hover {
  text-decoration: none;
  color: inherit;
}
.widget-item {
  background: #fff;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
/* Widget Image Container */
.widget-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.widget-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.widget-image.default-image {
  opacity: 1;
}
.widget-image.hover-image {
  opacity: 0;
}
/* Hover Effect */
.widget-item:hover .widget-image.default-image {
  opacity: 0;
}
.widget-item:hover .widget-image.hover-image {
  opacity: 1;
}
.widget-item:hover h3.widget-item-title {
  color: #fff;
}
.widget-item:nth-child(3):hover h3.widget-item-title {
  color: #333f48;
}
/* Widget Item Content */
.widget-item-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #333f48;
  margin: 0;
  line-height: 1.3;
  z-index: 10;
}
.widget-item-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: #00a7b5;
  margin: 0;
  line-height: 1.2;
}
/* Responsive Design */
/* Large Desktop (1200px+) */
@media screen and (min-width: 1401px) {
  .widget-image-container {
    min-height: 400px;
  }
}
@media screen and (max-width: 1400px) and (min-width: 1026px) {
  .widget-image-container {
    min-height: 400px;
  }
}
/* Desktop (1025px - 1199px) */
@media screen and (max-width: 1199px) and (min-width: 1025px) {
  .widget-image-container {
    min-height: 320px;
  }
}
/* Tablet (768px - 1024px) - 3 rows, 2 items each */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .widget-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .widget-image-container {
    min-height: 350px;
  }
  .widget-section .content-title {
    font-size: 40px;
  }
}
/* Mobile (768px and below) - 6 rows, 1 item each */
@media screen and (max-width: 768px) {
  .widget-items-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
  }
  .widget-image-container {
    min-height: 600px;
  }
  .widget-item-subtitle {
    font-size: 0.85rem;
  }
  .widget-section .content-title {
    font-size: 32px;
  }
}
/* Small Mobile (480px and below) */
@media screen and (max-width: 750px) {
  .widget-image-container {
    min-height: 600px;
  }
}
/* Small Mobile (480px and below) */
@media screen and (max-width: 720px) {
  .widget-image-container {
    min-height: 550px;
  }
}
/* Small Mobile (480px and below) */
@media screen and (max-width: 600px) {
  .widget-image-container {
    min-height: 430px;
  }
}
/* Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
  .widget-image-container {
    min-height: 350px;
  }
  .widget-item-subtitle {
    font-size: 0.8rem;
  }
  .widget-section .content-title {
    font-size: 28px;
  }
}
/* Extra Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
  .widget-image-container {
    min-height: 280px;
  }
}
/* Container padding for different screen sizes */
@media screen and (min-width: 1px) and (max-width: 1440px) {
  .widget-section {
    padding: 30px 15px;
  }
}
/* Additional hover effects for better UX */
.widget-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.widget-item:hover::before {
  opacity: 1;
}
/* Focus states for accessibility */
.widget-item:focus-within {
  outline: 2px solid #00a7b5;
  outline-offset: 2px;
}
/* Smooth transitions for all interactive elements */
.widget-item * {
  transition: all 0.3s ease;
}
/* Performance optimization */
.widget-image {
  will-change: opacity, transform;
}
.widget-item {
  will-change: transform, box-shadow;
}