/* =====================================================================
   Ocat client marketing portal – 2026 redesign
   Used by /publicpage.master (and /Default.aspx).
   Structure kept: top banner + background, content left, links right.
   ===================================================================== */

: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-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;
}
.op-banner__shade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 18, 40, .35) 0%, rgba(10, 18, 40, .08) 55%, rgba(10, 18, 40, 0) 100%);
    pointer-events: none;
}
.op-banner__inner {
    position: relative;
    min-height: 110px;
    display: flex;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
}
.op-banner__brand { display: inline-block; line-height: 0; }
.op-banner__brand img { max-height: 120px; width: 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: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--op-line);
    box-shadow: 0 2px 10px rgba(20, 33, 61, .05);
}
.op-nav__inner { display: flex; align-items: center; min-height: 58px; }
.op-nav__list {
    list-style: none;
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
    margin: 0; padding: 8px 0;
    width: 100%;
}
.op-nav__list li { list-style: none; }
.op-nav__list li:empty { display: none; }
.op-nav__list a {
    display: block;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--op-ink-soft);
    white-space: nowrap;
}
.op-nav__list a:hover, .op-nav__list a:focus {
    color: var(--op-brand);
    background: var(--op-brand-tint);
}
.op-nav__auth { margin-left: auto; }
.op-nav__auth a {
    color: #fff !important;
    background: var(--op-brand);
    padding: 9px 18px;
}
.op-nav__auth a:hover { background: var(--op-brand-dark) !important; }
.op-nav__toggle {
    display: none;
    align-items: center; gap: 8px;
    border: 1px solid var(--op-line);
    background: #fff;
    color: var(--op-ink);
    border-radius: 10px;
    padding: 8px 14px;
    font: 600 14px var(--op-font);
    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); }

/* ---------- 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-banner__inner { min-height: 80px; }
    .op-banner__brand img { max-height: 80px; }
    .op-nav__toggle { display: inline-flex; margin: 9px 0; }
    .op-nav__inner { flex-wrap: wrap; }
    .op-nav__list { display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 0 0 12px; }
    .op-nav.is-open .op-nav__list { display: flex; }
    .op-nav__list a { border-radius: 10px; }
    .op-nav__auth { margin-left: 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; }
}
