@charset "UTF-8";

/* Booking Payment Page Styles */
.booking-payment-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.booking-main-content {
    flex: 2;
}

.booking-sticky-sidebar {
    flex: 1;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.payment-form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.payment-form-container h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.booking-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.booking-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.booking-info .info-row:last-child {
    border-bottom: none;
}

.booking-info .label {
    font-weight: 600;
    color: #555;
}

.booking-info .value {
    color: #333;
}

.payment-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.payment-form .form-group {
    margin-bottom: 20px;
}

.payment-form .form-row {
    display: flex;
    gap: 15px;
}

.payment-form .form-row .form-group {
    flex: 1;
}

.payment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.payment-form input,
.payment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.payment-form input:focus,
.payment-form textarea:focus {
    outline: none;
    border-color: #007cba;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.payment-submit-btn {
    width: 100%;
    background: #dc3545;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payment-submit-btn:hover {
    background: #c82333;
}

.payment-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.sticky-sidebar-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reservation-title h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.booking-summary {
    margin-bottom: 20px;
}

.summary-info .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.summary-info .summary-row:last-child {
    border-bottom: none;
}

.summary-info .label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.summary-info .value {
    color: #333;
    font-size: 14px;
    text-align: right;
}

.total-section {
    border-top: 2px solid #007cba;
    padding-top: 15px;
}

.total-breakdown .breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.total-breakdown .breakdown-row:last-child {
    border-bottom: none;
}

.total-breakdown .total-row {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    border-top: 2px solid #007cba;
    margin-top: 10px;
    padding-top: 15px;
}

.loading {
    text-align: center;
    color: #666;
    font-style: italic;
}

.error {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-payment-layout {
        flex-direction: column;
        padding: 10px;
    }
    
    .payment-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .payment-form-container {
        padding: 20px;
    }
    
    .sticky-sidebar-content {
        padding: 20px;
    }
}
/*!
Theme Name: Villagio Child
Theme URI: https://motopress.com/products/villagio/
Author: MotoPress
Author URI: https://motopress.com/
Description: WordPress photography theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: villagio
Tags:one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Template: villagio
*/

/* Hide unwanted property details on home page only */
.page-template-template-front-page .mphb-room-type-adults-capacity,
.page-template-template-front-page .mphb-room-type-children-capacity,
.page-template-template-front-page .mphb-room-type-total-capacity,
.page-template-template-front-page .mphb-room-type-facilities,
.page-template-template-front-page .mphb-room-type-view,
.page-template-template-front-page .mphb-room-type-size,
.page-template-template-front-page .mphb-room-type-bed-type,
.page-template-template-front-page .mphb-room-type-categories {
    display: none !important;
}

/* More specific selectors to override theme styles - only on front page */
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-adults-capacity,
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-children-capacity,
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-total-capacity,
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-facilities,
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-view,
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-size,
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-bed-type,
.page-template-template-front-page .mphb-loop-room-type-attributes .mphb-room-type-categories {
    display: none !important;
}

/* Hide the Details heading if all attributes are hidden - only on front page */
.page-template-template-front-page .mphb-room-type-details-title {
    display: none !important;
}

/* Hide empty attribute lists - only on front page */
.page-template-template-front-page .mphb-loop-room-type-attributes:empty {
    display: none !important;
}

/* Hide adult and children fields from homepage search bar */
.page-template-template-front-page .mphb_sc_search-adults,
.page-template-template-front-page .mphb_sc_search-children,
.page-template-template-front-page .mphb_widget_search-adults,
.page-template-template-front-page .mphb_widget_search-children,
.page-template-template-front-page .mphb-adults-wrapper,
.page-template-template-front-page .mphb-children-wrapper,
.page-template-template-front-page .mphb-capacity-wrapper,
.page-template-template-front-page p.mphb_sc_search-adults,
.page-template-template-front-page p.mphb_sc_search-children,
.page-template-template-front-page p.mphb_widget_search-adults,
.page-template-template-front-page p.mphb_widget_search-children,
/* Also hide from home page and front page */
body.home .mphb_sc_search-adults,
body.home .mphb_sc_search-children,
body.home .mphb_widget_search-adults,
body.home .mphb_widget_search-children,
body.home .mphb-adults-wrapper,
body.home .mphb-children-wrapper,
body.home .mphb-capacity-wrapper,
body.home p.mphb_sc_search-adults,
body.home p.mphb_sc_search-children,
body.home p.mphb_widget_search-adults,
body.home p.mphb_widget_search-children,
/* Hide from any search form on homepage */
.home .mphb_sc_search-adults,
.home .mphb_sc_search-children,
.home .mphb_widget_search-adults,
.home .mphb_widget_search-children,
.home .mphb-adults-wrapper,
.home .mphb-children-wrapper,
.home .mphb-capacity-wrapper,
.home p.mphb_sc_search-adults,
.home p.mphb_sc_search-children,
.home p.mphb_widget_search-adults,
.home p.mphb_widget_search-children {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide adult and children fields from search results page */
.page-template-template-search-results .mphb_sc_search-adults,
.page-template-template-search-results .mphb_sc_search-children,
.page-template-template-search-results .mphb_widget_search-adults,
.page-template-template-search-results .mphb_widget_search-children,
.page-template-template-search-results .mphb-adults-wrapper,
.page-template-template-search-results .mphb-children-wrapper,
.page-template-template-search-results .mphb-capacity-wrapper,
.page-template-template-search-results p.mphb_sc_search-adults,
.page-template-template-search-results p.mphb_sc_search-children,
.page-template-template-search-results p.mphb_widget_search-adults,
.page-template-template-search-results p.mphb_widget_search-children,
/* Hide from search results page body class */
body.page-template-template-search-results .mphb_sc_search-adults,
body.page-template-template-search-results .mphb_sc_search-children,
body.page-template-template-search-results .mphb_widget_search-adults,
body.page-template-template-search-results .mphb_widget_search-children,
body.page-template-template-search-results .mphb-adults-wrapper,
body.page-template-template-search-results .mphb-children-wrapper,
body.page-template-template-search-results .mphb-capacity-wrapper,
body.page-template-template-search-results p.mphb_sc_search-adults,
body.page-template-template-search-results p.mphb_sc_search-children,
body.page-template-template-search-results p.mphb_widget_search-adults,
body.page-template-template-search-results p.mphb_widget_search-children,
/* Hide from any search results page */
.search-results .mphb_sc_search-adults,
.search-results .mphb_sc_search-children,
.search-results .mphb_widget_search-adults,
.search-results .mphb_widget_search-children,
.search-results .mphb-adults-wrapper,
.search-results .mphb-children-wrapper,
.search-results .mphb-capacity-wrapper,
.search-results p.mphb_sc_search-adults,
.search-results p.mphb_sc_search-children,
.search-results p.mphb_widget_search-adults,
.search-results p.mphb_widget_search-children {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Booking Confirmation Page - Two Column Layout with Sticky Sidebar */
.booking-confirmation-layout {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.booking-main-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Sticky Sidebar */
.booking-sticky-sidebar {
    position: sticky;
    top: 100px;
    right: 0;
    width: 340px;
    background: #ffffff;
    border: 2px solid #d0d0d0;          /* ✅ clear, visible border */
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 20px;
    z-index: 10;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Optional hover highlight */
.booking-sticky-sidebar:hover {
    border-color: #b5293b;
    box-shadow: 0 6px 18px rgba(181,41,59,0.15);
}


.sticky-sidebar-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.sidebar-section {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Booking Info Card */
.booking-info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.info-value {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* Price Breakdown */
.price-breakdown {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.discount {
    color: #28a745;
}

.price-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.price-value {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0 0;
    margin-top: 10px;
    border-top: 2px solid #007cba;
    font-weight: 700;
}

.total-label {
    color: #333;
    font-size: 16px;
}

.total-value {
    color: #007cba;
    font-size: 18px;
}

/* Booking Action Button */
.booking-action-btn {
    width: 100%;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.booking-action-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Additional Info */
.additional-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.additional-info p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-confirmation-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .booking-sticky-sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
    
    .sticky-sidebar-content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .sidebar-section {
        flex: 1;
        min-width: 300px;
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
    }
    
    .sidebar-section:last-child {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .booking-confirmation-layout {
        padding: 0 15px;
        gap: 15px;
    }
    
    .sticky-sidebar-content {
        flex-direction: column;
    }
    
    .sidebar-section {
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .sidebar-section:last-child {
        border-bottom: none;
    }
}

/* Custom Guest Capacity Display Styling */
.mphb-room-type-guest-capacity-custom {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.mphb-guest-capacity-title {
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #007cba;
}

.mphb-guest-capacity-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.mphb-capacity-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mphb-capacity-label {
    font-weight: 600;
    color: #495057;
    margin-right: 8px;
    font-size: 14px;
}

.mphb-capacity-value {
    background: #007cba;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    min-width: 24px;
    text-align: center;
}

.mphb-search-criteria {
    background: #e7f3ff;
    border: 1px solid #007cba;
    padding: 8px 12px;
    border-radius: 6px;
    margin-left: auto;
}

.mphb-search-label {
    font-weight: 600;
    color: #007cba;
    margin-right: 8px;
    font-size: 14px;
}

.mphb-search-values {
    color: #495057;
    font-weight: 500;
    font-size: 14px;
}

/* Responsive design for guest capacity display */
@media (max-width: 768px) {
    .mphb-guest-capacity-details {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mphb-search-criteria {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Hide sidebar and search sections on booking confirmation page */
.page-booking-confirmation #secondary,
.page-booking-confirmation .widget-area,
.page-booking-confirmation aside#secondary,
.page-booking-confirmation .sidebar,
.page-booking-confirmation .search-form,
.page-booking-confirmation .mphb-search-form,
.page-booking-confirmation .widget_search,
.page-booking-confirmation .widget_mphb_search_form,
.page-booking-confirmation .mphb_sc_search_form,
.page-booking-confirmation .search-widget,
.page-booking-confirmation .search-section {
    display: none !important;
}

/* Make content full width on booking confirmation page */
.page-booking-confirmation #primary,
.page-booking-confirmation .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Ensure wrapper is full width */
.page-booking-confirmation .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hide any search-related widgets or sections */
.page-booking-confirmation .widget:has(.search-form),
.page-booking-confirmation .widget:has(.mphb-search-form),
.page-booking-confirmation .widget:has([class*="search"]),
.page-booking-confirmation .widget:has([id*="search"]),
.page-booking-confirmation .widget:has([name*="search"]) {
    display: none !important;
}

/* Hide any sections containing search forms or booking forms */
.page-booking-confirmation .widget:has(form),
.page-booking-confirmation .widget:has(input[type="date"]),
.page-booking-confirmation .widget:has(select[name*="adult"]),
.page-booking-confirmation .widget:has(select[name*="child"]),
.page-booking-confirmation .widget:has(button[type="submit"]) {
    display: none !important;
}

/* Force cache refresh - timestamp: 2025-01-27-14:30 */
.booking-confirmation-layout {
    display: block !important; /* Changed from flex to block to remove sidebar */
    position: relative;
  }
  
  /* Main content area */
  .booking-main-content {
    width: 100% !important; /* Full width when sidebar is hidden */
  }
  
  /* Hide the entire sticky sidebar */
  .booking-sticky-sidebar,
  #booking-sticky-sidebar,
  aside#booking-sticky-sidebar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }
  
  .sticky-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .price-item,
  .total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .price-details-section {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
  }
  
  .total-section {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
  }
  
  .booking-action-btn {
    width: 100%;
    background: #b5293b;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .booking-action-btn:hover {
    background: #8f1f2d;
  }

/* Force hide sidebar on booking confirmation page */
body.page-booking-confirmation .booking-sticky-sidebar,
body.page-booking-confirmation #booking-sticky-sidebar,
body.page-booking-confirmation aside#booking-sticky-sidebar,
.page-booking-confirmation .booking-sticky-sidebar,
.page-booking-confirmation #booking-sticky-sidebar,
.page-booking-confirmation aside#booking-sticky-sidebar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Accommodation Details Page - Two Column Layout with Sticky Booking Card */
.accommodation-details-layout {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.accommodation-main-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Sticky Booking Card */
.accommodation-booking-card {
    position: sticky;
    top: 100px;
    right: 0;
    width: 350px;
    background: #ffffff;
    border: 2px solid #01bea0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 0;
    z-index: 10;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
    overflow-y: visible;
}

/* Optional hover highlight */
.accommodation-booking-card:hover {
    border-color: #019c87;
    box-shadow: 0 6px 18px rgba(1, 190, 160, 0.15);
}

.booking-card-content {
    padding: 20px;
}

.booking-card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.booking-card-header h3 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

/* Booking Dates Section */
.booking-dates-section {
    margin-bottom: 20px;
}

.date-input-group {
    margin-bottom: 15px;
}

.date-input-group label {
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.date-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.date-input:focus {
    outline: none;
    border-color: #b5293b;
    box-shadow: 0 0 0 3px rgba(181,41,59,0.1);
}

/* Remove calendar icons from date inputs on desktop */
.date-input::-webkit-calendar-picker-indicator {
    display: none;
}

.date-input::-moz-calendar-picker-indicator {
    display: none;
}

/* Show calendar picker on mobile devices */
@media (max-width: 768px) {
    .date-input::-webkit-calendar-picker-indicator {
        display: block;
        opacity: 1;
        cursor: pointer;
        width: 20px;
        height: 20px;
        margin-left: 5px;
    }
    
    .date-input::-moz-calendar-picker-indicator {
        display: block;
        opacity: 1;
        cursor: pointer;
    }
}

/* Calendar Date Selection Highlighting */
.villa-calendar-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.mphb-calendar {
    width: 100%;
    max-width: 100%;
}

.mphb-calendar td {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Unavailable dates (red days without links) - show not-allowed cursor */
.mphb-calendar td:not(:has(a)) {
    cursor: not-allowed;
}

/* Reserved/booked dates - make non-clickable */
.mphb-calendar td.mphb-booked-date,
.mphb-calendar td:has(.mphb-booked-date),
.mphb-calendar td.mphb-mark-as-unavailable,
.mphb-calendar td:has(.mphb-mark-as-unavailable),
.mphb-calendar td.mphb-not-available-date,
.mphb-calendar td:has(.mphb-not-available-date),
.mphb-calendar td.datepick-unselectable,
.mphb-calendar td.datepick-disabled,
.mphb-calendar td.mphb-disabled-date {
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6;
}

/* Also disable links inside reserved dates */
.mphb-calendar td.mphb-booked-date a,
.mphb-calendar td:has(.mphb-booked-date) a,
.mphb-calendar td.mphb-mark-as-unavailable a,
.mphb-calendar td:has(.mphb-mark-as-unavailable) a,
.mphb-calendar td.mphb-not-available-date a,
.mphb-calendar td:has(.mphb-not-available-date) a,
.mphb-calendar td a.mphb-booked-date,
.mphb-calendar td a.mphb-mark-as-unavailable,
.mphb-calendar td a.mphb-not-available-date {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.mphb-calendar td a {
    display: block;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mphb-calendar td a:hover {
    background-color: rgba(1, 190, 160, 0.1);
}

/* Selected date range highlighting */
.mphb-calendar td.calendar-selected-range,
.mphb-calendar td.selected-range {
    background-color: rgba(1, 190, 160, 0.2) !important;
}

.mphb-calendar td.calendar-selected-range a,
.mphb-calendar td.selected-range a {
    font-weight: bold !important;
    color: #01bea0 !important;
    background-color: transparent !important;
}

/* Make booking card more prominent when dates are selected */
.accommodation-booking-card.has-dates-selected {
    border-color: #01bea0;
    box-shadow: 0 8px 24px rgba(1, 190, 160, 0.25);
}

/* Animate price changes */
#total-price, #nights-count, #price-per-night {
    transition: all 0.3s ease;
}

/* Highlight the booking card sections when populated */
.date-input:not([value=""]),
.date-input:valid {
    border-color: #01bea0;
    background-color: rgba(1, 190, 160, 0.05);
}

/* Fix dropdown menu hover behavior */
@media screen and (min-width: 62em) {
    .main-navigation ul ul {
        display: none !important;
    }
    
    .main-navigation li:hover > ul {
        display: block !important;
    }
}

/* Hide sidebar sections on search results page */
body.page-template-template-search-results #secondary,
.search-results #secondary,
aside#secondary {
    display: none !important;
}

/* Make content full width on search results page when sidebar is hidden */
body.page-template-template-search-results #primary,
.search-results #primary,
body.page-template-template-search-results .content-area,
.search-results .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Hide first 2 social media icons from navigation */
.theme-social-menu li:nth-child(1),
.theme-social-menu li:nth-child(2) {
    display: none !important;
}

/* Hide guest review section on home page */
body.home .testimonial-entry,
body.home .testimonial-featured-image,
body.home .testimonial-entry-content,
body.home .testimonial-entry-title,
body.home .jetpack-testimonial-shortcode,
body.home h2:contains("Guest Reviews"),
body.home h3:contains("Guest Reviews"),
body.home h4:contains("Guest Reviews"),
body.home .guest-reviews,
body.home .testimonials,
body.home [class*="testimonial"],
body.home [class*="guest-review"],
body.home [id*="testimonial"],
body.home [id*="guest-review"] {
    display: none !important;
}

/* Hide testimonials shortcode content */
body.home [data-shortcode="testimonials"],
body.home .testimonials-shortcode,
body.home .jetpack-testimonial-shortcode,
body.home .testimonial-shortcode {
    display: none !important;
}

/* Hide book button from search results page */
.mphb_sc_search_results-wrapper .mphb-to-book-btn-wrapper,
.mphb_sc_search_results-wrapper .mphb-book-button,
.mphb_sc_search_results-wrapper .mphb-reserve-room-section .mphb-book-button,
.mphb_sc_search_results-wrapper .mphb-reserve-room-section .mphb-confirm-reservation,
.mphb_sc_search_results-wrapper button[type="submit"],
.mphb_sc_search_results-wrapper input[type="submit"] {
    display: none !important;
}

/* Style View Details button - Teal background, black text, with border */
.mphb-view-details-button,
.mphb-view-details-button-wrapper a,
a[href*="view-details"] {
    background: #01bea0 !important;
    color: #000000 !important;
    border: 2px solid #01bea0 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
    text-underline-position: auto !important;
    border-bottom: 2px solid #01bea0 !important;
    border-bottom-style: solid !important;
    border-bottom-color: #01bea0 !important;
    display: inline-block !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-width: 120px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    outline: none !important;
    position: relative !important;
}

/* Completely remove any dotted underlines with maximum specificity */
body .mphb-view-details-button,
body .mphb-view-details-button-wrapper a,
body a[href*="view-details"],
.mphb_sc_search_results-wrapper .mphb-view-details-button,
.mphb_sc_search_results-wrapper .mphb-view-details-button-wrapper a {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
    border-bottom: 2px solid #01bea0 !important;
    border-bottom-style: solid !important;
    border-bottom-color: #01bea0 !important;
    background: #01bea0 !important;
    color: #000000 !important;
}

/* Override any theme or plugin CSS that might add underlines */
.mphb-view-details-button:after,
.mphb-view-details-button:before,
.mphb-view-details-button-wrapper a:after,
.mphb-view-details-button-wrapper a:before {
    display: none !important;
    content: none !important;
}

/* Hover effect for View Details button */
.mphb-view-details-button:hover,
.mphb-view-details-button-wrapper a:hover,
a[href*="view-details"]:hover {
    background: #00a085 !important;
    border-color: #00a085 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(1, 190, 160, 0.4) !important;
}

/* Booking Guests Section */
.booking-guests-section {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.guests-input-group {
    flex: 1;
}

.guests-input-group label {
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.guests-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.guests-select:focus {
    outline: none;
    border-color: #b5293b;
    box-shadow: 0 0 0 3px rgba(181,41,59,0.1);
}

/* Booking Price Section */
.booking-price-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-item.total-price {
    border-top: 2px solid #01bea0;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
}

.price-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.price-value {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.price-item.total-price .price-value {
    color: #01bea0;
    font-size: 16px;
}

/* Booking Action Section */
.booking-action-section {
    margin-bottom: 15px;
}

.booking-confirm-btn {
    width: 100%;
    background: #01bea0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(1, 190, 160, 0.3);
}

.booking-confirm-btn:hover {
    background: #019c87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 190, 160, 0.4);
}

.booking-confirm-btn:active {
    transform: translateY(0);
}

/* Booking Info */
.booking-info {
    text-align: center;
}

.booking-info p {
    margin: 0;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive Design for Accommodation Details */
@media (max-width: 1024px) {
    .accommodation-details-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .accommodation-booking-card {
        width: 100%;
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .accommodation-details-layout {
        padding: 0 15px;
        gap: 15px;
    }
    
    .booking-guests-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .booking-card-content {
        padding: 15px;
    }
}

/* Jetpack Testimonials Styles */
.jetpack-testimonial-shortcode {
    clear: both;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.testimonial-entry {
    float: left;
    margin: 0 0 3em;
    padding: 0;
    width: 100%;
}

/* Column setting */
.testimonial-entry-column-1 {
    width: 100%;
}

.testimonial-entry-column-2 {
    margin-right: 4%;
    width: 48%;
}

.testimonial-entry-column-3 {
    margin-right: 3.5%;
    width: 31%;
}

.testimonial-entry-column-4 {
    margin-right: 3%;
    width: 22%;
}

.testimonial-entry-column-5 {
    margin-right: 2.5%;
    width: 18%;
}

.testimonial-entry-column-6 {
    margin-right: 2%;
    width: 15%;
}

.testimonial-entry-first-item-row {
    clear: both;
}

.testimonial-entry-last-item-row {
    margin-right: 0;
}

@media screen and (max-width:768px) {
    .testimonial-entry-mobile-first-item-row{
        margin-right: 4%;
        width: 48%;
        clear:both;
    }
    .testimonial-entry-first-item-row {
        clear:none;
    }
    .testimonial-entry-mobile-last-item-row{
        width: 48%;
        margin-right: 0;
    }
}

.testimonial-featured-image {
    padding: 0;
    margin: 0;
}

.testimonial-featured-image img {
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.testimonial-entry-title {
    font-weight: 700;
    margin: 0;
    padding: 0;
    display: block;
}

.testimonial-featured-image + .testimonial-entry-title {
    margin-top: 1.0em;
}

.testimonial-entry-title a {
    border: 0;
    text-decoration: none;
}

/* Entry Content */
.testimonial-entry-content {
    margin: 0.75em 0;
    padding: 0;
}

.testimonial-entry-content > :last-child {
    margin: 0;
}

/* Enhanced testimonials styling for better appearance */
.jetpack-testimonial-shortcode {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.testimonial-entry {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #01bea0;
}

.testimonial-entry-content {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-entry-title {
    color: #01bea0;
    font-weight: 600;
}

.testimonial-entry-title a {
    color: #01bea0;
    text-decoration: none;
}

.testimonial-entry-title a:hover {
    color: #00a085;
    text-decoration: underline;
}

/* Language Switcher Styles */
.language-switcher {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    margin-right: 15px;
}

.language-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.flag-icon {
    width: 24px;
    height: auto;
    border-radius: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    top: -2px;
}

.language-link:hover .flag-icon {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Desktop view - align with social icons */
@media screen and (min-width: 62em) {
    .language-switcher {
        display: inline-flex;
    }
    
    .top-navigation-right .language-switcher {
        display: inline-flex;
        vertical-align: middle;
    }
}

/* Mobile view */
@media screen and (max-width: 62em) {
    .language-switcher {
        display: inline-flex;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* Active language indicator */
.language-link.active-language .flag-icon {
    border: 2px solid #01bea0;
    box-shadow: 0 0 10px rgba(1, 190, 160, 0.5);
}

.language-link.active-language {
    opacity: 1;
}

/* Hide language switcher */
.language-switcher {
    display: none !important;
}

/* Login Button Styles */
.login-button-wrapper {
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

.login-button {
    display: inline-block;
    padding: 0.75em 1.6em;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e1e5;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: transparent;
}

.login-button:hover {
    color: #01bea0;
    border-color: #01bea0;
    background: rgba(1, 190, 160, 0.05);
}

@media screen and (min-width: 62em) {
    .login-button-wrapper {
        margin-right: 1.78571em;
        position: relative;
    }
    
    .login-button-wrapper:after {
        content: '';
        position: absolute;
        display: block;
        top: -0.35714em;
        right: -1.21429em;
        height: 2.14286em;
        width: 1px;
        background: #f0f0f0;
    }
    
    .login-button {
        padding: 0.8em 2em;
        font-size: 13px;
        font-size: 0.8125rem;
    }
}

@media screen and (max-width: 61.9375em) {
    .login-button-wrapper {
        display: inline-block;
        margin-right: 10px;
    }
}

/* Settings Icon Styles */
.settings-icon-wrapper {
    display: inline-block !important;
    margin-right: 15px;
    vertical-align: middle;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001;
    pointer-events: auto;
}

.settings-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    pointer-events: auto;
    position: relative;
    z-index: 1002;
}

.settings-icon:hover {
    color: #01bea0;
    background: transparent;
}

.settings-icon.active {
    color: #01bea0;
    border-color: #01bea0;
    background: rgba(1, 190, 160, 0.1);
}

.settings-icon .fa {
    font-size: 18px;
}

/* Settings Dropdown Menu */
.settings-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e1e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.settings-dropdown-wrapper.active .settings-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #222;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.settings-dropdown-item:hover {
    background: rgba(1, 190, 160, 0.05);
    color: #01bea0;
}

.settings-dropdown-item .fa {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #666;
}

.settings-dropdown-item:hover .fa {
    color: #01bea0;
}

.settings-dropdown-item span {
    flex: 1;
}

@media screen and (min-width: 62em) {
    .settings-icon-wrapper {
        margin-right: 1.78571em;
        position: relative;
    }
    
    .settings-icon-wrapper:after {
        content: '';
        position: absolute;
        display: block;
        top: -0.35714em;
        right: -1.21429em;
        height: 2.14286em;
        width: 1px;
        background: #f0f0f0;
    }
    
    .settings-icon {
        width: auto;
        height: auto;
        font-size: 16px;
    }
    
    .settings-icon .fa {
        font-size: 16px;
    }
    
    .settings-dropdown-menu {
        min-width: 220px;
    }
}

@media screen and (max-width: 61.9375em) {
    .settings-icon-wrapper {
        display: none !important;
        margin-right: 10px;
    }
    
    .settings-dropdown-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 180px;
        white-space: nowrap;
        overflow: visible;
    }
    
    .settings-dropdown-wrapper.active .settings-dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
    
    .settings-dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 16px !important;
        color: #222 !important;
        font-size: 14px !important;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }
    
    .settings-dropdown-item span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #222 !important;
        font-size: 14px !important;
        white-space: nowrap;
    }
    
    .settings-dropdown-item .fa {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Fix for MPHB Account Menu on Mobile */
@media screen and (max-width: 768px) {
    .mphb_sc_account .mphb-account-menu {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .mphb_sc_account .mphb-account-menu ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .mphb_sc_account .mphb-account-menu ul li {
        display: block !important;
        margin: 0 !important;
        width: 100%;
        border-bottom: 1px solid #e0e1e5;
    }
    
    .mphb_sc_account .mphb-account-menu ul li:last-child {
        border-bottom: none;
    }
    
    .mphb_sc_account .mphb-account-menu a {
        display: block !important;
        padding: 15px 20px !important;
        color: #222 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        visibility: visible !important;
        opacity: 1 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mphb_sc_account .mphb-account-menu a:hover {
        color: #01bea0 !important;
        background-color: rgba(1, 190, 160, 0.05);
    }
}

/* Mobile Menu Account Items - HIDE ON DESKTOP */
/* Always hide on desktop/web version */
@media screen and (min-width: 769px) {
    .main-navigation .menu-item-account-rezervasiyalarim,
    .main-navigation .menu-item-account-hesabim,
    .main-navigation .menu-item-account-separator {
        display: none !important;
    }
}

/* Mobile Menu Account Items - SHOW ONLY ON MOBILE */
@media screen and (max-width: 768px) {
    /* Style for account items in mobile menu */
    .main-navigation .menu-item-account-rezervasiyalarim,
    .main-navigation .menu-item-account-hesabim {
        border-top: 1px solid #e0e1e5;
        margin-top: 10px;
        padding-top: 10px;
    }
    
    /* Hide by default on mobile, JavaScript will show when logged in */
    .main-navigation .menu-item-account-rezervasiyalarim:not(.mobile-account-visible),
    .main-navigation .menu-item-account-hesabim:not(.mobile-account-visible),
    .main-navigation .menu-item-account-separator:not(.mobile-account-visible) {
        display: none;
    }
    
    /* Show when JavaScript adds visible class */
    .main-navigation .menu-item-account-rezervasiyalarim.mobile-account-visible,
    .main-navigation .menu-item-account-hesabim.mobile-account-visible,
    .main-navigation .menu-item-account-separator.mobile-account-visible {
        display: block !important;
    }
    
    .main-navigation .menu-item-account-separator {
        height: 1px;
        background: #e0e1e5;
        margin: 10px 0;
        padding: 0;
    }
    
    .main-navigation .menu-item-account-separator .menu-text {
        display: none;
    }
    
    .mobile-menu-account-item {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 20px !important;
        color: #222 !important;
        text-decoration: none !important;
        font-size: 14px !important;
        width: 100%;
        transition: all 0.2s ease;
    }
    
    .mobile-menu-account-item:hover {
        background-color: rgba(1, 190, 160, 0.05) !important;
        color: #01bea0 !important;
    }
    
    .mobile-menu-account-item .fa {
        font-size: 16px;
        width: 20px;
        text-align: center;
        color: #666;
    }
    
    .mobile-menu-account-item:hover .fa {
        color: #01bea0;
    }
    
    .mobile-menu-account-item .menu-text {
        flex: 1;
    }
}

/* ======================================
   Login Popup Modal Styles
   ====================================== */
.login-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none !important;
    align-items: center;
    justify-content: center;
}

.login-popup-modal.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.login-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.login-popup-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10001;
}

.login-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    padding: 0;
    line-height: 1;
}

.login-popup-close:hover {
    color: #222;
}

.login-popup-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0 0 32px 0;
    text-align: center;
}

.login-popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
}

.login-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #222;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.login-form-group input:focus {
    outline: none;
    border-color: #01bea0;
}

.login-form-group input::placeholder {
    color: #999;
}

.login-submit-btn {
    width: 100%;
    background: #01bea0;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.login-submit-btn:hover:not(:disabled) {
    background: #019b82;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 190, 160, 0.3);
}

.login-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.no-account-text {
    color: #666;
}

.register-link,
.forgot-password-link {
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.register-link:hover,
.forgot-password-link:hover {
    color: #2980b9;
}

/* ======================================
   Homepage Banner Enhancement
   ====================================== */

/* Ensure proper spacing for homepage content */
.page-template-template-front-page .entry-header {
    padding-top: 120px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-template-template-front-page .entry-title {
    margin-bottom: 20px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
}

/* Add a subtle overlay to improve text readability */
.page-template-template-front-page .entry-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 600px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.9) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Ensure search form and content are above the overlay */
.page-template-template-front-page .entry-content > * {
    position: relative;
    z-index: 1;
}

/* Style the search form area */
.page-template-template-front-page .mphb_sc_search-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
    .page-template-template-front-page .entry-header {
        padding-top: 60px;
    }
    
    .page-template-template-front-page .entry-title {
        font-size: 32px;
    }
    
    .page-template-template-front-page .entry-content::after {
        height: 400px;
    }
    
    .page-template-template-front-page .mphb_sc_search-wrapper {
        padding: 20px;
        margin-top: 30px;
        margin-bottom: 40px;
    }
}

/* Logo size constraint */
.custom-logo {
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

@media screen and (min-width: 62em) {
    .custom-logo {
        max-height: 60px !important;
        max-width: 350px !important;
    }
}
  