/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0; padding: 0;
  background: #e8e8e8;
  font-family: 'Source Sans Pro', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: #5d5d5d;
  line-height: 1.5;
}

a { color: #4475ab; text-decoration: none; }
a:hover { color: #000; }

ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 { color: #484747; }
h1 { font-size: 36px; }
h2 { font-size: 16px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.clear { clear: both; }

/* ========== Main Container (centered, max-width) ========== */
.main-container {
  width: auto;
  max-width: 990px;
  margin: 0 auto;
  background: #ffffff;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 0;
}

/* ========== Top Utility Menu ========== */
.top-menu {
  width: 100%;
  padding: 8px 20px;
  background: #528ed1;
  margin-bottom: 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
}

.top-menu-left, .top-menu-right {
  width: auto;
}

.top-menu-left ul, .top-menu-right ul {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.top-menu-left ul li, .top-menu-right ul li {
  margin-right: 0;
}

.top-menu ul li a {
  display: block;
  padding: 0 15px;
  color: #e1e1e1;
  line-height: 2.5;
}

.top-menu ul li a:hover {
  color: #fbaf31;
}

/* ========== Banner Area ========== */
.banner-container {
  width: calc(100% - 40px);
  max-width: 940px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 24px 20px;
  min-height: 90px;
  background: #f5f5f5;
}

.logo {
  flex: 0 0 auto;
}

.logo h1,
.logo .site-title {
  font-size: 34px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.1 !important;
  color: #4475ab !important;
}

.logo h1 a,
.logo .site-title a {
  color: #4475ab !important;
  text-decoration: none !important;
}

.banner-ad {
  flex: 1 1 auto;
  text-align: center;
}

/* Search bar in the banner row — vertically aligned with logo */
.banner-search {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* ========== Main Menu / Navigation ========== */
.main-menu {
  width: 100%;
  margin: 0 0 15px;
  border-bottom: 5px solid #4475ab;
  background: #528ed1;
  display: flex;
  align-items: stretch;
  min-height: 40px;
  /* W51a: search bar moved to banner row — no reserved lane needed */
  box-sizing: border-box;
}

.main-menu ul {
  list-style: none;
  list-style-type: none;
  padding: 0 10px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.main-menu ul li {
  border-right: 1px solid rgba(255,255,255,0.2);
}

.main-menu ul li a {
  display: block;
  font-size: 15px;
  padding: 13px 17px 12px;
  color: #fff;
  white-space: nowrap;
}

.main-menu ul li a:hover,
.main-menu .menu-item-highlight > a {
  color: #000 !important;
  background: #fbaf31;
  border-bottom: 5px solid #e58f00;
}

/* Active nav tab styling — persistent yellow, survives mouse-out */
.main-menu .current-menu-item > a,
.main-menu .current-menu-item > a:hover {
  color: #000 !important;
  background: #fbaf31 !important;
  border-bottom: 5px solid #e58f00 !important;
}

/* Search form in banner row — W51a: static flow, no absolute positioning */
.searchbar {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 3px 4px;
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

#s {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #444;
  border: 1px solid #ccc;
  padding: 2px 0 2px 5px;
  /* W51a: search is now in banner — restore comfortable input width */
  width: 140px;
  height: 22px;
  box-shadow: inset 0 0 5px #ececec;
}

#searchsubmit {
  font: bold 14px Arial, Helvetica, sans-serif;
  color: #444;
  text-shadow: 0 1px 0 #eee;
  cursor: pointer;
  background: #aaa;
  background: linear-gradient(to top, #aaa, #cecece);
  border: 0;
  padding: 5px 13px;
  margin: 0 0 0 5px;
  border-radius: 20px;
}

/* ========== Content Holder (3-column CSS Grid) ========== */
.content-holder {
  display: grid;
  grid-template-areas: "left main right";
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  gap: 20px;
  align-items: start;
  justify-items: stretch;
  max-width: 940px;
  margin: 0 auto 60px;
  padding: 0;
  min-height: 10px;
}

.content-holder.no-sidebars {
  display: block;
  width: 100%;
  max-width: 940px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.content-holder.no-sidebars .mainbar {
  width: 100%;
  float: none;
}

.sidebar-left {
  grid-area: left;
  width: 100%;
  min-width: 0;
}

.mainbar {
  grid-area: main;
  width: 100%;
  min-width: 0;
  float: none;
}

.sidebar-right {
  grid-area: right;
  width: 100%;
  min-width: 0;
}

/* ========== Sidebars ========== */
.sidebar-left, .sidebar-right {
  width: 100%;
  min-width: 0;
  align-self: start;
}

.content-holder > .sidebar-left,
.content-holder > .mainbar,
.content-holder > .sidebar-right {
  min-width: 0;
  float: none;
  clear: none;
}

.sidebar-container {
  width: 100%;
  margin-bottom: 30px;
}

.sidebar-container ul {
  list-style: none;
  list-style-type: none;
}

.sidebar-container ul li a {
  display: block;
  width: 100%;
  padding: 3px 0;
  border-bottom: 1px dotted #d7d8d8;
}

/* ========== Widget styling (moduletable) – unified blue header ========== */
.moduletable {
  padding: 0;
  margin-bottom: 20px;
  clear: both;
}

.sidebar-left .moduletable h3,
.sidebar-right .moduletable h3 {
  margin: 0;
  padding: 6px 10px;
  background: #2786C2;
  color: #ffffff;
  font-family: verdana;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  line-height: 1.4;
}

/* Force unification for any right sidebar widget header regardless of class */
.sidebar-right .moduletable h3,
.sidebar-right h3,
.sidebar-right .widget-title,
.sidebar-right .widgettitle {
  background: #2786C2 !important;
  color: #fff !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 0 6px 0 !important;
  text-transform: none !important;
  border: none !important;
  line-height: 1.4 !important;
}

/* Catch any inline style with cyan background in right sidebar */
.sidebar-right [style*="background"][style*="#6DCEEE"],
.sidebar-right [style*="background"][style*="#6dceee"] {
  background: #2786C2 !important;
  color: #fff !important;
}

.moduletable h3 a {
  color: #fff;
}

/* Mainbar headings – orange ribbon for h3 (only inside mainbar content) */
.mainbar h3 {
  display: block;
  width: 96%;
  padding: 5px 2% !important;
  margin: 30px 0 10px 0;
  background: #fbaf31;
  color: #000;
  font-size: 14px;
}

/* Orange ribbon for mainbar page titles (h1/h2) – direct children only */
#content > h1,
.mainbar > h1,
.mainbar article > header > h1,
.mainbar main article > header > h1,
#content article > header > h1,
#content main article > header > h1 {
  background: #2786C2 !important;
  color: #fff !important;
  padding: 6px 12px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 0 14px 0 !important;
  display: block;
}

/* Title ribbon for other headings (legacy) */
.title {
  display: block;
  width: 96%;
  padding: 3px 5px;
  margin: 0;
  background: #6DCEEE;
  color: #fff;
  font-size: 11px;
  font-family: verdana;
}

/* Side menu links */
a.mainlevel:link, a.mainlevel:visited {
  margin: 0;
  padding: 4px 0;
  display: block;
  border-bottom: 1px dotted #aaa;
  width: 100%;
  vertical-align: middle;
  font-family: verdana;
  color: #2786C2;
  font-size: 11px;
  font-weight: normal;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

a.mainlevel:hover {
  color: #333;
  background-color: #f9f9f9;
}

a.mainlevel.external:link, a.mainlevel.external:visited {
  background: url("https://www.limousinecab.com/templates/limo-en/images/link_external.png") no-repeat scroll 0 50% transparent;
  padding-left: 15px;
  border-bottom: 1px dotted #aaa;
  width: auto;
}

a.mainlevel.external:hover {
  background: url("https://www.limousinecab.com/templates/limo-en/images/link_external.png") no-repeat scroll 0 50% #f9f9f9;
}

a.mainlevel#active_menu {
  color: #333;
  font-weight: bold;
  font-style: normal;
}

a.mainlevel#active_menu:hover {
  background: #f9f9f9 url(https://web.archive.org/web/20241231130131im_/http://vimeo.com/assets/images/dotted.gif) repeat-x scroll left bottom;
  text-decoration: none;
}

/* wlist */
.wlist {
  clear: both;
  margin: 0;
  padding: 0;
}

.wlist dt {
  float: left;
  margin: 3px 0 0;
  font-weight: bold;
  font-size: 12px;
  color: #5d5d5d;
}

.wlist dd {
  border-bottom: 1px dotted #888;
  margin: 0;
  padding: 3px 0 3px 0;
  font-size: 12px;
  color: #2786C2;
}

.wlist.side dt {
  float: left;
  margin: 3px 0 0;
}

.wlist.side dd {
  text-align: right;
  padding-left: 0;
}

/* Google AdSense block */
.googas-l {
  clear: both;
  display: block;
  position: relative;
  left: 5px;
  margin-bottom: 15px;
}

.googas-l .adt {
  font-size: 13px;
  font-weight: bold;
  color: #2786C2;
  text-decoration: underline;
  display: block;
}

.googas-l .adt span {
  font-size: 13px;
  font-weight: bold;
  color: #2786C2;
}

.googas-l .adb {
  color: #888888;
  display: block;
  font-size: 13px;
}

.googas-l .adb span {
  font-size: 11px;
  color: #2786C2;
}

.googas-l .adu {
  color: #2786C2;
  font-size: 10px;
  line-height: 12px;
  white-space: nowrap;
}

.googas-l .adu a {
  color: #2786C2;
  font-size: 10px;
}

/* ========== Mainbar ========== */
.mainbar {
  width: 100%;
}

#content h2 {
  font-size: 18px;
  line-height: 23px;
  color: #000;
}

#content p, #content ul {
  margin: 0 0 20px;
  line-height: 20px;
  font-size: 12px;
  color: #000;
}

#content ul {
  padding-left: 25px;
}

#showhide {
  color: #2786C2;
  text-decoration: underline;
  cursor: pointer;
}

/* ========== Comment Form – constrain to mainbar ========== */
#respond form,
.comment-form,
.wp-block-comment-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea,
.comment-form input,
.comment-form textarea {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* ========== Footer ========== */
html body div.footer,
.footer {
  display: block !important;
  background: #3a3a3a !important;
  color: #ccc !important;
  padding: 40px 20px 50px 20px !important;
  text-align: center !important;
  margin-top: 50px !important;
  font-size: 12px !important;
  border-top: 4px solid #fbaf31 !important;
  min-height: 120px !important;
  height: auto !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  visibility: visible !important;
}

/* W45 iter-7 ::before pseudo removed: the hallucinated tagline 'Singapore #1 Taxi Booking Portal' was inaccurate (site is a taxi-information directory, not a booking portal, and the #1 claim is unsubstantiated). Real footer content lives in SiteFooter.astro .footer-visible div. */
.footer-disabled-pseudo {
  display: none;
}

/* .footer::after removed — was duplicating the copyright already in SiteFooter.astro .footer-visible <small> tag, producing two "© 2026 ..." lines stacked. */

.footer a {
  color: #fff !important;
  text-decoration: underline !important;
}

/* Override any earlier display:none, max-height, or visibility:hidden */
.footer * {
  visibility: visible !important;
}

/* ========== Header / Nav cohesion fixes ========== */
/* "Review a Taxi" CTA vertical alignment */
#menu-item-356 a {
  display: inline-block;
  vertical-align: baseline;
  line-height: 1.2;
  padding: 13px 17px 12px;
}

/* Orphan links: Taxi Forum / Taxi Stories – ensure they appear as inline-block nav items */
.menu-item-259 a,
.menu-item-336 a {
  display: inline-block;
  background: transparent;
  padding: 13px 17px 12px;
}

/* ========== Product Grid ========== */
#product_list {
  width: 100%;
  float: none;
}

/* Row divs use inline width (33% for 3-col row, 25% for 4-col rows). Only add layout props. */
#product_list > div[id^="row_"] {
  float: left;
  padding: 0 5px;
  box-sizing: border-box;
}

.browse_3 {
  margin: 5px;
  padding: 0;
  border: 1px solid #e5e5e5;
  text-align: center;
  height: 412px;
  overflow: hidden;
  background: #fff;
}

.browse_3:hover { border: 1px solid #01bfff; }

.browse_3 .header {
  background: #F7F9F9;
  color: #2786C2;
  font-weight: bold;
  padding: 4px 4px 0;
  font-size: 11px;
}

.browse_3 .image {
  width: 100%;
  height: 100px;
  overflow: hidden;
  text-align: center;
}

.browse_3 .image img { margin: 5px 0; }

.browse_3 h2 {
  margin: 0;
  margin-bottom: 2px;
  padding: 4px;
  background: #F7F9F9;
  font-size: 12px;
  font-family: Verdana, Tahoma, Arial, Serif;
  text-align: center;
  color: #484747;
}

.browse_3 h2 a {
  color: #2786C2;
  font-size: 12px;
}

.browse_3 h4 {
  background: #F7F9F9;
  border: 0;
  font-family: Verdana, Tahoma, Arial, Serif;
  font-size: 17px;
  margin: 0 0 2px;
  padding: 8px 4px;
  text-align: center;
  color: #666;
}

.browse_3 h4 span { color: #666; font-weight: bold; }

.browse_3 h5 {
  margin: 0;
  margin-bottom: 2px;
  padding: 4px;
  background: #F7F9F9;
  font-size: 17px;
  color: #000;
  font-family: Verdana, Tahoma, Arial, Serif;
  text-align: center;
}

.browse_3 h6 {
  margin: 0;
  margin-bottom: 2px;
  padding: 4px;
  background: #F7F9F9;
  font-size: 11px;
  color: #000;
  font-family: Verdana, Tahoma, Arial, Serif;
  text-align: center;
}

.browse_3 p.info {
  margin: 0 0 2px;
  padding: 2px 9px;
  background: #F7F9F9;
  font-size: 9px;
  font-family: Verdana, Tahoma, Arial, Serif;
  text-align: left;
  height: 112px;
  line-height: 16px;
  color: #666;
  overflow: hidden;
}

.browse_3 p.info2 {
  margin: 0 0 2px;
  padding: 2px 2px;
  background: #F7F9F9;
  font-size: 9px;
  font-family: Verdana, Tahoma, Arial, Serif;
  text-align: center;
  width: 109px;
}

.browse_3 .header a {
  font-weight: normal;
  border-bottom: 1px dotted #2786C2;
}

/* ========== Responsive (mobile) – keep as fallback ========== */
@media screen and (max-width: 768px) {
  .main-container {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .top-menu {
    width: 100%;
    padding: 0 2%;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .top-menu-left, .top-menu-right {
    width: 100%;
    text-align: center;
  }

  .banner-container {
    width: 96%;
    margin: 0 2% 20px;
    flex-direction: column;
  }

  .logo, .banner-ad {
    width: 100%;
    text-align: center;
  }

  .main-menu {
    width: 100%;
    margin: 0;
    height: auto;
    border-bottom: 3px solid #4475ab;
    flex-wrap: wrap;
    /* W50a: clear desktop right-padding reserve (searchbar goes full-width
       inline below the menu items on mobile). */
    padding-right: 0;
  }

  .main-menu ul {
    padding: 0;
    flex-direction: column;
    width: 100%;
  }

  .main-menu ul li {
    float: none;
    border-right: 0;
  }

  .main-menu ul li a {
    padding: 10px 12px;
  }

  .searchbar {
    position: static;
    margin: 10px;
    width: 100%;
    justify-content: center;
  }

  .content-holder {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0 2%;
  }

  .sidebar-left, .sidebar-right {
    width: 100%;
    float: none;
    margin: 0 0 20px;
  }

  .mainbar {
    width: 100%;
    float: none;
    margin: 0;
  }

  .site-footer,
  .footer {
    width: 100%;
    padding: 5px 2%;
  }

  #product_list > div[id^="row_"],
  #product_list > div[style*="width:25%"] {
    width: 50% !important;
  }
}

/* Global image overflow guard — apply to every <img>, <figure>, <picture> across the entire site so no hero, sidebar, or inline image can ever push its container wider than allowed. Per user request 2026-05-19 — was previously scoped only to .mainbar/#content. */
img,
picture,
figure,
.mainbar img,
#content img,
.sidebar-left img,
.sidebar-right img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}
figure {
  margin: 0 0 14px 0;
}
.mainbar figure {
  margin: 0 0 14px 0;
}

/* W49: previously a stray `.browse_3 { height: auto; }` block + orphan `}` lived here, which closed the (max-width:768px) @media early and let the auto-height leak into the desktop grid — breaking the 412px fixed-card layout on /limousine-taxi/ and other product-list pages. The mobile auto-height override is restored inside its proper @media block above (lines ~683-773). */

@media screen and (max-width: 768px) {
  .browse_3 {
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  #product_list > div[id^="row_"],
  #product_list > div[style*="width:25%"] {
    width: 100% !important;
  }
}

/* W47: content typography + table polish (per Gemini hostile UI review of taxi-fare, sg-johor-bahru, sg-malaysia, sg-public-holidays — selectors adapted to .mainbar / .entry actual DOM, not the hallucinated .entry-content). */

/* Tables: borders, padding, header background, vertical rhythm */
.mainbar table,
#content table,
.entry table {
  border-collapse: collapse !important;
  width: 100%;
  margin: 15px 0 25px 0;
  border: 1px solid #e2e2e2;
  font-size: 13px;
}
.mainbar table td,
.mainbar table th,
#content table td,
#content table th,
.entry table td,
.entry table th {
  border: 1px solid #e2e2e2;
  padding: 10px 12px;
  vertical-align: top;
  line-height: 1.5;
  text-align: left;
}
.mainbar table th,
#content table th,
.entry table th,
.mainbar table thead td,
#content table thead td,
.entry table thead td {
  background: #f4f4f4;
  color: #333;
  font-weight: 600;
}
.mainbar table tbody tr:nth-child(even),
#content table tbody tr:nth-child(even),
.entry table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* Orange H1 ribbon — more padding, bigger impact */
#content > h1,
.mainbar > h1,
.mainbar article > header > h1,
.mainbar main article > header > h1,
#content article > header > h1,
#content main article > header > h1,
.entry > header > h1,
.entry header h1 {
  padding: 12px 18px !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  margin-bottom: 18px !important;
}

/* Paragraph + list vertical rhythm */
.mainbar p,
#content p,
.entry p,
.mainbar ul:not(.menu):not(.wp-block-list),
#content ul:not(.menu):not(.wp-block-list),
.entry ul:not(.menu):not(.wp-block-list),
.mainbar ol,
#content ol,
.entry ol {
  margin: 0 0 1.4em 0;
  line-height: 1.6;
  color: #333;
}
.mainbar li,
#content li,
.entry li {
  margin-bottom: 6px;
}

/* Subhead spacing — separate sections clearly */
.mainbar h2,
#content h2,
.entry h2 {
  margin: 2.2em 0 0.6em 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
  font-size: 18px;
  color: #484747;
}
.mainbar h3,
#content h3,
.entry h3 {
  margin: 1.8em 0 0.5em 0;
  font-size: 15px;
  color: #484747;
}

/* Image polish — centered with subtle frame, except inside figure with caption */
.mainbar img:not(figure img),
#content img:not(figure img),
.entry img:not(figure img) {
  display: block;
  margin: 18px auto;
  border: 1px solid #ddd;
  padding: 3px;
  background: #fff;
}

/* W48: external-link icon convention — original WP theme used .mainlevel.external + target=_blank to mark off-site links. Add a small ↗ glyph after every sidebar external link so users see they're leaving the site. */
.sidebar-left a.external::after,
.sidebar-right a.external::after,
.sidebar-left a.mainlevel.external::after,
.sidebar-right a.mainlevel.external::after,
.sidebar-left a[target="_blank"]:not(.adt):not(.adus)::after,
.sidebar-right a[target="_blank"]:not(.adt):not(.adus)::after,
.sidebar-left a[target="blank"]:not(.adt):not(.adus)::after,
.sidebar-right a[target="blank"]:not(.adt):not(.adus)::after {
  content: "↗";
  color: #4475ab;
  font-size: 0.88em;
  margin-left: 4px;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  vertical-align: text-top;
}

/* Table-based right-sidebar link lists already use the legacy external-link
   background icon. Avoid stacking a second arrow glyph after every item. */
.sidebar-right table a.mainlevel.external::after,
.sidebar-right table a[target="_blank"]:not(.adt):not(.adus)::after,
.sidebar-right table a[target="blank"]:not(.adt):not(.adus)::after {
  content: none;
}

/* The legacy Taxi Feedback and Singapore to Malaysia widgets are plain
   link lists, not outbound-link callouts. Keep the original clean rows
   without the arrow glyph in those blocks. */
.sidebar-left .wlist a[target="_blank"]:not(.adt):not(.adus)::after,
.sidebar-left .wlist a[target="blank"]:not(.adt):not(.adus)::after,
.sidebar-left .wlist a.external::after,
.sidebar-left table a[target="_blank"]:not(.adt):not(.adus)::after,
.sidebar-left table a[target="blank"]:not(.adt):not(.adus)::after,
.sidebar-left table a.mainlevel.external::after,
.sidebar-left .wlist.side a[target="_blank"]:not(.adt):not(.adus)::after,
.sidebar-left .wlist.side a[target="blank"]:not(.adt):not(.adus)::after,
.sidebar-left .wlist.side a.external::after,
.sidebar-left .moduletable > h3 a[target="_blank"]::after,
.sidebar-left .moduletable > h3 a[target="blank"]::after,
.sidebar-right .wlist.side a[target="_blank"]:not(.adt):not(.adus)::after,
.sidebar-right .wlist.side a[target="blank"]:not(.adt):not(.adus)::after,
.sidebar-right .moduletable > h3 a[target="_blank"]::after,
.sidebar-right .moduletable > h3 a[target="blank"]::after,
.sidebar-right .wlist.side a.external::after {
  content: none;
}

/* The heading-style outbound links sit outside the plain list widgets and
   need a harder reset so the generic ↗ glyph does not reappear after the
   icon background is applied. */
.sidebar-left .moduletable > h3 a[target="_blank"]::after,
.sidebar-left .moduletable > h3 a[target="blank"]::after,
.sidebar-right .moduletable > h3 a[target="_blank"]::after,
.sidebar-right .moduletable > h3 a[target="blank"]::after {
  content: none !important;
}

/* W50: legacy external-link icon guardrail.
   Keep the table-based and `dl.wlist.side` sidebar widgets on the small
   background-image icon so they do not fall back to the generic ↗ glyph.
   Roll back by removing this block and the matching ::after suppressors
   immediately below; nothing else in the stylesheet depends on it. */
.sidebar-left table a.mainlevel.external,
.sidebar-left table a[target="_blank"]:not(.adt):not(.adus),
.sidebar-left table a[target="blank"]:not(.adt):not(.adus),
.sidebar-left .wlist.side a.mainlevel.external,
.sidebar-left .wlist.side a[target="_blank"]:not(.adt):not(.adus),
.sidebar-left .wlist.side a[target="blank"]:not(.adt):not(.adus),
.sidebar-left .moduletable > h3 a[target="_blank"],
.sidebar-left .moduletable > h3 a[target="blank"],
.sidebar-right table a.mainlevel.external,
.sidebar-right table a[target="_blank"]:not(.adt):not(.adus),
.sidebar-right table a[target="blank"]:not(.adt):not(.adus),
.sidebar-right .wlist.side a[target="_blank"]:not(.adt):not(.adus),
.sidebar-right .wlist.side a[target="blank"]:not(.adt):not(.adus),
.sidebar-right .moduletable > h3 a[target="_blank"],
.sidebar-right .moduletable > h3 a[target="blank"],
.sidebar-right .wlist.side a.external {
  background: url("https://www.limousinecab.com/templates/limo-en/images/link_external.png") no-repeat scroll 0 50% transparent;
  padding-left: 15px;
  width: auto;
}
.sidebar-left table a.mainlevel.external:hover,
.sidebar-left table a[target="_blank"]:not(.adt):not(.adus):hover,
.sidebar-left table a[target="blank"]:not(.adt):not(.adus):hover,
.sidebar-left .wlist.side a.mainlevel.external:hover,
.sidebar-left .wlist.side a[target="_blank"]:not(.adt):not(.adus):hover,
.sidebar-left .wlist.side a[target="blank"]:not(.adt):not(.adus):hover,
.sidebar-left .moduletable > h3 a[target="_blank"]:hover,
.sidebar-left .moduletable > h3 a[target="blank"]:hover,
.sidebar-right table a.mainlevel.external:hover,
.sidebar-right table a[target="_blank"]:not(.adt):not(.adus):hover,
.sidebar-right table a[target="blank"]:not(.adt):not(.adus):hover,
.sidebar-right .wlist.side a[target="_blank"]:not(.adt):not(.adus):hover,
.sidebar-right .wlist.side a[target="blank"]:not(.adt):not(.adus):hover,
.sidebar-right .moduletable > h3 a[target="_blank"]:hover,
.sidebar-right .moduletable > h3 a[target="blank"]:hover,
.sidebar-right .wlist.side a.external:hover {
  background: url("https://www.limousinecab.com/templates/limo-en/images/link_external.png") no-repeat scroll 0 50% #f9f9f9;
}

/* Only the right-sidebar "Singapore to Malaysia" widget needs the stacked
   layout fix. Leave the other right-sidebar side lists alone so they still
   match the left hotline widgets. */
.sidebar-right .moduletable:has(> h3 > a[href="/singapore-to-malaysia/"]) > .wlist.side {
  display: flow-root;
}
.sidebar-right .moduletable:has(> h3 > a[href="/singapore-to-malaysia/"]) > .wlist.side dt {
  float: none;
  clear: both;
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
}
.sidebar-right .moduletable:has(> h3 > a[href="/singapore-to-malaysia/"]) > .wlist.side dd {
  display: block;
  text-align: left;
}

/* W48/W49: fix Taxi Feedback / Lost & Found .wlist layout — dt items need
   to render as block-level rows regardless of whether a spacer <dd> follows.
   The Wayback convention used <dd style="height:16px"></dd> as visual
   spacer between dt rows. The base `.wlist dt { float: left }` rule above
   (used by `.wlist.side` price tables) was leaking into plain `.wlist`
   widgets, causing dt rows to sit side-by-side (e.g. "Share your taxi
   feedback" appearing on the same row as "Complain a taxi"). Scope the
   un-float fix to non-.side .wlist widgets. */
.wlist:not(.side) dt {
  float: none;
  clear: both;
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
}
.wlist:not(.side) dt + dt {
  margin-top: 6px;
}
.wlist:not(.side) dd {
  display: block;
  text-align: left;
}

/* Make Taxi Feedback visually match the table-style left sidebar lists.
   Keep the widget-specific scope so Lost & Found and other plain .wlist
   blocks keep their current layout. */
.sidebar-left .moduletable:has(> h3 > a[href="/feedback/"]) .wlist dt {
  float: none;
  clear: both;
  margin: 0;
}
.sidebar-left .moduletable:has(> h3 > a[href="/feedback/"]) .wlist dd {
  display: none;
}
.sidebar-left .moduletable:has(> h3 > a[href="/feedback/"]) .wlist dt a {
  margin: 0;
  padding: 4px 0;
  display: block;
  border-bottom: 1px dotted #aaa;
  width: 100%;
  vertical-align: middle;
  font-family: verdana;
  color: #2786C2;
  font-size: 11px;
  font-weight: normal;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.sidebar-left .moduletable:has(> h3 > a[href="/feedback/"]) .wlist dt a:hover {
  color: #333;
  background-color: #f9f9f9;
}
.sidebar-left .moduletable:has(> h3 > a[href="/feedback/"]) .wlist dt a[target="_blank"]:not(.adt):not(.adus) {
  background: url("https://www.limousinecab.com/templates/limo-en/images/link_external.png") no-repeat scroll 0 50% transparent;
  padding-left: 15px;
  width: auto;
}
.sidebar-left .moduletable:has(> h3 > a[href="/feedback/"]) .wlist dt a[target="_blank"]:not(.adt):not(.adus):hover {
  background: url("https://www.limousinecab.com/templates/limo-en/images/link_external.png") no-repeat scroll 0 50% #f9f9f9;
}

/* Give Taxi Lost & Found a cleaner, card-like treatment so the step-by-step
   instructions read like an intentional help block instead of raw legacy text. */
.sidebar-left .moduletable:has(> h3 > a[href="/lost-and-found/"]) .wlist {
  margin-top: 4px;
}
.sidebar-left .moduletable:has(> h3 > a[href="/lost-and-found/"]) .wlist dt {
  float: none;
  clear: both;
  display: block;
  margin: 0;
  padding: 10px 12px 11px;
  border: 1px solid #d8e7f4;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fd 100%);
  color: #214d73;
  font-size: 12px;
  line-height: 1.45;
}
.sidebar-left .moduletable:has(> h3 > a[href="/lost-and-found/"]) .wlist dd {
  display: none;
}
.sidebar-left .moduletable:has(> h3 > a[href="/lost-and-found/"]) .wlist dt b {
  display: inline-block;
  margin: 1px 0;
  font-size: 13px;
}
.sidebar-left .moduletable:has(> h3 > a[href="/lost-and-found/"]) .wlist dt a[href^="tel:"] {
  color: #0f5e99;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.sidebar-left .moduletable:has(> h3 > a[href="/lost-and-found/"]) .wlist dt a[href^="tel:"]:hover {
  text-decoration: underline;
}
.sidebar-left .moduletable:has(> h3 > a[href="/lost-and-found/"]) .wlist dt br {
  display: block;
  margin-bottom: 4px;
  content: "";
}

/* W45 iter-7 direct: catch cyan widget headers in right sidebar that use .sidebar-container > h3.title (Latest News, Visitors) instead of .moduletable h3 */
.sidebar-right .sidebar-container > h3,
.sidebar-right .sidebar-container > h3.title,
.sidebar-right h3.title {
  background: #2786C2 !important;
  color: #fff !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 0 6px 0 !important;
  text-transform: none !important;
  border: none !important;
  line-height: 1.4 !important;
}

/* W45 iter-7 direct: footer visibility forced via real visible content + explicit dark bar */
.footer .footer-visible {
  display: block !important;
  visibility: visible !important;
  color: #ccc !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
.footer .footer-visible strong {
  color: #fbaf31 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.footer .footer-visible a {
  color: #fff !important;
  text-decoration: underline !important;
}

/* W49: comment list styling — was unstyled inline blob. Give the 26
   recovered visitor comments a card-style layout with clear meta row,
   indented body, and visual separation between entries. */
#comments-title {
  margin: 2em 0 1em;
  padding-bottom: 8px;
  border-bottom: 2px solid #2786C2;
  color: #2786C2;
  font-size: 18px;
}
.commentlist {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.commentlist > li.comment {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #fafbfd;
  border: 1px solid #e6ebf2;
  border-left: 3px solid #2786C2;
  border-radius: 3px;
}
.comment-meta {
  margin: 0 0 8px;
  padding: 0 0 6px;
  border-bottom: 1px dotted #d8dde6;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
.comment-author {
  font-style: normal;
  font-weight: 700;
  color: #2c2c2c;
  margin-right: 8px;
}
.comment-date {
  color: #888;
  margin-right: 6px;
}
.comment-context-link {
  color: #4475ab;
  text-decoration: none;
}
.comment-context-link:hover {
  text-decoration: underline;
}
.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.comment-text p {
  margin: 0 0 8px;
}
.comment-text p:last-child {
  margin-bottom: 0;
}

/* W49a: home product_list (.browse_3 cards) — fix two issues on the home above-fold:
   (1) excessive whitespace below the taxi-company cards grid before the next section,
   (2) card text getting clipped mid-content because of fixed heights + a W47 mainbar
       img frame that pushed photos out of the 100px .image slot.
   CSS-only patch, scoped to #product_list / .browse_3 so other pages are unaffected. */

/* (a) Card image polish — undo W47 .mainbar img:not(figure img) frame (18px margin,
       1px border, 3px padding, white background) for product-list card photos.
       Those styles inflated the <img> beyond the card's 100px .image slot and were
       clipping row-2 taxi photos on the home page. */
.browse_3 .image img,
.browse_3 .image a img {
  display: inline-block !important;
  margin: 5px 0 !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  max-width: 100% !important;
  height: auto !important;
}

/* (b) Card "table" text fit — drop the fixed .info height + overflow:hidden so
       company descriptions (the longest cell, e.g. CityCab/Comfort 62% market share)
       can wrap onto extra lines instead of being cut off mid-word in the narrow
       ~110px mainbar column. word-wrap + overflow-wrap let long unbroken tokens
       (model names) break cleanly. */
.browse_3 p.info {
  height: auto !important;
  min-height: 112px;
  overflow: visible !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* (c) Card container — switch fixed 412px height + overflow:hidden to min-height
       + overflow:visible so cards grow to fit content and no row text is clipped. */
.browse_3 {
  height: auto !important;
  min-height: 412px;
  overflow: visible !important;
}

/* (d) Bottom-of-grid gap — tighten the dead air between the last cards row and
       the next section (View Taxi News link / Visitor Comments heading) to <=24px.
       The legacy float-clearing <br> + W47 `.mainbar h2 { margin: 2.2em 0 .6em }`
       and W49 `#comments-title { margin: 2em 0 1em }` rules were adding ~50-70px. */
#product_list {
  margin-bottom: 12px;
}
#product_list + br + div,
#product_list ~ #comments-title {
  margin-top: 12px !important;
}

/* W51c: Pagination UI polish — /taxi-stories/page/[page]/ component nav */
nav.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

nav.pagination a.pagination-prev,
nav.pagination a.pagination-next {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #4475ab;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  min-height: 36px;
  transition: background 0.15s;
}
nav.pagination a.pagination-prev:hover,
nav.pagination a.pagination-next:hover {
  background: #2e5580;
}

nav.pagination .pagination-indicator {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  padding: 8px 12px;
  background: #f0f4f8;
  border-radius: 4px;
  border: 1px solid #d4dde9;
}

nav.pagination .pagination-prev-disabled,
nav.pagination .pagination-next-disabled {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #e8ecf0;
  color: #aaa !important;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  min-height: 36px;
  cursor: default;
  pointer-events: none;
}

ul.taxi-stories-list li {
  padding: 12px 0;
}
ul.taxi-stories-list li h3 {
  font-size: 15px;
  margin: 0 0 4px 0;
  line-height: 1.4;
}
ul.taxi-stories-list li h3 a {
  color: #4475ab;
  text-decoration: none;
}
ul.taxi-stories-list li h3 a:hover {
  text-decoration: underline;
  color: #2e5580;
}
/* End W51c */

/* ========== W51b — Remove whitespace below vehicle images ========== */
/* Allow cards to shrink to content height instead of fixed 412px      */
.browse_3 {
  height: auto;
  min-height: 0;
}

/* Tighten image area: use flex to centre image without dead whitespace */
.browse_3 .image {
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

/* Remove stray bottom margin from img inside .image */
.browse_3 .image img,
.browse_3 .image a img {
  display: block !important;
  margin: 0 auto !important;
}

/* Cap description area so grid stays tidy — replaces fixed height */
.browse_3 p.info {
  height: auto;
  min-height: 0;
}
/* End W51b */

/* W52b CTA */
.cta-review-taxi {
  display: inline-block;
  background: #fbaf31;
  color: #000 !important;
  padding: 8px 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid #e58f00;
  margin: 8px 0 16px 0;
}
.cta-review-taxi:hover { background: #ffc456; }
/* End W52b CTA */

/* W52h numbered pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 24px 0 16px 0;
  font-size: 13px;
}
.pagination-num,
.pagination-prev,
.pagination-next,
.pagination-prev-disabled,
.pagination-next-disabled {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid #d7d8d8;
  background: #fff;
  color: #4475ab;
  text-decoration: none;
  border-radius: 3px;
  line-height: 1.4;
}
.pagination-num:hover,
.pagination-prev:hover,
.pagination-next:hover {
  background: #f0f4f8;
  border-color: #4475ab;
  color: #000;
}
.pagination-num-current {
  background: #2786C2;
  color: #fff !important;
  border-color: #2786C2;
  font-weight: 700;
}
.pagination-prev-disabled,
.pagination-next-disabled {
  color: #b5b5b5;
  background: #f5f5f5;
  cursor: not-allowed;
}
.pagination-gap {
  padding: 4px 4px;
  color: #777;
}
/* W53a — Review-a-Taxi CTA sized like pagination, brand-yellow accent */
.pagination-cta-review {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #e58f00;
  background: #fbaf31;
  color: #000 !important;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 700;
  line-height: 1.4;
  margin-left: 6px;
}
.pagination-cta-review:hover {
  background: #ffc456;
  border-color: #d68200;
  color: #000 !important;
}
/* End W52h / W53a */

/* W53b — Review a Taxi page */
.review-taxi-page {
  max-width: 860px;
}
.review-taxi-hero {
  margin: 0 0 18px 0;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, #fff7e4 0%, #fff 100%);
  border: 1px solid #ecd39a;
  border-radius: 4px;
}
.review-taxi-hero .eyebrow {
  margin: 0 0 6px 0;
  color: #8a5c00;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.review-taxi-hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}
.review-taxi-hero .lead {
  margin: 10px 0 0 0;
  color: #4f4f4f;
  max-width: 66ch;
}
.review-taxi-panel {
  border: 1px solid #d7d8d8;
  border-radius: 4px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.review-taxi-live {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fbfbfb;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}
.review-taxi-live-head .eyebrow {
  margin: 0 0 6px 0;
  color: #8a5c00;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.review-taxi-live h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}
.review-taxi-live-meta {
  margin: 6px 0 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}
.review-taxi-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 14px 0 0 0;
}
.review-taxi-summary > div {
  padding: 10px 12px;
  border: 1px solid #ececec;
  border-radius: 3px;
  background: #fff;
}
.review-taxi-summary dt {
  color: #8a5c00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-taxi-summary dd {
  margin: 4px 0 0 0;
  color: #2f2f2f;
  font-size: 14px;
  line-height: 1.45;
}
.review-taxi-summary-body {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #ececec;
  border-radius: 3px;
  background: #fff;
  color: #2f2f2f;
  line-height: 1.6;
}
.review-taxi-summary-body p {
  margin: 0;
}
.review-taxi-form {
  margin-top: 0;
}
.review-taxi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.review-taxi-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-taxi-field-wide {
  grid-column: 1 / -1;
}
.review-taxi-field span {
  color: #2f2f2f;
  font-size: 14px;
  font-weight: 700;
}
.review-taxi-field-help {
  color: #6b6b6b;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}
.review-taxi-field input,
.review-taxi-field select,
.review-taxi-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfd6dd;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font: inherit;
  box-sizing: border-box;
}
.review-taxi-field input:focus,
.review-taxi-field select:focus,
.review-taxi-field textarea:focus {
  outline: none;
  border-color: #2786c2;
  box-shadow: 0 0 0 3px rgba(39, 134, 194, 0.15);
}
.review-taxi-field textarea {
  min-height: 180px;
  resize: vertical;
}
.review-taxi-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.review-taxi-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.review-taxi-turnstile {
  display: flex;
  justify-content: flex-start;
  min-height: 78px;
}
.review-taxi-turnstile .cf-turnstile {
  max-width: 100%;
}
.review-taxi-manage {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
}
.review-taxi-manage summary {
  cursor: pointer;
  color: #8a5c00;
  font-size: 14px;
  font-weight: 700;
}
.review-taxi-manage[open] summary {
  margin-bottom: 8px;
}
.review-taxi-manage-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  color: #444;
  font-size: 14px;
  line-height: 1.45;
}
.review-taxi-manage-confirm input {
  margin-top: 2px;
  flex: 0 0 auto;
}
.review-taxi-cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 4px;
  background: #fbaf31;
  border: 1px solid #e58f00;
  color: #000 !important;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.review-taxi-cta:hover {
  background: #ffc456;
}
.review-taxi-cta:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #f5d18a;
  border-color: #d8b05f;
}
.review-taxi-cta-secondary {
  background: #fff;
  border-color: #e2b46a;
  color: #9b5400 !important;
}
.review-taxi-cta-secondary:hover {
  background: #fff7e5;
}
.review-taxi-note {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 100%;
}
.review-taxi-note-warning {
  color: #a05a00;
}
.review-taxi-direct-link {
  margin: 12px 0 0;
  color: #666;
  font-size: 14px;
}
@media (max-width: 900px) {
  .review-taxi-page {
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .review-taxi-grid,
  .review-taxi-summary {
    grid-template-columns: 1fr;
  }
}
