/* Responsive Layout Styles */

.responsive-layout {
   margin: 0;
   padding: 0;
}

.responsive-container {
   width: 100%;
   max-width: 775px;
   margin: 0 auto;
}

.responsive-header {
   display: flex;
   width: 100%;
   background-color: #f1f2fc;
   overflow: hidden;
   position: relative;
}

.header-img {
   display: block;
   height: auto;
}

.header-img:first-child {
   width: 175px;
   flex-shrink: 0;
}

.header-img-center {
   flex: 1;
   width: 100%;
   object-fit: cover;
}

.header-img:last-child {
   width: 142px;
   flex-shrink: 0;
}

.responsive-content {
   width: 100%;
   background-color: #f1f2fc;
   padding: 0;
}

.responsive-content table {
   width: 100%;
   max-width: 100%;
}

.responsive-content .text {
   padding: 20px;
   box-sizing: border-box;
}

.responsive-content > div[align="justify"] {
   padding: 0 20px;
   background-color: #f1f2fc;
}

/* Footer styles */
.footer-analytics {
   background-color: #f1f2fc;
   padding: 20px;
   min-height: 60px;
   display: flex;
   align-items: flex-end;
   justify-content: center;
}

.footer-copyright {
   background-color: #f1f2fc;
   width: 100%;
   padding: 15px 0;
}

.copyright-text {
   text-align: center;
   color: #4e5866;
   font-size: 12px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
   .responsive-container {
      max-width: 100%;
      margin: 0;
   }

   .responsive-header {
      flex-direction: row;
      width: 100%;
   }

   .header-img {
      width: 100% !important;
      max-width: 100%;
      flex: 1 1 auto;
   }

   .header-img:first-child,
   .header-img:last-child {
      width: auto !important;
      flex-shrink: 1;
   }

   .responsive-content {
      padding: 0;
   }

   .responsive-content .text {
      padding: 15px;
      width: 100% !important;
   }

   .responsive-content table {
      display: block;
   }

   .responsive-content tr {
      display: block;
   }

   .responsive-content td {
      display: block;
      width: 100% !important;
      padding: 0 !important;
   }

   .responsive-content td[bgcolor="#F1F2FC"] {
      display: none;
   }

   /* Make booking widget responsive */
   #bookla-booking-widget {
      width: 100%;
      max-width: 100%;
   }

   .bookla-widget {
      width: 100% !important;
      max-width: 100% !important;
   }

   /* Footer mobile styles */
   .footer-analytics {
      padding: 15px;
      min-height: 50px;
   }

   .footer-copyright {
      padding: 12px 0;
   }

   .copyright-text {
      font-size: 11px;
      padding: 0 10px;
   }

   .responsive-content > div[align="justify"] {
      padding: 0 15px;
   }
}

/* Very small mobile screens */
@media screen and (max-width: 480px) {
   .responsive-header {
      height: auto;
      min-height: 150px;
   }

   .header-img {
      object-fit: cover;
      height: 150px;
   }

   .responsive-content .text {
      padding: 10px;
      font-size: 14px;
   }

   .responsive-content .title {
      font-size: 18px;
   }

   .footer-analytics {
      padding: 10px;
      min-height: 40px;
   }

   .footer-copyright {
      padding: 10px 0;
   }

   .copyright-text {
      font-size: 10px;
   }

   .responsive-content > div[align="justify"] {
      padding: 0 10px;
   }
}
