/* CoreHeight public website theme - loads after style.css */
body.ch-site {
    --ch-primary: #6d28d9; --ch-primary-dark: #4c1d95; --ch-soft: #f5f3ff; --ch-accent: #db2777; --ch-ink: #1e1b4b;
    --ch-text: #334155; --ch-muted: #64748b; --ch-line: #e9e5f5; --ch-gradient: linear-gradient(135deg, #6d28d9 0%, #a21caf 55%, #db2777 100%);
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; color: var(--ch-text); background: #fbfaff; -webkit-font-smoothing: antialiased;
}
body.ch-site h1, body.ch-site h2, body.ch-site h3, body.ch-site h4 { color: var(--ch-ink); letter-spacing: -.01em; }
body.ch-site a { color: var(--ch-primary); }
body.ch-site a:hover { color: var(--ch-accent); }

/* ---------------------------------------------------------------- top bars */
body.ch-site .newsarea { background: var(--ch-ink); }
body.ch-site .newstab { background: var(--ch-accent); color: #fff; border-radius: 0 999px 999px 0; padding: 6px 16px; font-weight: 600; }
body.ch-site .toparea { background: var(--ch-primary-dark); border-bottom: 0; padding: 7px 0; }
body.ch-site .toparea a, body.ch-site .toparea li { color: #e9e5ff; }
body.ch-site .toparea a:hover { color: #fff; }

/* ---------------------------------------------------------------- header + navigation */
body.ch-site header { background: #fff; }
body.ch-site .logo img { max-height: 54px; width: auto; }
body.ch-site .header-extras li i { color: var(--ch-primary); border-color: var(--ch-primary); }
body.ch-site .header-extras li .he-text span { color: var(--ch-primary); }
body.ch-site .header-extras .btn, body.ch-site .header-extras a.btn { border-radius: 999px; background: var(--ch-gradient); border: 0; color: #fff !important; box-shadow: 0 8px 20px rgba(109, 40, 217, .3); padding: 9px 22px; font-weight: 600; }
body.ch-site .navborder { border-top: 1px solid var(--ch-line); box-shadow: 0 10px 30px rgba(76, 29, 149, .08); }
body.ch-site .navborder .navbar-nav > li > a { color: var(--ch-ink); font-weight: 500; padding: 20px 16px; border-top: 3px solid transparent; transition: color .15s, background .15s; }
body.ch-site .navborder .navbar-nav > li > a:hover,
body.ch-site .navborder .navbar-nav > li.active > a { color: var(--ch-primary) !important; background: var(--ch-soft) !important; border-top-color: var(--ch-primary); }
body.ch-site .navborder .dropdown-menu { border: 1px solid var(--ch-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(30, 27, 75, .14); padding: 6px; }
body.ch-site .navborder .dropdown-menu > li > a { border-radius: 8px; padding: 9px 14px; color: var(--ch-ink); }
body.ch-site .navborder .dropdown-menu > li > a:hover { background: var(--ch-soft); color: var(--ch-primary); }

/* ---------------------------------------------------------------- hero + title band */
.ch-hero { position: relative; background-size: cover; background-position: center; color: #fff; }
.ch-hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30, 27, 75, .88) 0%, rgba(76, 29, 149, .62) 55%, rgba(219, 39, 119, .25) 100%); }
.ch-hero-inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 120px; }
.ch-hero-chip { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.ch-hero h1 { color: #fff !important; font-size: 52px; font-weight: 700; line-height: 1.1; margin: 0 0 16px; }
.ch-hero p { color: rgba(255, 255, 255, .9); font-size: 19px; line-height: 1.55; max-width: 620px; margin: 0 0 30px; }
.ch-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ch-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none !important; transition: transform .1s, box-shadow .15s, background .15s; }
.ch-btn:hover { transform: translateY(-2px); }
.ch-btn-light { background: #fff; color: var(--ch-primary) !important; box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.ch-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff !important; border: 1px solid rgba(255, 255, 255, .45); }
.ch-btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.ch-titleband { background: var(--ch-gradient); color: #fff; padding: 34px 0; }
.ch-titleband h1 { margin: 0; color: #fff !important; font-size: 30px; font-weight: 700; }

/* ---------------------------------------------------------------- home cards */
.ch-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: -90px; position: relative; z-index: 2; margin-bottom: 40px; }
.ch-card { display: block; background: #fff; border: 1px solid var(--ch-line); border-radius: 18px; padding: 26px 22px; text-decoration: none !important; color: var(--ch-text) !important; box-shadow: 0 14px 40px rgba(76, 29, 149, .10); transition: transform .12s, box-shadow .12s; }
.ch-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(109, 40, 217, .20); }
.ch-card b { display: block; color: var(--ch-ink); font-size: 18px; margin: 14px 0 6px; }
.ch-card > span:last-child { color: var(--ch-muted); font-size: 14px; line-height: 1.5; }
.ch-card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 22px; background: var(--ch-gradient); }
.ch-card:nth-child(2n) .ch-card-ico { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.ch-card:nth-child(3n) .ch-card-ico { background: linear-gradient(135deg, #059669, #14b8a6); }
.ch-card:nth-child(4n) .ch-card-ico { background: linear-gradient(135deg, #f59e0b, #f97316); }
.ch-cms { background: #fff; border: 1px solid var(--ch-line); border-radius: 16px; padding: 24px; }

body.ch-site a.complainbtn, body.ch-site .complainbtn { background: var(--ch-gradient) !important; border: 0 !important; color: #fff !important; border-radius: 999px; padding: 10px 24px; font-weight: 600; box-shadow: 0 8px 20px rgba(109, 40, 217, .3); }
body.ch-site .complain a { color: #fff; }

/* ---------------------------------------------------------------- generic content */
body.ch-site .pagetitleh2, body.ch-site .entered { color: var(--ch-ink); font-weight: 700; }
body.ch-site .pagetitleh2 { border-bottom: 2px solid var(--ch-line); padding-bottom: 8px; margin: 22px 0 18px; font-size: 20px; }
body.ch-site .btn { border-radius: 10px; font-weight: 500; padding: 9px 18px; }
body.ch-site .btn-primary, body.ch-site .btn-info { background: var(--ch-gradient); border: 0; color: #fff; }
body.ch-site .btn-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 22px rgba(109, 40, 217, .3); }
body.ch-site .btn-default { border: 1px solid #d9d2f0; color: var(--ch-ink); background: #fff; }
body.ch-site .form-control { border: 1px solid #d9d2f0; border-radius: 10px; min-height: 42px; box-shadow: none; color: var(--ch-ink); }
body.ch-site .form-control:focus { border-color: var(--ch-primary); box-shadow: 0 0 0 3px rgba(109, 40, 217, .15); }
body.ch-site label { font-weight: 500; color: var(--ch-ink); }
body.ch-site .req, body.ch-site small.req { color: #dc2626; }
body.ch-site .table > thead > tr > th { background: var(--ch-soft); color: var(--ch-ink); border-bottom: 1px solid var(--ch-line); }
body.ch-site .alert { border-radius: 12px; border: 0; }
body.ch-site .modal-content { border-radius: 18px; border: 0; box-shadow: 0 24px 60px rgba(30, 27, 75, .3); }
body.ch-site .modal-header { background: var(--ch-soft); border-bottom: 1px solid var(--ch-line); border-radius: 18px 18px 0 0; }
body.ch-site .onlineform { background: #fff; border: 1px solid var(--ch-line); border-radius: 18px; padding: 10px 26px 26px; box-shadow: 0 14px 40px rgba(76, 29, 149, .07); margin-top: 18px; }
body.ch-site .sidebar .catetab, body.ch-site .catetab { background: var(--ch-gradient); color: #fff; border-radius: 12px 12px 0 0; padding: 12px 16px; font-weight: 600; }
body.ch-site .pagination > .active > a { background: var(--ch-primary); border-color: var(--ch-primary); }

/* ---------------------------------------------------------------- footer */
body.ch-site footer { background: linear-gradient(135deg, #1e1b4b 0%, #3b0764 100%) !important; color: #cfc8f2; }
body.ch-site footer a, body.ch-site footer p, body.ch-site footer .content-title { color: #e2dcfb; }
body.ch-site footer a:hover { color: #fff; }
body.ch-site .fo-title { color: #fff !important; font-weight: 600; }
body.ch-site .infoborderb { border-top: 1px solid rgba(255, 255, 255, .14); }
body.ch-site .copy-right { background: #150f3a; color: #a79fd9; }
body.ch-site .copy-right p { color: #a79fd9; margin: 10px 0; }
body.ch-site .scrollToTop { background: var(--ch-primary); color: #fff; border-radius: 50%; }
body.ch-site .cookieConsent { background: var(--ch-ink); color: #fff; border-radius: 14px 14px 0 0; }

@media (max-width: 767px) {
    .ch-hero-inner { padding-top: 56px; padding-bottom: 76px; }
    .ch-hero h1 { font-size: 32px; }
    .ch-hero p { font-size: 16px; }
    .ch-cards { margin-top: -50px; }
    body.ch-site .onlineform { padding: 6px 14px 18px; }
}

/* ---------------------------------------------------------------- layout fixes */
body.ch-site header::after { content: ""; display: table; clear: both; }
body.ch-site header { position: relative; z-index: 99; }
body.ch-site .container.spacet60 { padding-top: 24px; }
body.ch-site .row.spacet60 { padding-top: 0; }
body.ch-site .col-md-12.spacet60, body.ch-site .col-md-9.spacet60 { padding-top: 6px; }
body.ch-site .pagetitleh2 { background: var(--ch-soft); border: 0; border-left: 4px solid var(--ch-primary); border-radius: 8px; padding: 10px 14px; margin: 24px 0 18px; font-size: 18px; }
body.ch-site a.modalclosebtn, body.ch-site .modalclosebtn { display: inline-block; background: #fff !important; color: var(--ch-primary) !important; border: 1px solid var(--ch-primary); border-radius: 999px; padding: 8px 18px; text-decoration: none; font-weight: 600; }
body.ch-site a.modalclosebtn:hover { background: var(--ch-soft) !important; }
body.ch-site select.form-control { background-color: #fff; }
/* the theme shifts <header> down 70px with position:relative (room for the fixed top bar), so the first block after it must be pushed down the same amount */
body.ch-site .ch-hero, body.ch-site .ch-titleband, body.ch-site #bootstrap-touch-slider { margin-top: 70px; }
body.ch-site footer::after { background: transparent !important; }
