/*
 * Markh Advisory — All-pages visual system v2.5
 * Brand: deep navy #0D1B31, muted gold #C3A15B, soft grey #F5F7FA.
 * Deliberately styles existing content rather than replacing or rewriting it.
 */
:root{
  --markh-navy:#0D1B31;
  --markh-navy-2:#183451;
  --markh-gold:#C3A15B;
  --markh-gold-light:#E4D2A9;
  --markh-ink:#202735;
  --markh-body:#536174;
  --markh-muted:#718096;
  --markh-bg:#F5F7FA;
  --markh-line:#E4E9F0;
  --markh-white:#fff;
  --markh-shadow:0 14px 36px rgba(13,27,49,.08);
}

/* Consistent typography and page canvas */
body.markh-advisory-page{color:var(--markh-ink);background:#fff}
body.markh-advisory-page .site-content{background:#fff}
body.markh-advisory-page .ast-container{max-width:1240px}
body.markh-advisory-page .site-main{min-width:0}
body.markh-advisory-page .ast-article-single,
body.markh-advisory-page article.page{border:0;box-shadow:none}
body.markh-advisory-page .entry-content{
  color:var(--markh-body);
  font-size:16px;
  line-height:1.82;
  overflow-wrap:anywhere;
}
body.markh-advisory-page .entry-content > *{max-width:100%}
body.markh-advisory-page .entry-content > p,
body.markh-advisory-page .entry-content > ul,
body.markh-advisory-page .entry-content > ol{margin-bottom:1.35em}
body.markh-advisory-page .entry-content p{color:var(--markh-body)}
body.markh-advisory-page .entry-content a:not(.wp-block-button__link):not(.markh23-button){
  color:#8A6A32;text-decoration-thickness:1px;text-underline-offset:3px
}
body.markh-advisory-page .entry-content a:hover{color:var(--markh-navy)}

/* Premium page-title band. Keeps Astra header and original menu untouched. */
body.markh-advisory-page .entry-header,
body.markh-advisory-page .ast-single-entry-banner{
  position:relative;
  isolation:isolate;
  background:linear-gradient(118deg,var(--markh-navy) 0%,#173653 68%,#24445D 100%);
  padding:clamp(42px,6vw,76px) clamp(22px,5vw,64px);
  margin:0 0 clamp(34px,5vw,58px);
  border:0;
  border-radius:2px;
  overflow:hidden;
}
body.markh-advisory-page .entry-header:after,
body.markh-advisory-page .ast-single-entry-banner:after{
  content:"";position:absolute;z-index:-1;right:-80px;top:-155px;width:390px;height:390px;
  border:1px solid rgba(195,161,91,.24);border-radius:50%;
  box-shadow:0 0 0 34px rgba(195,161,91,.035),0 0 0 70px rgba(195,161,91,.025)
}
body.markh-advisory-page .entry-header .entry-title,
body.markh-advisory-page .ast-single-entry-banner .ast-archive-title,
body.markh-advisory-page .ast-single-entry-banner .ast-single-entry-banner-title{
  color:#fff!important;font-size:clamp(30px,4.2vw,48px);font-weight:700;
  line-height:1.13;letter-spacing:-.035em;max-width:900px;margin:0
}
body.markh-advisory-page .entry-header .entry-meta,
body.markh-advisory-page .entry-header .ast-breadcrumbs,
body.markh-advisory-page .ast-single-entry-banner .ast-breadcrumbs{color:#D7DFE8}
body.markh-advisory-page .entry-header a,
body.markh-advisory-page .ast-single-entry-banner a{color:var(--markh-gold-light)}
body.markh-advisory-page .entry-header .entry-title:after{
  content:"";display:block;width:58px;height:3px;background:var(--markh-gold);margin-top:20px
}

/* Content headings */
body.markh-advisory-page .entry-content h1,
body.markh-advisory-page .entry-content h2,
body.markh-advisory-page .entry-content h3,
body.markh-advisory-page .entry-content h4{
  color:var(--markh-navy);font-weight:700;letter-spacing:-.025em;line-height:1.24
}
body.markh-advisory-page .entry-content h2{
  font-size:clamp(25px,3vw,35px);margin:1.7em 0 .65em
}
body.markh-advisory-page .entry-content h3{font-size:clamp(20px,2.2vw,25px);margin:1.45em 0 .55em}
body.markh-advisory-page .entry-content h4{font-size:18px;margin:1.25em 0 .5em}
body.markh-advisory-page .entry-content h2:first-child,
body.markh-advisory-page .entry-content h3:first-child{margin-top:0}

/* Gutenberg blocks: polished, even spacing and responsive columns */
body.markh-advisory-page .entry-content .wp-block-group,
body.markh-advisory-page .entry-content .wp-block-cover{
  border-radius:5px;overflow:hidden
}
body.markh-advisory-page .entry-content .wp-block-group.has-background{
  padding:clamp(22px,3.5vw,38px);margin:30px 0
}
body.markh-advisory-page .entry-content .wp-block-columns{
  gap:clamp(18px,2.5vw,30px);margin:30px 0
}
body.markh-advisory-page .entry-content .wp-block-column{
  min-width:0;padding:clamp(20px,2.4vw,30px);
  background:#fff;border:1px solid var(--markh-line);border-radius:5px;
  box-shadow:0 8px 24px rgba(13,27,49,.045)
}
body.markh-advisory-page .entry-content .wp-block-column > :first-child{margin-top:0}
body.markh-advisory-page .entry-content .wp-block-column > :last-child{margin-bottom:0}
body.markh-advisory-page .entry-content .wp-block-columns .wp-block-column h2,
body.markh-advisory-page .entry-content .wp-block-columns .wp-block-column h3{margin-top:0}
body.markh-advisory-page .entry-content .wp-block-media-text{
  gap:clamp(22px,4vw,48px);margin:36px 0;padding:clamp(18px,3vw,32px);
  background:var(--markh-bg);border-radius:5px
}
body.markh-advisory-page .entry-content .wp-block-media-text__content{padding:0}
body.markh-advisory-page .entry-content .wp-block-image{margin:28px 0}
body.markh-advisory-page .entry-content .wp-block-image img,
body.markh-advisory-page .entry-content img{border-radius:4px}
body.markh-advisory-page .entry-content .wp-block-cover{min-height:300px;margin:28px 0}
body.markh-advisory-page .entry-content .wp-block-separator{border:0;border-top:1px solid var(--markh-line);margin:38px auto}

/* Lists, tables and quotations */
body.markh-advisory-page .entry-content ul,
body.markh-advisory-page .entry-content ol{padding-left:1.35em}
body.markh-advisory-page .entry-content li{padding-left:.2em;margin:.35em 0}
body.markh-advisory-page .entry-content li::marker{color:var(--markh-gold)}
body.markh-advisory-page .entry-content blockquote,
body.markh-advisory-page .entry-content .wp-block-quote{
  border-left:3px solid var(--markh-gold);background:var(--markh-bg);
  margin:30px 0;padding:22px 28px;color:var(--markh-navy);border-radius:0 4px 4px 0
}
body.markh-advisory-page .entry-content table,
body.markh-advisory-page .entry-content .wp-block-table table{
  width:100%;border-collapse:collapse;border:1px solid var(--markh-line);font-size:15px
}
body.markh-advisory-page .entry-content th{
  background:var(--markh-navy);color:#fff;text-align:left;font-weight:700
}
body.markh-advisory-page .entry-content th,
body.markh-advisory-page .entry-content td{padding:13px 16px;border:1px solid var(--markh-line)}
body.markh-advisory-page .entry-content tr:nth-child(even) td{background:#F8FAFC}

/* Buttons and forms */
body.markh-advisory-page .entry-content .wp-block-button__link,
body.markh-advisory-page .entry-content a.ast-button,
body.markh-advisory-page .entry-content button,
body.markh-advisory-page .entry-content input[type=submit]{
  background:var(--markh-gold);color:var(--markh-navy)!important;
  border:1px solid var(--markh-gold);border-radius:3px;
  padding:13px 22px;font-size:13px;font-weight:800;letter-spacing:.015em;
  text-decoration:none;box-shadow:none;transition:transform .2s ease,background .2s ease
}
body.markh-advisory-page .entry-content .wp-block-button__link:hover,
body.markh-advisory-page .entry-content a.ast-button:hover,
body.markh-advisory-page .entry-content button:hover,
body.markh-advisory-page .entry-content input[type=submit]:hover{
  background:#D8BC83;color:var(--markh-navy)!important;transform:translateY(-2px)
}
body.markh-advisory-page .entry-content input:not([type=checkbox]):not([type=radio]),
body.markh-advisory-page .entry-content select,
body.markh-advisory-page .entry-content textarea{
  width:100%;max-width:100%;min-height:48px;border:1px solid #D8E0E8;border-radius:3px;
  padding:12px 14px;background:#fff;color:var(--markh-ink);box-shadow:none
}
body.markh-advisory-page .entry-content input:focus,
body.markh-advisory-page .entry-content select:focus,
body.markh-advisory-page .entry-content textarea:focus{
  outline:2px solid rgba(195,161,91,.25);border-color:var(--markh-gold)
}
body.markh-advisory-page .entry-content label{font-weight:650;color:var(--markh-navy)}
body.markh-advisory-page .entry-content form{max-width:100%}

/* Existing v2.3 service modules — harmonised with the homepage palette */
body.markh-advisory-page .markh23-content,
body.markh-advisory-page .markh23-contact-form{max-width:1080px;margin:48px auto 58px;padding:0 clamp(0px,1vw,10px)}
body.markh-advisory-page .markh23-content h2,
body.markh-advisory-page .markh23-contact-form h2{
  color:var(--markh-navy);font-size:clamp(27px,3.1vw,38px);line-height:1.18;letter-spacing:-.035em
}
body.markh-advisory-page .markh23-eyebrow{
  color:#92713B;font-size:11px;font-weight:800;letter-spacing:.16em
}
body.markh-advisory-page .markh23-intro{color:#536174;font-size:17px;line-height:1.85;max-width:900px}
body.markh-advisory-page .markh23-deliverables{
  background:linear-gradient(135deg,#F5F7FA,#fff);border:1px solid var(--markh-line);
  border-left:4px solid var(--markh-gold);border-radius:4px;padding:clamp(22px,3vw,34px);
  box-shadow:0 8px 24px rgba(13,27,49,.035)
}
body.markh-advisory-page .markh23-deliverables h3,
body.markh-advisory-page .markh23-faq h3{color:var(--markh-navy);font-size:22px}
body.markh-advisory-page .markh23-deliverables li{color:#536174;line-height:1.7}
body.markh-advisory-page .markh23-faq{margin-top:42px}
body.markh-advisory-page .markh23-faq details{
  background:#fff;border:1px solid var(--markh-line);border-radius:4px;
  padding:17px 20px;margin:10px 0;transition:border-color .2s ease,box-shadow .2s ease
}
body.markh-advisory-page .markh23-faq details[open]{
  border-color:rgba(195,161,91,.75);box-shadow:0 7px 20px rgba(13,27,49,.05)
}
body.markh-advisory-page .markh23-faq summary{color:var(--markh-navy);font-size:15px}
body.markh-advisory-page .markh23-faq details p{color:#59697B;line-height:1.75}
body.markh-advisory-page .markh23-cta{
  background:linear-gradient(118deg,var(--markh-navy),#1D3A56);
  border:1px solid rgba(195,161,91,.28);border-radius:5px;
  box-shadow:var(--markh-shadow);margin:48px 0 20px
}
body.markh-advisory-page .markh23-cta .markh23-eyebrow{color:var(--markh-gold-light)}
body.markh-advisory-page .markh23-cta h2{color:#fff}
body.markh-advisory-page .markh23-cta p{color:#E0E7EF}
body.markh-advisory-page .markh23-button{border-radius:3px;min-height:48px}
body.markh-advisory-page .markh23-button-gold{background:var(--markh-gold);color:var(--markh-navy)!important}
body.markh-advisory-page .markh23-button-outline{border-color:rgba(255,255,255,.55);color:#fff!important}
body.markh-advisory-page .markh23-button-outline:hover{background:#fff;color:var(--markh-navy)!important}
body.markh-advisory-page .markh23-contact-form{
  background:var(--markh-bg);border:1px solid var(--markh-line);border-radius:5px;
  padding:clamp(22px,4vw,44px);box-shadow:var(--markh-shadow)
}
body.markh-advisory-page .markh23-form{margin-top:26px}
body.markh-advisory-page .markh23-form-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px
}
body.markh-advisory-page .markh23-form-grid label{display:flex;flex-direction:column;gap:7px}
body.markh-advisory-page .markh23-form-grid .markh23-wide{grid-column:1/-1}
body.markh-advisory-page .markh23-form-grid input,
body.markh-advisory-page .markh23-form-grid select,
body.markh-advisory-page .markh23-form-grid textarea{box-sizing:border-box}
body.markh-advisory-page .markh23-consent{display:flex!important;flex-direction:row!important;align-items:flex-start}
body.markh-advisory-page .markh23-consent input{width:auto!important;min-height:0;margin-top:6px}
body.markh-advisory-page .markh23-notice{padding:14px 18px;border-radius:4px;margin:16px 0}
body.markh-advisory-page .markh23-notice.success{background:#EDF7F0;border:1px solid #BBDCC5;color:#245B37}
body.markh-advisory-page .markh23-notice.error{background:#FFF1EF;border:1px solid #EBC5BE;color:#8C3025}

/* Reduce theme clutter while retaining site identity and existing navigation. */
body.markh-advisory-page .entry-footer{border-top:1px solid var(--markh-line);padding-top:22px}
body.markh-advisory-page .post-navigation{border-top:1px solid var(--markh-line);padding-top:24px}
body.markh-advisory-page .ast-pagination .page-numbers{border-radius:3px}

/* Responsive layouts */
@media (max-width:921px){
  body.markh-advisory-page .ast-container{padding-left:22px;padding-right:22px}
  body.markh-advisory-page .entry-header,
  body.markh-advisory-page .ast-single-entry-banner{padding:42px 28px;margin-bottom:34px}
}
@media (max-width:767px){
  body.markh-advisory-page .ast-container{padding-left:18px;padding-right:18px}
  body.markh-advisory-page .entry-header,
  body.markh-advisory-page .ast-single-entry-banner{padding:38px 22px;margin-bottom:28px}
  body.markh-advisory-page .entry-content{font-size:15.5px;line-height:1.78}
  body.markh-advisory-page .entry-content .wp-block-columns{display:flex;flex-direction:column;gap:15px}
  body.markh-advisory-page .entry-content .wp-block-column{padding:22px}
  body.markh-advisory-page .entry-content .wp-block-media-text{display:flex;flex-direction:column;padding:20px}
  body.markh-advisory-page .markh23-deliverables ul{grid-template-columns:1fr;gap:7px}
  body.markh-advisory-page .markh23-cta{display:block;padding:26px 22px}
  body.markh-advisory-page .markh23-cta-actions{margin-top:20px}
  body.markh-advisory-page .markh23-form-grid{grid-template-columns:1fr;gap:14px}
  body.markh-advisory-page .markh23-form-grid .markh23-wide{grid-column:auto}
  body.markh-advisory-page .entry-content table{display:block;overflow-x:auto;white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){
  body.markh-advisory-page *{scroll-behavior:auto!important;transition:none!important}
}
