/* Blog Page Styles */

/* Ensure proper layout structure to prevent footer from coming up */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Blog Page Layout */
.page {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  min-height: calc(100vh - 200px);
  box-sizing: border-box;
}

/* Ensure blog page doesn't have extra width */
#blog-page.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Override container-tours padding for blog page to use full width */
.container-tours {
  padding: 0 1rem;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Remove padding for blog page specifically */
body:has(#blog-page) .container-tours {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  overflow-x: hidden;
}

/* Blog Content Container */
.blog-content-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 2rem;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Blog Title Section - matches tours-header structure */
.blog-title-section {
  width: 100%;
  box-sizing: border-box;
}

.blog-title-section .categories-section {
  width: 100%;
  padding: 1rem 0;
}

.blog-title-section .categories-labels {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Responsive margins for blog title section - positioned further left of grid for nice visual alignment */
@media (max-width: 480px) {
  .blog-title-section {
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    margin-left: 0;
    margin-right: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .blog-title-section {
    width: calc(100% - 2.5rem);
    max-width: calc(100% - 2.5rem);
    margin-left: 0.5rem;
    margin-right: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .blog-title-section {
    width: calc(100% - 5.5rem);
    max-width: calc(100% - 5.5rem);
    margin-left: 1.5rem;
    margin-right: 4rem;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .blog-title-section {
    width: calc(100% - 9rem);
    max-width: calc(100% - 9rem);
    margin-left: 3rem;
    margin-right: 6rem;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  .blog-title-section {
    width: calc(100% - 20rem);
    max-width: calc(100% - 20rem);
    margin-left: 8rem;
    margin-right: 14rem;
  }
}

@media (min-width: 1800px) {
  .blog-title-section {
    width: calc(100% - 20rem);
    max-width: calc(100% - 20rem);
    margin-left: 8rem;
    margin-right: 14rem;
  }
}

/* Blog Title - matches categories-labels a.selected-category style */
.blog-title-section .categories-labels a {
  padding: 0.5rem 1rem;
  color: #7f7f7f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.blog-title-section .categories-labels a.selected-category,
.blog-title-section .categories-labels a:hover {
  color: #131332;
  background-color: #f0f0f0;
}

.trips-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.categories-labels-container {
  width: 100%;
  padding: 2rem 0;
  text-align: left;
}

.categories-labels {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.categories-labels a {
  padding: 0.5rem 1rem;
  color: #7f7f7f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.categories-labels a.selected-category,
.categories-labels a:hover {
  color: #131332;
  background-color: #f0f0f0;
}

#blog-page .trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem 0;
  padding-bottom: 4rem;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}

/* Responsive breakpoints for blog grid layout and horizontal margins */
@media (max-width: 480px) {
  #blog-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  #blog-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    width: calc(100% - 4rem);
    max-width: calc(100% - 4rem);
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #blog-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.8rem;
    width: calc(100% - 8rem);
    max-width: calc(100% - 8rem);
    margin-left: 4rem;
    margin-right: 4rem;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  #blog-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    width: calc(100% - 12rem);
    max-width: calc(100% - 12rem);
    margin-left: 6rem;
    margin-right: 6rem;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  #blog-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    width: calc(100% - 28rem);
    max-width: calc(100% - 28rem);
    margin-left: 14rem;
    margin-right: 14rem;
  }
}

@media (min-width: 1800px) {
  #blog-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    width: calc(100% - 28rem);
    max-width: calc(100% - 28rem);
    margin-left: 14rem;
    margin-right: 14rem;
  }
}

/* Ensure blog cards fill grid properly without conflicting margins */
#blog-page .blog-cell {
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Override padded class - keep padding 0 but allow margins to work */
#blog-page .trips-grid.padded,
#blog-page .trips-grid.trips-grid-mobile-2-columns {
  padding: 0 !important;
}

/* Override the general padded class for blog page */
#blog-page .padded {
  padding: 0 !important;
}

/* Ensure no unwanted spacing from parent containers */
#blog-page .trips-container .trips-grid {
  padding: 0 !important;
  margin: 0 !important;
}

/* Responsive Design - Cards automatically respond to zoom levels */
/* Note: Grid layout and margins are now handled in the responsive breakpoints above */

/* Mobile responsive behavior will be handled by individual card widths */

@media (max-width: 768px) {
  .page {
    margin: 0;
  }
  
  .blog-title {
    font-size: 2rem;
    padding: 0.5rem 1rem;
  }
  
  /* General trips-grid styles - but blog page uses #blog-page .trips-grid which has higher specificity */
  
  .categories-labels-container {
    padding: 1.5rem 0;
  }
  
  .categories-labels {
    gap: 1rem;
  }
  
  .categories-labels a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .blog-cell {
    min-width: 250px;
    max-width: none;
    display: flex;
    flex-direction: column;
  }
  
  .blog-gallery-item-div {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .blog-gallery-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .blog-gallery-item-data-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .offer-title {
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.25;
  }
  
  .blog-description-preview {
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .page {
    margin: 0;
  }
  
  /* General trips-grid styles - but blog page uses #blog-page .trips-grid which has higher specificity */
  
  .categories-labels-container {
    padding: 1rem 0;
  }
  
  .blog-cell {
    min-width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
  }
  
  .blog-gallery-item-div {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .blog-gallery-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .blog-gallery-item-data-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .offer-title {
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.25;
  }
  
  .blog-description-preview {
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.25;
  }
}
/* Blog Detail Panel */
.blog-detail-panel {
  background: #F9F9F9;
  /*border-radius: 12px;*/
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: -214px;
  position: relative;
  z-index: 10;
  width:71%;
  max-width: 90vw; 
  margin-left: auto;
  margin-right: auto;
}

.blog-detail-body-container {
  width: 100%;
  max-width: 100%;
}

.blog-detail-body {
  width: 100%;
}

.blog-detail-body.padded {
  padding: 3rem;
}

.blog-paragraph {
  margin-bottom: 2rem;
}

.blog-detail-paragraph-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #131332;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-excerpt {
  font-size: 1.2rem;
  color: #EBEBEB;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.single-paragraph p {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #7f7f7f;
    margin-bottom: 1.5rem;
}

/* Image Gallery Styles */
.gallery-div {
  margin: 1rem 0;
}

.gallery-div.padded {
  padding: 1rem 0;
}

.destinations-gallery-div {
  background: #f8f9fa;
  padding: 1.5rem;
}

.flex-row {
  display: flex;
  align-items: center;
}

.flex-end {
  justify-content: flex-end;
}

.items-gallery-div {
  display: flex;
  overflow-x: auto;
  padding: 1rem 0;
}

.indiana-scroll-container {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

.indiana-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.indiana-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.indiana-scroll-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.indiana-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.items-gallery-div img {
  width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 0px;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.items-gallery-div img:hover {
  transform: scale(1.05);
}

/* Travel Suggestions Section */
.offers-detail-section {
  background: #f8f9fa;
  padding: 3rem 0;
  margin-top: 3rem;
}

.gallery-header {
  margin-bottom: 0rem;
}

.gallery-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #131332;
  margin: 0;
}

.gallery-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0.5rem 0 0 0;
}

.offer-cell {
  /* margin-right removed - using gap in parent container instead */
  flex-shrink: 0;
  width: 25%; /* 4 cards per row on large screens */
  min-width: 250px; 
  margin-right: .2rem
}

.offers-gallery-item-div {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 269px;
  height: 350px;
  position: relative;
}

.offers-gallery-item-div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slider-gallery-item {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.offers-detail-slider {
  height: 100%;
}

.swiper {
  height: 100%;
}

.swiper-slide {
  height: 100%;
}

.swiper-lazy {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.offers-gallery-item-div-body {
  padding: 1.5rem;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #131332;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.offer-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.offers-item-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: #131332;
  color: white;
  width: 40px; /* increased size */
  height: 40px; /* increased size */
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem; /* increased size */
  z-index: 10;
  transition: all 0.3s ease;
}

.offers-gallery-item-div:hover .offers-item-indicator {
  background-color: #2a2a4a; /* darker shade for hover */
  transform: scale(1.1); /* subtle scale effect */
}

.icon-avanti::before {
  content: "→";
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .blog-detail-panel {
    margin-top: -150px;
    max-width: 92vw;
  }
  
  .blog-detail-body.padded {
    padding: 3rem;
  }
}

@media (max-width: 992px) {
  .blog-detail-panel {
    margin-top: -120px;
    max-width: 95vw;
  }
  
  .blog-detail-body.padded {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    margin-top: 0;
  }
  
  .blog-detail-panel {
    margin-top: -100px;
    max-width: 96vw;
  }
  
  .blog-detail-body.padded {
    padding: 2rem;
  }
  
  .blog-detail-paragraph-title {
    font-size: 2rem;
  }
  
  .blog-excerpt {
    font-size: 1.1rem;
  }
  
  .single-paragraph p {
    font-size: 1rem;
  }
  
  .items-gallery-div img {
    width: 400px;
    height: 280px;
  }
}

@media (max-width: 576px) {
  .blog-detail-panel {
    margin-top: -80px;
    max-width: 98vw;
  }
  
  .blog-detail-body.padded {
    padding: 1.5rem;
  }
  
  .items-gallery-div img {
    width: 300px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 80vh;
    margin-top: 0;
  }
  
  .blog-detail-panel {
    margin-top: -60px;
    max-width: 98vw;
  }
  
  .blog-detail-body.padded {
    padding: 1rem;
  }
  
  .blog-detail-paragraph-title {
    font-size: 1.8rem;
  }
  
  .blog-excerpt {
    font-size: 1rem;
  }
  
  .items-gallery-div img {
    width: 280px;
    height: 190px;
  }
}

@media (max-width: 360px) {
  .blog-detail-panel {
    margin-top: -40px;
    max-width: 98vw;
  }
  
  .blog-detail-body.padded {
    padding: 0.8rem;
  }
  
  .blog-detail-paragraph-title {
    font-size: 1.6rem;
  }
  
  .items-gallery-div img {
    width: 250px;
    height: 170px;
  }
}

/* Blog Hero Section */
.blog-hero {
  background: linear-gradient(135deg, #131332 0%, #1e0e3a 100%);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
}

.blog-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Filter Section */
.blog-filters {
  background-color: #f8f9fa;
  padding: 2rem 0;
  border-bottom: 1px solid #e9e9e9;
}

.filter-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 600;
  color: #131332;
  margin-right: 0.5rem;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  background-color: white;
  color: #131332;
  min-width: 150px;
}

.filter-select:focus {
  outline: none;
  border-color: #131332;
  box-shadow: 0 0 0 2px rgba(19, 19, 50, 0.1);
}

/* Blog Grid */
.blog-grid {
  padding: 4rem 0;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #131332;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #131332;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  text-decoration: none;
}

.blog-title:hover {
  color: #2a2a4a;
  text-decoration: none;
}

.blog-excerpt {
  color: #7f7f7f;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: #7f7f7f;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-read-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-actions {
  margin-top: auto;
}

.btn-read-more {
  background-color: #131332;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background-color: #2a2a4a;
  color: white;
  text-decoration: none;
}

/* Blog Detail Page */
.blog-detail-hero {
  background: linear-gradient(135deg, #131332 0%, #1e0e3a 100%);
  color: white;
  padding: 4rem 0;
}

.blog-detail-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.blog-detail-content {
  padding: 2rem 0;
}

.blog-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #131332;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-detail-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9e9e9;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7f7f7f;
  font-size: 0.9rem;
}

.meta-item i {
  color: #131332;
}

.blog-detail-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #131332;
  margin-bottom: 2rem;
}

.blog-detail-body h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #131332;
  margin: 2rem 0 1rem;
}

.blog-detail-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #131332;
  margin: 1.5rem 0 0.75rem;
}

.blog-detail-body p {
  margin-bottom: 1.5rem;
}

.blog-detail-body ul,
.blog-detail-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-detail-body li {
  margin-bottom: 0.5rem;
}

.blog-detail-body blockquote {
  border-left: 4px solid #131332;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #7f7f7f;
}

.blog-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0px;
  margin: 1.5rem 0;
}

/* Related Posts */
.related-posts {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}

.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #131332;
  margin-bottom: 1.5rem;
}

.related-post-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9e9e9;
}

.related-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.related-post-image {
  width: 80px;
  height: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  flex-shrink: 0;
}

.related-post-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #131332;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.related-post-content h4 a {
  color: #131332;
  text-decoration: none;
}

.related-post-content h4 a:hover {
  color: #2a2a4a;
  text-decoration: none;
}

.related-post-meta {
  font-size: 0.8rem;
  color: #7f7f7f;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e9e9e9;
  background-color: white;
  color: #131332;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background-color: #131332;
  color: white;
  text-decoration: none;
}

.pagination-btn.active {
  background-color: #131332;
  color: white;
  border-color: #131332;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-hero p {
    font-size: 1.1rem;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-select {
    min-width: auto;
  }
  
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .blog-detail-title {
    font-size: 2rem;
  }
  
  .blog-detail-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .related-post-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .related-post-image {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 4rem 0 2rem;
  }
  
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-detail-image {
    height: 250px;
  }
  
  .blog-detail-title {
    font-size: 1.8rem;
  }
  
  .blog-detail-body {
    font-size: 1rem;
  }
}

/* Hero Section Styles */
.hero-section {
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.hero-section .hero-slide {
  position: relative;
  z-index: 2;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 40vh;
    margin-top: 0;
  }
}












.offer-cell {
    flex-shrink: 0; /* changed back to 0 for consistent behavior */
    width: 25%; /* 4 cards per row on large screens */
    min-width: 250px; /* minimum width to maintain card readability */
    /* margin-right removed - using gap in parent container instead */
}

.offers-gallery-item-div {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .offers-gallery-item-div a {
        text-decoration: none !important;
        color: inherit;
    }

        .offers-gallery-item-div a:hover {
            text-decoration: none !important;
            color: inherit;
        }

        .offers-gallery-item-div a:visited {
            text-decoration: none !important;
            color: inherit;
        }

        .offers-gallery-item-div a:focus {
            text-decoration: none !important;
            color: inherit;
        }

    .offers-gallery-item-div:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.slider-gallery-item {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.swiper-lazy {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.offers-gallery-item-div-body {
    padding: 1.5rem;
    position: relative;
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #131332;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    text-decoration: none !important;
}

.offer-subtitle {
    font-size: 0.9rem;
    color: #7f7f7f;
    margin: 0;
    text-decoration: none !important;
}

/* Duplicate .offers-item-indicator style removed - using the one above */

/* Blog Gallery Items */
.container-fluid {
  padding-left: 0;
}
#blog-page .blog-cell {
    width: 100% !important;
    min-width: 280px !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Responsive blog cells to zoom levels */
@media (max-width: 1200px) {
  .blog-cell {
    min-width: 320px;
  }
  
  .blog-gallery-item-body {
    padding: 1.8rem;
  }
  
  .offer-title {
    font-size: 1.2rem;
  }
  
  .blog-description-preview {
    font-size: 1rem;
  }
}

@media (max-width: 1000px) {
  .blog-cell {
    min-width: 350px;
  }
  
  .blog-gallery-item-body {
    padding: 2rem;
  }
  
  .offer-title {
    font-size: 1.3rem;
  }
  
  .blog-description-preview {
    font-size: 1.1rem;
  }
}

@media (max-width: 800px) {
  .blog-cell {
    min-width: 380px;
  }
  
  .blog-gallery-item-body {
    padding: 2.2rem;
  }
  
  .offer-title {
    font-size: 1.4rem;
  }
  
  .blog-description-preview {
    font-size: 1.2rem;
  }
}

.blog-gallery-item-div {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .blog-gallery-item-div:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .blog-gallery-item-div a {
        text-decoration: none !important;
        color: inherit;
    }

        .blog-gallery-item-div a:hover {
            text-decoration: none !important;
            color: inherit;
        }

        .blog-gallery-item-div a:visited {
            text-decoration: none !important;
            color: inherit;
        }

        .blog-gallery-item-div a:focus {
            text-decoration: none !important;
            color: inherit;
        }

.blog-gallery-item-header-img {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-gallery-item-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-gallery-item-data-container {
    margin-bottom: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.blog-description-preview {
    font-size: 0.9rem;
    color: #7f7f7f;
    margin: 0.5rem 0 0 0;
}

/* Hidden filler used to pad text to target character length without showing it */
.pad-hidden {
    visibility: hidden;
}

.blog-item-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #131332;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

    .blog-item-indicator span {
        font-size: 0.9rem;
        text-decoration: none;
    }

    .blog-item-indicator:hover {
        text-decoration: none;
        color: #131332;
    }

    .blog-arrow-icon {
        transition: all 0.3s ease;
        opacity: 0.7;
    }

    .blog-item-indicator:hover .blog-arrow-icon {
        transform: translateX(3px);
        opacity: 1;
    }

/* Buttons */
.primary-btn {
    background-color: #131332;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .primary-btn:hover {
        background-color: #2a2a4a;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

/* Search Bar */
.searchbar {
    padding: 2rem 0;
    text-align: center;
}

.searchbar-rounded-container {
    background-color: #F9F9F9;
    border: 2px solid #e9e9e9;
    border-radius: 50px;
    padding: 1rem 2rem;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .searchbar-rounded-container:hover {
        border-color: #131332;
        background-color: white;
    }

.icon-cerca {
    color: #7f7f7f;
    font-size: 1.2rem;
}

/* Utility Classes */
.padded {
  padding: 0 4.3rem;  
}

.flex-row {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.flex-gap-1 {
    gap: 1rem;
}

.pointer {
    cursor: pointer;
}

.inline-flex {
    display: inline-flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .gallery-title {
        font-size: 1.5rem;
    }

    .gallery-header {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }

    .items-gallery-div {
        gap: 1rem;
    }

    .offer-cell,
    .blog-cell {
        width: 48%; /* 2 cards per row */
        min-width: 200px;
    }

    .padded {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .accent-btn,
    .primary-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .offer-cell,
    .blog-cell {
        width: 100%; /* 1 card per row on small screens */
        min-width: 100%;
        margin-right: 0;
    }
}

/* Additional responsive breakpoints for offer-cell */
@media (max-width: 1400px) {
    .offer-cell {
        width: 30%; /* 3 cards per row */
        min-width: 220px;
    }
}

@media (max-width: 1200px) {
    .offer-cell {
        width: 31%; /* 3 cards per row */
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .offer-cell {
        width: 100%; /* 1 card per row */
        min-width: 100%;
        margin-right: 0;
    }
}

/* Maintain card sizes on zoom */
@media (min-width: 1200px) {
    .offer-cell,
    .blog-cell {
        min-width: 250px;
    }
}

@media (min-width: 1400px) {
    .offer-cell,
    .blog-cell {
        min-width: 250px;
    }
}

/* Blog Details Page Styles */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.blog-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.blog-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.gallery-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.social-share .btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.sticky-top {
    z-index: 10;
}

.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.list-group-item {
    border: none;
    padding: 1rem;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: var(--bg-light);
    transform: translateX(5px);
}

.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section .hero-slide::before {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(220, 38, 38, 0.6) 100%);
}

/* Travel Suggestions Section Styles */
.travel-suggestions-section {
    background: white;
    padding: 4rem 0;
    border-top: 2px solid #e9e9e9;
}

.travel-suggestions-section .gallery-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #131332;
    margin: 0;
}

.travel-suggestions-section .gallery-header {
    margin-bottom: 0.5rem;
}

.travel-suggestions-section .offer-cell {
    transition: all 0.3s ease;
}



.travel-suggestions-section .offer-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    overflow: hidden;
}

.travel-suggestions-section .offer-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.travel-suggestions-section .btn.primary-btn {
    background: linear-gradient(135deg, #131332 0%, #2a2a4a 100%);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.travel-suggestions-section .btn.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 19, 50, 0.3);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.card-img-top {
    transition: transform 0.3s ease;
    height: 250px;
    object-fit: cover;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile-friendly detail panels (About page and Blog details) */
@media (max-width: 768px) {
  .section-padding .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .blog-detail-panel,
  .blog-detail-body-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .blog-detail-body {
    padding: 1.25rem !important;
  }

  .blog-detail-panel .padded {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .section-padding .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .blog-detail-body {
    padding: 1rem !important;
  }

  .blog-detail-panel .padded {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
}