/* Kohinoor Spinning Mills — "Refreshed" theme.
   Same building blocks as the original site (blue menu, blue tab headings with a dotted
   rule, file-type icons, three-column footer), updated for today's screens. */

:root {
  --blue: #329bcb;        /* the original brand blue */
  --blue-ink: #1b74a0;    /* darker blue for text links (readable on white) */
  --navy: #084d6e;        /* the original hover blue */
  --navy-deep: #06374f;
  --ink: #24343e;
  --muted: #5c6a73;
  --line: #dfe6eb;
  --page: #f3f5f7;
  --white: #fff;
  --dots: radial-gradient(circle, #c3cbd1 1px, transparent 1.3px) 0 0 / 5px 5px;
  --radius: 8px;
  --wrap: 1140px;
  --font: "KSM Source Sans", "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* Urdu: body text and display (headings) faces; Latin letters and digits fall back to --font. */
  --ur-body: "KSM Naskh", var(--font);
  --ur-display: "KSM Gulzar", "KSM Naskh", var(--font);
  --ur-lh: 1.95;
  --font-ur: var(--ur-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--ink); background: var(--page); }
body.is-ur { font-family: var(--ur-body); font-size: 1.08rem; line-height: var(--ur-lh); }
.is-ur :where(.ticker, time, [dir="ltr"], .ficon__label) { font-family: var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -5rem; z-index: 99; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; color: #fff; }
.preview-bar { background: #fff3c4; color: #5b4500; text-align: center; padding: .45rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__logo { width: 58px; height: auto; flex: none; }
.brand__name { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.is-ur .brand__name { font-weight: 400; line-height: 1.9; }
.site-header__tools { display: flex; align-items: center; gap: .6rem; flex: none; }
.ticker { font-size: .85rem; color: var(--muted); background: var(--page); border-radius: 999px; padding: .25rem .75rem; }
.ticker strong { color: var(--ink); letter-spacing: .04em; }
.lang-btn { display: inline-block; text-decoration: none; color: var(--white); background: var(--blue); border-radius: 999px; padding: .3rem .95rem; font-weight: 600; font-size: .95rem; }
.lang-btn[lang="ur"] { font-family: "KSM Gulzar", "KSM Naskh", var(--font); font-weight: 400; font-size: 1.1rem; line-height: 1.6; padding-block: .1rem .3rem; }
.lang-btn:hover { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; align-items: center; gap: .5rem; font: 600 .95rem var(--font); color: var(--white); background: var(--navy); border: 0; border-radius: var(--radius); padding: .5rem .85rem; cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-toggle__bars::before { top: -5px; } .menu-toggle__bars::after { top: 5px; }

/* The blue menu bar */
.main-nav { background: var(--blue); }
.main-nav__list { list-style: none; display: flex; flex-wrap: wrap; margin-block: 0; padding: 0; }
.main-nav__item { position: relative; }
.main-nav a { display: block; padding: .85rem 1.05rem; color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.is-ur .main-nav a { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; padding-block: .45rem; }
.main-nav a:hover, .main-nav__item:hover > a, .main-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }
.sub-toggle { display: none; }
.main-nav__sub { list-style: none; margin: 0; padding: .3rem 0; position: absolute; top: 100%; inset-inline-start: 0; min-width: 15rem; background: var(--navy); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 28px -14px rgba(0,0,0,.45); display: none; }
.main-nav__item:hover > .main-nav__sub, .main-nav__item:focus-within > .main-nav__sub { display: block; }
.main-nav__sub a { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .95rem; padding: .55rem 1.1rem; }
.main-nav__sub a:hover, .main-nav__sub a[aria-current="page"] { background: var(--navy-deep); }

/* ---------- Banner band (replaces the old banner image) ---------- */
.band {
  position: relative; color: var(--white); padding-block: 2.1rem 2.3rem;
  background: var(--band-image, linear-gradient(100deg, var(--navy) 0%, var(--blue) 100%)) center / cover no-repeat;
}
.band { overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1.3px) 0 0 / 6px 6px; pointer-events: none; }
/* Thread-spool rings on the right: a nod to spinning. */
.band::after { content: ""; position: absolute; top: 50%; inset-inline-end: -140px; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.10) 0 1.5px, transparent 1.5px 13px); pointer-events: none;
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); mask: radial-gradient(circle, #000 35%, transparent 70%); }
.band .wrap { position: relative; }
.band__title { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.is-ur .band__title { font-weight: 600; line-height: 2; letter-spacing: 0; }
.band--home { padding-block: clamp(2.75rem, 7vw, 4.75rem) clamp(5rem, 9vw, 6.5rem); }
.band--home .band__title { font-size: clamp(1.8rem, 4.4vw, 3rem); max-width: 22ch; text-transform: none; }
.band__sub { margin: .75rem 0 0; font-size: 1.1rem; opacity: .92; }

/* ---------- Page content card ---------- */
.page { padding-block: 2rem 3rem; }
.content { background: var(--white); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 8px 24px -18px rgba(16,40,56,.25); }
.content::after { content: ""; display: table; clear: both; }
.content > :first-child { margin-top: 0; }
.content p { margin: 0 0 1rem; color: #3f4f59; }
.content p:empty { display: none; }
.kms-after { margin-top: 1.5rem; background: var(--white); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 8px 24px -18px rgba(16,40,56,.25); }
.content .kms-after { margin-inline: calc(-1 * clamp(1.25rem, 3vw, 2.5rem)); margin-bottom: calc(-1 * clamp(1.25rem, 3vw, 2.5rem)); border-radius: 0 0 var(--radius) var(--radius); border-top: 1px solid var(--line); box-shadow: none; }
.kms-after:empty { display: none; }
.content table { border-collapse: collapse; width: 100%; }
.content th, .content td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }

/* Blue tab heading with the dotted rule (the site's signature heading) */
.tab-heading { display: flex; align-items: stretch; margin: 2.2rem 0 1rem; font-size: .92rem; line-height: 1.2; }
.content > .tab-heading:first-child, .kms-after > .tab-heading:first-child, .bd_center > .tab-heading:first-child { margin-top: 0; }
.tab-heading > span { background: var(--blue); color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .8rem 1.3rem; border-start-start-radius: 4px; border-end-start-radius: 4px; max-width: 75%; }
.tab-heading::after { content: ""; flex: 1; background: var(--dots); border-start-end-radius: 4px; border-end-end-radius: 4px; min-width: 2rem; }
.is-ur .tab-heading { font-size: 1rem; }
.is-ur .tab-heading > span { text-transform: none; letter-spacing: 0; font-weight: 600; padding-block: .35rem; }
.sub-heading { color: var(--blue-ink); font-size: 1.1rem; font-weight: 700; margin: 1.6rem 0 .6rem; }
.label-heading { color: var(--muted); font-size: 1rem; font-weight: 700; margin: 1.6rem 0 .5rem; text-transform: uppercase; letter-spacing: .05em; }
.is-ur .label-heading { text-transform: none; letter-spacing: 0; }

/* Investor links ("lnkInvestor" in the original) */
a.lnkInvestor { display: block; width: auto !important; float: none !important; margin: 0 !important; padding: .55rem 0 !important; color: var(--blue-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
a.lnkInvestor::before { content: "›"; display: inline-block; width: 1.1rem; color: var(--blue); font-weight: 700; }
.is-ur a.lnkInvestor::before { content: "‹"; }
a.lnkInvestor:hover { color: var(--navy); background: #f5fafd; }
a.lnkInvestor[href="#"] { color: var(--ink); pointer-events: none; }
p > span + a.lnkInvestor[href="#"] { display: inline; border: 0; padding: 0 !important; font-weight: 700; }
p > span + a.lnkInvestor[href="#"]::before { content: none; }
.content p > span[style*="float"] + a.lnkInvestor { margin-inline-start: .35rem !important; }
a.lnkInvestor[href="#"]::before { color: var(--muted); }
p > a.lnkInvestor:last-child { border-bottom: 0; }
/* People profiles: "Name: text" paragraphs on Governance */
.content p > span[style*="bold"]:first-child { display: block; color: var(--ink); font-size: 1.05rem !important; margin-bottom: .15rem; }
.content p > span[style*="float"] { float: none !important; display: inline !important; }

/* Report rows with PDF / PowerPoint / Word / Excel icons */
.report-list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--line); }
.report-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
.report-row:hover { background: #f7fbfd; }
.report-row:target { background: #e8f4fa; }
.report-row__title { font-weight: 600; color: var(--blue-ink); }
.report-row__files { display: flex; gap: .35rem; }
.ficon { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem; border-radius: 6px; text-decoration: none; color: var(--ink); }
.ficon .fbadge { width: 32px; height: 36px; display: block; transition: transform .15s; }
a.ficon:hover .fbadge { transform: translateY(-2px); }
.ficon__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
a.ficon:hover { background: #e7f3f9; }
.ficon.is-off { opacity: .22; filter: grayscale(1); }
.ficon--wide { border: 1px solid var(--line); padding-inline-end: .8rem; }
.ficon--wide .ficon__label { position: static; width: auto; height: auto; clip: auto; font-weight: 600; font-size: .95rem; }

/* Lists of links (Election of directors) */
.link-list { list-style: none; margin: 0 0 1.5rem; padding: 0; columns: 2 20rem; column-gap: 2rem; }
.link-list li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.link-list a { font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list .is-pending span { color: var(--muted); }
.link-list small { color: #8a969e; font-style: italic; }
.is-ur .link-list small { font-style: normal; }

/* Notices table */
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.notice-table th { background: var(--blue); color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.is-ur .notice-table th { text-transform: none; font-size: 1rem; }
.notice-table th:first-child { width: 10rem; border-start-start-radius: 6px; }
.notice-table th:last-child { border-start-end-radius: 6px; }
.notice-table tbody tr:nth-child(even) { background: #f8fafb; }
.notice-table td a { font-weight: 600; text-decoration: none; }
.notice-table td a:hover { text-decoration: underline; }
.notice-table time { color: var(--muted); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: #fff1c2; color: #6b4e00; border-radius: 4px; padding: .05rem .4rem; margin-inline-start: .4rem; vertical-align: middle; }

/* Notice with several files */
.file-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .5rem; max-width: 36rem; }
.file-list a { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.file-list a:hover { border-color: var(--blue); background: #f5fafd; }
.file-kind { font: 700 .7rem var(--font); background: var(--muted); color: #fff; border-radius: 4px; padding: .3rem .4rem; }

/* Corporate briefing sessions */
.briefings { display: grid; gap: 1rem; }
.briefing { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.briefing__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.briefing__head .sub-heading { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; margin-top: .9rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }

/* Associated companies (home) */
.bd_center { width: auto; }
.img_dv { display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; width: auto !important; float: none !important; margin: 0 !important; padding: 1rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.img_dv img { width: 160px !important; height: auto !important; margin: 0 !important; float: none !important; }
.img_dv strong { float: none !important; margin: 0 !important; font-weight: 600; line-height: 1.4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.5rem; align-items: start; }
.office { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(16,40,56,.06); }
.office .tab-heading:first-child { margin-top: 0; }
.office__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; }
.office__list li { display: flex; gap: .75rem; align-items: flex-start; color: #3f4f59; }
.office__list img { flex: none; width: 26px; }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; padding: .65rem .8rem; border: 1px solid #c4d0d8; border-radius: 6px; background: #fbfcfd; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(50,155,203,.4); border-color: var(--blue); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; inset-inline-start: -9999px; }
.notice { padding: .7rem 1rem; border-radius: 6px; margin: 0; }
.notice--ok { background: #e6f4ec; color: #15532f; }
.notice--error { background: #fbeaea; color: #8a1c1c; }
.btn { display: inline-block; font: 600 1rem var(--font); background: var(--blue); color: var(--white); border: 0; border-radius: 6px; padding: .7rem 1.5rem; text-decoration: none; cursor: pointer; justify-self: start; }
.btn:hover { background: var(--navy); color: var(--white); }
.cms-note { background: #fff7e0; border: 1px dashed #c9a227; padding: .5rem .75rem; }

/* ---------- Welcome page ---------- */
.splash { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); position: relative; }
.splash::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1.3px) 0 0 / 6px 6px; }
.splash__card { position: relative; background: var(--white); border-radius: 14px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; max-width: 40rem; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.splash__logo { width: 110px; margin-bottom: 1rem; }
.splash h1 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.2; color: var(--ink); }
.splash__name { margin: 0 0 2rem; color: var(--muted); }
.splash__choices { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn--big { min-width: 10rem; padding: .9rem 1.5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; }
.btn--ur { font-family: var(--font-ur); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.25rem; padding-block: .35rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9dde8; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 2.5rem 1.5rem; }
.site-footer h2 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--blue); display: inline-block; }
.is-ur .site-footer h2 { text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.footer-menu, .footer-list { list-style: none; margin: 0; padding: 0; }
.footer-menu { columns: 2; column-gap: 1rem; }
.footer-menu li { margin-bottom: .35rem; break-inside: avoid; }
.footer-list li { margin-bottom: .7rem; line-height: 1.5; }
.is-ur .footer-list li { line-height: 2; }
.footer-menu a, .site-footer a { color: #e5f1f7; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-badge img { display: block; background: var(--white); border-radius: 6px; padding: .35rem .6rem; }
.footer-link { font-weight: 600; }
.footer-updated { margin-inline-start: auto; color: #a9c4d2; }
.secp-banner { background: var(--white); }
.secp-banner img { display: block; width: 100%; max-width: var(--wrap); margin: 0 auto; height: auto; }
.copyright { margin: 0; background: #042a3d; color: #9fbccb; text-align: center; padding: .9rem 1rem; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid section:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .ticker { display: none; }
  .brand__logo { width: 44px; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav__list { flex-direction: column; width: 100%; }
  .main-nav__item { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.18); }
  .main-nav__item > a { flex: 1; padding: .9rem 1.25rem; }
  .sub-toggle { display: block; width: 3.25rem; background: none; border: 0; border-inline-start: 1px solid rgba(255,255,255,.2); cursor: pointer; }
  .sub-toggle::after { content: ""; display: block; margin: auto; width: .5rem; height: .5rem; border-inline-end: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
  .sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .main-nav__sub { position: static; width: 100%; box-shadow: none; border-radius: 0; }
  .main-nav__item:hover > .main-nav__sub { display: none; }
  .main-nav__item.is-open > .main-nav__sub { display: block; }
  .main-nav__sub a { padding-inline-start: 2.25rem; }
  .content { border-radius: 0; margin-inline: -1rem; }
  .page { padding-top: 0; }
  .tab-heading > span { max-width: 85%; }
  .report-row { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-updated { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .site-header, .site-footer, .band::before { display: none; }
  .band { background: none; color: var(--ink); padding: 0; }
  .content { box-shadow: none; }
}


/* ================= Refinements: icons, tiles, cards ================= */
.ico { width: 1.25rem; height: 1.25rem; flex: none; vertical-align: -.2em; }
.ico--sm { width: 1.05rem; height: 1.05rem; }
.ico--xs { width: .9rem; height: .9rem; vertical-align: -.1em; }
.ico--end { margin-inline-start: auto; color: var(--muted); }
.is-ur .ico--end, .is-ur .tile__go { transform: scaleX(-1); }

/* Header accent */
.site-header { border-top: 4px solid var(--blue); }
.brand__logo { border-radius: 6px; }

/* Breadcrumb in the banner */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; margin-bottom: .4rem; opacity: .9; }
.crumbs a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.crumbs a:hover { text-decoration: underline; }

/* Home: section tiles overlapping the banner */
.tiles { position: relative; z-index: 2; margin-top: -3.75rem; margin-bottom: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .9rem; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; min-height: 7.5rem; background: var(--white); border-radius: 10px; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3;
  box-shadow: 0 1px 2px rgba(16,40,56,.08), 0 10px 24px -16px rgba(16,40,56,.35); border-bottom: 3px solid transparent; transition: transform .15s, border-color .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); border-bottom-color: var(--blue); color: var(--navy); box-shadow: 0 2px 4px rgba(16,40,56,.08), 0 16px 30px -16px rgba(16,40,56,.4); }
.tile__ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #e7f3fa; color: var(--blue-ink); flex: none; }
.tile__ico .ico { width: 1.3rem; height: 1.3rem; }
.tile__label { flex: 1; }
.tile__ico { width: 3rem; height: 3rem; transition: background .15s, color .15s; }
.tile:hover .tile__ico { background: var(--blue); color: #fff; }
.tile__label { flex: none; font-size: .95rem; }
.tile__go { display: none; }
.is-ur .tile { font-weight: 400; }

/* Home: latest filings strip */
.filings-strip { background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.4rem 1.4rem; margin-bottom: 1.5rem; box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 8px 24px -18px rgba(16,40,56,.25); }
.filings-strip__title { display: flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-ink); }
.is-ur .filings-strip__title { text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.filings-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.filing-card { display: flex; gap: .85rem; align-items: center; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.filing-card:hover { border-color: var(--blue); background: #f6fbfe; color: var(--ink); }
.filing-card .fbadge { width: 34px; height: 38px; flex: none; }
.filing-card small { display: block; color: var(--muted); font-size: .8rem; }
.filing-card strong { display: block; color: var(--blue-ink); line-height: 1.3; }
.filing-card time { display: block; color: var(--muted); font-size: .8rem; }

/* Contact page */
.contact-grid { grid-template-columns: minmax(0, 1fr) 24rem; }
.contact-intro { color: var(--muted) !important; margin-top: -.25rem !important; }
.contact-side { display: grid; gap: 1.25rem; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 8px 24px -18px rgba(16,40,56,.25); }
.info-card .tab-heading { margin-top: 0; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; line-height: 1.45; color: var(--ink); }
.info-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .1rem; }
.is-ur .info-list small { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }
.info-ico { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #e7f3fa; color: var(--blue-ink); flex: none; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; align-items: center; gap: .65rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours .ico { color: var(--blue); }
.hours__day { flex: 1; font-weight: 600; }
.hours__time { color: var(--ink); font-variant-numeric: tabular-nums; }
.hours .is-closed .hours__time { color: #b3261e; font-weight: 600; }
.hours .is-closed .ico { color: #b3261e; }
.contact-form input, .contact-form textarea { background: #f7f9fb; border-color: #d3dde4; }
.contact-form .btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.6rem; box-shadow: 0 6px 16px -8px rgba(50,155,203,.8); }
.map-card { position: relative; margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(16,40,56,.06), 0 8px 24px -18px rgba(16,40,56,.25); background: #e6ecef; }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-card__link { position: absolute; inset-inline-end: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem; background: var(--white); color: var(--blue-ink); font-weight: 600; text-decoration: none; padding: .55rem .9rem; border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); }
.map-card__link:hover { background: var(--blue); color: #fff; }

/* Notice detail files */
.file-list a .fbadge { width: 30px; height: 34px; flex: none; }

/* Footer icons */
.footer-list li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-list .ico { color: var(--blue); margin-top: .2rem; }
.footer-link { display: inline-flex; align-items: center; gap: .35rem; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tiles { margin-top: -2.5rem; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .tile { flex-direction: row; justify-content: flex-start; text-align: start; min-height: 0; padding: .8rem; font-size: .92rem; }
  .tile__ico { width: 2.2rem; height: 2.2rem; }
  .tile__go { display: none; }
  .filings-strip { border-radius: 0; margin-inline: -1rem; }
  .map-card iframe { height: 260px; }
  .band::after { width: 320px; height: 320px; inset-inline-end: -120px; }
}
@media (prefers-reduced-motion: reduce) { .tile:hover, a.ficon:hover .fbadge { transform: none; } }

/* Briefing sessions with several files */
.briefing__files { display: flex; flex-wrap: wrap; gap: .5rem; }


/* ================= Urdu presentation ================= */
/* Three font choices (Admin → Settings → Design → Urdu font). */
.ur-sans { --ur-body: "KSM Sans Arabic", var(--font); --ur-display: "KSM Gulzar", "KSM Sans Arabic", var(--font); --ur-lh: 1.9; }
.ur-nastaliq { --ur-body: "KSM Nastaliq", var(--font); --ur-display: "KSM Nastaliq", var(--font); --ur-lh: 2.25; }

.is-ur { text-align: start; }
.is-ur :where(input, textarea, select, button) { font-family: var(--ur-body); }

/* Display face for names and headings */
.is-ur .brand__name { font-family: var(--ur-display); font-size: clamp(1.35rem, 2.8vw, 1.9rem); font-weight: 400; line-height: 1.6; }
.is-ur .band__title { font-family: var(--ur-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.55; letter-spacing: 0; }
.is-ur .band--home .band__title { font-size: clamp(2.1rem, 4.8vw, 3.2rem); line-height: 1.45; }
.is-ur .band__sub { font-size: 1.15rem; }
.is-ur .tab-heading { font-size: 1.4rem; }
.is-ur .tab-heading > span { font-family: var(--ur-display); font-weight: 400; padding: .15rem 1.5rem .45rem; line-height: 1.6; text-transform: none; letter-spacing: 0; }
.ur-nastaliq .tab-heading { font-size: 1.15rem; }
.is-ur .sub-heading { font-family: var(--ur-display); font-weight: 400; font-size: 1.35rem; line-height: 1.6; }
.is-ur .label-heading { font-weight: 700; font-size: 1.05rem; }
.is-ur .site-footer h2, .is-ur .filings-strip__title { font-family: var(--ur-display); font-weight: 400; font-size: 1.2rem; line-height: 1.5; }

/* Menu: comfortable size, no uppercase tracking */
.is-ur .main-nav a { font-size: 1.02rem; font-weight: 600; padding: .55rem 1rem .7rem; line-height: 1.7; }
.is-ur .main-nav__sub a { font-weight: 400; }
.is-ur .lang-btn[lang="en"] { font-family: var(--font); }

/* Body text: slightly larger, calmer line length, justified paragraphs like printed Urdu */
.is-ur .content p { font-size: 1.06rem; text-align: justify; text-justify: inter-word; }
.is-ur .content p > span[style*="bold"]:first-child { font-family: var(--ur-display); font-weight: 400 !important; font-size: 1.3rem !important; line-height: 1.6; color: var(--navy); }
.is-ur a.lnkInvestor { font-weight: 600; padding-block: .5rem !important; }
.is-ur a.lnkInvestor::before { content: "‹"; margin-inline-end: .2rem; }

/* Lists of reports: title on the right, icons on the left, Latin numbers kept upright */
.is-ur .report-row__title { font-weight: 600; font-size: 1.05rem; }
.is-ur .report-row__title, .is-ur .notice-table td, .is-ur .filing-card strong { unicode-bidi: plaintext; }
.is-ur .link-list a { font-weight: 600; }
.is-ur .notice-table th { font-size: 1.02rem; font-weight: 600; }
.is-ur .badge { text-transform: none; letter-spacing: 0; font-size: .8rem; }

/* Home tiles and cards */
.is-ur .tile { font-weight: 600; font-size: 1.02rem; line-height: 1.6; }
.is-ur .filing-card small { font-size: .88rem; }
.is-ur .filing-card strong { font-size: 1.05rem; line-height: 1.6; }

/* Contact page */
.is-ur .info-list li { line-height: 1.8; }
.is-ur .hours__day { font-weight: 600; }
.is-ur .contact-intro { text-align: start !important; }
.is-ur .contact-form label { font-weight: 600; }
.is-ur .btn--ur, .is-ur .btn { font-family: var(--ur-body); }

/* Footer */
.is-ur .footer-list li, .is-ur .footer-menu li { line-height: 1.85; }
.is-ur .copyright { font-size: .95rem; }

/* Welcome page Urdu button uses the display face */
.btn--ur { font-family: "KSM Gulzar", "KSM Naskh", var(--font); font-size: 1.45rem; line-height: 1.5; padding-block: .3rem .55rem; font-weight: 400; }
