﻿/* =====================================================================================================
   nlbar.css — design of the public website of نقابة المحامين في طرابلس (2026-11-03)
   Colours from the logo: dark ink (text of the logo), parchment gold, cream, cedar green.
   Loaded LAST in the master pages, after the Porto theme files (they stay for the grid, carousel, tabs,
   lightbox). Everything here is scoped to the new classes (nl-...) or overrides the theme on purpose.
   ===================================================================================================== */
:root {
  --nl-ink: #3b302b;        /* dark ink brown */
  --nl-ink-2: #4e413b;
  --nl-ink-3: #655856;
  --nl-gold: #a87b4f;       /* parchment gold, deep */
  --nl-gold-dark: #8f6740;
  --nl-gold-light: #f0ce90; /* parchment gold, light */
  --nl-cream: #fbf1dc;
  --nl-cream-2: #fbf6ea;
  --nl-cedar: #485850;      /* cedar green */
  --nl-text: #2e2724;
  --nl-muted: #76695f;
  --nl-line: #eadfcb;
  --nl-footer: #2c2420;
}

/* ---------- base ---------- */
html body { font-family: 'Tajawal', Tahoma, Arial, sans-serif; color: var(--nl-text); background: #fff; font-size: 16px; line-height: 1.75; }
body .body { background: #fff; }
html body h1, html body h2, html body h3, html body h4, html body h5 { font-family: 'Amiri', 'Tajawal', serif; color: var(--nl-ink); letter-spacing: 0; }
body a { color: var(--nl-gold-dark); }
body a:hover { color: var(--nl-ink); text-decoration: none; }
.nl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nl-ico { width: 15px; height: 15px; fill: currentColor; flex: none; vertical-align: middle; }

/* ---------- top bar ---------- */
.nl-topbar { background: var(--nl-ink); color: #e9dcc3; font-size: 13.5px; }
.nl-topbar .nl-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.nl-topbar .nl-info { display: flex; gap: 22px; flex-wrap: wrap; }
.nl-topbar .nl-info span, .nl-topbar .nl-info a { display: inline-flex; align-items: center; gap: 6px; color: #e9dcc3; }
.nl-topbar .nl-info a:hover { color: var(--nl-gold-light); }
.nl-social { display: flex; gap: 8px; }
.nl-social a { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #e9dcc3; transition: .2s; }
.nl-social a:hover { background: var(--nl-gold); color: #fff; }

/* ---------- header and menu ---------- */
.nl-header { background: #fff; border-bottom: 3px solid var(--nl-gold); position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 14px rgba(59,48,43,.07); }
.nl-header .nl-wrap { max-width: 1340px; display: flex; align-items: center; gap: 20px; min-height: 92px; position: relative; }
.nl-brand { display: flex; align-items: center; gap: 14px; flex: none; }
.nl-brand img { height: 70px; width: auto; }
.nl-brand .t1 { font-family: 'Amiri', serif; font-weight: 700; font-size: 24px; color: var(--nl-ink); line-height: 1.2; }
.nl-brand .t2 { font-size: 13px; color: var(--nl-gold); font-weight: 700; }
.nl-menu { margin-inline-start: auto; }
.nl-menu > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nl-menu > ul > li { position: relative; }
.nl-menu > ul > li > a { display: block; padding: 10px 12px; font-weight: 700; font-size: 15px; color: var(--nl-ink); border-radius: 6px; white-space: nowrap; cursor: pointer; }
.nl-menu > ul > li > a:hover, .nl-menu > ul > li:focus-within > a { background: var(--nl-cream); color: var(--nl-ink); }
.nl-menu .nl-caret { font-size: 9px; margin-inline-start: 4px; opacity: .6; }
.nl-menu .nl-sub { position: absolute; top: 100%; right: 0; min-width: 250px; background: #fff; border: 1px solid var(--nl-line); border-top: 3px solid var(--nl-gold); border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(59,48,43,.16); padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 5; }
.nl-menu li:hover > .nl-sub, .nl-menu li:focus-within > .nl-sub { opacity: 1; visibility: visible; transform: none; }
.nl-menu .nl-sub a { display: block; padding: 9px 18px; font-size: 14.5px; color: var(--nl-text); }
.nl-menu .nl-sub a:hover { background: var(--nl-cream-2); color: var(--nl-ink); }
.nl-menu .nl-cta { background: var(--nl-ink); color: #fff !important; }
.nl-menu .nl-cta:hover { background: var(--nl-ink-2) !important; }
.nl-burger { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--nl-line); border-radius: 8px; background: #fff; color: var(--nl-ink); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------- page heading band (inner pages) ---------- */
.nl-pagehead { background: linear-gradient(120deg, var(--nl-ink) 0%, var(--nl-ink-3) 100%); color: #fff; padding: 34px 0 30px; }
.nl-pagehead h1 { color: #fff; font-size: 34px; margin: 0; }
.nl-pagehead .nl-crumbs { font-size: 13.5px; color: #e9dcc3; margin-top: 4px; }
.nl-pagehead .nl-crumbs a { color: var(--nl-gold-light); }

/* ---------- banner (home): restyles the carousel the site already builds ---------- */
.nl-hero { background: linear-gradient(120deg, var(--nl-ink) 0%, var(--nl-ink-3) 100%); padding: 28px 0 86px; }
.nl-hero > .container, .nl-hero .container { max-width: 1200px; padding-top: 0 !important; padding-bottom: 0 !important; }
.nl-hero .row { margin: 0; }
.nl-hero .appear-animation { opacity: 1 !important; animation: none !important; }
.nl-hero .thumb-info { display: block; width: 100%; background: transparent; border: 0 !important; }
.nl-hero .thumb-info > .col { padding: 0; }
.nl-hero .owl-carousel { border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.nl-hero .owl-carousel .img-thumbnail { position: relative; height: 440px; overflow: hidden; background: var(--nl-ink-2); border-radius: 0 !important; padding: 0 !important; }
.nl-hero .owl-carousel .img-thumbnail img { width: 100% !important; height: 100% !important; object-fit: cover; }
.nl-hero .owl-carousel .owl-stage-outer { height: auto !important; }
.nl-hero .thumb-info-title { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; width: 100% !important; max-width: none !important;
  background: linear-gradient(0deg, rgba(44,34,28,.92) 0%, rgba(44,34,28,.55) 60%, rgba(44,34,28,0) 100%) !important; padding: 80px 36px 34px !important; transform: none !important; text-align: right; }
.nl-hero .thumb-info-title h2 { font-family: 'Amiri', serif !important; font-size: 34px !important; line-height: 1.35 !important; color: #fff !important; font-weight: 700 !important; max-width: 820px; }
.nl-hero .thumb-info-title a:hover h2 { color: var(--nl-gold-light) !important; }
.nl-hero .owl-carousel .owl-nav button.owl-prev, .nl-hero .owl-carousel .owl-nav button.owl-next { background: rgba(255,255,255,.18) !important; border: 0 !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; color: #fff !important; }
.nl-hero .owl-carousel .owl-nav button:hover { background: var(--nl-gold) !important; }

/* ---------- lawyer search ---------- */
.nl-search { position: relative; z-index: 5; margin-top: -58px; }
.nl-search .nl-box { background: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(59,48,43,.18); display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 24px; border-top: 4px solid var(--nl-gold); }
.nl-search .nl-lbl { font-family: 'Amiri', serif; font-weight: 700; font-size: 22px; color: var(--nl-ink); white-space: nowrap; line-height: 1.3; }
.nl-search .nl-lbl small { display: block; font-family: 'Tajawal'; font-weight: 500; font-size: 13px; color: var(--nl-muted); }
.nl-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.nl-fields > :only-child { grid-column: 1 / -1; }
.nl-input, .nl-select { height: 48px; border: 1px solid var(--nl-line); border-radius: 6px; padding: 0 14px; font-family: inherit; font-size: 15px; background: var(--nl-cream-2); width: 100%; color: var(--nl-text); }
.nl-input:focus, .nl-select:focus { outline: 2px solid var(--nl-gold-light); background: #fff; }
.nl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 6px; border: 0; font-family: inherit; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; }
.nl-btn-gold { background: var(--nl-gold); color: #fff !important; }
.nl-btn-gold:hover { background: var(--nl-gold-dark); color: #fff !important; }
.nl-btn-line { height: 42px; border: 1px solid var(--nl-ink); color: var(--nl-ink) !important; background: transparent; padding: 0 18px; }
.nl-btn-line:hover { background: var(--nl-ink); color: #fff !important; }

/* ---------- sections ---------- */
.nl-blk { padding: 60px 0; }
.nl-alt { background: var(--nl-cream-2); }
.nl-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.nl-sec-head h2 { font-size: 32px; margin: 0; color: var(--nl-ink); position: relative; padding-bottom: 10px; line-height: 1.3; }
.nl-sec-head h2::after { content: ""; position: absolute; bottom: 0; right: 0; width: 56px; height: 3px; background: var(--nl-gold); }
.nl-sec-head a { color: var(--nl-gold); font-weight: 700; font-size: 14.5px; }

/* quick links */
.nl-quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.nl-q { background: #fff; border: 1px solid var(--nl-line); border-radius: 10px; padding: 22px 14px; text-align: center; transition: .2s; display: block; }
.nl-q:hover { border-color: var(--nl-gold); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(59,48,43,.08); }
.nl-q .nl-ic { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--nl-cream); color: var(--nl-gold); }
.nl-q .nl-ic svg { width: 26px; height: 26px; fill: currentColor; }
.nl-q b { display: block; color: var(--nl-ink); font-size: 15.5px; }
.nl-q span { font-size: 12.5px; color: var(--nl-muted); }

/* ---------- news cards: restyles the cards the site already builds (Porto "thumb-info") ---------- */
.nl-cards > .row { margin: 0 -11px; }
.nl-cards > .row > div { padding: 0 11px; margin-bottom: 22px !important; }
.nl-cards a { display: block; height: 100%; }
.nl-cards article { height: 100%; }
.nl-cards .thumb-info { display: flex !important; flex-direction: column; height: 100%; background: #fff !important; border: 1px solid var(--nl-line) !important; border-radius: 10px !important; overflow: hidden; transition: .2s; }
.nl-cards a:hover .thumb-info { box-shadow: 0 14px 32px rgba(59,48,43,.12); transform: translateY(-2px); }
.nl-cards .thumb-info-wrapper { display: flex !important; flex-direction: column; height: 100%; position: relative; transform: none !important; margin: 0 !important; border-radius: 0 !important; }
.nl-cards .thumb-info-wrapper::after { display: none !important; }
.nl-cards .thumb-info-wrapper > img, .nl-cards .thumb-info img { width: 100% !important; aspect-ratio: 16 / 10; height: auto; object-fit: cover; transform: none !important; flex: none; }
.nl-cards .thumb-info-title { position: static !important; transform: none !important; background: #fff !important; padding: 16px 18px 18px !important; width: 100% !important; max-width: none !important; flex: 1; text-align: right; opacity: 1 !important; }
.nl-cards .thumb-info-type { position: absolute; top: 12px; right: 12px; background: var(--nl-cedar) !important; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px !important; border-radius: 3px; margin: 0 !important; line-height: 1.6; float: none; }
.nl-cards .thumb-info-inner, .nl-cards .thumb-info-inner * { white-space: normal !important; }
.nl-cards .thumb-info-title h2 { font-family: 'Amiri', serif !important; color: var(--nl-ink) !important; font-size: 20px !important; line-height: 1.45 !important; font-weight: 700 !important; margin: 0 !important; }
.nl-cards a:hover .thumb-info-title h2 { color: var(--nl-gold-dark) !important; }
.nl-cards .thumb-info-show-more-content { display: block !important; max-height: none !important; opacity: 1 !important; overflow: visible !important; transform: none !important; }
.nl-cards .thumb-info-show-more-content p { color: var(--nl-muted) !important; opacity: 1 !important; font-size: 14.5px !important; line-height: 1.7 !important; margin-top: 8px !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nl-cards .thumb-info-bottom-info .thumb-info-title { transform: none !important; }
/* first card of the home page: wider */
@media (min-width: 992px) {
  .nl-cards.nl-feature > .row > div:first-child { flex: 0 0 66.666%; max-width: 66.666%; }
  .nl-cards.nl-feature > .row > div:first-child .thumb-info-title h2 { font-size: 26px !important; }
}
.nl-more { text-align: center; margin-top: 10px; }
.nl-more .RadButton, .nl-more input[type=submit] { background: var(--nl-ink) !important; border-color: var(--nl-ink) !important; border-radius: 6px !important; font-family: 'Tajawal', sans-serif !important; }

/* naqib */
.nl-naqib { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.nl-naqib .nl-emblem { aspect-ratio: 4 / 5; border-radius: 10px; background: linear-gradient(160deg, var(--nl-ink-3), var(--nl-ink)); position: relative; box-shadow: 16px 16px 0 var(--nl-cream); display: flex; align-items: center; justify-content: center; }
.nl-naqib .nl-emblem img { width: 58%; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.nl-naqib p.nl-lead { margin: 0; font-family: 'Amiri', serif; font-size: 23px; line-height: 1.8; color: var(--nl-ink); border-right: 4px solid var(--nl-gold); padding-right: 22px; }
.nl-naqib .nl-links { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }

/* institutes */
.nl-inst { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nl-i { background: var(--nl-cedar); color: #fff !important; border-radius: 10px; padding: 26px 22px; position: relative; overflow: hidden; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.nl-i::before { content: ""; position: absolute; left: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(240,206,144,.14); }
.nl-i b { font-family: 'Amiri', serif; font-size: 21px; line-height: 1.4; position: relative; color: #fff; }
.nl-i span { color: var(--nl-gold-light); font-size: 13.5px; font-weight: 700; position: relative; direction: ltr; text-align: right; }
.nl-i:hover { background: var(--nl-ink-2); color: #fff !important; }

/* ---------- article page ---------- */
.nl-article .main .container { max-width: 1200px; }
.nl-article .lightbox .thumb-info, .nl-article .lightbox .thumb-info-wrapper { border-radius: 10px !important; overflow: hidden; }
.nl-article #dvTitleBody h2, .nl-article [id$=dvTitleBody] h2 { font-family: 'Amiri', serif !important; color: var(--nl-ink) !important; font-size: 30px !important; line-height: 1.45 !important; }
.nl-article [id$=dvTitleBody] h2 strong { font-weight: 700 !important; }
.nl-article [id$=dvTitleBody] div[style] { font-size: 18px !important; line-height: 2 !important; color: var(--nl-text); }
.nl-article .sidebar .tabs { border-radius: 10px; overflow: hidden; border: 1px solid var(--nl-line); background: #fff; }
.nl-article .sidebar .nav-tabs { background: var(--nl-cream-2); border: 0; }
.nl-article .sidebar .nav-tabs .nav-link { border: 0 !important; border-top: 3px solid transparent !important; color: var(--nl-muted) !important; font-size: 14px !important; font-family: 'Tajawal' !important; background: transparent !important; }
.nl-article .sidebar .nav-tabs .nav-link.active, .nl-article .sidebar .nav-tabs li.active .nav-link { border-top-color: var(--nl-gold) !important; color: var(--nl-ink) !important; background: #fff !important; }
.nl-article .sidebar .tab-content { border: 0 !important; box-shadow: none !important; }
.nl-article .simple-post-list li { border-bottom: 1px solid var(--nl-line) !important; padding: 12px 0 !important; }
.nl-article .simple-post-list .post-info a { color: var(--nl-ink); font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.nl-article .simple-post-list .post-info a:hover { color: var(--nl-gold-dark); }
.nl-article .simple-post-list .post-meta { color: var(--nl-muted); font-size: 12px; }
.nl-article .simple-post-list img { border-radius: 6px; object-fit: cover; }
.nl-article section.bg-color-grey { background: var(--nl-cream-2) !important; }
.nl-article section.bg-color-grey h4 strong { font-family: 'Amiri', serif; font-size: 26px; color: var(--nl-ink); text-transform: none; }
.nl-article .portfolio-item .thumb-info { border-radius: 10px !important; overflow: hidden; }
.nl-article .portfolio-item .thumb-info-title { background: rgba(44,34,28,.85) !important; }
.nl-share { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; flex-wrap: wrap; }
.nl-share span { font-size: 13.5px; color: var(--nl-muted); font-weight: 700; }
.nl-share a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--nl-line); color: var(--nl-ink); font-size: 13px; font-weight: 700; background: #fff; }
.nl-share a:hover { background: var(--nl-ink); color: #fff; border-color: var(--nl-ink); }

/* ---------- human rights / posts ---------- */
.nl-posts .post-medium { background: #fff; border: 1px solid var(--nl-line) !important; border-radius: 10px; overflow: hidden; padding-bottom: 14px !important; transition: .2s; }
.nl-posts .post-medium:hover { box-shadow: 0 14px 32px rgba(59,48,43,.12); }
.nl-posts .post-medium img { border-radius: 0 !important; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nl-posts .post-content { padding: 0 14px; }
.nl-posts .post-content h2 a { color: var(--nl-ink) !important; font-family: 'Amiri', serif; }

/* ---------- contact ---------- */
.nl-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.nl-card { background: #fff; border: 1px solid var(--nl-line); border-radius: 10px; padding: 24px; }
.nl-card h3 { font-size: 24px; margin: 0 0 14px; }
.nl-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--nl-line); min-height: 420px; }
.nl-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.nl-list { list-style: none; margin: 0; padding: 0; }
.nl-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--nl-line); font-size: 15.5px; }
.nl-list li:last-child { border-bottom: 0; }
.nl-list .nl-li-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--nl-cream); color: var(--nl-gold); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.nl-list .nl-li-ic svg { width: 17px; height: 17px; fill: currentColor; }
.nl-list b { display: block; color: var(--nl-ink); font-size: 13.5px; }
.nl-list a { color: var(--nl-text); direction: ltr; display: inline-block; }

/* ---------- lawyer search page ---------- */
.nl-results { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--nl-line); border-radius: 10px; overflow: hidden; }
.nl-results th { background: var(--nl-cream-2); color: var(--nl-ink); text-align: right; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--nl-line); }
.nl-results td { padding: 12px 16px; border-bottom: 1px solid var(--nl-line); font-size: 15px; }
.nl-results .nl-tel { color: var(--nl-ink); font-weight: 700; white-space: nowrap; unicode-bidi: embed; }
.nl-results .nl-tel:hover { color: var(--nl-gold-dark); }
.nl-results td small { color: var(--nl-muted); font-size: 12px; }
.nl-results .nl-muted { color: var(--nl-muted); }
.nl-results tr:last-child td { border-bottom: 0; }
.nl-results tr:hover td { background: var(--nl-cream-2); }
.nl-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--nl-cream); color: var(--nl-gold-dark); }
.nl-empty { padding: 28px; text-align: center; color: var(--nl-muted); background: #fff; border: 1px dashed var(--nl-line); border-radius: 10px; }
.nl-count { color: var(--nl-muted); font-size: 14px; margin: 0 0 12px; }

/* ---------- footer ---------- */
.nl-footer { background: var(--nl-footer); color: #d8c9b0; padding-top: 56px; }
.nl-footer .nl-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.nl-footer h4 { font-family: 'Amiri', serif; color: #fff; font-size: 20px; margin: 0 0 14px; }
.nl-footer p, .nl-footer li { font-size: 14.5px; margin: 0 0 8px; color: #d8c9b0; }
.nl-footer ul { list-style: none; margin: 0; padding: 0; }
.nl-footer a { color: #d8c9b0; }
.nl-footer a:hover { color: var(--nl-gold-light); }
.nl-footer .nl-fb { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.nl-footer .nl-fb img { height: 58px; }
.nl-footer .nl-fb b { font-family: 'Amiri', serif; color: #fff; font-size: 20px; line-height: 1.3; }
.nl-footer .nl-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.nl-footer .nl-bottom img { width: 90px; vertical-align: middle; opacity: .85; }
.nl-footer .nl-maplink { color: var(--nl-gold-light) !important; font-weight: 700; }

/* ---------- responsive ---------- */
@media (min-width: 1241px) and (max-width: 1480px) {
  .nl-menu > ul > li > a { padding: 10px 8px; font-size: 14px; }
  .nl-brand img { height: 58px; }
  .nl-brand .t1 { font-size: 21px; }
}
@media (max-width: 1240px) {
  .nl-burger { display: block; }
  .nl-menu { display: none; position: absolute; top: 100%; right: 0; left: 0; background: #fff; border-bottom: 3px solid var(--nl-gold); box-shadow: 0 14px 30px rgba(59,48,43,.15); margin: 0; }
  .nl-menu.open { display: block; }
  .nl-menu > ul { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  .nl-menu .nl-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 14px 6px; display: none; min-width: 0; }
  .nl-menu li.open > .nl-sub { display: block; }
  .nl-quick { grid-template-columns: repeat(3, 1fr); }
  .nl-inst { grid-template-columns: 1fr 1fr; }
  .nl-footer .nl-cols { grid-template-columns: 1fr 1fr; }
  .nl-naqib { grid-template-columns: 1fr; }
  .nl-naqib .nl-emblem { max-width: 260px; }
  .nl-contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nl-hero { padding: 16px 0 80px; }
  .nl-hero .owl-carousel .img-thumbnail { height: 320px; }
  .nl-hero .thumb-info-title { padding: 60px 20px 24px !important; }
  .nl-hero .thumb-info-title h2 { font-size: 23px !important; }
  .nl-search .nl-box { grid-template-columns: 1fr; }
  .nl-fields { grid-template-columns: 1fr; }
  .nl-quick { grid-template-columns: 1fr 1fr; }
  .nl-inst { grid-template-columns: 1fr; }
  .nl-footer .nl-cols { grid-template-columns: 1fr; }
  .nl-brand img { height: 56px; }
  .nl-brand .t1 { font-size: 19px; }
  .nl-topbar .nl-info .nl-hide-sm { display: none; }
  .nl-pagehead h1 { font-size: 27px; }
  .nl-sec-head h2 { font-size: 27px; }
}
/* ---------- 2026-11-03 SEO pages: lawyers directory, lawyer page, article heading ---------- */
.nl-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nl-article.nl-has-h1 [id$=dvTitleBody] h2 { display: none; }
.nl-article .nl-pagehead { margin-bottom: 0; }
.nl-pagehead time { color: #e9dcc3; }
.nl-lead { font-size: 16.5px; color: var(--nl-text); margin: 0 0 22px; }
.nl-lead a, .nl-empty a, .nl-note a { color: var(--nl-gold-dark); font-weight: 700; }
.nl-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 30px; }
.nl-letters a, .nl-letters span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; font-family: 'Amiri', serif; font-size: 21px; font-weight: 700; }
.nl-letters a { background: #fff; border: 1px solid var(--nl-line); color: var(--nl-ink); }
.nl-letters a:hover { border-color: var(--nl-gold); color: var(--nl-gold-dark); }
.nl-letters a.on { background: var(--nl-ink); border-color: var(--nl-ink); color: #fff; }
.nl-letters span.off { color: #cfc3b3; }
.nl-letter-title { font-size: 28px; color: var(--nl-ink); margin: 0 0 16px; }
.nl-letter-title small { font-family: 'Tajawal', sans-serif; font-size: 14px; color: var(--nl-muted); font-weight: 500; }
.nl-dir { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 28px; }
.nl-dir li { break-inside: avoid; padding: 9px 4px; border-bottom: 1px solid var(--nl-line); font-size: 15.5px; }
.nl-dir li a { color: var(--nl-ink); font-weight: 700; }
.nl-dir li a:hover { color: var(--nl-gold-dark); }
.nl-dir li small { color: var(--nl-muted); font-size: 12.5px; margin-inline-start: 6px; }
.nl-results a.nl-name { color: var(--nl-ink); font-weight: 800; }
.nl-results a.nl-name:hover { color: var(--nl-gold-dark); text-decoration: underline; }
.nl-profile { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.nl-profile-card { background: #fff; border: 1px solid var(--nl-line); border-top: 4px solid var(--nl-gold); border-radius: 10px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.nl-profile-card img { flex: none; border-radius: 8px; }
.nl-profile-card h2 { font-size: 27px; color: var(--nl-ink); margin: 0 0 8px; }
.nl-profile-card p { margin: 12px 0 0; color: var(--nl-muted); }
.nl-profile-phones { font-size: 19px; line-height: 2.1; }
.nl-profile-phones .nl-tel { color: var(--nl-ink); font-weight: 800; white-space: nowrap; }
.nl-profile-phones small { color: var(--nl-muted); font-size: 13px; }
.nl-note { font-size: 13.5px; color: var(--nl-muted); margin: 16px 0 0; }
@media (max-width: 640px) {
  .nl-profile { grid-template-columns: 1fr; }
  .nl-letters a, .nl-letters span { width: 38px; height: 38px; font-size: 19px; }
  .nl-sec-head { flex-wrap: wrap; }
}
/* ---------- 2026-11-03 phone app bar (mobile) ---------- */
.nl-appbar { position: fixed; z-index: 1000; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--nl-line); border-top: 3px solid var(--nl-gold); border-radius: 14px; padding: 9px 10px; box-shadow: 0 12px 30px rgba(59,48,43,.25); font-family: 'Tajawal', sans-serif; }
.nl-appbar[hidden] { display: none; }
.nl-appbar img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.nl-appbar div { flex: 1; min-width: 0; line-height: 1.35; }
.nl-appbar b { display: block; font-size: 14.5px; color: var(--nl-ink); }
.nl-appbar span { display: block; font-size: 12px; color: var(--nl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nl-appbar .nl-appbar-go { flex: none; background: var(--nl-gold); color: #fff !important; font-weight: 800; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; }
.nl-appbar .nl-appbar-x { flex: none; background: none; border: 0; font-size: 24px; line-height: 1; color: #a99a8c; padding: 0 4px; cursor: pointer; }
