a[href="https://vuokratuoli.fi/blog-3/"] {
  display: none;
}

a[href="https://vuokratuoli.fi/blog-2/"] {
  display: none;
}

a[href="https://vuokratuoli.fi/properties/"] {
  display: none;
}

/* Hide the "Home" link */
a[href="https://vuokratuoli.fi/"][aria-current="page"]:not(.custom-logo-link) {
  display: none;
}

.hp-form__field--number-range {
  display: none;
}


a[href*="https://vuokratuoli.fi/properties"] {
  display: none;
}

p.has-medium-font-size {
  font-size: 23px !important; /* Adjust the font size value as needed */
}

/* Reduce margin between paragraphs within rows */
.row p {
  margin-bottom: 10px; /* Adjust as needed */
}

.wp-block-heading {
  white-space: nowrap;
}

.wp-block-heading {
  white-space: nowrap; /* Prevent wrapping by default */

  /* Responsive styles */
  @media screen and (max-width: 768px) {
    white-space: normal; /* Allow wrapping on smaller screens */
  }
}

.page-id-507 .header-hero {
  display: none; /* Hide the header on the page with ID 123 */
}

.hp-form__field--tags {
    display: none;
}



.datetime {
    font-size: 16px; /* Example font size */
    line-height: 1.4; /* Spacing between lines */
    font-family: Arial, sans-serif; /* Font styling */
}


.hp-form__field--number input[name="booking_slot_interval"] {
    display: none !important;
}

.hp-form__field.hp-form__field--number input[name="booking_slot_interval"] {
    display: none;
}

.hp-form__field.hp-form__field--number input[name="booking_slot_interval"] + .hp-field__description,
.hp-form__field.hp-form__field--number input[name="booking slot interval"] + .hp-field__description + label {
    display: none;
}

/* Custom style for selected timeslots */
.hp-form__field--timeslots .hp-field {
    background: #f0f8ff;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Hide "Syötä tiedot" header only on the page with the title "Syötä tiedot" */
body:has(meta[content*="Syötä tiedot"]) .hp-page__title {
    display: none;
}

/* Hide the Shop link */
a[href="https://vuokratuoli.fi/shop/"] {
    display: none !important; /* Use !important to ensure it overrides any other styles */
}

/* Hide the Basket link */
a[href="https://vuokratuoli.fi/basket/"] {
    display: none !important; /* Use !important to ensure it overrides any other styles */
}

/* Hide the Checkout link */
a[href="https://vuokratuoli.fi/checkout/"] {
    display: none !important; /* Use !important to ensure it overrides any other styles */
}

/* Hide the Shop and Checkout links */
a[href="https://vuokratuoli.fi/shop/"],
a[href="https://vuokratuoli.fi/checkout-2/"] {
    display: none !important; /* Use !important to ensure it overrides any other styles */
}

.hp-form--listing-sort {display:none!important}


/* Ensure text in listing attributes doesn't break mid-word */
.hp-listing__attributes {
    display: flex;            /* Align the attributes horizontally */
    flex-wrap: wrap;          /* Allow wrapping when necessary */
    gap: 10px;                /* Add some space between elements */
}

.hp-listing__attribute {
    word-break: normal;       /* Prevent breaking words mid-word */
    white-space: nowrap;      /* Prevent wrapping to a new line */
    overflow-wrap: break-word;/* Allow breaking long words only */
    display: inline-block;    /* Ensure it stays inline */
}

.hp-listing__attribute--yesno {
    white-space: normal; /* Allow text to wrap */
    overflow: hidden;    /* Hide overflow */
    text-overflow: ellipsis; /* Optional: Add ellipsis for cut-off text */
    padding: 10px;      /* Add some padding for better readability */
    margin: 0 10px;     /* Optional: Add margin for spacing */
}

.hp-row {
    width: 100%;              /* Ensure the row uses full width */
}

.hp-col-lg-6 {
    flex: 0 0 100%;          /* Set the column to use full width */
    max-width: 100%;         /* Remove any max-width constraints */
}

.hp-listing__attribute--yesno {
    display: flex;            /* Use flexbox for alignment */
    align-items: center;     /* Center items vertically */
    width: 100%;             /* Allow it to take full width */
}

.hp-icon {
    margin-right: 8px;       /* Add space between the icon and the text */
}

.hide-this .hp-listing__attribute--yesno {
    display: none; /* Hide only this instance */
}

.page_item.page-item-376 {
    display: none;
}

.page_item.page-item-781 {
    display: none;
}


.hp-menu__item--listing-calendar {
    display: none;
}

a[href="https://vuokratuoli.fi/account/vendor/calendar/"] {
    display: none !important; /* Hides the entire link */
}

a[href="https://vuokratuoli.fi/orders/?page_id=784"] {
    display: none !important; /* Hides the entire link */
}

/* Hide the Yksittäisvarauksen kesto section */
div.hp-form__field.hp-form__field--number:has(input[name="booking_slot_duration"]) {
    display: none;
}

/* Hide the Booking Slot Interval section */
div.hp-form__field.hp-form__field--number:has(input[name="booking_slot_interval"]) {
    display: none;
}

/* Hide the Booking Offset section */
div.hp-form__field.hp-form__field--number:has(input[name="booking_offset"]) {
    display: none;
}

/* Hide the Booking Window section */
div.hp-form__field.hp-form__field--number:has(input[name="booking_window"]) {
    display: none;
}

.hp-listing__action--order {
    display: none !important;
}

.hp-form__field.hp-form__field--select:has(select[name="languages[]"]) {
    display: none;
}

.hp-form__field.hp-form__field--select:has(select[name="services[]"]) {
    display: none;
}

div.hp-form__field--number label.hp-field__label span:contains("Minimum Booking Duration"),
div.hp-form__field--number input[name="booking_min_length"] {
    display: none !important;
}

div.hp-form__field--number input[name="booking_min_length"] {
    display: none !important;
}

/* Hide the entire Minimum Booking Duration field */
div.hp-form__field--number input[name="booking_min_length"] {
    display: none !important;
}

/* Hide the entire Minimum Booking Duration field including label, description, and input */
.hp-form__field--number input[name="booking_min_length"],
.hp-form__field--number input[name="booking_min_length"] ~ label.hp-field__label,
.hp-form__field--number input[name="booking_min_length"] ~ .hp-field__description,
.hp-form__field--number input[name="booking_min_length"] ~ input {
    display: none !important;
}

.hp-form__field--number input[name="booking_min_length"] ~ label.hp-field__label:has(span:contains("Minimum Booking Duration")),
.hp-form__field--number input[name="booking_min_length"] ~ .hp-field__description:contains("Set the minimum booking duration in days") {
    display: none !important;
}

/* Hide Minimum Booking Duration field, label, and description */
.hp-form__field input[name="booking_min_length"],
.hp-form__field input[name="booking_min_length"] ~ .hp-field__description,
.hp-form__field input[name="booking_min_length"] ~ label {
    display: none !important;
}

/* Hide Maximum Booking Duration field, label, and description */
.hp-form__field input[name="booking_max_length"],
.hp-form__field input[name="booking_max_length"] ~ .hp-field__description,
.hp-form__field input[name="booking_max_length"] ~ label {
    display: none !important;
}

/* Hide the entire field wrapper for Minimum and Maximum Booking Duration */
.hp-form__field.hp-form__field--number:has(input[name="booking_min_length"]),
.hp-form__field.hp-form__field--number:has(input[name="booking_max_length"]) {
    display: none !important;
}

.hp-form__footer {
    display: flex;
    flex-direction: column;
}

.hp-form__footer .hp-form__button {
    margin-top: 10px; /* Add some space between the link and the button */
}

.widget_text p:contains("Tähän logo?"),
.widget_text p:contains("Search properties, services and items for sale on a single site.") {
    display: none !important;
}

#text-2 {
    display: none !important;
}

#nav_menu-2 .widget__title,
#nav_menu-2 .menu-social-container {
    display: none !important;
}

.hp-listing-category--view-block .hp-listing-category__item-count,
.hp-listing-category--view-page .hp-listing-category__item-count {
  display: none;
}

.hp-listing__footer {
    display: flex; /* Use Flexbox for layout control */
    flex-direction: column; /* Stack children vertically */
}

.hp-block.hp-listing__attributes {
    margin-bottom: 10px; /* Add spacing below attributes for better layout */
}

.hp-listing__actions {
    margin-top: auto; /* Push the actions to the bottom of the footer */
    align-self: flex-end; /* Align actions to the right */
}

/* Apply fixed height only to specific listing blocks */
.hp-listing.hp-listing--view-block {
  height: 600px; /* Fixed height */
  display: flex; /* Enable Flexbox for layout */
  flex-direction: column; /* Arrange content vertically */
  justify-content: space-between; /* Push footer to the bottom */
  box-sizing: border-box; /* Include padding and borders in height */
}

/* Ensure content inside the listing adjusts correctly */
.hp-listing--view-block .hp-listing__content {
  flex-grow: 1; /* Allow content to stretch */
  overflow: hidden; /* Prevent overflow of content */
}

/* Footer stays at the bottom of the block */
.hp-listing--view-block .hp-listing__footer {
  margin-top: auto; /* Push footer to the bottom */
}





