/* Ashok Law House common header — matches the default Home Page */
/* Legacy category-page header aliases: use the same four-line header structure as index.html */
.alh-wrap{max-width:1180px;margin:0 auto;padding:0 18px}
.alh-top{background:var(--alh-navy,#13253d);color:#e8edf4;font-size:12px}
.alh-top .alh-wrap{height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.alh-main-header{background:#fff;border-bottom:1px solid var(--alh-line,#e5e7eb)}
.alh-head{min-height:86px;display:flex;align-items:center;gap:24px}
.alh-search{flex:1;position:relative}
.alh-search input{width:100%;height:46px;border:1px solid #cfd5dd;border-radius:5px;padding:0 108px 0 15px;outline:0;background:#fafafa;box-sizing:border-box;font:inherit}
.alh-search input:focus{border-color:var(--alh-navy,#13253d);background:#fff}
.alh-search button{position:absolute;right:0;top:0;height:46px;width:100px;border:0;border-radius:0 5px 5px 0;background:var(--alh-navy,#13253d);color:#fff;cursor:pointer;font-weight:700}
.alh-search button:hover{background:var(--alh-gold,#b8872f)}
.alh-actions{display:flex;gap:14px;white-space:nowrap;font-size:13px}
.alh-actions a{color:inherit!important;text-decoration:none!important}
.alh-actions a:hover{color:var(--alh-gold,#b8872f)!important}

.alh-site-header{font-family:Arial,Helvetica,sans-serif;background:#fff;border-bottom:1px solid #e5e7eb;margin:0 0 12px 0;box-shadow:0 1px 4px rgba(20,34,52,.08);position:relative;z-index:1000;overflow:visible}
.alh-brandbar{background:#fff;border-bottom:1px solid #e5e7eb}
.alh-brand-inner{max-width:1180px;margin:0 auto;min-height:86px;padding:12px 18px;display:flex;align-items:center;gap:24px}
.alh-brand{display:block;min-width:265px;text-decoration:none!important}
.alh-brand strong{font-family:Georgia,serif;font-size:28px;line-height:1.1;color:#13253d!important;letter-spacing:-.3px}
.alh-brand span{display:block;color:#b8872f!important;font-size:11px;text-transform:uppercase;letter-spacing:1.6px;margin-top:3px}
.alh-nav{background:#1d3554;color:#fff;display:block!important;min-height:46px!important;visibility:visible!important;opacity:1!important}
.alh-nav-inner{max-width:1180px;margin:0 auto;padding:0 12px;display:flex;align-items:stretch;justify-content:center;gap:0;flex-wrap:nowrap;min-height:46px}
.alh-nav a{display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;text-decoration:none!important;font:600 13px/20px Arial,Helvetica,sans-serif!important;padding:10px 10px!important;white-space:nowrap!important;min-height:46px!important;visibility:visible!important;opacity:1!important}
.alh-nav a:hover,.alh-nav a:focus{background:#b8872f!important;color:#fff!important}
.alh-home{background:#b8872f!important;color:#fff!important}
.alh-subnav{background:#fff;border-bottom:1px solid #e5e7eb;display:block!important;min-height:42px!important;visibility:visible!important;overflow:visible!important}
.alh-subnav-inner{max-width:1180px;margin:0 auto;padding:5px 12px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0;min-height:42px}
.alh-subnav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#334155!important;text-decoration:none!important;font:700 12px/18px Arial,Helvetica,sans-serif!important;padding:5px 8px!important;min-width:25px!important;min-height:30px!important;visibility:visible!important;opacity:1!important}
.alh-subnav a:hover,.alh-subnav a:focus{color:#b8872f!important;background:#faf7f0!important}
.alh-catalogue-label{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:5px 9px 5px 4px!important;color:#b8872f!important;font:700 12px/18px Arial,Helvetica,sans-serif!important;white-space:nowrap!important;visibility:visible!important;opacity:1!important}
@media(max-width:1050px){.alh-nav-inner{justify-content:flex-start;overflow-x:auto}.alh-nav a{font-size:12px!important;padding-left:8px!important;padding-right:8px!important}.alh-brand-inner{min-height:76px}}
@media(max-width:650px){.alh-brand-inner{min-height:70px;padding:10px 14px}.alh-brand{min-width:0}.alh-brand strong{font-size:23px}.alh-brand span{font-size:10px}.alh-nav-inner{justify-content:flex-start;overflow-x:auto}.alh-nav a{font-size:12px!important;padding:9px 8px!important;min-height:42px!important}.alh-subnav-inner{justify-content:flex-start}.alh-subnav a{font-size:11px!important;padding:5px 6px!important}.alh-catalogue-label{font-size:11px!important;padding-right:6px!important}}

/* Home Page colour system carried through legacy catalogue pages */
:root{--alh-navy:#13253d;--alh-navy2:#1d3554;--alh-gold:#b8872f;--alh-cream:#faf7f0;--alh-ink:#1d2733;--alh-muted:#667085;--alh-line:#e5e7eb;--alh-bg:#f5f7fa;--alh-white:#fff}
html,body{background:var(--alh-bg)!important;color:var(--alh-ink)}
body{font-family:Arial,Helvetica,sans-serif!important;line-height:1.5}
.alh-site-header{border-bottom-color:var(--alh-line)}
.alh-banner{background:var(--alh-cream)}
.alh-nav{background:var(--alh-navy2)}
.alh-nav a:hover{background:var(--alh-gold)}
.alh-home{background:var(--alh-gold)!important}
.alh-subnav{background:#fff;border-bottom-color:var(--alh-line)}
.alh-subnav a{color:#465467}
.alh-subnav a:hover{color:var(--alh-gold)}

/* Legacy tables: retain all catalogue data while using the Home Page palette. */
body>table, body>font+table, body>div+table, table{background:#fff!important}
table{border-color:var(--alh-gold)!important}
td,th{border-color:var(--alh-gold)!important}
td[bgcolor="#FFFFFF"],td[bgcolor="#ffffff"],td[bgcolor="white"],td[bgcolor="White"]{background:#fff!important}
td[bgcolor="#FFCC66"],td[bgcolor="#ffcc66"],td[style*="background:#FFCC66"],td[style*="background: #FFCC66"],td[style*="background-color: rgb(255, 204, 102)"]{background:var(--alh-navy2)!important;color:#fff!important}
td[bgcolor="#FFCCCC"],td[bgcolor="#ffcccc"]{background:var(--alh-cream)!important}
td[bgcolor="#FFCC66"] font,td[bgcolor="#ffcc66"] font,td[style*="background:#FFCC66"] font,td[style*="background: #FFCC66"] font{color:var(--alh-navy)!important}
td font[color="#000080"],td font[color="#0000FF"],td font[color="blue"],td font[color="navy"]{color:#304156!important}
td font[color="#800080"],td font[color="purple"]{color:var(--alh-navy)!important}
td a{color:var(--alh-navy)!important}
td a:hover{color:var(--alh-gold)!important}

/* Common page text and links */
body a{transition:color .15s ease,background-color .15s ease}
body a:hover{color:var(--alh-gold)}


/* Visibility and spacing fixes for the top navigation and Catalogue row */


/* Final navigation visibility safeguard: the complete menu must remain readable. */
.alh-nav-inner{width:100%;}
.alh-nav a{color:#fff!important;text-shadow:0 1px 1px rgba(0,0,0,.25)!important;}
.alh-subnav a{color:#334155!important;text-shadow:none!important;}
@media(min-width:1051px){.alh-nav a{padding-left:9px!important;padding-right:9px!important;font-size:12.5px!important}.alh-nav-inner{justify-content:center!important}}

/* Legacy catalogue heading visibility: headings must remain readable on gold/cream rows. */
td font[color="#800080"], td font[color="purple"], td[bgcolor="#FFCC66"] font, td[bgcolor="#ffcc66"] font { color:var(--alh-navy)!important; }
td[bgcolor="#FFCC66"] b, td[bgcolor="#ffcc66"] b { color:var(--alh-navy)!important; }

/* Unified category-page navigation and blue/white section headers */
.alh-nav2{background:#1d3554;color:#fff;display:block!important;min-height:46px!important}
.alh-navrow{display:flex;align-items:stretch;justify-content:flex-start;min-height:46px;overflow-x:auto}
.alh-nav2 a{display:flex;align-items:center;justify-content:center;color:#fff!important;text-decoration:none!important;font:600 13px/20px Arial,Helvetica,sans-serif!important;padding:12px 13px!important;white-space:nowrap;min-height:46px}
.alh-nav2 a:hover,.alh-nav2 a:focus,.alh-nav2 a.active{background:#b8872f!important;color:#fff!important}
.alh-letterbar{background:#fff;border-bottom:1px solid #e5e7eb}
.alh-letters{display:flex;flex-wrap:wrap;gap:0;align-items:center;min-height:38px}
.alh-letters strong{font-size:12px;color:#b8872f;padding:8px 9px 8px 0}
.alh-letters a{font:700 12px/18px Arial,Helvetica,sans-serif!important;color:#334155!important;padding:8px 8px;text-decoration:none!important}
.alh-letters a:hover{color:#b8872f!important}
body.alh-category-page table td[bgcolor="#1D3554"]{background:#1d3554!important;color:#fff!important}
body.alh-category-page table td[bgcolor="#1D3554"] font, body.alh-category-page table td[bgcolor="#1d3554"] font{color:#fff!important}
@media(max-width:650px){.alh-navrow{justify-content:flex-start}.alh-nav2 a{font-size:12px!important;padding:9px 8px!important;min-height:42px!important}}

/* Category header responsive behaviour */
body.alh-category-page{margin:0!important}
@media(max-width:950px){.alh-head{flex-wrap:wrap;padding-top:13px;padding-bottom:13px}.alh-search{order:3;flex-basis:100%}.alh-brand{min-width:230px}}
@media(max-width:650px){.alh-top .alh-wrap{justify-content:center;text-align:center}.alh-top .alh-wrap span:last-child{display:none}.alh-head{gap:12px}.alh-brand{min-width:0}.alh-brand strong{font-size:23px}.alh-actions{margin-left:auto;font-size:11px}.alh-actions a:first-child{display:none}}

/* Final Home-page alignment: navigation and Catalogue start at the same left edge as index.html. */
.alh-navrow{justify-content:flex-start!important;max-width:1180px!important;margin:0 auto!important;padding-left:12px!important;padding-right:12px!important;}
.alh-letters{justify-content:flex-start!important;max-width:1180px!important;margin:0 auto!important;padding-left:12px!important;padding-right:12px!important;}
.alh-letterbar{background:#fff!important;color:#334155!important;border-bottom:1px solid #e5e7eb!important;}
.alh-letters strong{color:#b8872f!important;}
.alh-letters a{color:#465467!important;}
.alh-letters a:hover{color:#b8872f!important;background:#faf7f0!important;}
/* Legacy catalogue section headings: Home palette, blue background with white text. */
body.alh-category-page table td[bgcolor="#FFCC66"],body.alh-category-page table td[bgcolor="#ffcc66"]{background:#1d3554!important;color:#fff!important;}
body.alh-category-page table td[bgcolor="#FFCC66"] font,body.alh-category-page table td[bgcolor="#ffcc66"] font{color:#fff!important;}
body.alh-category-page table td[bgcolor="#FFCC66"] b,body.alh-category-page table td[bgcolor="#ffcc66"] b{color:#fff!important;}

/* Final standard: catalogue section headings are navy blue with white text. */
body.alh-category-page td[bgcolor="#FFCC66"],body.alh-category-page td[bgcolor="#ffcc66"],body.alh-category-page td[style*="background:#FFCC66"],body.alh-category-page td[style*="background: #FFCC66"]{background:var(--alh-navy2)!important;color:#fff!important}
body.alh-category-page td[bgcolor="#FFCC66"] font,body.alh-category-page td[bgcolor="#ffcc66"] font{color:#fff!important}
.alh-letterbar{background:#fff!important;color:var(--alh-navy2)!important}
.alh-letters a{color:var(--alh-navy2)!important}
.alh-letters strong{color:var(--alh-gold)!important}

/* FINAL STANDARD: Catalogue row is white with blue letters, matching Home page. */
.alh-letterbar{background:#fff!important;color:#334155!important;}
.alh-letterbar .alh-letters{background:#fff!important;}
.alh-letterbar .alh-letters strong{color:#b8872f!important;}
.alh-letterbar .alh-letters a{color:#1d3554!important;text-decoration:none!important;}
.alh-letterbar .alh-letters a:hover,.alh-letterbar .alh-letters a:focus{color:#b8872f!important;background:#fff!important;}

/* FINAL STANDARD: catalogue section headings are blue with white text. */
body.alh-category-page table td[bgcolor="#1D3554"] font,
body.alh-category-page table td[bgcolor="#1d3554"] font,
body.alh-category-page table td[style*="background:#1D3554"] font,
body.alh-category-page table td[style*="background:#1d3554"] font,
td[bgcolor="#1D3554"] b, td[bgcolor="#1d3554"] b {color:#fff!important;}

/* FINAL STANDARD v6: highlight the currently selected catalogue letter. */
.alh-letterbar .alh-letters a.active-letter{
  background:#b8872f!important;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:2px;
}
.alh-letterbar .alh-letters a.active-letter:hover,
.alh-letterbar .alh-letters a.active-letter:focus{
  background:#b8872f!important;
  color:#fff!important;
}
/* FINAL STANDARD v6: legacy section headings must always be readable. */
body.alh-category-page table td[bgcolor="#ffcc66"] b font,
body.alh-category-page table td[bgcolor="#FFCC66"] b font,
body.alh-category-page table td[bgcolor="#ffcc66"] font,
body.alh-category-page table td[bgcolor="#FFCC66"] font{color:#fff!important;}


/* FINAL STANDARD v9: legacy catalogue tables in CA/CS/CMA/LLB must render as real tables. */
.alh-catalogue-table{width:100%!important;background:#fff!important;border:1px solid #b8872f!important;border-collapse:separate!important;border-spacing:3px!important;margin:12px 0 0!important;table-layout:auto!important}
.alh-catalogue-table td{border:1px solid #d1b16a!important;background:#fff!important;color:#1d2733!important;padding:5px 7px!important;vertical-align:middle!important}
body.alh-category-page .alh-catalogue-table td[bgcolor="#1D3554"],body.alh-category-page .alh-catalogue-table td[bgcolor="#1d3554"],body.alh-category-page .alh-catalogue-table td[bgcolor="#FFCC66"],body.alh-category-page .alh-catalogue-table td[bgcolor="#ffcc66"]{background:#1d3554!important;color:#fff!important}
body.alh-category-page .alh-catalogue-table td[bgcolor="#1D3554"] *,body.alh-category-page .alh-catalogue-table td[bgcolor="#1d3554"] *,body.alh-category-page .alh-catalogue-table td[bgcolor="#FFCC66"] *,body.alh-category-page .alh-catalogue-table td[bgcolor="#ffcc66"] *{color:#fff!important}
.alh-catalogue-table td a{color:#13253d!important}
.alh-catalogue-table td[bgcolor="#1D3554"] a,.alh-catalogue-table td[bgcolor="#1d3554"] a,.alh-catalogue-table td[bgcolor="#FFCC66"] a,.alh-catalogue-table td[bgcolor="#ffcc66"] a{color:#fff!important}
@media(max-width:650px){.alh-catalogue-table{border-spacing:2px!important}.alh-catalogue-table td{padding:4px 5px!important}}

/* FINAL STANDARD v10 — robust legacy catalogue repair */
body.alh-category-page table{width:100%!important;background:#fff!important;border:1px solid #b8872f!important;border-collapse:separate!important;border-spacing:3px!important;margin:12px 0 0!important;}
body.alh-category-page table td{border:1px solid #d1b16a!important;background:#fff!important;color:#1d2733!important;padding:5px 7px!important;vertical-align:middle!important;}
body.alh-category-page table td[bgcolor="#ffcc66"],body.alh-category-page table td[bgcolor="#FFCC66"],body.alh-category-page table td[style*="background:#FFCC66" i],body.alh-category-page table td[style*="background: #FFCC66" i],body.alh-category-page table td[style*="background:#ffcc66" i],body.alh-category-page table td[style*="background: #ffcc66" i],body.alh-category-page table td.xl27{background:#1d3554!important;color:#fff!important;}
body.alh-category-page table td[bgcolor="#ffcc66"] *,body.alh-category-page table td[bgcolor="#FFCC66"] *,body.alh-category-page table td[style*="background:#FFCC66" i] *,body.alh-category-page table td[style*="background: #FFCC66" i] *,body.alh-category-page table td[style*="background:#ffcc66" i] *,body.alh-category-page table td[style*="background: #ffcc66" i] *,body.alh-category-page table td.xl27 *{color:#fff!important;}
body.alh-category-page table td[bgcolor="#ffffff"],body.alh-category-page table td[bgcolor="#FFFFFF"],body.alh-category-page table td[bgcolor="white"],body.alh-category-page table td[bgcolor="White"]{background:#fff!important;}
body.alh-category-page table td a{color:#13253d!important;}
body.alh-category-page table td[bgcolor="#ffcc66"] a,body.alh-category-page table td[bgcolor="#FFCC66"] a,body.alh-category-page table td.xl27 a{color:#fff!important;}
@media(max-width:650px){body.alh-category-page table{border-spacing:2px!important;}body.alh-category-page table td{padding:4px 5px!important;}}


/* FINAL STANDARD v11 — reported B/C/D/E/I catalogue repairs */
body.alh-category-page table td[bgcolor="#FFCC66"],
body.alh-category-page table td[bgcolor="#ffcc66"],
body.alh-category-page table td.xl27{background:#1d3554!important;color:#fff!important;}
body.alh-category-page table td[bgcolor="#FFCC66"] *,
body.alh-category-page table td[bgcolor="#ffcc66"] *,
body.alh-category-page table td.xl27 *{color:#fff!important;}
body.alh-category-page table td[bgcolor="#FFCC66"] span[style*="background-color"],
body.alh-category-page table td[bgcolor="#ffcc66"] span[style*="background-color"]{background:transparent!important;}
