/* hk-fixes.css: ila Comfort Harkapur only, QC Checklist 3.10 fixes, 19 Oct 26 (groups A and B).
   Loaded last on the 15 Harkapur pages (after site.css), so it never touches the parent or the other hotels.
   Row IDs in each comment. Remove this file and its <link> to undo the CSS side; hk-fixes.js and
   the HTML edits are listed in hk-fixes-NOTES.md next to this file. */

/* COL-02 / COL-06: deeper terracotta #d56750 (4.55:1 with white) in place of #d56750 (3.57:1); hover #d15940.
   Generated by gen_colors.py: only the declarations that still win in the shared cascade, same selectors. */


/* CNV-02: the booking engine still sends a placeholder rate ('From NPR 500,000 / night'), so the
   price lines stay hidden on Harkapur until the real rate is loaded. Delete this rule to show them again. */
#simp-booking-form #minPriceRoomsWrapper, .ila-rate, .ila-rate-tax { display: none !important; }

/* IMG-07: the 5 homepage highlight icons use the same line drawings as the Facilities page,
   painted in the Harkapur terracotta */
#iusp4 ul.ila-why-row li .fa { width: 36px; height: 36px; background-color: #d56750; font-size: 0 !important;
  -webkit-mask: var(--hk-icon) center / contain no-repeat; mask: var(--hk-icon) center / contain no-repeat; }
#iusp4 ul.ila-why-row li .fa::before { content: none !important; }
#iusp4 ul.ila-why-row li .fa-bed { --hk-icon: url("../icons/couch.svg"); }
#iusp4 ul.ila-why-row li .fa-tint { --hk-icon: url("../icons/wave-1.svg"); }
#iusp4 ul.ila-why-row li .fa-cutlery { --hk-icon: url("../icons/restaurant.svg"); }
#iusp4 ul.ila-why-row li .fa-users { --hk-icon: url("../icons/meeting.svg"); }
#iusp4 ul.ila-why-row li .fa-leaf { --hk-icon: url("../icons/children-park.svg"); }

/* COL-04: one style for links inside running text: brown, underlined, a thicker darker underline on hover */
:is(.v2-desk, .v2-phone) .content_wrapper :is(.text-content-wrapper, .ila-location, .hotel_location_wrap) :is(p, li) a:not(.btn) {
  color: #734538 !important; text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:is(.v2-desk, .v2-phone) .content_wrapper :is(.text-content-wrapper, .ila-location, .hotel_location_wrap) :is(p, li) a:not(.btn):hover {
  color: #4a2c24 !important; text-decoration-thickness: 2px; }

/* TYP-03: small labels up to 14px (the copyright line, the phone MENU label, Manage Booking, Why Book Direct) */
#footer.ila-footer-v1 .ila-f-bottom :is(li, p, span) { font-size: 14px !important; }
.v2-phone .mobile-menu .dropdown-toggle .TwoFoldMenuName { font-size: 14px !important; }
html .v2-desk .bookingform-wrapper .simp-booking-form form#simp-booking-form :is(#manageBookingWrapper a, #whyBookDirectWrapper p, #chainWhyBookDirectWrapper p),
#manageBookingWrapper a, #whyBookDirectWrapper p { font-size: 14px !important; line-height: 1.4 !important; }

/* TYP-04: booking bar links and the language picker get readable line spacing */
#manageBookingWrapper a, #showMoreBtnWrapper, .v2-desk .gtranslate_wrapper a { line-height: 1.4 !important; }

/* TYP-05: text beside a photo stops at about 70 characters a line on wide screens */
.v2-desk .content_wrapper :is(.phoenixtempshell1-homepage-limgtxt-withbg, .phoenixtempshell1-homepage-rimgtxt-withbg) .text-content-wrapper :is(p, ul) { max-width: 70ch; }

/* TYP-08: the hotel name in the footer never leaves 'Harkapur' alone on the last line */
#footer.ila-footer-v1 :is(h3, .ila-f-name) { text-wrap: pretty; }

/* LAY-04: at least 8px between a paragraph and the list that follows it */
.content_wrapper .text-content-wrapper p + :is(ul, ol) { margin-top: 8px !important; }

/* NAV-02: the hotel name item shows it is the current page on the Harkapur home page; phone menu and
   footer mark the current page too (hk-fixes.js sets aria-current) */
.v2-desk header .navbar-bottom li.child-hotel-name > a:is(.active, [aria-current="page"]) { font-weight: 700;
  text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.v2-phone .mobile-menu .dropdown-menu-topNav a[aria-current="page"] > div { color: #d56750 !important; font-weight: 700; }
.v2-phone .mobile-menu .dropdown-menu-topNav a[aria-current="page"] > div span { text-decoration: underline; text-underline-offset: 4px; }
#footer.ila-footer-v1 a[aria-current="page"] { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 700; }

/* NAV-05 / BTN-04 / SEO-26: phone tap areas of 44px for the MENU button, menu items and footer links */
.v2-phone .mobile-menu .dropdown-toggle { min-height: 44px; }
.v2-phone .mobile-menu .dropdown-menu-topNav li > a { display: block; }
.v2-phone .mobile-menu .dropdown-menu-topNav li > a > div { padding-top: 12px !important; padding-bottom: 12px !important; }
.v2-phone #footer.ila-footer-v1 :is(.ila-f-cols, .ila-f-lines, .ila-f-bottom) li { margin-top: 0 !important; }
.v2-phone #footer.ila-footer-v1 :is(.ila-f-cols ul, .ila-f-lines, .ila-f-bottom) a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

/* FRM-02: form errors are 14px and dark enough to read; the field gets a red edge */
.js-form-error { font-size: 14px !important; color: #b3261e !important; margin-top: 4px; }
.form-group:has(.js-form-error) :is(input, select, textarea) { border-color: #b3261e !important; }
.ila-loc-status { margin: 8px 0 0; font-size: 14px; color: #734538; }

/* FUN-05: the 'Continue Your Booking' card starts below the two menu bars instead of covering 'More' */
.v2-desk #continueBooking { top: 128px; }

/* COL-02: the footer credit links (Sitemap, Simplotel) at full white instead of 80% */
#footer.ila-footer-v1 .ila-f-credit { opacity: 1 !important; }

/* COL-02: the phone 'Know More' outline buttons on cream cards use the brown text of the other outline buttons
   (terracotta text on cream was 3.2:1) */
.v2-phone .btn.txt-wdgt-btn:has(+ .ila-btn-main) .text { color: #734538 !important; }

/* TYP-03: event form labels never drop below 14px on tablets (they fell to 12px at 768) */
.v2-desk .outer-page .phoenixtempshell1-conatct-form-572 .wtformjson fieldset .form-group label { font-size: clamp(14px, 1.56vw, 20px) !important; }

/* BTN-04: phone slider dots keep their 20px look but take taps across a 44px area */
.v2-phone .slick-dots li button { position: relative; }
.v2-phone .slick-dots li button::after { content: ""; position: absolute; inset: -12px; }

/* TYP-02 / TYP-06: the footer column titles are now <p class="ila-f-title" role="heading" aria-level="N"> (weight follows the sitewide heading weight);
   they look exactly as the old footer H3s did */
html :is(.v2-desk, .v2-phone) #footer.ila-footer-v1 p.ila-f-title { font-family: 'Montagu Slab', serif !important;
  font-size: 18px !important; line-height: 1.4 !important; margin: 0 0 16px !important; padding: 0 !important; color: #fff !important;
  text-transform: none !important; letter-spacing: 0 !important; }
html .v2-desk #footer.ila-footer-v1 p.ila-f-title { font-size: 22px !important; }   /* TYP-02: footer titles 22px desktop / 18px phone, as on the other sites */
.v2-desk #footer.ila-footer-v1 .ila-f-hotel .ila-f-title { max-width: none; }   /* the hotel name fits on its line at 22px (was capped at 150px for 18px) */

/* TYP-02: one size for the homepage card titles: facility cards at 22px like the room cards (they ran 21-24px) */
.v2-desk .for-homepage.child-hotel #ihpm7 .text-content-wrapper h4 { font-size: 22px; }

/* BTN-04: links inside paragraphs on phones get a 44px tap area; the padding is invisible and the negative side
   margin keeps the words exactly where they were */
.v2-phone .content_wrapper :is(.text-content-wrapper, .ila-location, .hotel_location_wrap) :is(p, li) a:not(.btn) { padding: 16px 8px; margin: 0 -8px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* BTN-04 / FRM-04: phone form boxes 44px tall, the phone-number country picker 44 x 44 */
.v2-phone .wtformjson :is(.form-control, .iti__selected-country) { min-height: 44px; }
.v2-phone .wtformjson .iti__selected-country { min-width: 44px; }

/* BTN-04: a slider with a single slide shows no dot row (the lone dot was an invisible 20px button with nothing to switch) */
.slick-dots:has(> li:only-child) { display: none !important; }
