/* ==========================================================================
   Pages: archives, the booking flow, availability search and contact.
   Loaded wherever islrd_is_rental_page() is true.
   ========================================================================== */

/* --- taxonomy archives ---------------------------------------------------- */
.tax-mphb_room_type_facility,.tax-mphb_room_type_category,[class*='tax-mphb_ra_']{background:var(--isl-ground);}
[class*='tax-mphb'] .ast-archive-description{background:transparent;border:0;box-shadow:none;padding:44px 0 8px;max-width:var(--isl-max);margin:0 auto;text-align:center;}
[class*='tax-mphb'] .ast-archive-title,[class*='tax-mphb'] .page-title{font-family:Montserrat,sans-serif;font-size:clamp(25px,3.4vw,34px);font-weight:600;letter-spacing:-.025em;color:var(--isl-ink);margin:0;}
[class*='tax-mphb'] .entry-meta,[class*='tax-mphb'] .post-meta,[class*='tax-mphb'] .ast-blog-meta-container{display:none !important;}
[class*='tax-mphb'] .ast-article-post,[class*='tax-mphb'] .ast-grid-common-col article{background:#fff;border:1px solid var(--isl-line);border-radius:6px;box-shadow:var(--isl-shadow);overflow:hidden;}
[class*='tax-mphb'] .entry-title{font-family:Montserrat,sans-serif;font-size:17px;font-weight:600;letter-spacing:-.01em;margin:0 0 8px;}
[class*='tax-mphb'] .entry-title a{color:var(--isl-ink);text-decoration:none;}
[class*='tax-mphb'] .entry-title a:hover{color:var(--isl-accent);}
[class*='tax-mphb'] .entry-content p,[class*='tax-mphb'] .entry-summary p{font-family:Montserrat,sans-serif;font-size:14px;line-height:1.65;color:var(--isl-body);}
[class*='tax-mphb'] .post-thumb img,[class*='tax-mphb'] .ast-article-post img{width:100%;height:210px;object-fit:cover;display:block;}
[class*='tax-mphb'] .read-more,[class*='tax-mphb'] .ast-readmore-wrapper{display:none;}

/* --- availability search page --------------------------------------------- */
.islrd-searchpage .entry-content .mphb_sc_search-wrapper{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--isl-line);border-radius:6px;box-shadow:var(--isl-shadow);padding:32px 34px;}
.islrd-searchpage .mphb_sc_search-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;margin:0;}
.islrd-searchpage .mphb_sc_search-form>p{margin:0;}
.islrd-searchpage .mphb-required-fields-tip{grid-column:1 / -1;font-size:12px;color:var(--isl-muted);margin:0;}
.islrd-searchpage .mphb_sc_search-submit-button-wrapper{grid-column:1 / -1;}
.islrd-searchpage .mphb_sc_search-form button{width:100%;height:50px;font-size:15px;}
.islrd-searchpage .entry-header{text-align:center;max-width:700px;margin:0 auto;padding:40px 0 30px;}
@media (max-width:640px){.islrd-searchpage .mphb_sc_search-form{grid-template-columns:1fr;}.islrd-searchpage .entry-content .mphb_sc_search-wrapper{padding:24px 20px;}}

/* --- booking confirmation and checkout ------------------------------------ */
.islrd-checkout .entry-content{max-width:900px;margin:0 auto;font-family:Montserrat,sans-serif;}
.islrd-checkout .entry-header{text-align:center;padding:40px 0 8px;}
.islrd-checkout .mphb-login-form-wrapper,.islrd-checkout .mphb-logged-in-as{font-size:13px;color:var(--isl-muted);text-align:center;margin-bottom:26px;}
.islrd-checkout h3,.islrd-checkout h2{font-size:18px;font-weight:600;color:var(--isl-ink);letter-spacing:-.01em;margin:0 0 16px;}
.islrd-checkout .mphb-booking-details,.islrd-checkout .mphb-reserved-rooms-details,
.islrd-checkout .mphb-price-breakdown,.islrd-checkout .mphb-customer-details,
.islrd-checkout .mphb-checkout-section{background:#fff;border:1px solid var(--isl-line);border-radius:6px;box-shadow:var(--isl-shadow);padding:26px 28px;margin:0 0 20px;}
.islrd-checkout table{width:100%;border-collapse:collapse;font-size:14.5px;}
.islrd-checkout table th,.islrd-checkout table td{border:0;border-bottom:1px solid var(--isl-line-soft);padding:11px 4px;text-align:left;}
.islrd-checkout table tr:last-child th,.islrd-checkout table tr:last-child td{border-bottom:0;font-weight:600;color:var(--isl-ink);}
.islrd-checkout table td:last-child,.islrd-checkout table th:last-child{text-align:right;font-variant-numeric:tabular-nums;}
.islrd-checkout .mphb-errors-wrapper,.islrd-checkout .mphb-error{background:var(--isl-accent-tint);border:1px solid #f3d2d5;border-radius:var(--isl-radius);padding:12px 16px;font-size:14px;color:var(--isl-ink);margin:0 0 18px;}
.islrd-checkout button[type=submit],.islrd-checkout .mphb-book-button{width:100%;height:52px;font-size:15px;margin-top:8px;}
.islrd-checkout .mphb-total-price{font-size:16px;font-weight:600;color:var(--isl-ink);}
@media (max-width:640px){.islrd-checkout .mphb-booking-details,.islrd-checkout .mphb-price-breakdown,.islrd-checkout .mphb-customer-details{padding:20px 18px;}}


/* --- contact page --------------------------------------------------------- */
.islrd-contact{max-width:1000px;margin:0 auto;padding:8px 0 64px;font-family:Montserrat,sans-serif;}
.islrd-contact-lede{font-size:17px;line-height:1.7;color:var(--isl-body);max-width:640px;margin:0 0 36px;}
.islrd-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.islrd-contact-card{background:#fff;border:1px solid var(--isl-line);border-radius:6px;box-shadow:var(--isl-shadow);padding:26px 28px;}
.islrd-contact-card h3{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--isl-muted);margin:0 0 14px;}
.islrd-contact-card p{margin:0 0 8px;font-size:15.5px;line-height:1.7;color:var(--isl-ink);}
.islrd-contact-card p:last-child{margin-bottom:0;}
.islrd-contact-card a{color:var(--isl-green);text-decoration:none;font-weight:500;}
.islrd-contact-card a:hover{text-decoration:underline;}
.islrd-contact-note{font-size:13px !important;color:var(--isl-muted) !important;}
@media (max-width:700px){.islrd-contact-grid{grid-template-columns:1fr;gap:16px;}.islrd-contact-card{padding:20px 18px;}}

/* --- alignment corrections ------------------------------------------------ */
/* the constrained group layout was centring the lede as a block, which read as
   a stray indent, and the page title sat outside the card container */
.islrd-contact>.islrd-contact-lede{margin-left:0;margin-right:auto;}
.islrd-contact>.islrd-contact-grid{max-width:none;}
body.page .ast-article-single>.entry-header,body.page .entry-header{max-width:1000px;margin-left:auto;margin-right:auto;padding-top:36px;}
body.page .entry-title{font-family:Montserrat,sans-serif;font-weight:600;letter-spacing:-.025em;color:var(--isl-ink);}
/* the submit control is an input on some MotoPress forms and a button on others */
.islrd-searchpage .mphb_sc_search-submit-button-wrapper button,
.islrd-searchpage .mphb_sc_search-submit-button-wrapper input[type=submit],
.islrd-searchpage .mphb_sc_search-form input[type=submit]{width:100%;height:50px;font-size:15px;}
/* home and listing keep their own header treatment */
body.home .entry-header,body.islrd-listing-page .entry-header{max-width:none;}
