/* =====================================================================
   Ocat client marketing portal – 2026 redesign
   Used by /publicpage.master (and /Default.aspx).
   Structure kept: top banner + background, content left, links right.

   Shared by every client portal, so nothing here is client-specific.
   A client can re-colour its portal from its own custom styles
   (custyles, loaded after this file) by overriding the variables, e.g.
     <style>:root{ --op-ink:#5a1e3c; --op-accent:#e0a100; }</style>
   ===================================================================== */

:root {
    --op-ink: #14213d;
    --op-ink-soft: #3d4a66;
    --op-muted: #6b7690;
    --op-line: #e3e8f1;
    --op-surface: #ffffff;
    --op-bg: #eef2f8;
    --op-brand: #1f4fd8;
    --op-brand-dark: #173aa3;
    --op-brand-tint: #e9efff;
    --op-accent: #ff7a1a;
    --op-accent-tint: #fff3e8;
    --op-footer: #0f1a33;
    --op-radius: 14px;
    --op-radius-sm: 9px;
    --op-shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .07);
    --op-shadow-lg: 0 12px 32px rgba(20, 33, 61, .14);
    --op-font: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --op-font-text: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    --op-text: #2a3446;
    --op-wrap: 1600px;
}

/* ---------- legacy reset (kept so client content renders as before) ---------- */
div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
table { border-spacing: 0; margin-top: 0; }

/* ---------- page ---------- */
html, body { margin: 0; padding: 0; }
body.op-body {
    font-family: var(--op-font);
    color: var(--op-ink);
    background-color: var(--op-bg);
    background-image:
        radial-gradient(1200px 400px at 85% -10%, rgba(31, 79, 216, .08), transparent 60%),
        radial-gradient(900px 380px at -10% 30%, rgba(255, 122, 26, .06), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
.op-page { min-height: 100vh; display: flex; flex-direction: column; }
.op-wrap { max-width: var(--op-wrap); margin: 0 auto; padding: 0 10px; }
.op-body a { color: var(--op-brand); transition: color .15s ease; }
.op-body a:hover, .op-body a:focus { color: var(--op-brand-dark); text-decoration: none; }
.op-body img { max-width: 100%; height: auto; }

/* ---------- banner ---------- */
.op-banner {
    position: relative;
    background-color: var(--op-ink);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
/* banner shows each client's HeaderBg / HeaderImg as uploaded: no tint, no size cap */
.op-body .op-banner__inner {
    position: relative;
    max-width: none;
    min-height: 90px;
    display: flex;
    align-items: center;
    padding: 0;
}
.op-banner__brand { display: block; line-height: 0; max-width: 100%; }
.op-banner__brand img { max-width: 100%; height: auto; }
.op-banner .topimgstyle {
    display: inline-block;
    line-height: 1.2;
    font-size: clamp(24px, 3.4vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

/* ---------- navigation ---------- */
.op-nav {
    position: sticky; top: 0; z-index: 50;
    background: linear-gradient(180deg, #1a2a4f 0%, var(--op-ink) 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 4px 14px rgba(10, 18, 40, .25);
}
.op-nav__inner { display: flex; align-items: stretch; min-height: 54px; }
.op-nav .op-nav__list {
    list-style: none;
    display: flex; flex-wrap: wrap; align-items: stretch; gap: 0;
    margin: 0; padding: 0;
    width: 100%;
}
.op-nav .op-nav__list li { list-style: none; display: flex; float: none; margin: 0; padding: 0; background: none; border: 0; }
.op-nav .op-nav__list li:empty { display: none; }
.op-nav .op-nav__list li + li { border-left: 1px solid rgba(255, 255, 255, .07); }
.op-nav .op-nav__list a {
    position: relative;
    display: flex; align-items: center;
    padding: 0 20px;
    min-height: 54px;
    font: 700 13.5px/1 var(--op-font) !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #e8edf8 !important;
    background: none;
    border-radius: 0;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
.op-nav .op-nav__list a:after {
    content: "";
    position: absolute; left: 20px; right: 20px; bottom: 0;
    height: 3px; border-radius: 3px 3px 0 0;
    background: var(--op-accent);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.op-nav .op-nav__list a:hover,
.op-nav .op-nav__list a:focus,
.op-nav .op-nav__list a.is-current {
    color: #fff !important;
    background: rgba(255, 255, 255, .07);
}
.op-nav .op-nav__list a:hover:after,
.op-nav .op-nav__list a:focus:after,
.op-nav .op-nav__list a.is-current:after { transform: scaleX(1); }
.op-nav .op-nav__list > li:first-child > a:before {
    content: "015"; font-family: FontAwesome; font-weight: normal;
    margin-right: 8px; font-size: 15px; color: var(--op-accent);
}
.op-nav .op-nav__auth { margin-left: auto; align-items: center; border-left: 0 !important; }
.op-nav .op-nav__auth a {
    min-height: 0; padding: 10px 20px; margin: 0 0 0 10px;
    border-radius: 999px;
    background: var(--op-accent);
    color: #fff !important;
}
.op-nav .op-nav__auth a:after { display: none; }
.op-nav .op-nav__auth a:hover { background: #e86a0e; }
.op-nav__toggle {
    display: none;
    align-items: center; gap: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: transparent;
    color: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    font: 700 14px var(--op-font);
    text-transform: uppercase; letter-spacing: .05em;
    cursor: pointer;
}

/* ---------- search ---------- */
.op-search { padding: 22px 0 0; }
.op-search__card {
    background: var(--op-surface);
    border-radius: var(--op-radius);
    box-shadow: var(--op-shadow);
    padding: 14px 16px;
}
.op-search__row { position: relative; display: flex; gap: 10px; align-items: center; }
.op-search__icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--op-muted);
}
.op-body .op-search__input {
    flex: 1 1 auto;
    width: auto !important;
    height: 48px;
    padding: 0 16px 0 42px;
    border: 1px solid var(--op-line);
    border-radius: 12px;
    background: #f7f9fc;
    font: 500 16px var(--op-font);
    color: var(--op-ink);
    box-shadow: none;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.op-body .op-search__input:focus {
    background: #fff;
    border-color: var(--op-brand);
    box-shadow: 0 0 0 4px rgba(31, 79, 216, .12);
}
.op-search__req { color: #e5484d; font-weight: 700; font-size: 18px; }
.op-search__types { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; color: var(--op-ink-soft); }
.op-search__types input { margin: 0 6px 0 0; vertical-align: middle; accent-color: var(--op-brand); }
.op-search__types label { font-weight: 500; margin: 0 14px 0 0; cursor: pointer; }

/* ---------- buttons ---------- */
.op-btn, .op-body .sendbutton-in.op-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 24px;
    border: 0; border-radius: 12px;
    font: 700 15px var(--op-font);
    letter-spacing: .01em;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.op-btn--primary { background: var(--op-brand); color: #fff; }
.op-btn--primary:hover { background: var(--op-brand-dark); }
.op-btn:active { transform: translateY(1px); }

.buttonocat {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    font: 600 14px var(--op-font);
    text-align: center;
    text-decoration: none;
    color: #fff;
}
.buttonocat1 {
    margin: 4px 6px 4px 0;
    background: #fff;
    color: var(--op-ink);
    border: 1.5px solid var(--op-line);
    transition: border-color .15s, color .15s, background .15s;
}
a:hover .buttonocat1, .buttonocat1:hover { border-color: var(--op-brand); color: var(--op-brand); background: var(--op-brand-tint); }

/* ---------- body layout: content + right links ---------- */
.op-main { flex: 1 0 auto; padding: 24px 0 36px; }
.op-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; width: auto !important; margin: 0 !important; padding: 0 !important; }
.op-layout:before, .op-layout:after { display: none; }
.op-layout > .op-content,
.op-layout > .op-sidebar { float: none; padding: 0 !important; margin: 0 !important; min-height: 0; }
.op-content { flex: 1 1 0; min-width: 0; width: auto !important; }
.op-sidebar { flex: 0 0 340px; width: 340px !important; }
/* content card */
.op-content > .bgwhitepad {
    background: var(--op-surface);
    border-radius: var(--op-radius);
    box-shadow: var(--op-shadow);
}

/* ---------- Ocat brand strip ---------- */
.op-brand {
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
    margin-top: 28px;
    padding: 14px 16px;
    background: var(--op-surface);
    border-radius: var(--op-radius);
    box-shadow: var(--op-shadow);
}
.op-brand__logo img { width: auto !important; max-height: 64px; }
.op-brand__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.op-brand__overview { display: inline-block; }

/* ---------- footer ---------- */
.op-footer {
    background: var(--op-footer);
    color: #b9c3da;
    padding: 30px 0 26px;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}
.op-footer a, .op-footer a.btm { color: #e6ebf7; font-weight: 500; }
.op-footer a:hover, .op-footer a.btm:hover { color: var(--op-accent); }
.op-footer .btm { background: none; color: inherit; font-size: 14px; }
.op-footer__links { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.op-footer__meta { padding-top: 14px; color: #8e9ab6; }
.op-footer__name { color: #fff; font-weight: 700; }
.op-sep { display: inline-block; margin: 0 10px; color: rgba(255, 255, 255, .22); }

/* ---------- legacy helper classes formerly inline in the master ---------- */
.txtsrchfont {
    border: 1px solid var(--op-line);
    border-radius: 10px;
    box-shadow: none;
    font: 400 16px/24px var(--op-font);
    color: var(--op-ink);
    padding: 6px 12px;
}
.videowrapper { float: none; clear: both; width: 100%; position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; }
.videowrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: var(--op-radius-sm); }
.col-lg-5 .main-head > a { color: var(--op-brand); font-size: 14px; font-family: var(--op-font); font-weight: 600; }
.col-lg-5 .main-head > a:hover { color: var(--op-brand-dark); }
.headstyle1 {
    background: linear-gradient(90deg, var(--op-accent-tint), #fff);
    border-left: 4px solid var(--op-accent);
    border-radius: var(--op-radius-sm);
    padding: 12px 16px;
}
.headstyle1 a { font-family: var(--op-font); font-size: 22px; color: var(--op-ink); font-weight: 800; line-height: 1.35; }
.headstyle1 a:hover { color: var(--op-accent); }
.dont-break-out {
    overflow-wrap: break-word; word-wrap: break-word;
    -ms-word-break: break-all; word-break: break-word;
    -ms-hyphens: auto; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto;
}
@font-face { font-family: 'Gobold'; src: url('/m/fonts/Gobold-Thin.ttf.eot'); src: url('/m/fonts/Gobold-Thin.ttf.woff'); }
@font-face { font-family: 'NunitoSans'; src: url('/m/fonts/NunitoSans-Regular.ttf'); }
@font-face { font-family: 'Nunito'; src: url('/m/fonts/Nunito-Regular.ttf'); }

/* pager used across the GridViews */
.grid-next table { margin: 14px 0 4px; }
.grid-next td { padding: 0 3px; }
.grid-next a, .grid-next span {
    display: inline-block; min-width: 34px; height: 34px; line-height: 34px;
    padding: 0 10px; border-radius: 8px; text-align: center;
    font-weight: 600; font-size: 14px;
    border: 1px solid var(--op-line); background: #fff; color: var(--op-ink-soft);
}
.grid-next span { background: var(--op-brand); border-color: var(--op-brand); color: #fff; }
.grid-next a:hover { border-color: var(--op-brand); color: var(--op-brand); }

/* =====================================================================
   Shared content components (cards, lists, right links panel)
   Used by Default.aspx, pages.aspx and any other content page.
   ===================================================================== */
/* ---------- content card ---------- */
.bgwhitepad { background-color: #fff; padding: 18px 20px; }
.op-home .contbodyli { font-family: var(--op-font-text); font-size: 16px; line-height: 1.75; color: var(--op-text); }
.op-home .contbodyli h1, .op-home .contbodyli h2, .op-home .contbodyli h3 { color: var(--op-ink); font-weight: 800; letter-spacing: -.01em; line-height: 1.3; margin: 0 0 10px; }
.op-home .contbodyli > table, .op-home .contbodyli table[id] { width: 100%; }

.op-intro { margin-bottom: 8px; }

/* list items (directory, posts, ads, articles) */
.op-item {
    background: #fff;
    border: 1px solid var(--op-line);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 12px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.op-item:hover { border-color: #c9d4ee; box-shadow: var(--op-shadow); }
.op-item__title, .op-item__title a { color: var(--op-ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
.op-item__title a:hover { color: var(--op-brand); }
.op-item__body { margin-top: 8px; font-size: 15.5px; line-height: 1.7; color: var(--op-ink-soft); }
.op-item__body img, .op-item img.img-responsive { border-radius: 10px; margin: 8px 0; }
.op-item__meta { margin-top: 8px; font-size: 13px; color: var(--op-muted); }
.op-item__more { margin-top: 10px; }
.op-item__more a, .op-item a[style*="#e63030"] { color: var(--op-accent) !important; text-decoration: none !important; font-weight: 700; }
.op-item__more a:after { content: " \2192"; }
.op-item__links a { display: inline-block; margin: 6px 6px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--op-brand-tint); color: var(--op-brand); font-size: 13.5px; font-weight: 600; }
.op-item__links a:hover { background: var(--op-brand); color: #fff; }

.op-row { display: flex; gap: 14px; align-items: flex-start; }
.op-row__icon { flex: 0 0 56px; max-width: 56px; }
.op-row__icon img { border-radius: 10px; }
.op-row__main { flex: 1 1 auto; min-width: 0; }
.op-row .main-head a, .op-row .main-head a strong { color: var(--op-ink); font-size: 17px; font-weight: 700; }
.op-row .main-head a:hover, .op-row .main-head a:hover strong { color: var(--op-brand); }
.op-row__sub { margin-top: 6px; font-size: 15px; color: var(--op-ink-soft); }
.op-row__sub hr { display: none; }
.op-row__sub a[style] { font-size: 16px !important; color: var(--op-ink) !important; }

.op-list td, .op-links td { padding: 0; border: 0; }

.homlnkmorart { display: inline-block; margin-top: 6px; color: var(--op-accent); font-weight: 700; font-size: 15px; }
.homlnkmorart:after { content: " \2192"; }
.homlnkmorart:hover { color: var(--op-brand); }

.op-section-title { background: linear-gradient(90deg, var(--op-brand-tint), #fff); border-left: 4px solid var(--op-brand); border-radius: 10px; padding: 12px 16px; margin: 20px 0 12px; font-weight: 700; }
.op-section-title a { color: var(--op-ink); }
.op-news-date { display: inline-block; font-size: 12px; font-weight: 600; color: var(--op-muted); text-transform: uppercase; letter-spacing: .04em; }

.op-adgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.op-adgrid a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--op-line); transition: transform .15s, box-shadow .15s; }
.op-adgrid a:hover { transform: translateY(-2px); box-shadow: var(--op-shadow); }
.op-adgrid img { width: 100%; display: block; }
.op-adgrid:not(:has(a)) { display: none; }
.op-side-list:not(:has(table)),
.op-side-sub:has(+ .op-side-list:not(:has(table))) { display: none; }
.op-divider { border: 0; border-top: 1px solid var(--op-line); margin: 20px 0; }

/* ---------- right links panel ---------- */
.op-side-card { background: #fff; border-radius: var(--op-radius); box-shadow: var(--op-shadow); overflow: hidden; margin: 0 0 20px; border: 0; }
.righthead1 {
    background: linear-gradient(135deg, var(--op-brand) 0%, #3b6cf0 100%);
    color: #fff;
    padding: 16px 20px;
}
.righthead1 .box-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 17px var(--op-font); color: #fff; }
.righthead1 .box-title:before { content: "\f0c1"; font-family: FontAwesome; font-weight: normal; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 14px; }
.rightcont1 { background: #fff; padding: 8px; }

.op-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    transition: background .15s;
}
.op-link:hover { background: var(--op-brand-tint); }
.op-link__dot { flex: 0 0 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 8px; background: var(--op-accent-tint); color: var(--op-accent); font-size: 14px; }
.op-link:hover .op-link__dot { background: var(--op-brand); color: #fff; }
.op-sidebar .op-link .main-head > a,
.op-sidebar .op-link .main-head > a > strong { color: var(--op-ink); font: 600 15px/1.4 var(--op-font) !important; }
.op-sidebar .op-link:hover .main-head > a { color: var(--op-brand); }
.op-links tr + tr .op-link { border-top: 1px solid #f1f4f9; }

.op-side-sub { padding: 14px 20px 6px; }
.op-side-sub .box-title { font: 700 15px var(--op-font); color: var(--op-ink); margin: 0; }
.op-side-list { padding: 0 20px 10px; }
.op-side-list .main-head a { display: block; padding: 10px 0; border-bottom: 1px solid #f1f4f9; color: var(--op-ink-soft); font-weight: 600; font-size: 14.5px; }
.op-side-list .main-head a:hover { color: var(--op-brand); }

@media (max-width: 767px) {
    .bgwhitepad { padding: 12px; }
    .op-item { padding: 14px; }
    .op-row__icon { flex-basis: 44px; max-width: 44px; }
}

/* ---------- client content text (ContentTxt, belowlistingTxt) ---------- */
/* Readable article typography for whatever HTML the client's editor produced. */
.op-body .op-prose {
    font-family: var(--op-font-text);
    font-size: 16px;
    line-height: 1.75;
    color: var(--op-text);
    overflow-wrap: break-word;
}
/* editors paste fixed fonts (Calibri, Verdana, Times…); keep one standard font */
.op-body .op-prose [style*="font-family"],
.op-body .op-prose font[face] { font-family: inherit !important; }
.op-body .op-prose p,
.op-body .op-prose ul,
.op-body .op-prose ol,
.op-body .op-prose blockquote,
.op-body .op-prose pre,
.op-body .op-prose table { margin: 0 0 1em; }
.op-body .op-prose > :last-child { margin-bottom: 0; }
.op-body .op-prose h1, .op-body .op-prose h2, .op-body .op-prose h3,
.op-body .op-prose h4, .op-body .op-prose h5, .op-body .op-prose h6 {
    font-family: var(--op-font);
    color: var(--op-ink);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    margin: 1.4em 0 .5em;
}
.op-body .op-prose > h1:first-child, .op-body .op-prose > h2:first-child,
.op-body .op-prose > h3:first-child, .op-body .op-prose > h4:first-child { margin-top: 0; }
.op-body .op-prose h1 { font-size: 26px; font-weight: 800; }
.op-body .op-prose h2 { font-size: 22px; }
.op-body .op-prose h3 { font-size: 19px; }
.op-body .op-prose h4 { font-size: 17px; }
.op-body .op-prose h5, .op-body .op-prose h6 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--op-ink-soft); }
.op-body .op-prose b, .op-body .op-prose strong { font-weight: 600; color: var(--op-ink); }
.op-body .op-prose ul, .op-body .op-prose ol { padding-left: 1.4em; }
.op-body .op-prose ul { list-style: disc; }
.op-body .op-prose ol { list-style: decimal; }
.op-body .op-prose li { margin: 0 0 .35em; padding-left: .2em; }
.op-body .op-prose li::marker { color: var(--op-accent); }
.op-body .op-prose a { color: var(--op-brand); text-decoration: underline; text-decoration-color: rgba(31, 79, 216, .35); text-underline-offset: 3px; }
.op-body .op-prose a:hover { color: var(--op-brand-dark); text-decoration-color: currentColor; }
.op-body .op-prose img { border-radius: 10px; }
.op-body .op-prose hr { border: 0; border-top: 1px solid var(--op-line); margin: 1.5em 0; }
.op-body .op-prose blockquote { padding: 12px 18px; border-left: 4px solid var(--op-accent); background: var(--op-accent-tint); border-radius: 0 10px 10px 0; color: var(--op-ink); }
.op-body .op-prose table { border-collapse: collapse; max-width: 100%; }
.op-body .op-prose table[border]:not([border="0"]) td,
.op-body .op-prose table[border]:not([border="0"]) th { border: 1px solid var(--op-line); padding: 8px 10px; }
.op-body .op-prose th { background: #f5f7fb; color: var(--op-ink); font-weight: 600; text-align: left; }
.op-body .op-prose iframe, .op-body .op-prose video { max-width: 100%; border-radius: 10px; }

/* list/card text uses the same reading font */
.op-item__body, .op-row__sub { font-family: var(--op-font-text); color: var(--op-text); }

/* ---------- inner page (pages.aspx) ---------- */
.op-page-head { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--op-line); }
.op-body .op-page-title {
    margin: 0;
    background: none;
    padding: 0;
    font: 800 clamp(22px, 2.4vw, 30px)/1.25 var(--op-font);
    letter-spacing: -.015em;
    color: var(--op-ink);
}
.op-body .op-page-title span { color: inherit; font: inherit; }
.op-page-date { display: block; margin-top: 6px; font-size: 13px; color: var(--op-muted); }
.op-page-date:empty, .op-page-date span:empty { display: none; }
.op-page-diolink { margin: 0 0 12px; }
.op-page-body { padding: 0 0 6px; }
.op-page-body img { border-radius: 10px; }

.op-inline-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; }
.op-body .op-input {
    flex: 1 1 260px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--op-line);
    border-radius: 12px;
    background: #f7f9fc;
    font: 500 15.5px var(--op-font);
    color: var(--op-ink);
    box-shadow: none;
    outline: none;
}
.op-body .op-input:focus { background: #fff; border-color: var(--op-brand); box-shadow: 0 0 0 4px rgba(31, 79, 216, .12); }
.op-inline-search .op-btn, .op-body input.op-btn { height: 46px; }
.op-btn--accent { background: var(--op-accent); color: #fff; }
.op-btn--accent:hover { background: #e86a0e; }

.op-rule { border: 0; border-top: 1px solid var(--op-line); margin: 14px 0; }
.op-body a.op-post-title { display: inline-block; color: var(--op-ink); font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.op-body a.op-post-title:hover { color: var(--op-brand); }

.op-taglinks { margin: 14px 0; font-size: 14.5px; line-height: 2; color: var(--op-muted); }
.op-taglinks b, .op-taglinks strong { color: var(--op-ink); }
.op-taglinks a { color: var(--op-brand); font-weight: 600; margin: 0 2px; }
.op-taglinks a:hover { color: var(--op-accent); }

.op-form { margin: 20px 0; border: 1px solid var(--op-line); border-radius: var(--op-radius); overflow: hidden; border-collapse: separate; }
.op-form__head { padding: 14px 18px !important; background: var(--op-brand-tint); color: var(--op-ink); font-size: 15.5px; }
.op-form__body { padding: 16px 18px !important; background: #fff; text-align: left; }
.op-form__body table { width: 100% !important; }
.op-form__body td { padding: 6px 0; font-size: 14.5px; color: var(--op-ink-soft); }
.op-form .clsTxt {
    width: 100%; max-width: 640px; min-height: 42px;
    margin: 4px 0 10px; padding: 8px 12px;
    border: 1px solid var(--op-line); border-radius: 10px;
    background: #f7f9fc; box-shadow: none;
    font: 400 15px var(--op-font); color: var(--op-ink);
}
.op-form .clsTxt:focus { background: #fff; border-color: var(--op-brand); outline: none; }

.op-member { float: left; width: 210px; padding: 6px; }
.op-member .bgtheme2 { min-height: 330px; }

/* ---------- maps / vCards / network members (pages.aspx, contentviewpg.aspx) ---------- */
.google-maps { position: relative; padding-bottom: 75%; width: 100%; height: 0; overflow: hidden; border-radius: 12px; }
.google-maps iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }

/* vCards / network members */
.bgtheme2 { background: linear-gradient(135deg, var(--op-ink) 0%, #2b4a8b 100%); color: #fff; border-radius: 14px; margin-bottom: 14px; overflow: hidden; font-family: var(--op-font); min-height: 100%; }
.bgtheme2:after { content: ""; display: table; clear: both; }
.div4 { float: left; max-width: 150px; padding: 16px 10px 10px 18px; font-size: 16px; min-height: 120px; }
.div4 img, .divvcard img { width: 100px; height: 100px; max-height: 100px; object-fit: cover; border: 3px solid rgba(255,255,255,.85); border-radius: 50%; }
.divvcard { text-align: center; display: block; margin: auto; padding: 20px 20px 8px; }
.vcardbiz { width: 100%; display: inline-block; font-size: 12.5px; padding: 8px 16px 14px; line-height: 1.45; opacity: .9; }
.div8 { float: left; max-width: 80%; padding: 10px 20px; font-size: 16px; line-height: 2; }
.div8new { float: left; padding: 14px 0 0 18px; font-size: 16px; line-height: 1.7; }
.div8new a { color: #ffd166 !important; font-size: 18px; font-weight: 700; }
.div8new a:hover { color: #fff !important; text-decoration: underline; }
.div8new1 { float: left; padding: 6px 0 0 18px; font-size: 14.5px; line-height: 1.3; font-weight: 600; }
.vtext1 { width: 100%; display: inline-block; font-size: 15px; padding: 8px 18px 16px; line-height: 1.6; }
.savevcbut { margin: 8px 0 0; padding: 6px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--op-ink); font: 700 14px var(--op-font); cursor: pointer; }
.savevcbut:hover { background: var(--op-accent); color: #fff; }
.marginfree { margin: 8px 0 0; }

/* ---------- single content view (contentviewpg.aspx) ---------- */
/* "<i fa-arrow-left> <a>Parent page</a>" written by the code-behind */
.op-backlink { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 14.5px var(--op-font); }
.op-backlink:not(:has(a)) { display: none; }
.op-backlink br { display: none; }
.op-backlink i {
    flex: 0 0 28px; height: 28px; line-height: 28px; text-align: center;
    border-radius: 50%;
    background: var(--op-accent-tint);
    color: var(--op-accent) !important;
    font-size: 13px;
}
.op-backlink a { color: var(--op-accent) !important; text-decoration: none; }
.op-backlink a:hover { color: var(--op-brand) !important; text-decoration: underline; }
.op-backlink--bottom { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--op-line); }

/* article title written by the code-behind (div.headstyle1 or <strong><u>) */
.op-body .op-article .headstyle1 {
    background: none; border: 0; border-radius: 0;
    padding: 0 0 14px; margin: 0 0 18px;
    border-bottom: 1px solid var(--op-line);
}
.op-body .op-article .headstyle1 a {
    font: 800 clamp(22px, 2.4vw, 30px)/1.25 var(--op-font);
    letter-spacing: -.015em;
    color: var(--op-ink);
    text-decoration: none;
}
.op-body .op-article .headstyle1 a:hover { color: var(--op-brand); }
.op-body .op-article > strong:first-child { display: block; margin: 0 0 14px; font: 800 clamp(22px, 2.4vw, 30px)/1.25 var(--op-font); color: var(--op-ink); }
.op-body .op-article > strong:first-child u { text-decoration: none; }
.op-body .op-article > img.img-responsive { width: 100%; margin: 0 0 18px; border-radius: 12px; }
.op-body .op-article > br { line-height: 0; }

.op-hashtags { margin: 18px 0 0; font-size: 14px; }
.op-hashtags:empty { display: none; }
.op-hashtags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--op-brand-tint); color: var(--op-brand); font-weight: 600; }
.op-hashtags a:hover { background: var(--op-brand); color: #fff; }

.op-copybar { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 10px 12px; border: 1px dashed var(--op-line); border-radius: 12px; background: #f7f9fc; }
.op-copybar br { display: none; }
.op-copybar img { max-height: 32px; border-radius: 6px; }
.op-copybar input { flex: 1 1 auto; width: auto !important; background: transparent; font: 500 14px var(--op-font-text); color: var(--op-ink-soft); }

.op-published { display: block; margin: 20px 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--op-muted); }
.op-addlink { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--op-line); font: 600 14px var(--op-font); color: var(--op-ink); }
.op-addlink:hover { border-color: var(--op-brand); background: var(--op-brand-tint); }

/* ---------- catalog (catalog.aspx) ---------- */
/* a continuous showroom of banner advertisements (740 x 1000): title, then banner */

.op-cat-head { margin: 0 0 16px; }
.op-cat-head .op-page-title { margin: 0; }
.op-cat-intro { margin: 12px 0 0; }

.op-cat-tools { position: sticky; top: 54px; z-index: 5; margin: 0 -16px 22px; padding: 12px 16px; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--op-line); }
.op-cat-search { position: relative; display: flex; align-items: center; }
.op-cat-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--op-muted); pointer-events: none; }
.op-body .op-cat-search input { flex: 1 1 auto; height: 48px; padding: 0 42px 0 44px; border: 1px solid var(--op-line); border-radius: 12px; background: #f7f9fc; font: 500 16px var(--op-font); color: var(--op-ink); outline: none; box-shadow: none; }
.op-body .op-cat-search input:focus { background: #fff; border-color: var(--op-brand); box-shadow: 0 0 0 4px rgba(31, 79, 216, .12); }
.op-cat-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--op-muted); font-size: 20px; cursor: pointer; display: none; }
.op-cat-clear.is-on { display: block; }

.op-catalog.bgwhitepad { padding-left: 16px; padding-right: 16px; }
.op-cat-grid { display: flex; flex-direction: column; align-items: center; gap: 26px; }
/* card is exactly the banner width: 740px banner + 1px border each side */
.op-cat-card {
    width: 100%; max-width: 742px;
    background: #fff;
    border: 1px solid var(--op-line);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .18s ease, border-color .18s;
}
.op-cat-card:hover { box-shadow: var(--op-shadow-lg); border-color: #d3dcef; }
.op-cat-card[hidden] { display: none; }
.op-body .op-cat-card__title { margin: 0; padding: 16px 18px; font: 700 19px/1.35 var(--op-font); letter-spacing: -.005em; color: var(--op-ink); }
.op-cat-card__title a { color: inherit; }
.op-cat-card__title a:hover { color: var(--op-brand); }
/* banner at its full 740 x 1000 size; scales down only when the screen is narrower */
.op-cat-card__media { display: block; background: #f1f4f9; }
.op-cat-card__media img { display: block; width: 740px; max-width: 100%; height: auto; }

.op-cat-more { display: flex; justify-content: center; padding: 28px 0 8px; }
.op-cat-more[hidden], .op-cat-empty[hidden] { display: none; }
.op-cat-spinner { width: 22px; height: 22px; border: 3px solid var(--op-line); border-top-color: var(--op-brand); border-radius: 50%; animation: op-spin .8s linear infinite; }
@keyframes op-spin { to { transform: rotate(360deg); } }
.op-cat-empty { padding: 50px 20px; text-align: center; color: var(--op-muted); font: 500 15px var(--op-font-text); }
.op-cat-empty i { display: block; font-size: 34px; margin-bottom: 10px; color: var(--op-line); }

@media (max-width: 767px) {
    .op-cat-tools { margin: 0 -10px 16px; padding: 10px; }
    .op-catalog.bgwhitepad { padding-left: 10px; padding-right: 10px; }
    .op-cat-grid { gap: 16px; }
    .op-cat-card { border-radius: 12px; }
    .op-body .op-cat-card__title { padding: 12px 14px; font-size: 16px; line-height: 1.4; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .op-sidebar { flex-basis: 300px; width: 300px !important; }
}
@media (max-width: 991px) {
    .op-layout { flex-direction: column; align-items: stretch; }
    .op-content, .op-sidebar { flex: 1 1 auto; width: 100% !important; }
}
@media (max-width: 767px) {
    .op-wrap { padding: 0 8px; }
    .op-body .op-banner__inner { min-height: 60px; }
    .op-nav__toggle { display: inline-flex; margin: 9px 0; }
    .op-nav__inner { flex-wrap: wrap; }
    .op-nav .op-nav__list { display: none; flex-direction: column; padding: 0 0 10px; }
    .op-nav.is-open .op-nav__list { display: flex; }
    .op-nav .op-nav__list li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
    .op-nav .op-nav__list a { min-height: 46px; padding: 0 8px; width: 100%; }
    .op-nav .op-nav__list a:after { left: 0; right: auto; width: 3px; height: 100%; border-radius: 0; transform: scaleY(0); }
    .op-nav .op-nav__list a:hover:after, .op-nav .op-nav__list a.is-current:after { transform: scaleY(1); }
    .op-nav .op-nav__auth { margin-left: 0; padding: 8px 0; }
    .op-search { padding-top: 16px; }
    .op-search__card { padding: 14px; }
    .op-search__row { flex-wrap: wrap; }
    .op-body .op-search__input { flex-basis: 100%; }
    .op-search__row .op-btn { flex: 1 1 auto; }
    .op-main { padding: 16px 0 28px; }
    .op-layout { gap: 16px; }
    .op-brand { padding: 16px; justify-content: center; text-align: center; }
    .op-sep { margin: 0 6px; }
}
